@finsemble/finsemble-core 6.1.4 → 6.1.5
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/.mocharc.js +12 -12
- package/.nycrc.json +7 -7
- package/README.md +24 -24
- package/assets/fonts/LICENSE.txt +202 -202
- package/configs/core/config.json +214 -214
- package/configs/core/securityPolicies.json +24 -24
- package/configs/core/services.json +233 -233
- package/configs/schemas/README.md +1 -1
- package/configs/schemas/fileBasedSchemas/appdConfigFile.schema.json +5 -5
- package/configs/schemas/fileBasedSchemas/applicationConfigFile.schema.json +5 -5
- package/configs/schemas/fileBasedSchemas/componentsFile.schema.json +5 -5
- package/configs/schemas/fileBasedSchemas/coreConfigFile.schema.json +5 -5
- package/configs/schemas/fileBasedSchemas/dashbarFile.schema.json +5 -5
- package/configs/schemas/fileBasedSchemas/manifestFile.schema.json +5 -5
- package/configs/schemas/fileBasedSchemas/securityPoliciesFile.schema.json +5 -5
- package/configs/schemas/fileBasedSchemas/servicesFile.schema.json +5 -5
- package/configs/schemas/fileBasedSchemas/uiComponentsFile.schema.json +5 -5
- package/configs/schemas/fileBasedSchemas/workspacesFile.schema.json +5 -5
- package/configs/schemas/finsemble.schema.json +4006 -4006
- package/dist/FSBL.js +1 -1
- package/dist/clients/Interop/FinsembleDesktopAgent.md +154 -154
- package/dist/clients/Interop/tsconfig.json +7 -7
- package/dist/clients/Startup/README.md +28 -28
- package/dist/clients/dragAndDropAssets/dragAndDropScrim.css +54 -54
- package/dist/clients/dragAndDropAssets/ff-delete-circle.svg +10 -10
- package/dist/clients/dragAndDropAssets/ff-share.svg +13 -13
- package/dist/components/system/notification/ff-close.svg +14 -14
- package/dist/components/system/notification/finsemble_logo_white.svg +15 -15
- package/dist/components/system/notification/notification.html +155 -155
- package/dist/configs/core/config.json +214 -214
- package/dist/configs/core/securityPolicies.json +24 -24
- package/dist/configs/core/services.json +233 -233
- package/dist/configs/schemas/README.md +1 -1
- package/dist/configs/schemas/fileBasedSchemas/appdConfigFile.schema.json +5 -5
- package/dist/configs/schemas/fileBasedSchemas/applicationConfigFile.schema.json +5 -5
- package/dist/configs/schemas/fileBasedSchemas/componentsFile.schema.json +5 -5
- package/dist/configs/schemas/fileBasedSchemas/coreConfigFile.schema.json +5 -5
- package/dist/configs/schemas/fileBasedSchemas/dashbarFile.schema.json +5 -5
- package/dist/configs/schemas/fileBasedSchemas/manifestFile.schema.json +5 -5
- package/dist/configs/schemas/fileBasedSchemas/securityPoliciesFile.schema.json +5 -5
- package/dist/configs/schemas/fileBasedSchemas/servicesFile.schema.json +5 -5
- package/dist/configs/schemas/fileBasedSchemas/uiComponentsFile.schema.json +5 -5
- package/dist/configs/schemas/fileBasedSchemas/workspacesFile.schema.json +5 -5
- package/dist/configs/schemas/finsemble.schema.json +4006 -4006
- package/dist/finsemble-javascript-adapter.js +1 -1
- package/dist/index.js +1 -1
- package/dist/javascript-adapter-example-app.html +37 -37
- package/dist/services/Interop/DevTools.tsx +71 -71
- package/dist/services/Interop/Interop.html +15 -15
- package/dist/services/Interop/InteropService.js +1 -1
- package/dist/services/Interop/InteropService.md +148 -148
- package/dist/services/Interop/InteropServiceUI.css +12 -12
- package/dist/services/Interop/InteropServiceUI.js +1 -1
- package/dist/services/Interop/InteropServiceUI.tsx +39 -39
- package/dist/services/Interop/devtoolsEnhancer.tsx +63 -63
- package/dist/services/Interop/tsconfig.json +7 -7
- package/dist/services/ServiceTemplate.md +39 -39
- package/dist/services/assimilation/assimilation.html +18 -18
- package/dist/services/assimilation/assimilationService.js +1 -1
- package/dist/services/authentication/authentication.html +17 -17
- package/dist/services/authentication/authenticationService.js +1 -1
- package/dist/services/authentication/dialogSignOn.html +199 -199
- package/dist/services/config/config.html +17 -17
- package/dist/services/config/configService.js +1 -1
- package/dist/services/dataStore/dataStore.html +18 -18
- package/dist/services/dataStore/dataStoreService.js +1 -1
- package/dist/services/hotkeys/hotkeys.html +18 -18
- package/dist/services/hotkeys/hotkeysService.js +1 -1
- package/dist/services/linker/linker.html +18 -18
- package/dist/services/linker/linkerService.js +1 -1
- package/dist/services/logger/logger.html +18 -18
- package/dist/services/logger/loggerService.js +1 -1
- package/dist/services/logger/loggerUI.js +1 -1
- package/dist/services/logger/src/app.css +860 -860
- package/dist/services/logger/src/components/Views/Logs/rightPanel/consoleView.css +379 -379
- package/dist/services/logger/src/components/objectInspector/README.md +1 -1
- package/dist/services/notification/notification.html +11 -11
- package/dist/services/notification/notificationService.js +1 -1
- package/dist/services/preferences/preferencesService.js +1 -1
- package/dist/services/router/router.html +18 -18
- package/dist/services/router/routerService.js +1 -1
- package/dist/services/search/search.html +17 -17
- package/dist/services/search/searchService.js +1 -1
- package/dist/services/storage/adapters/instrumentedIndexedDBAdapter.js +1 -1
- package/dist/services/storage/storage.html +17 -17
- package/dist/services/storage/storageService.js +1 -1
- package/dist/services/systemManager/bootTasks/testTasks/_aReadMe.md +119 -119
- package/dist/services/systemManager/systemManager.html +24 -24
- package/dist/services/systemManager/systemManager.js +1 -1
- package/dist/services/window/Docking/GroupRequirements.md +18 -18
- package/dist/services/window/Splintering/SplinterAgentSlave.html +13 -13
- package/dist/services/window/Splintering/SplinterAgentSlave.js +1 -1
- package/dist/services/window/Splintering/Splintering.md +118 -118
- package/dist/services/window/StackedWindowManager/StackRequirements.md +23 -23
- package/dist/services/window/WindowBehaviorRequirements.md +25 -25
- package/dist/services/window/windowService.html +10 -10
- package/dist/services/window/windowService.js +1 -1
- package/dist/services/workspace/dev-docs/importExportFormat.md +51 -51
- package/dist/services/workspace/dev-docs/remotelyPersistedWorkspaces.md +62 -62
- package/dist/services/workspace/workspace.html +18 -18
- package/dist/services/workspace/workspace.schema.json +48 -48
- package/dist/services/workspace/workspaceService.js +1 -1
- package/package.json +1 -1
- package/tsconfig.json +23 -23
- package/types/index.d.ts +40 -55
- package/types/index.tsbuildinfo +1 -1
- package/types.tsconfig.json +15 -15
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Finsemble JavaScript Adapter Example
|
|
3
|
-
Copyright 2021 by ChartIQ, Inc.
|
|
4
|
-
All rights reserved.
|
|
5
|
-
|
|
6
|
-
This is an example of how to use Finsemble's JavaScript Adapter in your freestanding app.
|
|
7
|
-
|
|
8
|
-
See https://documentation.finsemble.com/tutorial-JavaScriptAdapter.html for more information.
|
|
9
|
-
-->
|
|
10
|
-
<!-- This location can be changed to wherever you're hosting the JavaScript adapter -->
|
|
11
|
-
<script src="http://127.0.0.1:3375/build/finsemble/finsemble-javascript-adapter.js"></script>
|
|
12
|
-
|
|
13
|
-
<!-- When running in a webview (or other app container), the following code should be injected by the container -->
|
|
14
|
-
<script>
|
|
15
|
-
// Including the <script> added `fdc3` and `FSBL` to the global window. Now startApp() must be called.
|
|
16
|
-
FSBL.startApp({
|
|
17
|
-
// The windowName is used to identify this instance. It defaults to the url of the app.
|
|
18
|
-
windowName: "javascript-adapter-example-app-window",
|
|
19
|
-
// appName is used to locate an appd.json record for this app (searched by both `appId` and `name`).
|
|
20
|
-
appName: "JavaScriptAdapterExampleApp",
|
|
21
|
-
/**
|
|
22
|
-
* Use "digitalSigningKey" to provide a key for digitally signing the app's name. To verify the signature,
|
|
23
|
-
* Finsemble must have the app's public key on file in appd.json's `manifest` section. If a key isn't provided
|
|
24
|
-
* then the app will be treated as an anonymous app.
|
|
25
|
-
**/
|
|
26
|
-
digitalSigningKey: "static authentication, this key is created during setup of the app in SDD",
|
|
27
|
-
// Freestanding apps default to using IAC (websocket) for router connections.
|
|
28
|
-
// The address of the IAC can be set through this entry.
|
|
29
|
-
routerAddress: "http://127.0.0.1:3376",
|
|
30
|
-
});
|
|
31
|
-
</script>
|
|
32
|
-
|
|
33
|
-
<!-- This is normal fdc3 code. A 3rd party vendor app's code would start here (expecting the fdc3 object
|
|
34
|
-
to already exit). -->
|
|
35
|
-
<script>
|
|
36
|
-
fdc3.broadcast();
|
|
37
|
-
</script>
|
|
1
|
+
<!--
|
|
2
|
+
Finsemble JavaScript Adapter Example
|
|
3
|
+
Copyright 2021 by ChartIQ, Inc.
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This is an example of how to use Finsemble's JavaScript Adapter in your freestanding app.
|
|
7
|
+
|
|
8
|
+
See https://documentation.finsemble.com/tutorial-JavaScriptAdapter.html for more information.
|
|
9
|
+
-->
|
|
10
|
+
<!-- This location can be changed to wherever you're hosting the JavaScript adapter -->
|
|
11
|
+
<script src="http://127.0.0.1:3375/build/finsemble/finsemble-javascript-adapter.js"></script>
|
|
12
|
+
|
|
13
|
+
<!-- When running in a webview (or other app container), the following code should be injected by the container -->
|
|
14
|
+
<script>
|
|
15
|
+
// Including the <script> added `fdc3` and `FSBL` to the global window. Now startApp() must be called.
|
|
16
|
+
FSBL.startApp({
|
|
17
|
+
// The windowName is used to identify this instance. It defaults to the url of the app.
|
|
18
|
+
windowName: "javascript-adapter-example-app-window",
|
|
19
|
+
// appName is used to locate an appd.json record for this app (searched by both `appId` and `name`).
|
|
20
|
+
appName: "JavaScriptAdapterExampleApp",
|
|
21
|
+
/**
|
|
22
|
+
* Use "digitalSigningKey" to provide a key for digitally signing the app's name. To verify the signature,
|
|
23
|
+
* Finsemble must have the app's public key on file in appd.json's `manifest` section. If a key isn't provided
|
|
24
|
+
* then the app will be treated as an anonymous app.
|
|
25
|
+
**/
|
|
26
|
+
digitalSigningKey: "static authentication, this key is created during setup of the app in SDD",
|
|
27
|
+
// Freestanding apps default to using IAC (websocket) for router connections.
|
|
28
|
+
// The address of the IAC can be set through this entry.
|
|
29
|
+
routerAddress: "http://127.0.0.1:3376",
|
|
30
|
+
});
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<!-- This is normal fdc3 code. A 3rd party vendor app's code would start here (expecting the fdc3 object
|
|
34
|
+
to already exit). -->
|
|
35
|
+
<script>
|
|
36
|
+
fdc3.broadcast();
|
|
37
|
+
</script>
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import React, { useEffect } from "react";
|
|
2
|
-
import { useSelector, useDispatch } from "react-redux";
|
|
3
|
-
import { createDevTools } from "redux-devtools";
|
|
4
|
-
import ChartMonitor from "redux-devtools-chart-monitor";
|
|
5
|
-
import LogMonitor from "redux-devtools-log-monitor";
|
|
6
|
-
import { nicinabox } from "redux-devtools-themes";
|
|
7
|
-
import { InteropStore } from "./types";
|
|
8
|
-
import ConfigClient from "../../clients/configClient";
|
|
9
|
-
import root from "./modules/root";
|
|
10
|
-
|
|
11
|
-
const theme = nicinabox;
|
|
12
|
-
|
|
13
|
-
const chartMonitorStyle = {
|
|
14
|
-
width: "100%",
|
|
15
|
-
height: "100%", // i.e fullscreen for DockMonitor
|
|
16
|
-
text: {
|
|
17
|
-
colors: {
|
|
18
|
-
default: theme.base0D,
|
|
19
|
-
hover: theme.base06,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
node: {
|
|
23
|
-
colors: {
|
|
24
|
-
default: theme.base0B,
|
|
25
|
-
collapsed: theme.base0B,
|
|
26
|
-
parent: theme.base0E,
|
|
27
|
-
},
|
|
28
|
-
radius: 5,
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
/*
|
|
32
|
-
const DevTools = createDevTools(
|
|
33
|
-
<ChartMonitor style={chartMonitorStyle} widthBetweenNodesCoeff={1} heightBetweenNodesCoeff={2} />
|
|
34
|
-
);
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
export const logMonitor = <LogMonitor theme="solarized" />;
|
|
38
|
-
const DevTools = createDevTools(logMonitor);
|
|
39
|
-
|
|
40
|
-
const DevToolsContainer = () => {
|
|
41
|
-
const dispatch = useDispatch();
|
|
42
|
-
const isVisible = useSelector((store: InteropStore) => store.root.isVisible);
|
|
43
|
-
|
|
44
|
-
const makeVisible = () => {
|
|
45
|
-
// Make certain visibility only runs once
|
|
46
|
-
fin.desktop.Window.getCurrent().removeEventListener("shown", makeVisible);
|
|
47
|
-
window.removeEventListener("focus", makeVisible);
|
|
48
|
-
if (!isVisible) dispatch(root.actions.windowVisible(true));
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
useEffect(() => {
|
|
52
|
-
ConfigClient.getValue(
|
|
53
|
-
{
|
|
54
|
-
field: "finsemble.services.InteropService.visible",
|
|
55
|
-
},
|
|
56
|
-
(err: any, isVisibleValue: boolean) => {
|
|
57
|
-
dispatch(root.actions.windowVisible(isVisibleValue));
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
|
|
61
|
-
fin.desktop.Window.getCurrent().addEventListener("shown", makeVisible);
|
|
62
|
-
|
|
63
|
-
window.addEventListener("focus", makeVisible);
|
|
64
|
-
}, []);
|
|
65
|
-
|
|
66
|
-
return <>{isVisible && <DevTools />}</>;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export { DevToolsContainer };
|
|
70
|
-
|
|
71
|
-
export default DevTools;
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
|
+
import { useSelector, useDispatch } from "react-redux";
|
|
3
|
+
import { createDevTools } from "redux-devtools";
|
|
4
|
+
import ChartMonitor from "redux-devtools-chart-monitor";
|
|
5
|
+
import LogMonitor from "redux-devtools-log-monitor";
|
|
6
|
+
import { nicinabox } from "redux-devtools-themes";
|
|
7
|
+
import { InteropStore } from "./types";
|
|
8
|
+
import ConfigClient from "../../clients/configClient";
|
|
9
|
+
import root from "./modules/root";
|
|
10
|
+
|
|
11
|
+
const theme = nicinabox;
|
|
12
|
+
|
|
13
|
+
const chartMonitorStyle = {
|
|
14
|
+
width: "100%",
|
|
15
|
+
height: "100%", // i.e fullscreen for DockMonitor
|
|
16
|
+
text: {
|
|
17
|
+
colors: {
|
|
18
|
+
default: theme.base0D,
|
|
19
|
+
hover: theme.base06,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
node: {
|
|
23
|
+
colors: {
|
|
24
|
+
default: theme.base0B,
|
|
25
|
+
collapsed: theme.base0B,
|
|
26
|
+
parent: theme.base0E,
|
|
27
|
+
},
|
|
28
|
+
radius: 5,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
/*
|
|
32
|
+
const DevTools = createDevTools(
|
|
33
|
+
<ChartMonitor style={chartMonitorStyle} widthBetweenNodesCoeff={1} heightBetweenNodesCoeff={2} />
|
|
34
|
+
);
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
export const logMonitor = <LogMonitor theme="solarized" />;
|
|
38
|
+
const DevTools = createDevTools(logMonitor);
|
|
39
|
+
|
|
40
|
+
const DevToolsContainer = () => {
|
|
41
|
+
const dispatch = useDispatch();
|
|
42
|
+
const isVisible = useSelector((store: InteropStore) => store.root.isVisible);
|
|
43
|
+
|
|
44
|
+
const makeVisible = () => {
|
|
45
|
+
// Make certain visibility only runs once
|
|
46
|
+
fin.desktop.Window.getCurrent().removeEventListener("shown", makeVisible);
|
|
47
|
+
window.removeEventListener("focus", makeVisible);
|
|
48
|
+
if (!isVisible) dispatch(root.actions.windowVisible(true));
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
useEffect(() => {
|
|
52
|
+
ConfigClient.getValue(
|
|
53
|
+
{
|
|
54
|
+
field: "finsemble.services.InteropService.visible",
|
|
55
|
+
},
|
|
56
|
+
(err: any, isVisibleValue: boolean) => {
|
|
57
|
+
dispatch(root.actions.windowVisible(isVisibleValue));
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
fin.desktop.Window.getCurrent().addEventListener("shown", makeVisible);
|
|
62
|
+
|
|
63
|
+
window.addEventListener("focus", makeVisible);
|
|
64
|
+
}, []);
|
|
65
|
+
|
|
66
|
+
return <>{isVisible && <DevTools />}</>;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export { DevToolsContainer };
|
|
70
|
+
|
|
71
|
+
export default DevTools;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<title>Interop (FDC3)</title>
|
|
6
|
-
<!--<script src="../../vendor.bundle.js"></script>-->
|
|
7
|
-
<link rel="stylesheet" type="text/css" href="../../../assets/css/finsemble.css" />
|
|
8
|
-
<link rel="stylesheet" type="text/css" href="./InteropServiceUI.css" />
|
|
9
|
-
</head>
|
|
10
|
-
|
|
11
|
-
<body class="finsemble-interop-service-body">
|
|
12
|
-
<div id="InteropServiceUI-tsx" />
|
|
13
|
-
<script src="InteropServiceUI.js"></script>
|
|
14
|
-
</body>
|
|
15
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title>Interop (FDC3)</title>
|
|
6
|
+
<!--<script src="../../vendor.bundle.js"></script>-->
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="../../../assets/css/finsemble.css" />
|
|
8
|
+
<link rel="stylesheet" type="text/css" href="./InteropServiceUI.css" />
|
|
9
|
+
</head>
|
|
10
|
+
|
|
11
|
+
<body class="finsemble-interop-service-body">
|
|
12
|
+
<div id="InteropServiceUI-tsx" />
|
|
13
|
+
<script src="InteropServiceUI.js"></script>
|
|
14
|
+
</body>
|
|
15
|
+
</html>
|