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
134 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 2, |
| 4 | "name": "latepoint/book-button", |
| 5 | "version": "1.0.0", |
| 6 | "title": "Booking Button", |
| 7 | "category": "latepoint", |
| 8 | "icon": "button", |
| 9 | "description": "Generates a booking button for LatePoint", |
| 10 | "attributes": { |
| 11 | "id" : { |
| 12 | "type": "string" |
| 13 | }, |
| 14 | "caption": { |
| 15 | "type": "string", |
| 16 | "default": "Book Appointment" |
| 17 | }, |
| 18 | "hide_summary": { |
| 19 | "type": "boolean", |
| 20 | "default": false |
| 21 | }, |
| 22 | "hide_side_panel": { |
| 23 | "type": "boolean", |
| 24 | "default": false |
| 25 | }, |
| 26 | "selected_agent": { |
| 27 | "type": "string" |
| 28 | }, |
| 29 | "selected_service": { |
| 30 | "type": "string" |
| 31 | }, |
| 32 | "selected_bundle": { |
| 33 | "type": "string" |
| 34 | }, |
| 35 | "selected_service_category": { |
| 36 | "type": "string" |
| 37 | }, |
| 38 | "selected_location": { |
| 39 | "type": "string" |
| 40 | }, |
| 41 | "selected_start_date": { |
| 42 | "type": "string" |
| 43 | }, |
| 44 | "selected_start_time": { |
| 45 | "type": "string" |
| 46 | }, |
| 47 | "selected_duration": { |
| 48 | "type": "string" |
| 49 | }, |
| 50 | "selected_total_attendees": { |
| 51 | "type": "string" |
| 52 | }, |
| 53 | |
| 54 | "is_inherit": { |
| 55 | "type": "boolean", |
| 56 | "default": false |
| 57 | }, |
| 58 | "bg_color": { |
| 59 | "type": "string" |
| 60 | }, |
| 61 | "bg_color_hover": { |
| 62 | "type": "string" |
| 63 | }, |
| 64 | "text_color": { |
| 65 | "type": "string" |
| 66 | }, |
| 67 | "text_color_hover": { |
| 68 | "type": "string" |
| 69 | }, |
| 70 | "border_color": { |
| 71 | "type": "string" |
| 72 | }, |
| 73 | "border_color_hover": { |
| 74 | "type": "string" |
| 75 | }, |
| 76 | "padding": { |
| 77 | "type": "string" |
| 78 | }, |
| 79 | "font_family":{ |
| 80 | "type": "string" |
| 81 | }, |
| 82 | "font_size": { |
| 83 | "type": "string" |
| 84 | }, |
| 85 | "text_transform": { |
| 86 | "type": "string" |
| 87 | }, |
| 88 | "font_weight": { |
| 89 | "type": "string" |
| 90 | }, |
| 91 | "line_height": { |
| 92 | "type": "string" |
| 93 | }, |
| 94 | "letter_spacing": { |
| 95 | "type": "string" |
| 96 | }, |
| 97 | "border_radius": { |
| 98 | "type": "string" |
| 99 | }, |
| 100 | "border_style": { |
| 101 | "type": "string", |
| 102 | "default": "default" |
| 103 | }, |
| 104 | "border_width": { |
| 105 | "type": "string" |
| 106 | }, |
| 107 | "align": { |
| 108 | "type": "string" |
| 109 | }, |
| 110 | "source_id": { |
| 111 | "type": "string" |
| 112 | }, |
| 113 | "calendar_start_date": { |
| 114 | "type": "string" |
| 115 | }, |
| 116 | "show_services": { |
| 117 | "type": "string" |
| 118 | }, |
| 119 | "show_service_categories": { |
| 120 | "type": "string" |
| 121 | }, |
| 122 | "show_agents": { |
| 123 | "type": "string" |
| 124 | }, |
| 125 | "show_locations": { |
| 126 | "type": "string" |
| 127 | } |
| 128 | }, |
| 129 | "supports": { |
| 130 | "html": false |
| 131 | }, |
| 132 | "textdomain": "latepoint", |
| 133 | "editorScript": "file:index.js" |
| 134 | } |