@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
package/clients/logger.js
CHANGED
|
@@ -1,932 +1,941 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 - 2020 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* The Logger Client supports very efficient and configurable run-time logging to the <a href="/docs/troubleshooting/CentralLogger">Central Logger</a>.
|
|
7
|
-
* Logging has a small performance overhead, so developers can liberally instrument their code with log messages for debugging and diagnostics.
|
|
8
|
-
* By default, only error and warning messages are captured by the Logger, with the other message types (e.g., log, info, debug) disabled.
|
|
9
|
-
* Which message types are enabled or disabled is fully controlled from the <a href="/docs/troubleshooting/CentralLogger">Central Logger</a> - this means developers can fully instrument their code once and dynamically enable and disable logging later, as needed, for debugging or field support.
|
|
10
|
-
*
|
|
11
|
-
* The Finsemble team uses the Central Logger to <a href="/docs/troubleshooting/troubleshooting">capture log message for field support</a>.
|
|
12
|
-
* Finsemble customers, building their own Finsemble applications, have the option to do the same.
|
|
13
|
-
*
|
|
14
|
-
* :::note
|
|
15
|
-
* The Logger Client **wraps** all console logging (e.g., `console.error`, `console.log`) so these message can also be captured and viewed in the Central Logger. Console logging is never disabled locally. For better performance, we recommend most of your code's instrumentation be based on the Logger Client (e.g., `FSBL.Clients.Logger.debug(...)` instead of the `console.debug(...)`).
|
|
16
|
-
* :::
|
|
17
|
-
*
|
|
18
|
-
* Using the Logger is similar to using the browser's console for logging (e.g., `console.error` or `console.log`), although the Logger Client is accessed through the FSBL object as shown in the examples below.
|
|
19
|
-
*
|
|
20
|
-
* ```javascript
|
|
21
|
-
* FSBL.Clients.Logger.error("an error message", anErrorObject);
|
|
22
|
-
* FSBL.Clients.Logger.warn("a warning message", object1, object2, object3);
|
|
23
|
-
* FSBL.Clients.Logger.log("logging message");
|
|
24
|
-
* FSBL.Clients.Logger.info("logging message");
|
|
25
|
-
* FSBL.Clients.Logger.log("log message");
|
|
26
|
-
* FSBL.Clients.Logger.debug("debug message");
|
|
27
|
-
* ```
|
|
28
|
-
* @module Logger
|
|
29
|
-
*/
|
|
30
|
-
import { System } from "../common/system";
|
|
31
|
-
import { Startup } from "./Startup/Startup";
|
|
32
|
-
import { Performance } from "../common/Performance";
|
|
33
|
-
import RouterClient from "./routerClient";
|
|
34
|
-
import ConfigClient from "./configClient";
|
|
35
|
-
import { singleton } from "../common/Singleton";
|
|
36
|
-
import throttle from "lodash/throttle";
|
|
37
|
-
import { cloneDeep } from "lodash";
|
|
38
|
-
import { Globals } from "../common/Globals";
|
|
39
|
-
import SystemManagerClient from "../common/systemManagerClient";
|
|
40
|
-
// capture "everything" at startup; will be filtered later as needed when LoggerService's registration response provides settings; overhead here is not too high
|
|
41
|
-
const DEFAULT_LOG_SETTINGS = {
|
|
42
|
-
Error: true,
|
|
43
|
-
Warn: true,
|
|
44
|
-
Info: true,
|
|
45
|
-
Log: true,
|
|
46
|
-
Debug: true,
|
|
47
|
-
Verbose: false,
|
|
48
|
-
LocalOnly: false,
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Logger.console has all-inclusive default settings because we always want to capture these
|
|
52
|
-
* if the central logger hasn't yet provided current settings. This is particularly important
|
|
53
|
-
* for debugging startup failures.
|
|
54
|
-
*/
|
|
55
|
-
const DEFAULT_LOG_SETTINGS_CONSOLE = {
|
|
56
|
-
Error: true,
|
|
57
|
-
Warn: true,
|
|
58
|
-
Info: true,
|
|
59
|
-
Log: true,
|
|
60
|
-
Debug: true,
|
|
61
|
-
Verbose: true,
|
|
62
|
-
LocalOnly: false,
|
|
63
|
-
};
|
|
64
|
-
let MAX_LOG_MESSAGE_SIZE = 5000;
|
|
65
|
-
const OVER_LOG_SIZE_LIMIT_MESSAGE = `NOTE: LOG ARG STRIPPED since greater than ${MAX_LOG_MESSAGE_SIZE / 1000}KB. Check origin's local Console to see output of the complete object.`;
|
|
66
|
-
const MAX_QUEUE_SIZE = 20 * 1000; // maximum logger queue size; plenty of space except in config service; generally shouldn't need much since continuously sending to logger if working correctly;
|
|
67
|
-
const initialLogState = {
|
|
68
|
-
console: DEFAULT_LOG_SETTINGS_CONSOLE,
|
|
69
|
-
dev: DEFAULT_LOG_SETTINGS,
|
|
70
|
-
system: DEFAULT_LOG_SETTINGS,
|
|
71
|
-
perf: DEFAULT_LOG_SETTINGS,
|
|
72
|
-
};
|
|
73
|
-
const traceString = () => {
|
|
74
|
-
function getPosition(string, subString, index) {
|
|
75
|
-
return string.split(subString, index).join(subString).length;
|
|
76
|
-
}
|
|
77
|
-
function getErrorObject() {
|
|
78
|
-
try {
|
|
79
|
-
throw Error("");
|
|
80
|
-
}
|
|
81
|
-
catch (err) {
|
|
82
|
-
return err;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
const { stack } = getErrorObject();
|
|
86
|
-
// set number of initial lines in trace to filter out
|
|
87
|
-
let traceOffset = 6;
|
|
88
|
-
if (stack.includes("console.error")) {
|
|
89
|
-
traceOffset++;
|
|
90
|
-
}
|
|
91
|
-
const position = getPosition(stack, "\n", traceOffset);
|
|
92
|
-
const tString = stack.substring(position); // strip off irrelevant part of stack
|
|
93
|
-
return `Log Stack: \n${tString.substr(1)}`; // insert description
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* Roughly estimates size of object
|
|
97
|
-
* @param {object} object object to estimate size for
|
|
98
|
-
* @param {number} roughMaxSizeCounted specifies rough max size to count - once this size is reached can stop
|
|
99
|
-
|
|
100
|
-
*/
|
|
101
|
-
const getRoughSizeOfObject = (object) => {
|
|
102
|
-
const RoughMaxSizeCounted = MAX_LOG_MESSAGE_SIZE + 1;
|
|
103
|
-
const objectList = [];
|
|
104
|
-
const stack = [object];
|
|
105
|
-
let bytes = 0;
|
|
106
|
-
// prevent infinite recursion, but note each array element is an attempt
|
|
107
|
-
let attempts = 0;
|
|
108
|
-
while (stack.length && attempts <= RoughMaxSizeCounted) {
|
|
109
|
-
attempts++;
|
|
110
|
-
const value = stack.pop();
|
|
111
|
-
if (typeof value === "boolean") {
|
|
112
|
-
bytes = bytes + 4;
|
|
113
|
-
}
|
|
114
|
-
else if (typeof value === "string") {
|
|
115
|
-
bytes = bytes + value.length * 2;
|
|
116
|
-
}
|
|
117
|
-
else if (typeof value === "number") {
|
|
118
|
-
bytes = bytes + 8;
|
|
119
|
-
}
|
|
120
|
-
else if (typeof value === "object" && objectList.indexOf(value) === -1) {
|
|
121
|
-
objectList.push(value);
|
|
122
|
-
for (const i in value) {
|
|
123
|
-
stack.push(value[i]);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
return bytes;
|
|
128
|
-
};
|
|
129
|
-
// Strip an argument down to a smaller size that can be logged, while retaining some data that might be useful.
|
|
130
|
-
// To limit complexity, this is best effort only, both for capturing useful data and for stripping to the target size.
|
|
131
|
-
// Stripped data is replaced with a tag to avoid ambiguity in interpreting the data.
|
|
132
|
-
// Note: If each object is a tree, both breadth and depth are considered to get a broader range of kept data; however, the
|
|
133
|
-
// the efficacy of this algorithm is data dependent.
|
|
134
|
-
const getStrippedSmallerObject = (objectToStrip, roughMaxSize, totalBytesUsed = 0, depth = 1) => {
|
|
135
|
-
const SoftMaxTotalTargetSize = MAX_LOG_MESSAGE_SIZE / 1.5;
|
|
136
|
-
const BaseMaxTargetTotalSize = roughMaxSize / 2;
|
|
137
|
-
const MaxPropertySize = BaseMaxTargetTotalSize / 2;
|
|
138
|
-
const StrippedMarker = "*STRIPPED*";
|
|
139
|
-
const TryToKeepSize = 100;
|
|
140
|
-
const KeepSize = 10;
|
|
141
|
-
const KeepDepth = 3;
|
|
142
|
-
const KeepBreath = 1;
|
|
143
|
-
const stripArray = (array) => {
|
|
144
|
-
let arraySize = getRoughSizeOfObject(array);
|
|
145
|
-
if (array.length > 0 && arraySize > MaxPropertySize) {
|
|
146
|
-
// assume each array is homogeneous, so only keep the first element of the array as a representative sample of data
|
|
147
|
-
array[0] = getStrippedSmallerObject(array[0], BaseMaxTargetTotalSize, totalBytesUsed, depth + 1);
|
|
148
|
-
// mark the array stripped
|
|
149
|
-
array[1] = `${StrippedMarker} from size ${array.length}`;
|
|
150
|
-
array.length = 2;
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
let strippedObject = cloneDeep(objectToStrip);
|
|
154
|
-
if (typeof strippedObject !== "object") {
|
|
155
|
-
// Simply strip if not an object. Example case is AssimilationService logging a string over 100K, plus target size will grow progressively smaller as depth increases.
|
|
156
|
-
strippedObject = StrippedMarker;
|
|
157
|
-
totalBytesUsed = totalBytesUsed + getRoughSizeOfObject(strippedObject);
|
|
158
|
-
}
|
|
159
|
-
else if (Array.isArray(strippedObject)) {
|
|
160
|
-
stripArray(strippedObject);
|
|
161
|
-
totalBytesUsed = totalBytesUsed + getRoughSizeOfObject(strippedObject);
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
let propertyNames = Object.getOwnPropertyNames(strippedObject);
|
|
165
|
-
// loop though each of the object properties stripping them as needed
|
|
166
|
-
for (let i = 0; i < propertyNames.length; i++) {
|
|
167
|
-
let roughSize = getRoughSizeOfObject(strippedObject[propertyNames[i]]);
|
|
168
|
-
// If total size is getting big (BaseMaxTargetTotalSize), still try to keep all data under a specified size (TryToKeepSize), up a specified depth (KeepDepth), and a specified breath (KeepBreath)
|
|
169
|
-
if (totalBytesUsed > BaseMaxTargetTotalSize &&
|
|
170
|
-
roughSize > TryToKeepSize &&
|
|
171
|
-
depth >= KeepDepth &&
|
|
172
|
-
i >= KeepBreath) {
|
|
173
|
-
strippedObject[propertyNames[i]] = StrippedMarker;
|
|
174
|
-
// If total size is too big (SoftMaxTotalTargetSize) AND the property is large enough to strip, then must radically strip
|
|
175
|
-
}
|
|
176
|
-
else if (totalBytesUsed > SoftMaxTotalTargetSize && roughSize >= KeepSize) {
|
|
177
|
-
strippedObject[propertyNames[i]] = StrippedMarker;
|
|
178
|
-
// Otherwise only strip objects that are proportionally too big (i.e. greater than MaxPropertySize)
|
|
179
|
-
}
|
|
180
|
-
else if (roughSize > MaxPropertySize) {
|
|
181
|
-
if (Array.isArray(strippedObject[propertyNames[i]])) {
|
|
182
|
-
stripArray(strippedObject[propertyNames[i]]);
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
// Recursive call where the target size gets progressively smaller as the depth increases
|
|
186
|
-
strippedObject[propertyNames[i]] = getStrippedSmallerObject(strippedObject[propertyNames[i]], roughMaxSize / 1.2, totalBytesUsed, depth + 1);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
totalBytesUsed = totalBytesUsed + getRoughSizeOfObject(strippedObject[propertyNames[i]]);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
return strippedObject;
|
|
193
|
-
};
|
|
194
|
-
/**
|
|
195
|
-
* The router uses this to filter out certain channels
|
|
196
|
-
*/
|
|
197
|
-
const channelFilter = (channel) =>
|
|
198
|
-
// remove Finsemble.heartbeat transmits/receives for the time being, also prevent logging of log messages
|
|
199
|
-
channel === "logger.service.logMessages" || channel === "Finsemble.heartbeat";
|
|
200
|
-
/**
|
|
201
|
-
* @ignore
|
|
202
|
-
*/
|
|
203
|
-
export class LoggerConnection {
|
|
204
|
-
constructor() {
|
|
205
|
-
this.routerClient = null;
|
|
206
|
-
this.viewId = null;
|
|
207
|
-
this.isRegistering = false; // if registering start
|
|
208
|
-
this.isRegistered = false; // if registering complete
|
|
209
|
-
this.calibratedTimeStampOffset = 0;
|
|
210
|
-
this.newCalibratedTimeStampOffset = 0;
|
|
211
|
-
this.filteredMessagesCounter = 0;
|
|
212
|
-
this.startupTime = 0;
|
|
213
|
-
this.loggerQueue = [];
|
|
214
|
-
this.loggerClientName = System.Window.getCurrent().name;
|
|
215
|
-
this.onLogStateChangeCallback = [];
|
|
216
|
-
// Will be updated on registration with Central Logger, but capture everything until then.
|
|
217
|
-
this.currentLogState = initialLogState;
|
|
218
|
-
this.skipLargeObjects = true;
|
|
219
|
-
this.setRouterClient = (routerClient) => {
|
|
220
|
-
this.routerClient = routerClient;
|
|
221
|
-
};
|
|
222
|
-
this.system = {
|
|
223
|
-
error: (...args) => {
|
|
224
|
-
this.logIt("system", "Error", args);
|
|
225
|
-
},
|
|
226
|
-
warn: (...args) => {
|
|
227
|
-
this.logIt("system", "Warn", args);
|
|
228
|
-
},
|
|
229
|
-
info: (...args) => {
|
|
230
|
-
this.logIt("system", "Info", args);
|
|
231
|
-
},
|
|
232
|
-
log: (...args) => {
|
|
233
|
-
this.logIt("system", "Log", args);
|
|
234
|
-
},
|
|
235
|
-
debug: (...args) => {
|
|
236
|
-
this.logIt("system", "Debug", args);
|
|
237
|
-
},
|
|
238
|
-
verbose: (...args) => {
|
|
239
|
-
this.logIt("system", "Verbose", args);
|
|
240
|
-
},
|
|
241
|
-
deprecated: (...args) => {
|
|
242
|
-
this.logIt("system", "Error", args);
|
|
243
|
-
},
|
|
244
|
-
};
|
|
245
|
-
this.perf = {
|
|
246
|
-
error: (...args) => {
|
|
247
|
-
this.logIt("perf", "Error", args);
|
|
248
|
-
},
|
|
249
|
-
warn: (...args) => {
|
|
250
|
-
this.logIt("perf", "Warn", args);
|
|
251
|
-
},
|
|
252
|
-
info: (...args) => {
|
|
253
|
-
this.logIt("perf", "Info", args);
|
|
254
|
-
},
|
|
255
|
-
log: (...args) => {
|
|
256
|
-
this.logIt("perf", "Log", args);
|
|
257
|
-
},
|
|
258
|
-
debug: (...args) => {
|
|
259
|
-
this.logIt("perf", "Debug", args);
|
|
260
|
-
},
|
|
261
|
-
verbose: (...args) => {
|
|
262
|
-
this.logIt("perf", "Verbose", args);
|
|
263
|
-
},
|
|
264
|
-
deprecated: (...args) => {
|
|
265
|
-
this.logIt("perf", "Error", args);
|
|
266
|
-
},
|
|
267
|
-
};
|
|
268
|
-
this.console = {
|
|
269
|
-
error: (...args) => {
|
|
270
|
-
this.logIt("console", "Error", args);
|
|
271
|
-
},
|
|
272
|
-
warn: (...args) => {
|
|
273
|
-
this.logIt("console", "Warn", args);
|
|
274
|
-
},
|
|
275
|
-
info: (...args) => {
|
|
276
|
-
this.logIt("console", "Info", args);
|
|
277
|
-
},
|
|
278
|
-
log: (...args) => {
|
|
279
|
-
this.logIt("console", "Log", args);
|
|
280
|
-
},
|
|
281
|
-
debug: (...args) => {
|
|
282
|
-
this.logIt("console", "Debug", args);
|
|
283
|
-
},
|
|
284
|
-
verbose: (...args) => {
|
|
285
|
-
this.logIt("console", "Verbose", args);
|
|
286
|
-
},
|
|
287
|
-
deprecated: (...args) => {
|
|
288
|
-
this.logIt("console", "Error", args);
|
|
289
|
-
},
|
|
290
|
-
};
|
|
291
|
-
const transmitAndClearQueue = () => {
|
|
292
|
-
var _a;
|
|
293
|
-
if (this.loggerQueue.length > 0) {
|
|
294
|
-
(_a = this.routerClient) === null || _a === void 0 ? void 0 : _a.transmit("logger.service.logMessages", this.loggerQueue);
|
|
295
|
-
this.loggerQueue = [];
|
|
296
|
-
}
|
|
297
|
-
};
|
|
298
|
-
// HERE is the interval for transmitting queued messages to the logger service
|
|
299
|
-
// An earlier interval for non-routerService windows was 250. This resulted in very large (e.g. 12MB) messages that contributes to overall delays and higher peak memory usage.
|
|
300
|
-
// However, making the interval small enough (e.g. 20) to ensure small messages increased the traffic too much. So a value of 125 appears to be a reasonable balance.
|
|
301
|
-
const ms = this.loggerClientName === "routerService" ? 100 : 125;
|
|
302
|
-
this.transmitAndClearQueue = throttle(transmitAndClearQueue, ms, {
|
|
303
|
-
leading: false,
|
|
304
|
-
});
|
|
305
|
-
}
|
|
306
|
-
// if log state changes then update queue based on that data (e.g. if no longer logging debug messages, then remove them from the queue)
|
|
307
|
-
updateQueueBasedOnState(calibrateTimeFlag) {
|
|
308
|
-
const { loggerQueue, currentLogState, calibratedTimeStampOffset } = this;
|
|
309
|
-
this.system.debug("Logger updateQueueBasedOnState", calibrateTimeFlag, calibratedTimeStampOffset, "QUEUE LENGTH", loggerQueue.length, currentLogState);
|
|
310
|
-
this.loggerQueue = loggerQueue.flatMap((message) => {
|
|
311
|
-
if (currentLogState[message.category][message.logType]) {
|
|
312
|
-
if (!currentLogState[message.category].LocalOnly) {
|
|
313
|
-
if (calibrateTimeFlag) {
|
|
314
|
-
message.logTimestamp = message.logTimestamp + calibratedTimeStampOffset; // if flag set then timestamp hasn't been adjusted yet by calibrated offset time
|
|
315
|
-
}
|
|
316
|
-
return [message];
|
|
317
|
-
}
|
|
318
|
-
else {
|
|
319
|
-
// only now know LocalOnly for messages, so print those queued out otherwise they will be lost
|
|
320
|
-
globalThis.console.log(message.category, message.logType, message.logTimestamp - Performance.timing.navigationStart, message.logData, "(Previously queued!)");
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
return [];
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
onStateChanged(cb) {
|
|
327
|
-
if (this.onLogStateChangeCallback.indexOf(cb) === -1) {
|
|
328
|
-
this.onLogStateChangeCallback.push(cb);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
setLogState(state, calibrateTimeFlag) {
|
|
332
|
-
if (state && state.dev) {
|
|
333
|
-
this.currentLogState = state;
|
|
334
|
-
this.onLogStateChangeCallback.forEach((callback) => {
|
|
335
|
-
callback(state);
|
|
336
|
-
});
|
|
337
|
-
}
|
|
338
|
-
this.updateQueueBasedOnState(calibrateTimeFlag);
|
|
339
|
-
}
|
|
340
|
-
addToQueue(message) {
|
|
341
|
-
const { loggerQueue } = this;
|
|
342
|
-
if (loggerQueue.length < MAX_QUEUE_SIZE) {
|
|
343
|
-
loggerQueue.push(message);
|
|
344
|
-
}
|
|
345
|
-
else {
|
|
346
|
-
globalThis.console.error("Logging Queue Overflowed! Dumping queue here then continuing", loggerQueue.length);
|
|
347
|
-
let counter = 0;
|
|
348
|
-
let logMessage;
|
|
349
|
-
while ((logMessage = loggerQueue.shift())) {
|
|
350
|
-
globalThis.console.log(`Message ${counter++}`, logMessage);
|
|
351
|
-
}
|
|
352
|
-
this.system.error("Logging Queue Overflowed! Dumping queue in client then continuing.");
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
callStack() {
|
|
356
|
-
return traceString();
|
|
357
|
-
}
|
|
358
|
-
setting() {
|
|
359
|
-
return this.currentLogState;
|
|
360
|
-
}
|
|
361
|
-
outputToConsole(level, args) {
|
|
362
|
-
var _a;
|
|
363
|
-
const where = {
|
|
364
|
-
Debug: globalThis.console.debug,
|
|
365
|
-
Info: globalThis.console.info,
|
|
366
|
-
Warn: globalThis.console.warn,
|
|
367
|
-
Error: (_a = globalThis.console.unwrappedError) !== null && _a !== void 0 ? _a : globalThis.console.error,
|
|
368
|
-
Log: globalThis.console.log,
|
|
369
|
-
Verbose: globalThis.console.log,
|
|
370
|
-
};
|
|
371
|
-
// Helper to flatten the array of arguments passed in, so we can log the full message locally.
|
|
372
|
-
//const flatten = (arr : any[]) => arr.reduce((flat, toFlatten) => flat.concat(Array.isArray(toFlatten) ? flatten(toFlatten) : toFlatten), []);
|
|
373
|
-
try {
|
|
374
|
-
where[level](...args);
|
|
375
|
-
}
|
|
376
|
-
catch (err) {
|
|
377
|
-
where.Warn("Error outputting log to console", err, traceString());
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
formatAndQueueMessage(category, level, args) {
|
|
381
|
-
var _a;
|
|
382
|
-
const force = args[0] === "forceObjectsToLogger";
|
|
383
|
-
// Kicks out overly-large objects to prevent the loggerService from jamming up.
|
|
384
|
-
// Ideally instead of not sending the message at all, we could send the first X bytes of the message.
|
|
385
|
-
const filteredArgs = args.flatMap((arg) => {
|
|
386
|
-
const messageSize = getRoughSizeOfObject(arg);
|
|
387
|
-
if (!force && messageSize > MAX_LOG_MESSAGE_SIZE) {
|
|
388
|
-
this.outputToConsole("Warn", [
|
|
389
|
-
`Message too large to send to the logger. Max message size:${MAX_LOG_MESSAGE_SIZE / 1000}KB`,
|
|
390
|
-
`Approx message size: ${messageSize / 1000}KB`,
|
|
391
|
-
...args,
|
|
392
|
-
]);
|
|
393
|
-
if (this.skipLargeObjects) {
|
|
394
|
-
return [
|
|
395
|
-
`Log argument greater than ${MAX_LOG_MESSAGE_SIZE / 1000}KB. Check local Console to see output of the object.`,
|
|
396
|
-
];
|
|
397
|
-
}
|
|
398
|
-
else {
|
|
399
|
-
const strippedArg = getStrippedSmallerObject(arg, MAX_LOG_MESSAGE_SIZE);
|
|
400
|
-
const strippedSize = getRoughSizeOfObject(strippedArg);
|
|
401
|
-
// Send the stripped version of the arg as the log data. Note that the strip algorithm is best effort.
|
|
402
|
-
// In some rare cases the stripped arg might still be too big. If this happens, the algorithm gives up and doesn't send any partial arg.
|
|
403
|
-
if (strippedSize > MAX_LOG_MESSAGE_SIZE) {
|
|
404
|
-
return [
|
|
405
|
-
`LOG ARG STRIPPED but not logged here still greater than ${MAX_LOG_MESSAGE_SIZE / 1000}KB. Check local Console to see output of the object. (Tag:Logging-Drop)`,
|
|
406
|
-
];
|
|
407
|
-
}
|
|
408
|
-
else {
|
|
409
|
-
return [
|
|
410
|
-
OVER_LOG_SIZE_LIMIT_MESSAGE,
|
|
411
|
-
`OldSize=${messageSize} (Tag:Logging-Strip) NewSize=${strippedSize}`,
|
|
412
|
-
strippedArg,
|
|
413
|
-
];
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
else if (arg instanceof Error) {
|
|
418
|
-
// Convert arg into a string if it doesn't stringify properly. JavaScript Error class (such as thrown by an unhandled exception) doesn't stringify properly so you must coerce it to a string.
|
|
419
|
-
return [arg.toString()];
|
|
420
|
-
}
|
|
421
|
-
else if (arg === "forceObjectsToLogger") {
|
|
422
|
-
// Don't send the first argument to the router, maybe in the future we can use Logger.force.error() instead
|
|
423
|
-
return [];
|
|
424
|
-
}
|
|
425
|
-
else {
|
|
426
|
-
return [arg];
|
|
427
|
-
}
|
|
428
|
-
});
|
|
429
|
-
let logData = null;
|
|
430
|
-
try {
|
|
431
|
-
logData = JSON.stringify(filteredArgs);
|
|
432
|
-
}
|
|
433
|
-
catch (err) {
|
|
434
|
-
logData = `*** Logger error can't JSON.stringify: ${traceString()}`;
|
|
435
|
-
}
|
|
436
|
-
const outputToConsoleType = level === "Error" || level === "Warn" || category === "console";
|
|
437
|
-
// if console type, or error or warning, then always log locally
|
|
438
|
-
if (outputToConsoleType && !Globals.runningInFSBLUnitTest)
|
|
439
|
-
this.outputToConsole(level, args);
|
|
440
|
-
const myViewId = (_a = this.viewId) !== null && _a !== void 0 ? _a : (System.isBrowserView() && System.getWebContentsId());
|
|
441
|
-
const message = {
|
|
442
|
-
// Replace "console" with "system" for transmission to the central logger
|
|
443
|
-
category: category === "console" ? "system" : category,
|
|
444
|
-
logType: level,
|
|
445
|
-
logClientName: myViewId ? `${this.loggerClientName}: view-${myViewId}` : this.loggerClientName,
|
|
446
|
-
logData,
|
|
447
|
-
logTimestamp: Performance.timing.navigationStart + Performance.now() + this.calibratedTimeStampOffset,
|
|
448
|
-
};
|
|
449
|
-
if (myViewId)
|
|
450
|
-
message.viewId = myViewId;
|
|
451
|
-
this.addToQueue(message);
|
|
452
|
-
if (this.isRegistered)
|
|
453
|
-
this.transmitAndClearQueue();
|
|
454
|
-
}
|
|
455
|
-
logIt(category, level, args) {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
if (
|
|
461
|
-
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
this.logIt("dev", "
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
this.logIt("dev", "
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
this.logIt("dev", "
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
this.logIt("dev", "
|
|
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
|
-
loggerConnection
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
*
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
loggerConnection
|
|
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
|
-
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
795
|
-
return loggerConnection.
|
|
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
|
-
|
|
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
|
-
warn: globalThis.console.warn,
|
|
898
|
-
info: globalThis.console.info,
|
|
899
|
-
log: globalThis.console.log,
|
|
900
|
-
debug: globalThis.console.debug,
|
|
901
|
-
error: globalThis.console.error,
|
|
902
|
-
verbose: globalThis.console.debug,
|
|
903
|
-
deprecated: globalThis.console.error,
|
|
904
|
-
},
|
|
905
|
-
|
|
906
|
-
warn: globalThis.console.warn,
|
|
907
|
-
info: globalThis.console.info,
|
|
908
|
-
log: globalThis.console.log,
|
|
909
|
-
debug: globalThis.console.debug,
|
|
910
|
-
error: globalThis.console.error,
|
|
911
|
-
verbose: globalThis.console.debug,
|
|
912
|
-
deprecated: globalThis.console.error,
|
|
913
|
-
},
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
*
|
|
926
|
-
*/
|
|
927
|
-
|
|
928
|
-
/**
|
|
929
|
-
*
|
|
930
|
-
*/
|
|
931
|
-
export
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 - 2020 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* The Logger Client supports very efficient and configurable run-time logging to the <a href="/docs/troubleshooting/CentralLogger">Central Logger</a>.
|
|
7
|
+
* Logging has a small performance overhead, so developers can liberally instrument their code with log messages for debugging and diagnostics.
|
|
8
|
+
* By default, only error and warning messages are captured by the Logger, with the other message types (e.g., log, info, debug) disabled.
|
|
9
|
+
* Which message types are enabled or disabled is fully controlled from the <a href="/docs/troubleshooting/CentralLogger">Central Logger</a> - this means developers can fully instrument their code once and dynamically enable and disable logging later, as needed, for debugging or field support.
|
|
10
|
+
*
|
|
11
|
+
* The Finsemble team uses the Central Logger to <a href="/docs/troubleshooting/troubleshooting">capture log message for field support</a>.
|
|
12
|
+
* Finsemble customers, building their own Finsemble applications, have the option to do the same.
|
|
13
|
+
*
|
|
14
|
+
* :::note
|
|
15
|
+
* The Logger Client **wraps** all console logging (e.g., `console.error`, `console.log`) so these message can also be captured and viewed in the Central Logger. Console logging is never disabled locally. For better performance, we recommend most of your code's instrumentation be based on the Logger Client (e.g., `FSBL.Clients.Logger.debug(...)` instead of the `console.debug(...)`).
|
|
16
|
+
* :::
|
|
17
|
+
*
|
|
18
|
+
* Using the Logger is similar to using the browser's console for logging (e.g., `console.error` or `console.log`), although the Logger Client is accessed through the FSBL object as shown in the examples below.
|
|
19
|
+
*
|
|
20
|
+
* ```javascript
|
|
21
|
+
* FSBL.Clients.Logger.error("an error message", anErrorObject);
|
|
22
|
+
* FSBL.Clients.Logger.warn("a warning message", object1, object2, object3);
|
|
23
|
+
* FSBL.Clients.Logger.log("logging message");
|
|
24
|
+
* FSBL.Clients.Logger.info("logging message");
|
|
25
|
+
* FSBL.Clients.Logger.log("log message");
|
|
26
|
+
* FSBL.Clients.Logger.debug("debug message");
|
|
27
|
+
* ```
|
|
28
|
+
* @module Logger
|
|
29
|
+
*/
|
|
30
|
+
import { System } from "../common/system";
|
|
31
|
+
import { Startup } from "./Startup/Startup";
|
|
32
|
+
import { Performance } from "../common/Performance";
|
|
33
|
+
import RouterClient from "./routerClient";
|
|
34
|
+
import ConfigClient from "./configClient";
|
|
35
|
+
import { singleton } from "../common/Singleton";
|
|
36
|
+
import throttle from "lodash/throttle";
|
|
37
|
+
import { cloneDeep } from "lodash";
|
|
38
|
+
import { Globals } from "../common/Globals";
|
|
39
|
+
import SystemManagerClient from "../common/systemManagerClient";
|
|
40
|
+
// capture "everything" at startup; will be filtered later as needed when LoggerService's registration response provides settings; overhead here is not too high
|
|
41
|
+
const DEFAULT_LOG_SETTINGS = {
|
|
42
|
+
Error: true,
|
|
43
|
+
Warn: true,
|
|
44
|
+
Info: true,
|
|
45
|
+
Log: true,
|
|
46
|
+
Debug: true,
|
|
47
|
+
Verbose: false,
|
|
48
|
+
LocalOnly: false,
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Logger.console has all-inclusive default settings because we always want to capture these
|
|
52
|
+
* if the central logger hasn't yet provided current settings. This is particularly important
|
|
53
|
+
* for debugging startup failures.
|
|
54
|
+
*/
|
|
55
|
+
const DEFAULT_LOG_SETTINGS_CONSOLE = {
|
|
56
|
+
Error: true,
|
|
57
|
+
Warn: true,
|
|
58
|
+
Info: true,
|
|
59
|
+
Log: true,
|
|
60
|
+
Debug: true,
|
|
61
|
+
Verbose: true,
|
|
62
|
+
LocalOnly: false,
|
|
63
|
+
};
|
|
64
|
+
let MAX_LOG_MESSAGE_SIZE = 5000;
|
|
65
|
+
const OVER_LOG_SIZE_LIMIT_MESSAGE = `NOTE: LOG ARG STRIPPED since greater than ${MAX_LOG_MESSAGE_SIZE / 1000}KB. Check origin's local Console to see output of the complete object.`;
|
|
66
|
+
const MAX_QUEUE_SIZE = 20 * 1000; // maximum logger queue size; plenty of space except in config service; generally shouldn't need much since continuously sending to logger if working correctly;
|
|
67
|
+
const initialLogState = {
|
|
68
|
+
console: DEFAULT_LOG_SETTINGS_CONSOLE,
|
|
69
|
+
dev: DEFAULT_LOG_SETTINGS,
|
|
70
|
+
system: DEFAULT_LOG_SETTINGS,
|
|
71
|
+
perf: DEFAULT_LOG_SETTINGS,
|
|
72
|
+
};
|
|
73
|
+
const traceString = () => {
|
|
74
|
+
function getPosition(string, subString, index) {
|
|
75
|
+
return string.split(subString, index).join(subString).length;
|
|
76
|
+
}
|
|
77
|
+
function getErrorObject() {
|
|
78
|
+
try {
|
|
79
|
+
throw Error("");
|
|
80
|
+
}
|
|
81
|
+
catch (err) {
|
|
82
|
+
return err;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
const { stack } = getErrorObject();
|
|
86
|
+
// set number of initial lines in trace to filter out
|
|
87
|
+
let traceOffset = 6;
|
|
88
|
+
if (stack.includes("console.error")) {
|
|
89
|
+
traceOffset++;
|
|
90
|
+
}
|
|
91
|
+
const position = getPosition(stack, "\n", traceOffset);
|
|
92
|
+
const tString = stack.substring(position); // strip off irrelevant part of stack
|
|
93
|
+
return `Log Stack: \n${tString.substr(1)}`; // insert description
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Roughly estimates size of object
|
|
97
|
+
* @param {object} object object to estimate size for
|
|
98
|
+
* @param {number} roughMaxSizeCounted specifies rough max size to count - once this size is reached can stop
|
|
99
|
+
|
|
100
|
+
*/
|
|
101
|
+
const getRoughSizeOfObject = (object) => {
|
|
102
|
+
const RoughMaxSizeCounted = MAX_LOG_MESSAGE_SIZE + 1;
|
|
103
|
+
const objectList = [];
|
|
104
|
+
const stack = [object];
|
|
105
|
+
let bytes = 0;
|
|
106
|
+
// prevent infinite recursion, but note each array element is an attempt
|
|
107
|
+
let attempts = 0;
|
|
108
|
+
while (stack.length && attempts <= RoughMaxSizeCounted) {
|
|
109
|
+
attempts++;
|
|
110
|
+
const value = stack.pop();
|
|
111
|
+
if (typeof value === "boolean") {
|
|
112
|
+
bytes = bytes + 4;
|
|
113
|
+
}
|
|
114
|
+
else if (typeof value === "string") {
|
|
115
|
+
bytes = bytes + value.length * 2;
|
|
116
|
+
}
|
|
117
|
+
else if (typeof value === "number") {
|
|
118
|
+
bytes = bytes + 8;
|
|
119
|
+
}
|
|
120
|
+
else if (typeof value === "object" && objectList.indexOf(value) === -1) {
|
|
121
|
+
objectList.push(value);
|
|
122
|
+
for (const i in value) {
|
|
123
|
+
stack.push(value[i]);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return bytes;
|
|
128
|
+
};
|
|
129
|
+
// Strip an argument down to a smaller size that can be logged, while retaining some data that might be useful.
|
|
130
|
+
// To limit complexity, this is best effort only, both for capturing useful data and for stripping to the target size.
|
|
131
|
+
// Stripped data is replaced with a tag to avoid ambiguity in interpreting the data.
|
|
132
|
+
// Note: If each object is a tree, both breadth and depth are considered to get a broader range of kept data; however, the
|
|
133
|
+
// the efficacy of this algorithm is data dependent.
|
|
134
|
+
const getStrippedSmallerObject = (objectToStrip, roughMaxSize, totalBytesUsed = 0, depth = 1) => {
|
|
135
|
+
const SoftMaxTotalTargetSize = MAX_LOG_MESSAGE_SIZE / 1.5;
|
|
136
|
+
const BaseMaxTargetTotalSize = roughMaxSize / 2;
|
|
137
|
+
const MaxPropertySize = BaseMaxTargetTotalSize / 2;
|
|
138
|
+
const StrippedMarker = "*STRIPPED*";
|
|
139
|
+
const TryToKeepSize = 100;
|
|
140
|
+
const KeepSize = 10;
|
|
141
|
+
const KeepDepth = 3;
|
|
142
|
+
const KeepBreath = 1;
|
|
143
|
+
const stripArray = (array) => {
|
|
144
|
+
let arraySize = getRoughSizeOfObject(array);
|
|
145
|
+
if (array.length > 0 && arraySize > MaxPropertySize) {
|
|
146
|
+
// assume each array is homogeneous, so only keep the first element of the array as a representative sample of data
|
|
147
|
+
array[0] = getStrippedSmallerObject(array[0], BaseMaxTargetTotalSize, totalBytesUsed, depth + 1);
|
|
148
|
+
// mark the array stripped
|
|
149
|
+
array[1] = `${StrippedMarker} from size ${array.length}`;
|
|
150
|
+
array.length = 2;
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
let strippedObject = cloneDeep(objectToStrip);
|
|
154
|
+
if (typeof strippedObject !== "object") {
|
|
155
|
+
// Simply strip if not an object. Example case is AssimilationService logging a string over 100K, plus target size will grow progressively smaller as depth increases.
|
|
156
|
+
strippedObject = StrippedMarker;
|
|
157
|
+
totalBytesUsed = totalBytesUsed + getRoughSizeOfObject(strippedObject);
|
|
158
|
+
}
|
|
159
|
+
else if (Array.isArray(strippedObject)) {
|
|
160
|
+
stripArray(strippedObject);
|
|
161
|
+
totalBytesUsed = totalBytesUsed + getRoughSizeOfObject(strippedObject);
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
let propertyNames = Object.getOwnPropertyNames(strippedObject);
|
|
165
|
+
// loop though each of the object properties stripping them as needed
|
|
166
|
+
for (let i = 0; i < propertyNames.length; i++) {
|
|
167
|
+
let roughSize = getRoughSizeOfObject(strippedObject[propertyNames[i]]);
|
|
168
|
+
// If total size is getting big (BaseMaxTargetTotalSize), still try to keep all data under a specified size (TryToKeepSize), up a specified depth (KeepDepth), and a specified breath (KeepBreath)
|
|
169
|
+
if (totalBytesUsed > BaseMaxTargetTotalSize &&
|
|
170
|
+
roughSize > TryToKeepSize &&
|
|
171
|
+
depth >= KeepDepth &&
|
|
172
|
+
i >= KeepBreath) {
|
|
173
|
+
strippedObject[propertyNames[i]] = StrippedMarker;
|
|
174
|
+
// If total size is too big (SoftMaxTotalTargetSize) AND the property is large enough to strip, then must radically strip
|
|
175
|
+
}
|
|
176
|
+
else if (totalBytesUsed > SoftMaxTotalTargetSize && roughSize >= KeepSize) {
|
|
177
|
+
strippedObject[propertyNames[i]] = StrippedMarker;
|
|
178
|
+
// Otherwise only strip objects that are proportionally too big (i.e. greater than MaxPropertySize)
|
|
179
|
+
}
|
|
180
|
+
else if (roughSize > MaxPropertySize) {
|
|
181
|
+
if (Array.isArray(strippedObject[propertyNames[i]])) {
|
|
182
|
+
stripArray(strippedObject[propertyNames[i]]);
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
// Recursive call where the target size gets progressively smaller as the depth increases
|
|
186
|
+
strippedObject[propertyNames[i]] = getStrippedSmallerObject(strippedObject[propertyNames[i]], roughMaxSize / 1.2, totalBytesUsed, depth + 1);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
totalBytesUsed = totalBytesUsed + getRoughSizeOfObject(strippedObject[propertyNames[i]]);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return strippedObject;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* The router uses this to filter out certain channels
|
|
196
|
+
*/
|
|
197
|
+
const channelFilter = (channel) =>
|
|
198
|
+
// remove Finsemble.heartbeat transmits/receives for the time being, also prevent logging of log messages
|
|
199
|
+
channel === "logger.service.logMessages" || channel === "Finsemble.heartbeat";
|
|
200
|
+
/**
|
|
201
|
+
* @ignore
|
|
202
|
+
*/
|
|
203
|
+
export class LoggerConnection {
|
|
204
|
+
constructor() {
|
|
205
|
+
this.routerClient = null;
|
|
206
|
+
this.viewId = null;
|
|
207
|
+
this.isRegistering = false; // if registering start
|
|
208
|
+
this.isRegistered = false; // if registering complete
|
|
209
|
+
this.calibratedTimeStampOffset = 0;
|
|
210
|
+
this.newCalibratedTimeStampOffset = 0;
|
|
211
|
+
this.filteredMessagesCounter = 0;
|
|
212
|
+
this.startupTime = 0;
|
|
213
|
+
this.loggerQueue = [];
|
|
214
|
+
this.loggerClientName = System.Window.getCurrent().name;
|
|
215
|
+
this.onLogStateChangeCallback = [];
|
|
216
|
+
// Will be updated on registration with Central Logger, but capture everything until then.
|
|
217
|
+
this.currentLogState = initialLogState;
|
|
218
|
+
this.skipLargeObjects = true;
|
|
219
|
+
this.setRouterClient = (routerClient) => {
|
|
220
|
+
this.routerClient = routerClient;
|
|
221
|
+
};
|
|
222
|
+
this.system = {
|
|
223
|
+
error: (...args) => {
|
|
224
|
+
this.logIt("system", "Error", args);
|
|
225
|
+
},
|
|
226
|
+
warn: (...args) => {
|
|
227
|
+
this.logIt("system", "Warn", args);
|
|
228
|
+
},
|
|
229
|
+
info: (...args) => {
|
|
230
|
+
this.logIt("system", "Info", args);
|
|
231
|
+
},
|
|
232
|
+
log: (...args) => {
|
|
233
|
+
this.logIt("system", "Log", args);
|
|
234
|
+
},
|
|
235
|
+
debug: (...args) => {
|
|
236
|
+
this.logIt("system", "Debug", args);
|
|
237
|
+
},
|
|
238
|
+
verbose: (...args) => {
|
|
239
|
+
this.logIt("system", "Verbose", args);
|
|
240
|
+
},
|
|
241
|
+
deprecated: (...args) => {
|
|
242
|
+
this.logIt("system", "Error", args);
|
|
243
|
+
},
|
|
244
|
+
};
|
|
245
|
+
this.perf = {
|
|
246
|
+
error: (...args) => {
|
|
247
|
+
this.logIt("perf", "Error", args);
|
|
248
|
+
},
|
|
249
|
+
warn: (...args) => {
|
|
250
|
+
this.logIt("perf", "Warn", args);
|
|
251
|
+
},
|
|
252
|
+
info: (...args) => {
|
|
253
|
+
this.logIt("perf", "Info", args);
|
|
254
|
+
},
|
|
255
|
+
log: (...args) => {
|
|
256
|
+
this.logIt("perf", "Log", args);
|
|
257
|
+
},
|
|
258
|
+
debug: (...args) => {
|
|
259
|
+
this.logIt("perf", "Debug", args);
|
|
260
|
+
},
|
|
261
|
+
verbose: (...args) => {
|
|
262
|
+
this.logIt("perf", "Verbose", args);
|
|
263
|
+
},
|
|
264
|
+
deprecated: (...args) => {
|
|
265
|
+
this.logIt("perf", "Error", args);
|
|
266
|
+
},
|
|
267
|
+
};
|
|
268
|
+
this.console = {
|
|
269
|
+
error: (...args) => {
|
|
270
|
+
this.logIt("console", "Error", args);
|
|
271
|
+
},
|
|
272
|
+
warn: (...args) => {
|
|
273
|
+
this.logIt("console", "Warn", args);
|
|
274
|
+
},
|
|
275
|
+
info: (...args) => {
|
|
276
|
+
this.logIt("console", "Info", args);
|
|
277
|
+
},
|
|
278
|
+
log: (...args) => {
|
|
279
|
+
this.logIt("console", "Log", args);
|
|
280
|
+
},
|
|
281
|
+
debug: (...args) => {
|
|
282
|
+
this.logIt("console", "Debug", args);
|
|
283
|
+
},
|
|
284
|
+
verbose: (...args) => {
|
|
285
|
+
this.logIt("console", "Verbose", args);
|
|
286
|
+
},
|
|
287
|
+
deprecated: (...args) => {
|
|
288
|
+
this.logIt("console", "Error", args);
|
|
289
|
+
},
|
|
290
|
+
};
|
|
291
|
+
const transmitAndClearQueue = () => {
|
|
292
|
+
var _a;
|
|
293
|
+
if (this.loggerQueue.length > 0) {
|
|
294
|
+
(_a = this.routerClient) === null || _a === void 0 ? void 0 : _a.transmit("logger.service.logMessages", this.loggerQueue);
|
|
295
|
+
this.loggerQueue = [];
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
// HERE is the interval for transmitting queued messages to the logger service
|
|
299
|
+
// An earlier interval for non-routerService windows was 250. This resulted in very large (e.g. 12MB) messages that contributes to overall delays and higher peak memory usage.
|
|
300
|
+
// However, making the interval small enough (e.g. 20) to ensure small messages increased the traffic too much. So a value of 125 appears to be a reasonable balance.
|
|
301
|
+
const ms = this.loggerClientName === "routerService" ? 100 : 125;
|
|
302
|
+
this.transmitAndClearQueue = throttle(transmitAndClearQueue, ms, {
|
|
303
|
+
leading: false,
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
// if log state changes then update queue based on that data (e.g. if no longer logging debug messages, then remove them from the queue)
|
|
307
|
+
updateQueueBasedOnState(calibrateTimeFlag) {
|
|
308
|
+
const { loggerQueue, currentLogState, calibratedTimeStampOffset } = this;
|
|
309
|
+
this.system.debug("Logger updateQueueBasedOnState", calibrateTimeFlag, calibratedTimeStampOffset, "QUEUE LENGTH", loggerQueue.length, currentLogState);
|
|
310
|
+
this.loggerQueue = loggerQueue.flatMap((message) => {
|
|
311
|
+
if (currentLogState[message.category][message.logType]) {
|
|
312
|
+
if (!currentLogState[message.category].LocalOnly) {
|
|
313
|
+
if (calibrateTimeFlag) {
|
|
314
|
+
message.logTimestamp = message.logTimestamp + calibratedTimeStampOffset; // if flag set then timestamp hasn't been adjusted yet by calibrated offset time
|
|
315
|
+
}
|
|
316
|
+
return [message];
|
|
317
|
+
}
|
|
318
|
+
else {
|
|
319
|
+
// only now know LocalOnly for messages, so print those queued out otherwise they will be lost
|
|
320
|
+
globalThis.console.log(message.category, message.logType, message.logTimestamp - Performance.timing.navigationStart, message.logData, "(Previously queued!)");
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
return [];
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
onStateChanged(cb) {
|
|
327
|
+
if (this.onLogStateChangeCallback.indexOf(cb) === -1) {
|
|
328
|
+
this.onLogStateChangeCallback.push(cb);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
setLogState(state, calibrateTimeFlag) {
|
|
332
|
+
if (state && state.dev) {
|
|
333
|
+
this.currentLogState = state;
|
|
334
|
+
this.onLogStateChangeCallback.forEach((callback) => {
|
|
335
|
+
callback(state);
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
this.updateQueueBasedOnState(calibrateTimeFlag);
|
|
339
|
+
}
|
|
340
|
+
addToQueue(message) {
|
|
341
|
+
const { loggerQueue } = this;
|
|
342
|
+
if (loggerQueue.length < MAX_QUEUE_SIZE) {
|
|
343
|
+
loggerQueue.push(message);
|
|
344
|
+
}
|
|
345
|
+
else {
|
|
346
|
+
globalThis.console.error("Logging Queue Overflowed! Dumping queue here then continuing", loggerQueue.length);
|
|
347
|
+
let counter = 0;
|
|
348
|
+
let logMessage;
|
|
349
|
+
while ((logMessage = loggerQueue.shift())) {
|
|
350
|
+
globalThis.console.log(`Message ${counter++}`, logMessage);
|
|
351
|
+
}
|
|
352
|
+
this.system.error("Logging Queue Overflowed! Dumping queue in client then continuing.");
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
callStack() {
|
|
356
|
+
return traceString();
|
|
357
|
+
}
|
|
358
|
+
setting() {
|
|
359
|
+
return this.currentLogState;
|
|
360
|
+
}
|
|
361
|
+
outputToConsole(level, args) {
|
|
362
|
+
var _a;
|
|
363
|
+
const where = {
|
|
364
|
+
Debug: globalThis.console.debug,
|
|
365
|
+
Info: globalThis.console.info,
|
|
366
|
+
Warn: globalThis.console.warn,
|
|
367
|
+
Error: (_a = globalThis.console.unwrappedError) !== null && _a !== void 0 ? _a : globalThis.console.error,
|
|
368
|
+
Log: globalThis.console.log,
|
|
369
|
+
Verbose: globalThis.console.log,
|
|
370
|
+
};
|
|
371
|
+
// Helper to flatten the array of arguments passed in, so we can log the full message locally.
|
|
372
|
+
//const flatten = (arr : any[]) => arr.reduce((flat, toFlatten) => flat.concat(Array.isArray(toFlatten) ? flatten(toFlatten) : toFlatten), []);
|
|
373
|
+
try {
|
|
374
|
+
where[level](...args);
|
|
375
|
+
}
|
|
376
|
+
catch (err) {
|
|
377
|
+
where.Warn("Error outputting log to console", err, traceString());
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
formatAndQueueMessage(category, level, args) {
|
|
381
|
+
var _a;
|
|
382
|
+
const force = args[0] === "forceObjectsToLogger";
|
|
383
|
+
// Kicks out overly-large objects to prevent the loggerService from jamming up.
|
|
384
|
+
// Ideally instead of not sending the message at all, we could send the first X bytes of the message.
|
|
385
|
+
const filteredArgs = args.flatMap((arg) => {
|
|
386
|
+
const messageSize = getRoughSizeOfObject(arg);
|
|
387
|
+
if (!force && messageSize > MAX_LOG_MESSAGE_SIZE) {
|
|
388
|
+
this.outputToConsole("Warn", [
|
|
389
|
+
`Message too large to send to the logger. Max message size:${MAX_LOG_MESSAGE_SIZE / 1000}KB`,
|
|
390
|
+
`Approx message size: ${messageSize / 1000}KB`,
|
|
391
|
+
...args,
|
|
392
|
+
]);
|
|
393
|
+
if (this.skipLargeObjects) {
|
|
394
|
+
return [
|
|
395
|
+
`Log argument greater than ${MAX_LOG_MESSAGE_SIZE / 1000}KB. Check local Console to see output of the object.`,
|
|
396
|
+
];
|
|
397
|
+
}
|
|
398
|
+
else {
|
|
399
|
+
const strippedArg = getStrippedSmallerObject(arg, MAX_LOG_MESSAGE_SIZE);
|
|
400
|
+
const strippedSize = getRoughSizeOfObject(strippedArg);
|
|
401
|
+
// Send the stripped version of the arg as the log data. Note that the strip algorithm is best effort.
|
|
402
|
+
// In some rare cases the stripped arg might still be too big. If this happens, the algorithm gives up and doesn't send any partial arg.
|
|
403
|
+
if (strippedSize > MAX_LOG_MESSAGE_SIZE) {
|
|
404
|
+
return [
|
|
405
|
+
`LOG ARG STRIPPED but not logged here still greater than ${MAX_LOG_MESSAGE_SIZE / 1000}KB. Check local Console to see output of the object. (Tag:Logging-Drop)`,
|
|
406
|
+
];
|
|
407
|
+
}
|
|
408
|
+
else {
|
|
409
|
+
return [
|
|
410
|
+
OVER_LOG_SIZE_LIMIT_MESSAGE,
|
|
411
|
+
`OldSize=${messageSize} (Tag:Logging-Strip) NewSize=${strippedSize}`,
|
|
412
|
+
strippedArg,
|
|
413
|
+
];
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
else if (arg instanceof Error) {
|
|
418
|
+
// Convert arg into a string if it doesn't stringify properly. JavaScript Error class (such as thrown by an unhandled exception) doesn't stringify properly so you must coerce it to a string.
|
|
419
|
+
return [arg.toString()];
|
|
420
|
+
}
|
|
421
|
+
else if (arg === "forceObjectsToLogger") {
|
|
422
|
+
// Don't send the first argument to the router, maybe in the future we can use Logger.force.error() instead
|
|
423
|
+
return [];
|
|
424
|
+
}
|
|
425
|
+
else {
|
|
426
|
+
return [arg];
|
|
427
|
+
}
|
|
428
|
+
});
|
|
429
|
+
let logData = null;
|
|
430
|
+
try {
|
|
431
|
+
logData = JSON.stringify(filteredArgs);
|
|
432
|
+
}
|
|
433
|
+
catch (err) {
|
|
434
|
+
logData = `*** Logger error can't JSON.stringify: ${traceString()}`;
|
|
435
|
+
}
|
|
436
|
+
const outputToConsoleType = level === "Error" || level === "Warn" || category === "console";
|
|
437
|
+
// if console type, or error or warning, then always log locally
|
|
438
|
+
if (outputToConsoleType && !Globals.runningInFSBLUnitTest)
|
|
439
|
+
this.outputToConsole(level, args);
|
|
440
|
+
const myViewId = (_a = this.viewId) !== null && _a !== void 0 ? _a : (System.isBrowserView() && System.getWebContentsId());
|
|
441
|
+
const message = {
|
|
442
|
+
// Replace "console" with "system" for transmission to the central logger
|
|
443
|
+
category: category === "console" ? "system" : category,
|
|
444
|
+
logType: level,
|
|
445
|
+
logClientName: myViewId ? `${this.loggerClientName}: view-${myViewId}` : this.loggerClientName,
|
|
446
|
+
logData,
|
|
447
|
+
logTimestamp: Performance.timing.navigationStart + Performance.now() + this.calibratedTimeStampOffset,
|
|
448
|
+
};
|
|
449
|
+
if (myViewId)
|
|
450
|
+
message.viewId = myViewId;
|
|
451
|
+
this.addToQueue(message);
|
|
452
|
+
if (this.isRegistered)
|
|
453
|
+
this.transmitAndClearQueue();
|
|
454
|
+
}
|
|
455
|
+
logIt(category, level, args) {
|
|
456
|
+
var _a;
|
|
457
|
+
if (globalThis.glue42gd) {
|
|
458
|
+
// If we're using an imported Logger while running in the polyfill, then redirect
|
|
459
|
+
// log messages to the polyfill logger API
|
|
460
|
+
if (globalThis.FSBL) {
|
|
461
|
+
(_a = globalThis.FSBL.Clients.Logger) === null || _a === void 0 ? void 0 : _a[level.toLowerCase()](...args);
|
|
462
|
+
}
|
|
463
|
+
return;
|
|
464
|
+
}
|
|
465
|
+
if (this.currentLogState[category][level]) {
|
|
466
|
+
if (level === "Warn" || level === "Error") {
|
|
467
|
+
args.push(traceString());
|
|
468
|
+
}
|
|
469
|
+
if (!this.currentLogState[category].LocalOnly) {
|
|
470
|
+
this.formatAndQueueMessage(category, level, args);
|
|
471
|
+
}
|
|
472
|
+
else {
|
|
473
|
+
const lowerCaseLevel = level.toLowerCase();
|
|
474
|
+
args.unshift(`${category} ${lowerCaseLevel} (${Performance.now()}):`);
|
|
475
|
+
this.outputToConsole(level, args);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
error(...args) {
|
|
480
|
+
this.logIt("dev", "Error", args);
|
|
481
|
+
}
|
|
482
|
+
warn(...args) {
|
|
483
|
+
this.logIt("dev", "Warn", args);
|
|
484
|
+
}
|
|
485
|
+
info(...args) {
|
|
486
|
+
this.logIt("dev", "Info", args);
|
|
487
|
+
}
|
|
488
|
+
log(...args) {
|
|
489
|
+
this.logIt("dev", "Log", args);
|
|
490
|
+
}
|
|
491
|
+
debug(...args) {
|
|
492
|
+
this.logIt("dev", "Debug", args);
|
|
493
|
+
}
|
|
494
|
+
verbose(...args) {
|
|
495
|
+
this.logIt("dev", "Verbose", args);
|
|
496
|
+
}
|
|
497
|
+
deprecated(...args) {
|
|
498
|
+
this.logIt("dev", "Error", args);
|
|
499
|
+
}
|
|
500
|
+
completeRegistration(loggerState) {
|
|
501
|
+
ConfigClient.get(["finsemble", "servicesConfig", "logger"], (err, data) => {
|
|
502
|
+
var _a, _b;
|
|
503
|
+
if (!err) {
|
|
504
|
+
this.skipLargeObjects = (_a = data === null || data === void 0 ? void 0 : data.skipLargeObjects) !== null && _a !== void 0 ? _a : this.skipLargeObjects;
|
|
505
|
+
/**
|
|
506
|
+
* Config created to allow for easier testing
|
|
507
|
+
*/
|
|
508
|
+
MAX_LOG_MESSAGE_SIZE = (_b = data === null || data === void 0 ? void 0 : data.maxLogMessageSize) !== null && _b !== void 0 ? _b : MAX_LOG_MESSAGE_SIZE;
|
|
509
|
+
}
|
|
510
|
+
});
|
|
511
|
+
// Since we don't have a viewId when early logger messages were received, we now loop through the queue and add the viewId
|
|
512
|
+
this.loggerQueue.forEach((message) => {
|
|
513
|
+
if (this.viewId)
|
|
514
|
+
message.viewId = this.viewId;
|
|
515
|
+
});
|
|
516
|
+
this.isRegistered = true;
|
|
517
|
+
if (loggerState) {
|
|
518
|
+
if (this.loggerClientName !== "routerService") {
|
|
519
|
+
this.calibratedTimeStampOffset = this.newCalibratedTimeStampOffset; // from now the real offset time will be used for all timestamps
|
|
520
|
+
this.setLogState(loggerState, true); // true indicates must adjust already queued timestamps by the new offset time
|
|
521
|
+
}
|
|
522
|
+
else {
|
|
523
|
+
// The router service doesn't need to calibrate time since it is the reference time
|
|
524
|
+
this.setLogState(loggerState, false);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
else {
|
|
528
|
+
globalThis.console.error("Logger.startLogger() Initial state not received from logger service");
|
|
529
|
+
}
|
|
530
|
+
this.formatAndQueueMessage("system", "Debug", ["Logger Registered"]);
|
|
531
|
+
this.transmitAndClearQueue();
|
|
532
|
+
}
|
|
533
|
+
registerWithLoggerService() {
|
|
534
|
+
var _a;
|
|
535
|
+
const { windowName, webContentsName } = Startup.getInstance().getStartupData();
|
|
536
|
+
// If in an iframe then append the name
|
|
537
|
+
this.loggerClientName = typeof window !== "undefined" && window.top !== window ? `${windowName}.Frame` : windowName;
|
|
538
|
+
const clientChannel = `finsemble.logger.client.${this.loggerClientName}`;
|
|
539
|
+
//viewId may not be set when the logger is constructed. Clients aren't registered until FSBL is ready so it will definitely be set by now.
|
|
540
|
+
if (!this.viewId && System.isBrowserView())
|
|
541
|
+
this.viewId = System.getWebContentsId();
|
|
542
|
+
this.system.debug("logger.service.registering", this.loggerClientName);
|
|
543
|
+
System.Window.getCurrent().getOptions(async (options) => {
|
|
544
|
+
var _a, _b;
|
|
545
|
+
const centralLoggerNamePrefix = (_b = (_a = options === null || options === void 0 ? void 0 : options.customData) === null || _a === void 0 ? void 0 : _a.component) === null || _b === void 0 ? void 0 : _b.centralLoggerNamePrefix;
|
|
546
|
+
if (!this.routerClient)
|
|
547
|
+
return;
|
|
548
|
+
const { err, response } = await this.routerClient.query("logger.service.register", {
|
|
549
|
+
clientName: this.loggerClientName,
|
|
550
|
+
clientChannel,
|
|
551
|
+
displayName: webContentsName !== null && webContentsName !== void 0 ? webContentsName : windowName,
|
|
552
|
+
windowName,
|
|
553
|
+
viewId: this.viewId,
|
|
554
|
+
centralLoggerNamePrefix: centralLoggerNamePrefix,
|
|
555
|
+
});
|
|
556
|
+
if (err) {
|
|
557
|
+
globalThis.console.warn("Logger service not available. Trying to connect again in 750ms.", err);
|
|
558
|
+
// for some very early clients the logger may not be ready yet, so retry after a small wait
|
|
559
|
+
setTimeout(() => {
|
|
560
|
+
this.registerWithLoggerService();
|
|
561
|
+
}, 750);
|
|
562
|
+
}
|
|
563
|
+
else {
|
|
564
|
+
this.completeRegistration(response.data);
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
(_a = this.routerClient) === null || _a === void 0 ? void 0 : _a.addListener(clientChannel, (error, message) => {
|
|
568
|
+
this.system.debug("logger.client.setLogState", message.data);
|
|
569
|
+
this.setLogState(message.data, false);
|
|
570
|
+
});
|
|
571
|
+
}
|
|
572
|
+
unregisterClient(params, cb) {
|
|
573
|
+
var _a;
|
|
574
|
+
this.system.debug("logger.service.unregister", this.loggerClientName, params, this.viewId);
|
|
575
|
+
this.transmitAndClearQueue(); // send any message currently in the log queue
|
|
576
|
+
const unregisterParams = params || {
|
|
577
|
+
clientName: this.loggerClientName,
|
|
578
|
+
viewId: this.viewId,
|
|
579
|
+
};
|
|
580
|
+
(_a = this.routerClient) === null || _a === void 0 ? void 0 : _a.query("logger.service.unregister", unregisterParams, cb);
|
|
581
|
+
}
|
|
582
|
+
async waitForServiceAndCalibrate() {
|
|
583
|
+
var _a;
|
|
584
|
+
await SystemManagerClient.waitForStartup("loggerService");
|
|
585
|
+
this.system.debug("Logger onReady", this.loggerClientName);
|
|
586
|
+
// You must calibrate the timer so that the messages are correctly sorted in the central logger;
|
|
587
|
+
// this is necessary because there is timer drift between windows --- this appears to be a Chromium
|
|
588
|
+
// bug we have to work around it. The timeOffset value adjusts the time using the routerService's
|
|
589
|
+
// time as a central reference point.
|
|
590
|
+
(_a = this.routerClient) === null || _a === void 0 ? void 0 : _a.calibrateTimeWithRouterService((timeOffset) => {
|
|
591
|
+
this.newCalibratedTimeStampOffset = timeOffset;
|
|
592
|
+
if (!this.isRegistering) {
|
|
593
|
+
this.isRegistering = true;
|
|
594
|
+
this.startupTime = performance.now() - this.startupTime;
|
|
595
|
+
this.registerWithLoggerService();
|
|
596
|
+
}
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
async start(routerClient) {
|
|
600
|
+
this.routerClient = routerClient !== null && routerClient !== void 0 ? routerClient : RouterClient;
|
|
601
|
+
this.startupTime = performance.now();
|
|
602
|
+
await this.waitForServiceAndCalibrate();
|
|
603
|
+
// Unregister browser views as they are removed
|
|
604
|
+
if (System.isBrowserView() && Globals.addEventListener) {
|
|
605
|
+
Globals.addEventListener("beforeunload", () => {
|
|
606
|
+
this.unregisterClient();
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* @language javascript, java, dotnet
|
|
613
|
+
* Log a dev error message.
|
|
614
|
+
*
|
|
615
|
+
* ```javascript
|
|
616
|
+
* FSBL.Clients.Logger.error("some message", parm1, parm2);
|
|
617
|
+
* ```
|
|
618
|
+
* @param {any} message parameter of any type that can be stringified (e.g. string, object)
|
|
619
|
+
*/
|
|
620
|
+
export const error = (...args) => {
|
|
621
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
622
|
+
return loggerConnection.error(...args);
|
|
623
|
+
};
|
|
624
|
+
/**
|
|
625
|
+
* @language javascript, java, dotnet
|
|
626
|
+
* Log a dev warning message.
|
|
627
|
+
*
|
|
628
|
+
*
|
|
629
|
+
* ```javascript
|
|
630
|
+
* FSBL.Clients.Logger.warn("some message", parm1, parm2);
|
|
631
|
+
* ```
|
|
632
|
+
* @param {any} message parameter of any type that can be stringified (e.g. string, object)
|
|
633
|
+
*/
|
|
634
|
+
export const warn = (...args) => {
|
|
635
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
636
|
+
return loggerConnection.warn(...args);
|
|
637
|
+
};
|
|
638
|
+
/**
|
|
639
|
+
* @language javascript, java, dotnet
|
|
640
|
+
* Log a dev info message.
|
|
641
|
+
*
|
|
642
|
+
* ```javascript
|
|
643
|
+
* FSBL.Clients.Logger.info("some message", parm1, parm2);
|
|
644
|
+
* ```
|
|
645
|
+
* @param {any} message parameter of any type that can be stringified (e.g. string, object)
|
|
646
|
+
*/
|
|
647
|
+
export const info = (...args) => {
|
|
648
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
649
|
+
return loggerConnection.info(...args);
|
|
650
|
+
};
|
|
651
|
+
/**
|
|
652
|
+
* @language javascript, java, dotnet
|
|
653
|
+
* Log a dev log message.
|
|
654
|
+
*
|
|
655
|
+
* ```javascript
|
|
656
|
+
* FSBL.Clients.Logger.log("some message", parm1, parm2);
|
|
657
|
+
* ```
|
|
658
|
+
* @param {any} message parameter of any type that can be stringified (e.g. string, object)
|
|
659
|
+
*/
|
|
660
|
+
export const log = (...args) => {
|
|
661
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
662
|
+
return loggerConnection.log(...args);
|
|
663
|
+
};
|
|
664
|
+
/**
|
|
665
|
+
* @language javascript, java, dotnet
|
|
666
|
+
* Log a dev debug message.
|
|
667
|
+
*
|
|
668
|
+
* ```javascript
|
|
669
|
+
* FSBL.Clients.Logger.debug("some message", parm1, parm2);
|
|
670
|
+
* ```
|
|
671
|
+
* @param {any} message parameter of any type that can be stringified (e.g. string, object)
|
|
672
|
+
*/
|
|
673
|
+
export const debug = (...args) => {
|
|
674
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
675
|
+
return loggerConnection.debug(...args);
|
|
676
|
+
};
|
|
677
|
+
/**
|
|
678
|
+
* @language javascript, java, dotnet
|
|
679
|
+
* Log a dev verbose message (an extra level of verbose-debug output).
|
|
680
|
+
*
|
|
681
|
+
* ```javascript
|
|
682
|
+
* FSBL.Clients.Logger.verbose("some message", parm1, parm2);
|
|
683
|
+
* ```
|
|
684
|
+
* @param {any} message parameter of any type that can be stringified (e.g. string, object)
|
|
685
|
+
*/
|
|
686
|
+
export const verbose = (...args) => {
|
|
687
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
688
|
+
return loggerConnection.verbose(...args);
|
|
689
|
+
};
|
|
690
|
+
/**
|
|
691
|
+
* Log the use of a deprecated API, config, component, or otherwise
|
|
692
|
+
*
|
|
693
|
+
* ```javascript
|
|
694
|
+
* FSBL.Clients.Logger.deprecated("some message", parm1, parm2);
|
|
695
|
+
* ```
|
|
696
|
+
* @param {any} message parameter of any type that can be stringified (e.g. string, object)
|
|
697
|
+
* @ignore
|
|
698
|
+
*/
|
|
699
|
+
export const deprecated = (...args) => {
|
|
700
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
701
|
+
return loggerConnection.deprecated(...args);
|
|
702
|
+
};
|
|
703
|
+
const CentralLoggerClient = {
|
|
704
|
+
error,
|
|
705
|
+
warn,
|
|
706
|
+
info,
|
|
707
|
+
log,
|
|
708
|
+
debug,
|
|
709
|
+
verbose,
|
|
710
|
+
/**
|
|
711
|
+
* @private
|
|
712
|
+
*/
|
|
713
|
+
deprecated,
|
|
714
|
+
/**
|
|
715
|
+
* Starts the logger client. There is no need to wait for this method to finish
|
|
716
|
+
* because the logger client queues messages until it connects. logger.start() must be
|
|
717
|
+
* called explicitly by each FSBL entry point.
|
|
718
|
+
* @private
|
|
719
|
+
*/
|
|
720
|
+
start: (routerClient) => {
|
|
721
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
722
|
+
loggerConnection.start(routerClient);
|
|
723
|
+
},
|
|
724
|
+
/**
|
|
725
|
+
* @private
|
|
726
|
+
*/
|
|
727
|
+
channelFilter: (channel) => channelFilter(channel),
|
|
728
|
+
/**
|
|
729
|
+
* @private
|
|
730
|
+
*/
|
|
731
|
+
setting: () => {
|
|
732
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
733
|
+
return loggerConnection.setting();
|
|
734
|
+
},
|
|
735
|
+
/**
|
|
736
|
+
* @private
|
|
737
|
+
*/
|
|
738
|
+
callStack: () => {
|
|
739
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
740
|
+
return loggerConnection.callStack();
|
|
741
|
+
},
|
|
742
|
+
/**
|
|
743
|
+
* @private
|
|
744
|
+
*/
|
|
745
|
+
unregisterClient: (params, cb) => {
|
|
746
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
747
|
+
loggerConnection.unregisterClient(params, cb);
|
|
748
|
+
},
|
|
749
|
+
/**
|
|
750
|
+
* Sets the router client for this instance of the Logger client.
|
|
751
|
+
* @private
|
|
752
|
+
*/
|
|
753
|
+
setRouterClient: (routerClient) => {
|
|
754
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
755
|
+
loggerConnection.setRouterClient(routerClient);
|
|
756
|
+
},
|
|
757
|
+
/**
|
|
758
|
+
* Used by assimilation service
|
|
759
|
+
* @private
|
|
760
|
+
*/
|
|
761
|
+
onStateChanged(cb) {
|
|
762
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
763
|
+
loggerConnection.onStateChanged(cb);
|
|
764
|
+
},
|
|
765
|
+
/**
|
|
766
|
+
* @private
|
|
767
|
+
*/
|
|
768
|
+
system: {
|
|
769
|
+
error: (...args) => {
|
|
770
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
771
|
+
return loggerConnection.system.error(...args);
|
|
772
|
+
},
|
|
773
|
+
warn: (...args) => {
|
|
774
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
775
|
+
return loggerConnection.system.warn(...args);
|
|
776
|
+
},
|
|
777
|
+
info: (...args) => {
|
|
778
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
779
|
+
return loggerConnection.system.info(...args);
|
|
780
|
+
},
|
|
781
|
+
log: (...args) => {
|
|
782
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
783
|
+
return loggerConnection.system.log(...args);
|
|
784
|
+
},
|
|
785
|
+
debug: (...args) => {
|
|
786
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
787
|
+
return loggerConnection.system.debug(...args);
|
|
788
|
+
},
|
|
789
|
+
verbose: (...args) => {
|
|
790
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
791
|
+
return loggerConnection.system.verbose(...args);
|
|
792
|
+
},
|
|
793
|
+
deprecated: (...args) => {
|
|
794
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
795
|
+
return loggerConnection.system.deprecated(...args);
|
|
796
|
+
},
|
|
797
|
+
},
|
|
798
|
+
/**
|
|
799
|
+
* @private
|
|
800
|
+
*/
|
|
801
|
+
perf: {
|
|
802
|
+
error: (...args) => {
|
|
803
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
804
|
+
return loggerConnection.perf.error(...args);
|
|
805
|
+
},
|
|
806
|
+
warn: (...args) => {
|
|
807
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
808
|
+
return loggerConnection.perf.warn(...args);
|
|
809
|
+
},
|
|
810
|
+
info: (...args) => {
|
|
811
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
812
|
+
return loggerConnection.perf.info(...args);
|
|
813
|
+
},
|
|
814
|
+
log: (...args) => {
|
|
815
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
816
|
+
return loggerConnection.perf.log(...args);
|
|
817
|
+
},
|
|
818
|
+
debug: (...args) => {
|
|
819
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
820
|
+
return loggerConnection.perf.debug(...args);
|
|
821
|
+
},
|
|
822
|
+
verbose: (...args) => {
|
|
823
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
824
|
+
return loggerConnection.perf.verbose(...args);
|
|
825
|
+
},
|
|
826
|
+
deprecated: (...args) => {
|
|
827
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
828
|
+
return loggerConnection.perf.deprecated(...args);
|
|
829
|
+
},
|
|
830
|
+
},
|
|
831
|
+
/**
|
|
832
|
+
* @private
|
|
833
|
+
*
|
|
834
|
+
* logger.console.<level> is equivalent to logger.system.<level> except that the log
|
|
835
|
+
* message is also displayed in the developer tools debugger. This set of functions
|
|
836
|
+
* obeys the log level that is set within Central Logger (whereas `console.log` does not).
|
|
837
|
+
*
|
|
838
|
+
* When a window is starting up, logger.console.<level> will *always* log to the console
|
|
839
|
+
* if it is called before the window has received its initial log level settings from
|
|
840
|
+
* the logger service. This can be useful for debugging startup issues (without creating
|
|
841
|
+
* stray console.log() statements).
|
|
842
|
+
*/
|
|
843
|
+
console: {
|
|
844
|
+
error: (...args) => {
|
|
845
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
846
|
+
return loggerConnection.console.error(...args);
|
|
847
|
+
},
|
|
848
|
+
warn: (...args) => {
|
|
849
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
850
|
+
return loggerConnection.console.warn(...args);
|
|
851
|
+
},
|
|
852
|
+
info: (...args) => {
|
|
853
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
854
|
+
return loggerConnection.console.info(...args);
|
|
855
|
+
},
|
|
856
|
+
log: (...args) => {
|
|
857
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
858
|
+
return loggerConnection.console.log(...args);
|
|
859
|
+
},
|
|
860
|
+
debug: (...args) => {
|
|
861
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
862
|
+
return loggerConnection.console.debug(...args);
|
|
863
|
+
},
|
|
864
|
+
verbose: (...args) => {
|
|
865
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
866
|
+
return loggerConnection.console.verbose(...args);
|
|
867
|
+
},
|
|
868
|
+
deprecated: (...args) => {
|
|
869
|
+
const loggerConnection = singleton("LoggerClient", LoggerConnection);
|
|
870
|
+
return loggerConnection.console.deprecated(...args);
|
|
871
|
+
},
|
|
872
|
+
},
|
|
873
|
+
};
|
|
874
|
+
/** An implementation of the ICentralLogger interface that
|
|
875
|
+
* merely logs straight to the console rather than going over to
|
|
876
|
+
* Central Logging service. Used in situations where use of the
|
|
877
|
+
* Central Logging service is not possible (such as in test
|
|
878
|
+
* environments, or in the Central Logging service itself).
|
|
879
|
+
* @ignore
|
|
880
|
+
*/
|
|
881
|
+
export const LocalLogger = {
|
|
882
|
+
start: () => { },
|
|
883
|
+
channelFilter,
|
|
884
|
+
setting: () => initialLogState,
|
|
885
|
+
callStack: () => traceString(),
|
|
886
|
+
unregisterClient: () => { },
|
|
887
|
+
setRouterClient: () => { },
|
|
888
|
+
onStateChanged: () => { },
|
|
889
|
+
warn: globalThis.console.warn,
|
|
890
|
+
info: globalThis.console.info,
|
|
891
|
+
log: globalThis.console.log,
|
|
892
|
+
debug: globalThis.console.debug,
|
|
893
|
+
error: globalThis.console.error,
|
|
894
|
+
verbose: globalThis.console.debug,
|
|
895
|
+
deprecated: globalThis.console.error,
|
|
896
|
+
system: {
|
|
897
|
+
warn: globalThis.console.warn,
|
|
898
|
+
info: globalThis.console.info,
|
|
899
|
+
log: globalThis.console.log,
|
|
900
|
+
debug: globalThis.console.debug,
|
|
901
|
+
error: globalThis.console.error,
|
|
902
|
+
verbose: globalThis.console.debug,
|
|
903
|
+
deprecated: globalThis.console.error,
|
|
904
|
+
},
|
|
905
|
+
perf: {
|
|
906
|
+
warn: globalThis.console.warn,
|
|
907
|
+
info: globalThis.console.info,
|
|
908
|
+
log: globalThis.console.log,
|
|
909
|
+
debug: globalThis.console.debug,
|
|
910
|
+
error: globalThis.console.error,
|
|
911
|
+
verbose: globalThis.console.debug,
|
|
912
|
+
deprecated: globalThis.console.error,
|
|
913
|
+
},
|
|
914
|
+
console: {
|
|
915
|
+
warn: globalThis.console.warn,
|
|
916
|
+
info: globalThis.console.info,
|
|
917
|
+
log: globalThis.console.log,
|
|
918
|
+
debug: globalThis.console.debug,
|
|
919
|
+
error: globalThis.console.error,
|
|
920
|
+
verbose: globalThis.console.debug,
|
|
921
|
+
deprecated: globalThis.console.error,
|
|
922
|
+
},
|
|
923
|
+
};
|
|
924
|
+
/** When running unit tests, we don't want to use a CentralLogger. If there is no "window"
|
|
925
|
+
* then we assume we're running under node.
|
|
926
|
+
*/
|
|
927
|
+
const useLocalLogger = typeof window === "undefined";
|
|
928
|
+
/**
|
|
929
|
+
* @ignore
|
|
930
|
+
*/
|
|
931
|
+
export const LoggerClient = CentralLoggerClient;
|
|
932
|
+
/**
|
|
933
|
+
* Backward compatibility in case anyone out there is still importing Logger
|
|
934
|
+
* @ignore
|
|
935
|
+
*/
|
|
936
|
+
export const Logger = LoggerClient;
|
|
937
|
+
/**
|
|
938
|
+
* Ignore
|
|
939
|
+
*/
|
|
940
|
+
export default LoggerClient;
|
|
932
941
|
//# sourceMappingURL=logger.js.map
|