@adaptabletools/adaptable 11.0.0-canary.6 → 11.0.0-canary.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agGrid.d.ts +5 -4
- package/agGrid.js +7 -5
- package/base.css +2 -2
- package/bundle.cjs.js +120 -115
- package/index.css +2 -2
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +1 -0
- package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -5
- package/src/AdaptableOptions/{QueryLanguageOptions.d.ts → AdaptableQLOptions.d.ts} +31 -2
- package/src/AdaptableOptions/{QueryLanguageOptions.js → AdaptableQLOptions.js} +0 -0
- package/src/AdaptableOptions/GeneralOptions.d.ts +0 -7
- package/src/AdaptableOptions/SearchOptions.d.ts +0 -9
- package/src/AdaptableOptions/StateOptions.d.ts +7 -7
- package/src/Api/CalculatedColumnApi.d.ts +2 -9
- package/src/Api/GridApi.d.ts +11 -1
- package/src/Api/Implementation/ApiBase.d.ts +3 -2
- package/src/Api/Implementation/ApiBase.js +5 -2
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +3 -4
- package/src/Api/Implementation/GridApiImpl.d.ts +2 -0
- package/src/Api/Implementation/GridApiImpl.js +27 -4
- package/src/Api/Implementation/InternalApiImpl.d.ts +2 -3
- package/src/Api/Implementation/InternalApiImpl.js +5 -4
- package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +3 -0
- package/src/Api/Implementation/QueryLanguageApiImpl.js +15 -2
- package/src/Api/InternalApi.d.ts +2 -3
- package/src/Api/QueryApi.d.ts +2 -2
- package/src/Api/QueryLanguageApi.d.ts +13 -0
- package/src/Api/SettingsPanelApi.d.ts +4 -5
- package/src/PredefinedConfig/AlertState.d.ts +5 -1
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +8 -3
- package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +0 -1
- package/src/PredefinedConfig/Common/AdaptableQuery.js +1 -5
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +1 -1
- package/src/PredefinedConfig/Common/Types.d.ts +2 -0
- package/src/PredefinedConfig/Common/Types.js +1 -0
- package/src/PredefinedConfig/Selection/GridCellRange.d.ts +3 -1
- package/src/Redux/Store/AdaptableReduxMerger.js +1 -1
- package/src/Redux/Store/AdaptableStore.js +27 -2
- package/src/Strategy/AlertModule.js +3 -3
- package/src/Strategy/CalculatedColumnModule.js +4 -4
- package/src/Strategy/ChartingModule.d.ts +3 -3
- package/src/Strategy/ChartingModule.js +2 -2
- package/src/Strategy/FlashingCellModule.js +2 -2
- package/src/Strategy/FreeTextColumnModule.js +1 -0
- package/src/Strategy/{SetingsPanelModule.d.ts → SettingsPanelModule.d.ts} +0 -0
- package/src/Strategy/{SetingsPanelModule.js → SettingsPanelModule.js} +0 -0
- package/src/Strategy/Utilities/getAlertPreviewViewItems.js +1 -1
- package/src/Strategy/Utilities/getExpressionViewItems.d.ts +2 -2
- package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
- package/src/Strategy/Utilities/getRuleViewItems.js +1 -2
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +2 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.js +3 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +16 -12
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +18 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +311 -14
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +2 -2
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +8 -8
- package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +2 -3
- package/src/Utilities/ExpressionFunctions/groupingMap.js +3 -2
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -2
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +33 -0
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +154 -0
- package/src/Utilities/Helpers/AdaptableHelper.js +2 -1
- package/src/Utilities/Services/AlertService.js +5 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +7 -3
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +143 -18
- package/src/Utilities/Services/Interface/IAdaptableService.d.ts +1 -1
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +6 -3
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +7 -1
- package/src/Utilities/Services/LicenseService.js +1 -1
- package/src/Utilities/Services/QueryLanguageService.d.ts +9 -2
- package/src/Utilities/Services/QueryLanguageService.js +81 -22
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +5 -3
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +1 -0
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -2
- package/src/View/CalculatedColumn/CalculatedColumnSharedEntity.js +3 -3
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +2 -4
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +43 -12
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -2
- package/src/View/ColorPicker.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/EntityRulesEditor/index.js +2 -3
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +1 -0
- package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
- package/src/View/Components/ValueSelector/index.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/index.js +1 -1
- package/src/View/License/LicenseWatermark.js +1 -1
- package/src/agGrid/Adaptable.d.ts +1 -0
- package/src/agGrid/Adaptable.js +16 -14
- package/src/agGrid/agGridHelper.js +2 -2
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.d.ts +4 -2
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +4 -4
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInput.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInput.js +5 -2
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +1 -1
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.d.ts +2 -0
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +45 -0
- package/src/components/ExpressionEditor/editorButtonsReactive.js +8 -13
- package/src/components/ExpressionEditor/index.d.ts +2 -1
- package/src/components/ExpressionEditor/index.js +9 -2
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/Logo/index.js +8 -7
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +41 -37
- package/src/metamodel/adaptable.metamodel.js +156 -133
- package/src/types.d.ts +5 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -152,6 +152,11 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
152
152
|
}
|
|
153
153
|
]
|
|
154
154
|
},
|
|
155
|
+
"AdaptableAlertQuery": {
|
|
156
|
+
"name": "AdaptableAlertQuery",
|
|
157
|
+
"kind": "TypeAlias",
|
|
158
|
+
"description": "Alert Query which may be either a Boolean, Observable or AggregatedBoolean Expression"
|
|
159
|
+
},
|
|
155
160
|
"AdaptableApi": {
|
|
156
161
|
"name": "AdaptableApi",
|
|
157
162
|
"kind": "Interface",
|
|
@@ -474,6 +479,11 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
474
479
|
}
|
|
475
480
|
]
|
|
476
481
|
},
|
|
482
|
+
"AdaptableCalculatedColumnQuery": {
|
|
483
|
+
"name": "AdaptableCalculatedColumnQuery",
|
|
484
|
+
"kind": "TypeAlias",
|
|
485
|
+
"description": "Calculated Column Query which may be a Scalar or an AggregatedScalar Expression"
|
|
486
|
+
},
|
|
477
487
|
"AdaptableColumn": {
|
|
478
488
|
"name": "AdaptableColumn",
|
|
479
489
|
"kind": "Interface",
|
|
@@ -922,6 +932,14 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
922
932
|
"gridInfo": "item",
|
|
923
933
|
"defaultValue": "'adaptable_id'"
|
|
924
934
|
},
|
|
935
|
+
{
|
|
936
|
+
"name": "adaptableQLOptions",
|
|
937
|
+
"kind": "REFERENCE",
|
|
938
|
+
"description": "Options for managing AdapTableQL",
|
|
939
|
+
"uiLabel": "Adaptable QL Options",
|
|
940
|
+
"isOptional": true,
|
|
941
|
+
"reference": "unknown"
|
|
942
|
+
},
|
|
925
943
|
{
|
|
926
944
|
"name": "adaptableStateKey",
|
|
927
945
|
"kind": "string",
|
|
@@ -1109,15 +1127,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1109
1127
|
"gridInfo": "item",
|
|
1110
1128
|
"defaultValue": "n/a (Mandatory)"
|
|
1111
1129
|
},
|
|
1112
|
-
{
|
|
1113
|
-
"name": "queryLanguageOptions",
|
|
1114
|
-
"kind": "REFERENCE",
|
|
1115
|
-
"description": "Options for managing queries in AdapTableQL",
|
|
1116
|
-
"uiLabel": "Query Language Options",
|
|
1117
|
-
"isOptional": true,
|
|
1118
|
-
"gridInfo": "container",
|
|
1119
|
-
"reference": "QueryLanguageOptions"
|
|
1120
|
-
},
|
|
1121
1130
|
{
|
|
1122
1131
|
"name": "searchOptions",
|
|
1123
1132
|
"kind": "REFERENCE",
|
|
@@ -1798,7 +1807,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1798
1807
|
"kind": "REFERENCE",
|
|
1799
1808
|
"description": "When Alert should be triggered",
|
|
1800
1809
|
"uiLabel": "Rule",
|
|
1801
|
-
"reference": "
|
|
1810
|
+
"reference": "AlertRule"
|
|
1802
1811
|
},
|
|
1803
1812
|
{
|
|
1804
1813
|
"name": "Scope",
|
|
@@ -1940,6 +1949,11 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1940
1949
|
}
|
|
1941
1950
|
]
|
|
1942
1951
|
},
|
|
1952
|
+
"AlertRule": {
|
|
1953
|
+
"name": "AlertRule",
|
|
1954
|
+
"kind": "TypeAlias",
|
|
1955
|
+
"description": "The Alert Rule defined by either an AdaptablePredicate or an AdaptableQuery"
|
|
1956
|
+
},
|
|
1943
1957
|
"AlertState": {
|
|
1944
1958
|
"name": "AlertState",
|
|
1945
1959
|
"kind": "Interface",
|
|
@@ -2156,10 +2170,10 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2156
2170
|
{
|
|
2157
2171
|
"name": "Query",
|
|
2158
2172
|
"kind": "REFERENCE",
|
|
2159
|
-
"description": "Scalar
|
|
2173
|
+
"description": "Scalar/AggregatedScalar Query used by AdapTableQL to evaluate Column's value",
|
|
2160
2174
|
"uiLabel": "Query",
|
|
2161
2175
|
"isOptional": true,
|
|
2162
|
-
"reference": "
|
|
2176
|
+
"reference": "AdaptableCalculatedColumnQuery"
|
|
2163
2177
|
}
|
|
2164
2178
|
]
|
|
2165
2179
|
},
|
|
@@ -2186,12 +2200,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2186
2200
|
"description": "Edits given Calculated Column",
|
|
2187
2201
|
"uiLabel": "Edit Calculated Column"
|
|
2188
2202
|
},
|
|
2189
|
-
{
|
|
2190
|
-
"name": "editCalculatedColumnExpression",
|
|
2191
|
-
"kind": "function",
|
|
2192
|
-
"description": "Replaces Expression in given Calculated Column with new value",
|
|
2193
|
-
"uiLabel": "Edit Calculated Column Expression"
|
|
2194
|
-
},
|
|
2195
2203
|
{
|
|
2196
2204
|
"name": "editCalculatedColumns",
|
|
2197
2205
|
"kind": "function",
|
|
@@ -2207,7 +2215,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2207
2215
|
{
|
|
2208
2216
|
"name": "getCalculatedColumnById",
|
|
2209
2217
|
"kind": "function",
|
|
2210
|
-
"description": "Retrieves Calculated
|
|
2218
|
+
"description": "Retrieves Calculated Column by the unique identifier of the Adaptable Object in the CalculatedColumnState",
|
|
2211
2219
|
"uiLabel": "Get Calculated Column By Id"
|
|
2212
2220
|
},
|
|
2213
2221
|
{
|
|
@@ -5113,6 +5121,99 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
5113
5121
|
"kind": "TypeAlias",
|
|
5114
5122
|
"description": "The javascript function which is invoked by an AdapTableQL Function"
|
|
5115
5123
|
},
|
|
5124
|
+
"ExpressionOptions": {
|
|
5125
|
+
"name": "ExpressionOptions",
|
|
5126
|
+
"kind": "Interface",
|
|
5127
|
+
"description": "Options for managing Expressions using AdapTableQL",
|
|
5128
|
+
"properties": [
|
|
5129
|
+
{
|
|
5130
|
+
"name": "defaultAggregatedBooleanFunctions",
|
|
5131
|
+
"kind": "REFERENCE",
|
|
5132
|
+
"description": "Aggregated Boolean Expression Functions available in AdapTableQL",
|
|
5133
|
+
"uiLabel": "Default Aggregated Boolean Functions",
|
|
5134
|
+
"isOptional": true,
|
|
5135
|
+
"gridInfo": "item",
|
|
5136
|
+
"defaultValue": "null (sets all)",
|
|
5137
|
+
"reference": "unknown"
|
|
5138
|
+
},
|
|
5139
|
+
{
|
|
5140
|
+
"name": "defaultAggregatedScalarFunctions",
|
|
5141
|
+
"kind": "REFERENCE",
|
|
5142
|
+
"description": "Aggregated Scalar Expression Functions available in AdapTableQL",
|
|
5143
|
+
"uiLabel": "Default Aggregated Scalar Functions",
|
|
5144
|
+
"isOptional": true,
|
|
5145
|
+
"gridInfo": "item",
|
|
5146
|
+
"defaultValue": "null (sets all)",
|
|
5147
|
+
"reference": "unknown"
|
|
5148
|
+
},
|
|
5149
|
+
{
|
|
5150
|
+
"name": "defaultBooleanFunctions",
|
|
5151
|
+
"kind": "REFERENCE",
|
|
5152
|
+
"description": "Boolean Expression Functions available in AdapTableQL",
|
|
5153
|
+
"uiLabel": "Default Boolean Functions",
|
|
5154
|
+
"isOptional": true,
|
|
5155
|
+
"gridInfo": "item",
|
|
5156
|
+
"defaultValue": "null (sets all)",
|
|
5157
|
+
"reference": "unknown"
|
|
5158
|
+
},
|
|
5159
|
+
{
|
|
5160
|
+
"name": "defaultObservableFunctions",
|
|
5161
|
+
"kind": "REFERENCE",
|
|
5162
|
+
"description": "Observable Expression Functions available in AdapTableQL",
|
|
5163
|
+
"uiLabel": "Default Observable Functions",
|
|
5164
|
+
"isOptional": true,
|
|
5165
|
+
"gridInfo": "item",
|
|
5166
|
+
"defaultValue": "null (sets all)",
|
|
5167
|
+
"reference": "unknown"
|
|
5168
|
+
},
|
|
5169
|
+
{
|
|
5170
|
+
"name": "defaultScalarFunctions",
|
|
5171
|
+
"kind": "REFERENCE",
|
|
5172
|
+
"description": "Scalar Expression Functions available in AdapTableQL",
|
|
5173
|
+
"uiLabel": "Default Scalar Functions",
|
|
5174
|
+
"isOptional": true,
|
|
5175
|
+
"gridInfo": "item",
|
|
5176
|
+
"defaultValue": "null (sets all)",
|
|
5177
|
+
"reference": "unknown"
|
|
5178
|
+
},
|
|
5179
|
+
{
|
|
5180
|
+
"name": "maxTimeframeSize",
|
|
5181
|
+
"kind": "number",
|
|
5182
|
+
"description": "Maximum time (in milliseconds) to hold a Data Change event in a trailing timeframe (see observableExpressionFunctions); value is capped at 86400000 (~24 hours) for performance reasons",
|
|
5183
|
+
"uiLabel": "Max Timeframe Size",
|
|
5184
|
+
"isOptional": true,
|
|
5185
|
+
"gridInfo": "item",
|
|
5186
|
+
"defaultValue": "28800000 (~8 hours)"
|
|
5187
|
+
},
|
|
5188
|
+
{
|
|
5189
|
+
"name": "moduleExpressionFunctions",
|
|
5190
|
+
"kind": "unknown",
|
|
5191
|
+
"description": "Module specific ExpressionFunctions; if not defined, it falls back to the defined default values",
|
|
5192
|
+
"uiLabel": "Module Expression Functions",
|
|
5193
|
+
"isOptional": true,
|
|
5194
|
+
"gridInfo": "item",
|
|
5195
|
+
"defaultValue": "undefined (defaults to default values)"
|
|
5196
|
+
},
|
|
5197
|
+
{
|
|
5198
|
+
"name": "performExpressionValidation",
|
|
5199
|
+
"kind": "boolean",
|
|
5200
|
+
"description": "Validate Expressions before they can be run or saved",
|
|
5201
|
+
"uiLabel": "Perform Expression Validation",
|
|
5202
|
+
"isOptional": true,
|
|
5203
|
+
"gridInfo": "item",
|
|
5204
|
+
"defaultValue": "true"
|
|
5205
|
+
},
|
|
5206
|
+
{
|
|
5207
|
+
"name": "queryableColumns",
|
|
5208
|
+
"kind": "unknown",
|
|
5209
|
+
"description": "Columns that can be included in AdapTableQL Expressions; leave unset to include **ALL**, provide empty array to set **NONE**",
|
|
5210
|
+
"uiLabel": "Queryable Columns",
|
|
5211
|
+
"isOptional": true,
|
|
5212
|
+
"gridInfo": "item",
|
|
5213
|
+
"defaultValue": "undefined"
|
|
5214
|
+
}
|
|
5215
|
+
]
|
|
5216
|
+
},
|
|
5116
5217
|
"FDC3Context": {
|
|
5117
5218
|
"name": "FDC3Context",
|
|
5118
5219
|
"kind": "Interface",
|
|
@@ -6255,15 +6356,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
6255
6356
|
"gridInfo": "item",
|
|
6256
6357
|
"defaultValue": "true"
|
|
6257
6358
|
},
|
|
6258
|
-
{
|
|
6259
|
-
"name": "caseSensitiveTextComparisons",
|
|
6260
|
-
"kind": "boolean",
|
|
6261
|
-
"description": "Perform case-sensitive text comparisons in all search and filter operations: QuickSearch, Filters, Query, Predicates",
|
|
6262
|
-
"uiLabel": "Case Sensitive Text Comparisons",
|
|
6263
|
-
"isOptional": true,
|
|
6264
|
-
"gridInfo": "item",
|
|
6265
|
-
"defaultValue": "false"
|
|
6266
|
-
},
|
|
6267
6359
|
{
|
|
6268
6360
|
"name": "cellSummaryOperations",
|
|
6269
6361
|
"kind": "unknown",
|
|
@@ -6963,9 +7055,21 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
6963
7055
|
{
|
|
6964
7056
|
"name": "selectCellRange",
|
|
6965
7057
|
"kind": "function",
|
|
6966
|
-
"description": "Selects a group of cells in a given range",
|
|
7058
|
+
"description": "Selects a group of cells in a given range - provide either primary keys or row indexes",
|
|
6967
7059
|
"uiLabel": "Select Cell Range"
|
|
6968
7060
|
},
|
|
7061
|
+
{
|
|
7062
|
+
"name": "selectColumn",
|
|
7063
|
+
"kind": "function",
|
|
7064
|
+
"description": "Selects a Column in AG Grid",
|
|
7065
|
+
"uiLabel": "Select Column"
|
|
7066
|
+
},
|
|
7067
|
+
{
|
|
7068
|
+
"name": "selectColumns",
|
|
7069
|
+
"kind": "function",
|
|
7070
|
+
"description": "Selects Columns in AG Grid",
|
|
7071
|
+
"uiLabel": "Select Columns"
|
|
7072
|
+
},
|
|
6969
7073
|
{
|
|
6970
7074
|
"name": "selectNode",
|
|
6971
7075
|
"kind": "function",
|
|
@@ -8930,7 +9034,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8930
9034
|
{
|
|
8931
9035
|
"name": "getCurrentQuery",
|
|
8932
9036
|
"kind": "function",
|
|
8933
|
-
"description": "
|
|
9037
|
+
"description": "Returns the Current Query",
|
|
8934
9038
|
"uiLabel": "Get Current Query"
|
|
8935
9039
|
},
|
|
8936
9040
|
{
|
|
@@ -8988,6 +9092,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8988
9092
|
"kind": "Interface",
|
|
8989
9093
|
"description": "Manages AdapTableQL (Query Language)",
|
|
8990
9094
|
"properties": [
|
|
9095
|
+
{
|
|
9096
|
+
"name": "getAdaptableQueryExpression",
|
|
9097
|
+
"kind": "function",
|
|
9098
|
+
"description": "Returns the Expression string of the given AdaptableQuery, which may be either a Boolean, an AggregatedBoolean, a Scalar, an AggregatedScalar or an ObservableExpression expression",
|
|
9099
|
+
"uiLabel": "Get Adaptable Query Expression"
|
|
9100
|
+
},
|
|
8991
9101
|
{
|
|
8992
9102
|
"name": "getASTForExpression",
|
|
8993
9103
|
"kind": "function",
|
|
@@ -9018,6 +9128,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
9018
9128
|
"description": "Whether the given AggregatedBooleanExpression is valid",
|
|
9019
9129
|
"uiLabel": "Is Valid Aggregated Boolean Expression"
|
|
9020
9130
|
},
|
|
9131
|
+
{
|
|
9132
|
+
"name": "isValidAggregatedScalarExpression",
|
|
9133
|
+
"kind": "function",
|
|
9134
|
+
"description": "Whether the given AggregatedScalarExpression is valid",
|
|
9135
|
+
"uiLabel": "Is Valid Aggregated Scalar Expression"
|
|
9136
|
+
},
|
|
9021
9137
|
{
|
|
9022
9138
|
"name": "isValidBooleanExpression",
|
|
9023
9139
|
"kind": "function",
|
|
@@ -9032,89 +9148,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
9032
9148
|
}
|
|
9033
9149
|
]
|
|
9034
9150
|
},
|
|
9035
|
-
"QueryLanguageOptions": {
|
|
9036
|
-
"name": "QueryLanguageOptions",
|
|
9037
|
-
"kind": "Interface",
|
|
9038
|
-
"description": "Options for managing Expressions using AdapTableQL",
|
|
9039
|
-
"properties": [
|
|
9040
|
-
{
|
|
9041
|
-
"name": "defaultAggregatedBooleanFunctions",
|
|
9042
|
-
"kind": "REFERENCE",
|
|
9043
|
-
"description": "Aggregated Boolean Expression Functions available in AdapTableQL",
|
|
9044
|
-
"uiLabel": "Default Aggregated Boolean Functions",
|
|
9045
|
-
"isOptional": true,
|
|
9046
|
-
"gridInfo": "item",
|
|
9047
|
-
"defaultValue": "null (sets all)",
|
|
9048
|
-
"reference": "unknown"
|
|
9049
|
-
},
|
|
9050
|
-
{
|
|
9051
|
-
"name": "defaultBooleanFunctions",
|
|
9052
|
-
"kind": "REFERENCE",
|
|
9053
|
-
"description": "Boolean Expression Functions available in AdapTableQL",
|
|
9054
|
-
"uiLabel": "Default Boolean Functions",
|
|
9055
|
-
"isOptional": true,
|
|
9056
|
-
"gridInfo": "item",
|
|
9057
|
-
"defaultValue": "null (sets all)",
|
|
9058
|
-
"reference": "unknown"
|
|
9059
|
-
},
|
|
9060
|
-
{
|
|
9061
|
-
"name": "defaultObservableFunctions",
|
|
9062
|
-
"kind": "REFERENCE",
|
|
9063
|
-
"description": "Observable Expression Functions available in AdapTableQL",
|
|
9064
|
-
"uiLabel": "Default Observable Functions",
|
|
9065
|
-
"isOptional": true,
|
|
9066
|
-
"gridInfo": "item",
|
|
9067
|
-
"defaultValue": "null (sets all)",
|
|
9068
|
-
"reference": "unknown"
|
|
9069
|
-
},
|
|
9070
|
-
{
|
|
9071
|
-
"name": "defaultScalarFunctions",
|
|
9072
|
-
"kind": "REFERENCE",
|
|
9073
|
-
"description": "Scalar Expression Functions available in AdapTableQL",
|
|
9074
|
-
"uiLabel": "Default Scalar Functions",
|
|
9075
|
-
"isOptional": true,
|
|
9076
|
-
"gridInfo": "item",
|
|
9077
|
-
"defaultValue": "null (sets all)",
|
|
9078
|
-
"reference": "unknown"
|
|
9079
|
-
},
|
|
9080
|
-
{
|
|
9081
|
-
"name": "maxTimeframeSize",
|
|
9082
|
-
"kind": "number",
|
|
9083
|
-
"description": "Maximum time (in milliseconds) to hold a Data Change event in a trailing timeframe (see observableExpressionFunctions); value is capped at 86400000 (~24 hours) for performance reasons",
|
|
9084
|
-
"uiLabel": "Max Timeframe Size",
|
|
9085
|
-
"isOptional": true,
|
|
9086
|
-
"gridInfo": "item",
|
|
9087
|
-
"defaultValue": "28800000 (~8 hours)"
|
|
9088
|
-
},
|
|
9089
|
-
{
|
|
9090
|
-
"name": "moduleExpressionFunctions",
|
|
9091
|
-
"kind": "unknown",
|
|
9092
|
-
"description": "Module specific ExpressionFunctions; if not defined, it falls back to the defined default values",
|
|
9093
|
-
"uiLabel": "Module Expression Functions",
|
|
9094
|
-
"isOptional": true,
|
|
9095
|
-
"gridInfo": "item",
|
|
9096
|
-
"defaultValue": "undefined (defaults to default values)"
|
|
9097
|
-
},
|
|
9098
|
-
{
|
|
9099
|
-
"name": "performExpressionValidation",
|
|
9100
|
-
"kind": "boolean",
|
|
9101
|
-
"description": "Validate Expressions before they can be run or saved",
|
|
9102
|
-
"uiLabel": "Perform Expression Validation",
|
|
9103
|
-
"isOptional": true,
|
|
9104
|
-
"gridInfo": "item",
|
|
9105
|
-
"defaultValue": "true"
|
|
9106
|
-
},
|
|
9107
|
-
{
|
|
9108
|
-
"name": "queryableColumns",
|
|
9109
|
-
"kind": "unknown",
|
|
9110
|
-
"description": "Columns that can be included in AdapTableQL Expressions; leave unset to include **ALL**, provide empty array to set **NONE**",
|
|
9111
|
-
"uiLabel": "Queryable Columns",
|
|
9112
|
-
"isOptional": true,
|
|
9113
|
-
"gridInfo": "item",
|
|
9114
|
-
"defaultValue": "undefined"
|
|
9115
|
-
}
|
|
9116
|
-
]
|
|
9117
|
-
},
|
|
9118
9151
|
"QueryState": {
|
|
9119
9152
|
"name": "QueryState",
|
|
9120
9153
|
"kind": "Interface",
|
|
@@ -9885,16 +9918,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
9885
9918
|
"isOptional": true,
|
|
9886
9919
|
"gridInfo": "item",
|
|
9887
9920
|
"defaultValue": "'Search'"
|
|
9888
|
-
},
|
|
9889
|
-
{
|
|
9890
|
-
"name": "serverSearchOptions",
|
|
9891
|
-
"kind": "REFERENCE",
|
|
9892
|
-
"description": "Which searching and filtering options, if any, should take place on server",
|
|
9893
|
-
"uiLabel": "Server Search Options",
|
|
9894
|
-
"isOptional": true,
|
|
9895
|
-
"gridInfo": "item",
|
|
9896
|
-
"defaultValue": "undefined",
|
|
9897
|
-
"reference": "unknown"
|
|
9898
9921
|
}
|
|
9899
9922
|
]
|
|
9900
9923
|
},
|
|
@@ -9959,13 +9982,13 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
9959
9982
|
{
|
|
9960
9983
|
"name": "showCustomSettingsPanel",
|
|
9961
9984
|
"kind": "function",
|
|
9962
|
-
"description": "Opens
|
|
9985
|
+
"description": "Opens Settings Panel with the Custom Settings Panel, provided by name, displayed",
|
|
9963
9986
|
"uiLabel": "Show Custom Settings Panel"
|
|
9964
9987
|
},
|
|
9965
9988
|
{
|
|
9966
9989
|
"name": "showSettingsPanel",
|
|
9967
9990
|
"kind": "function",
|
|
9968
|
-
"description": "Opens
|
|
9991
|
+
"description": "Opens Settings Panel and displays specified Module (if provided) or first available one",
|
|
9969
9992
|
"uiLabel": "Show Settings Panel"
|
|
9970
9993
|
}
|
|
9971
9994
|
]
|
|
@@ -10209,7 +10232,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
10209
10232
|
"SpecialColumnSettings": {
|
|
10210
10233
|
"name": "SpecialColumnSettings",
|
|
10211
10234
|
"kind": "Interface",
|
|
10212
|
-
"description": "Base Settings for
|
|
10235
|
+
"description": "Base Settings for Calculated Columns and FreeText Columns",
|
|
10213
10236
|
"properties": [
|
|
10214
10237
|
{
|
|
10215
10238
|
"name": "Aggregatable",
|
|
@@ -10294,19 +10317,19 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
10294
10317
|
"StateOptions": {
|
|
10295
10318
|
"name": "StateOptions",
|
|
10296
10319
|
"kind": "Interface",
|
|
10297
|
-
"description": "Options related to
|
|
10320
|
+
"description": "Options related to Adaptable State hydration/dehydration - allows users to intercept state persistence and state loading with custom functionality",
|
|
10298
10321
|
"properties": [
|
|
10299
10322
|
{
|
|
10300
10323
|
"name": "applyState",
|
|
10301
10324
|
"kind": "unknown",
|
|
10302
|
-
"description": "Allows hooking into
|
|
10325
|
+
"description": "Allows hooking into Adaptable State hydration",
|
|
10303
10326
|
"uiLabel": "Apply State",
|
|
10304
10327
|
"isOptional": true
|
|
10305
10328
|
},
|
|
10306
10329
|
{
|
|
10307
10330
|
"name": "clearState",
|
|
10308
10331
|
"kind": "REFERENCE",
|
|
10309
|
-
"description": "Allows clearing of remote
|
|
10332
|
+
"description": "Allows clearing of remote Adaptable State",
|
|
10310
10333
|
"uiLabel": "Clear State",
|
|
10311
10334
|
"isOptional": true,
|
|
10312
10335
|
"reference": "unknown"
|
|
@@ -10314,7 +10337,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
10314
10337
|
{
|
|
10315
10338
|
"name": "debounceStateDelay",
|
|
10316
10339
|
"kind": "number",
|
|
10317
|
-
"description": "Delay (in ms) to debounce saveState/persistState calls enabling grouping multiple sequential calls in single one (e.g. elevator doors)",
|
|
10340
|
+
"description": "Delay (in ms) to debounce `saveState` / `persistState` calls enabling grouping multiple sequential calls in single one (e.g. elevator doors)",
|
|
10318
10341
|
"uiLabel": "Debounce State Delay",
|
|
10319
10342
|
"isOptional": true,
|
|
10320
10343
|
"defaultValue": "400"
|
|
@@ -10322,7 +10345,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
10322
10345
|
{
|
|
10323
10346
|
"name": "loadState",
|
|
10324
10347
|
"kind": "REFERENCE",
|
|
10325
|
-
"description": "Allows the customization of
|
|
10348
|
+
"description": "Allows the customization of Adaptable State loading",
|
|
10326
10349
|
"uiLabel": "Load State",
|
|
10327
10350
|
"isOptional": true,
|
|
10328
10351
|
"reference": "AdaptableLoadStateFunction"
|
|
@@ -10330,7 +10353,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
10330
10353
|
{
|
|
10331
10354
|
"name": "persistState",
|
|
10332
10355
|
"kind": "REFERENCE",
|
|
10333
|
-
"description": "Allows the customization of state persistence
|
|
10356
|
+
"description": "Allows the customization of state persistence",
|
|
10334
10357
|
"uiLabel": "Persist State",
|
|
10335
10358
|
"isOptional": true,
|
|
10336
10359
|
"reference": "AdaptablePersistStateFunction"
|
|
@@ -10338,7 +10361,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
10338
10361
|
{
|
|
10339
10362
|
"name": "saveState",
|
|
10340
10363
|
"kind": "REFERENCE",
|
|
10341
|
-
"description": "Allows the customization of the
|
|
10364
|
+
"description": "Allows the customization of the Adaptable State that is going to be persisted",
|
|
10342
10365
|
"uiLabel": "Save State",
|
|
10343
10366
|
"isOptional": true,
|
|
10344
10367
|
"reference": "unknown"
|
package/src/types.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export type { OpenFinPluginOptions } from './AdaptableOptions/OpenFinPluginOptio
|
|
|
17
17
|
export type { FinancePluginOptions, WeightedAverageColumn, InstrumentColumn, } from './AdaptableOptions/FinancePluginOptions';
|
|
18
18
|
export type { DateInputOptions } from './AdaptableOptions/DateInputOptions';
|
|
19
19
|
export type { FilterOptions } from './AdaptableOptions/FilterOptions';
|
|
20
|
-
export type { SearchOptions
|
|
20
|
+
export type { SearchOptions } from './AdaptableOptions/SearchOptions';
|
|
21
21
|
export type { AdaptablePersistStateFunction, AdaptableStateFunctionConfig, AdaptableLoadStateFunction, StateOptions, } from './AdaptableOptions/StateOptions';
|
|
22
22
|
export type { AccessLevel, Entitlement } from './PredefinedConfig/Common/Entitlement';
|
|
23
23
|
export type { FilterActionOnDataChange } from './PredefinedConfig/Common/FilterActionOnDataChange';
|
|
@@ -28,7 +28,7 @@ export type { UserInterfaceOptions, CellValuesList, ActionColumnButtonContext, A
|
|
|
28
28
|
export type { MenuOptions } from './AdaptableOptions/MenuOptions';
|
|
29
29
|
export type { CustomSettingsPanel, SettingsPanelOptions, } from './AdaptableOptions/SettingsPanelOptions';
|
|
30
30
|
export type { EntitlementOptions } from './AdaptableOptions/EntitlementOptions';
|
|
31
|
-
export type {
|
|
31
|
+
export type { ExpressionOptions, ModuleExpressionFunctions, AdaptableQLOptions, } from './AdaptableOptions/AdaptableQLOptions';
|
|
32
32
|
export type { DataChangeHistoryOptions } from './AdaptableOptions/DataChangeHistoryOptions';
|
|
33
33
|
export type { AdaptableApi } from './Api/AdaptableApi';
|
|
34
34
|
export type { AlertApi } from './Api/AlertApi';
|
|
@@ -88,10 +88,10 @@ export type { ThemeChangedInfo } from './Api/Events/ThemeChanged';
|
|
|
88
88
|
export type { DashboardChangedInfo } from './Api/Events/DashboardChanged';
|
|
89
89
|
export type { AdaptableStateChangedInfo } from './Api/Events/AdaptableStateChanged';
|
|
90
90
|
export type { AdaptableState } from './PredefinedConfig/AdaptableState';
|
|
91
|
-
export type { AlertDefinition, AlertProperties, AlertState, AlertButtonForm, AlertButton, AdaptableAlertAction, AlertDefinitionPredicate, } from './PredefinedConfig/AlertState';
|
|
91
|
+
export type { AlertDefinition, AlertProperties, AlertState, AlertButtonForm, AlertButton, AdaptableAlertAction, AlertDefinitionPredicate, AlertRule, AdaptableAlertQuery, } from './PredefinedConfig/AlertState';
|
|
92
92
|
export type { ApplicationDataEntry, ApplicationState } from './PredefinedConfig/ApplicationState';
|
|
93
93
|
export type { SpecialColumnSettings } from './PredefinedConfig/Common/SpecialColumnSettings';
|
|
94
|
-
export type { CalculatedColumn, CalculatedColumnSettings, CalculatedColumnState, } from './PredefinedConfig/CalculatedColumnState';
|
|
94
|
+
export type { CalculatedColumn, CalculatedColumnSettings, CalculatedColumnState, AdaptableCalculatedColumnQuery, } from './PredefinedConfig/CalculatedColumnState';
|
|
95
95
|
export type { CellSummmary, CellSummaryOperation, CellSummaryOperationParams, } from './PredefinedConfig/Common/CellSummary';
|
|
96
96
|
export type { FlashingCellDefinition, FlashingCellState, } from './PredefinedConfig/FlashingCellState';
|
|
97
97
|
export type { AdaptableAlert } from './PredefinedConfig/Common/AdaptableAlert';
|
|
@@ -119,7 +119,7 @@ export type { AdaptableButton } from './PredefinedConfig/Common/AdaptableButton'
|
|
|
119
119
|
export type { AdaptableMenuItem, UserMenuItem, ColumnMenuContext, ContextMenuContext, } from './PredefinedConfig/Common/Menu';
|
|
120
120
|
export type { Schedule } from './PredefinedConfig/Common/Schedule';
|
|
121
121
|
export type { ButtonStyle } from './PredefinedConfig/Common/ButtonStyle';
|
|
122
|
-
export type { AdaptableModule, AdaptableToolPanel } from './PredefinedConfig/Common/Types';
|
|
122
|
+
export type { AdaptableModule, AdaptableToolPanel, AdaptableQLModule, } from './PredefinedConfig/Common/Types';
|
|
123
123
|
export type { ConditionalStyle, ConditionalStyleRule, ConditionalStyleState, } from './PredefinedConfig/ConditionalStyleState';
|
|
124
124
|
export type { CustomSort, CustomSortState } from './PredefinedConfig/CustomSortState';
|
|
125
125
|
export type { DashboardState, DashboardTab, AdaptableCoordinate, } from './PredefinedConfig/DashboardState';
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "11.0.0-canary.
|
|
1
|
+
declare const _default: "11.0.0-canary.7";
|
|
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.0.0-canary.
|
|
3
|
+
exports.default = '11.0.0-canary.7'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|