@ikas/storefront 1.0.15 → 1.0.16-alpha.1

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 (322) hide show
  1. package/package.json +1 -1
  2. package/build/__generated__/global-types.d.ts +0 -632
  3. package/build/analytics/analytics.d.ts +0 -37
  4. package/build/analytics/events.d.ts +0 -36
  5. package/build/analytics/facebookPixel.d.ts +0 -15
  6. package/build/analytics/googleTagManager.d.ts +0 -201
  7. package/build/analytics/head/index.d.ts +0 -7
  8. package/build/analytics/ikas.d.ts +0 -133
  9. package/build/analytics/index.d.ts +0 -2
  10. package/build/api/apollo.d.ts +0 -10
  11. package/build/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +0 -24
  12. package/build/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +0 -19
  13. package/build/api/back-in-stock-reminder/index.d.ts +0 -23
  14. package/build/api/blog/__generated__/getBlog.d.ts +0 -110
  15. package/build/api/blog/__generated__/listBlog.d.ts +0 -113
  16. package/build/api/blog/__generated__/listBlogCategory.d.ts +0 -65
  17. package/build/api/blog/__generated__/listBlogMetaData.d.ts +0 -57
  18. package/build/api/blog/index.d.ts +0 -32
  19. package/build/api/brand/__generated__/listProductBrand.d.ts +0 -88
  20. package/build/api/brand/index.d.ts +0 -16
  21. package/build/api/cart/__generated__/getCart.d.ts +0 -178
  22. package/build/api/cart/__generated__/saveItemToCart.d.ts +0 -187
  23. package/build/api/cart/index.d.ts +0 -5
  24. package/build/api/category/__generated__/listCategory.d.ts +0 -99
  25. package/build/api/category/__generated__/listCategoryPaths.d.ts +0 -32
  26. package/build/api/category/index.d.ts +0 -18
  27. package/build/api/checkout/__generated__/addCouponCodeToCheckout.d.ts +0 -11
  28. package/build/api/checkout/__generated__/checkStocks.d.ts +0 -18
  29. package/build/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +0 -22
  30. package/build/api/checkout/__generated__/getCheckoutByCartId.d.ts +0 -10
  31. package/build/api/checkout/__generated__/getCheckoutById.d.ts +0 -574
  32. package/build/api/checkout/__generated__/getOrder.d.ts +0 -620
  33. package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +0 -34
  34. package/build/api/checkout/__generated__/listPaymentGateway.d.ts +0 -42
  35. package/build/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +0 -23
  36. package/build/api/checkout/__generated__/saveCheckout.d.ts +0 -11
  37. package/build/api/checkout/index.d.ts +0 -29
  38. package/build/api/city/__generated__/listCity.d.ts +0 -20
  39. package/build/api/city/index.d.ts +0 -4
  40. package/build/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +0 -9
  41. package/build/api/contact-form/index.d.ts +0 -10
  42. package/build/api/country/__generated__/getAvailableShippingCountries.d.ts +0 -6
  43. package/build/api/country/__generated__/getMyCountry.d.ts +0 -3
  44. package/build/api/country/__generated__/listCountry.d.ts +0 -41
  45. package/build/api/country/index.d.ts +0 -6
  46. package/build/api/customer/__generated__/checkCustomerEmail.d.ts +0 -10
  47. package/build/api/customer/__generated__/createCustomerEmailSubscription.d.ts +0 -11
  48. package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +0 -590
  49. package/build/api/customer/__generated__/customerForgotPassword.d.ts +0 -7
  50. package/build/api/customer/__generated__/customerLogin.d.ts +0 -163
  51. package/build/api/customer/__generated__/customerRecoverPassword.d.ts +0 -8
  52. package/build/api/customer/__generated__/customerRefreshToken.d.ts +0 -11
  53. package/build/api/customer/__generated__/getCustomerOrders.d.ts +0 -620
  54. package/build/api/customer/__generated__/getLastViewedProducts.d.ts +0 -15
  55. package/build/api/customer/__generated__/getMyCustomer.d.ts +0 -141
  56. package/build/api/customer/__generated__/listOrderRefundSettings.d.ts +0 -13
  57. package/build/api/customer/__generated__/listOrderTransactions.d.ts +0 -53
  58. package/build/api/customer/__generated__/registerCustomer.d.ts +0 -159
  59. package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +0 -11
  60. package/build/api/customer/__generated__/saveMyCustomer.d.ts +0 -156
  61. package/build/api/customer/index.d.ts +0 -44
  62. package/build/api/customer-review/__generated__/createCustomerReview.d.ts +0 -11
  63. package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +0 -52
  64. package/build/api/customer-review/index.d.ts +0 -24
  65. package/build/api/district/__generated__/listDistrict.d.ts +0 -16
  66. package/build/api/district/index.d.ts +0 -4
  67. package/build/api/favorite-product/__generated__/isFavoriteProduct.d.ts +0 -6
  68. package/build/api/favorite-product/__generated__/listFavoriteProducts.d.ts +0 -12
  69. package/build/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +0 -7
  70. package/build/api/favorite-product/index.d.ts +0 -6
  71. package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +0 -28
  72. package/build/api/html-meta-data/index.d.ts +0 -4
  73. package/build/api/index.d.ts +0 -21
  74. package/build/api/merchant/__generated__/listMerchantSettings.d.ts +0 -9
  75. package/build/api/merchant/index.d.ts +0 -4
  76. package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +0 -72
  77. package/build/api/product-attribute/index.d.ts +0 -4
  78. package/build/api/product-option-set/__generated__/ListProductOptionSet.d.ts +0 -90
  79. package/build/api/product-option-set/index.d.ts +0 -6
  80. package/build/api/product-search/__generated__/getProductFilterData.d.ts +0 -61
  81. package/build/api/product-search/__generated__/searchProducts.d.ts +0 -26
  82. package/build/api/product-search/index.d.ts +0 -20
  83. package/build/api/state/__generated__/listState.d.ts +0 -19
  84. package/build/api/state/index.d.ts +0 -4
  85. package/build/api/stock-location/__generated__/listStockLocation.d.ts +0 -7
  86. package/build/api/stock-location/index.d.ts +0 -4
  87. package/build/api/storefront/__generated__/getStorefront.d.ts +0 -52
  88. package/build/api/storefront/index.d.ts +0 -4
  89. package/build/api/variant-type/__generated__/listVariantType.d.ts +0 -76
  90. package/build/api/variant-type/index.d.ts +0 -4
  91. package/build/assets/translations/checkout/en.js +0 -165
  92. package/build/assets/translations/checkout/tr.js +0 -164
  93. package/build/components/checkout/components/address-form/index.d.ts +0 -3
  94. package/build/components/checkout/components/address-form/model.d.ts +0 -131
  95. package/build/components/checkout/components/button/index.d.ts +0 -12
  96. package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +0 -10
  97. package/build/components/checkout/components/cart-summary/index.d.ts +0 -8
  98. package/build/components/checkout/components/checkbox/check.d.ts +0 -6
  99. package/build/components/checkout/components/checkbox/index.d.ts +0 -10
  100. package/build/components/checkout/components/credit-card-form/index.d.ts +0 -7
  101. package/build/components/checkout/components/credit-card-form/model.d.ts +0 -26
  102. package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +0 -6
  103. package/build/components/checkout/components/credit-card-form/svg/master-card.d.ts +0 -6
  104. package/build/components/checkout/components/credit-card-form/svg/troy.d.ts +0 -6
  105. package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +0 -6
  106. package/build/components/checkout/components/customer-addresses/index.d.ts +0 -15
  107. package/build/components/checkout/components/customer-addresses/model.d.ts +0 -21
  108. package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +0 -8
  109. package/build/components/checkout/components/error/index.d.ts +0 -7
  110. package/build/components/checkout/components/error/no-shipping-error/index.d.ts +0 -6
  111. package/build/components/checkout/components/error/payment-error/index.d.ts +0 -8
  112. package/build/components/checkout/components/error/stock-error/index.d.ts +0 -8
  113. package/build/components/checkout/components/error/unknown-error/index.d.ts +0 -6
  114. package/build/components/checkout/components/expandable-section/index.d.ts +0 -6
  115. package/build/components/checkout/components/form-item/caret-down.d.ts +0 -6
  116. package/build/components/checkout/components/form-item/index.d.ts +0 -3
  117. package/build/components/checkout/components/form-item/model.d.ts +0 -59
  118. package/build/components/checkout/components/fullscreen-loading/index.d.ts +0 -2
  119. package/build/components/checkout/components/input-with-button/index.d.ts +0 -11
  120. package/build/components/checkout/components/modal/index.d.ts +0 -8
  121. package/build/components/checkout/components/notification-box/index.d.ts +0 -9
  122. package/build/components/checkout/components/select-box/index.d.ts +0 -13
  123. package/build/components/checkout/components/step-container/index.d.ts +0 -15
  124. package/build/components/checkout/components/svg/arrow-down.d.ts +0 -6
  125. package/build/components/checkout/components/svg/arrow-left.d.ts +0 -6
  126. package/build/components/checkout/components/svg/arrow-right.d.ts +0 -6
  127. package/build/components/checkout/components/svg/cross.d.ts +0 -6
  128. package/build/components/checkout/components/svg/discount.d.ts +0 -6
  129. package/build/components/checkout/components/svg/external.d.ts +0 -6
  130. package/build/components/checkout/components/svg/gift.d.ts +0 -7
  131. package/build/components/checkout/components/svg/ikas.d.ts +0 -6
  132. package/build/components/checkout/components/svg/lock.d.ts +0 -6
  133. package/build/components/checkout/components/svg/shopping-cart.d.ts +0 -6
  134. package/build/components/checkout/components/svg/success-circle.d.ts +0 -6
  135. package/build/components/checkout/components/svg/tag.d.ts +0 -6
  136. package/build/components/checkout/components/svg/warning.d.ts +0 -6
  137. package/build/components/checkout/components/toggle/index.d.ts +0 -10
  138. package/build/components/checkout/components/tooltip/index.d.ts +0 -8
  139. package/build/components/checkout/index.d.ts +0 -32
  140. package/build/components/checkout/model.d.ts +0 -122
  141. package/build/components/checkout/steps/step-info/index.d.ts +0 -7
  142. package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +0 -7
  143. package/build/components/checkout/steps/step-payment/index.d.ts +0 -7
  144. package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +0 -7
  145. package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +0 -7
  146. package/build/components/checkout/steps/step-shipping/index.d.ts +0 -7
  147. package/build/components/checkout/steps/step-success/index.d.ts +0 -7
  148. package/build/components/error/index.d.ts +0 -5
  149. package/build/components/image/index.d.ts +0 -36
  150. package/build/components/index.d.ts +0 -4
  151. package/build/components/page/ThemeComponent.d.ts +0 -10
  152. package/build/components/page/head.d.ts +0 -12
  153. package/build/components/page/index.d.ts +0 -17
  154. package/build/components/page-editor/ThemeComponentEditor.d.ts +0 -9
  155. package/build/components/page-editor/index.d.ts +0 -2
  156. package/build/components/page-editor/model.d.ts +0 -65
  157. package/build/index.css +0 -1517
  158. package/build/index.d.ts +0 -8
  159. package/build/index.es.css +0 -1517
  160. package/build/index.es.js +0 -74301
  161. package/build/index.js +0 -74430
  162. package/build/models/data/blog/index.d.ts +0 -67
  163. package/build/models/data/brand/index.d.ts +0 -21
  164. package/build/models/data/cart/index.d.ts +0 -47
  165. package/build/models/data/category/index.d.ts +0 -52
  166. package/build/models/data/checkout/index.d.ts +0 -103
  167. package/build/models/data/checkout-settings/index.d.ts +0 -25
  168. package/build/models/data/city/index.d.ts +0 -4
  169. package/build/models/data/contact-form/index.d.ts +0 -7
  170. package/build/models/data/country/index.d.ts +0 -8
  171. package/build/models/data/customer/address/index.d.ts +0 -52
  172. package/build/models/data/customer/index.d.ts +0 -33
  173. package/build/models/data/customer-review/index.d.ts +0 -23
  174. package/build/models/data/customer-review-settings/index.d.ts +0 -4
  175. package/build/models/data/district/index.d.ts +0 -4
  176. package/build/models/data/favorite-product/index.d.ts +0 -6
  177. package/build/models/data/html-meta-data/index.d.ts +0 -23
  178. package/build/models/data/image/index.d.ts +0 -8
  179. package/build/models/data/index.d.ts +0 -33
  180. package/build/models/data/installment-info/index.d.ts +0 -30
  181. package/build/models/data/merchant-settings/index.d.ts +0 -8
  182. package/build/models/data/order/address/index.d.ts +0 -51
  183. package/build/models/data/order/adjustment/index.d.ts +0 -16
  184. package/build/models/data/order/gift-line/index.d.ts +0 -4
  185. package/build/models/data/order/index.d.ts +0 -146
  186. package/build/models/data/order/line-item/discount/index.d.ts +0 -11
  187. package/build/models/data/order/line-item/index.d.ts +0 -43
  188. package/build/models/data/order/line-item/options/index.d.ts +0 -10
  189. package/build/models/data/order/line-item/options/options-value/index.d.ts +0 -6
  190. package/build/models/data/order/line-item/variant/index.d.ts +0 -25
  191. package/build/models/data/order/refund/index.d.ts +0 -6
  192. package/build/models/data/order/refund/refund-line-item/index.d.ts +0 -5
  193. package/build/models/data/order/refund/settings.d.ts +0 -6
  194. package/build/models/data/order/shipping-line/index.d.ts +0 -7
  195. package/build/models/data/order-transaction/index.d.ts +0 -74
  196. package/build/models/data/payment-gateway/index.d.ts +0 -61
  197. package/build/models/data/product/attribute-value/index.d.ts +0 -20
  198. package/build/models/data/product/index.d.ts +0 -35
  199. package/build/models/data/product/variant/index.d.ts +0 -24
  200. package/build/models/data/product/variant/price/index.d.ts +0 -11
  201. package/build/models/data/product/variant-type/index.d.ts +0 -6
  202. package/build/models/data/product-attribute/index.d.ts +0 -34
  203. package/build/models/data/product-attribute/product-attribute-option/index.d.ts +0 -5
  204. package/build/models/data/product-attribute/product-attribute-table-cell/index.d.ts +0 -5
  205. package/build/models/data/product-attribute/product-attribute-table-template/index.d.ts +0 -6
  206. package/build/models/data/product-back-in-stock-settings/index.d.ts +0 -3
  207. package/build/models/data/product-cart-item-options/index.d.ts +0 -6
  208. package/build/models/data/product-filter/index.d.ts +0 -109
  209. package/build/models/data/product-option-set/index.d.ts +0 -100
  210. package/build/models/data/product-tag/index.d.ts +0 -5
  211. package/build/models/data/sales-channel/index.d.ts +0 -18
  212. package/build/models/data/simple-product/index.d.ts +0 -136
  213. package/build/models/data/state/index.d.ts +0 -5
  214. package/build/models/data/storefront/domain/index.d.ts +0 -8
  215. package/build/models/data/storefront/index.d.ts +0 -23
  216. package/build/models/data/storefront/localization/index.d.ts +0 -7
  217. package/build/models/data/storefront/routing/index.d.ts +0 -9
  218. package/build/models/data/storefront/theme/index.d.ts +0 -13
  219. package/build/models/data/storefront/theme-localization/index.d.ts +0 -12
  220. package/build/models/data/variant-type/index.d.ts +0 -26
  221. package/build/models/data/variant-type/variant-value/index.d.ts +0 -11
  222. package/build/models/index.d.ts +0 -3
  223. package/build/models/theme/component/index.d.ts +0 -10
  224. package/build/models/theme/component/prop/index.d.ts +0 -40
  225. package/build/models/theme/custom-data/index.d.ts +0 -24
  226. package/build/models/theme/index.d.ts +0 -18
  227. package/build/models/theme/page/component/index.d.ts +0 -6
  228. package/build/models/theme/page/component/prop-value/attribute-list.d.ts +0 -7
  229. package/build/models/theme/page/component/prop-value/attribute.d.ts +0 -7
  230. package/build/models/theme/page/component/prop-value/blog-category-list.d.ts +0 -7
  231. package/build/models/theme/page/component/prop-value/blog-category.d.ts +0 -5
  232. package/build/models/theme/page/component/prop-value/blog-list.d.ts +0 -9
  233. package/build/models/theme/page/component/prop-value/blog.d.ts +0 -5
  234. package/build/models/theme/page/component/prop-value/brand-list.d.ts +0 -9
  235. package/build/models/theme/page/component/prop-value/brand.d.ts +0 -5
  236. package/build/models/theme/page/component/prop-value/category-list.d.ts +0 -9
  237. package/build/models/theme/page/component/prop-value/category.d.ts +0 -5
  238. package/build/models/theme/page/component/prop-value/link.d.ts +0 -19
  239. package/build/models/theme/page/component/prop-value/product-detail.d.ts +0 -6
  240. package/build/models/theme/page/component/prop-value/product-list.d.ts +0 -17
  241. package/build/models/theme/page/index.d.ts +0 -40
  242. package/build/models/theme/settings/index.d.ts +0 -13
  243. package/build/models/theme/settings/prop/color/index.d.ts +0 -7
  244. package/build/models/theme/settings/prop/favicon/index.d.ts +0 -4
  245. package/build/models/theme/theme.d.ts +0 -16
  246. package/build/models/ui/blog-category-list/index.d.ts +0 -52
  247. package/build/models/ui/blog-list/index.d.ts +0 -56
  248. package/build/models/ui/brand-list/index.d.ts +0 -61
  249. package/build/models/ui/category-list/index.d.ts +0 -61
  250. package/build/models/ui/component-renderer/index.d.ts +0 -7
  251. package/build/models/ui/customer-review-list/index.d.ts +0 -43
  252. package/build/models/ui/index.d.ts +0 -22
  253. package/build/models/ui/navigation-link/index.d.ts +0 -8
  254. package/build/models/ui/product-attribute-detail/index.d.ts +0 -8
  255. package/build/models/ui/product-attribute-list/index.d.ts +0 -9
  256. package/build/models/ui/product-detail/index.d.ts +0 -28
  257. package/build/models/ui/product-list/index.d.ts +0 -132
  258. package/build/models/ui/validator/form/account-info.d.ts +0 -40
  259. package/build/models/ui/validator/form/address.d.ts +0 -75
  260. package/build/models/ui/validator/form/contact-form.d.ts +0 -45
  261. package/build/models/ui/validator/form/customer-review.d.ts +0 -37
  262. package/build/models/ui/validator/form/forgot-password.d.ts +0 -29
  263. package/build/models/ui/validator/form/login.d.ts +0 -35
  264. package/build/models/ui/validator/form/recover-password.d.ts +0 -36
  265. package/build/models/ui/validator/form/register.d.ts +0 -48
  266. package/build/models/ui/validator/index.d.ts +0 -27
  267. package/build/models/ui/validator/rules/index.d.ts +0 -87
  268. package/build/pages/404.d.ts +0 -6
  269. package/build/pages/[slug]/index.d.ts +0 -7
  270. package/build/pages/account/addresses.d.ts +0 -6
  271. package/build/pages/account/favorite-products.d.ts +0 -6
  272. package/build/pages/account/forgot-password.d.ts +0 -6
  273. package/build/pages/account/index.d.ts +0 -6
  274. package/build/pages/account/login.d.ts +0 -6
  275. package/build/pages/account/orders/[id].d.ts +0 -6
  276. package/build/pages/account/orders/index.d.ts +0 -6
  277. package/build/pages/account/recover-password.d.ts +0 -6
  278. package/build/pages/account/register.d.ts +0 -6
  279. package/build/pages/blog/[slug].d.ts +0 -7
  280. package/build/pages/blog/index.d.ts +0 -6
  281. package/build/pages/cart.d.ts +0 -6
  282. package/build/pages/checkout.d.ts +0 -18
  283. package/build/pages/editor.d.ts +0 -8
  284. package/build/pages/home.d.ts +0 -6
  285. package/build/pages/index.d.ts +0 -20
  286. package/build/pages/pages/[slug].d.ts +0 -7
  287. package/build/pages/search.d.ts +0 -6
  288. package/build/providers/page-data-get.d.ts +0 -61
  289. package/build/providers/page-data-init.d.ts +0 -58
  290. package/build/providers/page-data-next.d.ts +0 -243
  291. package/build/providers/placeholders.d.ts +0 -6
  292. package/build/providers/prop-value/attribute-list.d.ts +0 -12
  293. package/build/providers/prop-value/attribute.d.ts +0 -12
  294. package/build/providers/prop-value/blog-category-list.d.ts +0 -7
  295. package/build/providers/prop-value/blog-category.d.ts +0 -11
  296. package/build/providers/prop-value/blog-list.d.ts +0 -9
  297. package/build/providers/prop-value/blog.d.ts +0 -11
  298. package/build/providers/prop-value/boolean.d.ts +0 -6
  299. package/build/providers/prop-value/brand-list.d.ts +0 -7
  300. package/build/providers/prop-value/brand.d.ts +0 -11
  301. package/build/providers/prop-value/category-list.d.ts +0 -7
  302. package/build/providers/prop-value/category.d.ts +0 -11
  303. package/build/providers/prop-value/checkout.d.ts +0 -4
  304. package/build/providers/prop-value/color.d.ts +0 -6
  305. package/build/providers/prop-value/custom.d.ts +0 -42
  306. package/build/providers/prop-value/image-list.d.ts +0 -7
  307. package/build/providers/prop-value/image.d.ts +0 -7
  308. package/build/providers/prop-value/index.d.ts +0 -3
  309. package/build/providers/prop-value/link.d.ts +0 -16
  310. package/build/providers/prop-value/product-detail.d.ts +0 -11
  311. package/build/providers/prop-value/product-list.d.ts +0 -9
  312. package/build/providers/prop-value/rich-text.d.ts +0 -6
  313. package/build/providers/prop-value/text.d.ts +0 -6
  314. package/build/store/base.d.ts +0 -25
  315. package/build/store/cart.d.ts +0 -30
  316. package/build/store/customer.d.ts +0 -72
  317. package/build/store/index.d.ts +0 -1
  318. package/build/storefront/index.d.ts +0 -53
  319. package/build/utils/currency.d.ts +0 -7
  320. package/build/utils/helper.d.ts +0 -8
  321. package/build/utils/i18n.d.ts +0 -20
  322. package/build/utils/index.d.ts +0 -3
@@ -1,5 +0,0 @@
1
- export declare class IkasBrandPropValue {
2
- brandId?: string | null;
3
- usePageData?: boolean | null;
4
- constructor(data: Partial<IkasBrandPropValue>);
5
- }
@@ -1,9 +0,0 @@
1
- import { IkasCategoryListSortType, IkasCategoryListType } from "../../../../ui/category-list/index";
2
- export declare class IkasCategoryListPropValue {
3
- categoryListType: IkasCategoryListType;
4
- initialSort?: IkasCategoryListSortType | null;
5
- initialLimit?: number | null;
6
- categoryCount?: number | null;
7
- categoryIds?: string[] | null;
8
- constructor(data: Partial<IkasCategoryListPropValue>);
9
- }
@@ -1,5 +0,0 @@
1
- export declare class IkasCategoryPropValue {
2
- categoryId?: string | null;
3
- usePageData?: boolean | null;
4
- constructor(data: Partial<IkasCategoryPropValue>);
5
- }
@@ -1,19 +0,0 @@
1
- import { IkasThemePageType } from "../../index";
2
- export declare class IkasLinkPropValue {
3
- id?: string | null;
4
- linkType?: IkasLinkType | null;
5
- label?: string | null;
6
- pageId?: string | null;
7
- pageType?: IkasThemePageType | null;
8
- itemId?: string | null;
9
- externalLink?: string | null;
10
- fileUrl?: string | null;
11
- pageComponentId?: string | null;
12
- subLinks: IkasLinkPropValue[];
13
- constructor(data?: Partial<IkasLinkPropValue>);
14
- }
15
- export declare enum IkasLinkType {
16
- PAGE = "PAGE",
17
- EXTERNAL = "EXTERNAL",
18
- FILE = "FILE"
19
- }
@@ -1,6 +0,0 @@
1
- export declare class IkasProductDetailPropValue {
2
- productId?: string | null;
3
- variantId?: string | null;
4
- usePageData?: boolean | null;
5
- constructor(data: Partial<IkasProductDetailPropValue>);
6
- }
@@ -1,17 +0,0 @@
1
- import { IkasProductListSortType, IkasProductListType } from "../../../../ui/index";
2
- export declare class IkasProductListPropValue {
3
- id: string;
4
- productListType: IkasProductListType;
5
- initialSort?: IkasProductListSortType | null;
6
- initialLimit?: number | null;
7
- productCount?: number | null;
8
- productIds?: IkasProductVariantId[] | null;
9
- usePageFilter?: boolean | null;
10
- category?: string | null;
11
- constructor(data: Partial<IkasProductListPropValue>);
12
- }
13
- declare type IkasProductVariantId = {
14
- productId: string;
15
- variantId: string;
16
- };
17
- export {};
@@ -1,40 +0,0 @@
1
- import { IkasThemePageComponent } from "./component/index";
2
- export declare class IkasThemePage {
3
- id: string;
4
- name: string | null;
5
- type: IkasThemePageType;
6
- slug: string | null;
7
- pageTitle: string | null;
8
- description: string | null;
9
- components: IkasThemePageComponent[];
10
- specifications: IkasThemePageSpecification[] | null;
11
- constructor(data: Partial<IkasThemePage>);
12
- }
13
- export declare class IkasThemePageSpecification {
14
- id: string;
15
- components: IkasThemePageComponent[];
16
- constructor(data: Partial<IkasThemePageSpecification>);
17
- }
18
- export declare enum IkasThemePageType {
19
- INDEX = "INDEX",
20
- CATEGORY = "CATEGORY",
21
- BRAND = "BRAND",
22
- PRODUCT = "PRODUCT",
23
- CUSTOM = "CUSTOM",
24
- ACCOUNT = "ACCOUNT",
25
- ADDRESSES = "ADDRESSES",
26
- ORDERS = "ORDERS",
27
- ORDER_DETAIL = "ORDER_DETAIL",
28
- LOGIN = "LOGIN",
29
- REGISTER = "REGISTER",
30
- FORGOT_PASSWORD = "FORGOT_PASSWORD",
31
- RECOVER_PASSWORD = "RECOVER_PASSWORD",
32
- CART = "CART",
33
- FAVORITE_PRODUCTS = "FAVORITE_PRODUCTS",
34
- SEARCH = "SEARCH",
35
- NOT_FOUND = "NOT_FOUND",
36
- BLOG = "BLOG",
37
- BLOG_INDEX = "BLOG_INDEX",
38
- BLOG_CATEGORY = "BLOG_CATEGORY",
39
- CHECKOUT = "CHECKOUT"
40
- }
@@ -1,13 +0,0 @@
1
- import { IkasThemeColor } from "./prop/color/index";
2
- import { IkasThemeFavicon } from "./prop/favicon/index";
3
- export declare class IkasThemeSettings {
4
- colors: IkasThemeColor[];
5
- favicon: IkasThemeFavicon;
6
- stockPreference: IkasThemeStockPreference;
7
- constructor(data?: Partial<IkasThemeSettings>);
8
- }
9
- export declare enum IkasThemeStockPreference {
10
- HIDE_OUT_OF_STOCK = "HIDE_OUT_OF_STOCK",
11
- SHOW_ALL = "SHOW_ALL",
12
- SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
13
- }
@@ -1,7 +0,0 @@
1
- export declare class IkasThemeColor {
2
- id: string;
3
- displayName: string;
4
- key: string;
5
- color: string;
6
- constructor(data: Partial<IkasThemeColor>);
7
- }
@@ -1,4 +0,0 @@
1
- export declare class IkasThemeFavicon {
2
- id: string | null;
3
- constructor(data?: Partial<IkasThemeFavicon>);
4
- }
@@ -1,16 +0,0 @@
1
- import { IkasThemeComponent } from "./component/index";
2
- import { IkasThemeCustomData } from "./custom-data/index";
3
- import { IkasThemePage } from "./page/index";
4
- import { IkasThemeSettings } from "./settings/index";
5
- export declare const CHECKOUT_ID = "checkout";
6
- export declare class IkasTheme {
7
- name: string;
8
- components: IkasThemeComponent[];
9
- pages: IkasThemePage[];
10
- settings: IkasThemeSettings;
11
- customData: IkasThemeCustomData[];
12
- constructor(data?: Partial<IkasTheme>);
13
- get headerComponent(): IkasThemeComponent | undefined;
14
- get footerComponent(): IkasThemeComponent | undefined;
15
- private createCheckoutData;
16
- }
@@ -1,52 +0,0 @@
1
- import { IkasBlogCategory } from "../../data/blog/index";
2
- import { IkasBlogCategoryListPropValue } from "../../theme/page/component/prop-value/blog-category-list";
3
- export declare class IkasBlogCategoryList {
4
- data: IkasBlogCategory[];
5
- private _type;
6
- private _limit;
7
- private _page;
8
- private _count;
9
- private _initialized;
10
- private _minPage?;
11
- private _blogCategoryListPropValue;
12
- private _isLoading;
13
- constructor(data: IkasBlogCategoryListParams);
14
- get limit(): number;
15
- get page(): number;
16
- get count(): number;
17
- get pageCount(): number;
18
- get isInitialized(): boolean;
19
- get isStatic(): boolean;
20
- get hasPrev(): boolean;
21
- get hasNext(): boolean;
22
- get isLoading(): boolean;
23
- private listBlogCategories;
24
- private getInitial;
25
- getPrev: () => Promise<void>;
26
- getNext: () => Promise<void>;
27
- getPage: (page: number) => Promise<void>;
28
- toJSON(): {
29
- data: IkasBlogCategory[];
30
- type: IkasBlogCategoryListType;
31
- limit: number;
32
- page: number;
33
- count: number;
34
- initialized: boolean;
35
- minPage: number | null | undefined;
36
- blogCategoryListPropValue: IkasBlogCategoryListPropValue;
37
- };
38
- }
39
- export declare type IkasBlogCategoryListParams = {
40
- data?: IkasBlogCategory[];
41
- type?: IkasBlogCategoryListType;
42
- limit?: number;
43
- page?: number;
44
- count?: number;
45
- initialized?: boolean;
46
- minPage?: number;
47
- blogCategoryListPropValue: IkasBlogCategoryListPropValue;
48
- };
49
- export declare enum IkasBlogCategoryListType {
50
- ALL = "ALL",
51
- STATIC = "STATIC"
52
- }
@@ -1,56 +0,0 @@
1
- import { IkasBlog } from "../../data/blog/index";
2
- import { IkasBlogListPropValue } from "../../theme/page/component/prop-value/blog-list";
3
- export declare class IkasBlogList {
4
- data: IkasBlog[];
5
- private _type;
6
- private _limit;
7
- private _page;
8
- private _count;
9
- private _initialized;
10
- private _minPage?;
11
- private _blogListPropValue;
12
- private _filterCategoryId;
13
- private _isLoading;
14
- constructor(data: IkasBlogListParams);
15
- get limit(): number;
16
- get page(): number;
17
- get count(): number;
18
- get pageCount(): number;
19
- get isInitialized(): boolean;
20
- get isStatic(): boolean;
21
- get hasPrev(): boolean;
22
- get hasNext(): boolean;
23
- get isLoading(): boolean;
24
- private listBlogs;
25
- private getInitial;
26
- getPrev: () => Promise<void>;
27
- getNext: () => Promise<void>;
28
- getPage: (page: number) => Promise<void>;
29
- toJSON(): {
30
- data: IkasBlog[];
31
- type: IkasBlogListType;
32
- limit: number;
33
- page: number;
34
- count: number;
35
- initialized: boolean;
36
- minPage: number | null | undefined;
37
- blogListPropValue: IkasBlogListPropValue;
38
- filterCategoryId: string | null;
39
- };
40
- }
41
- export declare type IkasBlogListParams = {
42
- data?: IkasBlog[];
43
- type?: IkasBlogListType;
44
- limit?: number;
45
- page?: number;
46
- count?: number;
47
- initialized?: boolean;
48
- minPage?: number;
49
- blogListPropValue: IkasBlogListPropValue;
50
- filterCategoryId: string | null;
51
- };
52
- export declare enum IkasBlogListType {
53
- ALL = "ALL",
54
- STATIC = "STATIC",
55
- CATEGORY = "CATEGORY"
56
- }
@@ -1,61 +0,0 @@
1
- import { IkasBrand } from "../../data/index";
2
- import { IkasBrandListPropValue } from "../../theme/page/component/prop-value/brand-list";
3
- export declare class IkasBrandList {
4
- data: IkasBrand[];
5
- private _type;
6
- private _sort;
7
- private _limit;
8
- private _page;
9
- private _count;
10
- private _initialized;
11
- private _minPage?;
12
- private _brandListPropValue;
13
- private _isLoading;
14
- constructor(data: IkasBrandListParams);
15
- get sort(): IkasBrandListSortType;
16
- get limit(): number;
17
- get page(): number;
18
- get count(): number;
19
- get pageCount(): number;
20
- get isInitialized(): boolean;
21
- get isStatic(): boolean;
22
- get hasPrev(): boolean;
23
- get hasNext(): boolean;
24
- get isLoading(): boolean;
25
- private getSortParams;
26
- getInitial: () => Promise<void>;
27
- getPrev: () => Promise<void>;
28
- getNext: () => Promise<void>;
29
- getPage: (page: number) => Promise<void>;
30
- setSortType(sortType: IkasBrandListSortType): Promise<void>;
31
- toJSON(): {
32
- data: IkasBrand[];
33
- type: IkasBrandListType;
34
- sort: IkasBrandListSortType;
35
- limit: number;
36
- page: number;
37
- count: number;
38
- initialized: boolean;
39
- minPage: number | null | undefined;
40
- brandListPropValue: IkasBrandListPropValue;
41
- };
42
- }
43
- export declare type IkasBrandListParams = {
44
- data?: IkasBrand[];
45
- type?: IkasBrandListType;
46
- sort?: IkasBrandListSortType;
47
- limit?: number;
48
- page?: number;
49
- count?: number;
50
- initialized?: boolean;
51
- minPage?: number;
52
- brandListPropValue: IkasBrandListPropValue;
53
- };
54
- export declare enum IkasBrandListType {
55
- ALL = "ALL",
56
- STATIC = "STATIC"
57
- }
58
- export declare enum IkasBrandListSortType {
59
- A_Z = "A_Z",
60
- Z_A = "Z_A"
61
- }
@@ -1,61 +0,0 @@
1
- import { IkasCategory } from "../../data/index";
2
- import { IkasCategoryListPropValue } from "../../theme/page/component/prop-value/category-list";
3
- export declare class IkasCategoryList {
4
- data: IkasCategory[];
5
- private _type;
6
- private _sort;
7
- private _limit;
8
- private _page;
9
- private _count;
10
- private _initialized;
11
- private _minPage?;
12
- private _categoryListPropValue;
13
- private _isLoading;
14
- constructor(data: IkasCategoryListParams);
15
- get sort(): IkasCategoryListSortType;
16
- get limit(): number;
17
- get page(): number;
18
- get count(): number;
19
- get pageCount(): number;
20
- get isInitialized(): boolean;
21
- get isStatic(): boolean;
22
- get hasPrev(): boolean;
23
- get hasNext(): boolean;
24
- get isLoading(): boolean;
25
- private getSortParams;
26
- getInitial: () => Promise<void>;
27
- getPrev: () => Promise<void>;
28
- getNext: () => Promise<void>;
29
- getPage: (page: number) => Promise<void>;
30
- setSortType(sortType: IkasCategoryListSortType): Promise<void>;
31
- toJSON(): {
32
- data: IkasCategory[];
33
- type: IkasCategoryListType;
34
- sort: IkasCategoryListSortType;
35
- limit: number;
36
- page: number;
37
- count: number;
38
- initialized: boolean;
39
- minPage: number | null | undefined;
40
- categoryListPropValue: IkasCategoryListPropValue;
41
- };
42
- }
43
- export declare type IkasCategoryListParams = {
44
- data?: IkasCategory[];
45
- type?: IkasCategoryListType;
46
- sort?: IkasCategoryListSortType;
47
- limit?: number;
48
- page?: number;
49
- count?: number;
50
- initialized?: boolean;
51
- minPage?: number;
52
- categoryListPropValue: IkasCategoryListPropValue;
53
- };
54
- export declare enum IkasCategoryListType {
55
- ALL = "ALL",
56
- STATIC = "STATIC"
57
- }
58
- export declare enum IkasCategoryListSortType {
59
- A_Z = "A_Z",
60
- Z_A = "Z_A"
61
- }
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- declare type RenderFunction = () => React.ReactNode;
3
- export declare class IkasComponentRenderer {
4
- render: RenderFunction;
5
- constructor(render: RenderFunction);
6
- }
7
- export {};
@@ -1,43 +0,0 @@
1
- import { IkasCustomerReview } from "../../data/customer-review/index";
2
- export declare class IkasCustomerReviewList {
3
- data: IkasCustomerReview[];
4
- private _limit;
5
- private _page;
6
- private _count;
7
- private _initialized;
8
- private _minPage?;
9
- private _productId;
10
- private _isLoading;
11
- constructor(data: IkasCustomerReviewListParams);
12
- get limit(): number;
13
- get page(): number;
14
- get count(): number;
15
- get pageCount(): number;
16
- get isInitialized(): boolean;
17
- get hasPrev(): boolean;
18
- get hasNext(): boolean;
19
- get isLoading(): boolean;
20
- private listCustomerReviews;
21
- private getInitial;
22
- getPrev: () => Promise<void>;
23
- getNext: () => Promise<void>;
24
- getPage: (page: number) => Promise<void>;
25
- toJSON(): {
26
- data: IkasCustomerReview[];
27
- limit: number;
28
- page: number;
29
- count: number;
30
- initialized: boolean;
31
- minPage: number | null | undefined;
32
- productId: string;
33
- };
34
- }
35
- export declare type IkasCustomerReviewListParams = {
36
- data?: IkasCustomerReview[];
37
- limit?: number;
38
- page?: number;
39
- count?: number;
40
- initialized?: boolean;
41
- minPage?: number;
42
- productId: string;
43
- };
@@ -1,22 +0,0 @@
1
- export * from "./blog-list/index";
2
- export * from "./blog-category-list/index";
3
- export { IkasBrandList, IkasBrandListType, IkasBrandListSortType, } from "./brand-list/index";
4
- export { IkasCategoryList, IkasCategoryListType, IkasCategoryListSortType, } from "./category-list/index";
5
- export type { IkasBrandListParams } from "./brand-list/index";
6
- export { IkasNavigationLink } from "./navigation-link/index";
7
- export { IkasProductDetail, IkasDisplayedVariantType, IkasDisplayedVariantValue, } from "./product-detail/index";
8
- export { IkasProductList, IkasProductListType, IkasProductListSortType, } from "./product-list/index";
9
- export * from "./product-attribute-detail/index";
10
- export * from "./product-attribute-list/index";
11
- export * from "./customer-review-list/index";
12
- export { Validator, ValidationStatus } from "./validator/index";
13
- export * from "./validator/rules/index";
14
- export { LoginForm } from "./validator/form/login";
15
- export { AddressForm } from "./validator/form/address";
16
- export { RegisterForm } from "./validator/form/register";
17
- export { ContactForm } from "./validator/form/contact-form";
18
- export { ForgotPasswordForm } from "./validator/form/forgot-password";
19
- export { RecoverPasswordForm } from "./validator/form/recover-password";
20
- export { AccountInfoForm } from "./validator/form/account-info";
21
- export { CustomerReviewForm } from "./validator/form/customer-review";
22
- export * from "./component-renderer/index";
@@ -1,8 +0,0 @@
1
- export declare class IkasNavigationLink {
2
- href: string;
3
- label: string;
4
- subLinks: IkasNavigationLink[];
5
- isExternal?: boolean | null;
6
- itemId?: string;
7
- constructor(href: string, label: string, subLinks: IkasNavigationLink[], isExternal?: boolean);
8
- }
@@ -1,8 +0,0 @@
1
- import { IkasAttributePropValue } from "../../theme/page/component/prop-value/attribute";
2
- import { IkasProductDetail } from "../product-detail/index";
3
- export declare class IkasAttributeDetail {
4
- productDetail: IkasProductDetail | null;
5
- attributePropValue: IkasAttributePropValue;
6
- constructor(productDetail: IkasProductDetail | null, attributePropValue: IkasAttributePropValue);
7
- get values(): import("../../index").IkasProductAttributeValue[];
8
- }
@@ -1,9 +0,0 @@
1
- import { IkasProductAttributeMap } from "../../data/index";
2
- import { IkasProductDetail } from "../product-detail/index";
3
- import { IkasAttributeListPropValue } from "../../theme/page/component/prop-value/attribute-list";
4
- export declare class IkasAttributeList {
5
- productDetail: IkasProductDetail | null;
6
- attributeListPropValue: IkasAttributeListPropValue;
7
- constructor(productDetail: IkasProductDetail | null, attributeListPropValue: IkasAttributeListPropValue);
8
- get values(): IkasProductAttributeMap[];
9
- }
@@ -1,28 +0,0 @@
1
- import { IkasProduct, IkasVariantValue, IkasCustomerReviewList } from "../../index";
2
- import { NextRouter } from "next/router";
3
- import { IkasProductVariant, IkasVariantType } from "../../data/index";
4
- export declare class IkasProductDetail {
5
- product: IkasProduct;
6
- selectedVariantValues: IkasVariantValue[];
7
- private router?;
8
- constructor(product: IkasProduct, selectedVariantValues: IkasVariantValue[], router?: NextRouter);
9
- get mainVariantValue(): IkasVariantValue | undefined;
10
- get selectedVariant(): IkasProductVariant;
11
- get href(): string;
12
- get hasStock(): boolean;
13
- get displayedVariantTypes(): IkasDisplayedVariantType[];
14
- get isCustomerReviewEnabled(): boolean;
15
- get isCustomerReviewLoginRequired(): boolean;
16
- getCustomerReviews(): Promise<IkasCustomerReviewList>;
17
- selectVariantValue(variantValue: IkasVariantValue): void;
18
- }
19
- export declare type IkasDisplayedVariantValue = {
20
- variant: IkasProductVariant;
21
- variantValue: IkasVariantValue;
22
- hasStock: boolean;
23
- isSelected: boolean;
24
- };
25
- export declare type IkasDisplayedVariantType = {
26
- variantType: IkasVariantType;
27
- displayedVariantValues: IkasDisplayedVariantValue[];
28
- };
@@ -1,132 +0,0 @@
1
- import { IkasProductListPropValue, IkasThemePageType } from "../../theme/index";
2
- import { IkasProductDetail } from "../product-detail/index";
3
- import { IkasProductFilter } from "../../data/product-filter/index";
4
- import { NextRouter } from "next/router";
5
- import { IkasCategory, IkasFilterCategory } from "../../data/category/index";
6
- import { IkasBrand } from "../../data/index";
7
- export declare class IkasProductList {
8
- data: IkasProductDetail[];
9
- filters?: IkasProductFilter[] | null;
10
- private _filterCategories?;
11
- private _type;
12
- private _pageType;
13
- private _sort;
14
- private _limit;
15
- private _page;
16
- private _infiniteScrollPage;
17
- private _count;
18
- private _searchKeyword;
19
- private _initialized;
20
- private _minPage?;
21
- private _productListPropValue;
22
- private _filterBrandId?;
23
- private _filterCategoryId?;
24
- private pageSpecificData?;
25
- private _recommendFor?;
26
- private _isLoading;
27
- private _fetchRequestTime;
28
- private router?;
29
- constructor(data: IkasProductListParams, router?: NextRouter);
30
- get sort(): IkasProductListSortType;
31
- get limit(): number;
32
- get pageType(): IkasThemePageType;
33
- get page(): number;
34
- get minPage(): number;
35
- get count(): number;
36
- get pageCount(): number;
37
- get searchKeyword(): string;
38
- set searchKeyword(value: string);
39
- get isInitialized(): boolean;
40
- get isFilterable(): boolean;
41
- get isFiltered(): boolean | undefined;
42
- get isStatic(): boolean;
43
- get isDiscounted(): boolean;
44
- get isRecommended(): boolean;
45
- get isLastViewed(): boolean;
46
- get isSearch(): boolean;
47
- get hasPrev(): boolean;
48
- get hasNext(): boolean;
49
- get isLoading(): boolean;
50
- get filterQueryParams(): string;
51
- get filterCategories(): IkasFilterCategory[] | undefined;
52
- get hasAppliedfilter(): boolean | undefined;
53
- get isFeaturedSortEnabled(): boolean;
54
- private setPageSpecificSort;
55
- private getSortParams;
56
- private searchProducts;
57
- private getFilters;
58
- private applyQueryParamFilters;
59
- private applyFacets;
60
- private applyFilters;
61
- clearFilters(): void;
62
- private getInitial;
63
- getPrev: () => Promise<void>;
64
- getNext: () => Promise<void>;
65
- getPage: (page: number) => Promise<void>;
66
- setSortType(sortType: IkasProductListSortType): Promise<void>;
67
- onFilterCategoryClick(filterCategory: IkasFilterCategory, disableRoute?: boolean): Promise<void>;
68
- toJSON(): {
69
- data: IkasProductDetail[];
70
- type: IkasProductListType;
71
- pageType: IkasThemePageType;
72
- sort: IkasProductListSortType;
73
- limit: number;
74
- page: number;
75
- count: number;
76
- searchKeyword: string;
77
- initialized: boolean;
78
- minPage: number | null | undefined;
79
- filterBrandId: string | null | undefined;
80
- filterCategoryId: string | null | undefined;
81
- filterCategories: IkasFilterCategory[] | null | undefined;
82
- filters: IkasProductFilter[] | null | undefined;
83
- recommendFor: string | null | undefined;
84
- productListPropValue: IkasProductListPropValue;
85
- pageSpecificData: IkasCategory | IkasBrand | null | undefined;
86
- };
87
- setVisibleInfiniteScrollPage: (page: number) => void;
88
- private restoreInfiniteScrollPage;
89
- private getQueryParams;
90
- private isBrowser;
91
- private waitForCustomerStoreInit;
92
- private handleListingEvent;
93
- private searchDebouncer;
94
- private searchAnalyticsDebouncer;
95
- }
96
- export declare type IkasProductListParams = {
97
- data?: IkasProductDetail[];
98
- type?: IkasProductListType;
99
- pageType: IkasThemePageType;
100
- sort?: IkasProductListSortType;
101
- limit?: number;
102
- page?: number;
103
- count?: number;
104
- searchKeyword?: string;
105
- initialized?: boolean;
106
- minPage?: number;
107
- filterBrandId?: string;
108
- filterCategoryId?: string;
109
- filters?: IkasProductFilter[];
110
- filterCategories?: IkasFilterCategory[];
111
- recommendFor?: string;
112
- productListPropValue: IkasProductListPropValue;
113
- pageSpecificData?: IkasCategory | IkasBrand | null;
114
- };
115
- export declare enum IkasProductListType {
116
- ALL = "ALL",
117
- STATIC = "STATIC",
118
- DISCOUNTED = "DISCOUNTED",
119
- RECOMMENDED = "RECOMMENDED",
120
- CATEGORY = "CATEGORY",
121
- SEARCH = "SEARCH",
122
- LAST_VIEWED = "LAST_VIEWED"
123
- }
124
- export declare enum IkasProductListSortType {
125
- INCREASING_PRICE = "INCREASING_PRICE",
126
- DECREASING_PRICE = "DECREASING_PRICE",
127
- LAST_ADDED = "LAST_ADDED",
128
- FIRST_ADDED = "FIRST_ADDED",
129
- INCREASING_DISCOUNT = "INCREASING_DISCOUNT",
130
- DECRASING_DISCOUNT = "DECRASING_DISCOUNT",
131
- FEATURED = "FEATURED"
132
- }