@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/LayoutApi.d.ts
CHANGED
|
@@ -9,11 +9,10 @@ export interface LayoutApi {
|
|
|
9
9
|
*/
|
|
10
10
|
getLayoutState(): LayoutState;
|
|
11
11
|
/**
|
|
12
|
-
* Whether
|
|
13
|
-
* @
|
|
14
|
-
* @returns layout
|
|
12
|
+
* Whether Layouts are auto saved (based on Layout Options)
|
|
13
|
+
* @returns boolean
|
|
15
14
|
*/
|
|
16
|
-
|
|
15
|
+
shouldAutoSaveLayouts(): boolean;
|
|
17
16
|
/**
|
|
18
17
|
* Sets (i.e. selects) the Layout
|
|
19
18
|
* @param layoutName Layout to set (has to be name of existing Layout)
|
|
@@ -175,27 +174,4 @@ export interface LayoutApi {
|
|
|
175
174
|
ColumnFilters: boolean;
|
|
176
175
|
ColumnSorts: boolean;
|
|
177
176
|
};
|
|
178
|
-
/**
|
|
179
|
-
* TO BE REMOVED
|
|
180
|
-
*/
|
|
181
|
-
/**
|
|
182
|
-
* @deprecated use `getLayouts()` instead
|
|
183
|
-
*/
|
|
184
|
-
getAllLayout(): Layout[];
|
|
185
|
-
/**
|
|
186
|
-
* @deprecated internal method, will be removed in next major release
|
|
187
|
-
*/
|
|
188
|
-
fireLayoutChangedEvent(trigger: string, oldSate: LayoutState, newState: LayoutState, skipEqualityCheck?: boolean): void;
|
|
189
|
-
/**
|
|
190
|
-
* @deprecated internal method, will be removed in next major release
|
|
191
|
-
*/
|
|
192
|
-
areLayoutsEqual(layout1: Layout, layout2: Layout): boolean;
|
|
193
|
-
/**
|
|
194
|
-
* @deprecated internal method, will be removed in next major release
|
|
195
|
-
*/
|
|
196
|
-
createDefaultLayoutIfNeeded(): Layout | null;
|
|
197
|
-
/**
|
|
198
|
-
* @deprecated use `openLayoutSettingsPanel()` instead
|
|
199
|
-
*/
|
|
200
|
-
showLayoutPopup(): void;
|
|
201
177
|
}
|
package/src/Api/OptionsApi.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CustomSortOptions } from '../AdaptableOptions/CustomSortOptions';
|
|
2
|
+
import { DataSetOptions } from '../AdaptableOptions/DataSetOptions';
|
|
3
|
+
import { GroupingOptions } from '../AdaptableOptions/GroupingOptions';
|
|
4
|
+
import { ActionColumnOptions, ActionRowOptions, AdaptableOptions, AdaptableQLOptions, AlertOptions, CalendarOptions, CellSummaryOptions, ChartingOptions, ColumnOptions, ContainerOptions, DashboardOptions, DataChangeHistoryOptions, EditOptions, EntitlementOptions, ExportOptions, FilterOptions, FlashingCellOptions, LayoutOptions, MenuOptions, NotificationsOptions, SearchOptions, SettingsPanelOptions, StateOptions, TeamSharingOptions, ToolPanelOptions, UserInterfaceOptions } from '../types';
|
|
3
5
|
/**
|
|
4
6
|
* Range of functions to access Adaptable Options
|
|
5
7
|
*/
|
|
@@ -16,10 +18,6 @@ export interface OptionsApi {
|
|
|
16
18
|
* Returns `AdaptableOptions.autogeneratePrimaryKey`
|
|
17
19
|
*/
|
|
18
20
|
getAutogeneratePrimaryKey(): boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Returns `AdaptableOptions.gridOptions`
|
|
21
|
-
*/
|
|
22
|
-
getAgGridOptions(): GridOptions;
|
|
23
21
|
/**
|
|
24
22
|
* Returns `AdaptableOptions.licenseKey`
|
|
25
23
|
*/
|
|
@@ -37,9 +35,13 @@ export interface OptionsApi {
|
|
|
37
35
|
*/
|
|
38
36
|
getAdaptableOptions(): Readonly<AdaptableOptions>;
|
|
39
37
|
/**
|
|
40
|
-
* Returns `AdaptableOptions.
|
|
38
|
+
* Returns `AdaptableOptions.actionColumnOptions`
|
|
39
|
+
*/
|
|
40
|
+
getActionColumnOptions(): Readonly<ActionColumnOptions>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns `AdaptableOptions.actionRowOptions`
|
|
41
43
|
*/
|
|
42
|
-
|
|
44
|
+
getActionRowOptions(): Readonly<ActionRowOptions>;
|
|
43
45
|
/**
|
|
44
46
|
* Returns `AdaptableOptions.alertOptions`
|
|
45
47
|
*/
|
|
@@ -48,6 +50,14 @@ export interface OptionsApi {
|
|
|
48
50
|
* Returns `AdaptableOptions.adaptableQLOptions`
|
|
49
51
|
*/
|
|
50
52
|
getAdaptableQLOptions(): Readonly<AdaptableQLOptions>;
|
|
53
|
+
/**
|
|
54
|
+
* Returns `AdaptableOptions.calendarOptions`
|
|
55
|
+
*/
|
|
56
|
+
getCalendarOptions(): Readonly<CalendarOptions>;
|
|
57
|
+
/**
|
|
58
|
+
* Returns `AdaptableOptions.cellSummaryOptions`
|
|
59
|
+
*/
|
|
60
|
+
getCellSummaryOptions(): Readonly<CellSummaryOptions>;
|
|
51
61
|
/**
|
|
52
62
|
* Returns `AdaptableOptions.chartingOptions`
|
|
53
63
|
*/
|
|
@@ -60,6 +70,10 @@ export interface OptionsApi {
|
|
|
60
70
|
* Returns `AdaptableOptions.columnOptions`
|
|
61
71
|
*/
|
|
62
72
|
getColumnOptions(): Readonly<ColumnOptions>;
|
|
73
|
+
/**
|
|
74
|
+
* Returns `AdaptableOptions.customSortOptions`
|
|
75
|
+
*/
|
|
76
|
+
getCustomSortOptions(): Readonly<CustomSortOptions>;
|
|
63
77
|
/**
|
|
64
78
|
* Returns `AdaptableOptions.dashboardOptions`
|
|
65
79
|
*/
|
|
@@ -68,6 +82,10 @@ export interface OptionsApi {
|
|
|
68
82
|
* Returns `AdaptableOptions.dataChangeHistoryOptions`
|
|
69
83
|
*/
|
|
70
84
|
getDataChangeHistoryOptions(): Readonly<DataChangeHistoryOptions>;
|
|
85
|
+
/**
|
|
86
|
+
* Returns `AdaptableOptions.dataSetOptions`
|
|
87
|
+
*/
|
|
88
|
+
getDataSetOptions(): Readonly<DataSetOptions>;
|
|
71
89
|
/**
|
|
72
90
|
* Returns `AdaptableOptions.editOptions`
|
|
73
91
|
*/
|
|
@@ -89,9 +107,9 @@ export interface OptionsApi {
|
|
|
89
107
|
*/
|
|
90
108
|
getFlashingCellOptions(): Readonly<FlashingCellOptions>;
|
|
91
109
|
/**
|
|
92
|
-
* Returns `AdaptableOptions.
|
|
110
|
+
* Returns `AdaptableOptions.groupingOptions`
|
|
93
111
|
*/
|
|
94
|
-
|
|
112
|
+
getGroupingOptions(): Readonly<GroupingOptions>;
|
|
95
113
|
/**
|
|
96
114
|
* Returns `AdaptableOptions.layoutOptions`
|
|
97
115
|
*/
|
|
@@ -71,11 +71,4 @@ export interface PlusMinusApi {
|
|
|
71
71
|
* @returns plus minus rule
|
|
72
72
|
*/
|
|
73
73
|
unSuspendPlusMinusNudge(plusMinusNudge: PlusMinusNudge): PlusMinusNudge;
|
|
74
|
-
/**
|
|
75
|
-
* TO BE REMOVED
|
|
76
|
-
*/
|
|
77
|
-
/**
|
|
78
|
-
* @deprecated use `openPlusMinusSettingsPanel()` instead
|
|
79
|
-
*/
|
|
80
|
-
showPlusMinusPopup(): void;
|
|
81
74
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdaptableColumnPredicate } from '../../types';
|
|
2
2
|
import { AdaptablePredicateDef, AdaptablePredicate, PredicateDefHandlerParams, PredicateModuleScope } from '../PredefinedConfig/Common/AdaptablePredicate';
|
|
3
3
|
/**
|
|
4
4
|
* Functions which manage the Predicate object in AdapTable
|
|
@@ -81,35 +81,4 @@ export interface PredicateApi {
|
|
|
81
81
|
* @param defaultReturn Whether to return the default
|
|
82
82
|
*/
|
|
83
83
|
handlePredicates(predicates: AdaptablePredicate[], params: Omit<PredicateDefHandlerParams, 'api' | 'inputs'>, defaultReturn: boolean): boolean;
|
|
84
|
-
/**
|
|
85
|
-
* TO BE REMOVED
|
|
86
|
-
*/
|
|
87
|
-
/**
|
|
88
|
-
* @deprecated use `IsEveryPredicateValid()` instead
|
|
89
|
-
*/
|
|
90
|
-
arePredicatesValid(predicates: AdaptablePredicate[]): boolean;
|
|
91
|
-
/**
|
|
92
|
-
* @deprecated internal method, will be removed in next major release
|
|
93
|
-
*/
|
|
94
|
-
hasPredicateValues(predicate: AdaptablePredicate): boolean;
|
|
95
|
-
/**
|
|
96
|
-
* @deprecated internal method, will be removed in next major release
|
|
97
|
-
*/
|
|
98
|
-
getFilterPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
99
|
-
/**
|
|
100
|
-
* @deprecated internal method, will be removed in next major release
|
|
101
|
-
*/
|
|
102
|
-
getAlertPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
103
|
-
/**
|
|
104
|
-
* @deprecated internal method, will be removed in next major release
|
|
105
|
-
*/
|
|
106
|
-
getFormatColumnPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
107
|
-
/**
|
|
108
|
-
* @deprecated internal method, will be removed in next major release
|
|
109
|
-
*/
|
|
110
|
-
getFlashingCellPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
111
|
-
/**
|
|
112
|
-
* @deprecated internal method, will be removed in next major release
|
|
113
|
-
*/
|
|
114
|
-
getEqualityPredicateForDataType(dataType: AdaptableColumnDataType): SystemFilterPredicateId;
|
|
115
84
|
}
|
package/src/Api/QueryApi.d.ts
CHANGED
|
@@ -48,27 +48,4 @@ export interface QueryApi {
|
|
|
48
48
|
* @param query - query to edit
|
|
49
49
|
*/
|
|
50
50
|
expandCurrentQuery(query?: string): void;
|
|
51
|
-
/**
|
|
52
|
-
* TO BE REMOVED
|
|
53
|
-
*/
|
|
54
|
-
/**
|
|
55
|
-
* @deprecated use `getNamedQueries()` instead
|
|
56
|
-
*/
|
|
57
|
-
getAllNamedQuery(): NamedQuery[];
|
|
58
|
-
/**
|
|
59
|
-
* @deprecated internal method, will be removed in next major release
|
|
60
|
-
*/
|
|
61
|
-
getReferencedNamedQueryNames(expression: string): string[];
|
|
62
|
-
/**
|
|
63
|
-
* @deprecated internal method, will be removed in next major release
|
|
64
|
-
*/
|
|
65
|
-
getNamedQueryModuleReferences(namedQueryName: string): string[];
|
|
66
|
-
/**
|
|
67
|
-
* @deprecated use `openQuerySettingsPanel()` instead
|
|
68
|
-
*/
|
|
69
|
-
showQueryPopup(): void;
|
|
70
|
-
/**
|
|
71
|
-
* @deprecated internal method, will be removed in next major release
|
|
72
|
-
*/
|
|
73
|
-
fireQueryRunEvent(): void;
|
|
74
51
|
}
|
|
@@ -30,10 +30,6 @@ export interface QuickSearchApi {
|
|
|
30
30
|
* @param style the style to use
|
|
31
31
|
*/
|
|
32
32
|
setQuickSearchStyle(style: AdaptableStyle): void;
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated use `openQuickSearchSettingsPanel()` instead
|
|
35
|
-
*/
|
|
36
|
-
showQuickSearchPopup(): void;
|
|
37
33
|
/**
|
|
38
34
|
* Opens Settings Panel with Quick Search section selected and visible
|
|
39
35
|
*/
|
package/src/Api/ScheduleApi.d.ts
CHANGED
|
@@ -264,85 +264,4 @@ export interface ScheduleApi {
|
|
|
264
264
|
* Opens Settings Panel with Schedule section selected and visible
|
|
265
265
|
*/
|
|
266
266
|
openScheduleSettingsPanel(): void;
|
|
267
|
-
/**
|
|
268
|
-
* TO BE REMOVED
|
|
269
|
-
*/
|
|
270
|
-
/**
|
|
271
|
-
* @deprecated use `getSchedules()` instead
|
|
272
|
-
*/
|
|
273
|
-
getAllSchedule(): BaseSchedule[];
|
|
274
|
-
/**
|
|
275
|
-
* @deprecated use `getReminderSchedules()` instead
|
|
276
|
-
*/
|
|
277
|
-
getAllReminderSchedule(config?: {
|
|
278
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
279
|
-
}): ReminderSchedule[];
|
|
280
|
-
/**
|
|
281
|
-
* @deprecated use `getActiveReminderSchedules()` instead
|
|
282
|
-
*/
|
|
283
|
-
getAllActiveReminderSchedule(): ReminderSchedule[];
|
|
284
|
-
/**
|
|
285
|
-
* @deprecated use `getSuspendedReminderSchedules()` instead
|
|
286
|
-
*/
|
|
287
|
-
getAllSuspendedReminderSchedule(): ReminderSchedule[];
|
|
288
|
-
/**
|
|
289
|
-
* @deprecated use `getReportSchedules()` instead
|
|
290
|
-
*/
|
|
291
|
-
getAllReportSchedule(config?: {
|
|
292
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
293
|
-
}): ReportSchedule[];
|
|
294
|
-
/**
|
|
295
|
-
* @deprecated use `getActiveReportSchedules()` instead
|
|
296
|
-
*/
|
|
297
|
-
getAllActiveReportSchedule(): ReportSchedule[];
|
|
298
|
-
/**
|
|
299
|
-
* @deprecated use `getSuspendedReportSchedules()` instead
|
|
300
|
-
*/
|
|
301
|
-
getAllSuspendedReportSchedule(): ReportSchedule[];
|
|
302
|
-
/**
|
|
303
|
-
* @deprecated use `getIPushPullSchedules()` instead
|
|
304
|
-
*/
|
|
305
|
-
getAllIPushPullSchedule(config?: {
|
|
306
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
307
|
-
}): IPushPullSchedule[];
|
|
308
|
-
/**
|
|
309
|
-
* @deprecated use `getActiveIPushPullSchedules()` instead
|
|
310
|
-
*/
|
|
311
|
-
getAllActiveIPushPullSchedule(): IPushPullSchedule[];
|
|
312
|
-
/**
|
|
313
|
-
* @deprecated use `getSuspendedIPushPullSchedules()` instead
|
|
314
|
-
*/
|
|
315
|
-
getAllSuspendedIPushPullSchedule(): IPushPullSchedule[];
|
|
316
|
-
/**
|
|
317
|
-
* @deprecated use `getGlue42Schedules()` instead
|
|
318
|
-
*/
|
|
319
|
-
getAllGlue42Schedule(config?: {
|
|
320
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
321
|
-
}): Glue42Schedule[];
|
|
322
|
-
/**
|
|
323
|
-
* @deprecated use `getActiveGlue42Schedules()` instead
|
|
324
|
-
*/
|
|
325
|
-
getAllActiveGlue42Schedule(): Glue42Schedule[];
|
|
326
|
-
/**
|
|
327
|
-
* @deprecated use `getSuspendedGlue42Schedules()` instead
|
|
328
|
-
*/
|
|
329
|
-
getAllSuspendedGlue42Schedule(): Glue42Schedule[];
|
|
330
|
-
/**
|
|
331
|
-
* @deprecated use `getOpenFinSchedules()` instead
|
|
332
|
-
*/
|
|
333
|
-
getAllOpenFinSchedule(config?: {
|
|
334
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
335
|
-
}): OpenFinSchedule[];
|
|
336
|
-
/**
|
|
337
|
-
* @deprecated use `getActiveOpenFinSchedules()` instead
|
|
338
|
-
*/
|
|
339
|
-
getAllActiveOpenFinSchedule(): OpenFinSchedule[];
|
|
340
|
-
/**
|
|
341
|
-
* @deprecated use `getSuspendedOpenFinSchedules()` instead
|
|
342
|
-
*/
|
|
343
|
-
getAllSuspendedOpenFinSchedule(): OpenFinSchedule[];
|
|
344
|
-
/**
|
|
345
|
-
* @deprecated use `openScheduleSettingsPanel()` instead
|
|
346
|
-
*/
|
|
347
|
-
showSchedulePopup(): void;
|
|
348
267
|
}
|
|
@@ -13,15 +13,4 @@ export interface SettingsPanelApi {
|
|
|
13
13
|
* @param name name of Custom Settings Panel to display
|
|
14
14
|
*/
|
|
15
15
|
openCustomSettingsPanel(name: string): void;
|
|
16
|
-
/**
|
|
17
|
-
* TO BE REMOVED
|
|
18
|
-
*/
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated use `openSettingsPanel()` instead
|
|
21
|
-
*/
|
|
22
|
-
showSettingsPanel(moduleName?: AdaptableModule): void;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated use `openCustomSettingsPanel()` instead
|
|
25
|
-
*/
|
|
26
|
-
showCustomSettingsPanel(name: string): void;
|
|
27
16
|
}
|
package/src/Api/ShortcutApi.d.ts
CHANGED
|
@@ -57,29 +57,4 @@ export interface ShortcutApi {
|
|
|
57
57
|
* Opens Settings Panel with Shortcut section selected and visible
|
|
58
58
|
*/
|
|
59
59
|
openShortcutSettingsPanel(): void;
|
|
60
|
-
/**
|
|
61
|
-
* TO BE REMOVED
|
|
62
|
-
*/
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated use `getShortcuts()` instead
|
|
65
|
-
*/
|
|
66
|
-
getAllShortcut(config?: {
|
|
67
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
68
|
-
}): Shortcut[];
|
|
69
|
-
/**
|
|
70
|
-
* @deprecated use `getActiveShortcuts()` instead
|
|
71
|
-
*/
|
|
72
|
-
getAllActiveShortcut(): Shortcut[];
|
|
73
|
-
/**
|
|
74
|
-
* @deprecated use `getSuspendedShortcuts()` instead
|
|
75
|
-
*/
|
|
76
|
-
getAllSuspendedShortcut(): Shortcut[];
|
|
77
|
-
/**
|
|
78
|
-
* @deprecated use `deleteAllShortcuts()` instead
|
|
79
|
-
*/
|
|
80
|
-
deleteAllShortcut(): void;
|
|
81
|
-
/**
|
|
82
|
-
* @deprecated use `openShortcutSettingsPanel()` instead
|
|
83
|
-
*/
|
|
84
|
-
showShortcutPopup(): void;
|
|
85
60
|
}
|
|
@@ -42,11 +42,4 @@ export interface SmartEditApi {
|
|
|
42
42
|
* Retrieves an Smart Edit Custom Operations (provided in Edit Options)
|
|
43
43
|
*/
|
|
44
44
|
getSmartEditCustomOperations(): SmartEditCustomOperation[];
|
|
45
|
-
/**
|
|
46
|
-
* TO BE REMOVED
|
|
47
|
-
*/
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated use `openSmartEditSettingsPanel()` instead
|
|
50
|
-
*/
|
|
51
|
-
showSmartEditPopup(): void;
|
|
52
45
|
}
|
|
@@ -95,27 +95,6 @@ export interface StyledColumnApi {
|
|
|
95
95
|
* Open Styled Column section of Settings Panel
|
|
96
96
|
*/
|
|
97
97
|
openStyledColumnSettingsPanel(): void;
|
|
98
|
-
/**
|
|
99
|
-
* TO BE REMOVED
|
|
100
|
-
*/
|
|
101
|
-
/**
|
|
102
|
-
* @deprecated use `getStyledColumns()` instead
|
|
103
|
-
*/
|
|
104
|
-
getAllStyledColumn(config?: {
|
|
105
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
106
|
-
}): StyledColumn[];
|
|
107
|
-
/**
|
|
108
|
-
* @deprecated use `getStyledColumnForColumnId()` instead
|
|
109
|
-
*/
|
|
110
|
-
getStyledColumnByColumnId(columnId: StyledColumn['ColumnId']): StyledColumn;
|
|
111
|
-
/**
|
|
112
|
-
* @deprecated use `getActiveStyledColumns()` instead
|
|
113
|
-
*/
|
|
114
|
-
getAllActiveStyledColumn(): StyledColumn[];
|
|
115
|
-
/**
|
|
116
|
-
* @deprecated use `getSuspendedStyledColumns()` instead
|
|
117
|
-
*/
|
|
118
|
-
getAllSuspendedStyledColumn(): StyledColumn[];
|
|
119
98
|
/**
|
|
120
99
|
* Can this AdapTable instance display Sparklines (e.g. is AG Grid SparklinesModule installed)
|
|
121
100
|
*/
|
|
@@ -35,15 +35,4 @@ export interface SystemStatusApi {
|
|
|
35
35
|
* Deletes all System Status messages
|
|
36
36
|
*/
|
|
37
37
|
deleteAllSystemStatusMessages(): void;
|
|
38
|
-
/**
|
|
39
|
-
* TO BE REMOVED
|
|
40
|
-
*/
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated internal method, will be removed in next major release
|
|
43
|
-
*/
|
|
44
|
-
fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo: SystemStatusMessageInfo): void;
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated use `openSystemStatusSettingsPanel()` instead
|
|
47
|
-
*/
|
|
48
|
-
showSystemStatusPopup(): void;
|
|
49
38
|
}
|
|
@@ -71,27 +71,4 @@ export interface TeamSharingApi {
|
|
|
71
71
|
* Refreshes the local TeamSharing state by (re)loading the remote state.
|
|
72
72
|
*/
|
|
73
73
|
refreshTeamSharing(): void;
|
|
74
|
-
/**
|
|
75
|
-
* TO BE REMOVED
|
|
76
|
-
*/
|
|
77
|
-
/**
|
|
78
|
-
*@deprecated use `openTeamSharingSettingsPanel()` instead
|
|
79
|
-
*/
|
|
80
|
-
showTeamSharingPopup(): void;
|
|
81
|
-
/**
|
|
82
|
-
* @deprecated use `refreshTeamSharing()` instead
|
|
83
|
-
*/
|
|
84
|
-
triggerLoadingTeamSharingEntries(): void;
|
|
85
|
-
/**
|
|
86
|
-
* @deprecated use `loadSharedEntities()` instead ()
|
|
87
|
-
*/
|
|
88
|
-
getSharedEntities(): Promise<SharedEntity[]>;
|
|
89
|
-
/**
|
|
90
|
-
* @deprecated use `persistSharedEntities()` instead
|
|
91
|
-
*/
|
|
92
|
-
setSharedEntities(sharedEntities: SharedEntity[]): Promise<boolean>;
|
|
93
|
-
/**
|
|
94
|
-
* @deprecated use `shareAdaptableEntity()` instead
|
|
95
|
-
*/
|
|
96
|
-
shareEntity(entity: AdaptableObject, module: AdaptableModule, sharedEntityConfig: AdaptableSharedEntityConfig): void;
|
|
97
74
|
}
|
package/src/Api/ThemeApi.d.ts
CHANGED
|
@@ -78,23 +78,4 @@ export interface ThemeApi {
|
|
|
78
78
|
* Get the name of the current AG Grid theme
|
|
79
79
|
*/
|
|
80
80
|
getAgGridCurrentThemeName(): string;
|
|
81
|
-
/**
|
|
82
|
-
* TO BE REMOVED
|
|
83
|
-
*/
|
|
84
|
-
/**
|
|
85
|
-
* @deprecated use `getSystemThemes()` instead
|
|
86
|
-
*/
|
|
87
|
-
getAllSystemTheme(): AdaptableTheme[];
|
|
88
|
-
/**
|
|
89
|
-
* @deprecated use `getUserThemes()` instead
|
|
90
|
-
*/
|
|
91
|
-
getAllUserTheme(): AdaptableTheme[];
|
|
92
|
-
/**
|
|
93
|
-
* @deprecated use `getThemes()` instead
|
|
94
|
-
*/
|
|
95
|
-
getAllTheme(): AdaptableTheme[];
|
|
96
|
-
/**
|
|
97
|
-
* @deprecated use `openThemeSettingsPanel()` instead
|
|
98
|
-
*/
|
|
99
|
-
showThemePopup(): void;
|
|
100
81
|
}
|
|
@@ -4,6 +4,7 @@ import { ColumnMenuContext, ContextMenuContext, UserMenuItem } from '../Predefin
|
|
|
4
4
|
import { BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../AdaptableOptions/UserInterfaceOptions';
|
|
5
5
|
import { GridCell } from '../PredefinedConfig/Selection/GridCell';
|
|
6
6
|
import { AdaptableObjectTag } from '../PredefinedConfig/Common/AdaptableObject';
|
|
7
|
+
import { AdaptableIcon } from '../types';
|
|
7
8
|
/**
|
|
8
9
|
* Functions relating to User Interface section of Adaptable State
|
|
9
10
|
*/
|
|
@@ -75,14 +76,8 @@ export interface UserInterfaceApi {
|
|
|
75
76
|
*/
|
|
76
77
|
getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
|
|
77
78
|
/**
|
|
78
|
-
*
|
|
79
|
+
* Returns AdapTable Icon with given name
|
|
80
|
+
* @param name name of Icon
|
|
79
81
|
*/
|
|
80
|
-
|
|
81
|
-
* @deprecated use `getPermittedValuesItems()` instead
|
|
82
|
-
*/
|
|
83
|
-
getAllPermittedValuesItems(): PermittedValues[];
|
|
84
|
-
/**
|
|
85
|
-
* @deprecated use `getEditLookUpItems()` instead
|
|
86
|
-
*/
|
|
87
|
-
getAllEditLookUpItems(): EditLookUpPermittedValues[];
|
|
82
|
+
getCustomIconDefinition(name: string): AdaptableIcon | undefined;
|
|
88
83
|
}
|
|
@@ -37,11 +37,11 @@ export interface AlertDefinition extends SuspendableObject {
|
|
|
37
37
|
*/
|
|
38
38
|
MessageType: AdaptableMessageType;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Title of displayed Alert Message
|
|
41
41
|
*/
|
|
42
42
|
MessageHeader?: string;
|
|
43
43
|
/**
|
|
44
|
-
* Alert Message; if
|
|
44
|
+
* Title of dipslayed Alert Message; if null, AdapTable creates dynamically using Rule & Scope
|
|
45
45
|
*/
|
|
46
46
|
MessageText?: string;
|
|
47
47
|
/**
|
|
@@ -53,9 +53,15 @@ export interface AlertDefinition extends SuspendableObject {
|
|
|
53
53
|
*/
|
|
54
54
|
AlertForm?: string | AlertButtonForm;
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Form triggered by an Alert which contains only Buttons
|
|
58
|
+
*/
|
|
56
59
|
export declare type AlertButtonForm = Omit<AdaptableForm<AlertFormContext>, 'title' | 'buttons' | 'description'> & {
|
|
57
60
|
Buttons?: AlertButton<AlertFormContext>[];
|
|
58
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* Predicate used when creating a Predicate-based Rule for an Alert
|
|
64
|
+
*/
|
|
59
65
|
export interface AlertDefinitionPredicate extends AdaptableColumnPredicate {
|
|
60
66
|
PredicateId: TypeHint<string, SystemAlertPredicateId>;
|
|
61
67
|
}
|
|
@@ -104,15 +110,15 @@ export interface AlertProperties {
|
|
|
104
110
|
*/
|
|
105
111
|
DisplayNotification?: boolean;
|
|
106
112
|
/**
|
|
107
|
-
* Notifiction duration
|
|
113
|
+
* Notifiction duration(defaults to `NotificationOptions.duration`)
|
|
108
114
|
*/
|
|
109
115
|
NotificationDuration?: NotificationsOptions['duration'];
|
|
110
116
|
/**
|
|
111
|
-
* Colours updated
|
|
117
|
+
* Colours updated Row using `MessageType` of triggering Alert Definition
|
|
112
118
|
*/
|
|
113
119
|
HighlightCell?: boolean | AdaptableStyle;
|
|
114
120
|
/**
|
|
115
|
-
* Colours updated
|
|
121
|
+
* Colours updated Row using `MessageType` of triggering Alert Definition
|
|
116
122
|
*/
|
|
117
123
|
HighlightRow?: boolean | AdaptableStyle;
|
|
118
124
|
/**
|
|
@@ -19,7 +19,7 @@ export interface BaseFormatterOptions {
|
|
|
19
19
|
*/
|
|
20
20
|
export interface NumberFormatterOptions extends BaseFormatterOptions {
|
|
21
21
|
/**
|
|
22
|
-
* Number of digits to show in
|
|
22
|
+
* Number of digits to show in Fractions (up to 20)
|
|
23
23
|
*/
|
|
24
24
|
FractionDigits?: number;
|
|
25
25
|
/**
|
|
@@ -27,11 +27,11 @@ export interface NumberFormatterOptions extends BaseFormatterOptions {
|
|
|
27
27
|
*/
|
|
28
28
|
FractionSeparator?: string;
|
|
29
29
|
/**
|
|
30
|
-
* Number of digits to show for
|
|
30
|
+
* Number of digits to show for Integers (up to 20)
|
|
31
31
|
*/
|
|
32
32
|
IntegerDigits?: number;
|
|
33
33
|
/**
|
|
34
|
-
* Separator to use in
|
|
34
|
+
* Separator to use in Integers
|
|
35
35
|
*/
|
|
36
36
|
IntegerSeparator?: string;
|
|
37
37
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { TypeHint } from './Types';
|
|
2
3
|
/**
|
|
3
4
|
* Defines an icon to be used in AdapTable (e.g. in Dashboard Header, Buttons, Menu, etc.)
|
|
4
5
|
*/
|
|
@@ -9,8 +10,10 @@ export declare type AdaptableIcon = AdaptableInternalIcon | AdaptableExternalIco
|
|
|
9
10
|
export interface AdaptableInternalIcon extends AdaptableBaseIcon {
|
|
10
11
|
/**
|
|
11
12
|
* The name of the icon to use (referencing the AdapTable Icon Library)
|
|
13
|
+
*
|
|
14
|
+
* The icon can be a adaptable icon or a custom one defined in `interfaceOptions.customIcons`
|
|
12
15
|
*/
|
|
13
|
-
name: AdaptableInternalIconName
|
|
16
|
+
name: TypeHint<string, AdaptableInternalIconName>;
|
|
14
17
|
/**
|
|
15
18
|
* The size (in pixels) of the SVG icon (defaults to `17px`)
|
|
16
19
|
*
|
|
@@ -15,9 +15,12 @@ export interface AdaptablePredicate {
|
|
|
15
15
|
*/
|
|
16
16
|
Inputs?: any[];
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* Restricts a Predicate to a given Column
|
|
20
|
+
*/
|
|
18
21
|
export interface AdaptableColumnPredicate extends AdaptablePredicate {
|
|
19
22
|
/**
|
|
20
|
-
*
|
|
23
|
+
* Id of Column which will be evaluated by the Predicate
|
|
21
24
|
*/
|
|
22
25
|
ColumnId?: string;
|
|
23
26
|
}
|
|
@@ -68,6 +71,9 @@ export interface AdaptablePredicateDef {
|
|
|
68
71
|
*/
|
|
69
72
|
onlyQuickFilter?: boolean;
|
|
70
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Defines an Input to a Predicate
|
|
76
|
+
*/
|
|
71
77
|
export interface PredicateDefInput {
|
|
72
78
|
type: 'number' | 'text' | 'date' | 'boolean';
|
|
73
79
|
label?: string;
|
|
@@ -106,9 +112,15 @@ export interface PredicateDefHandlerParams {
|
|
|
106
112
|
*/
|
|
107
113
|
api: AdaptableApi;
|
|
108
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* Inputs required for a Predicate
|
|
117
|
+
*/
|
|
109
118
|
export interface PredicateDefToStringParams {
|
|
110
119
|
inputs: any[];
|
|
111
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Defines which in Modules the Predicate is available
|
|
123
|
+
*/
|
|
112
124
|
export declare type PredicateModuleScope = 'filter' | 'alert' | 'flashingcell' | 'formatColumn' | 'badgeStyle';
|
|
113
125
|
/**
|
|
114
126
|
* Array of Predicate Defs which are shipped by AdapTable
|
|
@@ -12,4 +12,7 @@ export interface WeightedAverageAggregation {
|
|
|
12
12
|
*/
|
|
13
13
|
weightedColumnId: string;
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Defines which Columns in a Layout display Aggregated values when Row-Grouped
|
|
17
|
+
*/
|
|
15
18
|
export declare type AggregationColumns = Record<string, string | true | WeightedAverageAggregation>;
|