()
| 41 | } |
| 42 | |
| 43 | public getGroupedProps() { |
| 44 | const propsByGroup: Record<string, Record<string, PropertySpec<any>>> = {}; |
| 45 | |
| 46 | for (const key in this.props) { |
| 47 | const spec = this.props[key]; |
| 48 | const group = spec.group ?? Block.UNGROUPED; |
| 49 | |
| 50 | propsByGroup[group] ||= {}; |
| 51 | propsByGroup[group][key] = spec; |
| 52 | } |
| 53 | |
| 54 | return propsByGroup; |
| 55 | } |
| 56 | |
| 57 | private populateDefaults() { |
| 58 | for (const spec of Object.values(this.props)) { |