| @@ -1,8 +1,10 @@ | ||
| 1 | 1 | { |
| 2 | + "$schema": "https://json.schemastore.org/block.json", | |
| 3 | + "apiVersion": 3, | |
| 2 | 4 | "name": "srfm/phone", |
| 3 | 5 | "title": "Phone Number", |
| 4 | - "description": "Displays a SureForm Phone Field", | |
| 6 | + "description": "Displays a SureForms Phone Field", | |
| 5 | 7 | "category": "sureforms", |
| 6 | 8 | "keywords": [ "telephone", "phone", "mobile", "field" ], |
| 7 | 9 | "textdomain": "sureforms", |
| 8 | 10 | "supports": { |
| @@ -58,8 +60,28 @@ | ||
| 58 | 60 | }, |
| 59 | 61 | "autoCountry": { |
| 60 | 62 | "type": "boolean", |
| 61 | 63 | "default": true |
| 64 | + }, | |
| 65 | + "defaultCountry": { | |
| 66 | + "type": "string", | |
| 67 | + "default": "" | |
| 68 | + }, | |
| 69 | + "enableCountryFilter": { | |
| 70 | + "type": "boolean", | |
| 71 | + "default": false | |
| 72 | + }, | |
| 73 | + "countryFilterType": { | |
| 74 | + "type": "string", | |
| 75 | + "default": "include" | |
| 76 | + }, | |
| 77 | + "includeCountries": { | |
| 78 | + "type": "array", | |
| 79 | + "default": [] | |
| 80 | + }, | |
| 81 | + "excludeCountries": { | |
| 82 | + "type": "array", | |
| 83 | + "default": [] | |
| 62 | 84 | }, |
| 63 | 85 | "isConditionalLogic":{ |
| 64 | 86 | "type":"boolean", |
| 65 | 87 | "default":false |