@adaptabletools/adaptable 14.0.0-canary.0 → 14.0.0-canary.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/agGrid.d.ts +23 -1
- package/agGrid.js +23 -1
- package/base.css +1408 -2113
- package/base.css.map +1 -0
- package/bundle.cjs.js +215 -186
- package/index.css +1586 -1473
- package/index.css.map +1 -0
- package/package.json +10 -10
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +20 -5
- package/src/AdaptableOptions/ActionOptions.d.ts +66 -32
- package/src/AdaptableOptions/AdaptableOptions.d.ts +6 -2
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +10 -104
- package/src/AdaptableOptions/AlertOptions.d.ts +10 -1
- package/src/AdaptableOptions/ChartingOptions.d.ts +27 -0
- package/src/{Api/ConditionalStyleApi.js → AdaptableOptions/ChartingOptions.js} +0 -0
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
- package/src/AdaptableOptions/EntitlementOptions.d.ts +14 -1
- package/src/AdaptableOptions/ExportOptions.d.ts +3 -3
- package/src/AdaptableOptions/ExpressionOptions.d.ts +204 -0
- package/src/{Api/InternalApi.js → AdaptableOptions/ExpressionOptions.js} +0 -0
- package/src/AdaptableOptions/FilterOptions.d.ts +8 -1
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +21 -6
- package/src/AdaptableOptions/FinsemblePluginOptions.d.ts +32 -0
- package/src/{Strategy/Interface/IConditionalStyleModule.js → AdaptableOptions/FinsemblePluginOptions.js} +0 -0
- package/src/AdaptableOptions/GeneralOptions.d.ts +46 -5
- package/src/AdaptableOptions/LayoutOptions.d.ts +20 -2
- package/src/AdaptableOptions/MasterDetailPluginOptions.d.ts +6 -4
- package/src/AdaptableOptions/NotificationsOptions.d.ts +2 -1
- package/src/AdaptableOptions/PredicateOptions.d.ts +32 -0
- package/src/AdaptableOptions/PredicateOptions.js +2 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +4 -4
- package/src/Api/ActionApi.d.ts +14 -3
- package/src/Api/AdaptableApi.d.ts +21 -12
- package/src/Api/AlertApi.d.ts +139 -83
- package/src/Api/BulkUpdateApi.d.ts +9 -2
- package/src/Api/CalculatedColumnApi.d.ts +26 -21
- package/src/Api/CalendarApi.d.ts +29 -0
- package/src/Api/CalendarApi.js +2 -0
- package/src/Api/CellSummaryApi.d.ts +15 -8
- package/src/Api/ChartingApi.d.ts +45 -1
- package/src/Api/ColumnApi.d.ts +166 -110
- package/src/Api/ConfigApi.d.ts +19 -29
- package/src/Api/CustomSortApi.d.ts +36 -7
- package/src/Api/DashboardApi.d.ts +13 -6
- package/src/Api/DataChangeHistoryApi.d.ts +8 -1
- package/src/Api/DataSetApi.d.ts +13 -3
- package/src/Api/EntitlementApi.d.ts +31 -0
- package/src/Api/EntitlementApi.js +2 -0
- package/src/Api/EventApi.d.ts +15 -24
- package/src/Api/ExportApi.d.ts +35 -18
- package/src/Api/FilterApi.d.ts +75 -67
- package/src/Api/FinanceApi.d.ts +22 -9
- package/src/Api/FinsembleApi.d.ts +10 -0
- package/src/Api/FinsembleApi.js +2 -0
- package/src/Api/FlashingCellApi.d.ts +28 -12
- package/src/Api/FormatColumnApi.d.ts +96 -102
- package/src/Api/FreeTextColumnApi.d.ts +53 -21
- package/src/Api/GridApi.d.ts +59 -23
- package/src/Api/IPushPullApi.d.ts +1 -1
- package/src/Api/Implementation/ActionApiImpl.d.ts +9 -3
- package/src/Api/Implementation/ActionApiImpl.js +23 -11
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +10 -5
- package/src/Api/Implementation/AdaptableApiImpl.js +12 -5
- package/src/Api/Implementation/AlertApiImpl.d.ts +59 -26
- package/src/Api/Implementation/AlertApiImpl.js +187 -171
- package/src/Api/Implementation/ApiBase.d.ts +50 -3
- package/src/Api/Implementation/ApiBase.js +144 -5
- package/src/Api/Implementation/ApplicationApiImpl.d.ts +1 -1
- package/src/Api/Implementation/BulkUpdateApiImpl.d.ts +1 -0
- package/src/Api/Implementation/BulkUpdateApiImpl.js +4 -1
- package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +7 -2
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +28 -37
- package/src/Api/Implementation/CalendarApiImpl.d.ts +9 -0
- package/src/Api/Implementation/CalendarApiImpl.js +59 -0
- package/src/Api/Implementation/CellSummaryApiImpl.d.ts +1 -0
- package/src/Api/Implementation/CellSummaryApiImpl.js +6 -1
- package/src/Api/Implementation/ChartingApiImpl.d.ts +11 -3
- package/src/Api/Implementation/ChartingApiImpl.js +41 -6
- package/src/Api/Implementation/ColumnApiImpl.d.ts +28 -8
- package/src/Api/Implementation/ColumnApiImpl.js +204 -194
- package/src/Api/Implementation/ConfigApiImpl.d.ts +3 -4
- package/src/Api/Implementation/ConfigApiImpl.js +4 -12
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +16 -1
- package/src/Api/Implementation/CustomSortApiImpl.js +33 -7
- package/src/Api/Implementation/DashboardApiImpl.d.ts +6 -1
- package/src/Api/Implementation/DashboardApiImpl.js +13 -15
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -0
- package/src/Api/Implementation/DataSetApiImpl.d.ts +6 -0
- package/src/Api/Implementation/DataSetApiImpl.js +17 -8
- package/src/Api/Implementation/EntitlementApiImpl.d.ts +11 -0
- package/src/Api/Implementation/EntitlementApiImpl.js +25 -0
- package/src/Api/Implementation/ExportApiImpl.d.ts +12 -4
- package/src/Api/Implementation/ExportApiImpl.js +43 -77
- package/src/Api/Implementation/FilterApiImpl.d.ts +11 -4
- package/src/Api/Implementation/FilterApiImpl.js +62 -166
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +9 -1
- package/src/Api/Implementation/FlashingCellApiImpl.js +29 -26
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +49 -26
- package/src/Api/Implementation/FormatColumnApiImpl.js +84 -259
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +13 -5
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +42 -27
- package/src/Api/Implementation/GridApiImpl.d.ts +17 -2
- package/src/Api/Implementation/GridApiImpl.js +122 -62
- package/src/Api/Implementation/LayoutApiImpl.d.ts +15 -7
- package/src/Api/Implementation/LayoutApiImpl.js +44 -112
- package/src/Api/Implementation/OptionsApiImpl.d.ts +36 -0
- package/src/Api/Implementation/OptionsApiImpl.js +100 -0
- package/src/Api/Implementation/PluginsApiImpl.d.ts +3 -1
- package/src/Api/Implementation/PluginsApiImpl.js +6 -0
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -1
- package/src/Api/Implementation/PlusMinusApiImpl.js +5 -0
- package/src/Api/Implementation/PredicateApiImpl.d.ts +13 -2
- package/src/Api/Implementation/PredicateApiImpl.js +41 -23
- package/src/Api/Implementation/QueryApiImpl.d.ts +7 -2
- package/src/Api/Implementation/QueryApiImpl.js +25 -52
- package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +6 -3
- package/src/Api/Implementation/QueryLanguageApiImpl.js +14 -18
- package/src/Api/Implementation/QuickSearchApiImpl.d.ts +1 -0
- package/src/Api/Implementation/QuickSearchApiImpl.js +5 -0
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +27 -0
- package/src/Api/Implementation/ScheduleApiImpl.js +86 -17
- package/src/Api/Implementation/ScopeApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ScopeApiImpl.js +9 -7
- package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +2 -0
- package/src/Api/Implementation/SettingsPanelApiImpl.js +9 -0
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +8 -1
- package/src/Api/Implementation/ShortcutApiImpl.js +25 -4
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -0
- package/src/Api/Implementation/SmartEditApiImpl.js +5 -0
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +30 -0
- package/src/Api/Implementation/StyledColumnApiImpl.js +96 -0
- package/src/Api/Implementation/SystemStatusApiImpl.d.ts +6 -1
- package/src/Api/Implementation/SystemStatusApiImpl.js +20 -14
- package/src/Api/Implementation/TeamSharingApiImpl.d.ts +6 -5
- package/src/Api/Implementation/TeamSharingApiImpl.js +15 -25
- package/src/Api/Implementation/ThemeApiImpl.d.ts +5 -1
- package/src/Api/Implementation/ThemeApiImpl.js +23 -4
- package/src/Api/Implementation/ToolPanelApiImpl.d.ts +3 -1
- package/src/Api/Implementation/ToolPanelApiImpl.js +8 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +2 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.js +13 -4
- package/src/Api/Internal/ActionInternalApi.d.ts +23 -0
- package/src/Api/Internal/ActionInternalApi.js +198 -0
- package/src/Api/{Implementation/InternalApiImpl.d.ts → Internal/AdaptableInternalApi.d.ts} +21 -57
- package/src/Api/Internal/AdaptableInternalApi.js +461 -0
- package/src/Api/Internal/AlertInternalApi.d.ts +148 -0
- package/src/Api/Internal/AlertInternalApi.js +484 -0
- package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +24 -0
- package/src/Api/Internal/CalculatedColumnInternalApi.js +57 -0
- package/src/Api/Internal/ColumnInternalApi.d.ts +33 -0
- package/src/Api/Internal/ColumnInternalApi.js +67 -0
- package/src/Api/Internal/CustomSortInternalApi.d.ts +6 -0
- package/src/Api/Internal/CustomSortInternalApi.js +11 -0
- package/src/Api/Internal/DashboardInternalApi.d.ts +8 -0
- package/src/Api/Internal/DashboardInternalApi.js +26 -0
- package/src/Api/Internal/DataSetInternalApi.d.ts +9 -0
- package/src/Api/Internal/DataSetInternalApi.js +20 -0
- package/src/Api/Internal/ExportInternalApi.d.ts +11 -0
- package/src/Api/Internal/ExportInternalApi.js +73 -0
- package/src/Api/Internal/FilterInternalApi.d.ts +58 -0
- package/src/Api/Internal/FilterInternalApi.js +194 -0
- package/src/Api/Internal/FlashingCellInternalApi.d.ts +12 -0
- package/src/Api/Internal/FlashingCellInternalApi.js +56 -0
- package/src/Api/Internal/FormatColumnInternalApi.d.ts +109 -0
- package/src/Api/Internal/FormatColumnInternalApi.js +225 -0
- package/src/Api/Internal/FreeTextColumnInternalApi.d.ts +15 -0
- package/src/Api/Internal/FreeTextColumnInternalApi.js +44 -0
- package/src/Api/Internal/GridInternalApi.d.ts +82 -0
- package/src/Api/Internal/GridInternalApi.js +252 -0
- package/src/Api/Internal/LayoutInternalApi.d.ts +48 -0
- package/src/Api/Internal/LayoutInternalApi.js +163 -0
- package/src/Api/Internal/PredicateInternalApi.d.ts +37 -0
- package/src/Api/Internal/PredicateInternalApi.js +140 -0
- package/src/Api/Internal/QueryInternalApi.d.ts +17 -0
- package/src/Api/Internal/QueryInternalApi.js +57 -0
- package/src/Api/Internal/QueryLanguageInternalApi.d.ts +11 -0
- package/src/Api/Internal/QueryLanguageInternalApi.js +34 -0
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +59 -0
- package/src/Api/Internal/StyledColumnInternalApi.js +249 -0
- package/src/Api/Internal/SystemStatusInternalApi.d.ts +11 -0
- package/src/Api/Internal/SystemStatusInternalApi.js +27 -0
- package/src/Api/Internal/TeamSharingInternalApi.d.ts +20 -0
- package/src/Api/Internal/TeamSharingInternalApi.js +66 -0
- package/src/Api/LayoutApi.d.ts +36 -41
- package/src/Api/OptionsApi.d.ts +131 -0
- package/src/Api/OptionsApi.js +2 -0
- package/src/Api/PluginsApi.d.ts +5 -0
- package/src/Api/PlusMinusApi.d.ts +9 -2
- package/src/Api/PredicateApi.d.ts +41 -10
- package/src/Api/QueryApi.d.ts +23 -18
- package/src/Api/QueryLanguageApi.d.ts +3 -7
- package/src/Api/QuickSearchApi.d.ts +5 -1
- package/src/Api/ScheduleApi.d.ts +97 -16
- package/src/Api/ScopeApi.d.ts +1 -1
- package/src/Api/SettingsPanelApi.d.ts +12 -1
- package/src/Api/ShortcutApi.d.ts +28 -7
- package/src/Api/SmartEditApi.d.ts +8 -1
- package/src/Api/StyledColumnApi.d.ts +100 -0
- package/src/Api/StyledColumnApi.js +2 -0
- package/src/Api/SystemStatusApi.d.ts +12 -6
- package/src/Api/TeamSharingApi.d.ts +4 -17
- package/src/Api/ThemeApi.d.ts +25 -6
- package/src/Api/ToolPanelApi.d.ts +10 -1
- package/src/Api/UserInterfaceApi.d.ts +13 -2
- package/src/PredefinedConfig/AdaptableState.d.ts +2 -0
- package/src/PredefinedConfig/AlertState.d.ts +20 -5
- package/src/PredefinedConfig/ChartingState.d.ts +13 -4
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.js +4 -0
- package/src/PredefinedConfig/Common/AdaptableForm.d.ts +0 -5
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +10 -0
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableObject.d.ts +22 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +8 -2
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +64 -45
- package/src/PredefinedConfig/Common/AdaptableStyle.d.ts +6 -6
- package/src/PredefinedConfig/Common/ColumnFilter.d.ts +2 -2
- package/src/PredefinedConfig/Common/FDC3Context.d.ts +3 -7
- package/src/PredefinedConfig/Common/Types.d.ts +7 -7
- package/src/PredefinedConfig/Common/Types.js +4 -0
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +10 -19
- package/src/PredefinedConfig/FlashingCellState.d.ts +9 -2
- package/src/PredefinedConfig/FormatColumnState.d.ts +28 -92
- package/src/PredefinedConfig/GridState.d.ts +1 -1
- package/src/PredefinedConfig/LayoutState.d.ts +1 -1
- package/src/PredefinedConfig/PredefinedConfig.d.ts +7 -2
- package/src/PredefinedConfig/StyledColumnState.d.ts +139 -0
- package/src/PredefinedConfig/StyledColumnState.js +2 -0
- package/src/PredefinedConfig/SystemState.d.ts +21 -0
- package/src/Redux/ActionsReducers/ChartingRedux.d.ts +28 -5
- package/src/Redux/ActionsReducers/ChartingRedux.js +45 -5
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +14 -0
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +43 -1
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +3 -3
- package/src/Redux/ActionsReducers/GridRedux.d.ts +18 -0
- package/src/Redux/ActionsReducers/GridRedux.js +65 -2
- package/src/Redux/ActionsReducers/PluginsRedux.d.ts +4 -4
- package/src/Redux/ActionsReducers/PluginsRedux.js +5 -5
- package/src/Redux/ActionsReducers/PopupRedux.js +10 -2
- package/src/Redux/ActionsReducers/QuickSearchRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +1 -1
- package/src/Redux/ActionsReducers/StyledColumnRedux.d.ts +49 -0
- package/src/Redux/ActionsReducers/StyledColumnRedux.js +92 -0
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +20 -0
- package/src/Redux/ActionsReducers/SystemRedux.js +67 -5
- package/src/Redux/DeadRedux.d.ts +6 -0
- package/src/Redux/DeadRedux.js +19 -1
- package/src/Redux/Store/AdaptableStore.js +45 -34
- package/src/Strategy/AdaptableModuleBase.js +6 -6
- package/src/Strategy/AlertModule.d.ts +1 -6
- package/src/Strategy/AlertModule.js +38 -93
- package/src/Strategy/BulkUpdateModule.js +3 -3
- package/src/Strategy/CalculatedColumnModule.js +6 -6
- package/src/Strategy/ChartingModule.d.ts +7 -1
- package/src/Strategy/ChartingModule.js +97 -0
- package/src/Strategy/CustomSortModule.js +4 -4
- package/src/Strategy/DashboardModule.js +2 -2
- package/src/Strategy/DataChangeHistoryModule.d.ts +1 -0
- package/src/Strategy/DataChangeHistoryModule.js +12 -0
- package/src/Strategy/DataSetModule.js +1 -1
- package/src/Strategy/ExportModule.js +4 -4
- package/src/Strategy/FilterModule.js +10 -13
- package/src/Strategy/FlashingCellModule.d.ts +2 -0
- package/src/Strategy/FlashingCellModule.js +27 -7
- package/src/Strategy/FormatColumnModule.d.ts +4 -10
- package/src/Strategy/FormatColumnModule.js +70 -185
- package/src/Strategy/FreeTextColumnModule.js +3 -3
- package/src/Strategy/Interface/IModule.d.ts +12 -10
- package/src/Strategy/LayoutModule.d.ts +3 -0
- package/src/Strategy/LayoutModule.js +138 -25
- package/src/Strategy/PlusMinusModule.js +2 -2
- package/src/Strategy/QueryModule.js +3 -3
- package/src/Strategy/ScheduleModule.js +10 -12
- package/src/Strategy/ShortcutModule.js +5 -5
- package/src/Strategy/SmartEditModule.js +3 -3
- package/src/Strategy/StyledColumnModule.d.ts +24 -0
- package/src/Strategy/StyledColumnModule.js +179 -0
- package/src/Strategy/TeamSharingModule.js +3 -3
- package/src/Strategy/ThemeModule.js +1 -1
- package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.d.ts +2 -2
- package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +1 -1
- package/src/Strategy/Utilities/Export/getExportColumnsViewItems.d.ts +1 -1
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.d.ts +1 -1
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +3 -4
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +1 -16
- package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +1 -1
- package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +1 -1
- package/src/Strategy/Utilities/getRuleViewItems.d.ts +1 -1
- package/src/Strategy/Utilities/getRuleViewItems.js +4 -3
- package/src/Strategy/Utilities/getScopeViewItems.js +2 -2
- package/src/Strategy/Utilities/updateSingleToMultiplePredicates.d.ts +5 -0
- package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +12 -0
- package/src/Utilities/Constants/ModuleConstants.d.ts +3 -0
- package/src/Utilities/Constants/ModuleConstants.js +4 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +32 -25
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +19 -15
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +3 -2
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +11 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -4
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +22 -11
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +76 -79
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +3 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +9 -5
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +2 -4
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +15 -4
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +2 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +136 -29
- package/src/Utilities/Extensions/ObjectExtensions.d.ts +10 -0
- package/src/Utilities/Extensions/ObjectExtensions.js +20 -0
- package/src/Utilities/Extensions/StringExtensions.d.ts +2 -0
- package/src/Utilities/Extensions/StringExtensions.js +21 -1
- package/src/Utilities/Extensions/TypeExtensions.d.ts +2 -0
- package/src/Utilities/Extensions/TypeExtensions.js +5 -0
- package/src/Utilities/Helpers/AdaptableHelper.js +6 -2
- package/src/Utilities/Helpers/FormatHelper.d.ts +1 -1
- package/src/Utilities/Helpers/FormatHelper.js +20 -11
- package/src/Utilities/ObjectFactory.d.ts +10 -6
- package/src/Utilities/ObjectFactory.js +30 -26
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -2
- package/src/Utilities/Services/ChartingService.d.ts +10 -0
- package/src/Utilities/Services/ChartingService.js +100 -0
- package/src/Utilities/Services/DataService.js +1 -1
- package/src/Utilities/Services/EntitlementService.js +4 -1
- package/src/Utilities/Services/Interface/IChartingService.d.ts +5 -0
- package/src/Utilities/Services/Interface/IChartingService.js +2 -0
- package/src/Utilities/Services/Interface/IEntitlementService.d.ts +2 -1
- package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -0
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +14 -4
- package/src/Utilities/Services/Interface/IRowEditService.d.ts +0 -5
- package/src/Utilities/Services/{LicenseService.d.ts → LicenseService/index.d.ts} +3 -3
- package/src/Utilities/Services/LicenseService/index.js +1 -0
- package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.d.ts +1 -0
- package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +15 -0
- package/src/Utilities/Services/MetamodelService.js +6 -4
- package/src/Utilities/Services/ModuleService.js +4 -2
- package/src/Utilities/Services/QueryLanguageService.d.ts +3 -3
- package/src/Utilities/Services/QueryLanguageService.js +91 -42
- package/src/Utilities/Services/ReportService.js +9 -9
- package/src/Utilities/Services/RowEditService.d.ts +0 -19
- package/src/Utilities/Services/RowEditService.js +5 -162
- package/src/Utilities/Services/TeamSharingService.js +3 -3
- package/src/Utilities/Services/ValidationService.js +9 -7
- package/src/Utilities/license/LicenseDetails.d.ts +1 -1
- package/src/Utilities/license/decode.d.ts +1 -0
- package/src/Utilities/license/decode.js +1 -1
- package/src/Utilities/logDeprecation.d.ts +3 -0
- package/src/Utilities/logDeprecation.js +30 -0
- package/src/View/AdaptablePopover/index.d.ts +4 -2
- package/src/View/AdaptablePopover/index.js +6 -2
- package/src/View/AdaptableView.d.ts +3 -3
- package/src/View/AdaptableViewFactory.js +2 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.d.ts +3 -5
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +103 -92
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +4 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +8 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +7 -34
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +7 -7
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +4 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +2 -1
- package/src/View/AdaptableWizardView/index.d.ts +1 -1
- package/src/View/Alert/AlertEntityRow.js +1 -1
- package/src/View/Alert/AlertStatusSubPanel.js +1 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +17 -16
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +25 -2
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +23 -14
- package/src/View/Alert/Wizard/AlertWizard.js +3 -3
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +7 -5
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +5 -5
- package/src/View/Alert/Wizard/isValidAlertRules.js +5 -4
- package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +3 -3
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -3
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +1 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +34 -12
- package/src/View/Components/AdaptableObjectRow/index.js +1 -6
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonInfo.d.ts +1 -3
- package/src/View/Components/Buttons/ButtonInfo.js +3 -5
- package/src/View/Components/Charting/ChartingStatusBarPopover.d.ts +2 -0
- package/src/View/Components/Charting/ChartingStatusBarPopover.js +23 -0
- package/src/View/Components/Charting/ChartingViewPanel.d.ts +3 -0
- package/src/View/Components/Charting/ChartingViewPanel.js +95 -0
- package/src/View/Components/Charting/ChartingWizard/ChartingWizard.d.ts +6 -0
- package/src/View/Components/Charting/ChartingWizard/ChartingWizard.js +37 -0
- package/src/View/Components/Charting/ChartingWizard/PreviewChartSection.d.ts +6 -0
- package/src/View/Components/Charting/ChartingWizard/PreviewChartSection.js +34 -0
- package/src/View/Components/Charting/ChartingWizard/SettingsSection.d.ts +8 -0
- package/src/View/Components/Charting/ChartingWizard/SettingsSection.js +53 -0
- package/src/View/Components/Charting/DeleteChartButton.d.ts +7 -0
- package/src/View/Components/Charting/DeleteChartButton.js +12 -0
- package/src/View/Components/Charting/EditChartButton.d.ts +8 -0
- package/src/View/Components/Charting/EditChartButton.js +21 -0
- package/src/View/Components/Charting/ShowChartButton.d.ts +5 -0
- package/src/View/Components/Charting/ShowChartButton.js +38 -0
- package/src/View/Components/Charting/useChartState.d.ts +9 -0
- package/src/View/Components/Charting/useChartState.js +71 -0
- package/src/View/Components/EntityRulesEditor/PredicatesEditor.d.ts +16 -0
- package/src/View/Components/EntityRulesEditor/PredicatesEditor.js +86 -0
- package/src/View/Components/EntityRulesEditor/Utilities.d.ts +6 -0
- package/src/View/Components/EntityRulesEditor/Utilities.js +21 -0
- package/src/View/Components/EntityRulesEditor/index.d.ts +5 -9
- package/src/View/Components/EntityRulesEditor/index.js +44 -124
- package/src/View/Components/ExpressionWizard.js +2 -2
- package/src/View/Components/ExternalRenderer.js +3 -1
- package/src/View/Components/FilterForm/FilterForm.js +13 -18
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +2 -2
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
- package/src/View/Components/FilterForm/QuickFilterForm.js +15 -21
- package/src/View/Components/NewScopeComponent.js +3 -3
- package/src/View/Components/Panels/PanelWithButton.js +1 -5
- package/src/View/Components/Panels/PanelWithImage.js +1 -5
- package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.d.ts +1 -2
- package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +6 -7
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -2
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +3 -2
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +3 -16
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +12 -14
- package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/TopBar.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
- package/src/View/Components/Popups/AdaptablePopupConfirmation.d.ts +2 -12
- package/src/View/Components/Popups/AdaptablePopupConfirmation.js +46 -39
- package/src/View/Components/Popups/AdaptablePopupPrompt.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +5 -5
- package/src/View/Components/Popups/AdaptableToaster.js +2 -0
- package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +1 -0
- package/src/View/Components/Popups/WindowPopups/windowFactory.js +4 -1
- package/src/View/Components/PredicateEditor/PredicateEditor.d.ts +10 -0
- package/src/View/Components/PredicateEditor/PredicateEditor.js +44 -0
- package/src/View/Components/RangesComponent.d.ts +11 -3
- package/src/View/Components/RangesComponent.js +121 -64
- package/src/View/Components/ScopeComponent.js +9 -9
- package/src/View/Components/Selectors/ColumnSelector.d.ts +1 -0
- package/src/View/Components/Selectors/ColumnSelector.js +2 -1
- package/src/View/Components/Selectors/ColumnValueSelector.js +3 -3
- package/src/View/Components/StyleComponent.d.ts +1 -0
- package/src/View/Components/StyleComponent.js +60 -37
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +3 -9
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +26 -11
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +0 -1
- package/src/View/CustomSort/CustomSortSummary.js +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +2 -2
- package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +1 -1
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +1 -1
- package/src/View/Dashboard/Dashboard.js +4 -3
- package/src/View/Dashboard/DashboardPopup.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +10 -1
- package/src/View/DataSet/DataSetSelector.js +2 -2
- package/src/View/DataSet/DataSetStatusPanelPopover.js +1 -1
- package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
- package/src/View/DataSet/DataSetViewPanel.js +1 -1
- package/src/View/Export/ExportSelector.js +2 -2
- package/src/View/Export/ExportViewPanel.d.ts +1 -1
- package/src/View/Export/ExportViewPanel.js +5 -5
- package/src/View/Export/ReportExportDropdown.js +2 -2
- package/src/View/Export/Wizard/ReportNameWizardSection.js +11 -12
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +1 -1
- package/src/View/Filter/FilterSummary.d.ts +1 -1
- package/src/View/Filter/FilterSummary.js +1 -1
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.js +1 -1
- package/src/View/FlashingCell/FlashingCellStyle.js +3 -3
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +3 -3
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -2
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +6 -6
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +8 -6
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +4 -3
- package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
- package/src/View/FormatColumn/MoveFormatColumn.d.ts +7 -0
- package/src/View/FormatColumn/MoveFormatColumn.js +27 -0
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +35 -29
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +8 -0
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +28 -0
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +23 -3
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +2 -28
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +3 -3
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +7 -302
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +18 -26
- package/src/View/FormatColumn/Wizard/constants.d.ts +1 -0
- package/src/View/FormatColumn/Wizard/constants.js +4 -0
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +7 -7
- package/src/View/GridInfo/ColumnInfoComponent.js +27 -19
- package/src/View/GridInfo/GridInfoPopup.js +16 -15
- package/src/View/Layout/LayoutRadioSelector.js +2 -2
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +1 -1
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/LayoutViewPanel.js +1 -1
- package/src/View/Layout/PivotDetailsPopoup.d.ts +3 -0
- package/src/View/Layout/PivotDetailsPopoup.js +65 -0
- package/src/View/Layout/SaveLayoutButton.js +1 -1
- package/src/View/Layout/Wizard/Components/ColumnLabels.js +1 -1
- package/src/View/Layout/Wizard/LayoutWizard.js +9 -4
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +5 -5
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +12 -11
- package/src/View/Layout/Wizard/sections/FilterSection.d.ts +1 -0
- package/src/View/Layout/Wizard/sections/FilterSection.js +52 -3
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +2 -2
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +2 -2
- package/src/View/Layout/Wizard/sections/SettingsSection.d.ts +2 -2
- package/src/View/Layout/Wizard/sections/SettingsSection.js +2 -2
- package/src/View/Layout/Wizard/sections/SortSection.js +2 -5
- package/src/View/License/LicenseWatermark.d.ts +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.d.ts +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +5 -5
- package/src/View/Query/ExpandedQueryPopup.js +1 -1
- package/src/View/Query/QueryViewPanel.d.ts +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +1 -1
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
- package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +5 -5
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +5 -5
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +5 -5
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -2
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +3 -3
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +1 -1
- package/src/View/SmartEdit/SmartEditPopup.js +3 -3
- package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
- package/src/View/SpecialColumnSettingsWizardStep.js +10 -10
- package/src/View/StateManagement/StateManagementPopup.js +4 -4
- package/src/View/StateManagement/components/ClearButton.d.ts +1 -1
- package/src/View/StateManagement/components/LoadButton.d.ts +1 -1
- package/src/View/StatusBar/StatusBarPanel.d.ts +4 -4
- package/src/View/StatusBar/StatusBarPanel.js +1 -1
- package/src/View/StatusBar/StatusBarPopup.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.d.ts +6 -0
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +285 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.d.ts +7 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +106 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +9 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +75 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.d.ts +8 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +38 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.d.ts +5 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +26 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.d.ts +5 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +23 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.d.ts +8 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +25 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.d.ts +9 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +263 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.d.ts +1 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +4 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.d.ts +7 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +68 -0
- package/src/View/SystemStatus/SystemStatusEntityRow.js +4 -6
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/TeamSharing/SharedEntityDependencies.js +1 -1
- package/src/View/TeamSharing/SharedEntityObjectView.js +1 -1
- package/src/View/TeamSharing/TeamSharingApplyButton.js +1 -1
- package/src/View/Theme/ThemePopup.js +1 -1
- package/src/View/Theme/ThemeStatusPanelPopover.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +4 -4
- package/src/View/Wizard/OnePageAdaptableWizard.js +3 -4
- package/src/View/Wizard/OnePageWizards.d.ts +3 -3
- package/src/View/Wizard/OnePageWizards.js +2 -2
- package/src/agGrid/ActionColumnRenderer.d.ts +3 -0
- package/src/agGrid/ActionColumnRenderer.js +98 -64
- package/src/agGrid/Adaptable.d.ts +43 -14
- package/src/agGrid/Adaptable.js +555 -409
- package/src/agGrid/CheckboxRenderer.js +1 -1
- package/src/agGrid/FilterWrapper.js +62 -19
- package/src/agGrid/FloatingFilterWrapper.d.ts +2 -2
- package/src/agGrid/FloatingFilterWrapper.js +70 -32
- package/src/agGrid/PercentBarRenderer.d.ts +2 -2
- package/src/agGrid/PercentBarRenderer.js +16 -15
- package/src/agGrid/agGridHelper.d.ts +2 -2
- package/src/agGrid/agGridHelper.js +31 -20
- package/src/agGrid/agGridMenuHelper.js +3 -3
- package/src/agGrid/createAgStatusPanelComponent.d.ts +2 -1
- package/src/agGrid/createAgStatusPanelComponent.js +20 -3
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +5 -1
- package/src/agGrid/editors/AdaptableDateEditor/index.js +87 -20
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +3 -3
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +81 -30
- package/src/agGrid/weightedAverage.js +19 -11
- package/src/bundle-dependencies/bundles/react-toastify/index.js +1 -1
- package/src/components/CheckBox/index.d.ts +1 -1
- package/src/components/CheckBox/index.js +7 -2
- package/src/components/ColorPicker/ColorPicker.d.ts +11 -0
- package/src/{View → components/ColorPicker}/ColorPicker.js +19 -6
- package/src/components/ColorPicker/index.d.ts +1 -0
- package/src/components/ColorPicker/index.js +4 -0
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Datepicker/index.js +1 -1
- package/src/components/Dialog/index.d.ts +4 -2
- package/src/components/Dialog/index.js +2 -2
- package/src/components/DragAndDropContext/TabList.js +1 -1
- package/src/components/DragAndDropContext/UnusedPanel.js +3 -2
- package/src/components/DropdownButton/index.d.ts +21 -4
- package/src/components/DropdownButton/index.js +7 -8
- package/src/components/EllipsisContainer/index.js +1 -1
- package/src/components/ExpressionEditor/BaseEditorInput.d.ts +1 -1
- package/src/components/ExpressionEditor/BaseEditorInput.js +102 -36
- package/src/components/ExpressionEditor/EditorInput.js +1 -1
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +1 -1
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +5 -1
- package/src/components/ExpressionEditor/index.js +12 -58
- package/src/components/FormLayout/index.js +1 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +4 -2
- package/src/components/Loader/Loader.d.ts +2 -2
- package/src/components/Logo/index.d.ts +1 -1
- package/src/components/Modal/index.d.ts +1 -1
- package/src/components/Modal/index.js +0 -2
- package/src/components/OverlayTrigger/Overlay.d.ts +1 -4
- package/src/components/OverlayTrigger/Overlay.js +3 -40
- package/src/components/OverlayTrigger/index.d.ts +4 -4
- package/src/components/OverlayTrigger/index.js +75 -50
- package/src/components/OverlayTrigger/utils.d.ts +1 -1
- package/src/components/OverlayTrigger/utils.js +4 -4
- package/src/components/PopupWithFooter.d.ts +2 -2
- package/src/components/ProgressIndicator/ProgressIndicator.d.ts +1 -1
- package/src/components/SelectList.d.ts +1 -1
- package/src/components/SimpleButton/index.d.ts +4 -7
- package/src/components/SimpleButton/index.js +5 -4
- package/src/components/SizedContainer/index.d.ts +1 -1
- package/src/components/StylePreview.d.ts +1 -1
- package/src/components/StylePreview.js +2 -1
- package/src/components/Tag/Tag.d.ts +1 -1
- package/src/components/Textarea/index.d.ts +6 -4
- package/src/components/ToggleButton/index.d.ts +1 -1
- package/src/components/Tooltip/index.d.ts +1 -3
- package/src/components/Tooltip/index.js +2 -2
- package/src/components/WindowModal/WindowModal.d.ts +1 -1
- package/src/components/icons/{conditional-style.d.ts → brush.d.ts} +0 -0
- package/src/components/icons/brush.js +7 -0
- package/src/components/icons/index.d.ts +3 -2
- package/src/components/icons/index.js +4 -2
- package/src/components/icons/layout.d.ts +2 -1
- package/src/components/icons/open-in-new.d.ts +3 -0
- package/src/components/icons/{conditional-style.js → open-in-new.js} +1 -1
- package/src/components/utils/useContainerScrollObserver/index.d.ts +1 -1
- package/src/env.js +1 -3
- package/src/metamodel/adaptable.metamodel.d.ts +572 -160
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/parser.js +644 -382
- package/src/parser/src/types.d.ts +15 -3
- package/src/renderReactRoot.d.ts +5 -0
- package/src/renderReactRoot.js +56 -0
- package/src/types.d.ts +26 -17
- package/themes/dark.css +8 -4
- package/themes/dark.css.map +1 -0
- package/themes/light.css +4 -1
- package/themes/light.css.map +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableComponents.d.ts +0 -1
- package/src/AdaptableComponents.js +0 -5
- package/src/Api/ConditionalStyleApi.d.ts +0 -108
- package/src/Api/Implementation/ConditionalStyleApiImpl.d.ts +0 -29
- package/src/Api/Implementation/ConditionalStyleApiImpl.js +0 -98
- package/src/Api/Implementation/InternalApiImpl.js +0 -654
- package/src/Api/InternalApi.d.ts +0 -147
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.d.ts +0 -49
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +0 -95
- package/src/Strategy/ConditionalStyleModule.d.ts +0 -29
- package/src/Strategy/ConditionalStyleModule.js +0 -225
- package/src/Strategy/Interface/IConditionalStyleModule.d.ts +0 -6
- package/src/Strategy/Utilities/getStyleViewItems.d.ts +0 -2
- package/src/Strategy/Utilities/getStyleViewItems.js +0 -16
- package/src/Utilities/Helpers/CalendarHelper.d.ts +0 -25
- package/src/Utilities/Helpers/CalendarHelper.js +0 -342
- package/src/Utilities/Services/LicenseService.js +0 -1
- package/src/View/ColorPicker.d.ts +0 -14
- package/src/View/ConditionalStyle/ConditionalStyleSummary.d.ts +0 -25
- package/src/View/ConditionalStyle/ConditionalStyleSummary.js +0 -108
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.d.ts +0 -9
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +0 -42
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.d.ts +0 -8
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +0 -43
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.d.ts +0 -8
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +0 -29
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.d.ts +0 -8
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +0 -23
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.d.ts +0 -6
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +0 -114
- package/src/View/ConditionalStyle/Wizard/DEFAULT_PREDICATE_ID_FOR_CONDITIONAL_STYLE.d.ts +0 -1
- package/src/View/ConditionalStyle/Wizard/DEFAULT_PREDICATE_ID_FOR_CONDITIONAL_STYLE.js +0 -4
- package/src/components/OverlayTrigger/getOverlayStyle.d.ts +0 -13
- package/src/components/OverlayTrigger/getOverlayStyle.js +0 -56
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SystemFilterPredicateIds = exports.SystemPredicateDefs = void 0;
|
|
3
|
+
exports.SystemFlashingCellPredicateIds = exports.SystemFormatColumnPredicateIds = exports.SystemAlertPredicateIds = exports.SystemFilterPredicateIds = exports.SystemPredicateDefs = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const Helper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/Helper"));
|
|
6
6
|
const isToday_1 = tslib_1.__importDefault(require("date-fns/isToday"));
|
|
@@ -15,7 +15,6 @@ const isFuture_1 = tslib_1.__importDefault(require("date-fns/isFuture"));
|
|
|
15
15
|
const isAfter_1 = tslib_1.__importDefault(require("date-fns/isAfter"));
|
|
16
16
|
const isBefore_1 = tslib_1.__importDefault(require("date-fns/isBefore"));
|
|
17
17
|
const isSameDay_1 = tslib_1.__importDefault(require("date-fns/isSameDay"));
|
|
18
|
-
const CalendarHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/CalendarHelper"));
|
|
19
18
|
const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
|
|
20
19
|
const DateHelper_1 = require("../../Utilities/Helpers/DateHelper");
|
|
21
20
|
/**
|
|
@@ -27,7 +26,7 @@ exports.SystemPredicateDefs = [
|
|
|
27
26
|
label: 'Values',
|
|
28
27
|
icon: { text: 'IN' },
|
|
29
28
|
columnScope: { DataTypes: ['String', 'Number', 'Date'] },
|
|
30
|
-
moduleScope: ['filter', '
|
|
29
|
+
moduleScope: ['filter', 'formatColumn', 'alert'],
|
|
31
30
|
handler: ({ inputs, column, value }) => {
|
|
32
31
|
if (inputs.length === 0) {
|
|
33
32
|
return true;
|
|
@@ -53,7 +52,7 @@ exports.SystemPredicateDefs = [
|
|
|
53
52
|
label: 'Exclude Values',
|
|
54
53
|
icon: { text: '!IN' },
|
|
55
54
|
columnScope: { DataTypes: ['String', 'Number', 'Date'] },
|
|
56
|
-
moduleScope: ['filter', '
|
|
55
|
+
moduleScope: ['filter', 'formatColumn', 'alert'],
|
|
57
56
|
handler: ({ inputs, column, value }) => {
|
|
58
57
|
// basically negation of IN
|
|
59
58
|
if (inputs.length === 0) {
|
|
@@ -79,7 +78,7 @@ exports.SystemPredicateDefs = [
|
|
|
79
78
|
label: 'Blanks',
|
|
80
79
|
icon: { name: 'blanks' },
|
|
81
80
|
columnScope: { All: true },
|
|
82
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
81
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
83
82
|
handler: ({ value }) => Helper_1.default.IsInputNullOrEmpty(value),
|
|
84
83
|
},
|
|
85
84
|
{
|
|
@@ -87,7 +86,7 @@ exports.SystemPredicateDefs = [
|
|
|
87
86
|
label: 'Non Blanks',
|
|
88
87
|
icon: { name: 'non-blanks' },
|
|
89
88
|
columnScope: { All: true },
|
|
90
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
89
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
91
90
|
handler: ({ value }) => Helper_1.default.IsInputNotNullOrEmpty(value),
|
|
92
91
|
},
|
|
93
92
|
// Numeric System Filters
|
|
@@ -96,7 +95,7 @@ exports.SystemPredicateDefs = [
|
|
|
96
95
|
label: 'Greater Than',
|
|
97
96
|
icon: { name: 'greater-than' },
|
|
98
97
|
columnScope: { DataTypes: ['Number'] },
|
|
99
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
98
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
100
99
|
inputs: [{ type: 'number' }],
|
|
101
100
|
handler: ({ value, inputs }) => Number(value) > Number(inputs[0]),
|
|
102
101
|
toString: ({ inputs }) => `> ${inputs[0]}`,
|
|
@@ -107,7 +106,7 @@ exports.SystemPredicateDefs = [
|
|
|
107
106
|
label: 'Less Than',
|
|
108
107
|
icon: { name: 'less-than' },
|
|
109
108
|
columnScope: { DataTypes: ['Number'] },
|
|
110
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
109
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
111
110
|
inputs: [{ type: 'number' }],
|
|
112
111
|
handler: ({ value, inputs }) => Number(value) < Number(inputs[0]),
|
|
113
112
|
toString: ({ inputs }) => `< ${inputs[0]}`,
|
|
@@ -118,7 +117,7 @@ exports.SystemPredicateDefs = [
|
|
|
118
117
|
label: 'Positive',
|
|
119
118
|
icon: { text: '>0' },
|
|
120
119
|
columnScope: { DataTypes: ['Number'] },
|
|
121
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
120
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
122
121
|
handler: ({ value }) => Number(value) > 0,
|
|
123
122
|
},
|
|
124
123
|
{
|
|
@@ -126,7 +125,7 @@ exports.SystemPredicateDefs = [
|
|
|
126
125
|
label: 'Negative',
|
|
127
126
|
icon: { text: '<0' },
|
|
128
127
|
columnScope: { DataTypes: ['Number'] },
|
|
129
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
128
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
130
129
|
handler: ({ value }) => Number(value) < 0,
|
|
131
130
|
},
|
|
132
131
|
{
|
|
@@ -134,7 +133,7 @@ exports.SystemPredicateDefs = [
|
|
|
134
133
|
label: 'Zero',
|
|
135
134
|
icon: { text: '=0' },
|
|
136
135
|
columnScope: { DataTypes: ['Number'] },
|
|
137
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
136
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
138
137
|
handler: ({ value }) => {
|
|
139
138
|
if (typeof value === 'string' && !StringExtensions_1.default.IsNumeric(value)) {
|
|
140
139
|
return false;
|
|
@@ -147,7 +146,7 @@ exports.SystemPredicateDefs = [
|
|
|
147
146
|
label: 'Equals',
|
|
148
147
|
icon: { name: 'equal' },
|
|
149
148
|
columnScope: { DataTypes: ['Number'] },
|
|
150
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
149
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
151
150
|
inputs: [{ type: 'number' }],
|
|
152
151
|
handler: ({ value, inputs }) => {
|
|
153
152
|
const input = inputs[0];
|
|
@@ -165,7 +164,7 @@ exports.SystemPredicateDefs = [
|
|
|
165
164
|
label: 'Not Equals',
|
|
166
165
|
icon: { name: 'not-equal' },
|
|
167
166
|
columnScope: { DataTypes: ['Number'] },
|
|
168
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
167
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
169
168
|
inputs: [{ type: 'number' }],
|
|
170
169
|
handler: ({ value, inputs }) => {
|
|
171
170
|
const input = inputs[0];
|
|
@@ -183,7 +182,7 @@ exports.SystemPredicateDefs = [
|
|
|
183
182
|
label: 'Between',
|
|
184
183
|
icon: { text: 'BE' },
|
|
185
184
|
columnScope: { DataTypes: ['Number'] },
|
|
186
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
185
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
187
186
|
inputs: [{ type: 'number' }, { type: 'number' }],
|
|
188
187
|
handler: ({ value, inputs }) => Number(value) >= Number(inputs[0]) && Number(value) <= Number(inputs[1]),
|
|
189
188
|
toString: ({ inputs }) => `Between ${inputs[0]}:${inputs[1]}`,
|
|
@@ -194,7 +193,7 @@ exports.SystemPredicateDefs = [
|
|
|
194
193
|
label: 'Not Between',
|
|
195
194
|
icon: { text: '!BE' },
|
|
196
195
|
columnScope: { DataTypes: ['Number'] },
|
|
197
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
196
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
198
197
|
inputs: [{ type: 'number' }, { type: 'number' }],
|
|
199
198
|
handler: ({ value, inputs }) => Number(value) < Number(inputs[0]) || Number(value) > Number(inputs[1]),
|
|
200
199
|
toString: ({ inputs }) => `Not Between ${inputs[0]}:${inputs[1]}`,
|
|
@@ -222,7 +221,7 @@ exports.SystemPredicateDefs = [
|
|
|
222
221
|
label: 'Equals',
|
|
223
222
|
icon: { name: 'equal' },
|
|
224
223
|
columnScope: { DataTypes: ['String'] },
|
|
225
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
224
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
226
225
|
inputs: [{ type: 'text' }],
|
|
227
226
|
handler: ({ value, inputs, api }) => {
|
|
228
227
|
if (!value) {
|
|
@@ -241,7 +240,7 @@ exports.SystemPredicateDefs = [
|
|
|
241
240
|
label: 'Not Equals',
|
|
242
241
|
icon: { name: 'not-equal' },
|
|
243
242
|
columnScope: { DataTypes: ['String'] },
|
|
244
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
243
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
245
244
|
inputs: [{ type: 'text' }],
|
|
246
245
|
handler: ({ value, inputs, api }) => {
|
|
247
246
|
if (!value) {
|
|
@@ -260,7 +259,7 @@ exports.SystemPredicateDefs = [
|
|
|
260
259
|
label: 'Contains',
|
|
261
260
|
icon: { name: 'contains' },
|
|
262
261
|
columnScope: { DataTypes: ['String'] },
|
|
263
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
262
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
264
263
|
inputs: [{ type: 'text' }],
|
|
265
264
|
handler: ({ value, inputs, api }) => {
|
|
266
265
|
if (!value) {
|
|
@@ -278,7 +277,7 @@ exports.SystemPredicateDefs = [
|
|
|
278
277
|
label: 'Not Contains',
|
|
279
278
|
icon: { name: 'not-contains' },
|
|
280
279
|
columnScope: { DataTypes: ['String'] },
|
|
281
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
280
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
282
281
|
inputs: [{ type: 'text' }],
|
|
283
282
|
handler: ({ value, inputs, api }) => {
|
|
284
283
|
if (!value) {
|
|
@@ -296,7 +295,7 @@ exports.SystemPredicateDefs = [
|
|
|
296
295
|
label: 'Starts With',
|
|
297
296
|
icon: { name: 'starts-with' },
|
|
298
297
|
columnScope: { DataTypes: ['String'] },
|
|
299
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
298
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
300
299
|
inputs: [{ type: 'text' }],
|
|
301
300
|
handler: ({ value, inputs, api }) => {
|
|
302
301
|
if (!value) {
|
|
@@ -314,7 +313,7 @@ exports.SystemPredicateDefs = [
|
|
|
314
313
|
label: 'Ends With',
|
|
315
314
|
icon: { name: 'ends-with' },
|
|
316
315
|
columnScope: { DataTypes: ['String'] },
|
|
317
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
316
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
318
317
|
inputs: [{ type: 'text' }],
|
|
319
318
|
handler: ({ value, inputs, api }) => {
|
|
320
319
|
if (!value) {
|
|
@@ -332,7 +331,7 @@ exports.SystemPredicateDefs = [
|
|
|
332
331
|
label: 'Regex',
|
|
333
332
|
icon: { name: 'regex' },
|
|
334
333
|
columnScope: { DataTypes: ['String'] },
|
|
335
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
334
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
336
335
|
inputs: [{ type: 'text' }],
|
|
337
336
|
handler: ({ value, inputs }) => new RegExp(inputs[0]).test(value),
|
|
338
337
|
toString: ({ inputs }) => `Regex ${inputs[0]}`,
|
|
@@ -343,7 +342,7 @@ exports.SystemPredicateDefs = [
|
|
|
343
342
|
label: 'Today',
|
|
344
343
|
icon: { name: 'calendar' },
|
|
345
344
|
columnScope: { DataTypes: ['Date'] },
|
|
346
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
345
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
347
346
|
handler: ({ value }) => (0, isToday_1.default)((0, DateHelper_1.parseDateValue)(value)),
|
|
348
347
|
},
|
|
349
348
|
{
|
|
@@ -351,7 +350,7 @@ exports.SystemPredicateDefs = [
|
|
|
351
350
|
label: 'Yesterday',
|
|
352
351
|
icon: { name: 'calendar' },
|
|
353
352
|
columnScope: { DataTypes: ['Date'] },
|
|
354
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
353
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
355
354
|
handler: ({ value }) => (0, isYesterday_1.default)((0, DateHelper_1.parseDateValue)(value)),
|
|
356
355
|
},
|
|
357
356
|
{
|
|
@@ -359,7 +358,7 @@ exports.SystemPredicateDefs = [
|
|
|
359
358
|
label: 'Tomorrow',
|
|
360
359
|
icon: { name: 'calendar' },
|
|
361
360
|
columnScope: { DataTypes: ['Date'] },
|
|
362
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
361
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
363
362
|
handler: ({ value }) => (0, isTomorrow_1.default)((0, DateHelper_1.parseDateValue)(value)),
|
|
364
363
|
},
|
|
365
364
|
{
|
|
@@ -367,7 +366,7 @@ exports.SystemPredicateDefs = [
|
|
|
367
366
|
label: 'This Week',
|
|
368
367
|
icon: { name: 'calendar' },
|
|
369
368
|
columnScope: { DataTypes: ['Date'] },
|
|
370
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
369
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
371
370
|
handler: ({ value }) => (0, isThisWeek_1.default)((0, DateHelper_1.parseDateValue)(value)),
|
|
372
371
|
},
|
|
373
372
|
{
|
|
@@ -375,7 +374,7 @@ exports.SystemPredicateDefs = [
|
|
|
375
374
|
label: 'This Month',
|
|
376
375
|
icon: { name: 'calendar' },
|
|
377
376
|
columnScope: { DataTypes: ['Date'] },
|
|
378
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
377
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
379
378
|
handler: ({ value }) => (0, isThisMonth_1.default)((0, DateHelper_1.parseDateValue)(value)),
|
|
380
379
|
},
|
|
381
380
|
{
|
|
@@ -383,7 +382,7 @@ exports.SystemPredicateDefs = [
|
|
|
383
382
|
label: 'This Quarter',
|
|
384
383
|
icon: { name: 'calendar' },
|
|
385
384
|
columnScope: { DataTypes: ['Date'] },
|
|
386
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
385
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
387
386
|
handler: ({ value }) => (0, isThisQuarter_1.default)((0, DateHelper_1.parseDateValue)(value)),
|
|
388
387
|
},
|
|
389
388
|
{
|
|
@@ -391,7 +390,7 @@ exports.SystemPredicateDefs = [
|
|
|
391
390
|
label: 'This Year',
|
|
392
391
|
icon: { name: 'calendar' },
|
|
393
392
|
columnScope: { DataTypes: ['Date'] },
|
|
394
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
393
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
395
394
|
handler: ({ value }) => (0, isThisYear_1.default)((0, DateHelper_1.parseDateValue)(value)),
|
|
396
395
|
},
|
|
397
396
|
{
|
|
@@ -399,7 +398,7 @@ exports.SystemPredicateDefs = [
|
|
|
399
398
|
label: 'In Past',
|
|
400
399
|
icon: { name: 'calendar' },
|
|
401
400
|
columnScope: { DataTypes: ['Date'] },
|
|
402
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
401
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
403
402
|
handler: ({ value }) => (0, isPast_1.default)((0, DateHelper_1.parseDateValue)(value)),
|
|
404
403
|
},
|
|
405
404
|
{
|
|
@@ -407,7 +406,7 @@ exports.SystemPredicateDefs = [
|
|
|
407
406
|
label: 'In Future',
|
|
408
407
|
icon: { name: 'calendar' },
|
|
409
408
|
columnScope: { DataTypes: ['Date'] },
|
|
410
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
409
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
411
410
|
handler: ({ value }) => (0, isFuture_1.default)((0, DateHelper_1.parseDateValue)(value)),
|
|
412
411
|
},
|
|
413
412
|
{
|
|
@@ -415,7 +414,7 @@ exports.SystemPredicateDefs = [
|
|
|
415
414
|
label: 'After',
|
|
416
415
|
icon: { name: 'greater-than' },
|
|
417
416
|
columnScope: { DataTypes: ['Date'] },
|
|
418
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
417
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
419
418
|
inputs: [{ type: 'date' }],
|
|
420
419
|
handler: ({ value, inputs }) => (0, isAfter_1.default)((0, DateHelper_1.parseDateValue)(value), (0, DateHelper_1.parseDateValue)(inputs[0])),
|
|
421
420
|
toString: ({ inputs }) => `> ${inputs[0]}`,
|
|
@@ -425,7 +424,7 @@ exports.SystemPredicateDefs = [
|
|
|
425
424
|
label: 'Before',
|
|
426
425
|
icon: { name: 'less-than' },
|
|
427
426
|
columnScope: { DataTypes: ['Date'] },
|
|
428
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
427
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
429
428
|
inputs: [{ type: 'date' }],
|
|
430
429
|
handler: ({ value, inputs }) => (0, isBefore_1.default)((0, DateHelper_1.parseDateValue)(value), (0, DateHelper_1.parseDateValue)(inputs[0])),
|
|
431
430
|
toString: ({ inputs }) => `< ${inputs[0]}`,
|
|
@@ -435,7 +434,7 @@ exports.SystemPredicateDefs = [
|
|
|
435
434
|
label: 'Equals',
|
|
436
435
|
icon: { name: 'equal' },
|
|
437
436
|
columnScope: { DataTypes: ['Date'] },
|
|
438
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
437
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
439
438
|
inputs: [{ type: 'date' }],
|
|
440
439
|
handler: ({ value, inputs }) => (0, isSameDay_1.default)((0, DateHelper_1.parseDateValue)(value), (0, DateHelper_1.parseDateValue)(inputs[0])),
|
|
441
440
|
toString: ({ inputs }) => `= ${inputs[0]}`,
|
|
@@ -445,7 +444,7 @@ exports.SystemPredicateDefs = [
|
|
|
445
444
|
label: 'NotEquals',
|
|
446
445
|
icon: { name: 'not-equal' },
|
|
447
446
|
columnScope: { DataTypes: ['Date'] },
|
|
448
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
447
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
449
448
|
inputs: [{ type: 'date' }],
|
|
450
449
|
handler: ({ value, inputs }) => !(0, isSameDay_1.default)((0, DateHelper_1.parseDateValue)(value), (0, DateHelper_1.parseDateValue)(inputs[0])),
|
|
451
450
|
toString: ({ inputs }) => `!= ${inputs[0]}`,
|
|
@@ -455,16 +454,32 @@ exports.SystemPredicateDefs = [
|
|
|
455
454
|
label: 'Next Work Day',
|
|
456
455
|
icon: { name: 'calendar' },
|
|
457
456
|
columnScope: { DataTypes: ['Date'] },
|
|
458
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
459
|
-
handler: ({ value, api }) => (0, isSameDay_1.default)((0, DateHelper_1.parseDateValue)(value),
|
|
457
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
458
|
+
handler: ({ value, api }) => (0, isSameDay_1.default)((0, DateHelper_1.parseDateValue)(value), api.calendarApi.getNextWorkingDay()),
|
|
460
459
|
},
|
|
461
460
|
{
|
|
462
461
|
id: 'LastWorkDay',
|
|
463
462
|
label: 'Last Work Day',
|
|
464
463
|
icon: { name: 'calendar' },
|
|
465
464
|
columnScope: { DataTypes: ['Date'] },
|
|
466
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
467
|
-
handler: ({ value, api }) => (0, isSameDay_1.default)((0, DateHelper_1.parseDateValue)(value),
|
|
465
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
466
|
+
handler: ({ value, api }) => (0, isSameDay_1.default)((0, DateHelper_1.parseDateValue)(value), api.calendarApi.getPreviousWorkingDay()),
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
id: 'WorkDay',
|
|
470
|
+
label: 'Working Day',
|
|
471
|
+
icon: { name: 'calendar' },
|
|
472
|
+
columnScope: { DataTypes: ['Date'] },
|
|
473
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
474
|
+
handler: ({ value, api }) => api.calendarApi.isWorkingDay(value),
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
id: 'Holiday',
|
|
478
|
+
label: 'Holiday',
|
|
479
|
+
icon: { name: 'calendar' },
|
|
480
|
+
columnScope: { DataTypes: ['Date'] },
|
|
481
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
482
|
+
handler: ({ value, api }) => api.calendarApi.isHoliday(value),
|
|
468
483
|
},
|
|
469
484
|
{
|
|
470
485
|
id: 'InRange',
|
|
@@ -474,7 +489,6 @@ exports.SystemPredicateDefs = [
|
|
|
474
489
|
moduleScope: ['filter'],
|
|
475
490
|
inputs: [{ type: 'date' }, { type: 'date' }],
|
|
476
491
|
handler: ({ value, inputs }) => new Date(value) >= new Date(inputs[0]) && new Date(value) <= new Date(inputs[1]),
|
|
477
|
-
// toString: ({ inputs }) => `From ${inputs[0]} To ${inputs[1]}`,
|
|
478
492
|
},
|
|
479
493
|
// Boolean System Filters
|
|
480
494
|
{
|
|
@@ -482,7 +496,7 @@ exports.SystemPredicateDefs = [
|
|
|
482
496
|
label: 'True',
|
|
483
497
|
icon: { text: 'T' },
|
|
484
498
|
columnScope: { DataTypes: ['Boolean'] },
|
|
485
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
499
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
486
500
|
handler: ({ value }) => Boolean(value) === true,
|
|
487
501
|
},
|
|
488
502
|
{
|
|
@@ -490,7 +504,7 @@ exports.SystemPredicateDefs = [
|
|
|
490
504
|
label: 'False',
|
|
491
505
|
icon: { text: 'F' },
|
|
492
506
|
columnScope: { DataTypes: ['Boolean'] },
|
|
493
|
-
moduleScope: ['filter', 'alert', 'flashingcell', '
|
|
507
|
+
moduleScope: ['filter', 'alert', 'flashingcell', 'formatColumn'],
|
|
494
508
|
handler: ({ value }) => Boolean(value) === false,
|
|
495
509
|
},
|
|
496
510
|
{
|
|
@@ -539,7 +553,9 @@ exports.SystemPredicateDefs = [
|
|
|
539
553
|
moduleScope: ['alert'],
|
|
540
554
|
handler: ({ value, column, api, node }) => {
|
|
541
555
|
return (column === null || column === void 0 ? void 0 : column.isPrimaryKey)
|
|
542
|
-
? api.
|
|
556
|
+
? api.gridApi.internalApi
|
|
557
|
+
.getDistinctRawValuesForColumn(column.columnId, node)
|
|
558
|
+
.includes(value)
|
|
543
559
|
: false;
|
|
544
560
|
},
|
|
545
561
|
},
|
|
@@ -550,7 +566,7 @@ exports.SystemPredicateDefs = [
|
|
|
550
566
|
moduleScope: ['alert'],
|
|
551
567
|
handler: ({ value, api, column, node }) => {
|
|
552
568
|
const distinctValues = column
|
|
553
|
-
? api.
|
|
569
|
+
? api.gridApi.internalApi.getDistinctRawValuesForColumn(column.columnId, node)
|
|
554
570
|
: [];
|
|
555
571
|
return !distinctValues.includes(value);
|
|
556
572
|
},
|
|
@@ -562,7 +578,7 @@ exports.SystemPredicateDefs = [
|
|
|
562
578
|
moduleScope: ['alert'],
|
|
563
579
|
handler: ({ value, api, column, node }) => {
|
|
564
580
|
const distinctValues = column
|
|
565
|
-
? api.
|
|
581
|
+
? api.gridApi.internalApi.getDistinctRawValuesForColumn(column.columnId, node)
|
|
566
582
|
: [];
|
|
567
583
|
return distinctValues.includes(value);
|
|
568
584
|
},
|
|
@@ -589,3 +605,6 @@ exports.SystemPredicateDefs = [
|
|
|
589
605
|
},
|
|
590
606
|
];
|
|
591
607
|
exports.SystemFilterPredicateIds = exports.SystemPredicateDefs.filter((p) => p.moduleScope.includes('filter')).map((p) => p.id);
|
|
608
|
+
exports.SystemAlertPredicateIds = exports.SystemPredicateDefs.filter((p) => p.moduleScope.includes('alert')).map((p) => p.id);
|
|
609
|
+
exports.SystemFormatColumnPredicateIds = exports.SystemPredicateDefs.filter((p) => p.moduleScope.includes('formatColumn')).map((p) => p.id);
|
|
610
|
+
exports.SystemFlashingCellPredicateIds = exports.SystemPredicateDefs.filter((p) => p.moduleScope.includes('flashingcell')).map((p) => p.id);
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface AdaptableStyle {
|
|
5
5
|
/**
|
|
6
|
-
* Colour background of cell:
|
|
6
|
+
* Colour background of cell: hex, rgb(a) or name
|
|
7
7
|
*/
|
|
8
8
|
BackColor?: string;
|
|
9
9
|
/**
|
|
10
|
-
* Font colour in cell:
|
|
10
|
+
* Font colour in cell: hex, rgb(a) or name
|
|
11
11
|
*/
|
|
12
12
|
ForeColor?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Colour of cell border: hex, rgb(a) or name
|
|
15
|
+
*/
|
|
16
|
+
BorderColor?: string;
|
|
13
17
|
/**
|
|
14
18
|
* Weight of font: `Normal` or `Bold`
|
|
15
19
|
*/
|
|
@@ -22,10 +26,6 @@ export interface AdaptableStyle {
|
|
|
22
26
|
* Size of font: `XSmall`, `Small`, `Medium`, `Large` or `XLarge`
|
|
23
27
|
*/
|
|
24
28
|
FontSize?: 'XSmall' | 'Small' | 'Medium' | 'Large' | 'XLarge';
|
|
25
|
-
/**
|
|
26
|
-
* Colour of cell border: provide hex value or name
|
|
27
|
-
*/
|
|
28
|
-
BorderColor?: string;
|
|
29
29
|
/**
|
|
30
30
|
* Existing CSS Class; use instead of setting other object properties
|
|
31
31
|
*/
|
|
@@ -24,6 +24,6 @@ export interface ColumnFilterPredicate extends AdaptablePredicate {
|
|
|
24
24
|
*/
|
|
25
25
|
export declare type SystemFilterPredicateIds = SystemFilterPredicateId[];
|
|
26
26
|
/**
|
|
27
|
-
* List of
|
|
27
|
+
* List of System Predicates available for Filters
|
|
28
28
|
*/
|
|
29
|
-
export declare type SystemFilterPredicateId = 'Values' | 'ExcludeValues' | 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'InRange' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'True' | 'False' | 'BooleanToggle';
|
|
29
|
+
export declare type SystemFilterPredicateId = 'Values' | 'ExcludeValues' | 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'InRange' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'WorkDay' | 'Holiday' | 'True' | 'False' | 'BooleanToggle';
|
|
@@ -25,11 +25,6 @@ export interface FDC3Context {
|
|
|
25
25
|
id?: {
|
|
26
26
|
[key: string]: string | undefined;
|
|
27
27
|
};
|
|
28
|
-
/**
|
|
29
|
-
* @internal
|
|
30
|
-
* Custom properties and metadata. This can be extended in specific context object.
|
|
31
|
-
*/
|
|
32
|
-
[key: string]: unknown;
|
|
33
28
|
}
|
|
34
29
|
/**
|
|
35
30
|
* FDC3 Context to define a financial Instrument
|
|
@@ -219,9 +214,9 @@ export interface CountryContext extends FDC3Context {
|
|
|
219
214
|
*/
|
|
220
215
|
export interface AdaptableFDC3EventInfo extends BaseEventInfo {
|
|
221
216
|
/**
|
|
222
|
-
* Type of Event: `RaiseIntent` or `BroadcastMessage`
|
|
217
|
+
* Type of Event: `RaiseIntent`, `RaiseIntentForContext` or `BroadcastMessage`
|
|
223
218
|
*/
|
|
224
|
-
eventType: 'RaiseIntent' | 'BroadcastMessage';
|
|
219
|
+
eventType: 'RaiseIntent' | 'RaiseIntentForContext' | 'BroadcastMessage';
|
|
225
220
|
/**
|
|
226
221
|
* The FDC3 Intent which caused Event to fire (if type is `RaiseIntent`)
|
|
227
222
|
*/
|
|
@@ -241,3 +236,4 @@ export declare type FDC3ContextType = 'fdc3.instrument' | 'fdc3.instrumentList'
|
|
|
241
236
|
export interface CustomFDC3Context extends FDC3Context {
|
|
242
237
|
type: any;
|
|
243
238
|
}
|
|
239
|
+
export declare type ContextData = Record<string, unknown>;
|
|
@@ -6,12 +6,12 @@ export declare type AdaptableDashboardToolbars = AdaptableDashboardToolbar[];
|
|
|
6
6
|
/**
|
|
7
7
|
* List of all the Toolbars that Adaptable provides
|
|
8
8
|
*/
|
|
9
|
-
export declare type AdaptableDashboardToolbar = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
|
|
9
|
+
export declare type AdaptableDashboardToolbar = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme' | 'Charting';
|
|
10
10
|
export declare const ALL_TOOLBARS: AdaptableDashboardToolbar[];
|
|
11
|
-
export declare type AdaptableStatusBarPanel = 'CellSummary' | 'Alert' | 'GridInfo' | 'Dashboard' | 'ToolPanel' | 'StatusBar' | 'StateManagement' | 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SystemStatus' | 'DataChangeHistory' | 'TeamSharing' | 'Theme' | 'BulkUpdate' | 'SettingsPanel' | 'SmartEdit';
|
|
11
|
+
export declare type AdaptableStatusBarPanel = 'CellSummary' | 'Alert' | 'GridInfo' | 'Dashboard' | 'ToolPanel' | 'StatusBar' | 'StateManagement' | 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SystemStatus' | 'DataChangeHistory' | 'TeamSharing' | 'Theme' | 'BulkUpdate' | 'SettingsPanel' | 'SmartEdit' | 'Charting';
|
|
12
12
|
export declare const ALL_STATUS_SUB_PANELS: AdaptableStatusBarPanel[];
|
|
13
13
|
export declare type AdaptableToolPanels = AdaptableToolPanel[];
|
|
14
|
-
export declare type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Dashboard' | 'DataChangeHistory' | 'Export' | 'Filter' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
|
|
14
|
+
export declare type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Dashboard' | 'DataChangeHistory' | 'Export' | 'Filter' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme' | 'Charting';
|
|
15
15
|
export declare const ALL_TOOL_PANELS: AdaptableToolPanels;
|
|
16
16
|
/**
|
|
17
17
|
* Adaptable Module Button collection
|
|
@@ -22,18 +22,18 @@ export declare type AdaptableModuleButtons = AdaptableModuleButton[];
|
|
|
22
22
|
/**
|
|
23
23
|
* List of all the Module buttons Adaptable provides - each Module has a popup for which this is a shortcut button
|
|
24
24
|
*/
|
|
25
|
-
export declare type AdaptableModuleButton = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme';
|
|
25
|
+
export declare type AdaptableModuleButton = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme';
|
|
26
26
|
export declare type AdaptableStateKeys = AdaptableStateKey[];
|
|
27
27
|
export declare type AdaptableStateKey = keyof AdaptablePersistentState | 'OpenFin' | 'Glue42' | 'IPushPull';
|
|
28
28
|
/**
|
|
29
29
|
* Modules provided by AdapTable, subject to Entitlements and usually have Predefined Config
|
|
30
30
|
*/
|
|
31
|
-
export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
|
|
31
|
+
export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
|
|
32
32
|
export declare const ALL_MODULES: AdaptableModule[];
|
|
33
|
-
export declare type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
|
|
33
|
+
export declare type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel' | 'Charting';
|
|
34
34
|
export declare type TypeHint<Base, Literals> = (Base & {
|
|
35
35
|
__subType?: true;
|
|
36
36
|
}) | Literals;
|
|
37
37
|
export declare type AdaptableQLModules = AdaptableQLModule[];
|
|
38
38
|
export declare type AdaptableQLModule = 'CalculatedColumn' | 'Filter' | 'Query';
|
|
39
|
-
export declare type AdaptableColumnType = 'abColDefBoolean' | 'abColDefDate' | 'abColDefNumber' | 'abColDefString' | 'abColDefObject' | 'abColDefCustom' | 'abSpecialColumn';
|
|
39
|
+
export declare type AdaptableColumnType = 'abColDefBoolean' | 'abColDefDate' | 'abColDefNumber' | 'abColDefString' | 'abColDefObject' | 'abColDefNumberArray' | 'abColDefTupleNumberArray' | 'abColDefObjectNumberArray' | 'abColDefCustom' | 'abSpecialColumn';
|
|
@@ -10,6 +10,7 @@ exports.ALL_TOOLBARS = [
|
|
|
10
10
|
'Alert',
|
|
11
11
|
'BulkUpdate',
|
|
12
12
|
'CellSummary',
|
|
13
|
+
'Charting',
|
|
13
14
|
'DataChangeHistory',
|
|
14
15
|
'DataSet',
|
|
15
16
|
'Export',
|
|
@@ -32,6 +33,7 @@ exports.ALL_STATUS_SUB_PANELS = [
|
|
|
32
33
|
'CellSummary',
|
|
33
34
|
'ConditionalStyle',
|
|
34
35
|
'CustomSort',
|
|
36
|
+
'Charting',
|
|
35
37
|
'Dashboard',
|
|
36
38
|
'DataChangeHistory',
|
|
37
39
|
'DataSet',
|
|
@@ -73,6 +75,7 @@ exports.ALL_TOOL_PANELS = [
|
|
|
73
75
|
'StateManagement',
|
|
74
76
|
'SystemStatus',
|
|
75
77
|
'Theme',
|
|
78
|
+
'Charting',
|
|
76
79
|
];
|
|
77
80
|
exports.ALL_MODULES = [
|
|
78
81
|
ModuleConstants.AlertModuleId,
|
|
@@ -102,6 +105,7 @@ exports.ALL_MODULES = [
|
|
|
102
105
|
ModuleConstants.SettingsPanelModuleId,
|
|
103
106
|
ModuleConstants.ShortcutModuleId,
|
|
104
107
|
ModuleConstants.SmartEditModuleId,
|
|
108
|
+
ModuleConstants.StyledColumnModuleId,
|
|
105
109
|
ModuleConstants.StateManagementModuleId,
|
|
106
110
|
ModuleConstants.StatusBarModuleId,
|
|
107
111
|
ModuleConstants.SystemStatusModuleId,
|
|
@@ -7,41 +7,32 @@ import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
|
7
7
|
import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
|
|
8
8
|
import { SuspendableObject } from './Common/SuspendableObject';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated section of Adaptable State - use `FormatColumnState` instead
|
|
11
|
+
* @deprecated use `FormatColumnState` instead
|
|
11
12
|
**/
|
|
12
13
|
export interface ConditionalStyleState extends ConfigState {
|
|
13
|
-
/**
|
|
14
|
-
* Array of Conditional Styles to ship with AdapTable
|
|
15
|
-
*/
|
|
16
14
|
ConditionalStyles?: ConditionalStyle[];
|
|
17
15
|
}
|
|
18
16
|
/**
|
|
19
|
-
*
|
|
17
|
+
* Deprecated Adaptable Object - use `FormatColumn` instead
|
|
18
|
+
* @deprecated use `FormatColumn` instead
|
|
20
19
|
*/
|
|
21
20
|
export interface ConditionalStyle extends SuspendableObject {
|
|
22
|
-
/**
|
|
23
|
-
* Where Style is applied - can be whole Row, some Columns or all Columns of given DataType
|
|
24
|
-
*/
|
|
25
21
|
Scope: AdaptableScope;
|
|
26
|
-
/**
|
|
27
|
-
* Predicate-based Rule to use for deciding if a style needs to be applied.
|
|
28
|
-
*/
|
|
29
22
|
Rule: ConditionalStyleRule;
|
|
30
|
-
/**
|
|
31
|
-
* Adaptable Style (e.g. font properties and colurs) to apply.
|
|
32
|
-
*/
|
|
33
23
|
Style: AdaptableStyle;
|
|
34
|
-
/**
|
|
35
|
-
* Whether to apply Style in Grouped Rows and when Pivoting
|
|
36
|
-
* @defaultValue false
|
|
37
|
-
*/
|
|
38
24
|
IncludeGroupedRows?: boolean;
|
|
39
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Deprecated - use `FormatColumnPredicate` instead
|
|
28
|
+
* @deprecated use `FormatColumnPredicate` instead
|
|
29
|
+
*/
|
|
40
30
|
export interface ConditionalStylePredicate extends AdaptablePredicate {
|
|
41
31
|
PredicateId: TypeHint<string, SystemConditionalStylePredicateId>;
|
|
42
32
|
}
|
|
43
33
|
/**
|
|
44
|
-
*
|
|
34
|
+
* Deprecated - use `FormatColumnRule` instead
|
|
35
|
+
* @deprecated use `FormatColumnRule` instead
|
|
45
36
|
*/
|
|
46
37
|
export declare type ConditionalStyleRule = XOR<{
|
|
47
38
|
Predicate: ConditionalStylePredicate;
|
|
@@ -12,7 +12,7 @@ export interface FlashingCellDefinitionPredicate extends AdaptablePredicate {
|
|
|
12
12
|
* The Flashing Cell Rule - either an AdaptablePredicate or an AdaptableQuery
|
|
13
13
|
*/
|
|
14
14
|
export declare type FlashingCellRule = XOR<{
|
|
15
|
-
|
|
15
|
+
Predicates: FlashingCellDefinitionPredicate[];
|
|
16
16
|
}, AdaptableBooleanQuery>;
|
|
17
17
|
/**
|
|
18
18
|
* Predefined Configuration for Flashing Cell module
|
|
@@ -65,4 +65,11 @@ export interface FlashingCellDefinition extends SuspendableObject {
|
|
|
65
65
|
*/
|
|
66
66
|
FlashDuration?: number | 'always';
|
|
67
67
|
}
|
|
68
|
-
|
|
68
|
+
/**
|
|
69
|
+
* Array containing all System Flashing Cell Predicates
|
|
70
|
+
*/
|
|
71
|
+
export declare type SystemFlashingCellPredicateIds = SystemFlashingCellPredicateId[];
|
|
72
|
+
/**
|
|
73
|
+
* List of System Predicates available for Flashing Cells
|
|
74
|
+
*/
|
|
75
|
+
export declare type SystemFlashingCellPredicateId = 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'WorkDay' | 'Holiday' | 'True' | 'False' | 'PercentChange' | 'IsNumeric' | 'IsNotNumeric' | 'Any';
|