@adaptabletools/adaptable 10.0.4-canary.0 → 10.0.4-canary.1
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/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/NotificationsOptions.d.ts +3 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +24 -6
- package/src/Api/Events/AdaptableReady.d.ts +2 -6
- package/src/Api/Events/AdaptableStateChanged.d.ts +2 -1
- package/src/Api/Events/AlertFired.d.ts +2 -1
- package/src/Api/Events/BaseEventInfo.d.ts +10 -0
- package/src/Api/Events/BaseEventInfo.js +2 -0
- package/src/Api/Events/CellChanged.d.ts +2 -1
- package/src/Api/Events/ChexboxColumnClicked.d.ts +2 -1
- package/src/Api/Events/CustomToolbarConfigured.d.ts +2 -1
- package/src/Api/Events/DashboardChanged.d.ts +2 -1
- package/src/Api/Events/FlashingAlertFired.d.ts +2 -1
- package/src/Api/Events/GridDataChanged.d.ts +2 -1
- package/src/Api/Events/LayoutChanged.d.ts +2 -1
- package/src/Api/Events/LiveDataChanged.d.ts +2 -1
- package/src/Api/Events/SearchChanged.d.ts +2 -1
- package/src/Api/Events/SelectionChanged.d.ts +2 -1
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +2 -1
- package/src/Api/Events/TeamSharingEntityChanged.d.ts +2 -1
- package/src/Api/Events/ThemeChanged.d.ts +2 -1
- package/src/Api/Implementation/AlertApiImpl.js +12 -12
- package/src/Api/Implementation/DashboardApiImpl.js +2 -1
- package/src/Api/Implementation/FormatColumnApiImpl.js +1 -0
- package/src/Api/Implementation/GridApiImpl.js +3 -0
- package/src/Api/Implementation/LayoutApiImpl.js +1 -0
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -0
- package/src/Api/Implementation/TeamSharingApiImpl.js +1 -0
- package/src/Api/Implementation/ThemeApiImpl.js +1 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.js +11 -2
- package/src/PredefinedConfig/AlertState.d.ts +1 -2
- package/src/PredefinedConfig/Common/AdaptableButton.d.ts +1 -1
- package/src/Utilities/Services/MetamodelService.js +0 -1
- package/src/Utilities/Services/ReportService.js +1 -0
- package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
- package/src/View/Dashboard/Dashboard.js +2 -3
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +2 -2
- package/src/View/Export/ExportCustomDestinationDialog.js +1 -1
- package/src/agGrid/ActionColumnRenderer.js +1 -1
- package/src/agGrid/Adaptable.js +18 -3
- package/src/agGrid/agGridHelper.js +1 -0
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +3 -3
- package/src/metamodel/adaptable.metamodel.d.ts +2 -9
- package/src/metamodel/adaptable.metamodel.js +1 -8
- package/src/types.d.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "10.0.4-canary.
|
|
3
|
+
"version": "10.0.4-canary.1",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 datagrid add-on that sits on top of an underlying grid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1637827862614;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { AlertButton, FlashingAlertProperties } from '../PredefinedConfig/AlertState';
|
|
1
|
+
import { AlertButton, AlertDefinition, FlashingAlertProperties } from '../PredefinedConfig/AlertState';
|
|
2
2
|
import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
|
|
3
3
|
import { ButtonContext } from '../PredefinedConfig/Common/AdaptableButton';
|
|
4
4
|
import { AdaptableForm, AdaptableFormData } from '../PredefinedConfig/Common/AdaptableForm';
|
|
5
|
+
import { DataChangedInfo } from '../types';
|
|
5
6
|
/**
|
|
6
7
|
* Options related to Alerts, System Status Messages and Notifications in Adaptable.
|
|
7
8
|
*/
|
|
@@ -111,6 +112,7 @@ export interface NotificationsOptions {
|
|
|
111
112
|
* @gridInfoItem
|
|
112
113
|
*/
|
|
113
114
|
maxSystemMessagesInStore?: number;
|
|
115
|
+
alertMessageText?: (alertDefinition: AlertDefinition, dataChangedInfo?: DataChangedInfo) => string | undefined;
|
|
114
116
|
}
|
|
115
117
|
/**
|
|
116
118
|
* Handles a Form Button Action
|
|
@@ -6,7 +6,7 @@ import { AdaptableButton, ButtonContext } from '../PredefinedConfig/Common/Adapt
|
|
|
6
6
|
import { RowNode } from '@ag-grid-community/all-modules';
|
|
7
7
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
8
8
|
import { AdaptableStyle } from '../PredefinedConfig/Common/AdaptableStyle';
|
|
9
|
-
import { GridCell } from '../../types';
|
|
9
|
+
import { AdaptableApi, GridCell } from '../../types';
|
|
10
10
|
/**
|
|
11
11
|
* Options for managing the User Interface of AdapTable
|
|
12
12
|
*/
|
|
@@ -95,13 +95,13 @@ export interface PermittedValues extends BasePermittedValues {
|
|
|
95
95
|
/**
|
|
96
96
|
* Values to display: either hardcoded list or a function
|
|
97
97
|
*/
|
|
98
|
-
values?: any[] | ((
|
|
98
|
+
values?: any[] | ((params: PermittedValuesParams) => any[]);
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
101
|
* Used to define permitted values for inline column editor
|
|
102
102
|
*/
|
|
103
103
|
export interface EditLookUpPermittedValues extends BasePermittedValues {
|
|
104
|
-
values?: any[] | ((
|
|
104
|
+
values?: any[] | ((params: EditLookUpParams) => any[]);
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* Used to define values inside the floating filter and floating filter (quick filter)
|
|
@@ -112,19 +112,19 @@ export interface FilterPermittedValues extends BasePermittedValues {
|
|
|
112
112
|
* @default false
|
|
113
113
|
*/
|
|
114
114
|
suppressClientSideFiltering?: boolean;
|
|
115
|
-
values: (
|
|
115
|
+
values: (params: FilterPermittedValuesParams) => any[] | Promise<any[]>;
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
118
|
* Custom column values for custom sort.
|
|
119
119
|
*/
|
|
120
120
|
export interface CustomSortPermittedValues extends BasePermittedValues {
|
|
121
|
-
values: (
|
|
121
|
+
values: (params: PermittedValuesParams) => any[] | Promise<any[]>;
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* User to define permitted values when updating cells via bulk update
|
|
125
125
|
*/
|
|
126
126
|
export interface BulkUpdatePermittedValues extends BasePermittedValues {
|
|
127
|
-
values: (
|
|
127
|
+
values: (params: BulkUpdatePermittedValuesParams) => any[] | Promise<any[]>;
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
130
|
* Use PermittedValues instead
|
|
@@ -197,3 +197,21 @@ export interface ActionColumnSettings {
|
|
|
197
197
|
*/
|
|
198
198
|
suppressMovable?: boolean;
|
|
199
199
|
}
|
|
200
|
+
export interface BaseParams {
|
|
201
|
+
adaptableApi: AdaptableApi;
|
|
202
|
+
}
|
|
203
|
+
export interface EditLookUpParams extends BaseParams {
|
|
204
|
+
column: AdaptableColumn;
|
|
205
|
+
gridCell: GridCell;
|
|
206
|
+
}
|
|
207
|
+
export interface PermittedValuesParams extends BaseParams {
|
|
208
|
+
column: AdaptableColumn;
|
|
209
|
+
}
|
|
210
|
+
export interface FilterPermittedValuesParams extends BaseParams {
|
|
211
|
+
column: AdaptableColumn;
|
|
212
|
+
filter: string;
|
|
213
|
+
}
|
|
214
|
+
export interface BulkUpdatePermittedValuesParams extends BaseParams {
|
|
215
|
+
column: AdaptableColumn;
|
|
216
|
+
gridCells: GridCell[];
|
|
217
|
+
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
2
|
/**
|
|
3
3
|
* Object returned by `AdaptableReady` event - fired when AdapTable has loaded
|
|
4
4
|
*/
|
|
5
|
-
export interface AdaptableReadyInfo {
|
|
5
|
+
export interface AdaptableReadyInfo extends BaseEventInfo {
|
|
6
6
|
/**
|
|
7
7
|
* Instance of the underlying vendor grid (e.g. for AG Grid its the GridOptions object)
|
|
8
8
|
*/
|
|
9
9
|
vendorGrid: any;
|
|
10
|
-
/**
|
|
11
|
-
* Adaptable API object used for runtime programmatic access to AdapTable
|
|
12
|
-
*/
|
|
13
|
-
adaptableApi: AdaptableApi;
|
|
14
10
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
2
|
import { AdaptableState } from '../../PredefinedConfig/AdaptableState';
|
|
3
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
3
4
|
/**
|
|
4
5
|
* Object returned by the `AdaptableStateChanged` event
|
|
5
6
|
*/
|
|
6
|
-
export interface AdaptableStateChangedInfo {
|
|
7
|
+
export interface AdaptableStateChangedInfo extends BaseEventInfo {
|
|
7
8
|
/**
|
|
8
9
|
* Name of the Action
|
|
9
10
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AdaptableAlert } from '../../PredefinedConfig/Common/AdaptableAlert';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by the `AlertFired` event
|
|
4
5
|
*/
|
|
5
|
-
export interface AlertFiredInfo {
|
|
6
|
+
export interface AlertFiredInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Alert which has been fired
|
|
8
9
|
*/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AdaptableApi } from '../AdaptableApi';
|
|
2
|
+
/**
|
|
3
|
+
* Base Object returned by all events - contains the Adaptable API
|
|
4
|
+
*/
|
|
5
|
+
export interface BaseEventInfo {
|
|
6
|
+
/**
|
|
7
|
+
* Adaptable API object used for runtime programmatic access to AdapTable
|
|
8
|
+
*/
|
|
9
|
+
adaptableApi: AdaptableApi;
|
|
10
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { DataChangedInfo } from '../../PredefinedConfig/Common/DataChangedInfo';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by CellChanged event
|
|
4
5
|
*/
|
|
5
|
-
export interface CellChangedInfo {
|
|
6
|
+
export interface CellChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Object providing full information of the cell (and column and row) that changed
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Event Info published by CheckboxColumnClicked event
|
|
4
5
|
*/
|
|
5
|
-
export interface CheckboxColumnClickedInfo {
|
|
6
|
+
export interface CheckboxColumnClickedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Name of Column where Checkbox was clicked
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CustomToolbar } from '../../AdaptableOptions/DashboardOptions';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by the CustomToolbarConfigured event
|
|
4
5
|
*/
|
|
5
|
-
export interface CustomToolbarConfiguredInfo {
|
|
6
|
+
export interface CustomToolbarConfiguredInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Custom Toolbar in which the 'Configure' button has been clicked
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { DashboardState } from '../../PredefinedConfig/DashboardState';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by the `DashboardChanged` event
|
|
4
5
|
*/
|
|
5
|
-
export interface DashboardChangedInfo {
|
|
6
|
+
export interface DashboardChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* What caused Dashboard State to change
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AdaptableFlashingAlert } from '../../PredefinedConfig/Common/AdaptableFlashingAlert';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by the `FlashingAlertFired` event
|
|
4
5
|
*/
|
|
5
|
-
export interface FlashingAlertFiredInfo {
|
|
6
|
+
export interface FlashingAlertFiredInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* FlashingAlert which has been fired
|
|
8
9
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
1
2
|
/**
|
|
2
3
|
* EventInfo returned by GridDataChanged event
|
|
3
4
|
*/
|
|
4
|
-
export interface GridDataChangedInfo {
|
|
5
|
+
export interface GridDataChangedInfo extends BaseEventInfo {
|
|
5
6
|
/**
|
|
6
7
|
* Rows that have been added, updated, or deleted
|
|
7
8
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { LayoutState } from '../../PredefinedConfig/LayoutState';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by LayoutChanged event
|
|
4
5
|
*/
|
|
5
|
-
export interface LayoutChangedInfo {
|
|
6
|
+
export interface LayoutChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* What caused Layout State to change
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Report } from '../../PredefinedConfig/ExportState';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by LiveDataChanged event
|
|
4
5
|
*/
|
|
5
|
-
export interface LiveDataChangedInfo {
|
|
6
|
+
export interface LiveDataChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Which Adaptable partner is the export destination for the live data
|
|
8
9
|
*/
|
|
@@ -2,10 +2,11 @@ import { DataSource } from '../../PredefinedConfig/DataSourceState';
|
|
|
2
2
|
import { CustomSort } from '../../PredefinedConfig/CustomSortState';
|
|
3
3
|
import { ColumnSort } from '../../PredefinedConfig/Common/ColumnSort';
|
|
4
4
|
import { ColumnFilter } from '../../PredefinedConfig/FilterState';
|
|
5
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
5
6
|
/**
|
|
6
7
|
* EventInfo returned by SearchChanged event; includes full AdapTable search and sort info plus the event's trigger
|
|
7
8
|
*/
|
|
8
|
-
export interface SearchChangedInfo {
|
|
9
|
+
export interface SearchChangedInfo extends BaseEventInfo {
|
|
9
10
|
/**
|
|
10
11
|
* What action caused event to fire: DataSource, CurrentQuery, Filter, DataChange or Sort
|
|
11
12
|
*/
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { SelectedCellInfo } from '../../PredefinedConfig/Selection/SelectedCellInfo';
|
|
2
2
|
import { SelectedRowInfo } from '../../PredefinedConfig/Selection/SelectedRowInfo';
|
|
3
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
3
4
|
/**
|
|
4
5
|
* Event Info published by SelectionChanged event
|
|
5
6
|
*/
|
|
6
|
-
export interface SelectionChangedInfo {
|
|
7
|
+
export interface SelectionChangedInfo extends BaseEventInfo {
|
|
7
8
|
/**
|
|
8
9
|
* Details of cells currently selected in the Grid
|
|
9
10
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { SystemStatusMessageInfo } from '../../PredefinedConfig/Common/SystemStatusMessageInfo';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by the `SystemStatusMessageDisplayed' event
|
|
4
5
|
*/
|
|
5
|
-
export interface SystemStatusMessageDisplayedInfo {
|
|
6
|
+
export interface SystemStatusMessageDisplayedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Details of the System Status Message and Type
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { SharedEntity } from '../../PredefinedConfig/TeamSharingState';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by TeamSharingEntityChanged event
|
|
4
5
|
*/
|
|
5
|
-
export interface TeamSharingEntityChangedInfo {
|
|
6
|
+
export interface TeamSharingEntityChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Object containing the Shared Entity that has changed
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AdaptableTheme } from '../../PredefinedConfig/ThemeState';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by the `ThemeChanged` event
|
|
4
5
|
*/
|
|
5
|
-
export interface ThemeChangedInfo {
|
|
6
|
+
export interface ThemeChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Selected Theme: either name of a (System) theme or the (Custom) Theme itself
|
|
8
9
|
*/
|
|
@@ -159,6 +159,7 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
159
159
|
showFlashingAlert(alertToShow) {
|
|
160
160
|
this.addUidToAdaptableObject(alertToShow);
|
|
161
161
|
const flashingAlertFiredInfo = {
|
|
162
|
+
adaptableApi: this.adaptable.api,
|
|
162
163
|
flashingAlert: alertToShow,
|
|
163
164
|
};
|
|
164
165
|
const results = this.adaptable.api.eventApi.emitSync('FlashingAlertFired', flashingAlertFiredInfo);
|
|
@@ -181,9 +182,7 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
181
182
|
this.addUidToAdaptableObject(alertToShow);
|
|
182
183
|
this.dispatchAction(SystemRedux.SystemAlertAdd(alertToShow, this.getNotificationsOptions().maxAlertsInStore));
|
|
183
184
|
// 2. Publish the Alert Fired Event
|
|
184
|
-
const alertFiredInfo = {
|
|
185
|
-
alert: alertToShow,
|
|
186
|
-
};
|
|
185
|
+
const alertFiredInfo = { adaptableApi: this.adaptable.api, alert: alertToShow };
|
|
187
186
|
const results = await this.adaptable.api.eventApi.emit('AlertFired', alertFiredInfo);
|
|
188
187
|
const showPopup = results.reduce((endResult, aResult) => {
|
|
189
188
|
return endResult && aResult !== false;
|
|
@@ -233,9 +232,7 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
233
232
|
}
|
|
234
233
|
}
|
|
235
234
|
publishAlertFiredEvent(alertToFire) {
|
|
236
|
-
const alertFiredInfo = {
|
|
237
|
-
alert: alertToFire,
|
|
238
|
-
};
|
|
235
|
+
const alertFiredInfo = { adaptableApi: this.adaptable.api, alert: alertToFire };
|
|
239
236
|
this.adaptable.api.eventApi.emit('AlertFired', alertFiredInfo);
|
|
240
237
|
}
|
|
241
238
|
displayMessageAlertPopup(alertToDisplayAsPopup) {
|
|
@@ -311,14 +308,17 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
311
308
|
return flashingAlertDefinitions === null || flashingAlertDefinitions === void 0 ? void 0 : flashingAlertDefinitions.map((alert) => this.getFlashingAlertDefinitionById(alert === null || alert === void 0 ? void 0 : alert.Uuid));
|
|
312
309
|
}
|
|
313
310
|
getAlertDescription(alertDefinition, dataChangedInfo) {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
return
|
|
311
|
+
var _a;
|
|
312
|
+
const alertMessageFunction = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.alertMessageText;
|
|
313
|
+
if (alertMessageFunction) {
|
|
314
|
+
const returnText = alertMessageFunction(alertDefinition, dataChangedInfo);
|
|
315
|
+
if (returnText) {
|
|
316
|
+
return returnText;
|
|
320
317
|
}
|
|
321
318
|
}
|
|
319
|
+
if (alertDefinition.MessageText != null) {
|
|
320
|
+
return alertDefinition.MessageText;
|
|
321
|
+
}
|
|
322
322
|
let scopeDescription = this.adaptable.api.scopeApi.getScopeDescription(alertDefinition.Scope);
|
|
323
323
|
let ruleDescription = this.getAlertRuleDescription(alertDefinition);
|
|
324
324
|
return scopeDescription + ' - ' + ruleDescription;
|
|
@@ -18,6 +18,7 @@ class DashboardApiImpl extends ApiBase_1.ApiBase {
|
|
|
18
18
|
// so we debounced to only get tha latest call
|
|
19
19
|
this.fireDashboardChangedEvent = (trigger, oldDashboardState, newDashboardState) => {
|
|
20
20
|
const dashboardChangedInfo = {
|
|
21
|
+
adaptableApi: this.adaptable.api,
|
|
21
22
|
actionName: trigger,
|
|
22
23
|
oldDashboardState: oldDashboardState,
|
|
23
24
|
newDashboardState: newDashboardState,
|
|
@@ -39,7 +40,7 @@ class DashboardApiImpl extends ApiBase_1.ApiBase {
|
|
|
39
40
|
getCustomDashboardButtonByLabel(buttonLabel) {
|
|
40
41
|
const api = this.getAdaptableApi();
|
|
41
42
|
const dashboardContext = {
|
|
42
|
-
api,
|
|
43
|
+
adaptableApi: api,
|
|
43
44
|
dashboardState: api.dashboardApi.getDashboardState(),
|
|
44
45
|
};
|
|
45
46
|
return this.getDashboardOptions().customDashboardButtons.find((cb) => {
|
|
@@ -256,6 +256,7 @@ class FormatColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
256
256
|
}
|
|
257
257
|
fireCheckboxColumnClickedEvent(columnId, rowData, primaryKeyValue, isChecked) {
|
|
258
258
|
let checkboxColumnClickedInfo = {
|
|
259
|
+
adaptableApi: this.adaptable.api,
|
|
259
260
|
column: this.adaptable.api.columnApi.getColumnFromId(columnId),
|
|
260
261
|
rowData: rowData,
|
|
261
262
|
primaryKeyValue: primaryKeyValue,
|
|
@@ -230,6 +230,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
230
230
|
const adaptableSearchState = this.adaptable.api.configApi.getAdaptableSearchState();
|
|
231
231
|
const adaptableSortState = this.adaptable.api.configApi.getAdaptableSortState();
|
|
232
232
|
const searchChangedInfo = {
|
|
233
|
+
adaptableApi: this.adaptable.api,
|
|
233
234
|
searchChangedTrigger,
|
|
234
235
|
adaptableSearchState: adaptableSearchState,
|
|
235
236
|
adaptableSortState: adaptableSortState,
|
|
@@ -240,6 +241,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
240
241
|
fireCellChangedEvent(dataChangedInfo) {
|
|
241
242
|
if (this.adaptable.isInitialised) {
|
|
242
243
|
const cellChangedInfo = {
|
|
244
|
+
adaptableApi: this.adaptable.api,
|
|
243
245
|
cellChange: dataChangedInfo,
|
|
244
246
|
};
|
|
245
247
|
this.adaptable.api.eventApi.emit('CellChanged', cellChangedInfo);
|
|
@@ -248,6 +250,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
248
250
|
fireGridDataChangedEvent(dataRows, rowTigger) {
|
|
249
251
|
if (this.adaptable.isInitialised) {
|
|
250
252
|
const gridDataChangedInfo = {
|
|
253
|
+
adaptableApi: this.adaptable.api,
|
|
251
254
|
rowTigger: rowTigger,
|
|
252
255
|
dataRows: dataRows,
|
|
253
256
|
};
|
|
@@ -80,6 +80,7 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
|
|
|
80
80
|
}
|
|
81
81
|
fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo) {
|
|
82
82
|
const systemStatusMessageDisplayedInfo = {
|
|
83
|
+
adaptableApi: this.adaptable.api,
|
|
83
84
|
systemStatusMessageInfo: systemStatusMessageInfo,
|
|
84
85
|
};
|
|
85
86
|
this.adaptable.api.eventApi.emit('SystemStatusMessageDisplayed', systemStatusMessageDisplayedInfo);
|
|
@@ -35,6 +35,7 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
|
|
|
35
35
|
fireTeamSharingEntityChangedEvent(sharedEntity) {
|
|
36
36
|
if (this.adaptable.isInitialised) {
|
|
37
37
|
const teamSharingEntityChangedInfo = {
|
|
38
|
+
adaptableApi: this.adaptable.api,
|
|
38
39
|
sharedEntity: sharedEntity,
|
|
39
40
|
};
|
|
40
41
|
this.adaptable.api.eventApi.emit('TeamSharingEntityChanged', teamSharingEntityChangedInfo);
|
|
@@ -48,6 +48,7 @@ class ThemeApiImpl extends ApiBase_1.ApiBase {
|
|
|
48
48
|
}
|
|
49
49
|
this.adaptable.applyAdaptableTheme(currentTheme);
|
|
50
50
|
let themeChangedInfo = {
|
|
51
|
+
adaptableApi: this.adaptable.api,
|
|
51
52
|
theme: currentTheme,
|
|
52
53
|
};
|
|
53
54
|
this.adaptable.api.eventApi.emit('ThemeChanged', themeChangedInfo);
|
|
@@ -67,7 +67,11 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
|
|
|
67
67
|
// first do the function then get hardcoded items
|
|
68
68
|
if (permittedValues != null && typeof permittedValues === 'function') {
|
|
69
69
|
if (column) {
|
|
70
|
-
|
|
70
|
+
const permittedValuesParams = {
|
|
71
|
+
adaptableApi: this.adaptable.api,
|
|
72
|
+
column: column,
|
|
73
|
+
};
|
|
74
|
+
return permittedValues(permittedValuesParams);
|
|
71
75
|
}
|
|
72
76
|
}
|
|
73
77
|
else {
|
|
@@ -131,7 +135,12 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
|
|
|
131
135
|
let editLookUpValues = editLookUpItem.values;
|
|
132
136
|
// first do the function then get hardcoded items
|
|
133
137
|
if (editLookUpValues != null && typeof editLookUpValues === 'function') {
|
|
134
|
-
|
|
138
|
+
const editLookUpParams = {
|
|
139
|
+
adaptableApi: this.adaptable.api,
|
|
140
|
+
column: gridCell.column,
|
|
141
|
+
gridCell: gridCell,
|
|
142
|
+
};
|
|
143
|
+
return editLookUpValues(editLookUpParams);
|
|
135
144
|
}
|
|
136
145
|
else {
|
|
137
146
|
let arr = editLookUpValues;
|
|
@@ -11,7 +11,6 @@ import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
|
11
11
|
import { AdaptableAggregationQuery, AdaptableBooleanQuery, AdaptableObservableQuery } from './Common/AdaptableQuery';
|
|
12
12
|
import { ButtonStyle } from './Common/ButtonStyle';
|
|
13
13
|
import { AlertButtonContext } from '../AdaptableOptions/NotificationsOptions';
|
|
14
|
-
import { DataChangedInfo } from './Common/DataChangedInfo';
|
|
15
14
|
/**
|
|
16
15
|
* Predefined Configuration for Alert function
|
|
17
16
|
*/
|
|
@@ -86,7 +85,7 @@ export interface AlertDefinition extends BaseAlertDefinition {
|
|
|
86
85
|
/**
|
|
87
86
|
* Alert Message - can be string or function; if not provided AdapTable creates dynamically using Rule & Scope
|
|
88
87
|
*/
|
|
89
|
-
MessageText?: string
|
|
88
|
+
MessageText?: string;
|
|
90
89
|
/**
|
|
91
90
|
* Series of properties which set what happens when Alert is triggered
|
|
92
91
|
*/
|
|
@@ -36,5 +36,5 @@ export interface AdaptableButton<CONTEXT_TYPE extends ButtonContext> extends Ada
|
|
|
36
36
|
hidden?: (button: AdaptableButton<CONTEXT_TYPE>, context: CONTEXT_TYPE) => boolean;
|
|
37
37
|
}
|
|
38
38
|
export interface ButtonContext {
|
|
39
|
-
|
|
39
|
+
adaptableApi: AdaptableApi;
|
|
40
40
|
}
|
|
@@ -16,7 +16,6 @@ class MetamodelService {
|
|
|
16
16
|
buildGridInfoOptions() {
|
|
17
17
|
const gridInfoOptions = new Map();
|
|
18
18
|
const adaptableMetamodel = adaptable_metamodel_1.ADAPTABLE_METAMODEL;
|
|
19
|
-
console.log({ adaptableMetamodel });
|
|
20
19
|
const adaptableOptionsMetamodel = adaptableMetamodel['AdaptableOptions'];
|
|
21
20
|
const adaptableOptionsValues = this.adaptable.adaptableOptions;
|
|
22
21
|
const adaptableOptionsDefaultValues = DefaultAdaptableOptions_1.DefaultAdaptableOptions;
|
|
@@ -287,6 +287,7 @@ class ReportService {
|
|
|
287
287
|
}
|
|
288
288
|
PublishLiveLiveDataChangedEvent(reportDestination, liveDataTrigger, liveReport) {
|
|
289
289
|
const liveDataChangedInfo = {
|
|
290
|
+
adaptableApi: this.adaptable.api,
|
|
290
291
|
reportDestination: reportDestination,
|
|
291
292
|
liveDataTrigger: liveDataTrigger,
|
|
292
293
|
liveReport: liveReport,
|
|
@@ -180,7 +180,7 @@ const AdaptableToolPanelComponent = (props) => {
|
|
|
180
180
|
};
|
|
181
181
|
const iconProps = button.icon && Object.assign({}, defaultIconProps, button.icon);
|
|
182
182
|
const toolPanelContext = {
|
|
183
|
-
|
|
183
|
+
adaptableApi: props.api,
|
|
184
184
|
toolPanelState: props.api.toolPanelApi.getToolPanelState(),
|
|
185
185
|
};
|
|
186
186
|
let buttonStyle = props.api.internalApi.getStyleForButton(button, toolPanelContext);
|
|
@@ -48,7 +48,7 @@ exports.CustomToolPanelContent = (props) => {
|
|
|
48
48
|
};
|
|
49
49
|
const iconProps = button.icon && Object.assign({}, defaultIconProps, button.icon);
|
|
50
50
|
const toolPanelContext = {
|
|
51
|
-
api,
|
|
51
|
+
adaptableApi: api,
|
|
52
52
|
toolPanelState: api.toolPanelApi.getToolPanelState(),
|
|
53
53
|
customToolPanel: customToolPanel,
|
|
54
54
|
};
|
|
@@ -35,6 +35,7 @@ exports.CustomToolbarWrapper = (props) => {
|
|
|
35
35
|
return (React.createElement(PanelDashboard_1.PanelDashboard, { className: `ab-CustomToolbar ab-DashboardToolbar__${props.customToolbar.name}`, "data-name": `ab-CustomToolbar ab-DashboardToolbar__${props.customToolbar.name}`, headerText: props.customToolbar.title ? props.customToolbar.title : '', showConfigureButton: props.customToolbar.showConfigureButton != null &&
|
|
36
36
|
props.customToolbar.showConfigureButton == true, showCloseButton: props.customToolbar.showCloseButton != null && props.customToolbar.showCloseButton == true, onConfigure: () => {
|
|
37
37
|
const customToolbarConfiguredInfo = {
|
|
38
|
+
adaptableApi: api,
|
|
38
39
|
customToolbar: props.customToolbar,
|
|
39
40
|
};
|
|
40
41
|
api.eventApi.emit('CustomToolbarConfigured', customToolbarConfiguredInfo);
|
|
@@ -48,7 +49,7 @@ exports.CustomToolbarWrapper = (props) => {
|
|
|
48
49
|
// with the next opportunity we should abstract it
|
|
49
50
|
const dashboardContext = {
|
|
50
51
|
customToolbar: props.customToolbar,
|
|
51
|
-
api,
|
|
52
|
+
adaptableApi: api,
|
|
52
53
|
dashboardState: api.dashboardApi.getDashboardState(),
|
|
53
54
|
};
|
|
54
55
|
let buttonStyle = api.internalApi.getStyleForButton(button, dashboardContext);
|
|
@@ -84,8 +84,7 @@ const DashboardComponent = (props) => {
|
|
|
84
84
|
};
|
|
85
85
|
const renderDashboardButtons = () => {
|
|
86
86
|
var _a;
|
|
87
|
-
let dashboardButtonsArray = (_a = props.api.dashboardApi
|
|
88
|
-
.getCustomDashboardButtons()) === null || _a === void 0 ? void 0 : _a.filter((c) => c);
|
|
87
|
+
let dashboardButtonsArray = (_a = props.api.dashboardApi.getCustomDashboardButtons()) === null || _a === void 0 ? void 0 : _a.filter((c) => c);
|
|
89
88
|
let customDashboardButtons = null;
|
|
90
89
|
if (dashboardButtonsArray) {
|
|
91
90
|
customDashboardButtons = dashboardButtonsArray.map((button) => {
|
|
@@ -103,7 +102,7 @@ const DashboardComponent = (props) => {
|
|
|
103
102
|
// delete iconProps.Uuid;
|
|
104
103
|
// }
|
|
105
104
|
const dashboardContext = {
|
|
106
|
-
|
|
105
|
+
adaptableApi: props.api,
|
|
107
106
|
dashboardState: props.api.dashboardApi.getDashboardState(),
|
|
108
107
|
};
|
|
109
108
|
let buttonStyle = props.api.internalApi.getStyleForButton(button, dashboardContext);
|
|
@@ -104,7 +104,7 @@ const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableCont
|
|
|
104
104
|
includeGroupedRows: true,
|
|
105
105
|
actionColumnButton: {
|
|
106
106
|
label: (button, context) => {
|
|
107
|
-
if (context.
|
|
107
|
+
if (context.adaptableApi.gridApi.isGroupRowNode(context.rowNode)) {
|
|
108
108
|
return 'Undo Group';
|
|
109
109
|
}
|
|
110
110
|
return 'Undo Change';
|
|
@@ -112,7 +112,7 @@ const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableCont
|
|
|
112
112
|
onClick: (button, context) => {
|
|
113
113
|
var _a;
|
|
114
114
|
const rowNode = context.rowNode;
|
|
115
|
-
if (context.
|
|
115
|
+
if (context.adaptableApi.gridApi.isGroupRowNode(rowNode)) {
|
|
116
116
|
// undo all children
|
|
117
117
|
const childrenNodes = (_a = context.rowNode) === null || _a === void 0 ? void 0 : _a.childrenAfterFilter;
|
|
118
118
|
if (childrenNodes) {
|
|
@@ -40,7 +40,7 @@ class ActionColumnRenderer {
|
|
|
40
40
|
actionColumn: actionCol,
|
|
41
41
|
primaryKeyValue: pkValue,
|
|
42
42
|
rowNode: params.node,
|
|
43
|
-
|
|
43
|
+
adaptableApi: adaptable.api,
|
|
44
44
|
};
|
|
45
45
|
// if its a group node then only show if set to do so
|
|
46
46
|
if (adaptable.api.gridApi.isGroupRowNode(params.node) && !actionCol.includeGroupedRows) {
|
package/src/agGrid/Adaptable.js
CHANGED
|
@@ -486,6 +486,7 @@ class Adaptable {
|
|
|
486
486
|
performAudit(action, oldState, newState) {
|
|
487
487
|
if (this.isInitialised) {
|
|
488
488
|
const adaptableStateChangedInfo = {
|
|
489
|
+
adaptableApi: this.api,
|
|
489
490
|
actionName: action.type,
|
|
490
491
|
clientTimestamp: new Date(),
|
|
491
492
|
userName: this.adaptableOptions.userName,
|
|
@@ -1490,7 +1491,12 @@ class Adaptable {
|
|
|
1490
1491
|
};
|
|
1491
1492
|
let preparedPermittedValues = undefined;
|
|
1492
1493
|
try {
|
|
1493
|
-
|
|
1494
|
+
const filterPermittedValuesParams = {
|
|
1495
|
+
adaptableApi: this.api,
|
|
1496
|
+
column: column,
|
|
1497
|
+
filter: filter,
|
|
1498
|
+
};
|
|
1499
|
+
preparedPermittedValues = await (permittedValues === null || permittedValues === void 0 ? void 0 : permittedValues.values(filterPermittedValuesParams));
|
|
1494
1500
|
}
|
|
1495
1501
|
catch (error) {
|
|
1496
1502
|
LoggingHelper_1.ConsoleLogError(`Failed to load filter permitted values`, column, filter, error);
|
|
@@ -1504,7 +1510,11 @@ class Adaptable {
|
|
|
1504
1510
|
const permittedValues = await this.api.userInterfaceApi.getCustomSortPermittedValuesForColumn(column);
|
|
1505
1511
|
let preparedPermittedValues = undefined;
|
|
1506
1512
|
try {
|
|
1507
|
-
|
|
1513
|
+
const permittedValuesParams = {
|
|
1514
|
+
adaptableApi: this.api,
|
|
1515
|
+
column: column,
|
|
1516
|
+
};
|
|
1517
|
+
preparedPermittedValues = await (permittedValues === null || permittedValues === void 0 ? void 0 : permittedValues.values(permittedValuesParams));
|
|
1508
1518
|
}
|
|
1509
1519
|
catch (error) {
|
|
1510
1520
|
LoggingHelper_1.ConsoleLogError(`Failed to load custom sort permitted values`, column, error);
|
|
@@ -1515,7 +1525,12 @@ class Adaptable {
|
|
|
1515
1525
|
const permittedValues = await this.api.userInterfaceApi.getBulkUpdatePermittedValuesForColumn(column);
|
|
1516
1526
|
let preparedPermittedValues = undefined;
|
|
1517
1527
|
try {
|
|
1518
|
-
|
|
1528
|
+
const bulkUpdatePermittedValuesParams = {
|
|
1529
|
+
adaptableApi: this.api,
|
|
1530
|
+
column: column,
|
|
1531
|
+
gridCells: selectedGridCells,
|
|
1532
|
+
};
|
|
1533
|
+
preparedPermittedValues = await (permittedValues === null || permittedValues === void 0 ? void 0 : permittedValues.values(bulkUpdatePermittedValuesParams));
|
|
1519
1534
|
}
|
|
1520
1535
|
catch (error) {
|
|
1521
1536
|
LoggingHelper_1.ConsoleLogError(`Failed to load bulk permitted values`, error, column, selectedGridCells);
|
|
@@ -322,6 +322,7 @@ class agGridHelper {
|
|
|
322
322
|
}
|
|
323
323
|
fireSelectionChangedEvent() {
|
|
324
324
|
let selectionChangedInfo = {
|
|
325
|
+
adaptableApi: this.adaptable.api,
|
|
325
326
|
selectedCellInfo: this.adaptable.api.gridApi.getGridState().SelectedCellInfo,
|
|
326
327
|
selectedRowInfo: this.adaptable.api.gridApi.getGridState().SelectedRowInfo,
|
|
327
328
|
};
|
|
@@ -20,9 +20,9 @@ function AdaptableFormComponentButtons({ formDef, onClick, defaultTone, disabled
|
|
|
20
20
|
},
|
|
21
21
|
};
|
|
22
22
|
const iconProps = button.icon && Object.assign({}, defaultIconProps, button.icon);
|
|
23
|
-
let buttonStyle = api.internalApi.getStyleForButton(button, context ? context : {
|
|
24
|
-
let buttonLabel = api.internalApi.getLabelForButton(button, context ? context : {
|
|
25
|
-
let buttonTooltip = api.internalApi.getTooltipForButton(button, context ? context : {
|
|
23
|
+
let buttonStyle = api.internalApi.getStyleForButton(button, context ? context : { adaptableApi: api });
|
|
24
|
+
let buttonLabel = api.internalApi.getLabelForButton(button, context ? context : { adaptableApi: api });
|
|
25
|
+
let buttonTooltip = api.internalApi.getTooltipForButton(button, context ? context : { adaptableApi: api });
|
|
26
26
|
return (React.createElement(SimpleButton_1.default, { autoFocus: index === 0, disabled: disabledButtons[index], key: index, tooltip: buttonTooltip, tone: (_a = buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.tone) !== null && _a !== void 0 ? _a : defaultTone, variant: buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.variant, "data-text": buttonLabel, className: buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.className, marginLeft: index ? 2 : 0, onClick: () => {
|
|
27
27
|
onClick(button);
|
|
28
28
|
} },
|
|
@@ -444,19 +444,12 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
444
444
|
name: string;
|
|
445
445
|
kind: string;
|
|
446
446
|
description: string;
|
|
447
|
-
properties:
|
|
448
|
-
name: string;
|
|
449
|
-
kind: string;
|
|
450
|
-
description: string;
|
|
451
|
-
uiLabel: string;
|
|
452
|
-
reference: string;
|
|
453
|
-
} | {
|
|
447
|
+
properties: {
|
|
454
448
|
name: string;
|
|
455
449
|
kind: string;
|
|
456
450
|
description: string;
|
|
457
451
|
uiLabel: string;
|
|
458
|
-
|
|
459
|
-
})[];
|
|
452
|
+
}[];
|
|
460
453
|
};
|
|
461
454
|
AdaptableScope: {
|
|
462
455
|
name: string;
|
|
@@ -1244,13 +1244,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1244
1244
|
"kind": "Interface",
|
|
1245
1245
|
"description": "Object returned by `AdaptableReady` event - fired when AdapTable has loaded",
|
|
1246
1246
|
"properties": [
|
|
1247
|
-
{
|
|
1248
|
-
"name": "adaptableApi",
|
|
1249
|
-
"kind": "REFERENCE",
|
|
1250
|
-
"description": "Adaptable API object used for runtime programmatic access to AdapTable",
|
|
1251
|
-
"uiLabel": "Adaptable Api",
|
|
1252
|
-
"reference": "AdaptableApi"
|
|
1253
|
-
},
|
|
1254
1247
|
{
|
|
1255
1248
|
"name": "vendorGrid",
|
|
1256
1249
|
"kind": "unknown",
|
|
@@ -1823,7 +1816,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1823
1816
|
},
|
|
1824
1817
|
{
|
|
1825
1818
|
"name": "MessageText",
|
|
1826
|
-
"kind": "
|
|
1819
|
+
"kind": "string",
|
|
1827
1820
|
"description": "Alert Message - can be string or function; if not provided AdapTable creates dynamically using Rule & Scope",
|
|
1828
1821
|
"uiLabel": "Message Text",
|
|
1829
1822
|
"isOptional": true
|
package/src/types.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type { FilterActionOnDataChange } from './PredefinedConfig/Common/FilterA
|
|
|
23
23
|
export type { ConfigState } from './PredefinedConfig/ConfigState';
|
|
24
24
|
export type { TeamSharingOptions } from './AdaptableOptions/TeamSharingOptions';
|
|
25
25
|
export type { ToolPanelOptions, CustomToolPanel, ToolPanelButtonContext, CustomToolPanelButtonContext, } from './AdaptableOptions/ToolPanelOptions';
|
|
26
|
-
export type { UserInterfaceOptions, CellValuesList, ActionColumnButtonContext, ActionColumn, ActionColumnSettings, BasePermittedValues, PermittedValues, EditLookUpPermittedValues, FilterPermittedValues, CustomSortPermittedValues, BulkUpdatePermittedValues, } from './AdaptableOptions/UserInterfaceOptions';
|
|
26
|
+
export type { UserInterfaceOptions, CellValuesList, ActionColumnButtonContext, ActionColumn, ActionColumnSettings, BasePermittedValues, PermittedValues, EditLookUpPermittedValues, FilterPermittedValues, CustomSortPermittedValues, BulkUpdatePermittedValues, BaseParams, EditLookUpParams, PermittedValuesParams, FilterPermittedValuesParams, BulkUpdatePermittedValuesParams, } from './AdaptableOptions/UserInterfaceOptions';
|
|
27
27
|
export type { MenuOptions } from './AdaptableOptions/MenuOptions';
|
|
28
28
|
export type { EntitlementOptions } from './AdaptableOptions/EntitlementOptions';
|
|
29
29
|
export type { QueryLanguageOptions, ModuleExpressionFunctions, } from './AdaptableOptions/QueryLanguageOptions';
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "10.0.4-canary.
|
|
1
|
+
declare const _default: "10.0.4-canary.1";
|
|
2
2
|
export default _default;
|
package/version.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = '10.0.4-canary.
|
|
3
|
+
exports.default = '10.0.4-canary.1'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|