wisemapping-frontend/packages/mindplot/src/index.ts

68 lines
2.5 KiB
TypeScript
Raw Normal View History

2021-12-25 23:39:34 +01:00
/*
* Copyright [2021] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
2021-12-24 20:04:50 +01:00
import jquery from 'jquery';
2021-12-23 19:51:26 +01:00
import * as DesignerBuilder from './components/DesignerBuilder';
2021-12-04 01:11:17 +01:00
import Mindmap from './components/model/Mindmap';
import PersistenceManager from './components/PersistenceManager';
import Designer from './components/Designer';
import LocalStorageManager from './components/LocalStorageManager';
2022-01-25 19:10:40 +01:00
import RESTPersistenceManager from './components/RestPersistenceManager';
2022-02-21 03:50:03 +01:00
import MockPersistenceManager from './components/MockPersistenceManager';
2022-01-25 19:10:40 +01:00
import DesignerOptionsBuilder from './components/DesignerOptionsBuilder';
2022-01-26 07:33:39 +01:00
import ImageExporterFactory from './components/export/ImageExporterFactory';
import TextExporterFactory from './components/export/TextExporterFactory';
2022-03-21 20:02:37 +01:00
import TextImporterFactory from './components/import/TextImporterFactory';
2022-01-26 07:33:39 +01:00
import Exporter from './components/export/Exporter';
2022-03-21 20:02:37 +01:00
import Importer from './components/import/Importer';
2022-02-13 04:15:51 +01:00
import DesignerKeyboard from './components/DesignerKeyboard';
2022-02-25 17:51:05 +01:00
import EditorRenderMode from './components/EditorRenderMode';
import ImageIcon from './components/ImageIcon';
2022-01-26 07:33:39 +01:00
import { buildDesigner } from './components/DesignerBuilder';
import { $notify } from './components/widget/ToolbarNotifier';
2021-12-04 01:11:17 +01:00
import { $msg } from './components/Messages';
2021-12-24 20:04:50 +01:00
// This hack is required to initialize Bootstrap. In future, this should be removed.
2022-01-31 01:05:22 +01:00
const globalAny: any = global;
globalAny.jQuery = jquery;
2022-01-30 11:37:14 +01:00
require('../../../libraries/bootstrap/js/bootstrap.min');
2021-12-24 20:04:50 +01:00
2021-12-04 01:11:17 +01:00
export {
2021-12-27 20:42:32 +01:00
Mindmap,
Designer,
DesignerBuilder,
2022-01-25 19:10:40 +01:00
PersistenceManager,
RESTPersistenceManager,
2022-02-21 03:50:03 +01:00
MockPersistenceManager,
2022-01-25 19:10:40 +01:00
LocalStorageManager,
DesignerOptionsBuilder,
buildDesigner,
2022-02-25 17:51:05 +01:00
EditorRenderMode,
2022-01-26 07:33:39 +01:00
TextExporterFactory,
ImageExporterFactory,
2022-03-21 20:02:37 +01:00
TextImporterFactory,
2022-01-26 07:33:39 +01:00
Exporter,
2022-03-21 20:02:37 +01:00
Importer,
ImageIcon,
2022-01-25 19:10:40 +01:00
$notify,
$msg,
2022-02-13 04:15:51 +01:00
DesignerKeyboard,
2021-12-29 17:38:37 +01:00
};