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';
|
2021-12-04 01:11:17 +01:00
|
|
|
import Menu from './components/widget/Menu';
|
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';
|
|
|
|
import Exporter from './components/export/Exporter';
|
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';
|
2022-01-26 07:33:39 +01:00
|
|
|
|
2022-01-25 19:10:40 +01:00
|
|
|
import {
|
|
|
|
buildDesigner,
|
|
|
|
} from './components/DesignerBuilder';
|
|
|
|
import {
|
|
|
|
$notify,
|
|
|
|
} from './components/widget/ToolbarNotifier';
|
2021-12-04 01:11:17 +01:00
|
|
|
|
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,
|
|
|
|
Menu,
|
|
|
|
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,
|
|
|
|
Exporter,
|
2022-01-25 19:10:40 +01:00
|
|
|
$notify,
|
2022-02-13 04:15:51 +01:00
|
|
|
DesignerKeyboard,
|
2021-12-29 17:38:37 +01:00
|
|
|
};
|