block.json
214 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "latepoint/list-of-resources", |
| 5 | "version": "1.0.0", |
| 6 | "title": "List of Resources", |
| 7 | "category": "latepoint", |
| 8 | "icon": "feedback", |
| 9 | "description": "Generates a list of bookable resources by type for LatePoint", |
| 10 | "attributes": { |
| 11 | "id": { |
| 12 | "type": "string" |
| 13 | }, |
| 14 | "items": { |
| 15 | "type": "string", |
| 16 | "default": "services" |
| 17 | }, |
| 18 | "columns": { |
| 19 | "type": "string", |
| 20 | "default": "4" |
| 21 | }, |
| 22 | "button_caption": { |
| 23 | "type": "string", |
| 24 | "default": "Book Now" |
| 25 | }, |
| 26 | "hide_summary": { |
| 27 | "type": "boolean", |
| 28 | "default": false |
| 29 | }, |
| 30 | "hide_side_panel": { |
| 31 | "type": "boolean", |
| 32 | "default": false |
| 33 | }, |
| 34 | "selected_agent": { |
| 35 | "type": "string" |
| 36 | }, |
| 37 | "selected_service": { |
| 38 | "type": "string" |
| 39 | }, |
| 40 | "selected_service_category": { |
| 41 | "type": "string" |
| 42 | }, |
| 43 | "selected_location": { |
| 44 | "type": "string" |
| 45 | }, |
| 46 | "selected_bundle": { |
| 47 | "type": "string" |
| 48 | }, |
| 49 | "selected_start_date": { |
| 50 | "type": "string" |
| 51 | }, |
| 52 | "selected_start_time": { |
| 53 | "type": "string" |
| 54 | }, |
| 55 | "selected_duration": { |
| 56 | "type": "string" |
| 57 | }, |
| 58 | "selected_total_attendees": { |
| 59 | "type": "string" |
| 60 | }, |
| 61 | "limit": { |
| 62 | "type": "string" |
| 63 | }, |
| 64 | "item_ids": { |
| 65 | "type": "string" |
| 66 | }, |
| 67 | "group_ids": { |
| 68 | "type": "string" |
| 69 | }, |
| 70 | "source_id": { |
| 71 | "type": "string" |
| 72 | }, |
| 73 | "calendar_start_date": { |
| 74 | "type": "string" |
| 75 | }, |
| 76 | "show_services": { |
| 77 | "type": "string" |
| 78 | }, |
| 79 | "show_service_categories": { |
| 80 | "type": "string" |
| 81 | }, |
| 82 | "show_agents": { |
| 83 | "type": "string" |
| 84 | }, |
| 85 | "show_locations": { |
| 86 | "type": "string" |
| 87 | }, |
| 88 | "card_padding": { |
| 89 | "type": "string" |
| 90 | }, |
| 91 | "card_box_shadow": { |
| 92 | "type": "string" |
| 93 | }, |
| 94 | "card_border_style": { |
| 95 | "type": "string", |
| 96 | "default": "default" |
| 97 | }, |
| 98 | "card_border_radius": { |
| 99 | "type": "string" |
| 100 | }, |
| 101 | "card_border_width": { |
| 102 | "type": "string" |
| 103 | }, |
| 104 | "card_border_color": { |
| 105 | "type": "string" |
| 106 | }, |
| 107 | "card_border_color_hover": { |
| 108 | "type": "string" |
| 109 | }, |
| 110 | "card_bg_color_hover": { |
| 111 | "type": "string" |
| 112 | }, |
| 113 | "card_text_color": { |
| 114 | "type": "string" |
| 115 | }, |
| 116 | "card_bg_color": { |
| 117 | "type": "string" |
| 118 | }, |
| 119 | "card_text_color_hover": { |
| 120 | "type": "string" |
| 121 | }, |
| 122 | "card_price_color": { |
| 123 | "type": "string" |
| 124 | }, |
| 125 | "card_price_color_hover": { |
| 126 | "type": "string" |
| 127 | }, |
| 128 | "card_descr_color": { |
| 129 | "type": "string" |
| 130 | }, |
| 131 | "card_descr_color_hover": { |
| 132 | "type": "string" |
| 133 | }, |
| 134 | "is_inherit": { |
| 135 | "type": "boolean", |
| 136 | "default": false |
| 137 | }, |
| 138 | "hide_price": { |
| 139 | "type": "boolean", |
| 140 | "default": false |
| 141 | }, |
| 142 | "hide_description": { |
| 143 | "type": "boolean", |
| 144 | "default": false |
| 145 | }, |
| 146 | "hide_image": { |
| 147 | "type": "boolean", |
| 148 | "default": false |
| 149 | }, |
| 150 | "button_bg_color": { |
| 151 | "type": "string" |
| 152 | }, |
| 153 | "bg_color_hover": { |
| 154 | "type": "string" |
| 155 | }, |
| 156 | "button_text_color": { |
| 157 | "type": "string" |
| 158 | }, |
| 159 | "text_color_hover": { |
| 160 | "type": "string" |
| 161 | }, |
| 162 | "border_color": { |
| 163 | "type": "string" |
| 164 | }, |
| 165 | "border_color_hover": { |
| 166 | "type": "string" |
| 167 | }, |
| 168 | "padding": { |
| 169 | "type": "string" |
| 170 | }, |
| 171 | "font_family": { |
| 172 | "type": "string" |
| 173 | }, |
| 174 | "button_font_size": { |
| 175 | "type": "string" |
| 176 | }, |
| 177 | "title_font_size": { |
| 178 | "type": "string" |
| 179 | }, |
| 180 | "price_font_size": { |
| 181 | "type": "string" |
| 182 | }, |
| 183 | "descr_font_size": { |
| 184 | "type": "string" |
| 185 | }, |
| 186 | "text_transform": { |
| 187 | "type": "string" |
| 188 | }, |
| 189 | "font_weight": { |
| 190 | "type": "string" |
| 191 | }, |
| 192 | "line_height": { |
| 193 | "type": "string" |
| 194 | }, |
| 195 | "letter_spacing": { |
| 196 | "type": "string" |
| 197 | }, |
| 198 | "button_border_radius": { |
| 199 | "type": "string" |
| 200 | }, |
| 201 | "border_style": { |
| 202 | "type": "string", |
| 203 | "default": "default" |
| 204 | }, |
| 205 | "border_width": { |
| 206 | "type": "string" |
| 207 | } |
| 208 | }, |
| 209 | "supports": { |
| 210 | "html": false |
| 211 | }, |
| 212 | "textdomain": "latepoint", |
| 213 | "editorScript": "file:index.js" |
| 214 | } |