@adaptabletools/adaptable-cjs 18.1.13 → 18.1.15-canary.0

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.
Files changed (156) hide show
  1. package/package.json +2 -2
  2. package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -5
  3. package/src/AdaptableOptions/AlertOptions.d.ts +2 -1
  4. package/src/AdaptableOptions/ChartingOptions.d.ts +5 -1
  5. package/src/AdaptableOptions/ColumnFilterOptions.d.ts +5 -1
  6. package/src/AdaptableOptions/DashboardOptions.d.ts +5 -1
  7. package/src/AdaptableOptions/FlashingCellOptions.d.ts +5 -1
  8. package/src/AdaptableOptions/LayoutOptions.d.ts +5 -1
  9. package/src/AdaptableOptions/NotificationsOptions.d.ts +6 -2
  10. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +5 -1
  11. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -1
  12. package/src/Api/ChartingApi.d.ts +2 -2
  13. package/src/Api/ColumnApi.d.ts +6 -0
  14. package/src/Api/ConfigApi.d.ts +22 -2
  15. package/src/Api/Events/LiveDataChanged.d.ts +1 -1
  16. package/src/Api/Implementation/AdaptableApiImpl.d.ts +1 -1
  17. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  18. package/src/Api/Implementation/ChartingApiImpl.js +2 -2
  19. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
  20. package/src/Api/Implementation/ColumnApiImpl.js +3 -0
  21. package/src/Api/Implementation/ConfigApiImpl.d.ts +4 -1
  22. package/src/Api/Implementation/ConfigApiImpl.js +16 -1
  23. package/src/Api/Implementation/EntitlementApiImpl.d.ts +4 -1
  24. package/src/Api/Implementation/EntitlementApiImpl.js +31 -6
  25. package/src/Api/Implementation/ExportApiImpl.js +5 -7
  26. package/src/Api/Implementation/GridApiImpl.js +1 -1
  27. package/src/Api/Implementation/TeamSharingApiImpl.js +2 -6
  28. package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -6
  29. package/src/Api/Internal/AdaptableInternalApi.js +5 -11
  30. package/src/Api/Internal/EntitlementInternalApi.d.ts +4 -0
  31. package/src/Api/Internal/EntitlementInternalApi.js +15 -0
  32. package/src/Api/Internal/ExportInternalApi.d.ts +33 -8
  33. package/src/Api/Internal/ExportInternalApi.js +577 -5
  34. package/src/Api/Internal/NamedQueryInternalApi.d.ts +0 -1
  35. package/src/Api/Internal/NamedQueryInternalApi.js +0 -5
  36. package/src/PredefinedConfig/AdaptableState.d.ts +0 -5
  37. package/src/PredefinedConfig/Common/FilterActionOnDataChange.d.ts +2 -1
  38. package/src/PredefinedConfig/StyledColumnState.d.ts +1 -1
  39. package/src/Redux/ActionsReducers/GridRedux.d.ts +6 -6
  40. package/src/Redux/ActionsReducers/GridRedux.js +11 -11
  41. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +3 -3
  42. package/src/Redux/ActionsReducers/LayoutRedux.js +10 -10
  43. package/src/Redux/ActionsReducers/NamedQueryRedux.d.ts +1 -1
  44. package/src/Redux/ActionsReducers/NamedQueryRedux.js +1 -1
  45. package/src/Redux/ActionsReducers/PluginsRedux.d.ts +2 -2
  46. package/src/Redux/ActionsReducers/PluginsRedux.js +3 -3
  47. package/src/Redux/Store/AdaptableReduxMerger.js +3 -3
  48. package/src/Redux/Store/AdaptableStore.js +2 -4
  49. package/src/Strategy/AdaptableModuleBase.js +1 -2
  50. package/src/Strategy/ColumnFilterModule.js +1 -2
  51. package/src/Strategy/ExportModule.js +17 -44
  52. package/src/Strategy/FlashingCellModule.js +2 -10
  53. package/src/Strategy/ScheduleModule.js +4 -6
  54. package/src/Strategy/SmartEditModule.js +1 -7
  55. package/src/Strategy/TeamSharingModule.js +2 -2
  56. package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +1 -1
  57. package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +1 -3
  58. package/src/Utilities/Constants/FilterConstants.d.ts +10 -0
  59. package/src/Utilities/Constants/FilterConstants.js +11 -0
  60. package/src/Utilities/Constants/GeneralConstants.d.ts +41 -4
  61. package/src/Utilities/Constants/GeneralConstants.js +44 -5
  62. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +0 -2
  63. package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -6
  64. package/src/Utilities/Extensions/ArrayExtensions.d.ts +14 -0
  65. package/src/Utilities/Extensions/ArrayExtensions.js +68 -1
  66. package/src/Utilities/Extensions/EnumExtensions.d.ts +0 -4
  67. package/src/Utilities/Extensions/EnumExtensions.js +3 -15
  68. package/src/Utilities/Helpers/AdaptableHelper.d.ts +4 -10
  69. package/src/Utilities/Helpers/AdaptableHelper.js +10 -64
  70. package/src/Utilities/Helpers/FormatHelper.d.ts +9 -0
  71. package/src/Utilities/Helpers/FormatHelper.js +26 -14
  72. package/src/Utilities/Helpers/Helper.d.ts +0 -10
  73. package/src/Utilities/Helpers/Helper.js +1 -76
  74. package/src/Utilities/Services/ChartingService.d.ts +2 -2
  75. package/src/Utilities/Services/ChartingService.js +5 -11
  76. package/src/Utilities/Services/ModuleService.js +35 -31
  77. package/src/Utilities/Services/RowEditService.js +1 -6
  78. package/src/Utilities/Services/RowSummaryService.js +2 -2
  79. package/src/Utilities/Services/ValidationService.js +2 -16
  80. package/src/View/Alert/AlertEmptyView.js +1 -2
  81. package/src/View/Charting/ChartingStatusBarPopover.js +1 -2
  82. package/src/View/Charting/useChartingElements.js +1 -1
  83. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +2 -6
  84. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +2 -4
  85. package/src/View/Components/FilterForm/QuickFilterForm.js +2 -12
  86. package/src/View/Components/ModuleValueSelector/index.js +2 -2
  87. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -5
  88. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +1 -3
  89. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
  90. package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -7
  91. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +6 -12
  92. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +3 -23
  93. package/src/View/Components/ToolPanel/ToolPanelPopup.js +4 -5
  94. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -3
  95. package/src/View/Components/ValueSelector/index.js +2 -2
  96. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +2 -2
  97. package/src/View/Dashboard/CustomDashboardButton.js +1 -6
  98. package/src/View/Dashboard/CustomToolbar.js +2 -9
  99. package/src/View/Dashboard/Dashboard.js +2 -4
  100. package/src/View/Dashboard/DashboardPopup.js +1 -3
  101. package/src/View/Dashboard/DashboardToolbarFactory.js +1 -2
  102. package/src/View/Dashboard/PinnedToolbarsSelector.js +1 -2
  103. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -3
  104. package/src/View/Export/ExportViewPanel.js +2 -4
  105. package/src/View/Export/Wizard/ReportSummaryWizard.js +2 -6
  106. package/src/View/GridFilter/GridFilterExpressionEditor.js +2 -2
  107. package/src/View/GridFilter/useGridFilterExpressionEditor.js +2 -6
  108. package/src/View/Layout/LayoutViewPanel.js +1 -1
  109. package/src/View/Layout/PivotDetailsPopoup.js +1 -7
  110. package/src/View/Layout/SaveLayoutButton.js +1 -3
  111. package/src/View/Layout/Wizard/sections/AggregationsSection.js +2 -2
  112. package/src/View/Layout/Wizard/sections/ColumnsSection.js +2 -2
  113. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +2 -2
  114. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +2 -2
  115. package/src/View/Layout/Wizard/sections/RowSummarySection.js +2 -2
  116. package/src/View/Layout/Wizard/sections/SortSection.js +2 -2
  117. package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +3 -3
  118. package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
  119. package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
  120. package/src/View/Wizard/OnePageAdaptableWizard.js +2 -2
  121. package/src/agGrid/ActionColumnRenderer.js +8 -22
  122. package/src/agGrid/AdaptableAgGrid.d.ts +5 -7
  123. package/src/agGrid/AdaptableAgGrid.js +158 -147
  124. package/src/agGrid/AgGridAdapter.d.ts +0 -1
  125. package/src/agGrid/AgGridAdapter.js +7 -10
  126. package/src/agGrid/AgGridColumnAdapter.d.ts +3 -1
  127. package/src/agGrid/AgGridColumnAdapter.js +39 -13
  128. package/src/agGrid/BadgeRenderer.js +4 -22
  129. package/src/agGrid/FloatingFilterWrapper.js +21 -0
  130. package/src/agGrid/buildSortedColumnStateForLayout.d.ts +1 -1
  131. package/src/agGrid/buildSortedColumnStateForLayout.js +2 -2
  132. package/src/agGrid/defaultAdaptableOptions.js +35 -30
  133. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +3 -15
  134. package/src/env.js +2 -2
  135. package/src/metamodel/adaptable.metamodel.d.ts +84 -8
  136. package/src/metamodel/adaptable.metamodel.js +1 -1
  137. package/src/types.d.ts +9 -9
  138. package/tsconfig.cjs.tsbuildinfo +1 -1
  139. package/src/Redux/ActionsReducers/QueryRedux.d.ts +0 -10
  140. package/src/Redux/ActionsReducers/QueryRedux.js +0 -25
  141. package/src/Utilities/Helpers/FormatContentHelper.d.ts +0 -22
  142. package/src/Utilities/Helpers/FormatContentHelper.js +0 -39
  143. package/src/Utilities/Services/EntitlementService.d.ts +0 -14
  144. package/src/Utilities/Services/EntitlementService.js +0 -67
  145. package/src/Utilities/Services/Interface/IEntitlementService.d.ts +0 -10
  146. package/src/Utilities/Services/Interface/IEntitlementService.js +0 -2
  147. package/src/Utilities/Services/Interface/IReportService.d.ts +0 -27
  148. package/src/Utilities/Services/Interface/IReportService.js +0 -2
  149. package/src/Utilities/Services/ReportService.d.ts +0 -41
  150. package/src/Utilities/Services/ReportService.js +0 -608
  151. package/src/Utilities/isAdaptableObject.d.ts +0 -2
  152. package/src/Utilities/isAdaptableObject.js +0 -8
  153. package/src/Utilities/reorder.d.ts +0 -1
  154. package/src/Utilities/reorder.js +0 -17
  155. package/src/Utilities/sortWithOrder.d.ts +0 -11
  156. package/src/Utilities/sortWithOrder.js +0 -54
@@ -1,10 +0,0 @@
1
- import { QueryState } from '../../PredefinedConfig/QueryState';
2
- import * as Redux from 'redux';
3
- /**
4
- * @ReduxAction Deletes query state
5
- */
6
- export declare const QUERY_CLEANUP = "QUERY_CLEANUP";
7
- export interface QueryCleanupAction extends Redux.Action {
8
- }
9
- export declare const QueryCleanup: () => QueryCleanupAction;
10
- export declare const QueryReducer: Redux.Reducer<QueryState>;
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryReducer = exports.QueryCleanup = exports.QUERY_CLEANUP = void 0;
4
- const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
5
- /**
6
- * @ReduxAction Deletes query state
7
- */
8
- exports.QUERY_CLEANUP = 'QUERY_CLEANUP';
9
- const QueryCleanup = () => ({
10
- type: exports.QUERY_CLEANUP,
11
- });
12
- exports.QueryCleanup = QueryCleanup;
13
- const initialState = {
14
- NamedQueries: GeneralConstants_1.EMPTY_ARRAY,
15
- CurrentQuery: GeneralConstants_1.EMPTY_STRING,
16
- };
17
- const QueryReducer = (state = initialState, action) => {
18
- switch (action.type) {
19
- case exports.QUERY_CLEANUP:
20
- return initialState;
21
- default:
22
- return state;
23
- }
24
- };
25
- exports.QueryReducer = QueryReducer;
@@ -1,22 +0,0 @@
1
- import { IRowNode } from '@ag-grid-community/core';
2
- import { AdaptableApi, AdaptableColumn } from '../../types';
3
- /**
4
- * Context used for Placeholders in Display Format
5
- */
6
- export interface DisplayFormatPlaceholderContext {
7
- column: AdaptableColumn;
8
- rowNode: IRowNode;
9
- input: any;
10
- api: AdaptableApi;
11
- }
12
- /**
13
- * Supported tokens:
14
- * - column -> [column]
15
- * - input -> [value]
16
- * - rowData.colId -> [rowData.colId]
17
- */
18
- export declare function resolvePlaceholders(text: string, context: DisplayFormatPlaceholderContext): string;
19
- export declare const FormatContentHelper: {
20
- resolvePlaceholders: typeof resolvePlaceholders;
21
- };
22
- export default FormatContentHelper;
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FormatContentHelper = exports.resolvePlaceholders = void 0;
4
- const tslib_1 = require("tslib");
5
- const Helper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/Helper"));
6
- /**
7
- * Supported tokens:
8
- * - column -> [column]
9
- * - input -> [value]
10
- * - rowData.colId -> [rowData.colId]
11
- */
12
- function resolvePlaceholders(text, context) {
13
- if (!text) {
14
- return text;
15
- }
16
- if (!context) {
17
- return text;
18
- }
19
- if (context === null || context === void 0 ? void 0 : context.input) {
20
- text = Helper_1.default.replaceAll(text, '[value]', context.input);
21
- }
22
- if (context === null || context === void 0 ? void 0 : context.column) {
23
- text = Helper_1.default.replaceAll(text, '[column]', context.api.columnApi.getFriendlyNameForColumnId(context.column.columnId));
24
- }
25
- if (context === null || context === void 0 ? void 0 : context.rowNode) {
26
- const columns = Helper_1.default.extractColsFromText(text);
27
- for (const column of columns) {
28
- if (context.api.columnApi.getColumnWithColumnId(column)) {
29
- text = Helper_1.default.replaceAll(text, `[rowData.${column}]`, context.api.gridApi.getRawValueFromRowNode(context.rowNode, column));
30
- }
31
- }
32
- }
33
- return text;
34
- }
35
- exports.resolvePlaceholders = resolvePlaceholders;
36
- exports.FormatContentHelper = {
37
- resolvePlaceholders,
38
- };
39
- exports.default = exports.FormatContentHelper;
@@ -1,14 +0,0 @@
1
- import { IEntitlementService } from './Interface/IEntitlementService';
2
- import { AdaptableModule } from '../../PredefinedConfig/Common/Types';
3
- import { AccessLevel } from '../../PredefinedConfig/Common/Entitlement';
4
- import { AdaptableApi } from '../../../types';
5
- export declare class EntitlementService implements IEntitlementService {
6
- private adaptableApi;
7
- constructor(adaptableApi: AdaptableApi);
8
- setModulesEntitlements(): void;
9
- isModuleHiddenEntitlement(adaptableModule: AdaptableModule): boolean;
10
- isModuleFullEntitlement(adaptableModule: AdaptableModule): boolean;
11
- isModuleReadOnlyEntitlement(adaptableModule: AdaptableModule): boolean;
12
- getEntitlementAccessLevelForModule(adaptableModule: AdaptableModule): AccessLevel;
13
- destroy(): void;
14
- }
@@ -1,67 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EntitlementService = void 0;
4
- class EntitlementService {
5
- constructor(adaptableApi) {
6
- this.adaptableApi = adaptableApi;
7
- this.adaptableApi = adaptableApi;
8
- }
9
- setModulesEntitlements() {
10
- this.adaptableApi.internalApi
11
- .getModuleService()
12
- .getModuleCollection()
13
- .forEach((module) => {
14
- module.setModuleEntitlement();
15
- });
16
- }
17
- isModuleHiddenEntitlement(adaptableModule) {
18
- return this.getEntitlementAccessLevelForModule(adaptableModule) == 'Hidden';
19
- }
20
- isModuleFullEntitlement(adaptableModule) {
21
- return this.getEntitlementAccessLevelForModule(adaptableModule) == 'Full';
22
- }
23
- isModuleReadOnlyEntitlement(adaptableModule) {
24
- return this.getEntitlementAccessLevelForModule(adaptableModule) == 'ReadOnly';
25
- }
26
- getEntitlementAccessLevelForModule(adaptableModule) {
27
- let adaptableOptions = this.adaptableApi.optionsApi.getAdaptableOptions();
28
- let entitlementOptions = adaptableOptions.entitlementOptions;
29
- if (entitlementOptions) {
30
- const defaultAccessLevelContext = {
31
- userName: adaptableOptions.userName,
32
- adaptableId: adaptableOptions.adaptableId,
33
- adaptableApi: this.adaptableApi,
34
- };
35
- const defaultAccessLevel = typeof entitlementOptions.defaultAccessLevel === 'function'
36
- ? entitlementOptions.defaultAccessLevel(defaultAccessLevelContext)
37
- : entitlementOptions.defaultAccessLevel;
38
- const moduleEntitlements = entitlementOptions.moduleEntitlements;
39
- if (moduleEntitlements) {
40
- if (typeof moduleEntitlements === 'function') {
41
- const entitlementContext = {
42
- adaptableModule,
43
- userName: adaptableOptions.userName,
44
- adaptableId: adaptableOptions.adaptableId,
45
- defaultAccessLevel,
46
- adaptableApi: this.adaptableApi,
47
- };
48
- const dynamicModuleEntitlement = moduleEntitlements(entitlementContext);
49
- return dynamicModuleEntitlement !== null && dynamicModuleEntitlement !== void 0 ? dynamicModuleEntitlement : defaultAccessLevel;
50
- }
51
- else {
52
- const entitlement = moduleEntitlements.find((f) => f.adaptableModule === adaptableModule);
53
- if (entitlement) {
54
- return entitlement.accessLevel;
55
- }
56
- }
57
- }
58
- // if still here then return their default Access Level
59
- return defaultAccessLevel;
60
- }
61
- return 'Full';
62
- }
63
- destroy() {
64
- // TO DO
65
- }
66
- }
67
- exports.EntitlementService = EntitlementService;
@@ -1,10 +0,0 @@
1
- import { IAdaptableService } from './IAdaptableService';
2
- import { AdaptableModule } from '../../../PredefinedConfig/Common/Types';
3
- import { AccessLevel } from '../../../PredefinedConfig/Common/Entitlement';
4
- export interface IEntitlementService extends IAdaptableService {
5
- setModulesEntitlements(): void;
6
- isModuleHiddenEntitlement(adaptableModule: AdaptableModule): boolean;
7
- isModuleFullEntitlement(adaptableModule: AdaptableModule): boolean;
8
- isModuleReadOnlyEntitlement(adaptableModule: AdaptableModule): boolean;
9
- getEntitlementAccessLevelForModule(adaptableModule: AdaptableModule): AccessLevel;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,27 +0,0 @@
1
- import { Report, ReportData, SystemReportName } from '../../../PredefinedConfig/ExportState';
2
- import { AdaptableColumn, AdaptableColumnBase } from '../../../PredefinedConfig/Common/AdaptableColumn';
3
- import { IAdaptableService } from './IAdaptableService';
4
- import { ExcelStyle, IRowNode } from '@ag-grid-community/core';
5
- import { CustomDestination, SystemExportDestination } from '../../../types';
6
- export interface IReportService extends IAdaptableService {
7
- buildExcelStylesForVisualReports(): ExcelStyle[];
8
- getExcelStyleIdForCellClassKey(cellClassKey: string): string;
9
- getExcelStyleWithFormattedDate(cellClassId: string): string;
10
- CreateSystemReport(systemReportName: SystemReportName): Report;
11
- IsSystemReport(reportName: string): boolean;
12
- IsSystemReportActive(reportName: SystemReportName): boolean;
13
- IsSystemExportDestinationActive(exportDestination: SystemExportDestination): boolean;
14
- GetReportColumnScopeShortDescription(report: Report): string[];
15
- GetReportColumnScopeLongDescription(report: Report): string;
16
- GetReportExpressionDescription(Report: Report, cols: AdaptableColumn[]): string;
17
- PublishLiveLiveDataChangedEvent(reportDestination: 'OpenFin' | 'ipushpull', liveDataChangedTrigger: 'Connected' | 'Disconnected' | 'SnapshotSent' | 'LiveDataStarted' | 'LiveDataStopped' | 'LiveDataUpdated', liveReport?: any): void;
18
- getReportDataColumns(report: Report, includePrimaryKey?: boolean): AdaptableColumnBase[];
19
- getReportDataRows(report: Report, columns: AdaptableColumnBase[], includePrimaryKey?: boolean): Record<string, any>[];
20
- getReportData(report: Report, includePrimaryKey?: boolean): ReportData;
21
- getReportDataAsArray(report: Report, includePrimaryKey?: boolean): any[][];
22
- getReportDataColumns(report: Report, includePrimaryKey?: boolean): AdaptableColumnBase[];
23
- convertReportDataToArray(reportData: ReportData): any[][];
24
- getCellExportValueFromRowNode(rowNode: IRowNode, columnId: string): any;
25
- getCellExportValueFromRawValue(rowNode: IRowNode, rawValue: any, columnId: string): any;
26
- getReportFileName(reportName: string, destination: SystemExportDestination | CustomDestination): string;
27
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,41 +0,0 @@
1
- import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
2
- import { Report, ReportData, SystemReportName } from '../../PredefinedConfig/ExportState';
3
- import { IReportService } from './Interface/IReportService';
4
- import { ExcelStyle, IRowNode } from '@ag-grid-community/core';
5
- import { AdaptableReportColumn, SystemExportDestination } from '../../AdaptableOptions/ExportOptions';
6
- import { AdaptableApi, CustomDestination } from '../../../types';
7
- export declare class ReportService implements IReportService {
8
- private adaptableApi;
9
- private excelStylesCache;
10
- private cellClassKey2excelStyleIdMap;
11
- private excelStylesWithFormattedDate;
12
- constructor(adaptableApi: AdaptableApi);
13
- destroy(): void;
14
- getExcelStyleIdForCellClassKey(cellClassKey: string): string;
15
- getExcelStyleWithFormattedDate(cellClassId: string): string;
16
- CreateSystemReport(systemReportName: SystemReportName): Report;
17
- IsSystemReport(reportName: string): boolean;
18
- IsSystemReportActive(reportName: SystemReportName): boolean;
19
- IsSystemExportDestinationActive(exportDestination: SystemExportDestination): boolean;
20
- GetReportColumnScopeShortDescription(report: Report): string[];
21
- GetReportColumnScopeLongDescription(report: Report): string;
22
- GetReportExpressionDescription(report: Report, cols: AdaptableColumn[]): string;
23
- getReportDataColumns(report: Report, includePrimaryKey?: boolean): AdaptableReportColumn[];
24
- getReportDataRows(report: Report, columns: AdaptableReportColumn[], includePrimaryKey?: boolean): Record<string, any>[];
25
- getReportData(report: Report, includePrimaryKey?: boolean): ReportData;
26
- getReportDataAsArray(report: Report, includePrimaryKey?: boolean): any[][];
27
- convertReportDataToArray(reportData: ReportData): any[][];
28
- getRowObjectForColumnIds(rowNode: IRowNode, columnIds: string[]): Record<string, any>;
29
- PublishLiveLiveDataChangedEvent(reportDestination: 'ipushpull', liveDataTrigger: 'Connected' | 'Disconnected' | 'LiveDataStarted' | 'LiveDataStopped' | 'LiveDataUpdated', liveReport?: any): void;
30
- getCellExportValueFromRowNode(rowNode: IRowNode, columnId: string): any;
31
- getCellExportValueFromRawValue(rowNode: IRowNode, cellRawValue: any, columnId: string): any;
32
- getReportFileName(reportName: string, destination: SystemExportDestination | CustomDestination): string;
33
- private getCustomExportDateFormat;
34
- private getCellExportValueFromRawValueByType;
35
- buildExcelStylesForVisualReports(): ExcelStyle[];
36
- createExcelStyleMemoization(): void;
37
- private convertCSSToExcelStyle;
38
- private resetExcelStyleMemoization;
39
- private registerExcelStyle;
40
- private registerExcelStyleWithFormattedDate;
41
- }