@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.
Files changed (107) hide show
  1. package/.mocharc.js +12 -12
  2. package/.nycrc.json +7 -7
  3. package/README.md +24 -24
  4. package/assets/fonts/LICENSE.txt +202 -202
  5. package/configs/core/config.json +214 -214
  6. package/configs/core/securityPolicies.json +24 -24
  7. package/configs/core/services.json +233 -233
  8. package/configs/schemas/README.md +1 -1
  9. package/configs/schemas/fileBasedSchemas/appdConfigFile.schema.json +5 -5
  10. package/configs/schemas/fileBasedSchemas/applicationConfigFile.schema.json +5 -5
  11. package/configs/schemas/fileBasedSchemas/componentsFile.schema.json +5 -5
  12. package/configs/schemas/fileBasedSchemas/coreConfigFile.schema.json +5 -5
  13. package/configs/schemas/fileBasedSchemas/dashbarFile.schema.json +5 -5
  14. package/configs/schemas/fileBasedSchemas/manifestFile.schema.json +5 -5
  15. package/configs/schemas/fileBasedSchemas/securityPoliciesFile.schema.json +5 -5
  16. package/configs/schemas/fileBasedSchemas/servicesFile.schema.json +5 -5
  17. package/configs/schemas/fileBasedSchemas/uiComponentsFile.schema.json +5 -5
  18. package/configs/schemas/fileBasedSchemas/workspacesFile.schema.json +5 -5
  19. package/configs/schemas/finsemble.schema.json +4006 -4006
  20. package/dist/FSBL.js +1 -1
  21. package/dist/clients/Interop/FinsembleDesktopAgent.md +154 -154
  22. package/dist/clients/Interop/tsconfig.json +7 -7
  23. package/dist/clients/Startup/README.md +28 -28
  24. package/dist/clients/dragAndDropAssets/dragAndDropScrim.css +54 -54
  25. package/dist/clients/dragAndDropAssets/ff-delete-circle.svg +10 -10
  26. package/dist/clients/dragAndDropAssets/ff-share.svg +13 -13
  27. package/dist/components/system/notification/ff-close.svg +14 -14
  28. package/dist/components/system/notification/finsemble_logo_white.svg +15 -15
  29. package/dist/components/system/notification/notification.html +155 -155
  30. package/dist/configs/core/config.json +214 -214
  31. package/dist/configs/core/securityPolicies.json +24 -24
  32. package/dist/configs/core/services.json +233 -233
  33. package/dist/configs/schemas/README.md +1 -1
  34. package/dist/configs/schemas/fileBasedSchemas/appdConfigFile.schema.json +5 -5
  35. package/dist/configs/schemas/fileBasedSchemas/applicationConfigFile.schema.json +5 -5
  36. package/dist/configs/schemas/fileBasedSchemas/componentsFile.schema.json +5 -5
  37. package/dist/configs/schemas/fileBasedSchemas/coreConfigFile.schema.json +5 -5
  38. package/dist/configs/schemas/fileBasedSchemas/dashbarFile.schema.json +5 -5
  39. package/dist/configs/schemas/fileBasedSchemas/manifestFile.schema.json +5 -5
  40. package/dist/configs/schemas/fileBasedSchemas/securityPoliciesFile.schema.json +5 -5
  41. package/dist/configs/schemas/fileBasedSchemas/servicesFile.schema.json +5 -5
  42. package/dist/configs/schemas/fileBasedSchemas/uiComponentsFile.schema.json +5 -5
  43. package/dist/configs/schemas/fileBasedSchemas/workspacesFile.schema.json +5 -5
  44. package/dist/configs/schemas/finsemble.schema.json +4006 -4006
  45. package/dist/finsemble-javascript-adapter.js +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/javascript-adapter-example-app.html +37 -37
  48. package/dist/services/Interop/DevTools.tsx +71 -71
  49. package/dist/services/Interop/Interop.html +15 -15
  50. package/dist/services/Interop/InteropService.js +1 -1
  51. package/dist/services/Interop/InteropService.md +148 -148
  52. package/dist/services/Interop/InteropServiceUI.css +12 -12
  53. package/dist/services/Interop/InteropServiceUI.js +1 -1
  54. package/dist/services/Interop/InteropServiceUI.tsx +39 -39
  55. package/dist/services/Interop/devtoolsEnhancer.tsx +63 -63
  56. package/dist/services/Interop/tsconfig.json +7 -7
  57. package/dist/services/ServiceTemplate.md +39 -39
  58. package/dist/services/assimilation/assimilation.html +18 -18
  59. package/dist/services/assimilation/assimilationService.js +1 -1
  60. package/dist/services/authentication/authentication.html +17 -17
  61. package/dist/services/authentication/authenticationService.js +1 -1
  62. package/dist/services/authentication/dialogSignOn.html +199 -199
  63. package/dist/services/config/config.html +17 -17
  64. package/dist/services/config/configService.js +1 -1
  65. package/dist/services/dataStore/dataStore.html +18 -18
  66. package/dist/services/dataStore/dataStoreService.js +1 -1
  67. package/dist/services/hotkeys/hotkeys.html +18 -18
  68. package/dist/services/hotkeys/hotkeysService.js +1 -1
  69. package/dist/services/linker/linker.html +18 -18
  70. package/dist/services/linker/linkerService.js +1 -1
  71. package/dist/services/logger/logger.html +18 -18
  72. package/dist/services/logger/loggerService.js +1 -1
  73. package/dist/services/logger/loggerUI.js +1 -1
  74. package/dist/services/logger/src/app.css +860 -860
  75. package/dist/services/logger/src/components/Views/Logs/rightPanel/consoleView.css +379 -379
  76. package/dist/services/logger/src/components/objectInspector/README.md +1 -1
  77. package/dist/services/notification/notification.html +11 -11
  78. package/dist/services/notification/notificationService.js +1 -1
  79. package/dist/services/preferences/preferencesService.js +1 -1
  80. package/dist/services/router/router.html +18 -18
  81. package/dist/services/router/routerService.js +1 -1
  82. package/dist/services/search/search.html +17 -17
  83. package/dist/services/search/searchService.js +1 -1
  84. package/dist/services/storage/adapters/instrumentedIndexedDBAdapter.js +1 -1
  85. package/dist/services/storage/storage.html +17 -17
  86. package/dist/services/storage/storageService.js +1 -1
  87. package/dist/services/systemManager/bootTasks/testTasks/_aReadMe.md +119 -119
  88. package/dist/services/systemManager/systemManager.html +24 -24
  89. package/dist/services/systemManager/systemManager.js +1 -1
  90. package/dist/services/window/Docking/GroupRequirements.md +18 -18
  91. package/dist/services/window/Splintering/SplinterAgentSlave.html +13 -13
  92. package/dist/services/window/Splintering/SplinterAgentSlave.js +1 -1
  93. package/dist/services/window/Splintering/Splintering.md +118 -118
  94. package/dist/services/window/StackedWindowManager/StackRequirements.md +23 -23
  95. package/dist/services/window/WindowBehaviorRequirements.md +25 -25
  96. package/dist/services/window/windowService.html +10 -10
  97. package/dist/services/window/windowService.js +1 -1
  98. package/dist/services/workspace/dev-docs/importExportFormat.md +51 -51
  99. package/dist/services/workspace/dev-docs/remotelyPersistedWorkspaces.md +62 -62
  100. package/dist/services/workspace/workspace.html +18 -18
  101. package/dist/services/workspace/workspace.schema.json +48 -48
  102. package/dist/services/workspace/workspaceService.js +1 -1
  103. package/package.json +1 -1
  104. package/tsconfig.json +23 -23
  105. package/types/index.d.ts +40 -55
  106. package/types/index.tsbuildinfo +1 -1
  107. package/types.tsconfig.json +15 -15
@@ -1,199 +1,199 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <!--
4
- /*!
5
- * Copyright 2017 - 2020 by ChartIQ, Inc.
6
- * All rights reserved.
7
- */
8
-
9
- AUTHENTICATION DIALOG FOR AUTO-SIGNON.
10
- -->
11
-
12
- <head>
13
- <meta charset="utf-8" />
14
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
15
- <title>Single SignOn Login</title>
16
- <meta name="description" content="" />
17
- <meta name="viewport" content="width=device-width, initial-scale=1" />
18
- <link rel="stylesheet" type="text/css" href="../../components/samples/src/assets/css/finsemble.css?{cachebuster}" />
19
- <link rel="stylesheet" type="text/css" href="../../components/samples/src/assets/css/finfont.css?{cachebuster}" />
20
- <link rel="stylesheet" type="text/css" href="../../components/system/dialogs/dialogs.css?{cachebuster}" />
21
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script>
22
-
23
- <style>
24
- @font-face {
25
- font-family: "Roboto";
26
- src: url("/Roboto-Regular.eot");
27
- src: url("/Roboto-Regular.eot?#iefix") format("embedded-opentype"), url("/Roboto-Regular.woff2") format("woff2"),
28
- url("/Roboto-Regular.woff") format("woff"), url("/Roboto-Regular.ttf") format("truetype");
29
- font-weight: 400;
30
- font-style: normal;
31
- }
32
-
33
- /* Roboto italic */
34
-
35
- @font-face {
36
- font-family: "Roboto";
37
- src: url("/Roboto-Italic.eot");
38
- src: url("/Roboto-Italic.eot?#iefix") format("embedded-opentype"), url("/Roboto-Italic.woff2") format("woff2"),
39
- url("/Roboto-Italic.woff") format("woff"), url("/Roboto-Italic.ttf") format("truetype");
40
- font-weight: 400;
41
- font-style: italic;
42
- }
43
-
44
- /* Roboto bold */
45
-
46
- @font-face {
47
- font-family: "Roboto";
48
- src: url("/Roboto-Bold.eot");
49
- src: url("/Roboto-Bold.eot?#iefix") format("embedded-opentype"), url("/Roboto-Bold.woff2") format("woff2"),
50
- url("/Roboto-Bold.woff") format("woff"), url("/Roboto-Bold.ttf") format("truetype");
51
- font-weight: 700;
52
- font-style: normal;
53
- }
54
-
55
- .form-wrapper {
56
- width: 342px;
57
- text-align: center;
58
- padding-top: 20px;
59
- }
60
-
61
- .fsbl-button-md {
62
- width: 65%;
63
- }
64
-
65
- .fsbl-button-wrapper {
66
- padding-top: 10px;
67
- }
68
-
69
- .fsbl-auth-top {
70
- display: flex;
71
- justify-content: space-between;
72
- height: 20px;
73
- align-items: center;
74
- padding: 10px 10px 5px 0px;
75
- }
76
-
77
- .fsbl-close {
78
- display: flex;
79
- justify-content: flex-end;
80
- align-items: flex-start;
81
- flex-direction: column;
82
- height: 100%;
83
- }
84
-
85
- .fsbl-auth-input {
86
- width: 65%;
87
- padding: 9px 0px;
88
- margin: 0px auto;
89
- }
90
-
91
- body {
92
- background: white;
93
- max-height: 442px;
94
- max-width: 342px;
95
- }
96
-
97
- #signonIcon {
98
- max-width: 90%;
99
- max-height: 100px;
100
- }
101
- ::-webkit-input-placeholder {
102
- text-align: left;
103
- }
104
- </style>
105
- </head>
106
-
107
- <body class="dialog">
108
- <div class="fsbl-auth-top" style="cursor: -webkit-grab; -webkit-app-region: drag">
109
- <img
110
- class="fsbl-logo"
111
- src="../../components/samples/src/assets/img/cosaic-banner-100x20.png"
112
- width="100"
113
- height="20"
114
- />
115
- <div class="fsbl-close" id="FSBL-close" onclick="quit()">
116
- <i class="ff-close" style="color: #666; -webkit-app-region: no-drag"></i>
117
- </div>
118
- </div>
119
- <div class="form-wrapper">
120
- <img
121
- id="signonIcon"
122
- src="../../components/samples/src/assets/img/finsembleLightIcon@1.5x.png"
123
- alt="Finsemble Sign On"
124
- />
125
- <div class="fsbl-button-wrapper">
126
- <h1 style="text-align: center" id="signonPrompt">Sign On</h1>
127
- <div class="fsbl-auth-input"><input type="text" id="username" placeholder="Username" /><br /></div>
128
- <div class="fsbl-auth-input"><input type="password" id="password" placeholder="Password" /><br /></div>
129
- <div class="fsbl-button fsbl-button-md" id="loginButton" onclick="processSignOnInput()">
130
- <i class="ff-check-circle"></i>Login
131
- </div>
132
- <p style="text-align: center; font-size: 85%; color: red" id="signonUserMsg"></p>
133
- </div>
134
- </div>
135
- </body>
136
-
137
- <script>
138
- function quit() {
139
- console.debug("quitting");
140
- FSBL.System.Window.getCurrent().getOptions(function (opts) {
141
- var signOnData = opts.customData.spawnData;
142
- var signOnKey = signOnData.signOnKey;
143
- var error = "user prematurely exited from sign-on dialog";
144
- var signOnData = { signOnKey, error };
145
- FSBL.Clients.AuthenticationClient.transmitSignOnToAuthService(signOnData);
146
- FSBL.System.Window.getCurrent().close(true); // done so close window
147
- });
148
- }
149
-
150
- function processSignOnInput() {
151
- //var signOnKey = FSBL.Clients.WindowClient.getSpawnData();
152
- FSBL.System.Window.getCurrent().getOptions(function (opts) {
153
- var signOnData = opts.customData.spawnData;
154
- var signOnKey = signOnData.signOnKey;
155
-
156
- var username = document.getElementById("username").value;
157
- var password = document.getElementById("password").value;
158
-
159
- if (username.length === 0 || password.length === 0) {
160
- $("#signonUserMsg").text("enter both username and password");
161
- } else {
162
- var signOnData = { signOnKey, username, password };
163
- FSBL.Clients.AuthenticationClient.transmitSignOnToAuthService(signOnData); // send back signon input to authentication service
164
- FSBL.System.Window.getCurrent().close(true); // done so close window
165
- }
166
- });
167
- }
168
-
169
- function setupSignOn() {
170
- FSBL.System.Window.getCurrent().getOptions(function (opts) {
171
- var signOnParams = opts.customData.spawnData.params;
172
- if (signOnParams.prompt) {
173
- $("#signonPrompt").text(signOnParams.prompt);
174
- }
175
- if (signOnParams.icon) {
176
- $("#signonIcon").attr("src", signOnParams.icon);
177
- }
178
- if (signOnParams.userMsg) {
179
- $("#signonUserMsg").text(signOnParams.userMsg);
180
- }
181
- });
182
- }
183
-
184
- function handleKeydown(e) {
185
- if (e.code === "Enter" && e.shiftKey === false) {
186
- processSignOnInput();
187
- }
188
-
189
- if (e.code === "Escape") {
190
- quit();
191
- }
192
- }
193
-
194
- FSBL.addEventListener("onReady", function () {
195
- setupSignOn();
196
- document.body.addEventListener("keydown", handleKeydown);
197
- });
198
- </script>
199
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <!--
4
+ /*!
5
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
6
+ * All rights reserved.
7
+ */
8
+
9
+ AUTHENTICATION DIALOG FOR AUTO-SIGNON.
10
+ -->
11
+
12
+ <head>
13
+ <meta charset="utf-8" />
14
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
15
+ <title>Single SignOn Login</title>
16
+ <meta name="description" content="" />
17
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
18
+ <link rel="stylesheet" type="text/css" href="../../components/samples/src/assets/css/finsemble.css?{cachebuster}" />
19
+ <link rel="stylesheet" type="text/css" href="../../components/samples/src/assets/css/finfont.css?{cachebuster}" />
20
+ <link rel="stylesheet" type="text/css" href="../../components/system/dialogs/dialogs.css?{cachebuster}" />
21
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script>
22
+
23
+ <style>
24
+ @font-face {
25
+ font-family: "Roboto";
26
+ src: url("/Roboto-Regular.eot");
27
+ src: url("/Roboto-Regular.eot?#iefix") format("embedded-opentype"), url("/Roboto-Regular.woff2") format("woff2"),
28
+ url("/Roboto-Regular.woff") format("woff"), url("/Roboto-Regular.ttf") format("truetype");
29
+ font-weight: 400;
30
+ font-style: normal;
31
+ }
32
+
33
+ /* Roboto italic */
34
+
35
+ @font-face {
36
+ font-family: "Roboto";
37
+ src: url("/Roboto-Italic.eot");
38
+ src: url("/Roboto-Italic.eot?#iefix") format("embedded-opentype"), url("/Roboto-Italic.woff2") format("woff2"),
39
+ url("/Roboto-Italic.woff") format("woff"), url("/Roboto-Italic.ttf") format("truetype");
40
+ font-weight: 400;
41
+ font-style: italic;
42
+ }
43
+
44
+ /* Roboto bold */
45
+
46
+ @font-face {
47
+ font-family: "Roboto";
48
+ src: url("/Roboto-Bold.eot");
49
+ src: url("/Roboto-Bold.eot?#iefix") format("embedded-opentype"), url("/Roboto-Bold.woff2") format("woff2"),
50
+ url("/Roboto-Bold.woff") format("woff"), url("/Roboto-Bold.ttf") format("truetype");
51
+ font-weight: 700;
52
+ font-style: normal;
53
+ }
54
+
55
+ .form-wrapper {
56
+ width: 342px;
57
+ text-align: center;
58
+ padding-top: 20px;
59
+ }
60
+
61
+ .fsbl-button-md {
62
+ width: 65%;
63
+ }
64
+
65
+ .fsbl-button-wrapper {
66
+ padding-top: 10px;
67
+ }
68
+
69
+ .fsbl-auth-top {
70
+ display: flex;
71
+ justify-content: space-between;
72
+ height: 20px;
73
+ align-items: center;
74
+ padding: 10px 10px 5px 0px;
75
+ }
76
+
77
+ .fsbl-close {
78
+ display: flex;
79
+ justify-content: flex-end;
80
+ align-items: flex-start;
81
+ flex-direction: column;
82
+ height: 100%;
83
+ }
84
+
85
+ .fsbl-auth-input {
86
+ width: 65%;
87
+ padding: 9px 0px;
88
+ margin: 0px auto;
89
+ }
90
+
91
+ body {
92
+ background: white;
93
+ max-height: 442px;
94
+ max-width: 342px;
95
+ }
96
+
97
+ #signonIcon {
98
+ max-width: 90%;
99
+ max-height: 100px;
100
+ }
101
+ ::-webkit-input-placeholder {
102
+ text-align: left;
103
+ }
104
+ </style>
105
+ </head>
106
+
107
+ <body class="dialog">
108
+ <div class="fsbl-auth-top" style="cursor: -webkit-grab; -webkit-app-region: drag">
109
+ <img
110
+ class="fsbl-logo"
111
+ src="../../components/samples/src/assets/img/cosaic-banner-100x20.png"
112
+ width="100"
113
+ height="20"
114
+ />
115
+ <div class="fsbl-close" id="FSBL-close" onclick="quit()">
116
+ <i class="ff-close" style="color: #666; -webkit-app-region: no-drag"></i>
117
+ </div>
118
+ </div>
119
+ <div class="form-wrapper">
120
+ <img
121
+ id="signonIcon"
122
+ src="../../components/samples/src/assets/img/finsembleLightIcon@1.5x.png"
123
+ alt="Finsemble Sign On"
124
+ />
125
+ <div class="fsbl-button-wrapper">
126
+ <h1 style="text-align: center" id="signonPrompt">Sign On</h1>
127
+ <div class="fsbl-auth-input"><input type="text" id="username" placeholder="Username" /><br /></div>
128
+ <div class="fsbl-auth-input"><input type="password" id="password" placeholder="Password" /><br /></div>
129
+ <div class="fsbl-button fsbl-button-md" id="loginButton" onclick="processSignOnInput()">
130
+ <i class="ff-check-circle"></i>Login
131
+ </div>
132
+ <p style="text-align: center; font-size: 85%; color: red" id="signonUserMsg"></p>
133
+ </div>
134
+ </div>
135
+ </body>
136
+
137
+ <script>
138
+ function quit() {
139
+ console.debug("quitting");
140
+ FSBL.System.Window.getCurrent().getOptions(function (opts) {
141
+ var signOnData = opts.customData.spawnData;
142
+ var signOnKey = signOnData.signOnKey;
143
+ var error = "user prematurely exited from sign-on dialog";
144
+ var signOnData = { signOnKey, error };
145
+ FSBL.Clients.AuthenticationClient.transmitSignOnToAuthService(signOnData);
146
+ FSBL.System.Window.getCurrent().close(true); // done so close window
147
+ });
148
+ }
149
+
150
+ function processSignOnInput() {
151
+ //var signOnKey = FSBL.Clients.WindowClient.getSpawnData();
152
+ FSBL.System.Window.getCurrent().getOptions(function (opts) {
153
+ var signOnData = opts.customData.spawnData;
154
+ var signOnKey = signOnData.signOnKey;
155
+
156
+ var username = document.getElementById("username").value;
157
+ var password = document.getElementById("password").value;
158
+
159
+ if (username.length === 0 || password.length === 0) {
160
+ $("#signonUserMsg").text("enter both username and password");
161
+ } else {
162
+ var signOnData = { signOnKey, username, password };
163
+ FSBL.Clients.AuthenticationClient.transmitSignOnToAuthService(signOnData); // send back signon input to authentication service
164
+ FSBL.System.Window.getCurrent().close(true); // done so close window
165
+ }
166
+ });
167
+ }
168
+
169
+ function setupSignOn() {
170
+ FSBL.System.Window.getCurrent().getOptions(function (opts) {
171
+ var signOnParams = opts.customData.spawnData.params;
172
+ if (signOnParams.prompt) {
173
+ $("#signonPrompt").text(signOnParams.prompt);
174
+ }
175
+ if (signOnParams.icon) {
176
+ $("#signonIcon").attr("src", signOnParams.icon);
177
+ }
178
+ if (signOnParams.userMsg) {
179
+ $("#signonUserMsg").text(signOnParams.userMsg);
180
+ }
181
+ });
182
+ }
183
+
184
+ function handleKeydown(e) {
185
+ if (e.code === "Enter" && e.shiftKey === false) {
186
+ processSignOnInput();
187
+ }
188
+
189
+ if (e.code === "Escape") {
190
+ quit();
191
+ }
192
+ }
193
+
194
+ FSBL.addEventListener("onReady", function () {
195
+ setupSignOn();
196
+ document.body.addEventListener("keydown", handleKeydown);
197
+ });
198
+ </script>
199
+ </html>
@@ -1,17 +1,17 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <!--
4
- /*!
5
- * Copyright 2017 - 2020 by ChartIQ, Inc.
6
- * All rights reserved.
7
- */
8
- -->
9
-
10
- <head>
11
- <meta charset="utf-8" />
12
- <title>Config Service</title>
13
- </head>
14
-
15
- <body></body>
16
- <script src="./configService.js"></script>
17
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <!--
4
+ /*!
5
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
6
+ * All rights reserved.
7
+ */
8
+ -->
9
+
10
+ <head>
11
+ <meta charset="utf-8" />
12
+ <title>Config Service</title>
13
+ </head>
14
+
15
+ <body></body>
16
+ <script src="./configService.js"></script>
17
+ </html>