@finsemble/finsemble-ui 10.0.0-iocd.9 → 10.0.3-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 +1440 -1430
- package/FEA.d.ts.map +1 -1
- package/FEA.js +10 -10
- package/FEA.js.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.d.ts +235 -233
- package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js +1331 -1308
- package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
- package/clients/Interop/InteropAdmin.d.ts +29 -29
- package/clients/Interop/InteropAdmin.js +98 -98
- package/clients/Interop/InteropAdmin.js.map +1 -1
- package/clients/Interop/index.d.ts +1 -1
- package/clients/Interop/index.js +2 -2
- package/clients/Interop/types.d.ts +445 -443
- package/clients/Interop/types.d.ts.map +1 -1
- package/clients/Interop/types.js +45 -45
- package/clients/Interop/types.js.map +1 -1
- package/clients/Startup/FSBLDesktop.d.ts +157 -157
- package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
- package/clients/Startup/FSBLDesktop.js +447 -430
- package/clients/Startup/FSBLDesktop.js.map +1 -1
- package/clients/Startup/FSBLFreestanding.d.ts +27 -27
- package/clients/Startup/FSBLFreestanding.js +129 -129
- package/clients/Startup/FSBLFreestanding.js.map +1 -1
- package/clients/Startup/FSBLService.d.ts +7 -7
- package/clients/Startup/FSBLService.js +57 -57
- package/clients/Startup/RouterConfig.d.ts +37 -37
- package/clients/Startup/RouterConfig.d.ts.map +1 -1
- package/clients/Startup/RouterConfig.js +124 -115
- package/clients/Startup/RouterConfig.js.map +1 -1
- package/clients/Startup/SDDListeners.d.ts +11 -11
- package/clients/Startup/SDDListeners.d.ts.map +1 -1
- package/clients/Startup/SDDListeners.js +96 -96
- package/clients/Startup/SDDListeners.js.map +1 -1
- package/clients/Startup/Startup.d.ts +58 -58
- package/clients/Startup/Startup.js +101 -101
- package/clients/Startup/Startup.js.map +1 -1
- package/clients/Startup/index.d.ts +1 -1
- package/clients/Startup/index.js +2 -2
- package/clients/Startup/types.d.ts +81 -81
- package/clients/Startup/types.d.ts.map +1 -1
- package/clients/Startup/types.js +1 -1
- package/clients/Startup/unhandledErrors.d.ts +6 -6
- package/clients/Startup/unhandledErrors.d.ts.map +1 -1
- package/clients/Startup/unhandledErrors.js +77 -75
- package/clients/Startup/unhandledErrors.js.map +1 -1
- package/clients/Startup/windowStartup.d.ts +17 -17
- package/clients/Startup/windowStartup.d.ts.map +1 -1
- package/clients/Startup/windowStartup.js +491 -478
- package/clients/Startup/windowStartup.js.map +1 -1
- package/clients/StoreModel.d.ts +394 -394
- package/clients/StoreModel.d.ts.map +1 -1
- package/clients/StoreModel.js +906 -906
- package/clients/StoreModel.js.map +1 -1
- package/clients/appsClient.d.ts +618 -476
- package/clients/appsClient.d.ts.map +1 -1
- package/clients/appsClient.js +729 -710
- package/clients/appsClient.js.map +1 -1
- package/clients/authenticationClient.d.ts +190 -190
- package/clients/authenticationClient.d.ts.map +1 -1
- package/clients/authenticationClient.js +247 -247
- package/clients/authenticationClient.js.map +1 -1
- package/clients/configClient.d.ts +638 -638
- package/clients/configClient.d.ts.map +1 -1
- package/clients/configClient.js +969 -969
- package/clients/configClient.js.map +1 -1
- package/clients/controller/DialogManagerClientController.d.ts +77 -77
- package/clients/controller/DialogManagerClientController.js +215 -215
- package/clients/controller/DialogManagerClientController.js.map +1 -1
- package/clients/dialogManagerClient.d.ts +186 -186
- package/clients/dialogManagerClient.d.ts.map +1 -1
- package/clients/dialogManagerClient.js +479 -475
- package/clients/dialogManagerClient.js.map +1 -1
- package/clients/distributedStoreClient.d.ts +150 -151
- package/clients/distributedStoreClient.d.ts.map +1 -1
- package/clients/distributedStoreClient.js +256 -253
- package/clients/distributedStoreClient.js.map +1 -1
- package/clients/hotkeyClient.d.ts +128 -128
- package/clients/hotkeyClient.d.ts.map +1 -1
- package/clients/hotkeyClient.js +648 -648
- package/clients/hotkeyClient.js.map +1 -1
- package/clients/index.d.ts +16 -16
- package/clients/index.js +18 -18
- package/clients/launcherClient.d.ts +123 -123
- package/clients/launcherClient.d.ts.map +1 -1
- package/clients/launcherClient.js +64 -64
- package/clients/logger.d.ts +363 -363
- package/clients/logger.d.ts.map +1 -1
- package/clients/logger.js +940 -931
- package/clients/logger.js.map +1 -1
- package/clients/notificationClient.d.ts +310 -310
- package/clients/notificationClient.d.ts.map +1 -1
- package/clients/notificationClient.js +557 -557
- package/clients/notificationClient.js.map +1 -1
- package/clients/routerClient.d.ts +520 -520
- package/clients/routerClient.d.ts.map +1 -1
- package/clients/routerClient.js +1448 -1416
- package/clients/routerClient.js.map +1 -1
- package/clients/searchClient.d.ts +156 -156
- package/clients/searchClient.d.ts.map +1 -1
- package/clients/searchClient.js +282 -282
- package/clients/searchClient.js.map +1 -1
- package/clients/storageClient.d.ts +235 -235
- package/clients/storageClient.d.ts.map +1 -1
- package/clients/storageClient.js +308 -308
- package/clients/storageClient.js.map +1 -1
- package/clients/windowClient.d.ts +714 -712
- package/clients/windowClient.d.ts.map +1 -1
- package/clients/windowClient.js +1072 -1070
- package/clients/windowClient.js.map +1 -1
- package/clients/workspaceClient.d.ts +511 -511
- package/clients/workspaceClient.d.ts.map +1 -1
- package/clients/workspaceClient.js +758 -750
- package/clients/workspaceClient.js.map +1 -1
- package/common/Desktop.d.ts +56 -56
- package/common/Desktop.d.ts.map +1 -1
- package/common/Desktop.js +109 -97
- package/common/Desktop.js.map +1 -1
- package/common/FinsembleWindow.d.ts +823 -813
- package/common/FinsembleWindow.d.ts.map +1 -1
- package/common/FinsembleWindow.js +1458 -1416
- package/common/FinsembleWindow.js.map +1 -1
- package/common/Globals.d.ts +96 -96
- package/common/Globals.d.ts.map +1 -1
- package/common/Globals.js +29 -29
- package/common/Monitors.d.ts +160 -155
- package/common/Monitors.d.ts.map +1 -1
- package/common/Monitors.js +504 -447
- package/common/Monitors.js.map +1 -1
- package/common/Performance.d.ts +6 -6
- package/common/Performance.js +12 -12
- package/common/REST.d.ts +16 -16
- package/common/REST.js +84 -84
- package/common/REST.js.map +1 -1
- package/common/Singleton.d.ts +74 -72
- package/common/Singleton.d.ts.map +1 -1
- package/common/Singleton.js +95 -95
- package/common/Singleton.js.map +1 -1
- package/common/configUtil.d.ts +58 -58
- package/common/configUtil.d.ts.map +1 -1
- package/common/configUtil.js +347 -347
- package/common/configUtil.js.map +1 -1
- package/common/constants.d.ts +101 -101
- package/common/constants.js +171 -171
- package/common/dependencyManager.d.ts +170 -171
- package/common/dependencyManager.d.ts.map +1 -1
- package/common/dependencyManager.js +383 -383
- package/common/dependencyManager.js.map +1 -1
- package/common/events/FinsembleEvent.d.ts +29 -29
- package/common/events/FinsembleEvent.d.ts.map +1 -1
- package/common/events/FinsembleEvent.js +71 -71
- package/common/events/FinsembleEvent.js.map +1 -1
- package/common/events/PublicEventManager.d.ts +69 -68
- package/common/events/PublicEventManager.d.ts.map +1 -1
- package/common/events/PublicEventManager.js +192 -192
- package/common/events/PublicEventManager.js.map +1 -1
- package/common/index.d.ts +3 -3
- package/common/index.js +5 -5
- package/common/redux/getRemoteStore.d.ts +53 -53
- package/common/redux/getRemoteStore.d.ts.map +1 -1
- package/common/redux/getRemoteStore.js +50 -50
- package/common/redux/remoteReduxEnhancer.d.ts +28 -28
- package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
- package/common/redux/remoteReduxEnhancer.js +228 -218
- package/common/redux/remoteReduxEnhancer.js.map +1 -1
- package/common/redux/types.d.ts +26 -26
- package/common/redux/types.d.ts.map +1 -1
- package/common/redux/types.js +1 -1
- package/common/system.d.ts +328 -308
- package/common/system.d.ts.map +1 -1
- package/common/system.js +559 -545
- package/common/system.js.map +1 -1
- package/common/systemManagerClient.d.ts +91 -91
- package/common/systemManagerClient.d.ts.map +1 -1
- package/common/systemManagerClient.js +189 -189
- package/common/systemManagerClient.js.map +1 -1
- package/common/testPoint.d.ts +56 -56
- package/common/testPoint.js +105 -105
- package/common/testPoint.js.map +1 -1
- package/common/toast.d.ts +35 -35
- package/common/toast.d.ts.map +1 -1
- package/common/toast.js +93 -87
- package/common/toast.js.map +1 -1
- package/common/util.d.ts +141 -136
- package/common/util.d.ts.map +1 -1
- package/common/util.js +458 -445
- package/common/util.js.map +1 -1
- package/deprecated/SmartDesktopClient.d.ts +18 -18
- package/deprecated/SmartDesktopClient.js +18 -18
- package/deprecated/baseClient.d.ts +87 -87
- package/deprecated/baseClient.d.ts.map +1 -1
- package/deprecated/baseClient.js +123 -123
- package/deprecated/baseClient.js.map +1 -1
- package/deprecated/deprecatedFunctions.d.ts +44 -44
- package/deprecated/deprecatedFunctions.d.ts.map +1 -1
- package/deprecated/deprecatedFunctions.js +199 -199
- package/deprecated/deprecatedFunctions.js.map +1 -1
- package/deprecated/deprecatedlauncherClient.d.ts +162 -162
- package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
- package/deprecated/deprecatedlauncherClient.js +285 -285
- package/deprecated/deprecatedlauncherClient.js.map +1 -1
- package/deprecated/dragAndDropClient.d.ts +288 -288
- package/deprecated/dragAndDropClient.d.ts.map +1 -1
- package/deprecated/dragAndDropClient.js +753 -698
- package/deprecated/dragAndDropClient.js.map +1 -1
- package/deprecated/index.d.ts +1 -1
- package/deprecated/index.d.ts.map +1 -1
- package/deprecated/index.js +1 -1
- package/deprecated/legacyUIComponentNames.d.ts +23 -23
- package/deprecated/legacyUIComponentNames.js +23 -23
- package/deprecated/linkerClient.d.ts +422 -422
- package/deprecated/linkerClient.d.ts.map +1 -1
- package/deprecated/linkerClient.js +892 -892
- package/deprecated/linkerClient.js.map +1 -1
- package/index.d.ts +65 -70
- package/index.d.ts.map +1 -1
- package/index.js +3 -5
- package/index.js.map +1 -1
- package/main.d.ts +725 -862
- package/main.d.ts.map +1 -1
- package/main.js +85 -85
- package/package.json +10 -14
- package/platform/preloads/BloombergBridgeClient.d.ts +453 -453
- package/platform/preloads/BloombergBridgeClient.d.ts.map +1 -1
- package/platform/preloads/BloombergBridgeClient.js +568 -568
- package/platform/preloads/BloombergBridgeClient.js.map +1 -1
- package/platform/services/Interop/AuthSignVerify.d.ts +50 -50
- package/platform/services/Interop/AuthSignVerify.js +283 -283
- package/platform/services/Interop/AuthSignVerify.js.map +1 -1
- package/platform/services/Interop/modules/actions.d.ts +16 -16
- package/platform/services/Interop/modules/actions.js +10 -10
- package/platform/services/Interop/modules/types.d.ts +182 -182
- package/platform/services/Interop/modules/types.d.ts.map +1 -1
- package/platform/services/Interop/modules/types.js +1 -1
- package/platform/services/Interop/types.d.ts +634 -632
- package/platform/services/Interop/types.d.ts.map +1 -1
- package/platform/services/Interop/types.js +25 -25
- package/platform/services/Interop/types.js.map +1 -1
- package/platform/services/baseService.d.ts +82 -82
- package/platform/services/baseService.d.ts.map +1 -1
- package/platform/services/baseService.js +300 -300
- package/platform/services/baseService.js.map +1 -1
- package/platform/services/bloombergBridge/lib/types.d.ts +108 -108
- package/platform/services/bloombergBridge/lib/types.d.ts.map +1 -1
- package/platform/services/bloombergBridge/lib/types.js +39 -39
- package/platform/services/config/types.d.ts +42 -42
- package/platform/services/config/types.d.ts.map +1 -1
- package/platform/services/config/types.js +1 -1
- package/platform/services/distributedStore/storeUtils.d.ts +67 -67
- package/platform/services/distributedStore/storeUtils.d.ts.map +1 -1
- package/platform/services/distributedStore/storeUtils.js +238 -238
- package/platform/services/distributedStore/storeUtils.js.map +1 -1
- package/platform/services/index.d.ts +5 -5
- package/platform/services/index.js +9 -9
- package/platform/services/logger/types.d.ts +78 -78
- package/platform/services/logger/types.d.ts.map +1 -1
- package/platform/services/logger/types.js +1 -1
- package/platform/services/notification/index.d.ts +1 -1
- package/platform/services/notification/index.js +2 -2
- package/platform/services/notification/types/Action.d.ts +12 -12
- package/platform/services/notification/types/Action.js +7 -7
- package/platform/services/notification/types/ActionTypes.d.ts +16 -16
- package/platform/services/notification/types/ActionTypes.js +18 -18
- package/platform/services/notification/types/Callbacks.d.ts +7 -7
- package/platform/services/notification/types/Callbacks.js +1 -1
- package/platform/services/notification/types/Filter.d.ts +22 -22
- package/platform/services/notification/types/Filter.js +19 -19
- package/platform/services/notification/types/IAction.d.ts +51 -51
- package/platform/services/notification/types/IAction.js +1 -1
- package/platform/services/notification/types/IFilter.d.ts +24 -24
- package/platform/services/notification/types/IFilter.js +1 -1
- package/platform/services/notification/types/ILastIssued.d.ts +8 -8
- package/platform/services/notification/types/ILastIssued.js +1 -1
- package/platform/services/notification/types/IMuteFilter.d.ts +7 -7
- package/platform/services/notification/types/IMuteFilter.js +4 -4
- package/platform/services/notification/types/INotification.d.ts +100 -100
- package/platform/services/notification/types/INotification.d.ts.map +1 -1
- package/platform/services/notification/types/INotification.js +1 -1
- package/platform/services/notification/types/INotificationClient.d.ts +94 -94
- package/platform/services/notification/types/INotificationClient.js +1 -1
- package/platform/services/notification/types/INotificationHistoryOptions.d.ts +18 -18
- package/platform/services/notification/types/INotificationHistoryOptions.d.ts.map +1 -1
- package/platform/services/notification/types/INotificationHistoryOptions.js +1 -1
- package/platform/services/notification/types/INotificationService.d.ts +57 -57
- package/platform/services/notification/types/INotificationService.js +1 -1
- package/platform/services/notification/types/IPerformedAction.d.ts +9 -9
- package/platform/services/notification/types/IPerformedAction.js +1 -1
- package/platform/services/notification/types/ISnoozeTimer.d.ts +13 -13
- package/platform/services/notification/types/ISnoozeTimer.js +9 -9
- package/platform/services/notification/types/ISubscription.d.ts +15 -15
- package/platform/services/notification/types/ISubscription.js +1 -1
- package/platform/services/notification/types/LastIssued.d.ts +10 -10
- package/platform/services/notification/types/LastIssued.js +6 -6
- package/platform/services/notification/types/Meta.d.ts +12 -12
- package/platform/services/notification/types/Meta.js +6 -6
- package/platform/services/notification/types/Notification.d.ts +29 -29
- package/platform/services/notification/types/Notification.js +16 -16
- package/platform/services/notification/types/NotificationConfig.d.ts +21 -21
- package/platform/services/notification/types/NotificationConfig.js +1 -1
- package/platform/services/notification/types/NotificationHookTypes.d.ts +6 -6
- package/platform/services/notification/types/NotificationHookTypes.js +1 -1
- package/platform/services/notification/types/PerformedAction.d.ts +10 -10
- package/platform/services/notification/types/PerformedAction.js +7 -7
- package/platform/services/notification/types/SnoozeTimer.d.ts +7 -7
- package/platform/services/notification/types/SnoozeTimer.js +2 -2
- package/platform/services/notification/types/Subscription.d.ts +13 -13
- package/platform/services/notification/types/Subscription.js +14 -14
- package/platform/services/notification/types/index.d.ts +45 -45
- package/platform/services/notification/types/index.d.ts.map +1 -1
- package/platform/services/notification/types/index.js +23 -23
- package/platform/services/router/routerTransport.d.ts +80 -80
- package/platform/services/router/routerTransport.d.ts.map +1 -1
- package/platform/services/router/routerTransport.js +486 -476
- package/platform/services/router/routerTransport.js.map +1 -1
- package/platform/services/router/types.d.ts +214 -212
- package/platform/services/router/types.d.ts.map +1 -1
- package/platform/services/router/types.js +1 -1
- package/platform/services/search/index.d.ts +1 -1
- package/platform/services/search/index.js +2 -2
- package/platform/services/search/types.d.ts +29 -29
- package/platform/services/search/types.d.ts.map +1 -1
- package/platform/services/search/types.js +1 -1
- package/platform/services/storage/adapters/base.d.ts +3 -3
- package/platform/services/storage/adapters/base.js +63 -63
- package/platform/services/storage/adapters/base.js.map +1 -1
- package/platform/services/storage/adapters/types.d.ts +21 -21
- package/platform/services/storage/adapters/types.d.ts.map +1 -1
- package/platform/services/storage/adapters/types.js +1 -1
- package/platform/services/systemManager/_constants.d.ts +9 -9
- package/platform/services/systemManager/_constants.js +22 -22
- package/platform/services/systemManager/common.d.ts +13 -13
- package/platform/services/systemManager/common.js +19 -19
- package/platform/services/systemManager/types.d.ts +49 -48
- package/platform/services/systemManager/types.d.ts.map +1 -1
- package/platform/services/systemManager/types.js +11 -11
- package/platform/services/types.d.ts +10 -10
- package/platform/services/types.d.ts.map +1 -1
- package/platform/services/types.js +9 -9
- package/platform/services/window/index.d.ts +1 -1
- package/platform/services/window/index.js +2 -2
- package/platform/services/window/modules/actions.d.ts +76 -70
- package/platform/services/window/modules/actions.d.ts.map +1 -1
- package/platform/services/window/modules/actions.js +67 -62
- package/platform/services/window/modules/actions.js.map +1 -1
- package/platform/services/window/types.d.ts +1211 -1194
- package/platform/services/window/types.d.ts.map +1 -1
- package/platform/services/window/types.js +6 -1
- package/platform/services/window/types.js.map +1 -1
- package/platform/services/workspace/index.d.ts +1 -1
- package/platform/services/workspace/index.js +2 -2
- package/platform/services/workspace/types.d.ts +78 -78
- package/platform/services/workspace/types.d.ts.map +1 -1
- package/platform/services/workspace/types.js +1 -1
- package/platform/services/workspace/workspaceAdminAPI.d.ts +26 -26
- package/platform/services/workspace/workspaceAdminAPI.d.ts.map +1 -1
- package/platform/services/workspace/workspaceAdminAPI.js +44 -44
- package/platform/services/workspace/workspaceAdminAPI.js.map +1 -1
- package/react/actions/favoriteActions.d.ts +21 -21
- package/react/actions/favoriteActions.d.ts.map +1 -1
- package/react/actions/favoriteActions.js +8 -8
- package/react/actions/linkerActions.d.ts +48 -48
- package/react/actions/linkerActions.d.ts.map +1 -1
- package/react/actions/linkerActions.js +8 -8
- package/react/actions/menuActions.d.ts +16 -16
- package/react/actions/menuActions.d.ts.map +1 -1
- package/react/actions/menuActions.js +9 -9
- package/react/actions/rootActions.d.ts +9 -9
- package/react/actions/rootActions.d.ts.map +1 -1
- package/react/actions/rootActions.js +2 -2
- package/react/actions/searchActions.d.ts +12 -12
- package/react/actions/searchActions.d.ts.map +1 -1
- package/react/actions/searchActions.js +7 -7
- package/react/actions/smartDesktopDesignerActions.d.ts +56 -56
- package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -1
- package/react/actions/smartDesktopDesignerActions.js +27 -27
- package/react/actions/toolbarActions.d.ts +61 -61
- package/react/actions/toolbarActions.d.ts.map +1 -1
- package/react/actions/toolbarActions.js +24 -24
- package/react/actions/workspaceActions.d.ts +11 -11
- package/react/actions/workspaceActions.d.ts.map +1 -1
- package/react/actions/workspaceActions.js +6 -6
- package/react/assets/css/advancedAppLauncher.css +1 -1
- package/react/assets/css/appCatalog.css +4 -4
- package/react/assets/css/dialogs.css +2 -6
- package/react/assets/css/favorites.css +1 -3
- package/react/assets/css/finsemble.css +0 -1
- package/react/assets/css/font-finance.css +4 -282
- package/react/assets/css/menus.css +5 -1
- package/react/assets/css/search.css +1 -2
- package/react/assets/css/toolbar.css +9 -1
- package/react/assets/css/userPreferences.css +1 -1
- package/react/components/FinsembleCSS.d.ts +17 -17
- package/react/components/FinsembleCSS.d.ts.map +1 -1
- package/react/components/FinsembleCSS.js +27 -26
- package/react/components/FinsembleCSS.js.map +1 -1
- package/react/components/FinsembleProvider.d.ts +28 -28
- package/react/components/FinsembleProvider.d.ts.map +1 -1
- package/react/components/FinsembleProvider.js +33 -33
- package/react/components/appCatalog/AppCatalog.d.ts +13 -13
- package/react/components/appCatalog/AppCatalog.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalog.js +33 -33
- package/react/components/appCatalog/AppCatalogComponent.d.ts +98 -98
- package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.js +307 -307
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- package/react/components/appCatalog/components/AppCard.d.ts +64 -64
- package/react/components/appCatalog/components/AppCard.d.ts.map +1 -1
- package/react/components/appCatalog/components/AppCard.js +200 -200
- package/react/components/appCatalog/components/AppCard.js.map +1 -1
- package/react/components/appCatalog/components/AppList.d.ts +8 -8
- package/react/components/appCatalog/components/AppList.d.ts.map +1 -1
- package/react/components/appCatalog/components/AppList.js +25 -25
- package/react/components/appCatalog/components/AppList.js.map +1 -1
- package/react/components/appCatalog/components/AppResults.d.ts +25 -21
- package/react/components/appCatalog/components/AppResults.d.ts.map +1 -1
- package/react/components/appCatalog/components/AppResults.js +71 -71
- package/react/components/appCatalog/components/AppResults.js.map +1 -1
- package/react/components/appCatalog/components/Carousel.d.ts +42 -42
- package/react/components/appCatalog/components/Carousel.d.ts.map +1 -1
- package/react/components/appCatalog/components/Carousel.js +126 -126
- package/react/components/appCatalog/components/Carousel.js.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.d.ts +11 -7
- package/react/components/appCatalog/components/EmptyResults.d.ts.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.js +12 -12
- package/react/components/appCatalog/components/Hero.d.ts +42 -42
- package/react/components/appCatalog/components/Hero.d.ts.map +1 -1
- package/react/components/appCatalog/components/Hero.js +83 -83
- package/react/components/appCatalog/components/Hero.js.map +1 -1
- package/react/components/appCatalog/components/Home.d.ts +29 -21
- package/react/components/appCatalog/components/Home.d.ts.map +1 -1
- package/react/components/appCatalog/components/Home.js +28 -28
- package/react/components/appCatalog/components/SearchBar.d.ts +57 -57
- package/react/components/appCatalog/components/SearchBar.js +107 -107
- package/react/components/appCatalog/components/SearchBar.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts +15 -11
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.js +15 -15
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts +18 -14
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js +30 -30
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts +37 -37
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.js +128 -128
- package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.d.ts +21 -21
- package/react/components/appCatalog/components/Showcase/Header.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.js +58 -58
- package/react/components/appCatalog/components/Showcase/Header.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts +14 -13
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js +25 -25
- package/react/components/appCatalog/components/Showcase/Modal.d.ts +18 -18
- package/react/components/appCatalog/components/Showcase/Modal.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/Modal.js +23 -23
- package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts +10 -9
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js +18 -18
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts +12 -11
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/SupportNotes.js +26 -26
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts +10 -9
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts.map +1 -1
- package/react/components/appCatalog/components/Showcase/VersionNotes.js +21 -21
- package/react/components/appCatalog/components/Showcase/defaults.d.ts +3 -3
- package/react/components/appCatalog/components/Showcase/defaults.js +3 -3
- package/react/components/appCatalog/components/Toast.d.ts +15 -11
- package/react/components/appCatalog/components/Toast.d.ts.map +1 -1
- package/react/components/appCatalog/components/Toast.js +38 -38
- package/react/components/appCatalog/components/Toast.js.map +1 -1
- package/react/components/appCatalog/components/helpers.d.ts +2 -2
- package/react/components/appCatalog/components/helpers.js +33 -33
- package/react/components/appCatalog/components/helpers.js.map +1 -1
- package/react/components/appCatalog/index.d.ts +1 -1
- package/react/components/appCatalog/index.js +1 -1
- package/react/components/appCatalog/modules/AppDirectory.d.ts +12 -12
- package/react/components/appCatalog/modules/AppDirectory.d.ts.map +1 -1
- package/react/components/appCatalog/modules/AppDirectory.js +10 -10
- package/react/components/appCatalog/modules/FDC3.d.ts +51 -51
- package/react/components/appCatalog/modules/FDC3.js +146 -146
- package/react/components/appCatalog/modules/FDC3.js.map +1 -1
- package/react/components/appCatalog/stores/appStore.d.ts +9 -9
- package/react/components/appCatalog/stores/appStore.js +47 -47
- package/react/components/appCatalog/stores/appStore.js.map +1 -1
- package/react/components/appCatalog/stores/storeActions.d.ts +145 -145
- package/react/components/appCatalog/stores/storeActions.d.ts.map +1 -1
- package/react/components/appCatalog/stores/storeActions.js +423 -423
- package/react/components/appCatalog/stores/storeActions.js.map +1 -1
- package/react/components/bloomberg/BloombergFDC3.d.ts +3 -3
- package/react/components/bloomberg/BloombergFDC3.d.ts.map +1 -1
- package/react/components/bloomberg/BloombergFDC3.js +71 -71
- package/react/components/bloomberg/BloombergFDC3.js.map +1 -1
- package/react/components/bloomberg/BloombergLink.d.ts +11 -11
- package/react/components/bloomberg/BloombergLink.d.ts.map +1 -1
- package/react/components/bloomberg/BloombergLink.js +48 -48
- package/react/components/bloomberg/BloombergLink.js.map +1 -1
- package/react/components/bloomberg/BloombergRelay.d.ts +9 -9
- package/react/components/bloomberg/BloombergRelay.d.ts.map +1 -1
- package/react/components/bloomberg/BloombergRelay.js +74 -68
- package/react/components/bloomberg/BloombergRelay.js.map +1 -1
- package/react/components/common/Button.d.ts +35 -35
- package/react/components/common/Button.js +21 -21
- package/react/components/common/Button.js.map +1 -1
- package/react/components/common/ButtonIcon.d.ts +4 -4
- package/react/components/common/ButtonIcon.js +11 -11
- package/react/components/common/ButtonIcon.js.map +1 -1
- package/react/components/common/ButtonRow.d.ts +15 -15
- package/react/components/common/ButtonRow.js +24 -24
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/Checkbox.d.ts +12 -12
- package/react/components/common/Checkbox.js +19 -19
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ContextMenu.d.ts +13 -13
- package/react/components/common/ContextMenu.d.ts.map +1 -1
- package/react/components/common/ContextMenu.js +62 -62
- package/react/components/common/ContextMenu.js.map +1 -1
- package/react/components/common/Dropdown.d.ts +14 -14
- package/react/components/common/Dropdown.d.ts.map +1 -1
- package/react/components/common/Dropdown.js +82 -82
- package/react/components/common/Dropdown.js.map +1 -1
- package/react/components/common/DropdownButton.d.ts +10 -10
- package/react/components/common/DropdownButton.d.ts.map +1 -1
- package/react/components/common/DropdownButton.js +52 -52
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/ErrorBoundary.d.ts +35 -35
- package/react/components/common/ErrorBoundary.d.ts.map +1 -1
- package/react/components/common/ErrorBoundary.js +43 -43
- package/react/components/common/ErrorBoundary.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +20 -20
- package/react/components/common/FinsembleIcon.d.ts.map +1 -1
- package/react/components/common/FinsembleIcon.js +150 -150
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleToggle.d.ts +9 -9
- package/react/components/common/FinsembleToggle.d.ts.map +1 -1
- package/react/components/common/FinsembleToggle.js +11 -11
- package/react/components/common/FinsembleToggleButtonBar.d.ts +15 -15
- package/react/components/common/FinsembleToggleButtonBar.d.ts.map +1 -1
- package/react/components/common/FinsembleToggleButtonBar.js +39 -39
- package/react/components/common/FinsembleToggleButtonBar.js.map +1 -1
- package/react/components/common/Header.d.ts +13 -13
- package/react/components/common/Header.d.ts.map +1 -1
- package/react/components/common/Header.js +20 -20
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/TimeSelect.d.ts +16 -16
- package/react/components/common/TimeSelect.d.ts.map +1 -1
- package/react/components/common/TimeSelect.js +173 -173
- package/react/components/common/TimeSelect.js.map +1 -1
- package/react/components/common/css/icon.css +0 -2
- package/react/components/common/loadCSSAsStyle.d.ts +3 -0
- package/react/components/common/loadCSSAsStyle.d.ts.map +1 -0
- package/react/components/common/loadCSSAsStyle.js +18 -0
- package/react/components/common/loadCSSAsStyle.js.map +1 -0
- package/react/components/downloadManager/DownloadItem.d.ts +14 -14
- package/react/components/downloadManager/DownloadItem.d.ts.map +1 -1
- package/react/components/downloadManager/DownloadItem.js +76 -76
- package/react/components/downloadManager/DownloadItem.js.map +1 -1
- package/react/components/downloadManager/DownloadManager.d.ts +9 -9
- package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
- package/react/components/downloadManager/DownloadManager.js +39 -39
- package/react/components/downloadManager/DownloadManager.js.map +1 -1
- package/react/components/downloadManager/index.d.ts +1 -1
- package/react/components/downloadManager/index.js +1 -1
- package/react/components/favorites/FavoriteMaker.d.ts +17 -17
- package/react/components/favorites/FavoriteMaker.d.ts.map +1 -1
- package/react/components/favorites/FavoriteMaker.js +41 -41
- package/react/components/favorites/FavoriteMaker.js.map +1 -1
- package/react/components/favorites/FavoritesShell.d.ts +7 -7
- package/react/components/favorites/FavoritesShell.d.ts.map +1 -1
- package/react/components/favorites/FavoritesShell.js +40 -40
- package/react/components/favorites/FavoritesShell.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.d.ts +12 -8
- package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js +98 -98
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +31 -31
- package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js +167 -164
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/fdc3Resolver/index.d.ts +1 -1
- package/react/components/fdc3Resolver/index.js +1 -1
- package/react/components/icon/Icon.d.ts +21 -21
- package/react/components/icon/Icon.d.ts.map +1 -1
- package/react/components/icon/Icon.js +102 -102
- package/react/components/icon/Icon.js.map +1 -1
- package/react/components/icon/index.d.ts +1 -1
- package/react/components/icon/index.js +1 -1
- package/react/components/index.d.ts +28 -28
- package/react/components/index.js +28 -28
- package/react/components/legacyControls/FinsembleDialog.d.ts +18 -18
- package/react/components/legacyControls/FinsembleDialog.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialog.js +47 -47
- package/react/components/legacyControls/FinsembleDialog.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.d.ts +16 -16
- package/react/components/legacyControls/FinsembleDialogButton.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.js +21 -21
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts +14 -14
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.js +16 -16
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +22 -22
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.js +64 -64
- package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.d.ts +46 -46
- package/react/components/legacyControls/FinsembleDnDContext.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.js +308 -308
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.d.ts +15 -15
- package/react/components/legacyControls/FinsembleDraggable.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.js +21 -21
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
- package/react/components/linker/LinkerMenu.d.ts +10 -6
- package/react/components/linker/LinkerMenu.d.ts.map +1 -1
- package/react/components/linker/LinkerMenu.js +155 -155
- package/react/components/linker/LinkerMenu.js.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.d.ts +13 -7
- package/react/components/linker/LinkerMenuDeprecated.d.ts.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.js +38 -38
- package/react/components/linker/LinkerMenuDeprecated.js.map +1 -1
- package/react/components/linker/index.d.ts +1 -1
- package/react/components/linker/index.js +1 -1
- package/react/components/linker/remoteRedux.d.ts +3 -3
- package/react/components/linker/remoteRedux.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.js +10 -9
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/menu/Menu.d.ts +29 -29
- package/react/components/menu/Menu.d.ts.map +1 -1
- package/react/components/menu/Menu.js +25 -25
- package/react/components/menu/Menu.js.map +1 -1
- package/react/components/menu/MenuAutoResizer.d.ts +19 -18
- package/react/components/menu/MenuAutoResizer.d.ts.map +1 -1
- package/react/components/menu/MenuAutoResizer.js +125 -67
- package/react/components/menu/MenuAutoResizer.js.map +1 -1
- package/react/components/menu/MenuContent.d.ts +11 -11
- package/react/components/menu/MenuContent.d.ts.map +1 -1
- package/react/components/menu/MenuContent.js +14 -14
- package/react/components/menu/MenuHotKey.d.ts +20 -20
- package/react/components/menu/MenuHotKey.d.ts.map +1 -1
- package/react/components/menu/MenuHotKey.js +45 -45
- package/react/components/menu/MenuHotKey.js.map +1 -1
- package/react/components/menu/MenuItem.d.ts +19 -19
- package/react/components/menu/MenuItem.d.ts.map +1 -1
- package/react/components/menu/MenuItem.js +28 -21
- package/react/components/menu/MenuItem.js.map +1 -1
- package/react/components/menu/MenuPortal.d.ts +7 -7
- package/react/components/menu/MenuPortal.d.ts.map +1 -1
- package/react/components/menu/MenuPortal.js +321 -245
- package/react/components/menu/MenuPortal.js.map +1 -1
- package/react/components/menu/MenuShell.d.ts +31 -31
- package/react/components/menu/MenuShell.d.ts.map +1 -1
- package/react/components/menu/MenuShell.js +47 -47
- package/react/components/menu/MenuToggle.d.ts +7 -7
- package/react/components/menu/MenuToggle.d.ts.map +1 -1
- package/react/components/menu/MenuToggle.js +19 -18
- package/react/components/menu/MenuToggle.js.map +1 -1
- package/react/components/menu/index.d.ts +5 -5
- package/react/components/menu/index.js +5 -5
- package/react/components/menu/keyboardNavigation.d.ts +13 -13
- package/react/components/menu/keyboardNavigation.d.ts.map +1 -1
- package/react/components/menu/keyboardNavigation.js +197 -195
- package/react/components/menu/keyboardNavigation.js.map +1 -1
- package/react/components/menu/menuContext.d.ts +16 -17
- package/react/components/menu/menuContext.d.ts.map +1 -1
- package/react/components/menu/menuContext.js +8 -8
- package/react/components/menu/menuHelpers.d.ts +32 -32
- package/react/components/menu/menuHelpers.d.ts.map +1 -1
- package/react/components/menu/menuHelpers.js +112 -112
- package/react/components/menu/menuHelpers.js.map +1 -1
- package/react/components/notifications/components/NoNotifications.d.ts +3 -3
- package/react/components/notifications/components/NoNotifications.d.ts.map +1 -1
- package/react/components/notifications/components/NoNotifications.js +4 -4
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.d.ts +18 -18
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.js +83 -83
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts +5 -5
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +44 -44
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/CardView.d.ts +4 -4
- package/react/components/notifications/components/notificationsCenter/components/CardView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/CardView.js +91 -91
- package/react/components/notifications/components/notificationsCenter/components/CardView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/Drawer.d.ts +7 -7
- package/react/components/notifications/components/notificationsCenter/components/Drawer.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/Drawer.js +4 -4
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.d.ts +3 -3
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.js +93 -93
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.d.ts +7 -7
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.js +80 -77
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/ListView.d.ts +14 -14
- package/react/components/notifications/components/notificationsCenter/components/ListView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/ListView.js +150 -150
- package/react/components/notifications/components/notificationsCenter/components/ListView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.d.ts +18 -18
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.js +68 -68
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.d.ts +6 -6
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.js +63 -63
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.d.ts +9 -9
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.js +312 -303
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.js.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts +4 -4
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +220 -220
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.d.ts +5 -5
- package/react/components/notifications/components/shared/CheckButton.d.ts.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.js +38 -38
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.d.ts +10 -10
- package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -1
- package/react/components/notifications/components/shared/IconButton.js +10 -10
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +20 -20
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.js +92 -92
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +5 -5
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js +31 -31
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts +4 -4
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js +6 -6
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +8 -8
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js +12 -12
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +13 -13
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js +149 -149
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts +4 -4
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js +7 -7
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +10 -10
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js +18 -18
- package/react/components/notifications/constants.d.ts +9 -9
- package/react/components/notifications/constants.js +11 -11
- package/react/components/notifications/css/notification-card.css +1 -1
- package/react/components/notifications/icons/EnvelopeClose.d.ts +2 -2
- package/react/components/notifications/icons/EnvelopeClose.d.ts.map +1 -1
- package/react/components/notifications/icons/EnvelopeClose.js +11 -11
- package/react/components/notifications/icons/EnvelopeOpen.d.ts +2 -2
- package/react/components/notifications/icons/EnvelopeOpen.d.ts.map +1 -1
- package/react/components/notifications/icons/EnvelopeOpen.js +10 -10
- package/react/components/notifications/icons/SnoozeIcon.d.ts +2 -2
- package/react/components/notifications/icons/SnoozeIcon.d.ts.map +1 -1
- package/react/components/notifications/icons/SnoozeIcon.js +12 -12
- package/react/components/notifications/index.d.ts +8 -8
- package/react/components/notifications/index.js +8 -8
- package/react/components/notifications/notificationsContext.d.ts +6 -7
- package/react/components/notifications/notificationsContext.d.ts.map +1 -1
- package/react/components/notifications/notificationsContext.js +6 -6
- package/react/components/notifications/types.d.ts +90 -90
- package/react/components/notifications/types.d.ts.map +1 -1
- package/react/components/notifications/types.js +1 -1
- package/react/components/notifications/utils.d.ts +12 -12
- package/react/components/notifications/utils.js +70 -70
- package/react/components/notifications/utils.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.d.ts +6 -6
- package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.js +64 -64
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +22 -22
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.js +1 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts +11 -11
- package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.js +32 -32
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +8 -8
- package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
- package/react/components/processMonitor/components/ListHeader.js +50 -50
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/Process.d.ts +9 -9
- package/react/components/processMonitor/components/Process.d.ts.map +1 -1
- package/react/components/processMonitor/components/Process.js +10 -10
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +10 -10
- package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.js +64 -64
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.d.ts +8 -8
- package/react/components/processMonitor/constants.js +23 -23
- package/react/components/processMonitor/helpers.d.ts +17 -17
- package/react/components/processMonitor/helpers.js +48 -48
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/index.d.ts +1 -1
- package/react/components/processMonitor/index.js +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +58 -58
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +264 -264
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.d.ts +7 -7
- package/react/components/quickComponentForm/QuickComponentForm.d.ts.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.js +123 -123
- package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
- package/react/components/quickComponentForm/index.d.ts +1 -1
- package/react/components/quickComponentForm/index.js +1 -1
- package/react/components/search/Highlight.d.ts +12 -12
- package/react/components/search/Highlight.d.ts.map +1 -1
- package/react/components/search/Highlight.js +41 -41
- package/react/components/search/Highlight.js.map +1 -1
- package/react/components/search/Search.d.ts +5 -5
- package/react/components/search/Search.d.ts.map +1 -1
- package/react/components/search/Search.js +19 -27
- package/react/components/search/Search.js.map +1 -1
- package/react/components/search/SearchBestMatch.d.ts +6 -6
- package/react/components/search/SearchBestMatch.d.ts.map +1 -1
- package/react/components/search/SearchBestMatch.js +38 -38
- package/react/components/search/SearchBestMatch.js.map +1 -1
- package/react/components/search/SearchInput.d.ts +6 -6
- package/react/components/search/SearchInput.d.ts.map +1 -1
- package/react/components/search/SearchInput.js +26 -26
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/search/SearchProviderResults.d.ts +5 -5
- package/react/components/search/SearchProviderResults.d.ts.map +1 -1
- package/react/components/search/SearchProviderResults.js +26 -26
- package/react/components/search/SearchResult.d.ts +12 -12
- package/react/components/search/SearchResult.d.ts.map +1 -1
- package/react/components/search/SearchResult.js +52 -47
- package/react/components/search/SearchResult.js.map +1 -1
- package/react/components/search/SearchResults.d.ts +3 -3
- package/react/components/search/SearchResults.d.ts.map +1 -1
- package/react/components/search/SearchResults.js +21 -21
- package/react/components/search/SearchResults.js.map +1 -1
- package/react/components/search/index.d.ts +1 -1
- package/react/components/search/index.js +1 -1
- package/react/components/shared/BellIcon.d.ts +3 -3
- package/react/components/shared/BellIcon.d.ts.map +1 -1
- package/react/components/shared/BellIcon.js +7 -7
- package/react/components/shared/BellIconCrossed.d.ts +3 -3
- package/react/components/shared/BellIconCrossed.d.ts.map +1 -1
- package/react/components/shared/BellIconCrossed.js +9 -9
- package/react/components/shared/Button.d.ts +9 -9
- package/react/components/shared/Button.d.ts.map +1 -1
- package/react/components/shared/Button.js +5 -5
- package/react/components/shared/ConditionalWrapper.d.ts +8 -8
- package/react/components/shared/ConditionalWrapper.d.ts.map +1 -1
- package/react/components/shared/ConditionalWrapper.js +5 -5
- package/react/components/shared/DefaultDropdownButton.d.ts +18 -18
- package/react/components/shared/DefaultDropdownButton.d.ts.map +1 -1
- package/react/components/shared/DefaultDropdownButton.js +117 -117
- package/react/components/shared/DefaultDropdownButton.js.map +1 -1
- package/react/components/shared/Tag.d.ts +16 -8
- package/react/components/shared/Tag.d.ts.map +1 -1
- package/react/components/shared/Tag.js +22 -22
- package/react/components/shared/TagsMenu.d.ts +36 -36
- package/react/components/shared/TagsMenu.js +77 -77
- package/react/components/shared/TagsMenu.js.map +1 -1
- package/react/components/shared/addProtocolToValidURL.d.ts +7 -7
- package/react/components/shared/addProtocolToValidURL.js +11 -11
- package/react/components/shared/openQuitConfirmationDialog.d.ts +1 -1
- package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.js +73 -71
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/shared/validateURL.d.ts +19 -19
- package/react/components/shared/validateURL.js +29 -29
- package/react/components/singleInputDialog/SingleInputDialog.d.ts +12 -8
- package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.js +112 -112
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/singleInputDialog/index.d.ts +1 -1
- package/react/components/singleInputDialog/index.js +1 -1
- package/react/components/system/System.d.ts +34 -34
- package/react/components/system/System.d.ts.map +1 -1
- package/react/components/system/System.js +92 -93
- package/react/components/system/System.js.map +1 -1
- package/react/components/system/SystemTrayComponentShell.d.ts +14 -14
- package/react/components/system/SystemTrayComponentShell.d.ts.map +1 -1
- package/react/components/system/SystemTrayComponentShell.js +47 -45
- package/react/components/system/SystemTrayComponentShell.js.map +1 -1
- package/react/components/system/index.d.ts +2 -2
- package/react/components/system/index.js +2 -2
- package/react/components/toolbar/AlwaysOnTop.d.ts +10 -10
- package/react/components/toolbar/AlwaysOnTop.d.ts.map +1 -1
- package/react/components/toolbar/AlwaysOnTop.js +95 -78
- package/react/components/toolbar/AlwaysOnTop.js.map +1 -1
- package/react/components/toolbar/AutoArrange.d.ts +12 -12
- package/react/components/toolbar/AutoArrange.d.ts.map +1 -1
- package/react/components/toolbar/AutoArrange.js +36 -36
- package/react/components/toolbar/AutoArrange.js.map +1 -1
- package/react/components/toolbar/DownloadButton.d.ts +10 -10
- package/react/components/toolbar/DownloadButton.d.ts.map +1 -1
- package/react/components/toolbar/DownloadButton.js +43 -46
- package/react/components/toolbar/DownloadButton.js.map +1 -1
- package/react/components/toolbar/DragHandle.d.ts +11 -11
- package/react/components/toolbar/DragHandle.d.ts.map +1 -1
- package/react/components/toolbar/DragHandle.js +49 -49
- package/react/components/toolbar/MinimizeAll.d.ts +11 -11
- package/react/components/toolbar/MinimizeAll.d.ts.map +1 -1
- package/react/components/toolbar/MinimizeAll.js +24 -24
- package/react/components/toolbar/MinimizeAll.js.map +1 -1
- package/react/components/toolbar/NotificationControl.d.ts +12 -12
- package/react/components/toolbar/NotificationControl.d.ts.map +1 -1
- package/react/components/toolbar/NotificationControl.js +85 -79
- package/react/components/toolbar/NotificationControl.js.map +1 -1
- package/react/components/toolbar/RevealAll.d.ts +11 -11
- package/react/components/toolbar/RevealAll.d.ts.map +1 -1
- package/react/components/toolbar/RevealAll.js +26 -26
- package/react/components/toolbar/RevealAll.js.map +1 -1
- package/react/components/toolbar/SddButton.d.ts +6 -6
- package/react/components/toolbar/SddButton.d.ts.map +1 -1
- package/react/components/toolbar/SddButton.js +27 -27
- package/react/components/toolbar/SddButton.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.d.ts +6 -6
- package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarIcon.js +29 -41
- package/react/components/toolbar/ToolbarIcon.js.map +1 -1
- package/react/components/toolbar/ToolbarSection.d.ts +16 -16
- package/react/components/toolbar/ToolbarSection.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarSection.js +41 -41
- package/react/components/toolbar/ToolbarSection.js.map +1 -1
- package/react/components/toolbar/ToolbarShell.d.ts +20 -20
- package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarShell.js +35 -35
- package/react/components/toolbar/ToolbarShell.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts +10 -10
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js +26 -33
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.d.ts +43 -42
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.js +97 -89
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.d.ts +93 -93
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.js +334 -333
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewFolder.d.ts +10 -10
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewFolder.js +15 -15
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.d.ts +56 -56
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.js +175 -175
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.d.ts +33 -33
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.js +53 -53
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.d.ts +16 -16
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.js +43 -43
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.d.ts +38 -38
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.js +172 -171
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.d.ts +20 -20
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.js +52 -52
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.d.ts +59 -59
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.js +308 -295
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts +25 -25
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.js +103 -103
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/NoAppsFound.d.ts +11 -11
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/NoAppsFound.js +9 -9
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SearchBox.d.ts +18 -18
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SearchBox.js +51 -51
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SortBy.d.ts +13 -13
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SortBy.js +34 -34
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/TagsList.d.ts +19 -19
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/TagsList.js +38 -38
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.d.ts +8 -8
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.js +26 -26
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/AppDirectory.d.ts +8 -8
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/AppDirectory.js +10 -10
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.d.ts +55 -55
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.js +145 -145
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.d.ts +5 -5
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.js +21 -21
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.d.ts +96 -96
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.js +548 -546
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.d.ts +18 -18
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.js +55 -55
- package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.d.ts +16 -16
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.js +279 -240
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.d.ts +96 -96
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.js +329 -328
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.d.ts +40 -40
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.js +61 -61
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.d.ts +17 -17
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.js +42 -42
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.d.ts +18 -18
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.js +114 -114
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.d.ts +62 -62
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.js +260 -271
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts +9 -9
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.js +36 -37
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/NoAppsFound.d.ts +11 -11
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/NoAppsFound.js +9 -9
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SearchBox.d.ts +12 -12
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SearchBox.js +23 -23
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.d.ts +12 -12
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.js +16 -16
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/TagsList.d.ts +11 -11
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/TagsList.js +15 -15
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/constants.d.ts +4 -4
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/constants.js +4 -4
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.d.ts +26 -26
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.js +44 -42
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.d.ts +19 -19
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.js +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.d.ts +16 -16
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.js +46 -46
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.js.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts +28 -28
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js +48 -48
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +29 -29
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js +54 -48
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/appLauncher.css +0 -6
- package/react/components/toolbar/appLauncher/components/componentList.d.ts +14 -7
- package/react/components/toolbar/appLauncher/components/componentList.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/components/componentList.js +133 -133
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +44 -44
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +274 -259
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
- package/react/components/toolbar/bloomberg/BloombergStatus.d.ts +4 -4
- package/react/components/toolbar/bloomberg/BloombergStatus.d.ts.map +1 -1
- package/react/components/toolbar/bloomberg/BloombergStatus.js +109 -109
- package/react/components/toolbar/bloomberg/BloombergStatus.js.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.d.ts +4 -4
- package/react/components/toolbar/dashbar/Dashbar.d.ts.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.js +441 -449
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.d.ts +17 -17
- package/react/components/toolbar/dashbar/DashbarItem.d.ts.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.js +58 -58
- package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
- package/react/components/toolbar/index.d.ts +18 -18
- package/react/components/toolbar/index.js +18 -18
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +21 -21
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js +62 -56
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +23 -23
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js +76 -76
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts +8 -3
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js +50 -50
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +14 -9
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js +24 -24
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +136 -136
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +684 -684
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts +14 -15
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts.map +1 -1
- package/react/components/userPreferences/NotificationsPreferencesContext.js +6 -6
- package/react/components/userPreferences/UserPreferenceTypes.d.ts +9 -9
- package/react/components/userPreferences/UserPreferenceTypes.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferenceTypes.js +1 -1
- package/react/components/userPreferences/UserPreferences.d.ts +20 -16
- package/react/components/userPreferences/UserPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferences.js +27 -24
- package/react/components/userPreferences/UserPreferences.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.d.ts +3 -11
- package/react/components/userPreferences/UserPreferencesBase.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.js +101 -101
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts +4 -4
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.js +32 -28
- package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -1
- package/react/components/userPreferences/components/ContentSection.d.ts +23 -12
- package/react/components/userPreferences/components/ContentSection.d.ts.map +1 -1
- package/react/components/userPreferences/components/ContentSection.js +21 -21
- package/react/components/userPreferences/components/ContentSection.js.map +1 -1
- package/react/components/userPreferences/components/LeftNav.d.ts +14 -14
- package/react/components/userPreferences/components/LeftNav.d.ts.map +1 -1
- package/react/components/userPreferences/components/LeftNav.js +31 -31
- package/react/components/userPreferences/components/LeftNav.js.map +1 -1
- package/react/components/userPreferences/components/content/BloombergPreferences.d.ts +3 -3
- package/react/components/userPreferences/components/content/BloombergPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/BloombergPreferences.js +58 -58
- package/react/components/userPreferences/components/content/BloombergPreferences.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts +8 -8
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditor.js +129 -129
- package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts +10 -10
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.js +10 -10
- package/react/components/userPreferences/components/content/General.d.ts +3 -4
- package/react/components/userPreferences/components/content/General.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/General.js +48 -29
- package/react/components/userPreferences/components/content/General.js.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.d.ts +11 -11
- package/react/components/userPreferences/components/content/Notifications.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.js +39 -35
- package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +88 -88
- package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js +546 -529
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts +3 -3
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js +220 -211
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts +3 -3
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +134 -134
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts +3 -3
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +79 -79
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts +4 -4
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js +39 -39
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
- package/react/components/userPreferences/components/general/DownloadPreferences.d.ts +9 -9
- package/react/components/userPreferences/components/general/DownloadPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/DownloadPreferences.js +119 -111
- package/react/components/userPreferences/components/general/DownloadPreferences.js.map +1 -1
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts +3 -4
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/ResetPreferences.js +42 -36
- package/react/components/userPreferences/components/general/ResetPreferences.js.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts +10 -10
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledClose.js +133 -76
- package/react/components/userPreferences/components/general/ScheduledClose.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts +8 -8
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js +8 -8
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts +6 -6
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js +10 -10
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts +36 -35
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +85 -86
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts +8 -8
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js +6 -20
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -1
- package/react/components/userPreferences/index.d.ts +6 -6
- package/react/components/userPreferences/index.js +6 -6
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +39 -39
- package/react/components/userPreferences/stores/UserPreferencesStore.js +140 -140
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
- package/react/components/utils.d.ts +49 -49
- package/react/components/utils.d.ts.map +1 -1
- package/react/components/utils.js +59 -59
- package/react/components/utils.js.map +1 -1
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +8 -8
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/AlwaysOnTopButton.js +28 -28
- package/react/components/windowTitleBar/CloneButton.d.ts +2 -2
- package/react/components/windowTitleBar/CloneButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/CloneButton.js +22 -22
- package/react/components/windowTitleBar/CloneButton.js.map +1 -1
- package/react/components/windowTitleBar/CloseButton.d.ts +2 -2
- package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/CloseButton.js +21 -21
- package/react/components/windowTitleBar/CloseButton.js.map +1 -1
- package/react/components/windowTitleBar/GroupingButton.d.ts +2 -2
- package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/GroupingButton.js +24 -24
- package/react/components/windowTitleBar/LinkerButton.d.ts +10 -6
- package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerButton.js +116 -116
- package/react/components/windowTitleBar/LinkerButton.js.map +1 -1
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +10 -6
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js +62 -62
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/LinkerGroups.d.ts +6 -2
- package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerGroups.js +20 -20
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +6 -2
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -1
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +34 -34
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/MaximizeButton.d.ts +2 -2
- package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/MaximizeButton.js +17 -17
- package/react/components/windowTitleBar/MinimizeButton.d.ts +2 -2
- package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/MinimizeButton.js +20 -20
- package/react/components/windowTitleBar/ShareButton.d.ts +2 -2
- package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -1
- package/react/components/windowTitleBar/ShareButton.js +23 -23
- package/react/components/windowTitleBar/TabRegion.d.ts +30 -30
- package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -1
- package/react/components/windowTitleBar/TabRegion.js +502 -490
- package/react/components/windowTitleBar/TabRegion.js.map +1 -1
- package/react/components/windowTitleBar/TabTitle.d.ts +7 -7
- package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -1
- package/react/components/windowTitleBar/TabTitle.js +16 -16
- package/react/components/windowTitleBar/TabTitle.js.map +1 -1
- package/react/components/windowTitleBar/TitleEdit.d.ts +9 -9
- package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -1
- package/react/components/windowTitleBar/TitleEdit.js +30 -29
- package/react/components/windowTitleBar/TitleEdit.js.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +10 -11
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarContext.js +2 -2
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +16 -16
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.js +46 -45
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.d.ts +9 -9
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.js +22 -22
- package/react/components/windowTitleBar/index.d.ts +12 -12
- package/react/components/windowTitleBar/index.js +12 -12
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +6 -6
- package/react/components/windowTitleBar/useKeyboardNavigation.js +56 -56
- package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -1
- package/react/components/windowTitleBar/useMaximize.d.ts +4 -4
- package/react/components/windowTitleBar/useMaximize.js +22 -22
- package/react/components/yesNoDialog/YesNoDialog.d.ts +11 -7
- package/react/components/yesNoDialog/YesNoDialog.d.ts.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.js +154 -154
- package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
- package/react/components/yesNoDialog/index.d.ts +1 -1
- package/react/components/yesNoDialog/index.js +1 -1
- package/react/components/yesNoDialog/timer.d.ts +15 -16
- package/react/components/yesNoDialog/timer.d.ts.map +1 -1
- package/react/components/yesNoDialog/timer.js +32 -32
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/hooks/index.d.ts +4 -4
- package/react/hooks/index.js +4 -4
- package/react/hooks/useAuth.d.ts +10 -10
- package/react/hooks/useAuth.d.ts.map +1 -1
- package/react/hooks/useAuth.js +26 -26
- package/react/hooks/useDashbar.d.ts +8 -8
- package/react/hooks/useDashbar.d.ts.map +1 -1
- package/react/hooks/useDashbar.js +115 -115
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useDeepEffect.d.ts +5 -5
- package/react/hooks/useDeepEffect.js +33 -33
- package/react/hooks/useDeepEffect.js.map +1 -1
- package/react/hooks/useDownloadItems.d.ts +23 -23
- package/react/hooks/useDownloadItems.d.ts.map +1 -1
- package/react/hooks/useDownloadItems.js +67 -67
- package/react/hooks/useDownloadItems.js.map +1 -1
- package/react/hooks/useDragRegion.d.ts +25 -26
- package/react/hooks/useDragRegion.d.ts.map +1 -1
- package/react/hooks/useDragRegion.js +73 -73
- package/react/hooks/useDragRegion.js.map +1 -1
- package/react/hooks/useFavorites.d.ts +24 -24
- package/react/hooks/useFavorites.d.ts.map +1 -1
- package/react/hooks/useFavorites.js +23 -23
- package/react/hooks/useFavoritesShell.d.ts +14 -14
- package/react/hooks/useFavoritesShell.d.ts.map +1 -1
- package/react/hooks/useFavoritesShell.js +76 -83
- package/react/hooks/useFavoritesShell.js.map +1 -1
- package/react/hooks/useFloatingFocus.d.ts +15 -15
- package/react/hooks/useFloatingFocus.d.ts.map +1 -1
- package/react/hooks/useFloatingFocus.js +36 -35
- package/react/hooks/useFloatingFocus.js.map +1 -1
- package/react/hooks/useHotkey.d.ts +8 -8
- package/react/hooks/useHotkey.js +24 -24
- package/react/hooks/useInjectedTitleBar.d.ts +2 -2
- package/react/hooks/useInjectedTitleBar.js +436 -436
- package/react/hooks/useInjectedTitleBar.js.map +1 -1
- package/react/hooks/useLinker.d.ts +4 -4
- package/react/hooks/useLinker.js +111 -111
- package/react/hooks/useLinker.js.map +1 -1
- package/react/hooks/useMenu.d.ts +39 -39
- package/react/hooks/useMenu.d.ts.map +1 -1
- package/react/hooks/useMenu.js +51 -51
- package/react/hooks/useNotifications.d.ts +76 -76
- package/react/hooks/useNotifications.d.ts.map +1 -1
- package/react/hooks/useNotifications.js +457 -434
- package/react/hooks/useNotifications.js.map +1 -1
- package/react/hooks/useOAuth.d.ts +16 -16
- package/react/hooks/useOAuth.d.ts.map +1 -1
- package/react/hooks/useOAuth.js +115 -115
- package/react/hooks/useOAuth.js.map +1 -1
- package/react/hooks/useOutsideClickDetector.d.ts +5 -5
- package/react/hooks/useOutsideClickDetector.d.ts.map +1 -1
- package/react/hooks/useOutsideClickDetector.js +17 -17
- package/react/hooks/useOutsideClickDetector.js.map +1 -1
- package/react/hooks/usePubSub.d.ts +21 -21
- package/react/hooks/usePubSub.js +38 -38
- package/react/hooks/usePubSub.js.map +1 -1
- package/react/hooks/useSearch.d.ts +14 -14
- package/react/hooks/useSearch.d.ts.map +1 -1
- package/react/hooks/useSearch.js +76 -72
- package/react/hooks/useSearch.js.map +1 -1
- package/react/hooks/useTitle.d.ts +17 -17
- package/react/hooks/useTitle.d.ts.map +1 -1
- package/react/hooks/useTitle.js +28 -28
- package/react/hooks/useTitle.js.map +1 -1
- package/react/hooks/useToolbar.d.ts +11 -11
- package/react/hooks/useToolbar.js +162 -162
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/index.d.ts +2 -2
- package/react/index.js +2 -2
- package/react/reducers/favoriteReducer.d.ts +11 -11
- package/react/reducers/favoriteReducer.d.ts.map +1 -1
- package/react/reducers/favoriteReducer.js +27 -27
- package/react/reducers/linkerReducer.d.ts +13 -13
- package/react/reducers/linkerReducer.d.ts.map +1 -1
- package/react/reducers/linkerReducer.js +43 -43
- package/react/reducers/linkerReducer.js.map +1 -1
- package/react/reducers/menuReducer.d.ts +36 -36
- package/react/reducers/menuReducer.d.ts.map +1 -1
- package/react/reducers/menuReducer.js +65 -65
- package/react/reducers/rootReducer.d.ts +239 -239
- package/react/reducers/rootReducer.d.ts.map +1 -1
- package/react/reducers/rootReducer.js +20 -20
- package/react/reducers/searchReducer.d.ts +15 -15
- package/react/reducers/searchReducer.d.ts.map +1 -1
- package/react/reducers/searchReducer.js +27 -27
- package/react/reducers/smartDesktopDesignerReducer.d.ts +5 -5
- package/react/reducers/smartDesktopDesignerReducer.js +190 -190
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
- package/react/reducers/toolbarReducer.d.ts +10 -10
- package/react/reducers/toolbarReducer.d.ts.map +1 -1
- package/react/reducers/toolbarReducer.js +29 -29
- package/react/reducers/workspaceReducer.d.ts +10 -10
- package/react/reducers/workspaceReducer.d.ts.map +1 -1
- package/react/reducers/workspaceReducer.js +26 -26
- package/react/reducers/workspaceReducer.js.map +1 -1
- package/react/store.d.ts +450 -450
- package/react/store.d.ts.map +1 -1
- package/react/store.js +17 -17
- package/react/types/advancedAppLauncherTypes.d.ts +44 -44
- package/react/types/advancedAppLauncherTypes.d.ts.map +1 -1
- package/react/types/advancedAppLauncherTypes.js +1 -1
- package/react/types/dashbarTypes.d.ts +44 -41
- package/react/types/dashbarTypes.d.ts.map +1 -1
- package/react/types/dashbarTypes.js +1 -1
- package/react/types/favoriteTypes.d.ts +8 -8
- package/react/types/favoriteTypes.d.ts.map +1 -1
- package/react/types/favoriteTypes.js +1 -1
- package/react/types/fdc3.d.ts +27 -29
- package/react/types/fdc3.d.ts.map +1 -1
- package/react/types/fdc3.js +6 -6
- package/react/types/hotkeyTypes.d.ts +1 -1
- package/react/types/hotkeyTypes.d.ts.map +1 -1
- package/react/types/hotkeyTypes.js +1 -1
- package/react/types/linkerTypes.d.ts +27 -27
- package/react/types/linkerTypes.d.ts.map +1 -1
- package/react/types/linkerTypes.js +2 -2
- package/react/types/smartDesktopDesignerTypes.d.ts +227 -227
- package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -1
- package/react/types/smartDesktopDesignerTypes.js +19 -19
- package/react/types/workspaceTypes.d.ts +30 -30
- package/react/types/workspaceTypes.d.ts.map +1 -1
- package/react/types/workspaceTypes.js +1 -1
- package/services/index.d.ts +6 -0
- package/services/index.d.ts.map +1 -0
- package/services/index.js +6 -0
- package/services/index.js.map +1 -0
- package/services/logger/types.d.ts +2 -0
- package/services/logger/types.d.ts.map +1 -0
- package/services/logger/types.js +2 -0
- package/services/logger/types.js.map +1 -0
- package/services/search/types.d.ts +2 -0
- package/services/search/types.d.ts.map +1 -0
- package/services/search/types.js +2 -0
- package/services/search/types.js.map +1 -0
- package/services/storage/adapters/types.d.ts +2 -0
- package/services/storage/adapters/types.d.ts.map +1 -0
- package/services/storage/adapters/types.js +2 -0
- package/services/storage/adapters/types.js.map +1 -0
- package/services/window/types.d.ts +2 -0
- package/services/window/types.d.ts.map +1 -0
- package/services/window/types.js +2 -0
- package/services/window/types.js.map +1 -0
- package/services/workspace/types.d.ts +2 -0
- package/services/workspace/types.d.ts.map +1 -0
- package/services/workspace/types.js +2 -0
- package/services/workspace/types.js.map +1 -0
- package/typedoc-types.d.ts +8 -8
- package/typedoc-types.d.ts.map +1 -1
- package/typedoc-types.js +5 -5
- package/types.d.ts +15 -16
- package/types.d.ts.map +1 -1
- package/types.js +4 -7
- package/types.js.map +1 -1
- package/react/components/userPreferences/FinsembleUserPreferences.d.ts +0 -17
- package/react/components/userPreferences/FinsembleUserPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/FinsembleUserPreferences.js +0 -28
- package/react/components/userPreferences/FinsembleUserPreferences.js.map +0 -1
- package/react/components/userPreferences/iocdUserPreferences.d.ts +0 -17
- package/react/components/userPreferences/iocdUserPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/iocdUserPreferences.js +0 -49
- package/react/components/userPreferences/iocdUserPreferences.js.map +0 -1
- package/react/components/userPreferences/utils.d.ts +0 -3
- package/react/components/userPreferences/utils.d.ts.map +0 -1
- package/react/components/userPreferences/utils.js +0 -11
- package/react/components/userPreferences/utils.js.map +0 -1
- package/typedefs/FDC3/api/AppIdentifier.d.ts +0 -22
- package/typedefs/FDC3/api/AppIdentifier.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppIdentifier.js +0 -6
- package/typedefs/FDC3/api/AppIdentifier.js.map +0 -1
- package/typedefs/FDC3/api/AppIntent.d.ts +0 -16
- package/typedefs/FDC3/api/AppIntent.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppIntent.js +0 -6
- package/typedefs/FDC3/api/AppIntent.js.map +0 -1
- package/typedefs/FDC3/api/AppMetadata.d.ts +0 -41
- package/typedefs/FDC3/api/AppMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppMetadata.js +0 -6
- package/typedefs/FDC3/api/AppMetadata.js.map +0 -1
- package/typedefs/FDC3/api/Channel.d.ts +0 -73
- package/typedefs/FDC3/api/Channel.d.ts.map +0 -1
- package/typedefs/FDC3/api/Channel.js +0 -6
- package/typedefs/FDC3/api/Channel.js.map +0 -1
- package/typedefs/FDC3/api/ContextMetadata.d.ts +0 -19
- package/typedefs/FDC3/api/ContextMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/ContextMetadata.js +0 -6
- package/typedefs/FDC3/api/ContextMetadata.js.map +0 -1
- package/typedefs/FDC3/api/DesktopAgent.d.ts +0 -549
- package/typedefs/FDC3/api/DesktopAgent.d.ts.map +0 -1
- package/typedefs/FDC3/api/DesktopAgent.js +0 -6
- package/typedefs/FDC3/api/DesktopAgent.js.map +0 -1
- package/typedefs/FDC3/api/DisplayMetadata.d.ts +0 -24
- package/typedefs/FDC3/api/DisplayMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/DisplayMetadata.js +0 -6
- package/typedefs/FDC3/api/DisplayMetadata.js.map +0 -1
- package/typedefs/FDC3/api/Errors.d.ts +0 -67
- package/typedefs/FDC3/api/Errors.d.ts.map +0 -1
- package/typedefs/FDC3/api/Errors.js +0 -72
- package/typedefs/FDC3/api/Errors.js.map +0 -1
- package/typedefs/FDC3/api/Icon.d.ts +0 -13
- package/typedefs/FDC3/api/Icon.d.ts.map +0 -1
- package/typedefs/FDC3/api/Icon.js +0 -6
- package/typedefs/FDC3/api/Icon.js.map +0 -1
- package/typedefs/FDC3/api/Image.d.ts +0 -15
- package/typedefs/FDC3/api/Image.d.ts.map +0 -1
- package/typedefs/FDC3/api/Image.js +0 -6
- package/typedefs/FDC3/api/Image.js.map +0 -1
- package/typedefs/FDC3/api/ImplementationMetadata.d.ts +0 -36
- package/typedefs/FDC3/api/ImplementationMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/ImplementationMetadata.js +0 -6
- package/typedefs/FDC3/api/ImplementationMetadata.js.map +0 -1
- package/typedefs/FDC3/api/IntentMetadata.d.ts +0 -18
- package/typedefs/FDC3/api/IntentMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/IntentMetadata.js +0 -6
- package/typedefs/FDC3/api/IntentMetadata.js.map +0 -1
- package/typedefs/FDC3/api/IntentResolution.d.ts +0 -68
- package/typedefs/FDC3/api/IntentResolution.d.ts.map +0 -1
- package/typedefs/FDC3/api/IntentResolution.js +0 -6
- package/typedefs/FDC3/api/IntentResolution.js.map +0 -1
- package/typedefs/FDC3/api/Listener.d.ts +0 -11
- package/typedefs/FDC3/api/Listener.d.ts.map +0 -1
- package/typedefs/FDC3/api/Listener.js +0 -6
- package/typedefs/FDC3/api/Listener.js.map +0 -1
- package/typedefs/FDC3/api/Methods.d.ts +0 -72
- package/typedefs/FDC3/api/Methods.d.ts.map +0 -1
- package/typedefs/FDC3/api/Methods.js +0 -199
- package/typedefs/FDC3/api/Methods.js.map +0 -1
- package/typedefs/FDC3/api/PrivateChannel.d.ts +0 -54
- package/typedefs/FDC3/api/PrivateChannel.d.ts.map +0 -1
- package/typedefs/FDC3/api/PrivateChannel.js +0 -6
- package/typedefs/FDC3/api/PrivateChannel.js.map +0 -1
- package/typedefs/FDC3/api/RecommendedChannels.d.ts +0 -14
- package/typedefs/FDC3/api/RecommendedChannels.d.ts.map +0 -1
- package/typedefs/FDC3/api/RecommendedChannels.js +0 -80
- package/typedefs/FDC3/api/RecommendedChannels.js.map +0 -1
- package/typedefs/FDC3/api/Types.d.ts +0 -30
- package/typedefs/FDC3/api/Types.d.ts.map +0 -1
- package/typedefs/FDC3/api/Types.js +0 -6
- package/typedefs/FDC3/api/Types.js.map +0 -1
- package/typedefs/FDC3/bridging/BridgingTypes.d.ts +0 -3967
- package/typedefs/FDC3/bridging/BridgingTypes.d.ts.map +0 -1
- package/typedefs/FDC3/bridging/BridgingTypes.js +0 -1857
- package/typedefs/FDC3/bridging/BridgingTypes.js.map +0 -1
- package/typedefs/FDC3/context/ContextType.d.ts +0 -41
- package/typedefs/FDC3/context/ContextType.d.ts.map +0 -1
- package/typedefs/FDC3/context/ContextType.js +0 -30
- package/typedefs/FDC3/context/ContextType.js.map +0 -1
- package/typedefs/FDC3/context/ContextTypes.d.ts +0 -2000
- package/typedefs/FDC3/context/ContextTypes.d.ts.map +0 -1
- package/typedefs/FDC3/context/ContextTypes.js +0 -873
- package/typedefs/FDC3/context/ContextTypes.js.map +0 -1
- package/typedefs/FDC3/index.d.ts +0 -34
- package/typedefs/FDC3/index.d.ts.map +0 -1
- package/typedefs/FDC3/index.js +0 -30
- package/typedefs/FDC3/index.js.map +0 -1
- package/typedefs/FDC3/intents/Intents.d.ts +0 -36
- package/typedefs/FDC3/intents/Intents.d.ts.map +0 -1
- package/typedefs/FDC3/intents/Intents.js +0 -29
- package/typedefs/FDC3/intents/Intents.js.map +0 -1
- package/typedefs/FDC3/internal/contextConfiguration.d.ts +0 -2
- package/typedefs/FDC3/internal/contextConfiguration.d.ts.map +0 -1
- package/typedefs/FDC3/internal/contextConfiguration.js +0 -5
- package/typedefs/FDC3/internal/contextConfiguration.js.map +0 -1
- package/typedefs/FDC3/internal/intentConfiguration.d.ts +0 -2
- package/typedefs/FDC3/internal/intentConfiguration.d.ts.map +0 -1
- package/typedefs/FDC3/internal/intentConfiguration.js +0 -5
- package/typedefs/FDC3/internal/intentConfiguration.js.map +0 -1
- package/typedefs/FDC3/internal/typeHelpers.d.ts +0 -7
- package/typedefs/FDC3/internal/typeHelpers.d.ts.map +0 -1
- package/typedefs/FDC3/internal/typeHelpers.js +0 -5
- package/typedefs/FDC3/internal/typeHelpers.js.map +0 -1
- package/typedefs/index.d.ts +0 -2
- package/typedefs/index.d.ts.map +0 -1
- package/typedefs/index.js +0 -3
- package/typedefs/index.js.map +0 -1
package/clients/configClient.js
CHANGED
|
@@ -1,970 +1,970 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 - 2020 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* This client provides run-time access to Finsemble's configuration.
|
|
7
|
-
* The Config Client functions similar to a global store created with the Distributed Store Client and offers many of the same methods.
|
|
8
|
-
* Values modified at runtime are not persisted.
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* See the [Configuration tutorial](/docs/customize/customize-with-SDK/configuration) for a configuration overview.
|
|
12
|
-
*
|
|
13
|
-
* @module ConfigClient
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
This is how we want our API to work going forward, the way the world does it: import { processAndSet } from "configClient"
|
|
17
|
-
```
|
|
18
|
-
export const processAndSet = () => { ... }
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
This module's single exported object gives us backward compatibility when our core code does this: import { ConfigClient } from "configClient"
|
|
22
|
-
and provides the object that is attached to FSBL.Clients. This export should be kept as clean and simple as possible.
|
|
23
|
-
```
|
|
24
|
-
export const ConfigClient = {
|
|
25
|
-
processAndSet
|
|
26
|
-
}
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
The default export gives us backward compatibility where our core code does this: import ConfigClient from "configClient"
|
|
30
|
-
This can be eliminated when our core core is converted to normal imports as in the first example.
|
|
31
|
-
```
|
|
32
|
-
export default ConfigClient;
|
|
33
|
-
```
|
|
34
|
-
*/
|
|
35
|
-
import { RouterClient } from "./routerClient";
|
|
36
|
-
import SystemManagerClient from "../common/systemManagerClient";
|
|
37
|
-
import Logger from "./logger";
|
|
38
|
-
import { singleton } from "../common/Singleton";
|
|
39
|
-
import { generateMappingString } from "../platform/services/distributedStore/storeUtils";
|
|
40
|
-
class ConfigClientController {
|
|
41
|
-
constructor() {
|
|
42
|
-
this.listeners = {};
|
|
43
|
-
// Prevents multiple listener requests on the same field from being sent to the DistributedStoreService
|
|
44
|
-
this.subs = {};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
let configServiceStarted = false;
|
|
48
|
-
const waitForConfigService = async () => {
|
|
49
|
-
if (!configServiceStarted) {
|
|
50
|
-
await SystemManagerClient.waitForStartup("configService");
|
|
51
|
-
configServiceStarted = true;
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
const getControllerInstance = () => singleton("ConfigClient", ConfigClientController);
|
|
55
|
-
const INVALID_PATH_ERROR_MESSAGE = `Invalid path - MUST be a path array. e.g. for myObject.property use ['myObj', 'property']`;
|
|
56
|
-
/**
|
|
57
|
-
* Trigger any function that is listening for changes
|
|
58
|
-
*/
|
|
59
|
-
const triggerListeners = (listenerKey, data) => {
|
|
60
|
-
var _a;
|
|
61
|
-
const controller = getControllerInstance();
|
|
62
|
-
const listeners = (_a = controller.listeners[listenerKey]) !== null && _a !== void 0 ? _a : [];
|
|
63
|
-
listeners.forEach((listener) => {
|
|
64
|
-
Logger.system.debug("ConfigClient.triggerListeners", listenerKey, data);
|
|
65
|
-
listener(null, {
|
|
66
|
-
field: listenerKey,
|
|
67
|
-
value: data,
|
|
68
|
-
});
|
|
69
|
-
});
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Handles incoming changes from the config service
|
|
73
|
-
*/
|
|
74
|
-
const handleChanges = (err, response) => {
|
|
75
|
-
if (err) {
|
|
76
|
-
Logger.system.error("ConfigClient handleChanges() error", err);
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
if (!response.data.field) {
|
|
80
|
-
response.data.field = null;
|
|
81
|
-
}
|
|
82
|
-
const { field, storeData, value } = response.data;
|
|
83
|
-
const val = storeData ? storeData : value;
|
|
84
|
-
triggerListeners(field ? field : "configService", val);
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* make sure we don't have duplicate router subscribers
|
|
89
|
-
*/
|
|
90
|
-
const changeSub = async (change) => {
|
|
91
|
-
const controller = getControllerInstance();
|
|
92
|
-
if (!controller.subs)
|
|
93
|
-
controller.subs = {};
|
|
94
|
-
if (!controller.subs[change]) {
|
|
95
|
-
controller.subs[change] = true;
|
|
96
|
-
waitForConfigService();
|
|
97
|
-
const { err } = await RouterClient.query("configService.addListener", change);
|
|
98
|
-
if (err) {
|
|
99
|
-
Logger.system.error("Error adding listener to config service", err);
|
|
100
|
-
}
|
|
101
|
-
await RouterClient.subscribe(change, handleChanges);
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* @language javascript, dotnet
|
|
106
|
-
* Retrieves the entire manifest
|
|
107
|
-
*
|
|
108
|
-
* ```javascript
|
|
109
|
-
* FSBL.Clients.ConfigClient.getManifest(function(err, value){ });
|
|
110
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.getManifest();
|
|
111
|
-
* ```
|
|
112
|
-
*/
|
|
113
|
-
export const getManifest = async (cb) => {
|
|
114
|
-
waitForConfigService();
|
|
115
|
-
const { err, response } = await RouterClient.query("configService.getValues", { fields: null });
|
|
116
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
117
|
-
return { err, data: response.data };
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* @language javascript, java, dotnet
|
|
121
|
-
* Get a value from the config.
|
|
122
|
-
*
|
|
123
|
-
* If a field does not exists in the configuration, `data` will be undefined and `err` will
|
|
124
|
-
* be null.
|
|
125
|
-
*
|
|
126
|
-
* If you pass path as null or an empty path the entire config is returned.
|
|
127
|
-
*
|
|
128
|
-
* ```javascript
|
|
129
|
-
* FSBL.Clients.ConfigClient.get(
|
|
130
|
-
* ['field1', 'property1'], // field1.property1
|
|
131
|
-
* function(err,value){ }
|
|
132
|
-
* );
|
|
133
|
-
*
|
|
134
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.get(
|
|
135
|
-
* ['field1', 'property1'] // field1.property1
|
|
136
|
-
* );
|
|
137
|
-
* ```
|
|
138
|
-
*
|
|
139
|
-
* :::note
|
|
140
|
-
* In Java, this method is named `getValue`.
|
|
141
|
-
* :::
|
|
142
|
-
* @param {Function} cb Will return the value if found.
|
|
143
|
-
*/
|
|
144
|
-
export const get = async (path, cb) => {
|
|
145
|
-
if (path !== null && !Array.isArray(path)) {
|
|
146
|
-
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
147
|
-
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
148
|
-
}
|
|
149
|
-
waitForConfigService();
|
|
150
|
-
const { err, response } = await RouterClient.query("configService.getValue", path);
|
|
151
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
152
|
-
return { err, data: response.data };
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* @language javascript, java, dotnet
|
|
156
|
-
*
|
|
157
|
-
* Get multiple values from the config.
|
|
158
|
-
*
|
|
159
|
-
* If a field does not exists in the configuration, `data` will be undefined and `err` will
|
|
160
|
-
* be null.
|
|
161
|
-
*
|
|
162
|
-
* ```javascript
|
|
163
|
-
* FSBL.Clients.ConfigClient.getMultiple(
|
|
164
|
-
* [
|
|
165
|
-
* // field1.property1.subproperty1
|
|
166
|
-
* ["field1", "property1", "subproperty1"],
|
|
167
|
-
*
|
|
168
|
-
* // field1.property2
|
|
169
|
-
* ["field1", "property2"]
|
|
170
|
-
* ], (err, values) => {
|
|
171
|
-
* if(!err){
|
|
172
|
-
* console.log("Values: ", values);
|
|
173
|
-
* }
|
|
174
|
-
* });
|
|
175
|
-
*
|
|
176
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.getMultiple([
|
|
177
|
-
* // field1.property1.subproperty1
|
|
178
|
-
* ["field1", "property1", "subproperty1"],
|
|
179
|
-
*
|
|
180
|
-
* // field1.property2
|
|
181
|
-
* ["field1", "property2"] // field1.property2
|
|
182
|
-
* ]);
|
|
183
|
-
* if(!err){
|
|
184
|
-
* console.log("Values: ", data);
|
|
185
|
-
* }
|
|
186
|
-
* ```
|
|
187
|
-
* @param {Function} cb Will return the value if found.
|
|
188
|
-
*/
|
|
189
|
-
export const getMultiple = async (paths, cb) => {
|
|
190
|
-
if (!Array.isArray(paths)) {
|
|
191
|
-
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
192
|
-
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
193
|
-
}
|
|
194
|
-
await SystemManagerClient.waitForStartup("configService");
|
|
195
|
-
const { err, response } = await RouterClient.query("configService.getValues", {
|
|
196
|
-
fields: paths.length ? paths : null,
|
|
197
|
-
});
|
|
198
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
199
|
-
return { err, data: response.data };
|
|
200
|
-
};
|
|
201
|
-
/**
|
|
202
|
-
* @language javascript, java, dotnet
|
|
203
|
-
* @deprecated - Use [ `FSBL.Clients.ConfigClient.get()`](#get) instead.
|
|
204
|
-
*
|
|
205
|
-
* Get a value from the config.
|
|
206
|
-
*
|
|
207
|
-
* ```javascript
|
|
208
|
-
* FSBL.Clients.ConfigClient.getValue({ field:'field1' }, function(err,value){ });
|
|
209
|
-
* FSBL.Clients.ConfigClient.getValue('field1', function(err,value){ });
|
|
210
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.getValue({ field:'field1' });
|
|
211
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.getValue('field1');
|
|
212
|
-
* ```
|
|
213
|
-
* @param {Function} cb Will return the value if found.
|
|
214
|
-
*
|
|
215
|
-
*/
|
|
216
|
-
export const getValue = async (params, cb) => {
|
|
217
|
-
Logger.system.deprecated("FSBL.Clients.ConfigClient.getValue is deprecated. Use FSBL.Clients.ConfigClient.get() instead.");
|
|
218
|
-
if (typeof params === "string") {
|
|
219
|
-
params = { field: params };
|
|
220
|
-
}
|
|
221
|
-
if (!params.field) {
|
|
222
|
-
const err = "no field provided";
|
|
223
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
224
|
-
return { err };
|
|
225
|
-
}
|
|
226
|
-
waitForConfigService();
|
|
227
|
-
const { err, response } = await RouterClient.query("configService.getValue", {
|
|
228
|
-
field: params.field,
|
|
229
|
-
});
|
|
230
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
231
|
-
return { err, data: response.data };
|
|
232
|
-
};
|
|
233
|
-
/**
|
|
234
|
-
* @language javascript, java, dotnet
|
|
235
|
-
* @deprecated - Use [`FSBL.Clients.ConfigClient.getMultiple()`](#getmultiple) instead.
|
|
236
|
-
*
|
|
237
|
-
* Get multiple values from the config.
|
|
238
|
-
*
|
|
239
|
-
* :::caution
|
|
240
|
-
* **Deprecated functionality**: If there are no fields provided, the complete configuration manifest
|
|
241
|
-
* is returned (use [getManifest()](#getmanifest)).
|
|
242
|
-
* :::
|
|
243
|
-
*
|
|
244
|
-
* ```javascript
|
|
245
|
-
* FSBL.Clients.ConfigClient.getValues(['field1','field2'], function(err,values){ });
|
|
246
|
-
* FSBL.Clients.ConfigClient.getValues(null, callback); // returns the complete manifest containing the finsemble property
|
|
247
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.getValues(['field1', 'field2']);
|
|
248
|
-
* ```
|
|
249
|
-
* @param {fieldOnlyParam[] | string[]} fields An array of objects containing a field property or an array of string field names.
|
|
250
|
-
* @param {Function} cb Will return the value if found.
|
|
251
|
-
*/
|
|
252
|
-
export const getValues = async (fields, cb) => {
|
|
253
|
-
Logger.system.deprecated("FSBL.Clients.ConfigClient.getValues is deprecated. Use FSBL.Clients.ConfigClient.getMultiple() instead.");
|
|
254
|
-
if (typeof fields === "function") {
|
|
255
|
-
cb = fields;
|
|
256
|
-
fields = null;
|
|
257
|
-
}
|
|
258
|
-
if (fields && !Array.isArray(fields)) {
|
|
259
|
-
return getValue(fields, cb);
|
|
260
|
-
}
|
|
261
|
-
waitForConfigService();
|
|
262
|
-
const { err, response } = await RouterClient.query("configService.getValues", { fields });
|
|
263
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
264
|
-
return { err, data: response.data };
|
|
265
|
-
};
|
|
266
|
-
/**
|
|
267
|
-
* @language javascript, java, dotnet
|
|
268
|
-
* Sets a value in the config.
|
|
269
|
-
*
|
|
270
|
-
* Setting a value will trigger events that you can listen to using [`addListener()`](#addlistener).
|
|
271
|
-
*
|
|
272
|
-
* ```javascript
|
|
273
|
-
* // Set field1.property1 = "foo"
|
|
274
|
-
* FSBL.Clients.ConfigClient.set(
|
|
275
|
-
* ['field1', 'property1'],
|
|
276
|
-
* "foo",
|
|
277
|
-
* function(err,value){ }
|
|
278
|
-
* );
|
|
279
|
-
*
|
|
280
|
-
* // Set field1.property1 = "foo"
|
|
281
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.set(['field1', 'property1'], "foo");
|
|
282
|
-
* ```
|
|
283
|
-
* :::note
|
|
284
|
-
* In Java, this method is named `setValue`.
|
|
285
|
-
* :::
|
|
286
|
-
* @param {Function} cb Optional callback.
|
|
287
|
-
*/
|
|
288
|
-
export const set = async (path, value, cb) => {
|
|
289
|
-
if (!Array.isArray(path)) {
|
|
290
|
-
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
291
|
-
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
292
|
-
}
|
|
293
|
-
waitForConfigService();
|
|
294
|
-
const fieldPathArrayAndValue = {
|
|
295
|
-
field: path,
|
|
296
|
-
value,
|
|
297
|
-
};
|
|
298
|
-
const { err, response } = await RouterClient.query("configService.setValue", fieldPathArrayAndValue);
|
|
299
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
300
|
-
return { err, data: response.data };
|
|
301
|
-
};
|
|
302
|
-
/**
|
|
303
|
-
* @language javascript, java, dotnet
|
|
304
|
-
* Sets multiple values in the config.
|
|
305
|
-
*
|
|
306
|
-
* Setting a value will trigger events that you can listen to using <a href="#addlistener">`addListener()`</a>.
|
|
307
|
-
*
|
|
308
|
-
* ```javascript
|
|
309
|
-
* // Set both field1.property1 = "foo" AND field2.property2 = "bar"
|
|
310
|
-
* FSBL.Clients.ConfigClient.setMultiple(
|
|
311
|
-
* [
|
|
312
|
-
* {field: ['field1', 'property1'], value: "foo"},
|
|
313
|
-
* {field: ['field2', 'property2'], value: "bar"}
|
|
314
|
-
* ],
|
|
315
|
-
* function(err,value){ }
|
|
316
|
-
* );
|
|
317
|
-
*
|
|
318
|
-
* // Set both field1.property1 = "foo" AND field2.property2 = "bar"
|
|
319
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.setMultiple([
|
|
320
|
-
* {field: ['field1', 'property1'], value: "foo"},
|
|
321
|
-
* {field: ['field2', 'property2'], value: "bar"}
|
|
322
|
-
* ]);
|
|
323
|
-
* ```
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
* :::note
|
|
327
|
-
* In Java, this method is named `setValues`.
|
|
328
|
-
* :::
|
|
329
|
-
* @param {Function} cb Optional callback.
|
|
330
|
-
*/
|
|
331
|
-
export const setMultiple = async (pathsAndValues, cb) => {
|
|
332
|
-
if (!Array.isArray(pathsAndValues)) {
|
|
333
|
-
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
334
|
-
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
335
|
-
}
|
|
336
|
-
await SystemManagerClient.waitForStartup("configService");
|
|
337
|
-
const { err, response } = await RouterClient.query("configService.setValues", pathsAndValues);
|
|
338
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
339
|
-
return { err, data: response.data };
|
|
340
|
-
};
|
|
341
|
-
/**
|
|
342
|
-
* @language javascript, java, dotnet
|
|
343
|
-
* @deprecated - Use [`FSBL.Clients.ConfigClient.set()`](#set) instead.
|
|
344
|
-
*
|
|
345
|
-
* Set a value in the config. Setting a value will trigger events that you can listen to using <a href="#addlistener">`addListener()`</a>.
|
|
346
|
-
*
|
|
347
|
-
* ```javascript
|
|
348
|
-
* FSBL.Clients.ConfigClient.setValue({ field:'field1', value:"new value" }, function(err){ });
|
|
349
|
-
* const {err} = await FSBL.Clients.ConfigClient.setValue({ field:'field1', value:'new value' })
|
|
350
|
-
* ```
|
|
351
|
-
* @param {function} cb Optional callback
|
|
352
|
-
*/
|
|
353
|
-
export const setValue = async (params, cb) => {
|
|
354
|
-
Logger.system.deprecated("FSBL.Clients.ConfigClient.setValue is deprecated. Use FSBL.Clients.ConfigClient.set() instead.");
|
|
355
|
-
const data = {
|
|
356
|
-
field: params.field,
|
|
357
|
-
value: params.value,
|
|
358
|
-
};
|
|
359
|
-
waitForConfigService();
|
|
360
|
-
const { err } = await RouterClient.query("configService.setValue", data);
|
|
361
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
362
|
-
return { err };
|
|
363
|
-
};
|
|
364
|
-
/**
|
|
365
|
-
* @language javascript, java, dotnet
|
|
366
|
-
* @deprecated - Use [FSBL.Clients.ConfigClient.setMultiple()](#setmultiple) instead.
|
|
367
|
-
*
|
|
368
|
-
* Set multiple values in the config.
|
|
369
|
-
*
|
|
370
|
-
* ```javascript
|
|
371
|
-
* FSBL.Clients.ConfigClient.setValues([{ field:'field1', value: "new value" }]);
|
|
372
|
-
* const {err} = await FSBL.Clients.ConfigClient.setValues([{ field:'field1', value: "new value" }]);
|
|
373
|
-
* ```
|
|
374
|
-
* @param {function} cb Optional callback
|
|
375
|
-
*/
|
|
376
|
-
export const setValues = async (fields, cb) => {
|
|
377
|
-
Logger.system.deprecated("FSBL.Clients.ConfigClient.setValues is deprecated. Use FSBL.Clients.ConfigClient.setValues() instead.");
|
|
378
|
-
if (!fields) {
|
|
379
|
-
const err = "ConfigClient.SetValues. No params given";
|
|
380
|
-
Logger.system.error(err);
|
|
381
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
382
|
-
return { err };
|
|
383
|
-
}
|
|
384
|
-
if (!Array.isArray(fields)) {
|
|
385
|
-
const err = "ConfigClient.SetValues. Params must be an array";
|
|
386
|
-
Logger.system.error(err);
|
|
387
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
388
|
-
return { err };
|
|
389
|
-
}
|
|
390
|
-
waitForConfigService();
|
|
391
|
-
const { err } = await RouterClient.query("configService.setValues", fields);
|
|
392
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
393
|
-
return { err };
|
|
394
|
-
};
|
|
395
|
-
/**
|
|
396
|
-
* @language javascript, java, dotnet
|
|
397
|
-
* Remove a value (and its key) from the config.
|
|
398
|
-
*
|
|
399
|
-
* Removing a value will trigger events that you can listen to using <a href="#addlistener">`addListener()`</a>.
|
|
400
|
-
*
|
|
401
|
-
* ```javascript
|
|
402
|
-
* FSBL.Clients.ConfigClient.remove(
|
|
403
|
-
['field1', 'property1'], // field1.property1
|
|
404
|
-
function(err,value){ }
|
|
405
|
-
);
|
|
406
|
-
*
|
|
407
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.remove(
|
|
408
|
-
['field1', 'property1']); // field1.property1
|
|
409
|
-
* ```
|
|
410
|
-
*
|
|
411
|
-
* :::note
|
|
412
|
-
* In Java, this method is named `removeValue`.
|
|
413
|
-
* :::
|
|
414
|
-
* @param {Function} cb Optional callback.
|
|
415
|
-
*/
|
|
416
|
-
export const remove = async (path, cb) => {
|
|
417
|
-
if (!Array.isArray(path)) {
|
|
418
|
-
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
419
|
-
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
420
|
-
}
|
|
421
|
-
waitForConfigService();
|
|
422
|
-
const { err, response } = await RouterClient.query("configService.removeValue", path);
|
|
423
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
424
|
-
return { err, data: response.data };
|
|
425
|
-
};
|
|
426
|
-
/**
|
|
427
|
-
* @language javascript, java, dotnet
|
|
428
|
-
* Remove multiple values (and their keys) from the config.
|
|
429
|
-
*
|
|
430
|
-
* Removing a value will trigger events that you can listen to using <a href="#addlistener">`addListener()`</a>.
|
|
431
|
-
*
|
|
432
|
-
* ```javascript
|
|
433
|
-
* // Remove field1.property1 AND field2.property2
|
|
434
|
-
* FSBL.Clients.ConfigClient.removeMultiple(
|
|
435
|
-
* [
|
|
436
|
-
* ['field1', 'property1'],
|
|
437
|
-
* ['field2', 'property2']
|
|
438
|
-
* ],
|
|
439
|
-
* function(err,value){ }
|
|
440
|
-
* );
|
|
441
|
-
*
|
|
442
|
-
* // Remove field1.property1 AND field2.property2
|
|
443
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.removeMultiple([
|
|
444
|
-
* ['field1', 'property1'],
|
|
445
|
-
* ['field2', 'property2']
|
|
446
|
-
* ]);
|
|
447
|
-
* ```
|
|
448
|
-
*
|
|
449
|
-
* :::note
|
|
450
|
-
* In Java, this method is named `removeValues`.
|
|
451
|
-
* :::
|
|
452
|
-
* @param {Function} cb Optional callback.
|
|
453
|
-
*/
|
|
454
|
-
export const removeMultiple = async (paths, cb) => {
|
|
455
|
-
if (!Array.isArray(paths)) {
|
|
456
|
-
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
457
|
-
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
458
|
-
}
|
|
459
|
-
await SystemManagerClient.waitForStartup("configService");
|
|
460
|
-
const { err, response } = await RouterClient.query("configService.removeValues", paths);
|
|
461
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
462
|
-
return { err, data: response.data };
|
|
463
|
-
};
|
|
464
|
-
/**
|
|
465
|
-
* @language javascript, java, dotnet
|
|
466
|
-
* @deprecated - Use [`FSBL.Clients.ConfigClient.remove()`](#remove) instead.
|
|
467
|
-
*
|
|
468
|
-
* Remove a value from the config.
|
|
469
|
-
*
|
|
470
|
-
* ```javascript
|
|
471
|
-
* FSBL.Clients.ConfigClient.removeValue({ field:'field1' }, function(err){ });
|
|
472
|
-
* FSBL.Clients.ConfigClient.removeValue('field1', function(err){ });
|
|
473
|
-
*
|
|
474
|
-
* const {err} = await FSBL.Clients.ConfigClient.removeValue({ field:'field1' });
|
|
475
|
-
* const {err} = await FSBL.Clients.ConfigClient.removeValue('field1');
|
|
476
|
-
* ```
|
|
477
|
-
* @param {String} field - Name of field to remove
|
|
478
|
-
* @param {Function} cb - Returns an error if there is one
|
|
479
|
-
*/
|
|
480
|
-
export const removeValue = async (params, cb) => {
|
|
481
|
-
Logger.system.deprecated("FSBL.Clients.ConfigClient.removeValue is deprecated. Use FSBL.Clients.ConfigClient.remove() instead.");
|
|
482
|
-
if (typeof params === "string") {
|
|
483
|
-
params = { field: params };
|
|
484
|
-
}
|
|
485
|
-
if (!(params === null || params === void 0 ? void 0 : params.field)) {
|
|
486
|
-
const err = "No field provided";
|
|
487
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
488
|
-
return { err };
|
|
489
|
-
}
|
|
490
|
-
waitForConfigService();
|
|
491
|
-
const { err } = await RouterClient.query("configService.removeValue", params);
|
|
492
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
493
|
-
return { err };
|
|
494
|
-
};
|
|
495
|
-
/**
|
|
496
|
-
* @language javascript, java, dotnet
|
|
497
|
-
* @deprecated - Use [`FSBL.Clients.ConfigClient.removeMultiple()`](#removemultiple) instead.
|
|
498
|
-
*
|
|
499
|
-
* Removes multiple values from the config.
|
|
500
|
-
*
|
|
501
|
-
* ```javascript
|
|
502
|
-
* FSBL.Clients.ConfigClient.removeValues(['field1'], function(err){ });
|
|
503
|
-
* const {err} = await FSBL.Clients.ConfigClient.removeValues(['field1'])
|
|
504
|
-
* ```
|
|
505
|
-
* @param {FieldOnlyParam[] | string[]} fields - An array of objects containing a field property or an array of string field names.
|
|
506
|
-
* @param {Function} cb - Returns an error if there is one.
|
|
507
|
-
*/
|
|
508
|
-
export const removeValues = async (fields, cb) => {
|
|
509
|
-
Logger.system.deprecated("FSBL.Clients.ConfigClient.removeValues is deprecated. Use FSBL.Clients.ConfigClient.removeMultiple() instead.");
|
|
510
|
-
if (!fields) {
|
|
511
|
-
const err = "ConfigClient.removeValues. No params given";
|
|
512
|
-
Logger.system.error(err);
|
|
513
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
514
|
-
return { err };
|
|
515
|
-
}
|
|
516
|
-
if (!Array.isArray(fields)) {
|
|
517
|
-
const err = "ConfigClient.removeValues. Params must be an array";
|
|
518
|
-
Logger.system.error(err);
|
|
519
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
520
|
-
return { err };
|
|
521
|
-
}
|
|
522
|
-
waitForConfigService();
|
|
523
|
-
const { err } = await RouterClient.query("configService.removeValues", fields);
|
|
524
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
525
|
-
return { err };
|
|
526
|
-
};
|
|
527
|
-
/**
|
|
528
|
-
* @language javascript, java, dotnet
|
|
529
|
-
* Add a listener to the config at either the root config level or field level.
|
|
530
|
-
* If no field is given, the root config level is used. You can also listen for changes to config fields any number of levels deep -- finsemble.configitem.deeperconfigitem.evendeeperconfigitem
|
|
531
|
-
*
|
|
532
|
-
* ```javascript
|
|
533
|
-
* const myFunction = function(err,data){ };
|
|
534
|
-
*
|
|
535
|
-
* FSBL.Clients.ConfigClient.addListener({ field:'field1' }, myFunction, cb);
|
|
536
|
-
* FSBL.Clients.ConfigClient.addListener(['field1', 'property1'], myFunction, cb); // field1.property1
|
|
537
|
-
* ```
|
|
538
|
-
* @param {{ field: string | null } | PathArray} params The piece of data that you want to listen on. If this is empty it listens to all changes of the store.
|
|
539
|
-
* @param {ListenerFunction} fn The function to be called when the observed piece of config is modified.
|
|
540
|
-
* @param {Function} cb Callback to be invoked after the listener is added.
|
|
541
|
-
*/
|
|
542
|
-
export const addListener = async (params, fn, cb) => {
|
|
543
|
-
var _a;
|
|
544
|
-
const controller = getControllerInstance();
|
|
545
|
-
let field = null;
|
|
546
|
-
if (typeof params === "function") {
|
|
547
|
-
fn = params;
|
|
548
|
-
params = { field: null };
|
|
549
|
-
}
|
|
550
|
-
if (Array.isArray(params)) {
|
|
551
|
-
field = generateMappingString(params);
|
|
552
|
-
}
|
|
553
|
-
else {
|
|
554
|
-
({ field } = params);
|
|
555
|
-
}
|
|
556
|
-
const fieldName = field ? `.${field}` : "";
|
|
557
|
-
const combined = `configService${fieldName}`;
|
|
558
|
-
controller.listeners[combined] = [fn].concat((_a = controller.listeners[combined]) !== null && _a !== void 0 ? _a : []);
|
|
559
|
-
changeSub(combined);
|
|
560
|
-
cb === null || cb === void 0 ? void 0 : cb();
|
|
561
|
-
};
|
|
562
|
-
/**
|
|
563
|
-
* @language javascript, java, dotnet
|
|
564
|
-
* Add an array of listeners as objects, strings or path arrays.
|
|
565
|
-
* If using strings, you must provide a function callback as the second parameter.
|
|
566
|
-
*
|
|
567
|
-
* ```javascript
|
|
568
|
-
* const myFunction = function(err,data){}
|
|
569
|
-
* FSBL.Clients.ConfigClient.addListeners(
|
|
570
|
-
* [
|
|
571
|
-
* { field: "field1", listener: myFunction },
|
|
572
|
-
* { field: "field2", listener: myFunction }
|
|
573
|
-
* ],
|
|
574
|
-
* null,
|
|
575
|
-
* cb
|
|
576
|
-
* );
|
|
577
|
-
*
|
|
578
|
-
* FSBL.Clients.ConfigClient.addListeners(
|
|
579
|
-
* [{ field: "field1" }, { field: "field2", listener: myFunction }],
|
|
580
|
-
* myFunction,
|
|
581
|
-
* cb
|
|
582
|
-
* );
|
|
583
|
-
*
|
|
584
|
-
* FSBL.Clients.ConfigClient.addListeners(["field1", "field2"], myFunction, cb);
|
|
585
|
-
* ```
|
|
586
|
-
* @param {listenerParam[] | string[] | PathArrayListenerParam[]} params.field The piece of data that you want listen on. If this is empty it listen to all config changes.
|
|
587
|
-
* @param {ListenerFunction} params.listener The function to call when the piece of data is modified. If this is empty, fn is used.
|
|
588
|
-
* @param {function} fn The function to be called when the observed piece of config is modified.
|
|
589
|
-
* @param {function} cb Callback to be invoked after the listeners are added.
|
|
590
|
-
|
|
591
|
-
*/
|
|
592
|
-
export const addListeners = (params, fn, cb) => {
|
|
593
|
-
var _a;
|
|
594
|
-
const controller = getControllerInstance();
|
|
595
|
-
if (!Array.isArray(params)) {
|
|
596
|
-
Logger.deprecated("configClient - addListeners() with an object instead of an array is deprecated. Please use addListener() instead.");
|
|
597
|
-
return addListener(params, fn, cb);
|
|
598
|
-
}
|
|
599
|
-
const overrideFunction = typeof fn === "function" ? fn : null;
|
|
600
|
-
for (let i = 0; i < params.length; i++) {
|
|
601
|
-
const item = params[i];
|
|
602
|
-
let field = "";
|
|
603
|
-
if (typeof item === "string") {
|
|
604
|
-
field = item;
|
|
605
|
-
}
|
|
606
|
-
else if (typeof item === "object" && Array.isArray(item.field)) {
|
|
607
|
-
field = generateMappingString(item.field);
|
|
608
|
-
}
|
|
609
|
-
else if (typeof item === "object" && typeof item.field === "string") {
|
|
610
|
-
field = item.field;
|
|
611
|
-
}
|
|
612
|
-
const ls = typeof item !== "string" ? item.listener : overrideFunction;
|
|
613
|
-
if (ls) {
|
|
614
|
-
const fieldName = field ? `.${field}` : "";
|
|
615
|
-
const combined = `configService${fieldName}`;
|
|
616
|
-
controller.listeners[combined] = [ls].concat((_a = controller.listeners[combined]) !== null && _a !== void 0 ? _a : []);
|
|
617
|
-
changeSub(combined);
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
cb === null || cb === void 0 ? void 0 : cb();
|
|
621
|
-
};
|
|
622
|
-
/**
|
|
623
|
-
* @language javascript, java, dotnet
|
|
624
|
-
* Remove a listener from config. If no field is given, we look for a config root listener
|
|
625
|
-
*
|
|
626
|
-
* ```javascript
|
|
627
|
-
* let myFunction = function(err,data){ }
|
|
628
|
-
*
|
|
629
|
-
* FSBL.Clients.ConfigClient.removeListener({field:'field1'}, myFunction, function(err, bool){ });
|
|
630
|
-
* FSBL.Clients.ConfigClient.removeListener(myFunction, function(err, bool){ });
|
|
631
|
-
* FSBL.Clients.ConfigClient.removeListener(['field1'], myFunction, function(err, bool){ });
|
|
632
|
-
* ```
|
|
633
|
-
* @param {function} fn The listener to remove.
|
|
634
|
-
* @param {function} cb Returns true if it was successful in removing the listener.
|
|
635
|
-
*
|
|
636
|
-
*/
|
|
637
|
-
export const removeListener = (params, fn, cb) => {
|
|
638
|
-
const controller = getControllerInstance();
|
|
639
|
-
let field = null;
|
|
640
|
-
// The case below is for removing the root level config listener
|
|
641
|
-
if (typeof params === "function") {
|
|
642
|
-
cb = fn;
|
|
643
|
-
fn = params;
|
|
644
|
-
params = { field };
|
|
645
|
-
}
|
|
646
|
-
if (Array.isArray(params)) {
|
|
647
|
-
field = generateMappingString(params);
|
|
648
|
-
}
|
|
649
|
-
else {
|
|
650
|
-
({ field } = params);
|
|
651
|
-
}
|
|
652
|
-
const fieldName = field ? `.${field}` : "";
|
|
653
|
-
const combined = `configService${fieldName}`;
|
|
654
|
-
if (controller.listeners[combined]) {
|
|
655
|
-
for (let i = 0; i < controller.listeners[combined].length; i++) {
|
|
656
|
-
if (controller.listeners[combined][i] === fn) {
|
|
657
|
-
controller.listeners[combined].splice(i, 1);
|
|
658
|
-
cb === null || cb === void 0 ? void 0 : cb(null, true);
|
|
659
|
-
return;
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
cb === null || cb === void 0 ? void 0 : cb(null, false);
|
|
664
|
-
};
|
|
665
|
-
/**
|
|
666
|
-
* @language javascript, java, dotnet
|
|
667
|
-
* Remove an array of listeners from the config
|
|
668
|
-
*
|
|
669
|
-
* ```javascript
|
|
670
|
-
* let myFunction = function(err,data){ };
|
|
671
|
-
* FSBL.Clients.ConfigClient.removeListeners(
|
|
672
|
-
* {
|
|
673
|
-
* field: 'field1'
|
|
674
|
-
* },
|
|
675
|
-
* MyFunction,
|
|
676
|
-
* function(bool){ }
|
|
677
|
-
* );
|
|
678
|
-
*
|
|
679
|
-
* FSBL.Clients.ConfigClient.removeListeners(
|
|
680
|
-
* [{ field:'field1', listener: MyFunction }],
|
|
681
|
-
* function(bool){ }
|
|
682
|
-
* );
|
|
683
|
-
*
|
|
684
|
-
* FSBL.Clients.ConfigClient.removeListeners(
|
|
685
|
-
* ['field1'],
|
|
686
|
-
* MyFunction,
|
|
687
|
-
* function(bool) { }
|
|
688
|
-
* );
|
|
689
|
-
* ```
|
|
690
|
-
* @param {removeListenersType} params
|
|
691
|
-
* @param {function} fn The listener to remove
|
|
692
|
-
* @param {function} cb Returns true if it was successful in removing the listener.
|
|
693
|
-
*
|
|
694
|
-
*/
|
|
695
|
-
export const removeListeners = (params, fn, cb) => {
|
|
696
|
-
const controller = getControllerInstance();
|
|
697
|
-
if (!Array.isArray(params)) {
|
|
698
|
-
if (typeof params === "function") {
|
|
699
|
-
removeListener({}, params, cb);
|
|
700
|
-
}
|
|
701
|
-
else if (params.field && fn) {
|
|
702
|
-
removeListener(params, fn, cb);
|
|
703
|
-
}
|
|
704
|
-
return cb === null || cb === void 0 ? void 0 : cb(null, true);
|
|
705
|
-
}
|
|
706
|
-
const overrideFunction = typeof fn === "function" ? fn : null;
|
|
707
|
-
params.forEach((item) => {
|
|
708
|
-
let field = "";
|
|
709
|
-
if (typeof item === "string") {
|
|
710
|
-
field = item;
|
|
711
|
-
}
|
|
712
|
-
else if (typeof item === "object" && Array.isArray(item.field)) {
|
|
713
|
-
field = generateMappingString(item.field);
|
|
714
|
-
}
|
|
715
|
-
else if (typeof item === "object" && typeof item.field === "string") {
|
|
716
|
-
field = item.field;
|
|
717
|
-
}
|
|
718
|
-
const ls = typeof item !== "string" ? item.listener : overrideFunction;
|
|
719
|
-
const fieldName = field ? `.${field}` : "";
|
|
720
|
-
const combined = `configService${fieldName}`;
|
|
721
|
-
controller.listeners[combined] = controller.listeners[combined].filter((listener) => listener !== ls);
|
|
722
|
-
});
|
|
723
|
-
cb === null || cb === void 0 ? void 0 : cb(null, true);
|
|
724
|
-
};
|
|
725
|
-
/**
|
|
726
|
-
* @language javascript, java, dotnet
|
|
727
|
-
* Dynamically set config values within the Finsemble configuration. You can set new config properties
|
|
728
|
-
* or modify existing ones. Note that configuration changes will not necessarily dynamically modify
|
|
729
|
-
* the components or services that use the corresponding configuration -- it depends if the component
|
|
730
|
-
* or service handles the corresponding change notifications (either though PubSub or the config's
|
|
731
|
-
* DataStore). Also, these changes do not persist in any config files.
|
|
732
|
-
*
|
|
733
|
-
* Only services and components that reside on the same domain as Finsemble can use `proessAndSet`.
|
|
734
|
-
* If you want to use it from a domain other than Finsemble, you can't do so directly. Instead,
|
|
735
|
-
* you need to set up a proxy service that is hosted on the same domain as Finsemble.
|
|
736
|
-
* Because this proxy server is on the same domain as Finsemble, it can use `processAndSet`.
|
|
737
|
-
* Now, you can have an externally hosted service or app communicate with this proxy service.
|
|
738
|
-
*
|
|
739
|
-
* Here is an example:
|
|
740
|
-
* 1. Create a proxy app service on the Finsemble domain and make it subscribe to a channel
|
|
741
|
-
* (for example, "customerName.app.config").
|
|
742
|
-
* 2. The cross domain app publishes the new config on that same channel ("customerName.app.config").
|
|
743
|
-
* 3. When the proxy app service receives this request, it invokes `ConfigClient.processAndSet(...)` using
|
|
744
|
-
* the payload from the router message.
|
|
745
|
-
*
|
|
746
|
-
* :::note
|
|
747
|
-
* Any time you set config by using this API, the newConfig along with the updated manifest will by
|
|
748
|
-
* published to the PubSub topic "Config.changeNotification". To get these notifications any
|
|
749
|
-
* component or service you can subscribe to the topic. See an example below.
|
|
750
|
-
* :::
|
|
751
|
-
*
|
|
752
|
-
* :::note
|
|
753
|
-
* Anytime you set config by using this API, the dataStore underlying configuration
|
|
754
|
-
* 'Finsemble-Configuration-Store' will also be updated. To get these dataStore events, you can set
|
|
755
|
-
* a listener as shown in the example below. However, any config modifications made directly though
|
|
756
|
-
* the DataStore will not result in corresponding PubSub notifications.
|
|
757
|
-
* :::
|
|
758
|
-
*
|
|
759
|
-
* :::caution
|
|
760
|
-
* During dynamic configuration, Finsemble can overwrite components already in the configuration when
|
|
761
|
-
* `ConfigClient.processAndSet` is called. To prevent this from happening, set
|
|
762
|
-
* `manifest.component.category = "system"` in the config of the component. For example, use this setting
|
|
763
|
-
* to prevent system UI components from being dropped out of the config.
|
|
764
|
-
* :::
|
|
765
|
-
*
|
|
766
|
-
* ```javascript
|
|
767
|
-
* // Examples using processAndSet()
|
|
768
|
-
* FSBL.Clients.ConfigClient.processAndSet({ newConfig: { myNewConfigField: 12345 }, overwrite: false });
|
|
769
|
-
* FSBL.Clients.ConfigClient.processAndSet(
|
|
770
|
-
* {
|
|
771
|
-
* newConfig: {
|
|
772
|
-
* "myNewConfigField": 12345,
|
|
773
|
-
* "myNewConfigObject": {
|
|
774
|
-
* A: "this is a test",
|
|
775
|
-
* B: "more test"
|
|
776
|
-
* },
|
|
777
|
-
* "importConfig": [
|
|
778
|
-
* "$applicationRoot/configs/application/test.json",
|
|
779
|
-
* ]
|
|
780
|
-
* },
|
|
781
|
-
* overwrite: true,
|
|
782
|
-
* replace: false,
|
|
783
|
-
* },
|
|
784
|
-
* function (err, finsemble) {
|
|
785
|
-
* if (err) {
|
|
786
|
-
* console.error("ConfigClient.set", err);
|
|
787
|
-
* } else {
|
|
788
|
-
* console.log("new finsemble config", finsemble);
|
|
789
|
-
* }
|
|
790
|
-
* }
|
|
791
|
-
* );
|
|
792
|
-
*
|
|
793
|
-
* // example subscribing to PubSub to get notifications of dynamic updates
|
|
794
|
-
* RouterClient.subscribe("Config.changeNotification", function (err, notify) {
|
|
795
|
-
* console.log("set notification", notify.data.newConfig, notify.data.finsemble);
|
|
796
|
-
* });
|
|
797
|
-
*
|
|
798
|
-
* // example using DataStore to get notifications of dynamic updates
|
|
799
|
-
* DistributedStoreClient.getStore({ store: 'Finsemble-Configuration-Store', global: true }, function (err, configStore) {
|
|
800
|
-
* configStore.addListener({ field: "finsemble" }, function (err, newFinsembleConfig) {
|
|
801
|
-
* console.log("new manifest.finsemble configuration", newFinsembleConfig);
|
|
802
|
-
* });
|
|
803
|
-
* });
|
|
804
|
-
* ```
|
|
805
|
-
*
|
|
806
|
-
* @param {object} params
|
|
807
|
-
* @param {object} params.newConfig Provides the configuration properties to add into the existing configuration under manifest.finsemble. This config must match the Finsemble config requirements as described in the [Configuration tutorial](/docs/customize/customize-with-SDK/configuration). It can include importConfig references to dynamically fetch additional configuration files.
|
|
808
|
-
* @param {boolean} params.overwrite If true then overwrite any preexisting config with new config (can only set to true when running from same origin, not cross-domain); if false then newConfig must not match properties of existing config, including service and component configuration.
|
|
809
|
-
* @param {boolean} params.replace True specifies any component, app, or service definitions in the new config will place all existing non-system component and service configuration
|
|
810
|
-
* @param {StandardErrorCallback} callback Callback to be invoked upon task completion.
|
|
811
|
-
*
|
|
812
|
-
*/
|
|
813
|
-
export const processAndSet = async (params, cb) => {
|
|
814
|
-
Logger.system.debug("ConfigClient.processAndSet", params);
|
|
815
|
-
if (!params.overwrite && params.replace) {
|
|
816
|
-
const err = "cannot use replace option unless overwrite is also true";
|
|
817
|
-
Logger.system.warn("ConfigClient.processAndSet:", err);
|
|
818
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
819
|
-
return { err };
|
|
820
|
-
}
|
|
821
|
-
else {
|
|
822
|
-
waitForConfigService();
|
|
823
|
-
const { err, response } = await RouterClient.query("configService.processAndSet", params);
|
|
824
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response);
|
|
825
|
-
return { err, data: response.data };
|
|
826
|
-
}
|
|
827
|
-
};
|
|
828
|
-
/**
|
|
829
|
-
* @language javascript, java, dotnet
|
|
830
|
-
* Sets a value on the configStore and persists that value to storage. On application restart, this value will overwrite any application defaults.
|
|
831
|
-
*
|
|
832
|
-
* ```javascript
|
|
833
|
-
* FSBL.Clients.ConfigClient.setPreference({
|
|
834
|
-
* field: "finsemble.initialWorkspace",
|
|
835
|
-
* value: "Workspace 2"
|
|
836
|
-
* }, (err, response) => {
|
|
837
|
-
* // preference has been set
|
|
838
|
-
* });
|
|
839
|
-
*
|
|
840
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.setPreference({
|
|
841
|
-
* field: "finsemble.initialWorkspace",
|
|
842
|
-
* value: "Workspace 2"
|
|
843
|
-
* });
|
|
844
|
-
* ```
|
|
845
|
-
* @param {fieldAndValueParam} params
|
|
846
|
-
* @param {StandardErrorCallback} callback Callback to be invoked when preferences have been retrieved from the service or on error.
|
|
847
|
-
*/
|
|
848
|
-
export const setPreference = async (params, cb) => {
|
|
849
|
-
const { err, response } = await RouterClient.query("PreferencesService.setPreference", params);
|
|
850
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
851
|
-
return { err, data: response.data };
|
|
852
|
-
};
|
|
853
|
-
/**
|
|
854
|
-
* @language javascript, java, dotnet
|
|
855
|
-
* Retrieves all of the preferences set for the application.
|
|
856
|
-
*
|
|
857
|
-
* ```javascript
|
|
858
|
-
* FSBL.Clients.ConfigClient.getPreferences((err, preferences)=> {
|
|
859
|
-
* if (!err) {
|
|
860
|
-
* console.log(preferences); // an object containing the entire user preferences.
|
|
861
|
-
* }
|
|
862
|
-
* });
|
|
863
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.getPreferences();
|
|
864
|
-
* ```
|
|
865
|
-
*
|
|
866
|
-
* @param {StandardErrorCallback} callback Callback to be invoked when preferences have been retrieved from the service.
|
|
867
|
-
*/
|
|
868
|
-
export const getPreferences = async (cb) => {
|
|
869
|
-
// need to check since preferences doesn't come up until after authentication, so not always ready
|
|
870
|
-
await SystemManagerClient.waitForBootStage("authentication", "stageCompleted");
|
|
871
|
-
const { err, response } = await RouterClient.query("PreferencesService.getPreferences", {});
|
|
872
|
-
Logger.system.debug("PreferencesService.getPreferences response", response);
|
|
873
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
874
|
-
return { err, data: response.data };
|
|
875
|
-
};
|
|
876
|
-
/**
|
|
877
|
-
* @language javascript, dotnet
|
|
878
|
-
* Reset a user preference value to default. On application restart, the application default value will be used instead of the preference.
|
|
879
|
-
*
|
|
880
|
-
* ```javascript
|
|
881
|
-
* FSBL.Clients.ConfigClient.unsetPreference({
|
|
882
|
-
* field: "finsemble.initialWorkspace",
|
|
883
|
-
* }, (err, response) => {
|
|
884
|
-
* //preference has been unset
|
|
885
|
-
* });
|
|
886
|
-
* const {err, data} = await FSBL.Clients.ConfigClient.unsetPreference({
|
|
887
|
-
* field: "finsemble.initialWorkspace"
|
|
888
|
-
* });
|
|
889
|
-
* ```
|
|
890
|
-
* @param params The preference field to unset.
|
|
891
|
-
* @param callback The callback to be invoked after the preference is removed or on error.
|
|
892
|
-
*/
|
|
893
|
-
export const unsetPreference = async (params, cb) => {
|
|
894
|
-
Logger.system.debug("ConfigClient.unsetPreference", params);
|
|
895
|
-
const { err, response } = await RouterClient.query("PreferencesService.unsetPreference", params);
|
|
896
|
-
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
897
|
-
return { err, data: response.data };
|
|
898
|
-
};
|
|
899
|
-
/**
|
|
900
|
-
* @ignore
|
|
901
|
-
*/
|
|
902
|
-
export const ConfigClient = {
|
|
903
|
-
/**
|
|
904
|
-
* For backward compatibility
|
|
905
|
-
* @private
|
|
906
|
-
* @deprecated
|
|
907
|
-
*/
|
|
908
|
-
initialize() {
|
|
909
|
-
Logger.deprecated("There is no need to call ConfigClient.initialize() anymore.");
|
|
910
|
-
},
|
|
911
|
-
/**
|
|
912
|
-
* For backward compatibility
|
|
913
|
-
* @private
|
|
914
|
-
* @deprecated
|
|
915
|
-
*/
|
|
916
|
-
onReady: (cb) => {
|
|
917
|
-
Logger.system.deprecated("It is no longer necessary to call ConfigClient.onReady()");
|
|
918
|
-
cb === null || cb === void 0 ? void 0 : cb();
|
|
919
|
-
},
|
|
920
|
-
/**
|
|
921
|
-
* @private
|
|
922
|
-
* @deprecated
|
|
923
|
-
*/
|
|
924
|
-
triggerListeners(listenerKey, data) {
|
|
925
|
-
Logger.deprecated("Calling ConfigClient.triggerListeners() directly is not legal.");
|
|
926
|
-
triggerListeners(listenerKey, data);
|
|
927
|
-
},
|
|
928
|
-
/**
|
|
929
|
-
* @private
|
|
930
|
-
* @deprecated
|
|
931
|
-
*/
|
|
932
|
-
handleChanges(err, response) {
|
|
933
|
-
Logger.deprecated("It is illegal to call ConfigClient.handleChanges() directly.");
|
|
934
|
-
handleChanges(err, response);
|
|
935
|
-
},
|
|
936
|
-
/**
|
|
937
|
-
* @private
|
|
938
|
-
* @deprecated
|
|
939
|
-
*/
|
|
940
|
-
async changeSub(change) {
|
|
941
|
-
Logger.deprecated("Calling ConfigClient.changeSub() directly is not legal.");
|
|
942
|
-
changeSub(change);
|
|
943
|
-
},
|
|
944
|
-
addListener,
|
|
945
|
-
addListeners,
|
|
946
|
-
getManifest,
|
|
947
|
-
getPreferences,
|
|
948
|
-
getValue,
|
|
949
|
-
getValues,
|
|
950
|
-
processAndSet,
|
|
951
|
-
removeListener,
|
|
952
|
-
removeListeners,
|
|
953
|
-
removeValue,
|
|
954
|
-
removeValues,
|
|
955
|
-
setPreference,
|
|
956
|
-
setValue,
|
|
957
|
-
setValues,
|
|
958
|
-
unsetPreference,
|
|
959
|
-
get,
|
|
960
|
-
getMultiple,
|
|
961
|
-
set,
|
|
962
|
-
setMultiple,
|
|
963
|
-
remove,
|
|
964
|
-
removeMultiple,
|
|
965
|
-
};
|
|
966
|
-
/**
|
|
967
|
-
* @ignore
|
|
968
|
-
*/
|
|
969
|
-
export default ConfigClient;
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 - 2020 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* This client provides run-time access to Finsemble's configuration.
|
|
7
|
+
* The Config Client functions similar to a global store created with the Distributed Store Client and offers many of the same methods.
|
|
8
|
+
* Values modified at runtime are not persisted.
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* See the [Configuration tutorial](/docs/customize/customize-with-SDK/configuration) for a configuration overview.
|
|
12
|
+
*
|
|
13
|
+
* @module ConfigClient
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
This is how we want our API to work going forward, the way the world does it: import { processAndSet } from "configClient"
|
|
17
|
+
```
|
|
18
|
+
export const processAndSet = () => { ... }
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
This module's single exported object gives us backward compatibility when our core code does this: import { ConfigClient } from "configClient"
|
|
22
|
+
and provides the object that is attached to FSBL.Clients. This export should be kept as clean and simple as possible.
|
|
23
|
+
```
|
|
24
|
+
export const ConfigClient = {
|
|
25
|
+
processAndSet
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The default export gives us backward compatibility where our core code does this: import ConfigClient from "configClient"
|
|
30
|
+
This can be eliminated when our core core is converted to normal imports as in the first example.
|
|
31
|
+
```
|
|
32
|
+
export default ConfigClient;
|
|
33
|
+
```
|
|
34
|
+
*/
|
|
35
|
+
import { RouterClient } from "./routerClient";
|
|
36
|
+
import SystemManagerClient from "../common/systemManagerClient";
|
|
37
|
+
import Logger from "./logger";
|
|
38
|
+
import { singleton } from "../common/Singleton";
|
|
39
|
+
import { generateMappingString } from "../platform/services/distributedStore/storeUtils";
|
|
40
|
+
class ConfigClientController {
|
|
41
|
+
constructor() {
|
|
42
|
+
this.listeners = {};
|
|
43
|
+
// Prevents multiple listener requests on the same field from being sent to the DistributedStoreService
|
|
44
|
+
this.subs = {};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
let configServiceStarted = false;
|
|
48
|
+
const waitForConfigService = async () => {
|
|
49
|
+
if (!configServiceStarted) {
|
|
50
|
+
await SystemManagerClient.waitForStartup("configService");
|
|
51
|
+
configServiceStarted = true;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
const getControllerInstance = () => singleton("ConfigClient", ConfigClientController);
|
|
55
|
+
const INVALID_PATH_ERROR_MESSAGE = `Invalid path - MUST be a path array. e.g. for myObject.property use ['myObj', 'property']`;
|
|
56
|
+
/**
|
|
57
|
+
* Trigger any function that is listening for changes
|
|
58
|
+
*/
|
|
59
|
+
const triggerListeners = (listenerKey, data) => {
|
|
60
|
+
var _a;
|
|
61
|
+
const controller = getControllerInstance();
|
|
62
|
+
const listeners = (_a = controller.listeners[listenerKey]) !== null && _a !== void 0 ? _a : [];
|
|
63
|
+
listeners.forEach((listener) => {
|
|
64
|
+
Logger.system.debug("ConfigClient.triggerListeners", listenerKey, data);
|
|
65
|
+
listener(null, {
|
|
66
|
+
field: listenerKey,
|
|
67
|
+
value: data,
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Handles incoming changes from the config service
|
|
73
|
+
*/
|
|
74
|
+
const handleChanges = (err, response) => {
|
|
75
|
+
if (err) {
|
|
76
|
+
Logger.system.error("ConfigClient handleChanges() error", err);
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
if (!response.data.field) {
|
|
80
|
+
response.data.field = null;
|
|
81
|
+
}
|
|
82
|
+
const { field, storeData, value } = response.data;
|
|
83
|
+
const val = storeData ? storeData : value;
|
|
84
|
+
triggerListeners(field ? field : "configService", val);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* make sure we don't have duplicate router subscribers
|
|
89
|
+
*/
|
|
90
|
+
const changeSub = async (change) => {
|
|
91
|
+
const controller = getControllerInstance();
|
|
92
|
+
if (!controller.subs)
|
|
93
|
+
controller.subs = {};
|
|
94
|
+
if (!controller.subs[change]) {
|
|
95
|
+
controller.subs[change] = true;
|
|
96
|
+
waitForConfigService();
|
|
97
|
+
const { err } = await RouterClient.query("configService.addListener", change);
|
|
98
|
+
if (err) {
|
|
99
|
+
Logger.system.error("Error adding listener to config service", err);
|
|
100
|
+
}
|
|
101
|
+
await RouterClient.subscribe(change, handleChanges);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* @language javascript, dotnet
|
|
106
|
+
* Retrieves the entire manifest
|
|
107
|
+
*
|
|
108
|
+
* ```javascript
|
|
109
|
+
* FSBL.Clients.ConfigClient.getManifest(function(err, value){ });
|
|
110
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.getManifest();
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
export const getManifest = async (cb) => {
|
|
114
|
+
waitForConfigService();
|
|
115
|
+
const { err, response } = await RouterClient.query("configService.getValues", { fields: null });
|
|
116
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
117
|
+
return { err, data: response.data };
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* @language javascript, java, dotnet
|
|
121
|
+
* Get a value from the config.
|
|
122
|
+
*
|
|
123
|
+
* If a field does not exists in the configuration, `data` will be undefined and `err` will
|
|
124
|
+
* be null.
|
|
125
|
+
*
|
|
126
|
+
* If you pass path as null or an empty path the entire config is returned.
|
|
127
|
+
*
|
|
128
|
+
* ```javascript
|
|
129
|
+
* FSBL.Clients.ConfigClient.get(
|
|
130
|
+
* ['field1', 'property1'], // field1.property1
|
|
131
|
+
* function(err,value){ }
|
|
132
|
+
* );
|
|
133
|
+
*
|
|
134
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.get(
|
|
135
|
+
* ['field1', 'property1'] // field1.property1
|
|
136
|
+
* );
|
|
137
|
+
* ```
|
|
138
|
+
*
|
|
139
|
+
* :::note
|
|
140
|
+
* In Java, this method is named `getValue`.
|
|
141
|
+
* :::
|
|
142
|
+
* @param {Function} cb Will return the value if found.
|
|
143
|
+
*/
|
|
144
|
+
export const get = async (path, cb) => {
|
|
145
|
+
if (path !== null && !Array.isArray(path)) {
|
|
146
|
+
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
147
|
+
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
148
|
+
}
|
|
149
|
+
waitForConfigService();
|
|
150
|
+
const { err, response } = await RouterClient.query("configService.getValue", path);
|
|
151
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
152
|
+
return { err, data: response.data };
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* @language javascript, java, dotnet
|
|
156
|
+
*
|
|
157
|
+
* Get multiple values from the config.
|
|
158
|
+
*
|
|
159
|
+
* If a field does not exists in the configuration, `data` will be undefined and `err` will
|
|
160
|
+
* be null.
|
|
161
|
+
*
|
|
162
|
+
* ```javascript
|
|
163
|
+
* FSBL.Clients.ConfigClient.getMultiple(
|
|
164
|
+
* [
|
|
165
|
+
* // field1.property1.subproperty1
|
|
166
|
+
* ["field1", "property1", "subproperty1"],
|
|
167
|
+
*
|
|
168
|
+
* // field1.property2
|
|
169
|
+
* ["field1", "property2"]
|
|
170
|
+
* ], (err, values) => {
|
|
171
|
+
* if(!err){
|
|
172
|
+
* console.log("Values: ", values);
|
|
173
|
+
* }
|
|
174
|
+
* });
|
|
175
|
+
*
|
|
176
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.getMultiple([
|
|
177
|
+
* // field1.property1.subproperty1
|
|
178
|
+
* ["field1", "property1", "subproperty1"],
|
|
179
|
+
*
|
|
180
|
+
* // field1.property2
|
|
181
|
+
* ["field1", "property2"] // field1.property2
|
|
182
|
+
* ]);
|
|
183
|
+
* if(!err){
|
|
184
|
+
* console.log("Values: ", data);
|
|
185
|
+
* }
|
|
186
|
+
* ```
|
|
187
|
+
* @param {Function} cb Will return the value if found.
|
|
188
|
+
*/
|
|
189
|
+
export const getMultiple = async (paths, cb) => {
|
|
190
|
+
if (!Array.isArray(paths)) {
|
|
191
|
+
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
192
|
+
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
193
|
+
}
|
|
194
|
+
await SystemManagerClient.waitForStartup("configService");
|
|
195
|
+
const { err, response } = await RouterClient.query("configService.getValues", {
|
|
196
|
+
fields: paths.length ? paths : null,
|
|
197
|
+
});
|
|
198
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
199
|
+
return { err, data: response.data };
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* @language javascript, java, dotnet
|
|
203
|
+
* @deprecated - Use [ `FSBL.Clients.ConfigClient.get()`](#get) instead.
|
|
204
|
+
*
|
|
205
|
+
* Get a value from the config.
|
|
206
|
+
*
|
|
207
|
+
* ```javascript
|
|
208
|
+
* FSBL.Clients.ConfigClient.getValue({ field:'field1' }, function(err,value){ });
|
|
209
|
+
* FSBL.Clients.ConfigClient.getValue('field1', function(err,value){ });
|
|
210
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.getValue({ field:'field1' });
|
|
211
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.getValue('field1');
|
|
212
|
+
* ```
|
|
213
|
+
* @param {Function} cb Will return the value if found.
|
|
214
|
+
*
|
|
215
|
+
*/
|
|
216
|
+
export const getValue = async (params, cb) => {
|
|
217
|
+
Logger.system.deprecated("FSBL.Clients.ConfigClient.getValue is deprecated. Use FSBL.Clients.ConfigClient.get() instead.");
|
|
218
|
+
if (typeof params === "string") {
|
|
219
|
+
params = { field: params };
|
|
220
|
+
}
|
|
221
|
+
if (!params.field) {
|
|
222
|
+
const err = "no field provided";
|
|
223
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
224
|
+
return { err };
|
|
225
|
+
}
|
|
226
|
+
waitForConfigService();
|
|
227
|
+
const { err, response } = await RouterClient.query("configService.getValue", {
|
|
228
|
+
field: params.field,
|
|
229
|
+
});
|
|
230
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
231
|
+
return { err, data: response.data };
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* @language javascript, java, dotnet
|
|
235
|
+
* @deprecated - Use [`FSBL.Clients.ConfigClient.getMultiple()`](#getmultiple) instead.
|
|
236
|
+
*
|
|
237
|
+
* Get multiple values from the config.
|
|
238
|
+
*
|
|
239
|
+
* :::caution
|
|
240
|
+
* **Deprecated functionality**: If there are no fields provided, the complete configuration manifest
|
|
241
|
+
* is returned (use [getManifest()](#getmanifest)).
|
|
242
|
+
* :::
|
|
243
|
+
*
|
|
244
|
+
* ```javascript
|
|
245
|
+
* FSBL.Clients.ConfigClient.getValues(['field1','field2'], function(err,values){ });
|
|
246
|
+
* FSBL.Clients.ConfigClient.getValues(null, callback); // returns the complete manifest containing the finsemble property
|
|
247
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.getValues(['field1', 'field2']);
|
|
248
|
+
* ```
|
|
249
|
+
* @param {fieldOnlyParam[] | string[]} fields An array of objects containing a field property or an array of string field names.
|
|
250
|
+
* @param {Function} cb Will return the value if found.
|
|
251
|
+
*/
|
|
252
|
+
export const getValues = async (fields, cb) => {
|
|
253
|
+
Logger.system.deprecated("FSBL.Clients.ConfigClient.getValues is deprecated. Use FSBL.Clients.ConfigClient.getMultiple() instead.");
|
|
254
|
+
if (typeof fields === "function") {
|
|
255
|
+
cb = fields;
|
|
256
|
+
fields = null;
|
|
257
|
+
}
|
|
258
|
+
if (fields && !Array.isArray(fields)) {
|
|
259
|
+
return getValue(fields, cb);
|
|
260
|
+
}
|
|
261
|
+
waitForConfigService();
|
|
262
|
+
const { err, response } = await RouterClient.query("configService.getValues", { fields });
|
|
263
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
264
|
+
return { err, data: response.data };
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* @language javascript, java, dotnet
|
|
268
|
+
* Sets a value in the config.
|
|
269
|
+
*
|
|
270
|
+
* Setting a value will trigger events that you can listen to using [`addListener()`](#addlistener).
|
|
271
|
+
*
|
|
272
|
+
* ```javascript
|
|
273
|
+
* // Set field1.property1 = "foo"
|
|
274
|
+
* FSBL.Clients.ConfigClient.set(
|
|
275
|
+
* ['field1', 'property1'],
|
|
276
|
+
* "foo",
|
|
277
|
+
* function(err,value){ }
|
|
278
|
+
* );
|
|
279
|
+
*
|
|
280
|
+
* // Set field1.property1 = "foo"
|
|
281
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.set(['field1', 'property1'], "foo");
|
|
282
|
+
* ```
|
|
283
|
+
* :::note
|
|
284
|
+
* In Java, this method is named `setValue`.
|
|
285
|
+
* :::
|
|
286
|
+
* @param {Function} cb Optional callback.
|
|
287
|
+
*/
|
|
288
|
+
export const set = async (path, value, cb) => {
|
|
289
|
+
if (!Array.isArray(path)) {
|
|
290
|
+
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
291
|
+
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
292
|
+
}
|
|
293
|
+
waitForConfigService();
|
|
294
|
+
const fieldPathArrayAndValue = {
|
|
295
|
+
field: path,
|
|
296
|
+
value,
|
|
297
|
+
};
|
|
298
|
+
const { err, response } = await RouterClient.query("configService.setValue", fieldPathArrayAndValue);
|
|
299
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
300
|
+
return { err, data: response.data };
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* @language javascript, java, dotnet
|
|
304
|
+
* Sets multiple values in the config.
|
|
305
|
+
*
|
|
306
|
+
* Setting a value will trigger events that you can listen to using <a href="#addlistener">`addListener()`</a>.
|
|
307
|
+
*
|
|
308
|
+
* ```javascript
|
|
309
|
+
* // Set both field1.property1 = "foo" AND field2.property2 = "bar"
|
|
310
|
+
* FSBL.Clients.ConfigClient.setMultiple(
|
|
311
|
+
* [
|
|
312
|
+
* {field: ['field1', 'property1'], value: "foo"},
|
|
313
|
+
* {field: ['field2', 'property2'], value: "bar"}
|
|
314
|
+
* ],
|
|
315
|
+
* function(err,value){ }
|
|
316
|
+
* );
|
|
317
|
+
*
|
|
318
|
+
* // Set both field1.property1 = "foo" AND field2.property2 = "bar"
|
|
319
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.setMultiple([
|
|
320
|
+
* {field: ['field1', 'property1'], value: "foo"},
|
|
321
|
+
* {field: ['field2', 'property2'], value: "bar"}
|
|
322
|
+
* ]);
|
|
323
|
+
* ```
|
|
324
|
+
*
|
|
325
|
+
*
|
|
326
|
+
* :::note
|
|
327
|
+
* In Java, this method is named `setValues`.
|
|
328
|
+
* :::
|
|
329
|
+
* @param {Function} cb Optional callback.
|
|
330
|
+
*/
|
|
331
|
+
export const setMultiple = async (pathsAndValues, cb) => {
|
|
332
|
+
if (!Array.isArray(pathsAndValues)) {
|
|
333
|
+
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
334
|
+
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
335
|
+
}
|
|
336
|
+
await SystemManagerClient.waitForStartup("configService");
|
|
337
|
+
const { err, response } = await RouterClient.query("configService.setValues", pathsAndValues);
|
|
338
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
339
|
+
return { err, data: response.data };
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* @language javascript, java, dotnet
|
|
343
|
+
* @deprecated - Use [`FSBL.Clients.ConfigClient.set()`](#set) instead.
|
|
344
|
+
*
|
|
345
|
+
* Set a value in the config. Setting a value will trigger events that you can listen to using <a href="#addlistener">`addListener()`</a>.
|
|
346
|
+
*
|
|
347
|
+
* ```javascript
|
|
348
|
+
* FSBL.Clients.ConfigClient.setValue({ field:'field1', value:"new value" }, function(err){ });
|
|
349
|
+
* const {err} = await FSBL.Clients.ConfigClient.setValue({ field:'field1', value:'new value' })
|
|
350
|
+
* ```
|
|
351
|
+
* @param {function} cb Optional callback
|
|
352
|
+
*/
|
|
353
|
+
export const setValue = async (params, cb) => {
|
|
354
|
+
Logger.system.deprecated("FSBL.Clients.ConfigClient.setValue is deprecated. Use FSBL.Clients.ConfigClient.set() instead.");
|
|
355
|
+
const data = {
|
|
356
|
+
field: params.field,
|
|
357
|
+
value: params.value,
|
|
358
|
+
};
|
|
359
|
+
waitForConfigService();
|
|
360
|
+
const { err } = await RouterClient.query("configService.setValue", data);
|
|
361
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
362
|
+
return { err };
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* @language javascript, java, dotnet
|
|
366
|
+
* @deprecated - Use [FSBL.Clients.ConfigClient.setMultiple()](#setmultiple) instead.
|
|
367
|
+
*
|
|
368
|
+
* Set multiple values in the config.
|
|
369
|
+
*
|
|
370
|
+
* ```javascript
|
|
371
|
+
* FSBL.Clients.ConfigClient.setValues([{ field:'field1', value: "new value" }]);
|
|
372
|
+
* const {err} = await FSBL.Clients.ConfigClient.setValues([{ field:'field1', value: "new value" }]);
|
|
373
|
+
* ```
|
|
374
|
+
* @param {function} cb Optional callback
|
|
375
|
+
*/
|
|
376
|
+
export const setValues = async (fields, cb) => {
|
|
377
|
+
Logger.system.deprecated("FSBL.Clients.ConfigClient.setValues is deprecated. Use FSBL.Clients.ConfigClient.setValues() instead.");
|
|
378
|
+
if (!fields) {
|
|
379
|
+
const err = "ConfigClient.SetValues. No params given";
|
|
380
|
+
Logger.system.error(err);
|
|
381
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
382
|
+
return { err };
|
|
383
|
+
}
|
|
384
|
+
if (!Array.isArray(fields)) {
|
|
385
|
+
const err = "ConfigClient.SetValues. Params must be an array";
|
|
386
|
+
Logger.system.error(err);
|
|
387
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
388
|
+
return { err };
|
|
389
|
+
}
|
|
390
|
+
waitForConfigService();
|
|
391
|
+
const { err } = await RouterClient.query("configService.setValues", fields);
|
|
392
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
393
|
+
return { err };
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* @language javascript, java, dotnet
|
|
397
|
+
* Remove a value (and its key) from the config.
|
|
398
|
+
*
|
|
399
|
+
* Removing a value will trigger events that you can listen to using <a href="#addlistener">`addListener()`</a>.
|
|
400
|
+
*
|
|
401
|
+
* ```javascript
|
|
402
|
+
* FSBL.Clients.ConfigClient.remove(
|
|
403
|
+
['field1', 'property1'], // field1.property1
|
|
404
|
+
function(err,value){ }
|
|
405
|
+
);
|
|
406
|
+
*
|
|
407
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.remove(
|
|
408
|
+
['field1', 'property1']); // field1.property1
|
|
409
|
+
* ```
|
|
410
|
+
*
|
|
411
|
+
* :::note
|
|
412
|
+
* In Java, this method is named `removeValue`.
|
|
413
|
+
* :::
|
|
414
|
+
* @param {Function} cb Optional callback.
|
|
415
|
+
*/
|
|
416
|
+
export const remove = async (path, cb) => {
|
|
417
|
+
if (!Array.isArray(path)) {
|
|
418
|
+
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
419
|
+
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
420
|
+
}
|
|
421
|
+
waitForConfigService();
|
|
422
|
+
const { err, response } = await RouterClient.query("configService.removeValue", path);
|
|
423
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
424
|
+
return { err, data: response.data };
|
|
425
|
+
};
|
|
426
|
+
/**
|
|
427
|
+
* @language javascript, java, dotnet
|
|
428
|
+
* Remove multiple values (and their keys) from the config.
|
|
429
|
+
*
|
|
430
|
+
* Removing a value will trigger events that you can listen to using <a href="#addlistener">`addListener()`</a>.
|
|
431
|
+
*
|
|
432
|
+
* ```javascript
|
|
433
|
+
* // Remove field1.property1 AND field2.property2
|
|
434
|
+
* FSBL.Clients.ConfigClient.removeMultiple(
|
|
435
|
+
* [
|
|
436
|
+
* ['field1', 'property1'],
|
|
437
|
+
* ['field2', 'property2']
|
|
438
|
+
* ],
|
|
439
|
+
* function(err,value){ }
|
|
440
|
+
* );
|
|
441
|
+
*
|
|
442
|
+
* // Remove field1.property1 AND field2.property2
|
|
443
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.removeMultiple([
|
|
444
|
+
* ['field1', 'property1'],
|
|
445
|
+
* ['field2', 'property2']
|
|
446
|
+
* ]);
|
|
447
|
+
* ```
|
|
448
|
+
*
|
|
449
|
+
* :::note
|
|
450
|
+
* In Java, this method is named `removeValues`.
|
|
451
|
+
* :::
|
|
452
|
+
* @param {Function} cb Optional callback.
|
|
453
|
+
*/
|
|
454
|
+
export const removeMultiple = async (paths, cb) => {
|
|
455
|
+
if (!Array.isArray(paths)) {
|
|
456
|
+
cb === null || cb === void 0 ? void 0 : cb(INVALID_PATH_ERROR_MESSAGE);
|
|
457
|
+
return { err: INVALID_PATH_ERROR_MESSAGE };
|
|
458
|
+
}
|
|
459
|
+
await SystemManagerClient.waitForStartup("configService");
|
|
460
|
+
const { err, response } = await RouterClient.query("configService.removeValues", paths);
|
|
461
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
462
|
+
return { err, data: response.data };
|
|
463
|
+
};
|
|
464
|
+
/**
|
|
465
|
+
* @language javascript, java, dotnet
|
|
466
|
+
* @deprecated - Use [`FSBL.Clients.ConfigClient.remove()`](#remove) instead.
|
|
467
|
+
*
|
|
468
|
+
* Remove a value from the config.
|
|
469
|
+
*
|
|
470
|
+
* ```javascript
|
|
471
|
+
* FSBL.Clients.ConfigClient.removeValue({ field:'field1' }, function(err){ });
|
|
472
|
+
* FSBL.Clients.ConfigClient.removeValue('field1', function(err){ });
|
|
473
|
+
*
|
|
474
|
+
* const {err} = await FSBL.Clients.ConfigClient.removeValue({ field:'field1' });
|
|
475
|
+
* const {err} = await FSBL.Clients.ConfigClient.removeValue('field1');
|
|
476
|
+
* ```
|
|
477
|
+
* @param {String} field - Name of field to remove
|
|
478
|
+
* @param {Function} cb - Returns an error if there is one
|
|
479
|
+
*/
|
|
480
|
+
export const removeValue = async (params, cb) => {
|
|
481
|
+
Logger.system.deprecated("FSBL.Clients.ConfigClient.removeValue is deprecated. Use FSBL.Clients.ConfigClient.remove() instead.");
|
|
482
|
+
if (typeof params === "string") {
|
|
483
|
+
params = { field: params };
|
|
484
|
+
}
|
|
485
|
+
if (!(params === null || params === void 0 ? void 0 : params.field)) {
|
|
486
|
+
const err = "No field provided";
|
|
487
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
488
|
+
return { err };
|
|
489
|
+
}
|
|
490
|
+
waitForConfigService();
|
|
491
|
+
const { err } = await RouterClient.query("configService.removeValue", params);
|
|
492
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
493
|
+
return { err };
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* @language javascript, java, dotnet
|
|
497
|
+
* @deprecated - Use [`FSBL.Clients.ConfigClient.removeMultiple()`](#removemultiple) instead.
|
|
498
|
+
*
|
|
499
|
+
* Removes multiple values from the config.
|
|
500
|
+
*
|
|
501
|
+
* ```javascript
|
|
502
|
+
* FSBL.Clients.ConfigClient.removeValues(['field1'], function(err){ });
|
|
503
|
+
* const {err} = await FSBL.Clients.ConfigClient.removeValues(['field1'])
|
|
504
|
+
* ```
|
|
505
|
+
* @param {FieldOnlyParam[] | string[]} fields - An array of objects containing a field property or an array of string field names.
|
|
506
|
+
* @param {Function} cb - Returns an error if there is one.
|
|
507
|
+
*/
|
|
508
|
+
export const removeValues = async (fields, cb) => {
|
|
509
|
+
Logger.system.deprecated("FSBL.Clients.ConfigClient.removeValues is deprecated. Use FSBL.Clients.ConfigClient.removeMultiple() instead.");
|
|
510
|
+
if (!fields) {
|
|
511
|
+
const err = "ConfigClient.removeValues. No params given";
|
|
512
|
+
Logger.system.error(err);
|
|
513
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
514
|
+
return { err };
|
|
515
|
+
}
|
|
516
|
+
if (!Array.isArray(fields)) {
|
|
517
|
+
const err = "ConfigClient.removeValues. Params must be an array";
|
|
518
|
+
Logger.system.error(err);
|
|
519
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
520
|
+
return { err };
|
|
521
|
+
}
|
|
522
|
+
waitForConfigService();
|
|
523
|
+
const { err } = await RouterClient.query("configService.removeValues", fields);
|
|
524
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
525
|
+
return { err };
|
|
526
|
+
};
|
|
527
|
+
/**
|
|
528
|
+
* @language javascript, java, dotnet
|
|
529
|
+
* Add a listener to the config at either the root config level or field level.
|
|
530
|
+
* If no field is given, the root config level is used. You can also listen for changes to config fields any number of levels deep -- finsemble.configitem.deeperconfigitem.evendeeperconfigitem
|
|
531
|
+
*
|
|
532
|
+
* ```javascript
|
|
533
|
+
* const myFunction = function(err,data){ };
|
|
534
|
+
*
|
|
535
|
+
* FSBL.Clients.ConfigClient.addListener({ field:'field1' }, myFunction, cb);
|
|
536
|
+
* FSBL.Clients.ConfigClient.addListener(['field1', 'property1'], myFunction, cb); // field1.property1
|
|
537
|
+
* ```
|
|
538
|
+
* @param {{ field: string | null } | PathArray} params The piece of data that you want to listen on. If this is empty it listens to all changes of the store.
|
|
539
|
+
* @param {ListenerFunction} fn The function to be called when the observed piece of config is modified.
|
|
540
|
+
* @param {Function} cb Callback to be invoked after the listener is added.
|
|
541
|
+
*/
|
|
542
|
+
export const addListener = async (params, fn, cb) => {
|
|
543
|
+
var _a;
|
|
544
|
+
const controller = getControllerInstance();
|
|
545
|
+
let field = null;
|
|
546
|
+
if (typeof params === "function") {
|
|
547
|
+
fn = params;
|
|
548
|
+
params = { field: null };
|
|
549
|
+
}
|
|
550
|
+
if (Array.isArray(params)) {
|
|
551
|
+
field = generateMappingString(params);
|
|
552
|
+
}
|
|
553
|
+
else {
|
|
554
|
+
({ field } = params);
|
|
555
|
+
}
|
|
556
|
+
const fieldName = field ? `.${field}` : "";
|
|
557
|
+
const combined = `configService${fieldName}`;
|
|
558
|
+
controller.listeners[combined] = [fn].concat((_a = controller.listeners[combined]) !== null && _a !== void 0 ? _a : []);
|
|
559
|
+
changeSub(combined);
|
|
560
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
561
|
+
};
|
|
562
|
+
/**
|
|
563
|
+
* @language javascript, java, dotnet
|
|
564
|
+
* Add an array of listeners as objects, strings or path arrays.
|
|
565
|
+
* If using strings, you must provide a function callback as the second parameter.
|
|
566
|
+
*
|
|
567
|
+
* ```javascript
|
|
568
|
+
* const myFunction = function(err,data){}
|
|
569
|
+
* FSBL.Clients.ConfigClient.addListeners(
|
|
570
|
+
* [
|
|
571
|
+
* { field: "field1", listener: myFunction },
|
|
572
|
+
* { field: "field2", listener: myFunction }
|
|
573
|
+
* ],
|
|
574
|
+
* null,
|
|
575
|
+
* cb
|
|
576
|
+
* );
|
|
577
|
+
*
|
|
578
|
+
* FSBL.Clients.ConfigClient.addListeners(
|
|
579
|
+
* [{ field: "field1" }, { field: "field2", listener: myFunction }],
|
|
580
|
+
* myFunction,
|
|
581
|
+
* cb
|
|
582
|
+
* );
|
|
583
|
+
*
|
|
584
|
+
* FSBL.Clients.ConfigClient.addListeners(["field1", "field2"], myFunction, cb);
|
|
585
|
+
* ```
|
|
586
|
+
* @param {listenerParam[] | string[] | PathArrayListenerParam[]} params.field The piece of data that you want listen on. If this is empty it listen to all config changes.
|
|
587
|
+
* @param {ListenerFunction} params.listener The function to call when the piece of data is modified. If this is empty, fn is used.
|
|
588
|
+
* @param {function} fn The function to be called when the observed piece of config is modified.
|
|
589
|
+
* @param {function} cb Callback to be invoked after the listeners are added.
|
|
590
|
+
|
|
591
|
+
*/
|
|
592
|
+
export const addListeners = (params, fn, cb) => {
|
|
593
|
+
var _a;
|
|
594
|
+
const controller = getControllerInstance();
|
|
595
|
+
if (!Array.isArray(params)) {
|
|
596
|
+
Logger.deprecated("configClient - addListeners() with an object instead of an array is deprecated. Please use addListener() instead.");
|
|
597
|
+
return addListener(params, fn, cb);
|
|
598
|
+
}
|
|
599
|
+
const overrideFunction = typeof fn === "function" ? fn : null;
|
|
600
|
+
for (let i = 0; i < params.length; i++) {
|
|
601
|
+
const item = params[i];
|
|
602
|
+
let field = "";
|
|
603
|
+
if (typeof item === "string") {
|
|
604
|
+
field = item;
|
|
605
|
+
}
|
|
606
|
+
else if (typeof item === "object" && Array.isArray(item.field)) {
|
|
607
|
+
field = generateMappingString(item.field);
|
|
608
|
+
}
|
|
609
|
+
else if (typeof item === "object" && typeof item.field === "string") {
|
|
610
|
+
field = item.field;
|
|
611
|
+
}
|
|
612
|
+
const ls = typeof item !== "string" ? item.listener : overrideFunction;
|
|
613
|
+
if (ls) {
|
|
614
|
+
const fieldName = field ? `.${field}` : "";
|
|
615
|
+
const combined = `configService${fieldName}`;
|
|
616
|
+
controller.listeners[combined] = [ls].concat((_a = controller.listeners[combined]) !== null && _a !== void 0 ? _a : []);
|
|
617
|
+
changeSub(combined);
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
621
|
+
};
|
|
622
|
+
/**
|
|
623
|
+
* @language javascript, java, dotnet
|
|
624
|
+
* Remove a listener from config. If no field is given, we look for a config root listener
|
|
625
|
+
*
|
|
626
|
+
* ```javascript
|
|
627
|
+
* let myFunction = function(err,data){ }
|
|
628
|
+
*
|
|
629
|
+
* FSBL.Clients.ConfigClient.removeListener({field:'field1'}, myFunction, function(err, bool){ });
|
|
630
|
+
* FSBL.Clients.ConfigClient.removeListener(myFunction, function(err, bool){ });
|
|
631
|
+
* FSBL.Clients.ConfigClient.removeListener(['field1'], myFunction, function(err, bool){ });
|
|
632
|
+
* ```
|
|
633
|
+
* @param {function} fn The listener to remove.
|
|
634
|
+
* @param {function} cb Returns true if it was successful in removing the listener.
|
|
635
|
+
*
|
|
636
|
+
*/
|
|
637
|
+
export const removeListener = (params, fn, cb) => {
|
|
638
|
+
const controller = getControllerInstance();
|
|
639
|
+
let field = null;
|
|
640
|
+
// The case below is for removing the root level config listener
|
|
641
|
+
if (typeof params === "function") {
|
|
642
|
+
cb = fn;
|
|
643
|
+
fn = params;
|
|
644
|
+
params = { field };
|
|
645
|
+
}
|
|
646
|
+
if (Array.isArray(params)) {
|
|
647
|
+
field = generateMappingString(params);
|
|
648
|
+
}
|
|
649
|
+
else {
|
|
650
|
+
({ field } = params);
|
|
651
|
+
}
|
|
652
|
+
const fieldName = field ? `.${field}` : "";
|
|
653
|
+
const combined = `configService${fieldName}`;
|
|
654
|
+
if (controller.listeners[combined]) {
|
|
655
|
+
for (let i = 0; i < controller.listeners[combined].length; i++) {
|
|
656
|
+
if (controller.listeners[combined][i] === fn) {
|
|
657
|
+
controller.listeners[combined].splice(i, 1);
|
|
658
|
+
cb === null || cb === void 0 ? void 0 : cb(null, true);
|
|
659
|
+
return;
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
cb === null || cb === void 0 ? void 0 : cb(null, false);
|
|
664
|
+
};
|
|
665
|
+
/**
|
|
666
|
+
* @language javascript, java, dotnet
|
|
667
|
+
* Remove an array of listeners from the config
|
|
668
|
+
*
|
|
669
|
+
* ```javascript
|
|
670
|
+
* let myFunction = function(err,data){ };
|
|
671
|
+
* FSBL.Clients.ConfigClient.removeListeners(
|
|
672
|
+
* {
|
|
673
|
+
* field: 'field1'
|
|
674
|
+
* },
|
|
675
|
+
* MyFunction,
|
|
676
|
+
* function(bool){ }
|
|
677
|
+
* );
|
|
678
|
+
*
|
|
679
|
+
* FSBL.Clients.ConfigClient.removeListeners(
|
|
680
|
+
* [{ field:'field1', listener: MyFunction }],
|
|
681
|
+
* function(bool){ }
|
|
682
|
+
* );
|
|
683
|
+
*
|
|
684
|
+
* FSBL.Clients.ConfigClient.removeListeners(
|
|
685
|
+
* ['field1'],
|
|
686
|
+
* MyFunction,
|
|
687
|
+
* function(bool) { }
|
|
688
|
+
* );
|
|
689
|
+
* ```
|
|
690
|
+
* @param {removeListenersType} params
|
|
691
|
+
* @param {function} fn The listener to remove
|
|
692
|
+
* @param {function} cb Returns true if it was successful in removing the listener.
|
|
693
|
+
*
|
|
694
|
+
*/
|
|
695
|
+
export const removeListeners = (params, fn, cb) => {
|
|
696
|
+
const controller = getControllerInstance();
|
|
697
|
+
if (!Array.isArray(params)) {
|
|
698
|
+
if (typeof params === "function") {
|
|
699
|
+
removeListener({}, params, cb);
|
|
700
|
+
}
|
|
701
|
+
else if (params.field && fn) {
|
|
702
|
+
removeListener(params, fn, cb);
|
|
703
|
+
}
|
|
704
|
+
return cb === null || cb === void 0 ? void 0 : cb(null, true);
|
|
705
|
+
}
|
|
706
|
+
const overrideFunction = typeof fn === "function" ? fn : null;
|
|
707
|
+
params.forEach((item) => {
|
|
708
|
+
let field = "";
|
|
709
|
+
if (typeof item === "string") {
|
|
710
|
+
field = item;
|
|
711
|
+
}
|
|
712
|
+
else if (typeof item === "object" && Array.isArray(item.field)) {
|
|
713
|
+
field = generateMappingString(item.field);
|
|
714
|
+
}
|
|
715
|
+
else if (typeof item === "object" && typeof item.field === "string") {
|
|
716
|
+
field = item.field;
|
|
717
|
+
}
|
|
718
|
+
const ls = typeof item !== "string" ? item.listener : overrideFunction;
|
|
719
|
+
const fieldName = field ? `.${field}` : "";
|
|
720
|
+
const combined = `configService${fieldName}`;
|
|
721
|
+
controller.listeners[combined] = controller.listeners[combined].filter((listener) => listener !== ls);
|
|
722
|
+
});
|
|
723
|
+
cb === null || cb === void 0 ? void 0 : cb(null, true);
|
|
724
|
+
};
|
|
725
|
+
/**
|
|
726
|
+
* @language javascript, java, dotnet
|
|
727
|
+
* Dynamically set config values within the Finsemble configuration. You can set new config properties
|
|
728
|
+
* or modify existing ones. Note that configuration changes will not necessarily dynamically modify
|
|
729
|
+
* the components or services that use the corresponding configuration -- it depends if the component
|
|
730
|
+
* or service handles the corresponding change notifications (either though PubSub or the config's
|
|
731
|
+
* DataStore). Also, these changes do not persist in any config files.
|
|
732
|
+
*
|
|
733
|
+
* Only services and components that reside on the same domain as Finsemble can use `proessAndSet`.
|
|
734
|
+
* If you want to use it from a domain other than Finsemble, you can't do so directly. Instead,
|
|
735
|
+
* you need to set up a proxy service that is hosted on the same domain as Finsemble.
|
|
736
|
+
* Because this proxy server is on the same domain as Finsemble, it can use `processAndSet`.
|
|
737
|
+
* Now, you can have an externally hosted service or app communicate with this proxy service.
|
|
738
|
+
*
|
|
739
|
+
* Here is an example:
|
|
740
|
+
* 1. Create a proxy app service on the Finsemble domain and make it subscribe to a channel
|
|
741
|
+
* (for example, "customerName.app.config").
|
|
742
|
+
* 2. The cross domain app publishes the new config on that same channel ("customerName.app.config").
|
|
743
|
+
* 3. When the proxy app service receives this request, it invokes `ConfigClient.processAndSet(...)` using
|
|
744
|
+
* the payload from the router message.
|
|
745
|
+
*
|
|
746
|
+
* :::note
|
|
747
|
+
* Any time you set config by using this API, the newConfig along with the updated manifest will by
|
|
748
|
+
* published to the PubSub topic "Config.changeNotification". To get these notifications any
|
|
749
|
+
* component or service you can subscribe to the topic. See an example below.
|
|
750
|
+
* :::
|
|
751
|
+
*
|
|
752
|
+
* :::note
|
|
753
|
+
* Anytime you set config by using this API, the dataStore underlying configuration
|
|
754
|
+
* 'Finsemble-Configuration-Store' will also be updated. To get these dataStore events, you can set
|
|
755
|
+
* a listener as shown in the example below. However, any config modifications made directly though
|
|
756
|
+
* the DataStore will not result in corresponding PubSub notifications.
|
|
757
|
+
* :::
|
|
758
|
+
*
|
|
759
|
+
* :::caution
|
|
760
|
+
* During dynamic configuration, Finsemble can overwrite components already in the configuration when
|
|
761
|
+
* `ConfigClient.processAndSet` is called. To prevent this from happening, set
|
|
762
|
+
* `manifest.component.category = "system"` in the config of the component. For example, use this setting
|
|
763
|
+
* to prevent system UI components from being dropped out of the config.
|
|
764
|
+
* :::
|
|
765
|
+
*
|
|
766
|
+
* ```javascript
|
|
767
|
+
* // Examples using processAndSet()
|
|
768
|
+
* FSBL.Clients.ConfigClient.processAndSet({ newConfig: { myNewConfigField: 12345 }, overwrite: false });
|
|
769
|
+
* FSBL.Clients.ConfigClient.processAndSet(
|
|
770
|
+
* {
|
|
771
|
+
* newConfig: {
|
|
772
|
+
* "myNewConfigField": 12345,
|
|
773
|
+
* "myNewConfigObject": {
|
|
774
|
+
* A: "this is a test",
|
|
775
|
+
* B: "more test"
|
|
776
|
+
* },
|
|
777
|
+
* "importConfig": [
|
|
778
|
+
* "$applicationRoot/configs/application/test.json",
|
|
779
|
+
* ]
|
|
780
|
+
* },
|
|
781
|
+
* overwrite: true,
|
|
782
|
+
* replace: false,
|
|
783
|
+
* },
|
|
784
|
+
* function (err, finsemble) {
|
|
785
|
+
* if (err) {
|
|
786
|
+
* console.error("ConfigClient.set", err);
|
|
787
|
+
* } else {
|
|
788
|
+
* console.log("new finsemble config", finsemble);
|
|
789
|
+
* }
|
|
790
|
+
* }
|
|
791
|
+
* );
|
|
792
|
+
*
|
|
793
|
+
* // example subscribing to PubSub to get notifications of dynamic updates
|
|
794
|
+
* RouterClient.subscribe("Config.changeNotification", function (err, notify) {
|
|
795
|
+
* console.log("set notification", notify.data.newConfig, notify.data.finsemble);
|
|
796
|
+
* });
|
|
797
|
+
*
|
|
798
|
+
* // example using DataStore to get notifications of dynamic updates
|
|
799
|
+
* DistributedStoreClient.getStore({ store: 'Finsemble-Configuration-Store', global: true }, function (err, configStore) {
|
|
800
|
+
* configStore.addListener({ field: "finsemble" }, function (err, newFinsembleConfig) {
|
|
801
|
+
* console.log("new manifest.finsemble configuration", newFinsembleConfig);
|
|
802
|
+
* });
|
|
803
|
+
* });
|
|
804
|
+
* ```
|
|
805
|
+
*
|
|
806
|
+
* @param {object} params
|
|
807
|
+
* @param {object} params.newConfig Provides the configuration properties to add into the existing configuration under manifest.finsemble. This config must match the Finsemble config requirements as described in the [Configuration tutorial](/docs/customize/customize-with-SDK/configuration). It can include importConfig references to dynamically fetch additional configuration files.
|
|
808
|
+
* @param {boolean} params.overwrite If true then overwrite any preexisting config with new config (can only set to true when running from same origin, not cross-domain); if false then newConfig must not match properties of existing config, including service and component configuration.
|
|
809
|
+
* @param {boolean} params.replace True specifies any component, app, or service definitions in the new config will place all existing non-system component and service configuration
|
|
810
|
+
* @param {StandardErrorCallback} callback Callback to be invoked upon task completion.
|
|
811
|
+
*
|
|
812
|
+
*/
|
|
813
|
+
export const processAndSet = async (params, cb) => {
|
|
814
|
+
Logger.system.debug("ConfigClient.processAndSet", params);
|
|
815
|
+
if (!params.overwrite && params.replace) {
|
|
816
|
+
const err = "cannot use replace option unless overwrite is also true";
|
|
817
|
+
Logger.system.warn("ConfigClient.processAndSet:", err);
|
|
818
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
819
|
+
return { err };
|
|
820
|
+
}
|
|
821
|
+
else {
|
|
822
|
+
waitForConfigService();
|
|
823
|
+
const { err, response } = await RouterClient.query("configService.processAndSet", params);
|
|
824
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response);
|
|
825
|
+
return { err, data: response.data };
|
|
826
|
+
}
|
|
827
|
+
};
|
|
828
|
+
/**
|
|
829
|
+
* @language javascript, java, dotnet
|
|
830
|
+
* Sets a value on the configStore and persists that value to storage. On application restart, this value will overwrite any application defaults.
|
|
831
|
+
*
|
|
832
|
+
* ```javascript
|
|
833
|
+
* FSBL.Clients.ConfigClient.setPreference({
|
|
834
|
+
* field: "finsemble.initialWorkspace",
|
|
835
|
+
* value: "Workspace 2"
|
|
836
|
+
* }, (err, response) => {
|
|
837
|
+
* // preference has been set
|
|
838
|
+
* });
|
|
839
|
+
*
|
|
840
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.setPreference({
|
|
841
|
+
* field: "finsemble.initialWorkspace",
|
|
842
|
+
* value: "Workspace 2"
|
|
843
|
+
* });
|
|
844
|
+
* ```
|
|
845
|
+
* @param {fieldAndValueParam} params
|
|
846
|
+
* @param {StandardErrorCallback} callback Callback to be invoked when preferences have been retrieved from the service or on error.
|
|
847
|
+
*/
|
|
848
|
+
export const setPreference = async (params, cb) => {
|
|
849
|
+
const { err, response } = await RouterClient.query("PreferencesService.setPreference", params);
|
|
850
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
851
|
+
return { err, data: response.data };
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* @language javascript, java, dotnet
|
|
855
|
+
* Retrieves all of the preferences set for the application.
|
|
856
|
+
*
|
|
857
|
+
* ```javascript
|
|
858
|
+
* FSBL.Clients.ConfigClient.getPreferences((err, preferences)=> {
|
|
859
|
+
* if (!err) {
|
|
860
|
+
* console.log(preferences); // an object containing the entire user preferences.
|
|
861
|
+
* }
|
|
862
|
+
* });
|
|
863
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.getPreferences();
|
|
864
|
+
* ```
|
|
865
|
+
*
|
|
866
|
+
* @param {StandardErrorCallback} callback Callback to be invoked when preferences have been retrieved from the service.
|
|
867
|
+
*/
|
|
868
|
+
export const getPreferences = async (cb) => {
|
|
869
|
+
// need to check since preferences doesn't come up until after authentication, so not always ready
|
|
870
|
+
await SystemManagerClient.waitForBootStage("authentication", "stageCompleted");
|
|
871
|
+
const { err, response } = await RouterClient.query("PreferencesService.getPreferences", {});
|
|
872
|
+
Logger.system.debug("PreferencesService.getPreferences response", response);
|
|
873
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
874
|
+
return { err, data: response.data };
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* @language javascript, dotnet
|
|
878
|
+
* Reset a user preference value to default. On application restart, the application default value will be used instead of the preference.
|
|
879
|
+
*
|
|
880
|
+
* ```javascript
|
|
881
|
+
* FSBL.Clients.ConfigClient.unsetPreference({
|
|
882
|
+
* field: "finsemble.initialWorkspace",
|
|
883
|
+
* }, (err, response) => {
|
|
884
|
+
* //preference has been unset
|
|
885
|
+
* });
|
|
886
|
+
* const {err, data} = await FSBL.Clients.ConfigClient.unsetPreference({
|
|
887
|
+
* field: "finsemble.initialWorkspace"
|
|
888
|
+
* });
|
|
889
|
+
* ```
|
|
890
|
+
* @param params The preference field to unset.
|
|
891
|
+
* @param callback The callback to be invoked after the preference is removed or on error.
|
|
892
|
+
*/
|
|
893
|
+
export const unsetPreference = async (params, cb) => {
|
|
894
|
+
Logger.system.debug("ConfigClient.unsetPreference", params);
|
|
895
|
+
const { err, response } = await RouterClient.query("PreferencesService.unsetPreference", params);
|
|
896
|
+
cb === null || cb === void 0 ? void 0 : cb(err, response.data);
|
|
897
|
+
return { err, data: response.data };
|
|
898
|
+
};
|
|
899
|
+
/**
|
|
900
|
+
* @ignore
|
|
901
|
+
*/
|
|
902
|
+
export const ConfigClient = {
|
|
903
|
+
/**
|
|
904
|
+
* For backward compatibility
|
|
905
|
+
* @private
|
|
906
|
+
* @deprecated
|
|
907
|
+
*/
|
|
908
|
+
initialize() {
|
|
909
|
+
Logger.deprecated("There is no need to call ConfigClient.initialize() anymore.");
|
|
910
|
+
},
|
|
911
|
+
/**
|
|
912
|
+
* For backward compatibility
|
|
913
|
+
* @private
|
|
914
|
+
* @deprecated
|
|
915
|
+
*/
|
|
916
|
+
onReady: (cb) => {
|
|
917
|
+
Logger.system.deprecated("It is no longer necessary to call ConfigClient.onReady()");
|
|
918
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
919
|
+
},
|
|
920
|
+
/**
|
|
921
|
+
* @private
|
|
922
|
+
* @deprecated
|
|
923
|
+
*/
|
|
924
|
+
triggerListeners(listenerKey, data) {
|
|
925
|
+
Logger.deprecated("Calling ConfigClient.triggerListeners() directly is not legal.");
|
|
926
|
+
triggerListeners(listenerKey, data);
|
|
927
|
+
},
|
|
928
|
+
/**
|
|
929
|
+
* @private
|
|
930
|
+
* @deprecated
|
|
931
|
+
*/
|
|
932
|
+
handleChanges(err, response) {
|
|
933
|
+
Logger.deprecated("It is illegal to call ConfigClient.handleChanges() directly.");
|
|
934
|
+
handleChanges(err, response);
|
|
935
|
+
},
|
|
936
|
+
/**
|
|
937
|
+
* @private
|
|
938
|
+
* @deprecated
|
|
939
|
+
*/
|
|
940
|
+
async changeSub(change) {
|
|
941
|
+
Logger.deprecated("Calling ConfigClient.changeSub() directly is not legal.");
|
|
942
|
+
changeSub(change);
|
|
943
|
+
},
|
|
944
|
+
addListener,
|
|
945
|
+
addListeners,
|
|
946
|
+
getManifest,
|
|
947
|
+
getPreferences,
|
|
948
|
+
getValue,
|
|
949
|
+
getValues,
|
|
950
|
+
processAndSet,
|
|
951
|
+
removeListener,
|
|
952
|
+
removeListeners,
|
|
953
|
+
removeValue,
|
|
954
|
+
removeValues,
|
|
955
|
+
setPreference,
|
|
956
|
+
setValue,
|
|
957
|
+
setValues,
|
|
958
|
+
unsetPreference,
|
|
959
|
+
get,
|
|
960
|
+
getMultiple,
|
|
961
|
+
set,
|
|
962
|
+
setMultiple,
|
|
963
|
+
remove,
|
|
964
|
+
removeMultiple,
|
|
965
|
+
};
|
|
966
|
+
/**
|
|
967
|
+
* @ignore
|
|
968
|
+
*/
|
|
969
|
+
export default ConfigClient;
|
|
970
970
|
//# sourceMappingURL=configClient.js.map
|