@finsemble/finsemble-electron-adapter 0.0.0
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/LICENSE +1 -0
- package/README.md +9 -0
- package/dist/app.d.ts +1 -0
- package/dist/app.js +3 -0
- package/dist/app.js.LICENSE.txt +334 -0
- package/dist/app.js.map +1 -0
- package/dist/deploy/deploymentHelpers.d.ts +46 -0
- package/dist/deploy/installer.d.ts +5 -0
- package/dist/deploy/packageCreator.d.ts +4 -0
- package/dist/e2o.d.ts +2 -0
- package/dist/e2o.js +2 -0
- package/dist/e2o.js.map +1 -0
- package/dist/exports.d.ts +16 -0
- package/dist/exports.js +3 -0
- package/dist/exports.js.LICENSE.txt +334 -0
- package/dist/exports.js.map +1 -0
- package/dist/logger/classes/LoggerMain.d.ts +30 -0
- package/dist/logger/classes/LoggerRenderer.d.ts +11 -0
- package/dist/logger/colorizer.d.ts +2 -0
- package/dist/logger/config.d.ts +12 -0
- package/dist/logger/formatters/basic.d.ts +2 -0
- package/dist/logger/main.d.ts +2 -0
- package/dist/logger/renderer.d.ts +1 -0
- package/dist/logger/transports/winston-daily-rotate-file.d.ts +2 -0
- package/dist/logger/transports/winston-terminal-transport.d.ts +2 -0
- package/dist/logger/types.d.ts +9 -0
- package/dist/main/AffinityGroupManager.d.ts +15 -0
- package/dist/main/BrowserViews.d.ts +39 -0
- package/dist/main/Config.d.ts +16 -0
- package/dist/main/DownloadManager.d.ts +31 -0
- package/dist/main/ExternalApplicationManager.d.ts +42 -0
- package/dist/main/IAB.d.ts +17 -0
- package/dist/main/IAC.d.ts +33 -0
- package/dist/main/Main.d.ts +6 -0
- package/dist/main/MainBus.d.ts +22 -0
- package/dist/main/MainSystem.d.ts +82 -0
- package/dist/main/MainWindow.d.ts +154 -0
- package/dist/main/Manifest.d.ts +13 -0
- package/dist/main/MonitorInfo.d.ts +4 -0
- package/dist/main/PermissionsManager.d.ts +12 -0
- package/dist/main/ScreenCapture.d.ts +7 -0
- package/dist/main/SplashScreen.d.ts +13 -0
- package/dist/main/appDataFolder.d.ts +9 -0
- package/dist/main/autoUpdaterWrapper.d.ts +37 -0
- package/dist/main/contentSecurity.d.ts +17 -0
- package/dist/main/contextMenu.d.ts +2 -0
- package/dist/main/download.d.ts +28 -0
- package/dist/main/getWindowIdentity.d.ts +3 -0
- package/dist/main/listeners.d.ts +7 -0
- package/dist/main/mainStore.d.ts +3 -0
- package/dist/main/preloads.d.ts +8 -0
- package/dist/main/protocolHandler.d.ts +11 -0
- package/dist/main/updateManager.d.ts +20 -0
- package/dist/makeInstaller.d.ts +9 -0
- package/dist/makeInstaller.js +3 -0
- package/dist/makeInstaller.js.LICENSE.txt +12 -0
- package/dist/makeInstaller.js.map +1 -0
- package/dist/permissions/chromePermissions.d.ts +59 -0
- package/dist/permissions/defaultWindowOptions.d.ts +385 -0
- package/dist/render/InterApplicationBus.d.ts +16 -0
- package/dist/render/Notification.d.ts +3 -0
- package/dist/render/RequestHelper.d.ts +23 -0
- package/dist/render/System.d.ts +72 -0
- package/dist/render/Window.d.ts +75 -0
- package/dist/render/renderHelpers.d.ts +1 -0
- package/dist/server/AppD.d.ts +18 -0
- package/dist/server/AppDStaticConfigPlugin.d.ts +8 -0
- package/dist/server/CosaicCloud.d.ts +21 -0
- package/dist/server/Progress.d.ts +26 -0
- package/dist/server/Server.d.ts +18 -0
- package/dist/server/SmartDesktop.d.ts +41 -0
- package/dist/server/SmartDesktopEndpoints.d.ts +106 -0
- package/dist/server/SmartDesktopStaticConfigPlugin.d.ts +10 -0
- package/dist/server/cssUtilities.d.ts +6 -0
- package/dist/server/writeJSON.d.ts +1 -0
- package/dist/startup/e2oLauncher.d.ts +1 -0
- package/dist/startup/runScriptInElectron.d.ts +6 -0
- package/dist/types/types.d.ts +144 -0
- package/dist/util.d.ts +24 -0
- package/exports.js +10 -0
- package/node_modules/electron-ipc-mock/.npmignore +2 -0
- package/node_modules/electron-ipc-mock/.travis.yml +8 -0
- package/node_modules/electron-ipc-mock/LICENSE +19 -0
- package/node_modules/electron-ipc-mock/README.md +42 -0
- package/node_modules/electron-ipc-mock/dist/constants.js +8 -0
- package/node_modules/electron-ipc-mock/dist/electron-ipc-mock.js +56 -0
- package/node_modules/electron-ipc-mock/dist/event.js +25 -0
- package/node_modules/electron-ipc-mock/dist/index.js +22 -0
- package/node_modules/electron-ipc-mock/dist/ipc-main.js +103 -0
- package/node_modules/electron-ipc-mock/dist/ipc-renderer.js +113 -0
- package/node_modules/electron-ipc-mock/dist/pipe.js +40 -0
- package/node_modules/electron-ipc-mock/dist/utils.js +33 -0
- package/node_modules/electron-ipc-mock/package.json +34 -0
- package/node_modules/image-size/LICENSE +9 -0
- package/node_modules/image-size/Readme.md +185 -0
- package/node_modules/image-size/bin/image-size.js +48 -0
- package/node_modules/image-size/dist/detector.d.ts +3 -0
- package/node_modules/image-size/dist/detector.js +30 -0
- package/node_modules/image-size/dist/index.d.ts +11 -0
- package/node_modules/image-size/dist/index.js +123 -0
- package/node_modules/image-size/dist/readUInt.d.ts +4 -0
- package/node_modules/image-size/dist/readUInt.js +11 -0
- package/node_modules/image-size/dist/types/bmp.d.ts +2 -0
- package/node_modules/image-size/dist/types/bmp.js +14 -0
- package/node_modules/image-size/dist/types/cur.d.ts +2 -0
- package/node_modules/image-size/dist/types/cur.js +19 -0
- package/node_modules/image-size/dist/types/dds.d.ts +2 -0
- package/node_modules/image-size/dist/types/dds.js +14 -0
- package/node_modules/image-size/dist/types/gif.d.ts +2 -0
- package/node_modules/image-size/dist/types/gif.js +16 -0
- package/node_modules/image-size/dist/types/icns.d.ts +2 -0
- package/node_modules/image-size/dist/types/icns.js +103 -0
- package/node_modules/image-size/dist/types/ico.d.ts +2 -0
- package/node_modules/image-size/dist/types/ico.js +70 -0
- package/node_modules/image-size/dist/types/interface.d.ts +14 -0
- package/node_modules/image-size/dist/types/interface.js +2 -0
- package/node_modules/image-size/dist/types/j2c.d.ts +2 -0
- package/node_modules/image-size/dist/types/j2c.js +15 -0
- package/node_modules/image-size/dist/types/jp2.d.ts +2 -0
- package/node_modules/image-size/dist/types/jp2.js +58 -0
- package/node_modules/image-size/dist/types/jpg.d.ts +2 -0
- package/node_modules/image-size/dist/types/jpg.js +123 -0
- package/node_modules/image-size/dist/types/ktx.d.ts +2 -0
- package/node_modules/image-size/dist/types/ktx.js +15 -0
- package/node_modules/image-size/dist/types/png.d.ts +2 -0
- package/node_modules/image-size/dist/types/png.js +34 -0
- package/node_modules/image-size/dist/types/pnm.d.ts +2 -0
- package/node_modules/image-size/dist/types/pnm.js +75 -0
- package/node_modules/image-size/dist/types/psd.d.ts +2 -0
- package/node_modules/image-size/dist/types/psd.js +14 -0
- package/node_modules/image-size/dist/types/svg.d.ts +2 -0
- package/node_modules/image-size/dist/types/svg.js +91 -0
- package/node_modules/image-size/dist/types/tga.d.ts +2 -0
- package/node_modules/image-size/dist/types/tga.js +14 -0
- package/node_modules/image-size/dist/types/tiff.d.ts +2 -0
- package/node_modules/image-size/dist/types/tiff.js +97 -0
- package/node_modules/image-size/dist/types/webp.d.ts +2 -0
- package/node_modules/image-size/dist/types/webp.js +58 -0
- package/node_modules/image-size/dist/types.d.ts +20 -0
- package/node_modules/image-size/dist/types.js +40 -0
- package/node_modules/image-size/package.json +68 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/queue/LICENSE +8 -0
- package/node_modules/queue/index.d.ts +173 -0
- package/node_modules/queue/index.js +195 -0
- package/node_modules/queue/package.json +43 -0
- package/node_modules/queue/readme.md +221 -0
- package/package.json +106 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
alarms: boolean;
|
|
3
|
+
audio: boolean;
|
|
4
|
+
audioCapture: boolean;
|
|
5
|
+
background: boolean;
|
|
6
|
+
browser: boolean;
|
|
7
|
+
certificateProvider: boolean;
|
|
8
|
+
clipboard: boolean;
|
|
9
|
+
clipboardRead: boolean;
|
|
10
|
+
clipboardWrite: boolean;
|
|
11
|
+
contextMenu: boolean;
|
|
12
|
+
desktopCapture: boolean;
|
|
13
|
+
diagnostics: boolean;
|
|
14
|
+
displaySource: boolean;
|
|
15
|
+
dns: boolean;
|
|
16
|
+
documentScan: boolean;
|
|
17
|
+
"enterprise.deviceAttributes": boolean;
|
|
18
|
+
"enterprise.platformKeys": boolean;
|
|
19
|
+
experimental: boolean;
|
|
20
|
+
fileBrowserHandler: boolean;
|
|
21
|
+
fileSystem: boolean;
|
|
22
|
+
fileSystemProvider: boolean;
|
|
23
|
+
gcm: boolean;
|
|
24
|
+
geolocation: boolean;
|
|
25
|
+
hid: boolean;
|
|
26
|
+
identity: boolean;
|
|
27
|
+
idle: boolean;
|
|
28
|
+
mdns: boolean;
|
|
29
|
+
mediaGalleries: boolean;
|
|
30
|
+
nativeMessaging: boolean;
|
|
31
|
+
"networking.config": boolean;
|
|
32
|
+
"networking.onc": boolean;
|
|
33
|
+
notifications: boolean;
|
|
34
|
+
platformKeys: boolean;
|
|
35
|
+
pointerLock: boolean;
|
|
36
|
+
power: boolean;
|
|
37
|
+
printerProvider: boolean;
|
|
38
|
+
proxy: boolean;
|
|
39
|
+
serial: boolean;
|
|
40
|
+
signedInDevices: boolean;
|
|
41
|
+
socket: boolean;
|
|
42
|
+
storage: boolean;
|
|
43
|
+
syncFileSystem: boolean;
|
|
44
|
+
"system.cpu": boolean;
|
|
45
|
+
"system.display": boolean;
|
|
46
|
+
"system.memory": boolean;
|
|
47
|
+
"system.network": boolean;
|
|
48
|
+
"system.powerSource": boolean;
|
|
49
|
+
"system.storage": boolean;
|
|
50
|
+
tts: boolean;
|
|
51
|
+
unlimitedStorage: boolean;
|
|
52
|
+
usb: boolean;
|
|
53
|
+
videoCapture: boolean;
|
|
54
|
+
virtualKeyboard: boolean;
|
|
55
|
+
vpnProvider: boolean;
|
|
56
|
+
wallpaper: boolean;
|
|
57
|
+
webview: boolean;
|
|
58
|
+
};
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
width: number;
|
|
3
|
+
windowName: string;
|
|
4
|
+
height: number;
|
|
5
|
+
x: undefined;
|
|
6
|
+
y: undefined;
|
|
7
|
+
useContentSize: boolean;
|
|
8
|
+
center: undefined;
|
|
9
|
+
minWidth: number;
|
|
10
|
+
minHeight: number;
|
|
11
|
+
maxWidth: undefined;
|
|
12
|
+
maxHeight: undefined;
|
|
13
|
+
resizable: boolean;
|
|
14
|
+
alwaysOnTop: boolean;
|
|
15
|
+
alwaysOnTopLevel: string | null;
|
|
16
|
+
fullscreen: boolean;
|
|
17
|
+
skipTaskbar: boolean;
|
|
18
|
+
kiosk: boolean;
|
|
19
|
+
title: string;
|
|
20
|
+
icon: undefined;
|
|
21
|
+
show: boolean;
|
|
22
|
+
frame: boolean;
|
|
23
|
+
acceptFirstMouse: boolean;
|
|
24
|
+
disableAutoHideCursor: boolean;
|
|
25
|
+
autoHideMenuBar: boolean;
|
|
26
|
+
enableLargerThanScreen: boolean;
|
|
27
|
+
backgroundColor: string;
|
|
28
|
+
darkTheme: boolean;
|
|
29
|
+
transparent: boolean;
|
|
30
|
+
type: undefined;
|
|
31
|
+
titleBarStyle: undefined;
|
|
32
|
+
webPreferences: {
|
|
33
|
+
nodeIntegration: boolean;
|
|
34
|
+
preload: undefined;
|
|
35
|
+
partition: undefined;
|
|
36
|
+
zoomFactor: number;
|
|
37
|
+
disableZoom: boolean;
|
|
38
|
+
javascript: boolean;
|
|
39
|
+
webSecurity: boolean;
|
|
40
|
+
allowDisplayingInsecureContent: boolean;
|
|
41
|
+
allowRunningInsecureContent: boolean;
|
|
42
|
+
images: boolean;
|
|
43
|
+
java: boolean;
|
|
44
|
+
textAreasAreResizable: boolean;
|
|
45
|
+
webgl: boolean;
|
|
46
|
+
webaudio: boolean;
|
|
47
|
+
plugins: boolean;
|
|
48
|
+
experimentalFeatures: boolean;
|
|
49
|
+
experimentalCanvasFeatures: boolean;
|
|
50
|
+
overlayScrollbars: boolean;
|
|
51
|
+
overlayFullscreenVideo: boolean;
|
|
52
|
+
sharedWorker: boolean;
|
|
53
|
+
directWrite: boolean;
|
|
54
|
+
pageVisibility: boolean;
|
|
55
|
+
};
|
|
56
|
+
permissions: {
|
|
57
|
+
Application: {
|
|
58
|
+
close: boolean;
|
|
59
|
+
getManifest: boolean;
|
|
60
|
+
getOptions: boolean;
|
|
61
|
+
remoteApplicationEvents: boolean;
|
|
62
|
+
removeTrayIcon: boolean;
|
|
63
|
+
restartApplication: boolean;
|
|
64
|
+
setTrayIcon: boolean;
|
|
65
|
+
spawn: boolean;
|
|
66
|
+
addListener: {
|
|
67
|
+
closed: boolean;
|
|
68
|
+
connected: boolean;
|
|
69
|
+
crashed: boolean;
|
|
70
|
+
initialized: boolean;
|
|
71
|
+
"manifest-changed": boolean;
|
|
72
|
+
"not-responding": boolean;
|
|
73
|
+
"out-of-memory": boolean;
|
|
74
|
+
responding: boolean;
|
|
75
|
+
"run-requested": boolean;
|
|
76
|
+
started: boolean;
|
|
77
|
+
"tray-icon-clicked": boolean;
|
|
78
|
+
"window-alert-requested": boolean;
|
|
79
|
+
"window-auth-requested": boolean;
|
|
80
|
+
"window-blurred": boolean;
|
|
81
|
+
"window-bounds-changed": boolean;
|
|
82
|
+
"window-bounds-changing": boolean;
|
|
83
|
+
"window-closed": boolean;
|
|
84
|
+
"window-closing": boolean;
|
|
85
|
+
"window-crashed": boolean;
|
|
86
|
+
"window-created": boolean;
|
|
87
|
+
"window-disabled-frame-bounds-changed": boolean;
|
|
88
|
+
"window-disabled-frame-bounds-changing": boolean;
|
|
89
|
+
"window-embedded": boolean;
|
|
90
|
+
"window-end-load": boolean;
|
|
91
|
+
"window-external-process-exited": boolean;
|
|
92
|
+
"window-external-process-started": boolean;
|
|
93
|
+
"window-file-download-completed": boolean;
|
|
94
|
+
"window-file-download-progress": boolean;
|
|
95
|
+
"window-file-download-started": boolean;
|
|
96
|
+
"window-focused": boolean;
|
|
97
|
+
"window-frame-disabled": boolean;
|
|
98
|
+
"window-frame-enabled": boolean;
|
|
99
|
+
"window-group-changed": boolean;
|
|
100
|
+
"window-hidden": boolean;
|
|
101
|
+
"window-initialized": boolean;
|
|
102
|
+
"window-maximized": boolean;
|
|
103
|
+
"window-minimized": boolean;
|
|
104
|
+
"window-navigation-rejected": boolean;
|
|
105
|
+
"window-not-responding": boolean;
|
|
106
|
+
"window-out-of-memory": boolean;
|
|
107
|
+
"window-preload-scripts-state-changed": boolean;
|
|
108
|
+
"window-preload-scripts-state-changing": boolean;
|
|
109
|
+
"window-reloaded": boolean;
|
|
110
|
+
"window-responding": boolean;
|
|
111
|
+
"window-restored": boolean;
|
|
112
|
+
"window-show-requested": boolean;
|
|
113
|
+
"window-shown": boolean;
|
|
114
|
+
"window-start-load": boolean;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
InterApplicationBus: {
|
|
118
|
+
publish: boolean;
|
|
119
|
+
subscribe: boolean;
|
|
120
|
+
};
|
|
121
|
+
Notification: {
|
|
122
|
+
notification: boolean;
|
|
123
|
+
};
|
|
124
|
+
System: {
|
|
125
|
+
clearCache: boolean;
|
|
126
|
+
deleteAssets: boolean;
|
|
127
|
+
exit: boolean;
|
|
128
|
+
flushStorage: boolean;
|
|
129
|
+
getEnvironmentVariable: boolean;
|
|
130
|
+
getSDServerInfo: boolean;
|
|
131
|
+
getHostSpecs: boolean;
|
|
132
|
+
getMonitorInfo: boolean;
|
|
133
|
+
getMousePosition: boolean;
|
|
134
|
+
getProcessList: boolean;
|
|
135
|
+
getVersion: boolean;
|
|
136
|
+
getFEAInfo: boolean;
|
|
137
|
+
getUpdateAvailable: boolean;
|
|
138
|
+
launchExternalProcess: boolean;
|
|
139
|
+
logToDisk: boolean;
|
|
140
|
+
openUrlWithBrowser: boolean;
|
|
141
|
+
showDeveloperTools: boolean;
|
|
142
|
+
getProtocolString: boolean;
|
|
143
|
+
availableFormatsFromClipboard: boolean;
|
|
144
|
+
writeText: boolean;
|
|
145
|
+
writeHTML: boolean;
|
|
146
|
+
writeRTF: boolean;
|
|
147
|
+
write: boolean;
|
|
148
|
+
readText: boolean;
|
|
149
|
+
readHTML: boolean;
|
|
150
|
+
readRTF: boolean;
|
|
151
|
+
setTrayIcon: boolean;
|
|
152
|
+
getCommandLineArguments: boolean;
|
|
153
|
+
register: boolean;
|
|
154
|
+
isRegistered: boolean;
|
|
155
|
+
unregister: boolean;
|
|
156
|
+
addSelectClientCertificateListener: boolean;
|
|
157
|
+
addCertificateErrorListener: boolean;
|
|
158
|
+
getScreenShareSources: boolean;
|
|
159
|
+
getScreenShot: boolean;
|
|
160
|
+
removeDownloadItem: boolean;
|
|
161
|
+
cancelDownload: boolean;
|
|
162
|
+
pauseDownload: boolean;
|
|
163
|
+
resumeDownload: boolean;
|
|
164
|
+
setDownloadSavePath: boolean;
|
|
165
|
+
clearDownloadList: boolean;
|
|
166
|
+
showDownloadedFileInFolder: boolean;
|
|
167
|
+
addListener: {
|
|
168
|
+
"application-closed": boolean;
|
|
169
|
+
"application-connected": boolean;
|
|
170
|
+
"application-crashed": boolean;
|
|
171
|
+
"application-created": boolean;
|
|
172
|
+
"application-initialized": boolean;
|
|
173
|
+
"application-manifest-changed": boolean;
|
|
174
|
+
"application-not-responding": boolean;
|
|
175
|
+
"application-responding": boolean;
|
|
176
|
+
"application-run-requested": boolean;
|
|
177
|
+
"application-started": boolean;
|
|
178
|
+
"application-tray-icon-clicked": boolean;
|
|
179
|
+
"desktop-icon-clicked": boolean;
|
|
180
|
+
"idle-state-changed": boolean;
|
|
181
|
+
"new-window-created": boolean;
|
|
182
|
+
"monitor-info-changed": boolean;
|
|
183
|
+
"session-changed": boolean;
|
|
184
|
+
"will-download": boolean;
|
|
185
|
+
"window-blurred": boolean;
|
|
186
|
+
"window-bounds-changed": boolean;
|
|
187
|
+
"window-bounds-changing": boolean;
|
|
188
|
+
"window-closed": boolean;
|
|
189
|
+
"window-closing": boolean;
|
|
190
|
+
"window-crashed": boolean;
|
|
191
|
+
"window-created": boolean;
|
|
192
|
+
"window-disabled-frame-bounds-changed": boolean;
|
|
193
|
+
"window-disabled-frame-bounds-changing": boolean;
|
|
194
|
+
"window-embedded": boolean;
|
|
195
|
+
"window-end-load": boolean;
|
|
196
|
+
"window-external-process-exited": boolean;
|
|
197
|
+
"window-external-process-started": boolean;
|
|
198
|
+
"window-file-download-completed": boolean;
|
|
199
|
+
"window-file-download-progress": boolean;
|
|
200
|
+
"window-file-download-started": boolean;
|
|
201
|
+
"window-focused": boolean;
|
|
202
|
+
"window-frame-disabled": boolean;
|
|
203
|
+
"window-frame-enabled": boolean;
|
|
204
|
+
"window-group-changed": boolean;
|
|
205
|
+
"window-hidden": boolean;
|
|
206
|
+
"window-initialized": boolean;
|
|
207
|
+
"window-maximized": boolean;
|
|
208
|
+
"window-minimized": boolean;
|
|
209
|
+
"window-navigation-rejected": boolean;
|
|
210
|
+
"window-not-responding": boolean;
|
|
211
|
+
"window-preload-scripts-state-changed": boolean;
|
|
212
|
+
"window-preload-scripts-state-changing": boolean;
|
|
213
|
+
"window-reloaded": boolean;
|
|
214
|
+
"window-responding": boolean;
|
|
215
|
+
"window-restored": boolean;
|
|
216
|
+
"window-shown": boolean;
|
|
217
|
+
"window-start-load": boolean;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
Window: {
|
|
221
|
+
addBrowserView: boolean;
|
|
222
|
+
animate: boolean;
|
|
223
|
+
authenticate: boolean;
|
|
224
|
+
blur: boolean;
|
|
225
|
+
bringToFront: boolean;
|
|
226
|
+
close: boolean;
|
|
227
|
+
closeRequestedAdd: boolean;
|
|
228
|
+
closeRequestedRemove: boolean;
|
|
229
|
+
disableFrame: boolean;
|
|
230
|
+
enableFrame: boolean;
|
|
231
|
+
flash: boolean;
|
|
232
|
+
focus: boolean;
|
|
233
|
+
getAllFrames: boolean;
|
|
234
|
+
getBounds: boolean;
|
|
235
|
+
getBoundsFromSystem: boolean;
|
|
236
|
+
getDetails: boolean;
|
|
237
|
+
getGroup: boolean;
|
|
238
|
+
getInfo: boolean;
|
|
239
|
+
getOptions: boolean;
|
|
240
|
+
getSnapshot: boolean;
|
|
241
|
+
getState: boolean;
|
|
242
|
+
getZoomLevel: boolean;
|
|
243
|
+
hide: boolean;
|
|
244
|
+
isShowing: boolean;
|
|
245
|
+
joinGroup: boolean;
|
|
246
|
+
leaveGroup: boolean;
|
|
247
|
+
maximize: boolean;
|
|
248
|
+
minimize: boolean;
|
|
249
|
+
moveBy: boolean;
|
|
250
|
+
moveTo: boolean;
|
|
251
|
+
windowMouseDown: boolean;
|
|
252
|
+
windowMoving: boolean;
|
|
253
|
+
windowMoved: boolean;
|
|
254
|
+
navigate: boolean;
|
|
255
|
+
navigateBack: boolean;
|
|
256
|
+
navigateForward: boolean;
|
|
257
|
+
reload: boolean;
|
|
258
|
+
removeBrowserView: boolean;
|
|
259
|
+
bringViewToFront: boolean;
|
|
260
|
+
removeListener: boolean;
|
|
261
|
+
resetBrowserView: boolean;
|
|
262
|
+
resizeBy: boolean;
|
|
263
|
+
resizeTo: boolean;
|
|
264
|
+
restore: boolean;
|
|
265
|
+
setAsForegroundColor: boolean;
|
|
266
|
+
setBounds: boolean;
|
|
267
|
+
setIgnoreMouseEvents: boolean;
|
|
268
|
+
setMinimumSize: boolean;
|
|
269
|
+
setMaximumSize: boolean;
|
|
270
|
+
setResizable: boolean;
|
|
271
|
+
setShape: boolean;
|
|
272
|
+
setTaskbarIcon: boolean;
|
|
273
|
+
setTaskbarIconOverlay: boolean;
|
|
274
|
+
showNativeOpenDialog: boolean;
|
|
275
|
+
setViewBounds: boolean;
|
|
276
|
+
setZoomLevel: boolean;
|
|
277
|
+
syncWindowInfo: boolean;
|
|
278
|
+
show: boolean;
|
|
279
|
+
showAt: boolean;
|
|
280
|
+
showDeveloperTools: boolean;
|
|
281
|
+
stopFlashing: boolean;
|
|
282
|
+
stopNavigation: boolean;
|
|
283
|
+
updateOptions: boolean;
|
|
284
|
+
addListener: {
|
|
285
|
+
"auth-requested": boolean;
|
|
286
|
+
"begin-user-bounds-changing": boolean;
|
|
287
|
+
blurred: boolean;
|
|
288
|
+
"bounds-changed": boolean;
|
|
289
|
+
"bounds-change-end": boolean;
|
|
290
|
+
"close-requested": boolean;
|
|
291
|
+
closed: boolean;
|
|
292
|
+
closing: boolean;
|
|
293
|
+
crashed: boolean;
|
|
294
|
+
"disabled-frame-bounds-changed": boolean;
|
|
295
|
+
"disabled-frame-bounds-changing": boolean;
|
|
296
|
+
embedded: boolean;
|
|
297
|
+
"end-user-bounds-changing": boolean;
|
|
298
|
+
"external-process-exited": boolean;
|
|
299
|
+
"external-process-started": boolean;
|
|
300
|
+
"file-download-completed": boolean;
|
|
301
|
+
"file-download-progress": boolean;
|
|
302
|
+
"file-download-started": boolean;
|
|
303
|
+
focused: boolean;
|
|
304
|
+
"frame-disabled": boolean;
|
|
305
|
+
"frame-enabled": boolean;
|
|
306
|
+
"group-changed": boolean;
|
|
307
|
+
hidden: boolean;
|
|
308
|
+
initialized: boolean;
|
|
309
|
+
maximized: boolean;
|
|
310
|
+
minimized: boolean;
|
|
311
|
+
"navigation-rejected": boolean;
|
|
312
|
+
"preload-scripts-state-changed": boolean;
|
|
313
|
+
"preload-scripts-state-changing": boolean;
|
|
314
|
+
reloaded: boolean;
|
|
315
|
+
"resource-load-failed": boolean;
|
|
316
|
+
"resource-response-received": boolean;
|
|
317
|
+
restored: boolean;
|
|
318
|
+
"show-requested": boolean;
|
|
319
|
+
shown: boolean;
|
|
320
|
+
};
|
|
321
|
+
chromePermissions: {
|
|
322
|
+
alarms: boolean;
|
|
323
|
+
audio: boolean;
|
|
324
|
+
audioCapture: boolean;
|
|
325
|
+
background: boolean;
|
|
326
|
+
browser: boolean;
|
|
327
|
+
certificateProvider: boolean;
|
|
328
|
+
clipboard: boolean;
|
|
329
|
+
clipboardRead: boolean;
|
|
330
|
+
clipboardWrite: boolean;
|
|
331
|
+
contextMenu: boolean;
|
|
332
|
+
desktopCapture: boolean;
|
|
333
|
+
diagnostics: boolean;
|
|
334
|
+
displaySource: boolean;
|
|
335
|
+
dns: boolean;
|
|
336
|
+
documentScan: boolean;
|
|
337
|
+
"enterprise.deviceAttributes": boolean;
|
|
338
|
+
"enterprise.platformKeys": boolean;
|
|
339
|
+
experimental: boolean;
|
|
340
|
+
fileBrowserHandler: boolean;
|
|
341
|
+
fileSystem: boolean;
|
|
342
|
+
fileSystemProvider: boolean;
|
|
343
|
+
gcm: boolean;
|
|
344
|
+
geolocation: boolean;
|
|
345
|
+
hid: boolean;
|
|
346
|
+
identity: boolean;
|
|
347
|
+
idle: boolean;
|
|
348
|
+
mdns: boolean;
|
|
349
|
+
mediaGalleries: boolean;
|
|
350
|
+
nativeMessaging: boolean;
|
|
351
|
+
"networking.config": boolean;
|
|
352
|
+
"networking.onc": boolean;
|
|
353
|
+
notifications: boolean;
|
|
354
|
+
platformKeys: boolean;
|
|
355
|
+
pointerLock: boolean;
|
|
356
|
+
power: boolean;
|
|
357
|
+
printerProvider: boolean;
|
|
358
|
+
proxy: boolean;
|
|
359
|
+
serial: boolean;
|
|
360
|
+
signedInDevices: boolean;
|
|
361
|
+
socket: boolean;
|
|
362
|
+
storage: boolean;
|
|
363
|
+
syncFileSystem: boolean;
|
|
364
|
+
"system.cpu": boolean;
|
|
365
|
+
"system.display": boolean;
|
|
366
|
+
"system.memory": boolean;
|
|
367
|
+
"system.network": boolean;
|
|
368
|
+
"system.powerSource": boolean;
|
|
369
|
+
"system.storage": boolean;
|
|
370
|
+
tts: boolean;
|
|
371
|
+
unlimitedStorage: boolean;
|
|
372
|
+
usb: boolean;
|
|
373
|
+
videoCapture: boolean;
|
|
374
|
+
virtualKeyboard: boolean;
|
|
375
|
+
vpnProvider: boolean;
|
|
376
|
+
wallpaper: boolean;
|
|
377
|
+
webview: boolean;
|
|
378
|
+
};
|
|
379
|
+
webPreferences: {
|
|
380
|
+
preload: boolean;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { IpcRendererEvent } from "electron";
|
|
3
|
+
import { EventEmitter } from "events";
|
|
4
|
+
import { IABSubscribeResponse } from "../types/types";
|
|
5
|
+
export declare class InterApplicationBus extends EventEmitter {
|
|
6
|
+
subscribers: {
|
|
7
|
+
[listenerID: string]: (data: any) => void;
|
|
8
|
+
};
|
|
9
|
+
constructor();
|
|
10
|
+
bindAllFunctions(): void;
|
|
11
|
+
setUpListeners(): void;
|
|
12
|
+
onSubscribeResponse(event: IpcRendererEvent, response: IABSubscribeResponse): void;
|
|
13
|
+
publish(destination: string, message: any, callback?: Function, errorCallback?: Function): void;
|
|
14
|
+
subscribe(ignored: string, source: string, listener: (data: any) => void, callback?: Function, errorCallbackArg?: Function): string | null;
|
|
15
|
+
unsubscribe(listenerID: string): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { IpcRendererEvent } from "electron";
|
|
3
|
+
import { EventEmitter } from "events";
|
|
4
|
+
declare type RequestParams = {
|
|
5
|
+
topic: string;
|
|
6
|
+
data?: any;
|
|
7
|
+
persistChannel?: any;
|
|
8
|
+
};
|
|
9
|
+
declare class RequestHelper extends EventEmitter {
|
|
10
|
+
request: any;
|
|
11
|
+
constructor();
|
|
12
|
+
handleResponse(event: IpcRendererEvent, data: any): void;
|
|
13
|
+
promisifiedSendRequest<T>(e2oRequest: RequestParams): Promise<T>;
|
|
14
|
+
sendRequest(params: RequestParams, functionCB?: Function): void;
|
|
15
|
+
systemResponse(event: IpcRendererEvent, response: {
|
|
16
|
+
topic: string;
|
|
17
|
+
data: any;
|
|
18
|
+
}): void;
|
|
19
|
+
addListener(eventName: string, listener: (...args: any[]) => void): this;
|
|
20
|
+
removeListener(eventName: string, listener: (...args: any[]) => void): this;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: RequestHelper;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { EventEmitter } from "events";
|
|
3
|
+
import { StandardPromise, FEALogLevel } from "../types/types";
|
|
4
|
+
import { Certificate } from "electron";
|
|
5
|
+
declare class Clipboard {
|
|
6
|
+
constructor();
|
|
7
|
+
availableFormats(successCallback?: Function, errorCallback?: Function): void;
|
|
8
|
+
writeText(text: string, successCallback?: Function, errorCallback?: Function): void;
|
|
9
|
+
writeHTML(text: string, successCallback?: Function, errorCallback?: Function): void;
|
|
10
|
+
writeRTF(text: string, successCallback?: Function, errorCallback?: Function): void;
|
|
11
|
+
write(data: any, successCallback?: Function, errorCallback?: Function): void;
|
|
12
|
+
readText(successCallback?: Function, errorCallback?: Function): void;
|
|
13
|
+
readHTML(successCallback?: Function, errorCallback?: Function): void;
|
|
14
|
+
readRTF(successCallback?: Function, errorCallback?: Function): void;
|
|
15
|
+
}
|
|
16
|
+
declare class GlobalShortcut {
|
|
17
|
+
listeners: any;
|
|
18
|
+
constructor();
|
|
19
|
+
register(accelerator: string, callback: (...args: any[]) => void, successCallback?: Function, errorCallback?: Function): void;
|
|
20
|
+
isRegistered(accelerator: string, successCallback?: Function, errorCallback?: Function): void;
|
|
21
|
+
unregister(accelerator: string, successCallback?: Function, errorCallback?: Function): void;
|
|
22
|
+
}
|
|
23
|
+
export declare class System extends EventEmitter {
|
|
24
|
+
addEventListener: (eventName: string, listener: (...args: any[]) => void) => System;
|
|
25
|
+
removeEventListener: (eventName: string, listener: (...args: any[]) => void) => void;
|
|
26
|
+
Clipboard: Clipboard;
|
|
27
|
+
GlobalShortcut: GlobalShortcut;
|
|
28
|
+
constructor();
|
|
29
|
+
bindAllFunctions(): void;
|
|
30
|
+
addListener(eventName: string, listener: (...args: any[]) => void): this;
|
|
31
|
+
addSelectClientCertificateListener(callback: (url: string, list: Certificate[], pickedCertificate: (certificate: Certificate) => void) => void): void;
|
|
32
|
+
addCertificateErrorListener(callback: (url: string, error: string, certificate: Certificate, allowOrDisallowCertificate: (allowOrDisallow: boolean) => void) => void): void;
|
|
33
|
+
clearCache(data: any): void;
|
|
34
|
+
exit(): void;
|
|
35
|
+
flushStorage(): void;
|
|
36
|
+
getManifest(cb?: Function): Promise<unknown>;
|
|
37
|
+
hideSplashScreen(): void;
|
|
38
|
+
notifyLoggerReady(): void;
|
|
39
|
+
updateCentralLoggerState(loggerState: any): void;
|
|
40
|
+
getEnvironmentVariable(variableName: string | string[], successCallback?: Function, errorCallback?: Function): void;
|
|
41
|
+
deleteAssets(alias?: string | null): StandardPromise<void>;
|
|
42
|
+
getSDServerInfo(cb: Function): void;
|
|
43
|
+
getHostSpecs(cb: Function): void;
|
|
44
|
+
getMonitorInfo(cb: Function): void;
|
|
45
|
+
getMousePosition(cb: Function): void;
|
|
46
|
+
getProcessList(cb: Function): Promise<unknown>;
|
|
47
|
+
getDownloadList(cb: Function): Promise<unknown>;
|
|
48
|
+
removeDownloadItem(id: string): StandardPromise<void>;
|
|
49
|
+
cancelDownload(id: string, cb?: Function): void;
|
|
50
|
+
pauseDownload(id: string, cb?: Function): void;
|
|
51
|
+
resumeDownload(id: string, cb?: Function): void;
|
|
52
|
+
setDownloadSavePath(path: string, cb?: Function): void;
|
|
53
|
+
clearDownloadList(cb?: Function): void;
|
|
54
|
+
showDownloadedFileInFolder(id: string, cb?: Function): void;
|
|
55
|
+
getVersion(cb: Function): void;
|
|
56
|
+
getUpdateAvailable(cb: Function): void;
|
|
57
|
+
getFEAInfo(cb: Function): void;
|
|
58
|
+
startupApplicationHandshake(): void;
|
|
59
|
+
launchExternalProcess(params: any, cb1: Function, cb2: Function): void;
|
|
60
|
+
openUrlWithBrowser(url: string, cb?: (...args: any[]) => void): void;
|
|
61
|
+
removeListener(eventName: string, listener: (...args: any[]) => void): this;
|
|
62
|
+
showDeveloperTools(name: string, viewId?: boolean, cb?: Function): void;
|
|
63
|
+
restart(): void;
|
|
64
|
+
terminate(): void;
|
|
65
|
+
getProtocolString(cb?: (data: string) => void): Promise<string>;
|
|
66
|
+
getCommandLineArguments(cb?: Function): void;
|
|
67
|
+
getScreenShareSources(options?: {}): Promise<Electron.DesktopCapturerSource[]>;
|
|
68
|
+
getScreenShot(sourceId?: string | null): Promise<string>;
|
|
69
|
+
setTrayIcon(url: string, cb?: Function): void;
|
|
70
|
+
logToDisk(level: FEALogLevel, ...messages: any[]): void;
|
|
71
|
+
}
|
|
72
|
+
export {};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { WebContentsId } from "../types/types";
|
|
3
|
+
import { Manifest, StandardErrorCallback, StandardPromise } from "../types/types";
|
|
4
|
+
import { EventEmitter } from "events";
|
|
5
|
+
export declare class Window extends EventEmitter {
|
|
6
|
+
uuid: string;
|
|
7
|
+
name: string;
|
|
8
|
+
webContentsName: string;
|
|
9
|
+
webContentsId: WebContentsId;
|
|
10
|
+
closeRequestedListeners: any[];
|
|
11
|
+
useDOMMovement: boolean;
|
|
12
|
+
mouseX?: number;
|
|
13
|
+
mouseY?: number;
|
|
14
|
+
isMoving: boolean;
|
|
15
|
+
animationId: number;
|
|
16
|
+
manifest: Manifest;
|
|
17
|
+
constructor(params: {
|
|
18
|
+
manifest: Manifest;
|
|
19
|
+
windowName: string;
|
|
20
|
+
webContentsName: string;
|
|
21
|
+
webContentsId: WebContentsId;
|
|
22
|
+
});
|
|
23
|
+
attachToMainWindow(): void;
|
|
24
|
+
wrap(windowName: string, deprecated: string): Window;
|
|
25
|
+
private static spawnPhysicalWindow;
|
|
26
|
+
createNew(params: any, cb?: StandardErrorCallback<Window>): StandardPromise<Window>;
|
|
27
|
+
bindAllFunctions(): void;
|
|
28
|
+
addEventListener(eventName: string, listener: (...args: any[]) => void): void;
|
|
29
|
+
addBrowserView(data: any, cb: Function): void;
|
|
30
|
+
setViewBounds(viewId: any, bounds: any, cb: Function): void;
|
|
31
|
+
bringViewToFront(viewId: any, cb: Function): void;
|
|
32
|
+
addListener(eventName: string, listener: (...args: any[]) => void): this;
|
|
33
|
+
blur(cb?: Function): void;
|
|
34
|
+
bringToFront(cb?: Function): void;
|
|
35
|
+
close(force?: boolean, cb?: Function): void;
|
|
36
|
+
closeRequestedAdd(listener: Function): void;
|
|
37
|
+
closeRequestedRemove(listener: Function): void;
|
|
38
|
+
disableFrame(cb?: Function): void;
|
|
39
|
+
enableFrame(cb?: Function): void;
|
|
40
|
+
focus(cb?: Function): void;
|
|
41
|
+
getBounds(cb?: Function): void;
|
|
42
|
+
getBoundsFromSystem(cb?: Function): void;
|
|
43
|
+
getCurrent(): Window;
|
|
44
|
+
getOptions(cb?: Function): void;
|
|
45
|
+
getSnapshot(area: any, cb?: Function): Promise<unknown>;
|
|
46
|
+
hide(cb?: Function): void;
|
|
47
|
+
isShowing(cb?: Function): void;
|
|
48
|
+
minimize(cb?: Function): void;
|
|
49
|
+
resetBrowserView(cb?: Function): void;
|
|
50
|
+
removeBrowserView(viewId: number, cb?: Function): void;
|
|
51
|
+
removeEventListener(eventName: string, listener: (...args: any[]) => void): void;
|
|
52
|
+
removeListener(eventName: string, listener: (...args: any[]) => void): this;
|
|
53
|
+
removeTrayIcon(cb?: Function): void;
|
|
54
|
+
setTrayIcon(iconpath: string, listeners: any, cb?: Function): void;
|
|
55
|
+
maximize(cb?: Function): void;
|
|
56
|
+
reload(cb?: Function): void;
|
|
57
|
+
restore(cb?: Function): void;
|
|
58
|
+
setBounds(left: number, top: number, width: number, height: number, cb: Function): void;
|
|
59
|
+
setIgnoreMouseEvents(data: any): void;
|
|
60
|
+
setResizable(data: any): void;
|
|
61
|
+
setShape(data: any): void;
|
|
62
|
+
setTaskbarIcon(data: any): void;
|
|
63
|
+
setTaskbarIconOverlay(data: any): void;
|
|
64
|
+
showNativeOpenDialog(data: any, cb: Function): void;
|
|
65
|
+
show(cb?: Function): void;
|
|
66
|
+
showAt(left: number, top: number, force: boolean, cb?: Function): void;
|
|
67
|
+
setMinimumSize(width: number, height: number, cb?: Function): void;
|
|
68
|
+
setMaximumSize(width?: number | null, height?: number | null, cb?: Function): void;
|
|
69
|
+
updateOptions(options: any, cb?: Function): void;
|
|
70
|
+
remoteFSBLEvents(event: any, data: any): void;
|
|
71
|
+
animate(params: any, cb?: Function): void;
|
|
72
|
+
setAsForeground(cb: Function): void;
|
|
73
|
+
startMovingWindow(e: any): void;
|
|
74
|
+
stopMovingWindow(): void;
|
|
75
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const checkAndLogAccessDenied: (response: any) => boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import express from "express";
|
|
2
|
+
import { ConsoleLogger } from "../logger/types";
|
|
3
|
+
export declare type AppDefinition = any;
|
|
4
|
+
export declare type AppDPlugin = {
|
|
5
|
+
getApp: (appId: string) => Promise<AppDefinition | undefined>;
|
|
6
|
+
getAll: () => Promise<Array<AppDefinition>>;
|
|
7
|
+
search: (text: string) => Promise<Array<AppDefinition>>;
|
|
8
|
+
addApp: (definition: AppDefinition) => Promise<void>;
|
|
9
|
+
updateApp: (appId: string, definition: AppDefinition) => Promise<void>;
|
|
10
|
+
deleteApp: (appId: string) => Promise<void>;
|
|
11
|
+
};
|
|
12
|
+
declare type UseEndpointsParams = {
|
|
13
|
+
app: express.Application;
|
|
14
|
+
plugin: AppDPlugin;
|
|
15
|
+
logger?: ConsoleLogger;
|
|
16
|
+
};
|
|
17
|
+
declare const useEndpoints: ({ app, plugin, logger }: UseEndpointsParams) => void;
|
|
18
|
+
export { useEndpoints };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AppDPlugin } from "./AppD";
|
|
2
|
+
import { ConsoleLogger } from "../logger/types";
|
|
3
|
+
export declare type AppDStaticConfigPluginParams = {
|
|
4
|
+
projectRoot: string;
|
|
5
|
+
logger?: ConsoleLogger;
|
|
6
|
+
};
|
|
7
|
+
declare const initialize: ({ projectRoot, logger }: AppDStaticConfigPluginParams) => Promise<AppDPlugin>;
|
|
8
|
+
export { initialize };
|