wisemapping-frontend/packages/mindplot/lib/mindplot.js

36 lines
805 B
JavaScript
Raw Normal View History

2021-07-16 16:41:58 +02:00
'use strict';
module.exports = mindplot; //eslint-disable-line
function mindplot() {
// Commands
2021-09-07 22:31:46 +02:00
const { Commands } = require('./components/commands');
2021-07-16 16:41:58 +02:00
// Layout
2021-09-07 22:31:46 +02:00
const { Layout } = require('./components/layout');
// Model
2021-09-02 18:32:23 +02:00
const { Model } = require('./components/model');
2021-09-07 22:31:46 +02:00
// Persistence
const { Persistence } = require('./components/persistence');
2021-09-02 18:32:23 +02:00
// Utils
const { Utils } = require('./components/util');
2021-09-07 22:31:46 +02:00
// Widgets
const { Widgets } = require('./components/widget');
2021-09-02 18:32:23 +02:00
// Components
2021-09-07 22:31:46 +02:00
const { Components } = require('./components');
2021-07-16 16:41:58 +02:00
return {
2021-09-08 22:45:26 +02:00
commands: Commands,
2021-09-02 18:32:23 +02:00
layouts: Layout,
models: Model,
2021-09-08 22:45:26 +02:00
persistence: Persistence,
2021-09-02 18:32:23 +02:00
utils: Utils,
widgets: Widgets,
components: Components,
2021-07-16 16:41:58 +02:00
};
}