@adaptabletools/adaptable 11.0.0-canary.5 → 11.0.0-canary.6
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 +1 -1
- package/agGrid.js +3 -3
- package/bundle.cjs.js +117 -117
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +1 -1
- package/src/AdaptableOptions/ContainerOptions.d.ts +1 -1
- package/src/AdaptableOptions/QueryLanguageOptions.d.ts +3 -3
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -1
- package/src/Api/AdaptableApi.d.ts +5 -0
- package/src/Api/ColumnApi.d.ts +0 -4
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -1
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/AlertApiImpl.js +4 -1
- package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -1
- package/src/Api/Implementation/ColumnApiImpl.js +0 -5
- package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +1 -1
- package/src/Api/Implementation/QueryLanguageApiImpl.js +2 -2
- package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +7 -0
- package/src/Api/Implementation/SettingsPanelApiImpl.js +15 -0
- package/src/Api/QueryLanguageApi.d.ts +10 -10
- package/src/Api/SettingsPanelApi.d.ts +17 -0
- package/src/Api/SettingsPanelApi.js +2 -0
- package/src/PredefinedConfig/AlertState.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +7 -4
- package/src/PredefinedConfig/Common/AdaptableQuery.js +3 -3
- package/src/PredefinedConfig/Common/Enums.d.ts +0 -1
- package/src/PredefinedConfig/Common/Enums.js +0 -2
- package/src/Strategy/AlertModule.js +9 -0
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +2 -2
- package/src/Utilities/ExpressionFunctions/{aggregationExpressionFunctions.d.ts → aggregatedBooleanExpressionFunctions.d.ts} +1 -1
- package/src/Utilities/ExpressionFunctions/{aggregationExpressionFunctions.js → aggregatedBooleanExpressionFunctions.js} +3 -3
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +7 -0
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +42 -0
- package/src/Utilities/ExpressionFunctions/deepMap.d.ts +35 -0
- package/src/Utilities/ExpressionFunctions/deepMap.js +283 -0
- package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +36 -0
- package/src/Utilities/ExpressionFunctions/groupingMap.js +104 -0
- package/src/Utilities/Services/AlertService.js +3 -3
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +2 -2
- package/src/Utilities/Services/QueryLanguageService.d.ts +2 -2
- package/src/Utilities/Services/QueryLanguageService.js +6 -6
- package/src/View/AdaptableWizardView/helper.js +2 -2
- package/src/View/Alert/Wizard/AlertWizard.js +2 -2
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -2
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +3 -2
- package/src/View/Alert/Wizard/isValidAlertRules.js +3 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -2
- package/src/View/Components/EntityRulesEditor/index.js +9 -9
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +2 -2
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +2 -2
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +1 -1
- package/src/View/Query/Wizard/NamedQueryWizard.js +3 -3
- package/src/agGrid/Adaptable.js +1 -2
- package/src/agGrid/agGridHelper.js +1 -5
- package/src/components/ExpressionEditor/EditorInputReactive.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInputReactive.js +1 -1
- package/src/components/ExpressionEditor/index.d.ts +1 -1
- package/src/components/ExpressionEditor/index.js +3 -3
- package/src/metamodel/adaptable.metamodel.d.ts +11 -0
- package/src/metamodel/adaptable.metamodel.js +36 -16
- package/src/types.d.ts +2 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -56,8 +56,8 @@ exports.EntityRulesEditor = (props) => {
|
|
|
56
56
|
? 'BooleanExpression'
|
|
57
57
|
: data.Rule.ObservableExpression != undefined && showObservable
|
|
58
58
|
? 'ObservableExpression'
|
|
59
|
-
: data.Rule.
|
|
60
|
-
? '
|
|
59
|
+
: data.Rule.AggregatedBooleanExpression != undefined && showAggregation
|
|
60
|
+
? 'AggregatedBooleanExpression'
|
|
61
61
|
: 'Predicate';
|
|
62
62
|
const [selectedTab, setSelectedTab] = React.useState(type);
|
|
63
63
|
const setType = (type) => {
|
|
@@ -72,9 +72,9 @@ exports.EntityRulesEditor = (props) => {
|
|
|
72
72
|
ObservableExpression: '',
|
|
73
73
|
} }));
|
|
74
74
|
}
|
|
75
|
-
else if (type === '
|
|
75
|
+
else if (type === 'AggregatedBooleanExpression' && showAggregation) {
|
|
76
76
|
props.onChange(Object.assign(Object.assign({}, data), { Rule: {
|
|
77
|
-
|
|
77
|
+
AggregatedBooleanExpression: '',
|
|
78
78
|
} }));
|
|
79
79
|
}
|
|
80
80
|
else {
|
|
@@ -127,7 +127,7 @@ exports.EntityRulesEditor = (props) => {
|
|
|
127
127
|
props.onChange(Object.assign(Object.assign({}, data), { Rule: { ObservableExpression: expression } }));
|
|
128
128
|
};
|
|
129
129
|
const setAggregationExpression = (expression) => {
|
|
130
|
-
props.onChange(Object.assign(Object.assign({}, data), { Rule: {
|
|
130
|
+
props.onChange(Object.assign(Object.assign({}, data), { Rule: { AggregatedBooleanExpression: expression } }));
|
|
131
131
|
};
|
|
132
132
|
const initialData = api.internalApi.getQueryPreviewData();
|
|
133
133
|
const showDocumentationLinks = api.internalApi.isDocumentationLinksDisplayed();
|
|
@@ -162,13 +162,13 @@ exports.EntityRulesEditor = (props) => {
|
|
|
162
162
|
background: 'var(--ab-color-action-add)',
|
|
163
163
|
}, onClick: () => window.open(DocumentationLinkConstants_1.PredicateDocsLink, '_blank') }),
|
|
164
164
|
"See Predicate documentation for more details and examples")))) : null,
|
|
165
|
-
showBoolean ?
|
|
165
|
+
showBoolean ? React.createElement(QueryTab, { value: "BooleanExpression", type: type, label: "Boolean" }) : null,
|
|
166
166
|
showBoolean ? (React.createElement(Tabs_1.Tabs.Content, { value: 'BooleanExpression', paddingLeft: 0 },
|
|
167
167
|
React.createElement(ExpressionEditor_1.ExpressionEditor, { type: 'boolean', module: module, value: data.Rule.BooleanExpression, onChange: setBooleanExpression, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), api: api }))) : null,
|
|
168
168
|
showObservable ? (React.createElement(QueryTab, { value: "ObservableExpression", type: type, label: "Observable" })) : null,
|
|
169
169
|
showObservable ? (React.createElement(Tabs_1.Tabs.Content, { value: 'ObservableExpression', paddingLeft: 0 },
|
|
170
170
|
React.createElement(ExpressionEditor_1.ExpressionEditor, { type: 'observable', module: module, value: data.Rule.ObservableExpression, onChange: setReactiveExpression, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), api: api }))) : null,
|
|
171
|
-
showAggregation ? (React.createElement(QueryTab, { value: "
|
|
172
|
-
showAggregation ? (React.createElement(Tabs_1.Tabs.Content, { value: '
|
|
173
|
-
React.createElement(ExpressionEditor_1.ExpressionEditor, { type: '
|
|
171
|
+
showAggregation ? (React.createElement(QueryTab, { value: "AggregatedBooleanExpression", type: type, label: "AggregatedBoolean" })) : null,
|
|
172
|
+
showAggregation ? (React.createElement(Tabs_1.Tabs.Content, { value: 'AggregatedBooleanExpression', paddingLeft: 0 },
|
|
173
|
+
React.createElement(ExpressionEditor_1.ExpressionEditor, { type: 'aggregatedBoolean', module: module, value: data.Rule.AggregatedBooleanExpression, onChange: setAggregationExpression, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), api: api }))) : null)));
|
|
174
174
|
};
|
|
@@ -34,9 +34,9 @@ function ConditionalStyleRuleWizardSection(props) {
|
|
|
34
34
|
React.createElement("i", null, "Scope"),
|
|
35
35
|
" is 'Whole Row' - so any data change may be evaluated in a complex ObservableExpression")),
|
|
36
36
|
useAggregationQuery: (React.createElement(React.Fragment, null,
|
|
37
|
-
"Use an
|
|
37
|
+
"Use an AggregatedBooleanQuery if ",
|
|
38
38
|
React.createElement("i", null, "Scope"),
|
|
39
|
-
" is 'Whole Row' - so any data change may be evaluated in a complex
|
|
39
|
+
" is 'Whole Row' - so any data change may be evaluated in a complex AggregatedBooleanExpression")),
|
|
40
40
|
} })));
|
|
41
41
|
}
|
|
42
42
|
exports.ConditionalStyleRuleWizardSection = ConditionalStyleRuleWizardSection;
|
|
@@ -53,7 +53,7 @@ exports.CustomSortWizard = (props) => {
|
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
title: 'Sort Order',
|
|
56
|
-
details: 'Select values to specify Custom Sort order - use
|
|
56
|
+
details: 'Select values to specify Custom Sort order - use "Drag to reorder" checkbox to modify order',
|
|
57
57
|
isValid: CustomSortValuesWizardSection_1.isValidCustomSortOrder,
|
|
58
58
|
renderSummary: CustomSortValuesWizardSection_1.renderCustomSortValuesSummary,
|
|
59
59
|
render: () => (React.createElement(rebass_1.Box, { padding: 2, style: { height: '100%' } },
|
|
@@ -41,8 +41,8 @@ exports.FlashingAlertRulesWizardSection = (props) => {
|
|
|
41
41
|
React.createElement("i", null, "Scope"),
|
|
42
42
|
" is 'Whole Row' - so any data change may be evaluated in a complex ObservableExpression")),
|
|
43
43
|
useAggregationQuery: (React.createElement(React.Fragment, null,
|
|
44
|
-
"Use an
|
|
44
|
+
"Use an AggregatedBooleanQuery if ",
|
|
45
45
|
React.createElement("i", null, "Scope"),
|
|
46
|
-
" is 'Whole Row' - so any data change may be evaluated in a complex
|
|
46
|
+
" is 'Whole Row' - so any data change may be evaluated in a complex AggregatedBooleanExpression")),
|
|
47
47
|
} }));
|
|
48
48
|
};
|
|
@@ -65,7 +65,7 @@ exports.FlashingCellWizard = (props) => {
|
|
|
65
65
|
title: 'Scope',
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
details: 'Build the
|
|
68
|
+
details: 'Build the Rules for when Cells should Flash',
|
|
69
69
|
isValid: isValidFlashingCellRules_1.isValidFlashingCellRules,
|
|
70
70
|
render: () => React.createElement(FlashingCellRulesWizardSection_1.FlashingAlertRulesWizardSection, { onChange: setFlashingCell }),
|
|
71
71
|
renderSummary: FlashingCellRulesWizardSection_1.renderFlashingAlertRulesSummary,
|
|
@@ -113,7 +113,7 @@ function FormatColumnWizard(props) {
|
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
title: 'Style',
|
|
116
|
-
details: 'Format Column
|
|
116
|
+
details: 'Format Column Style',
|
|
117
117
|
isValid: FormatColumnStyleWizardSection_1.isFormatColumnStyleValid,
|
|
118
118
|
renderSummary: FormatColumnStyleWizardSection_1.renderFormatColumnStyleSummary,
|
|
119
119
|
render: () => {
|
|
@@ -33,14 +33,14 @@ function NamedQueryWizard(props) {
|
|
|
33
33
|
return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, onFinish: handleFinish, sections: [
|
|
34
34
|
{
|
|
35
35
|
title: 'Expression',
|
|
36
|
-
details:
|
|
36
|
+
details: "Specify the Query's Expression",
|
|
37
37
|
renderSummary: NamedQueryExpressionWizardSection_1.renderNamedQueryExpressionSummary,
|
|
38
38
|
isValid: NamedQueryExpressionWizardSection_1.isValidNamedQueryExpression,
|
|
39
39
|
render: () => React.createElement(NamedQueryExpressionWizardSection_1.NamedQueryExpressionWizardSection, { onChange: setNamedQuery }),
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
title: 'Query Name',
|
|
43
|
-
details: 'Specify a unique name for the
|
|
43
|
+
details: 'Specify a unique name for the Query',
|
|
44
44
|
renderSummary: NamedQuerySettingsWizardSection_1.renderNamedQuerySettingsSummary,
|
|
45
45
|
isValid: NamedQuerySettingsWizardSection_1.isValidNamedQuerySettings,
|
|
46
46
|
render: () => {
|
|
@@ -50,7 +50,7 @@ function NamedQueryWizard(props) {
|
|
|
50
50
|
'-',
|
|
51
51
|
{
|
|
52
52
|
title: 'Summary',
|
|
53
|
-
details: 'Review your
|
|
53
|
+
details: 'Review your Query',
|
|
54
54
|
render: () => {
|
|
55
55
|
return (React.createElement(rebass_1.Box, { padding: 2 },
|
|
56
56
|
React.createElement(OnePageAdaptableWizard_1.OnePageWizardSummary, null)));
|
package/src/agGrid/Adaptable.js
CHANGED
|
@@ -291,7 +291,7 @@ class Adaptable {
|
|
|
291
291
|
// the 'old' constructor which takes an Adaptable adaptable object
|
|
292
292
|
// this is still used internally but should not be used externally as a preference
|
|
293
293
|
async init(adaptableOptions, runtimeConfig, _staticInit) {
|
|
294
|
-
var _a, _b, _c, _d, _e, _f
|
|
294
|
+
var _a, _b, _c, _d, _e, _f;
|
|
295
295
|
if (!_staticInit) {
|
|
296
296
|
LoggingHelper_1.ConsoleLogWarning(`
|
|
297
297
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
@@ -376,7 +376,6 @@ class Adaptable {
|
|
|
376
376
|
abColDefDate: (_d = this.gridOptions.columnTypes.abColDefDate) !== null && _d !== void 0 ? _d : {},
|
|
377
377
|
abColDefObject: (_e = this.gridOptions.columnTypes.abColDefObject) !== null && _e !== void 0 ? _e : {},
|
|
378
378
|
abColDefCustom: (_f = this.gridOptions.columnTypes.abColDefCustom) !== null && _f !== void 0 ? _f : {},
|
|
379
|
-
abColDefNumberArray: (_g = this.gridOptions.columnTypes.abColDefNumberArray) !== null && _g !== void 0 ? _g : {},
|
|
380
379
|
});
|
|
381
380
|
if (this.gridOptions.columnTypes.abColDefNumber.cellEditor === undefined) {
|
|
382
381
|
this.gridOptions.columnTypes.abColDefNumber.cellEditor = AdaptableNumberEditor_1.AdaptableNumberEditor;
|
|
@@ -494,7 +494,7 @@ class agGridHelper {
|
|
|
494
494
|
dataType = Enums_1.DataType.Date;
|
|
495
495
|
}
|
|
496
496
|
else if (Array.isArray(value) && value.length && typeof value[0] === 'number') {
|
|
497
|
-
dataType = Enums_1.DataType.
|
|
497
|
+
dataType = Enums_1.DataType.Unknown;
|
|
498
498
|
}
|
|
499
499
|
else {
|
|
500
500
|
switch (typeof value) {
|
|
@@ -525,8 +525,6 @@ class agGridHelper {
|
|
|
525
525
|
switch (colType) {
|
|
526
526
|
case 'abColDefNumber':
|
|
527
527
|
return Enums_1.DataType.Number;
|
|
528
|
-
case 'abColDefNumberArray':
|
|
529
|
-
return Enums_1.DataType.NumberArray;
|
|
530
528
|
case 'abColDefString':
|
|
531
529
|
return Enums_1.DataType.String;
|
|
532
530
|
case 'abColDefBoolean':
|
|
@@ -552,8 +550,6 @@ class agGridHelper {
|
|
|
552
550
|
return 'abColDefDate';
|
|
553
551
|
case Enums_1.DataType.Number:
|
|
554
552
|
return 'abColDefNumber';
|
|
555
|
-
case Enums_1.DataType.NumberArray:
|
|
556
|
-
return 'abColDefNumberArray';
|
|
557
553
|
case Enums_1.DataType.Object:
|
|
558
554
|
return 'abColDefObject';
|
|
559
555
|
case Enums_1.DataType.String:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { AdaptableApi } from '../../Api/AdaptableApi';
|
|
3
3
|
import { AdaptableModule } from '../../PredefinedConfig/Common/Types';
|
|
4
4
|
interface EditorInputReactiveProps {
|
|
5
|
-
type: 'observable' | '
|
|
5
|
+
type: 'observable' | 'aggregatedBoolean';
|
|
6
6
|
module: AdaptableModule;
|
|
7
7
|
value: string;
|
|
8
8
|
onChange: (value: string) => void;
|
|
@@ -17,7 +17,7 @@ function EditorInputReactive(props) {
|
|
|
17
17
|
.getModuleExpressionFunctions(props.module);
|
|
18
18
|
const reactiveExpressionFns = props.type === 'observable'
|
|
19
19
|
? moduleExpressionFunctions.observableFunctions
|
|
20
|
-
: moduleExpressionFunctions.
|
|
20
|
+
: moduleExpressionFunctions.aggregatedBooleanFunctions;
|
|
21
21
|
const whereClauseExpressionsFns = Object.assign(Object.assign({}, moduleExpressionFunctions.booleanFunctions), moduleExpressionFunctions.scalarFunctions);
|
|
22
22
|
const [value, setValue] = useProperty_1.default(props, 'value', '', {
|
|
23
23
|
onChange: props.onChange,
|
|
@@ -4,7 +4,7 @@ import { NamedQuery } from '../../PredefinedConfig/QueryState';
|
|
|
4
4
|
interface ExpressionEditorProps {
|
|
5
5
|
value: string;
|
|
6
6
|
onChange: (value: string) => void;
|
|
7
|
-
type: 'boolean' | 'scalar' | 'observable' | '
|
|
7
|
+
type: 'boolean' | 'scalar' | 'observable' | 'aggregatedBoolean';
|
|
8
8
|
module: AdaptableModule;
|
|
9
9
|
initialData: {
|
|
10
10
|
[key: string]: any;
|
|
@@ -35,7 +35,7 @@ function ExpressionEditor(props) {
|
|
|
35
35
|
const { namedQuery, setNamedQuery } = NamedQueryContext_1.useNamedQueryContext();
|
|
36
36
|
const textAreaRef = react_1.useRef(null);
|
|
37
37
|
const allowSaveNamedQuery = (_a = props.allowSaveNamedQuery) !== null && _a !== void 0 ? _a : type === 'boolean';
|
|
38
|
-
const editorInput = type === 'observable' || type === '
|
|
38
|
+
const editorInput = type === 'observable' || type === 'aggregatedBoolean' ? (React.createElement(EditorInputReactive_1.default, { type: type, module: module, value: props.value, onChange: (value) => {
|
|
39
39
|
setExpressionText(value);
|
|
40
40
|
props.onChange(value);
|
|
41
41
|
}, testData: data, api: props.api })) : (
|
|
@@ -157,7 +157,7 @@ const renderQueryHints = (type) => {
|
|
|
157
157
|
description: "An Order Cost cell contains its highest value in the whole Grid within the last hour - for rows where Cust Ref is 'TRADH'",
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
if (type === '
|
|
160
|
+
if (type === 'aggregatedBoolean') {
|
|
161
161
|
examples.push({
|
|
162
162
|
code: 'SUM([PnL]) > 50000000',
|
|
163
163
|
description: "The sum of the 'PnL' column values in all rows is greater than 5 Million",
|
|
@@ -188,5 +188,5 @@ const queryDocumentationLinks = {
|
|
|
188
188
|
boolean: DocumentationLinkConstants_1.BooleanQueryDocsLink,
|
|
189
189
|
scalar: DocumentationLinkConstants_1.ScalarQueryDocsLink,
|
|
190
190
|
observable: DocumentationLinkConstants_1.ObservableQueryDocsLink,
|
|
191
|
-
|
|
191
|
+
aggregatedBoolean: DocumentationLinkConstants_1.AggregationQueryDocsLink,
|
|
192
192
|
};
|
|
@@ -3087,6 +3087,17 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
3087
3087
|
reference: string;
|
|
3088
3088
|
}[];
|
|
3089
3089
|
};
|
|
3090
|
+
SettingsPanelApi: {
|
|
3091
|
+
name: string;
|
|
3092
|
+
kind: string;
|
|
3093
|
+
description: string;
|
|
3094
|
+
properties: {
|
|
3095
|
+
name: string;
|
|
3096
|
+
kind: string;
|
|
3097
|
+
description: string;
|
|
3098
|
+
uiLabel: string;
|
|
3099
|
+
}[];
|
|
3100
|
+
};
|
|
3090
3101
|
SharedEntity: {
|
|
3091
3102
|
name: string;
|
|
3092
3103
|
kind: string;
|
|
@@ -359,6 +359,13 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
359
359
|
"uiLabel": "Scope Api",
|
|
360
360
|
"reference": "ScopeApi"
|
|
361
361
|
},
|
|
362
|
+
{
|
|
363
|
+
"name": "settingsPanelApi",
|
|
364
|
+
"kind": "REFERENCE",
|
|
365
|
+
"description": "Provides access to the Settings Panel",
|
|
366
|
+
"uiLabel": "Settings Panel Api",
|
|
367
|
+
"reference": "SettingsPanelApi"
|
|
368
|
+
},
|
|
362
369
|
{
|
|
363
370
|
"name": "shortcutApi",
|
|
364
371
|
"kind": "REFERENCE",
|
|
@@ -1032,7 +1039,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1032
1039
|
{
|
|
1033
1040
|
"name": "gridOptions",
|
|
1034
1041
|
"kind": "REFERENCE",
|
|
1035
|
-
"description": "The AG Grid object which AdapTable interacts with. Note: if using React or Angular
|
|
1042
|
+
"description": "The AG Grid object which AdapTable interacts with. Note: if using AdapTable React or AdapTable Angular, no need to populate this property as AdapTable wires it up differently",
|
|
1036
1043
|
"uiLabel": "Grid Options",
|
|
1037
1044
|
"isOptional": true,
|
|
1038
1045
|
"defaultValue": "n/a (Mandatory)",
|
|
@@ -2656,12 +2663,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2656
2663
|
"description": "Returns all Groupable Columns",
|
|
2657
2664
|
"uiLabel": "Get Groupable Columns"
|
|
2658
2665
|
},
|
|
2659
|
-
{
|
|
2660
|
-
"name": "getNumericArrayColumns",
|
|
2661
|
-
"kind": "function",
|
|
2662
|
-
"description": "Returns all numeric array Columns",
|
|
2663
|
-
"uiLabel": "Get Numeric Array Columns"
|
|
2664
|
-
},
|
|
2665
2666
|
{
|
|
2666
2667
|
"name": "getNumericColumns",
|
|
2667
2668
|
"kind": "function",
|
|
@@ -3310,7 +3311,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3310
3311
|
{
|
|
3311
3312
|
"name": "agGridContainerWaitTimeout",
|
|
3312
3313
|
"kind": "number",
|
|
3313
|
-
"description": "how long AdapTable waits for AG Grid before giving up connecting to it; useful when AG Grid is instantiated separately (eg: by React or Angular
|
|
3314
|
+
"description": "how long AdapTable waits for AG Grid before giving up connecting to it; useful when AG Grid is instantiated separately (eg: by AdapTable React or AdapTable Angular)",
|
|
3314
3315
|
"uiLabel": "Ag Grid Container Wait Timeout",
|
|
3315
3316
|
"isOptional": true,
|
|
3316
3317
|
"gridInfo": "item",
|
|
@@ -8996,7 +8997,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8996
8997
|
{
|
|
8997
8998
|
"name": "getColumnsFromExpression",
|
|
8998
8999
|
"kind": "function",
|
|
8999
|
-
"description": "Returns all Columns referenced in a
|
|
9000
|
+
"description": "Returns all Columns referenced in a QueryExpression",
|
|
9000
9001
|
"uiLabel": "Get Columns From Expression"
|
|
9001
9002
|
},
|
|
9002
9003
|
{
|
|
@@ -9012,10 +9013,10 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
9012
9013
|
"uiLabel": "Get Queryable Column Ids"
|
|
9013
9014
|
},
|
|
9014
9015
|
{
|
|
9015
|
-
"name": "
|
|
9016
|
+
"name": "isValidAggregatedBooleanExpression",
|
|
9016
9017
|
"kind": "function",
|
|
9017
|
-
"description": "Whether the given
|
|
9018
|
-
"uiLabel": "Is Valid
|
|
9018
|
+
"description": "Whether the given AggregatedBooleanExpression is valid",
|
|
9019
|
+
"uiLabel": "Is Valid Aggregated Boolean Expression"
|
|
9019
9020
|
},
|
|
9020
9021
|
{
|
|
9021
9022
|
"name": "isValidBooleanExpression",
|
|
@@ -9037,10 +9038,10 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
9037
9038
|
"description": "Options for managing Expressions using AdapTableQL",
|
|
9038
9039
|
"properties": [
|
|
9039
9040
|
{
|
|
9040
|
-
"name": "
|
|
9041
|
+
"name": "defaultAggregatedBooleanFunctions",
|
|
9041
9042
|
"kind": "REFERENCE",
|
|
9042
|
-
"description": "
|
|
9043
|
-
"uiLabel": "Default
|
|
9043
|
+
"description": "Aggregated Boolean Expression Functions available in AdapTableQL",
|
|
9044
|
+
"uiLabel": "Default Aggregated Boolean Functions",
|
|
9044
9045
|
"isOptional": true,
|
|
9045
9046
|
"gridInfo": "item",
|
|
9046
9047
|
"defaultValue": "null (sets all)",
|
|
@@ -9950,6 +9951,25 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
9950
9951
|
}
|
|
9951
9952
|
]
|
|
9952
9953
|
},
|
|
9954
|
+
"SettingsPanelApi": {
|
|
9955
|
+
"name": "SettingsPanelApi",
|
|
9956
|
+
"kind": "Interface",
|
|
9957
|
+
"description": "Provides run-time access to the Settings Panel",
|
|
9958
|
+
"properties": [
|
|
9959
|
+
{
|
|
9960
|
+
"name": "showCustomSettingsPanel",
|
|
9961
|
+
"kind": "function",
|
|
9962
|
+
"description": "Opens a the settings panel to the custom module",
|
|
9963
|
+
"uiLabel": "Show Custom Settings Panel"
|
|
9964
|
+
},
|
|
9965
|
+
{
|
|
9966
|
+
"name": "showSettingsPanel",
|
|
9967
|
+
"kind": "function",
|
|
9968
|
+
"description": "Opens settings panel to specified module, when not specified it opens the first available module",
|
|
9969
|
+
"uiLabel": "Show Settings Panel"
|
|
9970
|
+
}
|
|
9971
|
+
]
|
|
9972
|
+
},
|
|
9953
9973
|
"SharedEntity": {
|
|
9954
9974
|
"name": "SharedEntity",
|
|
9955
9975
|
"kind": "Interface",
|
|
@@ -11073,7 +11093,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
11073
11093
|
"description": "Which sections to show in the Grid Info Screen",
|
|
11074
11094
|
"uiLabel": "Grid Info Sections",
|
|
11075
11095
|
"isOptional": true,
|
|
11076
|
-
"defaultValue": "['GridSummary', 'AdaptableOptions'
|
|
11096
|
+
"defaultValue": "['GridSummary', 'AdaptableOptions', 'ColumnInfo']",
|
|
11077
11097
|
"reference": "unknown"
|
|
11078
11098
|
},
|
|
11079
11099
|
{
|
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 } from './AdaptableOptions/SearchOptions';
|
|
20
|
+
export type { SearchOptions, ServerSearchOption, ServerSearchOptions, } 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';
|
|
@@ -61,6 +61,7 @@ export type { QueryApi } from './Api/QueryApi';
|
|
|
61
61
|
export type { QueryLanguageApi } from './Api/QueryLanguageApi';
|
|
62
62
|
export type { QuickSearchApi } from './Api/QuickSearchApi';
|
|
63
63
|
export type { ScheduleApi } from './Api/ScheduleApi';
|
|
64
|
+
export type { SettingsPanelApi } from './Api/SettingsPanelApi';
|
|
64
65
|
export type { ScopeApi } from './Api/ScopeApi';
|
|
65
66
|
export type { ShortcutApi } from './Api/ShortcutApi';
|
|
66
67
|
export type { SmartEditApi } from './Api/SmartEditApi';
|
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.6";
|
|
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.6'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|