@adaptabletools/adaptable 11.2.1 → 11.2.4-canary.0
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 +24 -1
- package/bundle.cjs.js +94 -94
- package/index.css +28 -1
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -0
- package/src/AdaptableOptions/LayoutOptions.d.ts +36 -11
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +0 -1
- package/src/Api/GridApi.d.ts +8 -1
- package/src/Api/Implementation/ColumnApiImpl.js +2 -1
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +3 -3
- package/src/Api/Implementation/GridApiImpl.d.ts +3 -0
- package/src/Api/Implementation/GridApiImpl.js +3 -0
- package/src/Api/Implementation/InternalApiImpl.d.ts +2 -0
- package/src/Api/Implementation/InternalApiImpl.js +49 -28
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +6 -0
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
- package/src/Api/Implementation/TeamSharingApiImpl.d.ts +2 -1
- package/src/Api/Implementation/TeamSharingApiImpl.js +11 -2
- package/src/Api/Implementation/ThemeApiImpl.js +1 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +2 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.js +16 -4
- package/src/Api/InternalApi.d.ts +2 -0
- package/src/Api/LayoutApi.d.ts +6 -1
- package/src/Api/TeamSharingApi.d.ts +10 -1
- package/src/Api/UserInterfaceApi.d.ts +6 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +4 -0
- package/src/PredefinedConfig/Common/AdaptableObject.d.ts +5 -5
- package/src/Redux/ActionsReducers/TeamSharingRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/TeamSharingRedux.js +4 -4
- package/src/Strategy/DashboardModule.js +3 -0
- package/src/Strategy/FilterModule.d.ts +7 -0
- package/src/Strategy/FilterModule.js +11 -2
- package/src/Strategy/Interface/IModule.d.ts +5 -0
- package/src/Strategy/LayoutModule.js +4 -4
- package/src/Strategy/Utilities/getObjectTagsViewItems.js +1 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +4 -1
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +4 -3
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +16 -36
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +24 -14
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +32 -9
- package/src/View/AdaptablePopover/index.d.ts +1 -0
- package/src/View/AdaptablePopover/index.js +2 -2
- package/src/View/AdaptableView.js +8 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.d.ts +13 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +41 -0
- package/src/View/Components/EntityRulesEditor/index.js +2 -1
- package/src/View/Components/ExpressionWizard.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +1 -1
- package/src/View/Components/Popups/AdaptableToaster.js +1 -0
- package/src/View/Components/TagValueSelector/index.js +4 -3
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -2
- package/src/View/Export/ReportExportDropdown.js +1 -1
- package/src/View/Filter/ActiveFiltersPanel.d.ts +1 -13
- package/src/View/Filter/ActiveFiltersPanel.js +8 -31
- package/src/View/Filter/FilterStatusBarSubPanelPopover.js +1 -10
- package/src/View/Filter/FilterViewPanel.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +2 -2
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditorWizard.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.js +4 -4
- package/src/agGrid/Adaptable.d.ts +3 -0
- package/src/agGrid/Adaptable.js +10 -2
- package/src/agGrid/agGridHelper.js +1 -0
- package/src/components/ExpressionEditor/BaseEditorInput.js +8 -1
- package/src/components/ExpressionEditor/index.js +54 -5
- package/src/metamodel/adaptable.metamodel.d.ts +32 -18
- package/src/metamodel/adaptable.metamodel.js +96 -25
- package/src/parser/src/types.d.ts +1 -1
- package/src/types.d.ts +3 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -554,6 +554,13 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
554
554
|
"isOptional": true,
|
|
555
555
|
"reference": "unknown"
|
|
556
556
|
},
|
|
557
|
+
{
|
|
558
|
+
"name": "field",
|
|
559
|
+
"kind": "string",
|
|
560
|
+
"description": "Is the field of the row to get the cell data from",
|
|
561
|
+
"uiLabel": "Field",
|
|
562
|
+
"isOptional": true
|
|
563
|
+
},
|
|
557
564
|
{
|
|
558
565
|
"name": "filterable",
|
|
559
566
|
"kind": "boolean",
|
|
@@ -986,7 +993,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
986
993
|
{
|
|
987
994
|
"name": "Tags",
|
|
988
995
|
"kind": "unknown",
|
|
989
|
-
"description": "List of
|
|
996
|
+
"description": "List of Tags associated with the Object; often used for (but not limited to) managing Layout object scope",
|
|
990
997
|
"uiLabel": "Tags",
|
|
991
998
|
"isOptional": true
|
|
992
999
|
},
|
|
@@ -1000,6 +1007,11 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1000
1007
|
}
|
|
1001
1008
|
]
|
|
1002
1009
|
},
|
|
1010
|
+
"AdaptableObjectTag": {
|
|
1011
|
+
"name": "AdaptableObjectTag",
|
|
1012
|
+
"kind": "TypeAlias",
|
|
1013
|
+
"description": "Object Tag - defined as a label and a value"
|
|
1014
|
+
},
|
|
1003
1015
|
"AdaptableOptions": {
|
|
1004
1016
|
"name": "AdaptableOptions",
|
|
1005
1017
|
"kind": "Interface",
|
|
@@ -2245,6 +2257,25 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2245
2257
|
}
|
|
2246
2258
|
]
|
|
2247
2259
|
},
|
|
2260
|
+
"AutoGenerateTagsForLayoutsContext": {
|
|
2261
|
+
"name": "AutoGenerateTagsForLayoutsContext",
|
|
2262
|
+
"kind": "Interface",
|
|
2263
|
+
"description": "Context for `LayoutOptions.autoGenerateTagsForLayouts` method",
|
|
2264
|
+
"properties": [
|
|
2265
|
+
{
|
|
2266
|
+
"name": "layouts",
|
|
2267
|
+
"kind": "unknown",
|
|
2268
|
+
"description": "Layouts currently in Adaptable State",
|
|
2269
|
+
"uiLabel": "Layouts"
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
"name": "objectTags",
|
|
2273
|
+
"kind": "unknown",
|
|
2274
|
+
"description": "Object Tags provided in User Interface Options",
|
|
2275
|
+
"uiLabel": "Object Tags"
|
|
2276
|
+
}
|
|
2277
|
+
]
|
|
2278
|
+
},
|
|
2248
2279
|
"BaseContext": {
|
|
2249
2280
|
"name": "BaseContext",
|
|
2250
2281
|
"kind": "Interface",
|
|
@@ -5554,7 +5585,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
5554
5585
|
"kind": "REFERENCE",
|
|
5555
5586
|
"description": "Main Adaptable Api object",
|
|
5556
5587
|
"uiLabel": "Api",
|
|
5557
|
-
"isOptional": true,
|
|
5558
5588
|
"reference": "AdaptableApi"
|
|
5559
5589
|
},
|
|
5560
5590
|
{
|
|
@@ -7523,6 +7553,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
7523
7553
|
"description": "Returns Ag Grid instance (passed into Adaptable Options at start-up)",
|
|
7524
7554
|
"uiLabel": "Get Ag Grid Instance"
|
|
7525
7555
|
},
|
|
7556
|
+
{
|
|
7557
|
+
"name": "getAllRowNodes",
|
|
7558
|
+
"kind": "function",
|
|
7559
|
+
"description": "Retrieves all Row Nodes currently in the Grid (by default excluding the group rows)",
|
|
7560
|
+
"uiLabel": "Get All Row Nodes"
|
|
7561
|
+
},
|
|
7526
7562
|
{
|
|
7527
7563
|
"name": "getCellDisplayValue",
|
|
7528
7564
|
"kind": "function",
|
|
@@ -7694,7 +7730,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
7694
7730
|
{
|
|
7695
7731
|
"name": "getVisibleRowNodes",
|
|
7696
7732
|
"kind": "function",
|
|
7697
|
-
"description": "Retrieves all Row Nodes currently in the Grid (i.e.
|
|
7733
|
+
"description": "Retrieves all filtered Row Nodes currently in the Grid (i.e. after applying the current filter)",
|
|
7698
7734
|
"uiLabel": "Get Visible Row Nodes"
|
|
7699
7735
|
},
|
|
7700
7736
|
{
|
|
@@ -8508,11 +8544,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8508
8544
|
"kind": "Interface",
|
|
8509
8545
|
"description": "Internal State used by AdapTable for managing the ipushpull plugin"
|
|
8510
8546
|
},
|
|
8511
|
-
"IsObjectAvailableInLayoutContext": {
|
|
8512
|
-
"name": "IsObjectAvailableInLayoutContext",
|
|
8513
|
-
"kind": "Interface",
|
|
8514
|
-
"description": "Context for `LayoutOptions.isObjectAvailableInLayout` method"
|
|
8515
|
-
},
|
|
8516
8547
|
"Layout": {
|
|
8517
8548
|
"name": "Layout",
|
|
8518
8549
|
"kind": "Interface",
|
|
@@ -8764,6 +8795,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8764
8795
|
"description": "Checks if the given Layout is Default Layout",
|
|
8765
8796
|
"uiLabel": "Is Default Layout"
|
|
8766
8797
|
},
|
|
8798
|
+
{
|
|
8799
|
+
"name": "isObjectAvailableInCurrentLayout",
|
|
8800
|
+
"kind": "function",
|
|
8801
|
+
"description": "Does an object's Tags include the Current Layout",
|
|
8802
|
+
"uiLabel": "Is Object Available In Current Layout"
|
|
8803
|
+
},
|
|
8767
8804
|
{
|
|
8768
8805
|
"name": "saveCurrentLayout",
|
|
8769
8806
|
"kind": "function",
|
|
@@ -8817,7 +8854,35 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8817
8854
|
"LayoutAssociatedObject": {
|
|
8818
8855
|
"name": "LayoutAssociatedObject",
|
|
8819
8856
|
"kind": "TypeAlias",
|
|
8820
|
-
"description": "Types of
|
|
8857
|
+
"description": "Types of Adaptable Objects that can be associated with a Layout"
|
|
8858
|
+
},
|
|
8859
|
+
"LayoutAvailableContext": {
|
|
8860
|
+
"name": "LayoutAvailableContext",
|
|
8861
|
+
"kind": "Interface",
|
|
8862
|
+
"description": "Context for `LayoutOptions.isObjectAvailableInLayout` functions",
|
|
8863
|
+
"properties": [
|
|
8864
|
+
{
|
|
8865
|
+
"name": "adaptableObject",
|
|
8866
|
+
"kind": "REFERENCE",
|
|
8867
|
+
"description": "Object being checked",
|
|
8868
|
+
"uiLabel": "Adaptable Object",
|
|
8869
|
+
"reference": "LayoutAssociatedObject"
|
|
8870
|
+
},
|
|
8871
|
+
{
|
|
8872
|
+
"name": "layout",
|
|
8873
|
+
"kind": "REFERENCE",
|
|
8874
|
+
"description": "Current Layout",
|
|
8875
|
+
"uiLabel": "Layout",
|
|
8876
|
+
"reference": "Layout"
|
|
8877
|
+
},
|
|
8878
|
+
{
|
|
8879
|
+
"name": "module",
|
|
8880
|
+
"kind": "REFERENCE",
|
|
8881
|
+
"description": "Current Adaptable Module",
|
|
8882
|
+
"uiLabel": "Module",
|
|
8883
|
+
"reference": "AdaptableModule"
|
|
8884
|
+
}
|
|
8885
|
+
]
|
|
8821
8886
|
},
|
|
8822
8887
|
"LayoutChangedInfo": {
|
|
8823
8888
|
"name": "LayoutChangedInfo",
|
|
@@ -8850,13 +8915,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8850
8915
|
"kind": "Interface",
|
|
8851
8916
|
"description": "Options for configuring Layouts; these manage Column visibility, order, sorting, grouping and width",
|
|
8852
8917
|
"properties": [
|
|
8853
|
-
{
|
|
8854
|
-
"name": "autoGenerateTagsForLayouts",
|
|
8855
|
-
"kind": "unknown",
|
|
8856
|
-
"description": "Automatically generate a tag for each existing layout",
|
|
8857
|
-
"uiLabel": "Auto Generate Tags For Layouts",
|
|
8858
|
-
"isOptional": true
|
|
8859
|
-
},
|
|
8860
8918
|
{
|
|
8861
8919
|
"name": "autoSaveLayouts",
|
|
8862
8920
|
"kind": "boolean",
|
|
@@ -8912,17 +8970,18 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8912
8970
|
"defaultValue": "false"
|
|
8913
8971
|
},
|
|
8914
8972
|
{
|
|
8915
|
-
"name": "
|
|
8916
|
-
"kind": "
|
|
8917
|
-
"description": "
|
|
8918
|
-
"uiLabel": "
|
|
8919
|
-
"isOptional": true
|
|
8973
|
+
"name": "layoutTagOptions",
|
|
8974
|
+
"kind": "REFERENCE",
|
|
8975
|
+
"description": "Options for leveraging Object Tags to extend Layouts",
|
|
8976
|
+
"uiLabel": "Layout Tag Options",
|
|
8977
|
+
"isOptional": true,
|
|
8978
|
+
"reference": "unknown"
|
|
8920
8979
|
},
|
|
8921
8980
|
{
|
|
8922
|
-
"name": "
|
|
8981
|
+
"name": "layoutViewOptions",
|
|
8923
8982
|
"kind": "REFERENCE",
|
|
8924
8983
|
"description": "Customize how Layouts are displayed in Settings Panel",
|
|
8925
|
-
"uiLabel": "View Options",
|
|
8984
|
+
"uiLabel": "Layout View Options",
|
|
8926
8985
|
"isOptional": true,
|
|
8927
8986
|
"reference": "LayoutViewOptions"
|
|
8928
8987
|
}
|
|
@@ -8957,7 +9016,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8957
9016
|
{
|
|
8958
9017
|
"name": "maxColumnsToDisplay",
|
|
8959
9018
|
"kind": "number",
|
|
8960
|
-
"description": "How many
|
|
9019
|
+
"description": "How many Column Names to display in inline Layout preview",
|
|
8961
9020
|
"uiLabel": "Max Columns To Display",
|
|
8962
9021
|
"isOptional": true,
|
|
8963
9022
|
"defaultValue": "10"
|
|
@@ -11773,6 +11832,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
11773
11832
|
"description": "Whether Team Sharing is Activated",
|
|
11774
11833
|
"uiLabel": "Is Team Sharing Activated"
|
|
11775
11834
|
},
|
|
11835
|
+
{
|
|
11836
|
+
"name": "shareEntity",
|
|
11837
|
+
"kind": "function",
|
|
11838
|
+
"description": "Puts an Adaptable Object into Team Share",
|
|
11839
|
+
"uiLabel": "Share Entity"
|
|
11840
|
+
},
|
|
11776
11841
|
{
|
|
11777
11842
|
"name": "showTeamSharingPopup",
|
|
11778
11843
|
"kind": "function",
|
|
@@ -12208,10 +12273,16 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
12208
12273
|
"description": "Adds menu item to Context Menu",
|
|
12209
12274
|
"uiLabel": "Add Context Menu Item"
|
|
12210
12275
|
},
|
|
12276
|
+
{
|
|
12277
|
+
"name": "getAdaptableObjectTags",
|
|
12278
|
+
"kind": "function",
|
|
12279
|
+
"description": "Retrieves any Object Tags (provided in User Interface Options)",
|
|
12280
|
+
"uiLabel": "Get Adaptable Object Tags"
|
|
12281
|
+
},
|
|
12211
12282
|
{
|
|
12212
12283
|
"name": "getAllActionColumn",
|
|
12213
12284
|
"kind": "function",
|
|
12214
|
-
"description": "Retrieves any Action Columns in User Interface Options",
|
|
12285
|
+
"description": "Retrieves any Action Columns (provided in User Interface Options)",
|
|
12215
12286
|
"uiLabel": "Get All Action Column"
|
|
12216
12287
|
},
|
|
12217
12288
|
{
|
package/src/types.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export type { ExportOptions, SystemExportDestination, SystemExportDestinations,
|
|
|
17
17
|
export type { GeneralOptions, ColumnValuesComparer } from './AdaptableOptions/GeneralOptions';
|
|
18
18
|
export type { Glue42PluginOptions } from './AdaptableOptions/Glue42PluginOptions';
|
|
19
19
|
export type { IPushPullPluginOptions } from './AdaptableOptions/IPushPullPluginOptions';
|
|
20
|
-
export type { LayoutOptions, LayoutViewOptions,
|
|
20
|
+
export type { LayoutOptions, LayoutViewOptions, LayoutTagOptions, LayoutAvailableContext, AutoGenerateTagsForLayoutsContext, LayoutAssociatedObject, } from './AdaptableOptions/LayoutOptions';
|
|
21
21
|
export type { OpenFinPluginOptions } from './AdaptableOptions/OpenFinPluginOptions';
|
|
22
22
|
export type { FinancePluginOptions, WeightedAverageColumn, FDC3Column, InstrumentColumn, PositionColumn, CountryColumn, InstrumentIntent, InstrumentIntents, PositionIntent, PositionIntents, ContactIntent, ContactIntents, CountryIntent, CountryIntents, ContactColumn, OrganizationColumn, OrganizationIntent, OrganizationIntents, FDC3Intent, RaiseFDC3IntentContext, } from './AdaptableOptions/FinancePluginOptions';
|
|
23
23
|
export type { DateInputOptions } from './AdaptableOptions/DateInputOptions';
|
|
@@ -108,7 +108,7 @@ export type { SystemStatusMessageInfo } from './PredefinedConfig/Common/SystemSt
|
|
|
108
108
|
export type { AlternativeModuleName } from './PredefinedConfig/Common/AlternativeModuleName';
|
|
109
109
|
export type { AdaptableFormat, DateFormatterOptions, NumberFormatterOptions, StringFormatterOptions, } from './PredefinedConfig/Common/AdaptableFormat';
|
|
110
110
|
export type { AdaptableMessageType } from './PredefinedConfig/Common/AdaptableMessageType';
|
|
111
|
-
export type { AdaptableObject } from './PredefinedConfig/Common/AdaptableObject';
|
|
111
|
+
export type { AdaptableObject, AdaptableObjectTag, } from './PredefinedConfig/Common/AdaptableObject';
|
|
112
112
|
export type { SuspendableObject } from './PredefinedConfig/Common/SuspendableObject';
|
|
113
113
|
export type { AdaptableQuery, AdaptableAggregatedBooleanQuery, AdaptableAggregatedScalarQuery, AdaptableBooleanQuery, AdaptableObservableQuery, AdaptableScalarQuery, } from './PredefinedConfig/Common/AdaptableQuery';
|
|
114
114
|
export type { AdaptablePredicate, AdaptablePredicateDef, ModuleScope, PredicateDefHandlerParams, PredicateDefInput, PredicateDefToStringParams, } from './PredefinedConfig/Common/AdaptablePredicate';
|
|
@@ -153,7 +153,7 @@ export type { SelectedCellInfo } from './PredefinedConfig/Selection/SelectedCell
|
|
|
153
153
|
export type { SelectedRowInfo } from './PredefinedConfig/Selection/SelectedRowInfo';
|
|
154
154
|
export type { GridCellRange } from './PredefinedConfig/Selection/GridCellRange';
|
|
155
155
|
export type { Shortcut, ShortcutState, ShortcutScopeDataType, } from './PredefinedConfig/ShortcutState';
|
|
156
|
-
export type { SharedEntity, TeamSharingImportInfo, TeamSharingState, SharedEntityType, } from './PredefinedConfig/TeamSharingState';
|
|
156
|
+
export type { SharedEntity, TeamSharingImportInfo, TeamSharingState, SharedEntityType, SharedEntityConfig, } from './PredefinedConfig/TeamSharingState';
|
|
157
157
|
export type { AdaptableTheme, ThemeState } from './PredefinedConfig/ThemeState';
|
|
158
158
|
export type { ToolPanelState, AdaptableToolPanelDefinition, ToolPanelVisibilityMode, } from './PredefinedConfig/ToolPanelState';
|
|
159
159
|
export type { AdaptableFrameworkComponent, AngularFrameworkComponent, ReactFrameworkComponent, } from './AdaptableOptions/AdaptableFrameworkComponent';
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "11.2.
|
|
1
|
+
declare const _default: "11.2.4-canary.0";
|
|
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 = '11.2.
|
|
3
|
+
exports.default = '11.2.4-canary.0'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|