@commercelayer/react-components 3.0.0-beta.7 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (417) hide show
  1. package/README.md +1 -1
  2. package/{dist → lib}/components/AddToCartButton.d.ts +20 -17
  3. package/lib/components/AddToCartButton.js +1 -0
  4. package/{dist → lib}/components/Address.d.ts +13 -12
  5. package/lib/components/Address.js +1 -0
  6. package/{dist → lib}/components/AddressCountrySelector.d.ts +9 -9
  7. package/lib/components/AddressCountrySelector.js +1 -0
  8. package/{dist → lib}/components/AddressField.d.ts +15 -15
  9. package/lib/components/AddressField.js +1 -0
  10. package/{dist → lib}/components/AddressInput.d.ts +7 -7
  11. package/lib/components/AddressInput.js +1 -0
  12. package/lib/components/AddressStateSelector.d.ts +11 -0
  13. package/lib/components/AddressStateSelector.js +1 -0
  14. package/{dist → lib}/components/AddressesContainer.d.ts +7 -7
  15. package/lib/components/AddressesContainer.js +1 -0
  16. package/lib/components/AdjustmentAmount.d.ts +4 -0
  17. package/lib/components/AdjustmentAmount.js +1 -0
  18. package/lib/components/AdyenPayment.d.ts +25 -0
  19. package/lib/components/AdyenPayment.js +1 -0
  20. package/{dist → lib}/components/AvailabilityContainer.d.ts +7 -7
  21. package/lib/components/AvailabilityContainer.js +1 -0
  22. package/{dist → lib}/components/AvailabilityTemplate.d.ts +15 -16
  23. package/lib/components/AvailabilityTemplate.js +1 -0
  24. package/{dist → lib}/components/BillingAddressContainer.d.ts +6 -6
  25. package/lib/components/BillingAddressContainer.js +1 -0
  26. package/{dist → lib}/components/BillingAddressForm.d.ts +8 -8
  27. package/lib/components/BillingAddressForm.js +1 -0
  28. package/{dist → lib}/components/BraintreePayment.d.ts +30 -19
  29. package/lib/components/BraintreePayment.js +1 -0
  30. package/{dist → lib}/components/CheckoutLink.d.ts +11 -11
  31. package/lib/components/CheckoutLink.js +1 -0
  32. package/{dist → lib}/components/CommerceLayer.d.ts +8 -9
  33. package/lib/components/CommerceLayer.js +1 -0
  34. package/{dist → lib}/components/CustomerContainer.d.ts +7 -7
  35. package/lib/components/CustomerContainer.js +1 -0
  36. package/{dist → lib}/components/CustomerInput.d.ts +11 -11
  37. package/lib/components/CustomerInput.js +1 -0
  38. package/{dist → lib}/components/DeliveryLeadTime.d.ts +10 -10
  39. package/lib/components/DeliveryLeadTime.js +1 -0
  40. package/{dist → lib}/components/DiscountAmount.d.ts +4 -4
  41. package/lib/components/DiscountAmount.js +1 -0
  42. package/{dist → lib}/components/Errors.d.ts +5 -5
  43. package/lib/components/Errors.js +1 -0
  44. package/{dist → lib}/components/ExternalFunction.d.ts +7 -7
  45. package/lib/components/ExternalFunction.js +1 -0
  46. package/{dist → lib}/components/GiftCard.d.ts +8 -8
  47. package/lib/components/GiftCard.js +1 -0
  48. package/{dist → lib}/components/GiftCardAmount.d.ts +4 -4
  49. package/lib/components/GiftCardAmount.js +1 -0
  50. package/{dist → lib}/components/GiftCardContainer.d.ts +6 -6
  51. package/lib/components/GiftCardContainer.js +1 -0
  52. package/{dist → lib}/components/GiftCardCurrencySelector.d.ts +7 -7
  53. package/lib/components/GiftCardCurrencySelector.js +1 -0
  54. package/{dist → lib}/components/GiftCardInput.d.ts +7 -7
  55. package/lib/components/GiftCardInput.js +1 -0
  56. package/{dist → lib}/components/GiftCardOrCouponCode.d.ts +13 -13
  57. package/lib/components/GiftCardOrCouponCode.js +1 -0
  58. package/{dist → lib}/components/GiftCardOrCouponForm.d.ts +10 -10
  59. package/lib/components/GiftCardOrCouponForm.js +1 -0
  60. package/{dist → lib}/components/GiftCardOrCouponInput.d.ts +8 -8
  61. package/lib/components/GiftCardOrCouponInput.js +1 -0
  62. package/{dist → lib}/components/GiftCardOrCouponRemoveButton.d.ts +16 -16
  63. package/lib/components/GiftCardOrCouponRemoveButton.js +1 -0
  64. package/{dist → lib}/components/GiftCardOrCouponSubmit.d.ts +9 -9
  65. package/lib/components/GiftCardOrCouponSubmit.js +1 -0
  66. package/{dist → lib}/components/GiftCardRecipient.d.ts +0 -0
  67. package/lib/components/GiftCardRecipient.js +1 -0
  68. package/{dist → lib}/components/GiftCardRecipientInput.d.ts +0 -0
  69. package/lib/components/GiftCardRecipientInput.js +1 -0
  70. package/{dist → lib}/components/ItemContainer.d.ts +11 -11
  71. package/lib/components/ItemContainer.js +1 -0
  72. package/{dist → lib}/components/LineItem.d.ts +8 -8
  73. package/lib/components/LineItem.js +1 -0
  74. package/{dist → lib}/components/LineItemAmount.d.ts +7 -7
  75. package/lib/components/LineItemAmount.js +1 -0
  76. package/lib/components/LineItemCode.d.ts +12 -0
  77. package/lib/components/LineItemCode.js +1 -0
  78. package/lib/components/LineItemImage.d.ts +16 -0
  79. package/lib/components/LineItemImage.js +1 -0
  80. package/lib/components/LineItemName.d.ts +11 -0
  81. package/lib/components/LineItemName.js +1 -0
  82. package/{dist → lib}/components/LineItemOption.d.ts +19 -19
  83. package/lib/components/LineItemOption.js +1 -0
  84. package/{dist → lib}/components/LineItemOptions.d.ts +14 -14
  85. package/lib/components/LineItemOptions.js +1 -0
  86. package/{dist → lib}/components/LineItemQuantity.d.ts +14 -14
  87. package/lib/components/LineItemQuantity.js +1 -0
  88. package/{dist → lib}/components/LineItemRemoveLink.d.ts +12 -12
  89. package/lib/components/LineItemRemoveLink.js +1 -0
  90. package/{dist → lib}/components/LineItemsContainer.d.ts +8 -8
  91. package/lib/components/LineItemsContainer.js +1 -0
  92. package/{dist → lib}/components/LineItemsCount.d.ts +12 -10
  93. package/lib/components/LineItemsCount.js +1 -0
  94. package/lib/components/LineItemsEmpty.d.ts +12 -0
  95. package/lib/components/LineItemsEmpty.js +1 -0
  96. package/{dist → lib}/components/MetadataInput.d.ts +5 -5
  97. package/lib/components/MetadataInput.js +1 -0
  98. package/{dist → lib}/components/OrderContainer.d.ts +11 -10
  99. package/lib/components/OrderContainer.js +1 -0
  100. package/{dist → lib}/components/OrderNumber.d.ts +5 -5
  101. package/lib/components/OrderNumber.js +1 -0
  102. package/{dist → lib}/components/OrderStorage.d.ts +8 -8
  103. package/lib/components/OrderStorage.js +1 -0
  104. package/lib/components/PaymentGateway.d.ts +16 -0
  105. package/lib/components/PaymentGateway.js +1 -0
  106. package/{dist → lib}/components/PaymentMethod.d.ts +16 -16
  107. package/lib/components/PaymentMethod.js +1 -0
  108. package/{dist → lib}/components/PaymentMethodAmount.d.ts +4 -4
  109. package/lib/components/PaymentMethodAmount.js +1 -0
  110. package/{dist → lib}/components/PaymentMethodName.d.ts +9 -9
  111. package/lib/components/PaymentMethodName.js +1 -0
  112. package/{dist → lib}/components/PaymentMethodPrice.d.ts +9 -9
  113. package/lib/components/PaymentMethodPrice.js +1 -0
  114. package/{dist → lib}/components/PaymentMethodRadioButton.d.ts +11 -11
  115. package/lib/components/PaymentMethodRadioButton.js +1 -0
  116. package/{dist → lib}/components/PaymentMethodsContainer.d.ts +8 -8
  117. package/lib/components/PaymentMethodsContainer.js +1 -0
  118. package/{dist → lib}/components/PaymentSource.d.ts +19 -18
  119. package/lib/components/PaymentSource.js +1 -0
  120. package/{dist → lib}/components/PaymentSourceBrandIcon.d.ts +15 -15
  121. package/lib/components/PaymentSourceBrandIcon.js +1 -0
  122. package/{dist → lib}/components/PaymentSourceBrandName.d.ts +12 -12
  123. package/lib/components/PaymentSourceBrandName.js +1 -0
  124. package/{dist → lib}/components/PaymentSourceDetail.d.ts +12 -12
  125. package/lib/components/PaymentSourceDetail.js +1 -0
  126. package/{dist → lib}/components/PaymentSourceEditButton.d.ts +9 -9
  127. package/lib/components/PaymentSourceEditButton.js +1 -0
  128. package/{dist → lib}/components/PaypalPayment.d.ts +12 -12
  129. package/lib/components/PaypalPayment.js +1 -0
  130. package/{dist → lib}/components/PlaceOrderButton.d.ts +12 -12
  131. package/lib/components/PlaceOrderButton.js +1 -0
  132. package/{dist → lib}/components/PlaceOrderContainer.d.ts +8 -8
  133. package/lib/components/PlaceOrderContainer.js +1 -0
  134. package/{dist → lib}/components/Price.d.ts +16 -14
  135. package/lib/components/Price.js +1 -0
  136. package/{dist → lib}/components/PricesContainer.d.ts +11 -11
  137. package/lib/components/PricesContainer.js +1 -0
  138. package/{dist → lib}/components/PrivacyAndTermsCheckbox.d.ts +4 -4
  139. package/lib/components/PrivacyAndTermsCheckbox.js +1 -0
  140. package/{dist → lib}/components/QuantitySelector.d.ts +17 -17
  141. package/lib/components/QuantitySelector.js +1 -0
  142. package/{dist → lib}/components/SaveAddressesButton.d.ts +10 -10
  143. package/lib/components/SaveAddressesButton.js +1 -0
  144. package/{dist → lib}/components/SaveCustomerButton.d.ts +13 -13
  145. package/lib/components/SaveCustomerButton.js +1 -0
  146. package/{dist → lib}/components/Shipment.d.ts +8 -8
  147. package/lib/components/Shipment.js +1 -0
  148. package/{dist → lib}/components/ShipmentField.d.ts +12 -12
  149. package/lib/components/ShipmentField.js +1 -0
  150. package/{dist → lib}/components/ShipmentsContainer.d.ts +6 -6
  151. package/lib/components/ShipmentsContainer.js +1 -0
  152. package/{dist → lib}/components/ShippingAddressContainer.d.ts +6 -6
  153. package/lib/components/ShippingAddressContainer.js +1 -0
  154. package/{dist → lib}/components/ShippingAddressForm.d.ts +8 -8
  155. package/lib/components/ShippingAddressForm.js +1 -0
  156. package/{dist → lib}/components/ShippingAmount.d.ts +4 -4
  157. package/lib/components/ShippingAmount.js +1 -0
  158. package/{dist → lib}/components/ShippingMethod.d.ts +8 -8
  159. package/lib/components/ShippingMethod.js +1 -0
  160. package/{dist → lib}/components/ShippingMethodName.d.ts +11 -7
  161. package/lib/components/ShippingMethodName.js +1 -0
  162. package/{dist → lib}/components/ShippingMethodPrice.d.ts +13 -13
  163. package/lib/components/ShippingMethodPrice.js +1 -0
  164. package/lib/components/ShippingMethodRadioButton.d.ts +13 -0
  165. package/lib/components/ShippingMethodRadioButton.js +1 -0
  166. package/{dist → lib}/components/SkuList.d.ts +7 -7
  167. package/lib/components/SkuList.js +1 -0
  168. package/{dist → lib}/components/SkuListsContainer.d.ts +6 -6
  169. package/lib/components/SkuListsContainer.js +1 -0
  170. package/{dist → lib}/components/SkuOption.d.ts +7 -7
  171. package/lib/components/SkuOption.js +1 -0
  172. package/{dist → lib}/components/SkuOptionInput.d.ts +5 -5
  173. package/lib/components/SkuOptionInput.js +1 -0
  174. package/{dist → lib}/components/SkuOptionsContainer.d.ts +7 -7
  175. package/lib/components/SkuOptionsContainer.js +1 -0
  176. package/{dist → lib}/components/StockTransfer.d.ts +6 -6
  177. package/lib/components/StockTransfer.js +1 -0
  178. package/{dist → lib}/components/StockTransferField.d.ts +9 -9
  179. package/lib/components/StockTransferField.js +1 -0
  180. package/{dist → lib}/components/StripePayment.d.ts +18 -18
  181. package/lib/components/StripePayment.js +1 -0
  182. package/{dist → lib}/components/SubTotalAmount.d.ts +4 -4
  183. package/lib/components/SubTotalAmount.js +1 -0
  184. package/{dist → lib}/components/SubmitButton.d.ts +9 -9
  185. package/lib/components/SubmitButton.js +1 -0
  186. package/{dist → lib}/components/TaxesAmount.d.ts +4 -4
  187. package/lib/components/TaxesAmount.js +1 -0
  188. package/{dist → lib}/components/TotalAmount.d.ts +4 -4
  189. package/lib/components/TotalAmount.js +1 -0
  190. package/{dist → lib}/components/VariantSelector.d.ts +29 -27
  191. package/lib/components/VariantSelector.js +1 -0
  192. package/{dist → lib}/components/VariantsContainer.d.ts +8 -8
  193. package/lib/components/VariantsContainer.js +1 -0
  194. package/{dist → lib}/components/WireTransferPayment.d.ts +10 -10
  195. package/lib/components/WireTransferPayment.js +1 -0
  196. package/lib/components/gateways/AdyenGateway.d.ts +5 -0
  197. package/lib/components/gateways/AdyenGateway.js +1 -0
  198. package/lib/components/gateways/BraintreeGateway.d.ts +5 -0
  199. package/lib/components/gateways/BraintreeGateway.js +1 -0
  200. package/lib/components/gateways/PaypalGateway.d.ts +5 -0
  201. package/lib/components/gateways/PaypalGateway.js +1 -0
  202. package/lib/components/gateways/StripeGateway.d.ts +5 -0
  203. package/lib/components/gateways/StripeGateway.js +1 -0
  204. package/lib/components/gateways/WireTransferGateway.d.ts +5 -0
  205. package/lib/components/gateways/WireTransferGateway.js +1 -0
  206. package/lib/components/utils/AddressCardsTemplate.d.ts +27 -0
  207. package/lib/components/utils/AddressCardsTemplate.js +1 -0
  208. package/{dist → lib}/components/utils/BaseField.d.ts +8 -8
  209. package/lib/components/utils/BaseField.js +1 -0
  210. package/lib/components/utils/BaseInput.d.ts +5 -0
  211. package/lib/components/utils/BaseInput.js +1 -0
  212. package/{dist → lib}/components/utils/BaseOrderPrice.d.ts +6 -6
  213. package/lib/components/utils/BaseOrderPrice.js +1 -0
  214. package/{dist → lib}/components/utils/BaseSelect.d.ts +5 -5
  215. package/lib/components/utils/BaseSelect.js +1 -0
  216. package/{dist → lib}/components/utils/Parent.d.ts +8 -8
  217. package/lib/components/utils/Parent.js +1 -0
  218. package/lib/components/utils/PaymentCardsTemplate.d.ts +23 -0
  219. package/lib/components/utils/PaymentCardsTemplate.js +1 -0
  220. package/{dist → lib}/components/utils/PriceTemplate.d.ts +8 -8
  221. package/lib/components/utils/PriceTemplate.js +1 -0
  222. package/{dist → lib}/components/utils/VariantTemplate.d.ts +36 -34
  223. package/lib/components/utils/VariantTemplate.js +1 -0
  224. package/{dist → lib}/components/utils/getAllErrors.d.ts +17 -17
  225. package/lib/components/utils/getAllErrors.js +1 -0
  226. package/{dist → lib}/config/components.d.ts +892 -865
  227. package/lib/config/components.js +1 -0
  228. package/lib/config/currency.d.ts +5 -0
  229. package/lib/config/currency.js +1 -0
  230. package/{dist → lib}/context/AddressChildrenContext.d.ts +7 -7
  231. package/lib/context/AddressChildrenContext.js +1 -0
  232. package/{dist → lib}/context/AddressContext.d.ts +17 -16
  233. package/lib/context/AddressContext.js +1 -0
  234. package/{dist → lib}/context/AvailabilityContext.d.ts +3 -3
  235. package/lib/context/AvailabilityContext.js +1 -0
  236. package/{dist → lib}/context/BillingAddressContext.d.ts +12 -12
  237. package/lib/context/BillingAddressContext.js +1 -0
  238. package/{dist → lib}/context/BillingAddressFormContext.d.ts +18 -16
  239. package/lib/context/BillingAddressFormContext.js +1 -0
  240. package/{dist → lib}/context/CommerceLayerContext.d.ts +7 -8
  241. package/lib/context/CommerceLayerContext.js +1 -0
  242. package/{dist → lib}/context/CouponAndGiftCardFormContext.d.ts +7 -7
  243. package/lib/context/CouponAndGiftCardFormContext.js +1 -0
  244. package/{dist → lib}/context/CustomerContext.d.ts +16 -14
  245. package/lib/context/CustomerContext.js +1 -0
  246. package/{dist → lib}/context/ExternalFunctionContext.d.ts +12 -12
  247. package/lib/context/ExternalFunctionContext.js +1 -0
  248. package/{dist → lib}/context/GiftCardContext.d.ts +11 -11
  249. package/lib/context/GiftCardContext.js +1 -0
  250. package/{dist → lib}/context/ItemContext.d.ts +13 -13
  251. package/lib/context/ItemContext.js +1 -0
  252. package/lib/context/LineItemChildrenContext.d.ts +9 -0
  253. package/lib/context/LineItemChildrenContext.js +1 -0
  254. package/{dist → lib}/context/LineItemContext.d.ts +8 -8
  255. package/lib/context/LineItemContext.js +1 -0
  256. package/{dist → lib}/context/LineItemOptionChildrenContext.d.ts +8 -8
  257. package/lib/context/LineItemOptionChildrenContext.js +1 -0
  258. package/lib/context/OrderContext.d.ts +26 -0
  259. package/lib/context/OrderContext.js +1 -0
  260. package/{dist → lib}/context/OrderStorageContext.d.ts +11 -11
  261. package/lib/context/OrderStorageContext.js +1 -0
  262. package/{dist → lib}/context/PaymentMethodChildrenContext.d.ts +10 -10
  263. package/lib/context/PaymentMethodChildrenContext.js +1 -0
  264. package/{dist → lib}/context/PaymentMethodContext.d.ts +23 -20
  265. package/lib/context/PaymentMethodContext.js +1 -0
  266. package/{dist → lib}/context/PaymentSourceContext.d.ts +14 -14
  267. package/lib/context/PaymentSourceContext.js +1 -0
  268. package/{dist → lib}/context/PlaceOrderContext.d.ts +16 -16
  269. package/lib/context/PlaceOrderContext.js +1 -0
  270. package/{dist → lib}/context/PricesContext.d.ts +7 -7
  271. package/lib/context/PricesContext.js +1 -0
  272. package/lib/context/ShipmentChildrenContext.d.ts +13 -0
  273. package/lib/context/ShipmentChildrenContext.js +1 -0
  274. package/{dist → lib}/context/ShipmentContext.d.ts +12 -12
  275. package/lib/context/ShipmentContext.js +1 -0
  276. package/{dist → lib}/context/ShippingAddressContext.d.ts +10 -10
  277. package/lib/context/ShippingAddressContext.js +1 -0
  278. package/{dist → lib}/context/ShippingAddressFormContext.d.ts +4 -4
  279. package/lib/context/ShippingAddressFormContext.js +1 -0
  280. package/lib/context/ShippingMethodChildrenContext.d.ts +10 -0
  281. package/lib/context/ShippingMethodChildrenContext.js +1 -0
  282. package/lib/context/SkuListsContext.d.ts +6 -0
  283. package/lib/context/SkuListsContext.js +1 -0
  284. package/{dist → lib}/context/SkuOptionChildrenContext.d.ts +8 -8
  285. package/lib/context/SkuOptionChildrenContext.js +1 -0
  286. package/{dist → lib}/context/SkuOptionsContext.d.ts +3 -3
  287. package/lib/context/SkuOptionsContext.js +1 -0
  288. package/{dist → lib}/context/StockTransferChildrenContext.d.ts +7 -7
  289. package/lib/context/StockTransferChildrenContext.js +1 -0
  290. package/{dist → lib}/context/VariantsContext.d.ts +3 -3
  291. package/lib/context/VariantsContext.js +1 -0
  292. package/lib/index.d.ts +99 -0
  293. package/lib/index.js +1 -0
  294. package/{dist → lib}/reducers/AddressReducer.d.ts +58 -52
  295. package/lib/reducers/AddressReducer.js +1 -0
  296. package/lib/reducers/AvailabilityReducer.d.ts +53 -0
  297. package/lib/reducers/AvailabilityReducer.js +1 -0
  298. package/{dist → lib}/reducers/BillingAddressReducer.d.ts +31 -32
  299. package/lib/reducers/BillingAddressReducer.js +1 -0
  300. package/{dist → lib}/reducers/CustomerReducer.d.ts +50 -60
  301. package/lib/reducers/CustomerReducer.js +1 -0
  302. package/{dist → lib}/reducers/GiftCardReducer.d.ts +76 -75
  303. package/lib/reducers/GiftCardReducer.js +1 -0
  304. package/{dist → lib}/reducers/ItemReducer.d.ts +69 -68
  305. package/lib/reducers/ItemReducer.js +1 -0
  306. package/{dist → lib}/reducers/LineItemReducer.d.ts +52 -52
  307. package/lib/reducers/LineItemReducer.js +1 -0
  308. package/lib/reducers/OrderReducer.d.ts +131 -0
  309. package/lib/reducers/OrderReducer.js +1 -0
  310. package/{dist → lib}/reducers/PaymentMethodReducer.d.ts +105 -95
  311. package/lib/reducers/PaymentMethodReducer.js +1 -0
  312. package/{dist → lib}/reducers/PlaceOrderReducer.d.ts +52 -50
  313. package/lib/reducers/PlaceOrderReducer.js +1 -0
  314. package/{dist → lib}/reducers/PriceReducer.d.ts +44 -45
  315. package/lib/reducers/PriceReducer.js +1 -0
  316. package/{dist → lib}/reducers/ShipmentReducer.d.ts +40 -37
  317. package/lib/reducers/ShipmentReducer.js +1 -0
  318. package/{dist → lib}/reducers/ShippingAddressReducer.d.ts +32 -31
  319. package/lib/reducers/ShippingAddressReducer.js +1 -0
  320. package/{dist → lib}/reducers/SkuListsReducer.d.ts +21 -22
  321. package/lib/reducers/SkuListsReducer.js +1 -0
  322. package/{dist → lib}/reducers/SkuOptionsReducer.d.ts +26 -26
  323. package/lib/reducers/SkuOptionsReducer.js +1 -0
  324. package/{dist → lib}/reducers/VariantReducer.d.ts +71 -71
  325. package/lib/reducers/VariantReducer.js +1 -0
  326. package/{dist → lib}/typings/errors.d.ts +42 -40
  327. package/lib/typings/errors.js +1 -0
  328. package/{dist → lib}/typings/index.d.ts +126 -150
  329. package/lib/typings/index.js +1 -0
  330. package/{dist → lib}/utils/PropsType.d.ts +33 -33
  331. package/lib/utils/PropsType.js +1 -0
  332. package/{dist → lib}/utils/addressesManager.d.ts +28 -27
  333. package/lib/utils/addressesManager.js +1 -0
  334. package/{dist → lib}/utils/baseReducer.d.ts +3 -3
  335. package/lib/utils/baseReducer.js +1 -0
  336. package/lib/utils/browserInfo.d.ts +9 -0
  337. package/lib/utils/browserInfo.js +1 -0
  338. package/{dist → lib}/utils/childrenTypes.d.ts +9 -9
  339. package/lib/utils/childrenTypes.js +1 -0
  340. package/lib/utils/countryStateCity.d.ts +9 -0
  341. package/lib/utils/countryStateCity.js +1 -0
  342. package/{dist → lib}/utils/customMessages.d.ts +8 -8
  343. package/lib/utils/customMessages.js +1 -0
  344. package/lib/utils/customerOrderOptions.d.ts +3 -0
  345. package/lib/utils/customerOrderOptions.js +1 -0
  346. package/{dist → lib}/utils/getAmount.d.ts +9 -9
  347. package/lib/utils/getAmount.js +1 -0
  348. package/{dist → lib}/utils/getCurrentItemKey.d.ts +6 -6
  349. package/lib/utils/getCurrentItemKey.js +1 -0
  350. package/lib/utils/getErrors.d.ts +11 -0
  351. package/lib/utils/getErrors.js +1 -0
  352. package/lib/utils/getLineItemsCount.d.ts +12 -0
  353. package/lib/utils/getLineItemsCount.js +1 -0
  354. package/{dist → lib}/utils/getLoaderComponent.d.ts +3 -3
  355. package/lib/utils/getLoaderComponent.js +1 -0
  356. package/lib/utils/getPrices.d.ts +17 -0
  357. package/lib/utils/getPrices.js +1 -0
  358. package/lib/utils/getSdk.d.ts +3 -0
  359. package/lib/utils/getSdk.js +1 -0
  360. package/lib/utils/getSkus.d.ts +3 -0
  361. package/lib/utils/getSkus.js +1 -0
  362. package/lib/utils/isEmptyStates.d.ts +1 -0
  363. package/lib/utils/isEmptyStates.js +1 -0
  364. package/{dist → lib}/utils/isJSON.d.ts +1 -1
  365. package/lib/utils/isJSON.js +1 -0
  366. package/lib/utils/jwt.d.ts +27 -0
  367. package/lib/utils/jwt.js +1 -0
  368. package/lib/utils/localStorage.d.ts +17 -0
  369. package/lib/utils/localStorage.js +1 -0
  370. package/lib/utils/organization.d.ts +6 -0
  371. package/lib/utils/organization.js +1 -0
  372. package/lib/utils/paypalPayment.d.ts +3 -0
  373. package/lib/utils/paypalPayment.js +1 -0
  374. package/lib/utils/promisify.d.ts +1 -0
  375. package/lib/utils/promisify.js +1 -0
  376. package/lib/utils/shipments.d.ts +2 -0
  377. package/lib/utils/shipments.js +1 -0
  378. package/{dist → lib}/utils/validateFormFields.d.ts +20 -19
  379. package/lib/utils/validateFormFields.js +1 -0
  380. package/package.json +95 -81
  381. package/dist/components/CustomerField.d.ts +0 -10
  382. package/dist/components/LineItemImage.d.ts +0 -10
  383. package/dist/components/LineItemName.d.ts +0 -7
  384. package/dist/components/LineItemSkuCode.d.ts +0 -7
  385. package/dist/components/OrderList.d.ts +0 -26
  386. package/dist/components/OrderListRow.d.ts +0 -14
  387. package/dist/components/PaymentGateway.d.ts +0 -11
  388. package/dist/components/ShippingMethodRadioButton.d.ts +0 -9
  389. package/dist/components/utils/BaseInput.d.ts +0 -5
  390. package/dist/context/LineItemChildrenContext.d.ts +0 -7
  391. package/dist/context/OrderContext.d.ts +0 -4
  392. package/dist/context/OrderListChildrenContext.d.ts +0 -14
  393. package/dist/context/ShipmentChildrenContext.d.ts +0 -13
  394. package/dist/context/ShippingMethodChildrenContext.d.ts +0 -9
  395. package/dist/context/SkuListsContext.d.ts +0 -3
  396. package/dist/index.d.ts +0 -89
  397. package/dist/index.js +0 -8
  398. package/dist/react-components.cjs.development.js +0 -12693
  399. package/dist/react-components.cjs.development.js.map +0 -1
  400. package/dist/react-components.cjs.production.min.js +0 -2
  401. package/dist/react-components.cjs.production.min.js.map +0 -1
  402. package/dist/react-components.esm.js +0 -12597
  403. package/dist/react-components.esm.js.map +0 -1
  404. package/dist/reducers/AvailabilityReducer.d.ts +0 -40
  405. package/dist/reducers/OrderReducer.d.ts +0 -131
  406. package/dist/typings/order.d.ts +0 -120
  407. package/dist/utils/dynamicNaming.d.ts +0 -5
  408. package/dist/utils/getErrorsByCollection.d.ts +0 -11
  409. package/dist/utils/getLineItemsCount.d.ts +0 -6
  410. package/dist/utils/getPrices.d.ts +0 -18
  411. package/dist/utils/getSkus.d.ts +0 -3
  412. package/dist/utils/icons.d.ts +0 -3
  413. package/dist/utils/isDate.d.ts +0 -1
  414. package/dist/utils/localStorage.d.ts +0 -12
  415. package/dist/utils/paypalPayment.d.ts +0 -3
  416. package/dist/utils/scrollbarWidth.d.ts +0 -1
  417. package/dist/utils/shipments.d.ts +0 -5
@@ -1,865 +1,892 @@
1
- /// <reference types="react" />
2
- import PropTypes from 'prop-types';
3
- import { TimeFormat, BaseInputType, GiftCardInputName, LineItemType, BasePriceType, BaseFormatPrice, BaseSelectorType, AddressInputName, AddressCountrySelectName } from "../typings/index";
4
- import { DeliveryLeadTimeField } from '../components/DeliveryLeadTime';
5
- import { StockTransferFieldType } from "../components/StockTransferField";
6
- import { PaymentSourceDetailType } from "../components/PaymentSourceDetail";
7
- import { CodeType } from "../reducers/OrderReducer";
8
- import { ShipmentAttribute } from "../components/ShipmentField";
9
- declare const components: {
10
- Address: {
11
- permittedChildren: string[];
12
- displayName: string;
13
- propTypes: {
14
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
15
- };
16
- };
17
- AddressCountrySelector: {
18
- displayName: string;
19
- propTypes: {
20
- children: PropTypes.Requireable<(...args: any[]) => any>;
21
- placeholder: PropTypes.Requireable<PropTypes.InferProps<{
22
- label: PropTypes.Validator<string>;
23
- value: PropTypes.Validator<string | number>;
24
- }>>;
25
- value: PropTypes.Requireable<string>;
26
- name: PropTypes.Validator<AddressCountrySelectName>;
27
- required: PropTypes.Requireable<boolean>;
28
- };
29
- defaultProps: {
30
- required: boolean;
31
- };
32
- };
33
- AddressField: {
34
- displayName: string;
35
- propTypes: {
36
- children: PropTypes.Requireable<(...args: any[]) => any>;
37
- };
38
- };
39
- AddressInput: {
40
- displayName: string;
41
- propTypes: {
42
- children: PropTypes.Requireable<(...args: any[]) => any>;
43
- name: PropTypes.Validator<AddressInputName>;
44
- type: PropTypes.Validator<BaseInputType>;
45
- placeholder: PropTypes.Requireable<string>;
46
- disabled: PropTypes.Requireable<boolean>;
47
- required: PropTypes.Requireable<boolean>;
48
- };
49
- defaultProps: {
50
- required: boolean;
51
- };
52
- };
53
- AddToCartButton: {
54
- displayName: string;
55
- propTypes: {
56
- children: PropTypes.Requireable<(...args: any[]) => any>;
57
- label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
58
- skuCode: PropTypes.Requireable<string>;
59
- disabled: PropTypes.Requireable<boolean>;
60
- lineItem: PropTypes.Requireable<PropTypes.InferProps<{
61
- name: PropTypes.Validator<string>;
62
- imageUrl: PropTypes.Requireable<string>;
63
- }>>;
64
- };
65
- defaultProps: {
66
- label: string;
67
- };
68
- };
69
- AddressesContainer: {
70
- displayName: string;
71
- permittedChildren: string[];
72
- propTypes: {
73
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
74
- shipToDifferentAddress: PropTypes.Requireable<boolean>;
75
- };
76
- };
77
- AvailabilityContainer: {
78
- displayName: string;
79
- permittedChildren: string[];
80
- propTypes: {
81
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
82
- skuCode: PropTypes.Requireable<string>;
83
- };
84
- };
85
- AvailabilityTemplate: {
86
- displayName: string;
87
- propTypes: {
88
- timeFormat: PropTypes.Requireable<TimeFormat>;
89
- showShippingMethodName: PropTypes.Requireable<boolean>;
90
- children: PropTypes.Requireable<(...args: any[]) => any>;
91
- };
92
- defaultProps: {
93
- timeFormat: string;
94
- showShippingMethodName: boolean;
95
- };
96
- };
97
- BillingAddressContainer: {
98
- permittedChildren: string[];
99
- propTypes: {
100
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
101
- };
102
- };
103
- BillingAddressForm: {
104
- permittedChildren: string[];
105
- propTypes: {
106
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
107
- };
108
- };
109
- CheckoutLink: {
110
- displayName: string;
111
- propTypes: {
112
- children: PropTypes.Requireable<(...args: any[]) => any>;
113
- label: PropTypes.Requireable<string>;
114
- };
115
- defaultProps: {
116
- label: string;
117
- };
118
- };
119
- CommerceLayer: {
120
- permittedChildren: string[];
121
- propTypes: {
122
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
123
- accessToken: PropTypes.Validator<string>;
124
- endpoint: PropTypes.Validator<string>;
125
- };
126
- };
127
- CustomerContainer: {
128
- displayName: string;
129
- permittedChildren: string[];
130
- propTypes: {
131
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
132
- isGuest: PropTypes.Requireable<boolean>;
133
- };
134
- };
135
- CustomerField: {
136
- displayName: string;
137
- propTypes: {
138
- children: PropTypes.Requireable<(...args: any[]) => any>;
139
- name: PropTypes.Validator<"email">;
140
- };
141
- };
142
- CustomerInput: {
143
- displayName: string;
144
- propTypes: {
145
- children: PropTypes.Requireable<(...args: any[]) => any>;
146
- name: PropTypes.Requireable<string>;
147
- type: PropTypes.Requireable<string>;
148
- placeholder: PropTypes.Requireable<string>;
149
- disabled: PropTypes.Requireable<boolean>;
150
- required: PropTypes.Requireable<boolean>;
151
- saveOnBlur: PropTypes.Requireable<boolean>;
152
- };
153
- defaultProps: {
154
- required: boolean;
155
- };
156
- };
157
- DeliveryLeadTime: {
158
- displayName: string;
159
- propTypes: {
160
- type: PropTypes.Validator<DeliveryLeadTimeField>;
161
- children: PropTypes.Requireable<(...args: any[]) => any>;
162
- };
163
- };
164
- DiscountAmount: {
165
- displayName: string;
166
- propTypes: {
167
- id: PropTypes.Requireable<string>;
168
- className: PropTypes.Requireable<string>;
169
- style: PropTypes.Requireable<object>;
170
- name: PropTypes.Requireable<string>;
171
- children: PropTypes.Requireable<(...args: any[]) => any>;
172
- format: PropTypes.Requireable<BaseFormatPrice>;
173
- };
174
- defaultProps: {
175
- format: BaseFormatPrice;
176
- };
177
- };
178
- Errors: {
179
- displayName: string;
180
- propTypes: {
181
- resource: PropTypes.Validator<import("../typings/errors").ResourceErrorType>;
182
- children: PropTypes.Requireable<(...args: any[]) => any>;
183
- field: PropTypes.Requireable<string>;
184
- };
185
- defaultProps: {
186
- messages: never[];
187
- field: string;
188
- };
189
- };
190
- ExternalFunction: {
191
- displayName: string;
192
- permittedChildren: string[];
193
- propTypes: {
194
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
195
- url: PropTypes.Validator<string>;
196
- };
197
- };
198
- GiftCard: {
199
- permittedChildren: string[];
200
- displayName: string;
201
- propTypes: {
202
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
203
- onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
204
- };
205
- defaultProps: {
206
- onSubmit: undefined;
207
- };
208
- };
209
- GiftCardAmount: {
210
- displayName: string;
211
- propTypes: {
212
- id: PropTypes.Requireable<string>;
213
- className: PropTypes.Requireable<string>;
214
- style: PropTypes.Requireable<object>;
215
- name: PropTypes.Requireable<string>;
216
- children: PropTypes.Requireable<(...args: any[]) => any>;
217
- format: PropTypes.Requireable<BaseFormatPrice>;
218
- };
219
- };
220
- GiftCardContainer: {
221
- permittedChildren: string[];
222
- displayName: string;
223
- propTypes: {
224
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
225
- };
226
- };
227
- GiftCardCurrencySelector: {
228
- displayName: string;
229
- propTypes: {
230
- children: PropTypes.Requireable<(...args: any[]) => any>;
231
- placeholder: PropTypes.Requireable<PropTypes.InferProps<{
232
- value: PropTypes.Validator<string | number>;
233
- label: PropTypes.Validator<string>;
234
- }>>;
235
- value: PropTypes.Requireable<string>;
236
- required: PropTypes.Requireable<boolean>;
237
- };
238
- defaultProps: {
239
- required: boolean;
240
- };
241
- };
242
- GiftCardInput: {
243
- displayName: string;
244
- propTypes: {
245
- type: PropTypes.Validator<BaseInputType>;
246
- name: PropTypes.Validator<GiftCardInputName>;
247
- children: PropTypes.Requireable<(...args: any[]) => any>;
248
- placeholder: PropTypes.Requireable<string>;
249
- };
250
- };
251
- GiftCardOrCouponForm: {
252
- permittedChildren: string[];
253
- propTypes: {
254
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
255
- };
256
- };
257
- GiftCardOrCouponInput: {
258
- displayName: string;
259
- propTypes: {
260
- children: PropTypes.Requireable<(...args: any[]) => any>;
261
- placeholder: PropTypes.Requireable<string>;
262
- disabled: PropTypes.Requireable<boolean>;
263
- required: PropTypes.Requireable<boolean>;
264
- };
265
- };
266
- GiftCardOrCouponSubmit: {
267
- displayName: string;
268
- propTypes: {
269
- children: PropTypes.Requireable<(...args: any[]) => any>;
270
- label: PropTypes.Requireable<string | object>;
271
- };
272
- };
273
- GiftCardOrCouponCode: {
274
- displayName: string;
275
- propTypes: {
276
- children: PropTypes.Requireable<(...args: any[]) => any>;
277
- type: PropTypes.Requireable<CodeType>;
278
- };
279
- };
280
- GiftCardOrCouponRemoveButton: {
281
- displayName: string;
282
- propTypes: {
283
- children: PropTypes.Requireable<(...args: any[]) => any>;
284
- type: PropTypes.Requireable<CodeType>;
285
- label: PropTypes.Requireable<string | object>;
286
- };
287
- };
288
- ItemContainer: {
289
- permittedChildren: string[];
290
- displayName: string;
291
- propTypes: {
292
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
293
- skuCode: PropTypes.Requireable<string>;
294
- lineItem: PropTypes.Requireable<PropTypes.InferProps<{
295
- name: PropTypes.Validator<string>;
296
- imageUrl: PropTypes.Requireable<string>;
297
- }>>;
298
- };
299
- };
300
- LineItem: {
301
- permittedChildren: string[];
302
- displayName: string;
303
- propTypes: {
304
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
305
- type: PropTypes.Requireable<LineItemType>;
306
- };
307
- defaultProps: {
308
- type: string;
309
- };
310
- };
311
- LineItemAmount: {
312
- displayName: string;
313
- propTypes: {
314
- type: PropTypes.Requireable<BasePriceType>;
315
- id: PropTypes.Requireable<string>;
316
- className: PropTypes.Requireable<string>;
317
- style: PropTypes.Requireable<object>;
318
- name: PropTypes.Requireable<string>;
319
- children: PropTypes.Requireable<(...args: any[]) => any>;
320
- format: PropTypes.Requireable<BaseFormatPrice>;
321
- };
322
- defaultProps: {
323
- format: string;
324
- type: string;
325
- };
326
- };
327
- LineItemImage: {
328
- displayName: string;
329
- propTypes: {
330
- width: PropTypes.Requireable<number>;
331
- children: PropTypes.Requireable<(...args: any[]) => any>;
332
- };
333
- };
334
- LineItemName: {
335
- displayName: string;
336
- propTypes: {
337
- children: PropTypes.Requireable<(...args: any[]) => any>;
338
- };
339
- };
340
- LineItemSkuCode: {
341
- displayName: string;
342
- propTypes: {
343
- children: PropTypes.Requireable<(...args: any[]) => any>;
344
- };
345
- };
346
- LineItemOption: {
347
- displayName: string;
348
- propTypes: {
349
- name: PropTypes.Requireable<string>;
350
- children: PropTypes.Requireable<(...args: any[]) => any>;
351
- valueClassName: PropTypes.Requireable<string>;
352
- className: PropTypes.Requireable<string>;
353
- id: PropTypes.Requireable<string>;
354
- style: PropTypes.Requireable<object>;
355
- };
356
- };
357
- LineItemOptions: {
358
- permittedChildren: string[];
359
- displayName: string;
360
- propTypes: {
361
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
362
- title: PropTypes.Requireable<string>;
363
- showName: PropTypes.Requireable<boolean>;
364
- skuOptionId: PropTypes.Requireable<string>;
365
- };
366
- };
367
- LineItemQuantity: {
368
- displayName: string;
369
- propTypes: {
370
- children: PropTypes.Requireable<(...args: any[]) => any>;
371
- max: PropTypes.Requireable<number>;
372
- disabled: PropTypes.Requireable<boolean>;
373
- readonly: PropTypes.Requireable<boolean>;
374
- };
375
- defaultProps: {
376
- max: number;
377
- };
378
- };
379
- LineItemRemoveLink: {
380
- displayName: string;
381
- propTypes: {
382
- children: PropTypes.Requireable<(...args: any[]) => any>;
383
- label: PropTypes.Requireable<string>;
384
- };
385
- defaultProps: {
386
- label: string;
387
- };
388
- };
389
- LineItemsContainer: {
390
- permittedChildren: string[];
391
- displayName: string;
392
- propTypes: {
393
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
394
- filters: PropTypes.Requireable<object>;
395
- loader: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
396
- };
397
- defaultProps: {
398
- filters: {};
399
- loader: string;
400
- };
401
- };
402
- LineItemsCount: {
403
- displayName: string;
404
- propTypes: {
405
- children: PropTypes.Requireable<(...args: any[]) => any>;
406
- id: PropTypes.Requireable<string>;
407
- className: PropTypes.Requireable<string>;
408
- name: PropTypes.Requireable<string>;
409
- style: PropTypes.Requireable<object>;
410
- };
411
- };
412
- MetadataInput: {
413
- displayName: string;
414
- propTypes: {
415
- children: PropTypes.Requireable<(...args: any[]) => any>;
416
- name: PropTypes.Validator<string>;
417
- type: PropTypes.Validator<BaseInputType>;
418
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
419
- placeholder: PropTypes.Requireable<string>;
420
- };
421
- };
422
- OrderContainer: {
423
- permittedChildren: string[];
424
- displayName: string;
425
- propTypes: {
426
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
427
- orderId: PropTypes.Requireable<string>;
428
- metadata: PropTypes.Requireable<{
429
- [x: string]: string | null | undefined;
430
- }>;
431
- attributes: PropTypes.Requireable<object>;
432
- };
433
- defaultProps: {
434
- metadata: {};
435
- };
436
- };
437
- OrderList: {
438
- permittedChildren: string[];
439
- displayName: string;
440
- propTypes: {
441
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
442
- };
443
- };
444
- OrderNumber: {
445
- displayName: string;
446
- propTypes: {
447
- className: PropTypes.Requireable<string>;
448
- };
449
- defaultProps: {
450
- format: BaseFormatPrice;
451
- };
452
- };
453
- OrderStorage: {
454
- permittedChildren: string[];
455
- displayName: string;
456
- propTypes: {
457
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
458
- clearWhenPlaced: PropTypes.Requireable<boolean>;
459
- persistKey: PropTypes.Validator<string>;
460
- };
461
- };
462
- PaymentMethod: {
463
- permittedChildren: string[];
464
- displayName: string;
465
- propTypes: {
466
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
467
- };
468
- };
469
- PaymentMethodAmount: {
470
- displayName: string;
471
- propTypes: {
472
- id: PropTypes.Requireable<string>;
473
- className: PropTypes.Requireable<string>;
474
- style: PropTypes.Requireable<object>;
475
- name: PropTypes.Requireable<string>;
476
- children: PropTypes.Requireable<(...args: any[]) => any>;
477
- format: PropTypes.Requireable<BaseFormatPrice>;
478
- };
479
- defaultProps: {
480
- format: BaseFormatPrice;
481
- };
482
- };
483
- PaymentMethodName: {
484
- displayName: string;
485
- propTypes: {
486
- children: PropTypes.Requireable<(...args: any[]) => any>;
487
- };
488
- };
489
- PaymentMethodPrice: {
490
- displayName: string;
491
- propTypes: {
492
- type: PropTypes.Requireable<"amount">;
493
- id: PropTypes.Requireable<string>;
494
- className: PropTypes.Requireable<string>;
495
- style: PropTypes.Requireable<object>;
496
- name: PropTypes.Requireable<string>;
497
- children: PropTypes.Requireable<(...args: any[]) => any>;
498
- format: PropTypes.Requireable<BaseFormatPrice>;
499
- };
500
- };
501
- PaymentMethodRadioButton: {
502
- displayName: string;
503
- propTypes: {
504
- children: PropTypes.Requireable<(...args: any[]) => any>;
505
- };
506
- };
507
- PaymentMethodsContainer: {
508
- displayName: string;
509
- permittedChildren: string[];
510
- propTypes: {
511
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
512
- };
513
- };
514
- PaymentSource: {
515
- displayName: string;
516
- permittedChildren: string[];
517
- propTypes: {
518
- children: PropTypes.Requireable<import("react").ReactNode>;
519
- readonly: PropTypes.Requireable<boolean>;
520
- };
521
- };
522
- PaymentSourceBrandIcon: {
523
- displayName: string;
524
- propTypes: {
525
- children: PropTypes.Requireable<(...args: any[]) => any>;
526
- width: PropTypes.Requireable<number>;
527
- height: PropTypes.Requireable<number>;
528
- src: PropTypes.Requireable<string>;
529
- className: PropTypes.Requireable<string>;
530
- };
531
- };
532
- PaymentSourceBrandName: {
533
- displayName: string;
534
- propTypes: {
535
- children: PropTypes.Requireable<(...args: any[]) => any>;
536
- label: PropTypes.Requireable<string>;
537
- };
538
- };
539
- PaymentSourceEditButton: {
540
- displayName: string;
541
- propTypes: {
542
- children: PropTypes.Requireable<(...args: any[]) => any>;
543
- label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
544
- };
545
- };
546
- PaymentSourceDetail: {
547
- displayName: string;
548
- propTypes: {
549
- type: PropTypes.Validator<PaymentSourceDetailType>;
550
- };
551
- };
552
- PlaceOrderButton: {
553
- displayName: string;
554
- propTypes: {
555
- children: PropTypes.Requireable<(...args: any[]) => any>;
556
- label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
557
- };
558
- defaultProps: {
559
- label: string;
560
- };
561
- };
562
- PlaceOrderContainer: {
563
- displayName: string;
564
- permittedChildren: string[];
565
- propTypes: {
566
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
567
- };
568
- };
569
- Price: {
570
- displayName: string;
571
- propTypes: {
572
- children: PropTypes.Requireable<(...args: any[]) => any>;
573
- compareClassName: PropTypes.Requireable<string>;
574
- skuCode: PropTypes.Requireable<string>;
575
- showCompare: PropTypes.Requireable<boolean>;
576
- };
577
- defaultProps: {
578
- skuCode: string;
579
- };
580
- };
581
- PricesContainer: {
582
- permittedChildren: string[];
583
- displayName: string;
584
- propTypes: {
585
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
586
- skuCode: PropTypes.Requireable<string>;
587
- loader: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
588
- perPage: PropTypes.Requireable<number>;
589
- filters: PropTypes.Requireable<object>;
590
- };
591
- defaultProps: {
592
- perPage: number;
593
- filters: {};
594
- loader: string;
595
- skuCode: string;
596
- };
597
- };
598
- PrivacyAndTermsCheckbox: {
599
- displayName: string;
600
- propTypes: {
601
- children: PropTypes.Requireable<(...args: any[]) => any>;
602
- };
603
- };
604
- QuantitySelector: {
605
- displayName: string;
606
- propTypes: {
607
- children: PropTypes.Requireable<(...args: any[]) => any>;
608
- min: PropTypes.Requireable<number>;
609
- max: PropTypes.Requireable<number>;
610
- value: PropTypes.Requireable<string>;
611
- skuCode: PropTypes.Requireable<string>;
612
- disabled: PropTypes.Requireable<boolean>;
613
- };
614
- defaultProps: {
615
- min: number;
616
- };
617
- };
618
- SaveAddressesButton: {
619
- displayName: string;
620
- propTypes: {
621
- children: PropTypes.Requireable<(...args: any[]) => any>;
622
- label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
623
- onClick: PropTypes.Requireable<(...args: any[]) => any>;
624
- disabled: PropTypes.Requireable<boolean>;
625
- };
626
- defaultProps: {
627
- label: string;
628
- };
629
- };
630
- Shipment: {
631
- permittedChildren: string[];
632
- displayName: string;
633
- propTypes: {
634
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
635
- };
636
- };
637
- ShipmentField: {
638
- displayName: string;
639
- propTypes: {
640
- children: PropTypes.Requireable<(...args: any[]) => any>;
641
- name: PropTypes.Validator<ShipmentAttribute>;
642
- };
643
- };
644
- ShipmentsContainer: {
645
- displayName: string;
646
- permittedChildren: string[];
647
- propTypes: {
648
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
649
- };
650
- };
651
- ShippingAddressContainer: {
652
- permittedChildren: string[];
653
- propTypes: {
654
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
655
- };
656
- };
657
- SaveCustomerButton: {
658
- displayName: string;
659
- propTypes: {
660
- children: PropTypes.Requireable<(...args: any[]) => any>;
661
- label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
662
- onClick: PropTypes.Requireable<(...args: any[]) => any>;
663
- };
664
- defaultProps: {
665
- label: string;
666
- };
667
- };
668
- ShippingAddressForm: {
669
- permittedChildren: string[];
670
- propTypes: {
671
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
672
- };
673
- };
674
- ShippingAmount: {
675
- displayName: string;
676
- propTypes: {
677
- id: PropTypes.Requireable<string>;
678
- className: PropTypes.Requireable<string>;
679
- style: PropTypes.Requireable<object>;
680
- name: PropTypes.Requireable<string>;
681
- children: PropTypes.Requireable<(...args: any[]) => any>;
682
- format: PropTypes.Requireable<BaseFormatPrice>;
683
- };
684
- };
685
- ShippingMethod: {
686
- permittedChildren: string[];
687
- displayName: string;
688
- propTypes: {
689
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
690
- readonly: PropTypes.Requireable<boolean>;
691
- };
692
- };
693
- ShippingMethodName: {
694
- displayName: string;
695
- propTypes: {
696
- children: PropTypes.Requireable<(...args: any[]) => any>;
697
- };
698
- };
699
- ShippingMethodRadioButton: {
700
- displayName: string;
701
- propTypes: {
702
- children: PropTypes.Requireable<(...args: any[]) => any>;
703
- };
704
- };
705
- ShippingMethodPrice: {
706
- displayName: string;
707
- propTypes: {
708
- type: PropTypes.Requireable<"amount">;
709
- id: PropTypes.Requireable<string>;
710
- className: PropTypes.Requireable<string>;
711
- style: PropTypes.Requireable<object>;
712
- name: PropTypes.Requireable<string>;
713
- children: PropTypes.Requireable<(...args: any[]) => any>;
714
- format: PropTypes.Requireable<BaseFormatPrice>;
715
- };
716
- defaultProps: {
717
- format: string;
718
- type: string;
719
- };
720
- };
721
- SkuList: {
722
- permittedChildren: string[];
723
- displayName: string;
724
- propTypes: {
725
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
726
- id: PropTypes.Validator<string>;
727
- };
728
- };
729
- SkuListsContainer: {
730
- permittedChildren: string[];
731
- displayName: string;
732
- propTypes: {
733
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
734
- };
735
- };
736
- SkuOption: {
737
- permittedChildren: string[];
738
- displayName: string;
739
- propTypes: {
740
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
741
- id: PropTypes.Validator<string>;
742
- };
743
- };
744
- SkuOptionInput: {
745
- displayName: string;
746
- propTypes: {
747
- children: PropTypes.Requireable<(...args: any[]) => any>;
748
- name: PropTypes.Validator<string>;
749
- type: PropTypes.Validator<BaseInputType>;
750
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
751
- placeholder: PropTypes.Requireable<string>;
752
- };
753
- };
754
- SkuOptionsContainer: {
755
- permittedChildren: string[];
756
- displayName: string;
757
- propTypes: {
758
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
759
- skuCode: PropTypes.Requireable<string>;
760
- };
761
- };
762
- StockTransfer: {
763
- permittedChildren: string[];
764
- displayName: string;
765
- propTypes: {
766
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
767
- };
768
- };
769
- StockTransferField: {
770
- displayName: string;
771
- propTypes: {
772
- children: PropTypes.Requireable<(...args: any[]) => any>;
773
- type: PropTypes.Validator<StockTransferFieldType>;
774
- };
775
- };
776
- SubmitButton: {
777
- displayName: string;
778
- propTypes: {
779
- children: PropTypes.Requireable<(...args: any[]) => any>;
780
- label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
781
- };
782
- defaultProps: {
783
- label: string;
784
- };
785
- };
786
- SubTotalAmount: {
787
- displayName: string;
788
- propTypes: {
789
- id: PropTypes.Requireable<string>;
790
- className: PropTypes.Requireable<string>;
791
- style: PropTypes.Requireable<object>;
792
- name: PropTypes.Requireable<string>;
793
- children: PropTypes.Requireable<(...args: any[]) => any>;
794
- format: PropTypes.Requireable<BaseFormatPrice>;
795
- };
796
- defaultProps: {
797
- format: BaseFormatPrice;
798
- };
799
- };
800
- TaxesAmount: {
801
- displayName: string;
802
- propTypes: {
803
- id: PropTypes.Requireable<string>;
804
- className: PropTypes.Requireable<string>;
805
- style: PropTypes.Requireable<object>;
806
- name: PropTypes.Requireable<string>;
807
- children: PropTypes.Requireable<(...args: any[]) => any>;
808
- format: PropTypes.Requireable<BaseFormatPrice>;
809
- };
810
- defaultProps: {
811
- format: BaseFormatPrice;
812
- };
813
- };
814
- TotalAmount: {
815
- displayName: string;
816
- propTypes: {
817
- id: PropTypes.Requireable<string>;
818
- className: PropTypes.Requireable<string>;
819
- style: PropTypes.Requireable<object>;
820
- name: PropTypes.Requireable<string>;
821
- children: PropTypes.Requireable<(...args: any[]) => any>;
822
- format: PropTypes.Requireable<BaseFormatPrice>;
823
- };
824
- defaultProps: {
825
- format: BaseFormatPrice;
826
- };
827
- };
828
- VariantsContainer: {
829
- permittedChildren: string[];
830
- displayName: string;
831
- propTypes: {
832
- children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
833
- skuCode: PropTypes.Requireable<string>;
834
- filters: PropTypes.Requireable<object>;
835
- };
836
- defaultProps: {
837
- skuCode: string;
838
- filters: {};
839
- };
840
- };
841
- VariantSelector: {
842
- displayName: string;
843
- propTypes: {
844
- options: PropTypes.Validator<PropTypes.InferProps<{
845
- label: PropTypes.Validator<string>;
846
- code: PropTypes.Validator<string>;
847
- lineItem: PropTypes.Requireable<PropTypes.InferProps<{
848
- name: PropTypes.Validator<string>;
849
- imageUrl: PropTypes.Requireable<string>;
850
- }>>;
851
- }>[]>;
852
- name: PropTypes.Requireable<string>;
853
- children: PropTypes.Requireable<(...args: any[]) => any>;
854
- type: PropTypes.Requireable<BaseSelectorType>;
855
- loader: PropTypes.Requireable<PropTypes.ReactElementLike>;
856
- placeholder: PropTypes.Requireable<string>;
857
- skuCode: PropTypes.Requireable<string>;
858
- };
859
- defaultProps: {
860
- placeholder: string;
861
- type: BaseSelectorType;
862
- };
863
- };
864
- };
865
- export default components;
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ import { TimeFormat, BaseInputType, GiftCardInputName, LineItemType, BasePriceType, BaseFormatPrice, BaseSelectorType, AddressInputName, AddressCountrySelectName, AddressStateSelectName } from '../typings/index';
4
+ import { DeliveryLeadTimeField } from '../components/DeliveryLeadTime';
5
+ import { StockTransferFieldType } from '../components/StockTransferField';
6
+ import { PaymentSourceDetailType } from '../components/PaymentSourceDetail';
7
+ import { CodeType } from '../reducers/OrderReducer';
8
+ import { ShipmentAttribute } from '../components/ShipmentField';
9
+ declare const components: {
10
+ Address: {
11
+ permittedChildren: string[];
12
+ displayName: string;
13
+ propTypes: {
14
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
15
+ };
16
+ };
17
+ AddressCountrySelector: {
18
+ displayName: string;
19
+ propTypes: {
20
+ children: PropTypes.Requireable<(...args: any[]) => any>;
21
+ placeholder: PropTypes.Requireable<PropTypes.InferProps<{
22
+ label: PropTypes.Validator<string>;
23
+ value: PropTypes.Validator<string | number>;
24
+ }>>;
25
+ value: PropTypes.Requireable<string>;
26
+ name: PropTypes.Validator<AddressCountrySelectName>;
27
+ required: PropTypes.Requireable<boolean>;
28
+ };
29
+ defaultProps: {
30
+ required: boolean;
31
+ };
32
+ };
33
+ AddressStateSelector: {
34
+ displayName: string;
35
+ propTypes: {
36
+ children: PropTypes.Requireable<(...args: any[]) => any>;
37
+ placeholder: PropTypes.Requireable<PropTypes.InferProps<{
38
+ label: PropTypes.Validator<string>;
39
+ value: PropTypes.Validator<string | number>;
40
+ }>>;
41
+ value: PropTypes.Requireable<string>;
42
+ name: PropTypes.Validator<AddressStateSelectName>;
43
+ required: PropTypes.Requireable<boolean>;
44
+ };
45
+ defaultProps: {
46
+ required: boolean;
47
+ };
48
+ };
49
+ AddressField: {
50
+ displayName: string;
51
+ propTypes: {
52
+ children: PropTypes.Requireable<(...args: any[]) => any>;
53
+ };
54
+ };
55
+ AddressInput: {
56
+ displayName: string;
57
+ propTypes: {
58
+ children: PropTypes.Requireable<(...args: any[]) => any>;
59
+ name: PropTypes.Validator<AddressInputName>;
60
+ type: PropTypes.Validator<BaseInputType>;
61
+ placeholder: PropTypes.Requireable<string>;
62
+ disabled: PropTypes.Requireable<boolean>;
63
+ required: PropTypes.Requireable<boolean>;
64
+ };
65
+ defaultProps: {
66
+ required: boolean;
67
+ };
68
+ };
69
+ AdjustmentAmount: {
70
+ displayName: string;
71
+ propTypes: {
72
+ id: PropTypes.Requireable<string>;
73
+ className: PropTypes.Requireable<string>;
74
+ style: PropTypes.Requireable<object>;
75
+ name: PropTypes.Requireable<string>;
76
+ children: PropTypes.Requireable<(...args: any[]) => any>;
77
+ format: PropTypes.Requireable<BaseFormatPrice>;
78
+ };
79
+ defaultProps: {
80
+ format: BaseFormatPrice;
81
+ };
82
+ };
83
+ AddToCartButton: {
84
+ displayName: string;
85
+ propTypes: {
86
+ children: PropTypes.Requireable<(...args: any[]) => any>;
87
+ label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
88
+ skuCode: PropTypes.Requireable<string>;
89
+ disabled: PropTypes.Requireable<boolean>;
90
+ lineItem: PropTypes.Requireable<PropTypes.InferProps<{
91
+ name: PropTypes.Validator<string>;
92
+ imageUrl: PropTypes.Requireable<string>;
93
+ }>>;
94
+ };
95
+ defaultProps: {
96
+ label: string;
97
+ };
98
+ };
99
+ AddressesContainer: {
100
+ displayName: string;
101
+ permittedChildren: string[];
102
+ propTypes: {
103
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
104
+ shipToDifferentAddress: PropTypes.Requireable<boolean>;
105
+ };
106
+ };
107
+ AvailabilityContainer: {
108
+ displayName: string;
109
+ permittedChildren: string[];
110
+ propTypes: {
111
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
112
+ skuCode: PropTypes.Requireable<string>;
113
+ };
114
+ };
115
+ AvailabilityTemplate: {
116
+ displayName: string;
117
+ propTypes: {
118
+ timeFormat: PropTypes.Requireable<TimeFormat>;
119
+ showShippingMethodName: PropTypes.Requireable<boolean>;
120
+ children: PropTypes.Requireable<(...args: any[]) => any>;
121
+ };
122
+ defaultProps: {
123
+ timeFormat: string;
124
+ showShippingMethodName: boolean;
125
+ };
126
+ };
127
+ BillingAddressContainer: {
128
+ permittedChildren: string[];
129
+ propTypes: {
130
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
131
+ };
132
+ };
133
+ BillingAddressForm: {
134
+ permittedChildren: string[];
135
+ propTypes: {
136
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
137
+ };
138
+ };
139
+ CheckoutLink: {
140
+ displayName: string;
141
+ propTypes: {
142
+ children: PropTypes.Requireable<(...args: any[]) => any>;
143
+ label: PropTypes.Requireable<string>;
144
+ };
145
+ defaultProps: {
146
+ label: string;
147
+ };
148
+ };
149
+ CommerceLayer: {
150
+ permittedChildren: string[];
151
+ propTypes: {
152
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
153
+ accessToken: PropTypes.Validator<string>;
154
+ endpoint: PropTypes.Validator<string>;
155
+ };
156
+ };
157
+ CustomerContainer: {
158
+ displayName: string;
159
+ permittedChildren: string[];
160
+ propTypes: {
161
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
162
+ isGuest: PropTypes.Requireable<boolean>;
163
+ };
164
+ };
165
+ CustomerInput: {
166
+ displayName: string;
167
+ propTypes: {
168
+ children: PropTypes.Requireable<(...args: any[]) => any>;
169
+ name: PropTypes.Requireable<string>;
170
+ type: PropTypes.Requireable<string>;
171
+ placeholder: PropTypes.Requireable<string>;
172
+ disabled: PropTypes.Requireable<boolean>;
173
+ required: PropTypes.Requireable<boolean>;
174
+ saveOnBlur: PropTypes.Requireable<boolean>;
175
+ };
176
+ defaultProps: {
177
+ required: boolean;
178
+ };
179
+ };
180
+ DeliveryLeadTime: {
181
+ displayName: string;
182
+ propTypes: {
183
+ type: PropTypes.Validator<DeliveryLeadTimeField>;
184
+ children: PropTypes.Requireable<(...args: any[]) => any>;
185
+ };
186
+ };
187
+ DiscountAmount: {
188
+ displayName: string;
189
+ propTypes: {
190
+ id: PropTypes.Requireable<string>;
191
+ className: PropTypes.Requireable<string>;
192
+ style: PropTypes.Requireable<object>;
193
+ name: PropTypes.Requireable<string>;
194
+ children: PropTypes.Requireable<(...args: any[]) => any>;
195
+ format: PropTypes.Requireable<BaseFormatPrice>;
196
+ };
197
+ defaultProps: {
198
+ format: BaseFormatPrice;
199
+ };
200
+ };
201
+ Errors: {
202
+ displayName: string;
203
+ propTypes: {
204
+ resource: PropTypes.Validator<import("../typings/errors").ResourceErrorType>;
205
+ children: PropTypes.Requireable<(...args: any[]) => any>;
206
+ field: PropTypes.Requireable<string>;
207
+ };
208
+ defaultProps: {
209
+ messages: never[];
210
+ field: string;
211
+ };
212
+ };
213
+ ExternalFunction: {
214
+ displayName: string;
215
+ permittedChildren: string[];
216
+ propTypes: {
217
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
218
+ url: PropTypes.Validator<string>;
219
+ };
220
+ };
221
+ GiftCard: {
222
+ permittedChildren: string[];
223
+ displayName: string;
224
+ propTypes: {
225
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
226
+ onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
227
+ };
228
+ defaultProps: {
229
+ onSubmit: undefined;
230
+ };
231
+ };
232
+ GiftCardAmount: {
233
+ displayName: string;
234
+ propTypes: {
235
+ id: PropTypes.Requireable<string>;
236
+ className: PropTypes.Requireable<string>;
237
+ style: PropTypes.Requireable<object>;
238
+ name: PropTypes.Requireable<string>;
239
+ children: PropTypes.Requireable<(...args: any[]) => any>;
240
+ format: PropTypes.Requireable<BaseFormatPrice>;
241
+ };
242
+ };
243
+ GiftCardContainer: {
244
+ permittedChildren: string[];
245
+ displayName: string;
246
+ propTypes: {
247
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
248
+ };
249
+ };
250
+ GiftCardCurrencySelector: {
251
+ displayName: string;
252
+ propTypes: {
253
+ children: PropTypes.Requireable<(...args: any[]) => any>;
254
+ placeholder: PropTypes.Requireable<PropTypes.InferProps<{
255
+ value: PropTypes.Validator<string | number>;
256
+ label: PropTypes.Validator<string>;
257
+ }>>;
258
+ value: PropTypes.Requireable<string>;
259
+ required: PropTypes.Requireable<boolean>;
260
+ };
261
+ defaultProps: {
262
+ required: boolean;
263
+ };
264
+ };
265
+ GiftCardInput: {
266
+ displayName: string;
267
+ propTypes: {
268
+ type: PropTypes.Validator<BaseInputType>;
269
+ name: PropTypes.Validator<GiftCardInputName>;
270
+ children: PropTypes.Requireable<(...args: any[]) => any>;
271
+ placeholder: PropTypes.Requireable<string>;
272
+ };
273
+ };
274
+ GiftCardOrCouponForm: {
275
+ permittedChildren: string[];
276
+ propTypes: {
277
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
278
+ };
279
+ };
280
+ GiftCardOrCouponInput: {
281
+ displayName: string;
282
+ propTypes: {
283
+ children: PropTypes.Requireable<(...args: any[]) => any>;
284
+ placeholder: PropTypes.Requireable<string>;
285
+ disabled: PropTypes.Requireable<boolean>;
286
+ required: PropTypes.Requireable<boolean>;
287
+ };
288
+ };
289
+ GiftCardOrCouponSubmit: {
290
+ displayName: string;
291
+ propTypes: {
292
+ children: PropTypes.Requireable<(...args: any[]) => any>;
293
+ label: PropTypes.Requireable<string | object>;
294
+ };
295
+ };
296
+ GiftCardOrCouponCode: {
297
+ displayName: string;
298
+ propTypes: {
299
+ children: PropTypes.Requireable<(...args: any[]) => any>;
300
+ type: PropTypes.Requireable<CodeType>;
301
+ };
302
+ };
303
+ GiftCardOrCouponRemoveButton: {
304
+ displayName: string;
305
+ propTypes: {
306
+ children: PropTypes.Requireable<(...args: any[]) => any>;
307
+ type: PropTypes.Requireable<CodeType>;
308
+ label: PropTypes.Requireable<string | object>;
309
+ };
310
+ };
311
+ ItemContainer: {
312
+ permittedChildren: string[];
313
+ displayName: string;
314
+ propTypes: {
315
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
316
+ skuCode: PropTypes.Requireable<string>;
317
+ lineItem: PropTypes.Requireable<PropTypes.InferProps<{
318
+ name: PropTypes.Validator<string>;
319
+ imageUrl: PropTypes.Requireable<string>;
320
+ }>>;
321
+ };
322
+ };
323
+ LineItem: {
324
+ permittedChildren: string[];
325
+ displayName: string;
326
+ propTypes: {
327
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
328
+ type: PropTypes.Requireable<LineItemType>;
329
+ };
330
+ defaultProps: {
331
+ type: string;
332
+ };
333
+ };
334
+ LineItemAmount: {
335
+ displayName: string;
336
+ propTypes: {
337
+ type: PropTypes.Requireable<BasePriceType>;
338
+ id: PropTypes.Requireable<string>;
339
+ className: PropTypes.Requireable<string>;
340
+ style: PropTypes.Requireable<object>;
341
+ name: PropTypes.Requireable<string>;
342
+ children: PropTypes.Requireable<(...args: any[]) => any>;
343
+ format: PropTypes.Requireable<BaseFormatPrice>;
344
+ };
345
+ defaultProps: {
346
+ format: string;
347
+ type: string;
348
+ };
349
+ };
350
+ LineItemImage: {
351
+ displayName: string;
352
+ propTypes: {
353
+ width: PropTypes.Requireable<number>;
354
+ children: PropTypes.Requireable<(...args: any[]) => any>;
355
+ };
356
+ };
357
+ LineItemName: {
358
+ displayName: string;
359
+ propTypes: {
360
+ children: PropTypes.Requireable<(...args: any[]) => any>;
361
+ };
362
+ };
363
+ LineItemCode: {
364
+ displayName: string;
365
+ propTypes: {
366
+ children: PropTypes.Requireable<(...args: any[]) => any>;
367
+ };
368
+ };
369
+ LineItemOption: {
370
+ displayName: string;
371
+ propTypes: {
372
+ name: PropTypes.Requireable<string>;
373
+ children: PropTypes.Requireable<(...args: any[]) => any>;
374
+ valueClassName: PropTypes.Requireable<string>;
375
+ className: PropTypes.Requireable<string>;
376
+ id: PropTypes.Requireable<string>;
377
+ style: PropTypes.Requireable<object>;
378
+ };
379
+ };
380
+ LineItemOptions: {
381
+ permittedChildren: string[];
382
+ displayName: string;
383
+ propTypes: {
384
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
385
+ title: PropTypes.Requireable<string>;
386
+ showName: PropTypes.Requireable<boolean>;
387
+ skuOptionId: PropTypes.Requireable<string>;
388
+ };
389
+ };
390
+ LineItemQuantity: {
391
+ displayName: string;
392
+ propTypes: {
393
+ children: PropTypes.Requireable<(...args: any[]) => any>;
394
+ max: PropTypes.Requireable<number>;
395
+ disabled: PropTypes.Requireable<boolean>;
396
+ readonly: PropTypes.Requireable<boolean>;
397
+ };
398
+ defaultProps: {
399
+ max: number;
400
+ };
401
+ };
402
+ LineItemRemoveLink: {
403
+ displayName: string;
404
+ propTypes: {
405
+ children: PropTypes.Requireable<(...args: any[]) => any>;
406
+ label: PropTypes.Requireable<string>;
407
+ };
408
+ defaultProps: {
409
+ label: string;
410
+ };
411
+ };
412
+ LineItemsContainer: {
413
+ permittedChildren: string[];
414
+ displayName: string;
415
+ propTypes: {
416
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
417
+ filters: PropTypes.Requireable<object>;
418
+ loader: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
419
+ };
420
+ defaultProps: {
421
+ filters: {};
422
+ loader: string;
423
+ };
424
+ };
425
+ LineItemsCount: {
426
+ displayName: string;
427
+ propTypes: {
428
+ children: PropTypes.Requireable<(...args: any[]) => any>;
429
+ id: PropTypes.Requireable<string>;
430
+ className: PropTypes.Requireable<string>;
431
+ name: PropTypes.Requireable<string>;
432
+ style: PropTypes.Requireable<object>;
433
+ };
434
+ };
435
+ LineItemsEmpty: {
436
+ displayName: string;
437
+ propTypes: {
438
+ children: PropTypes.Requireable<(...args: any[]) => any>;
439
+ id: PropTypes.Requireable<string>;
440
+ className: PropTypes.Requireable<string>;
441
+ name: PropTypes.Requireable<string>;
442
+ style: PropTypes.Requireable<object>;
443
+ text: PropTypes.Requireable<string>;
444
+ };
445
+ };
446
+ MetadataInput: {
447
+ displayName: string;
448
+ propTypes: {
449
+ children: PropTypes.Requireable<(...args: any[]) => any>;
450
+ name: PropTypes.Validator<string>;
451
+ type: PropTypes.Validator<BaseInputType>;
452
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
453
+ placeholder: PropTypes.Requireable<string>;
454
+ };
455
+ };
456
+ OrderContainer: {
457
+ permittedChildren: string[];
458
+ displayName: string;
459
+ propTypes: {
460
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
461
+ orderId: PropTypes.Requireable<string>;
462
+ metadata: PropTypes.Requireable<{
463
+ [x: string]: string | null | undefined;
464
+ }>;
465
+ attributes: PropTypes.Requireable<object>;
466
+ };
467
+ defaultProps: {
468
+ metadata: {};
469
+ };
470
+ };
471
+ OrderNumber: {
472
+ displayName: string;
473
+ propTypes: {
474
+ className: PropTypes.Requireable<string>;
475
+ };
476
+ defaultProps: {
477
+ format: BaseFormatPrice;
478
+ };
479
+ };
480
+ OrderStorage: {
481
+ permittedChildren: string[];
482
+ displayName: string;
483
+ propTypes: {
484
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
485
+ clearWhenPlaced: PropTypes.Requireable<boolean>;
486
+ persistKey: PropTypes.Validator<string>;
487
+ };
488
+ };
489
+ PaymentMethod: {
490
+ permittedChildren: string[];
491
+ displayName: string;
492
+ propTypes: {
493
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
494
+ };
495
+ };
496
+ PaymentMethodAmount: {
497
+ displayName: string;
498
+ propTypes: {
499
+ id: PropTypes.Requireable<string>;
500
+ className: PropTypes.Requireable<string>;
501
+ style: PropTypes.Requireable<object>;
502
+ name: PropTypes.Requireable<string>;
503
+ children: PropTypes.Requireable<(...args: any[]) => any>;
504
+ format: PropTypes.Requireable<BaseFormatPrice>;
505
+ };
506
+ defaultProps: {
507
+ format: BaseFormatPrice;
508
+ };
509
+ };
510
+ PaymentMethodName: {
511
+ displayName: string;
512
+ propTypes: {
513
+ children: PropTypes.Requireable<(...args: any[]) => any>;
514
+ };
515
+ };
516
+ PaymentMethodPrice: {
517
+ displayName: string;
518
+ propTypes: {
519
+ type: PropTypes.Requireable<"amount">;
520
+ id: PropTypes.Requireable<string>;
521
+ className: PropTypes.Requireable<string>;
522
+ style: PropTypes.Requireable<object>;
523
+ name: PropTypes.Requireable<string>;
524
+ children: PropTypes.Requireable<(...args: any[]) => any>;
525
+ format: PropTypes.Requireable<BaseFormatPrice>;
526
+ };
527
+ };
528
+ PaymentMethodRadioButton: {
529
+ displayName: string;
530
+ propTypes: {
531
+ children: PropTypes.Requireable<(...args: any[]) => any>;
532
+ };
533
+ };
534
+ PaymentMethodsContainer: {
535
+ displayName: string;
536
+ permittedChildren: string[];
537
+ propTypes: {
538
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
539
+ };
540
+ };
541
+ PaymentSource: {
542
+ displayName: string;
543
+ permittedChildren: string[];
544
+ propTypes: {
545
+ children: PropTypes.Requireable<import("react").ReactNode>;
546
+ readonly: PropTypes.Requireable<boolean>;
547
+ };
548
+ };
549
+ PaymentSourceBrandIcon: {
550
+ displayName: string;
551
+ propTypes: {
552
+ children: PropTypes.Requireable<(...args: any[]) => any>;
553
+ width: PropTypes.Requireable<number>;
554
+ height: PropTypes.Requireable<number>;
555
+ src: PropTypes.Requireable<string>;
556
+ className: PropTypes.Requireable<string>;
557
+ };
558
+ };
559
+ PaymentSourceBrandName: {
560
+ displayName: string;
561
+ propTypes: {
562
+ children: PropTypes.Requireable<(...args: any[]) => any>;
563
+ label: PropTypes.Requireable<string>;
564
+ };
565
+ };
566
+ PaymentSourceEditButton: {
567
+ displayName: string;
568
+ propTypes: {
569
+ children: PropTypes.Requireable<(...args: any[]) => any>;
570
+ label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
571
+ };
572
+ };
573
+ PaymentSourceDetail: {
574
+ displayName: string;
575
+ propTypes: {
576
+ type: PropTypes.Validator<PaymentSourceDetailType>;
577
+ };
578
+ };
579
+ PlaceOrderButton: {
580
+ displayName: string;
581
+ propTypes: {
582
+ children: PropTypes.Requireable<(...args: any[]) => any>;
583
+ label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
584
+ };
585
+ defaultProps: {
586
+ label: string;
587
+ };
588
+ };
589
+ PlaceOrderContainer: {
590
+ displayName: string;
591
+ permittedChildren: string[];
592
+ propTypes: {
593
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
594
+ };
595
+ };
596
+ Price: {
597
+ displayName: string;
598
+ propTypes: {
599
+ children: PropTypes.Requireable<(...args: any[]) => any>;
600
+ compareClassName: PropTypes.Requireable<string>;
601
+ skuCode: PropTypes.Requireable<string>;
602
+ showCompare: PropTypes.Requireable<boolean>;
603
+ };
604
+ defaultProps: {
605
+ skuCode: string;
606
+ };
607
+ };
608
+ PricesContainer: {
609
+ permittedChildren: string[];
610
+ displayName: string;
611
+ propTypes: {
612
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
613
+ skuCode: PropTypes.Requireable<string>;
614
+ loader: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
615
+ perPage: PropTypes.Requireable<number>;
616
+ filters: PropTypes.Requireable<object>;
617
+ };
618
+ defaultProps: {
619
+ perPage: number;
620
+ filters: {};
621
+ loader: string;
622
+ skuCode: string;
623
+ };
624
+ };
625
+ PrivacyAndTermsCheckbox: {
626
+ displayName: string;
627
+ propTypes: {
628
+ children: PropTypes.Requireable<(...args: any[]) => any>;
629
+ };
630
+ };
631
+ QuantitySelector: {
632
+ displayName: string;
633
+ propTypes: {
634
+ children: PropTypes.Requireable<(...args: any[]) => any>;
635
+ min: PropTypes.Requireable<number>;
636
+ max: PropTypes.Requireable<number>;
637
+ value: PropTypes.Requireable<string>;
638
+ skuCode: PropTypes.Requireable<string>;
639
+ disabled: PropTypes.Requireable<boolean>;
640
+ };
641
+ defaultProps: {
642
+ min: number;
643
+ };
644
+ };
645
+ SaveAddressesButton: {
646
+ displayName: string;
647
+ propTypes: {
648
+ children: PropTypes.Requireable<(...args: any[]) => any>;
649
+ label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
650
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
651
+ disabled: PropTypes.Requireable<boolean>;
652
+ };
653
+ defaultProps: {
654
+ label: string;
655
+ };
656
+ };
657
+ Shipment: {
658
+ permittedChildren: string[];
659
+ displayName: string;
660
+ propTypes: {
661
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
662
+ };
663
+ };
664
+ ShipmentField: {
665
+ displayName: string;
666
+ propTypes: {
667
+ children: PropTypes.Requireable<(...args: any[]) => any>;
668
+ name: PropTypes.Validator<ShipmentAttribute>;
669
+ };
670
+ };
671
+ ShipmentsContainer: {
672
+ displayName: string;
673
+ permittedChildren: string[];
674
+ propTypes: {
675
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
676
+ };
677
+ };
678
+ ShippingAddressContainer: {
679
+ permittedChildren: string[];
680
+ propTypes: {
681
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
682
+ };
683
+ };
684
+ SaveCustomerButton: {
685
+ displayName: string;
686
+ propTypes: {
687
+ children: PropTypes.Requireable<(...args: any[]) => any>;
688
+ label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
689
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
690
+ };
691
+ defaultProps: {
692
+ label: string;
693
+ };
694
+ };
695
+ ShippingAddressForm: {
696
+ permittedChildren: string[];
697
+ propTypes: {
698
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
699
+ };
700
+ };
701
+ ShippingAmount: {
702
+ displayName: string;
703
+ propTypes: {
704
+ id: PropTypes.Requireable<string>;
705
+ className: PropTypes.Requireable<string>;
706
+ style: PropTypes.Requireable<object>;
707
+ name: PropTypes.Requireable<string>;
708
+ children: PropTypes.Requireable<(...args: any[]) => any>;
709
+ format: PropTypes.Requireable<BaseFormatPrice>;
710
+ };
711
+ };
712
+ ShippingMethod: {
713
+ permittedChildren: string[];
714
+ displayName: string;
715
+ propTypes: {
716
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
717
+ readonly: PropTypes.Requireable<boolean>;
718
+ };
719
+ };
720
+ ShippingMethodName: {
721
+ displayName: string;
722
+ propTypes: {
723
+ children: PropTypes.Requireable<(...args: any[]) => any>;
724
+ };
725
+ };
726
+ ShippingMethodRadioButton: {
727
+ displayName: string;
728
+ propTypes: {
729
+ children: PropTypes.Requireable<(...args: any[]) => any>;
730
+ };
731
+ };
732
+ ShippingMethodPrice: {
733
+ displayName: string;
734
+ propTypes: {
735
+ type: PropTypes.Requireable<"amount">;
736
+ id: PropTypes.Requireable<string>;
737
+ className: PropTypes.Requireable<string>;
738
+ style: PropTypes.Requireable<object>;
739
+ name: PropTypes.Requireable<string>;
740
+ children: PropTypes.Requireable<(...args: any[]) => any>;
741
+ format: PropTypes.Requireable<BaseFormatPrice>;
742
+ };
743
+ defaultProps: {
744
+ format: string;
745
+ type: string;
746
+ };
747
+ };
748
+ SkuList: {
749
+ permittedChildren: string[];
750
+ displayName: string;
751
+ propTypes: {
752
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
753
+ id: PropTypes.Validator<string>;
754
+ };
755
+ };
756
+ SkuListsContainer: {
757
+ permittedChildren: string[];
758
+ displayName: string;
759
+ propTypes: {
760
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
761
+ };
762
+ };
763
+ SkuOption: {
764
+ permittedChildren: string[];
765
+ displayName: string;
766
+ propTypes: {
767
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
768
+ id: PropTypes.Validator<string>;
769
+ };
770
+ };
771
+ SkuOptionInput: {
772
+ displayName: string;
773
+ propTypes: {
774
+ children: PropTypes.Requireable<(...args: any[]) => any>;
775
+ name: PropTypes.Validator<string>;
776
+ type: PropTypes.Validator<BaseInputType>;
777
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
778
+ placeholder: PropTypes.Requireable<string>;
779
+ };
780
+ };
781
+ SkuOptionsContainer: {
782
+ permittedChildren: string[];
783
+ displayName: string;
784
+ propTypes: {
785
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
786
+ skuCode: PropTypes.Requireable<string>;
787
+ };
788
+ };
789
+ StockTransfer: {
790
+ permittedChildren: string[];
791
+ displayName: string;
792
+ propTypes: {
793
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
794
+ };
795
+ };
796
+ StockTransferField: {
797
+ displayName: string;
798
+ propTypes: {
799
+ children: PropTypes.Requireable<(...args: any[]) => any>;
800
+ type: PropTypes.Validator<StockTransferFieldType>;
801
+ };
802
+ };
803
+ SubmitButton: {
804
+ displayName: string;
805
+ propTypes: {
806
+ children: PropTypes.Requireable<(...args: any[]) => any>;
807
+ label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
808
+ };
809
+ defaultProps: {
810
+ label: string;
811
+ };
812
+ };
813
+ SubTotalAmount: {
814
+ displayName: string;
815
+ propTypes: {
816
+ id: PropTypes.Requireable<string>;
817
+ className: PropTypes.Requireable<string>;
818
+ style: PropTypes.Requireable<object>;
819
+ name: PropTypes.Requireable<string>;
820
+ children: PropTypes.Requireable<(...args: any[]) => any>;
821
+ format: PropTypes.Requireable<BaseFormatPrice>;
822
+ };
823
+ defaultProps: {
824
+ format: BaseFormatPrice;
825
+ };
826
+ };
827
+ TaxesAmount: {
828
+ displayName: string;
829
+ propTypes: {
830
+ id: PropTypes.Requireable<string>;
831
+ className: PropTypes.Requireable<string>;
832
+ style: PropTypes.Requireable<object>;
833
+ name: PropTypes.Requireable<string>;
834
+ children: PropTypes.Requireable<(...args: any[]) => any>;
835
+ format: PropTypes.Requireable<BaseFormatPrice>;
836
+ };
837
+ defaultProps: {
838
+ format: BaseFormatPrice;
839
+ };
840
+ };
841
+ TotalAmount: {
842
+ displayName: string;
843
+ propTypes: {
844
+ id: PropTypes.Requireable<string>;
845
+ className: PropTypes.Requireable<string>;
846
+ style: PropTypes.Requireable<object>;
847
+ name: PropTypes.Requireable<string>;
848
+ children: PropTypes.Requireable<(...args: any[]) => any>;
849
+ format: PropTypes.Requireable<BaseFormatPrice>;
850
+ };
851
+ defaultProps: {
852
+ format: BaseFormatPrice;
853
+ };
854
+ };
855
+ VariantsContainer: {
856
+ permittedChildren: string[];
857
+ displayName: string;
858
+ propTypes: {
859
+ children: PropTypes.Validator<boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal>;
860
+ skuCode: PropTypes.Requireable<string>;
861
+ filters: PropTypes.Requireable<object>;
862
+ };
863
+ defaultProps: {
864
+ skuCode: string;
865
+ filters: {};
866
+ };
867
+ };
868
+ VariantSelector: {
869
+ displayName: string;
870
+ propTypes: {
871
+ options: PropTypes.Validator<PropTypes.InferProps<{
872
+ label: PropTypes.Validator<string>;
873
+ code: PropTypes.Validator<string>;
874
+ lineItem: PropTypes.Requireable<PropTypes.InferProps<{
875
+ name: PropTypes.Validator<string>;
876
+ imageUrl: PropTypes.Requireable<string>;
877
+ }>>;
878
+ }>[]>;
879
+ name: PropTypes.Requireable<string>;
880
+ children: PropTypes.Requireable<(...args: any[]) => any>;
881
+ type: PropTypes.Requireable<BaseSelectorType>;
882
+ loader: PropTypes.Requireable<PropTypes.ReactElementLike>;
883
+ placeholder: PropTypes.Requireable<string>;
884
+ skuCode: PropTypes.Requireable<string>;
885
+ };
886
+ defaultProps: {
887
+ placeholder: string;
888
+ type: BaseSelectorType;
889
+ };
890
+ };
891
+ };
892
+ export default components;