Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
optometrists
/
cache
/
cache
/
cache
/
cache
/
cache
/
cache
/
.wp-cli
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-blocks
/
assets
/
js
/
base
/
context
/
providers
/
add-to-cart-form
/
form-state
:
constants.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * @type {import("@woocommerce/type-defs/add-to-cart-form").AddToCartFormStatusConstants} */ export const STATUS = { PRISTINE: 'pristine', IDLE: 'idle', DISABLED: 'disabled', PROCESSING: 'processing', BEFORE_PROCESSING: 'before_processing', AFTER_PROCESSING: 'after_processing', }; export const DEFAULT_STATE = { status: STATUS.PRISTINE, hasError: false, quantity: 1, processingResponse: null, requestParams: {}, }; export const ACTION_TYPES = { SET_PRISTINE: 'set_pristine', SET_IDLE: 'set_idle', SET_DISABLED: 'set_disabled', SET_PROCESSING: 'set_processing', SET_BEFORE_PROCESSING: 'set_before_processing', SET_AFTER_PROCESSING: 'set_after_processing', SET_PROCESSING_RESPONSE: 'set_processing_response', SET_HAS_ERROR: 'set_has_error', SET_NO_ERROR: 'set_no_error', SET_QUANTITY: 'set_quantity', SET_REQUEST_PARAMS: 'set_request_params', };