import { T as TableConfig, d as decodeFields, S as Space } from './table-config-5c917348.js';
import { c as capitalize } from './string-3065a411.js';

class MembershipConfig extends TableConfig {
  static decode(json) {
    const model = Object.assign(Object.create(MembershipConfig.prototype), json);
    model.fields = decodeFields(model.fields);
    model.space = Space.decode(model.space);
    return model;
  }
  roleNameCapital() {
    return capitalize(this.roleName);
  }
  ;
}

export { MembershipConfig as M };
