@adaptabletools/adaptable 18.0.0-canary.2 → 18.0.0-canary.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.css +3 -0
- package/base.css.map +1 -1
- package/index.css +5 -0
- package/index.css.map +1 -1
- package/package.json +1 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -5
- package/src/AdaptableOptions/ColumnFilterOptions.d.ts +4 -4
- package/src/AdaptableOptions/{CommentsOptions.d.ts → CommentOptions.d.ts} +5 -5
- package/src/AdaptableOptions/MenuOptions.d.ts +1 -1
- package/src/AdaptableOptions/MenuOptions.js +1 -5
- package/src/AdaptableOptions/{NotesOptions.d.ts → NoteOptions.d.ts} +1 -1
- package/src/Api/BulkUpdateApi.d.ts +0 -5
- package/src/Api/ColumnFilterApi.d.ts +5 -0
- package/src/Api/Implementation/ApiBase.js +1 -1
- package/src/Api/Implementation/BulkUpdateApiImpl.d.ts +0 -1
- package/src/Api/Implementation/BulkUpdateApiImpl.js +0 -4
- package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ColumnFilterApiImpl.js +10 -0
- package/src/Api/Implementation/LayoutApiImpl.d.ts +4 -0
- package/src/Api/Implementation/LayoutApiImpl.js +14 -0
- package/src/Api/Implementation/NotesApiImpl.d.ts +2 -4
- package/src/Api/Implementation/NotesApiImpl.js +4 -8
- package/src/Api/Implementation/OptionsApiImpl.d.ts +1 -1
- package/src/Api/Implementation/OptionsApiImpl.js +2 -2
- package/src/Api/InteropioPluginApi.d.ts +2 -2
- package/src/Api/LayoutApi.d.ts +8 -0
- package/src/Api/OptionsApi.d.ts +1 -1
- package/src/PredefinedConfig/NotesState.d.ts +10 -20
- package/src/PredefinedConfig/PredefinedConfig.d.ts +1 -1
- package/src/Redux/ActionsReducers/NotesRedux.d.ts +3 -4
- package/src/Redux/ActionsReducers/NotesRedux.js +8 -7
- package/src/Strategy/ChartingModule.js +2 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.js +1 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +1 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +5 -4
- package/src/Utilities/Helpers/Helper.d.ts +2 -0
- package/src/Utilities/Helpers/Helper.js +4 -0
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +3 -1
- package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
- package/src/View/Comments/CommentsPopup.js +12 -8
- package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +1 -1
- package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +1 -0
- package/src/View/Components/Popups/WindowPopups/windowFactory.js +3 -0
- package/src/View/Components/Selectors/PermittedValuesSelector.js +1 -1
- package/src/View/Layout/TransposedPopup.d.ts +3 -0
- package/src/View/Layout/TransposedPopup.js +193 -0
- package/src/View/Notes/NotesPopup.js +9 -11
- package/src/View/Theme/ThemeSelector.js +3 -3
- package/src/agGrid/Adaptable.js +2 -2
- package/src/agGrid/agGridMenuHelper.js +4 -4
- package/src/components/Select/Select.d.ts +2 -0
- package/src/components/Select/Select.js +2 -2
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +30 -2
- package/src/metamodel/adaptable.metamodel.js +66 -32
- package/src/types.d.ts +5 -2
- package/tsconfig.esm.tsbuildinfo +1 -1
- /package/src/AdaptableOptions/{CommentsOptions.js → CommentOptions.js} +0 -0
- /package/src/AdaptableOptions/{NotesOptions.js → NoteOptions.js} +0 -0
|
@@ -1035,16 +1035,6 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
1035
1035
|
"kind": "I",
|
|
1036
1036
|
"desc": "Note that can be applied to a Cell in AdapTable",
|
|
1037
1037
|
"props": [
|
|
1038
|
-
{
|
|
1039
|
-
"name": "AdaptableId",
|
|
1040
|
-
"kind": "s",
|
|
1041
|
-
"desc": "Id of this AdapTable instance"
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
"name": "Author",
|
|
1045
|
-
"kind": "u",
|
|
1046
|
-
"desc": "Author of the Note"
|
|
1047
|
-
},
|
|
1048
1038
|
{
|
|
1049
1039
|
"name": "ColumnId",
|
|
1050
1040
|
"kind": "s",
|
|
@@ -1055,15 +1045,15 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
1055
1045
|
"kind": "u",
|
|
1056
1046
|
"desc": "Value in Grid's Primary Key Column"
|
|
1057
1047
|
},
|
|
1048
|
+
{
|
|
1049
|
+
"name": "Text",
|
|
1050
|
+
"kind": "s",
|
|
1051
|
+
"desc": "Value of the Note"
|
|
1052
|
+
},
|
|
1058
1053
|
{
|
|
1059
1054
|
"name": "Timestamp",
|
|
1060
1055
|
"kind": "n",
|
|
1061
1056
|
"desc": "When Note was made"
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
"name": "Value",
|
|
1065
|
-
"kind": "s",
|
|
1066
|
-
"desc": "Value of the Note"
|
|
1067
1057
|
}
|
|
1068
1058
|
]
|
|
1069
1059
|
},
|
|
@@ -1236,7 +1226,7 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
1236
1226
|
"ref": "ColumnOptions"
|
|
1237
1227
|
},
|
|
1238
1228
|
{
|
|
1239
|
-
"name": "
|
|
1229
|
+
"name": "commentOptions",
|
|
1240
1230
|
"kind": "u",
|
|
1241
1231
|
"desc": "Options for managing AdapTable Comments",
|
|
1242
1232
|
"isOpt": true
|
|
@@ -1376,11 +1366,11 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
1376
1366
|
"gridInfo": "container"
|
|
1377
1367
|
},
|
|
1378
1368
|
{
|
|
1379
|
-
"name": "
|
|
1369
|
+
"name": "noteOptions",
|
|
1380
1370
|
"kind": "R",
|
|
1381
|
-
"desc": "Options for managing
|
|
1371
|
+
"desc": "Options for managing Notes",
|
|
1382
1372
|
"isOpt": true,
|
|
1383
|
-
"ref": "
|
|
1373
|
+
"ref": "unknown"
|
|
1384
1374
|
},
|
|
1385
1375
|
{
|
|
1386
1376
|
"name": "notificationsOptions",
|
|
@@ -3295,6 +3285,36 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
3295
3285
|
}
|
|
3296
3286
|
]
|
|
3297
3287
|
},
|
|
3288
|
+
"CommentableCellContext": {
|
|
3289
|
+
"name": "CommentableCellContext",
|
|
3290
|
+
"kind": "I",
|
|
3291
|
+
"desc": "Context used when determining if a Comment can be added to a Cell"
|
|
3292
|
+
},
|
|
3293
|
+
"CommentsOptions": {
|
|
3294
|
+
"name": "CommentsOptions",
|
|
3295
|
+
"kind": "I",
|
|
3296
|
+
"desc": "Options for managing Comments and Comment Threads in AdapTable",
|
|
3297
|
+
"props": [
|
|
3298
|
+
{
|
|
3299
|
+
"name": "isCellCommentable",
|
|
3300
|
+
"kind": "f",
|
|
3301
|
+
"desc": "Whether a cell can be noted on TODO: check if it works",
|
|
3302
|
+
"isOpt": true
|
|
3303
|
+
},
|
|
3304
|
+
{
|
|
3305
|
+
"name": "loadCommentThreads",
|
|
3306
|
+
"kind": "f",
|
|
3307
|
+
"desc": "Called to load initial comments",
|
|
3308
|
+
"isOpt": true
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
"name": "persistCommentThreads",
|
|
3312
|
+
"kind": "f",
|
|
3313
|
+
"desc": "Called when comments change",
|
|
3314
|
+
"isOpt": true
|
|
3315
|
+
}
|
|
3316
|
+
]
|
|
3317
|
+
},
|
|
3298
3318
|
"CompatibleContext": {
|
|
3299
3319
|
"name": "CompatibleContext",
|
|
3300
3320
|
"kind": "A",
|
|
@@ -4692,7 +4712,7 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
4692
4712
|
"name": "report",
|
|
4693
4713
|
"kind": "R",
|
|
4694
4714
|
"desc": "The exported report",
|
|
4695
|
-
"ref": "
|
|
4715
|
+
"ref": "Report"
|
|
4696
4716
|
},
|
|
4697
4717
|
{
|
|
4698
4718
|
"name": "reportData",
|
|
@@ -6091,6 +6111,20 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
6091
6111
|
"kind": "A",
|
|
6092
6112
|
"desc": "Type for FDC3 Instrument List Context"
|
|
6093
6113
|
},
|
|
6114
|
+
"InteropioPluginOptions": {
|
|
6115
|
+
"name": "InteropioPluginOptions",
|
|
6116
|
+
"kind": "I",
|
|
6117
|
+
"desc": "Options for using the Interop plugin",
|
|
6118
|
+
"props": [
|
|
6119
|
+
{
|
|
6120
|
+
"name": "showAdaptableAlertsAsNotifications",
|
|
6121
|
+
"kind": "b",
|
|
6122
|
+
"desc": "Converts AdapTable Alerts configured to display in popup as Interop Notifications",
|
|
6123
|
+
"isOpt": true,
|
|
6124
|
+
"defVal": "true"
|
|
6125
|
+
}
|
|
6126
|
+
]
|
|
6127
|
+
},
|
|
6094
6128
|
"IPushPullDomain": {
|
|
6095
6129
|
"name": "IPushPullDomain",
|
|
6096
6130
|
"kind": "I",
|
|
@@ -6708,8 +6742,8 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
6708
6742
|
}
|
|
6709
6743
|
]
|
|
6710
6744
|
},
|
|
6711
|
-
"
|
|
6712
|
-
"name": "
|
|
6745
|
+
"NotesState": {
|
|
6746
|
+
"name": "NotesState",
|
|
6713
6747
|
"kind": "I",
|
|
6714
6748
|
"desc": "Predefined Configuration for Notes Module",
|
|
6715
6749
|
"props": [
|
|
@@ -7277,9 +7311,9 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
7277
7311
|
{
|
|
7278
7312
|
"name": "Notes",
|
|
7279
7313
|
"kind": "R",
|
|
7280
|
-
"desc": "Collection of
|
|
7314
|
+
"desc": "Collection of personal Notes that are edited at Cell level",
|
|
7281
7315
|
"isOpt": true,
|
|
7282
|
-
"ref": "
|
|
7316
|
+
"ref": "NotesState"
|
|
7283
7317
|
},
|
|
7284
7318
|
{
|
|
7285
7319
|
"name": "PlusMinus",
|
|
@@ -7465,7 +7499,7 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
7465
7499
|
"name": "report",
|
|
7466
7500
|
"kind": "R",
|
|
7467
7501
|
"desc": "Report being exported",
|
|
7468
|
-
"ref": "
|
|
7502
|
+
"ref": "Report"
|
|
7469
7503
|
}
|
|
7470
7504
|
]
|
|
7471
7505
|
},
|
|
@@ -7757,8 +7791,8 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
7757
7791
|
}
|
|
7758
7792
|
]
|
|
7759
7793
|
},
|
|
7760
|
-
"
|
|
7761
|
-
"name": "
|
|
7794
|
+
"Report": {
|
|
7795
|
+
"name": "Report",
|
|
7762
7796
|
"kind": "I",
|
|
7763
7797
|
"desc": "A Report which can export data from AdapTable",
|
|
7764
7798
|
"props": [
|
|
@@ -7809,7 +7843,7 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
7809
7843
|
"name": "report",
|
|
7810
7844
|
"kind": "R",
|
|
7811
7845
|
"desc": "Definition of Report being Run",
|
|
7812
|
-
"ref": "
|
|
7846
|
+
"ref": "Report"
|
|
7813
7847
|
},
|
|
7814
7848
|
{
|
|
7815
7849
|
"name": "reportData",
|
|
@@ -9228,7 +9262,7 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
9228
9262
|
"ValuesFilterOptions": {
|
|
9229
9263
|
"name": "ValuesFilterOptions",
|
|
9230
9264
|
"kind": "I",
|
|
9231
|
-
"desc": "Options for managing the Values (IN)
|
|
9265
|
+
"desc": "Options for managing the Values (IN) Filter in Filter Bar and Filter Form",
|
|
9232
9266
|
"props": [
|
|
9233
9267
|
{
|
|
9234
9268
|
"name": "filterValuesUsingTime",
|
|
@@ -9249,12 +9283,12 @@ export const ADAPTABLE_METAMODEL = {
|
|
|
9249
9283
|
},
|
|
9250
9284
|
{
|
|
9251
9285
|
"name": "maxFilterValuesToDisplay",
|
|
9252
|
-
"kind": "
|
|
9253
|
-
"desc": "Distinct column items to display in Filter
|
|
9286
|
+
"kind": "u",
|
|
9287
|
+
"desc": "Distinct column items to display in Values Filter; useful with large datasource (though AdapTable offers virtualisation)",
|
|
9254
9288
|
"isOpt": true,
|
|
9255
9289
|
"gridInfo": "item",
|
|
9256
9290
|
"noCode": "item",
|
|
9257
|
-
"defVal": "
|
|
9291
|
+
"defVal": "undefined"
|
|
9258
9292
|
},
|
|
9259
9293
|
{
|
|
9260
9294
|
"name": "showDistinctFilteredValuesOnly",
|
package/src/types.d.ts
CHANGED
|
@@ -22,12 +22,14 @@ export type { DataImportValidationError, DataImportOptions, DataImportFileHandle
|
|
|
22
22
|
export type { DataSetOptions, DataSet, DataSetFormContext, } from './AdaptableOptions/DataSetOptions';
|
|
23
23
|
export type { CellSummaryOptions } from './AdaptableOptions/CellSummaryOptions';
|
|
24
24
|
export type { CustomSortOptions, ColumnValuesComparer } from './AdaptableOptions/CustomSortOptions';
|
|
25
|
-
export type { NotesOptions, NotableCellContext } from './AdaptableOptions/
|
|
25
|
+
export type { NoteOptions as NotesOptions, NotableCellContext } from './AdaptableOptions/NoteOptions';
|
|
26
|
+
export type { CommentsOptions, CommentableCellContext, CommentLoadContext as CommentsLoadContext } from './AdaptableOptions/CommentOptions';
|
|
26
27
|
export type { GroupingOptions, BalancedGroupsKeyContext, } from './AdaptableOptions/GroupingOptions';
|
|
27
28
|
export type { IPushPullPluginOptions } from './AdaptableOptions/IPushPullPluginOptions';
|
|
28
29
|
export type { LayoutOptions, LayoutViewOptions, LayoutTagOptions, LayoutAvailableContext, AutoGenerateTagsForLayoutsContext, LayoutAssociatedObject, PivotPreviewColumnsContext, } from './AdaptableOptions/LayoutOptions';
|
|
29
30
|
export type { ChartingOptions, ChartContainer, ExternalChartingContext, ExternalChartingOptions, } from './AdaptableOptions/ChartingOptions';
|
|
30
31
|
export type { OpenFinPluginOptions } from './AdaptableOptions/OpenFinPluginOptions';
|
|
32
|
+
export type { InteropioPluginOptions } from './AdaptableOptions/InteropioPluginOptions';
|
|
31
33
|
export type { MasterDetailPluginOptions, DetailInitContext, } from './AdaptableOptions/MasterDetailPluginOptions';
|
|
32
34
|
export type { DateInputOptions } from './AdaptableOptions/DateInputOptions';
|
|
33
35
|
export type { ColumnFilterOptions, QuickFilterOptions, FilterFormOptions, ValuesFilterOptions, ColumnFilterContext, } from './AdaptableOptions/ColumnFilterOptions';
|
|
@@ -40,7 +42,7 @@ export type { AggregationColumns, WeightedAverageAggregation, } from './Predefin
|
|
|
40
42
|
export type { AccessLevel, Entitlement } from './PredefinedConfig/Common/Entitlement';
|
|
41
43
|
export type { FilterActionOnDataChange } from './PredefinedConfig/Common/FilterActionOnDataChange';
|
|
42
44
|
export type { ConfigState } from './PredefinedConfig/ConfigState';
|
|
43
|
-
export type { AdaptableNote, NotesState
|
|
45
|
+
export type { AdaptableNote, NotesState, AdaptableNotes, } from './PredefinedConfig/NotesState';
|
|
44
46
|
export type { TeamSharingOptions, SharedEntitiesContext, } from './AdaptableOptions/TeamSharingOptions';
|
|
45
47
|
export type { ToolPanelOptions, CustomToolPanel, ToolPanelButtonContext, CustomToolPanelButtonContext, } from './AdaptableOptions/ToolPanelOptions';
|
|
46
48
|
export type { UserInterfaceOptions, BasePermittedValues, PermittedValues, EditLookUpPermittedValues, FilterPermittedValues, CustomSortPermittedValues, BulkUpdatePermittedValues, EditLookUpContext, PermittedValuesContext, FilterPermittedValuesContext, BulkUpdatePermittedValuesContext, ObjectTagsContext, CustomIcon, } from './AdaptableOptions/UserInterfaceOptions';
|
|
@@ -81,6 +83,7 @@ export type { FreeTextColumnApi } from './Api/FreeTextColumnApi';
|
|
|
81
83
|
export type { GridApi } from './Api/GridApi';
|
|
82
84
|
export type { IPushPullApi } from './Api/IPushPullApi';
|
|
83
85
|
export type { LayoutApi } from './Api/LayoutApi';
|
|
86
|
+
export type { InteropioPluginApi } from './Api/InteropioPluginApi';
|
|
84
87
|
export type { OpenFinApi } from './Api/OpenFinApi';
|
|
85
88
|
export type { OptionsApi } from './Api/OptionsApi';
|
|
86
89
|
export type { PluginsApi } from './Api/PluginsApi';
|