{
	"apiVersion": 2,
	"name": "jet-forms/choice-control",
	"title": "Choice Control",
	"ancestor": [
		"jet-forms/choice"
	],
	"category": "jet-form-builder-fields",
	"keywords": [
		"jetformbuilder",
		"field",
		"check",
		"choice",
		"control"
	],
	"description": "",
	"icon": "<svg width=\"56\" height=\"56\" viewBox=\"0 0 56 56\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<mask id=\"path-1-inside-1_203_1158\" fill=\"currentColor\">\n<path d=\"M32.7014 10.2872C33.095 10.6746 33.1002 11.3077 32.7128 11.7014L15.294 29.4042L8.30878 22.7226C7.90967 22.3409 7.89561 21.7079 8.27736 21.3088C8.65911 20.9097 9.29212 20.8956 9.69122 21.2774L15.2514 26.5958L31.2872 10.2986C31.6746 9.90496 32.3077 9.89985 32.7014 10.2872Z\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M22 40H4C1.79086 40 0 38.2091 0 36V4C0 1.79086 1.79086 0 4 0H36C38.2091 0 40 1.79086 40 4V22H41.1875C41.7398 22 42.1875 22.4477 42.1875 23V25.8861C42.1875 26.3518 42.5109 26.7505 42.9541 26.8934C43.2664 26.9941 43.5753 27.1116 43.8809 27.2461C44.1952 27.3718 44.5023 27.5082 44.8023 27.6554C45.2056 27.8532 45.6944 27.7899 46.0121 27.4723L48.0546 25.4298C48.4451 25.0392 49.0783 25.0392 49.4688 25.4298L52.5702 28.5312C52.9608 28.9217 52.9608 29.5549 52.5702 29.9454L50.5277 31.9879C50.2101 32.3056 50.1468 32.7944 50.3446 33.1977C50.4918 33.4977 50.6282 33.8048 50.7539 34.1191C50.8884 34.4247 51.0059 34.7336 51.1066 35.0459C51.2495 35.4891 51.6482 35.8125 52.1139 35.8125H55C55.5523 35.8125 56 36.2602 56 36.8125V41.1875C56 41.7398 55.5523 42.1875 55 42.1875H52.1139C51.6482 42.1875 51.2495 42.5109 51.1066 42.9541C51.0059 43.2664 50.8884 43.5753 50.7539 43.8809C50.6282 44.1952 50.4918 44.5023 50.3446 44.8023C50.1468 45.2056 50.2101 45.6944 50.5277 46.0121L52.5702 48.0546C52.9608 48.4451 52.9608 49.0783 52.5702 49.4688L49.4688 52.5702C49.0783 52.9608 48.4451 52.9608 48.0546 52.5702L46.0121 50.5277C45.6944 50.2101 45.2052 50.1458 44.8049 50.3495C44.5041 50.5026 44.196 50.6484 43.8809 50.7871C43.5759 50.9091 43.2675 51.0177 42.9558 51.1128C42.5104 51.2486 42.1875 51.6482 42.1875 52.1139V55C42.1875 55.5523 41.7398 56 41.1875 56H36.8125C36.2602 56 35.8125 55.5523 35.8125 55V52.1139C35.8125 51.6482 35.4896 51.2486 35.0442 51.1128C34.7325 51.0177 34.4241 50.9091 34.1191 50.7871C33.804 50.6484 33.4959 50.5026 33.1951 50.3495C32.7948 50.1458 32.3056 50.2101 31.9879 50.5277L29.9454 52.5702C29.5549 52.9608 28.9217 52.9608 28.5312 52.5702L25.4298 49.4688C25.0392 49.0783 25.0392 48.4451 25.4298 48.0546L27.4723 46.0121C27.7899 45.6944 27.8542 45.2052 27.6505 44.8049C27.4974 44.5041 27.3516 44.196 27.2129 43.8809C27.0909 43.5759 26.9823 43.2675 26.8872 42.9558C26.7514 42.5104 26.3518 42.1875 25.8861 42.1875H23C22.4477 42.1875 22 41.7398 22 41.1875V40ZM4 2H36C37.1046 2 38 2.89543 38 4V22H36.8125C36.2602 22 35.8125 22.4477 35.8125 23V25.8861C35.8125 26.3518 35.4891 26.7505 35.0459 26.8934C34.7336 26.9941 34.4247 27.1116 34.1191 27.2461C33.8048 27.3718 33.4977 27.5082 33.1977 27.6554C32.7944 27.8532 32.3056 27.7899 31.9879 27.4723L29.9454 25.4298C29.5549 25.0392 28.9217 25.0392 28.5312 25.4298L25.4298 28.5312C25.0392 28.9217 25.0392 29.5549 25.4298 29.9454L27.4723 31.9879C27.7899 32.3056 27.8542 32.7948 27.6505 33.1951C27.4974 33.4959 27.3516 33.804 27.2129 34.1191C27.0909 34.4241 26.9823 34.7325 26.8872 35.0442C26.7514 35.4896 26.3518 35.8125 25.8861 35.8125H23C22.4477 35.8125 22 36.2602 22 36.8125V38H4C2.89543 38 2 37.1046 2 36V4C2 2.89543 2.89543 2 4 2ZM35.248 42.752C36.2884 43.7923 37.5391 44.3125 39 44.3125C40.4609 44.3125 41.7116 43.7923 42.752 42.752C43.7923 41.7116 44.3125 40.4609 44.3125 39C44.3125 37.5391 43.7923 36.2884 42.752 35.248C41.7116 34.2077 40.4609 33.6875 39 33.6875C37.5391 33.6875 36.2884 34.2077 35.248 35.248C34.2077 36.2884 33.6875 37.5391 33.6875 39C33.6875 40.4609 34.2077 41.7116 35.248 42.752Z\"/>\n</mask>\n<path d=\"M32.7014 10.2872C33.095 10.6746 33.1002 11.3077 32.7128 11.7014L15.294 29.4042L8.30878 22.7226C7.90967 22.3409 7.89561 21.7079 8.27736 21.3088C8.65911 20.9097 9.29212 20.8956 9.69122 21.2774L15.2514 26.5958L31.2872 10.2986C31.6746 9.90496 32.3077 9.89985 32.7014 10.2872Z\" stroke=\"#0F172A\" stroke-width=\"4\" mask=\"url(#path-1-inside-1_203_1158)\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M22 40H4C1.79086 40 0 38.2091 0 36V4C0 1.79086 1.79086 0 4 0H36C38.2091 0 40 1.79086 40 4V22H41.1875C41.7398 22 42.1875 22.4477 42.1875 23V25.8861C42.1875 26.3518 42.5109 26.7505 42.9541 26.8934C43.2664 26.9941 43.5753 27.1116 43.8809 27.2461C44.1952 27.3718 44.5023 27.5082 44.8023 27.6554C45.2056 27.8532 45.6944 27.7899 46.0121 27.4723L48.0546 25.4298C48.4451 25.0392 49.0783 25.0392 49.4688 25.4298L52.5702 28.5312C52.9608 28.9217 52.9608 29.5549 52.5702 29.9454L50.5277 31.9879C50.2101 32.3056 50.1468 32.7944 50.3446 33.1977C50.4918 33.4977 50.6282 33.8048 50.7539 34.1191C50.8884 34.4247 51.0059 34.7336 51.1066 35.0459C51.2495 35.4891 51.6482 35.8125 52.1139 35.8125H55C55.5523 35.8125 56 36.2602 56 36.8125V41.1875C56 41.7398 55.5523 42.1875 55 42.1875H52.1139C51.6482 42.1875 51.2495 42.5109 51.1066 42.9541C51.0059 43.2664 50.8884 43.5753 50.7539 43.8809C50.6282 44.1952 50.4918 44.5023 50.3446 44.8023C50.1468 45.2056 50.2101 45.6944 50.5277 46.0121L52.5702 48.0546C52.9608 48.4451 52.9608 49.0783 52.5702 49.4688L49.4688 52.5702C49.0783 52.9608 48.4451 52.9608 48.0546 52.5702L46.0121 50.5277C45.6944 50.2101 45.2052 50.1458 44.8049 50.3495C44.5041 50.5026 44.196 50.6484 43.8809 50.7871C43.5759 50.9091 43.2675 51.0177 42.9558 51.1128C42.5104 51.2486 42.1875 51.6482 42.1875 52.1139V55C42.1875 55.5523 41.7398 56 41.1875 56H36.8125C36.2602 56 35.8125 55.5523 35.8125 55V52.1139C35.8125 51.6482 35.4896 51.2486 35.0442 51.1128C34.7325 51.0177 34.4241 50.9091 34.1191 50.7871C33.804 50.6484 33.4959 50.5026 33.1951 50.3495C32.7948 50.1458 32.3056 50.2101 31.9879 50.5277L29.9454 52.5702C29.5549 52.9608 28.9217 52.9608 28.5312 52.5702L25.4298 49.4688C25.0392 49.0783 25.0392 48.4451 25.4298 48.0546L27.4723 46.0121C27.7899 45.6944 27.8542 45.2052 27.6505 44.8049C27.4974 44.5041 27.3516 44.196 27.2129 43.8809C27.0909 43.5759 26.9823 43.2675 26.8872 42.9558C26.7514 42.5104 26.3518 42.1875 25.8861 42.1875H23C22.4477 42.1875 22 41.7398 22 41.1875V40ZM4 2H36C37.1046 2 38 2.89543 38 4V22H36.8125C36.2602 22 35.8125 22.4477 35.8125 23V25.8861C35.8125 26.3518 35.4891 26.7505 35.0459 26.8934C34.7336 26.9941 34.4247 27.1116 34.1191 27.2461C33.8048 27.3718 33.4977 27.5082 33.1977 27.6554C32.7944 27.8532 32.3056 27.7899 31.9879 27.4723L29.9454 25.4298C29.5549 25.0392 28.9217 25.0392 28.5312 25.4298L25.4298 28.5312C25.0392 28.9217 25.0392 29.5549 25.4298 29.9454L27.4723 31.9879C27.7899 32.3056 27.8542 32.7948 27.6505 33.1951C27.4974 33.4959 27.3516 33.804 27.2129 34.1191C27.0909 34.4241 26.9823 34.7325 26.8872 35.0442C26.7514 35.4896 26.3518 35.8125 25.8861 35.8125H23C22.4477 35.8125 22 36.2602 22 36.8125V38H4C2.89543 38 2 37.1046 2 36V4C2 2.89543 2.89543 2 4 2ZM35.248 42.752C36.2884 43.7923 37.5391 44.3125 39 44.3125C40.4609 44.3125 41.7116 43.7923 42.752 42.752C43.7923 41.7116 44.3125 40.4609 44.3125 39C44.3125 37.5391 43.7923 36.2884 42.752 35.248C41.7116 34.2077 40.4609 33.6875 39 33.6875C37.5391 33.6875 36.2884 34.2077 35.248 35.248C34.2077 36.2884 33.6875 37.5391 33.6875 39C33.6875 40.4609 34.2077 41.7116 35.248 42.752Z\" stroke=\"#0F172A\" stroke-width=\"4\" mask=\"url(#path-1-inside-1_203_1158)\"/>\n</svg>",
	"textdomain": "jet-form-builder",
	"attributes": {
		"label": {
			"type": "string",
			"default": ""
		},
		"control_type": {
			"type": "string",
			"default": ""
		},
		"default_image_control": {
			"type": "object",
			"default": {}
		},
		"checked_image_control": {
			"type": "object",
			"default": ""
		},
		"style": {
			"type": "object",
			"default": {
				".jet-form-builder-choice--item-control-img": {
					"width": "24px"
				}
			}
		},
		"isPreview": {
			"type": "boolean",
			"default": false
		}
	},
	"supports": {
		"html": false,
		"jetStyle": {
			"--jfb-choice-control-width": [
				".jet-form-builder-choice--item-control-img",
				"width"
			]
		},
		"spacing": {
			"margin": true,
			"padding": true,
			"units": [
				"px",
				"em",
				"rem",
				"vh",
				"vw"
			]
		},
		"color": {
			"text": true,
			"background": false
		}
	},
	"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--name",
		"jet-forms/choices-field--raw-name",
		"jet-forms/choices-field--default",
		"jet-forms/choice--value",
		"jet-forms/choice--calc_value"
	]
}