Server IP : 104.21.14.103 / Your IP : 18.227.134.133 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/utils/ |
Upload File : |
/** * External dependencies */ import { DEFAULT_COLUMNS, DEFAULT_ROWS } from '@woocommerce/block-settings'; export const sharedAttributeBlockTypes = [ 'woocommerce/product-best-sellers', 'woocommerce/product-category', 'woocommerce/product-new', 'woocommerce/product-on-sale', 'woocommerce/product-top-rated', ]; export default { /** * Number of columns. */ columns: { type: 'number', default: DEFAULT_COLUMNS, }, /** * Number of rows. */ rows: { type: 'number', default: DEFAULT_ROWS, }, /** * How to align cart buttons. */ alignButtons: { type: 'boolean', default: false, }, /** * Product category, used to display only products in the given categories. */ categories: { type: 'array', default: [], }, /** * Product category operator, used to restrict to products in all or any selected categories. */ catOperator: { type: 'string', default: 'any', }, /** * Content visibility setting */ contentVisibility: { type: 'object', default: { title: true, price: true, rating: true, button: true, }, }, /** * Are we previewing? */ isPreview: { type: 'boolean', default: false, }, };