@ikas/storefront 4.5.0-beta.1 → 4.5.0-beta.3

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 (784) hide show
  1. package/package.json +11 -11
  2. package/build/_virtual/axios.js +0 -1
  3. package/build/_virtual/index.js +0 -1
  4. package/build/analytics/analytics.d.ts +0 -37
  5. package/build/analytics/analytics.js +0 -1
  6. package/build/analytics/events.d.ts +0 -37
  7. package/build/analytics/events.js +0 -1
  8. package/build/analytics/facebookPixel.d.ts +0 -15
  9. package/build/analytics/facebookPixel.js +0 -1
  10. package/build/analytics/googleAnalytics.d.ts +0 -13
  11. package/build/analytics/googleAnalytics.js +0 -1
  12. package/build/analytics/googleTagManager.d.ts +0 -209
  13. package/build/analytics/googleTagManager.js +0 -1
  14. package/build/analytics/googleUniversal.d.ts +0 -9
  15. package/build/analytics/googleUniversal.js +0 -1
  16. package/build/analytics/head/index.d.ts +0 -3
  17. package/build/analytics/head/index.js +0 -1
  18. package/build/analytics/ikas.d.ts +0 -134
  19. package/build/analytics/ikas.js +0 -1
  20. package/build/analytics/index.d.ts +0 -2
  21. package/build/analytics/tiktokPixel.d.ts +0 -13
  22. package/build/analytics/tiktokPixel.js +0 -1
  23. package/build/components/checkout/components/address-form/index.d.ts +0 -3
  24. package/build/components/checkout/components/address-form/index.js +0 -1
  25. package/build/components/checkout/components/address-form/model.d.ts +0 -87
  26. package/build/components/checkout/components/address-form/model.js +0 -1
  27. package/build/components/checkout/components/adyen/adyen.module.scss.js +0 -1
  28. package/build/components/checkout/components/adyen/index.d.ts +0 -8
  29. package/build/components/checkout/components/adyen/index.js +0 -1
  30. package/build/components/checkout/components/button/index.d.ts +0 -13
  31. package/build/components/checkout/components/button/index.js +0 -1
  32. package/build/components/checkout/components/button/style.module.scss.js +0 -1
  33. package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +0 -11
  34. package/build/components/checkout/components/cart-summary/cart-item/index.js +0 -1
  35. package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +0 -1
  36. package/build/components/checkout/components/cart-summary/cart-item/svg/arrow-right.d.ts +0 -2
  37. package/build/components/checkout/components/cart-summary/cart-item/svg/arrow-right.js +0 -1
  38. package/build/components/checkout/components/cart-summary/index.d.ts +0 -12
  39. package/build/components/checkout/components/cart-summary/index.js +0 -1
  40. package/build/components/checkout/components/cart-summary/style.module.scss.js +0 -1
  41. package/build/components/checkout/components/checkbox/check.d.ts +0 -6
  42. package/build/components/checkout/components/checkbox/check.js +0 -1
  43. package/build/components/checkout/components/checkbox/index.d.ts +0 -10
  44. package/build/components/checkout/components/checkbox/index.js +0 -1
  45. package/build/components/checkout/components/checkbox/style.module.scss.js +0 -1
  46. package/build/components/checkout/components/credit-card-form/index.d.ts +0 -7
  47. package/build/components/checkout/components/credit-card-form/index.js +0 -1
  48. package/build/components/checkout/components/credit-card-form/model.d.ts +0 -26
  49. package/build/components/checkout/components/credit-card-form/model.js +0 -1
  50. package/build/components/checkout/components/credit-card-form/style.module.scss.js +0 -1
  51. package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +0 -6
  52. package/build/components/checkout/components/credit-card-form/svg/amex.js +0 -1
  53. package/build/components/checkout/components/credit-card-form/svg/master-card.d.ts +0 -6
  54. package/build/components/checkout/components/credit-card-form/svg/master-card.js +0 -1
  55. package/build/components/checkout/components/credit-card-form/svg/troy.d.ts +0 -6
  56. package/build/components/checkout/components/credit-card-form/svg/troy.js +0 -1
  57. package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +0 -6
  58. package/build/components/checkout/components/credit-card-form/svg/visa.js +0 -1
  59. package/build/components/checkout/components/customer-addresses/index.d.ts +0 -19
  60. package/build/components/checkout/components/customer-addresses/index.js +0 -1
  61. package/build/components/checkout/components/customer-addresses/model.d.ts +0 -21
  62. package/build/components/checkout/components/customer-addresses/model.js +0 -1
  63. package/build/components/checkout/components/customer-addresses/style.module.scss.js +0 -1
  64. package/build/components/checkout/components/delivery-methods/icon-button/index.d.ts +0 -10
  65. package/build/components/checkout/components/delivery-methods/icon-button/index.js +0 -1
  66. package/build/components/checkout/components/delivery-methods/icon-button/style.module.scss.js +0 -1
  67. package/build/components/checkout/components/delivery-methods/icons/box.d.ts +0 -6
  68. package/build/components/checkout/components/delivery-methods/icons/box.js +0 -1
  69. package/build/components/checkout/components/delivery-methods/icons/store.d.ts +0 -6
  70. package/build/components/checkout/components/delivery-methods/icons/store.js +0 -1
  71. package/build/components/checkout/components/delivery-methods/index.d.ts +0 -7
  72. package/build/components/checkout/components/delivery-methods/index.js +0 -1
  73. package/build/components/checkout/components/delivery-methods/style.module.scss.js +0 -1
  74. package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +0 -8
  75. package/build/components/checkout/components/error/customer-login-required-error/index.js +0 -1
  76. package/build/components/checkout/components/error/index.d.ts +0 -7
  77. package/build/components/checkout/components/error/index.js +0 -1
  78. package/build/components/checkout/components/error/no-shipping-error/index.d.ts +0 -3
  79. package/build/components/checkout/components/error/no-shipping-error/index.js +0 -1
  80. package/build/components/checkout/components/error/payment-error/index.d.ts +0 -8
  81. package/build/components/checkout/components/error/payment-error/index.js +0 -1
  82. package/build/components/checkout/components/error/stock-error/index.d.ts +0 -8
  83. package/build/components/checkout/components/error/stock-error/index.js +0 -1
  84. package/build/components/checkout/components/error/stock-error/style.module.scss.js +0 -1
  85. package/build/components/checkout/components/error/unknown-error/index.d.ts +0 -8
  86. package/build/components/checkout/components/error/unknown-error/index.js +0 -1
  87. package/build/components/checkout/components/expandable-section/index.d.ts +0 -6
  88. package/build/components/checkout/components/expandable-section/index.js +0 -1
  89. package/build/components/checkout/components/expandable-section/style.module.scss.js +0 -1
  90. package/build/components/checkout/components/form-item/caret-down.d.ts +0 -6
  91. package/build/components/checkout/components/form-item/caret-down.js +0 -1
  92. package/build/components/checkout/components/form-item/index.d.ts +0 -3
  93. package/build/components/checkout/components/form-item/index.js +0 -1
  94. package/build/components/checkout/components/form-item/model.d.ts +0 -69
  95. package/build/components/checkout/components/form-item/model.js +0 -1
  96. package/build/components/checkout/components/form-item/style.module.scss.js +0 -1
  97. package/build/components/checkout/components/fullscreen-loading/index.d.ts +0 -2
  98. package/build/components/checkout/components/fullscreen-loading/index.js +0 -1
  99. package/build/components/checkout/components/fullscreen-loading/style.module.scss.js +0 -1
  100. package/build/components/checkout/components/input-with-button/index.d.ts +0 -12
  101. package/build/components/checkout/components/input-with-button/index.js +0 -1
  102. package/build/components/checkout/components/input-with-button/style.module.scss.js +0 -1
  103. package/build/components/checkout/components/klarna/index.d.ts +0 -7
  104. package/build/components/checkout/components/klarna/index.js +0 -1
  105. package/build/components/checkout/components/master-pass/credit-card-form/index.d.ts +0 -8
  106. package/build/components/checkout/components/master-pass/credit-card-form/index.js +0 -1
  107. package/build/components/checkout/components/master-pass/credit-card-form/style.module.scss.js +0 -1
  108. package/build/components/checkout/components/master-pass/link-card-to-client/index.d.ts +0 -8
  109. package/build/components/checkout/components/master-pass/link-card-to-client/index.js +0 -1
  110. package/build/components/checkout/components/master-pass/link-card-to-client/style.module.scss.js +0 -1
  111. package/build/components/checkout/components/master-pass/link-card-to-client/svg/close.d.ts +0 -2
  112. package/build/components/checkout/components/master-pass/link-card-to-client/svg/close.js +0 -1
  113. package/build/components/checkout/components/master-pass/link-card-to-client/svg/info-mark.d.ts +0 -2
  114. package/build/components/checkout/components/master-pass/link-card-to-client/svg/info-mark.js +0 -1
  115. package/build/components/checkout/components/master-pass/link-card-to-client/svg/master-pass-by-master-card-big.d.ts +0 -2
  116. package/build/components/checkout/components/master-pass/link-card-to-client/svg/master-pass-by-master-card-big.js +0 -1
  117. package/build/components/checkout/components/master-pass/modal/index.d.ts +0 -10
  118. package/build/components/checkout/components/master-pass/modal/index.js +0 -1
  119. package/build/components/checkout/components/master-pass/modal/style.module.scss.js +0 -1
  120. package/build/components/checkout/components/master-pass/modal/svg/master-pass-by-master-card-small.d.ts +0 -2
  121. package/build/components/checkout/components/master-pass/modal/svg/master-pass-by-master-card-small.js +0 -1
  122. package/build/components/checkout/components/master-pass/modal/svg/modal-close.d.ts +0 -2
  123. package/build/components/checkout/components/master-pass/modal/svg/modal-close.js +0 -1
  124. package/build/components/checkout/components/master-pass/modal-otp/index.d.ts +0 -10
  125. package/build/components/checkout/components/master-pass/modal-otp/index.js +0 -1
  126. package/build/components/checkout/components/master-pass/modal-otp/style.module.scss.js +0 -1
  127. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.d.ts +0 -2
  128. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.js +0 -1
  129. package/build/components/checkout/components/master-pass/modal-response/index.d.ts +0 -9
  130. package/build/components/checkout/components/master-pass/modal-response/index.js +0 -1
  131. package/build/components/checkout/components/master-pass/modal-response/style.module.scss.js +0 -1
  132. package/build/components/checkout/components/master-pass/modal-success/index.d.ts +0 -10
  133. package/build/components/checkout/components/master-pass/modal-success/index.js +0 -1
  134. package/build/components/checkout/components/master-pass/modal-success/style.module.scss.js +0 -1
  135. package/build/components/checkout/components/master-pass/modal-success/svg/success.d.ts +0 -2
  136. package/build/components/checkout/components/master-pass/modal-success/svg/success.js +0 -1
  137. package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.d.ts +0 -2
  138. package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.js +0 -1
  139. package/build/components/checkout/components/master-pass/payment-gateway/svg/troy.d.ts +0 -6
  140. package/build/components/checkout/components/master-pass/payment-gateway/svg/troy.js +0 -1
  141. package/build/components/checkout/components/master-pass/payment-gateway/svg/visa.d.ts +0 -6
  142. package/build/components/checkout/components/master-pass/payment-gateway/svg/visa.js +0 -1
  143. package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.d.ts +0 -3
  144. package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.js +0 -1
  145. package/build/components/checkout/components/modal/index.d.ts +0 -8
  146. package/build/components/checkout/components/modal/index.js +0 -1
  147. package/build/components/checkout/components/modal/style.module.scss.js +0 -1
  148. package/build/components/checkout/components/modal/useEscape.d.ts +0 -5
  149. package/build/components/checkout/components/modal/useEscape.js +0 -1
  150. package/build/components/checkout/components/notification-box/index.d.ts +0 -9
  151. package/build/components/checkout/components/notification-box/index.js +0 -1
  152. package/build/components/checkout/components/notification-box/style.module.scss.js +0 -1
  153. package/build/components/checkout/components/offer-product/index.d.ts +0 -8
  154. package/build/components/checkout/components/offer-product/index.js +0 -1
  155. package/build/components/checkout/components/offer-product/select/arrows.d.ts +0 -6
  156. package/build/components/checkout/components/offer-product/select/arrows.js +0 -1
  157. package/build/components/checkout/components/offer-product/select/index.d.ts +0 -11
  158. package/build/components/checkout/components/offer-product/select/index.js +0 -1
  159. package/build/components/checkout/components/offer-product/select/style.module.scss.js +0 -1
  160. package/build/components/checkout/components/offer-product/style.module.scss.js +0 -1
  161. package/build/components/checkout/components/phone-number-input/compare-strings.d.ts +0 -2
  162. package/build/components/checkout/components/phone-number-input/compare-strings.js +0 -1
  163. package/build/components/checkout/components/phone-number-input/get-countries.d.ts +0 -7
  164. package/build/components/checkout/components/phone-number-input/get-countries.js +0 -1
  165. package/build/components/checkout/components/phone-number-input/index.d.ts +0 -10
  166. package/build/components/checkout/components/phone-number-input/index.js +0 -1
  167. package/build/components/checkout/components/phone-number-input/style.module.scss.js +0 -1
  168. package/build/components/checkout/components/quick-registration/completed.d.ts +0 -7
  169. package/build/components/checkout/components/quick-registration/completed.js +0 -1
  170. package/build/components/checkout/components/quick-registration/index.d.ts +0 -7
  171. package/build/components/checkout/components/quick-registration/index.js +0 -1
  172. package/build/components/checkout/components/quick-registration/model.d.ts +0 -19
  173. package/build/components/checkout/components/quick-registration/model.js +0 -1
  174. package/build/components/checkout/components/quick-registration/style.module.scss.js +0 -1
  175. package/build/components/checkout/components/select-box/index.d.ts +0 -13
  176. package/build/components/checkout/components/select-box/index.js +0 -1
  177. package/build/components/checkout/components/select-box/style.module.scss.js +0 -1
  178. package/build/components/checkout/components/step-container/index.d.ts +0 -15
  179. package/build/components/checkout/components/step-container/index.js +0 -1
  180. package/build/components/checkout/components/step-container/style.module.scss.js +0 -1
  181. package/build/components/checkout/components/stripe/checkout-form.d.ts +0 -8
  182. package/build/components/checkout/components/stripe/checkout-form.js +0 -1
  183. package/build/components/checkout/components/stripe/index.d.ts +0 -9
  184. package/build/components/checkout/components/stripe/index.js +0 -1
  185. package/build/components/checkout/components/stripe/style.module.scss.js +0 -1
  186. package/build/components/checkout/components/svg/arrow-down.d.ts +0 -6
  187. package/build/components/checkout/components/svg/arrow-down.js +0 -1
  188. package/build/components/checkout/components/svg/arrow-left.d.ts +0 -6
  189. package/build/components/checkout/components/svg/arrow-right.d.ts +0 -6
  190. package/build/components/checkout/components/svg/cross.d.ts +0 -6
  191. package/build/components/checkout/components/svg/cross.js +0 -1
  192. package/build/components/checkout/components/svg/discount.d.ts +0 -6
  193. package/build/components/checkout/components/svg/external.d.ts +0 -6
  194. package/build/components/checkout/components/svg/external.js +0 -1
  195. package/build/components/checkout/components/svg/gift.d.ts +0 -7
  196. package/build/components/checkout/components/svg/gift.js +0 -1
  197. package/build/components/checkout/components/svg/ikas.d.ts +0 -6
  198. package/build/components/checkout/components/svg/ikas.js +0 -1
  199. package/build/components/checkout/components/svg/lock.d.ts +0 -6
  200. package/build/components/checkout/components/svg/lock.js +0 -1
  201. package/build/components/checkout/components/svg/shopping-cart.d.ts +0 -6
  202. package/build/components/checkout/components/svg/success-circle.d.ts +0 -6
  203. package/build/components/checkout/components/svg/success-circle.js +0 -1
  204. package/build/components/checkout/components/svg/tag.d.ts +0 -6
  205. package/build/components/checkout/components/svg/warning.d.ts +0 -6
  206. package/build/components/checkout/components/svg/warning.js +0 -1
  207. package/build/components/checkout/components/toggle/index.d.ts +0 -10
  208. package/build/components/checkout/components/toggle/index.js +0 -1
  209. package/build/components/checkout/components/toggle/style.module.scss.js +0 -1
  210. package/build/components/checkout/components/tooltip/index.d.ts +0 -8
  211. package/build/components/checkout/components/tooltip/index.js +0 -1
  212. package/build/components/checkout/components/tooltip/style.module.scss.js +0 -1
  213. package/build/components/checkout/index.d.ts +0 -34
  214. package/build/components/checkout/index.js +0 -1
  215. package/build/components/checkout/model.d.ts +0 -191
  216. package/build/components/checkout/model.js +0 -1
  217. package/build/components/checkout/modelMasterPass.d.ts +0 -204
  218. package/build/components/checkout/modelMasterPass.js +0 -1
  219. package/build/components/checkout/steps/step-info/index.d.ts +0 -7
  220. package/build/components/checkout/steps/step-info/index.js +0 -1
  221. package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +0 -7
  222. package/build/components/checkout/steps/step-payment/billing-address/index.js +0 -1
  223. package/build/components/checkout/steps/step-payment/index.d.ts +0 -7
  224. package/build/components/checkout/steps/step-payment/index.js +0 -1
  225. package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +0 -7
  226. package/build/components/checkout/steps/step-payment/payment-gateways/index.js +0 -1
  227. package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +0 -7
  228. package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +0 -1
  229. package/build/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss.js +0 -1
  230. package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +0 -1
  231. package/build/components/checkout/steps/step-payment/style.module.scss.js +0 -1
  232. package/build/components/checkout/steps/step-shipping/index.d.ts +0 -7
  233. package/build/components/checkout/steps/step-shipping/index.js +0 -1
  234. package/build/components/checkout/steps/step-shipping/style.module.scss.js +0 -1
  235. package/build/components/checkout/steps/step-success/index.d.ts +0 -7
  236. package/build/components/checkout/steps/step-success/index.js +0 -1
  237. package/build/components/checkout/steps/step-success/style.module.scss.js +0 -1
  238. package/build/components/checkout/style.module.scss.js +0 -1
  239. package/build/components/checkout/styles/common.module.scss.js +0 -1
  240. package/build/components/google-captcha/index.d.ts +0 -9
  241. package/build/components/google-captcha/index.js +0 -1
  242. package/build/components/image/index.d.ts +0 -10
  243. package/build/components/image/index.js +0 -1
  244. package/build/components/index.d.ts +0 -6
  245. package/build/components/link/index.d.ts +0 -16
  246. package/build/components/link/index.js +0 -1
  247. package/build/components/page/ThemeComponent.d.ts +0 -21
  248. package/build/components/page/ThemeComponent.js +0 -1
  249. package/build/components/page/head.d.ts +0 -15
  250. package/build/components/page/head.js +0 -1
  251. package/build/components/page/index.d.ts +0 -24
  252. package/build/components/page/index.js +0 -1
  253. package/build/components/page-editor/ThemeComponentEditor.d.ts +0 -32
  254. package/build/components/page-editor/ThemeComponentEditor.js +0 -1
  255. package/build/components/page-editor/error/index.d.ts +0 -4
  256. package/build/components/page-editor/error/index.js +0 -1
  257. package/build/components/page-editor/index.d.ts +0 -4
  258. package/build/components/page-editor/index.js +0 -1
  259. package/build/components/page-editor/loader/index.d.ts +0 -6
  260. package/build/components/page-editor/loader/index.js +0 -1
  261. package/build/components/page-editor/loader/style.module.scss.js +0 -1
  262. package/build/components/page-editor/model.d.ts +0 -76
  263. package/build/components/page-editor/model.js +0 -1
  264. package/build/ext/@ikas/fe-api-client/build/_virtual/_commonjsHelpers.js +0 -1
  265. package/build/ext/@ikas/fe-api-client/build/_virtual/axios-error-format.js +0 -1
  266. package/build/ext/@ikas/fe-api-client/build/_virtual/core.js +0 -1
  267. package/build/ext/@ikas/fe-api-client/build/_virtual/index.js +0 -1
  268. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/axios-error-format.js +0 -1
  269. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/core.js +0 -1
  270. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.js +0 -1
  271. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.mjs.js +0 -1
  272. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Hash.js +0 -1
  273. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_ListCache.js +0 -1
  274. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Map.js +0 -1
  275. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_MapCache.js +0 -1
  276. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Symbol.js +0 -1
  277. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assocIndexOf.js +0 -1
  278. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseGetTag.js +0 -1
  279. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseIsNative.js +0 -1
  280. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseToString.js +0 -1
  281. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_coreJsData.js +0 -1
  282. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_defineProperty.js +0 -1
  283. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_freeGlobal.js +0 -1
  284. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getMapData.js +0 -1
  285. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getNative.js +0 -1
  286. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getRawTag.js +0 -1
  287. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getValue.js +0 -1
  288. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashClear.js +0 -1
  289. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashDelete.js +0 -1
  290. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashGet.js +0 -1
  291. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashHas.js +0 -1
  292. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashSet.js +0 -1
  293. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKeyable.js +0 -1
  294. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isMasked.js +0 -1
  295. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheClear.js +0 -1
  296. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheDelete.js +0 -1
  297. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheGet.js +0 -1
  298. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheHas.js +0 -1
  299. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheSet.js +0 -1
  300. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheClear.js +0 -1
  301. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheDelete.js +0 -1
  302. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheGet.js +0 -1
  303. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheHas.js +0 -1
  304. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheSet.js +0 -1
  305. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_memoizeCapped.js +0 -1
  306. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_nativeCreate.js +0 -1
  307. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_objectToString.js +0 -1
  308. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_root.js +0 -1
  309. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_stringToPath.js +0 -1
  310. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toSource.js +0 -1
  311. package/build/ext/@ikas/fe-api-client/build/ext/lodash/eq.js +0 -1
  312. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isFunction.js +0 -1
  313. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObject.js +0 -1
  314. package/build/ext/@ikas/fe-api-client/build/ext/lodash/memoize.js +0 -1
  315. package/build/ext/@ikas/fe-api-client/build/utils/api.js +0 -1
  316. package/build/ext/axios/index.js +0 -1
  317. package/build/ext/axios/lib/adapters/xhr.js +0 -1
  318. package/build/ext/axios/lib/axios.js +0 -1
  319. package/build/ext/axios/lib/cancel/Cancel.js +0 -1
  320. package/build/ext/axios/lib/cancel/CancelToken.js +0 -1
  321. package/build/ext/axios/lib/cancel/isCancel.js +0 -1
  322. package/build/ext/axios/lib/core/Axios.js +0 -1
  323. package/build/ext/axios/lib/core/InterceptorManager.js +0 -1
  324. package/build/ext/axios/lib/core/buildFullPath.js +0 -1
  325. package/build/ext/axios/lib/core/createError.js +0 -1
  326. package/build/ext/axios/lib/core/dispatchRequest.js +0 -1
  327. package/build/ext/axios/lib/core/enhanceError.js +0 -1
  328. package/build/ext/axios/lib/core/mergeConfig.js +0 -1
  329. package/build/ext/axios/lib/core/settle.js +0 -1
  330. package/build/ext/axios/lib/core/transformData.js +0 -1
  331. package/build/ext/axios/lib/defaults/index.js +0 -1
  332. package/build/ext/axios/lib/defaults/transitional.js +0 -1
  333. package/build/ext/axios/lib/env/data.js +0 -1
  334. package/build/ext/axios/lib/helpers/bind.js +0 -1
  335. package/build/ext/axios/lib/helpers/buildURL.js +0 -1
  336. package/build/ext/axios/lib/helpers/combineURLs.js +0 -1
  337. package/build/ext/axios/lib/helpers/cookies.js +0 -1
  338. package/build/ext/axios/lib/helpers/isAbsoluteURL.js +0 -1
  339. package/build/ext/axios/lib/helpers/isAxiosError.js +0 -1
  340. package/build/ext/axios/lib/helpers/isURLSameOrigin.js +0 -1
  341. package/build/ext/axios/lib/helpers/normalizeHeaderName.js +0 -1
  342. package/build/ext/axios/lib/helpers/parseHeaders.js +0 -1
  343. package/build/ext/axios/lib/helpers/spread.js +0 -1
  344. package/build/ext/axios/lib/helpers/validator.js +0 -1
  345. package/build/ext/axios/lib/utils.js +0 -1
  346. package/build/ext/style-inject/dist/style-inject.es.js +0 -1
  347. package/build/ext/tslib/tslib.es6.js +0 -1
  348. package/build/hooks/index.d.ts +0 -1
  349. package/build/hooks/useStore.d.ts +0 -2
  350. package/build/hooks/useStore.js +0 -1
  351. package/build/index.d.ts +0 -7
  352. package/build/index.js +0 -1
  353. package/build/models/data/base/index.d.ts +0 -8
  354. package/build/models/data/base/index.js +0 -1
  355. package/build/models/data/blog/category/index.d.ts +0 -12
  356. package/build/models/data/blog/category/index.js +0 -1
  357. package/build/models/data/blog/content/index.d.ts +0 -6
  358. package/build/models/data/blog/content/index.js +0 -1
  359. package/build/models/data/blog/index.d.ts +0 -27
  360. package/build/models/data/blog/index.js +0 -1
  361. package/build/models/data/blog/meta-data/index.d.ts +0 -16
  362. package/build/models/data/blog/meta-data/index.js +0 -1
  363. package/build/models/data/blog/tag/index.d.ts +0 -6
  364. package/build/models/data/blog/tag/index.js +0 -1
  365. package/build/models/data/blog/writer/index.d.ts +0 -6
  366. package/build/models/data/blog/writer/index.js +0 -1
  367. package/build/models/data/brand/index.d.ts +0 -26
  368. package/build/models/data/brand/index.js +0 -1
  369. package/build/models/data/brand/translation/index.d.ts +0 -7
  370. package/build/models/data/brand/translation/index.js +0 -1
  371. package/build/models/data/campaign-offer/index.d.ts +0 -21
  372. package/build/models/data/campaign-offer/index.js +0 -1
  373. package/build/models/data/campaign-offer/product/index.d.ts +0 -25
  374. package/build/models/data/campaign-offer/product/index.js +0 -1
  375. package/build/models/data/cart/available-shipping-method/index.d.ts +0 -10
  376. package/build/models/data/cart/available-shipping-method/index.js +0 -1
  377. package/build/models/data/cart/campaign-offer/index.d.ts +0 -16
  378. package/build/models/data/cart/campaign-offer/index.js +0 -1
  379. package/build/models/data/cart/index.d.ts +0 -14
  380. package/build/models/data/cart/index.js +0 -1
  381. package/build/models/data/category/index.d.ts +0 -22
  382. package/build/models/data/category/index.js +0 -1
  383. package/build/models/data/category/path-item/index.d.ts +0 -14
  384. package/build/models/data/category/path-item/index.js +0 -1
  385. package/build/models/data/category/translations/index.d.ts +0 -7
  386. package/build/models/data/category/translations/index.js +0 -1
  387. package/build/models/data/checkout/country-settings-model.d.ts +0 -141
  388. package/build/models/data/checkout/country-settings-model.js +0 -1
  389. package/build/models/data/checkout/index.d.ts +0 -26
  390. package/build/models/data/checkout/index.js +0 -1
  391. package/build/models/data/checkout-settings/index.d.ts +0 -21
  392. package/build/models/data/checkout-settings/index.js +0 -1
  393. package/build/models/data/checkout-settings/option/index.d.ts +0 -6
  394. package/build/models/data/checkout-settings/option/index.js +0 -1
  395. package/build/models/data/checkout-settings/price/index.d.ts +0 -7
  396. package/build/models/data/checkout-settings/price/index.js +0 -1
  397. package/build/models/data/city/index.d.ts +0 -12
  398. package/build/models/data/city/index.js +0 -1
  399. package/build/models/data/contact-form/index.d.ts +0 -9
  400. package/build/models/data/contact-form/index.js +0 -1
  401. package/build/models/data/country/index.d.ts +0 -18
  402. package/build/models/data/country/index.js +0 -1
  403. package/build/models/data/country/location-translations/index.d.ts +0 -7
  404. package/build/models/data/customer/address/city/index.d.ts +0 -7
  405. package/build/models/data/customer/address/city/index.js +0 -1
  406. package/build/models/data/customer/address/country/index.d.ts +0 -9
  407. package/build/models/data/customer/address/country/index.js +0 -1
  408. package/build/models/data/customer/address/district/index.d.ts +0 -7
  409. package/build/models/data/customer/address/district/index.js +0 -1
  410. package/build/models/data/customer/address/ikas-localized-customer-address.d.ts +0 -50
  411. package/build/models/data/customer/address/ikas-localized-customer-address.js +0 -1
  412. package/build/models/data/customer/address/index.d.ts +0 -40
  413. package/build/models/data/customer/address/index.js +0 -1
  414. package/build/models/data/customer/address/state/index.d.ts +0 -7
  415. package/build/models/data/customer/address/state/index.js +0 -1
  416. package/build/models/data/customer/attribute/index.d.ts +0 -18
  417. package/build/models/data/customer/attribute/index.js +0 -1
  418. package/build/models/data/customer/attribute/option/index.d.ts +0 -9
  419. package/build/models/data/customer/attribute/option/index.js +0 -1
  420. package/build/models/data/customer/attribute/sales-channel/index.d.ts +0 -8
  421. package/build/models/data/customer/attribute/sales-channel/index.js +0 -1
  422. package/build/models/data/customer/attribute/translation/index.d.ts +0 -9
  423. package/build/models/data/customer/attribute/translation/index.js +0 -1
  424. package/build/models/data/customer/attribute/translation/option/index.d.ts +0 -6
  425. package/build/models/data/customer/attribute/translation/option/index.js +0 -1
  426. package/build/models/data/customer/attribute/value/index.d.ts +0 -11
  427. package/build/models/data/customer/attribute/value/index.js +0 -1
  428. package/build/models/data/customer/index.d.ts +0 -38
  429. package/build/models/data/customer/index.js +0 -1
  430. package/build/models/data/customer/review/index.d.ts +0 -22
  431. package/build/models/data/customer/review/index.js +0 -1
  432. package/build/models/data/customer/review/settings/index.d.ts +0 -6
  433. package/build/models/data/customer/review/settings/index.js +0 -1
  434. package/build/models/data/customer/review/summary/index.d.ts +0 -10
  435. package/build/models/data/customer/review/summary/index.js +0 -1
  436. package/build/models/data/customer/review/summary/star/index.d.ts +0 -6
  437. package/build/models/data/customer/review/summary/star/index.js +0 -1
  438. package/build/models/data/district/index.d.ts +0 -12
  439. package/build/models/data/district/index.js +0 -1
  440. package/build/models/data/favorite-product/index.d.ts +0 -7
  441. package/build/models/data/favorite-product/index.js +0 -1
  442. package/build/models/data/filter-category/index.d.ts +0 -12
  443. package/build/models/data/filter-category/index.js +0 -1
  444. package/build/models/data/html-meta-data/index.d.ts +0 -28
  445. package/build/models/data/html-meta-data/index.js +0 -1
  446. package/build/models/data/html-meta-data/translations/index.d.ts +0 -7
  447. package/build/models/data/html-meta-data/translations/index.js +0 -1
  448. package/build/models/data/image/index.d.ts +0 -10
  449. package/build/models/data/image/index.js +0 -1
  450. package/build/models/data/index.d.ts +0 -139
  451. package/build/models/data/last-viewed-product/index.d.ts +0 -6
  452. package/build/models/data/last-viewed-product/index.js +0 -1
  453. package/build/models/data/merchant-settings/index.d.ts +0 -12
  454. package/build/models/data/merchant-settings/index.js +0 -1
  455. package/build/models/data/order/address/city/index.d.ts +0 -7
  456. package/build/models/data/order/address/city/index.js +0 -1
  457. package/build/models/data/order/address/country/index.d.ts +0 -9
  458. package/build/models/data/order/address/country/index.js +0 -1
  459. package/build/models/data/order/address/district/index.d.ts +0 -7
  460. package/build/models/data/order/address/district/index.js +0 -1
  461. package/build/models/data/order/address/ikas-localized-order-address.d.ts +0 -32
  462. package/build/models/data/order/address/ikas-localized-order-address.js +0 -1
  463. package/build/models/data/order/address/index.d.ts +0 -37
  464. package/build/models/data/order/address/index.js +0 -1
  465. package/build/models/data/order/address/state/index.d.ts +0 -7
  466. package/build/models/data/order/address/state/index.js +0 -1
  467. package/build/models/data/order/adjustment/applied-order-line/index.d.ts +0 -8
  468. package/build/models/data/order/adjustment/applied-order-line/index.js +0 -1
  469. package/build/models/data/order/adjustment/index.d.ts +0 -15
  470. package/build/models/data/order/adjustment/index.js +0 -1
  471. package/build/models/data/order/customer/index.d.ts +0 -11
  472. package/build/models/data/order/customer/index.js +0 -1
  473. package/build/models/data/order/gift-line/index.d.ts +0 -6
  474. package/build/models/data/order/gift-line/index.js +0 -1
  475. package/build/models/data/order/index.d.ts +0 -69
  476. package/build/models/data/order/index.js +0 -1
  477. package/build/models/data/order/invoice/index.d.ts +0 -12
  478. package/build/models/data/order/invoice/index.js +0 -1
  479. package/build/models/data/order/line-item/base-unit/index.d.ts +0 -9
  480. package/build/models/data/order/line-item/base-unit/index.js +0 -1
  481. package/build/models/data/order/line-item/base-unit/unit-type/index.d.ts +0 -6
  482. package/build/models/data/order/line-item/base-unit/unit-type/index.js +0 -1
  483. package/build/models/data/order/line-item/discount/index.d.ts +0 -11
  484. package/build/models/data/order/line-item/discount/index.js +0 -1
  485. package/build/models/data/order/line-item/index.d.ts +0 -46
  486. package/build/models/data/order/line-item/index.js +0 -1
  487. package/build/models/data/order/line-item/option/index.d.ts +0 -10
  488. package/build/models/data/order/line-item/option/index.js +0 -1
  489. package/build/models/data/order/line-item/option/value/index.d.ts +0 -9
  490. package/build/models/data/order/line-item/option/value/index.js +0 -1
  491. package/build/models/data/order/line-item/variant/brand/index.d.ts +0 -6
  492. package/build/models/data/order/line-item/variant/brand/index.js +0 -1
  493. package/build/models/data/order/line-item/variant/category/index.d.ts +0 -12
  494. package/build/models/data/order/line-item/variant/category/index.js +0 -1
  495. package/build/models/data/order/line-item/variant/index.d.ts +0 -30
  496. package/build/models/data/order/line-item/variant/index.js +0 -1
  497. package/build/models/data/order/line-item/variant/price/index.d.ts +0 -10
  498. package/build/models/data/order/line-item/variant/price/index.js +0 -1
  499. package/build/models/data/order/line-item/variant/unit/index.d.ts +0 -6
  500. package/build/models/data/order/line-item/variant/unit/index.js +0 -1
  501. package/build/models/data/order/line-item/variant/value/index.d.ts +0 -11
  502. package/build/models/data/order/line-item/variant/value/index.js +0 -1
  503. package/build/models/data/order/package/index.d.ts +0 -16
  504. package/build/models/data/order/package/index.js +0 -1
  505. package/build/models/data/order/package/tracking-info/index.d.ts +0 -9
  506. package/build/models/data/order/package/tracking-info/index.js +0 -1
  507. package/build/models/data/order/payment-method/index.d.ts +0 -9
  508. package/build/models/data/order/payment-method/index.js +0 -1
  509. package/build/models/data/order/refund/index.d.ts +0 -7
  510. package/build/models/data/order/refund/index.js +0 -1
  511. package/build/models/data/order/refund/line-item/index.d.ts +0 -6
  512. package/build/models/data/order/refund/line-item/index.js +0 -1
  513. package/build/models/data/order/refund/settings/index.d.ts +0 -7
  514. package/build/models/data/order/refund/settings/index.js +0 -1
  515. package/build/models/data/order/shipping-line/index.d.ts +0 -12
  516. package/build/models/data/order/shipping-line/index.js +0 -1
  517. package/build/models/data/order/tax-line/index.d.ts +0 -6
  518. package/build/models/data/order/tax-line/index.js +0 -1
  519. package/build/models/data/order/transaction/error/index.d.ts +0 -7
  520. package/build/models/data/order/transaction/error/index.js +0 -1
  521. package/build/models/data/order/transaction/index.d.ts +0 -26
  522. package/build/models/data/order/transaction/index.js +0 -1
  523. package/build/models/data/order/transaction/payment-method-detail/index.d.ts +0 -13
  524. package/build/models/data/order/transaction/payment-method-detail/index.js +0 -1
  525. package/build/models/data/order/transaction/payment-method-detail/installment-price/index.d.ts +0 -9
  526. package/build/models/data/order/transaction/payment-method-detail/installment-price/index.js +0 -1
  527. package/build/models/data/payment-gateway/additional-price/index.d.ts +0 -9
  528. package/build/models/data/payment-gateway/additional-price/index.js +0 -1
  529. package/build/models/data/payment-gateway/index.d.ts +0 -31
  530. package/build/models/data/payment-gateway/index.js +0 -1
  531. package/build/models/data/payment-gateway/settings/index.d.ts +0 -10
  532. package/build/models/data/payment-gateway/settings/index.js +0 -1
  533. package/build/models/data/payment-gateway/translation/index.d.ts +0 -7
  534. package/build/models/data/payment-gateway/translation/index.js +0 -1
  535. package/build/models/data/product/attribute/index.d.ts +0 -15
  536. package/build/models/data/product/attribute/index.js +0 -1
  537. package/build/models/data/product/attribute/option/index.d.ts +0 -6
  538. package/build/models/data/product/attribute/option/index.js +0 -1
  539. package/build/models/data/product/attribute/table-cell/index.d.ts +0 -6
  540. package/build/models/data/product/attribute/table-cell/index.js +0 -1
  541. package/build/models/data/product/attribute/table-template/index.d.ts +0 -7
  542. package/build/models/data/product/attribute/table-template/index.js +0 -1
  543. package/build/models/data/product/attribute/translation/index.d.ts +0 -13
  544. package/build/models/data/product/attribute/translation/index.js +0 -1
  545. package/build/models/data/product/attribute-value/index.d.ts +0 -28
  546. package/build/models/data/product/attribute-value/index.js +0 -1
  547. package/build/models/data/product/back-in-stock-settings/index.d.ts +0 -5
  548. package/build/models/data/product/back-in-stock-settings/index.js +0 -1
  549. package/build/models/data/product/base-unit/index.d.ts +0 -12
  550. package/build/models/data/product/base-unit/index.js +0 -1
  551. package/build/models/data/product/campaign/data/index.d.ts +0 -27
  552. package/build/models/data/product/campaign/data/index.js +0 -1
  553. package/build/models/data/product/campaign/filter/index.d.ts +0 -7
  554. package/build/models/data/product/campaign/filter/index.js +0 -1
  555. package/build/models/data/product/campaign/index.d.ts +0 -7
  556. package/build/models/data/product/campaign/index.js +0 -1
  557. package/build/models/data/product/campaign/product-buyx-then-gety/index.d.ts +0 -20
  558. package/build/models/data/product/campaign/product-buyx-then-gety/index.js +0 -1
  559. package/build/models/data/product/campaign/product-campaign-date-range-field/index.d.ts +0 -6
  560. package/build/models/data/product/campaign/product-campaign-date-range-field/index.js +0 -1
  561. package/build/models/data/product/campaign/product-fixed-discount/index.d.ts +0 -14
  562. package/build/models/data/product/campaign/product-fixed-discount/index.js +0 -1
  563. package/build/models/data/product/filter/index.d.ts +0 -82
  564. package/build/models/data/product/filter/index.js +0 -1
  565. package/build/models/data/product/image/index.d.ts +0 -10
  566. package/build/models/data/product/image/index.js +0 -1
  567. package/build/models/data/product/index.d.ts +0 -76
  568. package/build/models/data/product/index.js +0 -1
  569. package/build/models/data/product/option-set/index.d.ts +0 -29
  570. package/build/models/data/product/option-set/index.js +0 -1
  571. package/build/models/data/product/option-set/option/index.d.ts +0 -70
  572. package/build/models/data/product/option-set/option/index.js +0 -1
  573. package/build/models/data/product/star/index.d.ts +0 -6
  574. package/build/models/data/product/star/index.js +0 -1
  575. package/build/models/data/product/stock-location/index.d.ts +0 -8
  576. package/build/models/data/product/stock-location/index.js +0 -1
  577. package/build/models/data/product/tag/index.d.ts +0 -6
  578. package/build/models/data/product/tag/index.js +0 -1
  579. package/build/models/data/product/variant/index.d.ts +0 -31
  580. package/build/models/data/product/variant/index.js +0 -1
  581. package/build/models/data/product/variant/price/index.d.ts +0 -19
  582. package/build/models/data/product/variant/price/index.js +0 -1
  583. package/build/models/data/product/variant/unit/index.d.ts +0 -6
  584. package/build/models/data/product/variant/unit/index.js +0 -1
  585. package/build/models/data/product/variant-type/index.d.ts +0 -8
  586. package/build/models/data/product/variant-type/index.js +0 -1
  587. package/build/models/data/raffle/index.d.ts +0 -63
  588. package/build/models/data/raffle/index.js +0 -1
  589. package/build/models/data/sales-channel/index.d.ts +0 -19
  590. package/build/models/data/sales-channel/index.js +0 -1
  591. package/build/models/data/state/index.d.ts +0 -11
  592. package/build/models/data/state/index.js +0 -1
  593. package/build/models/data/state/location-translations/index.d.ts +0 -7
  594. package/build/models/data/stock-location/address/city/index.d.ts +0 -7
  595. package/build/models/data/stock-location/address/city/index.js +0 -1
  596. package/build/models/data/stock-location/address/country/index.d.ts +0 -7
  597. package/build/models/data/stock-location/address/country/index.js +0 -1
  598. package/build/models/data/stock-location/address/district/index.d.ts +0 -7
  599. package/build/models/data/stock-location/address/district/index.js +0 -1
  600. package/build/models/data/stock-location/address/index.d.ts +0 -15
  601. package/build/models/data/stock-location/address/index.js +0 -1
  602. package/build/models/data/stock-location/address/state/index.d.ts +0 -7
  603. package/build/models/data/stock-location/address/state/index.js +0 -1
  604. package/build/models/data/stock-location/available/index.d.ts +0 -10
  605. package/build/models/data/stock-location/available/index.js +0 -1
  606. package/build/models/data/stock-location/index.d.ts +0 -14
  607. package/build/models/data/stock-location/index.js +0 -1
  608. package/build/models/data/storefront/domain/index.d.ts +0 -9
  609. package/build/models/data/storefront/domain/index.js +0 -1
  610. package/build/models/data/storefront/index.d.ts +0 -30
  611. package/build/models/data/storefront/index.js +0 -1
  612. package/build/models/data/storefront/localization/index.d.ts +0 -8
  613. package/build/models/data/storefront/localization/index.js +0 -1
  614. package/build/models/data/storefront/meta-templates/index.d.ts +0 -8
  615. package/build/models/data/storefront/meta-templates/index.js +0 -1
  616. package/build/models/data/storefront/routing/dynamic-currency/index.d.ts +0 -6
  617. package/build/models/data/storefront/routing/dynamic-currency/index.js +0 -1
  618. package/build/models/data/storefront/routing/index.d.ts +0 -14
  619. package/build/models/data/storefront/routing/index.js +0 -1
  620. package/build/models/data/storefront/theme/index.d.ts +0 -10
  621. package/build/models/data/storefront/theme/index.js +0 -1
  622. package/build/models/data/storefront/theme-localization/index.d.ts +0 -15
  623. package/build/models/data/storefront/theme-localization/index.js +0 -1
  624. package/build/models/data/theme-json/component/index.d.ts +0 -23
  625. package/build/models/data/theme-json/component/index.js +0 -1
  626. package/build/models/data/theme-json/component/prop/index.d.ts +0 -26
  627. package/build/models/data/theme-json/component/prop/index.js +0 -1
  628. package/build/models/data/theme-json/custom-data/index.d.ts +0 -43
  629. package/build/models/data/theme-json/custom-data/index.js +0 -1
  630. package/build/models/data/theme-json/index.d.ts +0 -16
  631. package/build/models/data/theme-json/index.js +0 -1
  632. package/build/models/data/theme-json/page/component/index.d.ts +0 -7
  633. package/build/models/data/theme-json/page/component/index.js +0 -1
  634. package/build/models/data/theme-json/page/index.d.ts +0 -21
  635. package/build/models/data/theme-json/page/index.js +0 -1
  636. package/build/models/data/theme-json/settings/color/index.d.ts +0 -15
  637. package/build/models/data/theme-json/settings/color/index.js +0 -1
  638. package/build/models/data/theme-json/settings/favicon/index.d.ts +0 -5
  639. package/build/models/data/theme-json/settings/favicon/index.js +0 -1
  640. package/build/models/data/theme-json/settings/font-family/index.d.ts +0 -6
  641. package/build/models/data/theme-json/settings/font-family/index.js +0 -1
  642. package/build/models/data/theme-json/settings/index.d.ts +0 -13
  643. package/build/models/data/theme-json/settings/index.js +0 -1
  644. package/build/models/data/variant-type/index.d.ts +0 -13
  645. package/build/models/data/variant-type/index.js +0 -1
  646. package/build/models/data/variant-type/variant-value/index.d.ts +0 -12
  647. package/build/models/data/variant-type/variant-value/index.js +0 -1
  648. package/build/models/index.d.ts +0 -2
  649. package/build/models/ui/blog-category-list/index.d.ts +0 -51
  650. package/build/models/ui/blog-category-list/index.js +0 -1
  651. package/build/models/ui/blog-list/index.d.ts +0 -55
  652. package/build/models/ui/blog-list/index.js +0 -1
  653. package/build/models/ui/brand-list/index.d.ts +0 -61
  654. package/build/models/ui/brand-list/index.js +0 -1
  655. package/build/models/ui/category-list/index.d.ts +0 -61
  656. package/build/models/ui/category-list/index.js +0 -1
  657. package/build/models/ui/component-renderer/index.d.ts +0 -7
  658. package/build/models/ui/component-renderer/index.js +0 -1
  659. package/build/models/ui/customer-review-list/index.d.ts +0 -43
  660. package/build/models/ui/customer-review-list/index.js +0 -1
  661. package/build/models/ui/customer-review-summary-list/index.d.ts +0 -43
  662. package/build/models/ui/customer-review-summary-list/index.js +0 -1
  663. package/build/models/ui/index.d.ts +0 -27
  664. package/build/models/ui/navigation-link/index.d.ts +0 -8
  665. package/build/models/ui/navigation-link/index.js +0 -1
  666. package/build/models/ui/product-attribute-detail/index.d.ts +0 -8
  667. package/build/models/ui/product-attribute-detail/index.js +0 -1
  668. package/build/models/ui/product-attribute-list/index.d.ts +0 -8
  669. package/build/models/ui/product-attribute-list/index.js +0 -1
  670. package/build/models/ui/product-list/index.d.ts +0 -143
  671. package/build/models/ui/product-list/index.js +0 -1
  672. package/build/models/ui/raffle-list/index.d.ts +0 -53
  673. package/build/models/ui/raffle-list/index.js +0 -1
  674. package/build/models/ui/validator/form/account-info.d.ts +0 -39
  675. package/build/models/ui/validator/form/account-info.js +0 -1
  676. package/build/models/ui/validator/form/address.d.ts +0 -75
  677. package/build/models/ui/validator/form/address.js +0 -1
  678. package/build/models/ui/validator/form/contact-form.d.ts +0 -42
  679. package/build/models/ui/validator/form/contact-form.js +0 -1
  680. package/build/models/ui/validator/form/customer-review.d.ts +0 -34
  681. package/build/models/ui/validator/form/customer-review.js +0 -1
  682. package/build/models/ui/validator/form/forgot-password.d.ts +0 -26
  683. package/build/models/ui/validator/form/forgot-password.js +0 -1
  684. package/build/models/ui/validator/form/ikas-address.d.ts +0 -145
  685. package/build/models/ui/validator/form/ikas-address.js +0 -1
  686. package/build/models/ui/validator/form/login.d.ts +0 -32
  687. package/build/models/ui/validator/form/login.js +0 -1
  688. package/build/models/ui/validator/form/raffle-form.d.ts +0 -62
  689. package/build/models/ui/validator/form/raffle-form.js +0 -1
  690. package/build/models/ui/validator/form/recover-password.d.ts +0 -33
  691. package/build/models/ui/validator/form/recover-password.js +0 -1
  692. package/build/models/ui/validator/form/register.d.ts +0 -73
  693. package/build/models/ui/validator/form/register.js +0 -1
  694. package/build/models/ui/validator/index.d.ts +0 -27
  695. package/build/models/ui/validator/index.js +0 -1
  696. package/build/models/ui/validator/rules/index.d.ts +0 -101
  697. package/build/models/ui/validator/rules/index.js +0 -1
  698. package/build/page-data-init/index.d.ts +0 -41
  699. package/build/page-data-init/index.js +0 -1
  700. package/build/pages/404.d.ts +0 -4
  701. package/build/pages/404.js +0 -1
  702. package/build/pages/[slug]/index.d.ts +0 -4
  703. package/build/pages/_slug_/index.js +0 -1
  704. package/build/pages/account/addresses.d.ts +0 -4
  705. package/build/pages/account/addresses.js +0 -1
  706. package/build/pages/account/favorite-products.d.ts +0 -4
  707. package/build/pages/account/favorite-products.js +0 -1
  708. package/build/pages/account/forgot-password.d.ts +0 -4
  709. package/build/pages/account/forgot-password.js +0 -1
  710. package/build/pages/account/index.d.ts +0 -4
  711. package/build/pages/account/index.js +0 -1
  712. package/build/pages/account/login.d.ts +0 -4
  713. package/build/pages/account/login.js +0 -1
  714. package/build/pages/account/orders/[id].d.ts +0 -4
  715. package/build/pages/account/orders/_id_.js +0 -1
  716. package/build/pages/account/orders/index.d.ts +0 -4
  717. package/build/pages/account/orders/index.js +0 -1
  718. package/build/pages/account/raffles.d.ts +0 -4
  719. package/build/pages/account/raffles.js +0 -1
  720. package/build/pages/account/recover-password.d.ts +0 -4
  721. package/build/pages/account/recover-password.js +0 -1
  722. package/build/pages/account/register.d.ts +0 -4
  723. package/build/pages/account/register.js +0 -1
  724. package/build/pages/blog/[slug].d.ts +0 -4
  725. package/build/pages/blog/_slug_.js +0 -1
  726. package/build/pages/blog/index.d.ts +0 -4
  727. package/build/pages/blog/index.js +0 -1
  728. package/build/pages/cart.d.ts +0 -4
  729. package/build/pages/cart.js +0 -1
  730. package/build/pages/checkout.d.ts +0 -18
  731. package/build/pages/checkout.js +0 -1
  732. package/build/pages/editor.d.ts +0 -10
  733. package/build/pages/editor.js +0 -1
  734. package/build/pages/home.d.ts +0 -4
  735. package/build/pages/home.js +0 -1
  736. package/build/pages/index.d.ts +0 -22
  737. package/build/pages/pages/[slug].d.ts +0 -4
  738. package/build/pages/pages/_slug_.js +0 -1
  739. package/build/pages/raffle/[slug].d.ts +0 -4
  740. package/build/pages/raffle/_slug_.js +0 -1
  741. package/build/pages/raffle/index.d.ts +0 -4
  742. package/build/pages/raffle/index.js +0 -1
  743. package/build/pages/search.d.ts +0 -4
  744. package/build/pages/search.js +0 -1
  745. package/build/store/base.d.ts +0 -40
  746. package/build/store/base.js +0 -1
  747. package/build/store/blog/index.d.ts +0 -26
  748. package/build/store/blog/index.js +0 -1
  749. package/build/store/brand/index.d.ts +0 -12
  750. package/build/store/brand/index.js +0 -1
  751. package/build/store/cart/api.d.ts +0 -10
  752. package/build/store/cart/api.js +0 -1
  753. package/build/store/cart/index.d.ts +0 -40
  754. package/build/store/cart/index.js +0 -1
  755. package/build/store/category/index.d.ts +0 -12
  756. package/build/store/category/index.js +0 -1
  757. package/build/store/checkout/index.d.ts +0 -16
  758. package/build/store/checkout/index.js +0 -1
  759. package/build/store/customer/api.d.ts +0 -54
  760. package/build/store/customer/api.js +0 -1
  761. package/build/store/customer/index.d.ts +0 -84
  762. package/build/store/customer/index.js +0 -1
  763. package/build/store/html-meta-data/index.d.ts +0 -6
  764. package/build/store/html-meta-data/index.js +0 -1
  765. package/build/store/index.d.ts +0 -4
  766. package/build/store/location/index.d.ts +0 -9
  767. package/build/store/location/index.js +0 -1
  768. package/build/store/merchant/index.d.ts +0 -6
  769. package/build/store/product/index.d.ts +0 -47
  770. package/build/store/product/index.js +0 -1
  771. package/build/store/raffle/index.d.ts +0 -15
  772. package/build/store/raffle/index.js +0 -1
  773. package/build/store/storefront/index.d.ts +0 -5
  774. package/build/utils/constants.d.ts +0 -3
  775. package/build/utils/constants.js +0 -1
  776. package/build/utils/currency.d.ts +0 -7
  777. package/build/utils/currency.js +0 -1
  778. package/build/utils/google-fonts.d.ts +0 -2
  779. package/build/utils/google-fonts.js +0 -1
  780. package/build/utils/helper.d.ts +0 -5
  781. package/build/utils/helper.js +0 -1
  782. package/build/utils/i18n.d.ts +0 -11
  783. package/build/utils/i18n.js +0 -1
  784. package/build/utils/index.d.ts +0 -3
@@ -1,141 +0,0 @@
1
- import { IkasCheckoutRequirement, IkasCheckoutSettings, IkasOrderAddress } from "@ikas/storefront-models";
2
- export interface CountrySettingsModelConstructorData {
3
- checkoutSettings?: IkasCheckoutSettings;
4
- }
5
- export default class CountrySettingsModel {
6
- private _initialized;
7
- private _addressFormCountrySettings;
8
- private _addressFormCountryLabels;
9
- private checkoutSettings?;
10
- constructor(data?: CountrySettingsModelConstructorData);
11
- init(): Promise<void>;
12
- get initialized(): boolean;
13
- waitUntilInitialized(): Promise<unknown>;
14
- getCountrySettings(country: string): IkasAddressFormCountrySettings;
15
- getCountryLabels(country: string): IkasAddressFormCountryLabels;
16
- getFieldSettings(country: string): {
17
- firstName: AddressFormField;
18
- lastName: AddressFormField;
19
- identityNumber: AddressFormField;
20
- phone: AddressFormField;
21
- addressLine1: AddressFormField;
22
- addressLine2: AddressFormField;
23
- postalCode: AddressFormField;
24
- country: AddressFormField;
25
- state: AddressFormField;
26
- city: AddressFormField;
27
- district: AddressFormField;
28
- company?: AddressFormField | undefined;
29
- taxOffice?: AddressFormField | undefined;
30
- taxNumber?: AddressFormField | undefined;
31
- };
32
- getFieldLabels(country: string): IkasAddressFormLabels | undefined;
33
- getAddressFormatView(addressFormat: string): AddressFormItem[][];
34
- getBillingFormatView(billingFormat: string): BillingAddressFormItem[][];
35
- getAddressFormat(country: string): AddressFormItem[][];
36
- getBillingFormat(country: string): BillingAddressFormItem[][];
37
- getAddressFormatIgnoreCountry(country: string): AddressFormItem[][];
38
- getValidationResult(address: IkasOrderAddress): {
39
- firstName: ErrorType;
40
- lastName: ErrorType;
41
- addressLine1: ErrorType;
42
- addressLine2: ErrorType;
43
- country: ErrorType;
44
- state: ErrorType;
45
- city: ErrorType;
46
- district: ErrorType;
47
- phone: ErrorType;
48
- postalCode: ErrorType;
49
- identityNumber: ErrorType;
50
- } | undefined;
51
- isValidAddress(address: IkasOrderAddress): boolean;
52
- isValidField(field: string, fieldSettings: AddressFormField | undefined, checkoutRequirement?: IkasCheckoutRequirement | null): ErrorType;
53
- isFreeTextCity(country: string): boolean;
54
- isFreeTextDistrict(country: string): boolean;
55
- getAddressFormCountrySettings(): Promise<void>;
56
- getAddressFormCountryLabels(): Promise<void>;
57
- validatePhoneNumber(str: string): boolean;
58
- validateByRegexString(str: string, regexStr: string): boolean;
59
- }
60
- export declare type ErrorType = {
61
- hasError: boolean;
62
- isInvalid: boolean;
63
- isEmpty: boolean;
64
- };
65
- export declare type IkasAddressFormCountrySettings = {
66
- id: string;
67
- addressFormat: string;
68
- billingFormat: string;
69
- code: string;
70
- iso2: string;
71
- iso3: string;
72
- phoneCode: string;
73
- fields: IkasAddressFormFields;
74
- };
75
- export declare type IkasAddressFormFields = {
76
- firstName?: AddressFormField;
77
- lastName?: AddressFormField;
78
- identityNumber?: AddressFormField;
79
- addressLine1?: AddressFormField;
80
- addressLine2?: AddressFormField;
81
- postalCode?: AddressFormField;
82
- country?: AddressFormField;
83
- state?: AddressFormField;
84
- city?: AddressFormField;
85
- district?: AddressFormField;
86
- phone?: AddressFormField;
87
- company?: AddressFormField;
88
- taxOffice?: AddressFormField;
89
- taxNumber?: AddressFormField;
90
- };
91
- export declare type AddressFormField = {
92
- required?: boolean;
93
- type?: IkasAddressFormInputType;
94
- regex?: string;
95
- };
96
- export declare enum IkasAddressFormInputType {
97
- TEXT = "text",
98
- DROPDOWN = "dropdown"
99
- }
100
- export declare type IkasAddressFormCountryLabels = {
101
- name: string;
102
- fields: IkasAddressFormLabels;
103
- };
104
- export declare type IkasAddressFormLabels = {
105
- firstName?: AddressFormLabel;
106
- lastName?: AddressFormLabel;
107
- identityNumber?: AddressFormLabel;
108
- addressLine1?: AddressFormLabel;
109
- addressLine2?: AddressFormLabel;
110
- postalCode?: AddressFormLabel;
111
- country?: AddressFormLabel;
112
- state?: AddressFormLabel;
113
- city?: AddressFormLabel;
114
- district?: AddressFormLabel;
115
- phone?: AddressFormLabel;
116
- company?: AddressFormLabel;
117
- taxOffice?: AddressFormLabel;
118
- taxNumber?: AddressFormLabel;
119
- };
120
- export declare type AddressFormLabel = {
121
- placeholder?: string;
122
- label?: string;
123
- };
124
- export declare enum AddressFormItem {
125
- FIRSTNAME = "firstName",
126
- LASTNAME = "lastName",
127
- IDENTITY_NUMBER = "identityNumber",
128
- ADDRESS_LINE_1 = "addressLine1",
129
- ADDRESS_LINE_2 = "addressLine2",
130
- POSTAL_CODE = "postalCode",
131
- COUNTRY = "country",
132
- STATE = "state",
133
- CITY = "city",
134
- DISTRICT = "district",
135
- PHONE = "phone"
136
- }
137
- export declare enum BillingAddressFormItem {
138
- COMPANY = "company",
139
- TAX_OFFICE = "taxOffice",
140
- TAX_NUMBER = "taxNumber"
141
- }
@@ -1 +0,0 @@
1
- import{__awaiter as t,__assign as e,__generator as i}from'./../../../ext/tslib/tslib.es6.js';import{makeAutoObservable as r}from"mobx";import{IkasStorefrontConfig as n}from"@ikas/storefront-config";import{IkasCheckoutRequirement as s}from"@ikas/storefront-models";import o from"lodash/difference";import{COUNTRY_FORMS_LOCALES as d}from"../../../utils/constants.js";var u,a,l,c=function(){function l(t){void 0===t&&(t={}),this._initialized=!1,this.checkoutSettings=t.checkoutSettings,this.init(),r(this)}return l.prototype.init=function(){return t(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this.getAddressFormCountrySettings()];case 1:return t.sent(),[4,this.getAddressFormCountryLabels()];case 2:return t.sent(),this._initialized=!0,[2]}}))}))},Object.defineProperty(l.prototype,"initialized",{get:function(){return this._initialized},enumerable:!1,configurable:!0}),l.prototype.waitUntilInitialized=function(){var t=this;return new Promise((function(e){var i=setInterval((function(){t.initialized&&(clearInterval(i),e(null))}),100)}))},l.prototype.getCountrySettings=function(t){return this._addressFormCountrySettings.countrySettings[t]},l.prototype.getCountryLabels=function(t){return this._addressFormCountryLabels.countryLabels[t]},l.prototype.getFieldSettings=function(t){var i,r,n,o,d,u,a,l,c=this.getCountrySettings(t),h=e(e({},c.fields),{firstName:{required:!0},lastName:{required:!0},identityNumber:e(e({},c.fields.identityNumber),{required:(null===(i=c.fields.identityNumber)||void 0===i?void 0:i.required)||!1}),phone:e(e({},c.fields.phone),{required:(null===(r=c.fields.phone)||void 0===r?void 0:r.required)||!1}),addressLine1:{required:!0},addressLine2:e(e({},c.fields.addressLine2),{required:(null===(n=c.fields.addressLine2)||void 0===n?void 0:n.required)||!1}),postalCode:e(e({},c.fields.postalCode),{required:(null===(o=c.fields.postalCode)||void 0===o?void 0:o.required)||!1}),country:e(e({},c.fields.country),{required:(null===(d=c.fields.country)||void 0===d?void 0:d.required)||!1}),state:e(e({},c.fields.state),{required:(null===(u=c.fields.state)||void 0===u?void 0:u.required)||!1}),city:e(e({},c.fields.city),{required:(null===(a=c.fields.city)||void 0===a?void 0:a.required)||!1}),district:e(e({},c.fields.district),{required:(null===(l=c.fields.district)||void 0===l?void 0:l.required)||!1})});return this.checkoutSettings&&(this.checkoutSettings.phoneRequirement&&(h.phone.required=this.checkoutSettings.phoneRequirement===s.MANDATORY),this.checkoutSettings.postalCodeRequirement&&(h.postalCode.required=this.checkoutSettings.postalCodeRequirement===s.MANDATORY),this.checkoutSettings.identityNumberRequirement&&(h.identityNumber.required=this.checkoutSettings.identityNumberRequirement===s.MANDATORY)),h},l.prototype.getFieldLabels=function(t){var e=this.getCountryLabels(t);if(e)return e.fields},l.prototype.getAddressFormatView=function(t){return this._addressFormCountrySettings.addressFormats[t]},l.prototype.getBillingFormatView=function(t){return this._addressFormCountrySettings.billingFormats[t]},l.prototype.getAddressFormat=function(t){var e=this.getCountrySettings(t),i=this.getAddressFormatView(e.addressFormat);if(this.checkoutSettings&&i){var r=[];return this.checkoutSettings.identityNumberRequirement===s.INVISIBLE&&r.push(a.IDENTITY_NUMBER),this.checkoutSettings.postalCodeRequirement===s.INVISIBLE&&r.push(a.POSTAL_CODE),this.checkoutSettings.phoneRequirement===s.INVISIBLE&&r.push(a.PHONE),i.map((function(t){return o(t,r)}))||[]}return i},l.prototype.getBillingFormat=function(t){var e=this.getCountrySettings(t);return this.getBillingFormatView(e.billingFormat)},l.prototype.getAddressFormatIgnoreCountry=function(t){return this.getAddressFormat(t).map((function(t){return o(t,[a.COUNTRY])}))},l.prototype.getValidationResult=function(t){var e,i,r,n,o,d,u,a,l=this.getFieldSettings((null===(e=t.country)||void 0===e?void 0:e.iso2)||"TR");if(l){var c=!!t.phone&&t.phone.length>=10&&this.validatePhoneNumber(t.phone);return{firstName:this.isValidField(t.firstName,l.firstName),lastName:this.isValidField(t.lastName,l.lastName),addressLine1:this.isValidField(t.addressLine1,l.addressLine1),addressLine2:this.isValidField(t.addressLine2||"",l.addressLine2),country:this.isValidField((null===(i=t.country)||void 0===i?void 0:i.name)||"",l.country),state:this.isValidField((null===(r=t.state)||void 0===r?void 0:r.name)||"",l.state),city:this.isValidField((null===(n=t.city)||void 0===n?void 0:n.name)||"",l.city),district:this.isValidField((null===(o=t.district)||void 0===o?void 0:o.name)||"",l.district),phone:(null===(d=l.phone)||void 0===d?void 0:d.regex)?this.isValidField(t.phone||"",l.phone,this.checkoutSettings?this.checkoutSettings.phoneRequirement:void 0):(null===(u=this.checkoutSettings)||void 0===u?void 0:u.phoneRequirement)===s.MANDATORY||(null===(a=this.checkoutSettings)||void 0===a?void 0:a.phoneRequirement)===s.OPTIONAL&&t.phone?{hasError:!c,isInvalid:!c,isEmpty:!t.phone}:{hasError:!1,isInvalid:!1,isEmpty:!1},postalCode:this.isValidField(t.postalCode||"",l.postalCode,this.checkoutSettings?this.checkoutSettings.postalCodeRequirement:void 0),identityNumber:this.isValidField(t.identityNumber||"",l.identityNumber,this.checkoutSettings?this.checkoutSettings.identityNumberRequirement:void 0)}}},l.prototype.isValidAddress=function(t){var e=this.getValidationResult(t);return!!e&&Object.values(e).every((function(t){return!t.hasError}))},l.prototype.isValidField=function(t,e,i){var r=!1,n=!1,o=i?i===s.MANDATORY:(null==e?void 0:e.required)||!1,d=!!(null==e?void 0:e.regex)||!1;return o&&!d&&(n=!t),o&&d&&(n=!t,r=!this.validateByRegexString(t,e.regex)),!o&&d&&t&&(r=!this.validateByRegexString(t,e.regex)),{hasError:r||n,isInvalid:r,isEmpty:n}},l.prototype.isFreeTextCity=function(t){var e=this.getFieldSettings(t);return e&&e.city&&e.city.type===u.TEXT},l.prototype.isFreeTextDistrict=function(t){var e=this.getFieldSettings(t);return e&&e.district&&e.district.type===u.TEXT},l.prototype.getAddressFormCountrySettings=function(){return t(this,void 0,void 0,(function(){var t;return i(this,(function(e){switch(e.label){case 0:return"https://cdn.myikas.com/sf/static/location/settings.json",[4,fetch("https://cdn.myikas.com/sf/static/location/settings.json")];case 1:return[4,e.sent().json()];case 2:return t=e.sent(),this._addressFormCountrySettings=t,[2]}}))}))},l.prototype.getAddressFormCountryLabels=function(){return t(this,void 0,void 0,(function(){var t,e,r;return i(this,(function(i){switch(i.label){case 0:return t=n.getCurrentLocale(),d.find((function(e){return e===t}))||(t="en"),e="https://cdn.myikas.com/sf/static/location/".concat(t,".json"),[4,fetch(e)];case 1:return[4,i.sent().json()];case 2:return r=i.sent(),this._addressFormCountryLabels=r,[2]}}))}))},l.prototype.validatePhoneNumber=function(t){return/^\+?\d+$/.test(t)},l.prototype.validateByRegexString=function(t,e){return new RegExp(e).test(t)},l}();!function(t){t.TEXT="text",t.DROPDOWN="dropdown"}(u||(u={})),function(t){t.FIRSTNAME="firstName",t.LASTNAME="lastName",t.IDENTITY_NUMBER="identityNumber",t.ADDRESS_LINE_1="addressLine1",t.ADDRESS_LINE_2="addressLine2",t.POSTAL_CODE="postalCode",t.COUNTRY="country",t.STATE="state",t.CITY="city",t.DISTRICT="district",t.PHONE="phone"}(a||(a={})),function(t){t.COMPANY="company",t.TAX_OFFICE="taxOffice",t.TAX_NUMBER="taxNumber"}(l||(l={}));export{a as AddressFormItem,l as BillingAddressFormItem,u as IkasAddressFormInputType,c as default};
@@ -1,26 +0,0 @@
1
- import { IkasCart } from "../cart";
2
- import { IkasCheckout as ICheckout } from "@ikas/storefront-models";
3
- import { IkasPaymentGateway } from "../payment-gateway";
4
- import IkasLocalizedOrderAddress from "../order/address/ikas-localized-order-address";
5
- import CountrySettingsModel from "./country-settings-model";
6
- declare type IkasCheckoutConstructorData = {
7
- appliedCouponCode?: string | null;
8
- selectedPaymentGateway?: IkasPaymentGateway | null;
9
- masterPassPaymentGateway?: IkasPaymentGateway | null;
10
- } & ICheckout;
11
- export declare class IkasCheckout extends IkasCart implements ICheckout {
12
- appliedCouponCode?: string | null;
13
- selectedPaymentGateway?: IkasPaymentGateway | null;
14
- masterPassPaymentGateway?: IkasPaymentGateway | null;
15
- billingAddress: IkasLocalizedOrderAddress | null;
16
- shippingAddress: IkasLocalizedOrderAddress | null;
17
- constructor(data: Partial<IkasCheckoutConstructorData>, countrySettings?: CountrySettingsModel);
18
- get isComplete(): boolean;
19
- get $totalFinalPrice(): number;
20
- get $totalFinalPriceTaxModifier(): number;
21
- get $totalTax(): number;
22
- get $formattedTotalTax(): string;
23
- get $formattedTotalFinalPrice(): string;
24
- get dateStr(): string;
25
- }
26
- export {};
@@ -1 +0,0 @@
1
- import{__extends as e,__assign as t}from'./../../../ext/tslib/tslib.es6.js';import{IkasCart as r}from"../cart/index.js";import{IkasCheckoutFunctions as i,IkasOrderFunctions as a}from"@ikas/storefront-model-functions";import{formatCurrency as n}from"../../../utils/currency.js";import{makeObservable as o,observable as l,computed as s}from"mobx";import{formatDate as d}from"../../../utils/helper.js";import c from"../order/address/ikas-localized-order-address.js";var u=function(r){function u(e,i){var a=r.call(this,e,!0)||this;return a.appliedCouponCode=null,a.selectedPaymentGateway=null,a.masterPassPaymentGateway=null,a.billingAddress=null,a.shippingAddress=null,a.appliedCouponCode=e.couponCode,a.selectedPaymentGateway=e.selectedPaymentGateway,a.masterPassPaymentGateway=e.masterPassPaymentGateway,a.billingAddress=e.billingAddress?new c(t({countrySettings:i},e.billingAddress)):null,a.shippingAddress=e.shippingAddress?new c(t({countrySettings:i},e.shippingAddress)):null,o(a,{appliedCouponCode:l,selectedPaymentGateway:l,masterPassPaymentGateway:l,billingAddress:l,shippingAddress:l,isComplete:s,$totalFinalPrice:s,$totalFinalPriceTaxModifier:s,$totalTax:s,$formattedTotalTax:s,$formattedTotalFinalPrice:s}),a}return e(u,r),Object.defineProperty(u.prototype,"isComplete",{get:function(){return i.isComplete(this)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"$totalFinalPrice",{get:function(){return this.selectedPaymentGateway?i.getTotalFinalPrice(this,this.selectedPaymentGateway):this.totalFinalPrice},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"$totalFinalPriceTaxModifier",{get:function(){return this.$totalFinalPrice/this.totalFinalPrice},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"$totalTax",{get:function(){return a.getTotalTax(this)*this.$totalFinalPriceTaxModifier},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"$formattedTotalTax",{get:function(){return n(this.$totalTax,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"$formattedTotalFinalPrice",{get:function(){return n(this.$totalFinalPrice,this.currencyCode,this.currencySymbol)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dateStr",{get:function(){var e=new Date;return e.setTime(this.updatedAt),d(e)},enumerable:!1,configurable:!0}),u}(r);export{u as IkasCheckout};
@@ -1,21 +0,0 @@
1
- import { IkasCheckoutSettings as ICheckoutSettings, IkasCheckoutRequirement } from "@ikas/storefront-models";
2
- import { IkasBaseModel } from "../base";
3
- import { IkasCheckoutOption } from "./option";
4
- import { IkasCheckoutSettingsPrice } from "./price";
5
- export declare class IkasCheckoutSettings extends IkasBaseModel implements ICheckoutSettings {
6
- giftPackagePriceList: IkasCheckoutSettingsPrice[] | null;
7
- identityNumberRequirement: IkasCheckoutRequirement | null;
8
- isAccountRequired: boolean;
9
- isGiftPackageEnabled: boolean | null;
10
- isQuickRegistrationEnabled: boolean | null;
11
- isShowPostalCode: boolean | null;
12
- isTermsAndConditionsDefaultChecked: boolean | null;
13
- options: IkasCheckoutOption[] | null;
14
- phoneRequirement: IkasCheckoutRequirement;
15
- postalCodeRequirement: IkasCheckoutRequirement | null;
16
- showCheckoutNote: boolean | null;
17
- showTermsAndConditionsCheckbox: boolean;
18
- storefrontId: string;
19
- constructor(data: ICheckoutSettings);
20
- }
21
- export { IkasCheckoutRequirement };
@@ -1 +0,0 @@
1
- import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';export{IkasCheckoutRequirement}from"@ikas/storefront-models";import{IkasBaseModel as i}from"../base/index.js";import{IkasCheckoutOption as o}from"./option/index.js";import{IkasCheckoutSettingsPrice as t}from"./price/index.js";var n=function(i){function n(e){var n,s,r=this;return(r=i.call(this,e)||this).giftPackagePriceList=null,r.identityNumberRequirement=null,r.isGiftPackageEnabled=null,r.isShowPostalCode=null,r.isTermsAndConditionsDefaultChecked=null,r.options=null,r.postalCodeRequirement=null,r.showCheckoutNote=null,r.giftPackagePriceList=(null===(n=e.giftPackagePriceList)||void 0===n?void 0:n.map((function(e){return new t(e)})))||null,r.identityNumberRequirement=e.identityNumberRequirement,r.isAccountRequired=e.isAccountRequired,r.isGiftPackageEnabled=e.isGiftPackageEnabled,r.isQuickRegistrationEnabled=e.isQuickRegistrationEnabled,r.isShowPostalCode=e.isShowPostalCode,r.isTermsAndConditionsDefaultChecked=e.isTermsAndConditionsDefaultChecked,r.options=(null===(s=e.options)||void 0===s?void 0:s.map((function(e){return new o(e)})))||null,r.phoneRequirement=e.phoneRequirement,r.postalCodeRequirement=e.postalCodeRequirement||null,r.showCheckoutNote=e.showCheckoutNote||null,r.showTermsAndConditionsCheckbox=e.showTermsAndConditionsCheckbox,r.storefrontId=e.storefrontId,r}return e(n,i),n}(i);export{n as IkasCheckoutSettings};
@@ -1,6 +0,0 @@
1
- import { IkasCheckoutOption as ICheckoutOption } from "@ikas/storefront-models";
2
- export declare class IkasCheckoutOption implements ICheckoutOption {
3
- name: string;
4
- required: boolean;
5
- constructor(data: ICheckoutOption);
6
- }
@@ -1 +0,0 @@
1
- var e=function(e){this.name=e.name,this.required=e.required};export{e as IkasCheckoutOption};
@@ -1,7 +0,0 @@
1
- import { IkasCheckoutSettingsPrice as ICheckoutSettingsPrice } from "@ikas/storefront-models";
2
- export declare class IkasCheckoutSettingsPrice implements ICheckoutSettingsPrice {
3
- currencyCode: string;
4
- currencySymbol: string | null;
5
- price: number;
6
- constructor(data: ICheckoutSettingsPrice);
7
- }
@@ -1 +0,0 @@
1
- var r=function(r){this.currencyCode=r.currencyCode,this.currencySymbol=r.currencySymbol||null,this.price=r.price};export{r as IkasCheckoutSettingsPrice};
@@ -1,12 +0,0 @@
1
- import { IkasBaseModel } from "../base";
2
- import { IkasCity as ICity } from "@ikas/storefront-models";
3
- export declare class IkasCity extends IkasBaseModel implements ICity {
4
- cityCode: string | null;
5
- countryId: string;
6
- latitude: string | null;
7
- longitude: string | null;
8
- name: string;
9
- order: number | null;
10
- stateId: string;
11
- constructor(data: ICity);
12
- }
@@ -1 +0,0 @@
1
- import{__extends as t}from'./../../../ext/tslib/tslib.es6.js';import{IkasBaseModel as e}from"../base/index.js";var o=function(e){function o(t){var o=e.call(this,t)||this;return o.cityCode=null,o.latitude=null,o.longitude=null,o.order=null,o.cityCode=t.cityCode,o.countryId=t.countryId,o.latitude=t.latitude,o.longitude=t.longitude,o.name=t.name,o.order=t.order,o.stateId=t.stateId,o}return t(o,e),o}(e);export{o as IkasCity};
@@ -1,9 +0,0 @@
1
- import { IkasContactForm as IContactForm } from "@ikas/storefront-models";
2
- export declare class IkasContactForm implements IContactForm {
3
- email: string;
4
- firstName: string;
5
- lastName: string;
6
- message: string;
7
- referer: string;
8
- constructor(data: IContactForm);
9
- }
@@ -1 +0,0 @@
1
- import{makeAutoObservable as e}from"mobx";var s=function(s){this.email=s.email,this.firstName=s.firstName,this.lastName=s.lastName,this.message=s.message,this.referer=s.referer,e(this)};export{s as IkasContactForm};
@@ -1,18 +0,0 @@
1
- import { IkasBaseModel } from "../base";
2
- import { IkasLocationTranslations } from "./location-translations";
3
- import { IkasCountry as ICountry } from "@ikas/storefront-models";
4
- export declare class IkasCountry extends IkasBaseModel implements ICountry {
5
- capital: string | null;
6
- currency: string | null;
7
- emoji: string | null;
8
- emojiString: string | null;
9
- iso2: string | null;
10
- iso3: string | null;
11
- locationTranslations?: IkasLocationTranslations | null;
12
- name: string;
13
- native: string | null;
14
- phoneCode: string | null;
15
- region: string | null;
16
- subregion: string | null;
17
- constructor(data: ICountry);
18
- }
@@ -1 +0,0 @@
1
- import{__extends as n}from'./../../../ext/tslib/tslib.es6.js';import{IkasBaseModel as l}from"../base/index.js";import{makeObservable as o,observable as i}from"mobx";var e=function(l){function e(n){var e=l.call(this,n)||this;return e.capital=null,e.currency=null,e.emoji=null,e.emojiString=null,e.iso2=null,e.iso3=null,e.locationTranslations=null,e.native=null,e.phoneCode=null,e.region=null,e.subregion=null,e.capital=n.capital||null,e.currency=n.currency||null,e.emoji=n.emoji||null,e.emojiString=n.emojiString||null,e.iso2=n.iso2||null,e.iso3=n.iso3||null,e.locationTranslations=n.locationTranslations||null,e.name=n.name||"",e.native=n.native||null,e.phoneCode=n.phoneCode||null,e.region=n.region||null,e.subregion=n.subregion||null,o(e,{capital:i,currency:i,emoji:i,emojiString:i,iso2:i,iso3:i,locationTranslations:i,name:i,native:i,phoneCode:i,region:i,subregion:i}),e}return n(e,l),e}(l);export{e as IkasCountry};
@@ -1,7 +0,0 @@
1
- import { IkasLocationTranslations as ILocationTranslations } from "@ikas/storefront-models";
2
- export declare class IkasLocationTranslations implements ILocationTranslations {
3
- de: string | null;
4
- en: string;
5
- tr: string;
6
- constructor(data: ILocationTranslations);
7
- }
@@ -1,7 +0,0 @@
1
- import { IkasCustomerAddressCity as ICustomerAddressCity } from "@ikas/storefront-models";
2
- export declare class IkasCustomerAddressCity implements ICustomerAddressCity {
3
- code: string | null;
4
- id: string | null;
5
- name: string;
6
- constructor(data: ICustomerAddressCity);
7
- }
@@ -1 +0,0 @@
1
- import{makeAutoObservable as i}from"mobx";var t=function(t){this.code=null,this.id=null,this.code=t.code,this.id=t.id,this.name=t.name,i(this)};export{t as IkasCustomerAddressCity};
@@ -1,9 +0,0 @@
1
- import { IkasCustomerAddressCountry as ICustomerAddressCountry } from "@ikas/storefront-models";
2
- export declare class IkasCustomerAddressCountry implements ICustomerAddressCountry {
3
- code: string | null;
4
- id: string | null;
5
- iso2: string | null;
6
- iso3: string | null;
7
- name: string;
8
- constructor(data: ICustomerAddressCountry);
9
- }
@@ -1 +0,0 @@
1
- import{makeAutoObservable as i}from"mobx";var s=function(s){this.code=null,this.id=null,this.iso2=null,this.iso3=null,this.code=s.code,this.id=s.id,this.iso2=s.iso2,this.iso3=s.iso3,this.name=s.name,i(this)};export{s as IkasCustomerAddressCountry};
@@ -1,7 +0,0 @@
1
- import { IkasCustomerAddressDistrict as ICustomerAddressDistrict } from "@ikas/storefront-models";
2
- export declare class IkasCustomerAddressDistrict implements ICustomerAddressDistrict {
3
- code: string | null;
4
- id: string | null;
5
- name: string | null;
6
- constructor(data: ICustomerAddressDistrict);
7
- }
@@ -1 +0,0 @@
1
- import{makeAutoObservable as i}from"mobx";var t=function(t){this.code=null,this.id=null,this.name=null,this.code=t.code,this.id=t.id,this.name=t.name,i(this)};export{t as IkasCustomerAddressDistrict};
@@ -1,50 +0,0 @@
1
- import { IkasCustomerAddress } from ".";
2
- import { IkasCustomerAddress as ICustomerAddress } from "@ikas/storefront-models";
3
- import CountrySettingsModel, { AddressFormField, ErrorType, IkasAddressFormLabels } from "../../checkout/country-settings-model";
4
- declare type IkasLocalizedCustomerAddressConstructorData = {
5
- countrySettings?: CountrySettingsModel | null;
6
- } & ICustomerAddress;
7
- export declare class IkasLocalizedCustomerAddress extends IkasCustomerAddress {
8
- countrySettings: CountrySettingsModel | null;
9
- constructor(data?: Partial<IkasLocalizedCustomerAddressConstructorData>);
10
- get fieldSettings(): {
11
- firstName: AddressFormField;
12
- lastName: AddressFormField;
13
- identityNumber: AddressFormField;
14
- phone: AddressFormField;
15
- addressLine1: AddressFormField;
16
- addressLine2: AddressFormField;
17
- postalCode: AddressFormField;
18
- country: AddressFormField;
19
- state: AddressFormField;
20
- city: AddressFormField;
21
- district: AddressFormField;
22
- company?: AddressFormField | undefined;
23
- taxOffice?: AddressFormField | undefined;
24
- taxNumber?: AddressFormField | undefined;
25
- title: AddressFormField;
26
- } | undefined;
27
- get addressFormat(): import("../../checkout/country-settings-model").AddressFormItem[][] | undefined;
28
- get addressFormatIgnoreCountry(): import("../../checkout/country-settings-model").AddressFormItem[][] | undefined;
29
- get billingFormat(): import("../../checkout/country-settings-model").BillingAddressFormItem[][] | undefined;
30
- get countryCode(): string;
31
- get validationResults(): {
32
- firstName: ErrorType;
33
- lastName: ErrorType;
34
- addressLine1: ErrorType;
35
- addressLine2: ErrorType;
36
- country: ErrorType;
37
- state: ErrorType;
38
- city: ErrorType;
39
- district: ErrorType;
40
- phone: ErrorType;
41
- postalCode: ErrorType;
42
- identityNumber: ErrorType;
43
- title: ErrorType;
44
- } | undefined;
45
- get isValidAddress(): boolean | undefined;
46
- get fieldLabels(): IkasAddressFormLabels | undefined;
47
- get isFreeTextCity(): boolean | undefined;
48
- get isFreeTextDistrict(): boolean | undefined;
49
- }
50
- export {};
@@ -1 +0,0 @@
1
- import{__extends as t,__assign as e}from'./../../../../ext/tslib/tslib.es6.js';import{makeObservable as i,observable as r}from"mobx";import{IkasCustomerAddress as n}from"./index.js";var o=function(n){function o(t){void 0===t&&(t={});var e=n.call(this,t)||this;return e.countrySettings=t.countrySettings||null,i(e,{countrySettings:r}),e}return t(o,n),Object.defineProperty(o.prototype,"fieldSettings",{get:function(){if(this.countrySettings){var t=this.countrySettings.getFieldSettings(this.countryCode);if(t)return e({title:{required:!0}},t)}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"addressFormat",{get:function(){if(this.countrySettings)return this.countrySettings.getAddressFormat(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"addressFormatIgnoreCountry",{get:function(){if(this.countrySettings)return this.countrySettings.getAddressFormatIgnoreCountry(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"billingFormat",{get:function(){if(this.countrySettings)return this.countrySettings.getBillingFormat(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"countryCode",{get:function(){var t;return(null===(t=this.country)||void 0===t?void 0:t.iso2)||"TR"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"validationResults",{get:function(){if(this.countrySettings){var t=this.countrySettings.getValidationResult(this);if(t)return e({title:{hasError:!this.title,isInvalid:!1,isEmpty:!this.title}},t)}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isValidAddress",{get:function(){if(this.countrySettings)return!!this.title&&this.countrySettings.isValidAddress(this)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fieldLabels",{get:function(){if(this.countrySettings)return this.countrySettings.getFieldLabels(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isFreeTextCity",{get:function(){if(this.countrySettings)return this.countrySettings.isFreeTextCity(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isFreeTextDistrict",{get:function(){if(this.countrySettings)return this.countrySettings.isFreeTextDistrict(this.countryCode)},enumerable:!1,configurable:!0}),o}(n);export{o as IkasLocalizedCustomerAddress};
@@ -1,40 +0,0 @@
1
- import { IkasCustomerAddressFunctions } from "@ikas/storefront-model-functions";
2
- import { IkasCustomerAddress as ICustomerAddress } from "@ikas/storefront-models";
3
- import { IkasBaseModel } from "../../base";
4
- import { IkasCheckoutSettings } from "../../checkout-settings";
5
- import { IkasCustomerAttributeValue } from "../attribute/value";
6
- import { IkasCustomerAddressCity } from "./city";
7
- import { IkasCustomerAddressCountry } from "./country";
8
- import { IkasCustomerAddressDistrict } from "./district";
9
- import { IkasCustomerAddressState } from "./state";
10
- declare type IkasCustomerAddressConstructorData = {
11
- checkoutSettings?: IkasCheckoutSettings | null;
12
- isDistrictRequired?: boolean;
13
- } & ICustomerAddress;
14
- export declare class IkasCustomerAddress extends IkasBaseModel implements ICustomerAddress {
15
- addressLine1: string;
16
- addressLine2: string | null;
17
- company: string | null;
18
- firstName: string;
19
- identityNumber: string | null;
20
- isDefault: boolean;
21
- lastName: string;
22
- phone: string | null;
23
- postalCode: string | null;
24
- taxNumber: string | null;
25
- taxOffice: string | null;
26
- title: string;
27
- attributes: IkasCustomerAttributeValue[] | null;
28
- country: IkasCustomerAddressCountry | null;
29
- state: IkasCustomerAddressState | null;
30
- city: IkasCustomerAddressCity | null;
31
- district: IkasCustomerAddressDistrict | null;
32
- checkoutSettings?: IkasCheckoutSettings | null;
33
- isDistrictRequired?: boolean;
34
- constructor(data?: Partial<IkasCustomerAddressConstructorData>);
35
- get addressText(): string;
36
- get validationResult(): IkasCustomerAddressFunctions.IkasCustomerAddressValidationResult | undefined;
37
- get isValid(): boolean;
38
- toJSON(): this;
39
- }
40
- export {};
@@ -1 +0,0 @@
1
- import{__extends as t,__assign as e}from'./../../../../ext/tslib/tslib.es6.js';import{IkasCustomerAddressFunctions as i}from"@ikas/storefront-model-functions";import{makeObservable as n,observable as s,computed as r}from"mobx";import{IkasBaseModel as l}from"../../base/index.js";import{IkasCheckoutSettings as u}from"../../checkout-settings/index.js";import{IkasCustomerAttributeValue as o}from"../attribute/value/index.js";var d=function(l){function d(t){void 0===t&&(t={});var e,i,d=this;return(d=l.call(this,{id:t.id||"",createdAt:t.createdAt||Date.now(),updatedAt:t.updatedAt||Date.now(),deleted:null!==(e=t.deleted)&&void 0!==e&&e})||this).addressLine2=null,d.company=null,d.identityNumber=null,d.phone=null,d.postalCode=null,d.taxNumber=null,d.taxOffice=null,d.country=null,d.state=null,d.city=null,d.district=null,d.checkoutSettings=null,d.addressLine1=t.addressLine1||"",d.addressLine2=t.addressLine2||null,d.company=t.company||null,d.firstName=t.firstName||"",d.id=t.id||"",d.identityNumber=t.identityNumber||null,d.isDefault=t.isDefault||!1,d.lastName=t.lastName||"",d.phone=t.phone||null,d.postalCode=t.postalCode||null,d.taxNumber=t.taxNumber||null,d.taxOffice=t.taxOffice||null,d.title=t.title||"",d.attributes=(null===(i=t.attributes)||void 0===i?void 0:i.map((function(t){return new o(t)})))||null,d.country=t.country||null,d.state=t.state||null,d.city=t.city||null,d.district=t.district||null,d.checkoutSettings=t.checkoutSettings?new u(t.checkoutSettings):null,d.isDistrictRequired=t.isDistrictRequired||!1,n(d,{addressLine1:s,addressLine2:s,attributes:s,city:s,company:s,country:s,district:s,firstName:s,identityNumber:s,isDefault:s,lastName:s,phone:s,postalCode:s,state:s,taxNumber:s,taxOffice:s,title:s,checkoutSettings:s,isDistrictRequired:s,addressText:r,validationResult:r,isValid:r}),d}return t(d,l),Object.defineProperty(d.prototype,"addressText",{get:function(){return i.getAddressText(this)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"validationResult",{get:function(){if(this.checkoutSettings)return i.getValidationResult(this,this.checkoutSettings,this.isDistrictRequired||!1)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"isValid",{get:function(){return!!this.checkoutSettings&&i.isValidAddress(this,this.checkoutSettings,this.isDistrictRequired||!1)},enumerable:!1,configurable:!0}),d.prototype.toJSON=function(){var t=e({},this);return delete t.checkoutSettings,delete t.isDistrictRequired,t},d}(l);export{d as IkasCustomerAddress};
@@ -1,7 +0,0 @@
1
- import { IkasCustomerAddressState as ICustomerAddressState } from "@ikas/storefront-models";
2
- export declare class IkasCustomerAddressState implements ICustomerAddressState {
3
- code: string | null;
4
- id: string | null;
5
- name: string | null;
6
- constructor(data: ICustomerAddressState);
7
- }
@@ -1 +0,0 @@
1
- import{makeAutoObservable as i}from"mobx";var t=function(t){this.code=null,this.id=null,this.name=null,this.code=t.code,this.id=t.id,this.name=t.name,i(this)};export{t as IkasCustomerAddressState};
@@ -1,18 +0,0 @@
1
- import { IkasBaseModel } from "../../base";
2
- import { IkasCustomerAttributeOption } from "./option";
3
- import { IkasCustomerAttributeSalesChannel } from "./sales-channel";
4
- import { IkasCustomerAttributeTranslation } from "./translation";
5
- import { IkasCustomerAttribute as ICustomerAttribute, IkasCustomerAttributeType } from "@ikas/storefront-models";
6
- export declare class IkasCustomerAttribute extends IkasBaseModel implements ICustomerAttribute {
7
- description: string | null;
8
- name: string;
9
- type: IkasCustomerAttributeType;
10
- options: IkasCustomerAttributeOption[] | null;
11
- salesChannels: IkasCustomerAttributeSalesChannel[] | null;
12
- translations?: IkasCustomerAttributeTranslation[] | null;
13
- order: number | null;
14
- constructor(data: ICustomerAttribute);
15
- get accountPagePermission(): import("@ikas/storefront-models").IkasCustomerAttributePermission | undefined;
16
- get registerPageRequirement(): import("@ikas/storefront-models").IkasCustomerAttributeRegisterPageRequirement | undefined;
17
- }
18
- export { IkasCustomerAttributeType };
@@ -1 +0,0 @@
1
- import{__extends as e}from'./../../../../ext/tslib/tslib.es6.js';import{IkasBaseModel as n}from"../../base/index.js";import{IkasCustomerAttributeOption as t}from"./option/index.js";import{IkasCustomerAttributeSalesChannel as o}from"./sales-channel/index.js";import{IkasCustomerAttributeTranslation as r}from"./translation/index.js";export{IkasCustomerAttributeType}from"@ikas/storefront-models";import{makeObservable as i,observable as s,computed as l}from"mobx";import{IkasCustomerAttributeFunctions as a}from"@ikas/storefront-model-functions";var u=function(n){function u(e){var a,u,m,p,c=this;return(c=n.call(this,e)||this).description=null,c.options=null,c.salesChannels=null,c.translations=null,c.description=e.description,c.name=e.name,c.type=e.type,c.options=(null===(a=e.options)||void 0===a?void 0:a.map((function(e){return new t(e)})))||null,c.salesChannels=(null===(u=e.salesChannels)||void 0===u?void 0:u.map((function(e){return new o(e)})))||null,c.translations=(null===(m=e.translations)||void 0===m?void 0:m.map((function(e){return new r(e)})))||null,c.order=null!==(p=e.order)&&void 0!==p?p:null,i(c,{description:s,name:s,type:s,options:s,salesChannels:s,translations:s,accountPagePermission:l,registerPageRequirement:l}),c}return e(u,n),Object.defineProperty(u.prototype,"accountPagePermission",{get:function(){return a.getAccountPagePermission(this)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"registerPageRequirement",{get:function(){return a.getRegisterPageRequirement(this)},enumerable:!1,configurable:!0}),u}(n);export{u as IkasCustomerAttribute};
@@ -1,9 +0,0 @@
1
- import { IkasCustomerAttributeOption as ICustomerAttributeOption } from "@ikas/storefront-models";
2
- export declare class IkasCustomerAttributeOption implements ICustomerAttributeOption {
3
- createdAt: number | null;
4
- deleted: boolean | null;
5
- id: string;
6
- name: string;
7
- updatedAt: number | null;
8
- constructor(data: ICustomerAttributeOption);
9
- }
@@ -1 +0,0 @@
1
- import{makeAutoObservable as t}from"mobx";var e=function(e){this.createdAt=null,this.deleted=null,this.updatedAt=null,this.createdAt=e.createdAt||null,this.deleted=e.deleted||null,this.id=e.id,this.name=e.name,this.updatedAt=e.updatedAt,t(this)};export{e as IkasCustomerAttributeOption};
@@ -1,8 +0,0 @@
1
- import { IkasCustomerAttributePermission, IkasCustomerAttributeRegisterPageRequirement, IkasCustomerAttributeSalesChannel as ICustomerAttributeSalesChannel } from "@ikas/storefront-models";
2
- export declare class IkasCustomerAttributeSalesChannel implements ICustomerAttributeSalesChannel {
3
- permission: IkasCustomerAttributePermission;
4
- registerPageRequirement: IkasCustomerAttributeRegisterPageRequirement;
5
- salesChannelId: string;
6
- storefrontId: string;
7
- constructor(data: ICustomerAttributeSalesChannel);
8
- }
@@ -1 +0,0 @@
1
- import{makeAutoObservable as e}from"mobx";var s=function(s){this.permission=s.permission,this.registerPageRequirement=s.registerPageRequirement,this.salesChannelId=s.salesChannelId,this.storefrontId=s.storefrontId,e(this)};export{s as IkasCustomerAttributeSalesChannel};
@@ -1,9 +0,0 @@
1
- import { IkasCustomerAttributeOptionTranslation } from "./option";
2
- import { IkasCustomerAttributeTranslation as ICustomerAttributeTranslation } from "@ikas/storefront-models";
3
- export declare class IkasCustomerAttributeTranslation implements ICustomerAttributeTranslation {
4
- description: string | null;
5
- locale: string;
6
- name: string | null;
7
- options: IkasCustomerAttributeOptionTranslation[] | null;
8
- constructor(data: ICustomerAttributeTranslation);
9
- }
@@ -1 +0,0 @@
1
- import{IkasCustomerAttributeOptionTranslation as i}from"./option/index.js";import{makeAutoObservable as o}from"mobx";var n=function(n){var t;this.description=null,this.name=null,this.options=null,this.description=n.description,this.locale=n.locale,this.name=n.name,this.options=(null===(t=n.options)||void 0===t?void 0:t.map((function(o){return new i(o)})))||null,o(this)};export{n as IkasCustomerAttributeTranslation};
@@ -1,6 +0,0 @@
1
- import { IkasCustomerAttributeOptionTranslation as ICustomerAttributeOptionTranslation } from "@ikas/storefront-models";
2
- export declare class IkasCustomerAttributeOptionTranslation implements ICustomerAttributeOptionTranslation {
3
- id: string;
4
- name: string | null;
5
- constructor(data: ICustomerAttributeOptionTranslation);
6
- }
@@ -1 +0,0 @@
1
- import{makeAutoObservable as i}from"mobx";var t=function(t){this.id=t.id,this.name=t.name,i(this)};export{t as IkasCustomerAttributeOptionTranslation};
@@ -1,11 +0,0 @@
1
- import { IkasCustomerAttribute } from "..";
2
- import { IkasCustomerAttributeOption } from "../option";
3
- import { IkasCustomerAttributeValue as ICustomerAttributeValue } from "@ikas/storefront-models";
4
- export declare class IkasCustomerAttributeValue implements ICustomerAttributeValue {
5
- customerAttributeId: string | null;
6
- customerAttributeOptionId: string | null;
7
- value: string | null;
8
- customerAttribute: IkasCustomerAttribute | null;
9
- customerAttributeOption: IkasCustomerAttributeOption | null;
10
- constructor(data: ICustomerAttributeValue);
11
- }
@@ -1 +0,0 @@
1
- import{IkasCustomerAttribute as t}from"../index.js";import{IkasCustomerAttributeOption as i}from"../option/index.js";import{makeAutoObservable as r}from"mobx";var e=function(e){this.customerAttributeId=e.customerAttributeId,this.customerAttributeOptionId=e.customerAttributeOptionId,this.value=e.value,this.customerAttribute=e.customerAttribute?new t(e.customerAttribute):null,this.customerAttributeOption=e.customerAttributeOption?new i(e.customerAttributeOption):null,r(this)};export{e as IkasCustomerAttributeValue};
@@ -1,38 +0,0 @@
1
- import { IkasCustomerAddress } from "./address";
2
- import { IkasCustomerAttributeValue } from "./attribute/value";
3
- import { IkasBaseModel } from "../base";
4
- import { IkasCustomerAccountStatus, IkasCustomerEmailSubscriptionStatus, IkasCustomerRegistrationSource, IkasCustomer as ICustomer } from "@ikas/storefront-models";
5
- export declare class IkasCustomer extends IkasBaseModel implements ICustomer {
6
- accountStatusUpdatedAt: number | null;
7
- customerGroupIds: string[] | null;
8
- customerSequence: number | null;
9
- email: string | null;
10
- emailVerifiedDate: number | null;
11
- firstName: string;
12
- fullName: string | null;
13
- isEmailVerified: boolean | null;
14
- isPhoneVerified: boolean | null;
15
- lastName: string | null;
16
- note: string | null;
17
- orderCount: number | null;
18
- passwordUpdateDate: number | null;
19
- phone: string | null;
20
- phoneVerifiedDate: number | null;
21
- subscriptionStatusUpdatedAt: number | null;
22
- tagIds: string[] | null;
23
- registrationSource: IkasCustomerRegistrationSource | null;
24
- accountStatus: IkasCustomerAccountStatus | null;
25
- addresses: IkasCustomerAddress[] | null;
26
- subscriptionStatus: IkasCustomerEmailSubscriptionStatus | null;
27
- attributes: IkasCustomerAttributeValue[] | null;
28
- constructor(data: ICustomer);
29
- get isSubscribed(): boolean;
30
- get basicInfo(): {
31
- id: string;
32
- firstName: string;
33
- lastName: string | null;
34
- email: string | null;
35
- phone: string | null;
36
- };
37
- }
38
- export { IkasCustomerAccountStatus, IkasCustomerEmailSubscriptionStatus, IkasCustomerRegistrationSource, };
@@ -1 +0,0 @@
1
- import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasCustomerAddress as t}from"./address/index.js";import{IkasCustomerAttributeValue as i}from"./attribute/value/index.js";import{IkasBaseModel as r}from"../base/index.js";export{IkasCustomerAccountStatus,IkasCustomerEmailSubscriptionStatus,IkasCustomerRegistrationSource}from"@ikas/storefront-models";import{makeObservable as s,observable as u,computed as o}from"mobx";import{IkasCustomerFunctions as n}from"@ikas/storefront-model-functions";var a=function(r){function a(e){var n=r.call(this,e)||this;return n.accountStatus=e.accountStatus||null,n.accountStatusUpdatedAt=e.accountStatusUpdatedAt||null,n.addresses=e.addresses?e.addresses.map((function(e){return new t(e)})):null,n.attributes=e.attributes?e.attributes.map((function(e){return new i(e)})):null,n.customerGroupIds=e.customerGroupIds||null,n.customerSequence=void 0!==e.customerSequence&&null!==e.customerSequence?e.customerSequence:null,n.email=e.email||null,n.emailVerifiedDate=e.emailVerifiedDate||null,n.firstName=e.firstName||"",n.fullName=e.fullName||null,n.isEmailVerified=void 0!==e.isEmailVerified&&null!==e.isEmailVerified?e.isEmailVerified:null,n.isPhoneVerified=void 0!==e.isPhoneVerified&&null!==e.isPhoneVerified?e.isPhoneVerified:null,n.lastName=e.lastName||null,n.note=e.note||null,n.orderCount=void 0!==e.orderCount&&null!==e.orderCount?e.orderCount:null,n.passwordUpdateDate=e.passwordUpdateDate||null,n.phone=e.phone||null,n.phoneVerifiedDate=e.phoneVerifiedDate||null,n.registrationSource=e.registrationSource||null,n.subscriptionStatus=e.subscriptionStatus||null,n.subscriptionStatusUpdatedAt=e.subscriptionStatusUpdatedAt||null,n.tagIds=e.tagIds||null,s(n,{accountStatus:u,accountStatusUpdatedAt:u,addresses:u,attributes:u,customerGroupIds:u,customerSequence:u,email:u,emailVerifiedDate:u,firstName:u,fullName:u,isEmailVerified:u,isPhoneVerified:u,lastName:u,note:u,orderCount:u,passwordUpdateDate:u,phone:u,phoneVerifiedDate:u,registrationSource:u,subscriptionStatus:u,subscriptionStatusUpdatedAt:u,tagIds:u,isSubscribed:o,basicInfo:o}),n}return e(a,r),Object.defineProperty(a.prototype,"isSubscribed",{get:function(){return n.isSubscribed(this)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"basicInfo",{get:function(){return n.getBasicInfo(this)},enumerable:!1,configurable:!0}),a}(r);export{a as IkasCustomer};