@adaptabletools/adaptable 12.1.8-canary.0 → 12.2.0-canary.1
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 +116 -22
- package/bundle.cjs.js +108 -108
- package/index.css +132 -23
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +44 -10
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +5 -11
- package/src/AdaptableOptions/GeneralOptions.d.ts +19 -1
- package/src/AdaptableOptions/StateOptions.d.ts +1 -1
- package/src/Api/Implementation/AlertApiImpl.js +1 -2
- package/src/Api/Implementation/CellSummaryApiImpl.d.ts +5 -0
- package/src/Api/Implementation/CellSummaryApiImpl.js +23 -1
- package/src/Api/Implementation/InternalApiImpl.d.ts +3 -1
- package/src/Api/Implementation/InternalApiImpl.js +34 -0
- package/src/Api/Implementation/LayoutApiImpl.js +2 -2
- package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +1 -0
- package/src/Api/Implementation/QueryLanguageApiImpl.js +5 -0
- package/src/Api/InternalApi.d.ts +6 -1
- package/src/Api/QueryLanguageApi.d.ts +5 -0
- package/src/Strategy/BulkUpdateModule.d.ts +1 -1
- package/src/Strategy/CalculatedColumnModule.js +1 -1
- package/src/Strategy/QueryModule.js +1 -1
- package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +0 -13
- package/src/Strategy/Utilities/getExpressionViewItems.d.ts +3 -4
- package/src/Strategy/Utilities/getExpressionViewItems.js +3 -3
- package/src/Strategy/Utilities/getRuleViewItems.js +1 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +2 -0
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +2 -0
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +14 -0
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +2 -0
- package/src/Utilities/Services/QueryLanguageService.d.ts +2 -1
- package/src/Utilities/Services/QueryLanguageService.js +45 -19
- package/src/Utilities/Services/ReportService.js +1 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +10 -10
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +3 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +9 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +13 -15
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +2 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts +7 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +280 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/index.d.ts +1 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/index.js +5 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +4 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +2 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +3 -3
- package/src/View/AdaptableWizardView/Wizard.js +2 -2
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +0 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -8
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +6 -5
- package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
- package/src/View/Components/AdaptableObjectCollection/index.d.ts +3 -4
- package/src/View/Components/AdaptableObjectCollection/index.js +7 -8
- package/src/View/Components/AdaptableObjectRow/index.js +1 -4
- package/src/View/Components/EntityRulesEditor/index.js +3 -3
- package/src/View/Components/FilterForm/QuickFilterForm.js +9 -1
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +1 -0
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
- package/src/View/Components/ValueSelector/index.js +8 -19
- package/src/View/CustomSort/CustomSortSummary.js +1 -1
- package/src/View/Dashboard/DashboardPopup.js +11 -10
- package/src/View/Export/ExportViewPanel.js +2 -2
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +4 -3
- package/src/View/Filter/FilterViewPanel.js +3 -2
- package/src/View/GridInfo/AdaptableObjectsSummary.js +5 -3
- package/src/View/GridInfo/AdaptableOptionsComponent.js +1 -1
- package/src/View/GridInfo/GridInfoPopup.js +6 -7
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +3 -4
- package/src/View/StateManagement/StateManagementPopup.js +18 -19
- package/src/agGrid/Adaptable.d.ts +2 -0
- package/src/agGrid/Adaptable.js +78 -30
- package/src/agGrid/weightedAverage.d.ts +2 -0
- package/src/agGrid/weightedAverage.js +52 -1
- package/src/bundle-dependencies/bundles/react-toastify/index.js +1 -1
- package/src/components/DragAndDropContext/ModuleManager.js +3 -4
- package/src/components/DragAndDropContext/TabList.js +9 -30
- package/src/components/DragAndDropContext/UnusedPanel.js +1 -7
- package/src/components/DropdownButton/index.js +2 -2
- package/src/components/EmptyContent/index.js +2 -2
- package/src/components/ExpressionEditor/BaseEditorInput.js +1 -0
- package/src/components/ExpressionEditor/index.js +24 -14
- package/src/metamodel/adaptable.metamodel.d.ts +34 -10
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/types.d.ts +14 -10
- package/src/types.d.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -20,11 +20,11 @@ export interface ExpressionContext extends BaseContext {
|
|
|
20
20
|
*/
|
|
21
21
|
node: any;
|
|
22
22
|
/**
|
|
23
|
-
* All Expression Functions available to
|
|
23
|
+
* All Expression Functions available to AdaptableQL
|
|
24
24
|
*/
|
|
25
25
|
functions: ExpressionFunctionMap;
|
|
26
26
|
/**
|
|
27
|
-
* Expression Functions available to
|
|
27
|
+
* Expression Functions available to AdaptableQL in (optional) WHERE clause
|
|
28
28
|
*/
|
|
29
29
|
whereClauseFunctions?: ExpressionFunctionMap;
|
|
30
30
|
/**
|
|
@@ -35,14 +35,18 @@ export interface ExpressionContext extends BaseContext {
|
|
|
35
35
|
* All Named Query evaluations: tracked in order to detect circular dependencies
|
|
36
36
|
*/
|
|
37
37
|
namedQueryCallStack?: string[];
|
|
38
|
+
/**
|
|
39
|
+
* Evaluate custom variables
|
|
40
|
+
*/
|
|
41
|
+
evaluateCustomQueryVariable: (functionName: string, args?: any[]) => any;
|
|
38
42
|
}
|
|
39
43
|
export declare type ExpressionFunctionMap = Record<string, ExpressionFunction>;
|
|
40
44
|
/**
|
|
41
|
-
* Defines an
|
|
45
|
+
* Defines an AdaptableQL Function used in an Adaptable Expression
|
|
42
46
|
*/
|
|
43
47
|
export interface ExpressionFunction {
|
|
44
48
|
/**
|
|
45
|
-
* Actual
|
|
49
|
+
* Actual AdaptableQL Function called by the Expression (mandatory prop)
|
|
46
50
|
*/
|
|
47
51
|
handler: ExpressionFunctionHandler;
|
|
48
52
|
/**
|
|
@@ -50,19 +54,19 @@ export interface ExpressionFunction {
|
|
|
50
54
|
*/
|
|
51
55
|
isHiddenFromMenu?: boolean;
|
|
52
56
|
/**
|
|
53
|
-
* Whether the
|
|
57
|
+
* Whether the AdaptableQL Function returns true, if so can be used as Query
|
|
54
58
|
*/
|
|
55
59
|
isPredicate?: boolean;
|
|
56
60
|
/**
|
|
57
|
-
* What the
|
|
61
|
+
* What the AdaptableQL Function does
|
|
58
62
|
*/
|
|
59
63
|
description?: string;
|
|
60
64
|
/**
|
|
61
|
-
* How the
|
|
65
|
+
* How the AdaptableQL Function should be called
|
|
62
66
|
*/
|
|
63
67
|
signatures?: string[];
|
|
64
68
|
/**
|
|
65
|
-
* Examples that use the
|
|
69
|
+
* Examples that use the AdaptableQL Function
|
|
66
70
|
*/
|
|
67
71
|
examples?: string[];
|
|
68
72
|
/**
|
|
@@ -71,7 +75,7 @@ export interface ExpressionFunction {
|
|
|
71
75
|
hasEagerEvaluation?: boolean;
|
|
72
76
|
}
|
|
73
77
|
/**
|
|
74
|
-
* Defines how an
|
|
78
|
+
* Defines how an AdaptableQL Function is described in Expression Editor
|
|
75
79
|
*/
|
|
76
80
|
export declare type ExpressionFunctionDocBlock = {
|
|
77
81
|
type: 'code';
|
|
@@ -81,7 +85,7 @@ export declare type ExpressionFunctionDocBlock = {
|
|
|
81
85
|
content: string;
|
|
82
86
|
};
|
|
83
87
|
/**
|
|
84
|
-
* The javascript function which is invoked by an
|
|
88
|
+
* The javascript function which is invoked by an AdaptableQL Function
|
|
85
89
|
*/
|
|
86
90
|
export declare type ExpressionFunctionHandler = (
|
|
87
91
|
/**
|
package/src/types.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export type { DashboardOptions, CustomToolbar, DashboardButtonContext, CustomToo
|
|
|
15
15
|
export type { EditOptions, ValidationResult, SmartEditCustomOperation, SmartEditOperation, SmartEditOperationContext, } from './AdaptableOptions/EditOptions';
|
|
16
16
|
export type { ActionRowFormOptions, ActionRowParamContext, FormFieldLabelContext, CreateActionRowContext, EditActionRowContext, ActionColumnContext, ActionColumn, ActionColumnSettings, ActionOptions, ActionRowContext, } from './AdaptableOptions/ActionOptions';
|
|
17
17
|
export type { ExportOptions, SystemExportDestination, SystemExportDestinations, CustomDestination, CustomReport, DataFormatType, ExportFormContext, ReportContext, } from './AdaptableOptions/ExportOptions';
|
|
18
|
-
export type { GeneralOptions, ColumnValuesComparer, DataSet, DataSetFormContext, } from './AdaptableOptions/GeneralOptions';
|
|
18
|
+
export type { GeneralOptions, ColumnValuesComparer, DataSet, DataSetFormContext, UnbalancedGroupsKeyContext, } from './AdaptableOptions/GeneralOptions';
|
|
19
19
|
export type { Glue42PluginOptions } from './AdaptableOptions/Glue42PluginOptions';
|
|
20
20
|
export type { IPushPullPluginOptions } from './AdaptableOptions/IPushPullPluginOptions';
|
|
21
21
|
export type { LayoutOptions, LayoutViewOptions, LayoutTagOptions, LayoutAvailableContext, AutoGenerateTagsForLayoutsContext, LayoutAssociatedObject, } from './AdaptableOptions/LayoutOptions';
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "12.
|
|
1
|
+
declare const _default: "12.2.0-canary.1";
|
|
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 = '12.
|
|
3
|
+
exports.default = '12.2.0-canary.1'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|