@adaptabletools/adaptable 15.4.3 → 16.0.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 +1 -1
- package/base.css.map +1 -1
- package/bundle.cjs.js +234 -228
- package/index.css +1 -1
- package/index.css.map +1 -1
- package/package.json +2 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +8 -2
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +82 -0
- package/src/AdaptableOptions/{ActionOptions.d.ts → ActionRowOptions.d.ts} +15 -90
- package/src/AdaptableOptions/AdaptableOptions.d.ts +32 -12
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -12
- package/src/AdaptableOptions/AlertOptions.d.ts +9 -0
- package/src/AdaptableOptions/CalendarOptions.d.ts +11 -0
- package/src/AdaptableOptions/CellSummaryOptions.d.ts +10 -0
- package/src/AdaptableOptions/ColumnOptions.d.ts +0 -4
- package/src/AdaptableOptions/CustomSortOptions.d.ts +24 -0
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +5 -1
- package/src/AdaptableOptions/DataSetOptions.d.ts +41 -0
- package/src/AdaptableOptions/DataSetOptions.js +2 -0
- package/src/AdaptableOptions/EditOptions.d.ts +4 -4
- package/src/AdaptableOptions/EntitlementOptions.d.ts +0 -16
- package/src/AdaptableOptions/ExportOptions.d.ts +2 -4
- package/src/AdaptableOptions/ExpressionOptions.d.ts +7 -0
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +1 -1
- package/src/AdaptableOptions/GroupingOptions.d.ts +50 -0
- package/src/AdaptableOptions/GroupingOptions.js +2 -0
- package/src/AdaptableOptions/MasterDetailPluginOptions.d.ts +9 -0
- package/src/AdaptableOptions/PredicateOptions.d.ts +4 -0
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +0 -8
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +30 -1
- package/src/Api/ActionColumnApi.d.ts +10 -0
- package/src/Api/ActionColumnApi.js +2 -0
- package/src/Api/{ActionApi.d.ts → ActionRowApi.d.ts} +4 -15
- package/src/Api/ActionRowApi.js +2 -0
- package/src/Api/AdaptableApi.d.ts +11 -6
- package/src/Api/AlertApi.d.ts +2 -111
- package/src/Api/BulkUpdateApi.d.ts +0 -7
- package/src/Api/CalculatedColumnApi.d.ts +0 -31
- package/src/Api/CalendarApi.d.ts +1 -1
- package/src/Api/CellSummaryApi.d.ts +0 -7
- package/src/Api/ChartingApi.d.ts +0 -7
- package/src/Api/ColumnApi.d.ts +1 -131
- package/src/Api/ConfigApi.d.ts +1 -7
- package/src/Api/CustomSortApi.d.ts +0 -25
- package/src/Api/DashboardApi.d.ts +0 -16
- package/src/Api/DataChangeHistoryApi.d.ts +0 -7
- package/src/Api/DataSetApi.d.ts +1 -16
- package/src/Api/EventApi.d.ts +1 -9
- package/src/Api/Events/AdaptableStateChanged.d.ts +0 -8
- package/src/Api/Events/AdaptableStateReloaded.d.ts +0 -4
- package/src/Api/Events/BaseEventInfo.d.ts +9 -1
- package/src/Api/Events/LiveDataChanged.d.ts +3 -7
- package/src/Api/ExportApi.d.ts +7 -31
- package/src/Api/{QueryLanguageApi.d.ts → ExpressionApi.d.ts} +2 -2
- package/src/Api/ExpressionApi.js +2 -0
- package/src/Api/FilterApi.d.ts +1 -59
- package/src/Api/FlashingCellApi.d.ts +0 -15
- package/src/Api/FormatColumnApi.d.ts +1 -91
- package/src/Api/FreeTextColumnApi.d.ts +0 -39
- package/src/Api/GridApi.d.ts +0 -31
- package/src/Api/Implementation/ActionColumnApiImpl.d.ts +7 -0
- package/src/Api/Implementation/ActionColumnApiImpl.js +14 -0
- package/src/Api/Implementation/ActionRowApiImpl.d.ts +12 -0
- package/src/Api/Implementation/{ActionApiImpl.js → ActionRowApiImpl.js} +8 -15
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -4
- package/src/Api/Implementation/AdaptableApiImpl.js +7 -5
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -43
- package/src/Api/Implementation/AlertApiImpl.js +4 -94
- package/src/Api/Implementation/ApiBase.d.ts +15 -5
- package/src/Api/Implementation/ApiBase.js +26 -8
- package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +0 -7
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +0 -32
- package/src/Api/Implementation/CalendarApiImpl.d.ts +1 -0
- package/src/Api/Implementation/CalendarApiImpl.js +20 -17
- package/src/Api/Implementation/CellSummaryApiImpl.d.ts +0 -1
- package/src/Api/Implementation/CellSummaryApiImpl.js +3 -6
- package/src/Api/Implementation/ChartingApiImpl.d.ts +0 -1
- package/src/Api/Implementation/ChartingApiImpl.js +0 -5
- package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -35
- package/src/Api/Implementation/ColumnApiImpl.js +1 -138
- package/src/Api/Implementation/ConfigApiImpl.js +2 -1
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -5
- package/src/Api/Implementation/CustomSortApiImpl.js +0 -16
- package/src/Api/Implementation/DashboardApiImpl.d.ts +0 -4
- package/src/Api/Implementation/DashboardApiImpl.js +2 -24
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +0 -1
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +0 -5
- package/src/Api/Implementation/DataSetApiImpl.d.ts +1 -4
- package/src/Api/Implementation/DataSetApiImpl.js +1 -14
- package/src/Api/Implementation/ExportApiImpl.d.ts +4 -10
- package/src/Api/Implementation/ExportApiImpl.js +15 -34
- package/src/Api/Implementation/{QueryLanguageApiImpl.d.ts → ExpressionApiImpl.d.ts} +4 -4
- package/src/Api/Implementation/{QueryLanguageApiImpl.js → ExpressionApiImpl.js} +7 -5
- package/src/Api/Implementation/FilterApiImpl.d.ts +1 -17
- package/src/Api/Implementation/FilterApiImpl.js +0 -53
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +0 -3
- package/src/Api/Implementation/FlashingCellApiImpl.js +2 -13
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +2 -34
- package/src/Api/Implementation/FormatColumnApiImpl.js +0 -73
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +0 -8
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +0 -29
- package/src/Api/Implementation/GridApiImpl.d.ts +0 -7
- package/src/Api/Implementation/GridApiImpl.js +3 -32
- package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -6
- package/src/Api/Implementation/LayoutApiImpl.js +2 -27
- package/src/Api/Implementation/OptionsApiImpl.d.ts +10 -5
- package/src/Api/Implementation/OptionsApiImpl.js +19 -7
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +0 -1
- package/src/Api/Implementation/PlusMinusApiImpl.js +0 -5
- package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -8
- package/src/Api/Implementation/PredicateApiImpl.js +2 -30
- package/src/Api/Implementation/QueryApiImpl.d.ts +0 -5
- package/src/Api/Implementation/QueryApiImpl.js +0 -21
- package/src/Api/Implementation/QuickSearchApiImpl.d.ts +0 -1
- package/src/Api/Implementation/QuickSearchApiImpl.js +0 -5
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -18
- package/src/Api/Implementation/ScheduleApiImpl.js +0 -69
- package/src/Api/Implementation/ScopeApiImpl.js +1 -1
- package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +0 -2
- package/src/Api/Implementation/SettingsPanelApiImpl.js +0 -9
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -6
- package/src/Api/Implementation/ShortcutApiImpl.js +0 -21
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +0 -1
- package/src/Api/Implementation/SmartEditApiImpl.js +0 -5
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -5
- package/src/Api/Implementation/StyledColumnApiImpl.js +2 -17
- package/src/Api/Implementation/SystemStatusApiImpl.d.ts +0 -2
- package/src/Api/Implementation/SystemStatusApiImpl.js +0 -9
- package/src/Api/Implementation/TeamSharingApiImpl.d.ts +0 -5
- package/src/Api/Implementation/TeamSharingApiImpl.js +0 -21
- package/src/Api/Implementation/ThemeApiImpl.d.ts +0 -4
- package/src/Api/Implementation/ThemeApiImpl.js +2 -17
- package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +4 -2
- package/src/Api/Implementation/UserInterfaceApiImpl.js +17 -10
- package/src/Api/Internal/{ActionInternalApi.d.ts → ActionRowInternalApi.d.ts} +2 -2
- package/src/Api/Internal/{ActionInternalApi.js → ActionRowInternalApi.js} +12 -5
- package/src/Api/Internal/AdaptableInternalApi.d.ts +1 -10
- package/src/Api/Internal/AdaptableInternalApi.js +9 -20
- package/src/Api/Internal/AlertInternalApi.js +9 -6
- package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -2
- package/src/Api/Internal/CustomSortInternalApi.d.ts +1 -1
- package/src/Api/Internal/CustomSortInternalApi.js +1 -1
- package/src/Api/Internal/DashboardInternalApi.js +2 -0
- package/src/Api/Internal/DataSetInternalApi.d.ts +1 -1
- package/src/Api/Internal/DataSetInternalApi.js +2 -1
- package/src/Api/Internal/ExportInternalApi.js +1 -1
- package/src/Api/Internal/{QueryLanguageInternalApi.d.ts → ExpressionnternalApi.d.ts} +1 -1
- package/src/Api/Internal/{QueryLanguageInternalApi.js → ExpressionnternalApi.js} +9 -5
- package/src/Api/Internal/FilterInternalApi.js +4 -1
- package/src/Api/Internal/FormatColumnInternalApi.js +1 -1
- package/src/Api/Internal/GridInternalApi.js +8 -0
- package/src/Api/Internal/LayoutInternalApi.js +6 -1
- package/src/Api/Internal/PredicateInternalApi.js +10 -0
- package/src/Api/Internal/QueryInternalApi.js +3 -1
- package/src/Api/Internal/SystemStatusInternalApi.js +4 -1
- package/src/Api/Internal/TeamSharingInternalApi.js +2 -0
- package/src/Api/LayoutApi.d.ts +3 -27
- package/src/Api/OptionsApi.d.ts +28 -10
- package/src/Api/PlusMinusApi.d.ts +0 -7
- package/src/Api/PredicateApi.d.ts +1 -32
- package/src/Api/QueryApi.d.ts +0 -23
- package/src/Api/QuickSearchApi.d.ts +0 -4
- package/src/Api/ScheduleApi.d.ts +0 -81
- package/src/Api/SettingsPanelApi.d.ts +0 -11
- package/src/Api/ShortcutApi.d.ts +0 -25
- package/src/Api/SmartEditApi.d.ts +0 -7
- package/src/Api/StyledColumnApi.d.ts +0 -21
- package/src/Api/SystemStatusApi.d.ts +0 -11
- package/src/Api/TeamSharingApi.d.ts +0 -23
- package/src/Api/ThemeApi.d.ts +0 -19
- package/src/Api/UserInterfaceApi.d.ts +4 -9
- package/src/PredefinedConfig/AlertState.d.ts +4 -1
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +3 -3
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +4 -1
- package/src/PredefinedConfig/Common/AggregationColumns.d.ts +3 -0
- package/src/PredefinedConfig/Common/BaseContext.d.ts +8 -0
- package/src/PredefinedConfig/Common/CellSummary.d.ts +1 -0
- package/src/PredefinedConfig/Common/DataChangedScope.d.ts +9 -0
- package/src/PredefinedConfig/Common/Entitlement.d.ts +1 -1
- package/src/PredefinedConfig/Common/Enums.d.ts +2 -1
- package/src/PredefinedConfig/Common/Enums.js +1 -0
- package/src/PredefinedConfig/LayoutState.d.ts +0 -6
- package/src/PredefinedConfig/SystemState.d.ts +1 -1
- package/src/PredefinedConfig/TeamSharingState.d.ts +1 -1
- package/src/PredefinedConfig/ThemeState.d.ts +3 -0
- package/src/Strategy/AdaptableModuleBase.js +3 -3
- package/src/Strategy/AlertModule.js +3 -3
- package/src/Strategy/CalculatedColumnModule.js +2 -2
- package/src/Strategy/CellSummaryModule.js +3 -0
- package/src/Strategy/DataSetModule.d.ts +1 -1
- package/src/Strategy/DataSetModule.js +1 -1
- package/src/Strategy/ExportModule.js +4 -0
- package/src/Strategy/FlashingCellModule.js +4 -4
- package/src/Strategy/FormatColumnModule.js +3 -3
- package/src/Strategy/QueryModule.js +1 -1
- package/src/Strategy/SmartEditModule.js +2 -0
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +25 -23
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +4 -0
- package/src/Utilities/Helpers/AdaptableHelper.js +12 -6
- package/src/Utilities/Helpers/FormatHelper.js +7 -0
- package/src/Utilities/ObjectFactory.d.ts +2 -2
- package/src/Utilities/ObjectFactory.js +7 -4
- package/src/Utilities/Services/AlertService.js +1 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -2
- package/src/Utilities/Services/ChartingService.js +2 -0
- package/src/Utilities/Services/EntitlementService.js +2 -2
- package/src/Utilities/Services/MetamodelService.js +4 -0
- package/src/Utilities/Services/ModuleService.js +10 -10
- package/src/Utilities/Services/QueryLanguageService.js +16 -0
- package/src/Utilities/Services/ReportService.js +8 -6
- package/src/Utilities/Services/RowEditService.js +4 -2
- package/src/Utilities/Services/ValidationService.js +2 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +5 -5
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +9 -9
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +3 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +4 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +3 -3
- package/src/View/AdaptableWizardView/Wizard.js +2 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
- package/src/View/CellSummary/CellSummaryStatusPanel.js +1 -1
- package/src/View/Components/AdaptableIconSelector/index.d.ts +6 -0
- package/src/View/Components/AdaptableIconSelector/index.js +18 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +2 -2
- package/src/View/Components/AdaptableViewIcon/index.d.ts +10 -0
- package/src/View/Components/AdaptableViewIcon/index.js +18 -0
- package/src/View/Components/EntityRulesEditor/Utilities.js +3 -3
- package/src/View/Components/ExternalRenderer.js +14 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +4 -0
- package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -0
- package/src/View/Components/RangesComponent.d.ts +4 -4
- package/src/View/Components/RangesComponent.js +13 -22
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +2 -0
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +11 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +1 -1
- package/src/View/Dashboard/CustomDashboardButton.js +2 -0
- package/src/View/Dashboard/CustomToolbarWrapper.js +13 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +11 -7
- package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +2 -2
- package/src/View/DataChangeHistory/buildActionColumnButton.js +3 -2
- package/src/View/Export/ExportViewPanel.d.ts +1 -1
- package/src/View/Export/ExportViewPanel.js +4 -4
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +3 -1
- package/src/View/GridInfo/GridInfoPopup.d.ts +0 -1
- package/src/View/GridInfo/GridInfoPopup.js +1 -2
- package/src/View/GridInfo/GridOptionsComponent.js +1 -1
- package/src/View/Layout/LayoutViewPanel.js +1 -1
- package/src/View/Layout/PivotDetailsPopoup.js +2 -0
- package/src/View/Layout/SaveLayoutButton.js +1 -1
- package/src/View/Layout/Wizard/LayoutWizard.js +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +1 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +8 -1
- package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
- package/src/agGrid/ActionColumnRenderer.js +5 -1
- package/src/agGrid/Adaptable.d.ts +21 -10
- package/src/agGrid/Adaptable.js +164 -63
- package/src/agGrid/BadgeRenderer.js +10 -2
- package/src/agGrid/CheckboxRenderer.d.ts +1 -2
- package/src/agGrid/agGridHelper.js +4 -5
- package/src/agGrid/agGridMenuHelper.js +4 -0
- package/src/agGrid/attachAddaptableColumnTypes.d.ts +11 -11
- package/src/agGrid/editors/AdaptableDateEditor/index.js +2 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +2 -2
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +6 -3
- package/src/components/AdaptableIconComponent/index.js +6 -3
- package/src/components/ExpressionEditor/BaseEditorInput.js +2 -0
- package/src/components/ExpressionEditor/index.js +1 -1
- package/src/components/IconSelector/IconSelector.d.ts +2 -0
- package/src/components/IconSelector/IconSelector.js +21 -5
- package/src/components/Input/NumberInput.d.ts +10 -0
- package/src/components/Input/NumberInput.js +46 -0
- package/src/metamodel/adaptable.metamodel.d.ts +230 -145
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +14 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableOptions/GeneralOptions.d.ts +0 -159
- package/src/Api/Events/SearchChanged.d.ts +0 -12
- package/src/Api/Implementation/ActionApiImpl.d.ts +0 -14
- /package/src/AdaptableOptions/{ActionOptions.js → ActionColumnOptions.js} +0 -0
- /package/src/AdaptableOptions/{GeneralOptions.js → ActionRowOptions.js} +0 -0
- /package/src/{Api/ActionApi.js → AdaptableOptions/CalendarOptions.js} +0 -0
- /package/src/{Api/Events/SearchChanged.js → AdaptableOptions/CellSummaryOptions.js} +0 -0
- /package/src/{Api/QueryLanguageApi.js → AdaptableOptions/CustomSortOptions.js} +0 -0
|
@@ -11,7 +11,8 @@ class DataSetInternalApi extends ApiBase_1.ApiBase {
|
|
|
11
11
|
if (this.adaptable.isLive) {
|
|
12
12
|
const dataSetSelectedInfo = {
|
|
13
13
|
adaptableApi: this.adaptable.api,
|
|
14
|
-
dataSet,
|
|
14
|
+
dataSet, userName: this.adaptable.api.optionsApi.getUserName(),
|
|
15
|
+
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
15
16
|
};
|
|
16
17
|
this.adaptable.api.eventApi.emit('DataSetSelected', dataSetSelectedInfo);
|
|
17
18
|
}
|
|
@@ -14,7 +14,7 @@ class ExportInternalApi extends ApiBase_1.ApiBase {
|
|
|
14
14
|
return true;
|
|
15
15
|
}
|
|
16
16
|
// if its a Custom Report then the User has to run it so we just ignore completely
|
|
17
|
-
if (this.getExportApi().
|
|
17
|
+
if (this.getExportApi().isExternalReport(report)) {
|
|
18
18
|
return false;
|
|
19
19
|
}
|
|
20
20
|
// Start with the DataChanged Column and go through all possibilities
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
2
|
import { AdaptableQLModule } from '../../PredefinedConfig/Common/Types';
|
|
3
3
|
import { AdaptableObject, AdaptablePredicate } from '../../types';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class ExpressionInternalApi extends ApiBase {
|
|
5
5
|
/**
|
|
6
6
|
* Checks if a column is referenced in a given Expression
|
|
7
7
|
* @param columnId Column to Check
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ExpressionInternalApi = void 0;
|
|
4
4
|
const ApiBase_1 = require("../Implementation/ApiBase");
|
|
5
|
-
class
|
|
5
|
+
class ExpressionInternalApi extends ApiBase_1.ApiBase {
|
|
6
6
|
/**
|
|
7
7
|
* Checks if a column is referenced in a given Expression
|
|
8
8
|
* @param columnId Column to Check
|
|
9
9
|
* @param expression Expression to Lookup
|
|
10
10
|
*/
|
|
11
11
|
isColumnReferencedInExpression(columnId, expression) {
|
|
12
|
-
const colIds = this.
|
|
12
|
+
const colIds = this.getExpressionApi().getColumnsFromExpression(expression);
|
|
13
13
|
return colIds.some((c) => c === columnId);
|
|
14
14
|
}
|
|
15
15
|
evaluateExpressionInAdaptableQL(module, object, expression) {
|
|
@@ -20,6 +20,8 @@ class QueryLanguageInternalApi extends ApiBase_1.ApiBase {
|
|
|
20
20
|
}
|
|
21
21
|
const context = {
|
|
22
22
|
adaptableApi: this.getAdaptableApi(),
|
|
23
|
+
userName: this.getOptions().userName,
|
|
24
|
+
adaptableId: this.getOptions().adaptableId,
|
|
23
25
|
module,
|
|
24
26
|
};
|
|
25
27
|
if (object) {
|
|
@@ -28,7 +30,7 @@ class QueryLanguageInternalApi extends ApiBase_1.ApiBase {
|
|
|
28
30
|
if (expression) {
|
|
29
31
|
context.expression = expression;
|
|
30
32
|
context.referencedColumns = this.getAdaptableApi()
|
|
31
|
-
.
|
|
33
|
+
.expressionApi.getColumnsFromExpression(expression)
|
|
32
34
|
.map((columnId) => this.getAdaptableApi().columnApi.getColumnWithColumnId(columnId));
|
|
33
35
|
}
|
|
34
36
|
return !evaluateExpressionExternallyFn(context);
|
|
@@ -41,6 +43,8 @@ class QueryLanguageInternalApi extends ApiBase_1.ApiBase {
|
|
|
41
43
|
}
|
|
42
44
|
const context = {
|
|
43
45
|
adaptableApi: this.getAdaptableApi(),
|
|
46
|
+
userName: this.getAdaptableApi().optionsApi.getUserName(),
|
|
47
|
+
adaptableId: this.getAdaptableApi().optionsApi.getAdaptableId(),
|
|
44
48
|
module,
|
|
45
49
|
};
|
|
46
50
|
if (object) {
|
|
@@ -55,4 +59,4 @@ class QueryLanguageInternalApi extends ApiBase_1.ApiBase {
|
|
|
55
59
|
return !evaluateExpressionExternallyFn(context);
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
|
-
exports.
|
|
62
|
+
exports.ExpressionInternalApi = ExpressionInternalApi;
|
|
@@ -172,9 +172,12 @@ class FilterInternalApi extends ApiBase_1.ApiBase {
|
|
|
172
172
|
*/
|
|
173
173
|
fireFilterAppliedEvent() {
|
|
174
174
|
if (this.adaptable.isLive) {
|
|
175
|
+
const adaptableApi = this.getAdaptableApi();
|
|
175
176
|
const filterAppliedInfo = {
|
|
176
177
|
columnFilters: this.getFilterApi().getColumnFilters(),
|
|
177
|
-
adaptableApi:
|
|
178
|
+
adaptableApi: adaptableApi,
|
|
179
|
+
userName: adaptableApi.optionsApi.getUserName(),
|
|
180
|
+
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
178
181
|
};
|
|
179
182
|
this.adaptable.api.eventApi.emit('FilterApplied', filterAppliedInfo);
|
|
180
183
|
}
|
|
@@ -196,7 +196,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
|
|
|
196
196
|
return this.adaptable.api.predicateApi.handleColumnPredicates((_a = formatColumn.Rule) === null || _a === void 0 ? void 0 : _a.Predicates, params, false);
|
|
197
197
|
}
|
|
198
198
|
evaluateExpression(formatColumn, node) {
|
|
199
|
-
const isValidExpression = this.adaptable.api.
|
|
199
|
+
const isValidExpression = this.adaptable.api.expressionApi.isValidBooleanExpression(formatColumn.Rule.BooleanExpression, ModuleConstants.FormatColumnModuleId, `Invalid format column rule '${formatColumn.Rule.BooleanExpression}'`);
|
|
200
200
|
return (isValidExpression &&
|
|
201
201
|
this.adaptable.api.internalApi
|
|
202
202
|
.getQueryLanguageService()
|
|
@@ -18,6 +18,8 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
18
18
|
const gridSortedInfo = {
|
|
19
19
|
adaptableSortState: adaptableSortState,
|
|
20
20
|
adaptableApi: adaptableApi,
|
|
21
|
+
userName: adaptableApi.optionsApi.getUserName(),
|
|
22
|
+
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
21
23
|
};
|
|
22
24
|
adaptableApi.eventApi.emit('GridSorted', gridSortedInfo);
|
|
23
25
|
}
|
|
@@ -30,6 +32,8 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
30
32
|
const cellChangedInfo = {
|
|
31
33
|
adaptableApi: this.adaptable.api,
|
|
32
34
|
cellChange: cellDataChangedInfo,
|
|
35
|
+
userName: this.adaptable.api.optionsApi.getUserName(),
|
|
36
|
+
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
33
37
|
};
|
|
34
38
|
this.adaptable.api.eventApi.emit('CellChanged', cellChangedInfo);
|
|
35
39
|
}
|
|
@@ -45,6 +49,8 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
45
49
|
rowTrigger,
|
|
46
50
|
dataRows,
|
|
47
51
|
rowNodes,
|
|
52
|
+
userName: this.adaptable.api.optionsApi.getUserName(),
|
|
53
|
+
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
48
54
|
};
|
|
49
55
|
this.adaptable.api.eventApi.emit('GridDataChanged', gridDataChangedInfo);
|
|
50
56
|
}
|
|
@@ -220,6 +226,8 @@ class GridInternalApi extends ApiBase_1.ApiBase {
|
|
|
220
226
|
if (editLookUpValues != null && typeof editLookUpValues === 'function') {
|
|
221
227
|
const editLookUpContext = {
|
|
222
228
|
adaptableApi: this.adaptable.api,
|
|
229
|
+
userName: this.getOptions().userName,
|
|
230
|
+
adaptableId: this.getOptions().adaptableId,
|
|
223
231
|
column: column,
|
|
224
232
|
gridCell,
|
|
225
233
|
};
|
|
@@ -16,11 +16,14 @@ class LayoutInternalApi extends ApiBase_1.ApiBase {
|
|
|
16
16
|
* @param newState Layout State after change
|
|
17
17
|
*/
|
|
18
18
|
fireLayoutChangedEvent(trigger, oldSate, newState, skipEqualityCheck) {
|
|
19
|
+
const adaptableApi = this.getAdaptableApi();
|
|
19
20
|
const layoutChangedInfo = {
|
|
20
|
-
adaptableApi:
|
|
21
|
+
adaptableApi: adaptableApi,
|
|
21
22
|
actionName: trigger,
|
|
22
23
|
oldLayoutState: oldSate,
|
|
23
24
|
newLayoutState: newState,
|
|
25
|
+
userName: adaptableApi.optionsApi.getUserName(),
|
|
26
|
+
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
24
27
|
};
|
|
25
28
|
if (!skipEqualityCheck && (0, isEqual_1.default)(oldSate, newState)) {
|
|
26
29
|
return;
|
|
@@ -152,6 +155,8 @@ class LayoutInternalApi extends ApiBase_1.ApiBase {
|
|
|
152
155
|
module,
|
|
153
156
|
layout,
|
|
154
157
|
adaptableApi: this.getAdaptableApi(),
|
|
158
|
+
userName: this.getOptions().userName,
|
|
159
|
+
adaptableId: this.getOptions().adaptableId,
|
|
155
160
|
};
|
|
156
161
|
return layoutTagOptions === null || layoutTagOptions === void 0 ? void 0 : layoutTagOptions.isObjectAvailableInLayout(context);
|
|
157
162
|
}
|
|
@@ -26,6 +26,8 @@ class PredicateInternalApi extends ApiBase_1.ApiBase {
|
|
|
26
26
|
if (typeof systemFilterPredicates === 'function') {
|
|
27
27
|
const systemPredicateContext = {
|
|
28
28
|
adaptableApi: this.adaptable.api,
|
|
29
|
+
userName: this.getOptions().userName,
|
|
30
|
+
adaptableId: this.getOptions().adaptableId,
|
|
29
31
|
systemPredicateDefs: this.getPredicateApi()
|
|
30
32
|
.getSystemPredicateDefs()
|
|
31
33
|
.filter((p) => p.moduleScope.includes('filter')),
|
|
@@ -51,6 +53,8 @@ class PredicateInternalApi extends ApiBase_1.ApiBase {
|
|
|
51
53
|
if (typeof systemAlertPredicates === 'function') {
|
|
52
54
|
const systemPredicateContext = {
|
|
53
55
|
adaptableApi: this.adaptable.api,
|
|
56
|
+
userName: this.getOptions().userName,
|
|
57
|
+
adaptableId: this.getOptions().adaptableId,
|
|
54
58
|
systemPredicateDefs: this.getPredicateApi()
|
|
55
59
|
.getSystemPredicateDefs()
|
|
56
60
|
.filter((p) => p.moduleScope.includes('alert')),
|
|
@@ -66,6 +70,8 @@ class PredicateInternalApi extends ApiBase_1.ApiBase {
|
|
|
66
70
|
if (typeof systemBadgeStylePredicates === 'function') {
|
|
67
71
|
const systemPredicateContext = {
|
|
68
72
|
adaptableApi: this.adaptable.api,
|
|
73
|
+
userName: this.getOptions().userName,
|
|
74
|
+
adaptableId: this.getOptions().adaptableId,
|
|
69
75
|
systemPredicateDefs: this.getPredicateApi()
|
|
70
76
|
.getSystemPredicateDefs()
|
|
71
77
|
.filter((p) => p.moduleScope.includes('badgeStyle')),
|
|
@@ -91,6 +97,8 @@ class PredicateInternalApi extends ApiBase_1.ApiBase {
|
|
|
91
97
|
if (typeof systemFormatColumnPredicates === 'function') {
|
|
92
98
|
const systemPredicateContext = {
|
|
93
99
|
adaptableApi: this.adaptable.api,
|
|
100
|
+
userName: this.getOptions().userName,
|
|
101
|
+
adaptableId: this.getOptions().adaptableId,
|
|
94
102
|
systemPredicateDefs: this.getPredicateApi()
|
|
95
103
|
.getSystemPredicateDefs()
|
|
96
104
|
.filter((p) => p.moduleScope.includes('formatColumn')),
|
|
@@ -116,6 +124,8 @@ class PredicateInternalApi extends ApiBase_1.ApiBase {
|
|
|
116
124
|
if (typeof systemFlashingCellPredicates === 'function') {
|
|
117
125
|
const systemPredicateContext = {
|
|
118
126
|
adaptableApi: this.adaptable.api,
|
|
127
|
+
userName: this.getOptions().userName,
|
|
128
|
+
adaptableId: this.getOptions().adaptableId,
|
|
119
129
|
systemPredicateDefs: this.getPredicateApi()
|
|
120
130
|
.getSystemPredicateDefs()
|
|
121
131
|
.filter((p) => p.moduleScope.includes('flashingcell')),
|
|
@@ -45,9 +45,11 @@ class QueryInternalApi extends ApiBase_1.ApiBase {
|
|
|
45
45
|
const queryRunInfo = {
|
|
46
46
|
currentQuery,
|
|
47
47
|
queryAST: currentQuery
|
|
48
|
-
? adaptableApi.
|
|
48
|
+
? adaptableApi.expressionApi.getASTForExpression(currentQuery)
|
|
49
49
|
: null,
|
|
50
50
|
adaptableApi: adaptableApi,
|
|
51
|
+
userName: adaptableApi.optionsApi.getUserName(),
|
|
52
|
+
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
51
53
|
};
|
|
52
54
|
adaptableApi.eventApi.emit('QueryRun', queryRunInfo);
|
|
53
55
|
}
|
|
@@ -10,9 +10,12 @@ class SystemStatusInternalApi extends ApiBase_1.ApiBase {
|
|
|
10
10
|
* @param systemStatusMessageInfo Info about new System Status Message
|
|
11
11
|
*/
|
|
12
12
|
fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo) {
|
|
13
|
+
const adaptableApi = this.getAdaptableApi();
|
|
13
14
|
const systemStatusMessageDisplayedInfo = {
|
|
14
|
-
adaptableApi
|
|
15
|
+
adaptableApi,
|
|
15
16
|
systemStatusMessageInfo: systemStatusMessageInfo,
|
|
17
|
+
userName: adaptableApi.optionsApi.getUserName(),
|
|
18
|
+
adaptableId: adaptableApi.optionsApi.getAdaptableId(),
|
|
16
19
|
};
|
|
17
20
|
this.getAdaptableApi().eventApi.emit('SystemStatusMessageDisplayed', systemStatusMessageDisplayedInfo);
|
|
18
21
|
}
|
|
@@ -12,6 +12,8 @@ class TeamSharingInternalApi extends ApiBase_1.ApiBase {
|
|
|
12
12
|
const teamSharingEntityChangedInfo = {
|
|
13
13
|
adaptableApi: this.adaptable.api,
|
|
14
14
|
sharedEntity: sharedEntity,
|
|
15
|
+
userName: this.adaptable.api.optionsApi.getUserName(),
|
|
16
|
+
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
15
17
|
};
|
|
16
18
|
this.getAdaptableApi().eventApi.emit('TeamSharingEntityChanged', teamSharingEntityChangedInfo);
|
|
17
19
|
}
|
package/src/Api/LayoutApi.d.ts
CHANGED
|
@@ -9,11 +9,10 @@ export interface LayoutApi {
|
|
|
9
9
|
*/
|
|
10
10
|
getLayoutState(): LayoutState;
|
|
11
11
|
/**
|
|
12
|
-
* Whether
|
|
13
|
-
* @
|
|
14
|
-
* @returns layout
|
|
12
|
+
* Whether Layouts are auto saved (based on Layout Options)
|
|
13
|
+
* @returns boolean
|
|
15
14
|
*/
|
|
16
|
-
|
|
15
|
+
shouldAutoSaveLayouts(): boolean;
|
|
17
16
|
/**
|
|
18
17
|
* Sets (i.e. selects) the Layout
|
|
19
18
|
* @param layoutName Layout to set (has to be name of existing Layout)
|
|
@@ -175,27 +174,4 @@ export interface LayoutApi {
|
|
|
175
174
|
ColumnFilters: boolean;
|
|
176
175
|
ColumnSorts: boolean;
|
|
177
176
|
};
|
|
178
|
-
/**
|
|
179
|
-
* TO BE REMOVED
|
|
180
|
-
*/
|
|
181
|
-
/**
|
|
182
|
-
* @deprecated use `getLayouts()` instead
|
|
183
|
-
*/
|
|
184
|
-
getAllLayout(): Layout[];
|
|
185
|
-
/**
|
|
186
|
-
* @deprecated internal method, will be removed in next major release
|
|
187
|
-
*/
|
|
188
|
-
fireLayoutChangedEvent(trigger: string, oldSate: LayoutState, newState: LayoutState, skipEqualityCheck?: boolean): void;
|
|
189
|
-
/**
|
|
190
|
-
* @deprecated internal method, will be removed in next major release
|
|
191
|
-
*/
|
|
192
|
-
areLayoutsEqual(layout1: Layout, layout2: Layout): boolean;
|
|
193
|
-
/**
|
|
194
|
-
* @deprecated internal method, will be removed in next major release
|
|
195
|
-
*/
|
|
196
|
-
createDefaultLayoutIfNeeded(): Layout | null;
|
|
197
|
-
/**
|
|
198
|
-
* @deprecated use `openLayoutSettingsPanel()` instead
|
|
199
|
-
*/
|
|
200
|
-
showLayoutPopup(): void;
|
|
201
177
|
}
|
package/src/Api/OptionsApi.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CustomSortOptions } from '../AdaptableOptions/CustomSortOptions';
|
|
2
|
+
import { DataSetOptions } from '../AdaptableOptions/DataSetOptions';
|
|
3
|
+
import { GroupingOptions } from '../AdaptableOptions/GroupingOptions';
|
|
4
|
+
import { ActionColumnOptions, ActionRowOptions, AdaptableOptions, AdaptableQLOptions, AlertOptions, CalendarOptions, CellSummaryOptions, ChartingOptions, ColumnOptions, ContainerOptions, DashboardOptions, DataChangeHistoryOptions, EditOptions, EntitlementOptions, ExportOptions, FilterOptions, FlashingCellOptions, LayoutOptions, MenuOptions, NotificationsOptions, SearchOptions, SettingsPanelOptions, StateOptions, TeamSharingOptions, ToolPanelOptions, UserInterfaceOptions } from '../types';
|
|
3
5
|
/**
|
|
4
6
|
* Range of functions to access Adaptable Options
|
|
5
7
|
*/
|
|
@@ -16,10 +18,6 @@ export interface OptionsApi {
|
|
|
16
18
|
* Returns `AdaptableOptions.autogeneratePrimaryKey`
|
|
17
19
|
*/
|
|
18
20
|
getAutogeneratePrimaryKey(): boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Returns `AdaptableOptions.gridOptions`
|
|
21
|
-
*/
|
|
22
|
-
getAgGridOptions(): GridOptions;
|
|
23
21
|
/**
|
|
24
22
|
* Returns `AdaptableOptions.licenseKey`
|
|
25
23
|
*/
|
|
@@ -37,9 +35,13 @@ export interface OptionsApi {
|
|
|
37
35
|
*/
|
|
38
36
|
getAdaptableOptions(): Readonly<AdaptableOptions>;
|
|
39
37
|
/**
|
|
40
|
-
* Returns `AdaptableOptions.
|
|
38
|
+
* Returns `AdaptableOptions.actionColumnOptions`
|
|
39
|
+
*/
|
|
40
|
+
getActionColumnOptions(): Readonly<ActionColumnOptions>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns `AdaptableOptions.actionRowOptions`
|
|
41
43
|
*/
|
|
42
|
-
|
|
44
|
+
getActionRowOptions(): Readonly<ActionRowOptions>;
|
|
43
45
|
/**
|
|
44
46
|
* Returns `AdaptableOptions.alertOptions`
|
|
45
47
|
*/
|
|
@@ -48,6 +50,14 @@ export interface OptionsApi {
|
|
|
48
50
|
* Returns `AdaptableOptions.adaptableQLOptions`
|
|
49
51
|
*/
|
|
50
52
|
getAdaptableQLOptions(): Readonly<AdaptableQLOptions>;
|
|
53
|
+
/**
|
|
54
|
+
* Returns `AdaptableOptions.calendarOptions`
|
|
55
|
+
*/
|
|
56
|
+
getCalendarOptions(): Readonly<CalendarOptions>;
|
|
57
|
+
/**
|
|
58
|
+
* Returns `AdaptableOptions.cellSummaryOptions`
|
|
59
|
+
*/
|
|
60
|
+
getCellSummaryOptions(): Readonly<CellSummaryOptions>;
|
|
51
61
|
/**
|
|
52
62
|
* Returns `AdaptableOptions.chartingOptions`
|
|
53
63
|
*/
|
|
@@ -60,6 +70,10 @@ export interface OptionsApi {
|
|
|
60
70
|
* Returns `AdaptableOptions.columnOptions`
|
|
61
71
|
*/
|
|
62
72
|
getColumnOptions(): Readonly<ColumnOptions>;
|
|
73
|
+
/**
|
|
74
|
+
* Returns `AdaptableOptions.customSortOptions`
|
|
75
|
+
*/
|
|
76
|
+
getCustomSortOptions(): Readonly<CustomSortOptions>;
|
|
63
77
|
/**
|
|
64
78
|
* Returns `AdaptableOptions.dashboardOptions`
|
|
65
79
|
*/
|
|
@@ -68,6 +82,10 @@ export interface OptionsApi {
|
|
|
68
82
|
* Returns `AdaptableOptions.dataChangeHistoryOptions`
|
|
69
83
|
*/
|
|
70
84
|
getDataChangeHistoryOptions(): Readonly<DataChangeHistoryOptions>;
|
|
85
|
+
/**
|
|
86
|
+
* Returns `AdaptableOptions.dataSetOptions`
|
|
87
|
+
*/
|
|
88
|
+
getDataSetOptions(): Readonly<DataSetOptions>;
|
|
71
89
|
/**
|
|
72
90
|
* Returns `AdaptableOptions.editOptions`
|
|
73
91
|
*/
|
|
@@ -89,9 +107,9 @@ export interface OptionsApi {
|
|
|
89
107
|
*/
|
|
90
108
|
getFlashingCellOptions(): Readonly<FlashingCellOptions>;
|
|
91
109
|
/**
|
|
92
|
-
* Returns `AdaptableOptions.
|
|
110
|
+
* Returns `AdaptableOptions.groupingOptions`
|
|
93
111
|
*/
|
|
94
|
-
|
|
112
|
+
getGroupingOptions(): Readonly<GroupingOptions>;
|
|
95
113
|
/**
|
|
96
114
|
* Returns `AdaptableOptions.layoutOptions`
|
|
97
115
|
*/
|
|
@@ -71,11 +71,4 @@ export interface PlusMinusApi {
|
|
|
71
71
|
* @returns plus minus rule
|
|
72
72
|
*/
|
|
73
73
|
unSuspendPlusMinusNudge(plusMinusNudge: PlusMinusNudge): PlusMinusNudge;
|
|
74
|
-
/**
|
|
75
|
-
* TO BE REMOVED
|
|
76
|
-
*/
|
|
77
|
-
/**
|
|
78
|
-
* @deprecated use `openPlusMinusSettingsPanel()` instead
|
|
79
|
-
*/
|
|
80
|
-
showPlusMinusPopup(): void;
|
|
81
74
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdaptableColumnPredicate } from '../../types';
|
|
2
2
|
import { AdaptablePredicateDef, AdaptablePredicate, PredicateDefHandlerParams, PredicateModuleScope } from '../PredefinedConfig/Common/AdaptablePredicate';
|
|
3
3
|
/**
|
|
4
4
|
* Functions which manage the Predicate object in AdapTable
|
|
@@ -81,35 +81,4 @@ export interface PredicateApi {
|
|
|
81
81
|
* @param defaultReturn Whether to return the default
|
|
82
82
|
*/
|
|
83
83
|
handlePredicates(predicates: AdaptablePredicate[], params: Omit<PredicateDefHandlerParams, 'api' | 'inputs'>, defaultReturn: boolean): boolean;
|
|
84
|
-
/**
|
|
85
|
-
* TO BE REMOVED
|
|
86
|
-
*/
|
|
87
|
-
/**
|
|
88
|
-
* @deprecated use `IsEveryPredicateValid()` instead
|
|
89
|
-
*/
|
|
90
|
-
arePredicatesValid(predicates: AdaptablePredicate[]): boolean;
|
|
91
|
-
/**
|
|
92
|
-
* @deprecated internal method, will be removed in next major release
|
|
93
|
-
*/
|
|
94
|
-
hasPredicateValues(predicate: AdaptablePredicate): boolean;
|
|
95
|
-
/**
|
|
96
|
-
* @deprecated internal method, will be removed in next major release
|
|
97
|
-
*/
|
|
98
|
-
getFilterPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
99
|
-
/**
|
|
100
|
-
* @deprecated internal method, will be removed in next major release
|
|
101
|
-
*/
|
|
102
|
-
getAlertPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
103
|
-
/**
|
|
104
|
-
* @deprecated internal method, will be removed in next major release
|
|
105
|
-
*/
|
|
106
|
-
getFormatColumnPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
107
|
-
/**
|
|
108
|
-
* @deprecated internal method, will be removed in next major release
|
|
109
|
-
*/
|
|
110
|
-
getFlashingCellPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
111
|
-
/**
|
|
112
|
-
* @deprecated internal method, will be removed in next major release
|
|
113
|
-
*/
|
|
114
|
-
getEqualityPredicateForDataType(dataType: AdaptableColumnDataType): SystemFilterPredicateId;
|
|
115
84
|
}
|
package/src/Api/QueryApi.d.ts
CHANGED
|
@@ -48,27 +48,4 @@ export interface QueryApi {
|
|
|
48
48
|
* @param query - query to edit
|
|
49
49
|
*/
|
|
50
50
|
expandCurrentQuery(query?: string): void;
|
|
51
|
-
/**
|
|
52
|
-
* TO BE REMOVED
|
|
53
|
-
*/
|
|
54
|
-
/**
|
|
55
|
-
* @deprecated use `getNamedQueries()` instead
|
|
56
|
-
*/
|
|
57
|
-
getAllNamedQuery(): NamedQuery[];
|
|
58
|
-
/**
|
|
59
|
-
* @deprecated internal method, will be removed in next major release
|
|
60
|
-
*/
|
|
61
|
-
getReferencedNamedQueryNames(expression: string): string[];
|
|
62
|
-
/**
|
|
63
|
-
* @deprecated internal method, will be removed in next major release
|
|
64
|
-
*/
|
|
65
|
-
getNamedQueryModuleReferences(namedQueryName: string): string[];
|
|
66
|
-
/**
|
|
67
|
-
* @deprecated use `openQuerySettingsPanel()` instead
|
|
68
|
-
*/
|
|
69
|
-
showQueryPopup(): void;
|
|
70
|
-
/**
|
|
71
|
-
* @deprecated internal method, will be removed in next major release
|
|
72
|
-
*/
|
|
73
|
-
fireQueryRunEvent(): void;
|
|
74
51
|
}
|
|
@@ -30,10 +30,6 @@ export interface QuickSearchApi {
|
|
|
30
30
|
* @param style the style to use
|
|
31
31
|
*/
|
|
32
32
|
setQuickSearchStyle(style: AdaptableStyle): void;
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated use `openQuickSearchSettingsPanel()` instead
|
|
35
|
-
*/
|
|
36
|
-
showQuickSearchPopup(): void;
|
|
37
33
|
/**
|
|
38
34
|
* Opens Settings Panel with Quick Search section selected and visible
|
|
39
35
|
*/
|
package/src/Api/ScheduleApi.d.ts
CHANGED
|
@@ -264,85 +264,4 @@ export interface ScheduleApi {
|
|
|
264
264
|
* Opens Settings Panel with Schedule section selected and visible
|
|
265
265
|
*/
|
|
266
266
|
openScheduleSettingsPanel(): void;
|
|
267
|
-
/**
|
|
268
|
-
* TO BE REMOVED
|
|
269
|
-
*/
|
|
270
|
-
/**
|
|
271
|
-
* @deprecated use `getSchedules()` instead
|
|
272
|
-
*/
|
|
273
|
-
getAllSchedule(): BaseSchedule[];
|
|
274
|
-
/**
|
|
275
|
-
* @deprecated use `getReminderSchedules()` instead
|
|
276
|
-
*/
|
|
277
|
-
getAllReminderSchedule(config?: {
|
|
278
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
279
|
-
}): ReminderSchedule[];
|
|
280
|
-
/**
|
|
281
|
-
* @deprecated use `getActiveReminderSchedules()` instead
|
|
282
|
-
*/
|
|
283
|
-
getAllActiveReminderSchedule(): ReminderSchedule[];
|
|
284
|
-
/**
|
|
285
|
-
* @deprecated use `getSuspendedReminderSchedules()` instead
|
|
286
|
-
*/
|
|
287
|
-
getAllSuspendedReminderSchedule(): ReminderSchedule[];
|
|
288
|
-
/**
|
|
289
|
-
* @deprecated use `getReportSchedules()` instead
|
|
290
|
-
*/
|
|
291
|
-
getAllReportSchedule(config?: {
|
|
292
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
293
|
-
}): ReportSchedule[];
|
|
294
|
-
/**
|
|
295
|
-
* @deprecated use `getActiveReportSchedules()` instead
|
|
296
|
-
*/
|
|
297
|
-
getAllActiveReportSchedule(): ReportSchedule[];
|
|
298
|
-
/**
|
|
299
|
-
* @deprecated use `getSuspendedReportSchedules()` instead
|
|
300
|
-
*/
|
|
301
|
-
getAllSuspendedReportSchedule(): ReportSchedule[];
|
|
302
|
-
/**
|
|
303
|
-
* @deprecated use `getIPushPullSchedules()` instead
|
|
304
|
-
*/
|
|
305
|
-
getAllIPushPullSchedule(config?: {
|
|
306
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
307
|
-
}): IPushPullSchedule[];
|
|
308
|
-
/**
|
|
309
|
-
* @deprecated use `getActiveIPushPullSchedules()` instead
|
|
310
|
-
*/
|
|
311
|
-
getAllActiveIPushPullSchedule(): IPushPullSchedule[];
|
|
312
|
-
/**
|
|
313
|
-
* @deprecated use `getSuspendedIPushPullSchedules()` instead
|
|
314
|
-
*/
|
|
315
|
-
getAllSuspendedIPushPullSchedule(): IPushPullSchedule[];
|
|
316
|
-
/**
|
|
317
|
-
* @deprecated use `getGlue42Schedules()` instead
|
|
318
|
-
*/
|
|
319
|
-
getAllGlue42Schedule(config?: {
|
|
320
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
321
|
-
}): Glue42Schedule[];
|
|
322
|
-
/**
|
|
323
|
-
* @deprecated use `getActiveGlue42Schedules()` instead
|
|
324
|
-
*/
|
|
325
|
-
getAllActiveGlue42Schedule(): Glue42Schedule[];
|
|
326
|
-
/**
|
|
327
|
-
* @deprecated use `getSuspendedGlue42Schedules()` instead
|
|
328
|
-
*/
|
|
329
|
-
getAllSuspendedGlue42Schedule(): Glue42Schedule[];
|
|
330
|
-
/**
|
|
331
|
-
* @deprecated use `getOpenFinSchedules()` instead
|
|
332
|
-
*/
|
|
333
|
-
getAllOpenFinSchedule(config?: {
|
|
334
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
335
|
-
}): OpenFinSchedule[];
|
|
336
|
-
/**
|
|
337
|
-
* @deprecated use `getActiveOpenFinSchedules()` instead
|
|
338
|
-
*/
|
|
339
|
-
getAllActiveOpenFinSchedule(): OpenFinSchedule[];
|
|
340
|
-
/**
|
|
341
|
-
* @deprecated use `getSuspendedOpenFinSchedules()` instead
|
|
342
|
-
*/
|
|
343
|
-
getAllSuspendedOpenFinSchedule(): OpenFinSchedule[];
|
|
344
|
-
/**
|
|
345
|
-
* @deprecated use `openScheduleSettingsPanel()` instead
|
|
346
|
-
*/
|
|
347
|
-
showSchedulePopup(): void;
|
|
348
267
|
}
|
|
@@ -13,15 +13,4 @@ export interface SettingsPanelApi {
|
|
|
13
13
|
* @param name name of Custom Settings Panel to display
|
|
14
14
|
*/
|
|
15
15
|
openCustomSettingsPanel(name: string): void;
|
|
16
|
-
/**
|
|
17
|
-
* TO BE REMOVED
|
|
18
|
-
*/
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated use `openSettingsPanel()` instead
|
|
21
|
-
*/
|
|
22
|
-
showSettingsPanel(moduleName?: AdaptableModule): void;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated use `openCustomSettingsPanel()` instead
|
|
25
|
-
*/
|
|
26
|
-
showCustomSettingsPanel(name: string): void;
|
|
27
16
|
}
|
package/src/Api/ShortcutApi.d.ts
CHANGED
|
@@ -57,29 +57,4 @@ export interface ShortcutApi {
|
|
|
57
57
|
* Opens Settings Panel with Shortcut section selected and visible
|
|
58
58
|
*/
|
|
59
59
|
openShortcutSettingsPanel(): void;
|
|
60
|
-
/**
|
|
61
|
-
* TO BE REMOVED
|
|
62
|
-
*/
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated use `getShortcuts()` instead
|
|
65
|
-
*/
|
|
66
|
-
getAllShortcut(config?: {
|
|
67
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
68
|
-
}): Shortcut[];
|
|
69
|
-
/**
|
|
70
|
-
* @deprecated use `getActiveShortcuts()` instead
|
|
71
|
-
*/
|
|
72
|
-
getAllActiveShortcut(): Shortcut[];
|
|
73
|
-
/**
|
|
74
|
-
* @deprecated use `getSuspendedShortcuts()` instead
|
|
75
|
-
*/
|
|
76
|
-
getAllSuspendedShortcut(): Shortcut[];
|
|
77
|
-
/**
|
|
78
|
-
* @deprecated use `deleteAllShortcuts()` instead
|
|
79
|
-
*/
|
|
80
|
-
deleteAllShortcut(): void;
|
|
81
|
-
/**
|
|
82
|
-
* @deprecated use `openShortcutSettingsPanel()` instead
|
|
83
|
-
*/
|
|
84
|
-
showShortcutPopup(): void;
|
|
85
60
|
}
|
|
@@ -42,11 +42,4 @@ export interface SmartEditApi {
|
|
|
42
42
|
* Retrieves an Smart Edit Custom Operations (provided in Edit Options)
|
|
43
43
|
*/
|
|
44
44
|
getSmartEditCustomOperations(): SmartEditCustomOperation[];
|
|
45
|
-
/**
|
|
46
|
-
* TO BE REMOVED
|
|
47
|
-
*/
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated use `openSmartEditSettingsPanel()` instead
|
|
50
|
-
*/
|
|
51
|
-
showSmartEditPopup(): void;
|
|
52
45
|
}
|
|
@@ -95,27 +95,6 @@ export interface StyledColumnApi {
|
|
|
95
95
|
* Open Styled Column section of Settings Panel
|
|
96
96
|
*/
|
|
97
97
|
openStyledColumnSettingsPanel(): void;
|
|
98
|
-
/**
|
|
99
|
-
* TO BE REMOVED
|
|
100
|
-
*/
|
|
101
|
-
/**
|
|
102
|
-
* @deprecated use `getStyledColumns()` instead
|
|
103
|
-
*/
|
|
104
|
-
getAllStyledColumn(config?: {
|
|
105
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
106
|
-
}): StyledColumn[];
|
|
107
|
-
/**
|
|
108
|
-
* @deprecated use `getStyledColumnForColumnId()` instead
|
|
109
|
-
*/
|
|
110
|
-
getStyledColumnByColumnId(columnId: StyledColumn['ColumnId']): StyledColumn;
|
|
111
|
-
/**
|
|
112
|
-
* @deprecated use `getActiveStyledColumns()` instead
|
|
113
|
-
*/
|
|
114
|
-
getAllActiveStyledColumn(): StyledColumn[];
|
|
115
|
-
/**
|
|
116
|
-
* @deprecated use `getSuspendedStyledColumns()` instead
|
|
117
|
-
*/
|
|
118
|
-
getAllSuspendedStyledColumn(): StyledColumn[];
|
|
119
98
|
/**
|
|
120
99
|
* Can this AdapTable instance display Sparklines (e.g. is AG Grid SparklinesModule installed)
|
|
121
100
|
*/
|