@adaptabletools/adaptable 24.0.0-canary.7 → 24.0.0-canary.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agGrid.d.ts +2 -3
- package/agGrid.js +2 -3
- package/aql.d.ts +29 -1
- package/aql.js +49 -1
- package/devtools.d.ts +55 -1
- package/index.css +7 -19
- package/index.d.ts +2 -3
- package/index.js +2 -3
- package/package.json +1 -1
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +24 -0
- package/src/AdaptableOptions/AdaptableOptions.d.ts +97 -69
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +113 -1
- package/src/AdaptableOptions/AlertOptions.d.ts +0 -2
- package/src/AdaptableOptions/ChartingOptions.d.ts +11 -5
- package/src/AdaptableOptions/ColumnMenuOptions.d.ts +30 -0
- package/src/AdaptableOptions/ColumnOptions.d.ts +0 -2
- package/src/AdaptableOptions/CommentOptions.d.ts +12 -4
- package/src/AdaptableOptions/ContextMenuOptions.d.ts +31 -1
- package/src/AdaptableOptions/DashboardOptions.d.ts +0 -3
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +3 -2
- package/src/AdaptableOptions/DefaultAdaptableOptions.js +6 -0
- package/src/AdaptableOptions/EditOptions.d.ts +18 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +23 -0
- package/src/AdaptableOptions/ExpressionOptions.d.ts +0 -3
- package/src/AdaptableOptions/Fdc3Options.d.ts +77 -3
- package/src/AdaptableOptions/FilterOptions.d.ts +13 -8
- package/src/AdaptableOptions/LayoutOptions.d.ts +16 -3
- package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -1
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +0 -2
- package/src/AdaptableOptions/RowFormOptions.d.ts +9 -0
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +10 -1
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +87 -2
- package/src/AdaptableState/AdaptableState.d.ts +98 -4
- package/src/AdaptableState/AlertState.d.ts +20 -21
- package/src/AdaptableState/ApplicationState.d.ts +5 -3
- package/src/AdaptableState/BaseState.d.ts +9 -2
- package/src/AdaptableState/CalculatedColumnState.d.ts +10 -8
- package/src/AdaptableState/ChartingState.d.ts +10 -5
- package/src/AdaptableState/CommentState.d.ts +10 -4
- package/src/AdaptableState/Common/AdaptableAlert.d.ts +6 -2
- package/src/AdaptableState/Common/AdaptableButton.d.ts +3 -1
- package/src/AdaptableState/Common/AdaptableColumn.d.ts +38 -1
- package/src/AdaptableState/Common/AdaptableFilterState.d.ts +3 -1
- package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +3 -1
- package/src/AdaptableState/Common/AdaptableForm.d.ts +9 -0
- package/src/AdaptableState/Common/AdaptableFormat.d.ts +27 -1
- package/src/AdaptableState/Common/AdaptableIcon.d.ts +4 -2
- package/src/AdaptableState/Common/AdaptableObject.d.ts +9 -1
- package/src/AdaptableState/Common/AdaptableQuery.d.ts +9 -0
- package/src/AdaptableState/Common/AdaptableStyle.d.ts +6 -8
- package/src/AdaptableState/Common/AggregationColumns.d.ts +15 -6
- package/src/AdaptableState/Common/ButtonStyle.d.ts +3 -1
- package/src/AdaptableState/Common/CellDataChangedInfo.d.ts +6 -2
- package/src/AdaptableState/Common/CellHighlightInfo.d.ts +4 -2
- package/src/AdaptableState/Common/CellSummary.d.ts +33 -0
- package/src/AdaptableState/Common/ColumnFilter.d.ts +3 -1
- package/src/AdaptableState/Common/ColumnHighlightInfo.d.ts +4 -2
- package/src/AdaptableState/Common/ColumnScope.d.ts +32 -1
- package/src/AdaptableState/Common/ColumnSetupInfo.d.ts +17 -0
- package/src/AdaptableState/Common/ColumnSort.d.ts +3 -1
- package/src/AdaptableState/Common/CompactCalculatedColumnEditorInfo.d.ts +3 -0
- package/src/AdaptableState/Common/DataChangedScope.d.ts +3 -1
- package/src/AdaptableState/Common/DataUpdateConfig.d.ts +3 -1
- package/src/AdaptableState/Common/Entitlement.d.ts +4 -2
- package/src/AdaptableState/Common/Enums.d.ts +21 -0
- package/src/AdaptableState/Common/ExtendedLayout.d.ts +3 -1
- package/src/AdaptableState/Common/Fdc3Context.d.ts +9 -0
- package/src/AdaptableState/Common/Fdc3Intent.d.ts +6 -0
- package/src/AdaptableState/Common/GridFilter.d.ts +3 -1
- package/src/AdaptableState/Common/MenuItem.d.ts +9 -0
- package/src/AdaptableState/Common/RowHighlightInfo.d.ts +4 -2
- package/src/AdaptableState/Common/RowScope.d.ts +3 -1
- package/src/AdaptableState/Common/RowSummary.d.ts +14 -4
- package/src/AdaptableState/Common/RowsHighlightInfo.d.ts +5 -3
- package/src/AdaptableState/Common/Schedule.d.ts +10 -2
- package/src/AdaptableState/Common/SpecialColumnSettings.d.ts +3 -1
- package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +4 -2
- package/src/AdaptableState/Common/TransposeConfig.d.ts +1 -1
- package/src/AdaptableState/Common/Types.d.ts +9 -0
- package/src/AdaptableState/CustomSortState.d.ts +8 -5
- package/src/AdaptableState/DashboardState.d.ts +14 -10
- package/src/AdaptableState/ExportState.d.ts +12 -4
- package/src/AdaptableState/FlashingCellState.d.ts +8 -5
- package/src/AdaptableState/FormatColumnState.d.ts +28 -8
- package/src/AdaptableState/FreeTextColumnState.d.ts +14 -8
- package/src/AdaptableState/IPushPullState.d.ts +39 -3
- package/src/AdaptableState/InitialState.d.ts +9 -9
- package/src/AdaptableState/InternalState.d.ts +183 -3
- package/src/AdaptableState/LayoutState.d.ts +64 -21
- package/src/AdaptableState/NamedQueryState.d.ts +16 -4
- package/src/AdaptableState/NoteState.d.ts +7 -3
- package/src/AdaptableState/OpenFinState.d.ts +12 -2
- package/src/AdaptableState/PlusMinusState.d.ts +8 -4
- package/src/AdaptableState/PopupState.d.ts +29 -1
- package/src/AdaptableState/QuickSearchState.d.ts +5 -3
- package/src/AdaptableState/Selection/GridCell.d.ts +5 -3
- package/src/AdaptableState/Selection/GridCellRange.d.ts +8 -7
- package/src/AdaptableState/Selection/SelectedCellInfo.d.ts +1 -1
- package/src/AdaptableState/ShortcutState.d.ts +7 -3
- package/src/AdaptableState/StatusBarState.d.ts +7 -6
- package/src/AdaptableState/StyledColumnState.d.ts +46 -14
- package/src/AdaptableState/TeamSharingState.d.ts +46 -2
- package/src/AdaptableState/ThemeState.d.ts +24 -2
- package/src/AdaptableState/ToolPanelState.d.ts +10 -5
- package/src/AdaptableState/UserInterfaceState.d.ts +2 -2
- package/src/AdaptableState/Uuid.d.ts +6 -0
- package/src/Api/ActionColumnApi.d.ts +3 -1
- package/src/Api/AdaptableApi.d.ts +54 -50
- package/src/Api/AlertApi.d.ts +20 -12
- package/src/Api/ApplicationApi.d.ts +6 -2
- package/src/Api/BulkUpdateApi.d.ts +2 -1
- package/src/Api/CalculatedColumnApi.d.ts +4 -1
- package/src/Api/CalendarApi.d.ts +10 -0
- package/src/Api/CellSummaryApi.d.ts +9 -3
- package/src/Api/ChartingApi.d.ts +22 -7
- package/src/Api/ColumnApi.d.ts +71 -4
- package/src/Api/ColumnFilterApi.d.ts +13 -3
- package/src/Api/ColumnMenuApi.d.ts +13 -2
- package/src/Api/ColumnScopeApi.d.ts +27 -1
- package/src/Api/CommentApi.d.ts +10 -7
- package/src/Api/ContextMenuApi.d.ts +11 -1
- package/src/Api/CustomSortApi.d.ts +6 -2
- package/src/Api/DashboardApi.d.ts +30 -9
- package/src/Api/DataChangeHistoryApi.d.ts +9 -3
- package/src/Api/DataImportApi.d.ts +1 -1
- package/src/Api/EntitlementApi.d.ts +6 -1
- package/src/Api/EventApi.d.ts +67 -19
- package/src/Api/Events/AdaptableReady.d.ts +6 -2
- package/src/Api/Events/AdaptableStateChanged.d.ts +9 -5
- package/src/Api/Events/AdaptableStateReloaded.d.ts +7 -3
- package/src/Api/Events/AlertFired.d.ts +8 -2
- package/src/Api/Events/BeforeAdaptableStateChange.d.ts +6 -2
- package/src/Api/Events/CalculatedColumnChanged.d.ts +7 -3
- package/src/Api/Events/CellChanged.d.ts +6 -2
- package/src/Api/Events/CellSelectionChanged.d.ts +6 -2
- package/src/Api/Events/ChartChanged.d.ts +16 -8
- package/src/Api/Events/CommentChanged.d.ts +8 -2
- package/src/Api/Events/CustomToolbarConfigured.d.ts +6 -2
- package/src/Api/Events/DashboardChanged.d.ts +27 -6
- package/src/Api/Events/DataImported.d.ts +8 -4
- package/src/Api/Events/DataSetSelected.d.ts +6 -2
- package/src/Api/Events/Fdc3MessageInfo.d.ts +14 -4
- package/src/Api/Events/FlashingCellDisplayed.d.ts +6 -2
- package/src/Api/Events/GridFilterApplied.d.ts +11 -3
- package/src/Api/Events/GridSorted.d.ts +6 -2
- package/src/Api/Events/LayoutChanged.d.ts +36 -5
- package/src/Api/Events/LiveDataChanged.d.ts +21 -5
- package/src/Api/Events/NoteChanged.d.ts +5 -1
- package/src/Api/Events/ReportScheduleRan.d.ts +7 -3
- package/src/Api/Events/RowChanged.d.ts +6 -2
- package/src/Api/Events/RowFormSubmitted.d.ts +28 -12
- package/src/Api/Events/RowSelectionChanged.d.ts +6 -2
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +6 -2
- package/src/Api/Events/TeamSharingEntityChanged.d.ts +6 -2
- package/src/Api/Events/ThemeSelected.d.ts +6 -2
- package/src/Api/ExportApi.d.ts +59 -32
- package/src/Api/ExpressionApi.d.ts +24 -1
- package/src/Api/Fdc3Api.d.ts +16 -3
- package/src/Api/FlashingCellApi.d.ts +6 -1
- package/src/Api/FormatColumnApi.d.ts +18 -11
- package/src/Api/FreeTextColumnApi.d.ts +4 -2
- package/src/Api/GridApi.d.ts +92 -19
- package/src/Api/IPushPullApi.d.ts +19 -2
- package/src/Api/Internal/EventInternalApi.d.ts +2 -1
- package/src/Api/Internal/EventInternalApi.js +7 -0
- package/src/Api/InteropioPluginApi.d.ts +2 -1
- package/src/Api/LayoutApi.d.ts +29 -15
- package/src/Api/NamedQueryApi.d.ts +10 -6
- package/src/Api/NoteApi.d.ts +15 -11
- package/src/Api/OpenFinApi.d.ts +8 -2
- package/src/Api/OptionsApi.d.ts +43 -1
- package/src/Api/PluginsApi.d.ts +6 -1
- package/src/Api/PlusMinusApi.d.ts +2 -1
- package/src/Api/QuickSearchApi.d.ts +6 -1
- package/src/Api/RowFormApi.d.ts +8 -7
- package/src/Api/ShortcutApi.d.ts +3 -1
- package/src/Api/SmartEditApi.d.ts +4 -1
- package/src/Api/StateApi.d.ts +30 -2
- package/src/Api/StatusBarApi.d.ts +2 -0
- package/src/Api/StyledColumnApi.d.ts +23 -12
- package/src/Api/SystemStatusApi.d.ts +18 -6
- package/src/Api/TeamSharingApi.d.ts +8 -1
- package/src/Api/ThemeApi.d.ts +17 -8
- package/src/Api/ToolPanelApi.d.ts +12 -7
- package/src/Api/UserInterfaceApi.d.ts +10 -1
- package/src/Redux/Store/AdaptableStore.js +1 -1
- package/src/View/Filter/ColumnFilter/ColumnFilterNew.js +14 -9
- package/src/agGrid/Adaptable.d.ts +0 -12
- package/src/agGrid/Adaptable.js +0 -52
- package/src/agGrid/AdaptableFrameworkComponent.d.ts +12 -0
- package/src/agGrid/AdaptableLogger.d.ts +74 -1
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +3 -0
- package/src/agGrid/index.d.ts +1 -6
- package/src/agGrid/index.js +1 -3
- package/src/aql/ExpressionEvaluation.d.ts +27 -0
- package/src/aql/types.d.ts +22 -0
- package/src/components/ColorField/index.d.ts +2 -3
- package/src/components/ColorField/index.js +22 -2
- package/src/components/aql/QueryBuilder/GroupEditor.js +1 -1
- package/src/components/aql/QueryBuilder/QueryBuilder.d.ts +5 -0
- package/src/components/aql/QueryBuilder/QueryBuilder.js +1 -1
- package/src/components/aql/QueryBuilder/context.d.ts +7 -0
- package/src/components/aql/QueryBuilder/context.js +3 -1
- package/src/env.js +2 -2
- package/src/migration/legacyAdaptableQuery.d.ts +29 -4
- package/src/setupDevTools.js +223 -0
- package/src/types.d.ts +1 -3
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/vendor/components/ColorField/index.d.ts +12 -2
- package/vendor/components/ColorField/index.d.ts.map +1 -1
- package/vendor/components/ColorField/index.js +3 -4
- package/vendor/components/ColorField/index.js.map +1 -1
- package/vendor/components/ColorPicker/index.d.ts +50 -11
- package/vendor/components/ColorPicker/index.d.ts.map +1 -1
- package/vendor/components/ColorPicker/index.js +172 -54
- package/vendor/components/ColorPicker/index.js.map +1 -1
- package/vendor/components/ColorPicker/themeColors.d.ts +42 -1
- package/vendor/components/ColorPicker/themeColors.d.ts.map +1 -1
- package/vendor/components/ColorPicker/themeColors.js +131 -1
- package/vendor/components/ColorPicker/themeColors.js.map +1 -1
- package/vendor/components/index.css +6 -0
- package/vendor/components/index.d.ts +2 -2
- package/vendor/components/index.d.ts.map +1 -1
- package/vendor/components/index.js +1 -1
- package/vendor/components/index.js.map +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +0 -99
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +0 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +0 -15
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +0 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +0 -19
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +0 -337
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +0 -5
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +0 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +0 -30
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +0 -162
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +0 -18
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +0 -12
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +0 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +0 -131
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +0 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +0 -30
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +0 -6
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +0 -80
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +0 -6
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +0 -100
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +0 -11
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +0 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +0 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +0 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +0 -21
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +0 -63
- package/src/View/AdaptableWizardView/Utilities/Utils.d.ts +0 -1
- package/src/View/AdaptableWizardView/Utilities/Utils.js +0 -21
- package/src/View/AdaptableWizardView/Utilities/helper.d.ts +0 -19
- package/src/View/AdaptableWizardView/Utilities/helper.js +0 -81
- package/src/View/AdaptableWizardView/Wizard.d.ts +0 -57
- package/src/View/AdaptableWizardView/Wizard.js +0 -98
- package/src/View/AdaptableWizardView/index.d.ts +0 -4
- package/src/View/AdaptableWizardView/index.js +0 -4
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import { IRowNode } from 'ag-grid-enterprise';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `DataImported` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires after a data import has been applied to the grid.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface DataImportedInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
* Raw
|
|
12
|
+
* Raw rows that were imported, before they were matched to grid rows.
|
|
9
13
|
*/
|
|
10
14
|
importData: any[];
|
|
11
15
|
/**
|
|
12
|
-
*
|
|
16
|
+
* Row nodes created by this import.
|
|
13
17
|
*/
|
|
14
18
|
addedRows: IRowNode[];
|
|
15
19
|
/**
|
|
16
|
-
*
|
|
20
|
+
* Existing row nodes updated by this import.
|
|
17
21
|
*/
|
|
18
22
|
updatedRows: IRowNode[];
|
|
19
23
|
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { BaseContext, DataSet } from '../../types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Payload of the `DataSetSelected` event.
|
|
4
|
+
*
|
|
5
|
+
* Fires when a Data Set is selected.
|
|
6
|
+
*
|
|
7
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
4
8
|
*/
|
|
5
9
|
export interface DataSetSelectedInfo extends BaseContext {
|
|
6
10
|
/**
|
|
7
|
-
*
|
|
11
|
+
* Data Set that was selected.
|
|
8
12
|
*/
|
|
9
13
|
dataSet: DataSet;
|
|
10
14
|
}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { BaseContext } from '../../types';
|
|
2
2
|
import { AppIdentifier, Context, ContextMetadata, Intent } from '@finos/fdc3';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `Fdc3Message` event.
|
|
5
|
+
*
|
|
6
|
+
* A sent message ({@link Fdc3MessageSentInfo}, `direction: 'sent'`) or a received message ({@link Fdc3MessageReceivedInfo}, `direction: 'received'`).
|
|
5
7
|
*/
|
|
6
8
|
export type Fdc3MessageInfo = Fdc3MessageSentInfo | Fdc3MessageReceivedInfo;
|
|
7
9
|
/**
|
|
8
|
-
*
|
|
10
|
+
* A message AdapTable sent through FDC3.
|
|
11
|
+
*
|
|
12
|
+
* `eventType` is `RaiseIntent`, `RaiseIntentForContext` or `BroadcastMessage`. `intent` is set for `RaiseIntent`.
|
|
13
|
+
*
|
|
14
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
9
15
|
*/
|
|
10
16
|
export interface Fdc3MessageSentInfo extends BaseContext {
|
|
11
17
|
/**
|
|
@@ -13,7 +19,7 @@ export interface Fdc3MessageSentInfo extends BaseContext {
|
|
|
13
19
|
*/
|
|
14
20
|
direction: 'sent';
|
|
15
21
|
/**
|
|
16
|
-
*
|
|
22
|
+
* What was sent: `RaiseIntent`, `RaiseIntentForContext` or `BroadcastMessage`.
|
|
17
23
|
*/
|
|
18
24
|
eventType: 'RaiseIntent' | 'RaiseIntentForContext' | 'BroadcastMessage';
|
|
19
25
|
/**
|
|
@@ -30,7 +36,11 @@ export interface Fdc3MessageSentInfo extends BaseContext {
|
|
|
30
36
|
app?: AppIdentifier;
|
|
31
37
|
}
|
|
32
38
|
/**
|
|
33
|
-
*
|
|
39
|
+
* A message AdapTable received through FDC3.
|
|
40
|
+
*
|
|
41
|
+
* `eventType` is `IntentRaised` or `ContextBroadcast`. `intent` is set for `IntentRaised`.
|
|
42
|
+
*
|
|
43
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
34
44
|
*/
|
|
35
45
|
export interface Fdc3MessageReceivedInfo extends BaseContext {
|
|
36
46
|
/**
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { AdaptableFlashingCell } from '../../AdaptableState/Common/AdaptableFlashingCell';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `FlashingCellDisplayed` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires when a cell or row flashes.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface FlashingCellDisplayedInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* What flashed: the cell or row, and the change that caused the flash.
|
|
9
13
|
*/
|
|
10
14
|
flashingCell: AdaptableFlashingCell;
|
|
11
15
|
}
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { BaseContext, GridFilter } from '../../types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Payload of the `GridFilterApplied` event.
|
|
4
|
+
*
|
|
5
|
+
* Fires when the Grid Filter on the current Layout is set, cleared, suspended or unsuspended.
|
|
6
|
+
*
|
|
7
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
4
8
|
*/
|
|
5
9
|
export interface GridFilterAppliedInfo extends BaseContext {
|
|
6
10
|
/**
|
|
7
|
-
*
|
|
11
|
+
* Grid Filter on the current Layout after this change.
|
|
12
|
+
*
|
|
13
|
+
* `undefined` when the Layout has no Grid Filter (including after it is cleared).
|
|
8
14
|
*/
|
|
9
15
|
gridFilter: GridFilter | undefined;
|
|
10
16
|
/**
|
|
11
|
-
* AST
|
|
17
|
+
* AST of `gridFilter.Expression`.
|
|
18
|
+
*
|
|
19
|
+
* `null` when the Layout has no Grid Filter.
|
|
12
20
|
*/
|
|
13
21
|
gridFilterExpressionAST: any;
|
|
14
22
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { AdaptableSortState } from '../../AdaptableState/Common/AdaptableSortState';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `GridSorted` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires when the grid sort changes, including a Custom Sort. The payload is the sort state after the change.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface GridSortedInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Column sorts and Custom Sorts after this change.
|
|
9
13
|
*/
|
|
10
14
|
adaptableSortState: AdaptableSortState;
|
|
11
15
|
}
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
import { LayoutState } from '../../AdaptableState/LayoutState';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `LayoutChanged` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires when Layout State changes: the current Layout is ready, added, edited, saved, deleted or selected, and when a Column Filter or the Grid Filter on the current Layout changes.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface LayoutChangedInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Which action caused this change. See {@link LayoutChangedAction}.
|
|
9
13
|
*/
|
|
10
14
|
actionName: LayoutChangedAction;
|
|
11
15
|
/**
|
|
12
|
-
*
|
|
16
|
+
* Layout State before this change.
|
|
17
|
+
*
|
|
18
|
+
* Absent for `LAYOUT_READY`, which fires once after startup and has no previous state.
|
|
13
19
|
*/
|
|
14
20
|
oldLayoutState: LayoutState | undefined;
|
|
15
21
|
/**
|
|
16
|
-
*
|
|
22
|
+
* Layout State after this change.
|
|
17
23
|
*/
|
|
18
24
|
newLayoutState: LayoutState;
|
|
19
25
|
/**
|
|
@@ -38,6 +44,31 @@ export interface LayoutChangedInfo extends BaseContext {
|
|
|
38
44
|
*/
|
|
39
45
|
export type LayoutChangedArea = 'Columns' | 'ColumnPinning' | 'ColumnHeaders' | 'ColumnSorting' | 'RowGrouping' | 'Aggregations' | 'RowSummaries' | 'RowSelection' | 'ColumnFilter' | 'GridFilter' | 'Pivoting';
|
|
40
46
|
/**
|
|
41
|
-
*
|
|
47
|
+
* Why a `LayoutChanged` event fired.
|
|
48
|
+
*
|
|
49
|
+
* Identity of the Layout:
|
|
50
|
+
* - `LAYOUT_READY` — once after startup, for the Layout that is already current. `oldLayoutState` is absent and `changedAreas` is omitted.
|
|
51
|
+
* - `LAYOUT_ADD` — a Layout was added. `changedAreas` is omitted.
|
|
52
|
+
* - `LAYOUT_EDIT` — a Layout was edited.
|
|
53
|
+
* - `LAYOUT_SAVE` — a Layout was saved, including auto-save after grid edits (sort, grouping, columns, and so on). `changedAreas` lists the facets that actually changed.
|
|
54
|
+
* - `LAYOUT_DELETE` — a Layout was deleted. `changedAreas` is omitted.
|
|
55
|
+
* - `LAYOUT_SELECT` — a different Layout was selected. `changedAreas` is omitted.
|
|
56
|
+
*
|
|
57
|
+
* Column Filters on the current Layout. `changedAreas` is always `['ColumnFilter']`:
|
|
58
|
+
* - `LAYOUT_COLUMN_FILTER_ADD` — a Column Filter was added
|
|
59
|
+
* - `LAYOUT_COLUMN_FILTER_EDIT` — a Column Filter was edited
|
|
60
|
+
* - `LAYOUT_COLUMN_FILTER_SET` — Column Filters were set
|
|
61
|
+
* - `LAYOUT_COLUMN_FILTER_CLEAR` — a Column Filter was cleared
|
|
62
|
+
* - `LAYOUT_COLUMN_FILTER_CLEAR_ALL` — all Column Filters were cleared
|
|
63
|
+
* - `LAYOUT_COLUMN_FILTER_SUSPEND` — a Column Filter was suspended
|
|
64
|
+
* - `LAYOUT_COLUMN_FILTER_SUSPEND_ALL` — all Column Filters were suspended
|
|
65
|
+
* - `LAYOUT_COLUMN_FILTER_UNSUSPEND` — a Column Filter was unsuspended
|
|
66
|
+
* - `LAYOUT_COLUMN_FILTER_UNSUSPEND_ALL` — all Column Filters were unsuspended
|
|
67
|
+
*
|
|
68
|
+
* Grid Filter on the current Layout. `changedAreas` is always `['GridFilter']`:
|
|
69
|
+
* - `LAYOUT_GRID_FILTER_SET` — the Grid Filter was set
|
|
70
|
+
* - `LAYOUT_GRID_FILTER_CLEAR` — the Grid Filter was cleared
|
|
71
|
+
* - `LAYOUT_GRID_FILTER_SUSPEND` — the Grid Filter was suspended
|
|
72
|
+
* - `LAYOUT_GRID_FILTER_UNSUSPEND` — the Grid Filter was unsuspended
|
|
42
73
|
*/
|
|
43
74
|
export type LayoutChangedAction = 'LAYOUT_READY' | 'LAYOUT_ADD' | 'LAYOUT_EDIT' | 'LAYOUT_SAVE' | 'LAYOUT_DELETE' | 'LAYOUT_SELECT' | 'LAYOUT_COLUMN_FILTER_ADD' | 'LAYOUT_COLUMN_FILTER_EDIT' | 'LAYOUT_COLUMN_FILTER_SET' | 'LAYOUT_COLUMN_FILTER_CLEAR' | 'LAYOUT_COLUMN_FILTER_CLEAR_ALL' | 'LAYOUT_COLUMN_FILTER_SUSPEND' | 'LAYOUT_COLUMN_FILTER_SUSPEND_ALL' | 'LAYOUT_COLUMN_FILTER_UNSUSPEND' | 'LAYOUT_COLUMN_FILTER_UNSUSPEND_ALL' | 'LAYOUT_GRID_FILTER_SET' | 'LAYOUT_GRID_FILTER_CLEAR' | 'LAYOUT_GRID_FILTER_SUSPEND' | 'LAYOUT_GRID_FILTER_UNSUSPEND';
|
|
@@ -1,19 +1,33 @@
|
|
|
1
1
|
import { Report } from '../../AdaptableState/ExportState';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `LiveDataChanged` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires for the ipushpull and OpenFin live-report plugins: when the destination connects or disconnects, a snapshot is sent, or live data starts, stops or is pushed.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface LiveDataChangedInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Destination this change belongs to: `OpenFin` or `ipushpull`.
|
|
9
13
|
*/
|
|
10
14
|
reportDestination: 'OpenFin' | 'ipushpull';
|
|
11
15
|
/**
|
|
12
|
-
* What
|
|
16
|
+
* What happened:
|
|
17
|
+
* - `Connected` — the destination session started. `liveReport` is omitted.
|
|
18
|
+
* - `Disconnected` — the destination session ended. `liveReport` is omitted.
|
|
19
|
+
* - `SnapshotSent` — a one-off snapshot was sent. `liveReport` is omitted.
|
|
20
|
+
* - `LiveDataStarted` — a report started streaming. `liveReport` is that report.
|
|
21
|
+
* - `LiveDataStopped` — streaming stopped. `liveReport` is the report that was live.
|
|
22
|
+
* - `LiveDataUpdated` — a new snapshot of the live report was pushed. `liveReport` is that report.
|
|
13
23
|
*/
|
|
14
24
|
liveDataTrigger: 'Connected' | 'Disconnected' | 'SnapshotSent' | 'LiveDataStarted' | 'LiveDataStopped' | 'LiveDataUpdated';
|
|
15
25
|
/**
|
|
16
|
-
* The
|
|
26
|
+
* The ipushpull or OpenFin report this change is about.
|
|
27
|
+
*
|
|
28
|
+
* Set for `LiveDataStarted`, `LiveDataStopped` and `LiveDataUpdated`. Omitted for `Connected`, `Disconnected` and `SnapshotSent`.
|
|
29
|
+
*
|
|
30
|
+
* This is the plugin report (an ipushpull report or an OpenFin report), not a {@link LiveReport}.
|
|
17
31
|
*/
|
|
18
32
|
liveReport?: any;
|
|
19
33
|
}
|
|
@@ -30,7 +44,9 @@ export interface LiveReport {
|
|
|
30
44
|
*/
|
|
31
45
|
report: Report;
|
|
32
46
|
/**
|
|
33
|
-
* Where the live data is being sent
|
|
47
|
+
* Where the live data is being sent.
|
|
48
|
+
*
|
|
49
|
+
* `OpenfinExcel` is the OpenFin value on this object. {@link LiveDataChangedInfo.reportDestination} uses `OpenFin` for the same destination.
|
|
34
50
|
*/
|
|
35
51
|
reportDestination: 'OpenfinExcel' | 'ipushpull';
|
|
36
52
|
}
|
|
@@ -5,7 +5,11 @@ import { BaseContext } from '../../types';
|
|
|
5
5
|
*/
|
|
6
6
|
export type NoteChangedAction = 'Added' | 'Edited' | 'Deleted';
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Payload of the `NoteChanged` event.
|
|
9
|
+
*
|
|
10
|
+
* Fires when a Note is added, edited or deleted. `actionName` is `Added`, `Edited` or `Deleted`.
|
|
11
|
+
*
|
|
12
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
9
13
|
*/
|
|
10
14
|
export interface NoteChangedInfo extends BaseContext {
|
|
11
15
|
/**
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import { ReportSchedule } from '../../AdaptableState/ExportState';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `ReportScheduleRan` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires when a scheduled report runs.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface ReportScheduleRanInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* The schedule that just ran.
|
|
9
13
|
*/
|
|
10
14
|
reportSchedule?: ReportSchedule;
|
|
11
15
|
/**
|
|
12
|
-
*
|
|
16
|
+
* When this run started, as an ISO datetime (`new Date().toISOString()`).
|
|
13
17
|
*/
|
|
14
18
|
RanAt: string;
|
|
15
19
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { BaseContext } from '../../types';
|
|
2
2
|
import { RowDataChangedInfo } from '../../AdaptableState/Common/RowDataChangedInfo';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `RowChanged` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires when rows are added, updated, deleted or loaded.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface RowChangedInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Rows that changed, and whether they were added, updated, deleted or loaded.
|
|
9
13
|
*/
|
|
10
14
|
rowDataChange: RowDataChangedInfo;
|
|
11
15
|
}
|
|
@@ -2,53 +2,69 @@ import { AdaptableFormData } from '../../AdaptableState/Common/AdaptableForm';
|
|
|
2
2
|
import { IRowNode } from 'ag-grid-enterprise';
|
|
3
3
|
import { BaseContext } from '../../types';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Payload of the `RowFormSubmitted` event.
|
|
6
|
+
*
|
|
7
|
+
* Discriminate on `type`: `rowCreated` ({@link CreatedRowInfo}), `rowEdited` ({@link EditedRowInfo}) or `rowDeleted` ({@link DeletedRowInfo}).
|
|
8
|
+
*
|
|
9
|
+
* The event fires when the form is submitted, before the grid row is added, updated or deleted.
|
|
6
10
|
*/
|
|
7
11
|
export type RowFormSubmittedInfo<TData = any> = CreatedRowInfo<TData> | EditedRowInfo<TData> | DeletedRowInfo<TData>;
|
|
8
12
|
/**
|
|
9
|
-
*
|
|
13
|
+
* Create (or clone) form was submitted.
|
|
14
|
+
*
|
|
15
|
+
* The new row is added after this event, from `formData`. `rowNode` is not set.
|
|
16
|
+
*
|
|
17
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
10
18
|
*/
|
|
11
19
|
export interface CreatedRowInfo<TData = any> extends BaseContext {
|
|
12
20
|
/**
|
|
13
|
-
*
|
|
21
|
+
* Always `rowCreated`.
|
|
14
22
|
*/
|
|
15
23
|
type: 'rowCreated';
|
|
16
24
|
/**
|
|
17
|
-
*
|
|
25
|
+
* Values entered in the form. Empty strings are omitted.
|
|
18
26
|
*/
|
|
19
27
|
formData: AdaptableFormData;
|
|
20
28
|
/**
|
|
21
|
-
*
|
|
29
|
+
* Not set for a created row. The row does not exist yet; it is added from `formData` after this event.
|
|
22
30
|
*/
|
|
23
31
|
rowNode?: IRowNode<TData>;
|
|
24
32
|
}
|
|
25
33
|
/**
|
|
26
|
-
*
|
|
34
|
+
* Edit form was submitted.
|
|
35
|
+
*
|
|
36
|
+
* The row is updated from `formData` after this event.
|
|
37
|
+
*
|
|
38
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
27
39
|
*/
|
|
28
40
|
export interface EditedRowInfo<TData = any> extends BaseContext {
|
|
29
41
|
/**
|
|
30
|
-
*
|
|
42
|
+
* Always `rowEdited`.
|
|
31
43
|
*/
|
|
32
44
|
type: 'rowEdited';
|
|
33
45
|
/**
|
|
34
|
-
*
|
|
46
|
+
* Values entered in the form.
|
|
35
47
|
*/
|
|
36
48
|
formData: AdaptableFormData;
|
|
37
49
|
/**
|
|
38
|
-
*
|
|
50
|
+
* Row being edited. It is still the row in the grid when this event fires.
|
|
39
51
|
*/
|
|
40
52
|
rowNode: IRowNode<TData>;
|
|
41
53
|
}
|
|
42
54
|
/**
|
|
43
|
-
*
|
|
55
|
+
* Delete was confirmed.
|
|
56
|
+
*
|
|
57
|
+
* The row is deleted after this event. There is no form data.
|
|
58
|
+
*
|
|
59
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
44
60
|
*/
|
|
45
61
|
export interface DeletedRowInfo<TData = any> extends BaseContext {
|
|
46
62
|
/**
|
|
47
|
-
*
|
|
63
|
+
* Always `rowDeleted`.
|
|
48
64
|
*/
|
|
49
65
|
type: 'rowDeleted';
|
|
50
66
|
/**
|
|
51
|
-
*
|
|
67
|
+
* Row about to be deleted. It is still in the grid when this event fires.
|
|
52
68
|
*/
|
|
53
69
|
rowNode: IRowNode<TData>;
|
|
54
70
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { SelectedRowInfo } from '../../AdaptableState/Selection/SelectedRowInfo';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `RowSelectionChanged` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires when the row selection changes, after AdapTable has updated its selected-row state. Cell selection does not fire this event.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface RowSelectionChangedInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Rows selected after this change. `gridRows` is empty when nothing is selected.
|
|
9
13
|
*/
|
|
10
14
|
selectedRowInfo: SelectedRowInfo;
|
|
11
15
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { SystemStatusMessageInfo } from '../../AdaptableState/Common/SystemStatusMessageInfo';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `SystemStatusMessageDisplayed` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires when a System Status message is displayed.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface SystemStatusMessageDisplayedInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Message text, type (`Success`, `Info`, `Warning` or `Error`) and when it was sent.
|
|
9
13
|
*/
|
|
10
14
|
systemStatusMessageInfo: SystemStatusMessageInfo;
|
|
11
15
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { SharedEntity } from '../../AdaptableState/TeamSharingState';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `TeamSharingEntityChanged` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires when an active shared entity has a newer revision and Team Sharing update notifications run.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface TeamSharingEntityChangedInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Shared entity whose revision changed.
|
|
9
13
|
*/
|
|
10
14
|
sharedEntity: SharedEntity;
|
|
11
15
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { SystemThemeName } from '../../AdaptableState/ThemeState';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Payload of the `ThemeSelected` event.
|
|
5
|
+
*
|
|
6
|
+
* Fires when a shipped theme is selected, applied at startup, or re-applied. `theme` is `light`, `dark` or `os`.
|
|
7
|
+
*
|
|
8
|
+
* Extends {@link BaseContext}, so `adaptableApi` is included.
|
|
5
9
|
*/
|
|
6
10
|
export interface ThemeSelectedInfo extends BaseContext {
|
|
7
11
|
/**
|
|
8
|
-
* Shipped theme that is now active: `light`, `dark
|
|
12
|
+
* Shipped theme that is now active: `light`, `dark` or `os`.
|
|
9
13
|
*/
|
|
10
14
|
theme: SystemThemeName;
|
|
11
15
|
}
|