Jakub Man | 81d1f0c | 2020-12-21 10:04:09 +0100 | [diff] [blame^] | 1 | /**
|
| 2 | MIT License
|
| 3 |
|
| 4 | Copyright (c) 2018 Alexey Zuev
|
| 5 |
|
| 6 | Available from https://github.com/alexzuza/angular-plugin-architecture/
|
| 7 |
|
| 8 | Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 9 | of this software and associated documentation files (the "Software"), to deal
|
| 10 | in the Software without restriction, including without limitation the rights
|
| 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 12 | copies of the Software, and to permit persons to whom the Software is
|
| 13 | furnished to do so, subject to the following conditions:
|
| 14 |
|
| 15 | The above copyright notice and this permission notice shall be included in all
|
| 16 | copies or substantial portions of the Software.
|
| 17 |
|
| 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 24 | SOFTWARE.
|
| 25 | */
|
| 26 |
|
| 27 | import * as core from '@angular/core';
|
| 28 | import * as common from '@angular/common';
|
| 29 | import * as forms from '@angular/forms';
|
| 30 | import * as router from '@angular/router';
|
| 31 | import * as socketIo from 'socket.io-client';
|
| 32 | import * as rxjs from 'rxjs';
|
| 33 | import * as tslib from 'tslib';
|
| 34 | import * as http from '@angular/common/http';
|
| 35 | // @ts-ignore
|
| 36 | import * as socketService from 'app/services/socket.service';
|
| 37 |
|
| 38 | export const TOOL_EXTERNALS_MAP = {
|
| 39 | 'ng.http': http,
|
| 40 | 'ng.core': core,
|
| 41 | 'ng.common': common,
|
| 42 | 'ng.forms': forms,
|
| 43 | 'ng.router': router,
|
| 44 | rxjs,
|
| 45 | tslib,
|
| 46 | 'socket.io-client': socketIo,
|
| 47 | netconf_lib: '/assets/libnetconf/tools/netconf-lib.js',
|
| 48 | socketService
|
| 49 | };
|