@expofp/floorplan
Version:
Interactive floor plan library for expos and events
2 lines (1 loc) • 451 B
JavaScript
import{__decorate as r}from"tslib";import{computed as o}from"mobx";export default class e{get categoryById(){return new Map(this.categories.map(t=>[t.id,t]))}get seminarsCategory(){return this.categories.find(t=>t.slug==="seminars")}constructor(t){this.categories=[],this.rootStore=t}}r([o({keepAlive:!0})],e.prototype,"categoryById",null),r([o],e.prototype,"seminarsCategory",null);export class Category{constructor(){this.entity={type:"category"}}}