{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "total-cost-input-for-woocommerce/widget",
	"title": "Total Cost Input",
	"category": "widgets",
	"icon": "money-alt",
	"textdomain": "total-cost-input-for-woocommerce",
	"supports": { "html": false, "align": [ "wide", "full" ], "multiple": true, "spacing": { "margin": true } },
	"attributes": {
		"productId":  { "type": "number",  "default": 0 },
		"buttonText": { "type": "string",  "default": "" },
		"products":   { "type": "array",   "default": [], "items": { "type": "integer" } },
		"fieldOrder": { "type": "array",   "default": [], "items": { "type": "string" } },
		"fieldWidths": { "type": "object", "default": {} },
		"showQuantity": { "type": "boolean", "default": true },
		"vendorOnly": { "type": "boolean", "default": false },
		"styleMode":  { "type": "string",  "default": "" },
		"styleBg":    { "type": "string",  "default": "" },
		"styleButtonBg": { "type": "string", "default": "" },
		"styleText":  { "type": "string",  "default": "" },
		"styleFont":  { "type": "string",  "default": "" },
		"styleFontSize": { "type": "number", "default": 0 },
		"styleRadius": { "type": "number", "default": 0 },
		"styleButtonRadius": { "type": "number", "default": 0 }
	},
	"editorScript": "file:./build/index.js",
	"editorStyle": "file:./build/index.css",
	"style": "file:./build/style-index.css",
	"render": "file:./render.php"
}
