@adaptabletools/adaptable 15.4.2 → 16.0.0-canary.0
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/base.css +1 -1
- package/base.css.map +1 -1
- package/bundle.cjs.js +232 -226
- package/index.css +1 -1
- package/index.css.map +1 -1
- package/package.json +2 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +3 -0
- package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -2
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +82 -0
- package/src/AdaptableOptions/{ActionOptions.d.ts → ActionRowOptions.d.ts} +15 -90
- package/src/AdaptableOptions/AdaptableOptions.d.ts +32 -7
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -12
- package/src/AdaptableOptions/AlertOptions.d.ts +9 -0
- package/src/AdaptableOptions/CalendarOptions.d.ts +11 -0
- package/src/AdaptableOptions/CellSummaryOptions.d.ts +10 -0
- package/src/AdaptableOptions/ColumnOptions.d.ts +0 -4
- package/src/AdaptableOptions/CustomSortOptions.d.ts +24 -0
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +5 -1
- package/src/AdaptableOptions/DataSetOptions.d.ts +41 -0
- package/src/AdaptableOptions/DataSetOptions.js +2 -0
- package/src/AdaptableOptions/EditOptions.d.ts +4 -4
- package/src/AdaptableOptions/EntitlementOptions.d.ts +0 -16
- package/src/AdaptableOptions/ExportOptions.d.ts +2 -4
- package/src/AdaptableOptions/ExpressionOptions.d.ts +7 -0
- package/src/AdaptableOptions/FilterOptions.d.ts +3 -0
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +24 -0
- package/src/AdaptableOptions/GroupingOptions.d.ts +50 -0
- package/src/AdaptableOptions/GroupingOptions.js +2 -0
- package/src/AdaptableOptions/LayoutOptions.d.ts +3 -0
- package/src/AdaptableOptions/MasterDetailPluginOptions.d.ts +9 -0
- package/src/AdaptableOptions/PredicateOptions.d.ts +4 -0
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +0 -8
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +3 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +36 -1
- package/src/Api/ActionColumnApi.d.ts +10 -0
- package/src/Api/ActionColumnApi.js +2 -0
- package/src/Api/{ActionApi.d.ts → ActionRowApi.d.ts} +4 -15
- package/src/Api/ActionRowApi.js +2 -0
- package/src/Api/AdaptableApi.d.ts +11 -6
- package/src/Api/AlertApi.d.ts +2 -111
- package/src/Api/BulkUpdateApi.d.ts +0 -7
- package/src/Api/CalculatedColumnApi.d.ts +0 -31
- package/src/Api/CalendarApi.d.ts +1 -1
- package/src/Api/CellSummaryApi.d.ts +0 -7
- package/src/Api/ChartingApi.d.ts +0 -7
- package/src/Api/ColumnApi.d.ts +1 -131
- package/src/Api/ConfigApi.d.ts +1 -7
- package/src/Api/CustomSortApi.d.ts +0 -25
- package/src/Api/DashboardApi.d.ts +0 -16
- package/src/Api/DataChangeHistoryApi.d.ts +0 -7
- package/src/Api/DataSetApi.d.ts +1 -16
- package/src/Api/EventApi.d.ts +1 -9
- package/src/Api/Events/AdaptableStateChanged.d.ts +0 -8
- package/src/Api/Events/AdaptableStateReloaded.d.ts +0 -4
- package/src/Api/Events/BaseEventInfo.d.ts +9 -1
- package/src/Api/Events/LiveDataChanged.d.ts +3 -7
- package/src/Api/ExportApi.d.ts +10 -34
- package/src/Api/{QueryLanguageApi.d.ts → ExpressionApi.d.ts} +2 -2
- package/src/Api/ExpressionApi.js +2 -0
- package/src/Api/FilterApi.d.ts +1 -59
- package/src/Api/FlashingCellApi.d.ts +0 -15
- package/src/Api/FormatColumnApi.d.ts +1 -91
- package/src/Api/FreeTextColumnApi.d.ts +0 -39
- package/src/Api/GridApi.d.ts +20 -31
- package/src/Api/Implementation/ActionColumnApiImpl.d.ts +7 -0
- package/src/Api/Implementation/ActionColumnApiImpl.js +14 -0
- package/src/Api/Implementation/ActionRowApiImpl.d.ts +12 -0
- package/src/Api/Implementation/{ActionApiImpl.js → ActionRowApiImpl.js} +8 -15
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -4
- package/src/Api/Implementation/AdaptableApiImpl.js +7 -5
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -43
- package/src/Api/Implementation/AlertApiImpl.js +4 -94
- package/src/Api/Implementation/ApiBase.d.ts +15 -5
- package/src/Api/Implementation/ApiBase.js +26 -8
- package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +0 -7
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +0 -32
- package/src/Api/Implementation/CalendarApiImpl.d.ts +1 -0
- package/src/Api/Implementation/CalendarApiImpl.js +20 -17
- package/src/Api/Implementation/CellSummaryApiImpl.d.ts +0 -1
- package/src/Api/Implementation/CellSummaryApiImpl.js +1 -6
- package/src/Api/Implementation/ChartingApiImpl.d.ts +0 -1
- package/src/Api/Implementation/ChartingApiImpl.js +0 -5
- package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -35
- package/src/Api/Implementation/ColumnApiImpl.js +1 -138
- package/src/Api/Implementation/ConfigApiImpl.js +2 -1
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -5
- package/src/Api/Implementation/CustomSortApiImpl.js +0 -16
- package/src/Api/Implementation/DashboardApiImpl.d.ts +0 -4
- package/src/Api/Implementation/DashboardApiImpl.js +2 -24
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +0 -1
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +0 -5
- package/src/Api/Implementation/DataSetApiImpl.d.ts +1 -4
- package/src/Api/Implementation/DataSetApiImpl.js +1 -14
- package/src/Api/Implementation/ExportApiImpl.d.ts +4 -10
- package/src/Api/Implementation/ExportApiImpl.js +15 -34
- package/src/Api/Implementation/{QueryLanguageApiImpl.d.ts → ExpressionApiImpl.d.ts} +4 -4
- package/src/Api/Implementation/{QueryLanguageApiImpl.js → ExpressionApiImpl.js} +7 -5
- package/src/Api/Implementation/FilterApiImpl.d.ts +1 -17
- package/src/Api/Implementation/FilterApiImpl.js +0 -53
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +0 -3
- package/src/Api/Implementation/FlashingCellApiImpl.js +2 -13
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +2 -34
- package/src/Api/Implementation/FormatColumnApiImpl.js +0 -73
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +0 -8
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +0 -29
- package/src/Api/Implementation/GridApiImpl.d.ts +0 -7
- package/src/Api/Implementation/GridApiImpl.js +6 -35
- package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -6
- package/src/Api/Implementation/LayoutApiImpl.js +2 -27
- package/src/Api/Implementation/OptionsApiImpl.d.ts +10 -5
- package/src/Api/Implementation/OptionsApiImpl.js +19 -7
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +0 -1
- package/src/Api/Implementation/PlusMinusApiImpl.js +0 -5
- package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -8
- package/src/Api/Implementation/PredicateApiImpl.js +2 -30
- package/src/Api/Implementation/QueryApiImpl.d.ts +0 -5
- package/src/Api/Implementation/QueryApiImpl.js +0 -21
- package/src/Api/Implementation/QuickSearchApiImpl.d.ts +0 -1
- package/src/Api/Implementation/QuickSearchApiImpl.js +0 -5
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -18
- package/src/Api/Implementation/ScheduleApiImpl.js +0 -69
- package/src/Api/Implementation/ScopeApiImpl.js +1 -1
- package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +0 -2
- package/src/Api/Implementation/SettingsPanelApiImpl.js +0 -9
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -6
- package/src/Api/Implementation/ShortcutApiImpl.js +0 -21
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +0 -1
- package/src/Api/Implementation/SmartEditApiImpl.js +0 -5
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -5
- package/src/Api/Implementation/StyledColumnApiImpl.js +2 -17
- package/src/Api/Implementation/SystemStatusApiImpl.d.ts +0 -2
- package/src/Api/Implementation/SystemStatusApiImpl.js +0 -9
- package/src/Api/Implementation/TeamSharingApiImpl.d.ts +0 -5
- package/src/Api/Implementation/TeamSharingApiImpl.js +0 -21
- package/src/Api/Implementation/ThemeApiImpl.d.ts +0 -4
- package/src/Api/Implementation/ThemeApiImpl.js +2 -17
- package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +4 -2
- package/src/Api/Implementation/UserInterfaceApiImpl.js +17 -10
- package/src/Api/Internal/{ActionInternalApi.d.ts → ActionRowInternalApi.d.ts} +2 -2
- package/src/Api/Internal/{ActionInternalApi.js → ActionRowInternalApi.js} +12 -5
- package/src/Api/Internal/AdaptableInternalApi.d.ts +1 -10
- package/src/Api/Internal/AdaptableInternalApi.js +9 -20
- package/src/Api/Internal/AlertInternalApi.js +9 -6
- package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -2
- package/src/Api/Internal/CustomSortInternalApi.d.ts +1 -1
- package/src/Api/Internal/CustomSortInternalApi.js +1 -1
- package/src/Api/Internal/DashboardInternalApi.js +2 -0
- package/src/Api/Internal/DataSetInternalApi.d.ts +1 -1
- package/src/Api/Internal/DataSetInternalApi.js +2 -1
- package/src/Api/Internal/ExportInternalApi.js +1 -1
- package/src/Api/Internal/{QueryLanguageInternalApi.d.ts → ExpressionnternalApi.d.ts} +1 -1
- package/src/Api/Internal/{QueryLanguageInternalApi.js → ExpressionnternalApi.js} +9 -5
- package/src/Api/Internal/FilterInternalApi.js +4 -1
- package/src/Api/Internal/FormatColumnInternalApi.js +1 -1
- package/src/Api/Internal/GridInternalApi.js +8 -0
- package/src/Api/Internal/LayoutInternalApi.js +6 -1
- package/src/Api/Internal/PredicateInternalApi.js +10 -0
- package/src/Api/Internal/QueryInternalApi.js +3 -1
- package/src/Api/Internal/SystemStatusInternalApi.js +4 -1
- package/src/Api/Internal/TeamSharingInternalApi.js +2 -0
- package/src/Api/LayoutApi.d.ts +3 -27
- package/src/Api/OptionsApi.d.ts +28 -10
- package/src/Api/PlusMinusApi.d.ts +0 -7
- package/src/Api/PredicateApi.d.ts +1 -32
- package/src/Api/QueryApi.d.ts +0 -23
- package/src/Api/QuickSearchApi.d.ts +0 -4
- package/src/Api/ScheduleApi.d.ts +0 -81
- package/src/Api/SettingsPanelApi.d.ts +0 -11
- package/src/Api/ShortcutApi.d.ts +0 -25
- package/src/Api/SmartEditApi.d.ts +0 -7
- package/src/Api/StyledColumnApi.d.ts +0 -21
- package/src/Api/SystemStatusApi.d.ts +0 -11
- package/src/Api/TeamSharingApi.d.ts +0 -23
- package/src/Api/ThemeApi.d.ts +0 -19
- package/src/Api/UserInterfaceApi.d.ts +4 -9
- package/src/PredefinedConfig/AlertState.d.ts +11 -5
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +3 -3
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +4 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +13 -1
- package/src/PredefinedConfig/Common/AggregationColumns.d.ts +3 -0
- package/src/PredefinedConfig/Common/BaseContext.d.ts +8 -0
- package/src/PredefinedConfig/Common/DataChangedScope.d.ts +9 -0
- package/src/PredefinedConfig/Common/Entitlement.d.ts +4 -1
- package/src/PredefinedConfig/LayoutState.d.ts +0 -6
- package/src/PredefinedConfig/StyledColumnState.d.ts +3 -0
- package/src/PredefinedConfig/SystemState.d.ts +1 -1
- package/src/PredefinedConfig/TeamSharingState.d.ts +1 -1
- package/src/PredefinedConfig/ThemeState.d.ts +3 -0
- package/src/Strategy/AdaptableModuleBase.js +3 -3
- package/src/Strategy/AlertModule.js +3 -3
- package/src/Strategy/CalculatedColumnModule.js +2 -2
- package/src/Strategy/CellSummaryModule.js +2 -0
- package/src/Strategy/DataSetModule.d.ts +1 -1
- package/src/Strategy/DataSetModule.js +1 -1
- package/src/Strategy/ExportModule.js +4 -0
- package/src/Strategy/FlashingCellModule.js +4 -4
- package/src/Strategy/FormatColumnModule.js +3 -3
- package/src/Strategy/QueryModule.js +1 -1
- package/src/Strategy/SmartEditModule.js +2 -0
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +24 -22
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +4 -0
- package/src/Utilities/Helpers/AdaptableHelper.js +12 -6
- package/src/Utilities/Helpers/FormatHelper.js +7 -0
- package/src/Utilities/ObjectFactory.d.ts +2 -2
- package/src/Utilities/ObjectFactory.js +6 -4
- package/src/Utilities/Services/AlertService.js +1 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -2
- package/src/Utilities/Services/ChartingService.js +2 -0
- package/src/Utilities/Services/EntitlementService.js +2 -2
- package/src/Utilities/Services/ModuleService.js +10 -10
- package/src/Utilities/Services/QueryLanguageService.js +16 -0
- package/src/Utilities/Services/ReportService.js +8 -6
- package/src/Utilities/Services/RowEditService.js +4 -2
- package/src/Utilities/Services/ValidationService.js +2 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +3 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
- package/src/View/CellSummary/CellSummaryStatusPanel.js +1 -1
- package/src/View/Components/AdaptableIconSelector/index.d.ts +6 -0
- package/src/View/Components/AdaptableIconSelector/index.js +18 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +2 -2
- package/src/View/Components/AdaptableViewIcon/index.d.ts +10 -0
- package/src/View/Components/AdaptableViewIcon/index.js +18 -0
- package/src/View/Components/EntityRulesEditor/Utilities.js +3 -3
- package/src/View/Components/ExternalRenderer.js +14 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +4 -0
- package/src/View/Components/FilterForm/QuickFilterValues.js +8 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -0
- package/src/View/Components/RangesComponent.d.ts +4 -4
- package/src/View/Components/RangesComponent.js +13 -22
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +2 -0
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +11 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +1 -1
- package/src/View/Dashboard/CustomDashboardButton.js +2 -0
- package/src/View/Dashboard/CustomToolbarWrapper.js +13 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +5 -5
- package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +2 -2
- package/src/View/DataChangeHistory/buildActionColumnButton.js +3 -2
- package/src/View/Export/ExportViewPanel.js +4 -4
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +3 -1
- package/src/View/GridInfo/GridInfoPopup.d.ts +0 -1
- package/src/View/GridInfo/GridInfoPopup.js +1 -2
- package/src/View/GridInfo/GridOptionsComponent.js +1 -1
- package/src/View/Layout/LayoutViewPanel.js +1 -1
- package/src/View/Layout/PivotDetailsPopoup.js +2 -0
- package/src/View/Layout/SaveLayoutButton.js +1 -1
- package/src/View/Layout/Wizard/LayoutWizard.js +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +1 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +8 -1
- package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
- package/src/agGrid/ActionColumnRenderer.js +5 -1
- package/src/agGrid/Adaptable.d.ts +14 -3
- package/src/agGrid/Adaptable.js +138 -38
- package/src/agGrid/BadgeRenderer.js +10 -2
- package/src/agGrid/CheckboxRenderer.d.ts +1 -2
- package/src/agGrid/agGridHelper.js +4 -5
- package/src/agGrid/agGridMenuHelper.js +4 -0
- package/src/agGrid/attachAddaptableColumnTypes.d.ts +11 -11
- package/src/agGrid/editors/AdaptableDateEditor/index.js +2 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +2 -2
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +6 -3
- package/src/components/AdaptableIconComponent/index.js +6 -3
- package/src/components/ExpressionEditor/BaseEditorInput.js +2 -0
- package/src/components/ExpressionEditor/index.js +1 -1
- package/src/components/IconSelector/IconSelector.d.ts +2 -0
- package/src/components/IconSelector/IconSelector.js +21 -5
- package/src/components/Input/NumberInput.d.ts +10 -0
- package/src/components/Input/NumberInput.js +46 -0
- package/src/metamodel/adaptable.metamodel.d.ts +360 -143
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/types.d.ts +3 -0
- package/src/types.d.ts +13 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableOptions/GeneralOptions.d.ts +0 -159
- package/src/Api/Events/SearchChanged.d.ts +0 -12
- package/src/Api/Implementation/ActionApiImpl.d.ts +0 -14
- /package/src/AdaptableOptions/{ActionOptions.js → ActionColumnOptions.js} +0 -0
- /package/src/AdaptableOptions/{GeneralOptions.js → ActionRowOptions.js} +0 -0
- /package/src/{Api/ActionApi.js → AdaptableOptions/CalendarOptions.js} +0 -0
- /package/src/{Api/Events/SearchChanged.js → AdaptableOptions/CellSummaryOptions.js} +0 -0
- /package/src/{Api/QueryLanguageApi.js → AdaptableOptions/CustomSortOptions.js} +0 -0
package/src/Api/FilterApi.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { AdaptableColumn, ColumnFilter
|
|
2
|
-
import * as Redux from 'redux';
|
|
1
|
+
import { AdaptableColumn, ColumnFilter } from '../types';
|
|
3
2
|
import { AdaptablePredicateDef, ColumnFilterDef } from '../PredefinedConfig/Common/AdaptablePredicate';
|
|
4
|
-
import { IRowNode } from '@ag-grid-community/core';
|
|
5
|
-
import { LayoutColumnFilterAction } from '../Redux/ActionsReducers/LayoutRedux';
|
|
6
3
|
/**
|
|
7
4
|
* Provides run-time access to Filter section of Adaptable State.
|
|
8
5
|
*/
|
|
@@ -122,59 +119,4 @@ export interface FilterApi {
|
|
|
122
119
|
* @param columnFilters Column Filters to use
|
|
123
120
|
*/
|
|
124
121
|
columnFiltersToString(columnFilters: ColumnFilter[]): string;
|
|
125
|
-
/**
|
|
126
|
-
* TO BE REMOVED
|
|
127
|
-
*/
|
|
128
|
-
/**
|
|
129
|
-
* @deprecated internal method, will be removed in next major release
|
|
130
|
-
*/
|
|
131
|
-
findPredicateDefByShortcut(shortcut: string, column: AdaptableColumn): AdaptablePredicateDef;
|
|
132
|
-
/**
|
|
133
|
-
* @deprecated use `clearColumnFilterForColumn()` instead
|
|
134
|
-
*/
|
|
135
|
-
clearColumnFilterByColumn(columnId: string): void;
|
|
136
|
-
/**
|
|
137
|
-
* @deprecated use `clearColumnFiltersForColumns()` instead
|
|
138
|
-
*/
|
|
139
|
-
clearColumnFilterByColumns(columns: string[]): void;
|
|
140
|
-
/**
|
|
141
|
-
* @deprecated use `setColumnFilters()` instead
|
|
142
|
-
*/
|
|
143
|
-
setColumnFilter(columnFilters: ColumnFilter[]): ColumnFilter[] | null;
|
|
144
|
-
/**
|
|
145
|
-
* @deprecated use `clearAndSetColumnFilters()` instead
|
|
146
|
-
*/
|
|
147
|
-
clearAndSetColumnFilter(columnFilters: ColumnFilter[]): void;
|
|
148
|
-
/**
|
|
149
|
-
* @deprecated use `getColumnFilterForColumn()` instead
|
|
150
|
-
*/
|
|
151
|
-
getAllColumnFilterForColumn(columnId: string): ColumnFilter[];
|
|
152
|
-
/**
|
|
153
|
-
* @deprecated use `getColumnFilterForColumn()` instead
|
|
154
|
-
*/
|
|
155
|
-
getColumnFilter(columnId: string): ColumnFilter | undefined;
|
|
156
|
-
/**
|
|
157
|
-
* @deprecated internal method, will be removed in next major release
|
|
158
|
-
*/
|
|
159
|
-
createValuesColumnFilterForCells(gridCells: GridCell[]): ColumnFilter | null;
|
|
160
|
-
/**
|
|
161
|
-
* @deprecated internal method, will be removed in next major release
|
|
162
|
-
*/
|
|
163
|
-
createEqualityColumnFilterForCell(gridCell: GridCell): ColumnFilter | null;
|
|
164
|
-
/**
|
|
165
|
-
* @deprecated internal method, will be removed in next major release
|
|
166
|
-
*/
|
|
167
|
-
evaluateColumnFilter(columnFilter: ColumnFilter, node: IRowNode): boolean;
|
|
168
|
-
/**
|
|
169
|
-
* @deprecated internal method, will be removed in next major release
|
|
170
|
-
*/
|
|
171
|
-
shouldNewColumnFilterTriggerGridFiltering(action: LayoutColumnFilterAction | Redux.Action): boolean;
|
|
172
|
-
/**
|
|
173
|
-
* @deprecated internal method, will be removed in next major release
|
|
174
|
-
*/
|
|
175
|
-
fireFilterAppliedEvent(): void;
|
|
176
|
-
/**
|
|
177
|
-
* @deprecated internal method, will be removed in next major release
|
|
178
|
-
*/
|
|
179
|
-
areColumnFiltersDifferent(filters1: ColumnFilter[], filters2: ColumnFilter[]): boolean;
|
|
180
122
|
}
|
|
@@ -97,19 +97,4 @@ export interface FlashingCellApi {
|
|
|
97
97
|
* @param flashingCellLookupCriteria lookup criteria
|
|
98
98
|
*/
|
|
99
99
|
findFlashingCellDefinitions(flashingCellLookupCriteria: AdaptableObjectLookupCriteria): FlashingCellDefinition[];
|
|
100
|
-
/**
|
|
101
|
-
* TO BE REMOVED
|
|
102
|
-
*/
|
|
103
|
-
/**
|
|
104
|
-
* @deprecated internal method, will be removed in next major release
|
|
105
|
-
*/
|
|
106
|
-
mergeFlashingCellDefinitionWithDefaults(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
|
|
107
|
-
/**
|
|
108
|
-
* @deprecated use `clearAllFlashingCells()` instead
|
|
109
|
-
*/
|
|
110
|
-
clearGridFlashing(): void;
|
|
111
|
-
/**
|
|
112
|
-
* @deprecated use `isAnyFlashingCellActive()` instead
|
|
113
|
-
*/
|
|
114
|
-
areCellsCurrentlyFlashed(): boolean;
|
|
115
100
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FormatColumn, FormatColumnState } from '../PredefinedConfig/FormatColumnState';
|
|
2
|
-
import { AdaptableColumn,
|
|
3
|
-
import { IRowNode } from '@ag-grid-community/core';
|
|
2
|
+
import { AdaptableColumn, AdaptableObjectLookupCriteria } from '../types';
|
|
4
3
|
/**
|
|
5
4
|
* Provides run-time access to the Format Column Module and associated state
|
|
6
5
|
*/
|
|
@@ -111,93 +110,4 @@ export interface FormatColumnApi {
|
|
|
111
110
|
* @param flashingCellLookupCriteria lookup criteria
|
|
112
111
|
*/
|
|
113
112
|
findFormatColumns(formatColumnLookupCriteria: AdaptableObjectLookupCriteria): FormatColumn[];
|
|
114
|
-
/**
|
|
115
|
-
* TO BE REMOVED
|
|
116
|
-
*/
|
|
117
|
-
/**
|
|
118
|
-
* @deprecated use `getFormatColumns()` instead
|
|
119
|
-
*/
|
|
120
|
-
getAllFormatColumn(config?: {
|
|
121
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
122
|
-
}): FormatColumn[];
|
|
123
|
-
/**
|
|
124
|
-
* @deprecated use `getActiveFormatColumns()` instead
|
|
125
|
-
*/
|
|
126
|
-
getAllActiveFormatColumn(): FormatColumn[];
|
|
127
|
-
/**
|
|
128
|
-
* @deprecated use `getSuspendedFormatColumns()` instead
|
|
129
|
-
*/
|
|
130
|
-
getAllSuspendedFormatColumn(): FormatColumn[];
|
|
131
|
-
/**
|
|
132
|
-
* @deprecated internal method, will be removed in next major release
|
|
133
|
-
*/
|
|
134
|
-
getAllFormatColumnWithStyle(): FormatColumn[];
|
|
135
|
-
/**
|
|
136
|
-
* @deprecated internal method, will be removed in next major release
|
|
137
|
-
*/
|
|
138
|
-
getAllFormatColumnWithStyleAndCellAlignment(): FormatColumn[];
|
|
139
|
-
/**
|
|
140
|
-
* @deprecated internal method, will be removed in next major release
|
|
141
|
-
*/
|
|
142
|
-
getAllFormatColumnWithDisplayFormat(): FormatColumn[];
|
|
143
|
-
/**
|
|
144
|
-
* @deprecated internal method, will be removed in next major release
|
|
145
|
-
*/
|
|
146
|
-
getAllFormatColumnWithCellAlignment(): FormatColumn[];
|
|
147
|
-
/**
|
|
148
|
-
* @deprecated use `openFormatColumnSettingsPanel()` instead
|
|
149
|
-
*/
|
|
150
|
-
showFormatColumnPopup(): void;
|
|
151
|
-
/**
|
|
152
|
-
* @deprecated internal method, will be removed in next major release
|
|
153
|
-
*/
|
|
154
|
-
getFormatColumnsWithStyleForColumn(column: AdaptableColumn, config?: {
|
|
155
|
-
includeSuspended?: boolean;
|
|
156
|
-
}): FormatColumn[];
|
|
157
|
-
/**
|
|
158
|
-
* @deprecated internal method, will be removed in next major release
|
|
159
|
-
*/
|
|
160
|
-
getFormatColumnWithStyleClassNameForColumn(column: AdaptableColumn, config?: {
|
|
161
|
-
includeSuspended?: boolean;
|
|
162
|
-
}): FormatColumn[];
|
|
163
|
-
/**
|
|
164
|
-
* @deprecated internal method, will be removed in next major release
|
|
165
|
-
*/
|
|
166
|
-
getFormatColumnsWithDisplayFormatForColumn(column: AdaptableColumn, config?: {
|
|
167
|
-
includeSuspended?: boolean;
|
|
168
|
-
}): FormatColumn[];
|
|
169
|
-
/**
|
|
170
|
-
* @deprecated internal method, will be removed in next major release
|
|
171
|
-
*/
|
|
172
|
-
getNumberFormattedValue(value: any, node: IRowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): any;
|
|
173
|
-
/**
|
|
174
|
-
* @deprecated internal method, will be removed in next major release
|
|
175
|
-
*/
|
|
176
|
-
getStringFormattedValue(value: any, node: IRowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): string;
|
|
177
|
-
/**
|
|
178
|
-
* @deprecated internal method, will be removed in next major release
|
|
179
|
-
*/
|
|
180
|
-
getDateFormattedValue(value: any, node: IRowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): string;
|
|
181
|
-
/**
|
|
182
|
-
* @deprecated internal method, will be removed in next major release
|
|
183
|
-
*/
|
|
184
|
-
getFormatColumnDefsForScope(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
185
|
-
/**
|
|
186
|
-
* @deprecated internal method, will be removed in next major release
|
|
187
|
-
*/
|
|
188
|
-
isFormatColumnRelevantForColumn(formatColumn: FormatColumn, column: AdaptableColumn, params: {
|
|
189
|
-
node: IRowNode;
|
|
190
|
-
value: any;
|
|
191
|
-
}): boolean;
|
|
192
|
-
/**
|
|
193
|
-
* @deprecated internal method, will be removed in next major release
|
|
194
|
-
*/
|
|
195
|
-
getFormatColumnsRelevantForColumn(formatColumns: FormatColumn[], column: AdaptableColumn, params: {
|
|
196
|
-
node: IRowNode;
|
|
197
|
-
value: any;
|
|
198
|
-
}): FormatColumn[];
|
|
199
|
-
/**
|
|
200
|
-
* @deprecated internal method, will be removed in next major release
|
|
201
|
-
*/
|
|
202
|
-
getFormatColumnsWithExpression(): FormatColumn[] | undefined;
|
|
203
113
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue } from '../PredefinedConfig/FreeTextColumnState';
|
|
2
|
-
import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
|
|
3
2
|
import { IRowNode } from '@ag-grid-community/core';
|
|
4
3
|
/**
|
|
5
4
|
* Provides run-time access to FreeTextColumn Module and associated state
|
|
@@ -57,13 +56,6 @@ export interface FreeTextColumnApi {
|
|
|
57
56
|
* @param replaceAction Function Behaviour: 'All' replaces ALL existing Stored Values; 'Conflicting' adds all stored values and replaces those which clash; 'None' only adds where no existing
|
|
58
57
|
*/
|
|
59
58
|
setStoredValues(columnId: string, storedValues: FreeTextStoredValue[], replaceAction: 'All' | 'Conflicting' | 'None'): void;
|
|
60
|
-
/**
|
|
61
|
-
* Adds Stored Values to Existing FreeTextColumn
|
|
62
|
-
* @param columnId Free Text Column to which to add Stored Values
|
|
63
|
-
* @param storedValues Stored Values to Add
|
|
64
|
-
* @param replaceAction Function Behaviour: 'All' replaces ALL existing Stored Values; 'Conflicting' adds all stored values and replaces those which clash; 'None' only adds where no existing
|
|
65
|
-
*/
|
|
66
|
-
addStoredValuesToFreeTextColumn(columnId: string, storedValues: FreeTextStoredValue[], replaceAction: 'All' | 'Conflicting' | 'None'): void;
|
|
67
59
|
/**
|
|
68
60
|
* Retrieves a Free Text Column value for a given row node
|
|
69
61
|
* @param freeTextColumn column to lookup
|
|
@@ -74,35 +66,4 @@ export interface FreeTextColumnApi {
|
|
|
74
66
|
* Opens Settings Panel with Free Text Column section selected and visible
|
|
75
67
|
*/
|
|
76
68
|
openFreeTextColumnSettingsPanel(): void;
|
|
77
|
-
/**
|
|
78
|
-
* TO BE REMOVED
|
|
79
|
-
*/
|
|
80
|
-
/**
|
|
81
|
-
* @deprecated use `getFreeTextColumns()` instead
|
|
82
|
-
*/
|
|
83
|
-
getAllFreeTextColumn(): FreeTextColumn[];
|
|
84
|
-
/**
|
|
85
|
-
* @deprecated use `setStoredValue()` instead
|
|
86
|
-
*/
|
|
87
|
-
addEditFreeTextColumnStoredValue(freeTextColumn: FreeTextColumn, storedValue: FreeTextStoredValue): FreeTextColumn;
|
|
88
|
-
/**
|
|
89
|
-
* @deprecated use `setStoredValues()` instead
|
|
90
|
-
*/
|
|
91
|
-
addStoredValuesToFreeTextColumn(columnId: string, storedValues: FreeTextStoredValue[], replaceAction: 'All' | 'Conflicting' | 'None'): void;
|
|
92
|
-
/**
|
|
93
|
-
* @deprecated use `getFreeTextColumnValueForRowNode()` instead
|
|
94
|
-
*/
|
|
95
|
-
getFreeTextColumnValueFromRowNode(freeTextColumn: FreeTextColumn, rowNode: IRowNode): any;
|
|
96
|
-
/**
|
|
97
|
-
* @deprecated internal method, will be removed in next major release
|
|
98
|
-
*/
|
|
99
|
-
checkFreeTextColumnForDataChange(cellDataChangedInfo: CellDataChangedInfo): void;
|
|
100
|
-
/**
|
|
101
|
-
* @deprecated internal method, will be removed in next major release
|
|
102
|
-
*/
|
|
103
|
-
getFreeTextColumnModuleReferences(freeTextColumn: FreeTextColumn): string[];
|
|
104
|
-
/**
|
|
105
|
-
* @deprecated use `openFreeTextColumnSettingsPanel()` instead
|
|
106
|
-
*/
|
|
107
|
-
showFreeTextColumnPopup(): void;
|
|
108
69
|
}
|
package/src/Api/GridApi.d.ts
CHANGED
|
@@ -38,10 +38,6 @@ export interface GridApi {
|
|
|
38
38
|
* @param data any data from any datasource that is suitable for AG Grid
|
|
39
39
|
*/
|
|
40
40
|
setInitialGridData(data: any): void;
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated
|
|
43
|
-
*/
|
|
44
|
-
loadGridData(data: any): void;
|
|
45
41
|
/**
|
|
46
42
|
* Updates Adaptable (and AG Grid) with rows that have changed
|
|
47
43
|
* @param dataRows rows which have been updated - send whole row and Adaptable will take care of the rest
|
|
@@ -286,9 +282,29 @@ export interface GridApi {
|
|
|
286
282
|
* @param columnId ColumnId to lookup
|
|
287
283
|
*/
|
|
288
284
|
getRawValueFromRowNode(rowNode: IRowNode, columnId: string): any | undefined;
|
|
285
|
+
/**
|
|
286
|
+
* Returns all the Grid Cells in a Column that have the given Raw Value
|
|
287
|
+
* @param columnId ColumnId to lookup
|
|
288
|
+
* @param rawValue Raw Value to use
|
|
289
|
+
*/
|
|
289
290
|
getGridCellsForRawValue(columnId: string, rawValue: any): GridCell[] | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* Gets the count of the cells in a Column that have the given Raw Value
|
|
293
|
+
* @param columnId ColumnId to lookup
|
|
294
|
+
* @param rawValue Raw Value to use
|
|
295
|
+
*/
|
|
290
296
|
getCellRawValueCount(columnId: string, rawValue: any): number;
|
|
297
|
+
/**
|
|
298
|
+
* Returns all the Grid Cells in a Column that have the given Display Value
|
|
299
|
+
* @param columnId ColumnId to lookup
|
|
300
|
+
* @param displayValue Display Value to use
|
|
301
|
+
*/
|
|
291
302
|
getGridCellsForDisplayValue(columnId: string, displayValue: any): GridCell[] | undefined;
|
|
303
|
+
/**
|
|
304
|
+
* Gets the count of the cells in a Column that have the given Display Value
|
|
305
|
+
* @param columnId ColumnId to lookup
|
|
306
|
+
* @param displayValue Display Value to use
|
|
307
|
+
*/
|
|
292
308
|
getCellDisplayValueCount(columnId: string, displayValue: any): number;
|
|
293
309
|
/**
|
|
294
310
|
* Retrieves Formatted Value for a given Raw Value in given Column
|
|
@@ -499,31 +515,4 @@ export interface GridApi {
|
|
|
499
515
|
* Returns the current AG Grid Row Model Type
|
|
500
516
|
*/
|
|
501
517
|
getRowModelType(): RowModelType;
|
|
502
|
-
/**
|
|
503
|
-
* TO BE REMOVED
|
|
504
|
-
*/
|
|
505
|
-
/**
|
|
506
|
-
* @deprecated use `collapseAllRowGroups()` instead
|
|
507
|
-
*/
|
|
508
|
-
closeAllRowGroups(): void;
|
|
509
|
-
/**
|
|
510
|
-
* @deprecated internal method, will be removed in next major release
|
|
511
|
-
*/
|
|
512
|
-
fireGridSortedEvent(): void;
|
|
513
|
-
/**
|
|
514
|
-
* @deprecated internal method, will be removed in next major release
|
|
515
|
-
*/
|
|
516
|
-
fireCellChangedEvent(cellChangedInfo: CellDataChangedInfo): void;
|
|
517
|
-
/**
|
|
518
|
-
* @deprecated internal method, will be removed in next major release
|
|
519
|
-
*/
|
|
520
|
-
fireGridDataChangedEvent(dataRows: any[], rowNodes: IRowNode[], rowTrigger: 'Add' | 'Edit' | 'Delete'): void;
|
|
521
|
-
/**
|
|
522
|
-
* @deprecated use `openGridInfoSettingsPanel()` instead
|
|
523
|
-
*/
|
|
524
|
-
showGridInfoPopup(): void;
|
|
525
|
-
/**
|
|
526
|
-
* @deprecated use `isEveryCellEditable()` instead
|
|
527
|
-
*/
|
|
528
|
-
areCellsEditable(gridCells: GridCell[]): boolean;
|
|
529
518
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ActionColumn, ActionColumnApi } from '../../../types';
|
|
2
|
+
import { ApiBase } from './ApiBase';
|
|
3
|
+
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
4
|
+
export declare class ActionColumnApiImpl extends ApiBase implements ActionColumnApi {
|
|
5
|
+
constructor(adaptable: IAdaptable);
|
|
6
|
+
getActionColumns(): ActionColumn[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActionColumnApiImpl = void 0;
|
|
4
|
+
const ApiBase_1 = require("./ApiBase");
|
|
5
|
+
class ActionColumnApiImpl extends ApiBase_1.ApiBase {
|
|
6
|
+
constructor(adaptable) {
|
|
7
|
+
super(adaptable);
|
|
8
|
+
}
|
|
9
|
+
getActionColumns() {
|
|
10
|
+
var _a;
|
|
11
|
+
return (_a = this.getActionColumnOptions().actionColumns) !== null && _a !== void 0 ? _a : [];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.ActionColumnApiImpl = ActionColumnApiImpl;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ActionRowApi, ActionRowButtonType } from '../../../types';
|
|
2
|
+
import { ApiBase } from './ApiBase';
|
|
3
|
+
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
4
|
+
import { ActionRowInternalApi } from '../Internal/ActionRowInternalApi';
|
|
5
|
+
export declare class ActionRowApiImpl extends ApiBase implements ActionRowApi {
|
|
6
|
+
internalApi: ActionRowInternalApi;
|
|
7
|
+
constructor(adaptable: IAdaptable);
|
|
8
|
+
getActionRowButtons(): ActionRowButtonType[];
|
|
9
|
+
displayEditActionRow(primaryKey: any): void;
|
|
10
|
+
displayCreateActionRow(): void;
|
|
11
|
+
displayCloneActionRow(primaryKey?: any): void;
|
|
12
|
+
}
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ActionRowApiImpl = void 0;
|
|
4
4
|
const PopupRedux_1 = require("../../Redux/ActionsReducers/PopupRedux");
|
|
5
5
|
const ApiBase_1 = require("./ApiBase");
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
class ActionApiImpl extends ApiBase_1.ApiBase {
|
|
6
|
+
const ActionRowInternalApi_1 = require("../Internal/ActionRowInternalApi");
|
|
7
|
+
class ActionRowApiImpl extends ApiBase_1.ApiBase {
|
|
9
8
|
constructor(adaptable) {
|
|
10
9
|
super(adaptable);
|
|
11
|
-
this.internalApi = new
|
|
12
|
-
}
|
|
13
|
-
getActionColumns() {
|
|
14
|
-
var _a;
|
|
15
|
-
return (_a = this.getActionOptions().actionColumns) !== null && _a !== void 0 ? _a : [];
|
|
10
|
+
this.internalApi = new ActionRowInternalApi_1.ActionRowInternalApi(adaptable);
|
|
16
11
|
}
|
|
17
12
|
getActionRowButtons() {
|
|
18
|
-
const actionRowButtons = this.
|
|
13
|
+
const actionRowButtons = this.getActionRowOptions().actionRowButtons;
|
|
19
14
|
return typeof actionRowButtons === 'function'
|
|
20
15
|
? actionRowButtons({
|
|
21
16
|
adaptableApi: this.getAdaptableApi(),
|
|
17
|
+
userName: this.getOptions().userName,
|
|
18
|
+
adaptableId: this.getOptions().adaptableId,
|
|
22
19
|
})
|
|
23
20
|
: actionRowButtons !== null && actionRowButtons !== void 0 ? actionRowButtons : [];
|
|
24
21
|
}
|
|
@@ -59,9 +56,5 @@ class ActionApiImpl extends ApiBase_1.ApiBase {
|
|
|
59
56
|
},
|
|
60
57
|
}));
|
|
61
58
|
}
|
|
62
|
-
getAllActionColumn() {
|
|
63
|
-
(0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ActionApi', 'getAllActionColumn', 'getActionColumns');
|
|
64
|
-
return this.getActionColumns();
|
|
65
|
-
}
|
|
66
59
|
}
|
|
67
|
-
exports.
|
|
60
|
+
exports.ActionRowApiImpl = ActionRowApiImpl;
|
|
@@ -29,7 +29,7 @@ import { ThemeApi } from '../ThemeApi';
|
|
|
29
29
|
import { GridApi } from '../GridApi';
|
|
30
30
|
import { ScheduleApi } from '../ScheduleApi';
|
|
31
31
|
import { QueryApi } from '../QueryApi';
|
|
32
|
-
import {
|
|
32
|
+
import { ExpressionApi } from '../ExpressionApi';
|
|
33
33
|
import { TeamSharingApi } from '../TeamSharingApi';
|
|
34
34
|
import { ColumnApi } from '../ColumnApi';
|
|
35
35
|
import { ApplicationApi } from '../ApplicationApi';
|
|
@@ -39,13 +39,15 @@ import { DataChangeHistoryApi } from '../DataChangeHistoryApi';
|
|
|
39
39
|
import { FlashingCellApi } from '../FlashingCellApi';
|
|
40
40
|
import { ChartingApi } from '../ChartingApi';
|
|
41
41
|
import { StatusBarApi } from '../StatusBarApi';
|
|
42
|
-
import { ActionApi } from '../../../types';
|
|
43
42
|
import { StyledColumnApi } from '../StyledColumnApi';
|
|
43
|
+
import { ActionColumnApi } from '../ActionColumnApi';
|
|
44
|
+
import { ActionRowApi } from '../ActionRowApi';
|
|
44
45
|
export declare class AdaptableApiImpl implements AdaptableApi {
|
|
45
46
|
protected adaptable: IAdaptable;
|
|
46
47
|
internalApi: AdaptableInternalApi;
|
|
47
48
|
optionsApi: OptionsApi;
|
|
48
|
-
|
|
49
|
+
actionColumnApi: ActionColumnApi;
|
|
50
|
+
actionRowApi: ActionRowApi;
|
|
49
51
|
applicationApi: ApplicationApi;
|
|
50
52
|
alertApi: AlertApi;
|
|
51
53
|
flashingCellApi: FlashingCellApi;
|
|
@@ -77,7 +79,7 @@ export declare class AdaptableApiImpl implements AdaptableApi {
|
|
|
77
79
|
themeApi: ThemeApi;
|
|
78
80
|
userInterfaceApi: UserInterfaceApi;
|
|
79
81
|
queryApi: QueryApi;
|
|
80
|
-
|
|
82
|
+
expressionApi: ExpressionApi;
|
|
81
83
|
settingsPanelApi: SettingsPanelApi;
|
|
82
84
|
styledColumnApi: StyledColumnApi;
|
|
83
85
|
toolPanelApi: ToolPanelApi;
|
|
@@ -35,11 +35,12 @@ const ColumnApiImpl_1 = require("./ColumnApiImpl");
|
|
|
35
35
|
const ApplicationApiImpl_1 = require("./ApplicationApiImpl");
|
|
36
36
|
const ScopeApiImpl_1 = require("./ScopeApiImpl");
|
|
37
37
|
const DataChangeHistoryApiImpl_1 = require("./DataChangeHistoryApiImpl");
|
|
38
|
-
const
|
|
38
|
+
const ExpressionApiImpl_1 = require("./ExpressionApiImpl");
|
|
39
39
|
const FlashingCellApiImpl_1 = require("./FlashingCellApiImpl");
|
|
40
40
|
const ChartingApiImpl_1 = require("./ChartingApiImpl");
|
|
41
41
|
const SettingsPanelApiImpl_1 = require("./SettingsPanelApiImpl");
|
|
42
|
-
const
|
|
42
|
+
const ActionColumnApiImpl_1 = require("./ActionColumnApiImpl");
|
|
43
|
+
const ActionRowApiImpl_1 = require("./ActionRowApiImpl");
|
|
43
44
|
const StyledColumnApiImpl_1 = require("./StyledColumnApiImpl");
|
|
44
45
|
const CalendarApiImpl_1 = require("./CalendarApiImpl");
|
|
45
46
|
const EntitlementApiImpl_1 = require("./EntitlementApiImpl");
|
|
@@ -50,7 +51,8 @@ class AdaptableApiImpl {
|
|
|
50
51
|
this.destroyed = false;
|
|
51
52
|
this.adaptable = adaptable;
|
|
52
53
|
this.optionsApi = new OptionsApiImpl_1.OptionsApiImpl(adaptable);
|
|
53
|
-
this.
|
|
54
|
+
this.actionColumnApi = new ActionColumnApiImpl_1.ActionColumnApiImpl(adaptable);
|
|
55
|
+
this.actionRowApi = new ActionRowApiImpl_1.ActionRowApiImpl(adaptable);
|
|
54
56
|
this.applicationApi = new ApplicationApiImpl_1.ApplicationApiImpl(adaptable);
|
|
55
57
|
this.alertApi = new AlertApiImpl_1.AlertApiImpl(adaptable);
|
|
56
58
|
this.flashingCellApi = new FlashingCellApiImpl_1.FlashingCellApiImpl(adaptable);
|
|
@@ -83,7 +85,7 @@ class AdaptableApiImpl {
|
|
|
83
85
|
this.themeApi = new ThemeApiImpl_1.ThemeApiImpl(adaptable);
|
|
84
86
|
this.userInterfaceApi = new UserInterfaceApiImpl_1.UserInterfaceApiImpl(adaptable);
|
|
85
87
|
this.queryApi = new QueryApiImpl_1.QueryApiImpl(adaptable);
|
|
86
|
-
this.
|
|
88
|
+
this.expressionApi = new ExpressionApiImpl_1.ExpressionApiImpl(adaptable);
|
|
87
89
|
this.styledColumnApi = new StyledColumnApiImpl_1.StyledColumnApiImpl(adaptable);
|
|
88
90
|
this.toolPanelApi = new ToolPanelApiImpl_1.ToolPanelApiImpl(adaptable);
|
|
89
91
|
this.teamSharingApi = new TeamSharingApiImpl_1.TeamSharingApiImpl(adaptable);
|
|
@@ -129,7 +131,7 @@ class AdaptableApiImpl {
|
|
|
129
131
|
this.plusMinusApi = null;
|
|
130
132
|
this.predicateApi = null;
|
|
131
133
|
this.queryApi = null;
|
|
132
|
-
this.
|
|
134
|
+
this.expressionApi = null;
|
|
133
135
|
this.quickSearchApi = null;
|
|
134
136
|
this.scheduleApi = null;
|
|
135
137
|
this.scopeApi = null;
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
|
|
2
2
|
import { AlertApi } from '../AlertApi';
|
|
3
|
-
import {
|
|
4
|
-
import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
|
|
5
|
-
import { AdaptableScope } from '../../PredefinedConfig/Common/AdaptableScope';
|
|
6
|
-
import { AdaptablePredicateDef } from '../../PredefinedConfig/Common/AdaptablePredicate';
|
|
3
|
+
import { AlertDefinition, AlertProperties, AlertState } from '../../PredefinedConfig/AlertState';
|
|
7
4
|
import { AdaptableAlert } from '../../PredefinedConfig/Common/AdaptableAlert';
|
|
8
|
-
import { AdaptableFormData } from '../../PredefinedConfig/Common/AdaptableForm';
|
|
9
|
-
import { AlertFormContext } from '../../AdaptableOptions/AlertOptions';
|
|
10
5
|
import { AdaptableMessageType } from '../../PredefinedConfig/Common/AdaptableMessageType';
|
|
11
|
-
import { GridDataChangedInfo } from '../Events/GridDataChanged';
|
|
12
6
|
import { AdaptableObjectLookupCriteria } from '../../PredefinedConfig/Common/AdaptableObject';
|
|
13
7
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
14
8
|
import { AlertInternalApi } from '../Internal/AlertInternalApi';
|
|
@@ -26,9 +20,7 @@ export declare class AlertApiImpl extends ApiBase implements AlertApi {
|
|
|
26
20
|
deleteAlertDefinition(alertDefinition: AlertDefinition): void;
|
|
27
21
|
getAlertDefinitionById(id: AlertDefinition['Uuid']): AlertDefinition;
|
|
28
22
|
addAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
|
|
29
|
-
displayAlert(alertToShow: AdaptableAlert): Promise<void>;
|
|
30
23
|
showAdaptableAlert(alertToShow: AdaptableAlert): Promise<void>;
|
|
31
|
-
displayMessageAlertPopup(alertToDisplayAsPopup: AdaptableAlert): void;
|
|
32
24
|
showAdaptableAlertAsToast(alert: AdaptableAlert): void;
|
|
33
25
|
showAlert(alertHeader: string, alertMessage: string, messageType: AdaptableMessageType, alertProperties?: AlertProperties): Promise<void>;
|
|
34
26
|
showAlertInfo(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): Promise<void>;
|
|
@@ -36,7 +28,6 @@ export declare class AlertApiImpl extends ApiBase implements AlertApi {
|
|
|
36
28
|
showAlertWarning(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): Promise<void>;
|
|
37
29
|
showAlertError(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): Promise<void>;
|
|
38
30
|
openAlertSettingsPanel(): void;
|
|
39
|
-
showAlertPopup(): void;
|
|
40
31
|
editAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
|
|
41
32
|
suspendAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
|
|
42
33
|
unSuspendAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
|
|
@@ -44,37 +35,4 @@ export declare class AlertApiImpl extends ApiBase implements AlertApi {
|
|
|
44
35
|
findAlertDefinitions(criteria: AdaptableObjectLookupCriteria): AlertDefinition[];
|
|
45
36
|
private getRelevantColumnIdsForAlertDefinition;
|
|
46
37
|
private createCellDataChangeInfoStubs;
|
|
47
|
-
/**
|
|
48
|
-
* DEPRECATED INTERNAL METHODS
|
|
49
|
-
*/
|
|
50
|
-
executeAlertAction(actionName: AdaptableAlertAction | string, details: {
|
|
51
|
-
alertDefinition: AlertDefinition;
|
|
52
|
-
cellDataChangedInfo?: CellDataChangedInfo;
|
|
53
|
-
gridDataChangedInfo?: GridDataChangedInfo;
|
|
54
|
-
formData?: AdaptableFormData;
|
|
55
|
-
}): void;
|
|
56
|
-
executeAlertButton(button: AlertButton<AlertFormContext>, context: AlertFormContext): void;
|
|
57
|
-
getActiveNonReactiveAlertDefinitions(): AlertDefinition[];
|
|
58
|
-
getActiveReactiveAlertDefinitions(): AlertDefinition[];
|
|
59
|
-
getAlertDefinitionsWithAllowEdit(): AlertDefinition[];
|
|
60
|
-
getAlertDefinitionsWithPreventEdit(): AlertDefinition[];
|
|
61
|
-
getAlertDescription(alertDefinition: AlertDefinition, cellDataChangedInfo?: CellDataChangedInfo): string;
|
|
62
|
-
getAlertMessageHeader(alertDefinition: AlertDefinition, cellDataChangedInfo?: CellDataChangedInfo): string;
|
|
63
|
-
getAlertPredicateDefsForScope(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
64
|
-
getAlertRuleDescription(alertDefinition: AlertDefinition): string;
|
|
65
|
-
getAlertTypeForAdaptableAlert(alert: AdaptableAlert): 'cellChanged' | 'rowChanged' | 'generic';
|
|
66
|
-
getCustomAlertDescription(alertDefinition: AlertDefinition, dataChangedInfo?: {
|
|
67
|
-
cellDataChangedInfo?: CellDataChangedInfo;
|
|
68
|
-
gridDataChangedInfo?: GridDataChangedInfo;
|
|
69
|
-
}): string;
|
|
70
|
-
getCustomAlertMessageHeader(alertDefinition: AlertDefinition, dataChangedInfo?: {
|
|
71
|
-
cellDataChangedInfo?: CellDataChangedInfo;
|
|
72
|
-
gridDataChangedInfo?: GridDataChangedInfo;
|
|
73
|
-
}): string;
|
|
74
|
-
getNonReactiveAlertDefinitions(): AlertDefinition[];
|
|
75
|
-
getReactiveAlertDefinitions(): AlertDefinition[];
|
|
76
|
-
isCellChangedAdaptableAlert(alert: AdaptableAlert): boolean;
|
|
77
|
-
isGenericAdaptableAlert(alert: AdaptableAlert): boolean;
|
|
78
|
-
isRowChangedAdaptableAlert(alert: AdaptableAlert): boolean;
|
|
79
|
-
publishAlertFiredEvent(alertToFire: AdaptableAlert): void;
|
|
80
38
|
}
|