@adaptabletools/adaptable 18.0.0-canary.11 → 18.0.0-canary.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.css +5 -1
- package/base.css.map +1 -1
- package/index.css +7 -1
- package/index.css.map +1 -1
- package/package.json +1 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +2 -2
- package/src/AdaptableOptions/ColumnOptions.d.ts +7 -4
- package/src/AdaptableOptions/CommentOptions.d.ts +9 -7
- package/src/AdaptableOptions/MenuOptions.d.ts +1 -53
- package/src/AdaptableOptions/MenuOptions.js +3 -3
- package/src/AdaptableOptions/NoteOptions.d.ts +4 -1
- package/src/Api/AdaptableApi.d.ts +4 -4
- package/src/Api/ColumnApi.d.ts +4 -0
- package/src/Api/CommentApi.d.ts +11 -12
- package/src/Api/ConfigApi.d.ts +3 -4
- package/src/Api/EventApi.d.ts +7 -9
- package/src/Api/Events/CommentChanged.d.ts +11 -0
- package/src/Api/GridApi.d.ts +6 -1
- package/src/Api/Implementation/ActionColumnApiImpl.js +3 -6
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -2
- package/src/Api/Implementation/ApiBase.d.ts +2 -2
- package/src/Api/Implementation/ApiBase.js +1 -1
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ColumnApiImpl.js +10 -0
- package/src/Api/Implementation/CommentsApiImpl.d.ts +1 -2
- package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -2
- package/src/Api/Implementation/ConfigApiImpl.js +8 -8
- package/src/Api/Implementation/GridApiImpl.d.ts +3 -1
- package/src/Api/Implementation/GridApiImpl.js +17 -1
- package/src/Api/Implementation/{NotesApiImpl.d.ts → NoteApiImpl.d.ts} +8 -8
- package/src/Api/Implementation/{NotesApiImpl.js → NoteApiImpl.js} +12 -12
- package/src/Api/Implementation/OptionsApiImpl.d.ts +4 -5
- package/src/Api/Implementation/OptionsApiImpl.js +2 -12
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +0 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -8
- package/src/Api/Internal/ActionRowInternalApi.js +1 -1
- package/src/Api/Internal/AdaptableInternalApi.d.ts +3 -3
- package/src/Api/Internal/AdaptableInternalApi.js +11 -11
- package/src/Api/Internal/CalculatedColumnInternalApi.js +3 -2
- package/src/Api/Internal/ExportInternalApi.d.ts +2 -1
- package/src/Api/Internal/ExportInternalApi.js +4 -1
- package/src/Api/Internal/Fdc3InternalApi.js +2 -2
- package/src/Api/Internal/FreeTextColumnInternalApi.js +3 -2
- package/src/Api/Internal/GridInternalApi.d.ts +2 -0
- package/src/Api/Internal/GridInternalApi.js +15 -0
- package/src/Api/Internal/{NotesInternalApi.d.ts → NoteInternalApi.d.ts} +1 -1
- package/src/Api/Internal/{NotesInternalApi.js → NoteInternalApi.js} +1 -1
- package/src/Api/NoteApi.d.ts +48 -0
- package/src/Api/OptionsApi.d.ts +8 -12
- package/src/Api/UserInterfaceApi.d.ts +0 -11
- package/src/PredefinedConfig/AdaptableState.d.ts +2 -2
- package/src/PredefinedConfig/CommentState.d.ts +27 -23
- package/src/PredefinedConfig/Common/RowSummary.d.ts +6 -0
- package/src/PredefinedConfig/Common/TransposeConfig.d.ts +6 -0
- package/src/PredefinedConfig/Common/Types.d.ts +4 -4
- package/src/PredefinedConfig/Common/Types.js +4 -1
- package/src/PredefinedConfig/{NotesState.d.ts → NoteState.d.ts} +3 -3
- package/src/PredefinedConfig/NoteState.js +1 -0
- package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -2
- package/src/PredefinedConfig/Selection/GridCell.d.ts +13 -0
- package/src/PredefinedConfig/SystemState.d.ts +2 -3
- package/src/Redux/ActionsReducers/NoteRedux.d.ts +38 -0
- package/src/Redux/ActionsReducers/{NotesRedux.js → NoteRedux.js} +21 -21
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/SystemRedux.js +3 -3
- package/src/Redux/Store/AdaptableStore.js +11 -17
- package/src/Strategy/{CommentsModule.d.ts → CommentModule.d.ts} +1 -5
- package/src/Strategy/{CommentsModule.js → CommentModule.js} +9 -10
- package/src/Strategy/LayoutModule.d.ts +1 -0
- package/src/Strategy/LayoutModule.js +17 -1
- package/src/Strategy/{NotesModule.d.ts → NoteModule.d.ts} +2 -1
- package/src/Strategy/{NotesModule.js → NoteModule.js} +11 -7
- package/src/Strategy/Utilities/getScopeViewItems.js +3 -0
- package/src/Utilities/Constants/ModuleConstants.d.ts +6 -6
- package/src/Utilities/Constants/ModuleConstants.js +6 -6
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +2 -2
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +10 -0
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -3
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +15 -0
- package/src/Utilities/ObjectFactory.d.ts +3 -3
- package/src/Utilities/ObjectFactory.js +4 -24
- package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -0
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +12 -10
- package/src/Utilities/Services/CellPopupService.js +2 -2
- package/src/Utilities/Services/Interface/IReportService.d.ts +1 -4
- package/src/Utilities/Services/ModuleService.js +4 -0
- package/src/Utilities/Services/QueryLanguageService.js +2 -2
- package/src/Utilities/Services/ReportService.d.ts +7 -5
- package/src/Utilities/Services/ReportService.js +238 -22
- package/src/Utilities/Services/SummaryService.d.ts +1 -1
- package/src/Utilities/adaptableQlUtils.d.ts +2 -0
- package/src/Utilities/adaptableQlUtils.js +14 -0
- package/src/View/AdaptableViewFactory.js +2 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +1 -1
- package/src/View/Comments/CommentsEditor.js +1 -1
- package/src/View/Comments/CommentsPopup.js +8 -4
- package/src/View/Components/NewScopeComponent.js +2 -2
- package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +6 -6
- package/src/View/Components/ValueSelector/index.d.ts +1 -0
- package/src/View/Components/ValueSelector/index.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +0 -1
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +3 -1
- package/src/View/Layout/LayoutViewPanel.js +2 -1
- package/src/View/Layout/TransposedPopup.js +19 -18
- package/src/View/Layout/Wizard/LayoutWizard.js +11 -2
- package/src/View/Layout/Wizard/sections/RowSummarySection.d.ts +8 -0
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +140 -0
- package/src/View/Note/NotePopup.d.ts +2 -0
- package/src/View/{Notes/NotesPopup.js → Note/NotePopup.js} +6 -6
- package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
- package/src/agGrid/AdaptableAgGrid.d.ts +2 -0
- package/src/agGrid/AdaptableAgGrid.js +97 -58
- package/src/agGrid/AgGridAdapter.d.ts +2 -0
- package/src/agGrid/AgGridAdapter.js +8 -0
- package/src/agGrid/AgGridColumnAdapter.d.ts +1 -1
- package/src/agGrid/AgGridColumnAdapter.js +4 -4
- package/src/agGrid/AgGridOptionsService.d.ts +4 -1
- package/src/agGrid/AgGridOptionsService.js +22 -0
- package/src/agGrid/defaultAdaptableOptions.js +0 -7
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +2 -1
- package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +0 -1
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +1 -14
- package/src/components/icons/note.js +2 -2
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +77 -14
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/parser.js +117 -1257
- package/src/parser/src/predicate/mapExpressionToQlPredicate.js +1 -1
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +2 -1
- package/src/parser/src/types.d.ts +2 -2
- package/src/types.d.ts +23 -20
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/src/Api/Events/CommentsChangedInfo.d.ts +0 -5
- package/src/Api/NotesApi.d.ts +0 -48
- package/src/PredefinedConfig/CellAddress.d.ts +0 -13
- package/src/PredefinedConfig/CellAddress.js +0 -4
- package/src/Redux/ActionsReducers/NotesRedux.d.ts +0 -38
- package/src/View/Notes/NotesPopup.d.ts +0 -2
- /package/src/Api/Events/{CommentsChangedInfo.js → CommentChanged.js} +0 -0
- /package/src/Api/{NotesApi.js → NoteApi.js} +0 -0
- /package/src/PredefinedConfig/{NotesState.js → Common/TransposeConfig.js} +0 -0
- /package/src/View/{Notes → Note}/NoteEditor.d.ts +0 -0
- /package/src/View/{Notes → Note}/NoteEditor.js +0 -0
|
@@ -33,6 +33,15 @@ export class GridApiImpl extends ApiBase {
|
|
|
33
33
|
getFilteredData() {
|
|
34
34
|
return this.adaptable.getFilteredData();
|
|
35
35
|
}
|
|
36
|
+
getVisibleData() {
|
|
37
|
+
const data = [];
|
|
38
|
+
this.adaptable.forAllVisibleRowNodesDo((rowNode) => {
|
|
39
|
+
if (!this.isGroupRowNode(rowNode)) {
|
|
40
|
+
data.push(rowNode.data);
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
return data;
|
|
44
|
+
}
|
|
36
45
|
async updateGridData(dataRows, dataUpdateConfig) {
|
|
37
46
|
const rowNodes = await this.adaptable.updateRows(dataRows, dataUpdateConfig);
|
|
38
47
|
this.internalApi.fireGridDataChangedEvent(dataRows, rowNodes, 'Edit');
|
|
@@ -516,7 +525,12 @@ export class GridApiImpl extends ApiBase {
|
|
|
516
525
|
logDeprecation(this.adaptable.logger, 'GridApi', 'getVisibleRowCount', 'getRowCount');
|
|
517
526
|
return this.getRowCount();
|
|
518
527
|
}
|
|
519
|
-
showTransposedView(
|
|
528
|
+
showTransposedView(transposeConfig) {
|
|
529
|
+
var _a, _b, _c, _d;
|
|
530
|
+
const transposedColumnId = (_a = transposeConfig.transposedColumnId) !== null && _a !== void 0 ? _a : this.getAdaptableApi().optionsApi.getPrimaryKey();
|
|
531
|
+
const hideTransposedColumn = (_b = transposeConfig.hideTransposedColumn) !== null && _b !== void 0 ? _b : true;
|
|
532
|
+
const visibleColumns = (_c = transposeConfig.visibleColumns) !== null && _c !== void 0 ? _c : false;
|
|
533
|
+
const visibleRows = (_d = transposeConfig.visibleRows) !== null && _d !== void 0 ? _d : false;
|
|
520
534
|
this.adaptable.api.internalApi.showPopupWindow({
|
|
521
535
|
id: WINDOW_SHOW_TRANSPOSED_VIEW,
|
|
522
536
|
factoryId: WINDOW_SHOW_TRANSPOSED_VIEW,
|
|
@@ -525,6 +539,8 @@ export class GridApiImpl extends ApiBase {
|
|
|
525
539
|
popupProps: {
|
|
526
540
|
transposedColumnId,
|
|
527
541
|
hideTransposedColumn,
|
|
542
|
+
visibleColumns,
|
|
543
|
+
visibleRows,
|
|
528
544
|
},
|
|
529
545
|
});
|
|
530
546
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
|
-
import {
|
|
3
|
-
import { AdaptableNote, AdaptableNotes,
|
|
4
|
-
import { CellAddress } from '../../PredefinedConfig/CellAddress';
|
|
2
|
+
import { NoteApi } from '../NoteApi';
|
|
3
|
+
import { AdaptableNote, AdaptableNotes, NoteState } from '../../PredefinedConfig/NoteState';
|
|
5
4
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
import { NoteInternalApi } from '../Internal/NoteInternalApi';
|
|
6
|
+
import { CellAddress } from '../../types';
|
|
7
|
+
export declare class NoteApiImpl extends ApiBase implements NoteApi {
|
|
8
|
+
internalApi: NoteInternalApi;
|
|
9
9
|
constructor(adaptable: IAdaptable);
|
|
10
10
|
addNote(noteStr: string, primaryKeyValue: any, columnId: string): void;
|
|
11
11
|
editNote(note: AdaptableNote): void;
|
|
12
12
|
updateNoteText(noteStr: string, note: AdaptableNote): void;
|
|
13
13
|
deleteNote(note: AdaptableNote): void;
|
|
14
|
-
|
|
14
|
+
getNoteState(): NoteState;
|
|
15
15
|
getAllNotes(): AdaptableNotes;
|
|
16
|
-
|
|
16
|
+
getNotesForCell(address: CellAddress): AdaptableNote[];
|
|
17
17
|
getNoteByUuid(uuid: string): AdaptableNote | undefined;
|
|
18
18
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
export class
|
|
2
|
+
import * as NoteRedux from '../../Redux/ActionsReducers/NoteRedux';
|
|
3
|
+
import { NoteInternalApi } from '../Internal/NoteInternalApi';
|
|
4
|
+
export class NoteApiImpl extends ApiBase {
|
|
5
5
|
constructor(adaptable) {
|
|
6
6
|
super(adaptable);
|
|
7
|
-
this.internalApi = new
|
|
7
|
+
this.internalApi = new NoteInternalApi(adaptable);
|
|
8
8
|
}
|
|
9
9
|
addNote(noteStr, primaryKeyValue, columnId) {
|
|
10
10
|
const note = {
|
|
@@ -13,26 +13,26 @@ export class NotesApiImpl extends ApiBase {
|
|
|
13
13
|
ColumnId: columnId,
|
|
14
14
|
Timestamp: Date.now(),
|
|
15
15
|
};
|
|
16
|
-
this.dispatchAction(
|
|
16
|
+
this.dispatchAction(NoteRedux.NoteAdd(note));
|
|
17
17
|
}
|
|
18
18
|
editNote(note) {
|
|
19
19
|
note.Timestamp = Date.now();
|
|
20
|
-
this.dispatchAction(
|
|
20
|
+
this.dispatchAction(NoteRedux.NoteEdit(note));
|
|
21
21
|
}
|
|
22
22
|
updateNoteText(noteStr, note) {
|
|
23
23
|
this.editNote(Object.assign(Object.assign({}, note), { Text: noteStr }));
|
|
24
24
|
}
|
|
25
25
|
deleteNote(note) {
|
|
26
|
-
this.dispatchAction(
|
|
26
|
+
this.dispatchAction(NoteRedux.NoteDelete(note));
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
return this.getAdaptableState().
|
|
28
|
+
getNoteState() {
|
|
29
|
+
return this.getAdaptableState().Note;
|
|
30
30
|
}
|
|
31
31
|
getAllNotes() {
|
|
32
|
-
return this.
|
|
32
|
+
return this.getNoteState().Notes;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
return
|
|
34
|
+
getNotesForCell(address) {
|
|
35
|
+
return NoteRedux.GetNotesSelector(this.getAdaptableState().Note, address);
|
|
36
36
|
}
|
|
37
37
|
getNoteByUuid(uuid) {
|
|
38
38
|
return this.getAllNotes().find((note) => note.Uuid === uuid);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
|
-
import { ActionColumnOptions, ActionRowOptions, AdaptableOptions, AlertOptions, CalendarOptions, CellSummaryOptions, ChartingOptions, ColumnOptions,
|
|
2
|
+
import { ActionColumnOptions, ActionRowOptions, AdaptableOptions, AlertOptions, CalendarOptions, CellSummaryOptions, ChartingOptions, ColumnOptions, NoteOptions, ContainerOptions, DashboardOptions, DataChangeHistoryOptions, DataSetOptions, EditOptions, EntitlementOptions, ExportOptions, FlashingCellOptions, FormatColumnOptions, LayoutOptions, MenuOptions, NotificationsOptions, OptionsApi, QuickSearchOptions, SettingsPanelOptions, StateOptions, TeamSharingOptions, ToolPanelOptions, UserInterfaceOptions, GridFilterOptions } from '../../types';
|
|
3
3
|
import { GroupingOptions } from '../../AdaptableOptions/GroupingOptions';
|
|
4
4
|
import { CustomSortOptions } from '../../AdaptableOptions/CustomSortOptions';
|
|
5
5
|
import { Fdc3Options } from '../../AdaptableOptions/Fdc3Options';
|
|
6
6
|
import { ExpressionOptions } from '../../AdaptableOptions/ExpressionOptions';
|
|
7
7
|
import { ColumnFilterOptions } from '../../AdaptableOptions/ColumnFilterOptions';
|
|
8
|
-
import {
|
|
8
|
+
import { CommentOptions } from '../../AdaptableOptions/CommentOptions';
|
|
9
9
|
export declare class OptionsApiImpl extends ApiBase implements OptionsApi {
|
|
10
10
|
getAdaptableId(): string;
|
|
11
11
|
getAdaptableStateKey(): string;
|
|
@@ -15,13 +15,12 @@ export declare class OptionsApiImpl extends ApiBase implements OptionsApi {
|
|
|
15
15
|
getUserName(): string;
|
|
16
16
|
getAdaptableOptions(): AdaptableOptions;
|
|
17
17
|
getActionColumnOptions(): ActionColumnOptions;
|
|
18
|
-
getColumnTypes(): string[];
|
|
19
18
|
getActionRowOptions(): ActionRowOptions;
|
|
20
19
|
getCellSummaryOptions(): CellSummaryOptions;
|
|
21
20
|
getCalendarOptions(): CalendarOptions;
|
|
22
21
|
getColumnOptions(): ColumnOptions;
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
getNoteOptions(): NoteOptions;
|
|
23
|
+
getCommentOptions(): Readonly<CommentOptions<any>>;
|
|
25
24
|
getCustomSortOptions(): CustomSortOptions;
|
|
26
25
|
getContainerOptions(): ContainerOptions;
|
|
27
26
|
getDataSetOptions(): DataSetOptions;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
|
-
import { createBaseContext } from '../../Utilities/ObjectFactory';
|
|
3
2
|
export class OptionsApiImpl extends ApiBase {
|
|
4
3
|
getAdaptableId() {
|
|
5
4
|
return this.adaptable.adaptableOptions.adaptableId;
|
|
@@ -25,15 +24,6 @@ export class OptionsApiImpl extends ApiBase {
|
|
|
25
24
|
getActionColumnOptions() {
|
|
26
25
|
return this.getOptions().actionColumnOptions;
|
|
27
26
|
}
|
|
28
|
-
getColumnTypes() {
|
|
29
|
-
const columnTypes = this.getOptions().columnOptions.columnTypes;
|
|
30
|
-
if (typeof columnTypes === 'function') {
|
|
31
|
-
return columnTypes(createBaseContext(this.getAdaptableApi()));
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
return columnTypes;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
27
|
getActionRowOptions() {
|
|
38
28
|
return this.getOptions().actionRowOptions;
|
|
39
29
|
}
|
|
@@ -46,10 +36,10 @@ export class OptionsApiImpl extends ApiBase {
|
|
|
46
36
|
getColumnOptions() {
|
|
47
37
|
return this.getOptions().columnOptions;
|
|
48
38
|
}
|
|
49
|
-
|
|
39
|
+
getNoteOptions() {
|
|
50
40
|
return this.getOptions().noteOptions;
|
|
51
41
|
}
|
|
52
|
-
|
|
42
|
+
getCommentOptions() {
|
|
53
43
|
return this.getOptions().commentOptions;
|
|
54
44
|
}
|
|
55
45
|
getCustomSortOptions() {
|
|
@@ -2,7 +2,6 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import { UserInterfaceApi } from '../UserInterfaceApi';
|
|
3
3
|
import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
4
4
|
import { AdaptableStyle } from '../../PredefinedConfig/Common/AdaptableStyle';
|
|
5
|
-
import { ColumnMenuContext, ContextMenuContext, UserMenuItem } from '../../PredefinedConfig/Common/Menu';
|
|
6
5
|
import { BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../../AdaptableOptions/UserInterfaceOptions';
|
|
7
6
|
import { AdaptableObjectTag, CustomWindowConfig, GridCell } from '../../types';
|
|
8
7
|
import { UserInterfaceInternalApi } from '../Internal/UserInterfaceInternalApi';
|
|
@@ -24,8 +23,6 @@ export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfa
|
|
|
24
23
|
getEditLookUpItems(): EditLookUpPermittedValues[];
|
|
25
24
|
getEditLookUpItemForColumn(column: AdaptableColumn): EditLookUpPermittedValues | undefined;
|
|
26
25
|
getEditLookUpValuesForEditLookUpItem(editLookUpItem: EditLookUpPermittedValues, gridCell: GridCell): any[] | undefined;
|
|
27
|
-
addColumnMenuItem(userMenuItem: UserMenuItem<ColumnMenuContext>): void;
|
|
28
|
-
addContextMenuItem(userMenuItem: UserMenuItem<ContextMenuContext>): void;
|
|
29
26
|
getEditableCellStyle(): AdaptableStyle | undefined;
|
|
30
27
|
getReadOnlyCellStyle(): AdaptableStyle | undefined;
|
|
31
28
|
getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
|
|
@@ -142,14 +142,6 @@ export class UserInterfaceApiImpl extends ApiBase {
|
|
|
142
142
|
}
|
|
143
143
|
return this.adaptable.api.gridApi.internalApi.getEditLookUpValuesForColumn(editLookUpItem, gridCell.column, gridCell);
|
|
144
144
|
}
|
|
145
|
-
addColumnMenuItem(userMenuItem) {
|
|
146
|
-
var _a;
|
|
147
|
-
(_a = this.getMenuOptions().columnMenuItems) === null || _a === void 0 ? void 0 : _a.push(userMenuItem);
|
|
148
|
-
}
|
|
149
|
-
addContextMenuItem(userMenuItem) {
|
|
150
|
-
var _a;
|
|
151
|
-
(_a = this.getMenuOptions().contextMenuItems) === null || _a === void 0 ? void 0 : _a.push(userMenuItem);
|
|
152
|
-
}
|
|
153
145
|
getEditableCellStyle() {
|
|
154
146
|
return this.getUserInterfaceOptions().editableCellStyle;
|
|
155
147
|
}
|
|
@@ -220,7 +220,7 @@ export class ActionRowInternalApi extends ApiBase {
|
|
|
220
220
|
lockVisible: true,
|
|
221
221
|
suppressColumnsToolPanel: true,
|
|
222
222
|
suppressFiltersToolPanel: true,
|
|
223
|
-
|
|
223
|
+
suppressHeaderMenuButton: true,
|
|
224
224
|
suppressMovable: true,
|
|
225
225
|
filter: false,
|
|
226
226
|
sortable: false,
|
|
@@ -72,7 +72,7 @@ export declare class AdaptableInternalApi extends ApiBase {
|
|
|
72
72
|
includeGroupRows?: boolean;
|
|
73
73
|
filterFn?: (rowNode: IRowNode) => boolean;
|
|
74
74
|
}): void;
|
|
75
|
-
forAllVisibleRowNodesDo(func: (rowNode: IRowNode) => void, config?: {
|
|
75
|
+
forAllVisibleRowNodesDo(func: (rowNode: IRowNode, index: number) => void, config?: {
|
|
76
76
|
includeGroupRows?: boolean;
|
|
77
77
|
filterFn?: (rowNode: IRowNode) => boolean;
|
|
78
78
|
}): void;
|
|
@@ -105,8 +105,8 @@ export declare class AdaptableInternalApi extends ApiBase {
|
|
|
105
105
|
getPreviousGroupedColumnsIndex(layoutId: string): {
|
|
106
106
|
[key: string]: number;
|
|
107
107
|
};
|
|
108
|
-
getValueUsingField(rowData: Record<string, any>,
|
|
109
|
-
setValueUsingField(rowData: Record<string, any>,
|
|
108
|
+
getValueUsingField(rowData: Record<string, any>, fieldName: string): any;
|
|
109
|
+
setValueUsingField(rowData: Record<string, any>, fieldName: string, newValue: any): Record<string, any>;
|
|
110
110
|
findAdaptableObjectsByLookupCriteria<T extends AdaptableObjectWithScope>({ scope, tag, ids }: AdaptableObjectLookupCriteria, specificAdaptableObjects: T[]): T[];
|
|
111
111
|
buildBaseContext(): BaseContext;
|
|
112
112
|
getActionButtonsAndActionColumn(colDef: ColDef): {
|
|
@@ -366,17 +366,17 @@ export class AdaptableInternalApi extends ApiBase {
|
|
|
366
366
|
return (_a = SystemRedux.SystemPreviousGroupedColumnsSelector(this.getAdaptableState().System)) === null || _a === void 0 ? void 0 : _a[layoutId];
|
|
367
367
|
}
|
|
368
368
|
// "borrowed" from https://github.com/ag-grid/ag-grid/blob/v28.2.1/community-modules/core/src/ts/utils/object.ts#L205
|
|
369
|
-
getValueUsingField(rowData,
|
|
370
|
-
if (!rowData || !(
|
|
369
|
+
getValueUsingField(rowData, fieldName) {
|
|
370
|
+
if (!rowData || !(fieldName === null || fieldName === void 0 ? void 0 : fieldName.length)) {
|
|
371
371
|
return;
|
|
372
372
|
}
|
|
373
|
-
const isColumnValueKeyNested =
|
|
373
|
+
const isColumnValueKeyNested = fieldName === null || fieldName === void 0 ? void 0 : fieldName.includes('.');
|
|
374
374
|
// if no '.', then it's not a deep value
|
|
375
375
|
if (!isColumnValueKeyNested) {
|
|
376
|
-
return rowData[
|
|
376
|
+
return rowData[fieldName];
|
|
377
377
|
}
|
|
378
378
|
// otherwise it is a deep value, so need to dig for it
|
|
379
|
-
const fields =
|
|
379
|
+
const fields = fieldName.split('.');
|
|
380
380
|
let currentObject = rowData;
|
|
381
381
|
for (let i = 0; i < fields.length; i++) {
|
|
382
382
|
if (currentObject == null) {
|
|
@@ -387,22 +387,22 @@ export class AdaptableInternalApi extends ApiBase {
|
|
|
387
387
|
return currentObject;
|
|
388
388
|
}
|
|
389
389
|
// "borrowed" from https://github.com/ag-grid/ag-grid/blob/v28.2.1/community-modules/core/src/ts/valueService/valueService.ts#L236
|
|
390
|
-
setValueUsingField(rowData,
|
|
391
|
-
if (!rowData || !(
|
|
390
|
+
setValueUsingField(rowData, fieldName, newValue) {
|
|
391
|
+
if (!rowData || !(fieldName === null || fieldName === void 0 ? void 0 : fieldName.length)) {
|
|
392
392
|
return;
|
|
393
393
|
}
|
|
394
|
-
const isColumnValueKeyContainsDots =
|
|
394
|
+
const isColumnValueKeyContainsDots = fieldName === null || fieldName === void 0 ? void 0 : fieldName.includes('.');
|
|
395
395
|
let valuesAreSame = false;
|
|
396
396
|
if (!isColumnValueKeyContainsDots) {
|
|
397
397
|
// soft comparison to match strings and numbers
|
|
398
|
-
valuesAreSame = rowData[
|
|
398
|
+
valuesAreSame = rowData[fieldName] == newValue;
|
|
399
399
|
if (!valuesAreSame) {
|
|
400
|
-
rowData[
|
|
400
|
+
rowData[fieldName] = newValue;
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
else {
|
|
404
404
|
// otherwise it is a deep value, so need to dig for it
|
|
405
|
-
const fieldPieces =
|
|
405
|
+
const fieldPieces = fieldName.split('.');
|
|
406
406
|
let currentObject = rowData;
|
|
407
407
|
while (fieldPieces.length > 0 && currentObject) {
|
|
408
408
|
const fieldPiece = fieldPieces.shift();
|
|
@@ -92,7 +92,8 @@ export class CalculatedColumnInternalApi extends ApiBase {
|
|
|
92
92
|
this.adaptable.api.eventApi.emit('CalculatedColumnChanged', calculatedColumnChangedInfo);
|
|
93
93
|
}
|
|
94
94
|
getColDefsForCalculatedColumns() {
|
|
95
|
-
const
|
|
95
|
+
const defaultSpecialColumnSettings = this.getGridApi().internalApi.deriveSpecialColumnSettingsFromAgGridDefaultColDef();
|
|
96
|
+
const defaultCalculatedColumnSettings = CreateEmptyCalculatedColumn(defaultSpecialColumnSettings).CalculatedColumnSettings;
|
|
96
97
|
return this.getCalculatedColumnApi()
|
|
97
98
|
.getCalculatedColumns()
|
|
98
99
|
.map((calculatedColumn) => {
|
|
@@ -139,7 +140,7 @@ export class CalculatedColumnInternalApi extends ApiBase {
|
|
|
139
140
|
enableRowGroup: calculatedColumnSettings.Groupable,
|
|
140
141
|
sortable: calculatedColumnSettings.Sortable,
|
|
141
142
|
enablePivot: calculatedColumnSettings.Pivotable,
|
|
142
|
-
|
|
143
|
+
suppressHeaderMenuButton: calculatedColumnSettings.SuppressMenu,
|
|
143
144
|
suppressMovable: calculatedColumnSettings.SuppressMovable,
|
|
144
145
|
type: columnTypes,
|
|
145
146
|
valueGetter,
|
|
@@ -2,7 +2,7 @@ import { ApiBase } from '../Implementation/ApiBase';
|
|
|
2
2
|
import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
|
|
3
3
|
import { Report } from '../../PredefinedConfig/ExportState';
|
|
4
4
|
import { AdaptableColumnType } from '../../PredefinedConfig/Common/Types';
|
|
5
|
-
import { ExcelDataType } from '@ag-grid-community/core';
|
|
5
|
+
import { ExcelDataType, ExcelStyle } from '@ag-grid-community/core';
|
|
6
6
|
import { AdaptableColumnDataType } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
7
7
|
import { DataFormatType } from '../../AdaptableOptions/ExportOptions';
|
|
8
8
|
export declare class ExportInternalApi extends ApiBase {
|
|
@@ -17,4 +17,5 @@ export declare class ExportInternalApi extends ApiBase {
|
|
|
17
17
|
isDateCellExportedAsFormattedValue(): boolean;
|
|
18
18
|
getCellExportFormatType(columnDataType: AdaptableColumnDataType): DataFormatType;
|
|
19
19
|
isDestinationEnabled(destination: string): boolean;
|
|
20
|
+
getExcelStylesForVisualDataExport(original_excelStyles: ExcelStyle[]): ExcelStyle[];
|
|
20
21
|
}
|
|
@@ -92,7 +92,7 @@ export class ExportInternalApi extends ApiBase {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
isVisualDataExportInProgress() {
|
|
95
|
-
return this.getAdaptableState().System.Export.
|
|
95
|
+
return this.getAdaptableState().System.Export.visualDataExportInProgress;
|
|
96
96
|
}
|
|
97
97
|
isDateCellExportedAsFormattedValue() {
|
|
98
98
|
return (!!this.getExportOptions().exportDateFormat ||
|
|
@@ -123,4 +123,7 @@ export class ExportInternalApi extends ApiBase {
|
|
|
123
123
|
}
|
|
124
124
|
return true;
|
|
125
125
|
}
|
|
126
|
+
getExcelStylesForVisualDataExport(original_excelStyles) {
|
|
127
|
+
return [];
|
|
128
|
+
}
|
|
126
129
|
}
|
|
@@ -39,7 +39,7 @@ export class Fdc3InternalApi extends ApiBase {
|
|
|
39
39
|
editable: false,
|
|
40
40
|
width: actionColumnConfig.width,
|
|
41
41
|
resizable: actionColumnConfig.resizable,
|
|
42
|
-
|
|
42
|
+
suppressHeaderMenuButton: true,
|
|
43
43
|
suppressMovable: !actionColumnConfig.movable,
|
|
44
44
|
filter: false,
|
|
45
45
|
sortable: false,
|
|
@@ -59,7 +59,7 @@ export class Fdc3InternalApi extends ApiBase {
|
|
|
59
59
|
editable: false,
|
|
60
60
|
width: actionColumnConfig.defaultWidth,
|
|
61
61
|
resizable: true,
|
|
62
|
-
|
|
62
|
+
suppressHeaderMenuButton: true,
|
|
63
63
|
suppressMovable: false,
|
|
64
64
|
filter: false,
|
|
65
65
|
sortable: false,
|
|
@@ -43,7 +43,8 @@ export class FreeTextColumnInternalApi extends ApiBase {
|
|
|
43
43
|
return references;
|
|
44
44
|
}
|
|
45
45
|
getColDefsForFreeTextColumns() {
|
|
46
|
-
const
|
|
46
|
+
const defaultSpecialColumnSettings = this.getGridApi().internalApi.deriveSpecialColumnSettingsFromAgGridDefaultColDef();
|
|
47
|
+
const defaultFreeTextColumnSettings = CreateEmptyFreeTextColumn(defaultSpecialColumnSettings).FreeTextColumnSettings;
|
|
47
48
|
return this.getFreeTextColumnApi()
|
|
48
49
|
.getFreeTextColumns()
|
|
49
50
|
.map((freeTextColumn) => {
|
|
@@ -74,7 +75,7 @@ export class FreeTextColumnInternalApi extends ApiBase {
|
|
|
74
75
|
enableRowGroup: freeTextColumnSettings.Groupable,
|
|
75
76
|
sortable: freeTextColumnSettings.Sortable,
|
|
76
77
|
enablePivot: freeTextColumnSettings.Pivotable,
|
|
77
|
-
|
|
78
|
+
suppressHeaderMenuButton: freeTextColumnSettings.SuppressMenu,
|
|
78
79
|
suppressMovable: freeTextColumnSettings.SuppressMovable,
|
|
79
80
|
cellEditor: dataTypeEditor !== null && dataTypeEditor !== void 0 ? dataTypeEditor : (freeTextColumn.TextEditor && freeTextColumn.TextEditor == 'Large'
|
|
80
81
|
? 'agLargeTextCellEditor'
|
|
@@ -10,6 +10,7 @@ import { AdaptableMenuItem } from '../../PredefinedConfig/Common/Menu';
|
|
|
10
10
|
import { EditLookUpPermittedValues } from '../../AdaptableOptions/UserInterfaceOptions';
|
|
11
11
|
import { DistinctValuesParams } from '../../AdaptableInterfaces/IAdaptable';
|
|
12
12
|
import { AdaptableColumnType } from '../../PredefinedConfig/Common/Types';
|
|
13
|
+
import { SpecialColumnSettings } from '../../PredefinedConfig/Common/SpecialColumnSettings';
|
|
13
14
|
export declare class GridInternalApi extends ApiBase {
|
|
14
15
|
/**
|
|
15
16
|
* Fires Grid Sorted Event
|
|
@@ -96,4 +97,5 @@ export declare class GridInternalApi extends ApiBase {
|
|
|
96
97
|
};
|
|
97
98
|
getAlertRowClass(params: RowClassParams): string | null;
|
|
98
99
|
getRowHighlightClass(params: RowClassParams): string | null;
|
|
100
|
+
deriveSpecialColumnSettingsFromAgGridDefaultColDef(): Partial<SpecialColumnSettings>;
|
|
99
101
|
}
|
|
@@ -404,4 +404,19 @@ export class GridInternalApi extends ApiBase {
|
|
|
404
404
|
? highlightRow.highlightStyle.ClassName
|
|
405
405
|
: null;
|
|
406
406
|
}
|
|
407
|
+
deriveSpecialColumnSettingsFromAgGridDefaultColDef() {
|
|
408
|
+
const defaultColumnDefinition = this.adaptable.agGridAdapter.getDefaultColumnDefinition();
|
|
409
|
+
return {
|
|
410
|
+
Filterable: defaultColumnDefinition.filter,
|
|
411
|
+
Resizable: defaultColumnDefinition.resizable,
|
|
412
|
+
Groupable: defaultColumnDefinition.enableRowGroup,
|
|
413
|
+
Sortable: defaultColumnDefinition.sortable,
|
|
414
|
+
Pivotable: defaultColumnDefinition.enablePivot,
|
|
415
|
+
Aggregatable: defaultColumnDefinition.enableValue,
|
|
416
|
+
SuppressMenu: defaultColumnDefinition.suppressHeaderMenuButton,
|
|
417
|
+
SuppressMovable: defaultColumnDefinition.suppressMovable,
|
|
418
|
+
HeaderToolTip: defaultColumnDefinition.headerTooltip,
|
|
419
|
+
Width: defaultColumnDefinition.width,
|
|
420
|
+
};
|
|
421
|
+
}
|
|
407
422
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { AdaptableNote, AdaptableNotes, NoteState } from '../PredefinedConfig/NoteState';
|
|
2
|
+
import { CellAddress } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Provides run-time access to Notes Module and related State
|
|
5
|
+
*/
|
|
6
|
+
export interface NoteApi {
|
|
7
|
+
/**
|
|
8
|
+
* Adds a new Note
|
|
9
|
+
* @param text
|
|
10
|
+
* @param primaryKeyValue
|
|
11
|
+
* @param columnId
|
|
12
|
+
*/
|
|
13
|
+
addNote(text: string, primaryKeyValue: any, columnId: string): void;
|
|
14
|
+
/**
|
|
15
|
+
* Edits a Note
|
|
16
|
+
* @param note
|
|
17
|
+
*/
|
|
18
|
+
editNote(note: AdaptableNote): void;
|
|
19
|
+
/**
|
|
20
|
+
* Edits text of a Note
|
|
21
|
+
* @param text
|
|
22
|
+
* @param note
|
|
23
|
+
*/
|
|
24
|
+
updateNoteText(text: string, note: AdaptableNote): void;
|
|
25
|
+
/**
|
|
26
|
+
* Deletes a Note
|
|
27
|
+
* @param note
|
|
28
|
+
*/
|
|
29
|
+
deleteNote(note: AdaptableNote): void;
|
|
30
|
+
/**
|
|
31
|
+
* Gets the Note State
|
|
32
|
+
*/
|
|
33
|
+
getNoteState(): NoteState;
|
|
34
|
+
/**
|
|
35
|
+
* Gets all Notes
|
|
36
|
+
*/
|
|
37
|
+
getAllNotes(): AdaptableNotes;
|
|
38
|
+
/**
|
|
39
|
+
* Gets all Notes for a cell
|
|
40
|
+
* @param CellAddress note position
|
|
41
|
+
*/
|
|
42
|
+
getNotesForCell(CellAddress: CellAddress): AdaptableNote[];
|
|
43
|
+
/**
|
|
44
|
+
* Returns a Note by uuid
|
|
45
|
+
* @param uuid note uuid
|
|
46
|
+
*/
|
|
47
|
+
getNoteByUuid(uuid: string): AdaptableNote | undefined;
|
|
48
|
+
}
|
package/src/Api/OptionsApi.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CustomSortOptions } from '../AdaptableOptions/CustomSortOptions';
|
|
2
2
|
import { DataSetOptions } from '../AdaptableOptions/DataSetOptions';
|
|
3
3
|
import { GroupingOptions } from '../AdaptableOptions/GroupingOptions';
|
|
4
|
-
import { ActionColumnOptions, ActionRowOptions, AdaptableOptions, AlertOptions, CalendarOptions, CellSummaryOptions, ChartingOptions, ColumnFilterOptions, ColumnOptions, ContainerOptions, DashboardOptions, DataChangeHistoryOptions, EditOptions, EntitlementOptions, ExportOptions, FlashingCellOptions, FormatColumnOptions, GridFilterOptions, LayoutOptions, MenuOptions,
|
|
4
|
+
import { ActionColumnOptions, ActionRowOptions, AdaptableOptions, AlertOptions, CalendarOptions, CellSummaryOptions, ChartingOptions, ColumnFilterOptions, ColumnOptions, ContainerOptions, DashboardOptions, DataChangeHistoryOptions, EditOptions, EntitlementOptions, ExportOptions, FlashingCellOptions, FormatColumnOptions, GridFilterOptions, LayoutOptions, MenuOptions, NoteOptions, NotificationsOptions, QuickSearchOptions, SettingsPanelOptions, StateOptions, TeamSharingOptions, ToolPanelOptions, UserInterfaceOptions } from '../types';
|
|
5
5
|
import { Fdc3Options } from '../AdaptableOptions/Fdc3Options';
|
|
6
6
|
import { ExpressionOptions } from '../AdaptableOptions/ExpressionOptions';
|
|
7
7
|
import { DataImportOptions } from '../AdaptableOptions/DataImportOptions';
|
|
8
|
-
import {
|
|
8
|
+
import { CommentOptions } from '../AdaptableOptions/CommentOptions';
|
|
9
9
|
/**
|
|
10
10
|
* Range of functions to access Adaptable Options
|
|
11
11
|
*/
|
|
@@ -42,10 +42,6 @@ export interface OptionsApi {
|
|
|
42
42
|
* Returns `AdaptableOptions.actionColumnOptions`
|
|
43
43
|
*/
|
|
44
44
|
getActionColumnOptions(): Readonly<ActionColumnOptions>;
|
|
45
|
-
/**
|
|
46
|
-
* Returns available columns types defined under columnOptions.columnTypes
|
|
47
|
-
*/
|
|
48
|
-
getColumnTypes(): string[];
|
|
49
45
|
/**
|
|
50
46
|
* Returns `AdaptableOptions.actionRowOptions`
|
|
51
47
|
*/
|
|
@@ -79,13 +75,9 @@ export interface OptionsApi {
|
|
|
79
75
|
*/
|
|
80
76
|
getColumnOptions(): Readonly<ColumnOptions>;
|
|
81
77
|
/**
|
|
82
|
-
* Returns `AdaptableOptions.
|
|
83
|
-
*/
|
|
84
|
-
getNotesOptions(): Readonly<NotesOptions>;
|
|
85
|
-
/**
|
|
86
|
-
* Returns `AdaptableOptions.commentsOptions`
|
|
78
|
+
* Returns `AdaptableOptions.commentOptions`
|
|
87
79
|
*/
|
|
88
|
-
|
|
80
|
+
getCommentOptions(): Readonly<CommentOptions>;
|
|
89
81
|
/**
|
|
90
82
|
* Returns `AdaptableOptions.customSortOptions`
|
|
91
83
|
*/
|
|
@@ -150,6 +142,10 @@ export interface OptionsApi {
|
|
|
150
142
|
* Returns `AdaptableOptions.formatColumnOptions`
|
|
151
143
|
*/
|
|
152
144
|
getFormatColumnOptions(): Readonly<FormatColumnOptions>;
|
|
145
|
+
/**
|
|
146
|
+
* Returns `AdaptableOptions.noteOptions`
|
|
147
|
+
*/
|
|
148
|
+
getNoteOptions(): Readonly<NoteOptions>;
|
|
153
149
|
/**
|
|
154
150
|
* Returns `AdaptableOptions.settingsPanelOptions`
|
|
155
151
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
2
2
|
import { AdaptableStyle } from '../PredefinedConfig/Common/AdaptableStyle';
|
|
3
|
-
import { ColumnMenuContext, ContextMenuContext, UserMenuItem } from '../PredefinedConfig/Common/Menu';
|
|
4
3
|
import { BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../AdaptableOptions/UserInterfaceOptions';
|
|
5
4
|
import { GridCell } from '../PredefinedConfig/Selection/GridCell';
|
|
6
5
|
import { AdaptableObjectTag } from '../PredefinedConfig/Common/AdaptableObject';
|
|
@@ -54,16 +53,6 @@ export interface UserInterfaceApi {
|
|
|
54
53
|
* @param gridCell: the currently edited Grid Cell
|
|
55
54
|
*/
|
|
56
55
|
getEditLookUpValuesForEditLookUpItem(editLookUpItem: EditLookUpPermittedValues, gridCell: GridCell): any[] | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Adds menu item to Column Menu
|
|
59
|
-
* @param userMenuItem Menu Item to add
|
|
60
|
-
*/
|
|
61
|
-
addColumnMenuItem(userMenuItem: UserMenuItem<ColumnMenuContext>): void;
|
|
62
|
-
/**
|
|
63
|
-
* Adds menu item to Context Menu
|
|
64
|
-
* @param userMenuItem Menu Item to add
|
|
65
|
-
*/
|
|
66
|
-
addContextMenuItem(userMenuItem: UserMenuItem<ContextMenuContext>): void;
|
|
67
56
|
/**
|
|
68
57
|
* Returns Style set for Editable cells
|
|
69
58
|
*/
|
|
@@ -23,7 +23,7 @@ import { FlashingCellState } from './FlashingCellState';
|
|
|
23
23
|
import { StatusBarState } from './StatusBarState';
|
|
24
24
|
import { ChartingState } from './ChartingState';
|
|
25
25
|
import { StyledColumnState } from './StyledColumnState';
|
|
26
|
-
import {
|
|
26
|
+
import { NoteState } from './NoteState';
|
|
27
27
|
import { NamedQueryState } from './NamedQueryState';
|
|
28
28
|
import { CommentState } from './CommentState';
|
|
29
29
|
/**
|
|
@@ -57,7 +57,7 @@ export interface AdaptablePersistentState {
|
|
|
57
57
|
Theme: ThemeState;
|
|
58
58
|
ToolPanel: ToolPanelState;
|
|
59
59
|
Charting: ChartingState;
|
|
60
|
-
|
|
60
|
+
Note: NoteState;
|
|
61
61
|
/**
|
|
62
62
|
* @deprecated
|
|
63
63
|
*/
|