block.json
66 lines
| 1 | { |
| 2 | "apiVersion": 2, |
| 3 | "name": "jet-forms/date-field", |
| 4 | "category": "jet-form-builder-fields", |
| 5 | "keywords": [ |
| 6 | "jetformbuilder", |
| 7 | "field", |
| 8 | "date" |
| 9 | ], |
| 10 | "textdomain": "jet-form-builder", |
| 11 | "supports": { |
| 12 | "customClassName": false, |
| 13 | "html": false |
| 14 | }, |
| 15 | "icon": "<svg width=\"64\" height=\"64\" viewBox=\"0 0 64 64\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"64\" height=\"64\" fill=\"white\"/><rect x=\"1\" y=\"15\" width=\"62\" height=\"26\" rx=\"3\" fill=\"white\" stroke=\"#162B40\" stroke-width=\"2\"/><rect x=\"31\" y=\"32.2\" width=\"26\" height=\"28.8\" rx=\"3\" fill=\"white\" stroke=\"#162B40\" stroke-width=\"2\"/><path d=\"M31 35.2C31 33.5431 32.3431 32.2 34 32.2H54C55.6569 32.2 57 33.5431 57 35.2V43.4H31V35.2Z\" fill=\"#4AF3BA\" stroke=\"#162B40\" stroke-width=\"2\"/><path d=\"M36.4615 30C36.4615 29.4477 36.9092 29 37.4615 29H37.6154C38.1676 29 38.6154 29.4477 38.6154 30V34.6C38.6154 35.1523 38.1676 35.6 37.6154 35.6H37.4615C36.9092 35.6 36.4615 35.1523 36.4615 34.6V30Z\" fill=\"#162B40\"/><path d=\"M49.3846 30C49.3846 29.4477 49.8323 29 50.3846 29H50.5384C51.0907 29 51.5384 29.4477 51.5384 30V34.6C51.5384 35.1523 51.0907 35.6 50.5384 35.6H50.3846C49.8323 35.6 49.3846 35.1523 49.3846 34.6V30Z\" fill=\"#162B40\"/></svg>", |
| 16 | "attributes": { |
| 17 | "is_timestamp": { |
| 18 | "type": "boolean", |
| 19 | "default": false |
| 20 | }, |
| 21 | "label": { |
| 22 | "type": "string", |
| 23 | "default": "" |
| 24 | }, |
| 25 | "name": { |
| 26 | "type": "string", |
| 27 | "default": "field_name" |
| 28 | }, |
| 29 | "desc": { |
| 30 | "type": "string", |
| 31 | "default": "" |
| 32 | }, |
| 33 | "default": { |
| 34 | "type": "string", |
| 35 | "default": "" |
| 36 | }, |
| 37 | "placeholder": { |
| 38 | "type": "string", |
| 39 | "default": "" |
| 40 | }, |
| 41 | "required": { |
| 42 | "type": "boolean", |
| 43 | "default": false |
| 44 | }, |
| 45 | "add_prev": { |
| 46 | "type": "boolean", |
| 47 | "default": false |
| 48 | }, |
| 49 | "prev_label": { |
| 50 | "type": "string", |
| 51 | "default": "" |
| 52 | }, |
| 53 | "visibility": { |
| 54 | "type": "string", |
| 55 | "default": "" |
| 56 | }, |
| 57 | "class_name": { |
| 58 | "type": "string", |
| 59 | "default": "" |
| 60 | }, |
| 61 | "className": { |
| 62 | "type": "string", |
| 63 | "default": "" |
| 64 | } |
| 65 | } |
| 66 | } |