woocommerce/plugins/woocommerce-blocks/assets/js/previews/categories.js

33 lines
183 KiB
JavaScript
Raw Normal View History

/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
const categoryImage =
'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBARXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAADIKADAAQAAAABAAADHwAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/8AAEQgDHwMgAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/bAEMAAQEBAQEBAQEBAQIBAQECAwICAgIDBAMDAwMDBAQEBAQEBAQEBAQEBAQEBAUFBQUFBQYGBgYGBwcHBwcHBwcHB//bAEMBAQEBAgICAwICAwcFBAUHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHB//dAAQAMv/aAAwDAQACEQMRAD8A/twooor2DxwooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAowD1oooAaUB9qYUP1/wA/WpaKCXBFfBHWirFNKA+1BLpkNFPKH/P/AOumUENWCiiigQUUUUAFP8xvT/P5UyigaP/Q/twooor2DxwooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACivJvin8ePgv8D9Fn8Q/F74p6F8OdIt0aQy6veRW5YLnIRHYPIxIICoGYngAnivzz1n/gtv/wAE7NM1O803S/i5qfjYae5We68PaDqeo2yAHZv86C1ZHRpsQoULeY5xHvGSJc4rRspQb2R+stFfjfef8Fy/2LbWznv4/D/xMu7W3A3PH4Q1IKCuROC7xLGBZkYuGLBVJwpc5Adc/wDBeb/gmvZx20lz8WNbiNw2Ch8O6r5kasP3TSJ9l3xi4IIiVgHYAttCfNVpMwdeC+0j9jqK/Lzw7/wWg/4Jl+Jb2x02z/aw0Gxvr+VYQt/Hc2iI7AE+ZLNAkMaoD88jOI1Pylt3Ffod4C+I/gH4peHbHxd8OPGOm+OPC+prvtr/AEu4juYJFyRuV42ZSDg81Kd9jU7WiiimAUUUUAFFFFABRRRQAhOAT6VBUrnjHrUVBlNhRRRQQFFFFABRRRQNbn//0f7cKKKK9g8cKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKPxosNIKKKKBBRRRQAUUUUAFFFFABRRRQAUUUU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0B8SdV+Cdj4c1rXvjDpvhqz8IR23l302s21stuYISZBGVdMMqtlljAPzcgZr8jb/wDaw8S/sxeLV/ae/wCCZXgzxX4W+HWi6io8cXEluqeDdWhSUDaUuJC0EAYshltkRB/CRsBr7v8Ahj+wV4q8f+IfCnxE/aX8Z3f7RHj3wrcSPYWphS08P2TEceXYqAjuMh/MmLHIUDhBX6WeIf2fNB1nwD4g8B+IhE3hvxJpc+mz2dqnlqsdxGY2C7flAXd024OORjiuHNsCsVHlnFQ7aJy+/aPor+p6fDuazy+oqlKcqjv7zu4wt1snrLTVN2s+nU6z9l3/AILl/DTxFqOi/Db9t3wa/wCyj8UdXihksdVmEk3hjVzcFfJ/s+9/eOd6MHPmgBRnLdM/u7pupadrFja6ppN9FqWm3yCSGeBw8bq3IKspIIPtX8Yn7Kdlovxc/ZZtPhf8UvC2meJtR+CF7qHw71C3u4RLuj0xhBExEiZjM1r5TAxEowwVI+6vWfCvxr+15+wTr0+pfsg+IrXx78FCjC4+E/iqSU6dbg4Z5tMuA/2iK4baVRGfy/mwRhRXyeJ4TqSoxxGF95NXt1X+dttPuP07LPEyjDEywWYe7JNpS+y/8rrVXv6n9jlFfmv+xV/wVG/Z1/bLvJvAdk9/8Hfj/pSu1/8AD/xaiWeriOMLungjDyJPbkt8roxPBJGOT+lFfHyg4uzVj9UpVoTSlCSa8tQoooqTQKKKQnAJ9KAInOW+lNoooMGwooooEFFFFABRRRQNbn//0v7cKKKK9g8cKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiig
export const previewCategories = [
{
id: 1,
name: __( 'Clothing', 'woo-gutenberg-products-block' ),
slug: 'clothing',
parent: 0,
count: 10,
description: `<p>${ __(
'Branded t-shirts, jumpers, pants and more!',
'woo-gutenberg-products-block'
) }</p>\n`,
image: {
id: 1,
date_created: '2019-07-15T17:05:04',
date_created_gmt: '2019-07-15T17:05:04',
date_modified: '2019-07-15T17:05:04',
date_modified_gmt: '2019-07-15T17:05:04',
src: categoryImage,
name: '',
alt: '',
},
permalink: '#',
},
];