You can extend the properties panel with a custom properties provider (see example), and (with v0.46.0) you can remove the wanted groups in getTabs, like so:
this.getTabs = function (element) {
return function (entries) {
// Remove a tab
const idx = findEntry(entries, "general")
entries.splice(idx, 1);
return entries;
};
};
/// helper
function findEntry(entries, entryId) {
return findIndex(entries, (e) => e.id === entryId);
}