@frangoteam/fuxa-min 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/index.js +170 -11
- package/dist/3rdpartylicenses.txt +1 -377
- package/dist/assets/i18n/en.json +43 -3
- package/dist/assets/i18n/fr.json +835 -348
- package/dist/assets/i18n/ja.json +1751 -0
- package/dist/assets/i18n/sv.json +5 -0
- package/dist/assets/i18n/zh-cn.json +523 -66
- package/dist/assets/lib/svgeditor/extensions/ext-bundle.min.js +1 -1
- package/dist/assets/lib/svgeditor/fuxa-editor.min.js +2 -2
- package/dist/index.html +1 -1
- package/dist/main.51a4dc379bb23222.js +329 -0
- package/dist/{polyfills.8df7953530aa56e1.js → polyfills.c8e7db9850a3ad8b.js} +1 -1
- package/dist/{runtime.9136a61a9b98f987.js → runtime.8ef63094e52a66ba.js} +1 -1
- package/main.js +102 -31
- package/package.json +3 -3
- package/runtime/devices/device-utils.js +2 -1
- package/runtime/devices/device.js +23 -5
- package/runtime/devices/melsec/index.js +362 -0
- package/runtime/devices/modbus/datatypes.js +35 -5
- package/runtime/devices/webcam/index.js +292 -0
- package/runtime/index.js +1 -1
- package/runtime/notificator/index.js +12 -9
- package/runtime/plugins/index.js +4 -0
- package/runtime/scripts/index.js +8 -4
- package/runtime/utils.js +23 -0
- package/settings.default.js +12 -2
- package/dist/main.744ebf9b135efd34.js +0 -329
package/api/resources/index.js
CHANGED
|
@@ -7,6 +7,7 @@ const path = require('path');
|
|
|
7
7
|
var express = require("express");
|
|
8
8
|
const authJwt = require('../jwt-helper');
|
|
9
9
|
const Report = require('../../runtime/jobs/report');
|
|
10
|
+
const fontkit = require('fontkit');
|
|
10
11
|
const os = require('os');
|
|
11
12
|
|
|
12
13
|
var runtime;
|
|
@@ -41,16 +42,16 @@ module.exports = {
|
|
|
41
42
|
runtime.logger.error("api get resources/images: Unauthorized!");
|
|
42
43
|
} else {
|
|
43
44
|
try {
|
|
44
|
-
var result = {...req.query, ...{ groups: [] }};
|
|
45
|
+
var result = { ...req.query, ...{ groups: [] } };
|
|
45
46
|
var resourcesDirs = getDirectories(runtime.settings.imagesFileDir);
|
|
46
47
|
for (var i = 0; i < resourcesDirs.length; i++) {
|
|
47
48
|
var group = { name: resourcesDirs[i], items: [] };
|
|
48
49
|
var dirPath = path.resolve(runtime.settings.imagesFileDir, resourcesDirs[i]);
|
|
49
|
-
var wwwSubDir =
|
|
50
|
-
var files =
|
|
50
|
+
var wwwSubDir = path.join('_images', resourcesDirs[i]);
|
|
51
|
+
var files = getFiles(dirPath, ['.jpg', '.jpeg', '.png', '.gif', '.svg', '.mp4', '.webm', '.ogg', '.ogv']);
|
|
51
52
|
for (var x = 0; x < files.length; x++) {
|
|
52
53
|
var filename = files[x].replace(/\.[^\/.]+$/, '');
|
|
53
|
-
group.items.push({ path:
|
|
54
|
+
group.items.push({ path: path.join(wwwSubDir, files[x]).split(path.sep).join(path.posix.sep), name: filename });
|
|
54
55
|
}
|
|
55
56
|
result.groups.push(group);
|
|
56
57
|
}
|
|
@@ -66,6 +67,82 @@ module.exports = {
|
|
|
66
67
|
}
|
|
67
68
|
});
|
|
68
69
|
|
|
70
|
+
/**
|
|
71
|
+
* GET Server resources folder content
|
|
72
|
+
*/
|
|
73
|
+
resourcesApp.get('/api/resources/resources', secureFnc, function (req, res) {
|
|
74
|
+
const permission = checkGroupsFnc(req);
|
|
75
|
+
if (res.statusCode === 403) {
|
|
76
|
+
runtime.logger.error("api get resources/resources: Tocken Expired");
|
|
77
|
+
} else if (!authJwt.haveAdminPermission(permission)) {
|
|
78
|
+
res.status(401).json({ error: "unauthorized_error", message: "Unauthorized!" });
|
|
79
|
+
runtime.logger.error("api get resources/resources: Unauthorized!");
|
|
80
|
+
} else {
|
|
81
|
+
try {
|
|
82
|
+
const resourcesFilter = { fonts: ['ttf'] };
|
|
83
|
+
const wwwSubDir = '_resources';
|
|
84
|
+
const result = { ...req.query, ...{ groups: [] } };
|
|
85
|
+
const group = { name: wwwSubDir, items: [] };
|
|
86
|
+
var files = getFiles(runtime.settings.resourcesFileDir, ['.jpg', '.jpeg', '.png', '.gif', '.svg', '.pdf', '.ttf', '.mp4', '.webm', '.ogg', '.ogv']);
|
|
87
|
+
for (var x = 0; x < files.length; x++) {
|
|
88
|
+
const fileName = files[x];
|
|
89
|
+
const filePath = path.join(wwwSubDir, files[x]).split(path.sep).join(path.posix.sep);
|
|
90
|
+
var fileLabel;
|
|
91
|
+
if (resourcesFilter.fonts.some(suffix => fileName.endsWith(suffix))) {
|
|
92
|
+
const font = fontkit.openSync(filePath);
|
|
93
|
+
fileLabel = font.fullName;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
group.items.push({
|
|
97
|
+
path: filePath,
|
|
98
|
+
name: fileName,
|
|
99
|
+
label: fileLabel
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
result.groups.push(group);
|
|
103
|
+
res.json(result);
|
|
104
|
+
} catch (err) {
|
|
105
|
+
if (err.code) {
|
|
106
|
+
res.status(400).json({ error: err.code, message: err.message });
|
|
107
|
+
} else {
|
|
108
|
+
res.status(400).json({ error: "unexpected_error", message: err.toString() });
|
|
109
|
+
}
|
|
110
|
+
runtime.logger.error("api get resources/resources: " + err.message);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* POST remove resource file
|
|
117
|
+
*/
|
|
118
|
+
resourcesApp.post('/api/resources/remove', function (req, res) {
|
|
119
|
+
const permission = checkGroupsFnc(req);
|
|
120
|
+
if (res.statusCode === 403) {
|
|
121
|
+
runtime.logger.error("api post device: Tocken Expired");
|
|
122
|
+
} else if (!authJwt.haveAdminPermission(permission)) {
|
|
123
|
+
res.status(401).json({ error: "unauthorized_error", message: "Unauthorized!" });
|
|
124
|
+
runtime.logger.error("api post remove resource: Unauthorized");
|
|
125
|
+
} else {
|
|
126
|
+
try {
|
|
127
|
+
let fileName = req.body.file.replace(new RegExp('../', 'g'), '');
|
|
128
|
+
const filePath = path.join(runtime.settings.resourcesFileDir, fileName);
|
|
129
|
+
if (fs.existsSync(filePath)) {
|
|
130
|
+
fs.unlinkSync(filePath);
|
|
131
|
+
}
|
|
132
|
+
runtime.logger.info(`resources '${filePath}' deleted!`, true);
|
|
133
|
+
res.end();
|
|
134
|
+
} catch (err) {
|
|
135
|
+
if (err && err.code) {
|
|
136
|
+
res.status(400).json({ error: err.code, message: err.message });
|
|
137
|
+
runtime.logger.error("api remove resource: " + err.message);
|
|
138
|
+
} else {
|
|
139
|
+
res.status(400).json({ error: "unexpected_error", message: err });
|
|
140
|
+
runtime.logger.error("api remove resource: " + err);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
|
|
69
146
|
/**
|
|
70
147
|
* GET svg/canvas rendered and converted to image
|
|
71
148
|
*/
|
|
@@ -102,8 +179,90 @@ module.exports = {
|
|
|
102
179
|
});
|
|
103
180
|
|
|
104
181
|
/**
|
|
105
|
-
* GET
|
|
182
|
+
* GET Templates
|
|
183
|
+
* Take from resources storage and reply
|
|
106
184
|
*/
|
|
185
|
+
resourcesApp.get("/api/resources/templates", secureFnc, function (req, res) {
|
|
186
|
+
const permission = checkGroupsFnc(req);
|
|
187
|
+
if (res.statusCode === 403) {
|
|
188
|
+
runtime.logger.error("api get templates: Tocken Expired");
|
|
189
|
+
} else if (!authJwt.haveAdminPermission(permission)) {
|
|
190
|
+
res.status(401).json({ error: "unauthorized_error", message: "Unauthorized!" });
|
|
191
|
+
runtime.logger.error("api get templates: Unauthorized!");
|
|
192
|
+
} else {
|
|
193
|
+
runtime.resourcesMgr.getTemplates(req.query).then(result => {
|
|
194
|
+
// res.header("Access-Control-Allow-Origin", "*");
|
|
195
|
+
// res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
|
|
196
|
+
if (result) {
|
|
197
|
+
result.forEach(template => {
|
|
198
|
+
template.content = JSON.parse(template.content);
|
|
199
|
+
});
|
|
200
|
+
res.json(result);
|
|
201
|
+
} else {
|
|
202
|
+
res.end();
|
|
203
|
+
}
|
|
204
|
+
}).catch(function (err) {
|
|
205
|
+
if (err.code) {
|
|
206
|
+
res.status(400).json({ error: err.code, message: err.message });
|
|
207
|
+
} else {
|
|
208
|
+
res.status(400).json({ error: "unexpected_error", message: err.toString() });
|
|
209
|
+
}
|
|
210
|
+
runtime.logger.error("api get templates: " + err.message);
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* POST template
|
|
217
|
+
*/
|
|
218
|
+
resourcesApp.post('/api/resources/template', function (req, res) {
|
|
219
|
+
const permission = checkGroupsFnc(req);
|
|
220
|
+
if (res.statusCode === 403) {
|
|
221
|
+
runtime.logger.error("api post device: Tocken Expired");
|
|
222
|
+
} else if (!authJwt.haveAdminPermission(permission)) {
|
|
223
|
+
res.status(401).json({ error: "unauthorized_error", message: "Unauthorized!" });
|
|
224
|
+
runtime.logger.error("api post template: Unauthorized");
|
|
225
|
+
} else {
|
|
226
|
+
runtime.resourcesMgr.setTemplate(req.body.template).then((data) => {
|
|
227
|
+
res.end();
|
|
228
|
+
}).catch(function (err) {
|
|
229
|
+
if (err.code) {
|
|
230
|
+
res.status(400).json({ error: err.code, message: err.message });
|
|
231
|
+
} else {
|
|
232
|
+
res.status(400).json({ error: "unexpected_error", message: err.toString() });
|
|
233
|
+
}
|
|
234
|
+
runtime.logger.error("api post template: " + err.message);
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* DELETE template
|
|
241
|
+
*/
|
|
242
|
+
resourcesApp.delete("/api/resources/templates", secureFnc, function (req, res, next) {
|
|
243
|
+
const permission = checkGroupsFnc(req);
|
|
244
|
+
if (res.statusCode === 403) {
|
|
245
|
+
runtime.logger.error("api delete templates: Tocken Expired");
|
|
246
|
+
} else if (!authJwt.haveAdminPermission(permission)) {
|
|
247
|
+
res.status(401).json({ error: "unauthorized_error", message: "Unauthorized!" });
|
|
248
|
+
runtime.logger.error("api delete templates: Unauthorized");
|
|
249
|
+
} else {
|
|
250
|
+
runtime.resourcesMgr.removeTemplates(req.query.templates).then((data) => {
|
|
251
|
+
res.end();
|
|
252
|
+
}).catch(function (err) {
|
|
253
|
+
if (err.code) {
|
|
254
|
+
res.status(400).json({ error: err.code, message: err.message });
|
|
255
|
+
} else {
|
|
256
|
+
res.status(400).json({ error: "unexpected_error", message: err.toString() });
|
|
257
|
+
}
|
|
258
|
+
runtime.logger.error("api delete templates: " + err.message);
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* GET Server widgets folder content
|
|
265
|
+
*/
|
|
107
266
|
resourcesApp.get('/api/resources/widgets', secureFnc, function (req, res) {
|
|
108
267
|
const permission = checkGroupsFnc(req);
|
|
109
268
|
if (res.statusCode === 403) {
|
|
@@ -113,16 +272,16 @@ module.exports = {
|
|
|
113
272
|
runtime.logger.error("api get resources/widgets: Unauthorized!");
|
|
114
273
|
} else {
|
|
115
274
|
try {
|
|
116
|
-
var result = {...req.query, ...{ groups: [] }};
|
|
275
|
+
var result = { ...req.query, ...{ groups: [] } };
|
|
117
276
|
var resourcesDirs = getDirectories(runtime.settings.widgetsFileDir);
|
|
118
277
|
for (var i = 0; i < resourcesDirs.length; i++) {
|
|
119
278
|
var group = { name: resourcesDirs[i], items: [] };
|
|
120
279
|
var dirPath = path.resolve(runtime.settings.widgetsFileDir, resourcesDirs[i]);
|
|
121
|
-
var wwwSubDir =
|
|
122
|
-
var files =
|
|
280
|
+
var wwwSubDir = path.join('_widgets', resourcesDirs[i]);
|
|
281
|
+
var files = getFiles(dirPath, ['.svg']);
|
|
123
282
|
for (var x = 0; x < files.length; x++) {
|
|
124
283
|
var filename = files[x];
|
|
125
|
-
group.items.push({ path:
|
|
284
|
+
group.items.push({ path: path.join(wwwSubDir, files[x]).split(path.sep).join(path.posix.sep), name: filename });
|
|
126
285
|
}
|
|
127
286
|
result.groups.push(group);
|
|
128
287
|
}
|
|
@@ -191,14 +350,14 @@ module.exports = {
|
|
|
191
350
|
}
|
|
192
351
|
}
|
|
193
352
|
|
|
194
|
-
function getDirectories
|
|
353
|
+
function getDirectories(pathDir) {
|
|
195
354
|
const directoriesInDIrectory = fs.readdirSync(pathDir, { withFileTypes: true })
|
|
196
355
|
.filter((item) => item.isDirectory())
|
|
197
356
|
.map((item) => item.name);
|
|
198
357
|
return directoriesInDIrectory;
|
|
199
358
|
}
|
|
200
359
|
|
|
201
|
-
function getFiles
|
|
360
|
+
function getFiles(pathDir, extensions) {
|
|
202
361
|
const filesInDIrectory = fs.readdirSync(pathDir)
|
|
203
362
|
.filter((item) => extensions.indexOf(path.extname(item).toLowerCase()) !== -1);
|
|
204
363
|
return filesInDIrectory;
|
|
@@ -148,27 +148,7 @@ MIT
|
|
|
148
148
|
@ngx-translate/http-loader
|
|
149
149
|
MIT
|
|
150
150
|
|
|
151
|
-
|
|
152
|
-
MIT
|
|
153
|
-
Copyright (c) 2011 Raynos.
|
|
154
|
-
|
|
155
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
156
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
157
|
-
in the Software without restriction, including without limitation the rights
|
|
158
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
159
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
160
|
-
furnished to do so, subject to the following conditions:
|
|
161
|
-
|
|
162
|
-
The above copyright notice and this permission notice shall be included in
|
|
163
|
-
all copies or substantial portions of the Software.
|
|
164
|
-
|
|
165
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
166
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
167
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
168
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
169
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
170
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
171
|
-
THE SOFTWARE.
|
|
151
|
+
@socket.io/component-emitter
|
|
172
152
|
|
|
173
153
|
amator
|
|
174
154
|
MIT
|
|
@@ -223,57 +203,6 @@ SOFTWARE.
|
|
|
223
203
|
angular2-draggable
|
|
224
204
|
MIT
|
|
225
205
|
|
|
226
|
-
arraybuffer.slice
|
|
227
|
-
MIT
|
|
228
|
-
Copyright (C) 2013 Rase-
|
|
229
|
-
|
|
230
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
231
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
232
|
-
the Software without restriction, including without limitation the rights to
|
|
233
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
234
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
235
|
-
so, subject to the following conditions:
|
|
236
|
-
|
|
237
|
-
The above copyright notice and this permission notice shall be included in all
|
|
238
|
-
copies or substantial portions of the Software.
|
|
239
|
-
|
|
240
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
241
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
242
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
243
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
244
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
245
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
backo2
|
|
249
|
-
MIT
|
|
250
|
-
|
|
251
|
-
base64-arraybuffer
|
|
252
|
-
MIT
|
|
253
|
-
Copyright (c) 2012 Niklas von Hertzen
|
|
254
|
-
|
|
255
|
-
Permission is hereby granted, free of charge, to any person
|
|
256
|
-
obtaining a copy of this software and associated documentation
|
|
257
|
-
files (the "Software"), to deal in the Software without
|
|
258
|
-
restriction, including without limitation the rights to use,
|
|
259
|
-
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
260
|
-
copies of the Software, and to permit persons to whom the
|
|
261
|
-
Software is furnished to do so, subject to the following
|
|
262
|
-
conditions:
|
|
263
|
-
|
|
264
|
-
The above copyright notice and this permission notice shall be
|
|
265
|
-
included in all copies or substantial portions of the Software.
|
|
266
|
-
|
|
267
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
268
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
269
|
-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
270
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
271
|
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
272
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
273
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
274
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
|
275
|
-
|
|
276
|
-
|
|
277
206
|
bezier-easing
|
|
278
207
|
MIT
|
|
279
208
|
Copyright (c) 2014 Gaëtan Renaudeau
|
|
@@ -300,31 +229,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
300
229
|
OTHER DEALINGS IN THE SOFTWARE.
|
|
301
230
|
|
|
302
231
|
|
|
303
|
-
blob
|
|
304
|
-
MIT
|
|
305
|
-
MIT License
|
|
306
|
-
|
|
307
|
-
Copyright (C) 2014 Rase-
|
|
308
|
-
|
|
309
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
310
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
311
|
-
the Software without restriction, including without limitation the rights to
|
|
312
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
313
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
314
|
-
subject to the following conditions:
|
|
315
|
-
|
|
316
|
-
The above copyright notice and this permission notice shall be included in all
|
|
317
|
-
copies or substantial portions of the Software.
|
|
318
|
-
|
|
319
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
320
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
321
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
322
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
323
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
324
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
325
|
-
SOFTWARE.
|
|
326
|
-
|
|
327
|
-
|
|
328
232
|
chart.js
|
|
329
233
|
MIT
|
|
330
234
|
The MIT License (MIT)
|
|
@@ -378,61 +282,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
378
282
|
THE SOFTWARE.
|
|
379
283
|
|
|
380
284
|
|
|
381
|
-
component-bind
|
|
382
|
-
|
|
383
|
-
component-emitter
|
|
384
|
-
MIT
|
|
385
|
-
(The MIT License)
|
|
386
|
-
|
|
387
|
-
Copyright (c) 2014 Component contributors <dev@component.io>
|
|
388
|
-
|
|
389
|
-
Permission is hereby granted, free of charge, to any person
|
|
390
|
-
obtaining a copy of this software and associated documentation
|
|
391
|
-
files (the "Software"), to deal in the Software without
|
|
392
|
-
restriction, including without limitation the rights to use,
|
|
393
|
-
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
394
|
-
copies of the Software, and to permit persons to whom the
|
|
395
|
-
Software is furnished to do so, subject to the following
|
|
396
|
-
conditions:
|
|
397
|
-
|
|
398
|
-
The above copyright notice and this permission notice shall be
|
|
399
|
-
included in all copies or substantial portions of the Software.
|
|
400
|
-
|
|
401
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
402
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
403
|
-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
404
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
405
|
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
406
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
407
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
408
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
component-inherit
|
|
412
|
-
|
|
413
|
-
debug
|
|
414
|
-
MIT
|
|
415
|
-
(The MIT License)
|
|
416
|
-
|
|
417
|
-
Copyright (c) 2014 TJ Holowaychuk <tj@vision-media.ca>
|
|
418
|
-
|
|
419
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
|
420
|
-
and associated documentation files (the 'Software'), to deal in the Software without restriction,
|
|
421
|
-
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
422
|
-
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
|
|
423
|
-
subject to the following conditions:
|
|
424
|
-
|
|
425
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial
|
|
426
|
-
portions of the Software.
|
|
427
|
-
|
|
428
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
|
429
|
-
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
430
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
431
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
432
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
285
|
delegate
|
|
437
286
|
MIT
|
|
438
287
|
|
|
@@ -462,55 +311,8 @@ SOFTWARE.
|
|
|
462
311
|
|
|
463
312
|
|
|
464
313
|
engine.io-client
|
|
465
|
-
MIT
|
|
466
|
-
(The MIT License)
|
|
467
|
-
|
|
468
|
-
Copyright (c) 2014-2015 Automattic <dev@cloudup.com>
|
|
469
|
-
|
|
470
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
471
|
-
a copy of this software and associated documentation files (the
|
|
472
|
-
'Software'), to deal in the Software without restriction, including
|
|
473
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
474
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
475
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
476
|
-
the following conditions:
|
|
477
|
-
|
|
478
|
-
The above copyright notice and this permission notice shall be
|
|
479
|
-
included in all copies or substantial portions of the Software.
|
|
480
|
-
|
|
481
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
482
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
483
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
484
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
485
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
486
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
487
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
488
|
-
|
|
489
314
|
|
|
490
315
|
engine.io-parser
|
|
491
|
-
MIT
|
|
492
|
-
(The MIT License)
|
|
493
|
-
|
|
494
|
-
Copyright (c) 2016 Guillermo Rauch (@rauchg)
|
|
495
|
-
|
|
496
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
497
|
-
a copy of this software and associated documentation files (the
|
|
498
|
-
'Software'), to deal in the Software without restriction, including
|
|
499
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
500
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
501
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
502
|
-
the following conditions:
|
|
503
|
-
|
|
504
|
-
The above copyright notice and this permission notice shall be
|
|
505
|
-
included in all copies or substantial portions of the Software.
|
|
506
|
-
|
|
507
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
508
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
509
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
510
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
511
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
512
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
513
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
514
316
|
|
|
515
317
|
eventemitter3
|
|
516
318
|
MIT
|
|
@@ -783,38 +585,6 @@ Apache-2.0
|
|
|
783
585
|
See the License for the specific language governing permissions and
|
|
784
586
|
limitations under the License.
|
|
785
587
|
|
|
786
|
-
has-binary2
|
|
787
|
-
MIT
|
|
788
|
-
The MIT License (MIT)
|
|
789
|
-
|
|
790
|
-
Copyright (c) 2014 Kevin Roark
|
|
791
|
-
|
|
792
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
793
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
794
|
-
the Software without restriction, including without limitation the rights to
|
|
795
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
796
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
797
|
-
subject to the following conditions:
|
|
798
|
-
|
|
799
|
-
The above copyright notice and this permission notice shall be included in all
|
|
800
|
-
copies or substantial portions of the Software.
|
|
801
|
-
|
|
802
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
803
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
804
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
805
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
806
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
807
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
has-cors
|
|
811
|
-
MIT
|
|
812
|
-
|
|
813
|
-
indexof
|
|
814
|
-
|
|
815
|
-
isarray
|
|
816
|
-
MIT
|
|
817
|
-
|
|
818
588
|
leaflet
|
|
819
589
|
BSD-2-Clause
|
|
820
590
|
BSD 2-Clause License
|
|
@@ -1128,31 +898,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
1128
898
|
OTHER DEALINGS IN THE SOFTWARE.
|
|
1129
899
|
|
|
1130
900
|
|
|
1131
|
-
ms
|
|
1132
|
-
MIT
|
|
1133
|
-
The MIT License (MIT)
|
|
1134
|
-
|
|
1135
|
-
Copyright (c) 2016 Zeit, Inc.
|
|
1136
|
-
|
|
1137
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1138
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1139
|
-
in the Software without restriction, including without limitation the rights
|
|
1140
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1141
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1142
|
-
furnished to do so, subject to the following conditions:
|
|
1143
|
-
|
|
1144
|
-
The above copyright notice and this permission notice shall be included in all
|
|
1145
|
-
copies or substantial portions of the Software.
|
|
1146
|
-
|
|
1147
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1148
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1149
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1150
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1151
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1152
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1153
|
-
SOFTWARE.
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
901
|
ng2-charts
|
|
1157
902
|
ISC
|
|
1158
903
|
|
|
@@ -1240,56 +985,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
1240
985
|
SOFTWARE.
|
|
1241
986
|
|
|
1242
987
|
|
|
1243
|
-
parseqs
|
|
1244
|
-
MIT
|
|
1245
|
-
The MIT License (MIT)
|
|
1246
|
-
|
|
1247
|
-
Copyright (c) 2015 Gal Koren
|
|
1248
|
-
|
|
1249
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1250
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1251
|
-
in the Software without restriction, including without limitation the rights
|
|
1252
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1253
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1254
|
-
furnished to do so, subject to the following conditions:
|
|
1255
|
-
|
|
1256
|
-
The above copyright notice and this permission notice shall be included in
|
|
1257
|
-
all copies or substantial portions of the Software.
|
|
1258
|
-
|
|
1259
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1260
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1261
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1262
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1263
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1264
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1265
|
-
THE SOFTWARE.
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
parseuri
|
|
1269
|
-
MIT
|
|
1270
|
-
The MIT License (MIT)
|
|
1271
|
-
|
|
1272
|
-
Copyright (c) 2014 Gal Koren
|
|
1273
|
-
|
|
1274
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1275
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1276
|
-
in the Software without restriction, including without limitation the rights
|
|
1277
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1278
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1279
|
-
furnished to do so, subject to the following conditions:
|
|
1280
|
-
|
|
1281
|
-
The above copyright notice and this permission notice shall be included in
|
|
1282
|
-
all copies or substantial portions of the Software.
|
|
1283
|
-
|
|
1284
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1285
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1286
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1287
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1288
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1289
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1290
|
-
THE SOFTWARE.
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
988
|
pdfmake
|
|
1294
989
|
MIT
|
|
1295
990
|
The MIT License (MIT)
|
|
@@ -1522,29 +1217,6 @@ Apache-2.0
|
|
|
1522
1217
|
|
|
1523
1218
|
|
|
1524
1219
|
socket.io-client
|
|
1525
|
-
MIT
|
|
1526
|
-
The MIT License (MIT)
|
|
1527
|
-
|
|
1528
|
-
Copyright (c) 2014 Guillermo Rauch
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1532
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1533
|
-
in the Software without restriction, including without limitation the rights
|
|
1534
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1535
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1536
|
-
furnished to do so, subject to the following conditions:
|
|
1537
|
-
|
|
1538
|
-
The above copyright notice and this permission notice shall be included in
|
|
1539
|
-
all copies or substantial portions of the Software.
|
|
1540
|
-
|
|
1541
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1542
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1543
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1544
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1545
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1546
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1547
|
-
THE SOFTWARE.
|
|
1548
1220
|
|
|
1549
1221
|
socket.io-parser
|
|
1550
1222
|
MIT
|
|
@@ -1570,28 +1242,6 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
1570
1242
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1571
1243
|
|
|
1572
1244
|
|
|
1573
|
-
to-array
|
|
1574
|
-
MIT
|
|
1575
|
-
Copyright (c) 2012 Raynos.
|
|
1576
|
-
|
|
1577
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1578
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1579
|
-
in the Software without restriction, including without limitation the rights
|
|
1580
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1581
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1582
|
-
furnished to do so, subject to the following conditions:
|
|
1583
|
-
|
|
1584
|
-
The above copyright notice and this permission notice shall be included in
|
|
1585
|
-
all copies or substantial portions of the Software.
|
|
1586
|
-
|
|
1587
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1588
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1589
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1590
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1591
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1592
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1593
|
-
THE SOFTWARE.
|
|
1594
|
-
|
|
1595
1245
|
tslib
|
|
1596
1246
|
0BSD
|
|
1597
1247
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1662,32 +1312,6 @@ MIT
|
|
|
1662
1312
|
xgplayer-flv.js
|
|
1663
1313
|
MIT
|
|
1664
1314
|
|
|
1665
|
-
yeast
|
|
1666
|
-
MIT
|
|
1667
|
-
The MIT License (MIT)
|
|
1668
|
-
|
|
1669
|
-
Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
|
|
1670
|
-
|
|
1671
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1672
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1673
|
-
in the Software without restriction, including without limitation the rights
|
|
1674
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1675
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1676
|
-
furnished to do so, subject to the following conditions:
|
|
1677
|
-
|
|
1678
|
-
The above copyright notice and this permission notice shall be included in all
|
|
1679
|
-
copies or substantial portions of the Software.
|
|
1680
|
-
|
|
1681
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1682
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1683
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1684
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1685
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1686
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1687
|
-
SOFTWARE.
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
1315
|
zone.js
|
|
1692
1316
|
MIT
|
|
1693
1317
|
The MIT License
|