block.json
76 lines
| 1 | { |
| 2 | "apiVersion": 2, |
| 3 | "name": "jet-forms/map-field", |
| 4 | "category": "jet-form-builder-fields", |
| 5 | "title": "Map Field", |
| 6 | "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=\"M60 16H4C2.89543 16 2 16.8954 2 18V38C2 39.1046 2.89543 40 4 40H60C61.1046 40 62 39.1046 62 38V18C62 16.8954 61.1046 16 60 16ZM4 14C1.79086 14 0 15.7909 0 18V38C0 40.2091 1.79086 42 4 42H60C62.2091 42 64 40.2091 64 38V18C64 15.7909 62.2091 14 60 14H4Z\" fill=\"#0F172A\"/>\n<path d=\"M53 38.2931C53 45.0824 48.1087 49.5172 40.5 57C32.8913 49.5172 28 45.0824 28 38.2931C28 31.5038 33.5964 26 40.5 26C47.4036 26 53 31.5038 53 38.2931Z\" fill=\"#6F8CFF\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M30.3478 48.0435C32.5797 51.4058 35.9565 55.058 40.4783 59C45 55.058 48.3768 51.4058 50.6087 48.0435C52.8406 44.6812 53.9565 41.6087 53.9565 38.8261C53.9565 34.6232 52.6014 31.2681 49.8913 28.7609C47.1812 26.2536 44.0435 25 40.4783 25C36.913 25 33.7754 26.2536 31.0652 28.7609C28.3551 31.2681 27 34.6232 27 38.8261C27 41.6087 28.1159 44.6812 30.3478 48.0435ZM49.087 46.7174C47.1449 49.7754 44.2754 53 40.4783 56.3913C36.7391 53 33.8841 49.7754 31.913 46.7174C29.942 43.6594 28.9565 41.029 28.9565 38.8261C28.9565 35.3478 30.0652 32.5 32.2826 30.2826C34.5 28.0652 37.2319 26.9565 40.4783 26.9565C43.7246 26.9565 46.4565 28.0652 48.6739 30.2826C50.8913 32.5 52 35.3478 52 38.8261C52 41.029 51.029 43.6594 49.087 46.7174Z\" fill=\"#0F172A\"/>\n<circle cx=\"40.5\" cy=\"38.5\" r=\"5.5\" fill=\"white\" stroke=\"#0F172A\" stroke-width=\"2\"/>\n</svg>", |
| 7 | "keywords": [ |
| 8 | "jetformbuilder", |
| 9 | "field", |
| 10 | "map", |
| 11 | "location", |
| 12 | "place" |
| 13 | ], |
| 14 | "textdomain": "jet-form-builder", |
| 15 | "supports": { |
| 16 | "customClassName": false, |
| 17 | "html": false |
| 18 | }, |
| 19 | "attributes": { |
| 20 | "format": { |
| 21 | "type": "string", |
| 22 | "default": "location_string" |
| 23 | }, |
| 24 | "height": { |
| 25 | "type": "number", |
| 26 | "default": 300 |
| 27 | }, |
| 28 | "label": { |
| 29 | "type": "string", |
| 30 | "default": "" |
| 31 | }, |
| 32 | "name": { |
| 33 | "type": "string", |
| 34 | "default": "field_name" |
| 35 | }, |
| 36 | "desc": { |
| 37 | "type": "string", |
| 38 | "default": "" |
| 39 | }, |
| 40 | "default": { |
| 41 | "type": "string", |
| 42 | "default": "" |
| 43 | }, |
| 44 | "placeholder": { |
| 45 | "type": "string", |
| 46 | "default": "" |
| 47 | }, |
| 48 | "required": { |
| 49 | "type": "boolean", |
| 50 | "default": false |
| 51 | }, |
| 52 | "add_prev": { |
| 53 | "type": "boolean", |
| 54 | "default": false |
| 55 | }, |
| 56 | "prev_label": { |
| 57 | "type": "string", |
| 58 | "default": "" |
| 59 | }, |
| 60 | "visibility": { |
| 61 | "type": "string", |
| 62 | "default": "" |
| 63 | }, |
| 64 | "class_name": { |
| 65 | "type": "string", |
| 66 | "default": "" |
| 67 | }, |
| 68 | "className": { |
| 69 | "type": "string", |
| 70 | "default": "" |
| 71 | } |
| 72 | }, |
| 73 | "usesContext": [ |
| 74 | "jet-forms/repeater-field--name" |
| 75 | ] |
| 76 | } |