@finsemble/finsemble-ui 10.0.0-iocd.9 → 10.0.3-beta.2
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/FEA.d.ts +1440 -1430
- package/FEA.d.ts.map +1 -1
- package/FEA.js +10 -10
- package/FEA.js.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.d.ts +235 -233
- package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js +1331 -1308
- package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
- package/clients/Interop/InteropAdmin.d.ts +29 -29
- package/clients/Interop/InteropAdmin.js +98 -98
- package/clients/Interop/InteropAdmin.js.map +1 -1
- package/clients/Interop/index.d.ts +1 -1
- package/clients/Interop/index.js +2 -2
- package/clients/Interop/types.d.ts +445 -443
- package/clients/Interop/types.d.ts.map +1 -1
- package/clients/Interop/types.js +45 -45
- package/clients/Interop/types.js.map +1 -1
- package/clients/Startup/FSBLDesktop.d.ts +157 -157
- package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
- package/clients/Startup/FSBLDesktop.js +447 -430
- package/clients/Startup/FSBLDesktop.js.map +1 -1
- package/clients/Startup/FSBLFreestanding.d.ts +27 -27
- package/clients/Startup/FSBLFreestanding.js +129 -129
- package/clients/Startup/FSBLFreestanding.js.map +1 -1
- package/clients/Startup/FSBLService.d.ts +7 -7
- package/clients/Startup/FSBLService.js +57 -57
- package/clients/Startup/RouterConfig.d.ts +37 -37
- package/clients/Startup/RouterConfig.d.ts.map +1 -1
- package/clients/Startup/RouterConfig.js +124 -115
- package/clients/Startup/RouterConfig.js.map +1 -1
- package/clients/Startup/SDDListeners.d.ts +11 -11
- package/clients/Startup/SDDListeners.d.ts.map +1 -1
- package/clients/Startup/SDDListeners.js +96 -96
- package/clients/Startup/SDDListeners.js.map +1 -1
- package/clients/Startup/Startup.d.ts +58 -58
- package/clients/Startup/Startup.js +101 -101
- package/clients/Startup/Startup.js.map +1 -1
- package/clients/Startup/index.d.ts +1 -1
- package/clients/Startup/index.js +2 -2
- package/clients/Startup/types.d.ts +81 -81
- package/clients/Startup/types.d.ts.map +1 -1
- package/clients/Startup/types.js +1 -1
- package/clients/Startup/unhandledErrors.d.ts +6 -6
- package/clients/Startup/unhandledErrors.d.ts.map +1 -1
- package/clients/Startup/unhandledErrors.js +77 -75
- package/clients/Startup/unhandledErrors.js.map +1 -1
- package/clients/Startup/windowStartup.d.ts +17 -17
- package/clients/Startup/windowStartup.d.ts.map +1 -1
- package/clients/Startup/windowStartup.js +491 -478
- package/clients/Startup/windowStartup.js.map +1 -1
- package/clients/StoreModel.d.ts +394 -394
- package/clients/StoreModel.d.ts.map +1 -1
- package/clients/StoreModel.js +906 -906
- package/clients/StoreModel.js.map +1 -1
- package/clients/appsClient.d.ts +618 -476
- package/clients/appsClient.d.ts.map +1 -1
- package/clients/appsClient.js +729 -710
- package/clients/appsClient.js.map +1 -1
- package/clients/authenticationClient.d.ts +190 -190
- package/clients/authenticationClient.d.ts.map +1 -1
- package/clients/authenticationClient.js +247 -247
- package/clients/authenticationClient.js.map +1 -1
- package/clients/configClient.d.ts +638 -638
- package/clients/configClient.d.ts.map +1 -1
- package/clients/configClient.js +969 -969
- package/clients/configClient.js.map +1 -1
- package/clients/controller/DialogManagerClientController.d.ts +77 -77
- package/clients/controller/DialogManagerClientController.js +215 -215
- package/clients/controller/DialogManagerClientController.js.map +1 -1
- package/clients/dialogManagerClient.d.ts +186 -186
- package/clients/dialogManagerClient.d.ts.map +1 -1
- package/clients/dialogManagerClient.js +479 -475
- package/clients/dialogManagerClient.js.map +1 -1
- package/clients/distributedStoreClient.d.ts +150 -151
- package/clients/distributedStoreClient.d.ts.map +1 -1
- package/clients/distributedStoreClient.js +256 -253
- package/clients/distributedStoreClient.js.map +1 -1
- package/clients/hotkeyClient.d.ts +128 -128
- package/clients/hotkeyClient.d.ts.map +1 -1
- package/clients/hotkeyClient.js +648 -648
- package/clients/hotkeyClient.js.map +1 -1
- package/clients/index.d.ts +16 -16
- package/clients/index.js +18 -18
- package/clients/launcherClient.d.ts +123 -123
- package/clients/launcherClient.d.ts.map +1 -1
- package/clients/launcherClient.js +64 -64
- package/clients/logger.d.ts +363 -363
- package/clients/logger.d.ts.map +1 -1
- package/clients/logger.js +940 -931
- package/clients/logger.js.map +1 -1
- package/clients/notificationClient.d.ts +310 -310
- package/clients/notificationClient.d.ts.map +1 -1
- package/clients/notificationClient.js +557 -557
- package/clients/notificationClient.js.map +1 -1
- package/clients/routerClient.d.ts +520 -520
- package/clients/routerClient.d.ts.map +1 -1
- package/clients/routerClient.js +1448 -1416
- package/clients/routerClient.js.map +1 -1
- package/clients/searchClient.d.ts +156 -156
- package/clients/searchClient.d.ts.map +1 -1
- package/clients/searchClient.js +282 -282
- package/clients/searchClient.js.map +1 -1
- package/clients/storageClient.d.ts +235 -235
- package/clients/storageClient.d.ts.map +1 -1
- package/clients/storageClient.js +308 -308
- package/clients/storageClient.js.map +1 -1
- package/clients/windowClient.d.ts +714 -712
- package/clients/windowClient.d.ts.map +1 -1
- package/clients/windowClient.js +1072 -1070
- package/clients/windowClient.js.map +1 -1
- package/clients/workspaceClient.d.ts +511 -511
- package/clients/workspaceClient.d.ts.map +1 -1
- package/clients/workspaceClient.js +758 -750
- package/clients/workspaceClient.js.map +1 -1
- package/common/Desktop.d.ts +56 -56
- package/common/Desktop.d.ts.map +1 -1
- package/common/Desktop.js +109 -97
- package/common/Desktop.js.map +1 -1
- package/common/FinsembleWindow.d.ts +823 -813
- package/common/FinsembleWindow.d.ts.map +1 -1
- package/common/FinsembleWindow.js +1458 -1416
- package/common/FinsembleWindow.js.map +1 -1
- package/common/Globals.d.ts +96 -96
- package/common/Globals.d.ts.map +1 -1
- package/common/Globals.js +29 -29
- package/common/Monitors.d.ts +160 -155
- package/common/Monitors.d.ts.map +1 -1
- package/common/Monitors.js +504 -447
- package/common/Monitors.js.map +1 -1
- package/common/Performance.d.ts +6 -6
- package/common/Performance.js +12 -12
- package/common/REST.d.ts +16 -16
- package/common/REST.js +84 -84
- package/common/REST.js.map +1 -1
- package/common/Singleton.d.ts +74 -72
- package/common/Singleton.d.ts.map +1 -1
- package/common/Singleton.js +95 -95
- package/common/Singleton.js.map +1 -1
- package/common/configUtil.d.ts +58 -58
- package/common/configUtil.d.ts.map +1 -1
- package/common/configUtil.js +347 -347
- package/common/configUtil.js.map +1 -1
- package/common/constants.d.ts +101 -101
- package/common/constants.js +171 -171
- package/common/dependencyManager.d.ts +170 -171
- package/common/dependencyManager.d.ts.map +1 -1
- package/common/dependencyManager.js +383 -383
- package/common/dependencyManager.js.map +1 -1
- package/common/events/FinsembleEvent.d.ts +29 -29
- package/common/events/FinsembleEvent.d.ts.map +1 -1
- package/common/events/FinsembleEvent.js +71 -71
- package/common/events/FinsembleEvent.js.map +1 -1
- package/common/events/PublicEventManager.d.ts +69 -68
- package/common/events/PublicEventManager.d.ts.map +1 -1
- package/common/events/PublicEventManager.js +192 -192
- package/common/events/PublicEventManager.js.map +1 -1
- package/common/index.d.ts +3 -3
- package/common/index.js +5 -5
- package/common/redux/getRemoteStore.d.ts +53 -53
- package/common/redux/getRemoteStore.d.ts.map +1 -1
- package/common/redux/getRemoteStore.js +50 -50
- package/common/redux/remoteReduxEnhancer.d.ts +28 -28
- package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
- package/common/redux/remoteReduxEnhancer.js +228 -218
- package/common/redux/remoteReduxEnhancer.js.map +1 -1
- package/common/redux/types.d.ts +26 -26
- package/common/redux/types.d.ts.map +1 -1
- package/common/redux/types.js +1 -1
- package/common/system.d.ts +328 -308
- package/common/system.d.ts.map +1 -1
- package/common/system.js +559 -545
- package/common/system.js.map +1 -1
- package/common/systemManagerClient.d.ts +91 -91
- package/common/systemManagerClient.d.ts.map +1 -1
- package/common/systemManagerClient.js +189 -189
- package/common/systemManagerClient.js.map +1 -1
- package/common/testPoint.d.ts +56 -56
- package/common/testPoint.js +105 -105
- package/common/testPoint.js.map +1 -1
- package/common/toast.d.ts +35 -35
- package/common/toast.d.ts.map +1 -1
- package/common/toast.js +93 -87
- package/common/toast.js.map +1 -1
- package/common/util.d.ts +141 -136
- package/common/util.d.ts.map +1 -1
- package/common/util.js +458 -445
- package/common/util.js.map +1 -1
- package/deprecated/SmartDesktopClient.d.ts +18 -18
- package/deprecated/SmartDesktopClient.js +18 -18
- package/deprecated/baseClient.d.ts +87 -87
- package/deprecated/baseClient.d.ts.map +1 -1
- package/deprecated/baseClient.js +123 -123
- package/deprecated/baseClient.js.map +1 -1
- package/deprecated/deprecatedFunctions.d.ts +44 -44
- package/deprecated/deprecatedFunctions.d.ts.map +1 -1
- package/deprecated/deprecatedFunctions.js +199 -199
- package/deprecated/deprecatedFunctions.js.map +1 -1
- package/deprecated/deprecatedlauncherClient.d.ts +162 -162
- package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
- package/deprecated/deprecatedlauncherClient.js +285 -285
- package/deprecated/deprecatedlauncherClient.js.map +1 -1
- package/deprecated/dragAndDropClient.d.ts +288 -288
- package/deprecated/dragAndDropClient.d.ts.map +1 -1
- package/deprecated/dragAndDropClient.js +753 -698
- package/deprecated/dragAndDropClient.js.map +1 -1
- package/deprecated/index.d.ts +1 -1
- package/deprecated/index.d.ts.map +1 -1
- package/deprecated/index.js +1 -1
- package/deprecated/legacyUIComponentNames.d.ts +23 -23
- package/deprecated/legacyUIComponentNames.js +23 -23
- package/deprecated/linkerClient.d.ts +422 -422
- package/deprecated/linkerClient.d.ts.map +1 -1
- package/deprecated/linkerClient.js +892 -892
- package/deprecated/linkerClient.js.map +1 -1
- package/index.d.ts +65 -70
- package/index.d.ts.map +1 -1
- package/index.js +3 -5
- package/index.js.map +1 -1
- package/main.d.ts +725 -862
- package/main.d.ts.map +1 -1
- package/main.js +85 -85
- package/package.json +10 -14
- package/platform/preloads/BloombergBridgeClient.d.ts +453 -453
- package/platform/preloads/BloombergBridgeClient.d.ts.map +1 -1
- package/platform/preloads/BloombergBridgeClient.js +568 -568
- package/platform/preloads/BloombergBridgeClient.js.map +1 -1
- package/platform/services/Interop/AuthSignVerify.d.ts +50 -50
- package/platform/services/Interop/AuthSignVerify.js +283 -283
- package/platform/services/Interop/AuthSignVerify.js.map +1 -1
- package/platform/services/Interop/modules/actions.d.ts +16 -16
- package/platform/services/Interop/modules/actions.js +10 -10
- package/platform/services/Interop/modules/types.d.ts +182 -182
- package/platform/services/Interop/modules/types.d.ts.map +1 -1
- package/platform/services/Interop/modules/types.js +1 -1
- package/platform/services/Interop/types.d.ts +634 -632
- package/platform/services/Interop/types.d.ts.map +1 -1
- package/platform/services/Interop/types.js +25 -25
- package/platform/services/Interop/types.js.map +1 -1
- package/platform/services/baseService.d.ts +82 -82
- package/platform/services/baseService.d.ts.map +1 -1
- package/platform/services/baseService.js +300 -300
- package/platform/services/baseService.js.map +1 -1
- package/platform/services/bloombergBridge/lib/types.d.ts +108 -108
- package/platform/services/bloombergBridge/lib/types.d.ts.map +1 -1
- package/platform/services/bloombergBridge/lib/types.js +39 -39
- package/platform/services/config/types.d.ts +42 -42
- package/platform/services/config/types.d.ts.map +1 -1
- package/platform/services/config/types.js +1 -1
- package/platform/services/distributedStore/storeUtils.d.ts +67 -67
- package/platform/services/distributedStore/storeUtils.d.ts.map +1 -1
- package/platform/services/distributedStore/storeUtils.js +238 -238
- package/platform/services/distributedStore/storeUtils.js.map +1 -1
- package/platform/services/index.d.ts +5 -5
- package/platform/services/index.js +9 -9
- package/platform/services/logger/types.d.ts +78 -78
- package/platform/services/logger/types.d.ts.map +1 -1
- package/platform/services/logger/types.js +1 -1
- package/platform/services/notification/index.d.ts +1 -1
- package/platform/services/notification/index.js +2 -2
- package/platform/services/notification/types/Action.d.ts +12 -12
- package/platform/services/notification/types/Action.js +7 -7
- package/platform/services/notification/types/ActionTypes.d.ts +16 -16
- package/platform/services/notification/types/ActionTypes.js +18 -18
- package/platform/services/notification/types/Callbacks.d.ts +7 -7
- package/platform/services/notification/types/Callbacks.js +1 -1
- package/platform/services/notification/types/Filter.d.ts +22 -22
- package/platform/services/notification/types/Filter.js +19 -19
- package/platform/services/notification/types/IAction.d.ts +51 -51
- package/platform/services/notification/types/IAction.js +1 -1
- package/platform/services/notification/types/IFilter.d.ts +24 -24
- package/platform/services/notification/types/IFilter.js +1 -1
- package/platform/services/notification/types/ILastIssued.d.ts +8 -8
- package/platform/services/notification/types/ILastIssued.js +1 -1
- package/platform/services/notification/types/IMuteFilter.d.ts +7 -7
- package/platform/services/notification/types/IMuteFilter.js +4 -4
- package/platform/services/notification/types/INotification.d.ts +100 -100
- package/platform/services/notification/types/INotification.d.ts.map +1 -1
- package/platform/services/notification/types/INotification.js +1 -1
- package/platform/services/notification/types/INotificationClient.d.ts +94 -94
- package/platform/services/notification/types/INotificationClient.js +1 -1
- package/platform/services/notification/types/INotificationHistoryOptions.d.ts +18 -18
- package/platform/services/notification/types/INotificationHistoryOptions.d.ts.map +1 -1
- package/platform/services/notification/types/INotificationHistoryOptions.js +1 -1
- package/platform/services/notification/types/INotificationService.d.ts +57 -57
- package/platform/services/notification/types/INotificationService.js +1 -1
- package/platform/services/notification/types/IPerformedAction.d.ts +9 -9
- package/platform/services/notification/types/IPerformedAction.js +1 -1
- package/platform/services/notification/types/ISnoozeTimer.d.ts +13 -13
- package/platform/services/notification/types/ISnoozeTimer.js +9 -9
- package/platform/services/notification/types/ISubscription.d.ts +15 -15
- package/platform/services/notification/types/ISubscription.js +1 -1
- package/platform/services/notification/types/LastIssued.d.ts +10 -10
- package/platform/services/notification/types/LastIssued.js +6 -6
- package/platform/services/notification/types/Meta.d.ts +12 -12
- package/platform/services/notification/types/Meta.js +6 -6
- package/platform/services/notification/types/Notification.d.ts +29 -29
- package/platform/services/notification/types/Notification.js +16 -16
- package/platform/services/notification/types/NotificationConfig.d.ts +21 -21
- package/platform/services/notification/types/NotificationConfig.js +1 -1
- package/platform/services/notification/types/NotificationHookTypes.d.ts +6 -6
- package/platform/services/notification/types/NotificationHookTypes.js +1 -1
- package/platform/services/notification/types/PerformedAction.d.ts +10 -10
- package/platform/services/notification/types/PerformedAction.js +7 -7
- package/platform/services/notification/types/SnoozeTimer.d.ts +7 -7
- package/platform/services/notification/types/SnoozeTimer.js +2 -2
- package/platform/services/notification/types/Subscription.d.ts +13 -13
- package/platform/services/notification/types/Subscription.js +14 -14
- package/platform/services/notification/types/index.d.ts +45 -45
- package/platform/services/notification/types/index.d.ts.map +1 -1
- package/platform/services/notification/types/index.js +23 -23
- package/platform/services/router/routerTransport.d.ts +80 -80
- package/platform/services/router/routerTransport.d.ts.map +1 -1
- package/platform/services/router/routerTransport.js +486 -476
- package/platform/services/router/routerTransport.js.map +1 -1
- package/platform/services/router/types.d.ts +214 -212
- package/platform/services/router/types.d.ts.map +1 -1
- package/platform/services/router/types.js +1 -1
- package/platform/services/search/index.d.ts +1 -1
- package/platform/services/search/index.js +2 -2
- package/platform/services/search/types.d.ts +29 -29
- package/platform/services/search/types.d.ts.map +1 -1
- package/platform/services/search/types.js +1 -1
- package/platform/services/storage/adapters/base.d.ts +3 -3
- package/platform/services/storage/adapters/base.js +63 -63
- package/platform/services/storage/adapters/base.js.map +1 -1
- package/platform/services/storage/adapters/types.d.ts +21 -21
- package/platform/services/storage/adapters/types.d.ts.map +1 -1
- package/platform/services/storage/adapters/types.js +1 -1
- package/platform/services/systemManager/_constants.d.ts +9 -9
- package/platform/services/systemManager/_constants.js +22 -22
- package/platform/services/systemManager/common.d.ts +13 -13
- package/platform/services/systemManager/common.js +19 -19
- package/platform/services/systemManager/types.d.ts +49 -48
- package/platform/services/systemManager/types.d.ts.map +1 -1
- package/platform/services/systemManager/types.js +11 -11
- package/platform/services/types.d.ts +10 -10
- package/platform/services/types.d.ts.map +1 -1
- package/platform/services/types.js +9 -9
- package/platform/services/window/index.d.ts +1 -1
- package/platform/services/window/index.js +2 -2
- package/platform/services/window/modules/actions.d.ts +76 -70
- package/platform/services/window/modules/actions.d.ts.map +1 -1
- package/platform/services/window/modules/actions.js +67 -62
- package/platform/services/window/modules/actions.js.map +1 -1
- package/platform/services/window/types.d.ts +1211 -1194
- package/platform/services/window/types.d.ts.map +1 -1
- package/platform/services/window/types.js +6 -1
- package/platform/services/window/types.js.map +1 -1
- package/platform/services/workspace/index.d.ts +1 -1
- package/platform/services/workspace/index.js +2 -2
- package/platform/services/workspace/types.d.ts +78 -78
- package/platform/services/workspace/types.d.ts.map +1 -1
- package/platform/services/workspace/types.js +1 -1
- package/platform/services/workspace/workspaceAdminAPI.d.ts +26 -26
- package/platform/services/workspace/workspaceAdminAPI.d.ts.map +1 -1
- package/platform/services/workspace/workspaceAdminAPI.js +44 -44
- package/platform/services/workspace/workspaceAdminAPI.js.map +1 -1
- package/react/actions/favoriteActions.d.ts +21 -21
- package/react/actions/favoriteActions.d.ts.map +1 -1
- package/react/actions/favoriteActions.js +8 -8
- package/react/actions/linkerActions.d.ts +48 -48
- package/react/actions/linkerActions.d.ts.map +1 -1
- package/react/actions/linkerActions.js +8 -8
- package/react/actions/menuActions.d.ts +16 -16
- package/react/actions/menuActions.d.ts.map +1 -1
- package/react/actions/menuActions.js +9 -9
- package/react/actions/rootActions.d.ts +9 -9
- package/react/actions/rootActions.d.ts.map +1 -1
- package/react/actions/rootActions.js +2 -2
- package/react/actions/searchActions.d.ts +12 -12
- package/react/actions/searchActions.d.ts.map +1 -1
- package/react/actions/searchActions.js +7 -7
- package/react/actions/smartDesktopDesignerActions.d.ts +56 -56
- package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -1
- package/react/actions/smartDesktopDesignerActions.js +27 -27
- package/react/actions/toolbarActions.d.ts +61 -61
- package/react/actions/toolbarActions.d.ts.map +1 -1
- package/react/actions/toolbarActions.js +24 -24
- package/react/actions/workspaceActions.d.ts +11 -11
- package/react/actions/workspaceActions.d.ts.map +1 -1
- package/react/actions/workspaceActions.js +6 -6
- package/react/assets/css/advancedAppLauncher.css +1 -1
- package/react/assets/css/appCatalog.css +4 -4
- package/react/assets/css/dialogs.css +2 -6
- package/react/assets/css/favorites.css +1 -3
- package/react/assets/css/finsemble.css +0 -1
- package/react/assets/css/font-finance.css +4 -282
- package/react/assets/css/menus.css +5 -1
- package/react/assets/css/search.css +1 -2
- package/react/assets/css/toolbar.css +9 -1
- package/react/assets/css/userPreferences.css +1 -1
- package/react/components/FinsembleCSS.d.ts +17 -17
- package/react/components/FinsembleCSS.d.ts.map +1 -1
- package/react/components/FinsembleCSS.js +27 -26
- package/react/components/FinsembleCSS.js.map +1 -1
- package/react/components/FinsembleProvider.d.ts +28 -28
- package/react/components/FinsembleProvider.d.ts.map +1 -1
- package/react/components/FinsembleProvider.js +33 -33
- package/react/components/appCatalog/AppCatalog.d.ts +13 -13
- package/react/components/appCatalog/AppCatalog.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalog.js +33 -33
- package/react/components/appCatalog/AppCatalogComponent.d.ts +98 -98
- package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.js +307 -307
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- package/react/components/appCatalog/components/AppCard.d.ts +64 -64
- package/react/components/appCatalog/components/AppCard.d.ts.map +1 -1
- package/react/components/appCatalog/components/AppCard.js +200 -200
- package/react/components/appCatalog/components/AppCard.js.map +1 -1
- package/react/components/appCatalog/components/AppList.d.ts +8 -8
- package/react/components/appCatalog/components/AppList.d.ts.map +1 -1
- package/react/components/appCatalog/components/AppList.js +25 -25
- package/react/components/appCatalog/components/AppList.js.map +1 -1
- package/react/components/appCatalog/components/AppResults.d.ts +25 -21
- package/react/components/appCatalog/components/AppResults.d.ts.map +1 -1
- package/react/components/appCatalog/components/AppResults.js +71 -71
- package/react/components/appCatalog/components/AppResults.js.map +1 -1
- package/react/components/appCatalog/components/Carousel.d.ts +42 -42
- package/react/components/appCatalog/components/Carousel.d.ts.map +1 -1
- package/react/components/appCatalog/components/Carousel.js +126 -126
- package/react/components/appCatalog/components/Carousel.js.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.d.ts +11 -7
- package/react/components/appCatalog/components/EmptyResults.d.ts.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.js +12 -12
- package/react/components/appCatalog/components/Hero.d.ts +42 -42
- package/react/components/appCatalog/components/Hero.d.ts.map +1 -1
- package/react/components/appCatalog/components/Hero.js +83 -83
- package/react/components/appCatalog/components/Hero.js.map +1 -1
- package/react/components/appCatalog/components/Home.d.ts +29 -21
- package/react/components/appCatalog/components/Home.d.ts.map +1 -1
- package/react/components/appCatalog/components/Home.js +28 -28
- package/react/components/appCatalog/components/SearchBar.d.ts +57 -57
- package/react/components/appCatalog/components/SearchBar.js +107 -107
- package/react/components/appCatalog/components/SearchBar.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts +15 -11
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.js +15 -15
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts +18 -14
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js +30 -30
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts +37 -37
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.js +128 -128
- package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.d.ts +21 -21
- package/react/components/appCatalog/components/Showcase/Header.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.js +58 -58
- package/react/components/appCatalog/components/Showcase/Header.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts +14 -13
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js +25 -25
- package/react/components/appCatalog/components/Showcase/Modal.d.ts +18 -18
- package/react/components/appCatalog/components/Showcase/Modal.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/Modal.js +23 -23
- package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts +10 -9
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js +18 -18
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts +12 -11
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/SupportNotes.js +26 -26
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts +10 -9
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/VersionNotes.js +21 -21
- package/react/components/appCatalog/components/Showcase/defaults.d.ts +3 -3
- package/react/components/appCatalog/components/Showcase/defaults.js +3 -3
- package/react/components/appCatalog/components/Toast.d.ts +15 -11
- package/react/components/appCatalog/components/Toast.d.ts.map +1 -1
- package/react/components/appCatalog/components/Toast.js +38 -38
- package/react/components/appCatalog/components/Toast.js.map +1 -1
- package/react/components/appCatalog/components/helpers.d.ts +2 -2
- package/react/components/appCatalog/components/helpers.js +33 -33
- package/react/components/appCatalog/components/helpers.js.map +1 -1
- package/react/components/appCatalog/index.d.ts +1 -1
- package/react/components/appCatalog/index.js +1 -1
- package/react/components/appCatalog/modules/AppDirectory.d.ts +12 -12
- package/react/components/appCatalog/modules/AppDirectory.d.ts.map +1 -1
- package/react/components/appCatalog/modules/AppDirectory.js +10 -10
- package/react/components/appCatalog/modules/FDC3.d.ts +51 -51
- package/react/components/appCatalog/modules/FDC3.js +146 -146
- package/react/components/appCatalog/modules/FDC3.js.map +1 -1
- package/react/components/appCatalog/stores/appStore.d.ts +9 -9
- package/react/components/appCatalog/stores/appStore.js +47 -47
- package/react/components/appCatalog/stores/appStore.js.map +1 -1
- package/react/components/appCatalog/stores/storeActions.d.ts +145 -145
- package/react/components/appCatalog/stores/storeActions.d.ts.map +1 -1
- package/react/components/appCatalog/stores/storeActions.js +423 -423
- package/react/components/appCatalog/stores/storeActions.js.map +1 -1
- package/react/components/bloomberg/BloombergFDC3.d.ts +3 -3
- package/react/components/bloomberg/BloombergFDC3.d.ts.map +1 -1
- package/react/components/bloomberg/BloombergFDC3.js +71 -71
- package/react/components/bloomberg/BloombergFDC3.js.map +1 -1
- package/react/components/bloomberg/BloombergLink.d.ts +11 -11
- package/react/components/bloomberg/BloombergLink.d.ts.map +1 -1
- package/react/components/bloomberg/BloombergLink.js +48 -48
- package/react/components/bloomberg/BloombergLink.js.map +1 -1
- package/react/components/bloomberg/BloombergRelay.d.ts +9 -9
- package/react/components/bloomberg/BloombergRelay.d.ts.map +1 -1
- package/react/components/bloomberg/BloombergRelay.js +74 -68
- package/react/components/bloomberg/BloombergRelay.js.map +1 -1
- package/react/components/common/Button.d.ts +35 -35
- package/react/components/common/Button.js +21 -21
- package/react/components/common/Button.js.map +1 -1
- package/react/components/common/ButtonIcon.d.ts +4 -4
- package/react/components/common/ButtonIcon.js +11 -11
- package/react/components/common/ButtonIcon.js.map +1 -1
- package/react/components/common/ButtonRow.d.ts +15 -15
- package/react/components/common/ButtonRow.js +24 -24
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/Checkbox.d.ts +12 -12
- package/react/components/common/Checkbox.js +19 -19
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ContextMenu.d.ts +13 -13
- package/react/components/common/ContextMenu.d.ts.map +1 -1
- package/react/components/common/ContextMenu.js +62 -62
- package/react/components/common/ContextMenu.js.map +1 -1
- package/react/components/common/Dropdown.d.ts +14 -14
- package/react/components/common/Dropdown.d.ts.map +1 -1
- package/react/components/common/Dropdown.js +82 -82
- package/react/components/common/Dropdown.js.map +1 -1
- package/react/components/common/DropdownButton.d.ts +10 -10
- package/react/components/common/DropdownButton.d.ts.map +1 -1
- package/react/components/common/DropdownButton.js +52 -52
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/ErrorBoundary.d.ts +35 -35
- package/react/components/common/ErrorBoundary.d.ts.map +1 -1
- package/react/components/common/ErrorBoundary.js +43 -43
- package/react/components/common/ErrorBoundary.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +20 -20
- package/react/components/common/FinsembleIcon.d.ts.map +1 -1
- package/react/components/common/FinsembleIcon.js +150 -150
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleToggle.d.ts +9 -9
- package/react/components/common/FinsembleToggle.d.ts.map +1 -1
- package/react/components/common/FinsembleToggle.js +11 -11
- package/react/components/common/FinsembleToggleButtonBar.d.ts +15 -15
- package/react/components/common/FinsembleToggleButtonBar.d.ts.map +1 -1
- package/react/components/common/FinsembleToggleButtonBar.js +39 -39
- package/react/components/common/FinsembleToggleButtonBar.js.map +1 -1
- package/react/components/common/Header.d.ts +13 -13
- package/react/components/common/Header.d.ts.map +1 -1
- package/react/components/common/Header.js +20 -20
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/TimeSelect.d.ts +16 -16
- package/react/components/common/TimeSelect.d.ts.map +1 -1
- package/react/components/common/TimeSelect.js +173 -173
- package/react/components/common/TimeSelect.js.map +1 -1
- package/react/components/common/css/icon.css +0 -2
- package/react/components/common/loadCSSAsStyle.d.ts +3 -0
- package/react/components/common/loadCSSAsStyle.d.ts.map +1 -0
- package/react/components/common/loadCSSAsStyle.js +18 -0
- package/react/components/common/loadCSSAsStyle.js.map +1 -0
- package/react/components/downloadManager/DownloadItem.d.ts +14 -14
- package/react/components/downloadManager/DownloadItem.d.ts.map +1 -1
- package/react/components/downloadManager/DownloadItem.js +76 -76
- package/react/components/downloadManager/DownloadItem.js.map +1 -1
- package/react/components/downloadManager/DownloadManager.d.ts +9 -9
- package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
- package/react/components/downloadManager/DownloadManager.js +39 -39
- package/react/components/downloadManager/DownloadManager.js.map +1 -1
- package/react/components/downloadManager/index.d.ts +1 -1
- package/react/components/downloadManager/index.js +1 -1
- package/react/components/favorites/FavoriteMaker.d.ts +17 -17
- package/react/components/favorites/FavoriteMaker.d.ts.map +1 -1
- package/react/components/favorites/FavoriteMaker.js +41 -41
- package/react/components/favorites/FavoriteMaker.js.map +1 -1
- package/react/components/favorites/FavoritesShell.d.ts +7 -7
- package/react/components/favorites/FavoritesShell.d.ts.map +1 -1
- package/react/components/favorites/FavoritesShell.js +40 -40
- package/react/components/favorites/FavoritesShell.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.d.ts +12 -8
- package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js +98 -98
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +31 -31
- package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js +167 -164
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/fdc3Resolver/index.d.ts +1 -1
- package/react/components/fdc3Resolver/index.js +1 -1
- package/react/components/icon/Icon.d.ts +21 -21
- package/react/components/icon/Icon.d.ts.map +1 -1
- package/react/components/icon/Icon.js +102 -102
- package/react/components/icon/Icon.js.map +1 -1
- package/react/components/icon/index.d.ts +1 -1
- package/react/components/icon/index.js +1 -1
- package/react/components/index.d.ts +28 -28
- package/react/components/index.js +28 -28
- package/react/components/legacyControls/FinsembleDialog.d.ts +18 -18
- package/react/components/legacyControls/FinsembleDialog.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialog.js +47 -47
- package/react/components/legacyControls/FinsembleDialog.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.d.ts +16 -16
- package/react/components/legacyControls/FinsembleDialogButton.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.js +21 -21
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts +14 -14
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.js +16 -16
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +22 -22
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.js +64 -64
- package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.d.ts +46 -46
- package/react/components/legacyControls/FinsembleDnDContext.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.js +308 -308
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.d.ts +15 -15
- package/react/components/legacyControls/FinsembleDraggable.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.js +21 -21
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
- package/react/components/linker/LinkerMenu.d.ts +10 -6
- package/react/components/linker/LinkerMenu.d.ts.map +1 -1
- package/react/components/linker/LinkerMenu.js +155 -155
- package/react/components/linker/LinkerMenu.js.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.d.ts +13 -7
- package/react/components/linker/LinkerMenuDeprecated.d.ts.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.js +38 -38
- package/react/components/linker/LinkerMenuDeprecated.js.map +1 -1
- package/react/components/linker/index.d.ts +1 -1
- package/react/components/linker/index.js +1 -1
- package/react/components/linker/remoteRedux.d.ts +3 -3
- package/react/components/linker/remoteRedux.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.js +10 -9
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/menu/Menu.d.ts +29 -29
- package/react/components/menu/Menu.d.ts.map +1 -1
- package/react/components/menu/Menu.js +25 -25
- package/react/components/menu/Menu.js.map +1 -1
- package/react/components/menu/MenuAutoResizer.d.ts +19 -18
- package/react/components/menu/MenuAutoResizer.d.ts.map +1 -1
- package/react/components/menu/MenuAutoResizer.js +125 -67
- package/react/components/menu/MenuAutoResizer.js.map +1 -1
- package/react/components/menu/MenuContent.d.ts +11 -11
- package/react/components/menu/MenuContent.d.ts.map +1 -1
- package/react/components/menu/MenuContent.js +14 -14
- package/react/components/menu/MenuHotKey.d.ts +20 -20
- package/react/components/menu/MenuHotKey.d.ts.map +1 -1
- package/react/components/menu/MenuHotKey.js +45 -45
- package/react/components/menu/MenuHotKey.js.map +1 -1
- package/react/components/menu/MenuItem.d.ts +19 -19
- package/react/components/menu/MenuItem.d.ts.map +1 -1
- package/react/components/menu/MenuItem.js +28 -21
- package/react/components/menu/MenuItem.js.map +1 -1
- package/react/components/menu/MenuPortal.d.ts +7 -7
- package/react/components/menu/MenuPortal.d.ts.map +1 -1
- package/react/components/menu/MenuPortal.js +321 -245
- package/react/components/menu/MenuPortal.js.map +1 -1
- package/react/components/menu/MenuShell.d.ts +31 -31
- package/react/components/menu/MenuShell.d.ts.map +1 -1
- package/react/components/menu/MenuShell.js +47 -47
- package/react/components/menu/MenuToggle.d.ts +7 -7
- package/react/components/menu/MenuToggle.d.ts.map +1 -1
- package/react/components/menu/MenuToggle.js +19 -18
- package/react/components/menu/MenuToggle.js.map +1 -1
- package/react/components/menu/index.d.ts +5 -5
- package/react/components/menu/index.js +5 -5
- package/react/components/menu/keyboardNavigation.d.ts +13 -13
- package/react/components/menu/keyboardNavigation.d.ts.map +1 -1
- package/react/components/menu/keyboardNavigation.js +197 -195
- package/react/components/menu/keyboardNavigation.js.map +1 -1
- package/react/components/menu/menuContext.d.ts +16 -17
- package/react/components/menu/menuContext.d.ts.map +1 -1
- package/react/components/menu/menuContext.js +8 -8
- package/react/components/menu/menuHelpers.d.ts +32 -32
- package/react/components/menu/menuHelpers.d.ts.map +1 -1
- package/react/components/menu/menuHelpers.js +112 -112
- package/react/components/menu/menuHelpers.js.map +1 -1
- package/react/components/notifications/components/NoNotifications.d.ts +3 -3
- package/react/components/notifications/components/NoNotifications.d.ts.map +1 -1
- package/react/components/notifications/components/NoNotifications.js +4 -4
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.d.ts +18 -18
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.js +83 -83
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts +5 -5
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +44 -44
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/CardView.d.ts +4 -4
- package/react/components/notifications/components/notificationsCenter/components/CardView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/CardView.js +91 -91
- package/react/components/notifications/components/notificationsCenter/components/CardView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/Drawer.d.ts +7 -7
- package/react/components/notifications/components/notificationsCenter/components/Drawer.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/Drawer.js +4 -4
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.d.ts +3 -3
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.js +93 -93
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.d.ts +7 -7
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.js +80 -77
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/ListView.d.ts +14 -14
- package/react/components/notifications/components/notificationsCenter/components/ListView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/ListView.js +150 -150
- package/react/components/notifications/components/notificationsCenter/components/ListView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.d.ts +18 -18
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.js +68 -68
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.d.ts +6 -6
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.js +63 -63
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.d.ts +9 -9
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.js +312 -303
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.js.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts +4 -4
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +220 -220
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.d.ts +5 -5
- package/react/components/notifications/components/shared/CheckButton.d.ts.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.js +38 -38
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.d.ts +10 -10
- package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -1
- package/react/components/notifications/components/shared/IconButton.js +10 -10
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +20 -20
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.js +92 -92
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +5 -5
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js +31 -31
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts +4 -4
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js +6 -6
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +8 -8
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js +12 -12
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +13 -13
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js +149 -149
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts +4 -4
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js +7 -7
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +10 -10
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js +18 -18
- package/react/components/notifications/constants.d.ts +9 -9
- package/react/components/notifications/constants.js +11 -11
- package/react/components/notifications/css/notification-card.css +1 -1
- package/react/components/notifications/icons/EnvelopeClose.d.ts +2 -2
- package/react/components/notifications/icons/EnvelopeClose.d.ts.map +1 -1
- package/react/components/notifications/icons/EnvelopeClose.js +11 -11
- package/react/components/notifications/icons/EnvelopeOpen.d.ts +2 -2
- package/react/components/notifications/icons/EnvelopeOpen.d.ts.map +1 -1
- package/react/components/notifications/icons/EnvelopeOpen.js +10 -10
- package/react/components/notifications/icons/SnoozeIcon.d.ts +2 -2
- package/react/components/notifications/icons/SnoozeIcon.d.ts.map +1 -1
- package/react/components/notifications/icons/SnoozeIcon.js +12 -12
- package/react/components/notifications/index.d.ts +8 -8
- package/react/components/notifications/index.js +8 -8
- package/react/components/notifications/notificationsContext.d.ts +6 -7
- package/react/components/notifications/notificationsContext.d.ts.map +1 -1
- package/react/components/notifications/notificationsContext.js +6 -6
- package/react/components/notifications/types.d.ts +90 -90
- package/react/components/notifications/types.d.ts.map +1 -1
- package/react/components/notifications/types.js +1 -1
- package/react/components/notifications/utils.d.ts +12 -12
- package/react/components/notifications/utils.js +70 -70
- package/react/components/notifications/utils.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.d.ts +6 -6
- package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.js +64 -64
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +22 -22
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.js +1 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts +11 -11
- package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.js +32 -32
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +8 -8
- package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
- package/react/components/processMonitor/components/ListHeader.js +50 -50
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/Process.d.ts +9 -9
- package/react/components/processMonitor/components/Process.d.ts.map +1 -1
- package/react/components/processMonitor/components/Process.js +10 -10
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +10 -10
- package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.js +64 -64
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.d.ts +8 -8
- package/react/components/processMonitor/constants.js +23 -23
- package/react/components/processMonitor/helpers.d.ts +17 -17
- package/react/components/processMonitor/helpers.js +48 -48
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/index.d.ts +1 -1
- package/react/components/processMonitor/index.js +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +58 -58
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +264 -264
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.d.ts +7 -7
- package/react/components/quickComponentForm/QuickComponentForm.d.ts.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.js +123 -123
- package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
- package/react/components/quickComponentForm/index.d.ts +1 -1
- package/react/components/quickComponentForm/index.js +1 -1
- package/react/components/search/Highlight.d.ts +12 -12
- package/react/components/search/Highlight.d.ts.map +1 -1
- package/react/components/search/Highlight.js +41 -41
- package/react/components/search/Highlight.js.map +1 -1
- package/react/components/search/Search.d.ts +5 -5
- package/react/components/search/Search.d.ts.map +1 -1
- package/react/components/search/Search.js +19 -27
- package/react/components/search/Search.js.map +1 -1
- package/react/components/search/SearchBestMatch.d.ts +6 -6
- package/react/components/search/SearchBestMatch.d.ts.map +1 -1
- package/react/components/search/SearchBestMatch.js +38 -38
- package/react/components/search/SearchBestMatch.js.map +1 -1
- package/react/components/search/SearchInput.d.ts +6 -6
- package/react/components/search/SearchInput.d.ts.map +1 -1
- package/react/components/search/SearchInput.js +26 -26
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/search/SearchProviderResults.d.ts +5 -5
- package/react/components/search/SearchProviderResults.d.ts.map +1 -1
- package/react/components/search/SearchProviderResults.js +26 -26
- package/react/components/search/SearchResult.d.ts +12 -12
- package/react/components/search/SearchResult.d.ts.map +1 -1
- package/react/components/search/SearchResult.js +52 -47
- package/react/components/search/SearchResult.js.map +1 -1
- package/react/components/search/SearchResults.d.ts +3 -3
- package/react/components/search/SearchResults.d.ts.map +1 -1
- package/react/components/search/SearchResults.js +21 -21
- package/react/components/search/SearchResults.js.map +1 -1
- package/react/components/search/index.d.ts +1 -1
- package/react/components/search/index.js +1 -1
- package/react/components/shared/BellIcon.d.ts +3 -3
- package/react/components/shared/BellIcon.d.ts.map +1 -1
- package/react/components/shared/BellIcon.js +7 -7
- package/react/components/shared/BellIconCrossed.d.ts +3 -3
- package/react/components/shared/BellIconCrossed.d.ts.map +1 -1
- package/react/components/shared/BellIconCrossed.js +9 -9
- package/react/components/shared/Button.d.ts +9 -9
- package/react/components/shared/Button.d.ts.map +1 -1
- package/react/components/shared/Button.js +5 -5
- package/react/components/shared/ConditionalWrapper.d.ts +8 -8
- package/react/components/shared/ConditionalWrapper.d.ts.map +1 -1
- package/react/components/shared/ConditionalWrapper.js +5 -5
- package/react/components/shared/DefaultDropdownButton.d.ts +18 -18
- package/react/components/shared/DefaultDropdownButton.d.ts.map +1 -1
- package/react/components/shared/DefaultDropdownButton.js +117 -117
- package/react/components/shared/DefaultDropdownButton.js.map +1 -1
- package/react/components/shared/Tag.d.ts +16 -8
- package/react/components/shared/Tag.d.ts.map +1 -1
- package/react/components/shared/Tag.js +22 -22
- package/react/components/shared/TagsMenu.d.ts +36 -36
- package/react/components/shared/TagsMenu.js +77 -77
- package/react/components/shared/TagsMenu.js.map +1 -1
- package/react/components/shared/addProtocolToValidURL.d.ts +7 -7
- package/react/components/shared/addProtocolToValidURL.js +11 -11
- package/react/components/shared/openQuitConfirmationDialog.d.ts +1 -1
- package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.js +73 -71
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/shared/validateURL.d.ts +19 -19
- package/react/components/shared/validateURL.js +29 -29
- package/react/components/singleInputDialog/SingleInputDialog.d.ts +12 -8
- package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.js +112 -112
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/singleInputDialog/index.d.ts +1 -1
- package/react/components/singleInputDialog/index.js +1 -1
- package/react/components/system/System.d.ts +34 -34
- package/react/components/system/System.d.ts.map +1 -1
- package/react/components/system/System.js +92 -93
- package/react/components/system/System.js.map +1 -1
- package/react/components/system/SystemTrayComponentShell.d.ts +14 -14
- package/react/components/system/SystemTrayComponentShell.d.ts.map +1 -1
- package/react/components/system/SystemTrayComponentShell.js +47 -45
- package/react/components/system/SystemTrayComponentShell.js.map +1 -1
- package/react/components/system/index.d.ts +2 -2
- package/react/components/system/index.js +2 -2
- package/react/components/toolbar/AlwaysOnTop.d.ts +10 -10
- package/react/components/toolbar/AlwaysOnTop.d.ts.map +1 -1
- package/react/components/toolbar/AlwaysOnTop.js +95 -78
- package/react/components/toolbar/AlwaysOnTop.js.map +1 -1
- package/react/components/toolbar/AutoArrange.d.ts +12 -12
- package/react/components/toolbar/AutoArrange.d.ts.map +1 -1
- package/react/components/toolbar/AutoArrange.js +36 -36
- package/react/components/toolbar/AutoArrange.js.map +1 -1
- package/react/components/toolbar/DownloadButton.d.ts +10 -10
- package/react/components/toolbar/DownloadButton.d.ts.map +1 -1
- package/react/components/toolbar/DownloadButton.js +43 -46
- package/react/components/toolbar/DownloadButton.js.map +1 -1
- package/react/components/toolbar/DragHandle.d.ts +11 -11
- package/react/components/toolbar/DragHandle.d.ts.map +1 -1
- package/react/components/toolbar/DragHandle.js +49 -49
- package/react/components/toolbar/MinimizeAll.d.ts +11 -11
- package/react/components/toolbar/MinimizeAll.d.ts.map +1 -1
- package/react/components/toolbar/MinimizeAll.js +24 -24
- package/react/components/toolbar/MinimizeAll.js.map +1 -1
- package/react/components/toolbar/NotificationControl.d.ts +12 -12
- package/react/components/toolbar/NotificationControl.d.ts.map +1 -1
- package/react/components/toolbar/NotificationControl.js +85 -79
- package/react/components/toolbar/NotificationControl.js.map +1 -1
- package/react/components/toolbar/RevealAll.d.ts +11 -11
- package/react/components/toolbar/RevealAll.d.ts.map +1 -1
- package/react/components/toolbar/RevealAll.js +26 -26
- package/react/components/toolbar/RevealAll.js.map +1 -1
- package/react/components/toolbar/SddButton.d.ts +6 -6
- package/react/components/toolbar/SddButton.d.ts.map +1 -1
- package/react/components/toolbar/SddButton.js +27 -27
- package/react/components/toolbar/SddButton.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.d.ts +6 -6
- package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarIcon.js +29 -41
- package/react/components/toolbar/ToolbarIcon.js.map +1 -1
- package/react/components/toolbar/ToolbarSection.d.ts +16 -16
- package/react/components/toolbar/ToolbarSection.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarSection.js +41 -41
- package/react/components/toolbar/ToolbarSection.js.map +1 -1
- package/react/components/toolbar/ToolbarShell.d.ts +20 -20
- package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarShell.js +35 -35
- package/react/components/toolbar/ToolbarShell.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts +10 -10
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js +26 -33
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.d.ts +43 -42
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.js +97 -89
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.d.ts +93 -93
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.js +334 -333
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewFolder.d.ts +10 -10
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewFolder.js +15 -15
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.d.ts +56 -56
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.js +175 -175
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.d.ts +33 -33
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.js +53 -53
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.d.ts +16 -16
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.js +43 -43
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.d.ts +38 -38
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.js +172 -171
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.d.ts +20 -20
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.js +52 -52
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.d.ts +59 -59
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.js +308 -295
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts +25 -25
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.js +103 -103
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/NoAppsFound.d.ts +11 -11
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/NoAppsFound.js +9 -9
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SearchBox.d.ts +18 -18
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SearchBox.js +51 -51
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SortBy.d.ts +13 -13
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SortBy.js +34 -34
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/TagsList.d.ts +19 -19
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/TagsList.js +38 -38
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.d.ts +8 -8
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.js +26 -26
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/AppDirectory.d.ts +8 -8
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/AppDirectory.js +10 -10
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.d.ts +55 -55
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.js +145 -145
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.d.ts +5 -5
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.js +21 -21
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.d.ts +96 -96
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.js +548 -546
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.d.ts +18 -18
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.js +55 -55
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.d.ts +16 -16
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.js +279 -240
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.d.ts +96 -96
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.js +329 -328
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.d.ts +40 -40
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.js +61 -61
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.d.ts +17 -17
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.js +42 -42
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.d.ts +18 -18
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.js +114 -114
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.d.ts +62 -62
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.js +260 -271
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts +9 -9
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.js +36 -37
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/NoAppsFound.d.ts +11 -11
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/NoAppsFound.js +9 -9
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SearchBox.d.ts +12 -12
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SearchBox.js +23 -23
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.d.ts +12 -12
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.js +16 -16
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/TagsList.d.ts +11 -11
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/TagsList.js +15 -15
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/constants.d.ts +4 -4
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/constants.js +4 -4
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.d.ts +26 -26
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.js +44 -42
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.d.ts +19 -19
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.js +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.d.ts +16 -16
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.js +46 -46
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.js.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts +28 -28
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js +48 -48
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +29 -29
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js +54 -48
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/appLauncher.css +0 -6
- package/react/components/toolbar/appLauncher/components/componentList.d.ts +14 -7
- package/react/components/toolbar/appLauncher/components/componentList.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/components/componentList.js +133 -133
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +44 -44
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +274 -259
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
- package/react/components/toolbar/bloomberg/BloombergStatus.d.ts +4 -4
- package/react/components/toolbar/bloomberg/BloombergStatus.d.ts.map +1 -1
- package/react/components/toolbar/bloomberg/BloombergStatus.js +109 -109
- package/react/components/toolbar/bloomberg/BloombergStatus.js.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.d.ts +4 -4
- package/react/components/toolbar/dashbar/Dashbar.d.ts.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.js +441 -449
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.d.ts +17 -17
- package/react/components/toolbar/dashbar/DashbarItem.d.ts.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.js +58 -58
- package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
- package/react/components/toolbar/index.d.ts +18 -18
- package/react/components/toolbar/index.js +18 -18
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +21 -21
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js +62 -56
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +23 -23
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js +76 -76
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts +8 -3
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js +50 -50
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +14 -9
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js +24 -24
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +136 -136
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +684 -684
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts +14 -15
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts.map +1 -1
- package/react/components/userPreferences/NotificationsPreferencesContext.js +6 -6
- package/react/components/userPreferences/UserPreferenceTypes.d.ts +9 -9
- package/react/components/userPreferences/UserPreferenceTypes.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferenceTypes.js +1 -1
- package/react/components/userPreferences/UserPreferences.d.ts +20 -16
- package/react/components/userPreferences/UserPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferences.js +27 -24
- package/react/components/userPreferences/UserPreferences.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.d.ts +3 -11
- package/react/components/userPreferences/UserPreferencesBase.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.js +101 -101
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts +4 -4
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.js +32 -28
- package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -1
- package/react/components/userPreferences/components/ContentSection.d.ts +23 -12
- package/react/components/userPreferences/components/ContentSection.d.ts.map +1 -1
- package/react/components/userPreferences/components/ContentSection.js +21 -21
- package/react/components/userPreferences/components/ContentSection.js.map +1 -1
- package/react/components/userPreferences/components/LeftNav.d.ts +14 -14
- package/react/components/userPreferences/components/LeftNav.d.ts.map +1 -1
- package/react/components/userPreferences/components/LeftNav.js +31 -31
- package/react/components/userPreferences/components/LeftNav.js.map +1 -1
- package/react/components/userPreferences/components/content/BloombergPreferences.d.ts +3 -3
- package/react/components/userPreferences/components/content/BloombergPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/BloombergPreferences.js +58 -58
- package/react/components/userPreferences/components/content/BloombergPreferences.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts +8 -8
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditor.js +129 -129
- package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts +10 -10
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.js +10 -10
- package/react/components/userPreferences/components/content/General.d.ts +3 -4
- package/react/components/userPreferences/components/content/General.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/General.js +48 -29
- package/react/components/userPreferences/components/content/General.js.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.d.ts +11 -11
- package/react/components/userPreferences/components/content/Notifications.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.js +39 -35
- package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +88 -88
- package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js +546 -529
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts +3 -3
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js +220 -211
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts +3 -3
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +134 -134
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts +3 -3
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +79 -79
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts +4 -4
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js +39 -39
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
- package/react/components/userPreferences/components/general/DownloadPreferences.d.ts +9 -9
- package/react/components/userPreferences/components/general/DownloadPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/DownloadPreferences.js +119 -111
- package/react/components/userPreferences/components/general/DownloadPreferences.js.map +1 -1
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts +3 -4
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/ResetPreferences.js +42 -36
- package/react/components/userPreferences/components/general/ResetPreferences.js.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts +10 -10
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledClose.js +133 -76
- package/react/components/userPreferences/components/general/ScheduledClose.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts +8 -8
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js +8 -8
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts +6 -6
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js +10 -10
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts +36 -35
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +85 -86
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts +8 -8
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js +6 -20
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -1
- package/react/components/userPreferences/index.d.ts +6 -6
- package/react/components/userPreferences/index.js +6 -6
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +39 -39
- package/react/components/userPreferences/stores/UserPreferencesStore.js +140 -140
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
- package/react/components/utils.d.ts +49 -49
- package/react/components/utils.d.ts.map +1 -1
- package/react/components/utils.js +59 -59
- package/react/components/utils.js.map +1 -1
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +8 -8
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/AlwaysOnTopButton.js +28 -28
- package/react/components/windowTitleBar/CloneButton.d.ts +2 -2
- package/react/components/windowTitleBar/CloneButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/CloneButton.js +22 -22
- package/react/components/windowTitleBar/CloneButton.js.map +1 -1
- package/react/components/windowTitleBar/CloseButton.d.ts +2 -2
- package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/CloseButton.js +21 -21
- package/react/components/windowTitleBar/CloseButton.js.map +1 -1
- package/react/components/windowTitleBar/GroupingButton.d.ts +2 -2
- package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/GroupingButton.js +24 -24
- package/react/components/windowTitleBar/LinkerButton.d.ts +10 -6
- package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerButton.js +116 -116
- package/react/components/windowTitleBar/LinkerButton.js.map +1 -1
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +10 -6
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js +62 -62
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/LinkerGroups.d.ts +6 -2
- package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerGroups.js +20 -20
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +6 -2
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +34 -34
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/MaximizeButton.d.ts +2 -2
- package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/MaximizeButton.js +17 -17
- package/react/components/windowTitleBar/MinimizeButton.d.ts +2 -2
- package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/MinimizeButton.js +20 -20
- package/react/components/windowTitleBar/ShareButton.d.ts +2 -2
- package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/ShareButton.js +23 -23
- package/react/components/windowTitleBar/TabRegion.d.ts +30 -30
- package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -1
- package/react/components/windowTitleBar/TabRegion.js +502 -490
- package/react/components/windowTitleBar/TabRegion.js.map +1 -1
- package/react/components/windowTitleBar/TabTitle.d.ts +7 -7
- package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -1
- package/react/components/windowTitleBar/TabTitle.js +16 -16
- package/react/components/windowTitleBar/TabTitle.js.map +1 -1
- package/react/components/windowTitleBar/TitleEdit.d.ts +9 -9
- package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -1
- package/react/components/windowTitleBar/TitleEdit.js +30 -29
- package/react/components/windowTitleBar/TitleEdit.js.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +10 -11
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarContext.js +2 -2
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +16 -16
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.js +46 -45
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.d.ts +9 -9
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.js +22 -22
- package/react/components/windowTitleBar/index.d.ts +12 -12
- package/react/components/windowTitleBar/index.js +12 -12
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +6 -6
- package/react/components/windowTitleBar/useKeyboardNavigation.js +56 -56
- package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -1
- package/react/components/windowTitleBar/useMaximize.d.ts +4 -4
- package/react/components/windowTitleBar/useMaximize.js +22 -22
- package/react/components/yesNoDialog/YesNoDialog.d.ts +11 -7
- package/react/components/yesNoDialog/YesNoDialog.d.ts.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.js +154 -154
- package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
- package/react/components/yesNoDialog/index.d.ts +1 -1
- package/react/components/yesNoDialog/index.js +1 -1
- package/react/components/yesNoDialog/timer.d.ts +15 -16
- package/react/components/yesNoDialog/timer.d.ts.map +1 -1
- package/react/components/yesNoDialog/timer.js +32 -32
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/hooks/index.d.ts +4 -4
- package/react/hooks/index.js +4 -4
- package/react/hooks/useAuth.d.ts +10 -10
- package/react/hooks/useAuth.d.ts.map +1 -1
- package/react/hooks/useAuth.js +26 -26
- package/react/hooks/useDashbar.d.ts +8 -8
- package/react/hooks/useDashbar.d.ts.map +1 -1
- package/react/hooks/useDashbar.js +115 -115
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useDeepEffect.d.ts +5 -5
- package/react/hooks/useDeepEffect.js +33 -33
- package/react/hooks/useDeepEffect.js.map +1 -1
- package/react/hooks/useDownloadItems.d.ts +23 -23
- package/react/hooks/useDownloadItems.d.ts.map +1 -1
- package/react/hooks/useDownloadItems.js +67 -67
- package/react/hooks/useDownloadItems.js.map +1 -1
- package/react/hooks/useDragRegion.d.ts +25 -26
- package/react/hooks/useDragRegion.d.ts.map +1 -1
- package/react/hooks/useDragRegion.js +73 -73
- package/react/hooks/useDragRegion.js.map +1 -1
- package/react/hooks/useFavorites.d.ts +24 -24
- package/react/hooks/useFavorites.d.ts.map +1 -1
- package/react/hooks/useFavorites.js +23 -23
- package/react/hooks/useFavoritesShell.d.ts +14 -14
- package/react/hooks/useFavoritesShell.d.ts.map +1 -1
- package/react/hooks/useFavoritesShell.js +76 -83
- package/react/hooks/useFavoritesShell.js.map +1 -1
- package/react/hooks/useFloatingFocus.d.ts +15 -15
- package/react/hooks/useFloatingFocus.d.ts.map +1 -1
- package/react/hooks/useFloatingFocus.js +36 -35
- package/react/hooks/useFloatingFocus.js.map +1 -1
- package/react/hooks/useHotkey.d.ts +8 -8
- package/react/hooks/useHotkey.js +24 -24
- package/react/hooks/useInjectedTitleBar.d.ts +2 -2
- package/react/hooks/useInjectedTitleBar.js +436 -436
- package/react/hooks/useInjectedTitleBar.js.map +1 -1
- package/react/hooks/useLinker.d.ts +4 -4
- package/react/hooks/useLinker.js +111 -111
- package/react/hooks/useLinker.js.map +1 -1
- package/react/hooks/useMenu.d.ts +39 -39
- package/react/hooks/useMenu.d.ts.map +1 -1
- package/react/hooks/useMenu.js +51 -51
- package/react/hooks/useNotifications.d.ts +76 -76
- package/react/hooks/useNotifications.d.ts.map +1 -1
- package/react/hooks/useNotifications.js +457 -434
- package/react/hooks/useNotifications.js.map +1 -1
- package/react/hooks/useOAuth.d.ts +16 -16
- package/react/hooks/useOAuth.d.ts.map +1 -1
- package/react/hooks/useOAuth.js +115 -115
- package/react/hooks/useOAuth.js.map +1 -1
- package/react/hooks/useOutsideClickDetector.d.ts +5 -5
- package/react/hooks/useOutsideClickDetector.d.ts.map +1 -1
- package/react/hooks/useOutsideClickDetector.js +17 -17
- package/react/hooks/useOutsideClickDetector.js.map +1 -1
- package/react/hooks/usePubSub.d.ts +21 -21
- package/react/hooks/usePubSub.js +38 -38
- package/react/hooks/usePubSub.js.map +1 -1
- package/react/hooks/useSearch.d.ts +14 -14
- package/react/hooks/useSearch.d.ts.map +1 -1
- package/react/hooks/useSearch.js +76 -72
- package/react/hooks/useSearch.js.map +1 -1
- package/react/hooks/useTitle.d.ts +17 -17
- package/react/hooks/useTitle.d.ts.map +1 -1
- package/react/hooks/useTitle.js +28 -28
- package/react/hooks/useTitle.js.map +1 -1
- package/react/hooks/useToolbar.d.ts +11 -11
- package/react/hooks/useToolbar.js +162 -162
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/index.d.ts +2 -2
- package/react/index.js +2 -2
- package/react/reducers/favoriteReducer.d.ts +11 -11
- package/react/reducers/favoriteReducer.d.ts.map +1 -1
- package/react/reducers/favoriteReducer.js +27 -27
- package/react/reducers/linkerReducer.d.ts +13 -13
- package/react/reducers/linkerReducer.d.ts.map +1 -1
- package/react/reducers/linkerReducer.js +43 -43
- package/react/reducers/linkerReducer.js.map +1 -1
- package/react/reducers/menuReducer.d.ts +36 -36
- package/react/reducers/menuReducer.d.ts.map +1 -1
- package/react/reducers/menuReducer.js +65 -65
- package/react/reducers/rootReducer.d.ts +239 -239
- package/react/reducers/rootReducer.d.ts.map +1 -1
- package/react/reducers/rootReducer.js +20 -20
- package/react/reducers/searchReducer.d.ts +15 -15
- package/react/reducers/searchReducer.d.ts.map +1 -1
- package/react/reducers/searchReducer.js +27 -27
- package/react/reducers/smartDesktopDesignerReducer.d.ts +5 -5
- package/react/reducers/smartDesktopDesignerReducer.js +190 -190
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
- package/react/reducers/toolbarReducer.d.ts +10 -10
- package/react/reducers/toolbarReducer.d.ts.map +1 -1
- package/react/reducers/toolbarReducer.js +29 -29
- package/react/reducers/workspaceReducer.d.ts +10 -10
- package/react/reducers/workspaceReducer.d.ts.map +1 -1
- package/react/reducers/workspaceReducer.js +26 -26
- package/react/reducers/workspaceReducer.js.map +1 -1
- package/react/store.d.ts +450 -450
- package/react/store.d.ts.map +1 -1
- package/react/store.js +17 -17
- package/react/types/advancedAppLauncherTypes.d.ts +44 -44
- package/react/types/advancedAppLauncherTypes.d.ts.map +1 -1
- package/react/types/advancedAppLauncherTypes.js +1 -1
- package/react/types/dashbarTypes.d.ts +44 -41
- package/react/types/dashbarTypes.d.ts.map +1 -1
- package/react/types/dashbarTypes.js +1 -1
- package/react/types/favoriteTypes.d.ts +8 -8
- package/react/types/favoriteTypes.d.ts.map +1 -1
- package/react/types/favoriteTypes.js +1 -1
- package/react/types/fdc3.d.ts +27 -29
- package/react/types/fdc3.d.ts.map +1 -1
- package/react/types/fdc3.js +6 -6
- package/react/types/hotkeyTypes.d.ts +1 -1
- package/react/types/hotkeyTypes.d.ts.map +1 -1
- package/react/types/hotkeyTypes.js +1 -1
- package/react/types/linkerTypes.d.ts +27 -27
- package/react/types/linkerTypes.d.ts.map +1 -1
- package/react/types/linkerTypes.js +2 -2
- package/react/types/smartDesktopDesignerTypes.d.ts +227 -227
- package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -1
- package/react/types/smartDesktopDesignerTypes.js +19 -19
- package/react/types/workspaceTypes.d.ts +30 -30
- package/react/types/workspaceTypes.d.ts.map +1 -1
- package/react/types/workspaceTypes.js +1 -1
- package/services/index.d.ts +6 -0
- package/services/index.d.ts.map +1 -0
- package/services/index.js +6 -0
- package/services/index.js.map +1 -0
- package/services/logger/types.d.ts +2 -0
- package/services/logger/types.d.ts.map +1 -0
- package/services/logger/types.js +2 -0
- package/services/logger/types.js.map +1 -0
- package/services/search/types.d.ts +2 -0
- package/services/search/types.d.ts.map +1 -0
- package/services/search/types.js +2 -0
- package/services/search/types.js.map +1 -0
- package/services/storage/adapters/types.d.ts +2 -0
- package/services/storage/adapters/types.d.ts.map +1 -0
- package/services/storage/adapters/types.js +2 -0
- package/services/storage/adapters/types.js.map +1 -0
- package/services/window/types.d.ts +2 -0
- package/services/window/types.d.ts.map +1 -0
- package/services/window/types.js +2 -0
- package/services/window/types.js.map +1 -0
- package/services/workspace/types.d.ts +2 -0
- package/services/workspace/types.d.ts.map +1 -0
- package/services/workspace/types.js +2 -0
- package/services/workspace/types.js.map +1 -0
- package/typedoc-types.d.ts +8 -8
- package/typedoc-types.d.ts.map +1 -1
- package/typedoc-types.js +5 -5
- package/types.d.ts +15 -16
- package/types.d.ts.map +1 -1
- package/types.js +4 -7
- package/types.js.map +1 -1
- package/react/components/userPreferences/FinsembleUserPreferences.d.ts +0 -17
- package/react/components/userPreferences/FinsembleUserPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/FinsembleUserPreferences.js +0 -28
- package/react/components/userPreferences/FinsembleUserPreferences.js.map +0 -1
- package/react/components/userPreferences/iocdUserPreferences.d.ts +0 -17
- package/react/components/userPreferences/iocdUserPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/iocdUserPreferences.js +0 -49
- package/react/components/userPreferences/iocdUserPreferences.js.map +0 -1
- package/react/components/userPreferences/utils.d.ts +0 -3
- package/react/components/userPreferences/utils.d.ts.map +0 -1
- package/react/components/userPreferences/utils.js +0 -11
- package/react/components/userPreferences/utils.js.map +0 -1
- package/typedefs/FDC3/api/AppIdentifier.d.ts +0 -22
- package/typedefs/FDC3/api/AppIdentifier.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppIdentifier.js +0 -6
- package/typedefs/FDC3/api/AppIdentifier.js.map +0 -1
- package/typedefs/FDC3/api/AppIntent.d.ts +0 -16
- package/typedefs/FDC3/api/AppIntent.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppIntent.js +0 -6
- package/typedefs/FDC3/api/AppIntent.js.map +0 -1
- package/typedefs/FDC3/api/AppMetadata.d.ts +0 -41
- package/typedefs/FDC3/api/AppMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppMetadata.js +0 -6
- package/typedefs/FDC3/api/AppMetadata.js.map +0 -1
- package/typedefs/FDC3/api/Channel.d.ts +0 -73
- package/typedefs/FDC3/api/Channel.d.ts.map +0 -1
- package/typedefs/FDC3/api/Channel.js +0 -6
- package/typedefs/FDC3/api/Channel.js.map +0 -1
- package/typedefs/FDC3/api/ContextMetadata.d.ts +0 -19
- package/typedefs/FDC3/api/ContextMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/ContextMetadata.js +0 -6
- package/typedefs/FDC3/api/ContextMetadata.js.map +0 -1
- package/typedefs/FDC3/api/DesktopAgent.d.ts +0 -549
- package/typedefs/FDC3/api/DesktopAgent.d.ts.map +0 -1
- package/typedefs/FDC3/api/DesktopAgent.js +0 -6
- package/typedefs/FDC3/api/DesktopAgent.js.map +0 -1
- package/typedefs/FDC3/api/DisplayMetadata.d.ts +0 -24
- package/typedefs/FDC3/api/DisplayMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/DisplayMetadata.js +0 -6
- package/typedefs/FDC3/api/DisplayMetadata.js.map +0 -1
- package/typedefs/FDC3/api/Errors.d.ts +0 -67
- package/typedefs/FDC3/api/Errors.d.ts.map +0 -1
- package/typedefs/FDC3/api/Errors.js +0 -72
- package/typedefs/FDC3/api/Errors.js.map +0 -1
- package/typedefs/FDC3/api/Icon.d.ts +0 -13
- package/typedefs/FDC3/api/Icon.d.ts.map +0 -1
- package/typedefs/FDC3/api/Icon.js +0 -6
- package/typedefs/FDC3/api/Icon.js.map +0 -1
- package/typedefs/FDC3/api/Image.d.ts +0 -15
- package/typedefs/FDC3/api/Image.d.ts.map +0 -1
- package/typedefs/FDC3/api/Image.js +0 -6
- package/typedefs/FDC3/api/Image.js.map +0 -1
- package/typedefs/FDC3/api/ImplementationMetadata.d.ts +0 -36
- package/typedefs/FDC3/api/ImplementationMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/ImplementationMetadata.js +0 -6
- package/typedefs/FDC3/api/ImplementationMetadata.js.map +0 -1
- package/typedefs/FDC3/api/IntentMetadata.d.ts +0 -18
- package/typedefs/FDC3/api/IntentMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/IntentMetadata.js +0 -6
- package/typedefs/FDC3/api/IntentMetadata.js.map +0 -1
- package/typedefs/FDC3/api/IntentResolution.d.ts +0 -68
- package/typedefs/FDC3/api/IntentResolution.d.ts.map +0 -1
- package/typedefs/FDC3/api/IntentResolution.js +0 -6
- package/typedefs/FDC3/api/IntentResolution.js.map +0 -1
- package/typedefs/FDC3/api/Listener.d.ts +0 -11
- package/typedefs/FDC3/api/Listener.d.ts.map +0 -1
- package/typedefs/FDC3/api/Listener.js +0 -6
- package/typedefs/FDC3/api/Listener.js.map +0 -1
- package/typedefs/FDC3/api/Methods.d.ts +0 -72
- package/typedefs/FDC3/api/Methods.d.ts.map +0 -1
- package/typedefs/FDC3/api/Methods.js +0 -199
- package/typedefs/FDC3/api/Methods.js.map +0 -1
- package/typedefs/FDC3/api/PrivateChannel.d.ts +0 -54
- package/typedefs/FDC3/api/PrivateChannel.d.ts.map +0 -1
- package/typedefs/FDC3/api/PrivateChannel.js +0 -6
- package/typedefs/FDC3/api/PrivateChannel.js.map +0 -1
- package/typedefs/FDC3/api/RecommendedChannels.d.ts +0 -14
- package/typedefs/FDC3/api/RecommendedChannels.d.ts.map +0 -1
- package/typedefs/FDC3/api/RecommendedChannels.js +0 -80
- package/typedefs/FDC3/api/RecommendedChannels.js.map +0 -1
- package/typedefs/FDC3/api/Types.d.ts +0 -30
- package/typedefs/FDC3/api/Types.d.ts.map +0 -1
- package/typedefs/FDC3/api/Types.js +0 -6
- package/typedefs/FDC3/api/Types.js.map +0 -1
- package/typedefs/FDC3/bridging/BridgingTypes.d.ts +0 -3967
- package/typedefs/FDC3/bridging/BridgingTypes.d.ts.map +0 -1
- package/typedefs/FDC3/bridging/BridgingTypes.js +0 -1857
- package/typedefs/FDC3/bridging/BridgingTypes.js.map +0 -1
- package/typedefs/FDC3/context/ContextType.d.ts +0 -41
- package/typedefs/FDC3/context/ContextType.d.ts.map +0 -1
- package/typedefs/FDC3/context/ContextType.js +0 -30
- package/typedefs/FDC3/context/ContextType.js.map +0 -1
- package/typedefs/FDC3/context/ContextTypes.d.ts +0 -2000
- package/typedefs/FDC3/context/ContextTypes.d.ts.map +0 -1
- package/typedefs/FDC3/context/ContextTypes.js +0 -873
- package/typedefs/FDC3/context/ContextTypes.js.map +0 -1
- package/typedefs/FDC3/index.d.ts +0 -34
- package/typedefs/FDC3/index.d.ts.map +0 -1
- package/typedefs/FDC3/index.js +0 -30
- package/typedefs/FDC3/index.js.map +0 -1
- package/typedefs/FDC3/intents/Intents.d.ts +0 -36
- package/typedefs/FDC3/intents/Intents.d.ts.map +0 -1
- package/typedefs/FDC3/intents/Intents.js +0 -29
- package/typedefs/FDC3/intents/Intents.js.map +0 -1
- package/typedefs/FDC3/internal/contextConfiguration.d.ts +0 -2
- package/typedefs/FDC3/internal/contextConfiguration.d.ts.map +0 -1
- package/typedefs/FDC3/internal/contextConfiguration.js +0 -5
- package/typedefs/FDC3/internal/contextConfiguration.js.map +0 -1
- package/typedefs/FDC3/internal/intentConfiguration.d.ts +0 -2
- package/typedefs/FDC3/internal/intentConfiguration.d.ts.map +0 -1
- package/typedefs/FDC3/internal/intentConfiguration.js +0 -5
- package/typedefs/FDC3/internal/intentConfiguration.js.map +0 -1
- package/typedefs/FDC3/internal/typeHelpers.d.ts +0 -7
- package/typedefs/FDC3/internal/typeHelpers.d.ts.map +0 -1
- package/typedefs/FDC3/internal/typeHelpers.js +0 -5
- package/typedefs/FDC3/internal/typeHelpers.js.map +0 -1
- package/typedefs/index.d.ts +0 -2
- package/typedefs/index.d.ts.map +0 -1
- package/typedefs/index.js +0 -3
- package/typedefs/index.js.map +0 -1
|
@@ -1,1309 +1,1332 @@
|
|
|
1
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
7
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
8
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
9
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
10
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
11
|
-
};
|
|
12
|
-
var _HeartbeatMonitor_declareDead, _HeartbeatMonitor_timeoutHandle, _HeartbeatMonitor_disconnectHandlers, _ChannelProxy_desktopAgent, _FinsembleDesktopAgent_connected, _FinsembleDesktopAgent_heartbeatMonitor, _FinsembleDesktopAgent_startHasBeenCalled, _FinsembleDesktopAgent_uuid, _FinsembleDesktopAgent_appId, _FinsembleDesktopAgent_clientChannel, _FinsembleDesktopAgent_intentHandlers, _FinsembleDesktopAgent_contextHandlers, _FinsembleDesktopAgent_privateChannelSubscription, _FinsembleDesktopAgent_intentResultPromiseMap, _FinsembleDesktopAgent_intentResultPromiseResolveMap, _FinsembleDesktopAgent_queue, _FinsembleDesktopAgent_routerClient, _FinsembleDesktopAgent_startup, _FinsembleDesktopAgent_existingChannelProxy, _FinsembleDesktopAgent_FSBLVersion, _FinsembleDesktopAgent_userChannels;
|
|
13
|
-
/**
|
|
14
|
-
* Regarding 1.2 compatibility. FDC3 1.2 defined some functions as synchronous which are now asynchronous. To provide
|
|
15
|
-
* backward compatibility for these functions, we return a Promise which has additional members attached (usually an
|
|
16
|
-
* unsubscribe function). Apps using either 1.2 or 2.0 will receive an interface that is a superset of what they expect.
|
|
17
|
-
*
|
|
18
|
-
* The resulting code is complex. It should be aggressively removed when FDC3 1.2 is retired, back to simple async functions
|
|
19
|
-
* that return Promise<Listener>.
|
|
20
|
-
*
|
|
21
|
-
* For Typescript support, 1.2 apps can simply install the 1.2 version of the "@finos/fdc3" npm module
|
|
22
|
-
*/
|
|
23
|
-
import uuidv4 from "uuid-random";
|
|
24
|
-
import { OpenError, ResolveError, ResultError, ChannelError, } from "@finos/fdc3";
|
|
25
|
-
import Logger from "../logger";
|
|
26
|
-
import ConfigClient from "../configClient";
|
|
27
|
-
import SystemManagerClient from "../../common/systemManagerClient";
|
|
28
|
-
import { Globals } from "../../common/Globals";
|
|
29
|
-
import { SERVER_CHANNEL, EMBEDDED_TITLEBAR_INDICATOR_STRING } from "./types";
|
|
30
|
-
import { mmAdd, mmRemove, errorAsString, } from "./types";
|
|
31
|
-
// Timeout value for logging warning when intent response is delayed.
|
|
32
|
-
const WaitForIntentResultTimeout = 5000;
|
|
33
|
-
const PrivateChannelIdPrefix = "Private-Channel-Id";
|
|
34
|
-
export const isPrivateChannelId = (channelId) => channelId.includes(PrivateChannelIdPrefix);
|
|
35
|
-
/**
|
|
36
|
-
* Heartbeats are used by the InteropService to detect dead fdc3 client connections. A connection
|
|
37
|
-
* can die if a window crashes or is terminated. Heartbeats are also currently the only way to detect
|
|
38
|
-
* that freestanding apps have closed, even gracefully.
|
|
39
|
-
*/
|
|
40
|
-
class HeartbeatMonitor {
|
|
41
|
-
constructor() {
|
|
42
|
-
// If Finsemble sleeps (power saving mode) then heartbeats will slow to once per minute (this is a browser thing)
|
|
43
|
-
// So we only declare an app dead if a heartbeat isn't received for two minutes, even though normally we should
|
|
44
|
-
// expect to receive one every 10 seconds. Hopefully in the future we will have more reliable, router disconnection
|
|
45
|
-
// capabilities based on underlying transports such as WebSocket.
|
|
46
|
-
_HeartbeatMonitor_declareDead.set(this, 2 * 60 * 1000);
|
|
47
|
-
_HeartbeatMonitor_timeoutHandle.set(this, null);
|
|
48
|
-
// Contains onDisconnect()'s registered handlers
|
|
49
|
-
_HeartbeatMonitor_disconnectHandlers.set(this, []);
|
|
50
|
-
}
|
|
51
|
-
start() {
|
|
52
|
-
this.registerHeartbeat();
|
|
53
|
-
}
|
|
54
|
-
registerHeartbeat() {
|
|
55
|
-
// Got a heartbeat, so clear our death timer
|
|
56
|
-
clearTimeout(__classPrivateFieldGet(this, _HeartbeatMonitor_timeoutHandle, "f"));
|
|
57
|
-
Logger.system.debug(`FinsembleDesktopAgent: heartbeat received`);
|
|
58
|
-
// And start a new one
|
|
59
|
-
__classPrivateFieldSet(this, _HeartbeatMonitor_timeoutHandle, setTimeout(() => {
|
|
60
|
-
Logger.system.warn(`FinsembleDesktopAgent: No heartbeat received within ${__classPrivateFieldGet(this, _HeartbeatMonitor_declareDead, "f")} milliseconds`);
|
|
61
|
-
this.notifyDisconnect();
|
|
62
|
-
}, __classPrivateFieldGet(this, _HeartbeatMonitor_declareDead, "f")), "f");
|
|
63
|
-
}
|
|
64
|
-
// Called when either app heartbeat fails or router transport fails.
|
|
65
|
-
notifyDisconnect() {
|
|
66
|
-
console.warn("fdc3 has lost connectivity to the interop service. You may need to restart this app.");
|
|
67
|
-
__classPrivateFieldGet(this, _HeartbeatMonitor_disconnectHandlers, "f").forEach((handler) => {
|
|
68
|
-
handler(`fdc3 has lost connectivity to the interop service`);
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
onDisconnect(cb) {
|
|
72
|
-
__classPrivateFieldSet(this, _HeartbeatMonitor_disconnectHandlers, __classPrivateFieldGet(this, _HeartbeatMonitor_disconnectHandlers, "f").concat(cb), "f");
|
|
73
|
-
}
|
|
74
|
-
stop() {
|
|
75
|
-
clearTimeout(__classPrivateFieldGet(this, _HeartbeatMonitor_timeoutHandle, "f"));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
_HeartbeatMonitor_declareDead = new WeakMap(), _HeartbeatMonitor_timeoutHandle = new WeakMap(), _HeartbeatMonitor_disconnectHandlers = new WeakMap();
|
|
79
|
-
/**
|
|
80
|
-
* Implements FDC3's Channel interface. All actual transmissions still occur through the desktop agent via private functions.
|
|
81
|
-
*
|
|
82
|
-
* First pass the ChannelProxy implements PrivateChannel, which is a superset of Channel -- may refine this in second pass.
|
|
83
|
-
*/
|
|
84
|
-
class ChannelProxy {
|
|
85
|
-
constructor(desktopAgent, id, type = "app", displayMetadata) {
|
|
86
|
-
_ChannelProxy_desktopAgent.set(this, void 0);
|
|
87
|
-
__classPrivateFieldSet(this, _ChannelProxy_desktopAgent, desktopAgent, "f");
|
|
88
|
-
this.id = id;
|
|
89
|
-
this.type = type;
|
|
90
|
-
this.displayMetadata = displayMetadata;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Broadcasts the given context on this channel. This is equivalent to joining the channel and then calling the
|
|
94
|
-
* top-level FDC3 `broadcast` function.
|
|
95
|
-
*
|
|
96
|
-
* Note that this function can be used without first joining the channel, allowing applications to broadcast on
|
|
97
|
-
* channels that they aren't a member of.
|
|
98
|
-
*
|
|
99
|
-
* `Error` with a string from the `ChannelError` enumeration.
|
|
100
|
-
*/
|
|
101
|
-
async broadcast(context) {
|
|
102
|
-
if (!context || !context.type) {
|
|
103
|
-
throw new Error("Invalid arguments. An FDC3 Context object (i.e. an Object with a type field) is required.");
|
|
104
|
-
}
|
|
105
|
-
await __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelBroadcast(this.id, context, this.type);
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Returns the last context that was broadcast on this channel. All channels initially have no context, until a
|
|
109
|
-
* context is broadcast on the channel. If there is not yet any context on the channel, this method
|
|
110
|
-
* will return `null`.
|
|
111
|
-
*
|
|
112
|
-
* The context of a channel will be captured regardless of how the context is broadcasted on this channel - whether
|
|
113
|
-
* using the top-level FDC3 `broadcast` function, or using the channel-level {@link broadcast} function on this
|
|
114
|
-
* object.
|
|
115
|
-
*
|
|
116
|
-
* Optionally a {@link contextType} can be provided, in which case the current context of the matching type will
|
|
117
|
-
* be returned (if any). Desktop agent implementations may decide to record contexts by type, in which case it will
|
|
118
|
-
* be possible to get the most recent context of the type specified, but this is not guaranteed.
|
|
119
|
-
*
|
|
120
|
-
* `Error` with a string from the `ChannelError` enumeration.
|
|
121
|
-
*/
|
|
122
|
-
getCurrentContext(contextType) {
|
|
123
|
-
return __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelGetCurrentContext(this.id, contextType);
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Adds a listener for incoming contexts whenever a broadcast happens on this channel.
|
|
127
|
-
*/
|
|
128
|
-
// @ts-ignore <---------------------------------------------------------------------------------------------------------------------
|
|
129
|
-
addContextListener(contextTypeOrHandler, handler) {
|
|
130
|
-
if (contextTypeOrHandler === undefined) {
|
|
131
|
-
throw new Error("Invalid arguments. The contextTypeOrHandler parameter shouldn't be undefined.");
|
|
132
|
-
}
|
|
133
|
-
if (typeof contextTypeOrHandler !== "function" && !handler) {
|
|
134
|
-
const msg = "channel addContextListener Invalid arguments. The required handler parameter is missing.";
|
|
135
|
-
console.error(msg, contextTypeOrHandler, handler);
|
|
136
|
-
Logger.system.error(msg);
|
|
137
|
-
throw new Error(msg);
|
|
138
|
-
}
|
|
139
|
-
// Dangerous code: See note at top of file about 1.2 compatibility
|
|
140
|
-
const { exchangePromise, unsubscribe } = __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelAddContextListener(this.id, contextTypeOrHandler, handler);
|
|
141
|
-
let promise = new Promise((resolve) => {
|
|
142
|
-
exchangePromise.then(() => {
|
|
143
|
-
resolve({
|
|
144
|
-
unsubscribe,
|
|
145
|
-
});
|
|
146
|
-
});
|
|
147
|
-
});
|
|
148
|
-
promise.unsubscribe = () => {
|
|
149
|
-
Logger.system.deprecated("Use of the synchronous version of addContextListener from FDC3 1.2 is deprecated. Please switch to `await addContextListener`.");
|
|
150
|
-
unsubscribe();
|
|
151
|
-
};
|
|
152
|
-
return promise;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* Adds a listener that will be called each time that the remote app invokes
|
|
156
|
-
* addContextListener on this channel.
|
|
157
|
-
*
|
|
158
|
-
* Desktop Agents MUST call this for each invocation of addContextListener on this
|
|
159
|
-
* channel, including those that occurred before this handler was registered
|
|
160
|
-
* (to prevent race conditions).
|
|
161
|
-
*/
|
|
162
|
-
onAddContextListener(handler) {
|
|
163
|
-
return __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelOnAddContextListener(this.id, handler);
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* Adds a listener that will be called whenever the remote app invokes
|
|
167
|
-
* Listener.unsubscribe() on a context listener that it previously added.
|
|
168
|
-
*
|
|
169
|
-
* Desktop Agents MUST call this when disconnect() is called by the other party, for
|
|
170
|
-
* each listener that they had added.
|
|
171
|
-
*/
|
|
172
|
-
onUnsubscribe(handler) {
|
|
173
|
-
return __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelOnUnsubscribe(this.id, handler);
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Adds a listener that will be called when the remote app terminates, for example
|
|
177
|
-
* when its window is closed or because disconnect was called. This is in addition
|
|
178
|
-
* to calls that will be made to onUnsubscribe listeners.
|
|
179
|
-
*/
|
|
180
|
-
onDisconnect(handler) {
|
|
181
|
-
return __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelOnDisconnect(this.id, handler);
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* May be called to indicate that a participant will no longer interact with this channel.
|
|
185
|
-
*
|
|
186
|
-
* After this function has been called, Desktop Agents SHOULD prevent apps from broadcasting
|
|
187
|
-
* on this channel and MUST automatically call Listener.unsubscribe() for each listener that
|
|
188
|
-
* they've added (causing any onUnsubscribe handler added by the other party to be called)
|
|
189
|
-
* before triggering any onDisconnect handler added by the other party.
|
|
190
|
-
*/
|
|
191
|
-
disconnect() {
|
|
192
|
-
return __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelDisconnect(this.id);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
});
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
//
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
//
|
|
291
|
-
//
|
|
292
|
-
//
|
|
293
|
-
//
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
//
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
//
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
//
|
|
318
|
-
//
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
case "
|
|
427
|
-
targetSubscription.handler();
|
|
428
|
-
break;
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
case "
|
|
465
|
-
this.
|
|
466
|
-
break;
|
|
467
|
-
case "
|
|
468
|
-
this.
|
|
469
|
-
break;
|
|
470
|
-
case "
|
|
471
|
-
this.
|
|
472
|
-
break;
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
*
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
*
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
if (!
|
|
795
|
-
throw new Error("Invalid
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
const
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
if (!
|
|
931
|
-
throw new Error("Invalid arguments.
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
if (
|
|
937
|
-
throw new Error(
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
},
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
const
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
throw new Error(
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
throw new Error(
|
|
1149
|
-
}
|
|
1150
|
-
else if (
|
|
1151
|
-
throw new Error(
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
const
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
3
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
+
};
|
|
6
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
7
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
8
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
9
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
10
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
11
|
+
};
|
|
12
|
+
var _HeartbeatMonitor_declareDead, _HeartbeatMonitor_timeoutHandle, _HeartbeatMonitor_disconnectHandlers, _ChannelProxy_desktopAgent, _FinsembleDesktopAgent_connected, _FinsembleDesktopAgent_heartbeatMonitor, _FinsembleDesktopAgent_startHasBeenCalled, _FinsembleDesktopAgent_uuid, _FinsembleDesktopAgent_appId, _FinsembleDesktopAgent_clientChannel, _FinsembleDesktopAgent_intentHandlers, _FinsembleDesktopAgent_contextHandlers, _FinsembleDesktopAgent_privateChannelSubscription, _FinsembleDesktopAgent_intentResultPromiseMap, _FinsembleDesktopAgent_intentResultPromiseResolveMap, _FinsembleDesktopAgent_queue, _FinsembleDesktopAgent_routerClient, _FinsembleDesktopAgent_startup, _FinsembleDesktopAgent_windowName, _FinsembleDesktopAgent_existingChannelProxy, _FinsembleDesktopAgent_FSBLVersion, _FinsembleDesktopAgent_userChannels;
|
|
13
|
+
/**
|
|
14
|
+
* Regarding 1.2 compatibility. FDC3 1.2 defined some functions as synchronous which are now asynchronous. To provide
|
|
15
|
+
* backward compatibility for these functions, we return a Promise which has additional members attached (usually an
|
|
16
|
+
* unsubscribe function). Apps using either 1.2 or 2.0 will receive an interface that is a superset of what they expect.
|
|
17
|
+
*
|
|
18
|
+
* The resulting code is complex. It should be aggressively removed when FDC3 1.2 is retired, back to simple async functions
|
|
19
|
+
* that return Promise<Listener>.
|
|
20
|
+
*
|
|
21
|
+
* For Typescript support, 1.2 apps can simply install the 1.2 version of the "@finos/fdc3" npm module
|
|
22
|
+
*/
|
|
23
|
+
import uuidv4 from "uuid-random";
|
|
24
|
+
import { OpenError, ResolveError, ResultError, ChannelError, } from "@finos/fdc3";
|
|
25
|
+
import Logger from "../logger";
|
|
26
|
+
import ConfigClient from "../configClient";
|
|
27
|
+
import SystemManagerClient from "../../common/systemManagerClient";
|
|
28
|
+
import { Globals } from "../../common/Globals";
|
|
29
|
+
import { SERVER_CHANNEL, EMBEDDED_TITLEBAR_INDICATOR_STRING } from "./types";
|
|
30
|
+
import { mmAdd, mmRemove, errorAsString, } from "./types";
|
|
31
|
+
// Timeout value for logging warning when intent response is delayed.
|
|
32
|
+
const WaitForIntentResultTimeout = 5000;
|
|
33
|
+
const PrivateChannelIdPrefix = "Private-Channel-Id";
|
|
34
|
+
export const isPrivateChannelId = (channelId) => channelId.includes(PrivateChannelIdPrefix);
|
|
35
|
+
/**
|
|
36
|
+
* Heartbeats are used by the InteropService to detect dead fdc3 client connections. A connection
|
|
37
|
+
* can die if a window crashes or is terminated. Heartbeats are also currently the only way to detect
|
|
38
|
+
* that freestanding apps have closed, even gracefully.
|
|
39
|
+
*/
|
|
40
|
+
class HeartbeatMonitor {
|
|
41
|
+
constructor() {
|
|
42
|
+
// If Finsemble sleeps (power saving mode) then heartbeats will slow to once per minute (this is a browser thing)
|
|
43
|
+
// So we only declare an app dead if a heartbeat isn't received for two minutes, even though normally we should
|
|
44
|
+
// expect to receive one every 10 seconds. Hopefully in the future we will have more reliable, router disconnection
|
|
45
|
+
// capabilities based on underlying transports such as WebSocket.
|
|
46
|
+
_HeartbeatMonitor_declareDead.set(this, 2 * 60 * 1000);
|
|
47
|
+
_HeartbeatMonitor_timeoutHandle.set(this, null);
|
|
48
|
+
// Contains onDisconnect()'s registered handlers
|
|
49
|
+
_HeartbeatMonitor_disconnectHandlers.set(this, []);
|
|
50
|
+
}
|
|
51
|
+
start() {
|
|
52
|
+
this.registerHeartbeat();
|
|
53
|
+
}
|
|
54
|
+
registerHeartbeat() {
|
|
55
|
+
// Got a heartbeat, so clear our death timer
|
|
56
|
+
clearTimeout(__classPrivateFieldGet(this, _HeartbeatMonitor_timeoutHandle, "f"));
|
|
57
|
+
Logger.system.debug(`FinsembleDesktopAgent: heartbeat received`);
|
|
58
|
+
// And start a new one
|
|
59
|
+
__classPrivateFieldSet(this, _HeartbeatMonitor_timeoutHandle, setTimeout(() => {
|
|
60
|
+
Logger.system.warn(`FinsembleDesktopAgent: No heartbeat received within ${__classPrivateFieldGet(this, _HeartbeatMonitor_declareDead, "f")} milliseconds`);
|
|
61
|
+
this.notifyDisconnect();
|
|
62
|
+
}, __classPrivateFieldGet(this, _HeartbeatMonitor_declareDead, "f")), "f");
|
|
63
|
+
}
|
|
64
|
+
// Called when either app heartbeat fails or router transport fails.
|
|
65
|
+
notifyDisconnect() {
|
|
66
|
+
console.warn("fdc3 has lost connectivity to the interop service. You may need to restart this app.");
|
|
67
|
+
__classPrivateFieldGet(this, _HeartbeatMonitor_disconnectHandlers, "f").forEach((handler) => {
|
|
68
|
+
handler(`fdc3 has lost connectivity to the interop service`);
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
onDisconnect(cb) {
|
|
72
|
+
__classPrivateFieldSet(this, _HeartbeatMonitor_disconnectHandlers, __classPrivateFieldGet(this, _HeartbeatMonitor_disconnectHandlers, "f").concat(cb), "f");
|
|
73
|
+
}
|
|
74
|
+
stop() {
|
|
75
|
+
clearTimeout(__classPrivateFieldGet(this, _HeartbeatMonitor_timeoutHandle, "f"));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
_HeartbeatMonitor_declareDead = new WeakMap(), _HeartbeatMonitor_timeoutHandle = new WeakMap(), _HeartbeatMonitor_disconnectHandlers = new WeakMap();
|
|
79
|
+
/**
|
|
80
|
+
* Implements FDC3's Channel interface. All actual transmissions still occur through the desktop agent via private functions.
|
|
81
|
+
*
|
|
82
|
+
* First pass the ChannelProxy implements PrivateChannel, which is a superset of Channel -- may refine this in second pass.
|
|
83
|
+
*/
|
|
84
|
+
class ChannelProxy {
|
|
85
|
+
constructor(desktopAgent, id, type = "app", displayMetadata) {
|
|
86
|
+
_ChannelProxy_desktopAgent.set(this, void 0);
|
|
87
|
+
__classPrivateFieldSet(this, _ChannelProxy_desktopAgent, desktopAgent, "f");
|
|
88
|
+
this.id = id;
|
|
89
|
+
this.type = type;
|
|
90
|
+
this.displayMetadata = displayMetadata;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Broadcasts the given context on this channel. This is equivalent to joining the channel and then calling the
|
|
94
|
+
* top-level FDC3 `broadcast` function.
|
|
95
|
+
*
|
|
96
|
+
* Note that this function can be used without first joining the channel, allowing applications to broadcast on
|
|
97
|
+
* channels that they aren't a member of.
|
|
98
|
+
*
|
|
99
|
+
* `Error` with a string from the `ChannelError` enumeration.
|
|
100
|
+
*/
|
|
101
|
+
async broadcast(context) {
|
|
102
|
+
if (!context || !context.type) {
|
|
103
|
+
throw new Error("Invalid arguments. An FDC3 Context object (i.e. an Object with a type field) is required.");
|
|
104
|
+
}
|
|
105
|
+
await __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelBroadcast(this.id, context, this.type);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Returns the last context that was broadcast on this channel. All channels initially have no context, until a
|
|
109
|
+
* context is broadcast on the channel. If there is not yet any context on the channel, this method
|
|
110
|
+
* will return `null`.
|
|
111
|
+
*
|
|
112
|
+
* The context of a channel will be captured regardless of how the context is broadcasted on this channel - whether
|
|
113
|
+
* using the top-level FDC3 `broadcast` function, or using the channel-level {@link broadcast} function on this
|
|
114
|
+
* object.
|
|
115
|
+
*
|
|
116
|
+
* Optionally a {@link contextType} can be provided, in which case the current context of the matching type will
|
|
117
|
+
* be returned (if any). Desktop agent implementations may decide to record contexts by type, in which case it will
|
|
118
|
+
* be possible to get the most recent context of the type specified, but this is not guaranteed.
|
|
119
|
+
*
|
|
120
|
+
* `Error` with a string from the `ChannelError` enumeration.
|
|
121
|
+
*/
|
|
122
|
+
getCurrentContext(contextType) {
|
|
123
|
+
return __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelGetCurrentContext(this.id, contextType);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Adds a listener for incoming contexts whenever a broadcast happens on this channel.
|
|
127
|
+
*/
|
|
128
|
+
// @ts-ignore <---------------------------------------------------------------------------------------------------------------------
|
|
129
|
+
addContextListener(contextTypeOrHandler, handler) {
|
|
130
|
+
if (contextTypeOrHandler === undefined) {
|
|
131
|
+
throw new Error("Invalid arguments. The contextTypeOrHandler parameter shouldn't be undefined.");
|
|
132
|
+
}
|
|
133
|
+
if (typeof contextTypeOrHandler !== "function" && !handler) {
|
|
134
|
+
const msg = "channel addContextListener Invalid arguments. The required handler parameter is missing.";
|
|
135
|
+
console.error(msg, contextTypeOrHandler, handler);
|
|
136
|
+
Logger.system.error(msg);
|
|
137
|
+
throw new Error(msg);
|
|
138
|
+
}
|
|
139
|
+
// Dangerous code: See note at top of file about 1.2 compatibility
|
|
140
|
+
const { exchangePromise, unsubscribe } = __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelAddContextListener(this.id, contextTypeOrHandler, handler);
|
|
141
|
+
let promise = new Promise((resolve) => {
|
|
142
|
+
exchangePromise.then(() => {
|
|
143
|
+
resolve({
|
|
144
|
+
unsubscribe,
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
promise.unsubscribe = () => {
|
|
149
|
+
Logger.system.deprecated("Use of the synchronous version of addContextListener from FDC3 1.2 is deprecated. Please switch to `await addContextListener`.");
|
|
150
|
+
unsubscribe();
|
|
151
|
+
};
|
|
152
|
+
return promise;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Adds a listener that will be called each time that the remote app invokes
|
|
156
|
+
* addContextListener on this channel.
|
|
157
|
+
*
|
|
158
|
+
* Desktop Agents MUST call this for each invocation of addContextListener on this
|
|
159
|
+
* channel, including those that occurred before this handler was registered
|
|
160
|
+
* (to prevent race conditions).
|
|
161
|
+
*/
|
|
162
|
+
onAddContextListener(handler) {
|
|
163
|
+
return __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelOnAddContextListener(this.id, handler);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Adds a listener that will be called whenever the remote app invokes
|
|
167
|
+
* Listener.unsubscribe() on a context listener that it previously added.
|
|
168
|
+
*
|
|
169
|
+
* Desktop Agents MUST call this when disconnect() is called by the other party, for
|
|
170
|
+
* each listener that they had added.
|
|
171
|
+
*/
|
|
172
|
+
onUnsubscribe(handler) {
|
|
173
|
+
return __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelOnUnsubscribe(this.id, handler);
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Adds a listener that will be called when the remote app terminates, for example
|
|
177
|
+
* when its window is closed or because disconnect was called. This is in addition
|
|
178
|
+
* to calls that will be made to onUnsubscribe listeners.
|
|
179
|
+
*/
|
|
180
|
+
onDisconnect(handler) {
|
|
181
|
+
return __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelOnDisconnect(this.id, handler);
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* May be called to indicate that a participant will no longer interact with this channel.
|
|
185
|
+
*
|
|
186
|
+
* After this function has been called, Desktop Agents SHOULD prevent apps from broadcasting
|
|
187
|
+
* on this channel and MUST automatically call Listener.unsubscribe() for each listener that
|
|
188
|
+
* they've added (causing any onUnsubscribe handler added by the other party to be called)
|
|
189
|
+
* before triggering any onDisconnect handler added by the other party.
|
|
190
|
+
*/
|
|
191
|
+
disconnect() {
|
|
192
|
+
return __classPrivateFieldGet(this, _ChannelProxy_desktopAgent, "f").channelDisconnect(this.id);
|
|
193
|
+
}
|
|
194
|
+
async addEventListener(type, handler) {
|
|
195
|
+
console.log("addEventListener is a FDC3 2.2.0 feature that is not implemented in Finsemble.");
|
|
196
|
+
return {
|
|
197
|
+
unsubscribe: async () => { },
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
_ChannelProxy_desktopAgent = new WeakMap();
|
|
202
|
+
/**
|
|
203
|
+
* See https://stackoverflow.com/questions/45847399/friend-class-in-typescript for implementation of "friend" class
|
|
204
|
+
*/
|
|
205
|
+
export class FinsembleDesktopAgent {
|
|
206
|
+
constructor({ routerClient, startup, windowName, }) {
|
|
207
|
+
_FinsembleDesktopAgent_connected.set(this, false);
|
|
208
|
+
_FinsembleDesktopAgent_heartbeatMonitor.set(this, new HeartbeatMonitor());
|
|
209
|
+
// A lock that prevents start() from running multiple times
|
|
210
|
+
_FinsembleDesktopAgent_startHasBeenCalled.set(this, false);
|
|
211
|
+
_FinsembleDesktopAgent_uuid.set(this, "undefined");
|
|
212
|
+
_FinsembleDesktopAgent_appId.set(this, "undefined");
|
|
213
|
+
_FinsembleDesktopAgent_clientChannel.set(this, `FSBL.FDC3.Client.${uuidv4()}`);
|
|
214
|
+
_FinsembleDesktopAgent_intentHandlers.set(this, {});
|
|
215
|
+
_FinsembleDesktopAgent_contextHandlers.set(this, {});
|
|
216
|
+
_FinsembleDesktopAgent_privateChannelSubscription.set(this, {});
|
|
217
|
+
_FinsembleDesktopAgent_intentResultPromiseMap.set(this, {});
|
|
218
|
+
_FinsembleDesktopAgent_intentResultPromiseResolveMap.set(this, {});
|
|
219
|
+
// Stores fdc3 calls that are received before a connection is established with the interop service
|
|
220
|
+
// Once a connection is established then the queue is released.
|
|
221
|
+
_FinsembleDesktopAgent_queue.set(this, []);
|
|
222
|
+
_FinsembleDesktopAgent_routerClient.set(this, void 0);
|
|
223
|
+
_FinsembleDesktopAgent_startup.set(this, void 0);
|
|
224
|
+
// Can be used to override the default windowName, such as for testing purposes
|
|
225
|
+
_FinsembleDesktopAgent_windowName.set(this, void 0);
|
|
226
|
+
_FinsembleDesktopAgent_existingChannelProxy.set(this, {});
|
|
227
|
+
_FinsembleDesktopAgent_FSBLVersion.set(this, "8.6");
|
|
228
|
+
_FinsembleDesktopAgent_userChannels.set(this, null);
|
|
229
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_routerClient, routerClient, "f");
|
|
230
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_startup, startup, "f");
|
|
231
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_windowName, windowName, "f");
|
|
232
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_routerClient, "f").onFailure(() => {
|
|
233
|
+
Logger.console.error("Router failure: transport timeout error");
|
|
234
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_heartbeatMonitor, "f").notifyDisconnect();
|
|
235
|
+
});
|
|
236
|
+
// Per spec, dispatch this event as soon as the global fdc3 object exists and is ready to accept API calls.
|
|
237
|
+
// We should not wait until start() because in some circumstances, start() is not called *until* an API call is made.
|
|
238
|
+
// Skip this if the global Event class is undefined (if running in Node.js such as a unit test). Note: also needed to confirm window.dispatchEvent was available, perhaps because of latest Node version.
|
|
239
|
+
if (Globals.Event && Globals.dispatchEvent) {
|
|
240
|
+
const event = new Globals.Event("fdc3Ready");
|
|
241
|
+
Globals.dispatchEvent(event);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
privateChannelId() {
|
|
245
|
+
return `${PrivateChannelIdPrefix}-${uuidv4()}`;
|
|
246
|
+
}
|
|
247
|
+
async isUserChannel(channelIdValue) {
|
|
248
|
+
// the first time this function is called, cache the user channels for future use
|
|
249
|
+
if (__classPrivateFieldGet(this, _FinsembleDesktopAgent_userChannels, "f") === null) {
|
|
250
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_userChannels, await this.getUserChannels(), "f");
|
|
251
|
+
}
|
|
252
|
+
return __classPrivateFieldGet(this, _FinsembleDesktopAgent_userChannels, "f").find((channelObject) => channelObject.id === channelIdValue) !== undefined;
|
|
253
|
+
}
|
|
254
|
+
// This wrapper around startup data is necessary to synchronize access to it since it might not have the correct data until startup.onReady() fires.
|
|
255
|
+
async fetchStartupData() {
|
|
256
|
+
await __classPrivateFieldGet(this, _FinsembleDesktopAgent_startup, "f").onReady();
|
|
257
|
+
const startupData = __classPrivateFieldGet(this, _FinsembleDesktopAgent_startup, "f").getStartupData();
|
|
258
|
+
const { authenticationToken, windowName } = startupData;
|
|
259
|
+
const maybeEmbeddedTitlebarIndicator = startupData.webContentsName.includes(EMBEDDED_TITLEBAR_INDICATOR_STRING)
|
|
260
|
+
? EMBEDDED_TITLEBAR_INDICATOR_STRING
|
|
261
|
+
: "";
|
|
262
|
+
// The uuid has the appId encoded for diagnostics, but appId is not available until startup data is ready; therefore must set uuid here the first time this function is called
|
|
263
|
+
if (__classPrivateFieldGet(this, _FinsembleDesktopAgent_uuid, "f") === "undefined") {
|
|
264
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_uuid, `fdc3-instanceId-${maybeEmbeddedTitlebarIndicator}${authenticationToken.meta.appId}=${uuidv4()}`, "f");
|
|
265
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_appId, authenticationToken.meta.appId, "f");
|
|
266
|
+
}
|
|
267
|
+
const appMetadata = { ...authenticationToken.meta, instanceId: __classPrivateFieldGet(this, _FinsembleDesktopAgent_uuid, "f") };
|
|
268
|
+
Logger.system.debug(`fetchStartupData`, startupData, windowName, authenticationToken, appMetadata);
|
|
269
|
+
return { windowName, authenticationToken, appMetadata };
|
|
270
|
+
}
|
|
271
|
+
meta() {
|
|
272
|
+
return {
|
|
273
|
+
appId: __classPrivateFieldGet(this, _FinsembleDesktopAgent_appId, "f"),
|
|
274
|
+
uuid: __classPrivateFieldGet(this, _FinsembleDesktopAgent_uuid, "f"),
|
|
275
|
+
href: window.document ? document.location.href : "",
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
handleHeartbeat() {
|
|
279
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_heartbeatMonitor, "f").registerHeartbeat();
|
|
280
|
+
}
|
|
281
|
+
triggerContextListeners(message) {
|
|
282
|
+
var _a, _b;
|
|
283
|
+
const { context } = message.payload;
|
|
284
|
+
let contextMetadata = undefined;
|
|
285
|
+
let handlers;
|
|
286
|
+
// if the originator was an app, then fill in the contextMetatdata to be passed to context listener
|
|
287
|
+
if (message.meta.originatorAppId && message.meta.originatorUuid) {
|
|
288
|
+
contextMetadata = { source: { appId: message.meta.originatorAppId, instanceId: message.meta.originatorUuid } };
|
|
289
|
+
}
|
|
290
|
+
// The targetSubscriberId field is set only when contexts are from an autoBroadcast. During autoBroadcast, one context is received for a specific
|
|
291
|
+
// subscriber (for addContextListener), or multiple contexts may be received in rapid fire (for joinChannel with existing subscribers).
|
|
292
|
+
// For all cases only the handler identified by targetSubscriberId is triggered.
|
|
293
|
+
//
|
|
294
|
+
// The need for targetSubscriberId is due to a channel having multiple listeners (based on context), with each of these context listeners potentially
|
|
295
|
+
// having multiple handlers. Without targetSubscriberId, autoBroadcast would go to all listeners, which isn't correct (ambiguity causes duplicate triggering).
|
|
296
|
+
//
|
|
297
|
+
// For a specific example, if the app adds a second global listener for any context (i.e. "*") then only that one new listener should trigger
|
|
298
|
+
// when the corresponding autoBroadcast message arrives with the latest context; targetSubscriberId ensures this by uniquely identifying
|
|
299
|
+
// the listener and it corresponding handler.
|
|
300
|
+
if (message.meta.targetSubscriberId) {
|
|
301
|
+
let targetHandlerSet;
|
|
302
|
+
// Find the subscriber's handler and save in targetHandlerSet. (Alternatively, could have created a direct mapping, but reusing the existing data structure.)
|
|
303
|
+
// This code can be converted to flatMap now that we have ES2020 support.
|
|
304
|
+
Object.values(__classPrivateFieldGet(this, _FinsembleDesktopAgent_contextHandlers, "f")).every((handlersByType) => {
|
|
305
|
+
targetHandlerSet = handlersByType.find((handlerSet) => handlerSet.targetSubscriberId === message.meta.targetSubscriberId);
|
|
306
|
+
return targetHandlerSet === undefined;
|
|
307
|
+
});
|
|
308
|
+
// there is only one handler for the autoBroadcast path, but next section of code expects an array for the general case.
|
|
309
|
+
handlers = targetHandlerSet ? [targetHandlerSet] : [];
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
// get all registered handlers, for this context type or global handlers
|
|
313
|
+
handlers = ((_a = __classPrivateFieldGet(this, _FinsembleDesktopAgent_contextHandlers, "f")[context === null || context === void 0 ? void 0 : context.type]) !== null && _a !== void 0 ? _a : []).concat((_b = __classPrivateFieldGet(this, _FinsembleDesktopAgent_contextHandlers, "f")["*"]) !== null && _b !== void 0 ? _b : []);
|
|
314
|
+
}
|
|
315
|
+
handlers.forEach(async ({ handler, channel }) => {
|
|
316
|
+
var _a, _b;
|
|
317
|
+
// Note 1: if meta.channel set then broadcast addressed to a app channel; otherwise addressed to a user channel.
|
|
318
|
+
// Note 2: if this handler's "channel" variable is set, then the handler is for an app channel; otherwise it is for a user channel
|
|
319
|
+
// If one of the following cases matches then invoke the handler
|
|
320
|
+
// 1) if broadcast addressed to a specified app channel and the handler is for that channel, then invoke it, or
|
|
321
|
+
// 2) if broadcast addressed to a user channel and the handler is for a user channel, then invoke it, or
|
|
322
|
+
// 3) if broadcast addressed to a user channel and the handler is an "app channel proxy" for a user channel, then invoke it
|
|
323
|
+
// 4) if broadcast addressed to a specified app channel that is a user channel and handler is for joined user channel,
|
|
324
|
+
// then invoke handler
|
|
325
|
+
if ((message.meta.channel && message.meta.channel === channel) ||
|
|
326
|
+
(!message.meta.channel && !channel) ||
|
|
327
|
+
(!message.meta.channel &&
|
|
328
|
+
(await this.isUserChannel(channel)) &&
|
|
329
|
+
((_a = (await this.getCurrentChannels())) === null || _a === void 0 ? void 0 : _a.find((element) => element.id === channel))) ||
|
|
330
|
+
(message.meta.channel &&
|
|
331
|
+
!channel &&
|
|
332
|
+
(await this.isUserChannel(message.meta.channel)) &&
|
|
333
|
+
((_b = (await this.getCurrentChannels())) === null || _b === void 0 ? void 0 : _b.find((element) => element.id === message.meta.channel)))) {
|
|
334
|
+
Logger.system.debug(`FDC3 Client: triggerContextListeners for all on ${channel !== null && channel !== void 0 ? channel : "default"} channel`, message.type, message);
|
|
335
|
+
// invoke the addContextListener handler
|
|
336
|
+
handler(context, contextMetadata);
|
|
337
|
+
}
|
|
338
|
+
else {
|
|
339
|
+
Logger.system.debug(`FDC3 Client: triggerContextListeners skipped for all on ${channel !== null && channel !== void 0 ? channel : "default"} channel`, message.type, message);
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
// See https://fdc3.finos.org/docs/api/ref/DesktopAgent#examples-1 for supported examples of intents with various return characteristics
|
|
344
|
+
async triggerIntentListener(message) {
|
|
345
|
+
const { intent, context, requestId } = message.payload;
|
|
346
|
+
let contextMetadata = undefined;
|
|
347
|
+
const handler = __classPrivateFieldGet(this, _FinsembleDesktopAgent_intentHandlers, "f")[intent];
|
|
348
|
+
let intentResultError;
|
|
349
|
+
let result = null;
|
|
350
|
+
let localIntentResult = undefined;
|
|
351
|
+
// if the originator was an app, then fill in the contextMetatdata to be passed to intent listener
|
|
352
|
+
if (message.meta.originatorAppId && message.meta.originatorUuid) {
|
|
353
|
+
contextMetadata = { source: { appId: message.meta.originatorAppId, instanceId: message.meta.originatorUuid } };
|
|
354
|
+
}
|
|
355
|
+
if (typeof handler === "function") {
|
|
356
|
+
// Set timer to issue warning if handler doesn't return in expect time period (but don't fail since handler could be interacting with user and therefore be very slow)
|
|
357
|
+
let intentResultTimer = setInterval(() => {
|
|
358
|
+
Logger.system.warn(`tag:FDC3:raiseIntent No intent result has been returned yet for intent ${intent} -- will continue to wait`, message.payload);
|
|
359
|
+
}, WaitForIntentResultTimeout);
|
|
360
|
+
Logger.system.log(`tag:FDC3:raiseIntent triggering intent listener for intent ${intent}`, message.payload);
|
|
361
|
+
try {
|
|
362
|
+
// Wait for the intent handler to return a result
|
|
363
|
+
localIntentResult = await handler(context, contextMetadata);
|
|
364
|
+
}
|
|
365
|
+
catch (err) {
|
|
366
|
+
Logger.system.error(`tag:FDC3:raiseIntent -- error thrown in handler for intent ${intent}`, err, context, message.payload);
|
|
367
|
+
intentResultError = ResultError.IntentHandlerRejected;
|
|
368
|
+
result = {
|
|
369
|
+
type: "intentResult",
|
|
370
|
+
meta: this.meta(),
|
|
371
|
+
payload: {
|
|
372
|
+
intentResultError,
|
|
373
|
+
intent,
|
|
374
|
+
requestId,
|
|
375
|
+
},
|
|
376
|
+
};
|
|
377
|
+
this.exchange(result);
|
|
378
|
+
}
|
|
379
|
+
clearInterval(intentResultTimer);
|
|
380
|
+
// If no error was thrown above when the intent handler was invoked, then return the handler result
|
|
381
|
+
if (!intentResultError) {
|
|
382
|
+
// convert IntentResult to InteropIntentResult, a form than can be transmitted to InteropService
|
|
383
|
+
// `?addContextListener` is how we dynamically tell whether the user returned a Channel
|
|
384
|
+
const intentResult = (localIntentResult === null || localIntentResult === void 0 ? void 0 : localIntentResult.addContextListener)
|
|
385
|
+
? { channelId: localIntentResult === null || localIntentResult === void 0 ? void 0 : localIntentResult.id, type: localIntentResult.type }
|
|
386
|
+
: localIntentResult;
|
|
387
|
+
// If intentResult isn't void, then ensure it appears to be either a channel or context
|
|
388
|
+
if (intentResult && (typeof intentResult !== "object" || !intentResult.type)) {
|
|
389
|
+
Logger.system.error(`IntentResult returned by FDC3 client app for intent ${intent} is rejected since it doesn't match expected channel or context definition`, intentResult);
|
|
390
|
+
intentResultError = ResultError.NoResultReturned;
|
|
391
|
+
}
|
|
392
|
+
result = {
|
|
393
|
+
type: "intentResult",
|
|
394
|
+
meta: this.meta(),
|
|
395
|
+
payload: {
|
|
396
|
+
intentResult,
|
|
397
|
+
intentResultError,
|
|
398
|
+
intent,
|
|
399
|
+
requestId,
|
|
400
|
+
},
|
|
401
|
+
};
|
|
402
|
+
this.exchange(result);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
else {
|
|
406
|
+
Logger.system.error(`Legal listener not found for intent ${intent}`);
|
|
407
|
+
result = {
|
|
408
|
+
type: "intentResult",
|
|
409
|
+
meta: this.meta(),
|
|
410
|
+
payload: {
|
|
411
|
+
intentResultError: ResultError.IntentHandlerRejected,
|
|
412
|
+
intent,
|
|
413
|
+
requestId,
|
|
414
|
+
},
|
|
415
|
+
};
|
|
416
|
+
this.exchange(result);
|
|
417
|
+
}
|
|
418
|
+
Logger.system.log(`tag:FDC3:raiseIntent handler response for intent ${intent}`, result);
|
|
419
|
+
}
|
|
420
|
+
async handlePrivateChannelEvent(message) {
|
|
421
|
+
const { channel, context, targetSubscriberId } = message.payload;
|
|
422
|
+
const channelSubscriptions = __classPrivateFieldGet(this, _FinsembleDesktopAgent_privateChannelSubscription, "f")[channel];
|
|
423
|
+
const targetSubscription = channelSubscriptions.find((s) => s.targetSubscriberId === targetSubscriberId);
|
|
424
|
+
if (targetSubscription) {
|
|
425
|
+
switch (targetSubscription.subscribeType) {
|
|
426
|
+
case "onAddContextListener":
|
|
427
|
+
targetSubscription.handler(context);
|
|
428
|
+
break;
|
|
429
|
+
case "onUnsubscribe":
|
|
430
|
+
targetSubscription.handler(context);
|
|
431
|
+
break;
|
|
432
|
+
case "onDisconnect":
|
|
433
|
+
targetSubscription.handler();
|
|
434
|
+
break;
|
|
435
|
+
default: {
|
|
436
|
+
Logger.system.error("FDC3 Client: unknown subscribeType in matching targetSubscription", targetSubscription);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
else {
|
|
441
|
+
Logger.system.error("FDC3 Client: could not find target subscription", targetSubscriberId, channelSubscriptions);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
async handleIntentResult(message) {
|
|
445
|
+
const { intent: intentName, intentResult, requestId, intentResultError } = message.payload;
|
|
446
|
+
// If there is an outstanding resolve function associated with the request id, then invoke it
|
|
447
|
+
if (typeof __classPrivateFieldGet(this, _FinsembleDesktopAgent_intentResultPromiseResolveMap, "f")[requestId] === "function") {
|
|
448
|
+
Logger.system.log(`tag:FDC3:raiseIntent result message received for intent ${intentName}`, message);
|
|
449
|
+
// Resolve the outstanding promise, waited on in the corresponding getResult function, returning the intent result or an error
|
|
450
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_intentResultPromiseResolveMap, "f")[requestId]({ errorResult: intentResultError, intentResult });
|
|
451
|
+
}
|
|
452
|
+
else {
|
|
453
|
+
Logger.system.error(`Legal internal handler for intent result not found`, message, __classPrivateFieldGet(this, _FinsembleDesktopAgent_intentResultPromiseResolveMap, "f"));
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
handleIncoming(message) {
|
|
457
|
+
if (message.type === "heartbeat") {
|
|
458
|
+
Logger.system.debug("Client heartbeat", message);
|
|
459
|
+
}
|
|
460
|
+
else {
|
|
461
|
+
Logger.system.debug("FDC3 Client: incoming", message.type, message);
|
|
462
|
+
}
|
|
463
|
+
switch (message.type) {
|
|
464
|
+
case "broadcast":
|
|
465
|
+
this.triggerContextListeners(message);
|
|
466
|
+
break;
|
|
467
|
+
case "intent":
|
|
468
|
+
this.triggerIntentListener(message);
|
|
469
|
+
break;
|
|
470
|
+
case "privateChannelEvent":
|
|
471
|
+
this.handlePrivateChannelEvent(message);
|
|
472
|
+
break;
|
|
473
|
+
case "intentResult":
|
|
474
|
+
this.handleIntentResult(message);
|
|
475
|
+
break;
|
|
476
|
+
case "heartbeat":
|
|
477
|
+
this.handleHeartbeat();
|
|
478
|
+
break;
|
|
479
|
+
default:
|
|
480
|
+
break;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* Releases the queue, sending API calls to the interop service that had been deferred until a connection
|
|
485
|
+
* was established.
|
|
486
|
+
*/
|
|
487
|
+
releaseQueue() {
|
|
488
|
+
/**
|
|
489
|
+
* When messages were queued, the uuid would not have been available (uuid is based on windowName
|
|
490
|
+
* which is only available after startup.onReady). Now that we're releasing the queue, update
|
|
491
|
+
* the uuid in any queued messages before sending them out.
|
|
492
|
+
*/
|
|
493
|
+
const updateUUID = (message) => {
|
|
494
|
+
var _a;
|
|
495
|
+
if (((_a = message === null || message === void 0 ? void 0 : message.meta) === null || _a === void 0 ? void 0 : _a.uuid) !== undefined) {
|
|
496
|
+
message.meta.uuid = __classPrivateFieldGet(this, _FinsembleDesktopAgent_uuid, "f");
|
|
497
|
+
}
|
|
498
|
+
return message;
|
|
499
|
+
};
|
|
500
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_queue, "f").forEach(async (entry) => {
|
|
501
|
+
Logger.system.log(`fdc3.releaseQueue`, entry);
|
|
502
|
+
const { message, handler, resolve } = entry;
|
|
503
|
+
const { err, receiveMessage } = await this.exchange(updateUUID(message), handler);
|
|
504
|
+
resolve({ err, receiveMessage });
|
|
505
|
+
});
|
|
506
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_queue, [], "f");
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* This is the central point for exchanging data with the interop service. Even though some FDC3
|
|
510
|
+
* calls such as broadcast() are one way, we always perform a query/response with the server, at
|
|
511
|
+
* least getting an empty response to know that it was handled.
|
|
512
|
+
*/
|
|
513
|
+
exchange(message, handler = () => { }) {
|
|
514
|
+
return new Promise(async (resolve) => {
|
|
515
|
+
if (__classPrivateFieldGet(this, _FinsembleDesktopAgent_connected, "f")) {
|
|
516
|
+
Logger.system.debug("FDC3 Client: outgoing", message.type, message);
|
|
517
|
+
const { err, response } = await __classPrivateFieldGet(this, _FinsembleDesktopAgent_routerClient, "f").query(SERVER_CHANNEL, message, handler);
|
|
518
|
+
const receiveMessage = response === null || response === void 0 ? void 0 : response.data;
|
|
519
|
+
if (receiveMessage)
|
|
520
|
+
Logger.system.log(`FDC3 Client: incoming`, receiveMessage);
|
|
521
|
+
resolve({ err, receiveMessage });
|
|
522
|
+
}
|
|
523
|
+
else {
|
|
524
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_queue, "f").push({ message, handler, resolve });
|
|
525
|
+
this.start();
|
|
526
|
+
}
|
|
527
|
+
});
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* Performs the handshake to the interop service and starts heartbeats.
|
|
531
|
+
* @internal
|
|
532
|
+
*/
|
|
533
|
+
async connect() {
|
|
534
|
+
/**
|
|
535
|
+
* StartupData contains the AuthenticationToken necessary to connect to the interop service. When an app
|
|
536
|
+
* is spawned by Finsemble, the AuthenticationToken is automatically created by the launcher. When an app
|
|
537
|
+
* is freestanding, the AuthenticationToken is generated when a developer calls FSBLJSAdapter.startApp with a
|
|
538
|
+
* digital signing key. If an app can't be authenticated then Startup ensures that an anonymous
|
|
539
|
+
* AuthenticationToken exists (type "unauthenticated").
|
|
540
|
+
*/
|
|
541
|
+
var _a;
|
|
542
|
+
const { windowName, authenticationToken } = await this.fetchStartupData();
|
|
543
|
+
Logger.system.log(`fdc3.connect StartupData for ${windowName}`);
|
|
544
|
+
const registerClient = {
|
|
545
|
+
type: "register",
|
|
546
|
+
meta: this.meta(),
|
|
547
|
+
payload: {
|
|
548
|
+
// It would be better if the server assigned the client channel name. We could then protect against clashes.
|
|
549
|
+
clientChannel: __classPrivateFieldGet(this, _FinsembleDesktopAgent_clientChannel, "f"),
|
|
550
|
+
// Ideally the server gets/verifies the windowName from the router
|
|
551
|
+
windowName: (_a = __classPrivateFieldGet(this, _FinsembleDesktopAgent_windowName, "f")) !== null && _a !== void 0 ? _a : windowName,
|
|
552
|
+
// Required by InteropService to authenticate this client (preventing spoofing)
|
|
553
|
+
authenticationToken,
|
|
554
|
+
},
|
|
555
|
+
};
|
|
556
|
+
/**
|
|
557
|
+
* We need to ensure that the SERVER_CHANNEL responder has been added to the router. This happens
|
|
558
|
+
* at the kernel stage when the InteropService is starting up. Therefore we need to wait until the
|
|
559
|
+
* kernel stage is complete (i.e. InteropService is up and running) before we can query the SERVER_CHANNEL.
|
|
560
|
+
*
|
|
561
|
+
* Freestanding apps will periodically try to register with Interop if they are started prior to Finsemble
|
|
562
|
+
* coming up which would cause interop registration request being fired before the responder was added to the router.
|
|
563
|
+
*
|
|
564
|
+
* This waitForBootStage works, even though Finsemble might not be up, for two reasons:
|
|
565
|
+
* 1) the underlying router subscribe in waitForBootStage will be queued by the routerClient until the router is up
|
|
566
|
+
* 2) the underlying pubsub topic relies on a default pubSub responder in the router service, so it will immediately
|
|
567
|
+
* be available when the router is available.
|
|
568
|
+
*/
|
|
569
|
+
SystemManagerClient.waitForBootStage("kernel", "stageCompleted", (error) => {
|
|
570
|
+
if (error) {
|
|
571
|
+
Logger.system.error("connect error waitingForBootStage", error);
|
|
572
|
+
}
|
|
573
|
+
else {
|
|
574
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_routerClient, "f").query(SERVER_CHANNEL, registerClient, (err) => {
|
|
575
|
+
if (err) {
|
|
576
|
+
Logger.system.error("connect error", err);
|
|
577
|
+
}
|
|
578
|
+
else {
|
|
579
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_routerClient, "f").addResponder(__classPrivateFieldGet(this, _FinsembleDesktopAgent_clientChannel, "f"), (err2, request) => {
|
|
580
|
+
if (err2 || !request) {
|
|
581
|
+
const errorString = errorAsString(err2 !== null && err2 !== void 0 ? err2 : "No request received on responder");
|
|
582
|
+
Logger.system.error(`FinsembleDesktopAgent can't listen on channel ${__classPrivateFieldGet(this, _FinsembleDesktopAgent_clientChannel, "f")} : ${errorString}`);
|
|
583
|
+
// channel isn't available, uh oh
|
|
584
|
+
}
|
|
585
|
+
else {
|
|
586
|
+
if (request.data)
|
|
587
|
+
this.handleIncoming(request.data);
|
|
588
|
+
request.sendQueryResponse(null);
|
|
589
|
+
}
|
|
590
|
+
});
|
|
591
|
+
ConfigClient.get(["finsemble", "system", "FSBLVersion"], (_err, data) => {
|
|
592
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_FSBLVersion, data, "f");
|
|
593
|
+
});
|
|
594
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_connected, true, "f");
|
|
595
|
+
Logger.system.log(`FDC3 client connected for window ${windowName}`);
|
|
596
|
+
this.releaseQueue();
|
|
597
|
+
// The heartbeat monitor shouldn't start until now that we've successfully connected to the interop service
|
|
598
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_heartbeatMonitor, "f").start();
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* Connect to the interop service. This method can be safely called multiple times. It will only
|
|
606
|
+
* establish a single connection.
|
|
607
|
+
* This function is called by FSBLDesktop and FSBLFreestanding.
|
|
608
|
+
* @internal
|
|
609
|
+
*/
|
|
610
|
+
async start() {
|
|
611
|
+
// We only need to register with the FSBL event handlers once. Prevents connecting multiple times.
|
|
612
|
+
if (__classPrivateFieldGet(this, _FinsembleDesktopAgent_startHasBeenCalled, "f"))
|
|
613
|
+
return;
|
|
614
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_startHasBeenCalled, true, "f");
|
|
615
|
+
await __classPrivateFieldGet(this, _FinsembleDesktopAgent_startup, "f").onReady();
|
|
616
|
+
// The connect method performs the handshake and starts the heartbeats.
|
|
617
|
+
// **We do not want to await** it since any calling function would stall, until a connection is established. In this
|
|
618
|
+
// instance this is a "fire and forget" action and any connections issues will be highlighted by other API calls.
|
|
619
|
+
this.connect();
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Stops the client and puts it back into queuing state. The client
|
|
623
|
+
* can be restarted by calling connect().
|
|
624
|
+
* @internal
|
|
625
|
+
*/
|
|
626
|
+
async stop() {
|
|
627
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_heartbeatMonitor, "f").stop();
|
|
628
|
+
const unregisterClient = {
|
|
629
|
+
type: "unregister",
|
|
630
|
+
meta: this.meta(),
|
|
631
|
+
};
|
|
632
|
+
await this.exchange(unregisterClient);
|
|
633
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_startHasBeenCalled, false, "f");
|
|
634
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_routerClient, "f").removeResponder(__classPrivateFieldGet(this, _FinsembleDesktopAgent_clientChannel, "f"));
|
|
635
|
+
__classPrivateFieldSet(this, _FinsembleDesktopAgent_connected, false, "f");
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
* Registers handlers which will be called if the client is disconnected from Finsemble. This is only useful when
|
|
639
|
+
* running in freestanding apps that might continue running after Finsemble has been terminated. Users should be
|
|
640
|
+
* prompted to restart their freestanding app when a disconnect is received.
|
|
641
|
+
*
|
|
642
|
+
* @param cb Handler function.
|
|
643
|
+
* @experimental This method is not part of the FDC3 standard and may be replaced in the future with alternative mechanisms.
|
|
644
|
+
*/
|
|
645
|
+
onDisconnect(cb) {
|
|
646
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_heartbeatMonitor, "f").onDisconnect(cb);
|
|
647
|
+
}
|
|
648
|
+
/** @internal */
|
|
649
|
+
async channelGetCurrentContext(channel, contextType) {
|
|
650
|
+
const message = {
|
|
651
|
+
type: "currentContextRequest",
|
|
652
|
+
meta: {
|
|
653
|
+
...this.meta(),
|
|
654
|
+
channel,
|
|
655
|
+
},
|
|
656
|
+
payload: {
|
|
657
|
+
contextType,
|
|
658
|
+
},
|
|
659
|
+
};
|
|
660
|
+
const { err, receiveMessage } = await this.exchange(message);
|
|
661
|
+
if (err)
|
|
662
|
+
return null;
|
|
663
|
+
return (receiveMessage === null || receiveMessage === void 0 ? void 0 : receiveMessage.type) === "currentContext" ? receiveMessage.payload.context : null;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* Publishes context to other apps on the desktop.
|
|
667
|
+
* Calling broadcast at the DesktopAgent scope will push the context to whatever Channel the app is joined to.
|
|
668
|
+
* If the app is not currently joined to a channel, calling fdc3.broadcast will have no effect.
|
|
669
|
+
* Apps can still directly broadcast and listen to context on any channel via the methods on the Channel class.
|
|
670
|
+
* @param context
|
|
671
|
+
*/
|
|
672
|
+
async broadcast(context) {
|
|
673
|
+
if (!context || !context.type) {
|
|
674
|
+
throw new Error("Invalid arguments. An FDC3 Context object (i.e. an Object with a type field) is required.");
|
|
675
|
+
}
|
|
676
|
+
const message = {
|
|
677
|
+
type: "broadcast",
|
|
678
|
+
meta: this.meta(),
|
|
679
|
+
payload: {
|
|
680
|
+
context,
|
|
681
|
+
channelType: "user",
|
|
682
|
+
},
|
|
683
|
+
};
|
|
684
|
+
await this.exchange(message);
|
|
685
|
+
}
|
|
686
|
+
/** @internal */
|
|
687
|
+
async channelBroadcast(channel, context, channelType) {
|
|
688
|
+
const message = {
|
|
689
|
+
type: "broadcast",
|
|
690
|
+
meta: {
|
|
691
|
+
...this.meta(),
|
|
692
|
+
channel,
|
|
693
|
+
},
|
|
694
|
+
payload: {
|
|
695
|
+
context,
|
|
696
|
+
channelType,
|
|
697
|
+
},
|
|
698
|
+
};
|
|
699
|
+
await this.exchange(message);
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* Retrieves a list of the System channels available for the app to join.
|
|
703
|
+
* This should include the 'global' channel.
|
|
704
|
+
*/
|
|
705
|
+
async getUserChannels() {
|
|
706
|
+
var _a;
|
|
707
|
+
const message = {
|
|
708
|
+
type: "systemChannelRequest",
|
|
709
|
+
meta: this.meta(),
|
|
710
|
+
};
|
|
711
|
+
const { err, receiveMessage } = await this.exchange(message);
|
|
712
|
+
if (err)
|
|
713
|
+
return [];
|
|
714
|
+
const channelNames = (receiveMessage === null || receiveMessage === void 0 ? void 0 : receiveMessage.type) === "systemChannels" ? (_a = receiveMessage === null || receiveMessage === void 0 ? void 0 : receiveMessage.payload) === null || _a === void 0 ? void 0 : _a.channels : [];
|
|
715
|
+
return channelNames.map((name) => {
|
|
716
|
+
var _a, _b, _c;
|
|
717
|
+
let metaData;
|
|
718
|
+
if ((receiveMessage === null || receiveMessage === void 0 ? void 0 : receiveMessage.type) === "systemChannels" && ((_a = receiveMessage === null || receiveMessage === void 0 ? void 0 : receiveMessage.payload) === null || _a === void 0 ? void 0 : _a.systemChannelMeta)) {
|
|
719
|
+
metaData = (_c = (_b = receiveMessage === null || receiveMessage === void 0 ? void 0 : receiveMessage.payload) === null || _b === void 0 ? void 0 : _b.systemChannelMeta[name]) === null || _c === void 0 ? void 0 : _c.displayMetaData;
|
|
720
|
+
}
|
|
721
|
+
return new ChannelProxy(this, name, "user", metaData);
|
|
722
|
+
});
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* For backwards compatibility. Retrieves a list of the System channels available for the app to join.
|
|
726
|
+
*/
|
|
727
|
+
async getSystemChannels() {
|
|
728
|
+
return this.getUserChannels();
|
|
729
|
+
}
|
|
730
|
+
async open(app, context) {
|
|
731
|
+
var _a;
|
|
732
|
+
if (!app) {
|
|
733
|
+
throw new Error("Invalid arguments. The required 'app' parameter is missing.");
|
|
734
|
+
}
|
|
735
|
+
const { appMetadata } = await this.fetchStartupData();
|
|
736
|
+
const message = {
|
|
737
|
+
type: "open",
|
|
738
|
+
meta: this.meta(),
|
|
739
|
+
payload: {
|
|
740
|
+
requestingAppId: appMetadata.appId,
|
|
741
|
+
app,
|
|
742
|
+
context,
|
|
743
|
+
},
|
|
744
|
+
};
|
|
745
|
+
const { err, receiveMessage } = await this.exchange(message);
|
|
746
|
+
const interopOpenResponse = receiveMessage;
|
|
747
|
+
if (err) {
|
|
748
|
+
throw new Error(OpenError.ResolverUnavailable);
|
|
749
|
+
}
|
|
750
|
+
else if (interopOpenResponse.payload.error) {
|
|
751
|
+
throw new Error(interopOpenResponse.payload.error);
|
|
752
|
+
}
|
|
753
|
+
return (_a = interopOpenResponse.payload.appIdentifier) !== null && _a !== void 0 ? _a : { appId: "unknown-open-appIdentifier" };
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* Find out more information about a particular intent by passing its name, and optionally its context.
|
|
757
|
+
*
|
|
758
|
+
* findIntent is effectively granting programmatic access to the Desktop Agent's resolver.
|
|
759
|
+
* A promise resolving to the intent, its metadata and metadata about the apps that registered it is returned.
|
|
760
|
+
* This can be used to raise the intent against a specific app.
|
|
761
|
+
*
|
|
762
|
+
* If the resolution fails, the promise will return an `Error` with a string from the `ResolveError` enumeration.
|
|
763
|
+
*
|
|
764
|
+
* @param intent
|
|
765
|
+
* @param context
|
|
766
|
+
*/
|
|
767
|
+
async findIntent(intent, context, resultType) {
|
|
768
|
+
if (!intent) {
|
|
769
|
+
throw new Error("Invalid arguments. The required intent parameter is missing.");
|
|
770
|
+
}
|
|
771
|
+
if (context && !context.type) {
|
|
772
|
+
throw new Error("Invalid arguments. Second parameter must be a valid context.");
|
|
773
|
+
}
|
|
774
|
+
if (resultType && typeof resultType !== "string") {
|
|
775
|
+
throw new Error("Invalid arguments. Third parameter must be a string.");
|
|
776
|
+
}
|
|
777
|
+
const message = {
|
|
778
|
+
type: "findIntent",
|
|
779
|
+
meta: this.meta(),
|
|
780
|
+
payload: {
|
|
781
|
+
intent,
|
|
782
|
+
context,
|
|
783
|
+
resultType,
|
|
784
|
+
},
|
|
785
|
+
};
|
|
786
|
+
const { err, receiveMessage } = await this.exchange(message);
|
|
787
|
+
const interopFindIntentResponse = receiveMessage;
|
|
788
|
+
if (err) {
|
|
789
|
+
throw new Error(ResolveError.ResolverUnavailable);
|
|
790
|
+
}
|
|
791
|
+
else if (interopFindIntentResponse.payload.error) {
|
|
792
|
+
throw new Error(interopFindIntentResponse.payload.error);
|
|
793
|
+
}
|
|
794
|
+
else if (!interopFindIntentResponse.payload.appIntent) {
|
|
795
|
+
throw new Error("Invalid response returned from InteropService for findIntent. No appIntent and no error.");
|
|
796
|
+
}
|
|
797
|
+
return interopFindIntentResponse.payload.appIntent;
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* Find all the available intents for a particular context.
|
|
801
|
+
*
|
|
802
|
+
* findIntents is effectively granting programmatic access to the Desktop Agent's resolver.
|
|
803
|
+
* A promise resolving to all the intents, their metadata and metadata about the apps that registered it is returned,
|
|
804
|
+
* based on the context types the intents have registered.
|
|
805
|
+
*
|
|
806
|
+
* If the resolution fails, the promise will return an `Error` with a string from the `ResolveError` enumeration.
|
|
807
|
+
* @param context
|
|
808
|
+
*/
|
|
809
|
+
async findIntentsByContext(context, resultType) {
|
|
810
|
+
if (!context) {
|
|
811
|
+
throw new Error("Invalid arguments. The required context parameter is missing.");
|
|
812
|
+
}
|
|
813
|
+
if (!context.type) {
|
|
814
|
+
throw new Error("Invalid arguments. Second parameter must be a valid context.");
|
|
815
|
+
}
|
|
816
|
+
if (resultType && typeof resultType !== "string") {
|
|
817
|
+
throw new Error("Invalid arguments. Second parameter must be a string to identify result type.");
|
|
818
|
+
}
|
|
819
|
+
// The context parameter was made optional to support a query for all intents. This is consistent with findIntent, however it is not consistent with FDC3 spec plus.
|
|
820
|
+
// a mechanism is still needed to query for contexts. A better solution is to add two new InteropAdmin methods; e.g. getIntents() and getContexts().
|
|
821
|
+
const message = {
|
|
822
|
+
type: "findIntentsByContext",
|
|
823
|
+
meta: this.meta(),
|
|
824
|
+
payload: {
|
|
825
|
+
context,
|
|
826
|
+
resultType,
|
|
827
|
+
},
|
|
828
|
+
};
|
|
829
|
+
const { receiveMessage } = await this.exchange(message);
|
|
830
|
+
const interopIntentsList = receiveMessage;
|
|
831
|
+
if (interopIntentsList.payload.error) {
|
|
832
|
+
throw new Error(interopIntentsList.payload.error);
|
|
833
|
+
}
|
|
834
|
+
return interopIntentsList.payload.intents || [];
|
|
835
|
+
}
|
|
836
|
+
// @ts-ignore <----------------------------------------------------------------------------------------------------------------------------------------------
|
|
837
|
+
async createPrivateChannel() {
|
|
838
|
+
return new ChannelProxy(this, this.privateChannelId(), "private");
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* Common implementation for raiseIntent() and raiseIntentForContext().
|
|
842
|
+
*
|
|
843
|
+
* @param intent
|
|
844
|
+
* @param context
|
|
845
|
+
* @param target
|
|
846
|
+
* @param forContext If true then invoked by raiseIntentForContext which gives a different meaning to context parameter
|
|
847
|
+
*/
|
|
848
|
+
async raiseIntentInternal(intent, context, target, forContext = false) {
|
|
849
|
+
if (context && !context.type) {
|
|
850
|
+
throw new Error("Invalid arguments. Second parameter must be a valid context.");
|
|
851
|
+
}
|
|
852
|
+
const requestId = `raise-intent-request-Id-${uuidv4()}`;
|
|
853
|
+
Logger.system.log(`tag:FDC3:raiseIntent initiated for intent ${intent} with ${context ? " context type " : "no context"}${context === null || context === void 0 ? void 0 : context.type}`, context, target, requestId, forContext);
|
|
854
|
+
const message = {
|
|
855
|
+
type: "raiseIntent",
|
|
856
|
+
meta: this.meta(),
|
|
857
|
+
payload: {
|
|
858
|
+
intent,
|
|
859
|
+
context,
|
|
860
|
+
target,
|
|
861
|
+
requestId,
|
|
862
|
+
forContext,
|
|
863
|
+
},
|
|
864
|
+
};
|
|
865
|
+
Logger.system.log(`tag:FDC3:raiseIntent request sent to InteropService for intent ${intent}`, message);
|
|
866
|
+
// The message received back from the InteropService for the below exchange(message) corresponds to the IntentResolution (signaling the raiseIntent has been successfully sent to the target app, or an error).
|
|
867
|
+
// Asynchronously, an IntentResult will come in later.
|
|
868
|
+
const { err, receiveMessage } = await this.exchange(message);
|
|
869
|
+
const interopIntentResolution = receiveMessage;
|
|
870
|
+
Logger.system.log(`tag:FDC3:raiseIntent intent resolution received for intent ${intent}`, err, receiveMessage);
|
|
871
|
+
if (err) {
|
|
872
|
+
throw new Error(ResolveError.ResolverUnavailable);
|
|
873
|
+
}
|
|
874
|
+
else if (interopIntentResolution.payload.error) {
|
|
875
|
+
throw new Error(interopIntentResolution.payload.error);
|
|
876
|
+
}
|
|
877
|
+
else if (!interopIntentResolution.payload.data) {
|
|
878
|
+
throw new Error("Invalid response returned from InteropService for raiseIntent. No data.");
|
|
879
|
+
}
|
|
880
|
+
/* Allocate a promise for this raiseIntent and map it to the request id to handle the getResult() synchronization.
|
|
881
|
+
|
|
882
|
+
This promise is waited on below in the getResult function returned in the raiseIntent response,
|
|
883
|
+
then resolved in handleIntentResult when the result arrives for the requestId
|
|
884
|
+
*/
|
|
885
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_intentResultPromiseMap, "f")[requestId] = new Promise((intentResultResolve) => {
|
|
886
|
+
// Map the resolve function to the requestID to be later invoked to complete this promise when the intent result arrives.
|
|
887
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_intentResultPromiseResolveMap, "f")[requestId] = intentResultResolve;
|
|
888
|
+
});
|
|
889
|
+
const intentResolution = {
|
|
890
|
+
source: interopIntentResolution.payload.data.source,
|
|
891
|
+
intent: interopIntentResolution.payload.data.intent,
|
|
892
|
+
// @ts-ignore deprecated in 2.2.0
|
|
893
|
+
version: interopIntentResolution.payload.data.version,
|
|
894
|
+
getResult: async () => {
|
|
895
|
+
let errorResult;
|
|
896
|
+
let intentResult;
|
|
897
|
+
Logger.system.log(`tag:FDC3:raiseIntent getResult initiated for intent ${intent}`, message);
|
|
898
|
+
if (typeof __classPrivateFieldGet(this, _FinsembleDesktopAgent_intentResultPromiseResolveMap, "f")[requestId] === "function") {
|
|
899
|
+
// Wait for the corresponding intent result to be returned.
|
|
900
|
+
// The promise waited on here is resolved in handleIntentResult when the result with the correct requestId arrives from InteropService.
|
|
901
|
+
({ errorResult, intentResult } = await __classPrivateFieldGet(this, _FinsembleDesktopAgent_intentResultPromiseMap, "f")[requestId]);
|
|
902
|
+
}
|
|
903
|
+
else {
|
|
904
|
+
errorResult = "could not fulfill intent resolution due to no corresponding result promise";
|
|
905
|
+
}
|
|
906
|
+
Logger.system.log(`tag:FDC3:raiseIntent result for intent ${intent}`, { errorResult, intentResult });
|
|
907
|
+
// Any error has to be thrown here in this original thread of control for the app to receive it -- it cannot be thrown when the result is processed in handleIntentResult
|
|
908
|
+
if (errorResult) {
|
|
909
|
+
throw new Error(errorResult);
|
|
910
|
+
}
|
|
911
|
+
// The result might be a channel type, or it might be a context type, or it might be undefined.
|
|
912
|
+
const resultChannelId = intentResult === null || intentResult === void 0 ? void 0 : intentResult.channelId;
|
|
913
|
+
const resultType = intentResult === null || intentResult === void 0 ? void 0 : intentResult.type;
|
|
914
|
+
const fdc3IntentResult = resultChannelId
|
|
915
|
+
? new ChannelProxy(this, resultChannelId, resultType)
|
|
916
|
+
: (intentResult !== null && intentResult !== void 0 ? intentResult : undefined);
|
|
917
|
+
Logger.system.log(`tag:FDC3:raiseIntent getResult() returned for intent ${intent}`, fdc3IntentResult);
|
|
918
|
+
return fdc3IntentResult;
|
|
919
|
+
},
|
|
920
|
+
};
|
|
921
|
+
return intentResolution;
|
|
922
|
+
}
|
|
923
|
+
async raiseIntent(intent, context, target) {
|
|
924
|
+
if (!intent) {
|
|
925
|
+
throw new Error("Invalid arguments. The required intent parameter is missing.");
|
|
926
|
+
}
|
|
927
|
+
if (!context) {
|
|
928
|
+
throw new Error("Invalid arguments. The required context parameter is missing.");
|
|
929
|
+
}
|
|
930
|
+
if (!context.type) {
|
|
931
|
+
throw new Error("Invalid arguments. Second parameter must be a valid context.");
|
|
932
|
+
}
|
|
933
|
+
return this.raiseIntentInternal(intent, context, target);
|
|
934
|
+
}
|
|
935
|
+
async raiseIntentForContext(context, target) {
|
|
936
|
+
if (!context) {
|
|
937
|
+
throw new Error("Invalid arguments. The required context parameter is missing.");
|
|
938
|
+
}
|
|
939
|
+
return this.raiseIntentInternal(null, context, target, true);
|
|
940
|
+
}
|
|
941
|
+
/**
|
|
942
|
+
* Adds a listener for incoming Intents from the Agent. Unlike addContextListener, there can only be one listener for an intent.
|
|
943
|
+
* @param intent
|
|
944
|
+
* @param handler
|
|
945
|
+
*/
|
|
946
|
+
addIntentListener(intent, handler) {
|
|
947
|
+
if (!intent) {
|
|
948
|
+
throw new Error("Invalid arguments. The required intent parameter is missing.");
|
|
949
|
+
}
|
|
950
|
+
if (!handler) {
|
|
951
|
+
throw new Error("addIntentListener Invalid arguments. The required handler parameter is missing.");
|
|
952
|
+
}
|
|
953
|
+
if (__classPrivateFieldGet(this, _FinsembleDesktopAgent_intentHandlers, "f")[intent]) {
|
|
954
|
+
throw new Error(`Intent listener already defined for intent ${intent}`);
|
|
955
|
+
}
|
|
956
|
+
else {
|
|
957
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_intentHandlers, "f")[intent] = handler;
|
|
958
|
+
}
|
|
959
|
+
const message = {
|
|
960
|
+
type: "subscribeIntent",
|
|
961
|
+
meta: this.meta(),
|
|
962
|
+
payload: {
|
|
963
|
+
intent,
|
|
964
|
+
},
|
|
965
|
+
};
|
|
966
|
+
// Dangerous code: See note at top of file about 1.2 compatibility
|
|
967
|
+
const exchangePromise = this.exchange(message); // don't wait for response
|
|
968
|
+
const listener = {
|
|
969
|
+
unsubscribe: async () => {
|
|
970
|
+
const unsubscribeMessage = {
|
|
971
|
+
type: "unsubscribeIntent",
|
|
972
|
+
meta: this.meta(),
|
|
973
|
+
payload: {
|
|
974
|
+
intent,
|
|
975
|
+
},
|
|
976
|
+
};
|
|
977
|
+
this.exchange(unsubscribeMessage); // don't wait for response
|
|
978
|
+
delete __classPrivateFieldGet(this, _FinsembleDesktopAgent_intentHandlers, "f")[intent];
|
|
979
|
+
},
|
|
980
|
+
};
|
|
981
|
+
// Dangerous code: See note at top of file about 1.2 compatibility
|
|
982
|
+
let promise = new Promise((resolve) => {
|
|
983
|
+
exchangePromise.then(() => {
|
|
984
|
+
resolve(listener);
|
|
985
|
+
});
|
|
986
|
+
});
|
|
987
|
+
promise.unsubscribe = () => {
|
|
988
|
+
Logger.system.deprecated("Use of the synchronous version of addIntentListener from FDC3 1.2 is deprecated. Please switch to `await addIntentListener`.");
|
|
989
|
+
listener.unsubscribe();
|
|
990
|
+
};
|
|
991
|
+
return promise;
|
|
992
|
+
}
|
|
993
|
+
// Common functions to handler incoming Private Channel events to support onAddListener, onSubscribe, and oDisconnect
|
|
994
|
+
listenerForPrivateChannelEvent(subscribeType, channel, handler) {
|
|
995
|
+
// A unique targetSubscriberId must be passed in InteropSubscribeChannelOnAddContext; the InteropService can direct messages to this specific listener by returning the targetSubscriberId in a broadcast message,
|
|
996
|
+
const targetSubscriberId = `subscriberId.${channel}.${subscribeType}.${Date.now()}_${Math.random()}`;
|
|
997
|
+
// Bind targetSubscriberId to the specific handler and save in map
|
|
998
|
+
const handlerSet = { subscribeType, handler, channel, targetSubscriberId };
|
|
999
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_privateChannelSubscription, "f")[channel] = mmAdd(__classPrivateFieldGet(this, _FinsembleDesktopAgent_privateChannelSubscription, "f"), channel, handlerSet);
|
|
1000
|
+
let message = {
|
|
1001
|
+
type: "subscribePrivateChannelEvent",
|
|
1002
|
+
payload: {
|
|
1003
|
+
subscribeType,
|
|
1004
|
+
channel,
|
|
1005
|
+
targetSubscriberId,
|
|
1006
|
+
},
|
|
1007
|
+
meta: this.meta(),
|
|
1008
|
+
};
|
|
1009
|
+
this.exchange(message);
|
|
1010
|
+
return {
|
|
1011
|
+
unsubscribe: async () => {
|
|
1012
|
+
let unsubscribeMessage = {
|
|
1013
|
+
type: "unsubscribePrivateChannelEvent",
|
|
1014
|
+
payload: {
|
|
1015
|
+
subscribeType,
|
|
1016
|
+
channel,
|
|
1017
|
+
targetSubscriberId,
|
|
1018
|
+
},
|
|
1019
|
+
meta: this.meta(),
|
|
1020
|
+
};
|
|
1021
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_privateChannelSubscription, "f")[channel] = mmRemove(__classPrivateFieldGet(this, _FinsembleDesktopAgent_privateChannelSubscription, "f"), channel, handlerSet);
|
|
1022
|
+
this.exchange(unsubscribeMessage); // Don't wait for response
|
|
1023
|
+
},
|
|
1024
|
+
};
|
|
1025
|
+
}
|
|
1026
|
+
/** @internal */
|
|
1027
|
+
channelOnAddContextListener(channel, handler) {
|
|
1028
|
+
return this.listenerForPrivateChannelEvent("onAddContextListener", channel, handler);
|
|
1029
|
+
}
|
|
1030
|
+
/** @internal */
|
|
1031
|
+
channelOnUnsubscribe(channel, handler) {
|
|
1032
|
+
return this.listenerForPrivateChannelEvent("onUnsubscribe", channel, handler);
|
|
1033
|
+
}
|
|
1034
|
+
/** @internal */
|
|
1035
|
+
channelOnDisconnect(channel, handler) {
|
|
1036
|
+
return this.listenerForPrivateChannelEvent("onDisconnect", channel, handler);
|
|
1037
|
+
}
|
|
1038
|
+
/** @internal */
|
|
1039
|
+
channelDisconnect(channel) {
|
|
1040
|
+
let message = {
|
|
1041
|
+
type: "channelDisconnect",
|
|
1042
|
+
meta: { ...this.meta(), channel },
|
|
1043
|
+
};
|
|
1044
|
+
this.exchange(message);
|
|
1045
|
+
}
|
|
1046
|
+
/** @internal */
|
|
1047
|
+
channelAddContextListener(channel, contextTypeOrHandler, handler) {
|
|
1048
|
+
// Derives a definitive contextType and handler from the varargs
|
|
1049
|
+
// Possibilities: addContextListener(handler) - deprecated 1.1, addContextListener(null, handler), addContextListener(contextType, handler)
|
|
1050
|
+
const contextTypeOrWildCard = contextTypeOrHandler ? contextTypeOrHandler : "*";
|
|
1051
|
+
const contextType = handler ? contextTypeOrWildCard : "*";
|
|
1052
|
+
if (!handler)
|
|
1053
|
+
handler = contextTypeOrHandler;
|
|
1054
|
+
// A unique targetSubscriberId must be passed in InteropSubscribeContext; the InteropService can direct messages to this specific listener by returning the targetSubscriberId in a broadcast message,
|
|
1055
|
+
const targetSubscriberId = `subscriberId.${Date.now()}_${Math.random()}`;
|
|
1056
|
+
// Bind targetSubscriberId to the specific handler and save in map
|
|
1057
|
+
const handlerSet = { handler, channel, targetSubscriberId };
|
|
1058
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_contextHandlers, "f")[contextType] = mmAdd(__classPrivateFieldGet(this, _FinsembleDesktopAgent_contextHandlers, "f"), contextType, handlerSet);
|
|
1059
|
+
let message = {
|
|
1060
|
+
type: "subscribeContext",
|
|
1061
|
+
meta: { ...this.meta(), targetSubscriberId },
|
|
1062
|
+
payload: {
|
|
1063
|
+
contextType,
|
|
1064
|
+
},
|
|
1065
|
+
};
|
|
1066
|
+
if (channel)
|
|
1067
|
+
message.meta.channel = channel;
|
|
1068
|
+
const exchangePromise = this.exchange(message);
|
|
1069
|
+
return {
|
|
1070
|
+
exchangePromise,
|
|
1071
|
+
unsubscribe: async () => {
|
|
1072
|
+
let unsubscribeMessage = {
|
|
1073
|
+
type: "unsubscribeContext",
|
|
1074
|
+
meta: this.meta(),
|
|
1075
|
+
payload: {
|
|
1076
|
+
contextType,
|
|
1077
|
+
},
|
|
1078
|
+
};
|
|
1079
|
+
if (channel)
|
|
1080
|
+
unsubscribeMessage.meta.channel = channel;
|
|
1081
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_contextHandlers, "f")[contextType] = mmRemove(__classPrivateFieldGet(this, _FinsembleDesktopAgent_contextHandlers, "f"), contextType, handlerSet);
|
|
1082
|
+
this.exchange(unsubscribeMessage); // Don't wait for response
|
|
1083
|
+
},
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
/**
|
|
1087
|
+
* Adds a listener for incoming context broadcast from the Desktop Agent.
|
|
1088
|
+
* If the consumer is only interested in a context of a particular type, they can use the relevant overload that allows the type to be specified.
|
|
1089
|
+
* @param contextTypeOrHandler
|
|
1090
|
+
* @param handler
|
|
1091
|
+
*/
|
|
1092
|
+
addContextListener(contextTypeOrHandler, handler) {
|
|
1093
|
+
if (contextTypeOrHandler === undefined) {
|
|
1094
|
+
throw new Error("addContextListener Invalid arguments. The contextTypeOrHandler parameter shouldn't be undefined.");
|
|
1095
|
+
}
|
|
1096
|
+
if (typeof contextTypeOrHandler !== "function" && !handler) {
|
|
1097
|
+
const msg = "addContextListener Invalid arguments. The required handler parameter is missing.";
|
|
1098
|
+
console.error(msg, contextTypeOrHandler, handler);
|
|
1099
|
+
Logger.system.error(msg);
|
|
1100
|
+
throw new Error(msg);
|
|
1101
|
+
}
|
|
1102
|
+
// Dangerous code: See note at top of file about 1.2 compatibility
|
|
1103
|
+
const { exchangePromise, unsubscribe } = this.channelAddContextListener(null, contextTypeOrHandler, handler);
|
|
1104
|
+
let promise = new Promise((resolve) => {
|
|
1105
|
+
exchangePromise.then(() => {
|
|
1106
|
+
resolve({
|
|
1107
|
+
unsubscribe,
|
|
1108
|
+
});
|
|
1109
|
+
});
|
|
1110
|
+
});
|
|
1111
|
+
promise.unsubscribe = () => {
|
|
1112
|
+
Logger.system.deprecated("Use of the synchronous version of addContextListener from FDC3 1.2 is deprecated. Please switch to `await addContextListener`.");
|
|
1113
|
+
unsubscribe();
|
|
1114
|
+
};
|
|
1115
|
+
return promise;
|
|
1116
|
+
}
|
|
1117
|
+
/**
|
|
1118
|
+
* Joins the app to the specified channel.
|
|
1119
|
+
* If an app is joined to a channel, all fdc3.broadcast calls will go to the channel, and all listeners assigned via fdc3.addContextListener will listen on the channel.
|
|
1120
|
+
* An app can only be joined to one channel at a time.
|
|
1121
|
+
* Rejects with error if the channel is unavailable or the join request is denied.
|
|
1122
|
+
* Error with a string from the ChannelError enumeration.
|
|
1123
|
+
* @param channelId
|
|
1124
|
+
*/
|
|
1125
|
+
async joinUserChannel(channelId) {
|
|
1126
|
+
if (!channelId) {
|
|
1127
|
+
throw new Error("Invalid arguments. The required channelId parameter is missing.");
|
|
1128
|
+
}
|
|
1129
|
+
if (!(await this.isUserChannel(channelId))) {
|
|
1130
|
+
Logger.system.error("Invalid arguments. The channel being joined must be a user channel.");
|
|
1131
|
+
throw new Error(ChannelError.AccessDenied);
|
|
1132
|
+
}
|
|
1133
|
+
// Move this test to the InteropService so no delay is added, which might cause a backwards compatibility issue
|
|
1134
|
+
// const userChannels = await this.getUserChannels();
|
|
1135
|
+
// if (userChannels.find((app) => channelId === app.id) === undefined) {
|
|
1136
|
+
// throw new Error(ChannelError.NoChannelFound);
|
|
1137
|
+
// }
|
|
1138
|
+
const message = {
|
|
1139
|
+
type: "joinChannels",
|
|
1140
|
+
meta: this.meta(),
|
|
1141
|
+
payload: {
|
|
1142
|
+
channels: [channelId],
|
|
1143
|
+
},
|
|
1144
|
+
};
|
|
1145
|
+
const { err, receiveMessage } = await this.exchange(message);
|
|
1146
|
+
const interopJoinChannelsResponse = receiveMessage;
|
|
1147
|
+
if (err) {
|
|
1148
|
+
throw new Error(err);
|
|
1149
|
+
}
|
|
1150
|
+
else if (interopJoinChannelsResponse.payload.error) {
|
|
1151
|
+
throw new Error(interopJoinChannelsResponse.payload.error);
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
async joinChannel(channelId) {
|
|
1155
|
+
return this.joinUserChannel(channelId);
|
|
1156
|
+
}
|
|
1157
|
+
/**
|
|
1158
|
+
* Returns a Channel object for the specified channel, creating it (as an App channel) - if it does not exist.
|
|
1159
|
+
* Error with a string from the ChannelError enumeration if channel could not be created or access was denied.
|
|
1160
|
+
* @param channelId
|
|
1161
|
+
*/
|
|
1162
|
+
async getOrCreateChannel(channelId) {
|
|
1163
|
+
if (!channelId) {
|
|
1164
|
+
Logger.system.debug("getOrCreateChannel: The required channelId parameter is missing.");
|
|
1165
|
+
throw new Error(ChannelError.CreationFailed);
|
|
1166
|
+
}
|
|
1167
|
+
else if (isPrivateChannelId(channelId)) {
|
|
1168
|
+
throw new Error(ChannelError.AccessDenied);
|
|
1169
|
+
}
|
|
1170
|
+
// if channel proxy has already been allocated for the channelId, then return it; otherwise allocate a new one
|
|
1171
|
+
let channelInstance = __classPrivateFieldGet(this, _FinsembleDesktopAgent_existingChannelProxy, "f")[channelId];
|
|
1172
|
+
if (!channelInstance) {
|
|
1173
|
+
channelInstance = new ChannelProxy(this, channelId);
|
|
1174
|
+
__classPrivateFieldGet(this, _FinsembleDesktopAgent_existingChannelProxy, "f")[channelId] = channelInstance;
|
|
1175
|
+
}
|
|
1176
|
+
return channelInstance;
|
|
1177
|
+
}
|
|
1178
|
+
/**
|
|
1179
|
+
* Get all joined channels
|
|
1180
|
+
*
|
|
1181
|
+
* Known race condition: getCurrentChannels() can return an empty string if it is called before the InteropService's linker module
|
|
1182
|
+
* has completed initializing the app. This can occur if fdc3.getCurrentChannels() is the very first call that an app makes. To work around
|
|
1183
|
+
* this issue, use the interop.autoConnect config flag. A future version of the InteropService will hold off on completed registrations
|
|
1184
|
+
* until submodules have finished their work.
|
|
1185
|
+
*/
|
|
1186
|
+
async getCurrentChannels() {
|
|
1187
|
+
const message = {
|
|
1188
|
+
type: "getCurrentChannels",
|
|
1189
|
+
meta: this.meta(),
|
|
1190
|
+
};
|
|
1191
|
+
const { err, receiveMessage } = await this.exchange(message);
|
|
1192
|
+
const interopGetCurrentChannelsResponse = receiveMessage;
|
|
1193
|
+
if (err) {
|
|
1194
|
+
throw new Error(err);
|
|
1195
|
+
}
|
|
1196
|
+
else if (interopGetCurrentChannelsResponse.payload.error) {
|
|
1197
|
+
throw new Error(interopGetCurrentChannelsResponse.payload.error);
|
|
1198
|
+
}
|
|
1199
|
+
else if (!interopGetCurrentChannelsResponse.payload.data) {
|
|
1200
|
+
throw new Error("Invalid response returned from InteropService for getCurrentChannels. No data.");
|
|
1201
|
+
}
|
|
1202
|
+
return interopGetCurrentChannelsResponse.payload.data.map((entry) => {
|
|
1203
|
+
var _a, _b, _c;
|
|
1204
|
+
let metaData;
|
|
1205
|
+
if ((receiveMessage === null || receiveMessage === void 0 ? void 0 : receiveMessage.type) === "interopGetCurrentChannelsResponse" && ((_a = receiveMessage === null || receiveMessage === void 0 ? void 0 : receiveMessage.payload) === null || _a === void 0 ? void 0 : _a.systemChannelMeta)) {
|
|
1206
|
+
metaData = (_c = (_b = receiveMessage === null || receiveMessage === void 0 ? void 0 : receiveMessage.payload) === null || _b === void 0 ? void 0 : _b.systemChannelMeta[entry.channel]) === null || _c === void 0 ? void 0 : _c.displayMetaData;
|
|
1207
|
+
}
|
|
1208
|
+
return new ChannelProxy(this, entry.channel, "user", metaData);
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
1211
|
+
/**
|
|
1212
|
+
* Returns the Channel object for the current channel membership.
|
|
1213
|
+
* Returns null if the app is not joined to a channel.
|
|
1214
|
+
*/
|
|
1215
|
+
async getCurrentChannel() {
|
|
1216
|
+
const channels = await this.getCurrentChannels();
|
|
1217
|
+
return channels && channels.length ? channels[0] : null;
|
|
1218
|
+
}
|
|
1219
|
+
/**
|
|
1220
|
+
* Removes the app from any channel membership.
|
|
1221
|
+
* Context broadcast and listening through the top-level fdc3.broadcast and fdc3.addContextListener will be in a no-op when the app is not on a channel.
|
|
1222
|
+
*/
|
|
1223
|
+
async leaveCurrentChannel() {
|
|
1224
|
+
const message = {
|
|
1225
|
+
type: "leaveChannels",
|
|
1226
|
+
meta: this.meta(),
|
|
1227
|
+
payload: {},
|
|
1228
|
+
};
|
|
1229
|
+
await this.exchange(message);
|
|
1230
|
+
}
|
|
1231
|
+
/**
|
|
1232
|
+
* Removes the app from the channel.
|
|
1233
|
+
* Context broadcast and listening through the top-level fdc3.broadcast and fdc3.addContextListener will be in a no-op when the app is not on the channel.
|
|
1234
|
+
*/
|
|
1235
|
+
async leaveChannel(channelId) {
|
|
1236
|
+
const message = {
|
|
1237
|
+
type: "leaveChannels",
|
|
1238
|
+
meta: this.meta(),
|
|
1239
|
+
payload: { channels: [channelId] },
|
|
1240
|
+
};
|
|
1241
|
+
await this.exchange(message);
|
|
1242
|
+
}
|
|
1243
|
+
/**
|
|
1244
|
+
* Return specified app's meta data.
|
|
1245
|
+
*/
|
|
1246
|
+
async getAppMetadata(app) {
|
|
1247
|
+
var _a;
|
|
1248
|
+
if (!app || !(app === null || app === void 0 ? void 0 : app.appId)) {
|
|
1249
|
+
throw new Error("getAppMetadata: The required app parameter is missing or not an AppIdentifier.");
|
|
1250
|
+
}
|
|
1251
|
+
const message = {
|
|
1252
|
+
type: "getAppMetadata",
|
|
1253
|
+
app,
|
|
1254
|
+
meta: this.meta(),
|
|
1255
|
+
};
|
|
1256
|
+
const { err, receiveMessage } = await this.exchange(message);
|
|
1257
|
+
const interopGetCurrentChannelsResponse = receiveMessage;
|
|
1258
|
+
if (err) {
|
|
1259
|
+
throw new Error(err);
|
|
1260
|
+
}
|
|
1261
|
+
else if (interopGetCurrentChannelsResponse.payload.error) {
|
|
1262
|
+
throw new Error(interopGetCurrentChannelsResponse.payload.error);
|
|
1263
|
+
}
|
|
1264
|
+
else if (!interopGetCurrentChannelsResponse.payload.appMetadata) {
|
|
1265
|
+
throw new Error("Invalid response returned from InteropService for getAppMetadata. No data.");
|
|
1266
|
+
}
|
|
1267
|
+
return (_a = interopGetCurrentChannelsResponse.payload) === null || _a === void 0 ? void 0 : _a.appMetadata;
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* Return all the open instances of given appID.
|
|
1271
|
+
*/
|
|
1272
|
+
async findInstances(app) {
|
|
1273
|
+
let instances = [];
|
|
1274
|
+
const message = {
|
|
1275
|
+
type: "findInstances",
|
|
1276
|
+
app,
|
|
1277
|
+
meta: this.meta(),
|
|
1278
|
+
};
|
|
1279
|
+
if (app === null || app === void 0 ? void 0 : app.appId) {
|
|
1280
|
+
const { err, receiveMessage } = await this.exchange(message);
|
|
1281
|
+
const response = receiveMessage;
|
|
1282
|
+
if (err) {
|
|
1283
|
+
throw new Error(err);
|
|
1284
|
+
}
|
|
1285
|
+
else if (response.payload.error) {
|
|
1286
|
+
throw new Error(response.payload.error);
|
|
1287
|
+
}
|
|
1288
|
+
else if (!response.payload.instances) {
|
|
1289
|
+
throw new Error("Invalid response returned from InteropService for findInstances. No data.");
|
|
1290
|
+
}
|
|
1291
|
+
({ instances } = response.payload);
|
|
1292
|
+
}
|
|
1293
|
+
return instances;
|
|
1294
|
+
}
|
|
1295
|
+
async addEventListener(type, handler) {
|
|
1296
|
+
console.log("addEventListener is a FDC3 2.2.0 feature that is not implemented in Finsemble.");
|
|
1297
|
+
return {
|
|
1298
|
+
unsubscribe: async () => { },
|
|
1299
|
+
};
|
|
1300
|
+
}
|
|
1301
|
+
/**
|
|
1302
|
+
* Retrieves information about the FDC3 Desktop Agent implementation, such as
|
|
1303
|
+
* the implemented version of the FDC3 specification and the name of the implementation
|
|
1304
|
+
* provider.
|
|
1305
|
+
*/
|
|
1306
|
+
getInfo() {
|
|
1307
|
+
// Dangerous code: See note at top of file about 1.2 compatibility
|
|
1308
|
+
let p = new Promise(async (resolve) => {
|
|
1309
|
+
const { data: FSBLVersion } = await ConfigClient.get(["finsemble", "system", "FSBLVersion"]);
|
|
1310
|
+
const { appMetadata: startupMetadata } = await this.fetchStartupData();
|
|
1311
|
+
// The interopService has more appMetaData than startup, plus it should be the single source of true for an app's metaData
|
|
1312
|
+
const fullAppMetadata = await this.getAppMetadata({ appId: startupMetadata.appId, instanceId: __classPrivateFieldGet(this, _FinsembleDesktopAgent_uuid, "f") });
|
|
1313
|
+
resolve({
|
|
1314
|
+
fdc3Version: "2.1",
|
|
1315
|
+
provider: "Finsemble",
|
|
1316
|
+
providerVersion: FSBLVersion,
|
|
1317
|
+
appMetadata: fullAppMetadata,
|
|
1318
|
+
optionalFeatures: {
|
|
1319
|
+
OriginatingAppMetadata: true,
|
|
1320
|
+
UserChannelMembershipAPIs: true,
|
|
1321
|
+
},
|
|
1322
|
+
});
|
|
1323
|
+
});
|
|
1324
|
+
// Backward compatibility for 1.2 which expects this to be synchronous
|
|
1325
|
+
p.fdc3Version = "1.2";
|
|
1326
|
+
p.provider = "Finsemble";
|
|
1327
|
+
p.providerVersion = __classPrivateFieldGet(this, _FinsembleDesktopAgent_FSBLVersion, "f");
|
|
1328
|
+
return p;
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
_FinsembleDesktopAgent_connected = new WeakMap(), _FinsembleDesktopAgent_heartbeatMonitor = new WeakMap(), _FinsembleDesktopAgent_startHasBeenCalled = new WeakMap(), _FinsembleDesktopAgent_uuid = new WeakMap(), _FinsembleDesktopAgent_appId = new WeakMap(), _FinsembleDesktopAgent_clientChannel = new WeakMap(), _FinsembleDesktopAgent_intentHandlers = new WeakMap(), _FinsembleDesktopAgent_contextHandlers = new WeakMap(), _FinsembleDesktopAgent_privateChannelSubscription = new WeakMap(), _FinsembleDesktopAgent_intentResultPromiseMap = new WeakMap(), _FinsembleDesktopAgent_intentResultPromiseResolveMap = new WeakMap(), _FinsembleDesktopAgent_queue = new WeakMap(), _FinsembleDesktopAgent_routerClient = new WeakMap(), _FinsembleDesktopAgent_startup = new WeakMap(), _FinsembleDesktopAgent_windowName = new WeakMap(), _FinsembleDesktopAgent_existingChannelProxy = new WeakMap(), _FinsembleDesktopAgent_FSBLVersion = new WeakMap(), _FinsembleDesktopAgent_userChannels = new WeakMap();
|
|
1309
1332
|
//# sourceMappingURL=FinsembleDesktopAgent.js.map
|