block.json
3 months ago
edit.js
3 months ago
index-min.js
1 year ago
index.js
1 year ago
save.js
1 year ago
block.json
215 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 | |
| 71 | "source_id": { |
| 72 | "type": "string" |
| 73 | }, |
| 74 | "calendar_start_date": { |
| 75 | "type": "string" |
| 76 | }, |
| 77 | "show_services": { |
| 78 | "type": "string" |
| 79 | }, |
| 80 | "show_service_categories": { |
| 81 | "type": "string" |
| 82 | }, |
| 83 | "show_agents": { |
| 84 | "type": "string" |
| 85 | }, |
| 86 | "show_locations": { |
| 87 | "type": "string" |
| 88 | }, |
| 89 | "card_padding": { |
| 90 | "type": "string" |
| 91 | }, |
| 92 | "card_box_shadow": { |
| 93 | "type": "string" |
| 94 | }, |
| 95 | "card_border_style": { |
| 96 | "type": "string", |
| 97 | "default": "default" |
| 98 | }, |
| 99 | "card_border_radius": { |
| 100 | "type": "string" |
| 101 | }, |
| 102 | "card_border_width": { |
| 103 | "type": "string" |
| 104 | }, |
| 105 | "card_border_color": { |
| 106 | "type": "string" |
| 107 | }, |
| 108 | "card_border_color_hover": { |
| 109 | "type": "string" |
| 110 | }, |
| 111 | "card_bg_color_hover": { |
| 112 | "type": "string" |
| 113 | }, |
| 114 | "card_text_color": { |
| 115 | "type": "string" |
| 116 | }, |
| 117 | "card_bg_color": { |
| 118 | "type": "string" |
| 119 | }, |
| 120 | "card_text_color_hover": { |
| 121 | "type": "string" |
| 122 | }, |
| 123 | "card_price_color": { |
| 124 | "type": "string" |
| 125 | }, |
| 126 | "card_price_color_hover": { |
| 127 | "type": "string" |
| 128 | }, |
| 129 | "card_descr_color": { |
| 130 | "type": "string" |
| 131 | }, |
| 132 | "card_descr_color_hover": { |
| 133 | "type": "string" |
| 134 | }, |
| 135 | "is_inherit": { |
| 136 | "type": "boolean", |
| 137 | "default": false |
| 138 | }, |
| 139 | "hide_price": { |
| 140 | "type": "boolean", |
| 141 | "default": false |
| 142 | }, |
| 143 | "hide_description": { |
| 144 | "type": "boolean", |
| 145 | "default": false |
| 146 | }, |
| 147 | "hide_image": { |
| 148 | "type": "boolean", |
| 149 | "default": false |
| 150 | }, |
| 151 | "button_bg_color": { |
| 152 | "type": "string" |
| 153 | }, |
| 154 | "bg_color_hover": { |
| 155 | "type": "string" |
| 156 | }, |
| 157 | "button_text_color": { |
| 158 | "type": "string" |
| 159 | }, |
| 160 | "text_color_hover": { |
| 161 | "type": "string" |
| 162 | }, |
| 163 | "border_color": { |
| 164 | "type": "string" |
| 165 | }, |
| 166 | "border_color_hover": { |
| 167 | "type": "string" |
| 168 | }, |
| 169 | "padding": { |
| 170 | "type": "string" |
| 171 | }, |
| 172 | "font_family":{ |
| 173 | "type": "string" |
| 174 | }, |
| 175 | "button_font_size": { |
| 176 | "type": "string" |
| 177 | }, |
| 178 | "title_font_size": { |
| 179 | "type": "string" |
| 180 | }, |
| 181 | "price_font_size": { |
| 182 | "type": "string" |
| 183 | }, |
| 184 | "descr_font_size": { |
| 185 | "type": "string" |
| 186 | }, |
| 187 | "text_transform": { |
| 188 | "type": "string" |
| 189 | }, |
| 190 | "font_weight": { |
| 191 | "type": "string" |
| 192 | }, |
| 193 | "line_height": { |
| 194 | "type": "string" |
| 195 | }, |
| 196 | "letter_spacing": { |
| 197 | "type": "string" |
| 198 | }, |
| 199 | "button_border_radius": { |
| 200 | "type": "string" |
| 201 | }, |
| 202 | "border_style": { |
| 203 | "type": "string", |
| 204 | "default": "default" |
| 205 | }, |
| 206 | "border_width": { |
| 207 | "type": "string" |
| 208 | } |
| 209 | }, |
| 210 | "supports": { |
| 211 | "html": false |
| 212 | }, |
| 213 | "textdomain": "latepoint", |
| 214 | "editorScript": "file:index.js" |
| 215 | } |