@commercelayer/react-components 3.0.0-beta.9 → 3.0.0

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