{
	"apiVersion": 2,
	"name": "jet-forms/choice",
	"title": "Advanced Choice",
	"parent": [
		"jet-forms/choices-field"
	],
	"category": "jet-form-builder-fields",
	"keywords": [
		"jetformbuilder",
		"field",
		"choices",
		"choice"
	],
	"description": "",
	"icon": "<svg width=\"46\" height=\"46\" viewBox=\"0 0 46 46\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M22 10C22 9.44771 22.4477 9 23 9H37C37.5523 9 38 9.44771 38 10C38 10.5523 37.5523 11 37 11H23C22.4477 11 22 10.5523 22 10Z\" fill=\"currentColor\"/>\n<path d=\"M23 13C22.4477 13 22 13.4477 22 14C22 14.5523 22.4477 15 23 15H37C37.5523 15 38 14.5523 38 14C38 13.4477 37.5523 13 37 13H23Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10 7C8.89543 7 8 7.89543 8 9V15C8 16.1046 8.89543 17 10 17H16C17.1046 17 18 16.1046 18 15V9C18 7.89543 17.1046 7 16 7H10ZM16 9H10V15H16V9Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M23.5 30C25.433 30 27 28.433 27 26.5C27 24.567 25.433 23 23.5 23C21.567 23 20 24.567 20 26.5C20 28.433 21.567 30 23.5 30ZM23.5 28C24.3284 28 25 27.3284 25 26.5C25 25.6716 24.3284 25 23.5 25C22.6716 25 22 25.6716 22 26.5C22 27.3284 22.6716 28 23.5 28Z\" fill=\"currentColor\"/>\n<path d=\"M27.7917 32.2985C27.6037 32.1076 27.3469 32 27.0789 32C26.811 32 26.5542 32.1076 26.3662 32.2985L22.1579 36.5744L19.2917 33.6622C19.1037 33.4712 18.8469 33.3636 18.5789 33.3636C18.311 33.3636 18.0542 33.4712 17.8662 33.6622L14.2873 37.2985C13.8999 37.6922 13.9049 38.3253 14.2985 38.7127C14.6922 39.1001 15.3253 39.0951 15.7127 38.7015L18.5789 35.7892L21.4452 38.7015C21.6332 38.8924 21.8899 39 22.1579 39C22.4259 39 22.6826 38.8924 22.8706 38.7015L27.0789 34.4256L31.2873 38.7015C31.6747 39.0951 32.3078 39.1001 32.7015 38.7127C33.0951 38.3253 33.1001 37.6922 32.7127 37.2985L27.7917 32.2985Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 0C1.79086 0 0 1.79086 0 4V42C0 44.2091 1.79086 46 4 46H42C44.2091 46 46 44.2091 46 42V4C46 1.79086 44.2091 0 42 0H4ZM42 2H4C2.89543 2 2 2.89543 2 4V42C2 43.1046 2.89543 44 4 44H42C43.1046 44 44 43.1046 44 42V4C44 2.89543 43.1046 2 42 2Z\" fill=\"currentColor\"/>\n</svg>",
	"textdomain": "jet-form-builder",
	"attributes": {
		"value": {
			"type": "string",
			"default": ""
		},
		"calc_value": {
			"type": "string",
			"default": ""
		},
		"className": {
			"type": "string",
			"default": ""
		},
		"backgroundColor": {
			"type": "string",
			"default": "#f0f4f9"
		},
		"isPreview": {
			"type": "boolean",
			"default": false
		}
	},
	"supports": {
		"html": false,
		"layout": {
			"allowSwitching": false,
			"allowInheriting": false,
			"allowVerticalAlignment": false,
			"default": {
				"type": "flex",
				"orientation": "vertical"
			}
		},
		"color": {},
		"spacing": {
			"blockGap": [
				"horizontal",
				"vertical"
			],
			"margin": true,
			"padding": true,
			"units": [
				"px",
				"em",
				"rem",
				"vh",
				"vw"
			]
		}
	},
	"providesContext": {
		"jet-forms/choice--value": "value",
		"jet-forms/choice--calc_value": "calc_value"
	},
	"usesContext": [
		"jet-forms/repeater-field--name",
		"jet-forms/repeater-row--default",
		"jet-forms/repeater-row--current-index",
		"jet-forms/choices-field--multiple",
		"jet-forms/choices-field--required",
		"jet-forms/choices-field--default",
		"jet-forms/choices-field--name",
		"jet-forms/choices-field--raw-name"
	]
}