@finsemble/finsemble-ui 10.0.0-iocd.9 → 10.0.3-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FEA.d.ts +1440 -1430
- package/FEA.d.ts.map +1 -1
- package/FEA.js +10 -10
- package/FEA.js.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.d.ts +235 -233
- package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js +1331 -1308
- package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
- package/clients/Interop/InteropAdmin.d.ts +29 -29
- package/clients/Interop/InteropAdmin.js +98 -98
- package/clients/Interop/InteropAdmin.js.map +1 -1
- package/clients/Interop/index.d.ts +1 -1
- package/clients/Interop/index.js +2 -2
- package/clients/Interop/types.d.ts +445 -443
- package/clients/Interop/types.d.ts.map +1 -1
- package/clients/Interop/types.js +45 -45
- package/clients/Interop/types.js.map +1 -1
- package/clients/Startup/FSBLDesktop.d.ts +157 -157
- package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
- package/clients/Startup/FSBLDesktop.js +447 -430
- package/clients/Startup/FSBLDesktop.js.map +1 -1
- package/clients/Startup/FSBLFreestanding.d.ts +27 -27
- package/clients/Startup/FSBLFreestanding.js +129 -129
- package/clients/Startup/FSBLFreestanding.js.map +1 -1
- package/clients/Startup/FSBLService.d.ts +7 -7
- package/clients/Startup/FSBLService.js +57 -57
- package/clients/Startup/RouterConfig.d.ts +37 -37
- package/clients/Startup/RouterConfig.d.ts.map +1 -1
- package/clients/Startup/RouterConfig.js +124 -115
- package/clients/Startup/RouterConfig.js.map +1 -1
- package/clients/Startup/SDDListeners.d.ts +11 -11
- package/clients/Startup/SDDListeners.d.ts.map +1 -1
- package/clients/Startup/SDDListeners.js +96 -96
- package/clients/Startup/SDDListeners.js.map +1 -1
- package/clients/Startup/Startup.d.ts +58 -58
- package/clients/Startup/Startup.js +101 -101
- package/clients/Startup/Startup.js.map +1 -1
- package/clients/Startup/index.d.ts +1 -1
- package/clients/Startup/index.js +2 -2
- package/clients/Startup/types.d.ts +81 -81
- package/clients/Startup/types.d.ts.map +1 -1
- package/clients/Startup/types.js +1 -1
- package/clients/Startup/unhandledErrors.d.ts +6 -6
- package/clients/Startup/unhandledErrors.d.ts.map +1 -1
- package/clients/Startup/unhandledErrors.js +77 -75
- package/clients/Startup/unhandledErrors.js.map +1 -1
- package/clients/Startup/windowStartup.d.ts +17 -17
- package/clients/Startup/windowStartup.d.ts.map +1 -1
- package/clients/Startup/windowStartup.js +491 -478
- package/clients/Startup/windowStartup.js.map +1 -1
- package/clients/StoreModel.d.ts +394 -394
- package/clients/StoreModel.d.ts.map +1 -1
- package/clients/StoreModel.js +906 -906
- package/clients/StoreModel.js.map +1 -1
- package/clients/appsClient.d.ts +618 -476
- package/clients/appsClient.d.ts.map +1 -1
- package/clients/appsClient.js +729 -710
- package/clients/appsClient.js.map +1 -1
- package/clients/authenticationClient.d.ts +190 -190
- package/clients/authenticationClient.d.ts.map +1 -1
- package/clients/authenticationClient.js +247 -247
- package/clients/authenticationClient.js.map +1 -1
- package/clients/configClient.d.ts +638 -638
- package/clients/configClient.d.ts.map +1 -1
- package/clients/configClient.js +969 -969
- package/clients/configClient.js.map +1 -1
- package/clients/controller/DialogManagerClientController.d.ts +77 -77
- package/clients/controller/DialogManagerClientController.js +215 -215
- package/clients/controller/DialogManagerClientController.js.map +1 -1
- package/clients/dialogManagerClient.d.ts +186 -186
- package/clients/dialogManagerClient.d.ts.map +1 -1
- package/clients/dialogManagerClient.js +479 -475
- package/clients/dialogManagerClient.js.map +1 -1
- package/clients/distributedStoreClient.d.ts +150 -151
- package/clients/distributedStoreClient.d.ts.map +1 -1
- package/clients/distributedStoreClient.js +256 -253
- package/clients/distributedStoreClient.js.map +1 -1
- package/clients/hotkeyClient.d.ts +128 -128
- package/clients/hotkeyClient.d.ts.map +1 -1
- package/clients/hotkeyClient.js +648 -648
- package/clients/hotkeyClient.js.map +1 -1
- package/clients/index.d.ts +16 -16
- package/clients/index.js +18 -18
- package/clients/launcherClient.d.ts +123 -123
- package/clients/launcherClient.d.ts.map +1 -1
- package/clients/launcherClient.js +64 -64
- package/clients/logger.d.ts +363 -363
- package/clients/logger.d.ts.map +1 -1
- package/clients/logger.js +940 -931
- package/clients/logger.js.map +1 -1
- package/clients/notificationClient.d.ts +310 -310
- package/clients/notificationClient.d.ts.map +1 -1
- package/clients/notificationClient.js +557 -557
- package/clients/notificationClient.js.map +1 -1
- package/clients/routerClient.d.ts +520 -520
- package/clients/routerClient.d.ts.map +1 -1
- package/clients/routerClient.js +1448 -1416
- package/clients/routerClient.js.map +1 -1
- package/clients/searchClient.d.ts +156 -156
- package/clients/searchClient.d.ts.map +1 -1
- package/clients/searchClient.js +282 -282
- package/clients/searchClient.js.map +1 -1
- package/clients/storageClient.d.ts +235 -235
- package/clients/storageClient.d.ts.map +1 -1
- package/clients/storageClient.js +308 -308
- package/clients/storageClient.js.map +1 -1
- package/clients/windowClient.d.ts +714 -712
- package/clients/windowClient.d.ts.map +1 -1
- package/clients/windowClient.js +1072 -1070
- package/clients/windowClient.js.map +1 -1
- package/clients/workspaceClient.d.ts +511 -511
- package/clients/workspaceClient.d.ts.map +1 -1
- package/clients/workspaceClient.js +758 -750
- package/clients/workspaceClient.js.map +1 -1
- package/common/Desktop.d.ts +56 -56
- package/common/Desktop.d.ts.map +1 -1
- package/common/Desktop.js +109 -97
- package/common/Desktop.js.map +1 -1
- package/common/FinsembleWindow.d.ts +823 -813
- package/common/FinsembleWindow.d.ts.map +1 -1
- package/common/FinsembleWindow.js +1458 -1416
- package/common/FinsembleWindow.js.map +1 -1
- package/common/Globals.d.ts +96 -96
- package/common/Globals.d.ts.map +1 -1
- package/common/Globals.js +29 -29
- package/common/Monitors.d.ts +160 -155
- package/common/Monitors.d.ts.map +1 -1
- package/common/Monitors.js +504 -447
- package/common/Monitors.js.map +1 -1
- package/common/Performance.d.ts +6 -6
- package/common/Performance.js +12 -12
- package/common/REST.d.ts +16 -16
- package/common/REST.js +84 -84
- package/common/REST.js.map +1 -1
- package/common/Singleton.d.ts +74 -72
- package/common/Singleton.d.ts.map +1 -1
- package/common/Singleton.js +95 -95
- package/common/Singleton.js.map +1 -1
- package/common/configUtil.d.ts +58 -58
- package/common/configUtil.d.ts.map +1 -1
- package/common/configUtil.js +347 -347
- package/common/configUtil.js.map +1 -1
- package/common/constants.d.ts +101 -101
- package/common/constants.js +171 -171
- package/common/dependencyManager.d.ts +170 -171
- package/common/dependencyManager.d.ts.map +1 -1
- package/common/dependencyManager.js +383 -383
- package/common/dependencyManager.js.map +1 -1
- package/common/events/FinsembleEvent.d.ts +29 -29
- package/common/events/FinsembleEvent.d.ts.map +1 -1
- package/common/events/FinsembleEvent.js +71 -71
- package/common/events/FinsembleEvent.js.map +1 -1
- package/common/events/PublicEventManager.d.ts +69 -68
- package/common/events/PublicEventManager.d.ts.map +1 -1
- package/common/events/PublicEventManager.js +192 -192
- package/common/events/PublicEventManager.js.map +1 -1
- package/common/index.d.ts +3 -3
- package/common/index.js +5 -5
- package/common/redux/getRemoteStore.d.ts +53 -53
- package/common/redux/getRemoteStore.d.ts.map +1 -1
- package/common/redux/getRemoteStore.js +50 -50
- package/common/redux/remoteReduxEnhancer.d.ts +28 -28
- package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
- package/common/redux/remoteReduxEnhancer.js +228 -218
- package/common/redux/remoteReduxEnhancer.js.map +1 -1
- package/common/redux/types.d.ts +26 -26
- package/common/redux/types.d.ts.map +1 -1
- package/common/redux/types.js +1 -1
- package/common/system.d.ts +328 -308
- package/common/system.d.ts.map +1 -1
- package/common/system.js +559 -545
- package/common/system.js.map +1 -1
- package/common/systemManagerClient.d.ts +91 -91
- package/common/systemManagerClient.d.ts.map +1 -1
- package/common/systemManagerClient.js +189 -189
- package/common/systemManagerClient.js.map +1 -1
- package/common/testPoint.d.ts +56 -56
- package/common/testPoint.js +105 -105
- package/common/testPoint.js.map +1 -1
- package/common/toast.d.ts +35 -35
- package/common/toast.d.ts.map +1 -1
- package/common/toast.js +93 -87
- package/common/toast.js.map +1 -1
- package/common/util.d.ts +141 -136
- package/common/util.d.ts.map +1 -1
- package/common/util.js +458 -445
- package/common/util.js.map +1 -1
- package/deprecated/SmartDesktopClient.d.ts +18 -18
- package/deprecated/SmartDesktopClient.js +18 -18
- package/deprecated/baseClient.d.ts +87 -87
- package/deprecated/baseClient.d.ts.map +1 -1
- package/deprecated/baseClient.js +123 -123
- package/deprecated/baseClient.js.map +1 -1
- package/deprecated/deprecatedFunctions.d.ts +44 -44
- package/deprecated/deprecatedFunctions.d.ts.map +1 -1
- package/deprecated/deprecatedFunctions.js +199 -199
- package/deprecated/deprecatedFunctions.js.map +1 -1
- package/deprecated/deprecatedlauncherClient.d.ts +162 -162
- package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
- package/deprecated/deprecatedlauncherClient.js +285 -285
- package/deprecated/deprecatedlauncherClient.js.map +1 -1
- package/deprecated/dragAndDropClient.d.ts +288 -288
- package/deprecated/dragAndDropClient.d.ts.map +1 -1
- package/deprecated/dragAndDropClient.js +753 -698
- package/deprecated/dragAndDropClient.js.map +1 -1
- package/deprecated/index.d.ts +1 -1
- package/deprecated/index.d.ts.map +1 -1
- package/deprecated/index.js +1 -1
- package/deprecated/legacyUIComponentNames.d.ts +23 -23
- package/deprecated/legacyUIComponentNames.js +23 -23
- package/deprecated/linkerClient.d.ts +422 -422
- package/deprecated/linkerClient.d.ts.map +1 -1
- package/deprecated/linkerClient.js +892 -892
- package/deprecated/linkerClient.js.map +1 -1
- package/index.d.ts +65 -70
- package/index.d.ts.map +1 -1
- package/index.js +3 -5
- package/index.js.map +1 -1
- package/main.d.ts +725 -862
- package/main.d.ts.map +1 -1
- package/main.js +85 -85
- package/package.json +10 -14
- package/platform/preloads/BloombergBridgeClient.d.ts +453 -453
- package/platform/preloads/BloombergBridgeClient.d.ts.map +1 -1
- package/platform/preloads/BloombergBridgeClient.js +568 -568
- package/platform/preloads/BloombergBridgeClient.js.map +1 -1
- package/platform/services/Interop/AuthSignVerify.d.ts +50 -50
- package/platform/services/Interop/AuthSignVerify.js +283 -283
- package/platform/services/Interop/AuthSignVerify.js.map +1 -1
- package/platform/services/Interop/modules/actions.d.ts +16 -16
- package/platform/services/Interop/modules/actions.js +10 -10
- package/platform/services/Interop/modules/types.d.ts +182 -182
- package/platform/services/Interop/modules/types.d.ts.map +1 -1
- package/platform/services/Interop/modules/types.js +1 -1
- package/platform/services/Interop/types.d.ts +634 -632
- package/platform/services/Interop/types.d.ts.map +1 -1
- package/platform/services/Interop/types.js +25 -25
- package/platform/services/Interop/types.js.map +1 -1
- package/platform/services/baseService.d.ts +82 -82
- package/platform/services/baseService.d.ts.map +1 -1
- package/platform/services/baseService.js +300 -300
- package/platform/services/baseService.js.map +1 -1
- package/platform/services/bloombergBridge/lib/types.d.ts +108 -108
- package/platform/services/bloombergBridge/lib/types.d.ts.map +1 -1
- package/platform/services/bloombergBridge/lib/types.js +39 -39
- package/platform/services/config/types.d.ts +42 -42
- package/platform/services/config/types.d.ts.map +1 -1
- package/platform/services/config/types.js +1 -1
- package/platform/services/distributedStore/storeUtils.d.ts +67 -67
- package/platform/services/distributedStore/storeUtils.d.ts.map +1 -1
- package/platform/services/distributedStore/storeUtils.js +238 -238
- package/platform/services/distributedStore/storeUtils.js.map +1 -1
- package/platform/services/index.d.ts +5 -5
- package/platform/services/index.js +9 -9
- package/platform/services/logger/types.d.ts +78 -78
- package/platform/services/logger/types.d.ts.map +1 -1
- package/platform/services/logger/types.js +1 -1
- package/platform/services/notification/index.d.ts +1 -1
- package/platform/services/notification/index.js +2 -2
- package/platform/services/notification/types/Action.d.ts +12 -12
- package/platform/services/notification/types/Action.js +7 -7
- package/platform/services/notification/types/ActionTypes.d.ts +16 -16
- package/platform/services/notification/types/ActionTypes.js +18 -18
- package/platform/services/notification/types/Callbacks.d.ts +7 -7
- package/platform/services/notification/types/Callbacks.js +1 -1
- package/platform/services/notification/types/Filter.d.ts +22 -22
- package/platform/services/notification/types/Filter.js +19 -19
- package/platform/services/notification/types/IAction.d.ts +51 -51
- package/platform/services/notification/types/IAction.js +1 -1
- package/platform/services/notification/types/IFilter.d.ts +24 -24
- package/platform/services/notification/types/IFilter.js +1 -1
- package/platform/services/notification/types/ILastIssued.d.ts +8 -8
- package/platform/services/notification/types/ILastIssued.js +1 -1
- package/platform/services/notification/types/IMuteFilter.d.ts +7 -7
- package/platform/services/notification/types/IMuteFilter.js +4 -4
- package/platform/services/notification/types/INotification.d.ts +100 -100
- package/platform/services/notification/types/INotification.d.ts.map +1 -1
- package/platform/services/notification/types/INotification.js +1 -1
- package/platform/services/notification/types/INotificationClient.d.ts +94 -94
- package/platform/services/notification/types/INotificationClient.js +1 -1
- package/platform/services/notification/types/INotificationHistoryOptions.d.ts +18 -18
- package/platform/services/notification/types/INotificationHistoryOptions.d.ts.map +1 -1
- package/platform/services/notification/types/INotificationHistoryOptions.js +1 -1
- package/platform/services/notification/types/INotificationService.d.ts +57 -57
- package/platform/services/notification/types/INotificationService.js +1 -1
- package/platform/services/notification/types/IPerformedAction.d.ts +9 -9
- package/platform/services/notification/types/IPerformedAction.js +1 -1
- package/platform/services/notification/types/ISnoozeTimer.d.ts +13 -13
- package/platform/services/notification/types/ISnoozeTimer.js +9 -9
- package/platform/services/notification/types/ISubscription.d.ts +15 -15
- package/platform/services/notification/types/ISubscription.js +1 -1
- package/platform/services/notification/types/LastIssued.d.ts +10 -10
- package/platform/services/notification/types/LastIssued.js +6 -6
- package/platform/services/notification/types/Meta.d.ts +12 -12
- package/platform/services/notification/types/Meta.js +6 -6
- package/platform/services/notification/types/Notification.d.ts +29 -29
- package/platform/services/notification/types/Notification.js +16 -16
- package/platform/services/notification/types/NotificationConfig.d.ts +21 -21
- package/platform/services/notification/types/NotificationConfig.js +1 -1
- package/platform/services/notification/types/NotificationHookTypes.d.ts +6 -6
- package/platform/services/notification/types/NotificationHookTypes.js +1 -1
- package/platform/services/notification/types/PerformedAction.d.ts +10 -10
- package/platform/services/notification/types/PerformedAction.js +7 -7
- package/platform/services/notification/types/SnoozeTimer.d.ts +7 -7
- package/platform/services/notification/types/SnoozeTimer.js +2 -2
- package/platform/services/notification/types/Subscription.d.ts +13 -13
- package/platform/services/notification/types/Subscription.js +14 -14
- package/platform/services/notification/types/index.d.ts +45 -45
- package/platform/services/notification/types/index.d.ts.map +1 -1
- package/platform/services/notification/types/index.js +23 -23
- package/platform/services/router/routerTransport.d.ts +80 -80
- package/platform/services/router/routerTransport.d.ts.map +1 -1
- package/platform/services/router/routerTransport.js +486 -476
- package/platform/services/router/routerTransport.js.map +1 -1
- package/platform/services/router/types.d.ts +214 -212
- package/platform/services/router/types.d.ts.map +1 -1
- package/platform/services/router/types.js +1 -1
- package/platform/services/search/index.d.ts +1 -1
- package/platform/services/search/index.js +2 -2
- package/platform/services/search/types.d.ts +29 -29
- package/platform/services/search/types.d.ts.map +1 -1
- package/platform/services/search/types.js +1 -1
- package/platform/services/storage/adapters/base.d.ts +3 -3
- package/platform/services/storage/adapters/base.js +63 -63
- package/platform/services/storage/adapters/base.js.map +1 -1
- package/platform/services/storage/adapters/types.d.ts +21 -21
- package/platform/services/storage/adapters/types.d.ts.map +1 -1
- package/platform/services/storage/adapters/types.js +1 -1
- package/platform/services/systemManager/_constants.d.ts +9 -9
- package/platform/services/systemManager/_constants.js +22 -22
- package/platform/services/systemManager/common.d.ts +13 -13
- package/platform/services/systemManager/common.js +19 -19
- package/platform/services/systemManager/types.d.ts +49 -48
- package/platform/services/systemManager/types.d.ts.map +1 -1
- package/platform/services/systemManager/types.js +11 -11
- package/platform/services/types.d.ts +10 -10
- package/platform/services/types.d.ts.map +1 -1
- package/platform/services/types.js +9 -9
- package/platform/services/window/index.d.ts +1 -1
- package/platform/services/window/index.js +2 -2
- package/platform/services/window/modules/actions.d.ts +76 -70
- package/platform/services/window/modules/actions.d.ts.map +1 -1
- package/platform/services/window/modules/actions.js +67 -62
- package/platform/services/window/modules/actions.js.map +1 -1
- package/platform/services/window/types.d.ts +1211 -1194
- package/platform/services/window/types.d.ts.map +1 -1
- package/platform/services/window/types.js +6 -1
- package/platform/services/window/types.js.map +1 -1
- package/platform/services/workspace/index.d.ts +1 -1
- package/platform/services/workspace/index.js +2 -2
- package/platform/services/workspace/types.d.ts +78 -78
- package/platform/services/workspace/types.d.ts.map +1 -1
- package/platform/services/workspace/types.js +1 -1
- package/platform/services/workspace/workspaceAdminAPI.d.ts +26 -26
- package/platform/services/workspace/workspaceAdminAPI.d.ts.map +1 -1
- package/platform/services/workspace/workspaceAdminAPI.js +44 -44
- package/platform/services/workspace/workspaceAdminAPI.js.map +1 -1
- package/react/actions/favoriteActions.d.ts +21 -21
- package/react/actions/favoriteActions.d.ts.map +1 -1
- package/react/actions/favoriteActions.js +8 -8
- package/react/actions/linkerActions.d.ts +48 -48
- package/react/actions/linkerActions.d.ts.map +1 -1
- package/react/actions/linkerActions.js +8 -8
- package/react/actions/menuActions.d.ts +16 -16
- package/react/actions/menuActions.d.ts.map +1 -1
- package/react/actions/menuActions.js +9 -9
- package/react/actions/rootActions.d.ts +9 -9
- package/react/actions/rootActions.d.ts.map +1 -1
- package/react/actions/rootActions.js +2 -2
- package/react/actions/searchActions.d.ts +12 -12
- package/react/actions/searchActions.d.ts.map +1 -1
- package/react/actions/searchActions.js +7 -7
- package/react/actions/smartDesktopDesignerActions.d.ts +56 -56
- package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -1
- package/react/actions/smartDesktopDesignerActions.js +27 -27
- package/react/actions/toolbarActions.d.ts +61 -61
- package/react/actions/toolbarActions.d.ts.map +1 -1
- package/react/actions/toolbarActions.js +24 -24
- package/react/actions/workspaceActions.d.ts +11 -11
- package/react/actions/workspaceActions.d.ts.map +1 -1
- package/react/actions/workspaceActions.js +6 -6
- package/react/assets/css/advancedAppLauncher.css +1 -1
- package/react/assets/css/appCatalog.css +4 -4
- package/react/assets/css/dialogs.css +2 -6
- package/react/assets/css/favorites.css +1 -3
- package/react/assets/css/finsemble.css +0 -1
- package/react/assets/css/font-finance.css +4 -282
- package/react/assets/css/menus.css +5 -1
- package/react/assets/css/search.css +1 -2
- package/react/assets/css/toolbar.css +9 -1
- package/react/assets/css/userPreferences.css +1 -1
- package/react/components/FinsembleCSS.d.ts +17 -17
- package/react/components/FinsembleCSS.d.ts.map +1 -1
- package/react/components/FinsembleCSS.js +27 -26
- package/react/components/FinsembleCSS.js.map +1 -1
- package/react/components/FinsembleProvider.d.ts +28 -28
- package/react/components/FinsembleProvider.d.ts.map +1 -1
- package/react/components/FinsembleProvider.js +33 -33
- package/react/components/appCatalog/AppCatalog.d.ts +13 -13
- package/react/components/appCatalog/AppCatalog.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalog.js +33 -33
- package/react/components/appCatalog/AppCatalogComponent.d.ts +98 -98
- package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.js +307 -307
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- package/react/components/appCatalog/components/AppCard.d.ts +64 -64
- package/react/components/appCatalog/components/AppCard.d.ts.map +1 -1
- package/react/components/appCatalog/components/AppCard.js +200 -200
- package/react/components/appCatalog/components/AppCard.js.map +1 -1
- package/react/components/appCatalog/components/AppList.d.ts +8 -8
- package/react/components/appCatalog/components/AppList.d.ts.map +1 -1
- package/react/components/appCatalog/components/AppList.js +25 -25
- package/react/components/appCatalog/components/AppList.js.map +1 -1
- package/react/components/appCatalog/components/AppResults.d.ts +25 -21
- package/react/components/appCatalog/components/AppResults.d.ts.map +1 -1
- package/react/components/appCatalog/components/AppResults.js +71 -71
- package/react/components/appCatalog/components/AppResults.js.map +1 -1
- package/react/components/appCatalog/components/Carousel.d.ts +42 -42
- package/react/components/appCatalog/components/Carousel.d.ts.map +1 -1
- package/react/components/appCatalog/components/Carousel.js +126 -126
- package/react/components/appCatalog/components/Carousel.js.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.d.ts +11 -7
- package/react/components/appCatalog/components/EmptyResults.d.ts.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.js +12 -12
- package/react/components/appCatalog/components/Hero.d.ts +42 -42
- package/react/components/appCatalog/components/Hero.d.ts.map +1 -1
- package/react/components/appCatalog/components/Hero.js +83 -83
- package/react/components/appCatalog/components/Hero.js.map +1 -1
- package/react/components/appCatalog/components/Home.d.ts +29 -21
- package/react/components/appCatalog/components/Home.d.ts.map +1 -1
- package/react/components/appCatalog/components/Home.js +28 -28
- package/react/components/appCatalog/components/SearchBar.d.ts +57 -57
- package/react/components/appCatalog/components/SearchBar.js +107 -107
- package/react/components/appCatalog/components/SearchBar.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts +15 -11
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.js +15 -15
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts +18 -14
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js +30 -30
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts +37 -37
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.js +128 -128
- package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.d.ts +21 -21
- package/react/components/appCatalog/components/Showcase/Header.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.js +58 -58
- package/react/components/appCatalog/components/Showcase/Header.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts +14 -13
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js +25 -25
- package/react/components/appCatalog/components/Showcase/Modal.d.ts +18 -18
- package/react/components/appCatalog/components/Showcase/Modal.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/Modal.js +23 -23
- package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts +10 -9
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js +18 -18
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts +12 -11
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/SupportNotes.js +26 -26
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts +10 -9
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/VersionNotes.js +21 -21
- package/react/components/appCatalog/components/Showcase/defaults.d.ts +3 -3
- package/react/components/appCatalog/components/Showcase/defaults.js +3 -3
- package/react/components/appCatalog/components/Toast.d.ts +15 -11
- package/react/components/appCatalog/components/Toast.d.ts.map +1 -1
- package/react/components/appCatalog/components/Toast.js +38 -38
- package/react/components/appCatalog/components/Toast.js.map +1 -1
- package/react/components/appCatalog/components/helpers.d.ts +2 -2
- package/react/components/appCatalog/components/helpers.js +33 -33
- package/react/components/appCatalog/components/helpers.js.map +1 -1
- package/react/components/appCatalog/index.d.ts +1 -1
- package/react/components/appCatalog/index.js +1 -1
- package/react/components/appCatalog/modules/AppDirectory.d.ts +12 -12
- package/react/components/appCatalog/modules/AppDirectory.d.ts.map +1 -1
- package/react/components/appCatalog/modules/AppDirectory.js +10 -10
- package/react/components/appCatalog/modules/FDC3.d.ts +51 -51
- package/react/components/appCatalog/modules/FDC3.js +146 -146
- package/react/components/appCatalog/modules/FDC3.js.map +1 -1
- package/react/components/appCatalog/stores/appStore.d.ts +9 -9
- package/react/components/appCatalog/stores/appStore.js +47 -47
- package/react/components/appCatalog/stores/appStore.js.map +1 -1
- package/react/components/appCatalog/stores/storeActions.d.ts +145 -145
- package/react/components/appCatalog/stores/storeActions.d.ts.map +1 -1
- package/react/components/appCatalog/stores/storeActions.js +423 -423
- package/react/components/appCatalog/stores/storeActions.js.map +1 -1
- package/react/components/bloomberg/BloombergFDC3.d.ts +3 -3
- package/react/components/bloomberg/BloombergFDC3.d.ts.map +1 -1
- package/react/components/bloomberg/BloombergFDC3.js +71 -71
- package/react/components/bloomberg/BloombergFDC3.js.map +1 -1
- package/react/components/bloomberg/BloombergLink.d.ts +11 -11
- package/react/components/bloomberg/BloombergLink.d.ts.map +1 -1
- package/react/components/bloomberg/BloombergLink.js +48 -48
- package/react/components/bloomberg/BloombergLink.js.map +1 -1
- package/react/components/bloomberg/BloombergRelay.d.ts +9 -9
- package/react/components/bloomberg/BloombergRelay.d.ts.map +1 -1
- package/react/components/bloomberg/BloombergRelay.js +74 -68
- package/react/components/bloomberg/BloombergRelay.js.map +1 -1
- package/react/components/common/Button.d.ts +35 -35
- package/react/components/common/Button.js +21 -21
- package/react/components/common/Button.js.map +1 -1
- package/react/components/common/ButtonIcon.d.ts +4 -4
- package/react/components/common/ButtonIcon.js +11 -11
- package/react/components/common/ButtonIcon.js.map +1 -1
- package/react/components/common/ButtonRow.d.ts +15 -15
- package/react/components/common/ButtonRow.js +24 -24
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/Checkbox.d.ts +12 -12
- package/react/components/common/Checkbox.js +19 -19
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ContextMenu.d.ts +13 -13
- package/react/components/common/ContextMenu.d.ts.map +1 -1
- package/react/components/common/ContextMenu.js +62 -62
- package/react/components/common/ContextMenu.js.map +1 -1
- package/react/components/common/Dropdown.d.ts +14 -14
- package/react/components/common/Dropdown.d.ts.map +1 -1
- package/react/components/common/Dropdown.js +82 -82
- package/react/components/common/Dropdown.js.map +1 -1
- package/react/components/common/DropdownButton.d.ts +10 -10
- package/react/components/common/DropdownButton.d.ts.map +1 -1
- package/react/components/common/DropdownButton.js +52 -52
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/ErrorBoundary.d.ts +35 -35
- package/react/components/common/ErrorBoundary.d.ts.map +1 -1
- package/react/components/common/ErrorBoundary.js +43 -43
- package/react/components/common/ErrorBoundary.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +20 -20
- package/react/components/common/FinsembleIcon.d.ts.map +1 -1
- package/react/components/common/FinsembleIcon.js +150 -150
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleToggle.d.ts +9 -9
- package/react/components/common/FinsembleToggle.d.ts.map +1 -1
- package/react/components/common/FinsembleToggle.js +11 -11
- package/react/components/common/FinsembleToggleButtonBar.d.ts +15 -15
- package/react/components/common/FinsembleToggleButtonBar.d.ts.map +1 -1
- package/react/components/common/FinsembleToggleButtonBar.js +39 -39
- package/react/components/common/FinsembleToggleButtonBar.js.map +1 -1
- package/react/components/common/Header.d.ts +13 -13
- package/react/components/common/Header.d.ts.map +1 -1
- package/react/components/common/Header.js +20 -20
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/TimeSelect.d.ts +16 -16
- package/react/components/common/TimeSelect.d.ts.map +1 -1
- package/react/components/common/TimeSelect.js +173 -173
- package/react/components/common/TimeSelect.js.map +1 -1
- package/react/components/common/css/icon.css +0 -2
- package/react/components/common/loadCSSAsStyle.d.ts +3 -0
- package/react/components/common/loadCSSAsStyle.d.ts.map +1 -0
- package/react/components/common/loadCSSAsStyle.js +18 -0
- package/react/components/common/loadCSSAsStyle.js.map +1 -0
- package/react/components/downloadManager/DownloadItem.d.ts +14 -14
- package/react/components/downloadManager/DownloadItem.d.ts.map +1 -1
- package/react/components/downloadManager/DownloadItem.js +76 -76
- package/react/components/downloadManager/DownloadItem.js.map +1 -1
- package/react/components/downloadManager/DownloadManager.d.ts +9 -9
- package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
- package/react/components/downloadManager/DownloadManager.js +39 -39
- package/react/components/downloadManager/DownloadManager.js.map +1 -1
- package/react/components/downloadManager/index.d.ts +1 -1
- package/react/components/downloadManager/index.js +1 -1
- package/react/components/favorites/FavoriteMaker.d.ts +17 -17
- package/react/components/favorites/FavoriteMaker.d.ts.map +1 -1
- package/react/components/favorites/FavoriteMaker.js +41 -41
- package/react/components/favorites/FavoriteMaker.js.map +1 -1
- package/react/components/favorites/FavoritesShell.d.ts +7 -7
- package/react/components/favorites/FavoritesShell.d.ts.map +1 -1
- package/react/components/favorites/FavoritesShell.js +40 -40
- package/react/components/favorites/FavoritesShell.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.d.ts +12 -8
- package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js +98 -98
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +31 -31
- package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js +167 -164
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/fdc3Resolver/index.d.ts +1 -1
- package/react/components/fdc3Resolver/index.js +1 -1
- package/react/components/icon/Icon.d.ts +21 -21
- package/react/components/icon/Icon.d.ts.map +1 -1
- package/react/components/icon/Icon.js +102 -102
- package/react/components/icon/Icon.js.map +1 -1
- package/react/components/icon/index.d.ts +1 -1
- package/react/components/icon/index.js +1 -1
- package/react/components/index.d.ts +28 -28
- package/react/components/index.js +28 -28
- package/react/components/legacyControls/FinsembleDialog.d.ts +18 -18
- package/react/components/legacyControls/FinsembleDialog.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialog.js +47 -47
- package/react/components/legacyControls/FinsembleDialog.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.d.ts +16 -16
- package/react/components/legacyControls/FinsembleDialogButton.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.js +21 -21
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts +14 -14
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.js +16 -16
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +22 -22
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.js +64 -64
- package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.d.ts +46 -46
- package/react/components/legacyControls/FinsembleDnDContext.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.js +308 -308
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.d.ts +15 -15
- package/react/components/legacyControls/FinsembleDraggable.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.js +21 -21
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
- package/react/components/linker/LinkerMenu.d.ts +10 -6
- package/react/components/linker/LinkerMenu.d.ts.map +1 -1
- package/react/components/linker/LinkerMenu.js +155 -155
- package/react/components/linker/LinkerMenu.js.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.d.ts +13 -7
- package/react/components/linker/LinkerMenuDeprecated.d.ts.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.js +38 -38
- package/react/components/linker/LinkerMenuDeprecated.js.map +1 -1
- package/react/components/linker/index.d.ts +1 -1
- package/react/components/linker/index.js +1 -1
- package/react/components/linker/remoteRedux.d.ts +3 -3
- package/react/components/linker/remoteRedux.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.js +10 -9
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/menu/Menu.d.ts +29 -29
- package/react/components/menu/Menu.d.ts.map +1 -1
- package/react/components/menu/Menu.js +25 -25
- package/react/components/menu/Menu.js.map +1 -1
- package/react/components/menu/MenuAutoResizer.d.ts +19 -18
- package/react/components/menu/MenuAutoResizer.d.ts.map +1 -1
- package/react/components/menu/MenuAutoResizer.js +125 -67
- package/react/components/menu/MenuAutoResizer.js.map +1 -1
- package/react/components/menu/MenuContent.d.ts +11 -11
- package/react/components/menu/MenuContent.d.ts.map +1 -1
- package/react/components/menu/MenuContent.js +14 -14
- package/react/components/menu/MenuHotKey.d.ts +20 -20
- package/react/components/menu/MenuHotKey.d.ts.map +1 -1
- package/react/components/menu/MenuHotKey.js +45 -45
- package/react/components/menu/MenuHotKey.js.map +1 -1
- package/react/components/menu/MenuItem.d.ts +19 -19
- package/react/components/menu/MenuItem.d.ts.map +1 -1
- package/react/components/menu/MenuItem.js +28 -21
- package/react/components/menu/MenuItem.js.map +1 -1
- package/react/components/menu/MenuPortal.d.ts +7 -7
- package/react/components/menu/MenuPortal.d.ts.map +1 -1
- package/react/components/menu/MenuPortal.js +321 -245
- package/react/components/menu/MenuPortal.js.map +1 -1
- package/react/components/menu/MenuShell.d.ts +31 -31
- package/react/components/menu/MenuShell.d.ts.map +1 -1
- package/react/components/menu/MenuShell.js +47 -47
- package/react/components/menu/MenuToggle.d.ts +7 -7
- package/react/components/menu/MenuToggle.d.ts.map +1 -1
- package/react/components/menu/MenuToggle.js +19 -18
- package/react/components/menu/MenuToggle.js.map +1 -1
- package/react/components/menu/index.d.ts +5 -5
- package/react/components/menu/index.js +5 -5
- package/react/components/menu/keyboardNavigation.d.ts +13 -13
- package/react/components/menu/keyboardNavigation.d.ts.map +1 -1
- package/react/components/menu/keyboardNavigation.js +197 -195
- package/react/components/menu/keyboardNavigation.js.map +1 -1
- package/react/components/menu/menuContext.d.ts +16 -17
- package/react/components/menu/menuContext.d.ts.map +1 -1
- package/react/components/menu/menuContext.js +8 -8
- package/react/components/menu/menuHelpers.d.ts +32 -32
- package/react/components/menu/menuHelpers.d.ts.map +1 -1
- package/react/components/menu/menuHelpers.js +112 -112
- package/react/components/menu/menuHelpers.js.map +1 -1
- package/react/components/notifications/components/NoNotifications.d.ts +3 -3
- package/react/components/notifications/components/NoNotifications.d.ts.map +1 -1
- package/react/components/notifications/components/NoNotifications.js +4 -4
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.d.ts +18 -18
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.js +83 -83
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts +5 -5
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +44 -44
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/CardView.d.ts +4 -4
- package/react/components/notifications/components/notificationsCenter/components/CardView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/CardView.js +91 -91
- package/react/components/notifications/components/notificationsCenter/components/CardView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/Drawer.d.ts +7 -7
- package/react/components/notifications/components/notificationsCenter/components/Drawer.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/Drawer.js +4 -4
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.d.ts +3 -3
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.js +93 -93
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.d.ts +7 -7
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.js +80 -77
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/ListView.d.ts +14 -14
- package/react/components/notifications/components/notificationsCenter/components/ListView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/ListView.js +150 -150
- package/react/components/notifications/components/notificationsCenter/components/ListView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.d.ts +18 -18
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.js +68 -68
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.d.ts +6 -6
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.js +63 -63
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.d.ts +9 -9
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.js +312 -303
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.js.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts +4 -4
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +220 -220
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.d.ts +5 -5
- package/react/components/notifications/components/shared/CheckButton.d.ts.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.js +38 -38
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.d.ts +10 -10
- package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -1
- package/react/components/notifications/components/shared/IconButton.js +10 -10
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +20 -20
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.js +92 -92
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +5 -5
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js +31 -31
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts +4 -4
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js +6 -6
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +8 -8
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js +12 -12
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +13 -13
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js +149 -149
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts +4 -4
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js +7 -7
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +10 -10
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js +18 -18
- package/react/components/notifications/constants.d.ts +9 -9
- package/react/components/notifications/constants.js +11 -11
- package/react/components/notifications/css/notification-card.css +1 -1
- package/react/components/notifications/icons/EnvelopeClose.d.ts +2 -2
- package/react/components/notifications/icons/EnvelopeClose.d.ts.map +1 -1
- package/react/components/notifications/icons/EnvelopeClose.js +11 -11
- package/react/components/notifications/icons/EnvelopeOpen.d.ts +2 -2
- package/react/components/notifications/icons/EnvelopeOpen.d.ts.map +1 -1
- package/react/components/notifications/icons/EnvelopeOpen.js +10 -10
- package/react/components/notifications/icons/SnoozeIcon.d.ts +2 -2
- package/react/components/notifications/icons/SnoozeIcon.d.ts.map +1 -1
- package/react/components/notifications/icons/SnoozeIcon.js +12 -12
- package/react/components/notifications/index.d.ts +8 -8
- package/react/components/notifications/index.js +8 -8
- package/react/components/notifications/notificationsContext.d.ts +6 -7
- package/react/components/notifications/notificationsContext.d.ts.map +1 -1
- package/react/components/notifications/notificationsContext.js +6 -6
- package/react/components/notifications/types.d.ts +90 -90
- package/react/components/notifications/types.d.ts.map +1 -1
- package/react/components/notifications/types.js +1 -1
- package/react/components/notifications/utils.d.ts +12 -12
- package/react/components/notifications/utils.js +70 -70
- package/react/components/notifications/utils.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.d.ts +6 -6
- package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.js +64 -64
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +22 -22
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.js +1 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts +11 -11
- package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.js +32 -32
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +8 -8
- package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
- package/react/components/processMonitor/components/ListHeader.js +50 -50
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/Process.d.ts +9 -9
- package/react/components/processMonitor/components/Process.d.ts.map +1 -1
- package/react/components/processMonitor/components/Process.js +10 -10
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +10 -10
- package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.js +64 -64
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.d.ts +8 -8
- package/react/components/processMonitor/constants.js +23 -23
- package/react/components/processMonitor/helpers.d.ts +17 -17
- package/react/components/processMonitor/helpers.js +48 -48
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/index.d.ts +1 -1
- package/react/components/processMonitor/index.js +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +58 -58
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +264 -264
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.d.ts +7 -7
- package/react/components/quickComponentForm/QuickComponentForm.d.ts.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.js +123 -123
- package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
- package/react/components/quickComponentForm/index.d.ts +1 -1
- package/react/components/quickComponentForm/index.js +1 -1
- package/react/components/search/Highlight.d.ts +12 -12
- package/react/components/search/Highlight.d.ts.map +1 -1
- package/react/components/search/Highlight.js +41 -41
- package/react/components/search/Highlight.js.map +1 -1
- package/react/components/search/Search.d.ts +5 -5
- package/react/components/search/Search.d.ts.map +1 -1
- package/react/components/search/Search.js +19 -27
- package/react/components/search/Search.js.map +1 -1
- package/react/components/search/SearchBestMatch.d.ts +6 -6
- package/react/components/search/SearchBestMatch.d.ts.map +1 -1
- package/react/components/search/SearchBestMatch.js +38 -38
- package/react/components/search/SearchBestMatch.js.map +1 -1
- package/react/components/search/SearchInput.d.ts +6 -6
- package/react/components/search/SearchInput.d.ts.map +1 -1
- package/react/components/search/SearchInput.js +26 -26
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/search/SearchProviderResults.d.ts +5 -5
- package/react/components/search/SearchProviderResults.d.ts.map +1 -1
- package/react/components/search/SearchProviderResults.js +26 -26
- package/react/components/search/SearchResult.d.ts +12 -12
- package/react/components/search/SearchResult.d.ts.map +1 -1
- package/react/components/search/SearchResult.js +52 -47
- package/react/components/search/SearchResult.js.map +1 -1
- package/react/components/search/SearchResults.d.ts +3 -3
- package/react/components/search/SearchResults.d.ts.map +1 -1
- package/react/components/search/SearchResults.js +21 -21
- package/react/components/search/SearchResults.js.map +1 -1
- package/react/components/search/index.d.ts +1 -1
- package/react/components/search/index.js +1 -1
- package/react/components/shared/BellIcon.d.ts +3 -3
- package/react/components/shared/BellIcon.d.ts.map +1 -1
- package/react/components/shared/BellIcon.js +7 -7
- package/react/components/shared/BellIconCrossed.d.ts +3 -3
- package/react/components/shared/BellIconCrossed.d.ts.map +1 -1
- package/react/components/shared/BellIconCrossed.js +9 -9
- package/react/components/shared/Button.d.ts +9 -9
- package/react/components/shared/Button.d.ts.map +1 -1
- package/react/components/shared/Button.js +5 -5
- package/react/components/shared/ConditionalWrapper.d.ts +8 -8
- package/react/components/shared/ConditionalWrapper.d.ts.map +1 -1
- package/react/components/shared/ConditionalWrapper.js +5 -5
- package/react/components/shared/DefaultDropdownButton.d.ts +18 -18
- package/react/components/shared/DefaultDropdownButton.d.ts.map +1 -1
- package/react/components/shared/DefaultDropdownButton.js +117 -117
- package/react/components/shared/DefaultDropdownButton.js.map +1 -1
- package/react/components/shared/Tag.d.ts +16 -8
- package/react/components/shared/Tag.d.ts.map +1 -1
- package/react/components/shared/Tag.js +22 -22
- package/react/components/shared/TagsMenu.d.ts +36 -36
- package/react/components/shared/TagsMenu.js +77 -77
- package/react/components/shared/TagsMenu.js.map +1 -1
- package/react/components/shared/addProtocolToValidURL.d.ts +7 -7
- package/react/components/shared/addProtocolToValidURL.js +11 -11
- package/react/components/shared/openQuitConfirmationDialog.d.ts +1 -1
- package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.js +73 -71
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/shared/validateURL.d.ts +19 -19
- package/react/components/shared/validateURL.js +29 -29
- package/react/components/singleInputDialog/SingleInputDialog.d.ts +12 -8
- package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.js +112 -112
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/singleInputDialog/index.d.ts +1 -1
- package/react/components/singleInputDialog/index.js +1 -1
- package/react/components/system/System.d.ts +34 -34
- package/react/components/system/System.d.ts.map +1 -1
- package/react/components/system/System.js +92 -93
- package/react/components/system/System.js.map +1 -1
- package/react/components/system/SystemTrayComponentShell.d.ts +14 -14
- package/react/components/system/SystemTrayComponentShell.d.ts.map +1 -1
- package/react/components/system/SystemTrayComponentShell.js +47 -45
- package/react/components/system/SystemTrayComponentShell.js.map +1 -1
- package/react/components/system/index.d.ts +2 -2
- package/react/components/system/index.js +2 -2
- package/react/components/toolbar/AlwaysOnTop.d.ts +10 -10
- package/react/components/toolbar/AlwaysOnTop.d.ts.map +1 -1
- package/react/components/toolbar/AlwaysOnTop.js +95 -78
- package/react/components/toolbar/AlwaysOnTop.js.map +1 -1
- package/react/components/toolbar/AutoArrange.d.ts +12 -12
- package/react/components/toolbar/AutoArrange.d.ts.map +1 -1
- package/react/components/toolbar/AutoArrange.js +36 -36
- package/react/components/toolbar/AutoArrange.js.map +1 -1
- package/react/components/toolbar/DownloadButton.d.ts +10 -10
- package/react/components/toolbar/DownloadButton.d.ts.map +1 -1
- package/react/components/toolbar/DownloadButton.js +43 -46
- package/react/components/toolbar/DownloadButton.js.map +1 -1
- package/react/components/toolbar/DragHandle.d.ts +11 -11
- package/react/components/toolbar/DragHandle.d.ts.map +1 -1
- package/react/components/toolbar/DragHandle.js +49 -49
- package/react/components/toolbar/MinimizeAll.d.ts +11 -11
- package/react/components/toolbar/MinimizeAll.d.ts.map +1 -1
- package/react/components/toolbar/MinimizeAll.js +24 -24
- package/react/components/toolbar/MinimizeAll.js.map +1 -1
- package/react/components/toolbar/NotificationControl.d.ts +12 -12
- package/react/components/toolbar/NotificationControl.d.ts.map +1 -1
- package/react/components/toolbar/NotificationControl.js +85 -79
- package/react/components/toolbar/NotificationControl.js.map +1 -1
- package/react/components/toolbar/RevealAll.d.ts +11 -11
- package/react/components/toolbar/RevealAll.d.ts.map +1 -1
- package/react/components/toolbar/RevealAll.js +26 -26
- package/react/components/toolbar/RevealAll.js.map +1 -1
- package/react/components/toolbar/SddButton.d.ts +6 -6
- package/react/components/toolbar/SddButton.d.ts.map +1 -1
- package/react/components/toolbar/SddButton.js +27 -27
- package/react/components/toolbar/SddButton.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.d.ts +6 -6
- package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarIcon.js +29 -41
- package/react/components/toolbar/ToolbarIcon.js.map +1 -1
- package/react/components/toolbar/ToolbarSection.d.ts +16 -16
- package/react/components/toolbar/ToolbarSection.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarSection.js +41 -41
- package/react/components/toolbar/ToolbarSection.js.map +1 -1
- package/react/components/toolbar/ToolbarShell.d.ts +20 -20
- package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarShell.js +35 -35
- package/react/components/toolbar/ToolbarShell.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts +10 -10
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js +26 -33
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.d.ts +43 -42
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.js +97 -89
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.d.ts +93 -93
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.js +334 -333
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewFolder.d.ts +10 -10
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewFolder.js +15 -15
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.d.ts +56 -56
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.js +175 -175
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.d.ts +33 -33
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.js +53 -53
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.d.ts +16 -16
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.js +43 -43
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.d.ts +38 -38
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.js +172 -171
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.d.ts +20 -20
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.js +52 -52
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.d.ts +59 -59
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.js +308 -295
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts +25 -25
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.js +103 -103
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/NoAppsFound.d.ts +11 -11
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/NoAppsFound.js +9 -9
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SearchBox.d.ts +18 -18
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SearchBox.js +51 -51
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SortBy.d.ts +13 -13
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SortBy.js +34 -34
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/TagsList.d.ts +19 -19
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/TagsList.js +38 -38
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.d.ts +8 -8
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.js +26 -26
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/AppDirectory.d.ts +8 -8
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/AppDirectory.js +10 -10
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.d.ts +55 -55
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.js +145 -145
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.d.ts +5 -5
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.js +21 -21
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.d.ts +96 -96
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.js +548 -546
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.d.ts +18 -18
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.js +55 -55
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.d.ts +16 -16
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.js +279 -240
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.d.ts +96 -96
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.js +329 -328
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.d.ts +40 -40
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.js +61 -61
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.d.ts +17 -17
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.js +42 -42
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.d.ts +18 -18
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.js +114 -114
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.d.ts +62 -62
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.js +260 -271
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts +9 -9
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.js +36 -37
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/NoAppsFound.d.ts +11 -11
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/NoAppsFound.js +9 -9
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SearchBox.d.ts +12 -12
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SearchBox.js +23 -23
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.d.ts +12 -12
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.js +16 -16
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/TagsList.d.ts +11 -11
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/TagsList.js +15 -15
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/constants.d.ts +4 -4
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/constants.js +4 -4
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.d.ts +26 -26
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.js +44 -42
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.d.ts +19 -19
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.js +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.d.ts +16 -16
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.js +46 -46
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.js.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts +28 -28
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js +48 -48
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +29 -29
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js +54 -48
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/appLauncher.css +0 -6
- package/react/components/toolbar/appLauncher/components/componentList.d.ts +14 -7
- package/react/components/toolbar/appLauncher/components/componentList.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/components/componentList.js +133 -133
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +44 -44
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +274 -259
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
- package/react/components/toolbar/bloomberg/BloombergStatus.d.ts +4 -4
- package/react/components/toolbar/bloomberg/BloombergStatus.d.ts.map +1 -1
- package/react/components/toolbar/bloomberg/BloombergStatus.js +109 -109
- package/react/components/toolbar/bloomberg/BloombergStatus.js.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.d.ts +4 -4
- package/react/components/toolbar/dashbar/Dashbar.d.ts.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.js +441 -449
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.d.ts +17 -17
- package/react/components/toolbar/dashbar/DashbarItem.d.ts.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.js +58 -58
- package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
- package/react/components/toolbar/index.d.ts +18 -18
- package/react/components/toolbar/index.js +18 -18
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +21 -21
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js +62 -56
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +23 -23
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js +76 -76
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts +8 -3
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js +50 -50
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +14 -9
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js +24 -24
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +136 -136
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +684 -684
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts +14 -15
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts.map +1 -1
- package/react/components/userPreferences/NotificationsPreferencesContext.js +6 -6
- package/react/components/userPreferences/UserPreferenceTypes.d.ts +9 -9
- package/react/components/userPreferences/UserPreferenceTypes.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferenceTypes.js +1 -1
- package/react/components/userPreferences/UserPreferences.d.ts +20 -16
- package/react/components/userPreferences/UserPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferences.js +27 -24
- package/react/components/userPreferences/UserPreferences.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.d.ts +3 -11
- package/react/components/userPreferences/UserPreferencesBase.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.js +101 -101
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts +4 -4
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.js +32 -28
- package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -1
- package/react/components/userPreferences/components/ContentSection.d.ts +23 -12
- package/react/components/userPreferences/components/ContentSection.d.ts.map +1 -1
- package/react/components/userPreferences/components/ContentSection.js +21 -21
- package/react/components/userPreferences/components/ContentSection.js.map +1 -1
- package/react/components/userPreferences/components/LeftNav.d.ts +14 -14
- package/react/components/userPreferences/components/LeftNav.d.ts.map +1 -1
- package/react/components/userPreferences/components/LeftNav.js +31 -31
- package/react/components/userPreferences/components/LeftNav.js.map +1 -1
- package/react/components/userPreferences/components/content/BloombergPreferences.d.ts +3 -3
- package/react/components/userPreferences/components/content/BloombergPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/BloombergPreferences.js +58 -58
- package/react/components/userPreferences/components/content/BloombergPreferences.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts +8 -8
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditor.js +129 -129
- package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts +10 -10
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.js +10 -10
- package/react/components/userPreferences/components/content/General.d.ts +3 -4
- package/react/components/userPreferences/components/content/General.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/General.js +48 -29
- package/react/components/userPreferences/components/content/General.js.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.d.ts +11 -11
- package/react/components/userPreferences/components/content/Notifications.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.js +39 -35
- package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +88 -88
- package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js +546 -529
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts +3 -3
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js +220 -211
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts +3 -3
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +134 -134
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts +3 -3
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +79 -79
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts +4 -4
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js +39 -39
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
- package/react/components/userPreferences/components/general/DownloadPreferences.d.ts +9 -9
- package/react/components/userPreferences/components/general/DownloadPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/DownloadPreferences.js +119 -111
- package/react/components/userPreferences/components/general/DownloadPreferences.js.map +1 -1
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts +3 -4
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/ResetPreferences.js +42 -36
- package/react/components/userPreferences/components/general/ResetPreferences.js.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts +10 -10
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledClose.js +133 -76
- package/react/components/userPreferences/components/general/ScheduledClose.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts +8 -8
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js +8 -8
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts +6 -6
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js +10 -10
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts +36 -35
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +85 -86
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts +8 -8
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js +6 -20
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -1
- package/react/components/userPreferences/index.d.ts +6 -6
- package/react/components/userPreferences/index.js +6 -6
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +39 -39
- package/react/components/userPreferences/stores/UserPreferencesStore.js +140 -140
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
- package/react/components/utils.d.ts +49 -49
- package/react/components/utils.d.ts.map +1 -1
- package/react/components/utils.js +59 -59
- package/react/components/utils.js.map +1 -1
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +8 -8
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/AlwaysOnTopButton.js +28 -28
- package/react/components/windowTitleBar/CloneButton.d.ts +2 -2
- package/react/components/windowTitleBar/CloneButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/CloneButton.js +22 -22
- package/react/components/windowTitleBar/CloneButton.js.map +1 -1
- package/react/components/windowTitleBar/CloseButton.d.ts +2 -2
- package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/CloseButton.js +21 -21
- package/react/components/windowTitleBar/CloseButton.js.map +1 -1
- package/react/components/windowTitleBar/GroupingButton.d.ts +2 -2
- package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/GroupingButton.js +24 -24
- package/react/components/windowTitleBar/LinkerButton.d.ts +10 -6
- package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerButton.js +116 -116
- package/react/components/windowTitleBar/LinkerButton.js.map +1 -1
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +10 -6
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js +62 -62
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/LinkerGroups.d.ts +6 -2
- package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerGroups.js +20 -20
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +6 -2
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +34 -34
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/MaximizeButton.d.ts +2 -2
- package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/MaximizeButton.js +17 -17
- package/react/components/windowTitleBar/MinimizeButton.d.ts +2 -2
- package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/MinimizeButton.js +20 -20
- package/react/components/windowTitleBar/ShareButton.d.ts +2 -2
- package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/ShareButton.js +23 -23
- package/react/components/windowTitleBar/TabRegion.d.ts +30 -30
- package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -1
- package/react/components/windowTitleBar/TabRegion.js +502 -490
- package/react/components/windowTitleBar/TabRegion.js.map +1 -1
- package/react/components/windowTitleBar/TabTitle.d.ts +7 -7
- package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -1
- package/react/components/windowTitleBar/TabTitle.js +16 -16
- package/react/components/windowTitleBar/TabTitle.js.map +1 -1
- package/react/components/windowTitleBar/TitleEdit.d.ts +9 -9
- package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -1
- package/react/components/windowTitleBar/TitleEdit.js +30 -29
- package/react/components/windowTitleBar/TitleEdit.js.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +10 -11
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarContext.js +2 -2
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +16 -16
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.js +46 -45
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.d.ts +9 -9
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.js +22 -22
- package/react/components/windowTitleBar/index.d.ts +12 -12
- package/react/components/windowTitleBar/index.js +12 -12
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +6 -6
- package/react/components/windowTitleBar/useKeyboardNavigation.js +56 -56
- package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -1
- package/react/components/windowTitleBar/useMaximize.d.ts +4 -4
- package/react/components/windowTitleBar/useMaximize.js +22 -22
- package/react/components/yesNoDialog/YesNoDialog.d.ts +11 -7
- package/react/components/yesNoDialog/YesNoDialog.d.ts.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.js +154 -154
- package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
- package/react/components/yesNoDialog/index.d.ts +1 -1
- package/react/components/yesNoDialog/index.js +1 -1
- package/react/components/yesNoDialog/timer.d.ts +15 -16
- package/react/components/yesNoDialog/timer.d.ts.map +1 -1
- package/react/components/yesNoDialog/timer.js +32 -32
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/hooks/index.d.ts +4 -4
- package/react/hooks/index.js +4 -4
- package/react/hooks/useAuth.d.ts +10 -10
- package/react/hooks/useAuth.d.ts.map +1 -1
- package/react/hooks/useAuth.js +26 -26
- package/react/hooks/useDashbar.d.ts +8 -8
- package/react/hooks/useDashbar.d.ts.map +1 -1
- package/react/hooks/useDashbar.js +115 -115
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useDeepEffect.d.ts +5 -5
- package/react/hooks/useDeepEffect.js +33 -33
- package/react/hooks/useDeepEffect.js.map +1 -1
- package/react/hooks/useDownloadItems.d.ts +23 -23
- package/react/hooks/useDownloadItems.d.ts.map +1 -1
- package/react/hooks/useDownloadItems.js +67 -67
- package/react/hooks/useDownloadItems.js.map +1 -1
- package/react/hooks/useDragRegion.d.ts +25 -26
- package/react/hooks/useDragRegion.d.ts.map +1 -1
- package/react/hooks/useDragRegion.js +73 -73
- package/react/hooks/useDragRegion.js.map +1 -1
- package/react/hooks/useFavorites.d.ts +24 -24
- package/react/hooks/useFavorites.d.ts.map +1 -1
- package/react/hooks/useFavorites.js +23 -23
- package/react/hooks/useFavoritesShell.d.ts +14 -14
- package/react/hooks/useFavoritesShell.d.ts.map +1 -1
- package/react/hooks/useFavoritesShell.js +76 -83
- package/react/hooks/useFavoritesShell.js.map +1 -1
- package/react/hooks/useFloatingFocus.d.ts +15 -15
- package/react/hooks/useFloatingFocus.d.ts.map +1 -1
- package/react/hooks/useFloatingFocus.js +36 -35
- package/react/hooks/useFloatingFocus.js.map +1 -1
- package/react/hooks/useHotkey.d.ts +8 -8
- package/react/hooks/useHotkey.js +24 -24
- package/react/hooks/useInjectedTitleBar.d.ts +2 -2
- package/react/hooks/useInjectedTitleBar.js +436 -436
- package/react/hooks/useInjectedTitleBar.js.map +1 -1
- package/react/hooks/useLinker.d.ts +4 -4
- package/react/hooks/useLinker.js +111 -111
- package/react/hooks/useLinker.js.map +1 -1
- package/react/hooks/useMenu.d.ts +39 -39
- package/react/hooks/useMenu.d.ts.map +1 -1
- package/react/hooks/useMenu.js +51 -51
- package/react/hooks/useNotifications.d.ts +76 -76
- package/react/hooks/useNotifications.d.ts.map +1 -1
- package/react/hooks/useNotifications.js +457 -434
- package/react/hooks/useNotifications.js.map +1 -1
- package/react/hooks/useOAuth.d.ts +16 -16
- package/react/hooks/useOAuth.d.ts.map +1 -1
- package/react/hooks/useOAuth.js +115 -115
- package/react/hooks/useOAuth.js.map +1 -1
- package/react/hooks/useOutsideClickDetector.d.ts +5 -5
- package/react/hooks/useOutsideClickDetector.d.ts.map +1 -1
- package/react/hooks/useOutsideClickDetector.js +17 -17
- package/react/hooks/useOutsideClickDetector.js.map +1 -1
- package/react/hooks/usePubSub.d.ts +21 -21
- package/react/hooks/usePubSub.js +38 -38
- package/react/hooks/usePubSub.js.map +1 -1
- package/react/hooks/useSearch.d.ts +14 -14
- package/react/hooks/useSearch.d.ts.map +1 -1
- package/react/hooks/useSearch.js +76 -72
- package/react/hooks/useSearch.js.map +1 -1
- package/react/hooks/useTitle.d.ts +17 -17
- package/react/hooks/useTitle.d.ts.map +1 -1
- package/react/hooks/useTitle.js +28 -28
- package/react/hooks/useTitle.js.map +1 -1
- package/react/hooks/useToolbar.d.ts +11 -11
- package/react/hooks/useToolbar.js +162 -162
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/index.d.ts +2 -2
- package/react/index.js +2 -2
- package/react/reducers/favoriteReducer.d.ts +11 -11
- package/react/reducers/favoriteReducer.d.ts.map +1 -1
- package/react/reducers/favoriteReducer.js +27 -27
- package/react/reducers/linkerReducer.d.ts +13 -13
- package/react/reducers/linkerReducer.d.ts.map +1 -1
- package/react/reducers/linkerReducer.js +43 -43
- package/react/reducers/linkerReducer.js.map +1 -1
- package/react/reducers/menuReducer.d.ts +36 -36
- package/react/reducers/menuReducer.d.ts.map +1 -1
- package/react/reducers/menuReducer.js +65 -65
- package/react/reducers/rootReducer.d.ts +239 -239
- package/react/reducers/rootReducer.d.ts.map +1 -1
- package/react/reducers/rootReducer.js +20 -20
- package/react/reducers/searchReducer.d.ts +15 -15
- package/react/reducers/searchReducer.d.ts.map +1 -1
- package/react/reducers/searchReducer.js +27 -27
- package/react/reducers/smartDesktopDesignerReducer.d.ts +5 -5
- package/react/reducers/smartDesktopDesignerReducer.js +190 -190
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
- package/react/reducers/toolbarReducer.d.ts +10 -10
- package/react/reducers/toolbarReducer.d.ts.map +1 -1
- package/react/reducers/toolbarReducer.js +29 -29
- package/react/reducers/workspaceReducer.d.ts +10 -10
- package/react/reducers/workspaceReducer.d.ts.map +1 -1
- package/react/reducers/workspaceReducer.js +26 -26
- package/react/reducers/workspaceReducer.js.map +1 -1
- package/react/store.d.ts +450 -450
- package/react/store.d.ts.map +1 -1
- package/react/store.js +17 -17
- package/react/types/advancedAppLauncherTypes.d.ts +44 -44
- package/react/types/advancedAppLauncherTypes.d.ts.map +1 -1
- package/react/types/advancedAppLauncherTypes.js +1 -1
- package/react/types/dashbarTypes.d.ts +44 -41
- package/react/types/dashbarTypes.d.ts.map +1 -1
- package/react/types/dashbarTypes.js +1 -1
- package/react/types/favoriteTypes.d.ts +8 -8
- package/react/types/favoriteTypes.d.ts.map +1 -1
- package/react/types/favoriteTypes.js +1 -1
- package/react/types/fdc3.d.ts +27 -29
- package/react/types/fdc3.d.ts.map +1 -1
- package/react/types/fdc3.js +6 -6
- package/react/types/hotkeyTypes.d.ts +1 -1
- package/react/types/hotkeyTypes.d.ts.map +1 -1
- package/react/types/hotkeyTypes.js +1 -1
- package/react/types/linkerTypes.d.ts +27 -27
- package/react/types/linkerTypes.d.ts.map +1 -1
- package/react/types/linkerTypes.js +2 -2
- package/react/types/smartDesktopDesignerTypes.d.ts +227 -227
- package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -1
- package/react/types/smartDesktopDesignerTypes.js +19 -19
- package/react/types/workspaceTypes.d.ts +30 -30
- package/react/types/workspaceTypes.d.ts.map +1 -1
- package/react/types/workspaceTypes.js +1 -1
- package/services/index.d.ts +6 -0
- package/services/index.d.ts.map +1 -0
- package/services/index.js +6 -0
- package/services/index.js.map +1 -0
- package/services/logger/types.d.ts +2 -0
- package/services/logger/types.d.ts.map +1 -0
- package/services/logger/types.js +2 -0
- package/services/logger/types.js.map +1 -0
- package/services/search/types.d.ts +2 -0
- package/services/search/types.d.ts.map +1 -0
- package/services/search/types.js +2 -0
- package/services/search/types.js.map +1 -0
- package/services/storage/adapters/types.d.ts +2 -0
- package/services/storage/adapters/types.d.ts.map +1 -0
- package/services/storage/adapters/types.js +2 -0
- package/services/storage/adapters/types.js.map +1 -0
- package/services/window/types.d.ts +2 -0
- package/services/window/types.d.ts.map +1 -0
- package/services/window/types.js +2 -0
- package/services/window/types.js.map +1 -0
- package/services/workspace/types.d.ts +2 -0
- package/services/workspace/types.d.ts.map +1 -0
- package/services/workspace/types.js +2 -0
- package/services/workspace/types.js.map +1 -0
- package/typedoc-types.d.ts +8 -8
- package/typedoc-types.d.ts.map +1 -1
- package/typedoc-types.js +5 -5
- package/types.d.ts +15 -16
- package/types.d.ts.map +1 -1
- package/types.js +4 -7
- package/types.js.map +1 -1
- package/react/components/userPreferences/FinsembleUserPreferences.d.ts +0 -17
- package/react/components/userPreferences/FinsembleUserPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/FinsembleUserPreferences.js +0 -28
- package/react/components/userPreferences/FinsembleUserPreferences.js.map +0 -1
- package/react/components/userPreferences/iocdUserPreferences.d.ts +0 -17
- package/react/components/userPreferences/iocdUserPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/iocdUserPreferences.js +0 -49
- package/react/components/userPreferences/iocdUserPreferences.js.map +0 -1
- package/react/components/userPreferences/utils.d.ts +0 -3
- package/react/components/userPreferences/utils.d.ts.map +0 -1
- package/react/components/userPreferences/utils.js +0 -11
- package/react/components/userPreferences/utils.js.map +0 -1
- package/typedefs/FDC3/api/AppIdentifier.d.ts +0 -22
- package/typedefs/FDC3/api/AppIdentifier.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppIdentifier.js +0 -6
- package/typedefs/FDC3/api/AppIdentifier.js.map +0 -1
- package/typedefs/FDC3/api/AppIntent.d.ts +0 -16
- package/typedefs/FDC3/api/AppIntent.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppIntent.js +0 -6
- package/typedefs/FDC3/api/AppIntent.js.map +0 -1
- package/typedefs/FDC3/api/AppMetadata.d.ts +0 -41
- package/typedefs/FDC3/api/AppMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppMetadata.js +0 -6
- package/typedefs/FDC3/api/AppMetadata.js.map +0 -1
- package/typedefs/FDC3/api/Channel.d.ts +0 -73
- package/typedefs/FDC3/api/Channel.d.ts.map +0 -1
- package/typedefs/FDC3/api/Channel.js +0 -6
- package/typedefs/FDC3/api/Channel.js.map +0 -1
- package/typedefs/FDC3/api/ContextMetadata.d.ts +0 -19
- package/typedefs/FDC3/api/ContextMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/ContextMetadata.js +0 -6
- package/typedefs/FDC3/api/ContextMetadata.js.map +0 -1
- package/typedefs/FDC3/api/DesktopAgent.d.ts +0 -549
- package/typedefs/FDC3/api/DesktopAgent.d.ts.map +0 -1
- package/typedefs/FDC3/api/DesktopAgent.js +0 -6
- package/typedefs/FDC3/api/DesktopAgent.js.map +0 -1
- package/typedefs/FDC3/api/DisplayMetadata.d.ts +0 -24
- package/typedefs/FDC3/api/DisplayMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/DisplayMetadata.js +0 -6
- package/typedefs/FDC3/api/DisplayMetadata.js.map +0 -1
- package/typedefs/FDC3/api/Errors.d.ts +0 -67
- package/typedefs/FDC3/api/Errors.d.ts.map +0 -1
- package/typedefs/FDC3/api/Errors.js +0 -72
- package/typedefs/FDC3/api/Errors.js.map +0 -1
- package/typedefs/FDC3/api/Icon.d.ts +0 -13
- package/typedefs/FDC3/api/Icon.d.ts.map +0 -1
- package/typedefs/FDC3/api/Icon.js +0 -6
- package/typedefs/FDC3/api/Icon.js.map +0 -1
- package/typedefs/FDC3/api/Image.d.ts +0 -15
- package/typedefs/FDC3/api/Image.d.ts.map +0 -1
- package/typedefs/FDC3/api/Image.js +0 -6
- package/typedefs/FDC3/api/Image.js.map +0 -1
- package/typedefs/FDC3/api/ImplementationMetadata.d.ts +0 -36
- package/typedefs/FDC3/api/ImplementationMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/ImplementationMetadata.js +0 -6
- package/typedefs/FDC3/api/ImplementationMetadata.js.map +0 -1
- package/typedefs/FDC3/api/IntentMetadata.d.ts +0 -18
- package/typedefs/FDC3/api/IntentMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/IntentMetadata.js +0 -6
- package/typedefs/FDC3/api/IntentMetadata.js.map +0 -1
- package/typedefs/FDC3/api/IntentResolution.d.ts +0 -68
- package/typedefs/FDC3/api/IntentResolution.d.ts.map +0 -1
- package/typedefs/FDC3/api/IntentResolution.js +0 -6
- package/typedefs/FDC3/api/IntentResolution.js.map +0 -1
- package/typedefs/FDC3/api/Listener.d.ts +0 -11
- package/typedefs/FDC3/api/Listener.d.ts.map +0 -1
- package/typedefs/FDC3/api/Listener.js +0 -6
- package/typedefs/FDC3/api/Listener.js.map +0 -1
- package/typedefs/FDC3/api/Methods.d.ts +0 -72
- package/typedefs/FDC3/api/Methods.d.ts.map +0 -1
- package/typedefs/FDC3/api/Methods.js +0 -199
- package/typedefs/FDC3/api/Methods.js.map +0 -1
- package/typedefs/FDC3/api/PrivateChannel.d.ts +0 -54
- package/typedefs/FDC3/api/PrivateChannel.d.ts.map +0 -1
- package/typedefs/FDC3/api/PrivateChannel.js +0 -6
- package/typedefs/FDC3/api/PrivateChannel.js.map +0 -1
- package/typedefs/FDC3/api/RecommendedChannels.d.ts +0 -14
- package/typedefs/FDC3/api/RecommendedChannels.d.ts.map +0 -1
- package/typedefs/FDC3/api/RecommendedChannels.js +0 -80
- package/typedefs/FDC3/api/RecommendedChannels.js.map +0 -1
- package/typedefs/FDC3/api/Types.d.ts +0 -30
- package/typedefs/FDC3/api/Types.d.ts.map +0 -1
- package/typedefs/FDC3/api/Types.js +0 -6
- package/typedefs/FDC3/api/Types.js.map +0 -1
- package/typedefs/FDC3/bridging/BridgingTypes.d.ts +0 -3967
- package/typedefs/FDC3/bridging/BridgingTypes.d.ts.map +0 -1
- package/typedefs/FDC3/bridging/BridgingTypes.js +0 -1857
- package/typedefs/FDC3/bridging/BridgingTypes.js.map +0 -1
- package/typedefs/FDC3/context/ContextType.d.ts +0 -41
- package/typedefs/FDC3/context/ContextType.d.ts.map +0 -1
- package/typedefs/FDC3/context/ContextType.js +0 -30
- package/typedefs/FDC3/context/ContextType.js.map +0 -1
- package/typedefs/FDC3/context/ContextTypes.d.ts +0 -2000
- package/typedefs/FDC3/context/ContextTypes.d.ts.map +0 -1
- package/typedefs/FDC3/context/ContextTypes.js +0 -873
- package/typedefs/FDC3/context/ContextTypes.js.map +0 -1
- package/typedefs/FDC3/index.d.ts +0 -34
- package/typedefs/FDC3/index.d.ts.map +0 -1
- package/typedefs/FDC3/index.js +0 -30
- package/typedefs/FDC3/index.js.map +0 -1
- package/typedefs/FDC3/intents/Intents.d.ts +0 -36
- package/typedefs/FDC3/intents/Intents.d.ts.map +0 -1
- package/typedefs/FDC3/intents/Intents.js +0 -29
- package/typedefs/FDC3/intents/Intents.js.map +0 -1
- package/typedefs/FDC3/internal/contextConfiguration.d.ts +0 -2
- package/typedefs/FDC3/internal/contextConfiguration.d.ts.map +0 -1
- package/typedefs/FDC3/internal/contextConfiguration.js +0 -5
- package/typedefs/FDC3/internal/contextConfiguration.js.map +0 -1
- package/typedefs/FDC3/internal/intentConfiguration.d.ts +0 -2
- package/typedefs/FDC3/internal/intentConfiguration.d.ts.map +0 -1
- package/typedefs/FDC3/internal/intentConfiguration.js +0 -5
- package/typedefs/FDC3/internal/intentConfiguration.js.map +0 -1
- package/typedefs/FDC3/internal/typeHelpers.d.ts +0 -7
- package/typedefs/FDC3/internal/typeHelpers.d.ts.map +0 -1
- package/typedefs/FDC3/internal/typeHelpers.js +0 -5
- package/typedefs/FDC3/internal/typeHelpers.js.map +0 -1
- package/typedefs/index.d.ts +0 -2
- package/typedefs/index.d.ts.map +0 -1
- package/typedefs/index.js +0 -3
- package/typedefs/index.js.map +0 -1
|
@@ -1,1417 +1,1459 @@
|
|
|
1
|
-
import { RouterClient } from "../clients/routerClient";
|
|
2
|
-
import { Logger } from "../clients/logger";
|
|
3
|
-
import * as util from "./util";
|
|
4
|
-
import PublicEventManager from "./events/PublicEventManager";
|
|
5
|
-
import { WINDOWSTATE } from "./constants";
|
|
6
|
-
import { System } from "./system";
|
|
7
|
-
import { FEAGlobals } from "./Globals";
|
|
8
|
-
import { actions, emptyStore } from "../platform/services/window/modules/actions";
|
|
9
|
-
import { getRemoteStoreAsSingleton } from "../common/redux/getRemoteStore";
|
|
10
|
-
import clone from "lodash/cloneDeep";
|
|
11
|
-
export class FinsembleView {
|
|
12
|
-
constructor(params) {
|
|
13
|
-
|
|
14
|
-
this.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
this.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
*
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
*
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
*
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
*
|
|
130
|
-
* @
|
|
131
|
-
* @
|
|
132
|
-
*
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
* @
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
wrap
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
wrap
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
wrap.
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
*
|
|
441
|
-
* @
|
|
442
|
-
*/
|
|
443
|
-
static
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
* @
|
|
450
|
-
*/
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
*
|
|
488
|
-
*
|
|
489
|
-
*
|
|
490
|
-
* @
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
*
|
|
578
|
-
*
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
*
|
|
605
|
-
*
|
|
606
|
-
*
|
|
607
|
-
*
|
|
608
|
-
*
|
|
609
|
-
*
|
|
610
|
-
*
|
|
611
|
-
*
|
|
612
|
-
*
|
|
613
|
-
*
|
|
614
|
-
*
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
*
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
*
|
|
652
|
-
*
|
|
653
|
-
*
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
*
|
|
675
|
-
*
|
|
676
|
-
*
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
*
|
|
698
|
-
*
|
|
699
|
-
*
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
*
|
|
719
|
-
*
|
|
720
|
-
*
|
|
721
|
-
*
|
|
722
|
-
*
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
}
|
|
732
|
-
/**
|
|
733
|
-
*
|
|
734
|
-
*
|
|
735
|
-
*
|
|
736
|
-
* @
|
|
737
|
-
*
|
|
738
|
-
*
|
|
739
|
-
*
|
|
740
|
-
*
|
|
741
|
-
*
|
|
742
|
-
*
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
*
|
|
755
|
-
*
|
|
756
|
-
*
|
|
757
|
-
* @param
|
|
758
|
-
* @param
|
|
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
|
-
|
|
795
|
-
|
|
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
|
-
* // Sync alternative
|
|
892
|
-
* finsembleWindow.
|
|
893
|
-
* console.log(
|
|
894
|
-
*
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
*
|
|
909
|
-
*
|
|
910
|
-
*
|
|
911
|
-
*
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
*
|
|
918
|
-
*
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
*
|
|
926
|
-
*
|
|
927
|
-
*
|
|
928
|
-
*
|
|
929
|
-
*
|
|
930
|
-
*
|
|
931
|
-
*
|
|
932
|
-
*
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
*
|
|
949
|
-
*
|
|
950
|
-
* @
|
|
951
|
-
*
|
|
952
|
-
*
|
|
953
|
-
*
|
|
954
|
-
*/
|
|
955
|
-
|
|
956
|
-
this.queryWindowService("
|
|
957
|
-
}
|
|
958
|
-
/**
|
|
959
|
-
*
|
|
960
|
-
*
|
|
961
|
-
* @param params
|
|
962
|
-
* @param
|
|
963
|
-
* @
|
|
964
|
-
*
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
*
|
|
989
|
-
*
|
|
990
|
-
*
|
|
991
|
-
*
|
|
992
|
-
*
|
|
993
|
-
*
|
|
994
|
-
*
|
|
995
|
-
*
|
|
996
|
-
*/
|
|
997
|
-
|
|
998
|
-
this.
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
*
|
|
1004
|
-
*
|
|
1005
|
-
* @
|
|
1006
|
-
*
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
*
|
|
1020
|
-
*
|
|
1021
|
-
*
|
|
1022
|
-
*
|
|
1023
|
-
*
|
|
1024
|
-
*
|
|
1025
|
-
*/
|
|
1026
|
-
|
|
1027
|
-
this.queryWindowService("
|
|
1028
|
-
}
|
|
1029
|
-
/**
|
|
1030
|
-
*
|
|
1031
|
-
*
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
*
|
|
1066
|
-
*
|
|
1067
|
-
*/
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
*
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
*
|
|
1085
|
-
*/
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
*
|
|
1141
|
-
*
|
|
1142
|
-
*
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
Logger.system.
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
*
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
*
|
|
1242
|
-
*
|
|
1243
|
-
*
|
|
1244
|
-
*
|
|
1245
|
-
*
|
|
1246
|
-
*/
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
*
|
|
1272
|
-
*
|
|
1273
|
-
*
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
*
|
|
1280
|
-
*
|
|
1281
|
-
*
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
*
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
* @
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
}
|
|
1312
|
-
/**
|
|
1313
|
-
*
|
|
1314
|
-
*
|
|
1315
|
-
*
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
*
|
|
1339
|
-
*
|
|
1340
|
-
*
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
*
|
|
1356
|
-
*
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1
|
+
import { RouterClient } from "../clients/routerClient";
|
|
2
|
+
import { Logger } from "../clients/logger";
|
|
3
|
+
import * as util from "./util";
|
|
4
|
+
import PublicEventManager from "./events/PublicEventManager";
|
|
5
|
+
import { WINDOWSTATE } from "./constants";
|
|
6
|
+
import { System } from "./system";
|
|
7
|
+
import { FEAGlobals } from "./Globals";
|
|
8
|
+
import { actions, emptyStore } from "../platform/services/window/modules/actions";
|
|
9
|
+
import { getRemoteStoreAsSingleton } from "../common/redux/getRemoteStore";
|
|
10
|
+
import clone from "lodash/cloneDeep";
|
|
11
|
+
export class FinsembleView {
|
|
12
|
+
constructor(params) {
|
|
13
|
+
var _a;
|
|
14
|
+
this.onLoadHandler = (event) => {
|
|
15
|
+
if ((event === null || event === void 0 ? void 0 : event.viewId) === this.id) {
|
|
16
|
+
this.subscriptions.forEach((cb) => cb === null || cb === void 0 ? void 0 : cb());
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
this.win = params.win;
|
|
20
|
+
this.id = params.id;
|
|
21
|
+
this.subscriptions = [];
|
|
22
|
+
this.isVisible = (_a = params.visible) !== null && _a !== void 0 ? _a : true;
|
|
23
|
+
}
|
|
24
|
+
async remove(cb = Function.prototype) {
|
|
25
|
+
if (this.subscriptions.length > 0) {
|
|
26
|
+
System.removeEventListener("browserView-content-loaded", this.onLoadHandler);
|
|
27
|
+
}
|
|
28
|
+
await this.win.removeBrowserView(this, cb);
|
|
29
|
+
}
|
|
30
|
+
async setBounds(bounds, cb = Function.prototype) {
|
|
31
|
+
await this.win.setViewBounds({ view: this, bounds }, cb);
|
|
32
|
+
}
|
|
33
|
+
async bringToFront(cb = Function.prototype) {
|
|
34
|
+
await this.win.bringViewToFront(this, cb);
|
|
35
|
+
}
|
|
36
|
+
async showView(cb = Function.prototype) {
|
|
37
|
+
this.isVisible = true;
|
|
38
|
+
await this.win.showBrowserView(this, cb);
|
|
39
|
+
}
|
|
40
|
+
async hideView(cb = Function.prototype) {
|
|
41
|
+
this.isVisible = false;
|
|
42
|
+
await this.win.hideBrowserView(this, cb);
|
|
43
|
+
}
|
|
44
|
+
onContentLoaded(cb = Function.prototype) {
|
|
45
|
+
this.subscriptions.push(cb);
|
|
46
|
+
if (this.subscriptions.length === 1) {
|
|
47
|
+
System.addEventListener("browserView-content-loaded", this.onLoadHandler);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
<h2>Finsemble Window</h2>
|
|
54
|
+
----------
|
|
55
|
+
|
|
56
|
+
This class provides access to some low level window management operations.
|
|
57
|
+
|
|
58
|
+
This class is intended for internal-use only, so it may change without warning. Do not rely on this class.
|
|
59
|
+
@constructor
|
|
60
|
+
*/
|
|
61
|
+
export class FinsembleWindow extends PublicEventManager {
|
|
62
|
+
/**
|
|
63
|
+
* @private
|
|
64
|
+
* @param params
|
|
65
|
+
*/
|
|
66
|
+
constructor(params) {
|
|
67
|
+
super({
|
|
68
|
+
name: params.name,
|
|
69
|
+
sourceType: "Window",
|
|
70
|
+
});
|
|
71
|
+
this.types = {};
|
|
72
|
+
this.wrapState = params.wrapState || "initializing";
|
|
73
|
+
this.componentState = {};
|
|
74
|
+
this.windowState = WINDOWSTATE.NORMAL;
|
|
75
|
+
this.type = null;
|
|
76
|
+
this.windowType = null;
|
|
77
|
+
this.bounds = {};
|
|
78
|
+
this.guid = `${Date.now()}_${Math.random()}`;
|
|
79
|
+
this.WINDOWSTATE = WINDOWSTATE;
|
|
80
|
+
this.windowOptions = {};
|
|
81
|
+
// because we were doing this[i]=params[i] in the constructor jscrambler was creating a reference to "this" above _super_, causing everything to break
|
|
82
|
+
this.doConstruction(params);
|
|
83
|
+
this.componentKey = util.camelCase("activeWorkspace", this.name, this.name);
|
|
84
|
+
this.windowKey = util.camelCase("activeWorkspace", this.name);
|
|
85
|
+
FinsembleWindow.bindFunctions(this);
|
|
86
|
+
}
|
|
87
|
+
// allows backwards compatibility.
|
|
88
|
+
/**
|
|
89
|
+
* Internal use only - changes pre-3.5 event names to standardized, post-3.5 event names
|
|
90
|
+
* @private
|
|
91
|
+
* @param {string} event - name of the event
|
|
92
|
+
*/
|
|
93
|
+
standardizeEventName(event) {
|
|
94
|
+
// @todo - This needs some fiddling for typescript. (input type: string, return type: WindowEventName)
|
|
95
|
+
switch (event) {
|
|
96
|
+
// all of these should be deprecated in 3.5ish.
|
|
97
|
+
case "bounds-set":
|
|
98
|
+
case "stoppedMoving":
|
|
99
|
+
return "bounds-change-end";
|
|
100
|
+
case "startedMoving":
|
|
101
|
+
return "bounds-change-start";
|
|
102
|
+
case "bringToFront":
|
|
103
|
+
return "broughtToFront";
|
|
104
|
+
default:
|
|
105
|
+
return event;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Add an event listener
|
|
110
|
+
*
|
|
111
|
+
* @param {WindowEventName} eventName - The event to be listened for
|
|
112
|
+
* @param {Function} handler - The function that receives the notification
|
|
113
|
+
* @returns {Function} - an unsubscriber
|
|
114
|
+
* @example
|
|
115
|
+
* const unsubscriber = finsembleWindow.addEventListener("maximized", (eventObject) => {
|
|
116
|
+
* console.log("The window was maximized. Passed event object:", eventObject);
|
|
117
|
+
* });
|
|
118
|
+
*
|
|
119
|
+
* // To unsubscribe:
|
|
120
|
+
* unsubscriber();
|
|
121
|
+
*/
|
|
122
|
+
addEventListener(eventName, handler) {
|
|
123
|
+
eventName = this.standardizeEventName(eventName);
|
|
124
|
+
return super.addEventListener(eventName, handler);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Deprecated - please use the unsubscriber returned by the addEventListener
|
|
128
|
+
*
|
|
129
|
+
* @param {string} eventName - The event to be listened for
|
|
130
|
+
* @param {Function} handler - The handler function that was originally registered under addEventListener (must be a named function)
|
|
131
|
+
* @example
|
|
132
|
+
* const myFunc = (eventObj) => {console.log(eventObj)};
|
|
133
|
+
* finsembleWindow.addEventListener("minimized", myFunc);
|
|
134
|
+
* finsembleWindow.removeEventListener("minimized", myFunc);
|
|
135
|
+
*/
|
|
136
|
+
removeEventListener(eventName, handler, logWarning = false) {
|
|
137
|
+
// Should not be able to add closed listener on one's self because obviously those will not return back
|
|
138
|
+
if (eventName === "closed" && FEAGlobals.finsembleWindow ? this.name === FEAGlobals.finsembleWindow.name : false) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
eventName = this.standardizeEventName(eventName);
|
|
142
|
+
return super.removeEventListener(eventName, handler, logWarning);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Internal use only - Returns the name of the window service channel for a given service or topic
|
|
146
|
+
* @private
|
|
147
|
+
* @param {string} channelTopic - the topic or service (eg, "close", "maximize")
|
|
148
|
+
* @returns {string} the window service channel name, which can be used for router queries/listening
|
|
149
|
+
*/
|
|
150
|
+
windowServiceChannelName(channelTopic) {
|
|
151
|
+
return `WindowService-Request-${channelTopic}`;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Internal use only - Returns the event channel name for a given topic
|
|
155
|
+
* @private
|
|
156
|
+
* @param {string} channelTopic - name of the event channel topic
|
|
157
|
+
* @returns {string} the full event channel name
|
|
158
|
+
*/
|
|
159
|
+
eventChannelName(channelTopic) {
|
|
160
|
+
const name = this.name || this.windowName;
|
|
161
|
+
return `WindowService-Event-${name}-${channelTopic}`;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* @private
|
|
165
|
+
* @param params
|
|
166
|
+
*/
|
|
167
|
+
doConstruction(params) {
|
|
168
|
+
if (!params.setWindowType && !params.windowType) {
|
|
169
|
+
// Default WindowType
|
|
170
|
+
params.windowType = "WebWindow";
|
|
171
|
+
}
|
|
172
|
+
if (params.windowType) {
|
|
173
|
+
// We need to make a specific kind of Window
|
|
174
|
+
params.setWindowType = params.windowType;
|
|
175
|
+
delete params.windowType; // Prevent infinite loop
|
|
176
|
+
const BW = FinsembleWindow; // have to do this because we're mutating the class using static functions and all kinds of bad stuff. This tells the typescript compiler that the FinsembleWindow here is of type any -- basically don't worry about its type.
|
|
177
|
+
return new BW(params);
|
|
178
|
+
} // We are a specific kind of window
|
|
179
|
+
if (params) {
|
|
180
|
+
for (const i in params) {
|
|
181
|
+
this[i] = params[i];
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
if (!this.name)
|
|
185
|
+
this.name = params.windowName;
|
|
186
|
+
this.windowType = this.setWindowType;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Internal Use Only - register BaseWindow extended classes by reference name
|
|
190
|
+
*
|
|
191
|
+
* @private
|
|
192
|
+
* @param name - reference type
|
|
193
|
+
* @param type - BaseWindow extended class
|
|
194
|
+
* @example
|
|
195
|
+
* finsembleWindow.registerType("WebWindow", WebWindow);
|
|
196
|
+
*/
|
|
197
|
+
static registerType(name, type) {
|
|
198
|
+
const BW = FinsembleWindow; // have to do this because we're mutating the class using static functions and all kinds of bad stuff. This tells the typescript compiler that the FinsembleWindow here is of type any -- basically don't worry about its type.
|
|
199
|
+
if (!BW.types) {
|
|
200
|
+
BW.types = {};
|
|
201
|
+
}
|
|
202
|
+
BW.types[name] = type;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* @private
|
|
206
|
+
* This is used to bind all functions only in FinsembleWindow and not in the child wrappers to the wrappers. Without this binding, the value of "this" in the functions is wrong.
|
|
207
|
+
* @param {} obj
|
|
208
|
+
*/
|
|
209
|
+
static bindFunctions(obj) {
|
|
210
|
+
obj.eventChannelName = obj.eventChannelName.bind(obj);
|
|
211
|
+
obj.windowServiceChannelName = obj.windowServiceChannelName.bind(obj);
|
|
212
|
+
obj.handleWrapRemoveRequest = obj.handleWrapRemoveRequest.bind(obj);
|
|
213
|
+
obj.reload = obj.reload.bind(obj);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Internal use only
|
|
217
|
+
* If you want to get a FinsembleWindow instance (aka a Wrap, aka a WindowWrap), use `FSBL.FinsembleWindow.getInstance`
|
|
218
|
+
* @private
|
|
219
|
+
*/
|
|
220
|
+
static async createWrapFromUUIDAndName(name, params) {
|
|
221
|
+
var _a;
|
|
222
|
+
const { uuid, windowType } = params;
|
|
223
|
+
if (params.waitForReady !== false) {
|
|
224
|
+
try {
|
|
225
|
+
await FinsembleWindow._windowReady(name); // wait to ensure the window is fully ready in the window service
|
|
226
|
+
params.wrapState = "ready";
|
|
227
|
+
}
|
|
228
|
+
catch (err) {
|
|
229
|
+
return { err };
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
Logger.system.debug("WRAP LIFECYCLE:", name, "All information for wrap passed in, creating wrap locally");
|
|
233
|
+
// Multiple requests for the same window could've come in at once. Right before we create this wrap, we should check that it hasn't been cached while we were waiting for _windowReady to resolve.
|
|
234
|
+
const wrap = FinsembleWindow.cache[name];
|
|
235
|
+
if (wrap) {
|
|
236
|
+
Logger.system.debug("WRAP LIFECYCLE:", name, "Window found in the cache, returning without going to the Launcher");
|
|
237
|
+
return { data: wrap };
|
|
238
|
+
}
|
|
239
|
+
const data = await FinsembleWindow._createWrap({
|
|
240
|
+
...params,
|
|
241
|
+
windowIdentifier: (_a = params.windowIdentifier) !== null && _a !== void 0 ? _a : {
|
|
242
|
+
uuid,
|
|
243
|
+
name,
|
|
244
|
+
windowName: name,
|
|
245
|
+
windowType,
|
|
246
|
+
},
|
|
247
|
+
});
|
|
248
|
+
return { data: data.wrap };
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Async wrap. Given a name/windowName, it will query the launcher for information required to wrap the window. Then it will return an object that can be operated on.
|
|
252
|
+
* Also this creates a cache of all wrapped windows for performance. Our clients wrap the same window often and this was causing excessive messaging to the store and degrading performance.
|
|
253
|
+
*
|
|
254
|
+
* @param {*} params Need only name in most cases. For service and other cases where the window is not part of what the launcher considers active windows, name and uuid are required
|
|
255
|
+
* @param {boolean} [params.waitForReady] If true, will async await for Finsemble to return ready before continuing to build the instance to return
|
|
256
|
+
* @param {string} [params.name] - Name of the app (must include name or windowName)
|
|
257
|
+
* @param {string} [params.windowName] - WindowName of the app (must include name or windowName)
|
|
258
|
+
* @param [cb]
|
|
259
|
+
* @example
|
|
260
|
+
* const {wrap} = await FSBL.FinsembleWindow.getInstance({
|
|
261
|
+
* windowName: finsembleWindow.windowName
|
|
262
|
+
* });
|
|
263
|
+
*
|
|
264
|
+
* // Sync alternative
|
|
265
|
+
* FSBL.FinsembleWindow.getInstance({windowName: finsembleWindow.windowName}, (err, wrap) => {
|
|
266
|
+
* if(!err){
|
|
267
|
+
* // Do something with the wrap, aka the instance
|
|
268
|
+
* }
|
|
269
|
+
* });
|
|
270
|
+
*/
|
|
271
|
+
static getInstance(params, cb) {
|
|
272
|
+
var _a;
|
|
273
|
+
Logger.system.log(/*'bW9udGVyZXlzIGNvYXN0', */ `getInstance called with params:`, (params === null || params === void 0 ? void 0 : params.name) || params);
|
|
274
|
+
// new async wrap
|
|
275
|
+
const myName = System.Window.getCurrent().name;
|
|
276
|
+
Logger.system.log(/*'bW9udGVyZXlzIGNvYXN0', */ `getInstance got name: `, myName);
|
|
277
|
+
params = clone(params); // this function modifies params so clone to be safe
|
|
278
|
+
const name = (_a = params === null || params === void 0 ? void 0 : params.windowName) !== null && _a !== void 0 ? _a : params === null || params === void 0 ? void 0 : params.name;
|
|
279
|
+
return new Promise(async (resolve, reject) => {
|
|
280
|
+
if (!name) {
|
|
281
|
+
const error = `"name" is a required param`;
|
|
282
|
+
cb === null || cb === void 0 ? void 0 : cb(error);
|
|
283
|
+
reject(error);
|
|
284
|
+
return;
|
|
285
|
+
}
|
|
286
|
+
params.windowName = name;
|
|
287
|
+
// Return early if we already have the wrap cached.
|
|
288
|
+
let wrap = FinsembleWindow.cache[name];
|
|
289
|
+
if (wrap) {
|
|
290
|
+
Logger.system.log(/*'bW9udGVyZXlzIGNvYXN0', */ "WRAP LIFECYCLE:", name, "Window found in the cache, returning without going to the Launcher");
|
|
291
|
+
cb === null || cb === void 0 ? void 0 : cb(null, wrap);
|
|
292
|
+
resolve({ wrap });
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
// If we already have all of the necessary information, just call createWrap.
|
|
296
|
+
if (params.name) {
|
|
297
|
+
const { err, data } = await FinsembleWindow.createWrapFromUUIDAndName(name, params);
|
|
298
|
+
if (err || !data) {
|
|
299
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
300
|
+
reject(err);
|
|
301
|
+
return;
|
|
302
|
+
}
|
|
303
|
+
cb === null || cb === void 0 ? void 0 : cb(null, data);
|
|
304
|
+
resolve({ wrap: data });
|
|
305
|
+
return;
|
|
306
|
+
}
|
|
307
|
+
// If we get here, then all we have is a window name
|
|
308
|
+
// wait to ensure the window is fully ready in the window service
|
|
309
|
+
if (params.waitForReady !== false) {
|
|
310
|
+
try {
|
|
311
|
+
await FinsembleWindow._windowReady(name);
|
|
312
|
+
params.wrapState = "ready";
|
|
313
|
+
}
|
|
314
|
+
catch (err) {
|
|
315
|
+
cb === null || cb === void 0 ? void 0 : cb(err, null);
|
|
316
|
+
reject(err);
|
|
317
|
+
return;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
// Send a request to the launcher for more information so that we can construct the proper object.
|
|
321
|
+
const { err, response } = await RouterClient.query("WindowService-Request-getWindowIdentifier", {
|
|
322
|
+
windowName: name,
|
|
323
|
+
requester: myName,
|
|
324
|
+
});
|
|
325
|
+
if (err) {
|
|
326
|
+
Logger.system.error(err);
|
|
327
|
+
cb === null || cb === void 0 ? void 0 : cb(err, null);
|
|
328
|
+
reject(err);
|
|
329
|
+
return;
|
|
330
|
+
}
|
|
331
|
+
// In a race, another thread may have already created the wrap while this thread was querying the window service
|
|
332
|
+
// so check once more for prior existence before creating and caching a new wrap
|
|
333
|
+
wrap = FinsembleWindow.cache[name];
|
|
334
|
+
if (wrap) {
|
|
335
|
+
Logger.system.log(/*'bW9udGVyZXlzIGNvYXN0', */ "WRAP LIFECYCLE:", params.name, "Information received from launcher, but wrap exists in cache. Returning cached wrap.");
|
|
336
|
+
cb === null || cb === void 0 ? void 0 : cb(null, wrap);
|
|
337
|
+
resolve({ wrap });
|
|
338
|
+
return;
|
|
339
|
+
}
|
|
340
|
+
Logger.system.log(/*'bW9udGVyZXlzIGNvYXN0', */ "WRAP LIFECYCLE:", name, "Information received from launcher. Creating wrap.");
|
|
341
|
+
const { identifier } = response.data;
|
|
342
|
+
if (identifier.windowName) {
|
|
343
|
+
identifier.name = identifier.windowName;
|
|
344
|
+
}
|
|
345
|
+
params.retrievedIdentifier = identifier;
|
|
346
|
+
({ wrap } = await FinsembleWindow._createWrap(params));
|
|
347
|
+
if (response.data.descriptor)
|
|
348
|
+
wrap.descriptor = response.data.descriptor;
|
|
349
|
+
cb === null || cb === void 0 ? void 0 : cb(null, wrap);
|
|
350
|
+
resolve({ wrap });
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Creates a Finsemble WindowWrap
|
|
355
|
+
* @param {*} params
|
|
356
|
+
* @param {string} params.name The name of the window
|
|
357
|
+
* @param {*} [params.retrievedIdentifier] Retrieved window identifier
|
|
358
|
+
* @param {*} [params.windowIdentifier] The window identifier
|
|
359
|
+
* @param {boolean} [param.setWindowType] If true, will set the window type
|
|
360
|
+
* @private
|
|
361
|
+
*/
|
|
362
|
+
static _createWrap(params) {
|
|
363
|
+
return new Promise(async (resolve) => {
|
|
364
|
+
const identifier = params.retrievedIdentifier || params.windowIdentifier;
|
|
365
|
+
// WebApplication is essentially just an WebWindow in its own process. We can wrap it just like a window.
|
|
366
|
+
if ((!params.setWindowType && !identifier.windowType) || identifier.windowType === "WebApplication") {
|
|
367
|
+
// Default WindowType
|
|
368
|
+
identifier.windowType = "WebWindow";
|
|
369
|
+
}
|
|
370
|
+
// Top level keeps important info (e.g., uuid, name, windowType).
|
|
371
|
+
let paramsForWindow = { ...identifier };
|
|
372
|
+
// Also pull in anything that was passed into the constructor (e.g., windowDescriptor, etc);
|
|
373
|
+
paramsForWindow = Object.assign(paramsForWindow, params);
|
|
374
|
+
paramsForWindow.setWindowType = paramsForWindow.windowType;
|
|
375
|
+
delete paramsForWindow.windowType; // Prevent infinite loop
|
|
376
|
+
Logger.system.log(/*'bW9udGVyZXlzIGNvYXN0', */ "WRAP LIFECYCLE: Placing wrap into the local cache.", identifier.windowName);
|
|
377
|
+
let wrap = new FinsembleWindow(paramsForWindow);
|
|
378
|
+
FinsembleWindow.cache[identifier.windowName] = wrap;
|
|
379
|
+
wrap.windowType = identifier.windowType;
|
|
380
|
+
wrap.identifier = identifier;
|
|
381
|
+
/**
|
|
382
|
+
* We can't use a normal "closed" event here because it would create a race condition between other "closed" event handlers registered
|
|
383
|
+
* through this window. The function, handleWrapRemoveRequest, gets called as the result of receiving a "closed" event.
|
|
384
|
+
* It then proceeds to destroy this FinsembleWindow, by shutting down all of the event listeners (via the parent class PublicEventManager).
|
|
385
|
+
* But, if external code also listens for a "closed" event then it would be possible for the event listeners to be closed before that event
|
|
386
|
+
* is triggered. This is due to the fact that FinsembleWindow opens a unique Router Responder for every addEventListener call (rather than listening only once per event and multiplexing
|
|
387
|
+
* locally).
|
|
388
|
+
*
|
|
389
|
+
* The special closeFinal() function is guaranteed to run its handler after all other "closed" event handlers.
|
|
390
|
+
*/
|
|
391
|
+
wrap.closeFinal(wrap.handleWrapRemoveRequest);
|
|
392
|
+
wrap.addEventListener("maximized", async () => {
|
|
393
|
+
wrap.windowState = WINDOWSTATE.MAXIMIZED;
|
|
394
|
+
wrap.windowOptions.windowState = WINDOWSTATE.MAXIMIZED;
|
|
395
|
+
const { data: maximizedBounds } = await wrap.getBounds();
|
|
396
|
+
if (maximizedBounds) {
|
|
397
|
+
wrap.windowOptions.left = maximizedBounds.left;
|
|
398
|
+
wrap.windowOptions.top = maximizedBounds.top;
|
|
399
|
+
wrap.windowOptions.height = maximizedBounds.height;
|
|
400
|
+
wrap.windowOptions.width = maximizedBounds.width;
|
|
401
|
+
wrap.windowOptions.right = maximizedBounds.right;
|
|
402
|
+
wrap.windowOptions.bottom = maximizedBounds.bottom;
|
|
403
|
+
wrap.windowOptions.opacity = 1;
|
|
404
|
+
wrap.saveCompleteWindowState(wrap.windowOptions);
|
|
405
|
+
}
|
|
406
|
+
});
|
|
407
|
+
wrap.addEventListener("minimized", () => {
|
|
408
|
+
if (wrap.windowState === WINDOWSTATE.MAXIMIZED) {
|
|
409
|
+
wrap.windowState = WINDOWSTATE.MINIMIZED_WAS_MAXIMIZED;
|
|
410
|
+
wrap.windowOptions.windowState = WINDOWSTATE.MINIMIZED_WAS_MAXIMIZED;
|
|
411
|
+
}
|
|
412
|
+
else if (wrap.windowState === WINDOWSTATE.NORMAL) {
|
|
413
|
+
wrap.windowState = WINDOWSTATE.MINIMIZED_WAS_NORMAL;
|
|
414
|
+
wrap.windowOptions.windowState = WINDOWSTATE.MINIMIZED_WAS_NORMAL;
|
|
415
|
+
}
|
|
416
|
+
else {
|
|
417
|
+
Logger.system.warn("Invalid window state received listening to window minimize", wrap.windowState);
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
wrap.addEventListener("restored", () => {
|
|
421
|
+
wrap.windowState = WINDOWSTATE.NORMAL;
|
|
422
|
+
wrap.windowOptions.windowState = WINDOWSTATE.NORMAL;
|
|
423
|
+
});
|
|
424
|
+
// Sometimes the wrapState of window wraps do not get updated to the "ready" state. This subscription
|
|
425
|
+
// ensures that the wrapState is updated.
|
|
426
|
+
const subscribeID = RouterClient.subscribe(`Finsemble.Component.State.${identifier.windowName}`, (err, res) => {
|
|
427
|
+
if (err) {
|
|
428
|
+
Logger.system.error("Finsemble component state change error", err);
|
|
429
|
+
}
|
|
430
|
+
else {
|
|
431
|
+
const { state } = res.data;
|
|
432
|
+
wrap.wrapState = state;
|
|
433
|
+
RouterClient.unsubscribe(subscribeID);
|
|
434
|
+
}
|
|
435
|
+
});
|
|
436
|
+
resolve({ wrap });
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* @private
|
|
441
|
+
* @param name
|
|
442
|
+
*/
|
|
443
|
+
static _getRemoveWrapChannel(name) {
|
|
444
|
+
return `${System.Window.getCurrent().name}.removeWrap.${name}`;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* this routine handles the close event, but also called without event from FSBL
|
|
448
|
+
* @private
|
|
449
|
+
* @param event
|
|
450
|
+
*/
|
|
451
|
+
async handleWrapRemoveRequest(event) {
|
|
452
|
+
if (event)
|
|
453
|
+
event.wait();
|
|
454
|
+
Logger.system.debug("WRAP Destructor. Removing cached window", this.name, "in ", window.name);
|
|
455
|
+
// wrap is the finsemble or stacked window. if the removeListeners function exists, we remove all listeners we added during the lifecycle of that window wrapper.
|
|
456
|
+
if (this.removeListeners) {
|
|
457
|
+
this.removeListeners();
|
|
458
|
+
}
|
|
459
|
+
// do not move this line of code. The order of execution is important.
|
|
460
|
+
this.cleanupRouter();
|
|
461
|
+
this.cleanup();
|
|
462
|
+
if (this.name !== FEAGlobals.name && this.name) {
|
|
463
|
+
delete FinsembleWindow.cache[this.name];
|
|
464
|
+
}
|
|
465
|
+
if (event)
|
|
466
|
+
event.done();
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* Called by FSBLDesktop on a window "unload". This removes all of the established wraps
|
|
470
|
+
* and, importantly, cleans up their router listeners
|
|
471
|
+
* @private
|
|
472
|
+
*/
|
|
473
|
+
static closeAllWraps() {
|
|
474
|
+
Object.values(FinsembleWindow.cache).forEach((wrap) => {
|
|
475
|
+
wrap.handleWrapRemoveRequest();
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* @private
|
|
480
|
+
*/
|
|
481
|
+
cleanupRouter() {
|
|
482
|
+
const REMOVE_WRAP_CHANNEL = FinsembleWindow._getRemoveWrapChannel(this.name);
|
|
483
|
+
RouterClient.removeResponder(REMOVE_WRAP_CHANNEL);
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Identify what to run when/if the component is ready.
|
|
487
|
+
* If the component is already in a ready state when `onReady` is invoked,
|
|
488
|
+
* the callback/promise will immediately resolve
|
|
489
|
+
*
|
|
490
|
+
* @param [callback]
|
|
491
|
+
* @example
|
|
492
|
+
* await finsembleWindow.onReady();
|
|
493
|
+
* // Do stuff now that the component is ready
|
|
494
|
+
*
|
|
495
|
+
* // Sync alternative
|
|
496
|
+
* finsembleWindow.onReady(() => {
|
|
497
|
+
* // Do stuff now that the component is ready
|
|
498
|
+
* });
|
|
499
|
+
*/
|
|
500
|
+
onReady(callback) {
|
|
501
|
+
return new Promise((resolve) => {
|
|
502
|
+
if (this.wrapState === "ready") {
|
|
503
|
+
callback === null || callback === void 0 ? void 0 : callback();
|
|
504
|
+
resolve();
|
|
505
|
+
return;
|
|
506
|
+
}
|
|
507
|
+
this.addEventListener("ready", () => {
|
|
508
|
+
callback === null || callback === void 0 ? void 0 : callback();
|
|
509
|
+
resolve();
|
|
510
|
+
});
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
514
|
+
// Common template for window-function requests to window service -- see public functions
|
|
515
|
+
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
516
|
+
/**
|
|
517
|
+
* @param {string} methodName method name (e.g. "minimize", "maximize")
|
|
518
|
+
* @param {object} params
|
|
519
|
+
* @param {function=} callback
|
|
520
|
+
* @returns {StandardPromise<void>}
|
|
521
|
+
* @private
|
|
522
|
+
*/
|
|
523
|
+
queryWindowService(methodName, params, callback = Function.prototype) {
|
|
524
|
+
if (typeof params === "function") {
|
|
525
|
+
callback = params;
|
|
526
|
+
params = {};
|
|
527
|
+
}
|
|
528
|
+
params = {
|
|
529
|
+
...params,
|
|
530
|
+
windowIdentifier: this.identifier,
|
|
531
|
+
};
|
|
532
|
+
// if Logger debug is enable, then add call stack to query parameters for debugging -- shows where public window requests originated
|
|
533
|
+
if (Logger.setting().system.Debug) {
|
|
534
|
+
params.callstack = Logger.callStack(); // add callstack to query for debugging -- shows where public window requests originated
|
|
535
|
+
}
|
|
536
|
+
return new Promise(async (resolve) => {
|
|
537
|
+
var _a;
|
|
538
|
+
// All window functions except add event listener must wait until the window is ready.
|
|
539
|
+
// And then we re-run this same method
|
|
540
|
+
if (methodName !== "close" && this.wrapState !== "ready") {
|
|
541
|
+
await this.onReady();
|
|
542
|
+
this.wrapState = "ready";
|
|
543
|
+
const data = await this.queryWindowService(methodName, params);
|
|
544
|
+
callback(null, data);
|
|
545
|
+
resolve(data);
|
|
546
|
+
return;
|
|
547
|
+
}
|
|
548
|
+
Logger.system.debug("FinsembleWindow.queryWindowService", this.windowServiceChannelName(methodName), params);
|
|
549
|
+
// breadcrumb, 2022-02-10: a lot of these responders are in windowPrimitivesEntryPoint.ts
|
|
550
|
+
const { err, response } = await RouterClient.query(this.windowServiceChannelName(methodName), params);
|
|
551
|
+
let responseData = (_a = response.data) !== null && _a !== void 0 ? _a : null;
|
|
552
|
+
if (err) {
|
|
553
|
+
Logger.system.debug(`WindowService.${methodName}: failed`, err);
|
|
554
|
+
console.debug(`WindowService.${methodName}: failed`, err);
|
|
555
|
+
// Views in components not in the workspace trigger this error spuriously
|
|
556
|
+
if (methodName !== "getComponentState" && err !== "Not found") {
|
|
557
|
+
callback(err);
|
|
558
|
+
resolve({ err });
|
|
559
|
+
return;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
else {
|
|
563
|
+
Logger.system.debug(`${this.windowServiceChannelName(methodName)} successful`, responseData);
|
|
564
|
+
console.debug(`${this.windowServiceChannelName(methodName)} successful`, responseData);
|
|
565
|
+
}
|
|
566
|
+
callback(err, responseData);
|
|
567
|
+
resolve(responseData);
|
|
568
|
+
});
|
|
569
|
+
}
|
|
570
|
+
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
571
|
+
// Core Window Functions: can be invoked by any service or component. Most are sent to the WindowService to be executed.
|
|
572
|
+
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
573
|
+
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
574
|
+
// Core Public Window Functions: can be invoked by any service or component. These are sent to the WindowService to be executed.
|
|
575
|
+
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
576
|
+
/**
|
|
577
|
+
* Minimizes the current window.
|
|
578
|
+
* Use .restore() to reverse this action
|
|
579
|
+
*
|
|
580
|
+
* @param params This parameter is ignored.
|
|
581
|
+
* @param [callback]
|
|
582
|
+
* @example
|
|
583
|
+
* const {err} = await finsembleWindow.minimize()
|
|
584
|
+
*
|
|
585
|
+
* // Sync alternative
|
|
586
|
+
* finsembleWindow.minimize(null, (err) => {
|
|
587
|
+
* if(!err){
|
|
588
|
+
* // Do something
|
|
589
|
+
* }
|
|
590
|
+
* })
|
|
591
|
+
*/
|
|
592
|
+
minimize(params = null, cb) {
|
|
593
|
+
return new Promise((resolve) => {
|
|
594
|
+
this.queryWindowService("minimize", params, (err) => {
|
|
595
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
596
|
+
resolve({ err });
|
|
597
|
+
});
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Maximizes the current window.
|
|
602
|
+
* Use .restore() to reverse this action
|
|
603
|
+
*
|
|
604
|
+
* @param params This parameter is ignored.
|
|
605
|
+
* @param [callback]
|
|
606
|
+
* @example
|
|
607
|
+
* const {err} = await finsembleWindow.maximize()
|
|
608
|
+
*
|
|
609
|
+
* // Sync alternative
|
|
610
|
+
* finsembleWindow.maximize(null, (err) => {
|
|
611
|
+
* if(!err){
|
|
612
|
+
* // Do something
|
|
613
|
+
* }
|
|
614
|
+
* })
|
|
615
|
+
*/
|
|
616
|
+
maximize(params = null, cb) {
|
|
617
|
+
return new Promise((resolve) => {
|
|
618
|
+
this.getBounds((err1, bounds) => {
|
|
619
|
+
if (err1 || !bounds) {
|
|
620
|
+
Logger.system.warn(`Error getting bounds, cached bounds will not be set: ${err1}`);
|
|
621
|
+
}
|
|
622
|
+
else {
|
|
623
|
+
this.updateOptions({
|
|
624
|
+
options: {
|
|
625
|
+
left: bounds.left,
|
|
626
|
+
top: bounds.top,
|
|
627
|
+
width: bounds.width,
|
|
628
|
+
height: bounds.height,
|
|
629
|
+
},
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
this.queryWindowService("maximize", params, (err) => {
|
|
633
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
634
|
+
resolve({ err });
|
|
635
|
+
});
|
|
636
|
+
});
|
|
637
|
+
});
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* Restores a minimized or maximized component.
|
|
641
|
+
* Note: restore does not show a hidden component.
|
|
642
|
+
*
|
|
643
|
+
* @param params This parameter is ignored.
|
|
644
|
+
* @param [callback]
|
|
645
|
+
* @example
|
|
646
|
+
* const {err} = await finsembleWindow.restore()
|
|
647
|
+
*
|
|
648
|
+
* // Sync alternative
|
|
649
|
+
* finsembleWindow.restore(null, (err) => {
|
|
650
|
+
* if(!err){
|
|
651
|
+
* // Do something
|
|
652
|
+
* }
|
|
653
|
+
* })
|
|
654
|
+
*/
|
|
655
|
+
restore(params = null, cb) {
|
|
656
|
+
return new Promise((resolve) => {
|
|
657
|
+
this.queryWindowService("restore", params, (err) => {
|
|
658
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
659
|
+
resolve({ err });
|
|
660
|
+
});
|
|
661
|
+
});
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* Blurs the current window
|
|
665
|
+
*
|
|
666
|
+
* @param params This parameter is ignored.
|
|
667
|
+
* @param [callback]
|
|
668
|
+
* @example
|
|
669
|
+
* const {err} = await finsembleWindow.blur()
|
|
670
|
+
*
|
|
671
|
+
* // Sync alternative
|
|
672
|
+
* finsembleWindow.blur(null, (err) => {
|
|
673
|
+
* if(!err){
|
|
674
|
+
* // Do something
|
|
675
|
+
* }
|
|
676
|
+
* })
|
|
677
|
+
*/
|
|
678
|
+
blur(params = null, cb) {
|
|
679
|
+
return new Promise((resolve) => {
|
|
680
|
+
this.queryWindowService("blur", params, (err) => {
|
|
681
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
682
|
+
resolve({ err });
|
|
683
|
+
});
|
|
684
|
+
});
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* Brings focus to the current window
|
|
688
|
+
*
|
|
689
|
+
* @param params This parameter is ignored.
|
|
690
|
+
* @param [callback]
|
|
691
|
+
* @example
|
|
692
|
+
* const {err} = await finsembleWindow.focus()
|
|
693
|
+
*
|
|
694
|
+
* // Sync alternative
|
|
695
|
+
* finsembleWindow.focus(null, (err) => {
|
|
696
|
+
* if(!err){
|
|
697
|
+
* // Do something
|
|
698
|
+
* }
|
|
699
|
+
* })
|
|
700
|
+
*/
|
|
701
|
+
focus(params = null, cb) {
|
|
702
|
+
return new Promise((resolve) => {
|
|
703
|
+
this.queryWindowService("focus", params, (err) => {
|
|
704
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
705
|
+
resolve({ err });
|
|
706
|
+
});
|
|
707
|
+
});
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* Brings the current window to front
|
|
711
|
+
*
|
|
712
|
+
* @param params This parameter is ignored.
|
|
713
|
+
* @param [callback]
|
|
714
|
+
* @example
|
|
715
|
+
* const {err} = await finsembleWindow.bringToFront()
|
|
716
|
+
*
|
|
717
|
+
* // Sync alternative
|
|
718
|
+
* finsembleWindow.bringToFront(null, (err) => {
|
|
719
|
+
* if(!err){
|
|
720
|
+
* // Do something
|
|
721
|
+
* }
|
|
722
|
+
* })
|
|
723
|
+
*/
|
|
724
|
+
bringToFront(params = null, cb) {
|
|
725
|
+
return new Promise((resolve) => {
|
|
726
|
+
this.queryWindowService("bringToFront", params, (err) => {
|
|
727
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
728
|
+
resolve({ err });
|
|
729
|
+
});
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* Sets the alwaysOnTop state for the window.
|
|
734
|
+
* @param params Object representing the new alwaysOnTop state.
|
|
735
|
+
* @param [callback] Callback identifying if there was an error
|
|
736
|
+
* @example
|
|
737
|
+
* const {err} = finsembleWindow.setAlwaysOnTop({alwaysOnTop: true});
|
|
738
|
+
* // err should be null
|
|
739
|
+
*
|
|
740
|
+
* // Sync alternative
|
|
741
|
+
* finsembleWindow.setAlwaysOnTop({alwaysOnTop: true}, (err) => {
|
|
742
|
+
* console.log(err); // null
|
|
743
|
+
* })
|
|
744
|
+
*/
|
|
745
|
+
setAlwaysOnTop(params = { alwaysOnTop: true }, cb) {
|
|
746
|
+
return new Promise((resolve) => {
|
|
747
|
+
this.queryWindowService("setAlwaysOnTop", params, (err) => {
|
|
748
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
749
|
+
resolve({ err });
|
|
750
|
+
});
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Determine the state of the alwaysOnTop option for the window.
|
|
755
|
+
* See also: setAlwaysOnTop, updateOptions
|
|
756
|
+
*
|
|
757
|
+
* @param params This parameter is ignored.
|
|
758
|
+
* @param [callback]
|
|
759
|
+
* @example
|
|
760
|
+
* finsembleWindow.isAlwaysOnTop({}, (err, data) => {
|
|
761
|
+
* console.log(err); // null
|
|
762
|
+
* console.log(data); // true if always, false if minimized or hidden
|
|
763
|
+
* })
|
|
764
|
+
*/
|
|
765
|
+
isAlwaysOnTop(params = {}, callback) {
|
|
766
|
+
this.queryWindowService("isAlwaysOnTop", params, callback);
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* Determine if the current window is showing. A window is not showing when it is minimized or hidden.
|
|
770
|
+
* See also: updateOptions
|
|
771
|
+
*
|
|
772
|
+
* @param params This parameter is ignored.
|
|
773
|
+
* @param [callback]
|
|
774
|
+
* @example
|
|
775
|
+
* finsembleWindow.isShowing({}, (err, data) => {
|
|
776
|
+
* console.log(err); // null
|
|
777
|
+
* console.log(data); // true if showing, false if minimized or hidden
|
|
778
|
+
* })
|
|
779
|
+
*/
|
|
780
|
+
isShowing(params = {}, callback) {
|
|
781
|
+
this.queryWindowService("isShowing", params, callback);
|
|
782
|
+
}
|
|
783
|
+
/**
|
|
784
|
+
* Experimental - There is an issue where resizing a window inside a click-through area causes flickering. This issue is present
|
|
785
|
+
* in the electron base code. This implementation may be removed for an alternative solution.
|
|
786
|
+
*
|
|
787
|
+
* Instruct the window to ignore mouse events.
|
|
788
|
+
* Optionally may allow mouse movement events to be forwarded while ignoring interaction events.
|
|
789
|
+
*
|
|
790
|
+
* Returns a promise that resolves to undefined.
|
|
791
|
+
*
|
|
792
|
+
* @param ignore Whether or not to have the window receive mouse events.
|
|
793
|
+
* @param options An optional object with extra configuration parameters.
|
|
794
|
+
* @param options.forward If true indicates mouse movement events are still triggered in the window.
|
|
795
|
+
* @param callback Callback accepting two values: a (possible) error object and success message.
|
|
796
|
+
* @returns {Promise<undefined>}
|
|
797
|
+
* @private
|
|
798
|
+
*/
|
|
799
|
+
setIgnoreMouseEvents(ignore, options, callback = Function.prototype) {
|
|
800
|
+
const queryParams = {
|
|
801
|
+
ignore: new Boolean(ignore).valueOf(),
|
|
802
|
+
options: new Boolean(options).valueOf() ? options : { forward: false },
|
|
803
|
+
};
|
|
804
|
+
this.queryWindowService("setIgnoreMouseEvents", queryParams, callback);
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Use FSBL.Clients.WindowClient.setShape instead
|
|
808
|
+
* (Doesn't work)
|
|
809
|
+
* @private
|
|
810
|
+
*/
|
|
811
|
+
setShape(params, callback = Function.prototype) {
|
|
812
|
+
this.queryWindowService("setShape", params, callback);
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* @private
|
|
816
|
+
* @param params
|
|
817
|
+
* @param callback
|
|
818
|
+
* @returns
|
|
819
|
+
*/
|
|
820
|
+
async addBrowserView(params, callback = Function.prototype) {
|
|
821
|
+
const viewId = await this.queryWindowService("addBrowserView", params, callback);
|
|
822
|
+
return new FinsembleView({ id: viewId, win: this, visible: params === null || params === void 0 ? void 0 : params.visible });
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* @private
|
|
826
|
+
* @param params
|
|
827
|
+
* @param callback
|
|
828
|
+
* @returns
|
|
829
|
+
*/
|
|
830
|
+
async removeBrowserView(view, callback = Function.prototype) {
|
|
831
|
+
await this.queryWindowService("removeBrowserView", { viewId: view.id }, callback);
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* @private
|
|
835
|
+
* @param params
|
|
836
|
+
* @param callback
|
|
837
|
+
* @returns
|
|
838
|
+
*/
|
|
839
|
+
async bringViewToFront(view, callback = Function.prototype) {
|
|
840
|
+
await this.queryWindowService("bringViewToFront", { viewId: view.id }, callback);
|
|
841
|
+
}
|
|
842
|
+
async showBrowserView(view, callback = Function.prototype) {
|
|
843
|
+
await this.queryWindowService("showBrowserView", { viewId: view.id }, callback);
|
|
844
|
+
}
|
|
845
|
+
async hideBrowserView(view, callback = Function.prototype) {
|
|
846
|
+
await this.queryWindowService("hideBrowserView", { viewId: view.id }, callback);
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
* @private
|
|
850
|
+
* @param params
|
|
851
|
+
* @param callback
|
|
852
|
+
* @returns
|
|
853
|
+
*/
|
|
854
|
+
async setViewBounds(params, callback = Function.prototype) {
|
|
855
|
+
await this.queryWindowService("setViewBounds", { viewId: params.view.id, bounds: params.bounds }, callback);
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* Set the bounding box for the current window.
|
|
859
|
+
* See also: getBounds
|
|
860
|
+
*
|
|
861
|
+
* @param {Bounds} params.bounds - The new bounds for the window. Must provide left/top/height/width
|
|
862
|
+
* @param [callback]
|
|
863
|
+
* @example
|
|
864
|
+
* await finsembleWindow.setBounds({bounds: {left: 0, top: 0, height: 600, width: 400}})
|
|
865
|
+
*/
|
|
866
|
+
setBounds(params = { bounds: {} }, cb) {
|
|
867
|
+
return new Promise((resolve) => {
|
|
868
|
+
if (typeof params !== "function" && !params.bounds) {
|
|
869
|
+
const oldParams = params;
|
|
870
|
+
params = {
|
|
871
|
+
bounds: oldParams,
|
|
872
|
+
};
|
|
873
|
+
}
|
|
874
|
+
this.queryWindowService("setBounds", params, (err) => {
|
|
875
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
876
|
+
resolve({ err });
|
|
877
|
+
});
|
|
878
|
+
});
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* Get the bounding box for the current window. The structure of the bounding box data looks like:
|
|
882
|
+
* {top, left, bottom, right, height, width}
|
|
883
|
+
*
|
|
884
|
+
* See also: setBounds
|
|
885
|
+
*
|
|
886
|
+
* @params [cb] - Callback providing bounding data
|
|
887
|
+
* @example
|
|
888
|
+
* const {err, data} = await finsembleWindow.getBounds();
|
|
889
|
+
* console.log("The width of the current window:", data.width);
|
|
890
|
+
*
|
|
891
|
+
* // Sync alternative
|
|
892
|
+
* finsembleWindow.getBounds( (err, data) => {
|
|
893
|
+
* console.log("The width of the current window:", data.width);
|
|
894
|
+
* })
|
|
895
|
+
*/
|
|
896
|
+
getBounds(cb, backwardCompatibilityCB) {
|
|
897
|
+
const promiseResolver = (resolve) => {
|
|
898
|
+
// Old signature was getBounds({}, callback). New signature is getBounds(callback).
|
|
899
|
+
const callback = typeof cb === "function" ? cb : backwardCompatibilityCB;
|
|
900
|
+
this.queryWindowService("getBounds", {}, (err, bounds) => {
|
|
901
|
+
callback === null || callback === void 0 ? void 0 : callback(err, bounds);
|
|
902
|
+
resolve({ err, data: bounds });
|
|
903
|
+
});
|
|
904
|
+
};
|
|
905
|
+
return new Promise(promiseResolver);
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* Update options for the current window. One or more options can be set at a time.
|
|
909
|
+
*
|
|
910
|
+
* To confirm that the options were set, see also `getOptions`
|
|
911
|
+
*
|
|
912
|
+
* @param {WindowOptions} params - Options to be updated
|
|
913
|
+
* @param [callback]
|
|
914
|
+
*
|
|
915
|
+
* @example
|
|
916
|
+
* finsembleWindow.updateOptions({opacity: .5, alwaysOnTop: true}, () => {
|
|
917
|
+
* // do something now that options have been updated
|
|
918
|
+
* });
|
|
919
|
+
*/
|
|
920
|
+
updateOptions(params, callback = Function.prototype) {
|
|
921
|
+
// @todo: Supposedly, `title` should be supported, but I couldn't get that to update. Should investigate if it's supported, and update the jsdoc
|
|
922
|
+
this.queryWindowService("updateOptions", params, callback);
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* Hides the current window.
|
|
926
|
+
* Use the `.show()` method to bring the current window back.
|
|
927
|
+
*
|
|
928
|
+
* @param {object} [params]
|
|
929
|
+
* @param [callback]
|
|
930
|
+
* @example
|
|
931
|
+
* const {err} = await finsembleWindow.hide();
|
|
932
|
+
*
|
|
933
|
+
* // Sync alternative
|
|
934
|
+
* finsembleWindow.hide({}, (err, data) => {
|
|
935
|
+
* console.log(err); // null
|
|
936
|
+
* console.log(data); // {status: "success"}
|
|
937
|
+
* })
|
|
938
|
+
*/
|
|
939
|
+
hide(params = {}, cb) {
|
|
940
|
+
return new Promise((resolve) => {
|
|
941
|
+
this.queryWindowService("hide", params, (err, data) => {
|
|
942
|
+
cb === null || cb === void 0 ? void 0 : cb(err, data);
|
|
943
|
+
resolve({ err });
|
|
944
|
+
});
|
|
945
|
+
});
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
* Reloads the current window.
|
|
949
|
+
*
|
|
950
|
+
* @param params - This parameter is ignored.
|
|
951
|
+
* @param callback - This parameter is ignored.
|
|
952
|
+
* @example
|
|
953
|
+
* finsembleWindow.reload()
|
|
954
|
+
*/
|
|
955
|
+
reload(params = {}, callback = Function.prototype) {
|
|
956
|
+
this.queryWindowService("reload", params, callback);
|
|
957
|
+
}
|
|
958
|
+
/**
|
|
959
|
+
* Shows the current window. This will undo hide or minimize.
|
|
960
|
+
*
|
|
961
|
+
* @param {object} [params]
|
|
962
|
+
* @param {boolean} [params.shouldMaximize] - when the window is shown, it should also be maximized
|
|
963
|
+
* @param {boolean} [params.shouldRestore] -
|
|
964
|
+
* @param {boolean} [params.saveState] -
|
|
965
|
+
* @param [callback]
|
|
966
|
+
* @example
|
|
967
|
+
* const {err} = await finsembleWindow.show();
|
|
968
|
+
* const {err} = await finsembleWindow.show({shouldMaximize: true});
|
|
969
|
+
*
|
|
970
|
+
* // Sync alternative
|
|
971
|
+
* finsembleWindow.show({}, (err, data) => {
|
|
972
|
+
* console.log(err); // null
|
|
973
|
+
* console.log(data); // {status: "success"}
|
|
974
|
+
* })
|
|
975
|
+
*/
|
|
976
|
+
show(params = {}, cb) {
|
|
977
|
+
return new Promise((resolve) => {
|
|
978
|
+
this.queryWindowService("show", params, (err, data) => {
|
|
979
|
+
cb === null || cb === void 0 ? void 0 : cb(err, data);
|
|
980
|
+
resolve({ err });
|
|
981
|
+
});
|
|
982
|
+
});
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* Shows the current window at a particular coordinate location.
|
|
986
|
+
* Note: this shows the window, but does not give it focus.
|
|
987
|
+
*
|
|
988
|
+
* @param params
|
|
989
|
+
* @param {number} params.left
|
|
990
|
+
* @param {number} params.top
|
|
991
|
+
* @param callback
|
|
992
|
+
* @example
|
|
993
|
+
* finsembleWindow.showAt({left: 0, top: 0}, () => {
|
|
994
|
+
* // Do something
|
|
995
|
+
* })
|
|
996
|
+
*/
|
|
997
|
+
showAt(params = {}, callback = Function.prototype) {
|
|
998
|
+
this.queryWindowService("showAt", params, callback);
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* Close the current window
|
|
1002
|
+
*
|
|
1003
|
+
* @param params - This property is ignored
|
|
1004
|
+
* @param callback
|
|
1005
|
+
* @example
|
|
1006
|
+
* finsembleWindow.close()
|
|
1007
|
+
*/
|
|
1008
|
+
close(params = {}, cb) {
|
|
1009
|
+
return new Promise((resolve) => {
|
|
1010
|
+
Logger.system.debug("WRAP CLOSE. Public close initiated for", this.name, params);
|
|
1011
|
+
this.queryWindowService("close", params, (err) => {
|
|
1012
|
+
Logger.system.debug("WRAP CLOSE. Public close initiated for", this.name);
|
|
1013
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
1014
|
+
resolve({ err });
|
|
1015
|
+
});
|
|
1016
|
+
});
|
|
1017
|
+
}
|
|
1018
|
+
/**
|
|
1019
|
+
* While it *feels* like `animate` should animate something, it doesn't, and it never has.
|
|
1020
|
+
* Use `setBounds` instead.
|
|
1021
|
+
*
|
|
1022
|
+
* @private
|
|
1023
|
+
* @param params
|
|
1024
|
+
* @param callback
|
|
1025
|
+
*/
|
|
1026
|
+
animate(params = {}, callback = Function.prototype) {
|
|
1027
|
+
this.queryWindowService("animate", params, callback);
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Register a window with docking. Use this if you don't want to use the full initialization function.
|
|
1031
|
+
* Undo this action with `.unRegisterWithDocking()`
|
|
1032
|
+
*
|
|
1033
|
+
* NOTE: The “params” object cannot be removed since assimilationWindowManager.ts invokes initializeWindow
|
|
1034
|
+
* with params which are sent to registerWithDocking
|
|
1035
|
+
* @private
|
|
1036
|
+
* @param {Object} params - can be anything that is passed to docking for window registration.
|
|
1037
|
+
* @param {Function} cb
|
|
1038
|
+
*/
|
|
1039
|
+
registerWithDocking(params = {}, cb) {
|
|
1040
|
+
this.onReady(() => {
|
|
1041
|
+
RouterClient.query("DockingService.registerWindow", params, cb);
|
|
1042
|
+
});
|
|
1043
|
+
}
|
|
1044
|
+
/**
|
|
1045
|
+
* Open a native file selection dialog on a window
|
|
1046
|
+
*
|
|
1047
|
+
* @param {Object} params - see https://www.electronjs.org/docs/api/dialog
|
|
1048
|
+
* @param {Function} cb
|
|
1049
|
+
* @example
|
|
1050
|
+
* finsembleWindow.showNativeOpenDialog({}, (err, [response]) => {
|
|
1051
|
+
* if(!err && !response.canceled && !response.error){
|
|
1052
|
+
* console.log("Files selected: ", response.filePaths)
|
|
1053
|
+
* }
|
|
1054
|
+
* })
|
|
1055
|
+
*
|
|
1056
|
+
* finsembleWindow.showNativeOpenDialog(
|
|
1057
|
+
* {
|
|
1058
|
+
* buttonLabel: "My Custom Label",
|
|
1059
|
+
* properties: ["multiSelections"]
|
|
1060
|
+
* },
|
|
1061
|
+
* (err, [response]) => {
|
|
1062
|
+
* if(!err && !response.canceled && !response.error){
|
|
1063
|
+
* console.log("Files selected: ", response.filePaths)
|
|
1064
|
+
* }
|
|
1065
|
+
* }
|
|
1066
|
+
* )
|
|
1067
|
+
*/
|
|
1068
|
+
showNativeOpenDialog(params = {}, cb) {
|
|
1069
|
+
this.queryWindowService("showNativeOpenDialog", params, cb);
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* Unregister a window with docking
|
|
1073
|
+
* @private
|
|
1074
|
+
*/
|
|
1075
|
+
unRegisterWithDocking() {
|
|
1076
|
+
RouterClient.transmit("DockingService.deregisterWindow", {
|
|
1077
|
+
name: this.windowName,
|
|
1078
|
+
});
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
*This is if we want to handle the full register/ready state inside of the window
|
|
1082
|
+
register with docking
|
|
1083
|
+
send the message to launcher saying that component is ready
|
|
1084
|
+
* @private
|
|
1085
|
+
*/
|
|
1086
|
+
initializeWindow({ manageWindowMovement, identifier }, cb = Function.prototype) {
|
|
1087
|
+
const publishComponentReady = () => {
|
|
1088
|
+
RouterClient.publish(`Finsemble.${this.windowName}.componentReady`, {
|
|
1089
|
+
// signal workspace and launcher service that component is ready
|
|
1090
|
+
name: this.windowName,
|
|
1091
|
+
});
|
|
1092
|
+
cb();
|
|
1093
|
+
};
|
|
1094
|
+
/** DH 12/13/2019 - While windows can opt out of grouping, etc. by setting
|
|
1095
|
+
* manageWindowMovement to false, we still need to perform the right initialization
|
|
1096
|
+
* handshake so Finsemble is aware of the window. Otherwise, Finsemble won't perform spawn
|
|
1097
|
+
* callbacks and the workspace won't close correctly.
|
|
1098
|
+
*/
|
|
1099
|
+
if (manageWindowMovement) {
|
|
1100
|
+
this.registerWithDocking(identifier, publishComponentReady);
|
|
1101
|
+
}
|
|
1102
|
+
else {
|
|
1103
|
+
publishComponentReady();
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* Internal use only - publish the ready command
|
|
1108
|
+
* @private
|
|
1109
|
+
*/
|
|
1110
|
+
wrapReady() {
|
|
1111
|
+
RouterClient.publish(`Finsemble.${this.windowName}.wrapReady`, {
|
|
1112
|
+
name: this.windowName,
|
|
1113
|
+
state: "open",
|
|
1114
|
+
});
|
|
1115
|
+
}
|
|
1116
|
+
/**
|
|
1117
|
+
* Set the opacity of the current window
|
|
1118
|
+
*
|
|
1119
|
+
* @param params - the new opacity for the window, in the form of `{opacity: ##}`
|
|
1120
|
+
* @param callback - callback when done
|
|
1121
|
+
* @example
|
|
1122
|
+
* finsembleWindow.setOpacity({opacity: .5}, (err) => {
|
|
1123
|
+
* if(!err){
|
|
1124
|
+
* // Do something now that opacity has successfully changed
|
|
1125
|
+
* }
|
|
1126
|
+
* })
|
|
1127
|
+
*/
|
|
1128
|
+
setOpacity(params, callback = Function.prototype) {
|
|
1129
|
+
this.queryWindowService("setOpacity", params, callback);
|
|
1130
|
+
}
|
|
1131
|
+
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1132
|
+
// Other BaseClass Function: These are common functions shared across derived classes
|
|
1133
|
+
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1134
|
+
/**
|
|
1135
|
+
* Invoked to indicate an operation (e.g. dragging out of tab region) has started. This signals the Docking service to start tracking the mouse location and invoking tiling behavior as needed. Typically inherited (base function only).
|
|
1136
|
+
* @param {object} params for future use
|
|
1137
|
+
* @private
|
|
1138
|
+
* @example
|
|
1139
|
+
* // dragging tab example using tracking and group
|
|
1140
|
+
* FinsembleWindow.startTabTileMonitoring();
|
|
1141
|
+
* // if dragging tab is in a group, then remove it given tracking results will decide what to do with the window
|
|
1142
|
+
* FinsembleWindow.Group.getGroupID(this.identifier, function (err, tileGroupId) {
|
|
1143
|
+
* if (!err) { // if no error then must be in a tile group
|
|
1144
|
+
* self.Group.removeWindow(this.identifier);
|
|
1145
|
+
* }
|
|
1146
|
+
* });
|
|
1147
|
+
*/
|
|
1148
|
+
startTabTileMonitoring(params = {}) {
|
|
1149
|
+
Logger.system.debug("FinsembleWindow.startTabTileMonitoring", params);
|
|
1150
|
+
RouterClient.transmit("TabTile.startTabTile", { params });
|
|
1151
|
+
}
|
|
1152
|
+
/**
|
|
1153
|
+
* Invoked by client originating a dragStart that it has has ended. Typically inherited (base function only).
|
|
1154
|
+
* @param {object} params for future use
|
|
1155
|
+
* @param {function=} callback option callback that support overriding default behavior
|
|
1156
|
+
* @private
|
|
1157
|
+
* FinsembleWindow.stopTabTileMonitoring(params, function(err, results, defaultTabTileAction) {
|
|
1158
|
+
* // . . . custom code goes here . . .
|
|
1159
|
+
* defaultTabTileAction(results); // now take default action or call your own function instead
|
|
1160
|
+
* });
|
|
1161
|
+
*
|
|
1162
|
+
*/
|
|
1163
|
+
stopTabTileMonitoring(params = {}, callback = Function.prototype) {
|
|
1164
|
+
Logger.system.debug("FinsembleWindow.stopTabTileMonitoring", params);
|
|
1165
|
+
RouterClient.query("TabTile.stopTabTile", { params }, function (err, queryResponseMessage) {
|
|
1166
|
+
if (err) {
|
|
1167
|
+
Logger.system.warn("TabTile.stopTabTile: query failed", err);
|
|
1168
|
+
}
|
|
1169
|
+
else {
|
|
1170
|
+
Logger.system.debug("TabTile.stopTabTile results", queryResponseMessage.data);
|
|
1171
|
+
}
|
|
1172
|
+
const stopTabTileResults = queryResponseMessage.data;
|
|
1173
|
+
if (callback) {
|
|
1174
|
+
callback(err, stopTabTileResults, this.defaultStopTrackingAction);
|
|
1175
|
+
}
|
|
1176
|
+
else {
|
|
1177
|
+
this.defaultTabTileAction(stopTabTileResults);
|
|
1178
|
+
}
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
/**
|
|
1182
|
+
* Defines default TabTile action for stopTabTileMonitoring. May be overridden by client -- see example in stopTabTileMonitoring. Typically inherited (base function only).
|
|
1183
|
+
* @param {any} stopTabTileResults
|
|
1184
|
+
* @private
|
|
1185
|
+
*/
|
|
1186
|
+
defaultTabTileAction(stopTabTileResults) {
|
|
1187
|
+
const self = this;
|
|
1188
|
+
Logger.system.debug("FinsembleWindow.defaultTabTileAction", stopTabTileResults);
|
|
1189
|
+
switch (stopTabTileResults.stoppedLocation) {
|
|
1190
|
+
case "OutsideWindow":
|
|
1191
|
+
// move window to drop location (since for now assuming only single-tabbed windows)
|
|
1192
|
+
break;
|
|
1193
|
+
case "TabSection":
|
|
1194
|
+
// WindowStack.addWindowToStack(callback) // for when we get to tabbing
|
|
1195
|
+
break;
|
|
1196
|
+
case "InsideWindow":
|
|
1197
|
+
if (stopTabTileResults.tileGroupId) {
|
|
1198
|
+
// if dropped in an existing tile group (which might be the same it was dragging from)
|
|
1199
|
+
self.Group.addWindow(this.identifier, stopTabTileResults.tileGroupId, stopTabTileResults.dropCoordinates);
|
|
1200
|
+
}
|
|
1201
|
+
else {
|
|
1202
|
+
// if dropped in a separate window outside a tile group
|
|
1203
|
+
self.Group.createGroup(function (newGroupId) {
|
|
1204
|
+
// add dragging window to new tile group, but specify the dropped on window as the starting window in the tile group
|
|
1205
|
+
self.Group.addWindow(this.identifier, newGroupId, stopTabTileResults.dropCoordinates, {
|
|
1206
|
+
startingWindowIdentifier: stopTabTileResults.droppedOnWindowIdentifier,
|
|
1207
|
+
});
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1210
|
+
break;
|
|
1211
|
+
default:
|
|
1212
|
+
Logger.system.error("stopTracking returned an unknown stoppedLocation result", stopTabTileResults);
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* Internal use only
|
|
1217
|
+
* @private
|
|
1218
|
+
* @param bounds
|
|
1219
|
+
*/
|
|
1220
|
+
mergeBounds(bounds) {
|
|
1221
|
+
bounds.right = bounds.left + bounds.width;
|
|
1222
|
+
const newBounds = {
|
|
1223
|
+
left: bounds.left,
|
|
1224
|
+
right: bounds.right,
|
|
1225
|
+
width: bounds.width,
|
|
1226
|
+
top: bounds.top,
|
|
1227
|
+
bottom: bounds.top + bounds.height,
|
|
1228
|
+
height: bounds.height,
|
|
1229
|
+
};
|
|
1230
|
+
const defaultBounds = {
|
|
1231
|
+
defaultLeft: bounds.left,
|
|
1232
|
+
defaultWidth: bounds.width,
|
|
1233
|
+
defaultTop: bounds.top,
|
|
1234
|
+
defaultHeight: bounds.height,
|
|
1235
|
+
};
|
|
1236
|
+
Object.assign(this.windowOptions, newBounds);
|
|
1237
|
+
Object.assign(this.windowOptions, defaultBounds);
|
|
1238
|
+
this.windowOptions.bounds = newBounds;
|
|
1239
|
+
}
|
|
1240
|
+
/**
|
|
1241
|
+
* Make necessary visual and logistic changes when a window is about to be moved.
|
|
1242
|
+
* See also: stopMove
|
|
1243
|
+
*
|
|
1244
|
+
* @private
|
|
1245
|
+
* @param params - This is ignored
|
|
1246
|
+
*/
|
|
1247
|
+
startMove(params = {}) {
|
|
1248
|
+
// @todo: Does this function actually do anything? I can't anything listening for this event
|
|
1249
|
+
Logger.system.debug("FinsembleWindow.startMove", params);
|
|
1250
|
+
params.windowIdentifier = this.identifier; // add this window's identifier
|
|
1251
|
+
RouterClient.transmit(this.eventChannelName("startedMoving"), {});
|
|
1252
|
+
}
|
|
1253
|
+
/**
|
|
1254
|
+
* Make necessary visual and logistic changes when a window is no longer being moved
|
|
1255
|
+
* See also: startMove
|
|
1256
|
+
*
|
|
1257
|
+
* @private
|
|
1258
|
+
* @param params - This is ignored
|
|
1259
|
+
*/
|
|
1260
|
+
stopMove(params = {}) {
|
|
1261
|
+
// @todo: Does this function actually do anything? I can't anything listening for this event
|
|
1262
|
+
Logger.system.debug("FinsembleWindow.stopMove", params);
|
|
1263
|
+
params.windowIdentifier = this.identifier; // add this window's identifier
|
|
1264
|
+
RouterClient.transmit(this.eventChannelName("stoppedMoving"), {});
|
|
1265
|
+
}
|
|
1266
|
+
/**
|
|
1267
|
+
* Get Monitor for this window
|
|
1268
|
+
*
|
|
1269
|
+
* Example output for monitor data:
|
|
1270
|
+
* {
|
|
1271
|
+
* name: "device1",
|
|
1272
|
+
* availableRect: {width, height, top, bottom, left, right},
|
|
1273
|
+
* bounds: {
|
|
1274
|
+
* min: {x, y},
|
|
1275
|
+
* max: {x, y},
|
|
1276
|
+
* },
|
|
1277
|
+
* top,
|
|
1278
|
+
* bottom,
|
|
1279
|
+
* left,
|
|
1280
|
+
* right,
|
|
1281
|
+
* }
|
|
1282
|
+
*
|
|
1283
|
+
* @param {function} cb Callback
|
|
1284
|
+
* @example
|
|
1285
|
+
* finsembleWindow.getMonitor((monitorData) => {
|
|
1286
|
+
* console.log(monitorData);
|
|
1287
|
+
* })
|
|
1288
|
+
*/
|
|
1289
|
+
getMonitor(cb) {
|
|
1290
|
+
RouterClient.query("DockingService.getMonitorForWindow", { windowIdentifier: this.identifier }, (err, message) => message ? cb(message.data) : cb());
|
|
1291
|
+
}
|
|
1292
|
+
/**
|
|
1293
|
+
* @private
|
|
1294
|
+
* Alternative, use: `FSBL.Clients.WindowClient.getComponentState`
|
|
1295
|
+
*/
|
|
1296
|
+
getComponentState(params, cb) {
|
|
1297
|
+
return new Promise((resolve) => {
|
|
1298
|
+
this.queryWindowService("getComponentState", params, (err, data) => {
|
|
1299
|
+
cb === null || cb === void 0 ? void 0 : cb(err, data);
|
|
1300
|
+
resolve({ err, data });
|
|
1301
|
+
});
|
|
1302
|
+
});
|
|
1303
|
+
}
|
|
1304
|
+
/**
|
|
1305
|
+
* @private
|
|
1306
|
+
*/
|
|
1307
|
+
getWindowState(params, cb) {
|
|
1308
|
+
// @todo - Does this do anything? I couldn't get setWindowState/getWindowState to behave together,
|
|
1309
|
+
// and I can't find anywhere in the codebase that calls this function.
|
|
1310
|
+
this.queryWindowService("getWindowState", params, cb);
|
|
1311
|
+
}
|
|
1312
|
+
/**
|
|
1313
|
+
* @private
|
|
1314
|
+
* Internal use only
|
|
1315
|
+
* Alternative, use: `FSBL.Clients.WindowClient.setComponentState`
|
|
1316
|
+
*/
|
|
1317
|
+
setComponentState(params, cb = () => { }) {
|
|
1318
|
+
this.queryWindowService("setComponentState", params, cb);
|
|
1319
|
+
}
|
|
1320
|
+
/**
|
|
1321
|
+
* @private
|
|
1322
|
+
* Internal use only
|
|
1323
|
+
* Alternative, use: `FSBL.Clients.WindowClient.removeComponentState`
|
|
1324
|
+
*/
|
|
1325
|
+
removeComponentState(params, cb = () => { }) {
|
|
1326
|
+
this.queryWindowService("removeComponentState", params, cb);
|
|
1327
|
+
}
|
|
1328
|
+
/**
|
|
1329
|
+
* DEPRECATED
|
|
1330
|
+
* @private
|
|
1331
|
+
*/
|
|
1332
|
+
setWindowState(params, cb = () => { }) {
|
|
1333
|
+
// @todo - Does this do anything? I couldn't get setWindowState/getWindowState to behave together,
|
|
1334
|
+
// and I can't find anywhere in the codebase that calls this function.
|
|
1335
|
+
this.queryWindowService("setWindowState", params, cb);
|
|
1336
|
+
}
|
|
1337
|
+
/**
|
|
1338
|
+
* @private
|
|
1339
|
+
* @param params
|
|
1340
|
+
* @param cb
|
|
1341
|
+
*/
|
|
1342
|
+
saveCompleteWindowState(params = {}, cb = Function.prototype) {
|
|
1343
|
+
this.queryWindowService("saveCompleteWindowState", params, cb);
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
*Cancels startTabTileMonitoring. Example use is a user "escapes" out of a drag operation.
|
|
1347
|
+
* @param {object} params for future use
|
|
1348
|
+
* @private
|
|
1349
|
+
*/
|
|
1350
|
+
cancelTabTileMonitoring(params = {}) {
|
|
1351
|
+
Logger.system.debug("FinsembleWindow.cancelTabTileMonitoring", params);
|
|
1352
|
+
RouterClient.transmit("TabTile.cancelTabTile", { params });
|
|
1353
|
+
}
|
|
1354
|
+
/**
|
|
1355
|
+
* Change the title of the current window.
|
|
1356
|
+
*
|
|
1357
|
+
* @deprecated - Set document.title in your app or use FSBL.Clients.WindowClient.setTitle()
|
|
1358
|
+
* @param title - the new title
|
|
1359
|
+
*/
|
|
1360
|
+
setTitle(title) {
|
|
1361
|
+
const store = getRemoteStoreAsSingleton({
|
|
1362
|
+
singletonName: "WindowClient::setWindowTitle",
|
|
1363
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
1364
|
+
slice: "windowTitleBar",
|
|
1365
|
+
emptyStore,
|
|
1366
|
+
dispatchOnly: true,
|
|
1367
|
+
});
|
|
1368
|
+
store.dispatch(actions.setAPITitle({
|
|
1369
|
+
title,
|
|
1370
|
+
}));
|
|
1371
|
+
}
|
|
1372
|
+
/**
|
|
1373
|
+
* Get all options related to the current window
|
|
1374
|
+
*
|
|
1375
|
+
* @param [cb]
|
|
1376
|
+
* @example
|
|
1377
|
+
* const {err, data} = await finsembleWindow.getOptions();
|
|
1378
|
+
* // data looks like: {acceptFirstMouse: true, addToWorkspace: true, ...}
|
|
1379
|
+
*
|
|
1380
|
+
* // Sync alternative
|
|
1381
|
+
* finsembleWindow.getOptions((err, data) => {
|
|
1382
|
+
* // data looks like: {acceptFirstMouse: true, addToWorkspace: true, ...}
|
|
1383
|
+
* })
|
|
1384
|
+
*/
|
|
1385
|
+
getOptions(cb) {
|
|
1386
|
+
return new Promise((resolve) => {
|
|
1387
|
+
this.queryWindowService("getOptions", {}, (err, data) => {
|
|
1388
|
+
cb === null || cb === void 0 ? void 0 : cb(err, data);
|
|
1389
|
+
resolve({ err, data });
|
|
1390
|
+
});
|
|
1391
|
+
});
|
|
1392
|
+
}
|
|
1393
|
+
/**
|
|
1394
|
+
* Form a docking group with any adjacent windows.
|
|
1395
|
+
* This is the equivalent of clicking the "Attach Windows" icon in the titlebar, if it's available.
|
|
1396
|
+
*
|
|
1397
|
+
* @example
|
|
1398
|
+
* finsembleWindow.formGroup()
|
|
1399
|
+
*/
|
|
1400
|
+
formGroup() {
|
|
1401
|
+
RouterClient.transmit("DockingService.formGroup", { windowName: this.name });
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* Leave a docking group
|
|
1405
|
+
* This is the equivalent of clicking the "Detach Window" icon in the titlebar, if it's available.
|
|
1406
|
+
*
|
|
1407
|
+
* @example
|
|
1408
|
+
* finsembleWindow.ejectFromGroup()
|
|
1409
|
+
*/
|
|
1410
|
+
ejectFromGroup() {
|
|
1411
|
+
RouterClient.query("DockingService.leaveGroup", { name: this.name }, () => { });
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
FinsembleWindow.WINDOWSTATE = WINDOWSTATE;
|
|
1415
|
+
// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1416
|
+
// The window wrappers
|
|
1417
|
+
// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1418
|
+
/**
|
|
1419
|
+
* Legacy function. Insteady, use the `getInstance` method.
|
|
1420
|
+
*/
|
|
1421
|
+
FinsembleWindow.wrap = FinsembleWindow.getInstance;
|
|
1422
|
+
/**
|
|
1423
|
+
* Creating wraps is expensive, involving a router query to the window service. The static member
|
|
1424
|
+
* `cache` is used to store these handles so that they can be used frequently.
|
|
1425
|
+
*/
|
|
1426
|
+
FinsembleWindow.cache = {};
|
|
1427
|
+
/**
|
|
1428
|
+
* @private
|
|
1429
|
+
* @param windowName
|
|
1430
|
+
*/
|
|
1431
|
+
FinsembleWindow._windowReady = function (windowName) {
|
|
1432
|
+
Logger.system.debug(`windowServiceReady: ${windowName} starting`);
|
|
1433
|
+
let subscribeId;
|
|
1434
|
+
const promiseResolver = async (resolve) => {
|
|
1435
|
+
// Subscribe handler for component state. Once new state is retrieved, resolve out of _windowReady
|
|
1436
|
+
// This is a closure so it easily has access to the promise resolve method.
|
|
1437
|
+
const onComponentStateChanged = (err, response) => {
|
|
1438
|
+
const { state } = response.data;
|
|
1439
|
+
Logger.system.debug(`windowServiceReady: ${windowName} state change: ${state}`);
|
|
1440
|
+
switch (state) {
|
|
1441
|
+
// if ready state or any state beyond
|
|
1442
|
+
case "ready":
|
|
1443
|
+
case "reloading":
|
|
1444
|
+
case "closing":
|
|
1445
|
+
Logger.system.debug(`windowServiceReady: ${windowName} ${state}`);
|
|
1446
|
+
RouterClient.unsubscribe(subscribeId);
|
|
1447
|
+
resolve();
|
|
1448
|
+
break;
|
|
1449
|
+
default:
|
|
1450
|
+
break;
|
|
1451
|
+
}
|
|
1452
|
+
};
|
|
1453
|
+
// wait only for components managed by the window service
|
|
1454
|
+
Logger.system.debug(`windowServiceReady: ${windowName} waiting`);
|
|
1455
|
+
subscribeId = RouterClient.subscribe(`Finsemble.Component.State.${windowName}`, onComponentStateChanged);
|
|
1456
|
+
};
|
|
1457
|
+
return new Promise(promiseResolver);
|
|
1458
|
+
};
|
|
1417
1459
|
//# sourceMappingURL=FinsembleWindow.js.map
|