block.json
94 lines
| 1 | { |
| 2 | "apiVersion": 2, |
| 3 | "name": "jet-forms/repeater-field", |
| 4 | "category": "jet-form-builder-fields", |
| 5 | "keywords": [ |
| 6 | "jetformbuilder", |
| 7 | "field", |
| 8 | "range" |
| 9 | ], |
| 10 | "textdomain": "jet-form-builder", |
| 11 | "supports": { |
| 12 | "customClassName": false, |
| 13 | "html": false |
| 14 | }, |
| 15 | "title": "Repeater Field", |
| 16 | "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=\"2\" width=\"62\" height=\"26\" rx=\"3\" fill=\"#4EFEC3\" stroke=\"#162B40\" stroke-width=\"2\"/><path d=\"M11.9561 20H9.98047V12.3848L7.62207 13.1162V11.5098L11.7441 10.0332H11.9561V20Z\" fill=\"#162B40\"/><path d=\"M20 3H60C61.1046 3 62 3.89543 62 5V25C62 26.1046 61.1046 27 60 27H20V3Z\" fill=\"white\"/><path d=\"M19.5 2V27.5\" stroke=\"#162B40\" stroke-width=\"2\"/><rect x=\"1\" y=\"35\" width=\"62\" height=\"26\" rx=\"3\" fill=\"#4EFEC3\" stroke=\"#162B40\" stroke-width=\"2\"/><path d=\"M13.9795 53H7.15723V51.6465L10.377 48.2148C10.819 47.7318 11.1449 47.3102 11.3545 46.9502C11.5687 46.5902 11.6758 46.2484 11.6758 45.9248C11.6758 45.4827 11.5641 45.1364 11.3408 44.8857C11.1175 44.6305 10.7985 44.5029 10.3838 44.5029C9.93717 44.5029 9.58398 44.6579 9.32422 44.9678C9.06901 45.2731 8.94141 45.6764 8.94141 46.1777H6.95898C6.95898 45.5716 7.10254 45.0179 7.38965 44.5166C7.68132 44.0153 8.09147 43.6234 8.62012 43.3408C9.14876 43.0537 9.74805 42.9102 10.418 42.9102C11.4434 42.9102 12.2386 43.1562 12.8037 43.6484C13.3734 44.1406 13.6582 44.8356 13.6582 45.7334C13.6582 46.2256 13.5306 46.7269 13.2754 47.2373C13.0202 47.7477 12.5827 48.3424 11.9629 49.0215L9.7002 51.4072H13.9795V53Z\" fill=\"#162B40\"/><path d=\"M20 36H60C61.1046 36 62 36.8954 62 38V58C62 59.1046 61.1046 60 60 60H20V36Z\" fill=\"white\"/><path d=\"M19.5 35V60.5\" stroke=\"#162B40\" stroke-width=\"2\"/></svg>", |
| 17 | "attributes": { |
| 18 | "calc_formula": { |
| 19 | "type": "string", |
| 20 | "default": "" |
| 21 | }, |
| 22 | "manage_items_count": { |
| 23 | "type": "string", |
| 24 | "default": "manually" |
| 25 | }, |
| 26 | "new_item_label": { |
| 27 | "type": "string", |
| 28 | "default": "", |
| 29 | "jfb": { |
| 30 | "shortcode": true |
| 31 | } |
| 32 | }, |
| 33 | "manage_items_count_field": { |
| 34 | "type": "string", |
| 35 | "default": "" |
| 36 | }, |
| 37 | "repeater_calc_type": { |
| 38 | "type": "string", |
| 39 | "default": "default" |
| 40 | }, |
| 41 | "label": { |
| 42 | "type": "string", |
| 43 | "default": "", |
| 44 | "jfb": { |
| 45 | "shortcode": true |
| 46 | } |
| 47 | }, |
| 48 | "name": { |
| 49 | "type": "string", |
| 50 | "default": "field_name" |
| 51 | }, |
| 52 | "desc": { |
| 53 | "type": "string", |
| 54 | "default": "", |
| 55 | "jfb": { |
| 56 | "shortcode": true |
| 57 | } |
| 58 | }, |
| 59 | "default": { |
| 60 | "type": "string", |
| 61 | "default": "" |
| 62 | }, |
| 63 | "required": { |
| 64 | "type": "boolean", |
| 65 | "default": false |
| 66 | }, |
| 67 | "add_prev": { |
| 68 | "type": "boolean", |
| 69 | "default": false |
| 70 | }, |
| 71 | "prev_label": { |
| 72 | "type": "string", |
| 73 | "default": "", |
| 74 | "jfb": { |
| 75 | "shortcode": true |
| 76 | } |
| 77 | }, |
| 78 | "visibility": { |
| 79 | "type": "string", |
| 80 | "default": "" |
| 81 | }, |
| 82 | "class_name": { |
| 83 | "type": "string", |
| 84 | "default": "" |
| 85 | }, |
| 86 | "className": { |
| 87 | "type": "string", |
| 88 | "default": "" |
| 89 | } |
| 90 | }, |
| 91 | "providesContext": { |
| 92 | "jet-forms/repeater-field--name": "name" |
| 93 | } |
| 94 | } |