@finsemble/finsemble-ui 1.0.0-beta-1 → 1.0.0-beta-3
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 +408 -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 +286 -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/actionIdMapper.d.ts +33 -0
- package/common/redux/actionIdMapper.d.ts.map +1 -0
- package/common/redux/actionIdMapper.js +72 -0
- package/common/redux/actionIdMapper.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 +736 -0
- package/main.d.ts.map +1 -0
- package/main.js +83 -0
- package/main.js.map +1 -0
- package/package.json +25 -91
- package/platform/services/Interop/AuthSignVerify.d.ts +57 -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/index.d.ts +3 -0
- package/platform/services/Interop/index.d.ts.map +1 -0
- package/platform/services/Interop/index.js +5 -0
- package/platform/services/Interop/index.js.map +1 -0
- package/platform/services/Interop/modules/authorize.d.ts +63 -0
- package/platform/services/Interop/modules/authorize.d.ts.map +1 -0
- package/platform/services/Interop/modules/authorize.js +132 -0
- package/platform/services/Interop/modules/authorize.js.map +1 -0
- package/platform/services/Interop/modules/commonUtils.d.ts +34 -0
- package/platform/services/Interop/modules/commonUtils.d.ts.map +1 -0
- package/platform/services/Interop/modules/commonUtils.js +80 -0
- package/platform/services/Interop/modules/commonUtils.js.map +1 -0
- package/platform/services/Interop/modules/index.d.ts +5 -0
- package/platform/services/Interop/modules/index.d.ts.map +1 -0
- package/platform/services/Interop/modules/index.js +9 -0
- package/platform/services/Interop/modules/index.js.map +1 -0
- package/platform/services/Interop/modules/linker.d.ts +70 -0
- package/platform/services/Interop/modules/linker.d.ts.map +1 -0
- package/platform/services/Interop/modules/linker.js +312 -0
- package/platform/services/Interop/modules/linker.js.map +1 -0
- package/platform/services/Interop/modules/resolver.d.ts +223 -0
- package/platform/services/Interop/modules/resolver.d.ts.map +1 -0
- package/platform/services/Interop/modules/resolver.js +2481 -0
- package/platform/services/Interop/modules/resolver.js.map +1 -0
- package/platform/services/Interop/modules/workspace.d.ts +22 -0
- package/platform/services/Interop/modules/workspace.d.ts.map +1 -0
- package/platform/services/Interop/modules/workspace.js +100 -0
- package/platform/services/Interop/modules/workspace.js.map +1 -0
- package/platform/services/Interop/selectConnect.d.ts +5 -0
- package/platform/services/Interop/selectConnect.d.ts.map +1 -0
- package/platform/services/Interop/selectConnect.js +160 -0
- package/platform/services/Interop/selectConnect.js.map +1 -0
- package/platform/services/Interop/types.d.ts +421 -0
- package/platform/services/Interop/types.d.ts.map +1 -0
- package/platform/services/Interop/types.js +12 -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/index.d.ts +6 -0
- package/platform/services/index.d.ts.map +1 -0
- package/platform/services/index.js +11 -0
- package/platform/services/index.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/index.d.ts +2 -0
- package/platform/services/notification/index.d.ts.map +1 -0
- package/platform/services/notification/index.js +3 -0
- package/platform/services/notification/index.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/index.d.ts +2 -0
- package/platform/services/search/index.d.ts.map +1 -0
- package/platform/services/search/index.js +3 -0
- package/platform/services/search/index.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/shutDownManager.d.ts +79 -0
- package/platform/services/systemManager/shutDownManager.d.ts.map +1 -0
- package/platform/services/systemManager/shutDownManager.js +253 -0
- package/platform/services/systemManager/shutDownManager.js.map +1 -0
- package/platform/services/systemManager/types.d.ts +46 -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 +2 -0
- package/platform/services/types.d.ts.map +1 -0
- package/platform/services/types.js +2 -0
- package/platform/services/types.js.map +1 -0
- package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +485 -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/index.d.ts +2 -0
- package/platform/services/window/index.d.ts.map +1 -0
- package/platform/services/window/index.js +3 -0
- package/platform/services/window/index.js.map +1 -0
- package/platform/services/window/types.d.ts +864 -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/index.d.ts +2 -0
- package/platform/services/workspace/index.d.ts.map +1 -0
- package/platform/services/workspace/index.js +3 -0
- package/platform/services/workspace/index.js.map +1 -0
- package/platform/services/workspace/types.d.ts +61 -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/windowStorageManager.d.ts +187 -0
- package/platform/services/workspace/windowStorageManager.d.ts.map +1 -0
- package/platform/services/workspace/windowStorageManager.js +195 -0
- package/platform/services/workspace/windowStorageManager.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/button.css +34 -6
- package/react/assets/css/contextMenu.css +118 -0
- package/react/assets/css/core/icons.css +1 -0
- 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 +56 -0
- package/react/assets/css/linkerWindow.css +1 -1
- package/react/assets/css/notificationsCenter.css +17 -215
- package/react/assets/css/userPreferences.css +2 -2
- package/react/assets/css/windowTitleBar.css +8 -2
- package/react/assets/css/windowTitleBar.lazy.css +4 -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 +14 -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 +14 -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 +6 -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 +10 -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 +1 -0
- package/react/components/common/Button.d.ts.map +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 +2 -1
- package/react/components/common/ButtonRow.d.ts.map +1 -0
- package/react/components/common/ButtonRow.js +4 -6
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/Checkbox.d.ts +4 -2
- package/react/components/common/Checkbox.d.ts.map +1 -0
- package/react/components/common/Checkbox.js +5 -21
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ContextMenu.d.ts +14 -0
- package/react/components/common/ContextMenu.d.ts.map +1 -0
- package/react/components/common/ContextMenu.js +69 -0
- package/react/components/common/ContextMenu.js.map +1 -0
- package/react/components/common/DropdownButton.d.ts +1 -4
- package/react/components/common/DropdownButton.d.ts.map +1 -0
- package/react/components/common/DropdownButton.js +39 -10
- 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 +0 -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 +1 -1
- 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 +17 -7
- package/react/components/common/css/application-edit-page.css +3 -4
- package/react/components/common/css/button.css +15 -21
- package/react/components/common/css/checkbox.css +60 -21
- package/react/components/common/css/icon.css +2 -2
- 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 -46
- 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 -3
- 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 +27 -8
- 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 +5 -1
- 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 +2 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.js +5 -4
- 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 +45 -21
- 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.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 +2 -1
- 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 +6 -5
- 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 +50 -45
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts +1 -0
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts.map +1 -0
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +29 -21
- 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 +2 -1
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +4 -3
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -0
- package/react/components/notifications/components/shared/NotificationCardShell.js +56 -49
- 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 +2 -3
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +6 -3
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js +95 -15
- 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 +9 -14
- 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 +165 -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 +9 -9
- 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 +5 -5
- 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 +6 -5
- 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.css +2 -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 +77 -0
- package/react/components/sdd/ThemePage.css +6 -0
- package/react/components/sdd/css/addApp.css +75 -6
- package/react/components/sdd/css/export.css +16 -0
- package/react/components/sdd/css/nav.css +52 -31
- 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 +9 -6
- 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 +1 -0
- package/react/components/toolbar/MinimizeAll.d.ts.map +1 -0
- 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 +1 -0
- package/react/components/toolbar/RevealAll.d.ts.map +1 -0
- 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 +5 -4
- 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/dashbar/Dashbar.d.ts +1 -0
- package/react/components/toolbar/dashbar/Dashbar.d.ts.map +1 -0
- package/react/components/toolbar/dashbar/Dashbar.js +25 -20
- 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 +1 -0
- package/react/components/toolbar/index.d.ts.map +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 +11 -2
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js +36 -1
- 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 +8 -9
- 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 +2 -0
- package/react/components/userPreferences/UserPreferences.d.ts.map +1 -0
- package/react/components/userPreferences/UserPreferences.js +3 -1
- 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 +11 -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 -58
- package/react/components/userPreferences/components/LeftNav.js.map +1 -1
- 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 +2 -1
- 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 +6 -3
- package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -0
- package/react/components/userPreferences/components/content/Workspaces.js +80 -52
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- 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/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 +3 -12
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +35 -55
- 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 +1 -0
- package/react/components/userPreferences/index.d.ts.map +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 +107 -30
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.js +328 -177
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/components/center/Tab.d.ts +1 -0
- package/react/components/windowTitleBar/components/center/Tab.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/center/Tab.js +3 -2
- package/react/components/windowTitleBar/components/center/Tab.js.map +1 -1
- package/react/components/windowTitleBar/components/center/TabList.d.ts +4 -2
- package/react/components/windowTitleBar/components/center/TabList.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/center/TabList.js +33 -29
- 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 +39 -28
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +26 -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 +24 -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 +17 -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 +1 -0
- package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/right/CloseButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +1 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +1 -7
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.js +7 -16
- package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +1 -0
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +1 -0
- 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 +29 -28
- 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 +43 -35
- 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 +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 +7 -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 -1
- 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 +22 -0
- package/types.d.ts.map +1 -0
- package/types.js +5 -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 -127
- 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/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 -41
- 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 -36
- 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/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/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/components/shared/OverflowMenu.d.ts +0 -16
- package/react/components/notifications/components/shared/OverflowMenu.js +0 -114
- package/react/components/notifications/components/shared/OverflowMenu.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/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 -170
- 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 -428
- package/react/components/sdd/AppEditPage.js.map +0 -1
- package/react/components/sdd/Appearance.d.ts +0 -30
- 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 -27
- package/react/components/sdd/AssetsPage.js +0 -56
- 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/GettingStarted.d.ts +0 -8
- package/react/components/sdd/GettingStarted.js +0 -25
- package/react/components/sdd/GettingStarted.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 -61
- 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 -142
- 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 -27
- package/react/components/sdd/Themes.js +0 -62
- 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 -205
- 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 -30
- package/react/components/sdd/fixtures/themeProps.js +0 -33
- 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 -87
- 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 -39
- 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 -40
- 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/GettingStarted.stories.d.ts +0 -11
- package/react/components/sdd/stories/GettingStarted.stories.js +0 -18
- package/react/components/sdd/stories/GettingStarted.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 -50
- 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 -53
- 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 -133
- 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 -1236
- 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 -115
- 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 -25
- 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 -286
- 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 -58
- 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 -40
- 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 -42
- 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
|
@@ -10,6 +10,7 @@ import { getStore, Actions as appLauncherActions } from "../stores/appLauncherSt
|
|
|
10
10
|
import { MenuItem } from "../../../menu/MenuItem";
|
|
11
11
|
import { FavoriteMaker } from "../../../favorites/FavoriteMaker";
|
|
12
12
|
import { useFavorites } from "../../../../hooks/useFavorites";
|
|
13
|
+
import { FEAGlobals } from "../../../../../common/Globals";
|
|
13
14
|
let appLauncherStore;
|
|
14
15
|
/**
|
|
15
16
|
* Handles deleting a component and removing it from favorites if necessary
|
|
@@ -53,7 +54,7 @@ export default class appLauncherContainer extends React.Component {
|
|
|
53
54
|
this.buildComponentItem = this.buildComponentItem.bind(this);
|
|
54
55
|
}
|
|
55
56
|
onComponentListUpdate(err, data) {
|
|
56
|
-
FSBL.Clients.Logger.system.debug("appLauncher onComponentListUpdate");
|
|
57
|
+
FEAGlobals.FSBL.Clients.Logger.system.debug("appLauncher onComponentListUpdate");
|
|
57
58
|
this.setState({
|
|
58
59
|
componentList: data.value,
|
|
59
60
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentList.js","sourceRoot":"","sources":["../../../../../src/components/toolbar/appLauncher/components/componentList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAK9D,IAAI,gBAAwC,CAAC;AAM7C;;;GAGG;AACH,MAAM,eAAe,GAAG,CAAC,EAAE,IAAI,EAAwB,EAAE,EAAE;IAC1D,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,YAAY,EAAE,CAAC;IACvD,MAAM,iBAAiB,GAAG,CAAC,CAAoC,EAAE,EAAE;QAClE,CAAC,CAAC,cAAc,EA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;QAC3F,yEAAyE;QACzE,MAAM,aAAa,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;YAC/C,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;YAC/C,MAAM,aAAa,GAAG,OAAO,CAAC,SAAS,IAAI,SAAS,CAAC,aAAa,CAAC,CAAC;YACpE,OAAO,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC;QAC3D,CAAC,CAAC,CAAC;QACH,OAAO,CACN,6BAAK,SAAS,EAAC,mBAAmB,IAChC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CACvB,aAAa,CACb,CAAC,CAAC,CAAC,CACH;YACE,GAAG;8HAGD,CACJ,CACI,CACN,CAAC;IACH,CAAC;IAED,MAAM;QACL,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,CAAC,CAAC,gCAAW,CAAC;IAC7E,CAAC;CACD","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\n/**\n * This is the list of all components in the appLauncher.\n */\nimport React from \"react\";\nimport { getStore, Actions as appLauncherActions } from \"../stores/appLauncherStore\";\nimport { MenuItem } from \"../../../menu/MenuItem\";\nimport { FavoriteMaker } from \"../../../favorites/FavoriteMaker\";\nimport { useFavorites } from \"../../../../hooks/useFavorites\";\nimport StoreModel from \"@finsemble/finsemble-api/types/clients/StoreModel\";\nimport { StandardError } from \"@finsemble/finsemble-api/types/types\";\nimport { WindowIdentifier } from \"@finsemble/finsemble-api\";\n\nlet appLauncherStore: StoreModel | undefined;\n\ntype DeleteComponentProps = {\n\tname: string;\n};\n\n/**\n * Handles deleting a component and removing it from favorites if necessary\n * @param {} props\n */\nconst DeleteComponent = ({ name }: DeleteComponentProps) => {\n\tconst { isFavorited, removeFavorite } = useFavorites();\n\tconst doDeleteComponent = (e: React.MouseEvent<HTMLSpanElement>) => {\n\t\te.preventDefault();\n\t\te.stopPropagation();\n\t\tappLauncherActions.handleRemoveCustomComponent(name, (wasDeleted: boolean) => {\n\t\t\tif (wasDeleted && isFavorited(name)) {\n\t\t\t\tremoveFavorite(name);\n\t\t\t}\n\t\t});\n\t};\n\treturn (\n\t\t<span onClick={doDeleteComponent} className=\"menu-item-icon\">\n\t\t\t<i className=\"ff-adp-trash-outline\" title=\"Delete\"></i>\n\t\t</span>\n\t);\n};\n\ntype AppLauncherContainerProps = {\n\tcomponentFilter?: string[];\n\tsuppressFavorites?: boolean;\n};\ntype ComponentDescriptor = Record<string, any>;\ntype ComponentList = Record<string, ComponentDescriptor>;\n\ninterface IState {\n\tcomponentList: ComponentList;\n\tfilteredListOfComponents: string[];\n}\n\nexport default class appLauncherContainer extends React.Component<AppLauncherContainerProps, IState> {\n\tconstructor(props: AppLauncherContainerProps) {\n\t\tsuper(props);\n\n\t\tthis.state = {\n\t\t\tcomponentList: {},\n\t\t\t// list of components to display instead of all components\n\t\t\tfilteredListOfComponents: props.componentFilter ?? [],\n\t\t};\n\t\tthis.bindCorrectContext();\n\t}\n\n\tcomponentDidUpdate(prevProps: AppLauncherContainerProps) {\n\t\tif (this.props.componentFilter !== prevProps.componentFilter) {\n\t\t\tthis.setState({\n\t\t\t\tfilteredListOfComponents: this.props.componentFilter ?? [],\n\t\t\t});\n\t\t}\n\t}\n\n\tbindCorrectContext() {\n\t\tthis.onComponentListUpdate = this.onComponentListUpdate.bind(this);\n\t\tthis.buildComponentItem = this.buildComponentItem.bind(this);\n\t}\n\n\tonComponentListUpdate(err: StandardError, data: { field: string; value: ComponentList }) {\n\t\tFSBL.Clients.Logger.system.debug(\"appLauncher onComponentListUpdate\");\n\t\tthis.setState({\n\t\t\tcomponentList: data.value,\n\t\t});\n\t}\n\n\tsetInitialState() {\n\t\tlet self = this;\n\t\tappLauncherStore?.getValue({ field: \"componentList\" }, (err: StandardError, data?: ComponentList) => {\n\t\t\tif (typeof data !== \"undefined\") {\n\t\t\t\tself.setState({\n\t\t\t\t\tcomponentList: data,\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t}\n\n\tcomponentDidMount() {\n\t\tappLauncherStore = getStore();\n\t\tthis.setInitialState();\n\t\tappLauncherStore?.addListener({ field: \"componentList\" }, this.onComponentListUpdate);\n\t}\n\n\tcomponentWillUnmount() {\n\t\tappLauncherStore?.removeListener({ field: \"componentList\" }, this.onComponentListUpdate);\n\t}\n\n\tlaunchComponent(component: any, params: any, cb?: (win?: WindowIdentifier) => void) {\n\t\t// If we are launching a group\n\t\tif (component.group) {\n\t\t\tfor (let i of Object.keys(component.list)) {\n\t\t\t\tconst cloneParams = Object.assign({}, params);\n\t\t\t\tconst c = component.list[i];\n\t\t\t\tif (c.component.windowGroup) {\n\t\t\t\t\tcloneParams.groupName = c.component.windowGroup;\n\t\t\t\t}\n\t\t\t\tappLauncherActions.launchComponent(component.list[i], params, cb);\n\t\t\t}\n\t\t} else {\n\t\t\tif (component.component.windowGroup) {\n\t\t\t\tparams.groupName = component.component.windowGroup;\n\t\t\t}\n\t\t\tappLauncherActions.launchComponent(component, params, cb);\n\t\t}\n\t}\n\n\tbuildComponentItem(params: { i: number; key: string; isUserDefined: boolean }) {\n\t\tconst { key, isUserDefined } = params;\n\t\tconst config = this.state.componentList?.[key];\n\t\tlet displayName = key;\n\n\t\t// If the app isn't launchable by the user, don't show it\n\t\tif (\n\t\t\t(!config ||\n\t\t\t\t!config.window ||\n\t\t\t\t!config.foreign ||\n\t\t\t\t!config.foreign.components ||\n\t\t\t\t!config.foreign.components[\"App Launcher\"] ||\n\t\t\t\t!config.foreign.components[\"App Launcher\"].launchableByUser) &&\n\t\t\t!config?.group\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If the app is temporary (actively being configured in the Smart Desktop Designer), don't show it\n\t\tif (config.appDConfig?.manifest?.temporary) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Component developers can define a display name that will show instead of the component's type.\n\t\tif (config.component && config.component.displayName) {\n\t\t\t({ displayName } = config.component);\n\t\t}\n\t\tconst iconDescriptor = config.icons.toolbarIcon;\n\t\treturn (\n\t\t\t<MenuItem key={key} onClick={() => this.launchComponent(config, {})} lang={config.appDConfig?.lang}>\n\t\t\t\t<div className=\"menu-item-row\">\n\t\t\t\t\t<span className=\"app-name\" title={displayName}>\n\t\t\t\t\t\t{displayName}\n\t\t\t\t\t</span>\n\t\t\t\t\t<span className=\"menu-item-row-push-right\">\n\t\t\t\t\t\t{isUserDefined && <DeleteComponent name={displayName} />}\n\t\t\t\t\t\t{!this.props.suppressFavorites && (\n\t\t\t\t\t\t\t<FavoriteMaker\n\t\t\t\t\t\t\t\tid={config?.component?.type}\n\t\t\t\t\t\t\t\tcategory=\"Application\"\n\t\t\t\t\t\t\t\tname={displayName}\n\t\t\t\t\t\t\t\ticon={iconDescriptor}\n\t\t\t\t\t\t\t\tclassName=\"menu-item-icon\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t</MenuItem>\n\t\t);\n\t}\n\n\trenderComponentsList() {\n\t\tconst { state } = this;\n\t\tconst components = Object.keys(state.componentList ?? {}).filter((componentType) => {\n\t\t\tif (state.filteredListOfComponents.length) {\n\t\t\t\treturn state.filteredListOfComponents.includes(componentType);\n\t\t\t}\n\t\t\treturn true;\n\t\t});\n\t\t// if this is greater than 0, we don't show a note telling the user to check their configs.\n\t\t// iterate through componentList and render a componentItem for each one.\n\t\tconst componentList = components.map((key, i) => {\n\t\t\tconst { component } = state.componentList[key];\n\t\t\tconst isUserDefined = Boolean(component && component.isUserDefined);\n\t\t\treturn this.buildComponentItem({ i, key, isUserDefined });\n\t\t});\n\t\treturn (\n\t\t\t<div className=\"app-launcher-list\">\n\t\t\t\t{componentList.length ? (\n\t\t\t\t\tcomponentList\n\t\t\t\t) : (\n\t\t\t\t\t<p>\n\t\t\t\t\t\t{\" \"}\n\t\t\t\t\t\tNo components loaded. Make sure to check ./src/components.json to make sure you've set everything up\n\t\t\t\t\t\tcorrectly.\n\t\t\t\t\t</p>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\trender() {\n\t\treturn this.state.componentList ? this.renderComponentsList() : <div></div>;\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"componentList.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/toolbar/appLauncher/components/componentList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAI9D,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D,IAAI,gBAAwC,CAAC;AAM7C;;;GAGG;AACH,MAAM,eAAe,GAAG,CAAC,EAAE,IAAI,EAAwB,EAAE,EAAE;IAC1D,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,YAAY,EAAE,CAAC;IACvD,MAAM,iBAAiB,GAAG,CAAC,CAAoC,EAAE,EAAE;QAClE,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,CAAC,CAAC,eAAe,EAAE,CAAC;QACpB,kBAAkB,CAAC,2BAA2B,CAAC,IAAI,EAAE,CAAC,UAAmB,EAAE,EAAE;YAC5E,IAAI,UAAU,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;gBACpC,cAAc,CAAC,IAAI,CAAC,CAAC;aACrB;QACF,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC;IACF,OAAO,CACN,8BAAM,OAAO,EAAE,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AC,kBAAkB,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC;QAC3D,CAAC,CAAC,CAAC;QACH,OAAO,CACN,6BAAK,SAAS,EAAC,mBAAmB,IAChC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CACvB,aAAa,CACb,CAAC,CAAC,CAAC,CACH;YACE,GAAG;8HAGD,CACJ,CACI,CACN,CAAC;IACH,CAAC;IAED,MAAM;QACL,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,CAAC,CAAC,gCAAW,CAAC;IAC7E,CAAC;CACD"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Copyright 2017 by ChartIQ, Inc.
|
|
3
3
|
* All rights reserved.
|
|
4
4
|
*/
|
|
5
|
-
import StoreModel from "
|
|
6
|
-
import { WindowIdentifier } from "
|
|
5
|
+
import { StoreModel } from "../../../../../clients/StoreModel";
|
|
6
|
+
import { WindowIdentifier } from "../../../../../platform/services/window/types";
|
|
7
7
|
declare let appLauncherStore: StoreModel | undefined;
|
|
8
8
|
declare type VoidCallback = () => void;
|
|
9
9
|
declare type ComponentDescriptor = Record<string, any>;
|
|
@@ -11,7 +11,7 @@ declare type ComponentList = Record<string, ComponentDescriptor>;
|
|
|
11
11
|
declare const Actions: {
|
|
12
12
|
componentList: ComponentList;
|
|
13
13
|
initialize: (cb: VoidCallback) => void;
|
|
14
|
-
getComponentList(cb?: VoidCallback
|
|
14
|
+
getComponentList(cb?: VoidCallback): void;
|
|
15
15
|
initializeComponentList(cb: VoidCallback): void;
|
|
16
16
|
getUserDefinedComponentList(cb: VoidCallback): void;
|
|
17
17
|
saveCustomComponents(): void;
|
|
@@ -26,7 +26,7 @@ declare const Actions: {
|
|
|
26
26
|
handleRemoveCustomComponent(componentName: string, cb?: (wasDeconsted: boolean) => void): void;
|
|
27
27
|
removeCustomComponent(componentName: string): void;
|
|
28
28
|
hideWindow(): void;
|
|
29
|
-
launchComponent(config: any, params: any, cb?: ((win?: WindowIdentifier
|
|
29
|
+
launchComponent(config: any, params: any, cb?: ((win?: WindowIdentifier) => void) | undefined): void;
|
|
30
30
|
};
|
|
31
31
|
declare function initialize(cb: (store?: StoreModel) => void): void;
|
|
32
32
|
declare const getStore: () => StoreModel | undefined;
|
|
@@ -42,3 +42,4 @@ declare class StoreManager {
|
|
|
42
42
|
}
|
|
43
43
|
declare const storeManager: StoreManager;
|
|
44
44
|
export { storeManager, initialize, appLauncherStore as Store, Actions, getStore };
|
|
45
|
+
//# sourceMappingURL=appLauncherStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appLauncherStore.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/toolbar/appLauncher/stores/appLauncherStore.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAG/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAIjF,QAAA,IAAI,gBAAgB,EAAE,UAAU,GAAG,SAAS,CAAC;AAE7C,aAAK,YAAY,GAAG,MAAM,IAAI,CAAC;AAC/B,aAAK,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAC/C,aAAK,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;AAEzD,QAAA,MAAM,OAAO;;qBAEc,YAAY;0BAiBhB,YAAY;gCAaN,YAAY;oCA2BR,YAAY;;IAmB5C;;;;;OAKG;8BACuB,GAAG,cAAc,aAAa,GAAG,aAAa;kCAgC3C,aAAa;+CAoBC,MAAM,sBAAsB,OAAO;yCAuBzC,MAAM;;4BAkBnB,GAAG,UAAU,GAAG,eAAc,gBAAgB,KAAK,IAAI;CA2B/E,CAAC;AAuBF,iBAAS,UAAU,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,QAUnD;AAuBD,QAAA,MAAM,QAAQ,8BAAyB,CAAC;AAExC,cAAM,YAAY;IACjB,WAAW,EAAE,OAAO,CAAC;IAErB,YAAY,EAAE,OAAO,CAAC;IAEtB,SAAS,EAAE,QAAQ,EAAE,CAAC;IAEtB,KAAK,EAAE,UAAU,GAAG,SAAS,GAAG,IAAI,CAAC;;IASrC,UAAU;IAUV,sBAAsB,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;IAKtD,yBAAyB,CAAC,EAAE,EAAE,QAAQ;CAGtC;AACD,QAAA,MAAM,YAAY,cAAqB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,IAAI,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
import async from "async";
|
|
6
|
+
import { FEAGlobals } from "../../../../../common/Globals";
|
|
6
7
|
let appLauncherStore;
|
|
7
8
|
let COMPONENT_UPDATE_CHANNEL;
|
|
8
9
|
const Actions = {
|
|
@@ -17,17 +18,17 @@ const Actions = {
|
|
|
17
18
|
if (err) {
|
|
18
19
|
console.error(err);
|
|
19
20
|
}
|
|
20
|
-
FSBL.Clients.Logger.system.debug("Actions.initialize done");
|
|
21
|
+
FEAGlobals.FSBL.Clients.Logger.system.debug("Actions.initialize done");
|
|
21
22
|
cb();
|
|
22
23
|
});
|
|
23
24
|
},
|
|
24
25
|
getComponentList(cb) {
|
|
25
|
-
FSBL.Clients.LauncherClient.getComponentList((err, response) => {
|
|
26
|
+
FEAGlobals.FSBL.Clients.LauncherClient.getComponentList((err, response) => {
|
|
26
27
|
if (typeof err === "string") {
|
|
27
28
|
throw new Error(err);
|
|
28
29
|
}
|
|
29
30
|
// Each AppLauncher
|
|
30
|
-
FSBL.Clients.Logger.system.debug("getComponentList from LauncherClient", response);
|
|
31
|
+
FEAGlobals.FSBL.Clients.Logger.system.debug("getComponentList from LauncherClient", response);
|
|
31
32
|
Actions.filterComponents(response);
|
|
32
33
|
if (cb) {
|
|
33
34
|
cb();
|
|
@@ -38,11 +39,11 @@ const Actions = {
|
|
|
38
39
|
const self = Actions;
|
|
39
40
|
let firstTime = true;
|
|
40
41
|
// When an app launcher button is clicked, it sends over the types of components that the app launcher can spawn. We assign that data to an object in the windowClient, and then use that to render the app launcher.
|
|
41
|
-
FSBL.Clients.RouterClient.subscribe(COMPONENT_UPDATE_CHANNEL, (_err, response) => {
|
|
42
|
-
if (!FSBL.Clients.WindowClient.options.customData.spawnData) {
|
|
43
|
-
FSBL.Clients.WindowClient.options.customData.spawnData = {};
|
|
42
|
+
FEAGlobals.FSBL.Clients.RouterClient.subscribe(COMPONENT_UPDATE_CHANNEL, (_err, response) => {
|
|
43
|
+
if (!FEAGlobals.FSBL.Clients.WindowClient.options.customData.spawnData) {
|
|
44
|
+
FEAGlobals.FSBL.Clients.WindowClient.options.customData.spawnData = {};
|
|
44
45
|
}
|
|
45
|
-
Object.assign(FSBL.Clients.WindowClient.options.customData.spawnData, response.data);
|
|
46
|
+
Object.assign(FEAGlobals.FSBL.Clients.WindowClient.options.customData.spawnData, response.data);
|
|
46
47
|
if (firstTime) {
|
|
47
48
|
// only update component list the first time to eliminate re-rendering the menu
|
|
48
49
|
Actions.getComponentList(cb);
|
|
@@ -50,8 +51,8 @@ const Actions = {
|
|
|
50
51
|
}
|
|
51
52
|
});
|
|
52
53
|
// Whenever we add or remove a component, this event is fired. We get a list of all components, then filter it out to include only the ones that this particular launcher is capable of spawning.
|
|
53
|
-
FSBL.Clients.RouterClient.subscribe("Launcher.update", (err, response) => {
|
|
54
|
-
FSBL.Clients.Logger.system.debug("list updated", err, response);
|
|
54
|
+
FEAGlobals.FSBL.Clients.RouterClient.subscribe("Launcher.update", (err, response) => {
|
|
55
|
+
FEAGlobals.FSBL.Clients.Logger.system.debug("list updated", err, response);
|
|
55
56
|
if (err) {
|
|
56
57
|
return console.error(err);
|
|
57
58
|
}
|
|
@@ -72,7 +73,7 @@ const Actions = {
|
|
|
72
73
|
UDCs[config.component.type] = config;
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
|
-
FSBL.Clients.StorageClient.save({
|
|
76
|
+
FEAGlobals.FSBL.Clients.StorageClient.save({
|
|
76
77
|
topic: "finsemble",
|
|
77
78
|
key: "userDefinedComponents",
|
|
78
79
|
value: UDCs,
|
|
@@ -115,9 +116,9 @@ const Actions = {
|
|
|
115
116
|
// Custom Components are always shown
|
|
116
117
|
filterComponents(components = {}) {
|
|
117
118
|
var _a;
|
|
118
|
-
const settings = (_a = FSBL.Clients.WindowClient.getSpawnData()) !== null && _a !== void 0 ? _a : {};
|
|
119
|
+
const settings = (_a = FEAGlobals.FSBL.Clients.WindowClient.getSpawnData()) !== null && _a !== void 0 ? _a : {};
|
|
119
120
|
this.componentList = settings.mode || settings.list ? this.processSettings(settings, components) : components;
|
|
120
|
-
FSBL.Clients.Logger.system.debug("appLauncher filterComponents", this.componentList, "settings", settings, "customData", FSBL.Clients.WindowClient.options.customData);
|
|
121
|
+
FEAGlobals.FSBL.Clients.Logger.system.debug("appLauncher filterComponents", this.componentList, "settings", settings, "customData", FEAGlobals.FSBL.Clients.WindowClient.options.customData);
|
|
121
122
|
appLauncherStore === null || appLauncherStore === void 0 ? void 0 : appLauncherStore.setValue({
|
|
122
123
|
field: "componentList",
|
|
123
124
|
value: this.componentList,
|
|
@@ -128,7 +129,7 @@ const Actions = {
|
|
|
128
129
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
129
130
|
handleRemoveCustomComponent(componentName, cb = (wasDeconsted) => { }) {
|
|
130
131
|
const self = this;
|
|
131
|
-
FSBL.Clients.DialogManager.open("
|
|
132
|
+
FEAGlobals.FSBL.Clients.DialogManager.open("YesNoDialog", {
|
|
132
133
|
title: "Delete this App?",
|
|
133
134
|
question: `Are you sure you would like to delete "${componentName}"?`,
|
|
134
135
|
affirmativeResponseLabel: "Delete",
|
|
@@ -147,7 +148,7 @@ const Actions = {
|
|
|
147
148
|
},
|
|
148
149
|
// Remove the component, notify others.
|
|
149
150
|
removeCustomComponent(componentName) {
|
|
150
|
-
FSBL.Clients.LauncherClient.removeUserDefinedComponent({
|
|
151
|
+
FEAGlobals.FSBL.Clients.LauncherClient.removeUserDefinedComponent({
|
|
151
152
|
name: componentName,
|
|
152
153
|
}, (err) => {
|
|
153
154
|
if (err) {
|
|
@@ -158,7 +159,7 @@ const Actions = {
|
|
|
158
159
|
},
|
|
159
160
|
// Hide the window.
|
|
160
161
|
hideWindow() {
|
|
161
|
-
finsembleWindow.hide();
|
|
162
|
+
FEAGlobals.finsembleWindow.hide();
|
|
162
163
|
},
|
|
163
164
|
// Spawn a component.
|
|
164
165
|
launchComponent(config, params, cb) {
|
|
@@ -178,7 +179,7 @@ const Actions = {
|
|
|
178
179
|
if (config.component.windowGroup) {
|
|
179
180
|
params.groupName = config.component.windowGroup;
|
|
180
181
|
}
|
|
181
|
-
FSBL.Clients.LauncherClient.spawn(config.component.type, params, (_err, windowInfo) => {
|
|
182
|
+
FEAGlobals.FSBL.Clients.LauncherClient.spawn(config.component.type, params, (_err, windowInfo) => {
|
|
182
183
|
if (cb) {
|
|
183
184
|
cb(windowInfo === null || windowInfo === void 0 ? void 0 : windowInfo.windowIdentifier);
|
|
184
185
|
}
|
|
@@ -190,39 +191,39 @@ function createLocalStore(done) {
|
|
|
190
191
|
componentList: {},
|
|
191
192
|
monitorDimensions: {},
|
|
192
193
|
};
|
|
193
|
-
FSBL.Clients.DistributedStoreClient.createStore({ store: "Finsemble-AppLauncher-Local-Store", values: defaultData }, (_err, store) => {
|
|
194
|
+
FEAGlobals.FSBL.Clients.DistributedStoreClient.createStore({ store: "Finsemble-AppLauncher-Local-Store", values: defaultData }, (_err, store) => {
|
|
194
195
|
appLauncherStore = store;
|
|
195
196
|
done();
|
|
196
197
|
});
|
|
197
198
|
}
|
|
198
199
|
function getWindowGroupStore(done) {
|
|
199
|
-
FSBL.Clients.DistributedStoreClient.createStore({ global: true, store: "Finsemble-WindowGroups" }, () => {
|
|
200
|
+
FEAGlobals.FSBL.Clients.DistributedStoreClient.createStore({ global: true, store: "Finsemble-WindowGroups" }, () => {
|
|
200
201
|
done();
|
|
201
202
|
});
|
|
202
203
|
}
|
|
203
204
|
function initialize(cb) {
|
|
204
|
-
COMPONENT_UPDATE_CHANNEL = `${finsembleWindow.name}.ComponentsToRender`;
|
|
205
|
-
FSBL.Clients.RouterClient.addPubSubResponder(COMPONENT_UPDATE_CHANNEL, {});
|
|
205
|
+
COMPONENT_UPDATE_CHANNEL = `${FEAGlobals.finsembleWindow.name}.ComponentsToRender`;
|
|
206
|
+
FEAGlobals.FSBL.Clients.RouterClient.addPubSubResponder(COMPONENT_UPDATE_CHANNEL, {});
|
|
206
207
|
async.parallel([createLocalStore, getWindowGroupStore, Actions.initialize], (err) => {
|
|
207
208
|
if (err) {
|
|
208
209
|
console.error(err);
|
|
209
210
|
}
|
|
210
|
-
FSBL.Clients.Logger.system.debug("appLauncherstore init done");
|
|
211
|
+
FEAGlobals.FSBL.Clients.Logger.system.debug("appLauncherstore init done");
|
|
211
212
|
cb(appLauncherStore);
|
|
212
213
|
});
|
|
213
214
|
}
|
|
214
215
|
const keys = {};
|
|
215
216
|
function setupHotkeys(cb) {
|
|
216
|
-
FSBL.Clients.RouterClient.subscribe("humanInterface.keydown", (_err, response) => {
|
|
217
|
+
FEAGlobals.FSBL.Clients.RouterClient.subscribe("humanInterface.keydown", (_err, response) => {
|
|
217
218
|
if (!keys[response.data.key]) {
|
|
218
219
|
keys[response.data.key] = {};
|
|
219
220
|
}
|
|
220
221
|
keys[response.data.key] = true;
|
|
221
222
|
if (keys[160] && keys[162] && keys[68] && Actions.componentList["Advanced Chart"]) {
|
|
222
|
-
FSBL.Clients.LauncherClient.spawn("Advanced Chart", { addToWorkspace: true, monitor: "mine" });
|
|
223
|
+
FEAGlobals.FSBL.Clients.LauncherClient.spawn("Advanced Chart", { addToWorkspace: true, monitor: "mine" });
|
|
223
224
|
}
|
|
224
225
|
});
|
|
225
|
-
FSBL.Clients.RouterClient.subscribe("humanInterface.keyup", (_err, response) => {
|
|
226
|
+
FEAGlobals.FSBL.Clients.RouterClient.subscribe("humanInterface.keyup", (_err, response) => {
|
|
226
227
|
if (!keys[response.data.key]) {
|
|
227
228
|
keys[response.data.key] = {};
|
|
228
229
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appLauncherStore.js","sourceRoot":"","sources":["../../../../../src/components/toolbar/appLauncher/stores/appLauncherStore.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,IAAI,gBAAwC,CAAC;AAC7C,IAAI,wBAAgC,CAAC;AAKrC,MAAM,OAAO,GAAG;IACf,aAAa,EAAE,EAAmB;IAClC,UAAU,EAAE,UAAU,EAAgB;QACrC,KAAK,CAAC,QAAQ,CACb;YACC,OAAO,CAAC,uBAAuB;YAC/B,OAAO,CAAC,2BAA2B;YACnC,mEAAmE;YACnE,YAAY;SACZ,EACD,CAAC,GAAG,EAAE,EAAE;YACP,IAAI,GAAG,EAAE;gBACR,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;aACnB;YACD,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;YAC5D,EAAE,EAAE,CAAC;QACN,CAAC,CACD,CAAC;IACH,CAAC;IACD,gBAAgB,CAAC,EAAiB;QACjC,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,GAAkB,EAAE,QAAQ,EAAE,EAAE;YAC7E,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;gBAC5B,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;aACrB;YACD,mBAAmB;YACnB,IAAI,CAAC,OAAO,CAAC,MAAM,CA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ACzB,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC1B,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,UAAU;QACT,IAAI,IAAI,CAAC,YAAY;YAAE,OAAO;QAC9B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,UAAU,CAAC,CAAC,KAAkB,EAAE,EAAE;YACjC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;YACxB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACJ,CAAC;IAED,sBAAsB,CAAC,EAA+B;QACrD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,KAAK;YAAE,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1D,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACzB,CAAC;IAED,yBAAyB,CAAC,EAAY;QACrC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC;IACjE,CAAC;CACD;AACD,MAAM,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,IAAI,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\n\nimport StoreModel from \"@finsemble/finsemble-api/types/clients/StoreModel\";\nimport { SpawnResponse } from \"@finsemble/finsemble-api/types/clients/launcherClient\";\nimport { StandardError } from \"@finsemble/finsemble-api/types/types\";\nimport async from \"async\";\nimport { WindowIdentifier } from \"@finsemble/finsemble-api\";\nlet appLauncherStore: StoreModel | undefined;\nlet COMPONENT_UPDATE_CHANNEL: string;\ntype VoidCallback = () => void;\ntype ComponentDescriptor = Record<string, any>;\ntype ComponentList = Record<string, ComponentDescriptor>;\n\nconst Actions = {\n\tcomponentList: {} as ComponentList,\n\tinitialize: function (cb: VoidCallback) {\n\t\tasync.parallel(\n\t\t\t[\n\t\t\t\tActions.initializeComponentList,\n\t\t\t\tActions.getUserDefinedComponentList,\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\t\t\tsetupHotkeys,\n\t\t\t],\n\t\t\t(err) => {\n\t\t\t\tif (err) {\n\t\t\t\t\tconsole.error(err);\n\t\t\t\t}\n\t\t\t\tFSBL.Clients.Logger.system.debug(\"Actions.initialize done\");\n\t\t\t\tcb();\n\t\t\t}\n\t\t);\n\t},\n\tgetComponentList(cb?: VoidCallback) {\n\t\tFSBL.Clients.LauncherClient.getComponentList((err: StandardError, response) => {\n\t\t\tif (typeof err === \"string\") {\n\t\t\t\tthrow new Error(err);\n\t\t\t}\n\t\t\t// Each AppLauncher\n\t\t\tFSBL.Clients.Logger.system.debug(\"getComponentList from LauncherClient\", response);\n\t\t\tActions.filterComponents(response);\n\t\t\tif (cb) {\n\t\t\t\tcb();\n\t\t\t}\n\t\t});\n\t},\n\tinitializeComponentList(cb: VoidCallback) {\n\t\tconst self = Actions;\n\t\tlet firstTime = true;\n\n\t\t// When an app launcher button is clicked, it sends over the types of components that the app launcher can spawn. We assign that data to an object in the windowClient, and then use that to render the app launcher.\n\t\tFSBL.Clients.RouterClient.subscribe(COMPONENT_UPDATE_CHANNEL, (_err, response) => {\n\t\t\tif (!FSBL.Clients.WindowClient.options.customData.spawnData) {\n\t\t\t\tFSBL.Clients.WindowClient.options.customData.spawnData = {};\n\t\t\t}\n\t\t\tObject.assign(FSBL.Clients.WindowClient.options.customData.spawnData, response.data);\n\t\t\tif (firstTime) {\n\t\t\t\t// only update component list the first time to eliminate re-rendering the menu\n\t\t\t\tActions.getComponentList(cb);\n\t\t\t\tfirstTime = false;\n\t\t\t}\n\t\t});\n\n\t\t// Whenever we add or remove a component, this event is fired. We get a list of all components, then filter it out to include only the ones that this particular launcher is capable of spawning.\n\t\tFSBL.Clients.RouterClient.subscribe(\"Launcher.update\", (err, response) => {\n\t\t\tFSBL.Clients.Logger.system.debug(\"list updated\", err, response);\n\t\t\tif (err) {\n\t\t\t\treturn console.error(err);\n\t\t\t}\n\t\t\tself.filterComponents(response.data.componentList);\n\t\t});\n\t},\n\t// get quick components that the user created from storage.\n\tgetUserDefinedComponentList(cb: VoidCallback) {\n\t\treturn cb();\n\t},\n\t// saves quick components\n\tsaveCustomComponents() {\n\t\tconst UDCs: { [key: string]: any } = {};\n\t\tconst components = Object.keys(Actions.componentList);\n\t\tfor (let i = 0; i < components.length; i++) {\n\t\t\tconst config = Actions.componentList[components[i]];\n\t\t\tif (config.component && config.component.isUserDefined) {\n\t\t\t\tUDCs[config.component.type] = config;\n\t\t\t}\n\t\t}\n\t\tFSBL.Clients.StorageClient.save({\n\t\t\ttopic: \"finsemble\",\n\t\t\tkey: \"userDefinedComponents\",\n\t\t\tvalue: UDCs,\n\t\t});\n\t},\n\t/**\n\t * Produce a filtered component list based on the settings for this menu (either \"mode\" or \"list\").\n\t *\n\t * Components will only be added to the returned list if they match the specified mode or\n\t * are found in the specified list\n\t */\n\tprocessSettings(settings: any, components: ComponentList): ComponentList {\n\t\tlet componentList: ComponentList = {};\n\t\tconst keys = Object.keys(components);\n\t\tif (settings.mode) {\n\t\t\tconst settingsMode = Array.isArray(settings.mode) ? settings.mode : [settings.mode];\n\n\t\t\tkeys.forEach((componentType) => {\n\t\t\t\tconst config = components[componentType];\n\t\t\t\tconst mode = config?.component?.mode || [\"\"];\n\t\t\t\tconst coponentMode = Array.isArray(mode) ? mode : [mode];\n\n\t\t\t\tconst commonModes = coponentMode.filter((n: ComponentDescriptor) => settingsMode.indexOf(n) !== -1);\n\n\t\t\t\t// If the current mode isn't in the list of modes for the component then don't include it in our list\n\t\t\t\tif (commonModes.length) {\n\t\t\t\t\tcomponentList[componentType] = components[componentType];\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tif (settings.list) {\n\t\t\tconst commonItems = settings.list.filter((n: any) => keys.indexOf(n) !== -1);\n\n\t\t\tfor (let i = 0; i < commonItems.length; i++) {\n\t\t\t\tcomponentList[commonItems[i]] = components[commonItems[i]];\n\t\t\t}\n\t\t}\n\t\treturn componentList;\n\t},\n\t// This filters components based on the mode and list settings in customData\n\t// Available settings are list - where you list specific individual component Types, mode - which piggybacks on config.mode and lists all components where the mode matches\n\t// If neither mode not list are set, all components are shown\n\t// Custom Components are always shown\n\tfilterComponents(components: ComponentList = {}) {\n\t\tconst settings = FSBL.Clients.WindowClient.getSpawnData() ?? {};\n\t\tthis.componentList = settings.mode || settings.list ? this.processSettings(settings, components) : components;\n\n\t\tFSBL.Clients.Logger.system.debug(\n\t\t\t\"appLauncher filterComponents\",\n\t\t\tthis.componentList,\n\t\t\t\"settings\",\n\t\t\tsettings,\n\t\t\t\"customData\",\n\t\t\tFSBL.Clients.WindowClient.options.customData\n\t\t);\n\t\tappLauncherStore?.setValue({\n\t\t\tfield: \"componentList\",\n\t\t\tvalue: this.componentList,\n\t\t});\n\t\tthis.saveCustomComponents();\n\t},\n\t// Handler for when the user wants to remove a quick component.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\thandleRemoveCustomComponent(componentName: string, cb = (wasDeconsted: boolean) => {}) {\n\t\tconst self = this;\n\t\tFSBL.Clients.DialogManager.open(\n\t\t\t\"yesNo\",\n\t\t\t{\n\t\t\t\ttitle: \"Delete this App?\",\n\t\t\t\tquestion: `Are you sure you would like to delete \"${componentName}\"?`,\n\t\t\t\taffirmativeResponseLabel: \"Delete\",\n\t\t\t\tshowNegativeButton: false,\n\t\t\t},\n\t\t\t(err, response) => {\n\t\t\t\t// If the user chooses \"affirmative\" then delete the component.\n\t\t\t\t// We should never get an error, but if we do then go ahead and delete the component too.\n\t\t\t\tif (err || response.choice === \"affirmative\") {\n\t\t\t\t\tcb(true);\n\t\t\t\t\tself.removeCustomComponent(componentName);\n\t\t\t\t} else {\n\t\t\t\t\tcb(false);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t},\n\t// Remove the component, notify others.\n\tremoveCustomComponent(componentName: string) {\n\t\tFSBL.Clients.LauncherClient.removeUserDefinedComponent(\n\t\t\t{\n\t\t\t\tname: componentName,\n\t\t\t},\n\t\t\t(err) => {\n\t\t\t\tif (err) {\n\t\t\t\t\treturn console.error(err);\n\t\t\t\t}\n\t\t\t\tActions.getComponentList();\n\t\t\t}\n\t\t);\n\t},\n\t// Hide the window.\n\thideWindow() {\n\t\tfinsembleWindow.hide();\n\t},\n\t// Spawn a component.\n\tlaunchComponent(config: any, params: any, cb?: (win?: WindowIdentifier) => void) {\n\t\t// Actions.hideWindow();\n\t\tconst defaultParams = {\n\t\t\taddToWorkspace: true,\n\t\t\tmonitor: \"mine\",\n\t\t\toptions: { customData: {} },\n\t\t};\n\t\tparams = Object.assign(defaultParams, params);\n\t\tif (!params.options.customData) {\n\t\t\tparams.options.customData = {};\n\t\t}\n\t\tif (!params.options.customData.component) {\n\t\t\tparams.options.customData.component = {};\n\t\t}\n\t\tif (config.component.windowGroup) {\n\t\t\tparams.groupName = config.component.windowGroup;\n\t\t}\n\t\tFSBL.Clients.LauncherClient.spawn(\n\t\t\tconfig.component.type,\n\t\t\tparams,\n\t\t\t(_err: StandardError, windowInfo?: SpawnResponse) => {\n\t\t\t\tif (cb) {\n\t\t\t\t\tcb(windowInfo?.windowIdentifier);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t},\n};\n\nfunction createLocalStore(done: VoidCallback) {\n\tconst defaultData = {\n\t\tcomponentList: {},\n\t\tmonitorDimensions: {},\n\t};\n\n\tFSBL.Clients.DistributedStoreClient.createStore(\n\t\t{ store: \"Finsemble-AppLauncher-Local-Store\", values: defaultData },\n\t\t(_err, store) => {\n\t\t\tappLauncherStore = store;\n\t\t\tdone();\n\t\t}\n\t);\n}\n\nfunction getWindowGroupStore(done: VoidCallback) {\n\tFSBL.Clients.DistributedStoreClient.createStore({ global: true, store: \"Finsemble-WindowGroups\" }, () => {\n\t\tdone();\n\t});\n}\n\nfunction initialize(cb: (store?: StoreModel) => void) {\n\tCOMPONENT_UPDATE_CHANNEL = `${finsembleWindow.name}.ComponentsToRender`;\n\tFSBL.Clients.RouterClient.addPubSubResponder(COMPONENT_UPDATE_CHANNEL, {});\n\tasync.parallel([createLocalStore, getWindowGroupStore, Actions.initialize], (err) => {\n\t\tif (err) {\n\t\t\tconsole.error(err);\n\t\t}\n\t\tFSBL.Clients.Logger.system.debug(\"appLauncherstore init done\");\n\t\tcb(appLauncherStore);\n\t});\n}\n\nconst keys: { [key: string]: any } = {};\nfunction setupHotkeys(cb: VoidCallback) {\n\tFSBL.Clients.RouterClient.subscribe(\"humanInterface.keydown\", (_err, response) => {\n\t\tif (!keys[response.data.key]) {\n\t\t\tkeys[response.data.key] = {};\n\t\t}\n\t\tkeys[response.data.key] = true;\n\t\tif (keys[160] && keys[162] && keys[68] && Actions.componentList[\"Advanced Chart\"]) {\n\t\t\tFSBL.Clients.LauncherClient.spawn(\"Advanced Chart\", { addToWorkspace: true, monitor: \"mine\" });\n\t\t}\n\t});\n\tFSBL.Clients.RouterClient.subscribe(\"humanInterface.keyup\", (_err, response) => {\n\t\tif (!keys[response.data.key]) {\n\t\t\tkeys[response.data.key] = {};\n\t\t}\n\t\tkeys[response.data.key] = false;\n\t});\n\n\treturn cb();\n}\n\nconst getStore = () => appLauncherStore;\n\nclass StoreManager {\n\tinitialized: boolean;\n\n\tinitializing: boolean;\n\n\tcallbacks: Function[];\n\n\tstore: StoreModel | undefined | null;\n\n\tconstructor() {\n\t\tthis.initialized = false;\n\t\tthis.initializing = false;\n\t\tthis.callbacks = [];\n\t\tthis.store = null;\n\t}\n\n\tinitialize() {\n\t\tif (this.initializing) return;\n\t\tthis.initializing = true;\n\t\tinitialize((store?: StoreModel) => {\n\t\t\tthis.initialized = true;\n\t\t\tthis.store = store;\n\t\t\tthis.callbacks.forEach((cb) => cb(store));\n\t\t});\n\t}\n\n\taddInitializedListener(cb: (store: StoreModel) => void) {\n\t\tif (this.initialized && this.store) return cb(this.store);\n\t\tthis.callbacks.push(cb);\n\t}\n\n\tremoveInitializedListener(cb: Function) {\n\t\tthis.callbacks = this.callbacks.filter((entry) => entry !== cb);\n\t}\n}\nconst storeManager = new StoreManager();\n\nexport { storeManager, initialize, appLauncherStore as Store, Actions, getStore };\n"]}
|
|
1
|
+
{"version":3,"file":"appLauncherStore.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/toolbar/appLauncher/stores/appLauncherStore.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D,IAAI,gBAAwC,CAAC;AAC7C,IAAI,wBAAgC,CAAC;AAKrC,MAAM,OAAO,GAAG;IACf,aAAa,EAAE,EAAmB;IAClC,UAAU,EAAE,UAAU,EAAgB;QACrC,KAAK,CAAC,QAAQ,CACb;YACC,OAAO,CAAC,uBAAuB;YAC/B,OAAO,CAAC,2BAA2B;YACnC,mEAAmE;YACnE,YAAY;SACZ,EACD,CAAC,GAAG,EAAE,EAAE;YACP,IAAI,GAAG,EAAE;gBACR,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;aACnB;YACD,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;YACvE,EAAE,EAAE,CAAC;QACN,CAAC,CACD,CAAC;IACH,CAAC;IACD,gBAAgB,CAAC,EAAiB;QACjC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,GAAkB,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C,SAAS,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC;IACjE,CAAC;CACD;AACD,MAAM,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,IAAI,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dashbar.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/toolbar/dashbar/Dashbar.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,IAAI,WAAW,EAA+C,MAAM,6BAA6B,CAAC;AAKlH,OAAO,iCAAiC,CAAC;AAUzC,eAAO,MAAM,OAAO,kDAAmD,WAAW,uBA6bjF,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { useToolbar } from "../../../hooks/useToolbar";
|
|
|
5
5
|
import { FinsembleDnDContext, AllowableDnDAxis } from "../../legacyControls/FinsembleDnDContext";
|
|
6
6
|
import clone from "lodash/cloneDeep";
|
|
7
7
|
import "../../../assets/css/dashbar.css";
|
|
8
|
+
import { FEAGlobals } from "../../../../common/Globals";
|
|
8
9
|
let cachedWidgetTop;
|
|
9
10
|
let cachedWidgetHeight;
|
|
10
11
|
export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
@@ -16,6 +17,7 @@ export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
|
16
17
|
const [totalWidgetsWidth, setTotalWidgetsWidth] = useState(0);
|
|
17
18
|
const [isUpdatingState, setIsUpdatingState] = useState(false);
|
|
18
19
|
const [secondUpdateRequired, setSecondUpdateRequired] = useState(false);
|
|
20
|
+
const [allowHorizontalScroll, setAllowHorizontalScroll] = useState(true);
|
|
19
21
|
let movingIndex = null; // The dashbarItem index being dragged, null if none
|
|
20
22
|
let titleGrabPosition = null; // The mouse of event when a widget title is dragged
|
|
21
23
|
let offsetX = null; // The original grab location of a given view titlebar
|
|
@@ -24,7 +26,7 @@ export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
|
24
26
|
const defaultWidgetTitleGenerator = (widget, titleRef) => {
|
|
25
27
|
const handleWidgetTitleClick = () => {
|
|
26
28
|
if (widget.raiseIntentOptions) {
|
|
27
|
-
fdc3.raiseIntent(widget.raiseIntentOptions.intent, widget.raiseIntentOptions.context, widget.raiseIntentOptions.targetApp);
|
|
29
|
+
window.fdc3.raiseIntent(widget.raiseIntentOptions.intent, widget.raiseIntentOptions.context, widget.raiseIntentOptions.targetApp);
|
|
28
30
|
}
|
|
29
31
|
};
|
|
30
32
|
return (React.createElement("div", { ref: titleRef, onClick: () => handleWidgetTitleClick() },
|
|
@@ -48,12 +50,12 @@ export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
|
48
50
|
const launchDashbar = () => {
|
|
49
51
|
launchPreferences("Dashbar");
|
|
50
52
|
};
|
|
51
|
-
const { dashbar } = FSBL.Clients.WindowClient.getSpawnData();
|
|
53
|
+
const { dashbar } = FEAGlobals.FSBL.Clients.WindowClient.getSpawnData();
|
|
52
54
|
// Dashbar is disabled (no config in toolbar) or dashbar height is not specified
|
|
53
55
|
if (!dashbar || !dashbar.height) {
|
|
54
56
|
return null;
|
|
55
57
|
}
|
|
56
|
-
const toolbarHeight = finsembleWindow.windowOptions.height;
|
|
58
|
+
const toolbarHeight = FEAGlobals.finsembleWindow.windowOptions.height;
|
|
57
59
|
const dashbarHeight = `${dashbar.height}px`;
|
|
58
60
|
const verticalBounds = toolbarHeight - dashbar.height;
|
|
59
61
|
const widgetDividerWidth = dashbar.widgetDividerWidth || 0;
|
|
@@ -70,17 +72,24 @@ export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
|
70
72
|
// For calculation widgets position that function uses the HTML elements.
|
|
71
73
|
// If something will be changed in HTML hierarchy for widgets, that function should be refactored.
|
|
72
74
|
const setWidgetsPositions = async () => {
|
|
73
|
-
var _a;
|
|
74
|
-
const { data: bounds } = await finsembleWindow.getBounds();
|
|
75
|
-
const
|
|
75
|
+
var _a, _b;
|
|
76
|
+
const { data: bounds } = await FEAGlobals.finsembleWindow.getBounds();
|
|
77
|
+
const widgetsWidth = getTotalWidth();
|
|
78
|
+
const scrollButtonsEnabled = widgetsWidth >= ((_a = bounds === null || bounds === void 0 ? void 0 : bounds.width) !== null && _a !== void 0 ? _a : 0);
|
|
79
|
+
// show or hide scroll buttons based on widgets size and window width
|
|
80
|
+
if (allowHorizontalScroll != scrollButtonsEnabled) {
|
|
81
|
+
setAllowHorizontalScroll(scrollButtonsEnabled);
|
|
82
|
+
}
|
|
76
83
|
const elements = document.getElementsByClassName("finsemble-dashbar-item");
|
|
77
|
-
let toolbarWidth = (
|
|
84
|
+
let toolbarWidth = (_b = bounds === null || bounds === void 0 ? void 0 : bounds.width) !== null && _b !== void 0 ? _b : 0;
|
|
78
85
|
let SCROLL_BUTTON_WIDTH = SCROLL_BUTTON_DEFAULT_WIDTH;
|
|
79
86
|
if (scrollButtonsEnabled) {
|
|
80
87
|
// Get actual width in case of client styling
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
88
|
+
const chevrons = document.querySelectorAll("#dashbar-container > .chevron-container");
|
|
89
|
+
if (chevrons.length > 0) {
|
|
90
|
+
SCROLL_BUTTON_WIDTH = chevrons[0].offsetWidth;
|
|
91
|
+
toolbarWidth = toolbarWidth - 2 * SCROLL_BUTTON_WIDTH;
|
|
92
|
+
}
|
|
84
93
|
}
|
|
85
94
|
let tempLeft = 0;
|
|
86
95
|
let leftButtonSize = 0;
|
|
@@ -111,14 +120,9 @@ export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
|
111
120
|
}
|
|
112
121
|
let offsetRight = rect.left + rect.width - widgetDividerWidth - leftButtonSize - toolbarWidth;
|
|
113
122
|
if (offsetRight > 0) {
|
|
114
|
-
// hide title for invisible items
|
|
115
|
-
dashbarItemFrame.firstChild.style.visibility = "hidden";
|
|
116
123
|
widget.bounds.width = 0;
|
|
117
124
|
rightItemsCount++;
|
|
118
125
|
}
|
|
119
|
-
else {
|
|
120
|
-
dashbarItemFrame.firstChild.style.visibility = "visible";
|
|
121
|
-
}
|
|
122
126
|
widget.view.setBounds(widget.bounds);
|
|
123
127
|
}
|
|
124
128
|
setLeftButtonTooltip(`${leftItemsCount} more`);
|
|
@@ -136,7 +140,7 @@ export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
|
136
140
|
};
|
|
137
141
|
if (!_widgets.hasOwnProperty(item.id)) {
|
|
138
142
|
const webContentsName = `(Dashbar) ${item.id}`;
|
|
139
|
-
const res = await finsembleWindow.addBrowserView({
|
|
143
|
+
const res = await FEAGlobals.finsembleWindow.addBrowserView({
|
|
140
144
|
url: item.url,
|
|
141
145
|
webContentsName,
|
|
142
146
|
bounds: widgetBounds,
|
|
@@ -196,7 +200,7 @@ export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
|
196
200
|
});
|
|
197
201
|
}
|
|
198
202
|
else {
|
|
199
|
-
FSBL.Clients.Logger.system.error(`Error removing widget: ${id} from dashbar`);
|
|
203
|
+
FEAGlobals.FSBL.Clients.Logger.system.error(`Error removing widget: ${id} from dashbar`);
|
|
200
204
|
}
|
|
201
205
|
}
|
|
202
206
|
setWidgets(_widgets);
|
|
@@ -228,15 +232,16 @@ export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
|
228
232
|
};
|
|
229
233
|
const updateItems = () => {
|
|
230
234
|
const doUpdate = async () => {
|
|
235
|
+
const totalWidth = getTotalWidth();
|
|
231
236
|
if (dashbarItems.length > WIDGET_COUNT) {
|
|
232
237
|
//Items have been added
|
|
233
238
|
await addWidgets();
|
|
234
|
-
setTotalWidgetsWidth(
|
|
239
|
+
setTotalWidgetsWidth(totalWidth);
|
|
235
240
|
}
|
|
236
241
|
else if (dashbarItems.length < WIDGET_COUNT) {
|
|
237
242
|
//Items have been removed
|
|
238
243
|
await removeWidgets();
|
|
239
|
-
setTotalWidgetsWidth(
|
|
244
|
+
setTotalWidgetsWidth(totalWidth);
|
|
240
245
|
}
|
|
241
246
|
else if (wasReorganized) {
|
|
242
247
|
if (movingIndex)
|
|
@@ -357,7 +362,7 @@ export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
|
357
362
|
.sort()
|
|
358
363
|
.join("-");
|
|
359
364
|
return (React.createElement("div", { className: wrapperClasses, style: { height: dashbarHeight } },
|
|
360
|
-
WIDGET_COUNT > 0 && (React.createElement(FinsembleDnDContext, { key: elementKey, onDragEnd: reorderItems, onDragStart: startMove, onDragMove: moveItem, onLayoutUpdate: setWidgetsPositions, className: "finsemble-dashbar-section rearrange-region", id: "dashbar-container", axis: AllowableDnDAxis.x, lockAxis: AllowableDnDAxis.x, allowHorizontalScroll:
|
|
365
|
+
WIDGET_COUNT > 0 && (React.createElement(FinsembleDnDContext, { key: elementKey, onDragEnd: reorderItems, onDragStart: startMove, onDragMove: moveItem, onLayoutUpdate: setWidgetsPositions, className: "finsemble-dashbar-section rearrange-region", id: "dashbar-container", axis: AllowableDnDAxis.x, lockAxis: AllowableDnDAxis.x, allowHorizontalScroll: allowHorizontalScroll, showScrollButtonsTooltip: true, leftButtonTooltip: leftButtonTooltip, rightButtonTooltip: rightButtonTooltip, metadata: { dashbar } }, Object.values(widgets).map((widget, i) => (React.createElement(DashbarItem, { key: i, id: Object.keys(widgets)[i], index: i, widgetTitleGenerator: titleGenerator, widget: widget, dashbarHeight: dashbar.height, widgetDividerWidth: widgetDividerWidth, setTitleHeight: setTitleHeight, setGrabLocation: setGrabLocation }))))),
|
|
361
366
|
WIDGET_COUNT === 0 && (React.createElement("div", { className: "add-dashbar-item-button", onClick: launchDashbar },
|
|
362
367
|
React.createElement("span", null,
|
|
363
368
|
React.createElement("i", { className: "ff-plus" })))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dashbar.js","sourceRoot":"","sources":["../../../../src/components/toolbar/dashbar/Dash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AE,IAEpB,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAC1C,oBAAC,WAAW,IACX,GAAG,EAAE,CAAC,EACN,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAC3B,KAAK,EAAE,CAAC,EACR,oBAAoB,EAAE,cAAc,EACpC,MAAM,EAAE,MAAqB,EAC7B,aAAa,EAAE,OAAO,CAAC,MAAM,EAC7B,kBAAkB,EAAE,kBAAkB,EACtC,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,eAAe,GAC/B,CACF,CAAC,CACmB,CACtB;QACA,YAAY,KAAK,CAAC,IAAI,CACtB,6BAAK,SAAS,EAAC,yBAAyB,EAAC,OAAO,EAAE,aAAa;YAC9D;gBACC,2BAAG,SAAS,EAAC,SAAS,GAAK,CACrB,CACF,CACN;QACA,QAAQ,CACJ,CACN,CAAC;AACH,CAAC,CAAC","sourcesContent":["import React, { useEffect, useState } from \"react\";\nimport { DashbarItem } from \"./DashbarItem\";\nimport { Dashbar as DashbarType, DashbarItem as DashbarItemType, DashbarView } from \"../../../types/dashbarTypes\";\nimport { useDashbar } from \"../../../hooks/useDashbar\";\nimport { useToolbar } from \"../../../hooks/useToolbar\";\nimport { FinsembleDnDContext, AllowableDnDAxis } from \"../../legacyControls/FinsembleDnDContext\";\nimport clone from \"lodash/cloneDeep\";\n\nimport \"../../../assets/css/dashbar.css\";\n\ntype DashbarViews = {\n\t[key: string]: DashbarView;\n} & {};\n\nlet cachedWidgetTop: number;\nlet cachedWidgetHeight: number;\n\nexport const Dashbar = ({ className, children, widgetTitleGenerator }: DashbarType) => {\n\tconst { dashbarItems, reorderDashbarItems } = useDashbar();\n\tconst { launchPreferences } = useToolbar();\n\n\tconst [widgets, setWidgets] = useState({});\n\tconst [horizontalBounds, setHorizontalBounds] = useState(0);\n\tconst [wasReorganized, setReorganized] = useState(false);\n\tconst [totalWidgetsWidth, setTotalWidgetsWidth] = useState(0);\n\tconst [isUpdatingState, setIsUpdatingState] = useState(false);\n\tconst [secondUpdateRequired, setSecondUpdateRequired] = useState(false);\n\n\tlet movingIndex: number | null = null; // The dashbarItem index being dragged, null if none\n\tlet titleGrabPosition: number | null = null; // The mouse of event when a widget title is dragged\n\tlet offsetX: number | null = null; // The original grab location of a given view titlebar\n\n\tconst WIDGET_COUNT: number = Object.keys(widgets).length;\n\tconst SCROLL_BUTTON_DEFAULT_WIDTH = 30;\n\n\tconst defaultWidgetTitleGenerator = (widget: DashbarView, titleRef: React.MutableRefObject<null>) => {\n\t\tconst handleWidgetTitleClick = () => {\n\t\t\tif (widget.raiseIntentOptions) {\n\t\t\t\tfdc3.raiseIntent(\n\t\t\t\t\twidget.raiseIntentOptions.intent,\n\t\t\t\t\twidget.raiseIntentOptions.context,\n\t\t\t\t\twidget.raiseIntentOptions.targetApp\n\t\t\t\t);\n\t\t\t}\n\t\t};\n\n\t\treturn (\n\t\t\t<div ref={titleRef} onClick={() => handleWidgetTitleClick()}>\n\t\t\t\t<span dangerouslySetInnerHTML={{ __html: widget.title }}></span>\n\t\t\t</div>\n\t\t);\n\t};\n\n\tconst titleGenerator = widgetTitleGenerator ?? defaultWidgetTitleGenerator;\n\n\t/**\n\t *\n\t * @param {object} params\n\t * @param {number} oldIndex The index of the item being moved\n\t * @param {number} newIndex The index to move the item to\n\t */\n\tconst reorderItems = ({ oldIndex, newIndex }: { oldIndex: number; newIndex: number }) => {\n\t\tmovingIndex = null;\n\t\ttitleGrabPosition = null;\n\t\toffsetX = null;\n\t\tsetReorganized(true);\n\t\t// Update the redux store\n\t\treorderDashbarItems({ oldIndex, newIndex });\n\t};\n\n\tconst launchDashbar = () => {\n\t\tlaunchPreferences(\"Dashbar\");\n\t};\n\n\tconst { dashbar } = FSBL.Clients.WindowClient.getSpawnData();\n\n\t// Dashbar is disabled (no config in toolbar) or dashbar height is not specified\n\tif (!dashbar || !dashbar.height) {\n\t\treturn null;\n\t}\n\tconst toolbarHeight = finsembleWindow.windowOptions.height;\n\tconst dashbarHeight = `${dashbar.height}px`;\n\tconst verticalBounds = toolbarHeight - dashbar.height;\n\tconst widgetDividerWidth = dashbar.widgetDividerWidth || 0;\n\n\tconst wrapperClasses = `finsemble-dashbar ${className || \"\"}`.trim();\n\n\tconst getTotalWidth = () => {\n\t\tlet totalWidth = 0;\n\t\tdashbarItems.forEach((item: DashbarItemType) => {\n\t\t\ttotalWidth = totalWidth + item.width;\n\t\t});\n\t\treturn totalWidth;\n\t};\n\n\tconst [leftButtonTooltip, setLeftButtonTooltip] = useState(\"\");\n\tconst [rightButtonTooltip, setRightButtonTooltip] = useState(\"\");\n\n\t// For calculation widgets position that function uses the HTML elements.\n\t// If something will be changed in HTML hierarchy for widgets, that function should be refactored.\n\tconst setWidgetsPositions = async () => {\n\t\tconst { data: bounds } = await finsembleWindow.getBounds();\n\t\tconst scrollButtonsEnabled = document.querySelectorAll(\"#dashbar-container > .chevron-container\").length > 0;\n\t\tconst elements = document.getElementsByClassName(\"finsemble-dashbar-item\");\n\t\tlet toolbarWidth = bounds?.width ?? 0;\n\t\tlet SCROLL_BUTTON_WIDTH = SCROLL_BUTTON_DEFAULT_WIDTH;\n\t\tif (scrollButtonsEnabled) {\n\t\t\t// Get actual width in case of client styling\n\t\t\tSCROLL_BUTTON_WIDTH = (document.querySelectorAll(\"#dashbar-container > .chevron-container\")[0] as HTMLElement)\n\t\t\t\t.offsetWidth;\n\t\t\ttoolbarWidth = toolbarWidth - 2 * SCROLL_BUTTON_WIDTH;\n\t\t}\n\n\t\tlet tempLeft = 0;\n\t\tlet leftButtonSize = 0;\n\t\tif (scrollButtonsEnabled) {\n\t\t\ttempLeft = SCROLL_BUTTON_WIDTH;\n\t\t\tleftButtonSize = SCROLL_BUTTON_WIDTH;\n\t\t}\n\n\t\tlet leftItemsCount = 0;\n\t\tlet rightItemsCount = 0;\n\n\t\tfor (const dashbarItem of elements) {\n\t\t\t// rect.width already contains the divider width\n\t\t\tconst rect = dashbarItem.getBoundingClientRect();\n\t\t\tconst dashbarItemFrame = dashbarItem.firstChild as Element;\n\t\t\tconst widgetId = dashbarItemFrame.id;\n\t\t\tconst widget = (widgets as DashbarViews)[widgetId];\n\t\t\t// Happens when widgets were removed, but dom-elements still exists. So just ignore.\n\t\t\tif (!widget) continue;\n\n\t\t\tif (rect.left < SCROLL_BUTTON_WIDTH && scrollButtonsEnabled) {\n\t\t\t\twidget.bounds.width = 0;\n\t\t\t\twidget.bounds.left = tempLeft;\n\t\t\t\tleftItemsCount++;\n\t\t\t} else {\n\t\t\t\twidget.bounds.width = rect.width - widgetDividerWidth;\n\t\t\t\twidget.bounds.left = tempLeft;\n\t\t\t\ttempLeft = tempLeft + rect.width;\n\t\t\t}\n\n\t\t\tlet offsetRight = rect.left + rect.width - widgetDividerWidth - leftButtonSize - toolbarWidth;\n\t\t\tif (offsetRight > 0) {\n\t\t\t\t// hide title for invisible items\n\t\t\t\t(dashbarItemFrame.firstChild as HTMLElement).style.visibility = \"hidden\";\n\t\t\t\twidget.bounds.width = 0;\n\t\t\t\trightItemsCount++;\n\t\t\t} else {\n\t\t\t\t(dashbarItemFrame.firstChild as HTMLElement).style.visibility = \"visible\";\n\t\t\t}\n\t\t\twidget.view.setBounds(widget.bounds);\n\t\t}\n\n\t\tsetLeftButtonTooltip(`${leftItemsCount} more`);\n\t\tsetRightButtonTooltip(`${rightItemsCount} more`);\n\t};\n\n\tconst addWidgets = async () => {\n\t\tconst _widgets: DashbarViews = clone(widgets);\n\t\tlet tempHorizontalBounds = horizontalBounds;\n\n\t\tfor (const item of dashbarItems) {\n\t\t\tconst widgetBounds = {\n\t\t\t\ttop: verticalBounds,\n\t\t\t\tleft: tempHorizontalBounds,\n\t\t\t\twidth: item.width - widgetDividerWidth,\n\t\t\t\theight: item.height || dashbar.height,\n\t\t\t};\n\n\t\t\tif (!_widgets.hasOwnProperty(item.id)) {\n\t\t\t\tconst webContentsName = `(Dashbar) ${item.id}`;\n\t\t\t\tconst res: any = await finsembleWindow.addBrowserView({\n\t\t\t\t\turl: item.url,\n\t\t\t\t\twebContentsName,\n\t\t\t\t\tbounds: widgetBounds,\n\t\t\t\t\tallowAutoResize: false,\n\t\t\t\t});\n\n\t\t\t\t_widgets[item.id] = {\n\t\t\t\t\turl: item.url,\n\t\t\t\t\ttitle: item.title,\n\t\t\t\t\tbounds: widgetBounds,\n\t\t\t\t\tview: res,\n\t\t\t\t\twidth: item.width,\n\t\t\t\t\traiseIntentOptions: item.raiseIntentOptions,\n\t\t\t\t};\n\n\t\t\t\ttempHorizontalBounds = tempHorizontalBounds + item.width;\n\t\t\t}\n\t\t}\n\t\tsetWidgets(_widgets);\n\t\tsetHorizontalBounds(tempHorizontalBounds);\n\t};\n\n\tconst removeWidgets = async () => {\n\t\tconst _widgets: DashbarViews = clone(widgets);\n\t\t// Widgets is an object, with each key being a reference to an item in dashbarItems\n\t\t// but dashbarItems is an array of objects. Its necessary to loop through them to determine\n\t\t// the differences to figure out which items were removed.\n\t\tconst toRemove: string[] = [];\n\t\tObject.keys(_widgets).forEach((widgetId) => {\n\t\t\tlet found = false;\n\t\t\tfor (let i = 0; i < dashbarItems.length; i++) {\n\t\t\t\tconst dashItem = dashbarItems[i];\n\t\t\t\tif (dashItem.id === widgetId) {\n\t\t\t\t\tfound = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!found) {\n\t\t\t\ttoRemove.push(widgetId);\n\t\t\t}\n\t\t});\n\n\t\tlet tempNewHorizontalBounds = 0;\n\t\t// toRemove is an array of widgetIds which were no longer found in dashbarItems\n\t\t// As items are removed, the remaining items have to be shuffled to fill the space\n\t\tfor (const id of toRemove) {\n\t\t\tif (_widgets.hasOwnProperty(id)) {\n\t\t\t\tawait _widgets[id].view.remove(() => {\n\t\t\t\t\tdelete _widgets[id];\n\t\t\t\t\t// Shuffle remaining views to fill any gaps that were left\n\t\t\t\t\tObject.values(_widgets).forEach((widget) => {\n\t\t\t\t\t\twidget.bounds = {\n\t\t\t\t\t\t\twidth: widget.bounds.width,\n\t\t\t\t\t\t\theight: widget.bounds.height,\n\t\t\t\t\t\t\tleft: tempNewHorizontalBounds,\n\t\t\t\t\t\t\ttop: widget.bounds.top,\n\t\t\t\t\t\t};\n\t\t\t\t\t\twidget.view.setBounds(widget.bounds);\n\t\t\t\t\t\ttempNewHorizontalBounds = tempNewHorizontalBounds + widget.bounds.width;\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tFSBL.Clients.Logger.system.error(`Error removing widget: ${id} from dashbar`);\n\t\t\t}\n\t\t}\n\t\tsetWidgets(_widgets);\n\t\tsetHorizontalBounds(tempNewHorizontalBounds);\n\t};\n\n\tconst reorganizeWidgets = () => {\n\t\tconst _widgets: DashbarViews = clone(widgets);\n\t\t// Each view needs to be resituated to fill any holes\n\t\t// left by views that have been removed. Use a tempBounds\n\t\t// int to keep track of new widths and set the overall width\n\t\t// once everything is re-seated\n\t\tlet tempBounds = 0;\n\t\tdashbarItems.forEach((item) => {\n\t\t\tconst widget = _widgets[item.id];\n\n\t\t\twidget.bounds = {\n\t\t\t\theight: cachedWidgetHeight || widget.bounds.height,\n\t\t\t\twidth: widget.bounds.width,\n\t\t\t\ttop: cachedWidgetTop || verticalBounds,\n\t\t\t\tleft: tempBounds,\n\t\t\t};\n\n\t\t\twidget.view.setBounds(widget.bounds);\n\n\t\t\tdelete _widgets[item.id];\n\t\t\t_widgets[item.id] = widget;\n\n\t\t\ttempBounds = tempBounds + item.width;\n\t\t});\n\n\t\tsetReorganized(false);\n\t\tsetWidgets(_widgets);\n\t\tsetHorizontalBounds(tempBounds);\n\t};\n\n\tconst updateItems = () => {\n\t\tconst doUpdate = async () => {\n\t\t\tif (dashbarItems.length > WIDGET_COUNT) {\n\t\t\t\t//Items have been added\n\t\t\t\tawait addWidgets();\n\t\t\t\tsetTotalWidgetsWidth(getTotalWidth());\n\t\t\t} else if (dashbarItems.length < WIDGET_COUNT) {\n\t\t\t\t//Items have been removed\n\t\t\t\tawait removeWidgets();\n\t\t\t\tsetTotalWidgetsWidth(getTotalWidth());\n\t\t\t} else if (wasReorganized) {\n\t\t\t\tif (movingIndex) return;\n\t\t\t\t// Length is the same, order has changed\n\t\t\t\treorganizeWidgets();\n\t\t\t}\n\n\t\t\tawait setWidgetsPositions();\n\t\t\tsetIsUpdatingState(false);\n\t\t};\n\n\t\tif (isUpdatingState === false) {\n\t\t\tsetIsUpdatingState(true);\n\t\t\tdoUpdate();\n\t\t} else if (!secondUpdateRequired) {\n\t\t\tsetSecondUpdateRequired(true);\n\t\t}\n\t};\n\n\t/**\n\t * When the distributed store's 'dashbaritems' is updated it will cause this hook to\n\t * execute. The local representation of widgets will be mutated, then a call to\n\t * setWidgets will re-render the component\n\t */\n\tuseEffect(() => {\n\t\tupdateItems();\n\t}, [dashbarItems]);\n\n\t/**\n\t * DashbarItems can be changed very quickly before all widgets will be initialized.\n\t * Double-calling updateItems() fixes a bug.\n\t */\n\tuseEffect(() => {\n\t\tif (secondUpdateRequired && !isUpdatingState) {\n\t\t\tupdateItems();\n\t\t\tsetSecondUpdateRequired(false);\n\t\t}\n\t}, [isUpdatingState, secondUpdateRequired]);\n\n\t/**\n\t * Sets the title height as determined by the DashbarItem\n\t * component, since the CSS can be changed by the user\n\t * the component will render the title and pass back\n\t * computed height of that title, then the Dashbar will\n\t * make room for item\n\t *\n\t * @param {number} titleHeight The height of the span containing the title\n\t * @param {string} id The key'ed id of the view\n\t */\n\tconst setTitleHeight = (titleHeight: number, id: string) => {\n\t\tconst _widgets: DashbarViews = widgets;\n\t\tconst widget = _widgets[id];\n\t\tif (cachedWidgetTop) {\n\t\t\ttitleHeight = 0;\n\t\t}\n\n\t\tconst newBounds = {\n\t\t\ttop: cachedWidgetTop || widget.bounds.top + titleHeight,\n\t\t\tleft: widget.bounds.left,\n\t\t\theight: cachedWidgetHeight || widget.bounds.height - titleHeight,\n\t\t\twidth: widget.bounds.width,\n\t\t};\n\t\tcachedWidgetTop = newBounds.top;\n\t\tcachedWidgetHeight = newBounds.height;\n\n\t\twidget.view.setBounds(newBounds);\n\t\twidget.bounds = newBounds;\n\t};\n\n\t/**\n\t * When a view starts moving, bring it to the front\n\t *\n\t * @param {MouseEvent} event The event passed by react-sortable-hoc\n\t */\n\tconst startMove = (node: any, event: any) => {\n\t\tmovingIndex = node.index;\n\t\tif (offsetX === null && titleGrabPosition !== null) {\n\t\t\toffsetX = event.clientX - titleGrabPosition;\n\t\t}\n\t\tconst widget = Object.values(widgets)[node.index] as DashbarView;\n\t\twidget.view.bringToFront();\n\t};\n\n\t/**\n\t * Event triggered by view movement\n\t *\n\t * @param {MouseEvent} event\n\t */\n\tconst moveItem = (event: any) => {\n\t\tif (movingIndex !== null) {\n\t\t\tconst movingWidget = Object.values(widgets)[movingIndex] as DashbarView;\n\n\t\t\tmovingWidget.view.setBounds({\n\t\t\t\ttop: movingWidget.bounds.top,\n\t\t\t\theight: movingWidget.bounds.height,\n\t\t\t\twidth: movingWidget.bounds.width,\n\t\t\t\tleft: event.clientX - (offsetX || 0),\n\t\t\t});\n\n\t\t\t// Some completely not react very hacky stuff to make browserviews move in conjunction with the titles\n\t\t\tconst elements = document.getElementsByClassName(\"dashbar-item-frame\");\n\t\t\tfor (const element of elements) {\n\t\t\t\tconst rect = element.getBoundingClientRect();\n\t\t\t\tconst widget = (widgets as any)[element.id];\n\t\t\t\tif (widget !== movingWidget && widget.bounds.left !== rect.left) {\n\t\t\t\t\twidget.bounds.left = rect.left;\n\t\t\t\t\twidget.view.setBounds(widget.bounds);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tconst setGrabLocation = (location: number) => {\n\t\ttitleGrabPosition = location;\n\t};\n\n\t/**\n\t * Every time a widget is added or removed, modify the key on the FinsembleDnDContext element forcing a rerender.\n\t *\n\t * This is a workaround for certain cases where removing a dashbar item would align the panels incorrectly in\n\t * FinsembleDnDContext. The scrolling works by the FinsembleDnDContext setting scrollLeft value. All calculations\n\t * in FinsembleDnDContext are correct but due to a browser bug, when removing component under certain conditions,\n\t * it somehow sets false maximum value for this scrollLeft value. Any value higher than the maximum is capped\n\t * causing it to half scroll an element.\n\t *\n\t */\n\tconst elementKey = Object.entries(widgets)\n\t\t.map((entry) => entry[0])\n\t\t.sort()\n\t\t.join(\"-\");\n\n\treturn (\n\t\t<div className={wrapperClasses} style={{ height: dashbarHeight }}>\n\t\t\t{WIDGET_COUNT > 0 && (\n\t\t\t\t<FinsembleDnDContext\n\t\t\t\t\tkey={elementKey}\n\t\t\t\t\tonDragEnd={reorderItems}\n\t\t\t\t\tonDragStart={startMove}\n\t\t\t\t\tonDragMove={moveItem}\n\t\t\t\t\tonLayoutUpdate={setWidgetsPositions}\n\t\t\t\t\tclassName=\"finsemble-dashbar-section rearrange-region\"\n\t\t\t\t\tid=\"dashbar-container\"\n\t\t\t\t\taxis={AllowableDnDAxis.x}\n\t\t\t\t\tlockAxis={AllowableDnDAxis.x}\n\t\t\t\t\tallowHorizontalScroll={true}\n\t\t\t\t\tshowScrollButtonsTooltip={true}\n\t\t\t\t\tleftButtonTooltip={leftButtonTooltip}\n\t\t\t\t\trightButtonTooltip={rightButtonTooltip}\n\t\t\t\t\tmetadata={{ dashbar }}\n\t\t\t\t>\n\t\t\t\t\t{Object.values(widgets).map((widget, i) => (\n\t\t\t\t\t\t<DashbarItem\n\t\t\t\t\t\t\tkey={i}\n\t\t\t\t\t\t\tid={Object.keys(widgets)[i]}\n\t\t\t\t\t\t\tindex={i}\n\t\t\t\t\t\t\twidgetTitleGenerator={titleGenerator}\n\t\t\t\t\t\t\twidget={widget as DashbarView}\n\t\t\t\t\t\t\tdashbarHeight={dashbar.height}\n\t\t\t\t\t\t\twidgetDividerWidth={widgetDividerWidth}\n\t\t\t\t\t\t\tsetTitleHeight={setTitleHeight}\n\t\t\t\t\t\t\tsetGrabLocation={setGrabLocation}\n\t\t\t\t\t\t/>\n\t\t\t\t\t))}\n\t\t\t\t</FinsembleDnDContext>\n\t\t\t)}\n\t\t\t{WIDGET_COUNT === 0 && (\n\t\t\t\t<div className=\"add-dashbar-item-button\" onClick={launchDashbar}>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<i className=\"ff-plus\"></i>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n"]}
|
|
1
|
+
{"version":3,"file":"Dashbar.js","sourceRoot":"","sources":["../../../../../../src/ui/components/toolbar/dashbar/Dashbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AACjG,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,iCAAiC,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAMxD,IAAI,eAAuB,CAAC;AAC5B,IAAI,kBAA0B,CAAC;AAE/B,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,oBAAoB,EAAe,EAAE,EAAE;IACrF,MAAM,EAAE,YAAY,EAAE,mBAAmB,EAAE,GAAG,UAAU,EAAE,CAAC;IAC3D,MAAM,EAAE,iBAAiB,EAAE,GAAG,UAAU,EAAE,CAAC;IAE3C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC3C,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC5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EAAC,SAAS,GAAK,CACrB,CACF,CACN;QACA,QAAQ,CACJ,CACN,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -15,3 +15,4 @@ declare type DashbarItemProps = {
|
|
|
15
15
|
};
|
|
16
16
|
export declare const DashbarItem: ({ id, index, className, widget, height, dashbarHeight, widgetDividerWidth, setTitleHeight, setGrabLocation, widgetTitleGenerator, }: DashbarItemProps) => JSX.Element;
|
|
17
17
|
export {};
|
|
18
|
+
//# sourceMappingURL=DashbarItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashbarItem.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/toolbar/dashbar/DashbarItem.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,iCAAiC,CAAC;AAEzC,aAAK,gBAAgB,GAAG;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,WAAW,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,EAAE,QAAQ,CAAC;IACzB,eAAe,EAAE,QAAQ,CAAC;IAC1B,oBAAoB,EAAE,QAAQ,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,WAAW,wIAWrB,gBAAgB,gBA0ClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashbarItem.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"DashbarItem.js","sourceRoot":"","sources":["../../../../../../src/ui/components/toolbar/dashbar/DashbarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,eAAe,EA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