@adaptabletools/adaptable-cjs 22.0.0-canary.2 → 22.0.0-canary.4
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/index.css +64 -26
- package/index.css.map +1 -1
- package/package.json +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -2
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +2 -2
- package/src/AdaptableOptions/CustomSortOptions.d.ts +5 -0
- package/src/AdaptableOptions/DashboardOptions.d.ts +1 -2
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -2
- package/src/AdaptableState/AlertState.d.ts +2 -2
- package/src/AdaptableState/ChartingState.d.ts +3 -3
- package/src/AdaptableState/Common/AdaptableAlert.d.ts +2 -2
- package/src/AdaptableState/Common/AdaptableButton.d.ts +2 -2
- package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +2 -2
- package/src/AdaptableState/Common/AdaptableObject.d.ts +25 -2
- package/src/AdaptableState/Common/AdaptableStyle.d.ts +8 -0
- package/src/AdaptableState/Common/RowSummary.d.ts +1 -1
- package/src/AdaptableState/Common/Schedule.d.ts +3 -4
- package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +2 -2
- package/src/AdaptableState/CustomSortState.d.ts +2 -2
- package/src/AdaptableState/DashboardState.d.ts +2 -2
- package/src/AdaptableState/ExportState.d.ts +2 -2
- package/src/AdaptableState/FlashingCellState.d.ts +2 -2
- package/src/AdaptableState/FormatColumnState.d.ts +2 -10
- package/src/AdaptableState/LayoutState.d.ts +8 -3
- package/src/AdaptableState/NamedQueryState.d.ts +2 -2
- package/src/AdaptableState/PlusMinusState.d.ts +2 -2
- package/src/AdaptableState/ShortcutState.d.ts +2 -2
- package/src/AdaptableState/StyledColumnState.d.ts +1 -1
- package/src/AdaptableState/ThemeState.d.ts +2 -2
- package/src/Api/CustomSortApi.d.ts +6 -3
- package/src/Api/DataSetApi.d.ts +1 -1
- package/src/Api/GridApi.d.ts +3 -3
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +5 -1
- package/src/Api/Implementation/CustomSortApiImpl.js +2 -2
- package/src/Api/Implementation/GridApiImpl.d.ts +9 -9
- package/src/Api/Implementation/GridApiImpl.js +16 -16
- package/src/Api/Implementation/LayoutHelpers.js +7 -0
- package/src/Api/Implementation/ScheduleApiImpl.js +1 -0
- package/src/Api/Internal/ColumnInternalApi.js +1 -1
- package/src/Api/Internal/FormatColumnInternalApi.d.ts +0 -10
- package/src/Api/Internal/FormatColumnInternalApi.js +1 -19
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/NoteRedux.js +1 -1
- package/src/Strategy/AlertModule.js +4 -0
- package/src/Strategy/CustomSortModule.js +4 -0
- package/src/Strategy/FlashingCellModule.js +5 -0
- package/src/Strategy/FormatColumnModule.js +4 -0
- package/src/Strategy/LayoutModule.js +4 -4
- package/src/Strategy/PlusMinusModule.js +4 -0
- package/src/Strategy/ScheduleModule.js +4 -0
- package/src/Strategy/ShortcutModule.js +4 -0
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +0 -3
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +2 -2
- package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -2
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +3 -3
- package/src/Utilities/Extensions/StringExtensions.d.ts +2 -0
- package/src/Utilities/Extensions/StringExtensions.js +17 -0
- package/src/Utilities/Helpers/FormatHelper.js +9 -2
- package/src/Utilities/Helpers/StyleHelper.js +14 -0
- package/src/Utilities/ObjectFactory.js +16 -3
- package/src/Utilities/Services/AnnotationsService.js +1 -1
- package/src/Utilities/Services/ModuleService.js +3 -3
- package/src/View/AdaptablePopover/index.d.ts +1 -0
- package/src/View/AdaptablePopover/index.js +1 -1
- package/src/View/Alert/ActiveAlertsPanel.js +8 -0
- package/src/View/Alert/AlertViewPanel.js +13 -9
- package/src/View/Alert/Utilities/getAlertButtonStyle.d.ts +1 -0
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +8 -0
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +2 -1
- package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +5 -2
- package/src/View/Alert/Wizard/AlertTypeWizardSection.js +48 -12
- package/src/View/Alert/Wizard/AlertWizard.js +12 -8
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +23 -11
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +2 -2
- package/src/View/CellSummary/CellSummaryViewPanel.js +15 -17
- package/src/View/Components/AdaptableDateInput/index.js +1 -1
- package/src/View/Components/Buttons/ButtonApply.js +1 -1
- package/src/View/Components/Buttons/ButtonClear.d.ts +1 -0
- package/src/View/Components/Buttons/EntityListActionButtons.d.ts +1 -2
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.d.ts +1 -2
- package/src/View/Components/Selectors/BulkUpdateValueSelector.js +18 -17
- package/src/View/Components/StyleComponent.js +20 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +2 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +39 -13
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +4 -4
- package/src/View/Dashboard/DashboardPopup.js +4 -5
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -0
- package/src/View/Export/ExportDestinationPicker.js +1 -1
- package/src/View/Export/ExportStatusBar.js +4 -2
- package/src/View/Export/ExportViewPanel.js +25 -18
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +2 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +36 -15
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +13 -9
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +46 -51
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +22 -11
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +57 -65
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +8 -0
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +32 -9
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +20 -15
- package/src/View/QuickSearch/QuickSearchPopup.js +4 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +12 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +12 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +14 -4
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +12 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.d.ts +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +10 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.d.ts +2 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +25 -4
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +18 -14
- package/src/View/UIHelper.d.ts +2 -0
- package/src/View/UIHelper.js +16 -0
- package/src/agGrid/AdaptableAgGrid.d.ts +2 -2
- package/src/agGrid/AdaptableAgGrid.js +5 -5
- package/src/agGrid/AgGridColumnAdapter.js +3 -18
- package/src/components/Dashboard/DashboardToolbar.js +1 -1
- package/src/components/ExpressionEditor/EditorInput.js +19 -3
- package/src/components/Tree/TreeDropdown/index.js +1 -1
- package/src/env.js +2 -2
- package/src/layout-manager/src/LayoutManagerModel.d.ts +1 -0
- package/src/layout-manager/src/index.js +25 -7
- package/src/layout-manager/src/normalizeLayoutModel.js +3 -0
- package/src/metamodel/adaptable.metamodel.d.ts +39 -7
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/AdaptableUpgradeHelper.js +3 -1
- package/src/migration/VersionUpgrade22.d.ts +21 -0
- package/src/migration/VersionUpgrade22.js +191 -0
- package/src/types.d.ts +2 -3
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/src/AdaptableState/Common/SuspendableObject.d.ts +0 -10
- package/src/AdaptableState/Common/SuspendableObject.js +0 -2
|
@@ -5,12 +5,12 @@ import { TypeHint } from './Common/Types';
|
|
|
5
5
|
import { AdaptableMessageType } from './Common/AdaptableMessageType';
|
|
6
6
|
import { AdaptableForm } from './Common/AdaptableForm';
|
|
7
7
|
import { AdaptableButton } from './Common/AdaptableButton';
|
|
8
|
-
import { SuspendableObject } from './Common/SuspendableObject';
|
|
9
8
|
import { AdaptableStyle } from './Common/AdaptableStyle';
|
|
10
9
|
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
11
10
|
import { AdaptableAggregatedBooleanQuery, AdaptableBooleanQuery, AdaptableObservableQuery } from './Common/AdaptableQuery';
|
|
12
11
|
import { ButtonStyle } from './Common/ButtonStyle';
|
|
13
12
|
import { AlertFormContext, BaseContext, NotificationsOptions } from '../types';
|
|
13
|
+
import { NamedObject, SuspendableObject } from './Common/AdaptableObject';
|
|
14
14
|
/**
|
|
15
15
|
* Adaptable State section for Alert Module
|
|
16
16
|
*/
|
|
@@ -23,7 +23,7 @@ export interface AlertState extends BaseState {
|
|
|
23
23
|
/**
|
|
24
24
|
* The Alert Definition object used in the Alert function
|
|
25
25
|
*/
|
|
26
|
-
export interface AlertDefinition extends SuspendableObject {
|
|
26
|
+
export interface AlertDefinition extends NamedObject, SuspendableObject {
|
|
27
27
|
/**
|
|
28
28
|
* Where Alert can be triggered: one, some or all columns or DataTypes
|
|
29
29
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChartModel } from 'ag-grid-enterprise';
|
|
2
|
-
import {
|
|
2
|
+
import { NamedObject } from '../types';
|
|
3
3
|
import { BaseState } from './BaseState';
|
|
4
4
|
export declare const isExternalChartDefinition: (chartDefinition: ChartDefinition | ExternalChartDefinition) => chartDefinition is ExternalChartDefinition;
|
|
5
5
|
export declare const isAgChartDefinition: (chartDefinition: ChartDefinition | ExternalChartDefinition) => chartDefinition is ChartDefinition;
|
|
@@ -7,7 +7,7 @@ export declare const isAgChartDefinition: (chartDefinition: ChartDefinition | Ex
|
|
|
7
7
|
* Wraps external chart definitions
|
|
8
8
|
* Can be used to store charts in Adaptable State
|
|
9
9
|
*/
|
|
10
|
-
export interface ExternalChartDefinition<T = unknown> extends
|
|
10
|
+
export interface ExternalChartDefinition<T = unknown> extends NamedObject {
|
|
11
11
|
/**
|
|
12
12
|
* The name needs to be unique.
|
|
13
13
|
*/
|
|
@@ -25,7 +25,7 @@ export interface ExternalChartDefinition<T = unknown> extends AdaptableObject {
|
|
|
25
25
|
/**
|
|
26
26
|
* Wraps an AG Grid Chart Model
|
|
27
27
|
*/
|
|
28
|
-
export interface ChartDefinition extends
|
|
28
|
+
export interface ChartDefinition extends NamedObject {
|
|
29
29
|
/**
|
|
30
30
|
* Name of the Chart
|
|
31
31
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Identifiable } from './AdaptableObject';
|
|
2
2
|
import { CellDataChangedInfo } from './CellDataChangedInfo';
|
|
3
3
|
import { AlertDefinition } from '../AlertState';
|
|
4
4
|
import { RowDataChangedInfo } from './RowDataChangedInfo';
|
|
@@ -36,7 +36,7 @@ export interface AdaptableRowChangedAlert<TData = any> extends AdaptableAlertBas
|
|
|
36
36
|
/**
|
|
37
37
|
* Defines the base(common) properties of an Alert fired by AdapTable, regardless of the type of change
|
|
38
38
|
*/
|
|
39
|
-
export interface AdaptableAlertBase<T> extends
|
|
39
|
+
export interface AdaptableAlertBase<T> extends Identifiable {
|
|
40
40
|
/**
|
|
41
41
|
* The type of Alert
|
|
42
42
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ButtonStyle } from './ButtonStyle';
|
|
2
|
-
import {
|
|
2
|
+
import { Identifiable } from './AdaptableObject';
|
|
3
3
|
import { AdaptableIcon } from './AdaptableIcon';
|
|
4
4
|
import { BaseContext } from '../../types';
|
|
5
5
|
/**
|
|
6
6
|
* Defines a Button that appears in numerous places including Adaptable Form
|
|
7
7
|
*/
|
|
8
|
-
export interface AdaptableButton<CONTEXT_TYPE extends BaseContext> extends
|
|
8
|
+
export interface AdaptableButton<CONTEXT_TYPE extends BaseContext> extends Identifiable {
|
|
9
9
|
/**
|
|
10
10
|
* Label for Button - can be string or function that provides string
|
|
11
11
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Identifiable } from './AdaptableObject';
|
|
2
2
|
import { CellDataChangedInfo } from '../../types';
|
|
3
3
|
import { FlashingCellDefinition } from '../../../types';
|
|
4
4
|
/**
|
|
5
5
|
* Defines an Alert fired by AdapTable
|
|
6
6
|
*/
|
|
7
|
-
export interface AdaptableFlashingCell extends
|
|
7
|
+
export interface AdaptableFlashingCell extends Identifiable {
|
|
8
8
|
/**
|
|
9
9
|
* Rule that caused the FlashingCell to fire
|
|
10
10
|
*/
|
|
@@ -5,13 +5,18 @@ import { ColumnScope } from './ColumnScope';
|
|
|
5
5
|
*/
|
|
6
6
|
export type AdaptableVersion = `${string}.${string}.${string}`;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Interface for objects that can be uniquely identified by a UUID
|
|
9
9
|
*/
|
|
10
|
-
export interface
|
|
10
|
+
export interface Identifiable {
|
|
11
11
|
/**
|
|
12
12
|
* Unique identifier for the Object, generated and used internally by AdapTable
|
|
13
13
|
*/
|
|
14
14
|
Uuid?: TypeUuid;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Base interface which all other Adaptable State-related objects extend
|
|
18
|
+
*/
|
|
19
|
+
export interface AdaptableObject extends Identifiable {
|
|
15
20
|
/**
|
|
16
21
|
* Source of state object: 'InitialState' if provided via `AdaptableOptions.initialState`, 'User' or undefined for runtime state
|
|
17
22
|
*/
|
|
@@ -57,3 +62,21 @@ export interface AdaptableObjectLookupCriteria {
|
|
|
57
62
|
export interface AdaptableObjectWithScope extends AdaptableObject {
|
|
58
63
|
Scope: ColumnScope;
|
|
59
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Interface that extends Adaptable Object for those config items that can be suspended at run-time
|
|
67
|
+
*/
|
|
68
|
+
export interface SuspendableObject extends AdaptableObject {
|
|
69
|
+
/**
|
|
70
|
+
* Suspends (i.e. turns off) an Adaptable Object
|
|
71
|
+
*/
|
|
72
|
+
IsSuspended?: boolean;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Interface that extends Adaptable Object for those config items that have a Name
|
|
76
|
+
*/
|
|
77
|
+
export interface NamedObject extends AdaptableObject {
|
|
78
|
+
/**
|
|
79
|
+
* Name of the Adaptable Object
|
|
80
|
+
*/
|
|
81
|
+
Name: string;
|
|
82
|
+
}
|
|
@@ -38,4 +38,12 @@ export interface AdaptableStyle {
|
|
|
38
38
|
* Existing CSS Class; use instead of setting other object properties
|
|
39
39
|
*/
|
|
40
40
|
ClassName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Align to 'Left' or 'Right' or 'Center'
|
|
43
|
+
*/
|
|
44
|
+
Alignment?: Alignment;
|
|
41
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Behaviour for aligning Cell contents
|
|
48
|
+
*/
|
|
49
|
+
export type Alignment = 'Left' | 'Right' | 'Center' | 'Default';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SuspendableObject } from './SuspendableObject';
|
|
2
1
|
import { TypeHint } from './Types';
|
|
2
|
+
import { SuspendableObject } from './AdaptableObject';
|
|
3
3
|
export declare const ROW_SUMMARY_ROW_ID = "__ROW_SUMMARY_ROW_ID";
|
|
4
4
|
export declare const WEIGHTED_AVERAGE_AGGREGATED_FUNCTION = "WEIGHTED_AVERAGE";
|
|
5
5
|
export declare const summarySupportedExpressions: readonly ["MIN", "MAX", "SUM", "AVG", "COUNT", "MEDIAN", "MODE", "DISTINCT", "ONLY", "STD_DEVIATION", "WEIGHTED_AVERAGE"];
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SuspendableObject } from './SuspendableObject';
|
|
1
|
+
import { NamedObject, SuspendableObject } from './AdaptableObject';
|
|
3
2
|
/**
|
|
4
3
|
* Defines when an action will be run - either one-off or recurring
|
|
5
4
|
*/
|
|
6
|
-
export interface Schedule
|
|
5
|
+
export interface Schedule {
|
|
7
6
|
/**
|
|
8
7
|
* Hour the Schedule will run
|
|
9
8
|
*/
|
|
@@ -24,7 +23,7 @@ export interface Schedule extends AdaptableObject {
|
|
|
24
23
|
/**
|
|
25
24
|
* Base Schedule object - typically overriden by Functions
|
|
26
25
|
*/
|
|
27
|
-
export interface BaseSchedule extends SuspendableObject {
|
|
26
|
+
export interface BaseSchedule extends NamedObject, SuspendableObject {
|
|
28
27
|
/**
|
|
29
28
|
* The Schedule to run
|
|
30
29
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AdaptableMessageType } from './AdaptableMessageType';
|
|
2
|
-
import {
|
|
2
|
+
import { Identifiable } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* Wraps a System Status Message
|
|
5
5
|
*/
|
|
6
|
-
export interface SystemStatusMessageInfo extends
|
|
6
|
+
export interface SystemStatusMessageInfo extends Identifiable {
|
|
7
7
|
/**
|
|
8
8
|
* The Message to be displayed
|
|
9
9
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseState } from './BaseState';
|
|
2
|
-
import { SuspendableObject } from './Common/
|
|
2
|
+
import { NamedObject, SuspendableObject } from './Common/AdaptableObject';
|
|
3
3
|
/**
|
|
4
4
|
* Adaptable State Section for Custom Sort Module
|
|
5
5
|
*/
|
|
@@ -12,7 +12,7 @@ export interface CustomSortState extends BaseState {
|
|
|
12
12
|
/**
|
|
13
13
|
* Custom Sort object used in Custom Sort function.
|
|
14
14
|
*/
|
|
15
|
-
export interface CustomSort extends SuspendableObject {
|
|
15
|
+
export interface CustomSort extends SuspendableObject, NamedObject {
|
|
16
16
|
/**
|
|
17
17
|
* Id of Column on which Custom Sort will be applied
|
|
18
18
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseState } from './BaseState';
|
|
2
2
|
import { AdaptableDashboardToolbars, AdaptableModuleButtons } from './Common/Types';
|
|
3
|
-
import { AdaptableObject } from './Common/AdaptableObject';
|
|
3
|
+
import { AdaptableObject, NamedObject } from './Common/AdaptableObject';
|
|
4
4
|
/**
|
|
5
5
|
* Adaptable State Section for the AdapTable Dashboard
|
|
6
6
|
*/
|
|
@@ -56,7 +56,7 @@ export interface DashboardState extends BaseState {
|
|
|
56
56
|
/**
|
|
57
57
|
* Defines a named set of Toolbars in the AdapTable Dashboard
|
|
58
58
|
*/
|
|
59
|
-
export interface DashboardTab extends
|
|
59
|
+
export interface DashboardTab extends NamedObject {
|
|
60
60
|
/**
|
|
61
61
|
* Name of the tab - as appears in the Dashboard
|
|
62
62
|
*/
|
|
@@ -2,7 +2,7 @@ import { BaseState } from './BaseState';
|
|
|
2
2
|
import { BaseSchedule } from './Common/Schedule';
|
|
3
3
|
import { ColumnScope } from './Common/ColumnScope';
|
|
4
4
|
import { AdaptableColumnBase } from './Common/AdaptableColumn';
|
|
5
|
-
import {
|
|
5
|
+
import { NamedObject } from './Common/AdaptableObject';
|
|
6
6
|
import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
|
|
7
7
|
import { TypeHint } from './Common/Types';
|
|
8
8
|
import { ExportDestinationType } from '../AdaptableOptions/ExportOptions';
|
|
@@ -26,7 +26,7 @@ export interface ExportState extends BaseState {
|
|
|
26
26
|
/**
|
|
27
27
|
* A Report which can export data from AdapTable
|
|
28
28
|
*/
|
|
29
|
-
export interface Report extends
|
|
29
|
+
export interface Report extends NamedObject {
|
|
30
30
|
/**
|
|
31
31
|
* Name of Report
|
|
32
32
|
*/
|
|
@@ -4,7 +4,7 @@ import { AdaptableColumnPredicate, ColumnScope } from '../types';
|
|
|
4
4
|
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
5
5
|
import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
|
|
6
6
|
import { TypeHint } from './Common/Types';
|
|
7
|
-
import { SuspendableObject } from '../../types';
|
|
7
|
+
import { NamedObject, SuspendableObject } from '../../types';
|
|
8
8
|
/**
|
|
9
9
|
* Adaptable State Section for Flashing Cell module
|
|
10
10
|
*/
|
|
@@ -33,7 +33,7 @@ export type FlashTargetTypes = 'row' | 'cell' | 'aggFuncCell';
|
|
|
33
33
|
/**
|
|
34
34
|
* The Flashing Cell Definition
|
|
35
35
|
*/
|
|
36
|
-
export interface FlashingCellDefinition extends SuspendableObject {
|
|
36
|
+
export interface FlashingCellDefinition extends NamedObject, SuspendableObject {
|
|
37
37
|
/**
|
|
38
38
|
* Which Columns, DataTypes or Column Types can Flash
|
|
39
39
|
*/
|
|
@@ -3,11 +3,11 @@ import { AdaptableStyle } from './Common/AdaptableStyle';
|
|
|
3
3
|
import { AdaptableFormat } from './Common/AdaptableFormat';
|
|
4
4
|
import { ColumnScope } from './Common/ColumnScope';
|
|
5
5
|
import { RowScope } from './Common/RowScope';
|
|
6
|
-
import { SuspendableObject } from './Common/SuspendableObject';
|
|
7
6
|
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
8
7
|
import { TypeHint } from './Common/Types';
|
|
9
8
|
import { AdaptableBooleanQuery, LayoutExtendedConfig } from '../types';
|
|
10
9
|
import { AdaptableColumnPredicate } from './Common/AdaptablePredicate';
|
|
10
|
+
import { NamedObject, SuspendableObject } from './Common/AdaptableObject';
|
|
11
11
|
/**
|
|
12
12
|
* Adaptable State Section for Format Column Module
|
|
13
13
|
*/
|
|
@@ -20,7 +20,7 @@ export interface FormatColumnState extends BaseState {
|
|
|
20
20
|
/**
|
|
21
21
|
* Object used in Format Column function
|
|
22
22
|
*/
|
|
23
|
-
export interface FormatColumn extends SuspendableObject {
|
|
23
|
+
export interface FormatColumn extends SuspendableObject, NamedObject {
|
|
24
24
|
/**
|
|
25
25
|
* Where Format will be applied: whole Row, some Columns, or Columns of DataType
|
|
26
26
|
*/
|
|
@@ -43,10 +43,6 @@ export interface FormatColumn extends SuspendableObject {
|
|
|
43
43
|
* Display Format to apply to Column can be Numeric, String or Date
|
|
44
44
|
*/
|
|
45
45
|
DisplayFormat?: AdaptableFormat;
|
|
46
|
-
/**
|
|
47
|
-
* Align cells 'Left' or 'Right' or 'Center'
|
|
48
|
-
*/
|
|
49
|
-
CellAlignment?: CellAlignment;
|
|
50
46
|
/**
|
|
51
47
|
* Which types of Rows to apply format (data, grouped, summary, total)
|
|
52
48
|
*/
|
|
@@ -65,10 +61,6 @@ export type FormatColumnTarget = 'cell' | 'columnHeader';
|
|
|
65
61
|
* Defines Column Group Scope
|
|
66
62
|
*/
|
|
67
63
|
export type ColumnGroupScope = 'Expanded' | 'Collapsed' | 'Both';
|
|
68
|
-
/**
|
|
69
|
-
* Behaviour for aligning Cell contents
|
|
70
|
-
*/
|
|
71
|
-
export type CellAlignment = 'Left' | 'Right' | 'Center';
|
|
72
64
|
/**
|
|
73
65
|
* The Format Column Rule - can be either a Predicate or a BooleanExpression
|
|
74
66
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BaseState } from './BaseState';
|
|
2
|
-
import { AdaptableObject } from './Common/AdaptableObject';
|
|
2
|
+
import { AdaptableObject, NamedObject } from './Common/AdaptableObject';
|
|
3
3
|
import { ColumnSort } from './Common/ColumnSort';
|
|
4
4
|
import { ColumnFilter, GridFilter } from '../types';
|
|
5
|
-
import {
|
|
5
|
+
import { PivotAggregationColumns, TableAggregationColumns } from './Common/AggregationColumns';
|
|
6
6
|
import { RowSummary } from './Common/RowSummary';
|
|
7
7
|
import { NonEmptyArray } from '../Utilities/Extensions/ArrayExtensions';
|
|
8
8
|
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
@@ -30,7 +30,7 @@ export interface LayoutState extends BaseState {
|
|
|
30
30
|
/**
|
|
31
31
|
* Base object for both Table and Pivot Layouts
|
|
32
32
|
*/
|
|
33
|
-
export interface LayoutBase extends
|
|
33
|
+
export interface LayoutBase extends NamedObject {
|
|
34
34
|
/**
|
|
35
35
|
* Name of Layout as will appear in Layout toolbar and tool panel
|
|
36
36
|
*/
|
|
@@ -165,6 +165,11 @@ export interface PivotLayout extends LayoutBase {
|
|
|
165
165
|
* Display automatically calculated Totals within EACH Pivot Column Group, in the position specified
|
|
166
166
|
*/
|
|
167
167
|
PivotColumnTotal?: PivotTotalPosition;
|
|
168
|
+
/**
|
|
169
|
+
* Ordered list of Pivot Result Column Ids to control their display order.
|
|
170
|
+
* Set to `true` to enable tracking the current display order (will be populated automatically).
|
|
171
|
+
*/
|
|
172
|
+
PivotResultColumns?: string[] | boolean;
|
|
168
173
|
}
|
|
169
174
|
/**
|
|
170
175
|
* Defines the position of Pivot Total position - 'before' or 'after' the Value Column(s)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseState } from './BaseState';
|
|
2
2
|
import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
|
|
3
|
-
import {
|
|
3
|
+
import { NamedObject } from './Common/AdaptableObject';
|
|
4
4
|
/**
|
|
5
5
|
* Adaptable State Section for Named Query Module
|
|
6
6
|
*/
|
|
@@ -13,7 +13,7 @@ export interface NamedQueryState extends BaseState {
|
|
|
13
13
|
/**
|
|
14
14
|
* Defines a Query which can be referenced in AdaptableQL Expressions
|
|
15
15
|
*/
|
|
16
|
-
export interface NamedQuery extends AdaptableBooleanQuery,
|
|
16
|
+
export interface NamedQuery extends AdaptableBooleanQuery, NamedObject {
|
|
17
17
|
/**
|
|
18
18
|
* Name of the Query - how it will appear in the Expression
|
|
19
19
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseState } from './BaseState';
|
|
2
2
|
import { ColumnScope } from './Common/ColumnScope';
|
|
3
3
|
import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
|
|
4
|
-
import { SuspendableObject } from './Common/
|
|
4
|
+
import { NamedObject, SuspendableObject } from './Common/AdaptableObject';
|
|
5
5
|
/**
|
|
6
6
|
* Adaptable State Section for Plus Minus Module
|
|
7
7
|
*/
|
|
@@ -14,7 +14,7 @@ export interface PlusMinusState extends BaseState {
|
|
|
14
14
|
/**
|
|
15
15
|
* Defines a Plus Minus Rule - used in the Plus Minus Module
|
|
16
16
|
*/
|
|
17
|
-
export interface PlusMinusNudge extends SuspendableObject {
|
|
17
|
+
export interface PlusMinusNudge extends NamedObject, SuspendableObject {
|
|
18
18
|
/**
|
|
19
19
|
* Where Rule is applied
|
|
20
20
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseState } from './BaseState';
|
|
2
2
|
import { ColumnScope } from './Common/ColumnScope';
|
|
3
|
-
import { SuspendableObject } from './Common/
|
|
3
|
+
import { NamedObject, SuspendableObject } from './Common/AdaptableObject';
|
|
4
4
|
/**
|
|
5
5
|
* Adaptable State Section for Shortcut Module
|
|
6
6
|
*/
|
|
@@ -17,7 +17,7 @@ export type ShortcutScopeDataType = 'number';
|
|
|
17
17
|
/**
|
|
18
18
|
* Used to define a Shortcut as used in Shortcut State
|
|
19
19
|
*/
|
|
20
|
-
export interface Shortcut extends SuspendableObject {
|
|
20
|
+
export interface Shortcut extends NamedObject, SuspendableObject {
|
|
21
21
|
/**
|
|
22
22
|
* Numeric Columns where Shortcut is applied
|
|
23
23
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseState } from './BaseState';
|
|
2
|
-
import { SuspendableObject } from './Common/SuspendableObject';
|
|
3
2
|
import { AdaptablePredicate, AdaptableStyle, AdaptableBooleanQuery, AdaptableIcon } from '../types';
|
|
4
3
|
import { TypeHint } from './Common/Types';
|
|
5
4
|
import { RowScope } from './Common/RowScope';
|
|
6
5
|
import { AgSparklineOptions } from 'ag-charts-types';
|
|
6
|
+
import { SuspendableObject } from './Common/AdaptableObject';
|
|
7
7
|
/**
|
|
8
8
|
* Adaptable State Section for Styled Column Module
|
|
9
9
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseState } from './BaseState';
|
|
2
|
-
import {
|
|
2
|
+
import { NamedObject } from './Common/AdaptableObject';
|
|
3
3
|
import { TypeHint } from './Common/Types';
|
|
4
4
|
/**
|
|
5
5
|
* Theme section of Adaptable State
|
|
@@ -21,7 +21,7 @@ export interface ThemeState extends BaseState {
|
|
|
21
21
|
/**
|
|
22
22
|
* Used for creating User (i.e. Custom) Themes
|
|
23
23
|
*/
|
|
24
|
-
export interface AdaptableTheme extends
|
|
24
|
+
export interface AdaptableTheme extends NamedObject {
|
|
25
25
|
/**
|
|
26
26
|
* Name of the Theme
|
|
27
27
|
*/
|
|
@@ -52,11 +52,14 @@ export interface CustomSortApi {
|
|
|
52
52
|
addCustomSort(customSort: CustomSort): CustomSort;
|
|
53
53
|
/**
|
|
54
54
|
* Creates new Custom Sort based on given values
|
|
55
|
-
* @param
|
|
56
|
-
* @param values Custom Sort values to apply
|
|
55
|
+
* @param params Parameters for creating a Custom Sort
|
|
57
56
|
* @returns Custom Sort
|
|
58
57
|
*/
|
|
59
|
-
createCustomSort(
|
|
58
|
+
createCustomSort(params: {
|
|
59
|
+
name: string;
|
|
60
|
+
columnId: string;
|
|
61
|
+
values: string[];
|
|
62
|
+
}): CustomSort;
|
|
60
63
|
/**
|
|
61
64
|
* Updates existing Custom Sort with new set of Sorted Values
|
|
62
65
|
* @param columnId Id of Column on which to edit the Custom Sort
|
package/src/Api/DataSetApi.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface DataSetApi {
|
|
|
14
14
|
*/
|
|
15
15
|
getCurrentDataSet(): DataSet | undefined;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Retrieves Data Set from State with given name
|
|
18
18
|
* @param dataSetName name of Data Set to retrieve
|
|
19
19
|
* @returns data Set
|
|
20
20
|
*/
|
package/src/Api/GridApi.d.ts
CHANGED
|
@@ -71,13 +71,13 @@ export interface GridApi {
|
|
|
71
71
|
deleteGridData(dataRows: any[], config?: DataUpdateConfig): Promise<IRowNode[]>;
|
|
72
72
|
/**
|
|
73
73
|
* Applies a data transaction (add, update, remove) to AdapTable (and AG Grid)
|
|
74
|
-
* @param
|
|
74
|
+
* @param dataRows - Rows to add, update or remove (via transaction)
|
|
75
75
|
* @param config - batch option and callback function to run post transaction
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
manageGridData(dataRows: {
|
|
78
78
|
add?: any[];
|
|
79
79
|
update?: any[];
|
|
80
|
-
|
|
80
|
+
delete?: any[];
|
|
81
81
|
}, config?: DataUpdateConfig): Promise<{
|
|
82
82
|
addedRows: IRowNode[];
|
|
83
83
|
updatedRows: IRowNode[];
|
|
@@ -18,7 +18,11 @@ export declare class CustomSortApiImpl extends ApiBase implements CustomSortApi
|
|
|
18
18
|
getCustomSortByColumn(column: string): CustomSort;
|
|
19
19
|
getCustomSortForColumn(columnId: string): CustomSort | undefined;
|
|
20
20
|
addCustomSort(customSort: CustomSort): CustomSort;
|
|
21
|
-
createCustomSort(
|
|
21
|
+
createCustomSort(params: {
|
|
22
|
+
name: string;
|
|
23
|
+
columnId: string;
|
|
24
|
+
values: string[];
|
|
25
|
+
}): CustomSort;
|
|
22
26
|
editCustomSortValues(columnId: string, values: string[]): CustomSort;
|
|
23
27
|
editCustomSort(customSort: CustomSort): CustomSort;
|
|
24
28
|
deleteCustomSort(column: string): void;
|
|
@@ -74,8 +74,8 @@ class CustomSortApiImpl extends ApiBase_1.ApiBase {
|
|
|
74
74
|
this.dispatchAction(CustomSortRedux.CustomSortAdd(customSort));
|
|
75
75
|
return this.getCustomSortById(customSort.Uuid);
|
|
76
76
|
}
|
|
77
|
-
createCustomSort(
|
|
78
|
-
let customSort = { ColumnId: columnId, SortedValues: values };
|
|
77
|
+
createCustomSort(params) {
|
|
78
|
+
let customSort = { Name: params.name, ColumnId: params.columnId, SortedValues: params.values };
|
|
79
79
|
return this.addCustomSort(customSort);
|
|
80
80
|
}
|
|
81
81
|
editCustomSortValues(columnId, values) {
|
|
@@ -34,6 +34,15 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
|
|
|
34
34
|
addGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<IRowNode[]>;
|
|
35
35
|
undoCellEdit(cellDataChangedInfo: CellDataChangedInfo): boolean;
|
|
36
36
|
deleteGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<IRowNode[]>;
|
|
37
|
+
manageGridData(dataRows: {
|
|
38
|
+
add?: any[];
|
|
39
|
+
update?: any[];
|
|
40
|
+
delete?: any[];
|
|
41
|
+
}, config?: DataUpdateConfig): Promise<{
|
|
42
|
+
addedRows: IRowNode[];
|
|
43
|
+
updatedRows: IRowNode[];
|
|
44
|
+
removedRows: IRowNode[];
|
|
45
|
+
}>;
|
|
37
46
|
setCellValue(cellUpdateRequest: CellUpdateRequest): void;
|
|
38
47
|
setCellValues(cellUpdateRequests: CellUpdateRequest[]): void;
|
|
39
48
|
getCellSummaryInfo(): CellSummmaryInfo;
|
|
@@ -151,13 +160,4 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
|
|
|
151
160
|
updateAgGridColumnDefinitions(columnDefinitionsToBeUpdated: ColDefWithId[]): void;
|
|
152
161
|
removeAgGridColumnDefinition(columnId: string): void;
|
|
153
162
|
addAgGridColumnDefinition(newColumnDefinition: ColDefWithId): void;
|
|
154
|
-
applyGridDataTransaction(dataTransaction: {
|
|
155
|
-
add?: any[];
|
|
156
|
-
update?: any[];
|
|
157
|
-
remove?: any[];
|
|
158
|
-
}, config?: DataUpdateConfig): Promise<{
|
|
159
|
-
addedRows: IRowNode[];
|
|
160
|
-
updatedRows: IRowNode[];
|
|
161
|
-
removedRows: IRowNode[];
|
|
162
|
-
}>;
|
|
163
163
|
}
|
|
@@ -99,6 +99,22 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
99
99
|
}
|
|
100
100
|
return [];
|
|
101
101
|
}
|
|
102
|
+
async manageGridData(dataRows, config) {
|
|
103
|
+
const transactionResult = await this._adaptable.manageGridRows(dataRows, config);
|
|
104
|
+
if (Array.isArray(transactionResult.removedRows) && transactionResult.removedRows.length) {
|
|
105
|
+
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataRows.delete, transactionResult.removedRows, 'Delete');
|
|
106
|
+
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
107
|
+
}
|
|
108
|
+
if (Array.isArray(transactionResult.updatedRows) && transactionResult.updatedRows.length) {
|
|
109
|
+
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataRows.update, transactionResult.updatedRows, 'Update');
|
|
110
|
+
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
111
|
+
}
|
|
112
|
+
if (Array.isArray(transactionResult.addedRows) && transactionResult.addedRows.length) {
|
|
113
|
+
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataRows.add, transactionResult.addedRows, 'Add');
|
|
114
|
+
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
115
|
+
}
|
|
116
|
+
return transactionResult;
|
|
117
|
+
}
|
|
102
118
|
setCellValue(cellUpdateRequest) {
|
|
103
119
|
const abColumn = this.getColumnApi().getColumnWithColumnId(cellUpdateRequest.columnId);
|
|
104
120
|
if (!abColumn) {
|
|
@@ -688,21 +704,5 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
688
704
|
.filter(Boolean);
|
|
689
705
|
this.setAgGridColumnDefinitions([...sanitizedColDefs, newColumnDefinition]);
|
|
690
706
|
}
|
|
691
|
-
async applyGridDataTransaction(dataTransaction, config) {
|
|
692
|
-
const transactionResult = await this._adaptable.applyGridDataTransaction(dataTransaction, config);
|
|
693
|
-
if (Array.isArray(transactionResult.removedRows) && transactionResult.removedRows.length) {
|
|
694
|
-
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataTransaction.remove, transactionResult.removedRows, 'Delete');
|
|
695
|
-
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
696
|
-
}
|
|
697
|
-
if (Array.isArray(transactionResult.updatedRows) && transactionResult.updatedRows.length) {
|
|
698
|
-
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataTransaction.update, transactionResult.updatedRows, 'Update');
|
|
699
|
-
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
700
|
-
}
|
|
701
|
-
if (Array.isArray(transactionResult.addedRows) && transactionResult.addedRows.length) {
|
|
702
|
-
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataTransaction.add, transactionResult.addedRows, 'Add');
|
|
703
|
-
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
704
|
-
}
|
|
705
|
-
return transactionResult;
|
|
706
|
-
}
|
|
707
707
|
}
|
|
708
708
|
exports.GridApiImpl = GridApiImpl;
|
|
@@ -290,6 +290,7 @@ const pivotLayoutToPivotLayoutModel = (pivotLayout) => {
|
|
|
290
290
|
GrandTotalRow: pivotLayout.GrandTotalRow,
|
|
291
291
|
PivotGrandTotal: pivotLayout.PivotGrandTotal,
|
|
292
292
|
PivotColumnTotal: pivotLayout.PivotColumnTotal,
|
|
293
|
+
PivotResultColumns: pivotLayout.PivotResultColumns,
|
|
293
294
|
RowGroupValues: (0, exports.toRowGroupValuesForLayoutModel)(pivotLayout.RowGroupValues),
|
|
294
295
|
ColumnGroupValues: pivotLayout.ColumnGroupValues
|
|
295
296
|
? pivotLayout.ColumnGroupValues.ColumnGroupDefaultBehavior === 'always-expanded' ||
|
|
@@ -525,6 +526,12 @@ const pivotLayoutModelToPivotLayout = (layoutModel) => {
|
|
|
525
526
|
else {
|
|
526
527
|
delete pivotLayout.PivotColumnTotal;
|
|
527
528
|
}
|
|
529
|
+
if (layoutModel.PivotResultColumns != null) {
|
|
530
|
+
pivotLayout.PivotResultColumns = layoutModel.PivotResultColumns;
|
|
531
|
+
}
|
|
532
|
+
else {
|
|
533
|
+
delete pivotLayout.PivotResultColumns;
|
|
534
|
+
}
|
|
528
535
|
if (layoutModel.PivotAggregationColumns) {
|
|
529
536
|
pivotLayout.PivotAggregationColumns = (layoutModel.PivotAggregationColumns || []).map(({ ColumnId, AggFunc, Total }) => ({
|
|
530
537
|
ColumnId,
|
|
@@ -158,6 +158,7 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
158
158
|
header: reminderSchedule.Header,
|
|
159
159
|
message: reminderSchedule.Message,
|
|
160
160
|
alertDefinition: {
|
|
161
|
+
Name: reminderSchedule.Header,
|
|
161
162
|
MessageType: reminderSchedule.MessageType,
|
|
162
163
|
AlertProperties: {
|
|
163
164
|
DisplayNotification: reminderSchedule.DisplayNotification,
|
|
@@ -282,7 +282,7 @@ class ColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
282
282
|
getQueryableColumnsForUIEditor() {
|
|
283
283
|
return this.getColumnApi()
|
|
284
284
|
.getQueryableColumns()
|
|
285
|
-
.filter((column) => !column.isGeneratedPivotResultColumn && !column.isGeneratedRowGroupColumn);
|
|
285
|
+
.filter((column) => !column.isGeneratedPivotResultColumn && !column.isGeneratedRowGroupColumn && !column.isGeneratedSelectionColumn);
|
|
286
286
|
}
|
|
287
287
|
isAlwaysHiddenColumn(columnIdentifier) {
|
|
288
288
|
return this.getColumnApi().hasColumnType(columnIdentifier, AdaptableColumn_1.HIDDEN_COLUMN_TYPE);
|
|
@@ -7,21 +7,11 @@ export declare class FormatColumnInternalApi extends ApiBase {
|
|
|
7
7
|
* @returns format columns
|
|
8
8
|
*/
|
|
9
9
|
getAllFormatColumnWithStyle(config?: FormatColumnConfig): FormatColumn[];
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves all Format Columns in Adaptable State with the `Style` or the `CellAlignment` property set
|
|
12
|
-
* @returns format columns
|
|
13
|
-
*/
|
|
14
|
-
getAllFormatColumnWithStyleAndCellAlignment(config?: FormatColumnConfig): FormatColumn[];
|
|
15
10
|
/**
|
|
16
11
|
* Retrieves all Format Columns in Adaptable State with `DisplayFormat` property set
|
|
17
12
|
* @returns format columns
|
|
18
13
|
*/
|
|
19
14
|
getAllFormatColumnWithDisplayFormat(config?: FormatColumnConfig): FormatColumn[];
|
|
20
|
-
/**
|
|
21
|
-
* Retrieves all Format Columns in Adaptable State with `CellAlignment` property set
|
|
22
|
-
* @returns format columns
|
|
23
|
-
*/
|
|
24
|
-
getAllFormatColumnWithCellAlignment(config?: FormatColumnConfig): FormatColumn[];
|
|
25
15
|
/**
|
|
26
16
|
* Get all FormatColumns which are defined for this column and have a custom AdaptableStyle
|
|
27
17
|
* @param column
|