{
	"apiVersion": 2,
	"name": "jet-forms/calculated-field",
	"category": "jet-form-builder-fields",
	"title": "Calculated Field",
	"description": "Calculate and display your number values",
	"icon": "<svg width=\"64\" height=\"64\" viewBox=\"0 0 64 64\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M55.7357 42H60C62.2091 42 64 40.2091 64 38V18C64 15.7909 62.2091 14 60 14H4C1.79086 14 0 15.7909 0 18V38C0 40.2091 1.79086 42 4 42H25V43.6C25 44.212 25.2299 44.7719 25.6165 45.2015L25.687 45.2797L25.7652 45.3501C26.1947 45.7367 26.7546 45.9667 27.3667 45.9667H29.0333V47.6333C29.0333 48.2504 29.2695 48.8469 29.7222 49.2996C30.1374 49.7148 30.721 50 31.4 50H33.6C34.251 50 34.8385 49.7356 35.2666 49.3C35.7023 48.8718 35.9667 48.2844 35.9667 47.6333V45.9667H37.6333C38.2504 45.9667 38.8469 45.7305 39.2996 45.2778C39.7148 44.8626 40 44.279 40 43.6V42H43.7974C43.9983 42.3167 44.2285 42.6198 44.4891 42.9078L44.4958 42.9151L44.5025 42.9223C45.1178 43.589 45.8793 44.1479 46.7519 44.6184H42V46.6184C42 48.7047 42.5483 50.601 43.8569 52.0769L43.8629 52.0836L43.869 52.0903C44.7631 53.0806 45.8674 53.7466 47.1171 54.1281V57H53.0247V54.1218C54.2091 53.7639 55.2649 53.1639 56.1243 52.2705C57.4239 50.9289 58 49.2043 58 47.3026C58 46.1224 57.7761 44.9922 57.2588 43.9708C56.8827 43.2155 56.3636 42.5611 55.7357 42ZM4 16H60C61.1046 16 62 16.8954 62 18V38C62 39.1046 61.1046 40 60 40H57.8324V39C57.8324 36.9207 57.3662 35.0196 56.2008 33.5238C55.4135 32.5055 54.4132 31.7868 53.2567 31.3482V28H47.3362V31.2959C46.2329 31.6782 45.2554 32.3 44.4565 33.192L44.4496 33.1998C43.2553 34.5472 42.7218 36.2259 42.7218 38.0658C42.7218 38.7355 42.7957 39.3828 42.9485 40H39.5336C39.4626 39.9056 39.3845 39.8165 39.3 39.7334C38.8718 39.2977 38.2844 39.0333 37.6333 39.0333H35.9667V37.3667C35.9667 36.7156 35.7023 36.1281 35.2666 35.7C34.8385 35.2644 34.2511 35 33.6 35H31.4C30.721 35 30.1374 35.2852 29.7222 35.7004C29.2695 36.1531 29.0333 36.7496 29.0333 37.3667V39.0333H27.3667C26.6877 39.0333 26.1041 39.3186 25.6889 39.7337C25.6048 39.8178 25.5282 39.9068 25.4592 40H4C2.89543 40 2 39.1046 2 38V18C2 16.8954 2.89543 16 4 16ZM45.0344 40C45.2427 40.5833 45.5553 41.1053 45.9721 41.5658C46.1099 41.7151 46.261 41.8598 46.4253 42C47.2648 42.7161 48.45 43.3126 49.9807 43.7895C51.2954 44.2368 52.2277 44.7368 52.7777 45.2895C53.3362 45.8421 53.6155 46.5219 53.6155 47.3289C53.6155 48.2851 53.2932 49.0395 52.6488 49.5921C52.0043 50.1447 51.1192 50.4211 49.9936 50.4211C48.8421 50.4211 47.9527 50.0921 47.3255 49.4342C46.6982 48.7763 46.3845 47.8377 46.3845 46.6184H44V46.6195C44.0001 47.3493 44.0798 48.0156 44.2392 48.6184C44.4591 49.4497 44.8305 50.1603 45.3534 50.75C46.2466 51.7393 47.4704 52.3152 49.0247 52.4777C49.0554 52.4809 49.0862 52.484 49.1171 52.4868V55H51.0247V52.4868C51.0556 52.4836 51.0864 52.4801 51.1171 52.4766C52.6451 52.299 53.8345 51.7673 54.6853 50.8816C55.5618 49.9781 56 48.7851 56 47.3026C56 46.3728 55.8238 45.5614 55.4715 44.8684C55.1278 44.1754 54.5865 43.5702 53.8475 43.0526C53.3265 42.6772 52.6568 42.3263 51.8385 42C51.5096 41.8688 51.1567 41.7416 50.7798 41.6184C49.4737 41.1798 48.5328 40.6974 47.957 40.1711C47.8986 40.1159 47.8432 40.0589 47.7908 40C47.3345 39.4868 47.1063 38.8289 47.1063 38.0263C47.1063 37.0614 47.377 36.3114 47.9184 35.7763C48.4597 35.2325 49.2417 34.9605 50.2642 34.9605C51.2438 34.9605 52.0215 35.3246 52.5972 36.0526C53.1729 36.7807 53.4608 37.7632 53.4608 39H55.8324C55.8324 38.2705 55.766 37.6039 55.6331 37C55.4383 36.1152 55.1009 35.3652 54.6208 34.75C53.8364 33.734 52.7415 33.1194 51.3362 32.9063C51.3241 32.9045 51.312 32.9027 51.2999 32.9009C51.2855 32.8988 51.2711 32.8968 51.2567 32.8947V30H49.3362V32.8816C49.3096 32.8848 49.2831 32.8882 49.2567 32.8917C47.8594 33.0775 46.7559 33.6223 45.9463 34.5263C45.13 35.4474 44.7218 36.6272 44.7218 38.0658C44.7218 38.7719 44.826 39.4167 45.0344 40ZM38 41.4V43.6C38 43.6993 37.9618 43.7872 37.8854 43.8635C37.8167 43.9323 37.7326 43.9667 37.6333 43.9667H33.9667V47.6333C33.9667 47.7326 33.9285 47.8167 33.8521 47.8854C33.7833 47.9618 33.6993 48 33.6 48H31.4C31.3007 48 31.2128 47.9618 31.1365 47.8854C31.0677 47.8167 31.0333 47.7326 31.0333 47.6333V43.9667H27.3667C27.2674 43.9667 27.1795 43.9323 27.1031 43.8635C27.0344 43.7872 27 43.6993 27 43.6V41.4C27 41.3007 27.0344 41.2167 27.1031 41.1479C27.1795 41.0715 27.2674 41.0333 27.3667 41.0333H31.0333V37.3667C31.0333 37.2674 31.0677 37.1833 31.1365 37.1146C31.2128 37.0382 31.3007 37 31.4 37H33.6C33.6993 37 33.7833 37.0382 33.8521 37.1146C33.9285 37.1833 33.9667 37.2674 33.9667 37.3667V41.0333H37.6333C37.7326 41.0333 37.8167 41.0715 37.8854 41.1479C37.9618 41.2167 38 41.3007 38 41.4ZM51.36 46.7002L51.3655 46.7057L51.371 46.7112C51.5385 46.8769 51.6155 47.0398 51.6155 47.3289C51.6155 47.7839 51.4892 47.9518 51.3469 48.0739C51.1689 48.2265 50.7992 48.4211 49.9936 48.4211C49.2345 48.4211 48.928 48.2167 48.7729 48.0541C48.6074 47.8805 48.3845 47.5033 48.3845 46.6184V45.3553C48.7007 45.4747 49.026 45.5864 49.3595 45.6908C50.561 46.1018 51.1376 46.4768 51.36 46.7002ZM51.4093 39.7201C50.2186 39.3196 49.5938 38.9514 49.319 38.7062C49.2157 38.6054 49.1063 38.4451 49.1063 38.0263C49.1063 37.4452 49.2583 37.264 49.3243 37.1987L49.3301 37.193L49.3358 37.1873C49.39 37.1329 49.5907 36.9605 50.2642 36.9605C50.6714 36.9605 50.8557 37.0747 51.0284 37.2932C51.2444 37.5663 51.4608 38.0637 51.4608 39V39.737L51.4093 39.7201Z\" fill=\"currentColor\"/>\n</svg>",
	"keywords": [
		"jetformbuilder",
		"field",
		"calculated"
	],
	"textdomain": "jet-form-builder",
	"supports": {
		"customClassName": false,
		"html": false,
		"jetFBSanitizeValue": true
	},
	"attributes": {
		"validation": {
			"type": "object",
			"default": {}
		},
		"value_type": {
			"type": "string",
			"default": "number"
		},
		"date_format": {
			"type": "string",
			"default": "YYYY-MM-DD"
		},
		"separate_decimals": {
			"type": "string",
			"default": "."
		},
		"separate_thousands": {
			"type": "string",
			"default": ""
		},
		"calc_formula": {
			"type": "string",
			"default": ""
		},
		"precision": {
			"type": "number",
			"default": 2
		},
		"calc_prefix": {
			"type": "string",
			"default": "",
			"jfb": {
				"rich": true
			}
		},
		"calc_suffix": {
			"type": "string",
			"default": "",
			"jfb": {
				"rich": true
			}
		},
		"calc_hidden": {
			"type": "boolean",
			"default": false
		},
		"label": {
			"type": "string",
			"default": "",
			"jfb": {
				"rich": true
			}
		},
		"name": {
			"type": "string",
			"default": "field_name"
		},
		"desc": {
			"type": "string",
			"default": "",
			"jfb": {
				"rich": true
			}
		},
		"placeholder": {
			"type": "string",
			"default": ""
		},
		"add_prev": {
			"type": "boolean",
			"default": false
		},
		"prev_label": {
			"type": "string",
			"default": "",
			"jfb": {
				"rich": true
			}
		},
		"visibility": {
			"type": "string",
			"default": ""
		},
		"class_name": {
			"type": "string",
			"default": ""
		},
		"className": {
			"type": "string",
			"default": ""
		},
		"isPreview": {
			"type": "boolean",
			"default": false
		}
	},
	"usesContext": [
		"jet-forms/repeater-field--name",
		"jet-forms/repeater-row--default",
		"jet-forms/repeater-row--current-index"
	]
}