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