@adaptabletools/adaptable 17.0.0-canary.1 → 17.0.0-canary.10
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/agGrid.js +32 -26
- package/base.css +1242 -1192
- package/base.css.map +1 -1
- package/bundle.cjs.js +689 -0
- package/index.css +2027 -6
- package/index.css.map +1 -1
- package/package.json +3 -8
- package/publishTimestamp.d.ts +2 -0
- package/publishTimestamp.js +3 -0
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +2 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +1 -0
- package/src/AdaptableInterfaces/IAdaptable.js +2 -1
- package/src/AdaptableOptions/ActionColumnOptions.js +2 -1
- package/src/AdaptableOptions/ActionRowOptions.js +2 -1
- package/src/AdaptableOptions/AdaptableFrameworkComponent.js +2 -1
- package/src/AdaptableOptions/AdaptableOptions.js +2 -1
- package/src/AdaptableOptions/AdaptablePlugin.js +5 -1
- package/src/AdaptableOptions/AlertOptions.js +2 -1
- package/src/AdaptableOptions/CalendarOptions.js +2 -1
- package/src/AdaptableOptions/CellSummaryOptions.js +2 -1
- package/src/AdaptableOptions/ChartingOptions.js +2 -1
- package/src/AdaptableOptions/ColumnFilterOptions.d.ts +8 -8
- package/src/AdaptableOptions/ColumnFilterOptions.js +2 -1
- package/src/AdaptableOptions/ColumnOptions.js +2 -1
- package/src/AdaptableOptions/ContainerOptions.js +2 -1
- package/src/AdaptableOptions/CustomSortOptions.js +2 -1
- package/src/AdaptableOptions/DashboardOptions.js +2 -1
- package/src/AdaptableOptions/DataChangeHistoryOptions.js +2 -1
- package/src/AdaptableOptions/DataImportOptions.js +2 -1
- package/src/AdaptableOptions/DataSetOptions.js +2 -1
- package/src/AdaptableOptions/DateInputOptions.js +2 -1
- package/src/AdaptableOptions/EditOptions.d.ts +6 -6
- package/src/AdaptableOptions/EditOptions.js +2 -1
- package/src/AdaptableOptions/EntitlementOptions.js +2 -1
- package/src/AdaptableOptions/ExportOptions.js +2 -1
- package/src/AdaptableOptions/ExpressionOptions.js +2 -1
- package/src/AdaptableOptions/Fdc3Options.js +5 -2
- package/src/AdaptableOptions/FinsemblePluginOptions.js +2 -1
- package/src/AdaptableOptions/FlashingCellOptions.js +2 -1
- package/src/AdaptableOptions/FormatColumnOptions.js +2 -1
- package/src/AdaptableOptions/Glue42PluginOptions.js +2 -1
- package/src/AdaptableOptions/Glue42WebPluginOptions.js +2 -1
- package/src/AdaptableOptions/GridFilterOptions.d.ts +8 -3
- package/src/AdaptableOptions/GridFilterOptions.js +2 -1
- package/src/AdaptableOptions/GroupingOptions.js +2 -1
- package/src/AdaptableOptions/IPushPullPluginOptions.js +2 -1
- package/src/AdaptableOptions/LayoutOptions.js +2 -1
- package/src/AdaptableOptions/MasterDetailPluginOptions.js +2 -1
- package/src/AdaptableOptions/MenuOptions.js +7 -3
- package/src/AdaptableOptions/NotesOptions.js +2 -1
- package/src/AdaptableOptions/NotificationsOptions.js +2 -1
- package/src/AdaptableOptions/OpenFinPluginOptions.js +2 -1
- package/src/AdaptableOptions/PredicateOptions.js +2 -1
- package/src/AdaptableOptions/QuickSearchOptions.js +2 -1
- package/src/AdaptableOptions/SettingsPanelOptions.js +2 -1
- package/src/AdaptableOptions/StateOptions.js +2 -1
- package/src/AdaptableOptions/TeamSharingOptions.js +2 -1
- package/src/AdaptableOptions/ToolPanelOptions.js +2 -1
- package/src/AdaptableOptions/UserInterfaceOptions.js +2 -1
- package/src/Api/ActionColumnApi.js +2 -1
- package/src/Api/ActionRowApi.js +2 -1
- package/src/Api/AdaptableApi.js +2 -1
- package/src/Api/AlertApi.js +2 -1
- package/src/Api/ApplicationApi.js +2 -1
- package/src/Api/BulkUpdateApi.js +2 -1
- package/src/Api/CalculatedColumnApi.js +2 -1
- package/src/Api/CalendarApi.js +2 -1
- package/src/Api/CellSummaryApi.js +2 -1
- package/src/Api/ChartingApi.js +2 -1
- package/src/Api/ColumnApi.js +2 -1
- package/src/Api/ColumnFilterApi.js +2 -1
- package/src/Api/ConfigApi.js +2 -1
- package/src/Api/CustomSortApi.js +2 -1
- package/src/Api/DashboardApi.js +2 -1
- package/src/Api/DataChangeHistoryApi.js +2 -1
- package/src/Api/DataImportApi.js +2 -1
- package/src/Api/DataSetApi.js +2 -1
- package/src/Api/EntitlementApi.js +2 -1
- package/src/Api/EventApi.js +2 -1
- package/src/Api/Events/ActionRowSubmitted.js +2 -1
- package/src/Api/Events/AdaptableReady.js +2 -1
- package/src/Api/Events/AdaptableSearchState.js +2 -1
- package/src/Api/Events/AdaptableStateChanged.js +2 -1
- package/src/Api/Events/AdaptableStateReloaded.js +2 -1
- package/src/Api/Events/AlertFired.js +2 -1
- package/src/Api/Events/BaseEventInfo.js +2 -1
- package/src/Api/Events/CellChanged.js +2 -1
- package/src/Api/Events/ChartChanged.js +2 -1
- package/src/Api/Events/ColumnFilterApplied.js +2 -1
- package/src/Api/Events/CustomToolbarConfigured.js +2 -1
- package/src/Api/Events/DashboardChanged.js +2 -1
- package/src/Api/Events/DataImported.js +2 -1
- package/src/Api/Events/DataSetSelected.js +2 -1
- package/src/Api/Events/Fdc3MessageInfo.js +2 -1
- package/src/Api/Events/FlashingCellDisplayed.js +2 -1
- package/src/Api/Events/GridDataChanged.js +2 -1
- package/src/Api/Events/GridFilterApplied.js +2 -1
- package/src/Api/Events/GridSorted.js +2 -1
- package/src/Api/Events/LayoutChanged.js +2 -1
- package/src/Api/Events/LiveDataChanged.js +2 -1
- package/src/Api/Events/ScheduleTriggered.js +2 -1
- package/src/Api/Events/SelectionChanged.js +2 -1
- package/src/Api/Events/SystemStatusMessageDisplayed.js +2 -1
- package/src/Api/Events/TeamSharingEntityChanged.js +2 -1
- package/src/Api/Events/ThemeChanged.js +2 -1
- package/src/Api/Events/ThemeEdited.js +2 -1
- package/src/Api/ExportApi.js +2 -1
- package/src/Api/ExpressionApi.js +2 -1
- package/src/Api/Fdc3Api.js +2 -1
- package/src/Api/FinsembleApi.js +2 -1
- package/src/Api/FlashingCellApi.js +2 -1
- package/src/Api/FormatColumnApi.js +2 -1
- package/src/Api/FreeTextColumnApi.js +2 -1
- package/src/Api/Glue42Api.js +2 -1
- package/src/Api/Glue42WebApi.js +2 -1
- package/src/Api/GridApi.js +2 -1
- package/src/Api/GridFilterApi.d.ts +2 -2
- package/src/Api/GridFilterApi.js +2 -1
- package/src/Api/IPushPullApi.js +2 -1
- package/src/Api/Implementation/ActionColumnApiImpl.js +6 -2
- package/src/Api/Implementation/ActionRowApiImpl.js +12 -8
- package/src/Api/Implementation/AdaptableApiImpl.js +101 -97
- package/src/Api/Implementation/AlertApiImpl.js +23 -18
- package/src/Api/Implementation/ApiBase.js +10 -5
- package/src/Api/Implementation/ApplicationApiImpl.js +8 -3
- package/src/Api/Implementation/BulkUpdateApiImpl.js +10 -5
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +11 -6
- package/src/Api/Implementation/CalendarApiImpl.js +6 -2
- package/src/Api/Implementation/CellSummaryApiImpl.js +22 -17
- package/src/Api/Implementation/ChartingApiImpl.js +18 -13
- package/src/Api/Implementation/ColumnApiImpl.js +16 -11
- package/src/Api/Implementation/ColumnFilterApiImpl.js +14 -9
- package/src/Api/Implementation/ConfigApiImpl.js +34 -29
- package/src/Api/Implementation/CustomSortApiImpl.js +11 -6
- package/src/Api/Implementation/DashboardApiImpl.js +14 -9
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +15 -10
- package/src/Api/Implementation/DataImportApiImpl.js +8 -4
- package/src/Api/Implementation/DataSetApiImpl.js +11 -6
- package/src/Api/Implementation/EntitlementApiImpl.js +6 -2
- package/src/Api/Implementation/EventApiImpl.js +9 -4
- package/src/Api/Implementation/ExportApiImpl.js +17 -12
- package/src/Api/Implementation/ExpressionApiImpl.js +10 -5
- package/src/Api/Implementation/Fdc3ApiImpl.js +12 -8
- package/src/Api/Implementation/FlashingCellApiImpl.js +11 -6
- package/src/Api/Implementation/FormatColumnApiImpl.js +11 -6
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +14 -9
- package/src/Api/Implementation/GridApiImpl.js +23 -18
- package/src/Api/Implementation/GridFilterApiImpl.d.ts +1 -1
- package/src/Api/Implementation/GridFilterApiImpl.js +15 -10
- package/src/Api/Implementation/LayoutApiImpl.js +30 -25
- package/src/Api/Implementation/NamedQueryApiImpl.js +13 -8
- package/src/Api/Implementation/NotesApiImpl.js +9 -4
- package/src/Api/Implementation/OptionsApiImpl.js +6 -2
- package/src/Api/Implementation/PluginsApiImpl.js +8 -3
- package/src/Api/Implementation/PlusMinusApiImpl.js +9 -4
- package/src/Api/Implementation/PredicateApiImpl.js +17 -12
- package/src/Api/Implementation/QuickSearchApiImpl.js +10 -5
- package/src/Api/Implementation/ScheduleApiImpl.js +11 -6
- package/src/Api/Implementation/ScopeApiImpl.js +13 -8
- package/src/Api/Implementation/SettingsPanelApiImpl.js +8 -3
- package/src/Api/Implementation/ShortcutApiImpl.js +9 -4
- package/src/Api/Implementation/SmartEditApiImpl.js +10 -5
- package/src/Api/Implementation/StatusBarApiImpl.js +9 -5
- package/src/Api/Implementation/StyledColumnApiImpl.js +11 -6
- package/src/Api/Implementation/SystemStatusApiImpl.js +21 -16
- package/src/Api/Implementation/TeamSharingApiImpl.js +17 -12
- package/src/Api/Implementation/ThemeApiImpl.js +15 -10
- package/src/Api/Implementation/ToolPanelApiImpl.js +11 -6
- package/src/Api/Implementation/UserInterfaceApiImpl.js +20 -15
- package/src/Api/Internal/ActionRowInternalApi.js +6 -2
- package/src/Api/Internal/AdaptableInternalApi.js +26 -21
- package/src/Api/Internal/AlertInternalApi.js +25 -20
- package/src/Api/Internal/CalculatedColumnInternalApi.js +6 -2
- package/src/Api/Internal/ChartingInternalApi.js +12 -8
- package/src/Api/Internal/ColumnFilterInternalApi.js +13 -8
- package/src/Api/Internal/ColumnInternalApi.js +8 -4
- package/src/Api/Internal/CustomSortInternalApi.js +6 -2
- package/src/Api/Internal/DashboardInternalApi.js +11 -6
- package/src/Api/Internal/DataImportInternalApi.js +10 -5
- package/src/Api/Internal/DataSetInternalApi.js +6 -2
- package/src/Api/Internal/ExportInternalApi.js +6 -2
- package/src/Api/Internal/ExpressionnternalApi.js +6 -2
- package/src/Api/Internal/Fdc3InternalApi.js +28 -24
- package/src/Api/Internal/FlashingCellInternalApi.js +12 -7
- package/src/Api/Internal/FormatColumnInternalApi.js +22 -17
- package/src/Api/Internal/FreeTextColumnInternalApi.js +6 -2
- package/src/Api/Internal/GridFilterInternalApi.js +6 -2
- package/src/Api/Internal/GridInternalApi.js +18 -13
- package/src/Api/Internal/LayoutInternalApi.d.ts +2 -2
- package/src/Api/Internal/LayoutInternalApi.js +28 -23
- package/src/Api/Internal/NamedQueryInternalApi.js +8 -3
- package/src/Api/Internal/PredicateInternalApi.js +6 -2
- package/src/Api/Internal/ScheduleInternalApi.js +6 -2
- package/src/Api/Internal/StyledColumnInternalApi.js +10 -5
- package/src/Api/Internal/SystemStatusInternalApi.js +8 -3
- package/src/Api/Internal/TeamSharingInternalApi.js +6 -2
- package/src/Api/Internal/ThemeInternalApi.js +9 -5
- package/src/Api/Internal/UserInterfaceInternalApi.js +6 -2
- package/src/Api/LayoutApi.js +2 -1
- package/src/Api/NamedQueryApi.js +2 -1
- package/src/Api/NotesAPi.js +2 -1
- package/src/Api/OpenFinApi.js +2 -1
- package/src/Api/OptionsApi.js +2 -1
- package/src/Api/PluginsApi.js +2 -1
- package/src/Api/PlusMinusApi.js +2 -1
- package/src/Api/PredicateApi.js +2 -1
- package/src/Api/QuickSearchApi.js +2 -1
- package/src/Api/ScheduleApi.js +2 -1
- package/src/Api/ScopeApi.js +2 -1
- package/src/Api/SettingsPanelApi.js +2 -1
- package/src/Api/ShortcutApi.js +2 -1
- package/src/Api/SmartEditApi.js +2 -1
- package/src/Api/StatusBarApi.js +2 -1
- package/src/Api/StyledColumnApi.js +2 -1
- package/src/Api/SystemStatusApi.js +2 -1
- package/src/Api/TeamSharingApi.js +2 -1
- package/src/Api/ThemeApi.js +2 -1
- package/src/Api/ToolPanelApi.js +2 -1
- package/src/Api/UserInterfaceApi.js +2 -1
- package/src/PredefinedConfig/AdaptableState.js +2 -1
- package/src/PredefinedConfig/AlertState.js +2 -1
- package/src/PredefinedConfig/ApplicationState.js +2 -1
- package/src/PredefinedConfig/CalculatedColumnState.js +2 -1
- package/src/PredefinedConfig/ChartingState.js +7 -2
- package/src/PredefinedConfig/Common/AdaptableAlert.js +7 -2
- package/src/PredefinedConfig/Common/AdaptableButton.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.js +5 -1
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableForm.js +5 -1
- package/src/PredefinedConfig/Common/AdaptableFormat.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableIcon.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableMessageType.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableObject.js +2 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +56 -52
- package/src/PredefinedConfig/Common/AdaptableQuery.js +5 -1
- package/src/PredefinedConfig/Common/AdaptableScope.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableStyle.js +2 -1
- package/src/PredefinedConfig/Common/AggregationColumns.js +4 -1
- package/src/PredefinedConfig/Common/AlternativeModuleName.js +2 -1
- package/src/PredefinedConfig/Common/BaseContext.js +2 -1
- package/src/PredefinedConfig/Common/ButtonStyle.js +2 -1
- package/src/PredefinedConfig/Common/CellDataChangedInfo.js +2 -1
- package/src/PredefinedConfig/Common/CellHighlightInfo.js +2 -1
- package/src/PredefinedConfig/Common/CellSummary.js +2 -1
- package/src/PredefinedConfig/Common/ColumnFilter.js +2 -1
- package/src/PredefinedConfig/Common/ColumnSort.js +2 -1
- package/src/PredefinedConfig/Common/DataChangedScope.js +2 -1
- package/src/PredefinedConfig/Common/DataUpdateConfig.js +2 -1
- package/src/PredefinedConfig/Common/Entitlement.js +2 -1
- package/src/PredefinedConfig/Common/Enums.js +29 -26
- package/src/PredefinedConfig/Common/Fdc3Context.js +35 -32
- package/src/PredefinedConfig/Common/Fdc3Intent.js +67 -64
- package/src/PredefinedConfig/Common/FilterActionOnDataChange.js +2 -1
- package/src/PredefinedConfig/Common/FormContext.js +2 -1
- package/src/PredefinedConfig/Common/GridFilter.js +2 -1
- package/src/PredefinedConfig/Common/Menu.js +2 -1
- package/src/PredefinedConfig/Common/RowHighlightInfo.js +2 -1
- package/src/PredefinedConfig/Common/RowsHighlightInfo.js +2 -1
- package/src/PredefinedConfig/Common/Schedule.js +2 -1
- package/src/PredefinedConfig/Common/SpecialColumnSettings.js +2 -1
- package/src/PredefinedConfig/Common/SuspendableObject.js +2 -1
- package/src/PredefinedConfig/Common/SystemStatusMessageInfo.js +2 -1
- package/src/PredefinedConfig/Common/Types.js +9 -5
- package/src/PredefinedConfig/ConfigState.js +2 -1
- package/src/PredefinedConfig/CustomSortState.js +2 -1
- package/src/PredefinedConfig/DashboardState.js +2 -1
- package/src/PredefinedConfig/ExportState.js +2 -1
- package/src/PredefinedConfig/FlashingCellState.js +2 -1
- package/src/PredefinedConfig/FormatColumnState.js +2 -1
- package/src/PredefinedConfig/FreeTextColumnState.js +2 -1
- package/src/PredefinedConfig/Glue42State.js +2 -1
- package/src/PredefinedConfig/GridState.js +2 -1
- package/src/PredefinedConfig/IPushPullState.js +2 -1
- package/src/PredefinedConfig/InternalState.js +2 -1
- package/src/PredefinedConfig/LayoutState.js +2 -1
- package/src/PredefinedConfig/NamedQueryState.js +2 -1
- package/src/PredefinedConfig/NotesState.js +2 -1
- package/src/PredefinedConfig/OpenFinState.js +2 -1
- package/src/PredefinedConfig/PlusMinusState.js +2 -1
- package/src/PredefinedConfig/PopupState.js +2 -1
- package/src/PredefinedConfig/PredefinedConfig.js +2 -1
- package/src/PredefinedConfig/QueryState.js +2 -1
- package/src/PredefinedConfig/QuickSearchState.js +2 -1
- package/src/PredefinedConfig/ScheduleState.js +2 -1
- package/src/PredefinedConfig/Selection/GridCell.js +2 -1
- package/src/PredefinedConfig/Selection/GridCellRange.js +2 -1
- package/src/PredefinedConfig/Selection/GridRow.js +2 -1
- package/src/PredefinedConfig/Selection/SelectedCellInfo.js +2 -1
- package/src/PredefinedConfig/Selection/SelectedRowInfo.js +2 -1
- package/src/PredefinedConfig/ShortcutState.js +2 -1
- package/src/PredefinedConfig/StatusBarState.js +4 -1
- package/src/PredefinedConfig/StyledColumnState.js +2 -1
- package/src/PredefinedConfig/SystemState.js +2 -1
- package/src/PredefinedConfig/TeamSharingState.js +7 -2
- package/src/PredefinedConfig/ThemeState.js +2 -1
- package/src/PredefinedConfig/ToolPanelState.js +2 -1
- package/src/PredefinedConfig/Uuid.js +6 -2
- package/src/Redux/ActionsReducers/AlertRedux.js +59 -45
- package/src/Redux/ActionsReducers/ApplicationRedux.js +22 -15
- package/src/Redux/ActionsReducers/BulkUpdateRedux.js +15 -9
- package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +29 -20
- package/src/Redux/ActionsReducers/CellSummaryRedux.js +7 -3
- package/src/Redux/ActionsReducers/ChartingRedux.js +55 -41
- package/src/Redux/ActionsReducers/CustomSortRedux.js +54 -41
- package/src/Redux/ActionsReducers/DashboardRedux.js +66 -50
- package/src/Redux/ActionsReducers/ExportRedux.js +43 -33
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +57 -43
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +70 -54
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +34 -24
- package/src/Redux/ActionsReducers/GridRedux.js +160 -125
- package/src/Redux/ActionsReducers/LayoutRedux.js +115 -89
- package/src/Redux/ActionsReducers/NamedQueryRedux.js +35 -25
- package/src/Redux/ActionsReducers/NotesRedux.js +31 -21
- package/src/Redux/ActionsReducers/PluginsRedux.js +53 -48
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +59 -45
- package/src/Redux/ActionsReducers/PopupRedux.js +84 -64
- package/src/Redux/ActionsReducers/QueryRedux.js +13 -8
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +23 -16
- package/src/Redux/ActionsReducers/ScheduleRedux.js +222 -179
- package/src/Redux/ActionsReducers/ShortcutRedux.js +54 -41
- package/src/Redux/ActionsReducers/SmartEditRedux.js +15 -9
- package/src/Redux/ActionsReducers/StatusBarRedux.js +19 -12
- package/src/Redux/ActionsReducers/StyledColumnRedux.js +54 -41
- package/src/Redux/ActionsReducers/SystemRedux.js +324 -254
- package/src/Redux/ActionsReducers/SystemStatusRedux.js +11 -6
- package/src/Redux/ActionsReducers/TeamSharingRedux.js +55 -40
- package/src/Redux/ActionsReducers/ThemeRedux.js +43 -32
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +39 -28
- package/src/Redux/ActionsReducers/utils.js +9 -3
- package/src/Redux/DeadRedux.js +38 -25
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +20 -15
- package/src/Redux/Store/AdaptableReduxMerger.js +30 -21
- package/src/Redux/Store/AdaptableStore.js +108 -101
- package/src/Redux/Store/Interface/IAdaptableStore.js +2 -1
- package/src/Redux/Store/Interface/IStorageEngine.js +2 -1
- package/src/Strategy/AdaptableModuleBase.js +13 -8
- package/src/Strategy/AlertModule.js +40 -35
- package/src/Strategy/BulkUpdateModule.js +22 -17
- package/src/Strategy/CalculatedColumnModule.js +21 -16
- package/src/Strategy/CellSummaryModule.js +22 -17
- package/src/Strategy/ChartingModule.js +20 -15
- package/src/Strategy/ColumnFilterModule.js +16 -11
- package/src/Strategy/ColumnInfoModule.js +8 -3
- package/src/Strategy/CustomSortModule.js +17 -12
- package/src/Strategy/DashboardModule.js +9 -4
- package/src/Strategy/DataChangeHistoryModule.js +15 -10
- package/src/Strategy/DataImportModule.js +8 -3
- package/src/Strategy/DataSetModule.js +16 -11
- package/src/Strategy/ExportModule.js +60 -55
- package/src/Strategy/Fdc3Module.js +8 -3
- package/src/Strategy/FlashingCellModule.js +33 -28
- package/src/Strategy/FormatColumnModule.js +32 -27
- package/src/Strategy/FreeTextColumnModule.js +13 -8
- package/src/Strategy/GridFilterModule.js +14 -9
- package/src/Strategy/GridInfoModule.js +8 -3
- package/src/Strategy/Interface/IBulkUpdateModule.js +2 -1
- package/src/Strategy/Interface/ICellSummaryModule.js +2 -1
- package/src/Strategy/Interface/IExportModule.js +2 -1
- package/src/Strategy/Interface/IModule.js +2 -1
- package/src/Strategy/Interface/IModuleActionReturn.js +2 -1
- package/src/Strategy/Interface/IPlusMinusModule.js +2 -1
- package/src/Strategy/Interface/IScheduleModule.js +2 -1
- package/src/Strategy/Interface/IShortcutModule.js +2 -1
- package/src/Strategy/Interface/ISmartEditModule.js +2 -1
- package/src/Strategy/LayoutModule.js +36 -35
- package/src/Strategy/NamedQueryModule.js +17 -12
- package/src/Strategy/NotesModule.js +8 -3
- package/src/Strategy/PlusMinusModule.js +26 -21
- package/src/Strategy/QuickSearchModule.js +10 -5
- package/src/Strategy/ScheduleModule.js +45 -40
- package/src/Strategy/SettingsPanelModule.js +9 -4
- package/src/Strategy/ShortcutModule.js +26 -21
- package/src/Strategy/SmartEditModule.js +27 -22
- package/src/Strategy/StateManagementModule.js +8 -3
- package/src/Strategy/StatusBarModule.js +8 -3
- package/src/Strategy/StyledColumnModule.js +22 -17
- package/src/Strategy/SystemStatusModule.js +10 -5
- package/src/Strategy/TeamSharingModule.js +37 -32
- package/src/Strategy/ThemeModule.js +10 -13
- package/src/Strategy/ToolPanelModule.js +13 -8
- package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +9 -5
- package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +11 -6
- package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +8 -4
- package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +5 -1
- package/src/Strategy/Utilities/CustomSort/getCustomSortSortOrderViewItems.js +5 -1
- package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +5 -1
- package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +5 -1
- package/src/Strategy/Utilities/FlashingCell/getFlashingCellDurationViewItems.js +5 -1
- package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.js +7 -3
- package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.js +5 -1
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +5 -1
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +10 -5
- package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +8 -3
- package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +5 -1
- package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +5 -1
- package/src/Strategy/Utilities/getExpressionViewItems.js +5 -1
- package/src/Strategy/Utilities/getObjectTagsViewItems.js +12 -7
- package/src/Strategy/Utilities/getRuleViewItems.js +5 -1
- package/src/Strategy/Utilities/getScopeViewItems.js +5 -1
- package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +5 -1
- package/src/Utilities/Cancelable.js +2 -1
- package/src/Utilities/Constants/ConfigConstants.js +12 -9
- package/src/Utilities/Constants/DocumentationLinkConstants.js +17 -14
- package/src/Utilities/Constants/GeneralConstants.js +74 -70
- package/src/Utilities/Constants/ModuleConstants.js +119 -115
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +30 -26
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +5 -2
- package/src/Utilities/Emitter.js +5 -3
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +24 -20
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +54 -51
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +42 -31
- package/src/Utilities/ExpressionFunctions/dateUtils.js +7 -2
- package/src/Utilities/ExpressionFunctions/deepMap.js +5 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +57 -39
- package/src/Utilities/ExpressionFunctions/groupingMap.js +7 -3
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +70 -66
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +7 -3
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +56 -52
- package/src/Utilities/Extensions/ArrayExtensions.js +73 -39
- package/src/Utilities/Extensions/EnumExtensions.js +21 -14
- package/src/Utilities/Extensions/NumberExtensions.js +9 -4
- package/src/Utilities/Extensions/ObjectExtensions.js +9 -3
- package/src/Utilities/Extensions/StringExtensions.js +46 -23
- package/src/Utilities/Extensions/TypeExtensions.js +5 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +70 -59
- package/src/Utilities/Helpers/DateHelper.js +28 -18
- package/src/Utilities/Helpers/FormatHelper.js +18 -10
- package/src/Utilities/Helpers/Helper.js +50 -28
- package/src/Utilities/Helpers/PreviewHelper.js +15 -8
- package/src/Utilities/Helpers/StyleHelper.js +20 -11
- package/src/Utilities/Interface/AdaptableToolPanelContext.js +2 -1
- package/src/Utilities/Interface/ColumnFilterProps.js +2 -1
- package/src/Utilities/Interface/IPPStyle.js +2 -1
- package/src/Utilities/Interface/KeyValuePair.js +2 -1
- package/src/Utilities/Interface/MessagePopups.js +2 -1
- package/src/Utilities/Interface/Preview.js +2 -1
- package/src/Utilities/MenuItem.js +11 -4
- package/src/Utilities/ObjectFactory.js +167 -124
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +7 -3
- package/src/Utilities/Services/AlertService.js +16 -11
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +13 -9
- package/src/Utilities/Services/ChartingService.js +15 -10
- package/src/Utilities/Services/DataService.js +13 -8
- package/src/Utilities/Services/EntitlementService.js +5 -1
- package/src/Utilities/Services/Fdc3Service.js +11 -7
- package/src/Utilities/Services/Interface/IAdaptableService.js +2 -1
- package/src/Utilities/Services/Interface/IAlertService.js +8 -3
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.js +2 -1
- package/src/Utilities/Services/Interface/IChartingService.js +2 -1
- package/src/Utilities/Services/Interface/IDataService.js +2 -1
- package/src/Utilities/Services/Interface/IEntitlementService.js +2 -1
- package/src/Utilities/Services/Interface/ILicenseService.js +2 -1
- package/src/Utilities/Services/Interface/IMetamodelService.js +2 -1
- package/src/Utilities/Services/Interface/IModuleService.js +2 -1
- package/src/Utilities/Services/Interface/IQueryLanguageService.js +2 -1
- package/src/Utilities/Services/Interface/IReportService.js +2 -1
- package/src/Utilities/Services/Interface/IRowEditService.js +2 -1
- package/src/Utilities/Services/Interface/ITeamSharingService.js +2 -1
- package/src/Utilities/Services/Interface/IThemeService.js +2 -1
- package/src/Utilities/Services/Interface/IValidationService.js +2 -1
- package/src/Utilities/Services/LicenseService/index.js +1 -181
- package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +5 -1
- package/src/Utilities/Services/MetamodelService.js +17 -12
- package/src/Utilities/Services/ModuleService.js +14 -9
- package/src/Utilities/Services/QueryLanguageService.js +29 -24
- package/src/Utilities/Services/ReportService.js +53 -48
- package/src/Utilities/Services/RowEditService.js +5 -1
- package/src/Utilities/Services/TeamSharingService.js +11 -6
- package/src/Utilities/Services/ThemeService.js +5 -1
- package/src/Utilities/Services/ValidationService.js +25 -20
- package/src/Utilities/getScrollbarSize.js +3 -1
- package/src/Utilities/isAdaptableObject.js +5 -1
- package/src/Utilities/isMacLike.js +5 -1
- package/src/Utilities/license/LicenseDetails.js +2 -1
- package/src/Utilities/license/decode.js +1 -65
- package/src/Utilities/license/hashing.js +1 -43
- package/src/Utilities/logDeprecation.js +9 -3
- package/src/Utilities/reorder.js +5 -1
- package/src/Utilities/runIfNotResolvedIn.js +5 -1
- package/src/Utilities/sortWithOrder.js +5 -1
- package/src/Utilities/waitForCondition.js +5 -1
- package/src/Utilities/waitForTimeout.js +5 -1
- package/src/View/AdaptableContext.js +8 -3
- package/src/View/AdaptablePopover/index.js +22 -17
- package/src/View/AdaptableView.js +35 -30
- package/src/View/AdaptableViewFactory.js +71 -67
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +30 -25
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +44 -42
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +9 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +26 -21
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +9 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +29 -26
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +20 -17
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +13 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +21 -16
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +29 -24
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +23 -18
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +4 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +5 -3
- package/src/View/AdaptableWizardView/Utils.js +5 -1
- package/src/View/AdaptableWizardView/Wizard.js +26 -20
- package/src/View/AdaptableWizardView/helper.js +10 -4
- package/src/View/AdaptableWizardView/index.js +10 -7
- package/src/View/Alert/ActiveAlertsPanel.js +14 -9
- package/src/View/Alert/ActiveAlertsPanelItemLabel.js +15 -10
- package/src/View/Alert/AlertEmptyView.js +9 -4
- package/src/View/Alert/AlertEntityRow.js +18 -13
- package/src/View/Alert/AlertStatusSubPanel.js +18 -13
- package/src/View/Alert/AlertViewPanel.js +20 -16
- package/src/View/Alert/AlertsPanel.js +27 -22
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +11 -6
- package/src/View/Alert/Utilities/getAlertType.d.ts +1 -0
- package/src/View/Alert/Utilities/getAlertType.js +18 -5
- package/src/View/Alert/Utilities/getAvailablePredicates.js +6 -2
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +18 -8
- package/src/View/Alert/Utilities/mapAlertDefinition.js +5 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +51 -48
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +40 -35
- package/src/View/Alert/Wizard/AlertMessageWizardSection.js +37 -31
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +33 -27
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +38 -28
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +14 -9
- package/src/View/Alert/Wizard/AlertSelectQueryWizard.js +19 -14
- package/src/View/Alert/Wizard/AlertTypeWizardSection.js +26 -19
- package/src/View/Alert/Wizard/AlertWizard.js +65 -60
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +19 -14
- package/src/View/Alert/Wizard/isValidAlertRules.js +7 -3
- package/src/View/BulkUpdate/BulkUpdatePopup.js +37 -33
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +31 -27
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +22 -17
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +5 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +43 -36
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +28 -21
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +40 -33
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +18 -13
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +54 -49
- package/src/View/CalculatedColumn/utils.js +5 -1
- package/src/View/CellSummary/CellSummaryDetails.js +11 -6
- package/src/View/CellSummary/CellSummaryPopover.js +9 -4
- package/src/View/CellSummary/CellSummaryPopup.js +12 -8
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +12 -11
- package/src/View/CellSummary/CellSummaryStatusPanel.js +16 -11
- package/src/View/CellSummary/CellSummaryViewPanel.js +26 -22
- package/src/View/Charting/ChartingStatusBarPopover.js +17 -12
- package/src/View/Charting/ChartingViewPanel.js +18 -13
- package/src/View/Charting/ChartingWizard/AgChargingWizard/AgChargingWizard.js +23 -18
- package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +14 -9
- package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +22 -16
- package/src/View/Charting/ChartingWizard/AgChargingWizard/index.js +4 -1
- package/src/View/Charting/ChartingWizard/ChartingWizard.js +14 -10
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.js +18 -13
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +14 -8
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/index.js +4 -1
- package/src/View/Charting/ChartingWizard/index.js +4 -1
- package/src/View/Charting/DeleteChartButton.js +11 -6
- package/src/View/Charting/EditChartButton.js +13 -8
- package/src/View/Charting/ShowChartButton.js +26 -21
- package/src/View/Charting/useAgChartState.js +12 -7
- package/src/View/Charting/useChartingElements.js +36 -33
- package/src/View/Charting/useExternalChartState.js +12 -7
- package/src/View/ColumnInfo/ColumnInfo.js +38 -33
- package/src/View/ColumnInfo/ColumnInfoPopup.js +13 -8
- package/src/View/Components/AdaptableButton/index.js +13 -8
- package/src/View/Components/AdaptableDateInput/index.js +15 -13
- package/src/View/Components/AdaptableIconComponent/index.js +11 -6
- package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +7 -3
- package/src/View/Components/AdaptableIconSelector/index.js +11 -6
- package/src/View/Components/AdaptableInput/index.js +11 -8
- package/src/View/Components/AdaptableObjectCollection/index.js +11 -6
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +33 -27
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +47 -40
- package/src/View/Components/AdaptableObjectList/index.js +5 -1
- package/src/View/Components/AdaptableObjectRow/index.js +12 -7
- package/src/View/Components/Badge/index.js +11 -6
- package/src/View/Components/Buttons/ButtonApply.js +9 -4
- package/src/View/Components/Buttons/ButtonBase/index.js +10 -5
- package/src/View/Components/Buttons/ButtonClear.js +9 -4
- package/src/View/Components/Buttons/ButtonClone.js +9 -4
- package/src/View/Components/Buttons/ButtonClose.js +9 -4
- package/src/View/Components/Buttons/ButtonConfigure.js +9 -4
- package/src/View/Components/Buttons/ButtonDelete.js +11 -8
- package/src/View/Components/Buttons/ButtonEdit.js +9 -4
- package/src/View/Components/Buttons/ButtonExpand.js +9 -4
- package/src/View/Components/Buttons/ButtonExport.js +9 -4
- package/src/View/Components/Buttons/ButtonFunction.js +9 -4
- package/src/View/Components/Buttons/ButtonGeneral.js +9 -4
- package/src/View/Components/Buttons/ButtonInfo.js +9 -4
- package/src/View/Components/Buttons/ButtonInvalid.js +9 -4
- package/src/View/Components/Buttons/ButtonLogin.js +9 -4
- package/src/View/Components/Buttons/ButtonLogout.js +9 -4
- package/src/View/Components/Buttons/ButtonMaximise.js +9 -4
- package/src/View/Components/Buttons/ButtonMinimise.js +9 -4
- package/src/View/Components/Buttons/ButtonNew.js +9 -4
- package/src/View/Components/Buttons/ButtonNewPage.js +9 -4
- package/src/View/Components/Buttons/ButtonOpen.js +9 -4
- package/src/View/Components/Buttons/ButtonPause.js +9 -4
- package/src/View/Components/Buttons/ButtonPlay.js +10 -5
- package/src/View/Components/Buttons/ButtonPreviewDelete.js +7 -4
- package/src/View/Components/Buttons/ButtonSave.js +9 -4
- package/src/View/Components/Buttons/ButtonSchedule.js +9 -4
- package/src/View/Components/Buttons/ButtonShare.js +12 -8
- package/src/View/Components/Buttons/ButtonShow.js +9 -4
- package/src/View/Components/Buttons/ButtonShowChart.js +9 -4
- package/src/View/Components/Buttons/ButtonStop.js +9 -4
- package/src/View/Components/Buttons/ButtonUndo.js +9 -4
- package/src/View/Components/Buttons/ButtonUnsuspend.js +9 -4
- package/src/View/Components/Buttons/EntityListActionButtons.js +19 -14
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +8 -4
- package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -1
- package/src/View/Components/CellPopup/index.js +14 -10
- package/src/View/Components/ColumnSelector/index.js +12 -7
- package/src/View/Components/EntityRowItem.js +7 -2
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +23 -18
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +32 -27
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +5 -1
- package/src/View/Components/EntityRulesEditor/Utilities.js +5 -1
- package/src/View/Components/EntityRulesEditor/index.js +42 -45
- package/src/View/Components/ExpressionWizard.js +22 -17
- package/src/View/Components/ExternalRenderer.js +10 -6
- package/src/View/Components/FilterForm/FilterForm.js +63 -51
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +36 -33
- package/src/View/Components/FilterForm/ListBoxMenu.js +13 -8
- package/src/View/Components/FilterForm/QuickFilterForm.js +49 -43
- package/src/View/Components/FilterForm/QuickFilterValues.d.ts +2 -2
- package/src/View/Components/FilterForm/QuickFilterValues.js +32 -26
- package/src/View/Components/FilterForm/Waiting.js +14 -10
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +5 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.js +14 -10
- package/src/View/Components/ListBox/DualListBoxEditor.js +58 -53
- package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +15 -10
- package/src/View/Components/ModuleProfile.js +9 -4
- package/src/View/Components/ModuleSummary/ModuleDetail.js +11 -6
- package/src/View/Components/ModuleSummary/ModuleHeader.js +13 -8
- package/src/View/Components/ModuleSummary/SummaryRowItem.js +9 -4
- package/src/View/Components/ModuleValueSelector/index.js +19 -15
- package/src/View/Components/NewScopeComponent.js +52 -45
- package/src/View/Components/Panels/FilterFormPanel.js +27 -22
- package/src/View/Components/Panels/PanelDashboard/index.js +9 -4
- package/src/View/Components/Panels/PanelFooter.js +13 -8
- package/src/View/Components/Panels/PanelToolPanel/index.js +20 -16
- package/src/View/Components/Panels/PanelWithButton.js +21 -16
- package/src/View/Components/Panels/PanelWithImage.js +20 -16
- package/src/View/Components/Panels/PanelWithRow.js +12 -7
- package/src/View/Components/Panels/PanelWithTwoButtons.js +12 -7
- package/src/View/Components/Panels/ToolPanelSettingsPanel.js +11 -6
- package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +20 -15
- package/src/View/Components/PermittedValuesSelector/index.js +5 -1
- package/src/View/Components/Popups/AdaptableLoadingScreen.js +11 -6
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +31 -26
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +12 -7
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +25 -21
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +29 -24
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +9 -4
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +16 -11
- package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +8 -3
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +17 -12
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +17 -12
- package/src/View/Components/Popups/AdaptablePopup/index.js +5 -1
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +15 -10
- package/src/View/Components/Popups/AdaptablePopupAlert.js +27 -22
- package/src/View/Components/Popups/AdaptablePopupConfirmation.js +30 -25
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +23 -18
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +31 -26
- package/src/View/Components/Popups/AdaptableToaster.js +18 -13
- package/src/View/Components/Popups/FormPopups/FormPopups.js +25 -19
- package/src/View/Components/Popups/Utilities.js +17 -10
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +27 -23
- package/src/View/Components/Popups/WindowPopups/windowFactory.js +16 -13
- package/src/View/Components/PredicateEditor/PredicateEditor.js +26 -21
- package/src/View/Components/PreviewResultsPanel.js +18 -13
- package/src/View/Components/RangesComponent.js +56 -51
- package/src/View/Components/ScopeComponent.js +28 -23
- package/src/View/Components/Selectors/ColumnSelector.js +11 -6
- package/src/View/Components/Selectors/ColumnSelectorOld.js +18 -13
- package/src/View/Components/Selectors/ColumnValueSelector.js +20 -15
- package/src/View/Components/Selectors/PermittedValuesSelector.d.ts +5 -4
- package/src/View/Components/Selectors/PermittedValuesSelector.js +37 -10
- package/src/View/Components/SharedProps/BaseProps.js +2 -1
- package/src/View/Components/SharedProps/ConfigEntityRowProps.js +2 -1
- package/src/View/Components/SharedProps/EditableConfigEntityState.js +5 -2
- package/src/View/Components/SharedProps/ModuleSummaryProps.js +2 -1
- package/src/View/Components/SharedProps/ModuleViewPopupProps.js +2 -1
- package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.js +2 -1
- package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.js +2 -1
- package/src/View/Components/SharedProps/ViewPanelProps.js +2 -1
- package/src/View/Components/SharedProps/WizardScopeState.js +2 -1
- package/src/View/Components/StyleComponent.js +69 -64
- package/src/View/Components/StyleVisualItem.js +14 -9
- package/src/View/Components/TagValueSelector/index.js +15 -9
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +44 -39
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +18 -13
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +28 -24
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +21 -16
- package/src/View/Components/ValueSelector/index.js +53 -47
- package/src/View/Components/WizardSummaryPage.js +12 -7
- package/src/View/Components/WizardSummaryRow.js +11 -6
- package/src/View/CustomSort/CustomSortSummary.js +37 -32
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +24 -17
- package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +9 -4
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +36 -29
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +36 -31
- package/src/View/Dashboard/CustomDashboardButton.js +12 -7
- package/src/View/Dashboard/CustomToolbar.js +25 -19
- package/src/View/Dashboard/Dashboard.js +42 -38
- package/src/View/Dashboard/DashboardPopup.js +33 -29
- package/src/View/Dashboard/DashboardToolbarFactory.js +18 -13
- package/src/View/Dashboard/DashboardViewPanel.js +14 -10
- package/src/View/Dashboard/ModuleToolbarWrapper.js +13 -8
- package/src/View/Dashboard/PinnedDashboard.js +17 -12
- package/src/View/Dashboard/PinnedToolbarsSelector.js +16 -11
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +20 -15
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +38 -34
- package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +9 -4
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +41 -36
- package/src/View/DataChangeHistory/buildActionColumnButton.js +5 -1
- package/src/View/DataImport/DataImportPopup.js +17 -12
- package/src/View/DataImport/DataImportWizard/DataImportWizard.js +30 -25
- package/src/View/DataImport/DataImportWizard/index.js +4 -1
- package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +34 -29
- package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +26 -21
- package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +23 -18
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadFileSection.js +10 -5
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.js +22 -17
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadTextSection.js +11 -6
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/index.js +4 -1
- package/src/View/DataImport/DataImportWizard/sections/ValidationSection.js +23 -18
- package/src/View/DataImport/systemFileHandlers.js +9 -5
- package/src/View/DataSet/DataSetSelector.js +11 -6
- package/src/View/DataSet/DataSetStatusPanelPopover.js +11 -6
- package/src/View/DataSet/DataSetViewPanel.js +16 -12
- package/src/View/Export/ExportSelector.js +27 -24
- package/src/View/Export/ExportTablePopup.js +12 -7
- package/src/View/Export/ExportViewPanel.d.ts +4 -4
- package/src/View/Export/ExportViewPanel.js +45 -46
- package/src/View/Export/ReportExportDropdown.js +21 -16
- package/src/View/Export/Wizard/NewReportWizard.js +37 -32
- package/src/View/Export/Wizard/ReportColumnTypeWizard.js +19 -14
- package/src/View/Export/Wizard/ReportColumnsWizardSection.js +35 -28
- package/src/View/Export/Wizard/ReportNameWizardSection.js +28 -21
- package/src/View/Export/Wizard/ReportRowTypeWizard.js +19 -14
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +37 -30
- package/src/View/Export/Wizard/ReportScopeWizard.js +14 -9
- package/src/View/Export/Wizard/ReportSettingsWizard.js +23 -18
- package/src/View/Export/Wizard/ReportSummaryWizard.js +9 -4
- package/src/View/Export/constants.js +5 -2
- package/src/View/Filter/ActiveFiltersPanel.js +12 -7
- package/src/View/Filter/FilterStatusBarSubPanelPopover.js +9 -4
- package/src/View/Filter/FilterSummary.js +23 -18
- package/src/View/Filter/FilterViewPanel.js +24 -20
- package/src/View/FlashingCell/FlashingCellStyle.js +14 -10
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +20 -14
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +13 -8
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +42 -36
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +34 -28
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +49 -44
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +7 -3
- package/src/View/FormatColumn/FormatColumnSummary.js +32 -27
- package/src/View/FormatColumn/MoveFormatColumn.js +15 -10
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +161 -153
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +11 -6
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +16 -10
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +36 -30
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +25 -17
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +53 -48
- package/src/View/FormatColumn/Wizard/constants.js +4 -1
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +32 -27
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +59 -52
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +31 -26
- package/src/View/GridFilter/GridFilterExpressionEditor.js +35 -30
- package/src/View/GridFilter/GridFilterPopup.js +41 -34
- package/src/View/GridFilter/GridFilterStatusbar.js +10 -5
- package/src/View/GridFilter/GridFilterViewPanel.js +40 -34
- package/src/View/GridFilter/GridFilterWindowPopup.js +9 -4
- package/src/View/GridFilter/NamedQuerySelector.js +37 -31
- package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +2 -0
- package/src/View/GridFilter/useGridFilterExpressionEditor.js +37 -24
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +12 -26
- package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +16 -11
- package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +25 -20
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +37 -32
- package/src/View/GridInfo/GridInfoPopup/index.js +4 -1
- package/src/View/KeyHint.js +9 -4
- package/src/View/Layout/EditCurrentLayoutButton.js +11 -6
- package/src/View/Layout/LayoutCloneButton.js +11 -6
- package/src/View/Layout/LayoutRadioSelector.js +11 -6
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.d.ts +1 -1
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +20 -10
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/LayoutViewPanel.js +30 -26
- package/src/View/Layout/PivotDetailsPopoup.js +12 -7
- package/src/View/Layout/SaveLayoutButton.js +17 -12
- package/src/View/Layout/Wizard/Components/ColumnLabels.js +15 -11
- package/src/View/Layout/Wizard/LayoutWizard.js +56 -51
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +44 -37
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +68 -62
- package/src/View/Layout/Wizard/sections/FilterSection.js +37 -30
- package/src/View/Layout/Wizard/sections/GridFilterSection.js +33 -26
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +27 -21
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +33 -27
- package/src/View/Layout/Wizard/sections/SettingsSection.js +35 -29
- package/src/View/Layout/Wizard/sections/SortSection.js +32 -26
- package/src/View/Layout/Wizard/sections/Utilities.js +5 -1
- package/src/View/License/LicenseWatermark.js +1 -61
- package/src/View/License/index.js +5 -1
- package/src/View/NamedQuery/EditCurrentQueryButton.js +12 -7
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +24 -17
- package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +28 -21
- package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +33 -28
- package/src/View/Notes/NotesListing.js +19 -14
- package/src/View/Notes/NotesPopup.js +24 -19
- package/src/View/PlusMinus/PlusMinusSummary.js +31 -26
- package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +18 -12
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +11 -6
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +39 -32
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +31 -26
- package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +18 -13
- package/src/View/QuickSearch/QuickSearchInput.js +18 -13
- package/src/View/QuickSearch/QuickSearchPopup.js +30 -26
- package/src/View/QuickSearch/QuickSearchStatusBarContent.js +15 -10
- package/src/View/QuickSearch/QuickSearchViewPanel.js +9 -4
- package/src/View/QuickSearch/useQuickSearchDebounced.js +12 -7
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +13 -8
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +32 -26
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +18 -13
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +29 -24
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +18 -13
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +29 -24
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +22 -17
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +20 -14
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +25 -20
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/index.js +9 -3
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +22 -17
- package/src/View/Schedule/Wizard/ScheduleWizard.js +52 -47
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +11 -6
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +50 -43
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +37 -32
- package/src/View/Shortcut/shortcutKeys.js +4 -1
- package/src/View/Shortcut/shortcutOperations.js +9 -6
- package/src/View/SmartEdit/SmartEditPopup.js +30 -26
- package/src/View/SmartEdit/SmartEditViewPanel.js +34 -30
- package/src/View/SpecialColumnSettingsWizardStep.js +40 -35
- package/src/View/StateManagement/StateManagementPopup.js +27 -22
- package/src/View/StateManagement/StateManagementViewPanel.js +19 -14
- package/src/View/StateManagement/components/ClearButton.js +9 -4
- package/src/View/StateManagement/components/ExportDropdown.js +12 -7
- package/src/View/StateManagement/components/LoadButton.js +11 -6
- package/src/View/StateManagement/handleExportState.js +9 -4
- package/src/View/StatusBar/AdaptableStatusBar.js +19 -14
- package/src/View/StatusBar/StatusBarPanel.js +16 -12
- package/src/View/StatusBar/StatusBarPopup.js +19 -14
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +60 -61
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +142 -137
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +49 -44
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +24 -17
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +27 -21
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +14 -9
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +12 -7
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +12 -7
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +19 -14
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +56 -49
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +4 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +29 -23
- package/src/View/SystemStatus/SystemStatusEntityRow.js +17 -12
- package/src/View/SystemStatus/SystemStatusPopup.js +22 -18
- package/src/View/SystemStatus/SystemStatusStatusBarContent.js +13 -8
- package/src/View/SystemStatus/SystemStatusViewPanel.js +12 -8
- package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +9 -4
- package/src/View/TeamSharing/SharedEntityDependencies.js +18 -12
- package/src/View/TeamSharing/SharedEntityObjectView.js +30 -23
- package/src/View/TeamSharing/TeamSharingApplyButton.js +11 -6
- package/src/View/Theme/ThemeEditor.js +32 -27
- package/src/View/Theme/ThemeEditorWindow.js +13 -8
- package/src/View/Theme/ThemeField.js +23 -18
- package/src/View/Theme/ThemePopup.js +28 -39
- package/src/View/Theme/ThemeSelector.d.ts +5 -0
- package/src/View/Theme/ThemeSelector.js +34 -0
- package/src/View/Theme/ThemeStatusbar.d.ts +2 -0
- package/src/View/Theme/ThemeStatusbar.js +14 -0
- package/src/View/Theme/ThemeViewPanel.d.ts +2 -13
- package/src/View/Theme/ThemeViewPanel.js +14 -56
- package/src/View/Theme/VariantSelector.js +13 -8
- package/src/View/UIHelper.js +152 -120
- package/src/View/UIInterfaces.js +2 -1
- package/src/View/Wizard/AdaptableWizard.js +30 -24
- package/src/View/Wizard/Interface/IAdaptableWizard.js +2 -1
- package/src/View/Wizard/ObjectTagsWizardSection.js +20 -14
- package/src/View/Wizard/OnePageAdaptableWizard.js +42 -32
- package/src/View/Wizard/OnePageWizards.js +59 -50
- package/src/View/Wizard/TypeRadio.js +12 -7
- package/src/View/Wizard/WizardLegend.js +11 -6
- package/src/View/Wizard/useKeyboardNavigation.js +9 -4
- package/src/View/renderWithAdaptableContext.js +14 -9
- package/src/agGrid/ActionColumnRenderer.js +15 -9
- package/src/agGrid/Adaptable.d.ts +9 -6
- package/src/agGrid/Adaptable.js +262 -271
- package/src/agGrid/AdaptableLogger.js +5 -1
- package/src/agGrid/BadgeRenderer.js +11 -6
- package/src/agGrid/CheckboxRenderer.js +7 -2
- package/src/agGrid/ColumnSetupInfo.js +2 -1
- package/src/agGrid/FilterWrapper.js +14 -9
- package/src/agGrid/FloatingFilterWrapper.js +13 -8
- package/src/agGrid/PercentBarRenderer.js +10 -5
- package/src/agGrid/agGridHelper.js +104 -99
- package/src/agGrid/agGridMenuHelper.js +35 -30
- package/src/agGrid/attachAddaptableColumnTypes.js +8 -4
- package/src/agGrid/createAgStatusPanelComponent.js +10 -5
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +16 -12
- package/src/agGrid/editors/AdaptableDateEditor/index.js +24 -19
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +10 -6
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +21 -16
- package/src/agGrid/index.js +11 -6
- package/src/agGrid/weightedAverage.js +17 -10
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +31 -25
- package/src/components/AdaptableFormComponent/index.js +4 -1
- package/src/components/CheckBox/index.js +17 -13
- package/src/components/CodeBlock/index.js +11 -6
- package/src/components/ColorPicker/ColorPicker.js +18 -15
- package/src/components/ColorPicker/index.js +4 -1
- package/src/components/ContainerProps.js +2 -1
- package/src/components/Dashboard/Dashboard.js +22 -17
- package/src/components/Dashboard/DashboardManager.js +7 -4
- package/src/components/Dashboard/DashboardTab.js +5 -1
- package/src/components/Dashboard/DashboardToolbar.js +14 -9
- package/src/components/Dashboard/index.js +6 -3
- package/src/components/Datepicker/Caption.js +20 -15
- package/src/components/Datepicker/CaptionLabel.js +21 -16
- package/src/components/Datepicker/DatepickerContext.js +9 -4
- package/src/components/Datepicker/index.js +42 -39
- package/src/components/Dialog/index.js +32 -29
- package/src/components/Dialog/useIsOpen.js +6 -3
- package/src/components/DragAndDropContext/DragAndDropContext.js +6 -2
- package/src/components/DragAndDropContext/ModuleManager.js +18 -13
- package/src/components/DragAndDropContext/TabList.js +27 -19
- package/src/components/DragAndDropContext/UnusedPanel.js +15 -10
- package/src/components/DragAndDropContext/types.js +2 -1
- package/src/components/Drawer/index.js +7 -2
- package/src/components/Dropdown/Arrows.js +8 -5
- package/src/components/Dropdown/index.js +20 -18
- package/src/components/DropdownButton/DropdownButtonItem.js +2 -1
- package/src/components/DropdownButton/index.js +26 -23
- package/src/components/DropdownButton/renderItem.js +7 -4
- package/src/components/DropdownButton/useExpanded.js +12 -9
- package/src/components/EllipsisContainer/index.js +21 -17
- package/src/components/EmptyContent/index.js +10 -8
- package/src/components/ErrorBox/index.js +10 -6
- package/src/components/ExpressionEditor/BaseEditorInput.js +60 -55
- package/src/components/ExpressionEditor/EditorButton.js +10 -8
- package/src/components/ExpressionEditor/EditorContext.js +8 -4
- package/src/components/ExpressionEditor/EditorInput.js +25 -22
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +27 -24
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +15 -10
- package/src/components/ExpressionEditor/NamedQueryContext.js +8 -4
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +42 -36
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +6 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +60 -41
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +71 -54
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +5 -1
- package/src/components/ExpressionEditor/QueryBuilder/index.js +4 -1
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +27 -18
- package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +4 -1
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +4 -1
- package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +4 -1
- package/src/components/ExpressionEditor/editorButtonsObservable.js +4 -1
- package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +4 -1
- package/src/components/ExpressionEditor/editorButtonsSearch.js +4 -1
- package/src/components/ExpressionEditor/index.js +99 -97
- package/src/components/FieldWrap/index.js +8 -5
- package/src/components/FileDroppable/FileDroppableState.js +2 -1
- package/src/components/FileDroppable/index.js +33 -29
- package/src/components/FileDroppable/reducer.js +6 -3
- package/src/components/FlexWithFooter.js +11 -9
- package/src/components/FormLayout/index.js +17 -13
- package/src/components/HelpBlock/index.js +10 -6
- package/src/components/Icon/index.js +29 -20
- package/src/components/IconSelector/IconSelector.js +32 -27
- package/src/components/IconSelector/index.js +4 -1
- package/src/components/InfiniteTable/index.js +10 -6
- package/src/components/Input/NumberInput.js +9 -4
- package/src/components/Input/index.js +11 -8
- package/src/components/InputGroup/InputGroup.d.ts +7 -0
- package/src/components/InputGroup/InputGroup.js +12 -0
- package/src/components/InputGroup/index.d.ts +1 -0
- package/src/components/InputGroup/index.js +4 -0
- package/src/components/List/GridList/index.js +10 -7
- package/src/components/List/ListGroup/index.js +9 -7
- package/src/components/List/ListGroupItem/index.js +10 -8
- package/src/components/Loader/Loader.js +10 -4
- package/src/components/Loader/index.js +7 -2
- package/src/components/Logo/index.js +7 -2
- package/src/components/Modal/Backdrop.js +17 -12
- package/src/components/Modal/index.js +23 -19
- package/src/components/NotifyResize/index.js +7 -4
- package/src/components/OverlayTrigger/Overlay.js +23 -19
- package/src/components/OverlayTrigger/index.js +53 -43
- package/src/components/OverlayTrigger/useAgGridClassName.js +7 -5
- package/src/components/OverlayTrigger/utils.js +9 -3
- package/src/components/Panel/index.js +15 -12
- package/src/components/PopupWithFooter.js +11 -8
- package/src/components/ProgressIndicator/ProgressIndicator.js +17 -12
- package/src/components/Radio/index.js +20 -15
- package/src/components/ResizeObserver/getResizeObserverObject.js +5 -1
- package/src/components/ResizeObserver/index.js +24 -17
- package/src/components/Select/Select.d.ts +1 -1
- package/src/components/Select/Select.js +65 -32
- package/src/components/Select/index.js +4 -1
- package/src/components/SelectList.js +9 -4
- package/src/components/SelectableList/index.js +13 -8
- package/src/components/SimpleButton/index.js +22 -19
- package/src/components/SizedContainer/index.js +11 -9
- package/src/components/StylePreview.js +11 -6
- package/src/components/Table/index.js +7 -4
- package/src/components/Tabs/index.js +34 -28
- package/src/components/Tag/Tag.js +9 -5
- package/src/components/Tag/index.js +5 -1
- package/src/components/Textarea/index.js +11 -8
- package/src/components/Toastify/index.js +10 -1
- package/src/components/Toggle/Toggle.js +12 -8
- package/src/components/Toggle/ToggleGroup.js +9 -4
- package/src/components/Toggle/index.js +5 -2
- package/src/components/ToggleButton/index.js +11 -6
- package/src/components/Tooltip/index.js +7 -4
- package/src/components/WarningBox/index.js +11 -6
- package/src/components/WindowModal/WindowModal.js +17 -12
- package/src/components/WindowModal/index.js +4 -1
- package/src/components/WindowModal/useStacking.js +9 -4
- package/src/components/WizardPanel/index.js +8 -5
- package/src/components/icons/DefaultIcon.js +12 -8
- package/src/components/icons/add-row.js +6 -3
- package/src/components/icons/alert.js +6 -3
- package/src/components/icons/align-center.js +6 -3
- package/src/components/icons/align-justify.js +6 -3
- package/src/components/icons/align-left.js +6 -3
- package/src/components/icons/align-right.js +6 -3
- package/src/components/icons/analysis.js +6 -3
- package/src/components/icons/application.js +6 -3
- package/src/components/icons/arrow-down-long.js +6 -3
- package/src/components/icons/arrow-down.js +6 -3
- package/src/components/icons/arrow-expand.js +6 -3
- package/src/components/icons/arrow-left.js +6 -3
- package/src/components/icons/arrow-right.js +6 -3
- package/src/components/icons/arrow-up-long.js +6 -3
- package/src/components/icons/arrow-up.js +6 -3
- package/src/components/icons/attach-file.js +6 -3
- package/src/components/icons/badge.js +6 -3
- package/src/components/icons/blanks.js +6 -3
- package/src/components/icons/bold.js +6 -3
- package/src/components/icons/boolean-list.js +6 -3
- package/src/components/icons/brush.js +6 -3
- package/src/components/icons/build.js +6 -3
- package/src/components/icons/bulk-update.js +6 -3
- package/src/components/icons/calculated-column.js +6 -3
- package/src/components/icons/calendar.js +6 -3
- package/src/components/icons/call.js +6 -3
- package/src/components/icons/campaign.js +6 -3
- package/src/components/icons/case-lower.js +6 -3
- package/src/components/icons/case-sentence.js +6 -3
- package/src/components/icons/case-upper.js +6 -3
- package/src/components/icons/cell-summary.js +6 -3
- package/src/components/icons/cell-validation.js +6 -3
- package/src/components/icons/chart.js +6 -3
- package/src/components/icons/chat.js +6 -3
- package/src/components/icons/check-box-outline.js +6 -3
- package/src/components/icons/check-box.js +6 -3
- package/src/components/icons/check-circle.js +6 -3
- package/src/components/icons/check.js +6 -3
- package/src/components/icons/clone.js +6 -3
- package/src/components/icons/close.js +6 -3
- package/src/components/icons/cloud-upload.js +6 -3
- package/src/components/icons/collapse.js +6 -3
- package/src/components/icons/column-add.js +6 -3
- package/src/components/icons/column-chooser.js +6 -3
- package/src/components/icons/column-filter.js +6 -3
- package/src/components/icons/column-info.js +6 -3
- package/src/components/icons/comment.js +6 -3
- package/src/components/icons/contact.js +6 -3
- package/src/components/icons/contains.js +6 -3
- package/src/components/icons/custom-sort.js +6 -3
- package/src/components/icons/dashboard.js +6 -3
- package/src/components/icons/data-set.js +6 -3
- package/src/components/icons/date-range.js +6 -3
- package/src/components/icons/delete.js +6 -3
- package/src/components/icons/division.js +6 -3
- package/src/components/icons/dock.js +6 -3
- package/src/components/icons/dollar.js +6 -3
- package/src/components/icons/drag.js +6 -3
- package/src/components/icons/edit.js +6 -3
- package/src/components/icons/ends-with.js +6 -3
- package/src/components/icons/equal.js +6 -3
- package/src/components/icons/equation.js +6 -3
- package/src/components/icons/error.js +6 -3
- package/src/components/icons/expand.js +6 -3
- package/src/components/icons/exponent.js +6 -3
- package/src/components/icons/export.js +6 -3
- package/src/components/icons/fast-backward.js +6 -3
- package/src/components/icons/fast-forward.js +6 -3
- package/src/components/icons/fdc3.js +6 -3
- package/src/components/icons/filter.js +6 -3
- package/src/components/icons/flashing-cell.js +6 -3
- package/src/components/icons/folder-open.js +6 -3
- package/src/components/icons/folder-shared.js +6 -3
- package/src/components/icons/folder.js +6 -3
- package/src/components/icons/format-column.js +6 -3
- package/src/components/icons/freetext-column.js +6 -3
- package/src/components/icons/function.js +6 -3
- package/src/components/icons/gradient-column.js +6 -3
- package/src/components/icons/gradient.js +6 -3
- package/src/components/icons/greater-than-or-equal.js +6 -3
- package/src/components/icons/greater-than.js +6 -3
- package/src/components/icons/grid-filter.js +6 -3
- package/src/components/icons/hide-column.js +6 -3
- package/src/components/icons/history.js +6 -3
- package/src/components/icons/home.js +6 -3
- package/src/components/icons/import-export.js +6 -3
- package/src/components/icons/import.js +6 -3
- package/src/components/icons/index.js +326 -321
- package/src/components/icons/info.js +6 -3
- package/src/components/icons/instrument.js +6 -3
- package/src/components/icons/interactions.js +6 -3
- package/src/components/icons/invalid.js +6 -3
- package/src/components/icons/ipushpull.js +6 -3
- package/src/components/icons/italic.js +6 -3
- package/src/components/icons/justify.js +6 -3
- package/src/components/icons/layout.js +6 -3
- package/src/components/icons/less-than-or-equal.js +6 -3
- package/src/components/icons/less-than.js +6 -3
- package/src/components/icons/list.js +6 -3
- package/src/components/icons/login.js +6 -3
- package/src/components/icons/logout copy.js +6 -3
- package/src/components/icons/logout.js +6 -3
- package/src/components/icons/mail.js +6 -3
- package/src/components/icons/menu.js +6 -3
- package/src/components/icons/minus.js +6 -3
- package/src/components/icons/money.js +6 -3
- package/src/components/icons/multiplication.js +6 -3
- package/src/components/icons/newpage.js +6 -3
- package/src/components/icons/news.js +6 -3
- package/src/components/icons/non-blanks.js +6 -3
- package/src/components/icons/not-contains.js +6 -3
- package/src/components/icons/not-equal.js +6 -3
- package/src/components/icons/note.js +6 -3
- package/src/components/icons/open-in-new.js +6 -3
- package/src/components/icons/order.js +6 -3
- package/src/components/icons/organisation.js +6 -3
- package/src/components/icons/overline.js +6 -3
- package/src/components/icons/pause.js +6 -3
- package/src/components/icons/percent-bar.js +6 -3
- package/src/components/icons/percent.js +6 -3
- package/src/components/icons/person.js +6 -3
- package/src/components/icons/pie-chart.js +6 -3
- package/src/components/icons/play.js +6 -3
- package/src/components/icons/plus-minus.js +6 -3
- package/src/components/icons/plus.js +6 -3
- package/src/components/icons/query.js +6 -3
- package/src/components/icons/quick-search.js +6 -3
- package/src/components/icons/quote.js +6 -3
- package/src/components/icons/refresh.js +6 -3
- package/src/components/icons/regex.js +6 -3
- package/src/components/icons/reminder.js +6 -3
- package/src/components/icons/resume.js +6 -3
- package/src/components/icons/save.js +6 -3
- package/src/components/icons/schedule.js +6 -3
- package/src/components/icons/science.js +6 -3
- package/src/components/icons/settings.js +6 -3
- package/src/components/icons/shortcut.js +6 -3
- package/src/components/icons/show-column.js +6 -3
- package/src/components/icons/smart-edit.js +6 -3
- package/src/components/icons/sort-asc.js +6 -3
- package/src/components/icons/sort-desc.js +6 -3
- package/src/components/icons/spark-line.js +6 -3
- package/src/components/icons/starts-with.js +6 -3
- package/src/components/icons/state-management.js +6 -3
- package/src/components/icons/statusbar.js +6 -3
- package/src/components/icons/stop.js +6 -3
- package/src/components/icons/strikethrough.js +6 -3
- package/src/components/icons/system-status.js +6 -3
- package/src/components/icons/tab-unselected.js +6 -3
- package/src/components/icons/table-arrow-right.js +6 -3
- package/src/components/icons/team-share.js +6 -3
- package/src/components/icons/theme.js +6 -3
- package/src/components/icons/tool-panel.js +6 -3
- package/src/components/icons/track-changes.js +6 -3
- package/src/components/icons/triangle-down.js +6 -3
- package/src/components/icons/triangle-up.js +6 -3
- package/src/components/icons/unchecked.js +6 -3
- package/src/components/icons/underline.js +6 -3
- package/src/components/icons/undo.js +6 -3
- package/src/components/icons/updated-row.js +6 -3
- package/src/components/icons/upload.js +6 -3
- package/src/components/icons/user-filter.js +6 -3
- package/src/components/icons/visibility-off.js +6 -3
- package/src/components/icons/visibility.js +6 -3
- package/src/components/icons/warning.js +6 -3
- package/src/components/utils/batchUpdate.js +5 -3
- package/src/components/utils/captureTabNavigation/getFocusableChildren.js +3 -1
- package/src/components/utils/captureTabNavigation/index.js +6 -3
- package/src/components/utils/contains.js +4 -1
- package/src/components/utils/getAvailableSizeInfo.js +3 -1
- package/src/components/utils/join.js +3 -1
- package/src/components/utils/selectParent/index.js +6 -3
- package/src/components/utils/selectParent/matches.js +2 -1
- package/src/components/utils/useAutoFocus.js +8 -5
- package/src/components/utils/useContainerScrollObserver/index.js +13 -9
- package/src/components/utils/useDraggable.js +10 -7
- package/src/components/utils/useGlobalEvent.js +7 -2
- package/src/components/utils/useLatest.js +8 -4
- package/src/components/utils/usePrevious.js +6 -4
- package/src/components/utils/usePropState.js +6 -3
- package/src/components/utils/useProperty.js +6 -4
- package/src/components/utils/useRerender.js +8 -4
- package/src/components/utils/useSelectionRange.js +9 -5
- package/src/components/utils/useTheme.js +5 -2
- package/src/components/utils/uuid.js +6 -2
- package/src/env.js +3 -1
- package/src/metamodel/adaptable-metamodel-model.js +2 -1
- package/src/metamodel/adaptable.metamodel.d.ts +35 -28
- package/src/metamodel/adaptable.metamodel.js +1 -9435
- package/src/parser/src/ExpressionEvaluationError.js +5 -1
- package/src/parser/src/evaluator.js +7 -3
- package/src/parser/src/index.js +18 -9
- package/src/parser/src/predicate/index.js +5 -2
- package/src/parser/src/predicate/mapExpressionToQlPredicate.js +19 -13
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +23 -6
- package/src/parser/src/predicate/types.d.ts +1 -1
- package/src/parser/src/predicate/types.js +5 -1
- package/src/parser/src/tokenizer.js +8 -3
- package/src/parser/src/types.d.ts +1 -1
- package/src/parser/src/types.js +5 -1
- package/src/parser/src/utils.js +9 -3
- package/src/renderReactRoot.js +22 -2
- package/src/theme.js +3 -1
- package/src/themes/index.js +7 -4
- package/src/types.d.ts +2 -2
- package/src/types.js +5 -1
- package/themes/dark.css +1 -1
- package/themes/dark.css.map +1 -1
- package/themes/light.css +1 -1
- package/themes/light.css.map +1 -1
- package/types.js +4 -1
- package/version.d.ts +2 -0
- package/version.js +3 -0
- package/src/View/Theme/ThemeStatusPanelPopover.d.ts +0 -2
- package/src/View/Theme/ThemeStatusPanelPopover.js +0 -20
- package/tsconfig.esm.tsbuildinfo +0 -1
|
@@ -1,67 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdaptableStore = exports.LoadState = exports.InitState = exports.LOAD_STATE = exports.INIT_STATE = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Enums_1 = require("../../PredefinedConfig/Common/Enums");
|
|
6
|
+
const Redux = tslib_1.__importStar(require("redux"));
|
|
7
|
+
const AdaptableReduxLocalStorageEngine_1 = require("./AdaptableReduxLocalStorageEngine");
|
|
8
|
+
const AdaptableReduxMerger_1 = require("./AdaptableReduxMerger");
|
|
9
|
+
const PopupRedux = tslib_1.__importStar(require("../ActionsReducers/PopupRedux"));
|
|
10
|
+
const PopupRedux_1 = require("../ActionsReducers/PopupRedux");
|
|
11
|
+
const PluginsRedux = tslib_1.__importStar(require("../ActionsReducers/PluginsRedux"));
|
|
12
|
+
const AlertRedux = tslib_1.__importStar(require("../ActionsReducers/AlertRedux"));
|
|
13
|
+
const FlashingCellRedux = tslib_1.__importStar(require("../ActionsReducers/FlashingCellRedux"));
|
|
14
|
+
const SmartEditRedux = tslib_1.__importStar(require("../ActionsReducers/SmartEditRedux"));
|
|
15
|
+
const BulkUpdateRedux = tslib_1.__importStar(require("../ActionsReducers/BulkUpdateRedux"));
|
|
16
|
+
const CustomSortRedux = tslib_1.__importStar(require("../ActionsReducers/CustomSortRedux"));
|
|
17
|
+
const CalculatedColumnRedux = tslib_1.__importStar(require("../ActionsReducers/CalculatedColumnRedux"));
|
|
18
|
+
const ShortcutRedux = tslib_1.__importStar(require("../ActionsReducers/ShortcutRedux"));
|
|
19
|
+
const GridRedux = tslib_1.__importStar(require("../ActionsReducers/GridRedux"));
|
|
20
|
+
const SystemRedux = tslib_1.__importStar(require("../ActionsReducers/SystemRedux"));
|
|
21
|
+
const SystemRedux_1 = require("../ActionsReducers/SystemRedux");
|
|
22
|
+
const PlusMinusRedux = tslib_1.__importStar(require("../ActionsReducers/PlusMinusRedux"));
|
|
23
|
+
const ExportRedux = tslib_1.__importStar(require("../ActionsReducers/ExportRedux"));
|
|
24
|
+
const QuickSearchRedux = tslib_1.__importStar(require("../ActionsReducers/QuickSearchRedux"));
|
|
25
|
+
const ThemeRedux = tslib_1.__importStar(require("../ActionsReducers/ThemeRedux"));
|
|
26
|
+
const FormatColumnRedux = tslib_1.__importStar(require("../ActionsReducers/FormatColumnRedux"));
|
|
27
|
+
const StyledColumnRedux = tslib_1.__importStar(require("../ActionsReducers/StyledColumnRedux"));
|
|
28
|
+
const NotesRedux = tslib_1.__importStar(require("../ActionsReducers/NotesRedux"));
|
|
29
|
+
const ApplicationRedux = tslib_1.__importStar(require("../ActionsReducers/ApplicationRedux"));
|
|
30
|
+
const FreeTextColumnRedux = tslib_1.__importStar(require("../ActionsReducers/FreeTextColumnRedux"));
|
|
31
|
+
const LayoutRedux = tslib_1.__importStar(require("../ActionsReducers/LayoutRedux"));
|
|
32
|
+
const DashboardRedux = tslib_1.__importStar(require("../ActionsReducers/DashboardRedux"));
|
|
33
|
+
const ToolPanelRedux = tslib_1.__importStar(require("../ActionsReducers/ToolPanelRedux"));
|
|
34
|
+
const ScheduleRedux = tslib_1.__importStar(require("../ActionsReducers/ScheduleRedux"));
|
|
35
|
+
const TeamSharingRedux = tslib_1.__importStar(require("../ActionsReducers/TeamSharingRedux"));
|
|
36
|
+
const NamedQueryRedux = tslib_1.__importStar(require("../ActionsReducers/NamedQueryRedux"));
|
|
37
|
+
const QueryRedux = tslib_1.__importStar(require("../ActionsReducers/QueryRedux"));
|
|
38
|
+
const StatusBarRedux = tslib_1.__importStar(require("../ActionsReducers/StatusBarRedux"));
|
|
39
|
+
const ChartingRedux = tslib_1.__importStar(require("../ActionsReducers/ChartingRedux"));
|
|
40
|
+
const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
|
|
41
|
+
const ConfigConstants = tslib_1.__importStar(require("../../Utilities/Constants/ConfigConstants"));
|
|
42
|
+
const ObjectFactory_1 = require("../../Utilities/ObjectFactory");
|
|
43
|
+
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
44
|
+
const PreviewHelper_1 = require("../../Utilities/Helpers/PreviewHelper");
|
|
45
|
+
const StringExtensions_1 = require("../../Utilities/Extensions/StringExtensions");
|
|
46
|
+
const Emitter_1 = tslib_1.__importDefault(require("../../Utilities/Emitter"));
|
|
47
|
+
const AdaptableAlert_1 = require("../../PredefinedConfig/Common/AdaptableAlert");
|
|
48
|
+
const AdaptableToaster_1 = require("../../View/Components/Popups/AdaptableToaster");
|
|
49
|
+
const TeamSharingState_1 = require("../../PredefinedConfig/TeamSharingState");
|
|
50
|
+
exports.INIT_STATE = 'INIT_STATE';
|
|
51
|
+
exports.LOAD_STATE = 'LOAD_STATE';
|
|
48
52
|
const NON_PERSIST_ACTIONS = {
|
|
49
|
-
[LOAD_STATE]: true,
|
|
53
|
+
[exports.LOAD_STATE]: true,
|
|
50
54
|
'@@INIT': true,
|
|
51
55
|
'@@redux/init': true,
|
|
52
|
-
[INIT_STATE]: true,
|
|
56
|
+
[exports.INIT_STATE]: true,
|
|
53
57
|
// progress indicators should NOT interfere with state management as it may lead to race conditions due to load/persist state being async
|
|
54
|
-
[SYSTEM_PROGRESS_INDICATOR_SHOW]: true,
|
|
55
|
-
[SYSTEM_PROGRESS_INDICATOR_HIDE]: true,
|
|
58
|
+
[SystemRedux_1.SYSTEM_PROGRESS_INDICATOR_SHOW]: true,
|
|
59
|
+
[SystemRedux_1.SYSTEM_PROGRESS_INDICATOR_HIDE]: true,
|
|
56
60
|
};
|
|
57
|
-
|
|
58
|
-
type: INIT_STATE,
|
|
61
|
+
const InitState = () => ({
|
|
62
|
+
type: exports.INIT_STATE,
|
|
59
63
|
});
|
|
60
|
-
|
|
61
|
-
|
|
64
|
+
exports.InitState = InitState;
|
|
65
|
+
const LoadState = (State) => ({
|
|
66
|
+
type: exports.LOAD_STATE,
|
|
62
67
|
State,
|
|
63
68
|
});
|
|
64
|
-
|
|
69
|
+
exports.LoadState = LoadState;
|
|
70
|
+
class AdaptableStore {
|
|
65
71
|
/**
|
|
66
72
|
*
|
|
67
73
|
* @param adaptable The Adaptable instance
|
|
@@ -91,27 +97,27 @@ export class AdaptableStore {
|
|
|
91
97
|
.load(predefinedConfig)
|
|
92
98
|
.then((storedState) => {
|
|
93
99
|
if (storedState && this.loadStateOnStartup) {
|
|
94
|
-
this.TheStore.dispatch(LoadState(adaptable.adaptableOptions.stateOptions.applyState(storedState)));
|
|
100
|
+
this.TheStore.dispatch((0, exports.LoadState)(adaptable.adaptableOptions.stateOptions.applyState(storedState)));
|
|
95
101
|
}
|
|
96
102
|
})
|
|
97
103
|
// we need AG Grid to be ready because several states(ex. Layout) depend on its API
|
|
98
104
|
.then(() => this.isAgGridReady)
|
|
99
105
|
.then(() => {
|
|
100
|
-
this.TheStore.dispatch(InitState());
|
|
106
|
+
this.TheStore.dispatch((0, exports.InitState)());
|
|
101
107
|
// END STATE LOAD
|
|
102
108
|
this.loadStorageInProgress = false;
|
|
103
109
|
}, (e) => {
|
|
104
110
|
adaptable.logger.error('Failed to load previous Adaptable State : ', e);
|
|
105
111
|
//for now i'm still initializing Adaptable even if loading state has failed....
|
|
106
112
|
//we may revisit that later
|
|
107
|
-
this.TheStore.dispatch(InitState());
|
|
113
|
+
this.TheStore.dispatch((0, exports.InitState)());
|
|
108
114
|
// END STATE LOAD
|
|
109
115
|
this.loadStorageInProgress = false;
|
|
110
116
|
this.TheStore.dispatch(PopupRedux.PopupShowAlert({
|
|
111
117
|
alertType: 'generic',
|
|
112
118
|
header: 'Configuration',
|
|
113
119
|
message: 'Error loading your configuration:' + e,
|
|
114
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
120
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
115
121
|
}));
|
|
116
122
|
}));
|
|
117
123
|
};
|
|
@@ -155,7 +161,7 @@ export class AdaptableStore {
|
|
|
155
161
|
const initialRootReducer = Redux.combineReducers(rootReducerObject);
|
|
156
162
|
const rootReducerWithResetManagement = (state, action) => {
|
|
157
163
|
switch (action.type) {
|
|
158
|
-
case LOAD_STATE:
|
|
164
|
+
case exports.LOAD_STATE:
|
|
159
165
|
const { State } = action;
|
|
160
166
|
Object.keys(State).forEach((key) => {
|
|
161
167
|
// this check should be removed in version 12 !!!
|
|
@@ -176,11 +182,11 @@ export class AdaptableStore {
|
|
|
176
182
|
return initialRootReducer(state, action);
|
|
177
183
|
};
|
|
178
184
|
let storageEngine;
|
|
179
|
-
this.emitter = new
|
|
185
|
+
this.emitter = new Emitter_1.default();
|
|
180
186
|
// If the user has remote storage set then we use Remote Engine, otherwise we use Local Enginge
|
|
181
187
|
// not sure we can do this as we need to be backwardly compatible with existing users so need to stick with adaptable id (which should be unique)
|
|
182
188
|
// const localStorageKey = 'adaptable-adaptable-state-' + adaptable.adaptableOptions.primaryKey;
|
|
183
|
-
storageEngine =
|
|
189
|
+
storageEngine = (0, AdaptableReduxLocalStorageEngine_1.createEngine)({
|
|
184
190
|
adaptableId: adaptable.adaptableOptions.adaptableId,
|
|
185
191
|
adaptableStateKey: adaptable.adaptableOptions.adaptableStateKey,
|
|
186
192
|
userName: adaptable.adaptableOptions.userName,
|
|
@@ -205,7 +211,7 @@ export class AdaptableStore {
|
|
|
205
211
|
});
|
|
206
212
|
};
|
|
207
213
|
// this is now VERY BADLY NAMED!
|
|
208
|
-
let rootReducer = mergeReducer(rootReducerWithResetManagement, LOAD_STATE);
|
|
214
|
+
let rootReducer = (0, AdaptableReduxMerger_1.mergeReducer)(rootReducerWithResetManagement, exports.LOAD_STATE);
|
|
209
215
|
const composeEnhancers = (x) => x;
|
|
210
216
|
const persistedReducer = (state, action) => {
|
|
211
217
|
var _a, _b;
|
|
@@ -266,10 +272,11 @@ export class AdaptableStore {
|
|
|
266
272
|
return Promise.resolve(true);
|
|
267
273
|
}
|
|
268
274
|
}
|
|
275
|
+
exports.AdaptableStore = AdaptableStore;
|
|
269
276
|
// this is the main function for dealing with Redux Actions which require additional functionality to be triggered.
|
|
270
277
|
// Please document each use case where we have to use the Store rather than a module or a popup screen
|
|
271
278
|
// This should ideally be the ONLY place where we LISTEN to store changes
|
|
272
|
-
const adaptableMiddleware = (adaptable) =>
|
|
279
|
+
const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
273
280
|
return function (next) {
|
|
274
281
|
return function (action) {
|
|
275
282
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
@@ -290,7 +297,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
290
297
|
alertType: 'generic',
|
|
291
298
|
header: 'Named Query could not be deleted',
|
|
292
299
|
message: `It is still referenced in the following modules: ${namedQueryReferences.join(', ')}`,
|
|
293
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
300
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
294
301
|
}));
|
|
295
302
|
return;
|
|
296
303
|
}
|
|
@@ -312,7 +319,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
312
319
|
alertType: 'generic',
|
|
313
320
|
header: 'Named Query could not be renamed',
|
|
314
321
|
message: `It is currently referenced in the following modules: ${namedQueryReferences.join(', ')}`,
|
|
315
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
322
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
316
323
|
}));
|
|
317
324
|
return;
|
|
318
325
|
}
|
|
@@ -418,13 +425,13 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
418
425
|
let ret = next(action);
|
|
419
426
|
const adaptableAlert = actionTyped.alert;
|
|
420
427
|
if (((_c = adaptableAlert.alertDefinition.AlertProperties) === null || _c === void 0 ? void 0 : _c.HighlightCell) &&
|
|
421
|
-
isAdaptableCellChangedAlert(adaptableAlert) &&
|
|
428
|
+
(0, AdaptableAlert_1.isAdaptableCellChangedAlert)(adaptableAlert) &&
|
|
422
429
|
adaptableAlert.cellDataChangedInfo) {
|
|
423
430
|
const rowNode = adaptableAlert.cellDataChangedInfo.rowNode;
|
|
424
431
|
adaptable.refreshCells([rowNode], [adaptableAlert.cellDataChangedInfo.column.columnId], true);
|
|
425
432
|
}
|
|
426
433
|
if (((_d = adaptableAlert.alertDefinition.AlertProperties) === null || _d === void 0 ? void 0 : _d.HighlightRow) &&
|
|
427
|
-
isAdaptableRowChangedAlert(adaptableAlert) &&
|
|
434
|
+
(0, AdaptableAlert_1.isAdaptableRowChangedAlert)(adaptableAlert) &&
|
|
428
435
|
adaptableAlert.gridDataChangedInfo) {
|
|
429
436
|
adaptable.api.gridApi.refreshRowNodes(adaptableAlert.gridDataChangedInfo.rowNodes);
|
|
430
437
|
}
|
|
@@ -441,13 +448,13 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
441
448
|
alerts.forEach((alert) => {
|
|
442
449
|
var _a, _b;
|
|
443
450
|
if (((_a = alert.alertDefinition.AlertProperties) === null || _a === void 0 ? void 0 : _a.HighlightCell) &&
|
|
444
|
-
isAdaptableCellChangedAlert(alert) &&
|
|
451
|
+
(0, AdaptableAlert_1.isAdaptableCellChangedAlert)(alert) &&
|
|
445
452
|
alert.cellDataChangedInfo) {
|
|
446
453
|
let rowNode = alert.cellDataChangedInfo.rowNode;
|
|
447
454
|
adaptable.refreshCells([rowNode], [alert.cellDataChangedInfo.column.columnId], true);
|
|
448
455
|
}
|
|
449
456
|
if (((_b = alert.alertDefinition.AlertProperties) === null || _b === void 0 ? void 0 : _b.HighlightRow) &&
|
|
450
|
-
isAdaptableRowChangedAlert(alert) &&
|
|
457
|
+
(0, AdaptableAlert_1.isAdaptableRowChangedAlert)(alert) &&
|
|
451
458
|
alert.gridDataChangedInfo) {
|
|
452
459
|
adaptable.api.gridApi.refreshRowNodes(alert.gridDataChangedInfo.rowNodes);
|
|
453
460
|
}
|
|
@@ -463,7 +470,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
463
470
|
const actionTyped = action;
|
|
464
471
|
const adaptableAlert = actionTyped.alert;
|
|
465
472
|
if ((_e = adaptableAlert.alertDefinition.AlertProperties) === null || _e === void 0 ? void 0 : _e.HighlightCell) {
|
|
466
|
-
if (isAdaptableCellChangedAlert(adaptableAlert) &&
|
|
473
|
+
if ((0, AdaptableAlert_1.isAdaptableCellChangedAlert)(adaptableAlert) &&
|
|
467
474
|
adaptableAlert.cellDataChangedInfo) {
|
|
468
475
|
const rowNode = adaptableAlert.cellDataChangedInfo.rowNode;
|
|
469
476
|
adaptable.refreshCells([rowNode], [adaptableAlert.cellDataChangedInfo.column.columnId], true);
|
|
@@ -476,11 +483,11 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
476
483
|
const actionTyped = action;
|
|
477
484
|
const adaptableAlert = actionTyped.alert;
|
|
478
485
|
if ((_f = adaptableAlert.alertDefinition.AlertProperties) === null || _f === void 0 ? void 0 : _f.HighlightRow) {
|
|
479
|
-
if (isAdaptableCellChangedAlert(adaptableAlert) &&
|
|
486
|
+
if ((0, AdaptableAlert_1.isAdaptableCellChangedAlert)(adaptableAlert) &&
|
|
480
487
|
adaptableAlert.cellDataChangedInfo) {
|
|
481
488
|
adaptable.api.gridApi.refreshRowNodes([adaptableAlert.cellDataChangedInfo.rowNode]);
|
|
482
489
|
}
|
|
483
|
-
if (isAdaptableRowChangedAlert(adaptableAlert) &&
|
|
490
|
+
if ((0, AdaptableAlert_1.isAdaptableRowChangedAlert)(adaptableAlert) &&
|
|
484
491
|
adaptableAlert.gridDataChangedInfo) {
|
|
485
492
|
adaptable.api.gridApi.refreshRowNodes(adaptableAlert.gridDataChangedInfo.rowNodes);
|
|
486
493
|
}
|
|
@@ -608,7 +615,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
608
615
|
alertType: 'generic',
|
|
609
616
|
header: 'CalculatedColumn could not be deleted',
|
|
610
617
|
message: `It is still referenced in the following modules: ${calculatedColumnReferences.join(', ')}`,
|
|
611
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
618
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
612
619
|
}));
|
|
613
620
|
return;
|
|
614
621
|
}
|
|
@@ -632,7 +639,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
632
639
|
alertType: 'generic',
|
|
633
640
|
header: 'FreeTextColumn could not be deleted',
|
|
634
641
|
message: `It is still referenced in the following modules: ${freeTextColumnReferences.join(', ')}`,
|
|
635
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
642
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
636
643
|
}));
|
|
637
644
|
return;
|
|
638
645
|
}
|
|
@@ -692,7 +699,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
692
699
|
if (adaptable.adaptableOptions.quickSearchOptions.filterResultsAfterQuickSearch) {
|
|
693
700
|
const actionTyped = action;
|
|
694
701
|
const searchText = actionTyped.quickSearchText;
|
|
695
|
-
if (StringExtensions.IsNotNullOrEmpty(searchText)) {
|
|
702
|
+
if (StringExtensions_1.StringExtensions.IsNotNullOrEmpty(searchText)) {
|
|
696
703
|
adaptable.setAgGridQuickSearch(searchText);
|
|
697
704
|
}
|
|
698
705
|
else {
|
|
@@ -834,7 +841,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
834
841
|
adaptable.api.dataSetApi.internalApi.fireDataSetSelectedEvent(dataSet);
|
|
835
842
|
requestAnimationFrame(() => {
|
|
836
843
|
if (dataSet.form) {
|
|
837
|
-
middlewareAPI.dispatch(PopupShowForm({
|
|
844
|
+
middlewareAPI.dispatch((0, PopupRedux_1.PopupShowForm)({
|
|
838
845
|
Id: 'data-set-form',
|
|
839
846
|
Form: dataSet.form,
|
|
840
847
|
prepareContext: (context) => {
|
|
@@ -1071,7 +1078,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1071
1078
|
let module = (adaptable.adaptableModules.get(ModuleConstants.SmartEditModuleId));
|
|
1072
1079
|
const actionTyped = action;
|
|
1073
1080
|
let thePreview = middlewareAPI.getState().System.SmartEditPreviewInfo;
|
|
1074
|
-
let newValues = PreviewHelper.GetCellUpdateRequestsFromPreview(thePreview, actionTyped.bypassValidationWarnings);
|
|
1081
|
+
let newValues = PreviewHelper_1.PreviewHelper.GetCellUpdateRequestsFromPreview(thePreview, actionTyped.bypassValidationWarnings);
|
|
1075
1082
|
module.ApplySmartEdit(newValues);
|
|
1076
1083
|
middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
|
|
1077
1084
|
return next(action);
|
|
@@ -1126,7 +1133,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1126
1133
|
case BulkUpdateRedux.BULK_UPDATE_COMPLETE: {
|
|
1127
1134
|
const actionTyped = action;
|
|
1128
1135
|
let thePreview = middlewareAPI.getState().System.BulkUpdatePreviewInfo;
|
|
1129
|
-
let newValues = PreviewHelper.GetCellUpdateRequestsFromPreview(thePreview, actionTyped.bypassValidationWarnings);
|
|
1136
|
+
let newValues = PreviewHelper_1.PreviewHelper.GetCellUpdateRequestsFromPreview(thePreview, actionTyped.bypassValidationWarnings);
|
|
1130
1137
|
adaptable.api.bulkUpdateApi.applyBulkUpdate(newValues);
|
|
1131
1138
|
middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
|
|
1132
1139
|
return next(action);
|
|
@@ -1189,9 +1196,9 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1189
1196
|
let returnAction = next(action);
|
|
1190
1197
|
const selectedReport = actionTyped.SelectedReport;
|
|
1191
1198
|
if (!selectedReport ||
|
|
1192
|
-
(selectedReport === VISUAL_DATA_REPORT &&
|
|
1193
|
-
middlewareAPI.getState().Export.CurrentDestination !== ExportDestination.Excel)) {
|
|
1194
|
-
middlewareAPI.dispatch(ExportRedux.DestinationSelect(
|
|
1199
|
+
(selectedReport === GeneralConstants_1.VISUAL_DATA_REPORT &&
|
|
1200
|
+
middlewareAPI.getState().Export.CurrentDestination !== Enums_1.ExportDestination.Excel)) {
|
|
1201
|
+
middlewareAPI.dispatch(ExportRedux.DestinationSelect(null));
|
|
1195
1202
|
}
|
|
1196
1203
|
return returnAction;
|
|
1197
1204
|
}
|
|
@@ -1208,12 +1215,12 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1208
1215
|
let report = actionTyped.report;
|
|
1209
1216
|
let currentReport = middlewareAPI.getState().Export.CurrentReport;
|
|
1210
1217
|
if (report && report.Name == currentReport) {
|
|
1211
|
-
middlewareAPI.dispatch(ExportRedux.ReportSelect(EMPTY_STRING));
|
|
1218
|
+
middlewareAPI.dispatch(ExportRedux.ReportSelect(GeneralConstants_1.EMPTY_STRING));
|
|
1212
1219
|
}
|
|
1213
1220
|
return next(action);
|
|
1214
1221
|
}
|
|
1215
|
-
case SYSTEM_VISUAL_EXPORT_BEGIN:
|
|
1216
|
-
case SYSTEM_VISUAL_EXPORT_END: {
|
|
1222
|
+
case SystemRedux_1.SYSTEM_VISUAL_EXPORT_BEGIN:
|
|
1223
|
+
case SystemRedux_1.SYSTEM_VISUAL_EXPORT_END: {
|
|
1217
1224
|
let returnAction = next(action);
|
|
1218
1225
|
adaptable.ReportService.resetExcelStyleMemoization();
|
|
1219
1226
|
return returnAction;
|
|
@@ -1242,7 +1249,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1242
1249
|
alertType: 'generic',
|
|
1243
1250
|
header: 'Team Sharing',
|
|
1244
1251
|
message: "Couldn't get shared items: " + error.message,
|
|
1245
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1252
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1246
1253
|
}));
|
|
1247
1254
|
});
|
|
1248
1255
|
return returnAction;
|
|
@@ -1262,7 +1269,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1262
1269
|
let newCustomShare = true;
|
|
1263
1270
|
const updatedSharedEntities = sharedEntities.map((entity) => {
|
|
1264
1271
|
// if it has the same UUID, override it
|
|
1265
|
-
if (isCustomSharedEntity(entity) && entity.Uuid === customSharedEntity.Uuid) {
|
|
1272
|
+
if ((0, TeamSharingState_1.isCustomSharedEntity)(entity) && entity.Uuid === customSharedEntity.Uuid) {
|
|
1266
1273
|
newCustomShare = false;
|
|
1267
1274
|
return Object.assign(Object.assign({}, customSharedEntity), { ChangedAt: Date.now(), ChangedBy: adaptable.api.optionsApi.getUserName() });
|
|
1268
1275
|
}
|
|
@@ -1307,7 +1314,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1307
1314
|
alertType: 'generic',
|
|
1308
1315
|
header: 'Team Sharing',
|
|
1309
1316
|
message: `Couldn't share ${adaptable.api.internalApi.getModuleFriendlyName(Module)}, there is already an existing active share for it: ${existingActiveSharedEntity.Description}`,
|
|
1310
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1317
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1311
1318
|
}));
|
|
1312
1319
|
shareSuccessful = false;
|
|
1313
1320
|
return;
|
|
@@ -1330,7 +1337,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1330
1337
|
alertType: 'generic',
|
|
1331
1338
|
header: 'Team Sharing',
|
|
1332
1339
|
message: `${adaptable.api.internalApi.getModuleFriendlyName(Module)} Shared Successfully`,
|
|
1333
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Success'),
|
|
1340
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Success'),
|
|
1334
1341
|
}));
|
|
1335
1342
|
}
|
|
1336
1343
|
})
|
|
@@ -1340,7 +1347,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1340
1347
|
alertType: 'generic',
|
|
1341
1348
|
header: 'Team Sharing',
|
|
1342
1349
|
message: "Couldn't share item: " + error.message,
|
|
1343
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1350
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1344
1351
|
}));
|
|
1345
1352
|
});
|
|
1346
1353
|
return returnAction;
|
|
@@ -1356,7 +1363,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1356
1363
|
.loadSharedEntities()
|
|
1357
1364
|
.then((sharedEntities) => {
|
|
1358
1365
|
// ensure that no other SharedDependencies reference the to-be-deleted entity
|
|
1359
|
-
const adaptableSharedEntities = sharedEntities.filter(isAdaptableSharedEntity);
|
|
1366
|
+
const adaptableSharedEntities = sharedEntities.filter(TeamSharingState_1.isAdaptableSharedEntity);
|
|
1360
1367
|
const sharedEntityDependants = adaptable.api.internalApi
|
|
1361
1368
|
.getTeamSharingService()
|
|
1362
1369
|
.getSharedEntityDependants(removedEntityId, adaptableSharedEntities);
|
|
@@ -1367,7 +1374,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1367
1374
|
message: sharedEntityDependants
|
|
1368
1375
|
.map((sharedEntity) => `${adaptable.api.internalApi.getModuleFriendlyName(sharedEntity.Module)} ${sharedEntity.Description}`)
|
|
1369
1376
|
.join('\n'),
|
|
1370
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Warning'),
|
|
1377
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Warning'),
|
|
1371
1378
|
}));
|
|
1372
1379
|
return;
|
|
1373
1380
|
}
|
|
@@ -1383,7 +1390,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1383
1390
|
alertType: 'generic',
|
|
1384
1391
|
header: 'Team Sharing',
|
|
1385
1392
|
message: "Couldn't remove item: " + error.message,
|
|
1386
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1393
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1387
1394
|
}));
|
|
1388
1395
|
});
|
|
1389
1396
|
return returnAction;
|
|
@@ -1451,7 +1458,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1451
1458
|
alertType: 'generic',
|
|
1452
1459
|
header: 'Team Sharing',
|
|
1453
1460
|
message: `Item Successfully Imported`,
|
|
1454
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Success'),
|
|
1461
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Success'),
|
|
1455
1462
|
}));
|
|
1456
1463
|
return returnAction;
|
|
1457
1464
|
}
|
|
@@ -1468,7 +1475,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1468
1475
|
adaptable.api.teamSharingApi
|
|
1469
1476
|
.loadSharedEntities()
|
|
1470
1477
|
.then((sharedEntities) => {
|
|
1471
|
-
const adaptableSharedEntities = sharedEntities.filter(isAdaptableSharedEntity);
|
|
1478
|
+
const adaptableSharedEntities = sharedEntities.filter(TeamSharingState_1.isAdaptableSharedEntity);
|
|
1472
1479
|
// check if remote server has a newer revision
|
|
1473
1480
|
const [localRevision, remoteRevision] = adaptable.api.internalApi
|
|
1474
1481
|
.getTeamSharingService()
|
|
@@ -1490,7 +1497,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1490
1497
|
alertType: 'generic',
|
|
1491
1498
|
header: 'Team Sharing',
|
|
1492
1499
|
message: "Couldn't update active item: " + error.message,
|
|
1493
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1500
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1494
1501
|
}));
|
|
1495
1502
|
});
|
|
1496
1503
|
return returnAction;
|
|
@@ -1510,7 +1517,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1510
1517
|
alertType: 'generic',
|
|
1511
1518
|
header: 'Team Sharing',
|
|
1512
1519
|
message: "Couldn't check for updates: " + error.message,
|
|
1513
|
-
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1520
|
+
alertDefinition: ObjectFactory_1.ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1514
1521
|
}));
|
|
1515
1522
|
});
|
|
1516
1523
|
return returnAction;
|
|
@@ -1561,7 +1568,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1561
1568
|
* POPUP (INTERNAL) ACTIONS
|
|
1562
1569
|
*******************/
|
|
1563
1570
|
case PopupRedux.POPUP_SHOW_ALERT: {
|
|
1564
|
-
showToast({
|
|
1571
|
+
(0, AdaptableToaster_1.showToast)({
|
|
1565
1572
|
api: adaptable.api,
|
|
1566
1573
|
adaptableAlert: action.alert,
|
|
1567
1574
|
});
|
|
@@ -1593,7 +1600,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1593
1600
|
/*******************
|
|
1594
1601
|
* MANAGING STATE ACTIONS
|
|
1595
1602
|
*******************/
|
|
1596
|
-
case INIT_STATE: {
|
|
1603
|
+
case exports.INIT_STATE: {
|
|
1597
1604
|
let returnAction = next(action);
|
|
1598
1605
|
if (adaptable.isDestroyed) {
|
|
1599
1606
|
return returnAction;
|
|
@@ -1621,4 +1628,4 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
1621
1628
|
}
|
|
1622
1629
|
};
|
|
1623
1630
|
};
|
|
1624
|
-
}
|
|
1631
|
+
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdaptableModuleBase = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const MenuItem_1 = require("../Utilities/MenuItem");
|
|
6
|
+
const ArrayExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/ArrayExtensions"));
|
|
3
7
|
/**
|
|
4
8
|
* Base class for all strategies and does most of the work of creating menus
|
|
5
9
|
*/
|
|
6
|
-
|
|
10
|
+
class AdaptableModuleBase {
|
|
7
11
|
constructor(module, friendlyName, glyph, popup, description, api) {
|
|
8
12
|
this.api = api;
|
|
9
13
|
this.moduleInfo = {
|
|
@@ -102,19 +106,19 @@ export class AdaptableModuleBase {
|
|
|
102
106
|
}
|
|
103
107
|
// creates the menu items in the main dropdown
|
|
104
108
|
createMainMenuItemShowPopup({ Label, ComponentName, Icon, PopupParams, }) {
|
|
105
|
-
return new MenuItemShowPopup(Label, this.moduleInfo.ModuleName, ComponentName, Icon, true, PopupParams);
|
|
109
|
+
return new MenuItem_1.MenuItemShowPopup(Label, this.moduleInfo.ModuleName, ComponentName, Icon, true, PopupParams);
|
|
106
110
|
}
|
|
107
111
|
// creates a menu item for the column menu to perform a function
|
|
108
112
|
createColumnMenuItemClickFunction(Label, Icon, ClickFunction) {
|
|
109
|
-
return new MenuItemDoClickFunction(Label, this.moduleInfo.ModuleName, ClickFunction, Icon, true);
|
|
113
|
+
return new MenuItem_1.MenuItemDoClickFunction(Label, this.moduleInfo.ModuleName, ClickFunction, Icon, true);
|
|
110
114
|
}
|
|
111
115
|
// creates a menu item for the column menu to enact a Redux action
|
|
112
116
|
createColumnMenuItemReduxAction(Label, Icon, Action) {
|
|
113
|
-
return new MenuItemDoReduxAction(Label, this.moduleInfo.ModuleName, Action, Icon, true);
|
|
117
|
+
return new MenuItem_1.MenuItemDoReduxAction(Label, this.moduleInfo.ModuleName, Action, Icon, true);
|
|
114
118
|
}
|
|
115
119
|
// popups called by the column menu - invisible if module is hidden or readonly
|
|
116
120
|
createColumnMenuItemShowPopup(Label, ComponentName, Icon, PopupParams) {
|
|
117
|
-
return new MenuItemShowPopup(Label, this.moduleInfo.ModuleName, ComponentName, Icon, true, PopupParams);
|
|
121
|
+
return new MenuItem_1.MenuItemShowPopup(Label, this.moduleInfo.ModuleName, ComponentName, Icon, true, PopupParams);
|
|
118
122
|
}
|
|
119
123
|
getTeamSharingAction() {
|
|
120
124
|
return undefined;
|
|
@@ -212,7 +216,7 @@ export class AdaptableModuleBase {
|
|
|
212
216
|
let returnValue = friendlyName;
|
|
213
217
|
let userInterfaceOptions = this.api.optionsApi.getUserInterfaceOptions();
|
|
214
218
|
if (userInterfaceOptions &&
|
|
215
|
-
|
|
219
|
+
ArrayExtensions_1.default.IsNotNullOrEmpty(userInterfaceOptions.alternativeModuleNames)) {
|
|
216
220
|
userInterfaceOptions.alternativeModuleNames.forEach((af) => {
|
|
217
221
|
if (module == af.adaptableModule) {
|
|
218
222
|
returnValue = af.newName;
|
|
@@ -235,3 +239,4 @@ export class AdaptableModuleBase {
|
|
|
235
239
|
return false;
|
|
236
240
|
}
|
|
237
241
|
}
|
|
242
|
+
exports.AdaptableModuleBase = AdaptableModuleBase;
|