block.json
1 year ago
edit.js
1 year ago
index-min.js
1 year ago
index.js
1 year ago
save.js
1 year ago
block.json
70 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 2, |
| 4 | "name": "latepoint/book-form", |
| 5 | "version": "1.0.0", |
| 6 | "title": "Booking Form", |
| 7 | "category": "latepoint", |
| 8 | "icon": "feedback", |
| 9 | "description": "Generates a booking form for LatePoint", |
| 10 | "attributes": { |
| 11 | "hide_summary": { |
| 12 | "type": "boolean", |
| 13 | "default": false |
| 14 | }, |
| 15 | "hide_side_panel": { |
| 16 | "type": "boolean", |
| 17 | "default": false |
| 18 | }, |
| 19 | "selected_agent": { |
| 20 | "type": "string" |
| 21 | }, |
| 22 | "selected_service": { |
| 23 | "type": "string" |
| 24 | }, |
| 25 | "selected_service_category": { |
| 26 | "type": "string" |
| 27 | }, |
| 28 | "selected_bundle": { |
| 29 | "type": "string" |
| 30 | }, |
| 31 | "selected_location": { |
| 32 | "type": "string" |
| 33 | }, |
| 34 | "selected_start_date": { |
| 35 | "type": "string" |
| 36 | }, |
| 37 | "selected_start_time": { |
| 38 | "type": "string" |
| 39 | }, |
| 40 | "selected_duration": { |
| 41 | "type": "string" |
| 42 | }, |
| 43 | "selected_total_attendees": { |
| 44 | "type": "string" |
| 45 | }, |
| 46 | "source_id": { |
| 47 | "type": "string" |
| 48 | }, |
| 49 | "calendar_start_date": { |
| 50 | "type": "string" |
| 51 | }, |
| 52 | "show_services": { |
| 53 | "type": "string" |
| 54 | }, |
| 55 | "show_service_categories": { |
| 56 | "type": "string" |
| 57 | }, |
| 58 | "show_agents": { |
| 59 | "type": "string" |
| 60 | }, |
| 61 | "show_locations": { |
| 62 | "type": "string" |
| 63 | } |
| 64 | }, |
| 65 | "supports": { |
| 66 | "html": false |
| 67 | }, |
| 68 | "textdomain": "latepoint", |
| 69 | "editorScript": "file:index.js" |
| 70 | } |