@adaptabletools/adaptable 10.0.0-canary.3 → 10.0.3
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 +77 -29
- package/index.css +89 -31
- package/package.json +1 -5
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +12 -2
- package/src/AdaptableOptions/AdaptableOptions.d.ts +1 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +14 -7
- package/src/AdaptableOptions/GeneralOptions.d.ts +0 -7
- package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
- package/src/AdaptableOptions/QueryLanguageOptions.d.ts +7 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +89 -4
- package/src/Api/AlertApi.d.ts +1 -1
- package/src/Api/ColumnApi.d.ts +33 -0
- package/src/Api/ConfigApi.d.ts +8 -0
- package/src/Api/DataChangeHistoryApi.d.ts +10 -4
- package/src/Api/GridApi.d.ts +34 -8
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -1
- package/src/Api/Implementation/AlertApiImpl.js +11 -4
- package/src/Api/Implementation/ColumnApiImpl.d.ts +7 -0
- package/src/Api/Implementation/ColumnApiImpl.js +37 -1
- package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ConfigApiImpl.js +28 -17
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +3 -0
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +2 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +9 -0
- package/src/Api/Implementation/GridApiImpl.js +17 -1
- package/src/Api/Implementation/InternalApiImpl.d.ts +2 -0
- package/src/Api/Implementation/InternalApiImpl.js +16 -0
- package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +2 -0
- package/src/Api/Implementation/QueryLanguageApiImpl.js +3 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +11 -8
- package/src/Api/Implementation/UserInterfaceApiImpl.js +57 -80
- package/src/Api/InternalApi.d.ts +2 -0
- package/src/Api/QueryLanguageApi.d.ts +5 -0
- package/src/Api/UserInterfaceApi.d.ts +14 -5
- package/src/PredefinedConfig/AlertState.d.ts +10 -0
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +4 -37
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +16 -15
- package/src/PredefinedConfig/Common/DataUpdateConfig.d.ts +5 -1
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +49 -0
- package/src/{AdaptableOptions/DataChangeTrackingOptions.js → PredefinedConfig/Common/SpecialColumnSettings.js} +0 -0
- package/src/PredefinedConfig/FilterState.d.ts +1 -1
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +10 -0
- package/src/PredefinedConfig/Selection/GridRow.d.ts +12 -4
- package/src/PredefinedConfig/SystemState.d.ts +4 -1
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +6 -6
- package/src/Redux/ActionsReducers/SystemRedux.js +11 -11
- package/src/Redux/Store/AdaptableReduxMerger.js +7 -1
- package/src/Redux/Store/AdaptableStore.js +12 -0
- package/src/Strategy/AlertModule.js +1 -1
- package/src/Strategy/DataChangeHistoryModule.js +1 -1
- package/src/Strategy/ExportModule.d.ts +0 -2
- package/src/Strategy/ExportModule.js +58 -61
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +2 -4
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +11 -5
- package/src/Utilities/Helpers/DateHelper.d.ts +8 -2
- package/src/Utilities/Helpers/DateHelper.js +42 -20
- package/src/Utilities/ObjectFactory.d.ts +1 -1
- package/src/Utilities/ObjectFactory.js +13 -1
- package/src/Utilities/Services/AlertService.d.ts +1 -0
- package/src/Utilities/Services/AlertService.js +5 -0
- package/src/Utilities/Services/DataService.d.ts +0 -4
- package/src/Utilities/Services/DataService.js +2 -18
- package/src/Utilities/Services/Interface/IAlertService.d.ts +2 -1
- package/src/Utilities/Services/Interface/IDataService.d.ts +0 -2
- package/src/Utilities/Services/Interface/ILicenseService.d.ts +2 -1
- package/src/Utilities/Services/LicenseService.d.ts +2 -2
- package/src/Utilities/Services/MetamodelService.js +1 -0
- package/src/Utilities/Services/ModuleService.js +31 -24
- package/src/Utilities/Services/ReportService.js +1 -1
- package/src/Utilities/Services/TeamSharingService.d.ts +1 -0
- package/src/Utilities/Services/TeamSharingService.js +4 -2
- package/src/Utilities/runIfNotResolvedIn.d.ts +8 -0
- package/src/Utilities/runIfNotResolvedIn.js +23 -0
- package/src/View/AdaptableView.js +1 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +19 -5
- package/src/View/BulkUpdate/BulkUpdatePopup.d.ts +2 -0
- package/src/View/BulkUpdate/BulkUpdatePopup.js +4 -2
- package/src/View/BulkUpdate/BulkUpdateViewPanel.d.ts +2 -0
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +3 -1
- package/src/View/Components/FilterForm/FilterForm.d.ts +3 -51
- package/src/View/Components/FilterForm/FilterForm.js +44 -23
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +3 -0
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +14 -5
- package/src/View/Components/FilterForm/QuickFilterForm.d.ts +3 -43
- package/src/View/Components/FilterForm/QuickFilterForm.js +64 -23
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +3 -0
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +8 -0
- package/src/View/Components/Popups/AdaptablePopup.d.ts +1 -1
- package/src/View/Components/Selectors/ColumnValueSelector.d.ts +10 -2
- package/src/View/Components/Selectors/ColumnValueSelector.js +45 -13
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +24 -6
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +42 -32
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.d.ts +5 -1
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +8 -5
- package/src/View/FreeTextColumn/FreeTextColumnPopup.js +3 -1
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +3 -1
- package/src/View/GridInfo/GridInfoPopup.js +4 -1
- package/src/View/Query/QueryViewPanel.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +6 -8
- package/src/View/UIHelper.d.ts +2 -0
- package/src/View/UIHelper.js +10 -1
- package/src/agGrid/ActionColumnRenderer.d.ts +2 -1
- package/src/agGrid/ActionColumnRenderer.js +20 -3
- package/src/agGrid/Adaptable.d.ts +20 -4
- package/src/agGrid/Adaptable.js +186 -55
- package/src/components/Dashboard/Dashboard.js +1 -1
- package/src/components/DropdownButton/index.js +1 -1
- package/src/components/ExpressionEditor/index.js +2 -1
- package/src/components/Loader/Loader.d.ts +7 -0
- package/src/components/Loader/Loader.js +13 -0
- package/src/components/Loader/index.d.ts +2 -0
- package/src/components/Loader/index.js +7 -0
- package/src/components/ProgressIndicator/ProgressIndicator.d.ts +2 -0
- package/src/components/ProgressIndicator/ProgressIndicator.js +54 -0
- package/src/metamodel/adaptable.metamodel.d.ts +74 -34
- package/src/metamodel/adaptable.metamodel.js +346 -116
- package/src/parser/src/types.d.ts +11 -11
- package/src/types.d.ts +4 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableOptions/DataChangeTrackingOptions.d.ts +0 -16
- package/src/Utilities/Interface/ProgressIndicator.d.ts +0 -4
- package/src/Utilities/Interface/ProgressIndicator.js +0 -2
- package/src/View/Export/ProgressIndicator.d.ts +0 -6
- package/src/View/Export/ProgressIndicator.js +0 -25
|
@@ -42,40 +42,40 @@ export interface ExpressionContext {
|
|
|
42
42
|
}
|
|
43
43
|
export declare type ExpressionFunctionMap = Record<string, ExpressionFunction>;
|
|
44
44
|
/**
|
|
45
|
-
* Defines
|
|
45
|
+
* Defines an AdapTableQL Function used in an Adaptable Expression
|
|
46
46
|
*/
|
|
47
47
|
export interface ExpressionFunction {
|
|
48
48
|
/**
|
|
49
|
-
* Actual
|
|
49
|
+
* Actual AdapTableQL Function called by the Expression (mandatory prop)
|
|
50
50
|
*/
|
|
51
51
|
handler: ExpressionFunctionHandler;
|
|
52
52
|
/**
|
|
53
|
-
* Removes entry from Expression Editor
|
|
53
|
+
* Removes entry from Expression Editor's Functions dropdown
|
|
54
54
|
*/
|
|
55
55
|
isHiddenFromMenu?: boolean;
|
|
56
56
|
/**
|
|
57
|
-
* Whether
|
|
57
|
+
* Whether the AdapTableQL Function returns true, if so can be used as Query
|
|
58
58
|
*/
|
|
59
59
|
isPredicate?: boolean;
|
|
60
60
|
/**
|
|
61
|
-
* What the
|
|
61
|
+
* What the AdapTableQL Function does
|
|
62
62
|
*/
|
|
63
63
|
description?: string;
|
|
64
64
|
/**
|
|
65
|
-
* How
|
|
65
|
+
* How the AdapTableQL Function should be called
|
|
66
66
|
*/
|
|
67
67
|
signatures?: string[];
|
|
68
68
|
/**
|
|
69
|
-
* Examples that use the
|
|
69
|
+
* Examples that use the AdapTableQL Function
|
|
70
70
|
*/
|
|
71
71
|
examples?: string[];
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Whether Expression is evaluated eagerly (without handling inner AST nodes)
|
|
74
74
|
*/
|
|
75
75
|
hasEagerEvaluation?: boolean;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
|
-
* Defines how an
|
|
78
|
+
* Defines how an AdapTableQL Function is described in Expression Editor
|
|
79
79
|
*/
|
|
80
80
|
export declare type ExpressionFunctionDocBlock = {
|
|
81
81
|
type: 'code';
|
|
@@ -85,7 +85,7 @@ export declare type ExpressionFunctionDocBlock = {
|
|
|
85
85
|
content: string;
|
|
86
86
|
};
|
|
87
87
|
/**
|
|
88
|
-
* The javascript function
|
|
88
|
+
* The javascript function which is invoked by an AdapTableQL Function
|
|
89
89
|
*/
|
|
90
90
|
export declare type ExpressionFunctionHandler = (
|
|
91
91
|
/**
|
|
@@ -93,6 +93,6 @@ export declare type ExpressionFunctionHandler = (
|
|
|
93
93
|
*/
|
|
94
94
|
args: any[],
|
|
95
95
|
/**
|
|
96
|
-
* Context
|
|
96
|
+
* Context Object - including current RowNode and AdaptableAPI
|
|
97
97
|
*/
|
|
98
98
|
context: ExpressionContext) => any;
|
package/src/types.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export type { OpenFinPluginOptions } from './AdaptableOptions/OpenFinPluginOptio
|
|
|
15
15
|
export type { ChartPluginOptions } from './AdaptableOptions/ChartPluginOptions';
|
|
16
16
|
export type { FinancePluginOptions, WeightedAverageColumn, InstrumentColumn, } from './AdaptableOptions/FinancePluginOptions';
|
|
17
17
|
export type { DateInputOptions } from './AdaptableOptions/DateInputOptions';
|
|
18
|
-
export type { DataChangeTrackingOptions } from './AdaptableOptions/DataChangeTrackingOptions';
|
|
19
18
|
export type { FilterOptions } from './AdaptableOptions/FilterOptions';
|
|
20
19
|
export type { SearchOptions } from './AdaptableOptions/SearchOptions';
|
|
21
20
|
export type { AdaptablePersistStateFunction, AdaptableStateFunctionConfig, AdaptableLoadStateFunction, StateOptions, } from './AdaptableOptions/StateOptions';
|
|
@@ -24,7 +23,7 @@ export type { FilterActionOnDataChange } from './PredefinedConfig/Common/FilterA
|
|
|
24
23
|
export type { ConfigState } from './PredefinedConfig/ConfigState';
|
|
25
24
|
export type { TeamSharingOptions } from './AdaptableOptions/TeamSharingOptions';
|
|
26
25
|
export type { ToolPanelOptions, CustomToolPanel, ToolPanelButtonContext, CustomToolPanelButtonContext, } from './AdaptableOptions/ToolPanelOptions';
|
|
27
|
-
export type { UserInterfaceOptions, CellValuesList, ActionColumnButtonContext, ActionColumn, } from './AdaptableOptions/UserInterfaceOptions';
|
|
26
|
+
export type { UserInterfaceOptions, CellValuesList, ActionColumnButtonContext, ActionColumn, ActionColumnSettings, } from './AdaptableOptions/UserInterfaceOptions';
|
|
28
27
|
export type { MenuOptions } from './AdaptableOptions/MenuOptions';
|
|
29
28
|
export type { EntitlementOptions } from './AdaptableOptions/EntitlementOptions';
|
|
30
29
|
export type { QueryLanguageOptions, ModuleExpressionFunctions, } from './AdaptableOptions/QueryLanguageOptions';
|
|
@@ -42,6 +41,7 @@ export type { ConfigApi } from './Api/ConfigApi';
|
|
|
42
41
|
export type { CustomSortApi } from './Api/CustomSortApi';
|
|
43
42
|
export type { DashboardApi } from './Api/DashboardApi';
|
|
44
43
|
export type { DataSourceApi } from './Api/DataSourceApi';
|
|
44
|
+
export type { DataChangeHistoryApi } from './Api/DataChangeHistoryApi';
|
|
45
45
|
export type { ExportApi } from './Api/ExportApi';
|
|
46
46
|
export type { FilterApi } from './Api/FilterApi';
|
|
47
47
|
export type { FinanceApi } from './Api/FinanceApi';
|
|
@@ -68,7 +68,6 @@ export type { TeamSharingApi } from './Api/TeamSharingApi';
|
|
|
68
68
|
export type { ThemeApi } from './Api/ThemeApi';
|
|
69
69
|
export type { ToolPanelApi } from './Api/ToolPanelApi';
|
|
70
70
|
export type { UserInterfaceApi } from './Api/UserInterfaceApi';
|
|
71
|
-
export type { DataChangeHistoryApi } from './Api/DataChangeHistoryApi';
|
|
72
71
|
export type { EventApi } from './Api/EventApi';
|
|
73
72
|
export type { AdaptableReadyInfo } from './Api/Events/AdaptableReady';
|
|
74
73
|
export type { AlertFiredInfo } from './Api/Events/AlertFired';
|
|
@@ -89,6 +88,7 @@ export type { AdaptableStateChangedInfo } from './Api/Events/AdaptableStateChang
|
|
|
89
88
|
export type { AdaptableState } from './PredefinedConfig/AdaptableState';
|
|
90
89
|
export type { BaseAlertDefinition, AlertDefinition, FlashingAlertDefinition, FlashingAlertProperties, AlertProperties, AlertState, AlertButtonForm, AlertButton, AdaptableAlertAction, AlertDefinitionPredicate, } from './PredefinedConfig/AlertState';
|
|
91
90
|
export type { ApplicationDataEntry, ApplicationState } from './PredefinedConfig/ApplicationState';
|
|
91
|
+
export type { SpecialColumnSettings } from './PredefinedConfig/Common/SpecialColumnSettings';
|
|
92
92
|
export type { CalculatedColumn, CalculatedColumnSettings, CalculatedColumnState, } from './PredefinedConfig/CalculatedColumnState';
|
|
93
93
|
export type { CellSummmary, CellSummaryOperation, CellSummaryOperationParams, } from './PredefinedConfig/Common/CellSummary';
|
|
94
94
|
export type { CategoryChartDefinition, CategoryChartProperties, ChartDefinition, ChartProperties, ChartState, FinancialChartDataItem, FinancialChartDataSource, FinancialChartDefinition, PieChartDataItem, PieChartDefinition, PieChartProperties, SparklineChartProperties, SparklinesChartDefinition, } from './PredefinedConfig/ChartState';
|
|
@@ -124,7 +124,7 @@ export type { DataSource, DataSourceState } from './PredefinedConfig/DataSourceS
|
|
|
124
124
|
export type { ExportState, Report, ReportData, ReportSchedule, SystemReportName, SystemReportNames, } from './PredefinedConfig/ExportState';
|
|
125
125
|
export type { ColumnFilter, ColumnFilterPredicate, FilterPredicateHandler, FilterPredicateInput, FilterPredicateParams, FilterState, } from './PredefinedConfig/FilterState';
|
|
126
126
|
export type { FormatColumn, ColumnStyle, PercentBarStyle, GradientStyle, CellColorRange, ColumnComparison, CellTextOptions, CellTextOption, FormatColumnState, } from './PredefinedConfig/FormatColumnState';
|
|
127
|
-
export type { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue, } from './PredefinedConfig/FreeTextColumnState';
|
|
127
|
+
export type { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue, FreeTextColumnSettings, } from './PredefinedConfig/FreeTextColumnState';
|
|
128
128
|
export type { Glue42Report, Glue42Schedule, Glue42State } from './PredefinedConfig/Glue42State';
|
|
129
129
|
export type { IPushPullDomain, IPushPullReport, IPushPullSchedule, IPushPullState, } from './PredefinedConfig/IPushPullState';
|
|
130
130
|
export type { Layout, LayoutState } from './PredefinedConfig/LayoutState';
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "10.0.
|
|
1
|
+
declare const _default: "10.0.3";
|
|
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 = '10.0.
|
|
3
|
+
exports.default = '10.0.3'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Options for tracking the data changes which are consumed in reactive expressions (Observable or Aggregation)
|
|
3
|
-
*/
|
|
4
|
-
export interface DataChangeTrackingOptions {
|
|
5
|
-
/**
|
|
6
|
-
* Whether Data Changes are tracked 'Always', 'WhenRequired' or 'Never'
|
|
7
|
-
* @defaultValue WhenRequired
|
|
8
|
-
*/
|
|
9
|
-
dataChangeTrackingType: 'Always' | 'WhenRequired' | 'Never';
|
|
10
|
-
/**
|
|
11
|
-
* Maximum time (in milliseconds) to hold a Data Change Tracking Info (value is capped at 86400000 ~ 24 hours)
|
|
12
|
-
*
|
|
13
|
-
* @defaultValue 28800000 (~ 8 hours)
|
|
14
|
-
*/
|
|
15
|
-
maxTimeframeSize?: number;
|
|
16
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ProgressIndicatorComponentProps {
|
|
3
|
-
active: boolean;
|
|
4
|
-
label: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const ProgressIndicator: import("react-redux").ConnectedComponent<(props: ProgressIndicatorComponentProps) => JSX.Element, Pick<ProgressIndicatorComponentProps, never>>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProgressIndicator = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const react_redux_1 = require("react-redux");
|
|
7
|
-
const rebass_1 = require("rebass");
|
|
8
|
-
const react_1 = require("react");
|
|
9
|
-
const ProgressIndicatorComponent = (props) => {
|
|
10
|
-
const { active, label } = props;
|
|
11
|
-
const [visible, setVisible] = react_1.useState(false);
|
|
12
|
-
react_1.useEffect(() => {
|
|
13
|
-
// without rAF the progress indicator would would be rendered immediately, without the delay
|
|
14
|
-
requestAnimationFrame(() => setVisible(active));
|
|
15
|
-
}, [active]);
|
|
16
|
-
return (React.createElement(React.Fragment, null, active && (React.createElement("div", { className: `ab-progress-indicator-wrapper ${visible ? 'ab-progress-indicator-wrapper--visible' : ''}` },
|
|
17
|
-
React.createElement(rebass_1.Text, { className: "ab-progress-indicator-text" }, label)))));
|
|
18
|
-
};
|
|
19
|
-
function mapStateToProps(state) {
|
|
20
|
-
return {
|
|
21
|
-
active: state.System.ProgressIndicator.active,
|
|
22
|
-
label: state.System.ProgressIndicator.label,
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
exports.ProgressIndicator = react_redux_1.connect(mapStateToProps)(ProgressIndicatorComponent);
|