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
/
cache
/
.wp-cli
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-blocks
/
assets
/
js
/
type-defs
:
address-fields.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * @typedef {Object} AddressField * * @property {string} label The label for the field. * @property {string} optionalLabel The label for the field if made optional. * @property {string} autocomplete The HTML autocomplete attribute value. See * https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete * @property {boolean} required Set to true if the field is required. * @property {boolean} hidden Set to true if the field should not be * rendered. * @property {number} index Fields will be sorted and render in this * order, lowest to highest. */ /** * @typedef {string} CountryCode ISO 3166 Country code. */ /** * @typedef {string} AddressFieldKey Key for an address field, e.g. first_name. */ /** * @typedef {Object <CountryCode, Object <AddressFieldKey, AddressField>>} CountryAddressFields */ export {};