import { D as DataModel } from './data-model-bb5789f5.js';
import { S as Space, T as TableConfig } from './table-config-c0c15e50.js';

var AppViewType;
(function (AppViewType) {
  AppViewType["DetailView"] = "detail-view";
  AppViewType["FormView"] = "form-view";
  AppViewType["ListViewTable"] = "list-view-table";
  AppViewType["ListViewCard"] = "list-view-card";
  AppViewType["PairListViewCard"] = "pair-list-view-card";
  AppViewType["AtamaMemberPairDetailView"] = "atama-member-pair-detail-view";
  AppViewType["TakvimAvailabilitySettingsView"] = "takvim-availability-settings-view";
})(AppViewType || (AppViewType = {}));
class DvnAppViewConfig extends DataModel {
  static decode(json) {
    const model = Object.assign(Object.create(DvnAppViewConfig.prototype), json);
    model.space = Space.decode(model.space);
    model.table = TableConfig.decode(model.table);
    return model;
  }
}

export { AppViewType as A, DvnAppViewConfig as D };
