@finsemble/finsemble-ui 7.3.0 → 8.0.0-alpha-1
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 +1307 -0
- package/FEA.d.ts.map +1 -0
- package/FEA.js +11 -0
- package/FEA.js.map +1 -0
- package/README.md +4 -24
- package/clients/Interop/FinsembleDesktopAgent.d.ts +183 -0
- package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -0
- package/clients/Interop/FinsembleDesktopAgent.js +813 -0
- package/clients/Interop/FinsembleDesktopAgent.js.map +1 -0
- package/clients/Interop/InteropAdmin.d.ts +30 -0
- package/clients/Interop/InteropAdmin.d.ts.map +1 -0
- package/clients/Interop/InteropAdmin.js +99 -0
- package/clients/Interop/InteropAdmin.js.map +1 -0
- package/clients/Interop/index.d.ts +2 -0
- package/clients/Interop/index.d.ts.map +1 -0
- package/clients/Interop/index.js +3 -0
- package/clients/Interop/index.js.map +1 -0
- package/clients/Interop/types.d.ts +325 -0
- package/clients/Interop/types.d.ts.map +1 -0
- package/clients/Interop/types.js +45 -0
- package/clients/Interop/types.js.map +1 -0
- package/clients/Startup/FSBLDesktop.d.ts +170 -0
- package/clients/Startup/FSBLDesktop.d.ts.map +1 -0
- package/clients/Startup/FSBLDesktop.js +436 -0
- package/clients/Startup/FSBLDesktop.js.map +1 -0
- package/clients/Startup/FSBLFreestanding.d.ts +28 -0
- package/clients/Startup/FSBLFreestanding.d.ts.map +1 -0
- package/clients/Startup/FSBLFreestanding.js +127 -0
- package/clients/Startup/FSBLFreestanding.js.map +1 -0
- package/clients/Startup/FSBLService.d.ts +8 -0
- package/clients/Startup/FSBLService.d.ts.map +1 -0
- package/clients/Startup/FSBLService.js +56 -0
- package/clients/Startup/FSBLService.js.map +1 -0
- package/clients/Startup/RouterConfig.d.ts +37 -0
- package/clients/Startup/RouterConfig.d.ts.map +1 -0
- package/clients/Startup/RouterConfig.js +108 -0
- package/clients/Startup/RouterConfig.js.map +1 -0
- package/clients/Startup/SDDListeners.d.ts +12 -0
- package/clients/Startup/SDDListeners.d.ts.map +1 -0
- package/clients/Startup/SDDListeners.js +98 -0
- package/clients/Startup/SDDListeners.js.map +1 -0
- package/clients/Startup/Startup.d.ts +59 -0
- package/clients/Startup/Startup.d.ts.map +1 -0
- package/clients/Startup/Startup.js +102 -0
- package/clients/Startup/Startup.js.map +1 -0
- package/clients/Startup/index.d.ts +2 -0
- package/clients/Startup/index.d.ts.map +1 -0
- package/clients/Startup/index.js +3 -0
- package/clients/Startup/index.js.map +1 -0
- package/clients/Startup/types.d.ts +60 -0
- package/clients/Startup/types.d.ts.map +1 -0
- package/clients/Startup/types.js +2 -0
- package/clients/Startup/types.js.map +1 -0
- package/clients/Startup/unhandledErrors.d.ts +7 -0
- package/clients/Startup/unhandledErrors.d.ts.map +1 -0
- package/clients/Startup/unhandledErrors.js +74 -0
- package/clients/Startup/unhandledErrors.js.map +1 -0
- package/clients/Startup/windowStartup.d.ts +18 -0
- package/clients/Startup/windowStartup.d.ts.map +1 -0
- package/clients/Startup/windowStartup.js +421 -0
- package/clients/Startup/windowStartup.js.map +1 -0
- package/clients/StoreModel.d.ts +318 -0
- package/clients/StoreModel.d.ts.map +1 -0
- package/clients/StoreModel.js +543 -0
- package/clients/StoreModel.js.map +1 -0
- package/clients/authenticationClient.d.ts +181 -0
- package/clients/authenticationClient.d.ts.map +1 -0
- package/clients/authenticationClient.js +243 -0
- package/clients/authenticationClient.js.map +1 -0
- package/clients/configClient.d.ts +394 -0
- package/clients/configClient.d.ts.map +1 -0
- package/clients/configClient.js +601 -0
- package/clients/configClient.js.map +1 -0
- package/clients/dialogManagerClient.d.ts +251 -0
- package/clients/dialogManagerClient.d.ts.map +1 -0
- package/clients/dialogManagerClient.js +691 -0
- package/clients/dialogManagerClient.js.map +1 -0
- package/clients/distributedStoreClient.d.ts +148 -0
- package/clients/distributedStoreClient.d.ts.map +1 -0
- package/clients/distributedStoreClient.js +250 -0
- package/clients/distributedStoreClient.js.map +1 -0
- package/clients/hotkeyClient.d.ts +114 -0
- package/clients/hotkeyClient.d.ts.map +1 -0
- package/clients/hotkeyClient.js +624 -0
- package/clients/hotkeyClient.js.map +1 -0
- package/clients/index.d.ts +15 -0
- package/clients/index.d.ts.map +1 -0
- package/clients/index.js +17 -0
- package/clients/index.js.map +1 -0
- package/clients/launcherClient.d.ts +278 -0
- package/clients/launcherClient.d.ts.map +1 -0
- package/clients/launcherClient.js +450 -0
- package/clients/launcherClient.js.map +1 -0
- package/clients/logger.d.ts +358 -0
- package/clients/logger.d.ts.map +1 -0
- package/clients/logger.js +924 -0
- package/clients/logger.js.map +1 -0
- package/clients/notificationClient.d.ts +287 -0
- package/clients/notificationClient.d.ts.map +1 -0
- package/clients/notificationClient.js +534 -0
- package/clients/notificationClient.js.map +1 -0
- package/clients/routerClient.d.ts +658 -0
- package/clients/routerClient.d.ts.map +1 -0
- package/clients/routerClient.js +1361 -0
- package/clients/routerClient.js.map +1 -0
- package/clients/searchClient.d.ts +151 -0
- package/clients/searchClient.d.ts.map +1 -0
- package/clients/searchClient.js +276 -0
- package/clients/searchClient.js.map +1 -0
- package/clients/storageClient.d.ts +217 -0
- package/clients/storageClient.d.ts.map +1 -0
- package/clients/storageClient.js +294 -0
- package/clients/storageClient.js.map +1 -0
- package/clients/windowClient.d.ts +572 -0
- package/clients/windowClient.d.ts.map +1 -0
- package/clients/windowClient.js +870 -0
- package/clients/windowClient.js.map +1 -0
- package/clients/workspaceClient.d.ts +481 -0
- package/clients/workspaceClient.d.ts.map +1 -0
- package/clients/workspaceClient.js +714 -0
- package/clients/workspaceClient.js.map +1 -0
- package/common/Desktop.d.ts +87 -0
- package/common/Desktop.d.ts.map +1 -0
- package/common/Desktop.js +125 -0
- package/common/Desktop.js.map +1 -0
- package/common/FinsembleWindow.d.ts +916 -0
- package/common/FinsembleWindow.d.ts.map +1 -0
- package/common/FinsembleWindow.js +1682 -0
- package/common/FinsembleWindow.js.map +1 -0
- package/common/Globals.d.ts +97 -0
- package/common/Globals.d.ts.map +1 -0
- package/common/Globals.js +30 -0
- package/common/Globals.js.map +1 -0
- package/common/Monitors.d.ts +133 -0
- package/common/Monitors.d.ts.map +1 -0
- package/common/Monitors.js +442 -0
- package/common/Monitors.js.map +1 -0
- package/common/Performance.d.ts +7 -0
- package/common/Performance.d.ts.map +1 -0
- package/common/Performance.js +13 -0
- package/common/Performance.js.map +1 -0
- package/common/REST.d.ts +17 -0
- package/common/REST.d.ts.map +1 -0
- package/common/REST.js +85 -0
- package/common/REST.js.map +1 -0
- package/common/Singleton.d.ts +67 -0
- package/common/Singleton.d.ts.map +1 -0
- package/common/Singleton.js +83 -0
- package/common/Singleton.js.map +1 -0
- package/common/configUtil.d.ts +50 -0
- package/common/configUtil.d.ts.map +1 -0
- package/common/configUtil.js +333 -0
- package/common/configUtil.js.map +1 -0
- package/common/constants.d.ts +106 -0
- package/common/constants.d.ts.map +1 -0
- package/common/constants.js +181 -0
- package/common/constants.js.map +1 -0
- package/common/dependencyManager.d.ts +172 -0
- package/common/dependencyManager.d.ts.map +1 -0
- package/common/dependencyManager.js +383 -0
- package/common/dependencyManager.js.map +1 -0
- package/common/events/FinsembleEvent.d.ts +30 -0
- package/common/events/FinsembleEvent.d.ts.map +1 -0
- package/common/events/FinsembleEvent.js +72 -0
- package/common/events/FinsembleEvent.js.map +1 -0
- package/common/events/PrivateEventManager.d.ts +95 -0
- package/common/events/PrivateEventManager.d.ts.map +1 -0
- package/common/events/PrivateEventManager.js +295 -0
- package/common/events/PrivateEventManager.js.map +1 -0
- package/common/events/PrivateFinsembleEvent.d.ts +30 -0
- package/common/events/PrivateFinsembleEvent.d.ts.map +1 -0
- package/common/events/PrivateFinsembleEvent.js +65 -0
- package/common/events/PrivateFinsembleEvent.js.map +1 -0
- package/common/events/PublicEventManager.d.ts +59 -0
- package/common/events/PublicEventManager.d.ts.map +1 -0
- package/common/events/PublicEventManager.js +124 -0
- package/common/events/PublicEventManager.js.map +1 -0
- package/common/index.d.ts +4 -0
- package/common/index.d.ts.map +1 -0
- package/common/index.js +6 -0
- package/common/index.js.map +1 -0
- package/common/redux/createReducer.d.ts +128 -0
- package/common/redux/createReducer.d.ts.map +1 -0
- package/common/redux/createReducer.js +298 -0
- package/common/redux/createReducer.js.map +1 -0
- package/common/redux/index.d.ts +3 -0
- package/common/redux/index.d.ts.map +1 -0
- package/common/redux/index.js +3 -0
- package/common/redux/index.js.map +1 -0
- package/common/redux/remoteReduxEnhancer.d.ts +29 -0
- package/common/redux/remoteReduxEnhancer.d.ts.map +1 -0
- package/common/redux/remoteReduxEnhancer.js +202 -0
- package/common/redux/remoteReduxEnhancer.js.map +1 -0
- package/common/redux/types.d.ts +14 -0
- package/common/redux/types.d.ts.map +1 -0
- package/common/redux/types.js +2 -0
- package/common/redux/types.js.map +1 -0
- package/common/system.d.ts +309 -0
- package/common/system.d.ts.map +1 -0
- package/common/system.js +545 -0
- package/common/system.js.map +1 -0
- package/common/systemManagerClient.d.ts +86 -0
- package/common/systemManagerClient.d.ts.map +1 -0
- package/common/systemManagerClient.js +173 -0
- package/common/systemManagerClient.js.map +1 -0
- package/common/testPoint.d.ts +57 -0
- package/common/testPoint.d.ts.map +1 -0
- package/common/testPoint.js +106 -0
- package/common/testPoint.js.map +1 -0
- package/common/toast.d.ts +36 -0
- package/common/toast.d.ts.map +1 -0
- package/common/toast.js +85 -0
- package/common/toast.js.map +1 -0
- package/common/util.d.ts +139 -0
- package/common/util.d.ts.map +1 -0
- package/common/util.js +455 -0
- package/common/util.js.map +1 -0
- package/deprecated/SmartDesktopClient.d.ts +19 -0
- package/deprecated/SmartDesktopClient.d.ts.map +1 -0
- package/deprecated/SmartDesktopClient.js +19 -0
- package/deprecated/SmartDesktopClient.js.map +1 -0
- package/deprecated/baseClient.d.ts +88 -0
- package/deprecated/baseClient.d.ts.map +1 -0
- package/deprecated/baseClient.js +124 -0
- package/deprecated/baseClient.js.map +1 -0
- package/deprecated/deprecatedFunctions.d.ts +45 -0
- package/deprecated/deprecatedFunctions.d.ts.map +1 -0
- package/deprecated/deprecatedFunctions.js +201 -0
- package/deprecated/deprecatedFunctions.js.map +1 -0
- package/deprecated/deprecatedlauncherClient.d.ts +163 -0
- package/deprecated/deprecatedlauncherClient.d.ts.map +1 -0
- package/deprecated/deprecatedlauncherClient.js +286 -0
- package/deprecated/deprecatedlauncherClient.js.map +1 -0
- package/deprecated/dragAndDropAssets/dragAndDropScrim.css +54 -0
- package/deprecated/dragAndDropAssets/ff-delete-circle.svg +11 -0
- package/deprecated/dragAndDropAssets/ff-share.svg +14 -0
- package/deprecated/dragAndDropClient.d.ts +288 -0
- package/deprecated/dragAndDropClient.d.ts.map +1 -0
- package/deprecated/dragAndDropClient.js +695 -0
- package/deprecated/dragAndDropClient.js.map +1 -0
- package/deprecated/index.d.ts +2 -0
- package/deprecated/index.d.ts.map +1 -0
- package/deprecated/index.js +2 -0
- package/deprecated/index.js.map +1 -0
- package/deprecated/legacyUIComponentNames.d.ts +25 -0
- package/deprecated/legacyUIComponentNames.d.ts.map +1 -0
- package/deprecated/legacyUIComponentNames.js +25 -0
- package/deprecated/legacyUIComponentNames.js.map +1 -0
- package/deprecated/linkerClient.d.ts +422 -0
- package/deprecated/linkerClient.d.ts.map +1 -0
- package/deprecated/linkerClient.js +889 -0
- package/deprecated/linkerClient.js.map +1 -0
- package/index.d.ts +69 -1
- package/index.d.ts.map +1 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/main.d.ts +737 -0
- package/main.d.ts.map +1 -0
- package/main.js +83 -0
- package/main.js.map +1 -0
- package/package.json +23 -90
- package/platform/preloads/BloombergBridgeClient.d.ts +454 -0
- package/platform/preloads/BloombergBridgeClient.d.ts.map +1 -0
- package/platform/preloads/BloombergBridgeClient.js +569 -0
- package/platform/preloads/BloombergBridgeClient.js.map +1 -0
- package/platform/services/Interop/AuthSignVerify.d.ts +51 -0
- package/platform/services/Interop/AuthSignVerify.d.ts.map +1 -0
- package/platform/services/Interop/AuthSignVerify.js +284 -0
- package/platform/services/Interop/AuthSignVerify.js.map +1 -0
- package/platform/services/Interop/modules/actions.d.ts +16 -0
- package/platform/services/Interop/modules/actions.d.ts.map +1 -0
- package/platform/services/Interop/modules/actions.js +11 -0
- package/platform/services/Interop/modules/actions.js.map +1 -0
- package/platform/services/Interop/modules/types.d.ts +85 -0
- package/platform/services/Interop/modules/types.d.ts.map +1 -0
- package/platform/services/Interop/modules/types.js +2 -0
- package/platform/services/Interop/modules/types.js.map +1 -0
- package/platform/services/Interop/types.d.ts +486 -0
- package/platform/services/Interop/types.d.ts.map +1 -0
- package/platform/services/Interop/types.js +13 -0
- package/platform/services/Interop/types.js.map +1 -0
- package/platform/services/baseService.d.ts +83 -0
- package/platform/services/baseService.d.ts.map +1 -0
- package/platform/services/baseService.js +301 -0
- package/platform/services/baseService.js.map +1 -0
- package/platform/services/distributedStore/storeUtils.d.ts +16 -0
- package/platform/services/distributedStore/storeUtils.d.ts.map +1 -0
- package/platform/services/distributedStore/storeUtils.js +110 -0
- package/platform/services/distributedStore/storeUtils.js.map +1 -0
- package/platform/services/logger/types.d.ts +79 -0
- package/platform/services/logger/types.d.ts.map +1 -0
- package/platform/services/logger/types.js +2 -0
- package/platform/services/logger/types.js.map +1 -0
- package/platform/services/notification/types/Action.d.ts +13 -0
- package/platform/services/notification/types/Action.d.ts.map +1 -0
- package/platform/services/notification/types/Action.js +8 -0
- package/platform/services/notification/types/Action.js.map +1 -0
- package/platform/services/notification/types/ActionTypes.d.ts +17 -0
- package/platform/services/notification/types/ActionTypes.d.ts.map +1 -0
- package/platform/services/notification/types/ActionTypes.js +19 -0
- package/platform/services/notification/types/ActionTypes.js.map +1 -0
- package/platform/services/notification/types/Callbacks.d.ts +8 -0
- package/platform/services/notification/types/Callbacks.d.ts.map +1 -0
- package/platform/services/notification/types/Callbacks.js +2 -0
- package/platform/services/notification/types/Callbacks.js.map +1 -0
- package/platform/services/notification/types/Filter.d.ts +23 -0
- package/platform/services/notification/types/Filter.d.ts.map +1 -0
- package/platform/services/notification/types/Filter.js +20 -0
- package/platform/services/notification/types/Filter.js.map +1 -0
- package/platform/services/notification/types/IAction.d.ts +52 -0
- package/platform/services/notification/types/IAction.d.ts.map +1 -0
- package/platform/services/notification/types/IAction.js +2 -0
- package/platform/services/notification/types/IAction.js.map +1 -0
- package/platform/services/notification/types/IFilter.d.ts +25 -0
- package/platform/services/notification/types/IFilter.d.ts.map +1 -0
- package/platform/services/notification/types/IFilter.js +2 -0
- package/platform/services/notification/types/IFilter.js.map +1 -0
- package/platform/services/notification/types/ILastIssued.d.ts +9 -0
- package/platform/services/notification/types/ILastIssued.d.ts.map +1 -0
- package/platform/services/notification/types/ILastIssued.js +2 -0
- package/platform/services/notification/types/ILastIssued.js.map +1 -0
- package/platform/services/notification/types/IMuteFilter.d.ts +8 -0
- package/platform/services/notification/types/IMuteFilter.d.ts.map +1 -0
- package/platform/services/notification/types/IMuteFilter.js +5 -0
- package/platform/services/notification/types/IMuteFilter.js.map +1 -0
- package/platform/services/notification/types/INotification.d.ts +101 -0
- package/platform/services/notification/types/INotification.d.ts.map +1 -0
- package/platform/services/notification/types/INotification.js +2 -0
- package/platform/services/notification/types/INotification.js.map +1 -0
- package/platform/services/notification/types/INotificationClient.d.ts +95 -0
- package/platform/services/notification/types/INotificationClient.d.ts.map +1 -0
- package/platform/services/notification/types/INotificationClient.js +2 -0
- package/platform/services/notification/types/INotificationClient.js.map +1 -0
- package/platform/services/notification/types/INotificationHistoryOptions.d.ts +19 -0
- package/platform/services/notification/types/INotificationHistoryOptions.d.ts.map +1 -0
- package/platform/services/notification/types/INotificationHistoryOptions.js +2 -0
- package/platform/services/notification/types/INotificationHistoryOptions.js.map +1 -0
- package/platform/services/notification/types/INotificationService.d.ts +58 -0
- package/platform/services/notification/types/INotificationService.d.ts.map +1 -0
- package/platform/services/notification/types/INotificationService.js +2 -0
- package/platform/services/notification/types/INotificationService.js.map +1 -0
- package/platform/services/notification/types/IPerformedAction.d.ts +10 -0
- package/platform/services/notification/types/IPerformedAction.d.ts.map +1 -0
- package/platform/services/notification/types/IPerformedAction.js +2 -0
- package/platform/services/notification/types/IPerformedAction.js.map +1 -0
- package/platform/services/notification/types/ISnoozeTimer.d.ts +14 -0
- package/platform/services/notification/types/ISnoozeTimer.d.ts.map +1 -0
- package/platform/services/notification/types/ISnoozeTimer.js +10 -0
- package/platform/services/notification/types/ISnoozeTimer.js.map +1 -0
- package/platform/services/notification/types/ISubscription.d.ts +16 -0
- package/platform/services/notification/types/ISubscription.d.ts.map +1 -0
- package/platform/services/notification/types/ISubscription.js +2 -0
- package/platform/services/notification/types/ISubscription.js.map +1 -0
- package/platform/services/notification/types/LastIssued.d.ts +11 -0
- package/platform/services/notification/types/LastIssued.d.ts.map +1 -0
- package/platform/services/notification/types/LastIssued.js +7 -0
- package/platform/services/notification/types/LastIssued.js.map +1 -0
- package/platform/services/notification/types/Meta.d.ts +13 -0
- package/platform/services/notification/types/Meta.d.ts.map +1 -0
- package/platform/services/notification/types/Meta.js +7 -0
- package/platform/services/notification/types/Meta.js.map +1 -0
- package/platform/services/notification/types/Notification.d.ts +30 -0
- package/platform/services/notification/types/Notification.d.ts.map +1 -0
- package/platform/services/notification/types/Notification.js +17 -0
- package/platform/services/notification/types/Notification.js.map +1 -0
- package/platform/services/notification/types/NotificationConfig.d.ts +22 -0
- package/platform/services/notification/types/NotificationConfig.d.ts.map +1 -0
- package/platform/services/notification/types/NotificationConfig.js +2 -0
- package/platform/services/notification/types/NotificationConfig.js.map +1 -0
- package/platform/services/notification/types/NotificationHookTypes.d.ts +7 -0
- package/platform/services/notification/types/NotificationHookTypes.d.ts.map +1 -0
- package/platform/services/notification/types/NotificationHookTypes.js +2 -0
- package/platform/services/notification/types/NotificationHookTypes.js.map +1 -0
- package/platform/services/notification/types/PerformedAction.d.ts +11 -0
- package/platform/services/notification/types/PerformedAction.d.ts.map +1 -0
- package/platform/services/notification/types/PerformedAction.js +8 -0
- package/platform/services/notification/types/PerformedAction.js.map +1 -0
- package/platform/services/notification/types/SnoozeTimer.d.ts +8 -0
- package/platform/services/notification/types/SnoozeTimer.d.ts.map +1 -0
- package/platform/services/notification/types/SnoozeTimer.js +3 -0
- package/platform/services/notification/types/SnoozeTimer.js.map +1 -0
- package/platform/services/notification/types/Subscription.d.ts +14 -0
- package/platform/services/notification/types/Subscription.d.ts.map +1 -0
- package/platform/services/notification/types/Subscription.js +15 -0
- package/platform/services/notification/types/Subscription.js.map +1 -0
- package/platform/services/notification/types/index.d.ts +48 -0
- package/platform/services/notification/types/index.d.ts.map +1 -0
- package/platform/services/notification/types/index.js +24 -0
- package/platform/services/notification/types/index.js.map +1 -0
- package/platform/services/router/routerTransport.d.ts +80 -0
- package/platform/services/router/routerTransport.d.ts.map +1 -0
- package/platform/services/router/routerTransport.js +361 -0
- package/platform/services/router/routerTransport.js.map +1 -0
- package/platform/services/search/types.d.ts +30 -0
- package/platform/services/search/types.d.ts.map +1 -0
- package/platform/services/search/types.js +2 -0
- package/platform/services/search/types.js.map +1 -0
- package/platform/services/storage/adapters/base.d.ts +4 -0
- package/platform/services/storage/adapters/base.d.ts.map +1 -0
- package/platform/services/storage/adapters/base.js +64 -0
- package/platform/services/storage/adapters/base.js.map +1 -0
- package/platform/services/storage/adapters/types.d.ts +22 -0
- package/platform/services/storage/adapters/types.d.ts.map +1 -0
- package/platform/services/storage/adapters/types.js +2 -0
- package/platform/services/storage/adapters/types.js.map +1 -0
- package/platform/services/systemManager/_constants.d.ts +9 -0
- package/platform/services/systemManager/_constants.d.ts.map +1 -0
- package/platform/services/systemManager/_constants.js +20 -0
- package/platform/services/systemManager/_constants.js.map +1 -0
- package/platform/services/systemManager/common.d.ts +14 -0
- package/platform/services/systemManager/common.d.ts.map +1 -0
- package/platform/services/systemManager/common.js +20 -0
- package/platform/services/systemManager/common.js.map +1 -0
- package/platform/services/systemManager/types.d.ts +49 -0
- package/platform/services/systemManager/types.d.ts.map +1 -0
- package/platform/services/systemManager/types.js +12 -0
- package/platform/services/systemManager/types.js.map +1 -0
- package/platform/services/types.d.ts +9 -0
- package/platform/services/types.d.ts.map +1 -0
- package/platform/services/types.js +8 -0
- package/platform/services/types.js.map +1 -0
- package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +469 -0
- package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +1 -0
- package/platform/services/window/WindowAbstractions/BaseWindow.js +1346 -0
- package/platform/services/window/WindowAbstractions/BaseWindow.js.map +1 -0
- package/platform/services/window/types.d.ts +945 -0
- package/platform/services/window/types.d.ts.map +1 -0
- package/platform/services/window/types.js +2 -0
- package/platform/services/window/types.js.map +1 -0
- package/platform/services/workspace/types.d.ts +78 -0
- package/platform/services/workspace/types.d.ts.map +1 -0
- package/platform/services/workspace/types.js +2 -0
- package/platform/services/workspace/types.js.map +1 -0
- package/platform/services/workspace/workspaceAdminAPI.d.ts +27 -0
- package/platform/services/workspace/workspaceAdminAPI.d.ts.map +1 -0
- package/platform/services/workspace/workspaceAdminAPI.js +45 -0
- package/platform/services/workspace/workspaceAdminAPI.js.map +1 -0
- package/react/actions/favoriteActions.d.ts +1 -0
- package/react/actions/favoriteActions.d.ts.map +1 -0
- package/react/actions/favoriteActions.js.map +1 -1
- package/react/actions/linkerActions.d.ts +1 -0
- package/react/actions/linkerActions.d.ts.map +1 -0
- package/react/actions/linkerActions.js.map +1 -1
- package/react/actions/menuActions.d.ts +1 -0
- package/react/actions/menuActions.d.ts.map +1 -0
- package/react/actions/menuActions.js.map +1 -1
- package/react/actions/rootActions.d.ts +1 -0
- package/react/actions/rootActions.d.ts.map +1 -0
- package/react/actions/rootActions.js.map +1 -1
- package/react/actions/searchActions.d.ts +1 -0
- package/react/actions/searchActions.d.ts.map +1 -0
- package/react/actions/searchActions.js.map +1 -1
- package/react/actions/smartDesktopDesignerActions.d.ts +9 -7
- package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -0
- package/react/actions/smartDesktopDesignerActions.js.map +1 -1
- package/react/actions/toolbarActions.d.ts +1 -0
- package/react/actions/toolbarActions.d.ts.map +1 -0
- package/react/actions/toolbarActions.js.map +1 -1
- package/react/actions/workspaceActions.d.ts +1 -0
- package/react/actions/workspaceActions.d.ts.map +1 -0
- package/react/actions/workspaceActions.js.map +1 -1
- package/react/assets/css/advancedAppLauncher.css +11 -2
- package/react/assets/css/authentication.css +1 -0
- package/react/assets/css/contextMenu.css +0 -2
- package/react/assets/css/dialogs.lazy.css +4 -0
- package/react/assets/css/finsemble.css +0 -1
- package/react/assets/css/finsemble.lazy.css +4 -0
- package/react/assets/css/floatingFocus.lazy.css +66 -0
- package/react/assets/css/linkerWindow.css +0 -5
- package/react/assets/css/notificationsCenter.css +14 -27
- package/react/assets/css/shared/animations.css +0 -4
- package/react/assets/css/toolbar.css +1 -1
- package/react/assets/css/userPreferences.css +8 -0
- package/react/assets/css/windowTitleBar.css +37 -12
- package/react/assets/css/windowTitleBar.lazy.css +4 -0
- package/react/assets/icons/grid.svg +26 -0
- package/react/components/FinsembleCSS.d.ts +13 -0
- package/react/components/FinsembleCSS.d.ts.map +1 -0
- package/react/components/FinsembleCSS.js +27 -0
- package/react/components/FinsembleCSS.js.map +1 -0
- package/react/components/FinsembleProvider.d.ts +8 -3
- package/react/components/FinsembleProvider.d.ts.map +1 -0
- package/react/components/FinsembleProvider.js +10 -5
- package/react/components/FinsembleProvider.js.map +1 -1
- package/react/components/appCatalog/AppCatalog.d.ts +1 -0
- package/react/components/appCatalog/AppCatalog.d.ts.map +1 -0
- package/react/components/appCatalog/AppCatalog.js +6 -0
- package/react/components/appCatalog/AppCatalog.js.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.d.ts +2 -1
- package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -0
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- package/react/components/appCatalog/components/AppCard.d.ts +1 -0
- package/react/components/appCatalog/components/AppCard.d.ts.map +1 -0
- package/react/components/appCatalog/components/AppCard.js.map +1 -1
- package/react/components/appCatalog/components/AppList.d.ts +1 -0
- package/react/components/appCatalog/components/AppList.d.ts.map +1 -0
- package/react/components/appCatalog/components/AppList.js.map +1 -1
- package/react/components/appCatalog/components/AppResults.d.ts +1 -0
- package/react/components/appCatalog/components/AppResults.d.ts.map +1 -0
- package/react/components/appCatalog/components/AppResults.js.map +1 -1
- package/react/components/appCatalog/components/Carousel.d.ts +1 -0
- package/react/components/appCatalog/components/Carousel.d.ts.map +1 -0
- package/react/components/appCatalog/components/Carousel.js.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.d.ts +1 -0
- package/react/components/appCatalog/components/EmptyResults.d.ts.map +1 -0
- package/react/components/appCatalog/components/EmptyResults.js.map +1 -1
- package/react/components/appCatalog/components/Hero.d.ts +1 -0
- package/react/components/appCatalog/components/Hero.d.ts.map +1 -0
- package/react/components/appCatalog/components/Hero.js.map +1 -1
- package/react/components/appCatalog/components/Home.d.ts +1 -0
- package/react/components/appCatalog/components/Home.d.ts.map +1 -0
- package/react/components/appCatalog/components/Home.js.map +1 -1
- package/react/components/appCatalog/components/SearchBar.d.ts +1 -0
- package/react/components/appCatalog/components/SearchBar.d.ts.map +1 -0
- package/react/components/appCatalog/components/SearchBar.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts +1 -0
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts.map +1 -0
- package/react/components/appCatalog/components/Showcase/AppDescription.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts +1 -0
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts.map +1 -0
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts +1 -0
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts.map +1 -0
- package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.d.ts +1 -0
- package/react/components/appCatalog/components/Showcase/Header.d.ts.map +1 -0
- package/react/components/appCatalog/components/Showcase/Header.js +3 -2
- package/react/components/appCatalog/components/Showcase/Header.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts +2 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts.map +1 -0
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Modal.d.ts +1 -0
- package/react/components/appCatalog/components/Showcase/Modal.d.ts.map +1 -0
- package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts +1 -0
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts.map +1 -0
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts +2 -1
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts.map +1 -0
- package/react/components/appCatalog/components/Showcase/SupportNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts +1 -0
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts.map +1 -0
- package/react/components/appCatalog/components/Showcase/VersionNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/defaults.d.ts +1 -0
- package/react/components/appCatalog/components/Showcase/defaults.d.ts.map +1 -0
- package/react/components/appCatalog/components/Showcase/defaults.js.map +1 -1
- package/react/components/appCatalog/components/Toast.d.ts +1 -0
- package/react/components/appCatalog/components/Toast.d.ts.map +1 -0
- package/react/components/appCatalog/components/Toast.js.map +1 -1
- package/react/components/appCatalog/components/helpers.d.ts +1 -0
- package/react/components/appCatalog/components/helpers.d.ts.map +1 -0
- package/react/components/appCatalog/components/helpers.js.map +1 -1
- package/react/components/appCatalog/index.d.ts +1 -0
- package/react/components/appCatalog/index.d.ts.map +1 -0
- package/react/components/appCatalog/index.js.map +1 -1
- package/react/components/appCatalog/modules/AppDirectory.d.ts +1 -0
- package/react/components/appCatalog/modules/AppDirectory.d.ts.map +1 -0
- package/react/components/appCatalog/modules/AppDirectory.js.map +1 -1
- package/react/components/appCatalog/modules/FDC3.d.ts +2 -1
- package/react/components/appCatalog/modules/FDC3.d.ts.map +1 -0
- package/react/components/appCatalog/modules/FDC3.js.map +1 -1
- package/react/components/appCatalog/stores/appStore.d.ts +3 -2
- package/react/components/appCatalog/stores/appStore.d.ts.map +1 -0
- package/react/components/appCatalog/stores/appStore.js +2 -1
- package/react/components/appCatalog/stores/appStore.js.map +1 -1
- package/react/components/appCatalog/stores/storeActions.d.ts +1 -0
- package/react/components/appCatalog/stores/storeActions.d.ts.map +1 -0
- package/react/components/appCatalog/stores/storeActions.js.map +1 -1
- package/react/components/common/Button.d.ts +3 -1
- package/react/components/common/Button.d.ts.map +1 -0
- package/react/components/common/Button.js +1 -0
- package/react/components/common/Button.js.map +1 -1
- package/react/components/common/ButtonIcon.d.ts +1 -0
- package/react/components/common/ButtonIcon.d.ts.map +1 -0
- package/react/components/common/ButtonIcon.js.map +1 -1
- package/react/components/common/ButtonRow.d.ts +1 -0
- package/react/components/common/ButtonRow.d.ts.map +1 -0
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/Checkbox.d.ts +1 -0
- package/react/components/common/Checkbox.d.ts.map +1 -0
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ContextMenu.d.ts +1 -0
- package/react/components/common/ContextMenu.d.ts.map +1 -0
- package/react/components/common/ContextMenu.js.map +1 -1
- package/react/components/common/DropdownButton.d.ts +1 -0
- package/react/components/common/DropdownButton.d.ts.map +1 -0
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/ErrorBoundary.d.ts +1 -0
- package/react/components/common/ErrorBoundary.d.ts.map +1 -0
- package/react/components/common/ErrorBoundary.js +2 -1
- package/react/components/common/ErrorBoundary.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +2 -1
- package/react/components/common/FinsembleIcon.d.ts.map +1 -0
- package/react/components/common/FinsembleIcon.js +2 -4
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleSelect.d.ts +1 -0
- package/react/components/common/FinsembleSelect.d.ts.map +1 -0
- package/react/components/common/FinsembleSelect.js.map +1 -1
- package/react/components/common/FinsembleToggle.d.ts +1 -0
- package/react/components/common/FinsembleToggle.d.ts.map +1 -0
- package/react/components/common/FinsembleToggle.js +8 -19
- package/react/components/common/FinsembleToggle.js.map +1 -1
- package/react/components/common/FinsembleToggleButtonBar.d.ts +1 -0
- package/react/components/common/FinsembleToggleButtonBar.d.ts.map +1 -0
- package/react/components/common/FinsembleToggleButtonBar.js.map +1 -1
- package/react/components/common/Header.d.ts +1 -0
- package/react/components/common/Header.d.ts.map +1 -0
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/TimeSelect.d.ts +1 -0
- package/react/components/common/TimeSelect.d.ts.map +1 -0
- package/react/components/common/TimeSelect.js.map +1 -1
- package/react/components/common/css/FinsembleToggle.css +11 -0
- package/react/components/common/css/button.css +29 -21
- package/react/components/common/css/selector.css +6 -2
- package/react/components/common/css/tab.css +1 -0
- package/react/components/common/css/toggle.css +34 -49
- package/react/components/favorites/FavoriteMaker.d.ts +1 -0
- package/react/components/favorites/FavoriteMaker.d.ts.map +1 -0
- package/react/components/favorites/FavoriteMaker.js.map +1 -1
- package/react/components/favorites/FavoritesShell.d.ts +1 -0
- package/react/components/favorites/FavoritesShell.d.ts.map +1 -0
- package/react/components/favorites/FavoritesShell.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.d.ts +1 -0
- package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -0
- package/react/components/fdc3Resolver/ResolverContainer.js +7 -4
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +2 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -0
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/fdc3Resolver/index.d.ts +2 -0
- package/react/components/fdc3Resolver/index.d.ts.map +1 -0
- package/react/components/fdc3Resolver/index.js +2 -0
- package/react/components/fdc3Resolver/index.js.map +1 -0
- package/react/components/icon/Icon.d.ts +2 -2
- package/react/components/icon/Icon.d.ts.map +1 -0
- package/react/components/icon/Icon.js.map +1 -1
- package/react/components/icon/index.d.ts +1 -0
- package/react/components/icon/index.d.ts.map +1 -0
- package/react/components/icon/index.js.map +1 -1
- package/react/components/index.d.ts +28 -0
- package/react/components/index.d.ts.map +1 -0
- package/react/components/index.js +28 -0
- package/react/components/index.js.map +1 -0
- package/react/components/legacyControls/FinsembleDialog.d.ts +1 -0
- package/react/components/legacyControls/FinsembleDialog.d.ts.map +1 -0
- package/react/components/legacyControls/FinsembleDialog.js +13 -12
- package/react/components/legacyControls/FinsembleDialog.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.d.ts +1 -0
- package/react/components/legacyControls/FinsembleDialogButton.d.ts.map +1 -0
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts +1 -0
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts.map +1 -0
- package/react/components/legacyControls/FinsembleDialogQuestion.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.js +4 -3
- package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.d.ts +1 -0
- package/react/components/legacyControls/FinsembleDnDContext.d.ts.map +1 -0
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.d.ts +1 -0
- package/react/components/legacyControls/FinsembleDraggable.d.ts.map +1 -0
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts +1 -0
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +1 -0
- package/react/components/legacyControls/FinsembleHoverDetector.js.map +1 -1
- package/react/components/linker/LinkerMenu.d.ts +1 -0
- package/react/components/linker/LinkerMenu.d.ts.map +1 -0
- package/react/components/linker/LinkerMenu.js +30 -22
- package/react/components/linker/LinkerMenu.js.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.d.ts +1 -0
- package/react/components/linker/LinkerMenuDeprecated.d.ts.map +1 -0
- package/react/components/linker/LinkerMenuDeprecated.js +3 -2
- package/react/components/linker/LinkerMenuDeprecated.js.map +1 -1
- package/react/components/linker/index.d.ts +1 -0
- package/react/components/linker/index.d.ts.map +1 -0
- package/react/components/linker/index.js.map +1 -1
- package/react/components/linker/remoteRedux.d.ts +9 -12
- package/react/components/linker/remoteRedux.d.ts.map +1 -0
- package/react/components/linker/remoteRedux.js +21 -12
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/menu/Menu.d.ts +5 -4
- package/react/components/menu/Menu.d.ts.map +1 -0
- package/react/components/menu/Menu.js +4 -4
- package/react/components/menu/Menu.js.map +1 -1
- package/react/components/menu/MenuAutoResizer.d.ts +1 -0
- package/react/components/menu/MenuAutoResizer.d.ts.map +1 -0
- package/react/components/menu/MenuAutoResizer.js +2 -1
- package/react/components/menu/MenuAutoResizer.js.map +1 -1
- package/react/components/menu/MenuContent.d.ts +1 -0
- package/react/components/menu/MenuContent.d.ts.map +1 -0
- package/react/components/menu/MenuContent.js.map +1 -1
- package/react/components/menu/MenuHotKey.d.ts +1 -0
- package/react/components/menu/MenuHotKey.d.ts.map +1 -0
- package/react/components/menu/MenuHotKey.js +6 -5
- package/react/components/menu/MenuHotKey.js.map +1 -1
- package/react/components/menu/MenuItem.d.ts +1 -0
- package/react/components/menu/MenuItem.d.ts.map +1 -0
- package/react/components/menu/MenuItem.js.map +1 -1
- package/react/components/menu/MenuPortal.d.ts +1 -0
- package/react/components/menu/MenuPortal.d.ts.map +1 -0
- package/react/components/menu/MenuPortal.js +5 -4
- package/react/components/menu/MenuPortal.js.map +1 -1
- package/react/components/menu/MenuShell.d.ts +3 -2
- package/react/components/menu/MenuShell.d.ts.map +1 -0
- package/react/components/menu/MenuShell.js +2 -2
- package/react/components/menu/MenuShell.js.map +1 -1
- package/react/components/menu/MenuToggle.d.ts +1 -0
- package/react/components/menu/MenuToggle.d.ts.map +1 -0
- package/react/components/menu/MenuToggle.js.map +1 -1
- package/react/components/menu/index.d.ts +1 -0
- package/react/components/menu/index.d.ts.map +1 -0
- package/react/components/menu/index.js.map +1 -1
- package/react/components/menu/keyboardNavigation.d.ts +1 -0
- package/react/components/menu/keyboardNavigation.d.ts.map +1 -0
- package/react/components/menu/keyboardNavigation.js +1 -1
- package/react/components/menu/keyboardNavigation.js.map +1 -1
- package/react/components/menu/menuContext.d.ts +1 -0
- package/react/components/menu/menuContext.d.ts.map +1 -0
- package/react/components/menu/menuContext.js.map +1 -1
- package/react/components/menu/menuHelpers.d.ts +1 -0
- package/react/components/menu/menuHelpers.d.ts.map +1 -0
- package/react/components/menu/menuHelpers.js.map +1 -1
- package/react/components/notifications/components/NoNotifications.d.ts +1 -0
- package/react/components/notifications/components/NoNotifications.d.ts.map +1 -0
- package/react/components/notifications/components/NoNotifications.js.map +1 -1
- package/react/components/notifications/components/drawer/Drawer.d.ts +1 -0
- package/react/components/notifications/components/drawer/Drawer.d.ts.map +1 -0
- package/react/components/notifications/components/drawer/Drawer.js.map +1 -1
- package/react/components/notifications/components/drawer/DrawerControls.d.ts +1 -0
- package/react/components/notifications/components/drawer/DrawerControls.d.ts.map +1 -0
- package/react/components/notifications/components/drawer/DrawerControls.js +33 -58
- package/react/components/notifications/components/drawer/DrawerControls.js.map +1 -1
- package/react/components/notifications/components/drawer/DrawerHeader.d.ts +1 -0
- package/react/components/notifications/components/drawer/DrawerHeader.d.ts.map +1 -0
- package/react/components/notifications/components/drawer/DrawerHeader.js +3 -2
- package/react/components/notifications/components/drawer/DrawerHeader.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts +1 -0
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts.map +1 -0
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +64 -54
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts +2 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts.map +1 -0
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +137 -102
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.d.ts +2 -2
- package/react/components/notifications/components/shared/CheckButton.d.ts.map +1 -0
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.d.ts +1 -0
- package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -0
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +2 -3
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -0
- package/react/components/notifications/components/shared/NotificationCardShell.js +5 -4
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +2 -3
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +2 -3
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +3 -4
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js +93 -88
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +2 -3
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js.map +1 -1
- package/react/components/notifications/components/views/CardView.d.ts +1 -0
- package/react/components/notifications/components/views/CardView.d.ts.map +1 -0
- package/react/components/notifications/components/views/CardView.js.map +1 -1
- package/react/components/notifications/components/views/ListView.d.ts +2 -2
- package/react/components/notifications/components/views/ListView.d.ts.map +1 -0
- package/react/components/notifications/components/views/ListView.js +13 -8
- package/react/components/notifications/components/views/ListView.js.map +1 -1
- package/react/components/notifications/components/views/NotificationDetailsView.d.ts +2 -2
- package/react/components/notifications/components/views/NotificationDetailsView.d.ts.map +1 -0
- package/react/components/notifications/components/views/NotificationDetailsView.js.map +1 -1
- package/react/components/notifications/constants.d.ts +1 -0
- package/react/components/notifications/constants.d.ts.map +1 -0
- package/react/components/notifications/constants.js.map +1 -1
- package/react/components/notifications/css/notification-card.css +7 -7
- package/react/components/notifications/css/notifications-toasts.css +32 -0
- package/react/components/notifications/icons/EnvelopeClose.d.ts +1 -0
- package/react/components/notifications/icons/EnvelopeClose.d.ts.map +1 -0
- package/react/components/notifications/icons/EnvelopeClose.js.map +1 -1
- package/react/components/notifications/icons/EnvelopeOpen.d.ts +1 -0
- package/react/components/notifications/icons/EnvelopeOpen.d.ts.map +1 -0
- package/react/components/notifications/icons/EnvelopeOpen.js.map +1 -1
- package/react/components/notifications/icons/SnoozeIcon.d.ts +1 -0
- package/react/components/notifications/icons/SnoozeIcon.d.ts.map +1 -0
- package/react/components/notifications/icons/SnoozeIcon.js.map +1 -1
- package/react/components/notifications/index.d.ts +1 -0
- package/react/components/notifications/index.d.ts.map +1 -0
- package/react/components/notifications/index.js.map +1 -1
- package/react/components/notifications/notificationsContext.d.ts +1 -0
- package/react/components/notifications/notificationsContext.d.ts.map +1 -0
- package/react/components/notifications/notificationsContext.js.map +1 -1
- package/react/components/notifications/types.d.ts +5 -7
- package/react/components/notifications/types.d.ts.map +1 -0
- package/react/components/notifications/types.js.map +1 -1
- package/react/components/notifications/utils.d.ts +2 -5
- package/react/components/notifications/utils.d.ts.map +1 -0
- package/react/components/notifications/utils.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.d.ts +1 -0
- package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -0
- package/react/components/processMonitor/ProcessMonitor.js +12 -7
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +2 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -0
- package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts +1 -0
- package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -0
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +2 -1
- package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -0
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +1 -0
- package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -0
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.d.ts +1 -0
- package/react/components/processMonitor/constants.d.ts.map +1 -0
- package/react/components/processMonitor/constants.js.map +1 -1
- package/react/components/processMonitor/helpers.d.ts +1 -0
- package/react/components/processMonitor/helpers.d.ts.map +1 -0
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/index.d.ts +1 -0
- package/react/components/processMonitor/index.d.ts.map +1 -0
- package/react/components/processMonitor/index.js.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +4 -3
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +7 -6
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.d.ts +1 -0
- package/react/components/quickComponentForm/QuickComponentForm.d.ts.map +1 -0
- package/react/components/quickComponentForm/QuickComponentForm.js +27 -17
- package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
- package/react/components/quickComponentForm/index.d.ts +1 -0
- package/react/components/quickComponentForm/index.d.ts.map +1 -0
- package/react/components/quickComponentForm/index.js.map +1 -1
- package/react/components/sdd/Appearance.helpers.d.ts +1 -0
- package/react/components/sdd/Appearance.helpers.d.ts.map +1 -0
- package/react/components/sdd/Appearance.helpers.js.map +1 -1
- package/react/components/sdd/Dashboard.css +76 -0
- package/react/components/sdd/ThemePage.css +6 -0
- package/react/components/sdd/css/addApp.css +2 -2
- package/react/components/sdd/css/authentication.css +1 -1
- package/react/components/sdd/css/export.css +35 -0
- package/react/components/sdd/css/interopField.css +14 -0
- package/react/components/sdd/css/nav.css +25 -20
- package/react/components/search/Highlight.d.ts +1 -0
- package/react/components/search/Highlight.d.ts.map +1 -0
- package/react/components/search/Highlight.js.map +1 -1
- package/react/components/search/Search.d.ts +1 -0
- package/react/components/search/Search.d.ts.map +1 -0
- package/react/components/search/Search.js.map +1 -1
- package/react/components/search/SearchBestMatch.d.ts +1 -0
- package/react/components/search/SearchBestMatch.d.ts.map +1 -0
- package/react/components/search/SearchBestMatch.js.map +1 -1
- package/react/components/search/SearchInput.d.ts +1 -0
- package/react/components/search/SearchInput.d.ts.map +1 -0
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/search/SearchProviderResults.d.ts +2 -3
- package/react/components/search/SearchProviderResults.d.ts.map +1 -0
- package/react/components/search/SearchProviderResults.js +3 -2
- package/react/components/search/SearchProviderResults.js.map +1 -1
- package/react/components/search/SearchResult.d.ts +2 -3
- package/react/components/search/SearchResult.d.ts.map +1 -0
- package/react/components/search/SearchResult.js +4 -3
- package/react/components/search/SearchResult.js.map +1 -1
- package/react/components/search/SearchResults.d.ts +1 -0
- package/react/components/search/SearchResults.d.ts.map +1 -0
- package/react/components/search/SearchResults.js.map +1 -1
- package/react/components/search/index.d.ts +1 -0
- package/react/components/search/index.d.ts.map +1 -0
- package/react/components/search/index.js.map +1 -1
- package/react/components/shared/BellIcon.d.ts +1 -0
- package/react/components/shared/BellIcon.d.ts.map +1 -0
- package/react/components/shared/BellIcon.js.map +1 -1
- package/react/components/shared/BellIconCrossed.d.ts +1 -0
- package/react/components/shared/BellIconCrossed.d.ts.map +1 -0
- package/react/components/shared/BellIconCrossed.js.map +1 -1
- package/react/components/shared/Button.d.ts +1 -0
- package/react/components/shared/Button.d.ts.map +1 -0
- package/react/components/shared/Button.js.map +1 -1
- package/react/components/shared/ConditionalWrapper.d.ts +1 -0
- package/react/components/shared/ConditionalWrapper.d.ts.map +1 -0
- package/react/components/shared/ConditionalWrapper.js.map +1 -1
- package/react/components/shared/DefaultDropdownButton.d.ts +1 -0
- package/react/components/shared/DefaultDropdownButton.d.ts.map +1 -0
- package/react/components/shared/DefaultDropdownButton.js.map +1 -1
- package/react/components/shared/Tag.d.ts +1 -0
- package/react/components/shared/Tag.d.ts.map +1 -0
- package/react/components/shared/Tag.js.map +1 -1
- package/react/components/shared/TagsMenu.d.ts +1 -0
- package/react/components/shared/TagsMenu.d.ts.map +1 -0
- package/react/components/shared/TagsMenu.js.map +1 -1
- package/react/components/shared/addProtocolToValidURL.d.ts +1 -0
- package/react/components/shared/addProtocolToValidURL.d.ts.map +1 -0
- package/react/components/shared/addProtocolToValidURL.js.map +1 -1
- package/react/components/shared/linkerUtil.d.ts +2 -1
- package/react/components/shared/linkerUtil.d.ts.map +1 -0
- package/react/components/shared/linkerUtil.js.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.d.ts +1 -0
- package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -0
- package/react/components/shared/openQuitConfirmationDialog.js +4 -3
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/shared/validateURL.d.ts +1 -0
- package/react/components/shared/validateURL.d.ts.map +1 -0
- package/react/components/shared/validateURL.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.d.ts +1 -0
- package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -0
- package/react/components/singleInputDialog/SingleInputDialog.js +8 -5
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/singleInputDialog/index.d.ts +1 -0
- package/react/components/singleInputDialog/index.d.ts.map +1 -0
- package/react/components/singleInputDialog/index.js.map +1 -1
- package/react/components/system/System.d.ts +1 -0
- package/react/components/system/System.d.ts.map +1 -0
- package/react/components/system/System.js +7 -6
- package/react/components/system/System.js.map +1 -1
- package/react/components/system/SystemTrayComponentShell.d.ts +6 -2
- package/react/components/system/SystemTrayComponentShell.d.ts.map +1 -0
- package/react/components/system/SystemTrayComponentShell.js +22 -7
- package/react/components/system/SystemTrayComponentShell.js.map +1 -1
- package/react/components/system/index.d.ts +1 -0
- package/react/components/system/index.d.ts.map +1 -0
- package/react/components/system/index.js.map +1 -1
- package/react/components/toolbar/AutoArrange.d.ts +1 -0
- package/react/components/toolbar/AutoArrange.d.ts.map +1 -0
- package/react/components/toolbar/AutoArrange.js +2 -1
- package/react/components/toolbar/AutoArrange.js.map +1 -1
- package/react/components/toolbar/DragHandle.d.ts +1 -0
- package/react/components/toolbar/DragHandle.d.ts.map +1 -0
- package/react/components/toolbar/DragHandle.js +4 -3
- package/react/components/toolbar/DragHandle.js.map +1 -1
- package/react/components/toolbar/MinimizeAll.d.ts +2 -1
- package/react/components/toolbar/MinimizeAll.d.ts.map +1 -0
- package/react/components/toolbar/MinimizeAll.js +1 -1
- package/react/components/toolbar/MinimizeAll.js.map +1 -1
- package/react/components/toolbar/NotificationControl.d.ts +1 -0
- package/react/components/toolbar/NotificationControl.d.ts.map +1 -0
- package/react/components/toolbar/NotificationControl.js +4 -5
- package/react/components/toolbar/NotificationControl.js.map +1 -1
- package/react/components/toolbar/RevealAll.d.ts +2 -1
- package/react/components/toolbar/RevealAll.d.ts.map +1 -0
- package/react/components/toolbar/RevealAll.js +1 -1
- package/react/components/toolbar/RevealAll.js.map +1 -1
- package/react/components/toolbar/SddButton.d.ts +1 -0
- package/react/components/toolbar/SddButton.d.ts.map +1 -0
- package/react/components/toolbar/SddButton.js +3 -2
- package/react/components/toolbar/SddButton.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.d.ts +2 -1
- package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -0
- package/react/components/toolbar/ToolbarIcon.js +4 -3
- package/react/components/toolbar/ToolbarIcon.js.map +1 -1
- package/react/components/toolbar/ToolbarSection.d.ts +1 -0
- package/react/components/toolbar/ToolbarSection.d.ts.map +1 -0
- package/react/components/toolbar/ToolbarSection.js.map +1 -1
- package/react/components/toolbar/ToolbarShell.d.ts +6 -1
- package/react/components/toolbar/ToolbarShell.d.ts.map +1 -0
- package/react/components/toolbar/ToolbarShell.js +12 -6
- package/react/components/toolbar/ToolbarShell.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.d.ts +2 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js +3 -2
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js +6 -5
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js +3 -2
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.d.ts +2 -2
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js +2 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/Content.d.ts +2 -1
- package/react/components/toolbar/advancedAppLauncher/components/Content.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/Content.js +4 -3
- package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.d.ts +2 -1
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +6 -5
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.d.ts +2 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.d.ts +3 -2
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js +2 -1
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js +18 -17
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.d.ts +1 -0
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.d.ts.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts +4 -3
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts.map +1 -0
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js +8 -5
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +1 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts.map +1 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js +6 -5
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/components/componentList.d.ts +3 -2
- package/react/components/toolbar/appLauncher/components/componentList.d.ts.map +1 -0
- package/react/components/toolbar/appLauncher/components/componentList.js +2 -1
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +3 -2
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts.map +1 -0
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +25 -24
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
- package/react/components/toolbar/bloomberg/BloombergStatus.d.ts +5 -0
- package/react/components/toolbar/bloomberg/BloombergStatus.d.ts.map +1 -0
- package/react/components/toolbar/bloomberg/BloombergStatus.js +117 -0
- package/react/components/toolbar/bloomberg/BloombergStatus.js.map +1 -0
- package/react/components/toolbar/bloomberg/bloomberg.css +38 -0
- package/react/components/toolbar/dashbar/Dashbar.d.ts +1 -0
- package/react/components/toolbar/dashbar/Dashbar.d.ts.map +1 -0
- package/react/components/toolbar/dashbar/Dashbar.js +7 -6
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.d.ts +1 -0
- package/react/components/toolbar/dashbar/DashbarItem.d.ts.map +1 -0
- package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
- package/react/components/toolbar/index.d.ts +2 -0
- package/react/components/toolbar/index.d.ts.map +1 -0
- package/react/components/toolbar/index.js +1 -0
- package/react/components/toolbar/index.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +3 -2
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +3 -2
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js +6 -5
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +2 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +6 -7
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +44 -42
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts +1 -0
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts.map +1 -0
- package/react/components/userPreferences/NotificationsPreferencesContext.js.map +1 -1
- package/react/components/userPreferences/UserPreferenceTypes.d.ts +1 -0
- package/react/components/userPreferences/UserPreferenceTypes.d.ts.map +1 -0
- package/react/components/userPreferences/UserPreferenceTypes.js.map +1 -1
- package/react/components/userPreferences/UserPreferences.d.ts +4 -1
- package/react/components/userPreferences/UserPreferences.d.ts.map +1 -0
- package/react/components/userPreferences/UserPreferences.js +5 -2
- package/react/components/userPreferences/UserPreferences.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.d.ts +1 -0
- package/react/components/userPreferences/UserPreferencesBase.d.ts.map +1 -0
- package/react/components/userPreferences/UserPreferencesBase.js +3 -7
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts +1 -0
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts.map +1 -0
- package/react/components/userPreferences/UserPreferencesWrapper.js +5 -3
- package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -1
- package/react/components/userPreferences/components/ContentSection.d.ts +12 -13
- package/react/components/userPreferences/components/ContentSection.d.ts.map +1 -0
- package/react/components/userPreferences/components/ContentSection.js +20 -23
- package/react/components/userPreferences/components/ContentSection.js.map +1 -1
- package/react/components/userPreferences/components/LeftNav.d.ts +4 -16
- package/react/components/userPreferences/components/LeftNav.d.ts.map +1 -0
- package/react/components/userPreferences/components/LeftNav.js +36 -54
- package/react/components/userPreferences/components/LeftNav.js.map +1 -1
- package/react/components/userPreferences/components/content/BloombergPreferences.d.ts +5 -0
- package/react/components/userPreferences/components/content/BloombergPreferences.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/BloombergPreferences.js +97 -0
- package/react/components/userPreferences/components/content/BloombergPreferences.js.map +1 -0
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts +4 -17
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/DashbarEditor.js +98 -101
- package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts +1 -0
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/DashbarEditorItem.js.map +1 -1
- package/react/components/userPreferences/components/content/General.d.ts +1 -0
- package/react/components/userPreferences/components/content/General.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/General.js +6 -2
- package/react/components/userPreferences/components/content/General.js.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.d.ts +1 -0
- package/react/components/userPreferences/components/content/Notifications.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +3 -2
- package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/Workspaces.js +43 -40
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/bloomberg.css +44 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js +10 -12
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +11 -10
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +5 -4
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts +3 -0
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js +5 -3
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts +4 -0
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts.map +1 -0
- package/react/components/userPreferences/components/general/ResetPreferences.js +42 -0
- package/react/components/userPreferences/components/general/ResetPreferences.js.map +1 -0
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts +2 -1
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts.map +1 -0
- package/react/components/userPreferences/components/general/ScheduledClose.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts +2 -12
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +33 -54
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -1
- package/react/components/userPreferences/index.d.ts +2 -0
- package/react/components/userPreferences/index.d.ts.map +1 -0
- package/react/components/userPreferences/index.js +1 -0
- package/react/components/userPreferences/index.js.map +1 -1
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +3 -2
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts.map +1 -0
- package/react/components/userPreferences/stores/UserPreferencesStore.js +14 -13
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +10 -6
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.js +80 -51
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/components/center/Tab.d.ts +1 -2
- package/react/components/windowTitleBar/components/center/Tab.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/center/Tab.js +4 -9
- package/react/components/windowTitleBar/components/center/Tab.js.map +1 -1
- package/react/components/windowTitleBar/components/center/TabList.d.ts +4 -3
- package/react/components/windowTitleBar/components/center/TabList.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/center/TabList.js +34 -36
- package/react/components/windowTitleBar/components/center/TabList.js.map +1 -1
- package/react/components/windowTitleBar/components/center/TabRegion.d.ts +1 -0
- package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/center/TabRegion.js +2 -1
- package/react/components/windowTitleBar/components/center/TabRegion.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.d.ts +1 -0
- package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerButton.js +10 -8
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +1 -0
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts +1 -0
- package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerGroups.js +2 -1
- package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +1 -0
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts +1 -0
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/left/ShareButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +1 -0
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +2 -1
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/CloseButton.d.ts +2 -17
- package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/right/CloseButton.js +1 -22
- package/react/components/windowTitleBar/components/right/CloseButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +1 -8
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.js +1 -14
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +1 -15
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.js +8 -30
- package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +2 -17
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/right/MinimizeButton.js +1 -22
- package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +1 -1
- package/react/components/windowTitleBar/components/windowTitle.d.ts +3 -2
- package/react/components/windowTitleBar/components/windowTitle.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/windowTitle.js +28 -27
- package/react/components/windowTitleBar/components/windowTitle.js.map +1 -1
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.d.ts +10 -0
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.d.ts.map +1 -0
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.js +23 -0
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.js.map +1 -0
- package/react/components/windowTitleBar/index.d.ts +2 -0
- package/react/components/windowTitleBar/index.d.ts.map +1 -0
- package/react/components/windowTitleBar/index.js +1 -0
- package/react/components/windowTitleBar/index.js.map +1 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +4 -3
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +1 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +56 -55
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +1 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +1 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +1 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +1 -1
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts +1 -0
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +1 -0
- package/react/components/windowTitleBar/windowTitleBarContext.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.d.ts +1 -0
- package/react/components/yesNoDialog/YesNoDialog.d.ts.map +1 -0
- package/react/components/yesNoDialog/YesNoDialog.js +10 -7
- package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
- package/react/components/yesNoDialog/index.d.ts +1 -0
- package/react/components/yesNoDialog/index.d.ts.map +1 -0
- package/react/components/yesNoDialog/index.js.map +1 -1
- package/react/components/yesNoDialog/timer.d.ts +1 -0
- package/react/components/yesNoDialog/timer.d.ts.map +1 -0
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/hooks/index.d.ts +3 -0
- package/react/hooks/index.d.ts.map +1 -0
- package/react/hooks/index.js +2 -0
- package/react/hooks/index.js.map +1 -1
- package/react/hooks/useAuth.d.ts +1 -0
- package/react/hooks/useAuth.d.ts.map +1 -0
- package/react/hooks/useAuth.js +4 -3
- package/react/hooks/useAuth.js.map +1 -1
- package/react/hooks/useDashbar.d.ts +1 -0
- package/react/hooks/useDashbar.d.ts.map +1 -0
- package/react/hooks/useDashbar.js +6 -5
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useDeepEffect.d.ts +1 -0
- package/react/hooks/useDeepEffect.d.ts.map +1 -0
- package/react/hooks/useDeepEffect.js.map +1 -1
- package/react/hooks/useFavorites.d.ts +1 -0
- package/react/hooks/useFavorites.d.ts.map +1 -0
- package/react/hooks/useFavorites.js.map +1 -1
- package/react/hooks/useFavoritesShell.d.ts +1 -0
- package/react/hooks/useFavoritesShell.d.ts.map +1 -0
- package/react/hooks/useFavoritesShell.js +6 -5
- package/react/hooks/useFavoritesShell.js.map +1 -1
- package/react/hooks/useFloatingFocus.d.ts +16 -0
- package/react/hooks/useFloatingFocus.d.ts.map +1 -0
- package/react/hooks/useFloatingFocus.js +36 -0
- package/react/hooks/useFloatingFocus.js.map +1 -0
- package/react/hooks/useHotkey.d.ts +1 -0
- package/react/hooks/useHotkey.d.ts.map +1 -0
- package/react/hooks/useHotkey.js +5 -2
- package/react/hooks/useHotkey.js.map +1 -1
- package/react/hooks/useLinker.d.ts +1 -0
- package/react/hooks/useLinker.d.ts.map +1 -0
- package/react/hooks/useLinker.js +25 -24
- package/react/hooks/useLinker.js.map +1 -1
- package/react/hooks/useMenu.d.ts +2 -1
- package/react/hooks/useMenu.d.ts.map +1 -0
- package/react/hooks/useMenu.js +5 -3
- package/react/hooks/useMenu.js.map +1 -1
- package/react/hooks/useNotifications.d.ts +4 -8
- package/react/hooks/useNotifications.d.ts.map +1 -0
- package/react/hooks/useNotifications.js +60 -41
- package/react/hooks/useNotifications.js.map +1 -1
- package/react/hooks/useOAuth.d.ts +17 -0
- package/react/hooks/useOAuth.d.ts.map +1 -0
- package/react/hooks/useOAuth.js +116 -0
- package/react/hooks/useOAuth.js.map +1 -0
- package/react/hooks/useOutsideClickDetector.d.ts +1 -0
- package/react/hooks/useOutsideClickDetector.d.ts.map +1 -0
- package/react/hooks/useOutsideClickDetector.js.map +1 -1
- package/react/hooks/usePubSub.d.ts +1 -0
- package/react/hooks/usePubSub.d.ts.map +1 -0
- package/react/hooks/usePubSub.js +4 -3
- package/react/hooks/usePubSub.js.map +1 -1
- package/react/hooks/useSearch.d.ts +2 -2
- package/react/hooks/useSearch.d.ts.map +1 -0
- package/react/hooks/useSearch.js +2 -2
- package/react/hooks/useSearch.js.map +1 -1
- package/react/hooks/useTitle.d.ts +18 -0
- package/react/hooks/useTitle.d.ts.map +1 -0
- package/react/hooks/useTitle.js +29 -0
- package/react/hooks/useTitle.js.map +1 -0
- package/react/hooks/useToolbar.d.ts +1 -0
- package/react/hooks/useToolbar.d.ts.map +1 -0
- package/react/hooks/useToolbar.js +21 -20
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/index.d.ts +3 -0
- package/react/index.d.ts.map +1 -0
- package/react/index.js +3 -0
- package/react/index.js.map +1 -0
- package/react/reducers/favoriteReducer.d.ts +1 -0
- package/react/reducers/favoriteReducer.d.ts.map +1 -0
- package/react/reducers/favoriteReducer.js.map +1 -1
- package/react/reducers/linkerReducer.d.ts +1 -0
- package/react/reducers/linkerReducer.d.ts.map +1 -0
- package/react/reducers/linkerReducer.js.map +1 -1
- package/react/reducers/menuReducer.d.ts +1 -0
- package/react/reducers/menuReducer.d.ts.map +1 -0
- package/react/reducers/menuReducer.js.map +1 -1
- package/react/reducers/rootReducer.d.ts +4 -3
- package/react/reducers/rootReducer.d.ts.map +1 -0
- package/react/reducers/rootReducer.js.map +1 -1
- package/react/reducers/searchReducer.d.ts +1 -0
- package/react/reducers/searchReducer.d.ts.map +1 -0
- package/react/reducers/searchReducer.js.map +1 -1
- package/react/reducers/smartDesktopDesignerReducer.d.ts +1 -0
- package/react/reducers/smartDesktopDesignerReducer.d.ts.map +1 -0
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
- package/react/reducers/toolbarReducer.d.ts +1 -0
- package/react/reducers/toolbarReducer.d.ts.map +1 -0
- package/react/reducers/toolbarReducer.js.map +1 -1
- package/react/reducers/workspaceReducer.d.ts +1 -0
- package/react/reducers/workspaceReducer.d.ts.map +1 -0
- package/react/reducers/workspaceReducer.js.map +1 -1
- package/react/store.d.ts +7 -6
- package/react/store.d.ts.map +1 -0
- package/react/store.js +2 -1
- package/react/store.js.map +1 -1
- package/react/types/advancedAppLauncherTypes.d.ts +2 -3
- package/react/types/advancedAppLauncherTypes.d.ts.map +1 -0
- package/react/types/advancedAppLauncherTypes.js.map +1 -1
- package/react/types/dashbarTypes.d.ts +1 -0
- package/react/types/dashbarTypes.d.ts.map +1 -0
- package/react/types/dashbarTypes.js.map +1 -1
- package/react/types/favoriteTypes.d.ts +2 -3
- package/react/types/favoriteTypes.d.ts.map +1 -0
- package/react/types/favoriteTypes.js.map +1 -1
- package/react/types/fdc3.d.ts +2 -7
- package/react/types/fdc3.d.ts.map +1 -0
- package/react/types/fdc3.js.map +1 -1
- package/react/types/hotkeyTypes.d.ts +1 -0
- package/react/types/hotkeyTypes.d.ts.map +1 -0
- package/react/types/hotkeyTypes.js.map +1 -1
- package/react/types/linkerTypes.d.ts +1 -0
- package/react/types/linkerTypes.d.ts.map +1 -0
- package/react/types/linkerTypes.js.map +1 -1
- package/react/types/smartDesktopDesignerTypes.d.ts +6 -6
- package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -0
- package/react/types/smartDesktopDesignerTypes.js.map +1 -1
- package/react/types/windowTitleBar.d.ts +2 -2
- package/react/types/windowTitleBar.d.ts.map +1 -0
- package/react/types/windowTitleBar.js.map +1 -1
- package/react/types/workspaceTypes.d.ts +1 -0
- package/react/types/workspaceTypes.d.ts.map +1 -0
- package/react/types/workspaceTypes.js.map +1 -1
- package/typedefs/FDC3/api/AppIntent.d.ts +14 -0
- package/typedefs/FDC3/api/AppIntent.d.ts.map +1 -0
- package/typedefs/FDC3/api/AppIntent.js +6 -0
- package/typedefs/FDC3/api/AppIntent.js.map +1 -0
- package/typedefs/FDC3/api/AppMetadata.d.ts +26 -0
- package/typedefs/FDC3/api/AppMetadata.d.ts.map +1 -0
- package/typedefs/FDC3/api/AppMetadata.js +6 -0
- package/typedefs/FDC3/api/AppMetadata.js.map +1 -0
- package/typedefs/FDC3/api/Channel.d.ts +65 -0
- package/typedefs/FDC3/api/Channel.d.ts.map +1 -0
- package/typedefs/FDC3/api/Channel.js +6 -0
- package/typedefs/FDC3/api/Channel.js.map +1 -0
- package/typedefs/FDC3/api/DesktopAgent.d.ts +181 -0
- package/typedefs/FDC3/api/DesktopAgent.d.ts.map +1 -0
- package/typedefs/FDC3/api/DesktopAgent.js +6 -0
- package/typedefs/FDC3/api/DesktopAgent.js.map +1 -0
- package/typedefs/FDC3/api/DisplayMetadata.d.ts +24 -0
- package/typedefs/FDC3/api/DisplayMetadata.d.ts.map +1 -0
- package/typedefs/FDC3/api/DisplayMetadata.js +6 -0
- package/typedefs/FDC3/api/DisplayMetadata.js.map +1 -0
- package/typedefs/FDC3/api/Errors.d.ts +21 -0
- package/typedefs/FDC3/api/Errors.d.ts.map +1 -0
- package/typedefs/FDC3/api/Errors.js +24 -0
- package/typedefs/FDC3/api/Errors.js.map +1 -0
- package/typedefs/FDC3/api/ImplementationMetadata.d.ts +18 -0
- package/typedefs/FDC3/api/ImplementationMetadata.d.ts.map +1 -0
- package/typedefs/FDC3/api/ImplementationMetadata.js +6 -0
- package/typedefs/FDC3/api/ImplementationMetadata.js.map +1 -0
- package/typedefs/FDC3/api/IntentMetadata.d.ts +14 -0
- package/typedefs/FDC3/api/IntentMetadata.d.ts.map +1 -0
- package/typedefs/FDC3/api/IntentMetadata.js +6 -0
- package/typedefs/FDC3/api/IntentMetadata.js.map +1 -0
- package/typedefs/FDC3/api/IntentResolution.d.ts +25 -0
- package/typedefs/FDC3/api/IntentResolution.d.ts.map +1 -0
- package/typedefs/FDC3/api/IntentResolution.js +6 -0
- package/typedefs/FDC3/api/IntentResolution.js.map +1 -0
- package/typedefs/FDC3/api/Listener.d.ts +11 -0
- package/typedefs/FDC3/api/Listener.d.ts.map +1 -0
- package/typedefs/FDC3/api/Listener.js +6 -0
- package/typedefs/FDC3/api/Listener.js.map +1 -0
- package/typedefs/FDC3/api/Types.d.ts +9 -0
- package/typedefs/FDC3/api/Types.d.ts.map +1 -0
- package/typedefs/FDC3/api/Types.js +6 -0
- package/typedefs/FDC3/api/Types.js.map +1 -0
- package/typedefs/FDC3/context/ContextType.d.ts +11 -0
- package/typedefs/FDC3/context/ContextType.d.ts.map +1 -0
- package/typedefs/FDC3/context/ContextType.js +11 -0
- package/typedefs/FDC3/context/ContextType.js.map +1 -0
- package/typedefs/FDC3/context/ContextTypes.d.ts +105 -0
- package/typedefs/FDC3/context/ContextTypes.d.ts.map +1 -0
- package/typedefs/FDC3/context/ContextTypes.js +278 -0
- package/typedefs/FDC3/context/ContextTypes.js.map +1 -0
- package/typedefs/FDC3/index.d.ts +19 -0
- package/typedefs/FDC3/index.d.ts.map +1 -0
- package/typedefs/FDC3/index.js +19 -0
- package/typedefs/FDC3/index.js.map +1 -0
- package/typedefs/FDC3/intents/Intents.d.ts +11 -0
- package/typedefs/FDC3/intents/Intents.d.ts.map +1 -0
- package/typedefs/FDC3/intents/Intents.js +12 -0
- package/typedefs/FDC3/intents/Intents.js.map +1 -0
- package/typedefs/index.d.ts +2 -0
- package/typedefs/index.d.ts.map +1 -0
- package/typedefs/index.js +3 -0
- package/typedefs/index.js.map +1 -0
- package/types.d.ts +23 -0
- package/types.d.ts.map +1 -0
- package/types.js +6 -0
- package/types.js.map +1 -0
- package/react/assets/css/focus.css +0 -4
- package/react/componentTemplateGenerator.d.ts +0 -1
- package/react/componentTemplateGenerator.js +0 -150
- package/react/componentTemplateGenerator.js.map +0 -1
- package/react/components/appCatalog/components/Tag.d.ts +0 -13
- package/react/components/appCatalog/components/Tag.js +0 -23
- package/react/components/appCatalog/components/Tag.js.map +0 -1
- package/react/components/common/Accordion.d.ts +0 -11
- package/react/components/common/Accordion.js +0 -20
- package/react/components/common/Accordion.js.map +0 -1
- package/react/components/common/ButtonTile.d.ts +0 -4
- package/react/components/common/ButtonTile.js +0 -12
- package/react/components/common/ButtonTile.js.map +0 -1
- package/react/components/common/ColorPicker.d.ts +0 -20
- package/react/components/common/ColorPicker.js +0 -92
- package/react/components/common/ColorPicker.js.map +0 -1
- package/react/components/common/DropZone.d.ts +0 -22
- package/react/components/common/DropZone.js +0 -65
- package/react/components/common/DropZone.js.map +0 -1
- package/react/components/common/FileInput.d.ts +0 -30
- package/react/components/common/FileInput.js +0 -123
- package/react/components/common/FileInput.js.map +0 -1
- package/react/components/common/FinsembleLink.d.ts +0 -6
- package/react/components/common/FinsembleLink.js +0 -12
- package/react/components/common/FinsembleLink.js.map +0 -1
- package/react/components/common/ImagePreview.d.ts +0 -21
- package/react/components/common/ImagePreview.js +0 -43
- package/react/components/common/ImagePreview.js.map +0 -1
- package/react/components/common/InputTable.d.ts +0 -18
- package/react/components/common/InputTable.js +0 -57
- package/react/components/common/InputTable.js.map +0 -1
- package/react/components/common/LoadingSpinner.d.ts +0 -3
- package/react/components/common/LoadingSpinner.js +0 -11
- package/react/components/common/LoadingSpinner.js.map +0 -1
- package/react/components/common/Tab.d.ts +0 -11
- package/react/components/common/Tab.js +0 -58
- package/react/components/common/Tab.js.map +0 -1
- package/react/components/common/Tooltip.d.ts +0 -14
- package/react/components/common/Tooltip.js +0 -30
- package/react/components/common/Tooltip.js.map +0 -1
- package/react/components/common/file_helpers.d.ts +0 -2
- package/react/components/common/file_helpers.js +0 -22
- package/react/components/common/file_helpers.js.map +0 -1
- package/react/components/common/helpers.d.ts +0 -5
- package/react/components/common/helpers.js +0 -136
- package/react/components/common/helpers.js.map +0 -1
- package/react/components/common/stories/Accordion.stories.d.ts +0 -14
- package/react/components/common/stories/Accordion.stories.js +0 -42
- package/react/components/common/stories/Accordion.stories.js.map +0 -1
- package/react/components/common/stories/Button.stories.d.ts +0 -22
- package/react/components/common/stories/Button.stories.js +0 -77
- package/react/components/common/stories/Button.stories.js.map +0 -1
- package/react/components/common/stories/ButtonIcon.stories.d.ts +0 -15
- package/react/components/common/stories/ButtonIcon.stories.js +0 -35
- package/react/components/common/stories/ButtonIcon.stories.js.map +0 -1
- package/react/components/common/stories/ButtonRow.stories.d.ts +0 -14
- package/react/components/common/stories/ButtonRow.stories.js +0 -39
- package/react/components/common/stories/ButtonRow.stories.js.map +0 -1
- package/react/components/common/stories/ButtonTile.stories.d.ts +0 -17
- package/react/components/common/stories/ButtonTile.stories.js +0 -45
- package/react/components/common/stories/ButtonTile.stories.js.map +0 -1
- package/react/components/common/stories/Checkbox.stories.d.ts +0 -13
- package/react/components/common/stories/Checkbox.stories.js +0 -29
- package/react/components/common/stories/Checkbox.stories.js.map +0 -1
- package/react/components/common/stories/ColorPicker.stories.d.ts +0 -13
- package/react/components/common/stories/ColorPicker.stories.js +0 -29
- package/react/components/common/stories/ColorPicker.stories.js.map +0 -1
- package/react/components/common/stories/ContextMenu.stories.d.ts +0 -38
- package/react/components/common/stories/ContextMenu.stories.js +0 -70
- package/react/components/common/stories/ContextMenu.stories.js.map +0 -1
- package/react/components/common/stories/DropZone.stories.d.ts +0 -11
- package/react/components/common/stories/DropZone.stories.js +0 -16
- package/react/components/common/stories/DropZone.stories.js.map +0 -1
- package/react/components/common/stories/DropdownButton.stories.d.ts +0 -33
- package/react/components/common/stories/DropdownButton.stories.js +0 -42
- package/react/components/common/stories/DropdownButton.stories.js.map +0 -1
- package/react/components/common/stories/FileInput.stories.d.ts +0 -18
- package/react/components/common/stories/FileInput.stories.js +0 -59
- package/react/components/common/stories/FileInput.stories.js.map +0 -1
- package/react/components/common/stories/FinsembleIcon.stories.d.ts +0 -3
- package/react/components/common/stories/FinsembleIcon.stories.js +0 -43
- package/react/components/common/stories/FinsembleIcon.stories.js.map +0 -1
- package/react/components/common/stories/FinsembleSelect.stories.d.ts +0 -20
- package/react/components/common/stories/FinsembleSelect.stories.js +0 -188
- package/react/components/common/stories/FinsembleSelect.stories.js.map +0 -1
- package/react/components/common/stories/FinsembleToggle.stories.d.ts +0 -13
- package/react/components/common/stories/FinsembleToggle.stories.js +0 -28
- package/react/components/common/stories/FinsembleToggle.stories.js.map +0 -1
- package/react/components/common/stories/FinsembleToggleButtonBar.stories.d.ts +0 -14
- package/react/components/common/stories/FinsembleToggleButtonBar.stories.js +0 -97
- package/react/components/common/stories/FinsembleToggleButtonBar.stories.js.map +0 -1
- package/react/components/common/stories/Header.stories.d.ts +0 -14
- package/react/components/common/stories/Header.stories.js +0 -38
- package/react/components/common/stories/Header.stories.js.map +0 -1
- package/react/components/common/stories/ImagePreview.stories.d.ts +0 -16
- package/react/components/common/stories/ImagePreview.stories.js +0 -55
- package/react/components/common/stories/ImagePreview.stories.js.map +0 -1
- package/react/components/common/stories/InputTable.stories.d.ts +0 -13
- package/react/components/common/stories/InputTable.stories.js +0 -45
- package/react/components/common/stories/InputTable.stories.js.map +0 -1
- package/react/components/common/stories/LoadingSpinner.stories.d.ts +0 -9
- package/react/components/common/stories/LoadingSpinner.stories.js +0 -10
- package/react/components/common/stories/LoadingSpinner.stories.js.map +0 -1
- package/react/components/common/stories/Tab.stories.d.ts +0 -12
- package/react/components/common/stories/Tab.stories.js +0 -28
- package/react/components/common/stories/Tab.stories.js.map +0 -1
- package/react/components/common/stories/TimeSelect.stories.d.ts +0 -11
- package/react/components/common/stories/TimeSelect.stories.js +0 -20
- package/react/components/common/stories/TimeSelect.stories.js.map +0 -1
- package/react/components/common/stories/Tooltip.stories.d.ts +0 -27
- package/react/components/common/stories/Tooltip.stories.js +0 -47
- package/react/components/common/stories/Tooltip.stories.js.map +0 -1
- package/react/components/common/tests/Accordion.spec.d.ts +0 -1
- package/react/components/common/tests/Accordion.spec.js +0 -59
- package/react/components/common/tests/Accordion.spec.js.map +0 -1
- package/react/components/common/tests/ButtonRow.spec.d.ts +0 -1
- package/react/components/common/tests/ButtonRow.spec.js +0 -30
- package/react/components/common/tests/ButtonRow.spec.js.map +0 -1
- package/react/components/common/tests/Checkbox.spec.d.ts +0 -1
- package/react/components/common/tests/Checkbox.spec.js +0 -34
- package/react/components/common/tests/Checkbox.spec.js.map +0 -1
- package/react/components/common/tests/ColorPicker.spec.d.ts +0 -1
- package/react/components/common/tests/ColorPicker.spec.js +0 -96
- package/react/components/common/tests/ColorPicker.spec.js.map +0 -1
- package/react/components/common/tests/ContextMenu.spec.d.ts +0 -1
- package/react/components/common/tests/ContextMenu.spec.js +0 -108
- package/react/components/common/tests/ContextMenu.spec.js.map +0 -1
- package/react/components/common/tests/DropZone.spec.d.ts +0 -1
- package/react/components/common/tests/DropZone.spec.js +0 -55
- package/react/components/common/tests/DropZone.spec.js.map +0 -1
- package/react/components/common/tests/DropdownButton.spec.d.ts +0 -1
- package/react/components/common/tests/DropdownButton.spec.js +0 -32
- package/react/components/common/tests/DropdownButton.spec.js.map +0 -1
- package/react/components/common/tests/FileInput.spec.d.ts +0 -1
- package/react/components/common/tests/FileInput.spec.js +0 -72
- package/react/components/common/tests/FileInput.spec.js.map +0 -1
- package/react/components/common/tests/FinsembleSelect.spec.d.ts +0 -1
- package/react/components/common/tests/FinsembleSelect.spec.js +0 -89
- package/react/components/common/tests/FinsembleSelect.spec.js.map +0 -1
- package/react/components/common/tests/FinsembleToggle.spec.d.ts +0 -1
- package/react/components/common/tests/FinsembleToggle.spec.js +0 -29
- package/react/components/common/tests/FinsembleToggle.spec.js.map +0 -1
- package/react/components/common/tests/FinsembleToggleButtonBar.spec.d.ts +0 -1
- package/react/components/common/tests/FinsembleToggleButtonBar.spec.js +0 -41
- package/react/components/common/tests/FinsembleToggleButtonBar.spec.js.map +0 -1
- package/react/components/common/tests/Header.spec.d.ts +0 -1
- package/react/components/common/tests/Header.spec.js +0 -24
- package/react/components/common/tests/Header.spec.js.map +0 -1
- package/react/components/common/tests/ImagePreview.spec.d.ts +0 -1
- package/react/components/common/tests/ImagePreview.spec.js +0 -46
- package/react/components/common/tests/ImagePreview.spec.js.map +0 -1
- package/react/components/common/tests/InputTable.spec.d.ts +0 -1
- package/react/components/common/tests/InputTable.spec.js +0 -166
- package/react/components/common/tests/InputTable.spec.js.map +0 -1
- package/react/components/common/tests/Tab.spec.d.ts +0 -1
- package/react/components/common/tests/Tab.spec.js +0 -25
- package/react/components/common/tests/Tab.spec.js.map +0 -1
- package/react/components/common/tests/TimeSelect.spec.d.ts +0 -1
- package/react/components/common/tests/TimeSelect.spec.js +0 -75
- package/react/components/common/tests/TimeSelect.spec.js.map +0 -1
- package/react/components/common/tests/Tooltip.spec.d.ts +0 -1
- package/react/components/common/tests/Tooltip.spec.js +0 -50
- package/react/components/common/tests/Tooltip.spec.js.map +0 -1
- package/react/components/favorites/FavoritesShell.spec.d.ts +0 -1
- package/react/components/favorites/FavoritesShell.spec.js +0 -64
- package/react/components/favorites/FavoritesShell.spec.js.map +0 -1
- package/react/components/favorites/FavoritesShell.stories.d.ts +0 -9
- package/react/components/favorites/FavoritesShell.stories.js +0 -46
- package/react/components/favorites/FavoritesShell.stories.js.map +0 -1
- package/react/components/favorites/index.d.ts +0 -2
- package/react/components/favorites/index.js +0 -3
- package/react/components/favorites/index.js.map +0 -1
- package/react/components/fdc3Resolver/ResolverDialog.spec.d.ts +0 -1
- package/react/components/fdc3Resolver/ResolverDialog.spec.js +0 -52
- package/react/components/fdc3Resolver/ResolverDialog.spec.js.map +0 -1
- package/react/components/fdc3Resolver/ResolverDialog.stories.d.ts +0 -13
- package/react/components/fdc3Resolver/ResolverDialog.stories.js +0 -175
- package/react/components/fdc3Resolver/ResolverDialog.stories.js.map +0 -1
- package/react/components/legacyControls/FinsembleMenuSection.d.ts +0 -17
- package/react/components/legacyControls/FinsembleMenuSection.js +0 -123
- package/react/components/legacyControls/FinsembleMenuSection.js.map +0 -1
- package/react/components/legacyControls/stories/FinsembleDialog.stories.d.ts +0 -10
- package/react/components/legacyControls/stories/FinsembleDialog.stories.js +0 -21
- package/react/components/legacyControls/stories/FinsembleDialog.stories.js.map +0 -1
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.d.ts +0 -18
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.js +0 -37
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.js.map +0 -1
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.d.ts +0 -14
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.js +0 -15
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.js.map +0 -1
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.d.ts +0 -16
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.js +0 -51
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.js.map +0 -1
- package/react/components/legacyControls/tests/FinsembleDialog.spec.d.ts +0 -1
- package/react/components/legacyControls/tests/FinsembleDialog.spec.js +0 -12
- package/react/components/legacyControls/tests/FinsembleDialog.spec.js.map +0 -1
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.d.ts +0 -1
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js +0 -39
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js.map +0 -1
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.d.ts +0 -1
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.js +0 -19
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.js.map +0 -1
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.d.ts +0 -1
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js +0 -83
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js.map +0 -1
- package/react/components/notifications/icons/Card.d.ts +0 -2
- package/react/components/notifications/icons/Card.js +0 -11
- package/react/components/notifications/icons/Card.js.map +0 -1
- package/react/components/notifications/icons/Chevron.d.ts +0 -2
- package/react/components/notifications/icons/Chevron.js +0 -14
- package/react/components/notifications/icons/Chevron.js.map +0 -1
- package/react/components/notifications/icons/CloseIcon.d.ts +0 -2
- package/react/components/notifications/icons/CloseIcon.js +0 -10
- package/react/components/notifications/icons/CloseIcon.js.map +0 -1
- package/react/components/notifications/stories/NotificationCardShell.stories.d.ts +0 -14
- package/react/components/notifications/stories/NotificationCardShell.stories.js +0 -108
- package/react/components/notifications/stories/NotificationCardShell.stories.js.map +0 -1
- package/react/components/notifications/tests/NotificationCardShell.spec.d.ts +0 -1
- package/react/components/notifications/tests/NotificationCardShell.spec.js +0 -91
- package/react/components/notifications/tests/NotificationCardShell.spec.js.map +0 -1
- package/react/components/processMonitor/helpers.spec.d.ts +0 -1
- package/react/components/processMonitor/helpers.spec.js +0 -48
- package/react/components/processMonitor/helpers.spec.js.map +0 -1
- package/react/components/sdd/AddApp.d.ts +0 -17
- package/react/components/sdd/AddApp.js +0 -178
- package/react/components/sdd/AddApp.js.map +0 -1
- package/react/components/sdd/AppEditAccess.d.ts +0 -16
- package/react/components/sdd/AppEditAccess.js +0 -130
- package/react/components/sdd/AppEditAccess.js.map +0 -1
- package/react/components/sdd/AppEditPage.d.ts +0 -26
- package/react/components/sdd/AppEditPage.js +0 -421
- package/react/components/sdd/AppEditPage.js.map +0 -1
- package/react/components/sdd/Appearance.d.ts +0 -18
- package/react/components/sdd/Appearance.js +0 -64
- package/react/components/sdd/Appearance.js.map +0 -1
- package/react/components/sdd/Application.d.ts +0 -37
- package/react/components/sdd/Application.js +0 -269
- package/react/components/sdd/Application.js.map +0 -1
- package/react/components/sdd/Applications.d.ts +0 -20
- package/react/components/sdd/Applications.js +0 -281
- package/react/components/sdd/Applications.js.map +0 -1
- package/react/components/sdd/AssetsPage.d.ts +0 -15
- package/react/components/sdd/AssetsPage.js +0 -59
- package/react/components/sdd/AssetsPage.js.map +0 -1
- package/react/components/sdd/Authentication.d.ts +0 -9
- package/react/components/sdd/Authentication.js +0 -61
- package/react/components/sdd/Authentication.js.map +0 -1
- package/react/components/sdd/AuthenticationProviderConfig.d.ts +0 -9
- package/react/components/sdd/AuthenticationProviderConfig.js +0 -90
- package/react/components/sdd/AuthenticationProviderConfig.js.map +0 -1
- package/react/components/sdd/Content.d.ts +0 -8
- package/react/components/sdd/Content.js +0 -7
- package/react/components/sdd/Content.js.map +0 -1
- package/react/components/sdd/ContentHeader.d.ts +0 -5
- package/react/components/sdd/ContentHeader.js +0 -10
- package/react/components/sdd/ContentHeader.js.map +0 -1
- package/react/components/sdd/CurrentView.d.ts +0 -11
- package/react/components/sdd/CurrentView.js +0 -14
- package/react/components/sdd/CurrentView.js.map +0 -1
- package/react/components/sdd/EditPreload.d.ts +0 -13
- package/react/components/sdd/EditPreload.js +0 -183
- package/react/components/sdd/EditPreload.js.map +0 -1
- package/react/components/sdd/Export.d.ts +0 -17
- package/react/components/sdd/Export.js +0 -65
- package/react/components/sdd/Export.js.map +0 -1
- package/react/components/sdd/ExportCloud.d.ts +0 -6
- package/react/components/sdd/ExportCloud.js +0 -38
- package/react/components/sdd/ExportCloud.js.map +0 -1
- package/react/components/sdd/ExportDeployInfo.d.ts +0 -2
- package/react/components/sdd/ExportDeployInfo.js +0 -18
- package/react/components/sdd/ExportDeployInfo.js.map +0 -1
- package/react/components/sdd/ExportZip.d.ts +0 -6
- package/react/components/sdd/ExportZip.js +0 -48
- package/react/components/sdd/ExportZip.js.map +0 -1
- package/react/components/sdd/ItemList.d.ts +0 -17
- package/react/components/sdd/ItemList.js +0 -58
- package/react/components/sdd/ItemList.js.map +0 -1
- package/react/components/sdd/Navigation.d.ts +0 -11
- package/react/components/sdd/Navigation.js +0 -59
- package/react/components/sdd/Navigation.js.map +0 -1
- package/react/components/sdd/OptionalSettingsView.d.ts +0 -10
- package/react/components/sdd/OptionalSettingsView.js +0 -48
- package/react/components/sdd/OptionalSettingsView.js.map +0 -1
- package/react/components/sdd/Preloads.d.ts +0 -6
- package/react/components/sdd/Preloads.js +0 -24
- package/react/components/sdd/Preloads.js.map +0 -1
- package/react/components/sdd/ProjectErrors.d.ts +0 -11
- package/react/components/sdd/ProjectErrors.js +0 -25
- package/react/components/sdd/ProjectErrors.js.map +0 -1
- package/react/components/sdd/Publish.d.ts +0 -8
- package/react/components/sdd/Publish.js +0 -112
- package/react/components/sdd/Publish.js.map +0 -1
- package/react/components/sdd/PublishProgress.d.ts +0 -9
- package/react/components/sdd/PublishProgress.js +0 -24
- package/react/components/sdd/PublishProgress.js.map +0 -1
- package/react/components/sdd/SmartDesktopDesigner.d.ts +0 -30
- package/react/components/sdd/SmartDesktopDesigner.js +0 -146
- package/react/components/sdd/SmartDesktopDesigner.js.map +0 -1
- package/react/components/sdd/ThemePage.d.ts +0 -14
- package/react/components/sdd/ThemePage.js +0 -106
- package/react/components/sdd/ThemePage.js.map +0 -1
- package/react/components/sdd/Themes.d.ts +0 -22
- package/react/components/sdd/Themes.js +0 -15
- package/react/components/sdd/Themes.js.map +0 -1
- package/react/components/sdd/Toolbar.d.ts +0 -16
- package/react/components/sdd/Toolbar.js +0 -134
- package/react/components/sdd/Toolbar.js.map +0 -1
- package/react/components/sdd/View.d.ts +0 -8
- package/react/components/sdd/View.js +0 -7
- package/react/components/sdd/View.js.map +0 -1
- package/react/components/sdd/appEditPage/Behavior.d.ts +0 -34
- package/react/components/sdd/appEditPage/Behavior.js +0 -134
- package/react/components/sdd/appEditPage/Behavior.js.map +0 -1
- package/react/components/sdd/appEditPage/Component.d.ts +0 -22
- package/react/components/sdd/appEditPage/Component.js +0 -76
- package/react/components/sdd/appEditPage/Component.js.map +0 -1
- package/react/components/sdd/appEditPage/DebugToolkit.d.ts +0 -9
- package/react/components/sdd/appEditPage/DebugToolkit.js +0 -20
- package/react/components/sdd/appEditPage/DebugToolkit.js.map +0 -1
- package/react/components/sdd/appEditPage/Interop.d.ts +0 -10
- package/react/components/sdd/appEditPage/Interop.js +0 -40
- package/react/components/sdd/appEditPage/Interop.js.map +0 -1
- package/react/components/sdd/appEditPage/Position.d.ts +0 -18
- package/react/components/sdd/appEditPage/Position.js +0 -72
- package/react/components/sdd/appEditPage/Position.js.map +0 -1
- package/react/components/sdd/appEditPage/Preloads.d.ts +0 -9
- package/react/components/sdd/appEditPage/Preloads.js +0 -16
- package/react/components/sdd/appEditPage/Preloads.js.map +0 -1
- package/react/components/sdd/appEditPage/SelectConnect.d.ts +0 -15
- package/react/components/sdd/appEditPage/SelectConnect.js +0 -28
- package/react/components/sdd/appEditPage/SelectConnect.js.map +0 -1
- package/react/components/sdd/appEditPage/Workspace.d.ts +0 -12
- package/react/components/sdd/appEditPage/Workspace.js +0 -30
- package/react/components/sdd/appEditPage/Workspace.js.map +0 -1
- package/react/components/sdd/common/fsbl_functions.d.ts +0 -2
- package/react/components/sdd/common/fsbl_functions.js +0 -17
- package/react/components/sdd/common/fsbl_functions.js.map +0 -1
- package/react/components/sdd/common/getCSSVars.d.ts +0 -1
- package/react/components/sdd/common/getCSSVars.js +0 -15
- package/react/components/sdd/common/getCSSVars.js.map +0 -1
- package/react/components/sdd/common/setPreloadDefaults.d.ts +0 -1
- package/react/components/sdd/common/setPreloadDefaults.js +0 -26
- package/react/components/sdd/common/setPreloadDefaults.js.map +0 -1
- package/react/components/sdd/common/views.d.ts +0 -3
- package/react/components/sdd/common/views.js +0 -190
- package/react/components/sdd/common/views.js.map +0 -1
- package/react/components/sdd/fixtures/apps.d.ts +0 -9
- package/react/components/sdd/fixtures/apps.js +0 -383
- package/react/components/sdd/fixtures/apps.js.map +0 -1
- package/react/components/sdd/fixtures/authenticationProps.d.ts +0 -2
- package/react/components/sdd/fixtures/authenticationProps.js +0 -23
- package/react/components/sdd/fixtures/authenticationProps.js.map +0 -1
- package/react/components/sdd/fixtures/configTemplate.d.ts +0 -44
- package/react/components/sdd/fixtures/configTemplate.js +0 -54
- package/react/components/sdd/fixtures/configTemplate.js.map +0 -1
- package/react/components/sdd/fixtures/exportProps.d.ts +0 -2
- package/react/components/sdd/fixtures/exportProps.js +0 -34
- package/react/components/sdd/fixtures/exportProps.js.map +0 -1
- package/react/components/sdd/fixtures/preloads.d.ts +0 -3
- package/react/components/sdd/fixtures/preloads.js +0 -59
- package/react/components/sdd/fixtures/preloads.js.map +0 -1
- package/react/components/sdd/fixtures/projectErrorsProps.d.ts +0 -3
- package/react/components/sdd/fixtures/projectErrorsProps.js +0 -13
- package/react/components/sdd/fixtures/projectErrorsProps.js.map +0 -1
- package/react/components/sdd/fixtures/publishProgress.d.ts +0 -7
- package/react/components/sdd/fixtures/publishProgress.js +0 -358
- package/react/components/sdd/fixtures/publishProgress.js.map +0 -1
- package/react/components/sdd/fixtures/themeProps.d.ts +0 -26
- package/react/components/sdd/fixtures/themeProps.js +0 -18
- package/react/components/sdd/fixtures/themeProps.js.map +0 -1
- package/react/components/sdd/fixtures/views.d.ts +0 -3
- package/react/components/sdd/fixtures/views.js +0 -74
- package/react/components/sdd/fixtures/views.js.map +0 -1
- package/react/components/sdd/sdd_helpers.d.ts +0 -20
- package/react/components/sdd/sdd_helpers.js +0 -36
- package/react/components/sdd/sdd_helpers.js.map +0 -1
- package/react/components/sdd/smartDesktopClient.d.ts +0 -466
- package/react/components/sdd/smartDesktopClient.js +0 -906
- package/react/components/sdd/smartDesktopClient.js.map +0 -1
- package/react/components/sdd/smartDesktopClient.spec.d.ts +0 -1
- package/react/components/sdd/smartDesktopClient.spec.js +0 -64
- package/react/components/sdd/smartDesktopClient.spec.js.map +0 -1
- package/react/components/sdd/stories/AddApp.stories.d.ts +0 -11
- package/react/components/sdd/stories/AddApp.stories.js +0 -26
- package/react/components/sdd/stories/AddApp.stories.js.map +0 -1
- package/react/components/sdd/stories/AppEditPage.stories.d.ts +0 -17
- package/react/components/sdd/stories/AppEditPage.stories.js +0 -40
- package/react/components/sdd/stories/AppEditPage.stories.js.map +0 -1
- package/react/components/sdd/stories/Appearance.stories.d.ts +0 -10
- package/react/components/sdd/stories/Appearance.stories.js +0 -27
- package/react/components/sdd/stories/Appearance.stories.js.map +0 -1
- package/react/components/sdd/stories/Applications.stories.d.ts +0 -14
- package/react/components/sdd/stories/Applications.stories.js +0 -38
- package/react/components/sdd/stories/Applications.stories.js.map +0 -1
- package/react/components/sdd/stories/AssetsPage.stories.d.ts +0 -10
- package/react/components/sdd/stories/AssetsPage.stories.js +0 -16
- package/react/components/sdd/stories/AssetsPage.stories.js.map +0 -1
- package/react/components/sdd/stories/Authentication.stories.d.ts +0 -13
- package/react/components/sdd/stories/Authentication.stories.js +0 -25
- package/react/components/sdd/stories/Authentication.stories.js.map +0 -1
- package/react/components/sdd/stories/ContentHeader.stories.d.ts +0 -10
- package/react/components/sdd/stories/ContentHeader.stories.js +0 -13
- package/react/components/sdd/stories/ContentHeader.stories.js.map +0 -1
- package/react/components/sdd/stories/Export.stories.d.ts +0 -11
- package/react/components/sdd/stories/Export.stories.js +0 -19
- package/react/components/sdd/stories/Export.stories.js.map +0 -1
- package/react/components/sdd/stories/ExportCloud.stories.d.ts +0 -11
- package/react/components/sdd/stories/ExportCloud.stories.js +0 -19
- package/react/components/sdd/stories/ExportCloud.stories.js.map +0 -1
- package/react/components/sdd/stories/ExportZip.stories.d.ts +0 -12
- package/react/components/sdd/stories/ExportZip.stories.js +0 -26
- package/react/components/sdd/stories/ExportZip.stories.js.map +0 -1
- package/react/components/sdd/stories/ItemList.stories.d.ts +0 -16
- package/react/components/sdd/stories/ItemList.stories.js +0 -94
- package/react/components/sdd/stories/ItemList.stories.js.map +0 -1
- package/react/components/sdd/stories/Navigation.stories.d.ts +0 -11
- package/react/components/sdd/stories/Navigation.stories.js +0 -22
- package/react/components/sdd/stories/Navigation.stories.js.map +0 -1
- package/react/components/sdd/stories/OptionalSettingsView.stories.d.ts +0 -12
- package/react/components/sdd/stories/OptionalSettingsView.stories.js +0 -27
- package/react/components/sdd/stories/OptionalSettingsView.stories.js.map +0 -1
- package/react/components/sdd/stories/ProjectErrors.stories.d.ts +0 -11
- package/react/components/sdd/stories/ProjectErrors.stories.js +0 -19
- package/react/components/sdd/stories/ProjectErrors.stories.js.map +0 -1
- package/react/components/sdd/stories/Publish.stories.d.ts +0 -16
- package/react/components/sdd/stories/Publish.stories.js +0 -53
- package/react/components/sdd/stories/Publish.stories.js.map +0 -1
- package/react/components/sdd/stories/PublishProgress.stories.d.ts +0 -14
- package/react/components/sdd/stories/PublishProgress.stories.js +0 -26
- package/react/components/sdd/stories/PublishProgress.stories.js.map +0 -1
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.d.ts +0 -10
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.js +0 -65
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.js.map +0 -1
- package/react/components/sdd/stories/ThemePage.stories.d.ts +0 -10
- package/react/components/sdd/stories/ThemePage.stories.js +0 -16
- package/react/components/sdd/stories/ThemePage.stories.js.map +0 -1
- package/react/components/sdd/stories/Themes.stories.d.ts +0 -10
- package/react/components/sdd/stories/Themes.stories.js +0 -28
- package/react/components/sdd/stories/Themes.stories.js.map +0 -1
- package/react/components/sdd/stories/Toolbar.stories.d.ts +0 -14
- package/react/components/sdd/stories/Toolbar.stories.js +0 -38
- package/react/components/sdd/stories/Toolbar.stories.js.map +0 -1
- package/react/components/sdd/tests/AddApp.spec.d.ts +0 -1
- package/react/components/sdd/tests/AddApp.spec.js +0 -239
- package/react/components/sdd/tests/AddApp.spec.js.map +0 -1
- package/react/components/sdd/tests/AppEditPage.spec.d.ts +0 -1
- package/react/components/sdd/tests/AppEditPage.spec.js +0 -1348
- package/react/components/sdd/tests/AppEditPage.spec.js.map +0 -1
- package/react/components/sdd/tests/Application.spec.d.ts +0 -1
- package/react/components/sdd/tests/Application.spec.js +0 -1460
- package/react/components/sdd/tests/Application.spec.js.map +0 -1
- package/react/components/sdd/tests/Applications.spec.d.ts +0 -1
- package/react/components/sdd/tests/Applications.spec.js +0 -165
- package/react/components/sdd/tests/Applications.spec.js.map +0 -1
- package/react/components/sdd/tests/Authentication.spec.d.ts +0 -1
- package/react/components/sdd/tests/Authentication.spec.js +0 -118
- package/react/components/sdd/tests/Authentication.spec.js.map +0 -1
- package/react/components/sdd/tests/ContentHeader.spec.d.ts +0 -1
- package/react/components/sdd/tests/ContentHeader.spec.js +0 -33
- package/react/components/sdd/tests/ContentHeader.spec.js.map +0 -1
- package/react/components/sdd/tests/EditPreload.spec.d.ts +0 -1
- package/react/components/sdd/tests/EditPreload.spec.js +0 -126
- package/react/components/sdd/tests/EditPreload.spec.js.map +0 -1
- package/react/components/sdd/tests/Export.spec.d.ts +0 -1
- package/react/components/sdd/tests/Export.spec.js +0 -190
- package/react/components/sdd/tests/Export.spec.js.map +0 -1
- package/react/components/sdd/tests/ExportZip.spec.d.ts +0 -1
- package/react/components/sdd/tests/ExportZip.spec.js +0 -32
- package/react/components/sdd/tests/ExportZip.spec.js.map +0 -1
- package/react/components/sdd/tests/ItemList.spec.d.ts +0 -1
- package/react/components/sdd/tests/ItemList.spec.js +0 -98
- package/react/components/sdd/tests/ItemList.spec.js.map +0 -1
- package/react/components/sdd/tests/Navigation.spec.d.ts +0 -1
- package/react/components/sdd/tests/Navigation.spec.js +0 -26
- package/react/components/sdd/tests/Navigation.spec.js.map +0 -1
- package/react/components/sdd/tests/OptionalSettingsView.spec.d.ts +0 -1
- package/react/components/sdd/tests/OptionalSettingsView.spec.js +0 -299
- package/react/components/sdd/tests/OptionalSettingsView.spec.js.map +0 -1
- package/react/components/sdd/tests/ProjectErrors.spec.d.ts +0 -1
- package/react/components/sdd/tests/ProjectErrors.spec.js +0 -46
- package/react/components/sdd/tests/ProjectErrors.spec.js.map +0 -1
- package/react/components/sdd/tests/Publish.spec.d.ts +0 -1
- package/react/components/sdd/tests/Publish.spec.js +0 -31
- package/react/components/sdd/tests/Publish.spec.js.map +0 -1
- package/react/components/sdd/tests/PublishProgess.spec.d.ts +0 -1
- package/react/components/sdd/tests/PublishProgess.spec.js +0 -17
- package/react/components/sdd/tests/PublishProgess.spec.js.map +0 -1
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.d.ts +0 -1
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.js +0 -57
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.js.map +0 -1
- package/react/components/sdd/tests/Themes.spec.d.ts +0 -1
- package/react/components/sdd/tests/Themes.spec.js +0 -52
- package/react/components/sdd/tests/Themes.spec.js.map +0 -1
- package/react/components/sdd/tests/Toolbar.spec.d.ts +0 -1
- package/react/components/sdd/tests/Toolbar.spec.js +0 -256
- package/react/components/sdd/tests/Toolbar.spec.js.map +0 -1
- package/react/components/sdd/tests/a11y_helper.d.ts +0 -2
- package/react/components/sdd/tests/a11y_helper.js +0 -32
- package/react/components/sdd/tests/a11y_helper.js.map +0 -1
- package/react/components/sdd/tests/sdd_helpers.spec.d.ts +0 -1
- package/react/components/sdd/tests/sdd_helpers.spec.js +0 -18
- package/react/components/sdd/tests/sdd_helpers.spec.js.map +0 -1
- package/react/components/sdd/themeDefinitions.d.ts +0 -50
- package/react/components/sdd/themeDefinitions.js +0 -51
- package/react/components/sdd/themeDefinitions.js.map +0 -1
- package/react/components/search/Highlight.spec.d.ts +0 -1
- package/react/components/search/Highlight.spec.js +0 -22
- package/react/components/search/Highlight.spec.js.map +0 -1
- package/react/components/search/Highlight.stories.d.ts +0 -15
- package/react/components/search/Highlight.stories.js +0 -39
- package/react/components/search/Highlight.stories.js.map +0 -1
- package/react/components/search/SearchResult.spec.d.ts +0 -1
- package/react/components/search/SearchResult.spec.js +0 -46
- package/react/components/search/SearchResult.spec.js.map +0 -1
- package/react/components/search/SearchResult.stories.d.ts +0 -16
- package/react/components/search/SearchResult.stories.js +0 -113
- package/react/components/search/SearchResult.stories.js.map +0 -1
- package/react/components/search/SearchResults.spec.d.ts +0 -1
- package/react/components/search/SearchResults.spec.js +0 -35
- package/react/components/search/SearchResults.spec.js.map +0 -1
- package/react/components/search/SearchResults.stories.d.ts +0 -11
- package/react/components/search/SearchResults.stories.js +0 -458
- package/react/components/search/SearchResults.stories.js.map +0 -1
- package/react/components/shared/Animate.d.ts +0 -15
- package/react/components/shared/Animate.js +0 -36
- package/react/components/shared/Animate.js.map +0 -1
- package/react/components/shared/NavigationButton.d.ts +0 -10
- package/react/components/shared/NavigationButton.js +0 -13
- package/react/components/shared/NavigationButton.js.map +0 -1
- package/react/components/shared/tests/DefaultDropdownButton.spec.d.ts +0 -1
- package/react/components/shared/tests/DefaultDropdownButton.spec.js +0 -75
- package/react/components/shared/tests/DefaultDropdownButton.spec.js.map +0 -1
- package/react/components/shared/tests/addProtocolToValidURL.spec.d.ts +0 -1
- package/react/components/shared/tests/addProtocolToValidURL.spec.js +0 -20
- package/react/components/shared/tests/addProtocolToValidURL.spec.js.map +0 -1
- package/react/components/shared/validateURL.spec.d.ts +0 -1
- package/react/components/shared/validateURL.spec.js +0 -25
- package/react/components/shared/validateURL.spec.js.map +0 -1
- package/react/components/singleInputDialog/SingleInputDialog.spec.d.ts +0 -1
- package/react/components/singleInputDialog/SingleInputDialog.spec.js +0 -38
- package/react/components/singleInputDialog/SingleInputDialog.spec.js.map +0 -1
- package/react/components/singleInputDialog/SingleInputDialog.stories.d.ts +0 -15
- package/react/components/singleInputDialog/SingleInputDialog.stories.js +0 -65
- package/react/components/singleInputDialog/SingleInputDialog.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.d.ts +0 -2
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +0 -9
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +0 -1
- package/react/components/smartDesktopDesigner/common/views.d.ts +0 -3
- package/react/components/smartDesktopDesigner/common/views.js +0 -2
- package/react/components/smartDesktopDesigner/common/views.js.map +0 -1
- package/react/components/system/System.spec.d.ts +0 -1
- package/react/components/system/System.spec.js +0 -21
- package/react/components/system/System.spec.js.map +0 -1
- package/react/components/system/System.stories.d.ts +0 -9
- package/react/components/system/System.stories.js +0 -42
- package/react/components/system/System.stories.js.map +0 -1
- package/react/components/toolbar/AutoArrange.spec.d.ts +0 -1
- package/react/components/toolbar/AutoArrange.spec.js +0 -54
- package/react/components/toolbar/AutoArrange.spec.js.map +0 -1
- package/react/components/toolbar/AutoArrange.stories.d.ts +0 -11
- package/react/components/toolbar/AutoArrange.stories.js +0 -22
- package/react/components/toolbar/AutoArrange.stories.js.map +0 -1
- package/react/components/toolbar/DragHandle.spec.d.ts +0 -1
- package/react/components/toolbar/DragHandle.spec.js +0 -32
- package/react/components/toolbar/DragHandle.spec.js.map +0 -1
- package/react/components/toolbar/DragHandle.stories.d.ts +0 -13
- package/react/components/toolbar/DragHandle.stories.js +0 -40
- package/react/components/toolbar/DragHandle.stories.js.map +0 -1
- package/react/components/toolbar/MinimizeAll.spec.d.ts +0 -1
- package/react/components/toolbar/MinimizeAll.spec.js +0 -49
- package/react/components/toolbar/MinimizeAll.spec.js.map +0 -1
- package/react/components/toolbar/MinimizeAll.stories.d.ts +0 -11
- package/react/components/toolbar/MinimizeAll.stories.js +0 -22
- package/react/components/toolbar/MinimizeAll.stories.js.map +0 -1
- package/react/components/toolbar/RevealAll.spec.d.ts +0 -1
- package/react/components/toolbar/RevealAll.spec.js +0 -49
- package/react/components/toolbar/RevealAll.spec.js.map +0 -1
- package/react/components/toolbar/RevealAll.stories.d.ts +0 -11
- package/react/components/toolbar/RevealAll.stories.js +0 -22
- package/react/components/toolbar/RevealAll.stories.js.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.d.ts +0 -29
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js +0 -51
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js.map +0 -1
- package/react/components/userPreferences/stories/DashbarEditor.stories.d.ts +0 -10
- package/react/components/userPreferences/stories/DashbarEditor.stories.js +0 -42
- package/react/components/userPreferences/stories/DashbarEditor.stories.js.map +0 -1
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.d.ts +0 -11
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.js +0 -21
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.js.map +0 -1
- package/react/components/userPreferences/stories/General.stories.d.ts +0 -13
- package/react/components/userPreferences/stories/General.stories.js +0 -16
- package/react/components/userPreferences/stories/General.stories.js.map +0 -1
- package/react/components/userPreferences/stories/Notifications.stories.d.ts +0 -9
- package/react/components/userPreferences/stories/Notifications.stories.js +0 -17
- package/react/components/userPreferences/stories/Notifications.stories.js.map +0 -1
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.d.ts +0 -9
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js +0 -20
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js.map +0 -1
- package/react/components/userPreferences/stories/NotificationsSources.stories.d.ts +0 -12
- package/react/components/userPreferences/stories/NotificationsSources.stories.js +0 -28
- package/react/components/userPreferences/stories/NotificationsSources.stories.js.map +0 -1
- package/react/components/userPreferences/stories/ScheduledClose.stories.d.ts +0 -12
- package/react/components/userPreferences/stories/ScheduledClose.stories.js +0 -53
- package/react/components/userPreferences/stories/ScheduledClose.stories.js.map +0 -1
- package/react/components/userPreferences/stories/UserPreferences.stories.d.ts +0 -8
- package/react/components/userPreferences/stories/UserPreferences.stories.js +0 -53
- package/react/components/userPreferences/stories/UserPreferences.stories.js.map +0 -1
- package/react/components/userPreferences/stories/WorkspaceButton.stories.d.ts +0 -11
- package/react/components/userPreferences/stories/WorkspaceButton.stories.js +0 -20
- package/react/components/userPreferences/stories/WorkspaceButton.stories.js.map +0 -1
- package/react/components/userPreferences/stories/WorkspaceComponents.stories.d.ts +0 -13
- package/react/components/userPreferences/stories/WorkspaceComponents.stories.js +0 -26
- package/react/components/userPreferences/stories/WorkspaceComponents.stories.js.map +0 -1
- package/react/components/userPreferences/stories/WorkspaceItem.stories.d.ts +0 -9
- package/react/components/userPreferences/stories/WorkspaceItem.stories.js +0 -30
- package/react/components/userPreferences/stories/WorkspaceItem.stories.js.map +0 -1
- package/react/components/userPreferences/stories/WorkspaceItemList.stories.d.ts +0 -10
- package/react/components/userPreferences/stories/WorkspaceItemList.stories.js +0 -57
- package/react/components/userPreferences/stories/WorkspaceItemList.stories.js.map +0 -1
- package/react/components/userPreferences/stories/Workspaces.stories.d.ts +0 -9
- package/react/components/userPreferences/stories/Workspaces.stories.js +0 -44
- package/react/components/userPreferences/stories/Workspaces.stories.js.map +0 -1
- package/react/components/userPreferences/tests/ContentSection.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/ContentSection.spec.js +0 -41
- package/react/components/userPreferences/tests/ContentSection.spec.js.map +0 -1
- package/react/components/userPreferences/tests/DashbarEditor.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/DashbarEditor.spec.js +0 -37
- package/react/components/userPreferences/tests/DashbarEditor.spec.js.map +0 -1
- package/react/components/userPreferences/tests/DashbarEditorItem.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/DashbarEditorItem.spec.js +0 -38
- package/react/components/userPreferences/tests/DashbarEditorItem.spec.js.map +0 -1
- package/react/components/userPreferences/tests/General.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/General.spec.js +0 -15
- package/react/components/userPreferences/tests/General.spec.js.map +0 -1
- package/react/components/userPreferences/tests/LeftNav.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/LeftNav.spec.js +0 -26
- package/react/components/userPreferences/tests/LeftNav.spec.js.map +0 -1
- package/react/components/userPreferences/tests/NotificationSourceTypes.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/NotificationSourceTypes.spec.js +0 -14
- package/react/components/userPreferences/tests/NotificationSourceTypes.spec.js.map +0 -1
- package/react/components/userPreferences/tests/Notifications.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/Notifications.spec.js +0 -17
- package/react/components/userPreferences/tests/Notifications.spec.js.map +0 -1
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js +0 -43
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js.map +0 -1
- package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.js +0 -22
- package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.js.map +0 -1
- package/react/components/userPreferences/tests/ScheduledClose.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/ScheduledClose.spec.js +0 -47
- package/react/components/userPreferences/tests/ScheduledClose.spec.js.map +0 -1
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.js +0 -44
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.js.map +0 -1
- package/react/components/userPreferences/tests/Workspace.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/Workspace.spec.js +0 -139
- package/react/components/userPreferences/tests/Workspace.spec.js.map +0 -1
- package/react/components/userPreferences/tests/WorkspaceButton.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/WorkspaceButton.spec.js +0 -38
- package/react/components/userPreferences/tests/WorkspaceButton.spec.js.map +0 -1
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.js +0 -22
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.js.map +0 -1
- package/react/components/userPreferences/tests/WorkspaceItem.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/WorkspaceItem.spec.js +0 -64
- package/react/components/userPreferences/tests/WorkspaceItem.spec.js.map +0 -1
- package/react/components/userPreferences/tests/WorkspaceItemList.spec.d.ts +0 -1
- package/react/components/userPreferences/tests/WorkspaceItemList.spec.js +0 -45
- package/react/components/userPreferences/tests/WorkspaceItemList.spec.js.map +0 -1
- package/react/components/utils.d.ts +0 -2
- package/react/components/utils.js +0 -6
- package/react/components/utils.js.map +0 -1
- package/react/components/yesNoDialog/Timer.spec.d.ts +0 -1
- package/react/components/yesNoDialog/Timer.spec.js +0 -18
- package/react/components/yesNoDialog/Timer.spec.js.map +0 -1
- package/react/components/yesNoDialog/Timer.stories.d.ts +0 -9
- package/react/components/yesNoDialog/Timer.stories.js +0 -15
- package/react/components/yesNoDialog/Timer.stories.js.map +0 -1
- package/react/components/yesNoDialog/YesNoDialog.spec.d.ts +0 -1
- package/react/components/yesNoDialog/YesNoDialog.spec.js +0 -63
- package/react/components/yesNoDialog/YesNoDialog.spec.js.map +0 -1
- package/react/components/yesNoDialog/YesNoDialog.stories.d.ts +0 -14
- package/react/components/yesNoDialog/YesNoDialog.stories.js +0 -74
- package/react/components/yesNoDialog/YesNoDialog.stories.js.map +0 -1
- package/react/enzymeSetup.d.ts +0 -1
- package/react/enzymeSetup.js +0 -35
- package/react/enzymeSetup.js.map +0 -1
- package/react/tsconfig.tsbuildinfo +0 -1
package/react/hooks/useMenu.js
CHANGED
|
@@ -2,13 +2,14 @@ import { useDispatch, useSelector } from "../store";
|
|
|
2
2
|
import { MenuActions } from "../actions/menuActions";
|
|
3
3
|
import { useCallback, useContext } from "react";
|
|
4
4
|
import { MenuContext } from "../components/menu/menuContext";
|
|
5
|
+
import { FEAGlobals } from "../../common/Globals";
|
|
5
6
|
/**
|
|
6
7
|
* A hook for working with menus. It gets its implicit menu "id" from React context.
|
|
7
8
|
* It dispatches actions to the reducer to modify menu state across MenuShell instances.
|
|
8
9
|
*
|
|
9
10
|
* See menuReducer.ts for "toggle/blur" race condition algorithm
|
|
10
11
|
*
|
|
11
|
-
* Setting window.FSBL.debug=true will override menu close on blur, to make it easier to debug windows
|
|
12
|
+
* Setting window.FEAGlobals.FSBL.debug=true will override menu close on blur, to make it easier to debug windows
|
|
12
13
|
*/
|
|
13
14
|
export const useMenu = () => {
|
|
14
15
|
const DURATION = 120;
|
|
@@ -20,14 +21,15 @@ export const useMenu = () => {
|
|
|
20
21
|
}, [dispatch, thisMenuId]);
|
|
21
22
|
const openMenu = useCallback(() => {
|
|
22
23
|
// without this call, the toolbar will stay hidden behind other content, and the menus will not be visible
|
|
23
|
-
FSBL.Clients.WindowClient.bringToFront();
|
|
24
|
+
FEAGlobals.FSBL.Clients.WindowClient.bringToFront();
|
|
24
25
|
dispatch(MenuActions.OPEN_MENU(thisMenuId));
|
|
25
26
|
}, [dispatch, thisMenuId]);
|
|
26
27
|
const closeMenu = useCallback(() => {
|
|
27
28
|
dispatch(MenuActions.CLOSE_MENU(thisMenuId));
|
|
28
29
|
}, [dispatch, thisMenuId]);
|
|
29
30
|
const blurMenu = useCallback(() => {
|
|
30
|
-
|
|
31
|
+
var _a;
|
|
32
|
+
if ((_a = FEAGlobals.FSBL) === null || _a === void 0 ? void 0 : _a.debug)
|
|
31
33
|
return; // If we're debugging then don't blur menus
|
|
32
34
|
// This is a purposeful closure. There is no need to update it with new state.
|
|
33
35
|
const closeIfPending = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMenu.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"useMenu.js","sourceRoot":"","sources":["../../../../src/ui/hooks/useMenu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAgClD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,GAAa,EAAE;IACrC,MAAM,QAAQ,GAAW,GAAG,CAAC;IAC7B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,EAAE,UAAU,EAAE,GAAG,WAAW,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1D,MAAM,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IAE/C,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,EAAE;QACnC,QAAQ,CAAC,WAAW,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC;IAC/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|
3
|
-
declare type NotificationServiceState = services.notification.types.NotificationServiceState;
|
|
4
|
-
declare type IFilter = services.notification.types.IFilter;
|
|
5
|
-
declare type IMuteFilter = services.notification.types.IMuteFilter;
|
|
6
|
-
declare type INotification = services.notification.types.INotification;
|
|
7
|
-
declare type INotificationHistoryOptions = services.notification.types.INotificationHistoryOptions;
|
|
2
|
+
import { NotificationServiceState, IFilter, IMuteFilter, INotification, INotificationHistoryOptions } from "../../platform/services/notification/types";
|
|
8
3
|
declare type NotificationUIStatePublish = (state: NotificationServiceState) => void;
|
|
9
4
|
/**
|
|
10
5
|
* Thin wrapper around usePubSub to give us typesafety for the notification service's UI state.
|
|
11
6
|
* Automatically appends this client's windowName which is used by the notification service to
|
|
12
7
|
* display the notification center on an appropriate monitor.
|
|
13
8
|
*/
|
|
14
|
-
export declare const useNotificationUI: () => [state:
|
|
9
|
+
export declare const useNotificationUI: () => [state: NotificationServiceState, setState: NotificationUIStatePublish];
|
|
15
10
|
export declare const moveToToolbarMonitor: () => Promise<void>;
|
|
16
11
|
export declare const getOS: () => "Windows" | "Linux" | "Mac" | undefined;
|
|
17
12
|
/**
|
|
@@ -66,7 +61,7 @@ export declare const initializeCenterToggle: () => {
|
|
|
66
61
|
export declare const getNotificationConfig: () => NotificationsConfig;
|
|
67
62
|
export declare const getFetchHistoryParams: (config: any, params: any) => any[];
|
|
68
63
|
export default function useNotifications(params?: any): {
|
|
69
|
-
activeNotifications: (notifications: INotification[], applyMuteFilterOverride?: boolean | undefined) =>
|
|
64
|
+
activeNotifications: (notifications: INotification[], applyMuteFilterOverride?: boolean | undefined) => INotification[];
|
|
70
65
|
addNotification: (notification: INotification) => void;
|
|
71
66
|
notificationIsActive: (notification: INotification, applyMuteFilterOverride?: boolean | undefined) => boolean;
|
|
72
67
|
getNotificationHistory: (since?: INotificationHistoryOptions, filter?: null | IFilter) => Promise<INotification[]>;
|
|
@@ -78,3 +73,4 @@ export default function useNotifications(params?: any): {
|
|
|
78
73
|
setOpaqueClassName: (isOpaque: boolean) => void;
|
|
79
74
|
};
|
|
80
75
|
export {};
|
|
76
|
+
//# sourceMappingURL=useNotifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNotifications.d.ts","sourceRoot":"","sources":["../../../../src/ui/hooks/useNotifications.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAGtF,OAAO,EACN,wBAAwB,EACxB,OAAO,EACP,WAAW,EACX,aAAa,EACb,2BAA2B,EAG3B,MAAM,4CAA4C,CAAC;AA+CpD,aAAK,0BAA0B,GAAG,CAAC,KAAK,EAAE,wBAAwB,KAAK,IAAI,CAAC;AAE5E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,+EAU7B,CAAC;AAqBF,eAAO,MAAM,oBAAoB,qBAoDhC,CAAC;AAEF,eAAO,MAAM,KAAK,+CAQjB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,iBAAkB,aAAa,UAAU,GAAG,SAYhE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,IAAI,WAAkB,WAAW,kBAQ7C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM,WAAkB,WAAW,kBAQ/C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,kBAAyB,aAAa,EAAE,kBAavE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,kBAAmB,aAAa,EAAE,SAUrE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,kBAAmB,aAAa,EAAE,SAUnE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,kBAAmB,aAAa,EAAE,SAUjE,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAalC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,QAAO,mBAMxC,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,GAAG,UAAU,GAAG,UAmB7D,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,MAAM,GAAE,GAAQ;yCAmEZ,aAAa,EAAE,4BAA4B,OAAO,GAAG,SAAS;oCAnDnE,aAAa;yCAmCR,aAAa,4BAA4B,OAAO,GAAG,SAAS;qCAJhG,2BAA2B,WAC1B,IAAI,GAAG,OAAO,KACpB,QAAQ,aAAa,EAAE,CAAC;8CArBsB,aAAa,EAAE;;;;uCAhBtB,aAAa;mCA6GjB,OAAO;EAsC7C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useEffect, useReducer } from "react";
|
|
1
|
+
import { useEffect, useReducer, useState } from "react";
|
|
2
2
|
import { usePubSub } from "./usePubSub";
|
|
3
3
|
import { NOTIFICATIONS_PUBSUB_TOPIC } from "../components/notifications/constants";
|
|
4
|
-
|
|
4
|
+
import { FEAGlobals } from "../../common/Globals";
|
|
5
5
|
const initialState = { notifications: [] };
|
|
6
6
|
/*
|
|
7
7
|
Action Types
|
|
@@ -43,12 +43,12 @@ function reducer(state, action) {
|
|
|
43
43
|
export const useNotificationUI = () => {
|
|
44
44
|
const [state, setState] = usePubSub(NOTIFICATIONS_PUBSUB_TOPIC);
|
|
45
45
|
const setStateAndAddWindowName = (newState) => {
|
|
46
|
-
setState(Object.assign(Object.assign({}, newState), { mostRecentWindowName: finsembleWindow.name }));
|
|
46
|
+
setState(Object.assign(Object.assign({}, newState), { mostRecentWindowName: FEAGlobals.finsembleWindow.name }));
|
|
47
47
|
};
|
|
48
48
|
return [state, setStateAndAddWindowName];
|
|
49
49
|
};
|
|
50
50
|
const getActiveDescriptorsByType = (componentType) => new Promise(async (resolve, reject) => {
|
|
51
|
-
FSBL.Clients.LauncherClient.getActiveDescriptors((err, data) => {
|
|
51
|
+
FEAGlobals.FSBL.Clients.LauncherClient.getActiveDescriptors((err, data) => {
|
|
52
52
|
var _a;
|
|
53
53
|
const activeDescriptors = [];
|
|
54
54
|
if (err) {
|
|
@@ -73,21 +73,21 @@ export const moveToToolbarMonitor = async () => {
|
|
|
73
73
|
const activeDescriptors = await getActiveDescriptorsByType("Toolbar");
|
|
74
74
|
toolbarWindowName = (_a = activeDescriptors[0]) === null || _a === void 0 ? void 0 : _a.name;
|
|
75
75
|
}
|
|
76
|
-
const { err, data } = await FSBL.Clients.LauncherClient.getMonitorInfo({
|
|
76
|
+
const { err, data } = await FEAGlobals.FSBL.Clients.LauncherClient.getMonitorInfo({
|
|
77
77
|
windowIdentifier: { windowName: toolbarWindowName },
|
|
78
78
|
});
|
|
79
79
|
if (err) {
|
|
80
|
-
FSBL.Clients.Logger.system.error("Could not get Monitor info", err);
|
|
80
|
+
FEAGlobals.FSBL.Clients.Logger.system.error("Could not get Monitor info", err);
|
|
81
81
|
reject(err);
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
84
|
resolve(data);
|
|
85
85
|
});
|
|
86
86
|
const data = await getToolbarMonitorData();
|
|
87
|
-
const { data: windowMonitor } = await FSBL.Clients.LauncherClient.getMonitorInfo({
|
|
88
|
-
windowIdentifier: { windowName: finsembleWindow.name },
|
|
87
|
+
const { data: windowMonitor } = await FEAGlobals.FSBL.Clients.LauncherClient.getMonitorInfo({
|
|
88
|
+
windowIdentifier: { windowName: FEAGlobals.finsembleWindow.name },
|
|
89
89
|
});
|
|
90
|
-
const { data: bounds } = await finsembleWindow.getBounds();
|
|
90
|
+
const { data: bounds } = await FEAGlobals.finsembleWindow.getBounds();
|
|
91
91
|
const width = ((_a = bounds === null || bounds === void 0 ? void 0 : bounds.right) !== null && _a !== void 0 ? _a : 0) - ((_b = bounds === null || bounds === void 0 ? void 0 : bounds.left) !== null && _b !== void 0 ? _b : 0);
|
|
92
92
|
/**
|
|
93
93
|
* It's been reported that on docked laptops and some curved monitors that getMonitorInfo returns undefined.
|
|
@@ -98,8 +98,8 @@ export const moveToToolbarMonitor = async () => {
|
|
|
98
98
|
if (!data || data.deviceId === (windowMonitor === null || windowMonitor === void 0 ? void 0 : windowMonitor.deviceId))
|
|
99
99
|
return;
|
|
100
100
|
// notifications-toasts window shouldn't have a full monitor height to prevent flickering
|
|
101
|
-
const height = finsembleWindow.name === "notifications-toasts" ? 0 : data["availableRect"]["height"];
|
|
102
|
-
finsembleWindow.setBounds({
|
|
101
|
+
const height = FEAGlobals.finsembleWindow.name === "notifications-toasts" ? 0 : data["availableRect"]["height"];
|
|
102
|
+
FEAGlobals.finsembleWindow.setBounds({
|
|
103
103
|
bounds: {
|
|
104
104
|
top: data["availableRect"]["top"],
|
|
105
105
|
left: data["availableRect"]["right"] - width,
|
|
@@ -108,7 +108,7 @@ export const moveToToolbarMonitor = async () => {
|
|
|
108
108
|
},
|
|
109
109
|
}, (err) => {
|
|
110
110
|
if (err) {
|
|
111
|
-
FSBL.Clients.Logger.system.error("Could not update position", err);
|
|
111
|
+
FEAGlobals.FSBL.Clients.Logger.system.error("Could not update position", err);
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
};
|
|
@@ -131,7 +131,7 @@ export const getOS = () => {
|
|
|
131
131
|
*/
|
|
132
132
|
export const doAction = (notification, action) => {
|
|
133
133
|
try {
|
|
134
|
-
FSBL.Clients.NotificationClient.performAction([notification], action).then(() => {
|
|
134
|
+
FEAGlobals.FSBL.Clients.NotificationClient.performAction([notification], action).then(() => {
|
|
135
135
|
// NOTE: The request to perform the action has be sent to the notifications service successfully
|
|
136
136
|
// The action itself has not necessarily been performed successfully
|
|
137
137
|
// 1) alert user notification has been sent (action may not have completed)
|
|
@@ -140,7 +140,7 @@ export const doAction = (notification, action) => {
|
|
|
140
140
|
catch (e) {
|
|
141
141
|
// NOTE: The request to perform the action has failed
|
|
142
142
|
console.error("could not create a notification client", e);
|
|
143
|
-
FSBL.Clients.Logger.system.error("could not create a notification client", e);
|
|
143
|
+
FEAGlobals.FSBL.Clients.Logger.system.error("could not create a notification client", e);
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
/**
|
|
@@ -150,12 +150,12 @@ export const doAction = (notification, action) => {
|
|
|
150
150
|
*/
|
|
151
151
|
export const mute = async (filter) => {
|
|
152
152
|
try {
|
|
153
|
-
await NotificationClient.mute(filter);
|
|
153
|
+
await FEAGlobals.FSBL.Clients.NotificationClient.mute(filter);
|
|
154
154
|
}
|
|
155
155
|
catch (e) {
|
|
156
156
|
// NOTE: The request to perform the action has failed
|
|
157
157
|
console.error("Could not save mute preferences", e);
|
|
158
|
-
FSBL.Clients.Logger.system.error("Could not save mute preferences", e);
|
|
158
|
+
FEAGlobals.FSBL.Clients.Logger.system.error("Could not save mute preferences", e);
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
161
|
/**
|
|
@@ -165,12 +165,12 @@ export const mute = async (filter) => {
|
|
|
165
165
|
*/
|
|
166
166
|
export const unmute = async (filter) => {
|
|
167
167
|
try {
|
|
168
|
-
await NotificationClient.unmute(filter);
|
|
168
|
+
await FEAGlobals.FSBL.Clients.NotificationClient.unmute(filter);
|
|
169
169
|
}
|
|
170
170
|
catch (e) {
|
|
171
171
|
// NOTE: The request to perform the action has failed
|
|
172
172
|
console.error("Could not save mute preferences", e);
|
|
173
|
-
FSBL.Clients.Logger.system.error("Could not save mute preferences", e);
|
|
173
|
+
FEAGlobals.FSBL.Clients.Logger.system.error("Could not save mute preferences", e);
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
176
|
/**
|
|
@@ -179,7 +179,7 @@ export const unmute = async (filter) => {
|
|
|
179
179
|
* @param {INotification[]} notifications
|
|
180
180
|
*/
|
|
181
181
|
export const snoozeNotifications = async (notifications) => {
|
|
182
|
-
const preferences = await FSBL.Clients.NotificationClient.getPreferences();
|
|
182
|
+
const preferences = await FEAGlobals.FSBL.Clients.NotificationClient.getPreferences();
|
|
183
183
|
const snoozeAction = {
|
|
184
184
|
buttonText: "Snooze",
|
|
185
185
|
type: "SNOOZE",
|
|
@@ -198,14 +198,14 @@ export const snoozeNotifications = async (notifications) => {
|
|
|
198
198
|
*/
|
|
199
199
|
export const markNotificationsUnread = (notifications) => {
|
|
200
200
|
try {
|
|
201
|
-
NotificationClient.markUnread(notifications).then(() => {
|
|
201
|
+
FEAGlobals.FSBL.Clients.NotificationClient.markUnread(notifications).then(() => {
|
|
202
202
|
// NOTE: The request to perform the action has be sent to the notifications service successfully
|
|
203
203
|
// The action itself has not necessarily been perform successfully
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
206
|
catch (e) {
|
|
207
207
|
console.error("Error marking messages as unread", e);
|
|
208
|
-
FSBL.Clients.Logger.system.error("Could not mark notification as unread", e);
|
|
208
|
+
FEAGlobals.FSBL.Clients.Logger.system.error("Could not mark notification as unread", e);
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
211
|
/**
|
|
@@ -215,14 +215,14 @@ export const markNotificationsUnread = (notifications) => {
|
|
|
215
215
|
*/
|
|
216
216
|
export const markNotificationsRead = (notifications) => {
|
|
217
217
|
try {
|
|
218
|
-
NotificationClient.markRead(notifications).then(() => {
|
|
218
|
+
FEAGlobals.FSBL.Clients.NotificationClient.markRead(notifications).then(() => {
|
|
219
219
|
// NOTE: The request to perform the action has be sent to the notifications service successfully
|
|
220
220
|
// The action itself has not necessarily been perform successfully
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
223
|
catch (e) {
|
|
224
224
|
console.error("Error marking messages as read", e);
|
|
225
|
-
FSBL.Clients.Logger.system.error("Could not mark notification as read", e);
|
|
225
|
+
FEAGlobals.FSBL.Clients.Logger.system.error("Could not mark notification as read", e);
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
/**
|
|
@@ -232,14 +232,14 @@ export const markNotificationsRead = (notifications) => {
|
|
|
232
232
|
*/
|
|
233
233
|
export const dismissNotification = (notifications) => {
|
|
234
234
|
try {
|
|
235
|
-
NotificationClient.deleteNotifications(notifications).then(() => {
|
|
235
|
+
FEAGlobals.FSBL.Clients.NotificationClient.deleteNotifications(notifications).then(() => {
|
|
236
236
|
// NOTE: The request to perform the action has be sent to the notifications service successfully
|
|
237
237
|
// The action itself has not necessarily been perform successfully
|
|
238
238
|
});
|
|
239
239
|
}
|
|
240
240
|
catch (e) {
|
|
241
241
|
console.error("Error marking messages as read", e);
|
|
242
|
-
FSBL.Clients.Logger.system.error("Could not mark notification as read", e);
|
|
242
|
+
FEAGlobals.FSBL.Clients.Logger.system.error("Could not mark notification as read", e);
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
export const initializeCenterToggle = () => {
|
|
@@ -255,10 +255,10 @@ export const initializeCenterToggle = () => {
|
|
|
255
255
|
* Get Notification's config from
|
|
256
256
|
*/
|
|
257
257
|
export const getNotificationConfig = () => {
|
|
258
|
-
var _a, _b, _c, _d;
|
|
259
|
-
const config = WindowClient.options.customData;
|
|
260
|
-
return Object.assign(((
|
|
261
|
-
isTransparent: ((
|
|
258
|
+
var _a, _b, _c, _d, _e;
|
|
259
|
+
const config = (_a = FEAGlobals.FSBL.Clients.WindowClient.options) === null || _a === void 0 ? void 0 : _a.customData;
|
|
260
|
+
return Object.assign(((_c = (_b = config === null || config === void 0 ? void 0 : config.window) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.notifications) || {}, {
|
|
261
|
+
isTransparent: ((_e = (_d = config === null || config === void 0 ? void 0 : config.window) === null || _d === void 0 ? void 0 : _d.options) === null || _e === void 0 ? void 0 : _e.transparent) || false,
|
|
262
262
|
});
|
|
263
263
|
};
|
|
264
264
|
export const getFetchHistoryParams = (config, params) => {
|
|
@@ -279,6 +279,12 @@ export const getFetchHistoryParams = (config, params) => {
|
|
|
279
279
|
};
|
|
280
280
|
export default function useNotifications(params = {}) {
|
|
281
281
|
const [state, dispatch] = useReducer(reducer, initialState);
|
|
282
|
+
/**
|
|
283
|
+
* It's possible for async code to try update the state of an unmounted component.
|
|
284
|
+
* When this happens, React throws an error indicating there might be a memory leak.
|
|
285
|
+
* This value is used to allow async code to update the state only when the component is mounted.
|
|
286
|
+
*/
|
|
287
|
+
const [componentUnmounted, setComponentUnmounted] = useState(false);
|
|
282
288
|
/*
|
|
283
289
|
Action Creators
|
|
284
290
|
*/
|
|
@@ -310,7 +316,7 @@ export default function useNotifications(params = {}) {
|
|
|
310
316
|
* @param since
|
|
311
317
|
* @param filter
|
|
312
318
|
*/
|
|
313
|
-
const getNotificationHistory = (since = { sentAfter: "1969-12-31T23:59:59.999Z" }, filter = null) => NotificationClient.fetchHistory(since, filter);
|
|
319
|
+
const getNotificationHistory = (since = { sentAfter: "1969-12-31T23:59:59.999Z" }, filter = null) => FEAGlobals.FSBL.Clients.NotificationClient.fetchHistory(since, filter);
|
|
314
320
|
const notificationIsActive = (notification, applyMuteFilterOverride) => {
|
|
315
321
|
let applyMuteFilters = applyMuteFilterOverride;
|
|
316
322
|
if (typeof applyMuteFilterOverride === "undefined") {
|
|
@@ -329,9 +335,12 @@ export default function useNotifications(params = {}) {
|
|
|
329
335
|
async function init() {
|
|
330
336
|
var _a, _b, _c, _d, _e;
|
|
331
337
|
try {
|
|
332
|
-
const subscription =
|
|
338
|
+
const subscription = { id: null };
|
|
333
339
|
const notificationConfig = getNotificationConfig();
|
|
334
|
-
const filter =
|
|
340
|
+
const filter = {
|
|
341
|
+
exclude: [],
|
|
342
|
+
include: [],
|
|
343
|
+
};
|
|
335
344
|
// make filters from the config
|
|
336
345
|
if (notificationConfig) {
|
|
337
346
|
((_a = notificationConfig.filter) === null || _a === void 0 ? void 0 : _a.include) && ((_b = filter.include) === null || _b === void 0 ? void 0 : _b.push(...notificationConfig.filter.include));
|
|
@@ -342,18 +351,22 @@ export default function useNotifications(params = {}) {
|
|
|
342
351
|
if (notificationsHistory) {
|
|
343
352
|
const [options, historyFilter] = getFetchHistoryParams(notificationConfig, params);
|
|
344
353
|
const pastNotifications = await getNotificationHistory(options, historyFilter);
|
|
345
|
-
|
|
354
|
+
if (!componentUnmounted) {
|
|
355
|
+
addMultipleNotifications(pastNotifications);
|
|
356
|
+
}
|
|
346
357
|
}
|
|
347
358
|
const onNotification = function (notification) {
|
|
348
359
|
// This function will be called when a notification arrives
|
|
349
|
-
if (
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
360
|
+
if (!componentUnmounted) {
|
|
361
|
+
if (notification.isDeleted) {
|
|
362
|
+
removeNotification(notification);
|
|
363
|
+
}
|
|
364
|
+
else {
|
|
365
|
+
addNotification(notification);
|
|
366
|
+
}
|
|
354
367
|
}
|
|
355
368
|
};
|
|
356
|
-
return NotificationClient.subscribe(subscription, onNotification);
|
|
369
|
+
return FEAGlobals.FSBL.Clients.NotificationClient.subscribe(subscription, onNotification);
|
|
357
370
|
}
|
|
358
371
|
catch (error) {
|
|
359
372
|
console.error(error);
|
|
@@ -363,22 +376,28 @@ export default function useNotifications(params = {}) {
|
|
|
363
376
|
* Set opaque class to html element
|
|
364
377
|
*/
|
|
365
378
|
function setOpaqueClassName(isOpaque) {
|
|
379
|
+
const htmlElement = document.getElementsByTagName("html")[0];
|
|
366
380
|
if (isOpaque) {
|
|
367
|
-
const htmlElement = document.getElementsByTagName("html")[0];
|
|
368
381
|
if (!htmlElement.classList.contains("opaque")) {
|
|
369
382
|
htmlElement.classList.add("opaque");
|
|
370
383
|
}
|
|
371
384
|
}
|
|
385
|
+
else {
|
|
386
|
+
if (htmlElement.classList.contains("opaque")) {
|
|
387
|
+
htmlElement.classList.remove("opaque");
|
|
388
|
+
}
|
|
389
|
+
}
|
|
372
390
|
}
|
|
373
391
|
// start receiving Notifications and putting them in state
|
|
374
392
|
useEffect(() => {
|
|
375
393
|
const subscribe = init();
|
|
376
394
|
return () => {
|
|
395
|
+
setComponentUnmounted(true);
|
|
377
396
|
// Unsubscribe using the subscription ID
|
|
378
397
|
(async () => {
|
|
379
398
|
const subscribeObject = await subscribe;
|
|
380
399
|
if (subscribeObject) {
|
|
381
|
-
await NotificationClient.unsubscribe(subscribeObject.id);
|
|
400
|
+
await FEAGlobals.FSBL.Clients.NotificationClient.unsubscribe(subscribeObject.id);
|
|
382
401
|
}
|
|
383
402
|
})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CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;gBAC9C,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;aACpC;SACD;IACF,CAAC;IAED,0DAA0D;IAC1D,SAAS,CAAC,GAAG,EAAE;QACd,MAAM,SAAS,GAAG,IAAI,EAAE,CAAC;QACzB,OAAO,GAAG,EAAE;YACX,wCAAwC;YACxC,CAAC,KAAK,IAAI,EAAE;gBACX,MAAM,eAAe,GAAG,MAAM,SAAS,CAAC;gBACxC,IAAI,eAAe,EAAE;oBACpB,MAAM,kBAAkB,CAAC,WAAW,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;iBACzD;YACF,CAAC,CAAC,EAAE,CAAC;QACN,CAAC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO;QACN,mBAAmB;QACnB,eAAe;QACf,oBAAoB;QACpB,sBAAsB;QACtB,wBAAwB;QACxB,aAAa,EAAE,KAAK,CAAC,aAAa;QAClC,kBAAkB;QAClB,kBAAkB;KAClB,CAAC;AACH,CAAC","sourcesContent":["import { useEffect, useReducer } from \"react\";\nimport { WindowConfig, NotificationsConfig } from \"../components/notifications/types\";\nimport { usePubSub } from \"./usePubSub\";\nimport { NOTIFICATIONS_PUBSUB_TOPIC } from \"../components/notifications/constants\";\nimport { services } from \"@finsemble/finsemble-api\";\nimport { FEA } from \"@finsemble/finsemble-api\";\ntype NotificationServiceState = services.notification.types.NotificationServiceState;\ntype IAction = services.notification.types.IAction;\n\ntype IFilter = services.notification.types.IFilter;\ntype IMuteFilter = services.notification.types.IMuteFilter;\ntype INotification = services.notification.types.INotification;\ntype INotificationHistoryOptions = services.notification.types.INotificationHistoryOptions;\ntype MonitorInfoDetail = FEA.MonitorInfoDetail;\n\nconst { WindowClient, NotificationClient } = FSBL.Clients;\n\nconst initialState: any = { notifications: [] };\n\n/*\nAction Types\n*/\nconst CREATE_MULTIPLE = \"CREATE_MULTIPLE\";\nconst UPDATE = \"UPDATE\";\nconst REMOVE = \"REMOVE\";\n\n/*\n\tReducer\n\t*/\nfunction reducer(state: { notifications: INotification[] }, action: { type: string; payload: any }) {\n\tswitch (action.type) {\n\t\tcase CREATE_MULTIPLE:\n\t\t\treturn {\n\t\t\t\tnotifications: [...state.notifications, ...action.payload],\n\t\t\t};\n\t\tcase UPDATE: {\n\t\t\t// check to see if the notification exists if so update the values\n\t\t\tconst notificationExistsInArray = state.notifications.find(\n\t\t\t\t(notification: INotification) => notification.id === action.payload.id\n\t\t\t);\n\n\t\t\t//if the notification exists then do nothing and return the current state else add the the new notification to the state\n\t\t\tconst notifications = notificationExistsInArray\n\t\t\t\t? state.notifications.map((notification: INotification) =>\n\t\t\t\t\t\tnotification.id === action.payload.id ? action.payload : notification\n\t\t\t\t )\n\t\t\t\t: [action.payload, ...state.notifications];\n\n\t\t\treturn { notifications };\n\t\t}\n\t\tcase REMOVE:\n\t\t\treturn {\n\t\t\t\tnotifications: state.notifications.filter((notification) => notification.id !== action.payload.id),\n\t\t\t};\n\t\tdefault:\n\t\t\tthrow new Error();\n\t}\n}\n\ntype NotificationUIStatePublish = (state: NotificationServiceState) => void;\n\n/**\n * Thin wrapper around usePubSub to give us typesafety for the notification service's UI state.\n * Automatically appends this client's windowName which is used by the notification service to\n * display the notification center on an appropriate monitor.\n */\nexport const useNotificationUI = (): [state: NotificationServiceState, setState: NotificationUIStatePublish] => {\n\tconst [state, setState] = usePubSub(NOTIFICATIONS_PUBSUB_TOPIC);\n\n\tconst setStateAndAddWindowName = (newState: NotificationServiceState) => {\n\t\tsetState({\n\t\t\t...newState,\n\t\t\tmostRecentWindowName: finsembleWindow.name,\n\t\t});\n\t};\n\treturn [state as NotificationServiceState, setStateAndAddWindowName];\n};\n\nconst getActiveDescriptorsByType = (componentType: string): Promise<any[]> =>\n\tnew Promise(async (resolve, reject) => {\n\t\tFSBL.Clients.LauncherClient.getActiveDescriptors((err: any, data: any) => {\n\t\t\tconst activeDescriptors: any[] = [];\n\t\t\tif (err) {\n\t\t\t\treject(err);\n\t\t\t} else {\n\t\t\t\tfor (const key in data) {\n\t\t\t\t\tif (data.hasOwnProperty(key) && data[key]?.componentType === componentType) {\n\t\t\t\t\t\tactiveDescriptors.push(data[key]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tresolve(activeDescriptors);\n\t\t});\n\t});\n\nlet toolbarWindowName: string;\n\nexport const moveToToolbarMonitor = async () => {\n\tconst getToolbarMonitorData = async () =>\n\t\tnew Promise<MonitorInfoDetail | undefined>(async (resolve, reject) => {\n\t\t\tif (!toolbarWindowName) {\n\t\t\t\tconst activeDescriptors = await getActiveDescriptorsByType(\"Toolbar\");\n\t\t\t\ttoolbarWindowName = activeDescriptors[0]?.name;\n\t\t\t}\n\t\t\tconst { err, data } = await FSBL.Clients.LauncherClient.getMonitorInfo({\n\t\t\t\twindowIdentifier: { windowName: toolbarWindowName },\n\t\t\t});\n\n\t\t\tif (err) {\n\t\t\t\tFSBL.Clients.Logger.system.error(\"Could not get Monitor info\", err);\n\t\t\t\treject(err);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tresolve(data);\n\t\t});\n\n\tconst data = await getToolbarMonitorData();\n\tconst { data: windowMonitor } = await FSBL.Clients.LauncherClient.getMonitorInfo({\n\t\twindowIdentifier: { windowName: finsembleWindow.name },\n\t});\n\n\tconst { data: bounds } = await finsembleWindow.getBounds();\n\tconst width = (bounds?.right ?? 0) - (bounds?.left ?? 0);\n\n\t/**\n\t * It's been reported that on docked laptops and some curved monitors that getMonitorInfo returns undefined.\n\t * The root cause of this has not been determined.\n\t *\n\t * The second condition prevents execution if toolbar and window on the same monitor\n\t */\n\tif (!data || data.deviceId === windowMonitor?.deviceId) return;\n\n\t// notifications-toasts window shouldn't have a full monitor height to prevent flickering\n\tconst height = finsembleWindow.name === \"notifications-toasts\" ? 0 : data[\"availableRect\"][\"height\"];\n\tfinsembleWindow.setBounds(\n\t\t{\n\t\t\tbounds: {\n\t\t\t\ttop: data[\"availableRect\"][\"top\"],\n\t\t\t\tleft: data[\"availableRect\"][\"right\"] - width,\n\t\t\t\theight: height,\n\t\t\t\twidth: width,\n\t\t\t},\n\t\t},\n\t\t(err: any) => {\n\t\t\tif (err) {\n\t\t\t\tFSBL.Clients.Logger.system.error(\"Could not update position\", err);\n\t\t\t}\n\t\t}\n\t);\n};\n\nexport const getOS = () => {\n\tif (navigator.platform.indexOf(\"Win\") != -1) {\n\t\treturn \"Windows\";\n\t} else if (navigator.platform.indexOf(\"Linux\") != -1) {\n\t\treturn \"Linux\";\n\t} else if (navigator.platform.indexOf(\"Mac\") != -1) {\n\t\treturn \"Mac\";\n\t}\n};\n\n/**\n * Example for setting up button clicks\n *\n * @param notification\n * @param action\n */\nexport const doAction = (notification: INotification, action: any) => {\n\ttry {\n\t\tFSBL.Clients.NotificationClient.performAction([notification], action).then(() => {\n\t\t\t// NOTE: The request to perform the action has be sent to the notifications service successfully\n\t\t\t// The action itself has not necessarily been performed successfully\n\t\t\t// 1) alert user notification has been sent (action may not have completed)\n\t\t});\n\t} catch (e) {\n\t\t// NOTE: The request to perform the action has failed\n\t\tconsole.error(\"could not create a notification client\", e);\n\t\tFSBL.Clients.Logger.system.error(\"could not create a notification client\", e);\n\t}\n};\n\n/**\n * Example for setting up button clicks\n *\n * @param filter\n */\nexport const mute = async (filter: IMuteFilter) => {\n\ttry {\n\t\tawait NotificationClient.mute(filter);\n\t} catch (e) {\n\t\t// NOTE: The request to perform the action has failed\n\t\tconsole.error(\"Could not save mute preferences\", e);\n\t\tFSBL.Clients.Logger.system.error(\"Could not save mute preferences\", e);\n\t}\n};\n\n/**\n * Example for setting up button clicks\n *\n * @param filter\n */\nexport const unmute = async (filter: IMuteFilter) => {\n\ttry {\n\t\tawait NotificationClient.unmute(filter);\n\t} catch (e) {\n\t\t// NOTE: The request to perform the action has failed\n\t\tconsole.error(\"Could not save mute preferences\", e);\n\t\tFSBL.Clients.Logger.system.error(\"Could not save mute preferences\", e);\n\t}\n};\n\n/**\n * Snooze a notification\n *\n * @param {INotification[]} notifications\n */\nexport const snoozeNotifications = async (notifications: INotification[]) => {\n\tconst preferences: any = await FSBL.Clients.NotificationClient.getPreferences();\n\tconst snoozeAction: IAction = {\n\t\tbuttonText: \"Snooze\",\n\t\ttype: \"SNOOZE\",\n\t};\n\tif (preferences && preferences.defaultSnoozePeriodSeconds) {\n\t\tsnoozeAction.milliseconds = preferences.defaultSnoozePeriodSeconds * 1000;\n\t}\n\n\tfor (let i = 0; i < notifications.length; i++) {\n\t\tdoAction(notifications[i], snoozeAction);\n\t}\n};\n\n/**\n * Marks a notification as read\n *\n * @param {INotification[]} notifications\n */\nexport const markNotificationsUnread = (notifications: INotification[]) => {\n\ttry {\n\t\tNotificationClient.markUnread(notifications).then(() => {\n\t\t\t// NOTE: The request to perform the action has be sent to the notifications service successfully\n\t\t\t// The action itself has not necessarily been perform successfully\n\t\t});\n\t} catch (e) {\n\t\tconsole.error(\"Error marking messages as unread\", e);\n\t\tFSBL.Clients.Logger.system.error(\"Could not mark notification as unread\", e);\n\t}\n};\n\n/**\n * Marks a notification as read\n *\n * @param {INotification[]} notifications\n */\nexport const markNotificationsRead = (notifications: INotification[]) => {\n\ttry {\n\t\tNotificationClient.markRead(notifications).then(() => {\n\t\t\t// NOTE: The request to perform the action has be sent to the notifications service successfully\n\t\t\t// The action itself has not necessarily been perform successfully\n\t\t});\n\t} catch (e) {\n\t\tconsole.error(\"Error marking messages as read\", e);\n\t\tFSBL.Clients.Logger.system.error(\"Could not mark notification as read\", e);\n\t}\n};\n\n/**\n * Dismisses a notification\n *\n * @param {INotification[]} notifications\n */\nexport const dismissNotification = (notifications: INotification[]) => {\n\ttry {\n\t\tNotificationClient.deleteNotifications(notifications).then(() => {\n\t\t\t// NOTE: The request to perform the action has be sent to the notifications service successfully\n\t\t\t// The action itself has not necessarily been perform successfully\n\t\t});\n\t} catch (e) {\n\t\tconsole.error(\"Error marking messages as read\", e);\n\t\tFSBL.Clients.Logger.system.error(\"Could not mark notification as read\", e);\n\t}\n};\n\nexport const initializeCenterToggle = () => {\n\tconst [uiState, setUIState] = useNotificationUI();\n\n\tconst toggleCenter = () => {\n\t\tsetUIState({\n\t\t\t...uiState,\n\t\t\tshowCenter: !uiState.showCenter,\n\t\t});\n\t};\n\n\treturn {\n\t\ttoggleCenter,\n\t};\n};\n\n/**\n * Get Notification's config from\n */\nexport const getNotificationConfig = (): NotificationsConfig => {\n\tconst config: WindowConfig = WindowClient.options.customData;\n\n\treturn Object.assign(config?.window?.data?.notifications || {}, {\n\t\tisTransparent: config?.window?.options?.transparent || false,\n\t});\n};\n\nexport const getFetchHistoryParams = (config: any, params: any) => {\n\tconst notificationsHistory = config?.notificationsHistory || params?.config?.notificationsHistory;\n\n\t// Backwards compatibility - `since` replaced with `options` object\n\tlet options = notificationsHistory.since ? notificationsHistory.since : null;\n\n\t// Use options object if it's been set in the component config\n\tif (!options) {\n\t\toptions = notificationsHistory?.options;\n\t}\n\n\t// If no options object set and notificationsHistory is true set in config, use the params\n\tif (!options && typeof notificationsHistory === \"boolean\" && notificationsHistory) {\n\t\toptions = params?.config?.notificationsHistory.options;\n\t}\n\n\tconst filter = notificationsHistory.filter ? notificationsHistory.filter : null;\n\n\treturn [options, filter];\n};\n\nexport default function useNotifications(params: any = {}) {\n\tconst [state, dispatch] = useReducer(reducer, initialState);\n\n\t/*\n\t\tAction Creators\n\t*/\n\tconst removeNotification = (notification: INotification) => {\n\t\tdispatch({ type: REMOVE, payload: notification });\n\t};\n\n\tconst addNotification = (notification: INotification) => {\n\t\tdispatch({ type: UPDATE, payload: notification });\n\t};\n\n\tconst addMultipleNotifications = (notifications: INotification[]) => {\n\t\tdispatch({ type: CREATE_MULTIPLE, payload: notifications });\n\t};\n\n\t/**\n\t * Group Notifications by Type\n\t * @param notifications\n\t */\n\tconst groupNotificationsByType = (notifications: INotification[]) => {\n\t\tconst groupBy = (arr: INotification[]) =>\n\t\t\tarr\n\t\t\t\t.map((notification: INotification): string => notification.type ?? \"unknown\")\n\t\t\t\t.reduce((acc: { [x: string]: any }, notificationType: string, index: number) => {\n\t\t\t\t\tacc[notificationType] = [...(acc[notificationType] || []), arr[index]];\n\t\t\t\t\treturn acc;\n\t\t\t\t}, {});\n\n\t\treturn groupBy(notifications);\n\t};\n\n\t/**\n\t * \t * get the past notifications\n\t * WARNING - The default will get all notifications all the way back from 1969!!!\n\t * @param since\n\t * @param filter\n\t */\n\tconst getNotificationHistory = (\n\t\tsince: INotificationHistoryOptions = { sentAfter: \"1969-12-31T23:59:59.999Z\" },\n\t\tfilter: null | IFilter = null\n\t): Promise<INotification[]> => NotificationClient.fetchHistory(since, filter as IFilter);\n\n\tconst notificationIsActive = (notification: INotification, applyMuteFilterOverride?: boolean | undefined) => {\n\t\tlet applyMuteFilters = applyMuteFilterOverride;\n\n\t\tif (typeof applyMuteFilterOverride === \"undefined\") {\n\t\t\tconst config = getNotificationConfig();\n\t\t\tapplyMuteFilters = config?.applyMuteFilters ? config.applyMuteFilters : false;\n\t\t}\n\n\t\treturn (\n\t\t\t!notification.isSnoozed &&\n\t\t\t!notification.isRead &&\n\t\t\t!notification.isDeleted &&\n\t\t\t(applyMuteFilters ? !notification.isMuted : true)\n\t\t);\n\t};\n\n\tconst activeNotifications = (notifications: INotification[], applyMuteFilterOverride?: boolean | undefined) =>\n\t\tnotifications.filter((notification) => notificationIsActive(notification, applyMuteFilterOverride));\n\n\t/**\n\t * Main init function to start the subscription\n\t */\n\tasync function init() {\n\t\ttry {\n\t\t\tconst subscription = new NotificationClient.Subscription();\n\n\t\t\tconst notificationConfig: NotificationsConfig = getNotificationConfig();\n\n\t\t\tconst filter: IFilter = new NotificationClient.Filter();\n\n\t\t\t// make filters from the config\n\t\t\tif (notificationConfig) {\n\t\t\t\tnotificationConfig.filter?.include && filter.include?.push(...notificationConfig.filter.include);\n\t\t\t\tnotificationConfig.filter?.exclude && filter.exclude?.push(...notificationConfig.filter.exclude);\n\t\t\t}\n\n\t\t\tsubscription.filter = filter;\n\n\t\t\tconst notificationsHistory = notificationConfig?.notificationsHistory || params?.config?.notificationsHistory;\n\n\t\t\tif (notificationsHistory) {\n\t\t\t\tconst [options, historyFilter] = getFetchHistoryParams(notificationConfig, params);\n\n\t\t\t\tconst pastNotifications = await getNotificationHistory(options, historyFilter);\n\t\t\t\taddMultipleNotifications(pastNotifications);\n\t\t\t}\n\t\t\tconst onNotification = function (notification: INotification) {\n\t\t\t\t// This function will be called when a notification arrives\n\t\t\t\tif (notification.isDeleted) {\n\t\t\t\t\tremoveNotification(notification);\n\t\t\t\t} else {\n\t\t\t\t\taddNotification(notification);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\treturn NotificationClient.subscribe(subscription, onNotification);\n\t\t} catch (error) {\n\t\t\tconsole.error(error);\n\t\t}\n\t}\n\n\t/**\n\t * Set opaque class to html element\n\t */\n\tfunction setOpaqueClassName(isOpaque: boolean) {\n\t\tif (isOpaque) {\n\t\t\tconst htmlElement = document.getElementsByTagName(\"html\")[0];\n\t\t\tif (!htmlElement.classList.contains(\"opaque\")) {\n\t\t\t\thtmlElement.classList.add(\"opaque\");\n\t\t\t}\n\t\t}\n\t}\n\n\t// start receiving Notifications and putting them in state\n\tuseEffect(() => {\n\t\tconst subscribe = init();\n\t\treturn () => {\n\t\t\t// Unsubscribe using the subscription ID\n\t\t\t(async () => {\n\t\t\t\tconst subscribeObject = await subscribe;\n\t\t\t\tif (subscribeObject) {\n\t\t\t\t\tawait NotificationClient.unsubscribe(subscribeObject.id);\n\t\t\t\t}\n\t\t\t})();\n\t\t};\n\t}, []);\n\n\treturn {\n\t\tactiveNotifications,\n\t\taddNotification,\n\t\tnotificationIsActive,\n\t\tgetNotificationHistory,\n\t\tgroupNotificationsByType,\n\t\tnotifications: state.notifications,\n\t\tremoveNotification,\n\t\tsetOpaqueClassName,\n\t};\n}\n"]}
|
|
1
|
+
{"version":3,"file":"useNotifications.js","sourceRoot":"","sources":["../../../../src/ui/hooks/useNotifications.ts"],"names":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F;YACF,CAAC,CAAC,EAAE,CAAC;QACN,CAAC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO;QACN,mBAAmB;QACnB,eAAe;QACf,oBAAoB;QACpB,sBAAsB;QACtB,wBAAwB;QACxB,aAAa,EAAE,KAAK,CAAC,aAAa;QAClC,kBAAkB;QAClB,kBAAkB;KAClB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare type Handler = (credentials: any, cb: () => void) => void;
|
|
2
|
+
/**
|
|
3
|
+
* A hook that can be used in an OAuth response page. This will process the identity provider's response
|
|
4
|
+
* which should be in the page's query string. If successful then Finsemble will be provided with the
|
|
5
|
+
* returned credentials and the page will be closed. If unsuccessful, then the error will be returned from
|
|
6
|
+
* the hook. The hook returns a cancel() function which can be used to discontinue upon an error.
|
|
7
|
+
*
|
|
8
|
+
* @param handler An optional handler which can run business logic on a successful OAuth transaction. This will
|
|
9
|
+
* run before the window closes. The first parameter will be the OAuth credentials. The second parameter is a
|
|
10
|
+
* callback function which must be run to close the OAuth response window.
|
|
11
|
+
*/
|
|
12
|
+
export declare const useOAuth: (handler?: Handler) => {
|
|
13
|
+
error: string;
|
|
14
|
+
cancel: () => void;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=useOAuth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOAuth.d.ts","sourceRoot":"","sources":["../../../../src/ui/hooks/useOAuth.ts"],"names":[],"mappings":"AAGA,aAAK,OAAO,GAAG,CAAC,WAAW,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;AAmG1D;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,aAAc,OAAO;;;CAczC,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { useEffect, useState } from "react";
|
|
2
|
+
import { FEAGlobals } from "../../common/Globals";
|
|
3
|
+
/**
|
|
4
|
+
* When we close this window, if the user isn't logged in then it must mean we
|
|
5
|
+
* were using OAuth to log in, and it failed, so shut down the entire app. Otherwise
|
|
6
|
+
* we were just using it to authenticate a client, in which case we just want to close
|
|
7
|
+
* this window but keep Finsemble running.
|
|
8
|
+
*/
|
|
9
|
+
const cancel = () => {
|
|
10
|
+
FEAGlobals.FSBL.Clients.AuthenticationClient.getCurrentCredentials((err, credentials) => {
|
|
11
|
+
if (!err && !credentials) {
|
|
12
|
+
FEAGlobals.FSBL.shutdownApplication();
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
FEAGlobals.FSBL.Clients.WindowClient.close();
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* This is called when the OAuth transaction was successful. If this is being used for startup then
|
|
21
|
+
* Finsemble is given the go-ahead and provided credentials. If a business logic handler has been
|
|
22
|
+
* provided to the hook it will be run before Finsemble proceeds. Finally, the window itself is closed.
|
|
23
|
+
*/
|
|
24
|
+
const success = async (setError, handler) => {
|
|
25
|
+
const { err, data } = await FEAGlobals.FSBL.Clients.AuthenticationClient.completeOAUTH(null, null);
|
|
26
|
+
if (err) {
|
|
27
|
+
// This updates React state, so that the hook's callee will update with a fresh error
|
|
28
|
+
setError(err.toString());
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
window.authCompleted = true;
|
|
32
|
+
const credentials = data;
|
|
33
|
+
const finish = () => {
|
|
34
|
+
// In the special case of "startup" then we publish the authorization, which releases Finsemble and lets it start
|
|
35
|
+
if (credentials.config.name === "startup") {
|
|
36
|
+
// "sub" is the user ID provided by the OP. Not all OP's support this. If not supported, then we just set the user to the access token.
|
|
37
|
+
const user = credentials.sub || credentials.access_token || credentials.code;
|
|
38
|
+
// Finish the authentication process
|
|
39
|
+
FEAGlobals.FSBL.Clients.RouterClient.transmit("AuthenticationService.authorization", {
|
|
40
|
+
user: user,
|
|
41
|
+
credentials: credentials,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
FEAGlobals.FSBL.Clients.WindowClient.close();
|
|
45
|
+
};
|
|
46
|
+
if (handler) {
|
|
47
|
+
handler(credentials, () => {
|
|
48
|
+
finish();
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
finish();
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* If SDD mode is enabled then this window must be from test auth, so we report back and close it
|
|
57
|
+
*/
|
|
58
|
+
const sendTestResponse = (err) => {
|
|
59
|
+
FEAGlobals.FSBL.Clients.RouterClient.transmit("SDD-Auth-Test-Response", { err });
|
|
60
|
+
FEAGlobals.FSBL.Clients.WindowClient.close();
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Oauth servers will set error_description to the text of any error.
|
|
64
|
+
* URLSearchParams will automatically decode that response.
|
|
65
|
+
*/
|
|
66
|
+
const lookForErrorInQueryString = () => {
|
|
67
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
68
|
+
return urlParams.get("error_description");
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Processes the Oauth response. If there's an error then it will be displayed,
|
|
72
|
+
* otherwise oauth transaction will complete and the window will be closed.
|
|
73
|
+
*/
|
|
74
|
+
const processResponse = async (setError, handler) => {
|
|
75
|
+
FEAGlobals.FSBL.getFSBLInfo().then(({ sddEnabled }) => {
|
|
76
|
+
const error = lookForErrorInQueryString();
|
|
77
|
+
if (error) {
|
|
78
|
+
if (sddEnabled)
|
|
79
|
+
sendTestResponse(error);
|
|
80
|
+
setError(error);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
// store on Window so preloads/authentication has access to this info
|
|
84
|
+
window.authCompleted = false;
|
|
85
|
+
if (sddEnabled) {
|
|
86
|
+
sendTestResponse(null);
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
success(setError, handler);
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* A hook that can be used in an OAuth response page. This will process the identity provider's response
|
|
95
|
+
* which should be in the page's query string. If successful then Finsemble will be provided with the
|
|
96
|
+
* returned credentials and the page will be closed. If unsuccessful, then the error will be returned from
|
|
97
|
+
* the hook. The hook returns a cancel() function which can be used to discontinue upon an error.
|
|
98
|
+
*
|
|
99
|
+
* @param handler An optional handler which can run business logic on a successful OAuth transaction. This will
|
|
100
|
+
* run before the window closes. The first parameter will be the OAuth credentials. The second parameter is a
|
|
101
|
+
* callback function which must be run to close the OAuth response window.
|
|
102
|
+
*/
|
|
103
|
+
export const useOAuth = (handler) => {
|
|
104
|
+
const [error, setError] = useState("");
|
|
105
|
+
// Process the response (by examining the query string)
|
|
106
|
+
// Since this is asynchronous, we pass the setError() state dispatcher
|
|
107
|
+
// This only happens once
|
|
108
|
+
useEffect(() => {
|
|
109
|
+
processResponse(setError, handler);
|
|
110
|
+
}, []);
|
|
111
|
+
return {
|
|
112
|
+
error,
|
|
113
|
+
cancel,
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=useOAuth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOAuth.js","sourceRoot":"","sources":["../../../../src/ui/hooks/useOAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAIlD;;;;;GAKG;AACH,MAAM,MAAM,GAAG,GAAG,EAAE;IACnB,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE;QACvF,IAAI,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE;YACzB,UAAU,CAAC,IAAI,CAAC,mBAAmB,EAAE,CAAC;SACtC;aAAM;YACN,UAAU,CAAC,IAAI,CA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,EAAE;QACd,eAAe,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACpC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO;QACN,KAAK;QACL,MAAM;KACN,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -3,3 +3,4 @@ import { MutableRefObject } from "react";
|
|
|
3
3
|
* Hook that detects clicks outside of the passed ref and executes a function
|
|
4
4
|
*/
|
|
5
5
|
export declare const useOutsideClickDetector: (ref: MutableRefObject<null | HTMLDivElement>, fn: Function) => void;
|
|
6
|
+
//# sourceMappingURL=useOutsideClickDetector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOutsideClickDetector.d.ts","sourceRoot":"","sources":["../../../../src/ui/hooks/useOutsideClickDetector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAa,MAAM,OAAO,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,uBAAuB,QAAS,iBAAiB,IAAI,GAAG,cAAc,CAAC,MAAM,QAAQ,SAYjG,CAAC"}
|