@adaptabletools/adaptable 19.1.0-canary.0 → 19.1.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.
Files changed (131) hide show
  1. package/package.json +1 -1
  2. package/src/AdaptableOptions/FormatColumnOptions.d.ts +4 -4
  3. package/src/Api/GridApi.d.ts +2 -1
  4. package/src/Api/Implementation/ActionColumnApiImpl.d.ts +0 -2
  5. package/src/Api/Implementation/ActionColumnApiImpl.js +1 -4
  6. package/src/Api/Implementation/ActionRowApiImpl.d.ts +1 -1
  7. package/src/Api/Implementation/ActionRowApiImpl.js +4 -4
  8. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  9. package/src/Api/Implementation/AdaptableApiImpl.js +6 -0
  10. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -1
  11. package/src/Api/Implementation/AlertApiImpl.js +16 -15
  12. package/src/Api/Implementation/ApiBase.d.ts +12 -3
  13. package/src/Api/Implementation/ApiBase.js +39 -24
  14. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +1 -1
  15. package/src/Api/Implementation/CalculatedColumnApiImpl.js +3 -3
  16. package/src/Api/Implementation/CalendarApiImpl.js +1 -1
  17. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  18. package/src/Api/Implementation/ChartingApiImpl.js +9 -9
  19. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
  20. package/src/Api/Implementation/ColumnApiImpl.js +18 -18
  21. package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +1 -1
  22. package/src/Api/Implementation/ColumnFilterApiImpl.js +7 -7
  23. package/src/Api/Implementation/ColumnMenuApiImpl.d.ts +0 -2
  24. package/src/Api/Implementation/ColumnMenuApiImpl.js +2 -5
  25. package/src/Api/Implementation/CommentsApiImpl.d.ts +1 -1
  26. package/src/Api/Implementation/CommentsApiImpl.js +6 -4
  27. package/src/Api/Implementation/ConfigApiImpl.js +23 -24
  28. package/src/Api/Implementation/ContextMenuApiImpl.d.ts +0 -2
  29. package/src/Api/Implementation/ContextMenuApiImpl.js +1 -4
  30. package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -1
  31. package/src/Api/Implementation/CustomSortApiImpl.js +3 -3
  32. package/src/Api/Implementation/DashboardApiImpl.d.ts +1 -1
  33. package/src/Api/Implementation/DashboardApiImpl.js +5 -5
  34. package/src/Api/Implementation/DataImportApiImpl.d.ts +1 -1
  35. package/src/Api/Implementation/DataImportApiImpl.js +3 -3
  36. package/src/Api/Implementation/DataSetApiImpl.d.ts +1 -1
  37. package/src/Api/Implementation/DataSetApiImpl.js +5 -5
  38. package/src/Api/Implementation/EntitlementApiImpl.d.ts +1 -1
  39. package/src/Api/Implementation/EntitlementApiImpl.js +5 -5
  40. package/src/Api/Implementation/EventApiImpl.d.ts +1 -1
  41. package/src/Api/Implementation/EventApiImpl.js +2 -2
  42. package/src/Api/Implementation/ExportApiImpl.d.ts +1 -1
  43. package/src/Api/Implementation/ExportApiImpl.js +7 -7
  44. package/src/Api/Implementation/ExpressionApiImpl.d.ts +1 -1
  45. package/src/Api/Implementation/ExpressionApiImpl.js +5 -5
  46. package/src/Api/Implementation/Fdc3ApiImpl.d.ts +1 -1
  47. package/src/Api/Implementation/Fdc3ApiImpl.js +4 -4
  48. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +1 -1
  49. package/src/Api/Implementation/FlashingCellApiImpl.js +7 -7
  50. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
  51. package/src/Api/Implementation/FormatColumnApiImpl.js +4 -4
  52. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
  53. package/src/Api/Implementation/FreeTextColumnApiImpl.js +4 -4
  54. package/src/Api/Implementation/GridApiImpl.d.ts +3 -2
  55. package/src/Api/Implementation/GridApiImpl.js +106 -103
  56. package/src/Api/Implementation/GridFilterApiImpl.d.ts +1 -1
  57. package/src/Api/Implementation/GridFilterApiImpl.js +4 -4
  58. package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -1
  59. package/src/Api/Implementation/LayoutApiImpl.js +3 -3
  60. package/src/Api/Implementation/NamedQueryApiImpl.d.ts +1 -1
  61. package/src/Api/Implementation/NamedQueryApiImpl.js +3 -3
  62. package/src/Api/Implementation/NoteApiImpl.d.ts +1 -1
  63. package/src/Api/Implementation/NoteApiImpl.js +3 -3
  64. package/src/Api/Implementation/OptionsApiImpl.js +7 -7
  65. package/src/Api/Implementation/PluginsApiImpl.js +1 -1
  66. package/src/Api/Implementation/PlusMinusApiImpl.js +1 -1
  67. package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -1
  68. package/src/Api/Implementation/PredicateApiImpl.js +4 -4
  69. package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -1
  70. package/src/Api/Implementation/ScheduleApiImpl.js +3 -3
  71. package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
  72. package/src/Api/Implementation/StatusBarApiImpl.js +1 -1
  73. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -1
  74. package/src/Api/Implementation/StyledColumnApiImpl.js +4 -4
  75. package/src/Api/Implementation/SystemStatusApiImpl.d.ts +1 -1
  76. package/src/Api/Implementation/SystemStatusApiImpl.js +4 -4
  77. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +1 -1
  78. package/src/Api/Implementation/TeamSharingApiImpl.js +11 -11
  79. package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -1
  80. package/src/Api/Implementation/ThemeApiImpl.js +8 -8
  81. package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
  82. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -1
  83. package/src/Api/Implementation/UserInterfaceApiImpl.js +5 -5
  84. package/src/Api/Internal/ActionRowInternalApi.js +8 -8
  85. package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -0
  86. package/src/Api/Internal/AdaptableInternalApi.js +55 -50
  87. package/src/Api/Internal/AlertInternalApi.js +9 -9
  88. package/src/Api/Internal/CalculatedColumnInternalApi.js +11 -9
  89. package/src/Api/Internal/ChartingInternalApi.js +1 -1
  90. package/src/Api/Internal/ColumnFilterInternalApi.js +7 -9
  91. package/src/Api/Internal/ColumnInternalApi.js +3 -3
  92. package/src/Api/Internal/CustomSortInternalApi.js +3 -3
  93. package/src/Api/Internal/DashboardInternalApi.js +4 -3
  94. package/src/Api/Internal/DataImportInternalApi.js +2 -2
  95. package/src/Api/Internal/DataSetInternalApi.js +2 -2
  96. package/src/Api/Internal/ExportInternalApi.js +21 -22
  97. package/src/Api/Internal/ExpressionInternalApi.js +4 -4
  98. package/src/Api/Internal/Fdc3InternalApi.d.ts +0 -1
  99. package/src/Api/Internal/Fdc3InternalApi.js +9 -12
  100. package/src/Api/Internal/FlashingCellInternalApi.js +2 -2
  101. package/src/Api/Internal/FormatColumnInternalApi.js +2 -3
  102. package/src/Api/Internal/FreeTextColumnInternalApi.js +5 -2
  103. package/src/Api/Internal/GridFilterInternalApi.js +2 -2
  104. package/src/Api/Internal/GridInternalApi.js +26 -26
  105. package/src/Api/Internal/LayoutInternalApi.js +6 -5
  106. package/src/Api/Internal/NamedQueryInternalApi.js +2 -2
  107. package/src/Api/Internal/PredicateInternalApi.js +5 -5
  108. package/src/Api/Internal/ScheduleInternalApi.js +1 -1
  109. package/src/Api/Internal/StyledColumnInternalApi.js +2 -2
  110. package/src/Api/Internal/SystemStatusInternalApi.js +1 -1
  111. package/src/Api/Internal/TeamSharingInternalApi.js +2 -2
  112. package/src/Api/Internal/ThemeInternalApi.js +1 -1
  113. package/src/Strategy/NoteModule.d.ts +0 -1
  114. package/src/Strategy/NoteModule.js +4 -5
  115. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +1 -1
  116. package/src/Utilities/Services/AggregatedScalarLiveValue.js +1 -1
  117. package/src/Utilities/Services/CellPopupService.js +4 -4
  118. package/src/Utilities/Services/Fdc3Service.js +1 -3
  119. package/src/Utilities/Services/FlashingCellService.d.ts +0 -2
  120. package/src/Utilities/Services/FlashingCellService.js +2 -3
  121. package/src/Utilities/Services/RowEditService.js +3 -5
  122. package/src/View/Alert/AlertStatusSubPanel.js +4 -4
  123. package/src/View/Charting/ShowChartButton.js +4 -4
  124. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +14 -13
  125. package/src/agGrid/FloatingFilterWrapper.js +4 -3
  126. package/src/components/Datepicker/index.d.ts +1 -1
  127. package/src/components/ExpressionEditor/DataTableEditor.js +3 -3
  128. package/src/components/ExpressionEditor/ExpressionPreview.js +4 -4
  129. package/src/env.js +2 -2
  130. package/src/metamodel/adaptable.metamodel.js +1 -1
  131. package/tsconfig.esm.tsbuildinfo +1 -1
@@ -7,7 +7,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
7
7
  import { AppIdentifier } from '@finos/fdc3/dist/api/AppIdentifier';
8
8
  export declare class Fdc3ApiImpl extends ApiBase implements Fdc3Api {
9
9
  internalApi: Fdc3InternalApi;
10
- constructor(adaptable: IAdaptable);
10
+ constructor(_adaptable: IAdaptable);
11
11
  getDesktopAgent(): DesktopAgent;
12
12
  buildContextDataFromRow(contextType: ContextType, rowNode: IRowNode): Context;
13
13
  buildContextDataForPrimaryKey(contextType: ContextType, primaryKeyValue: string | number): Context | undefined;
@@ -2,9 +2,9 @@ import { ApiBase } from './ApiBase';
2
2
  import { Fdc3InternalApi } from '../Internal/Fdc3InternalApi';
3
3
  import { ContextConfiguration } from '../../PredefinedConfig/Common/Fdc3Context';
4
4
  export class Fdc3ApiImpl extends ApiBase {
5
- constructor(adaptable) {
6
- super(adaptable);
7
- this.internalApi = new Fdc3InternalApi(adaptable);
5
+ constructor(_adaptable) {
6
+ super(_adaptable);
7
+ this.internalApi = new Fdc3InternalApi(_adaptable);
8
8
  }
9
9
  getDesktopAgent() {
10
10
  return this.getFdc3Service().getDesktopAgent();
@@ -69,7 +69,7 @@ export class Fdc3ApiImpl extends ApiBase {
69
69
  return this.internalApi.isStandardIntentType(intentType);
70
70
  }
71
71
  getFdc3Service() {
72
- return this.getAdaptableApi().internalApi.getFdc3Service();
72
+ return this.getAdaptableInternalApi().getFdc3Service();
73
73
  }
74
74
  getPossibleContextTypes(intent) {
75
75
  this.logWarn('Fdc3Api.getPossibleContextTypes is NO longer relevant as of FDC3 v1.2 and will be removed in a future version');
@@ -9,7 +9,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
9
9
  import { AdaptableObjectLookupCriteria } from '../../types';
10
10
  export declare class FlashingCellApiImpl extends ApiBase implements FlashingCellApi {
11
11
  internalApi: FlashingCellInternalApi;
12
- constructor(adaptable: IAdaptable);
12
+ constructor(_adaptable: IAdaptable);
13
13
  getFlashingCellState(): FlashingCellState;
14
14
  getFlashingCellDefinitions(config?: LayoutAssociatedObjectLoadConfig): FlashingCellDefinition[];
15
15
  getFlashingCellDefinitionById(id: FlashingCellDefinition['Uuid']): FlashingCellDefinition;
@@ -2,9 +2,9 @@ import * as FlashingCellRedux from '../../Redux/ActionsReducers/FlashingCellRedu
2
2
  import { ApiBase } from './ApiBase';
3
3
  import { FlashingCellInternalApi } from '../Internal/FlashingCellInternalApi';
4
4
  export class FlashingCellApiImpl extends ApiBase {
5
- constructor(adaptable) {
6
- super(adaptable);
7
- this.internalApi = new FlashingCellInternalApi(adaptable);
5
+ constructor(_adaptable) {
6
+ super(_adaptable);
7
+ this.internalApi = new FlashingCellInternalApi(_adaptable);
8
8
  }
9
9
  getFlashingCellState() {
10
10
  return this.getAdaptableState().FlashingCell;
@@ -32,7 +32,7 @@ export class FlashingCellApiImpl extends ApiBase {
32
32
  }
33
33
  showFlashingCell(flashingCellToShow) {
34
34
  this.addUidToAdaptableObject(flashingCellToShow);
35
- const flashingCellFiredInfo = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { flashingCell: flashingCellToShow });
35
+ const flashingCellFiredInfo = Object.assign(Object.assign({}, this.getAdaptableInternalApi().buildBaseContext()), { flashingCell: flashingCellToShow });
36
36
  const results = this.getAdaptableApi().eventApi.emitSync('FlashingCellDisplayed', flashingCellFiredInfo);
37
37
  const shouldShow = results.reduce((endResult, aResult) => {
38
38
  return endResult && aResult !== false;
@@ -94,13 +94,13 @@ export class FlashingCellApiImpl extends ApiBase {
94
94
  .filter((predicateDef) => this.getAdaptableApi().columnScopeApi.isScopeInScope(scope, predicateDef.columnScope));
95
95
  }
96
96
  clearAllFlashingCells() {
97
- this.getAdaptableApi().internalApi.getFlashingCellService().clearAllGridCellFlashes();
97
+ this.getAdaptableInternalApi().getFlashingCellService().clearAllGridCellFlashes();
98
98
  }
99
99
  isAnyFlashingCellActive() {
100
- return this.getAdaptableApi().internalApi.getFlashingCellService().isAnyFlashingCellActive();
100
+ return this.getAdaptableInternalApi().getFlashingCellService().isAnyFlashingCellActive();
101
101
  }
102
102
  findFlashingCellDefinitions(criteria) {
103
- return this.getAdaptableApi().internalApi.findAdaptableObjectsByLookupCriteria(criteria, this.getFlashingCellDefinitions({
103
+ return this.getAdaptableInternalApi().findAdaptableObjectsByLookupCriteria(criteria, this.getFlashingCellDefinitions({
104
104
  includeLayoutNotAssociatedObjects: true,
105
105
  }));
106
106
  }
@@ -8,7 +8,7 @@ import { FormatColumnInternalApi } from '../Internal/FormatColumnInternalApi';
8
8
  import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
9
9
  export declare class FormatColumnApiImpl extends ApiBase implements FormatColumnApi {
10
10
  internalApi: FormatColumnInternalApi;
11
- constructor(adaptable: IAdaptable);
11
+ constructor(_adaptable: IAdaptable);
12
12
  getFormatColumnState(): FormatColumnState;
13
13
  getFormatColumns(config?: {
14
14
  includeLayoutNotAssociatedObjects?: boolean;
@@ -3,9 +3,9 @@ import { ApiBase } from './ApiBase';
3
3
  import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
4
4
  import { FormatColumnInternalApi } from '../Internal/FormatColumnInternalApi';
5
5
  export class FormatColumnApiImpl extends ApiBase {
6
- constructor(adaptable) {
7
- super(adaptable);
8
- this.internalApi = new FormatColumnInternalApi(adaptable);
6
+ constructor(_adaptable) {
7
+ super(_adaptable);
8
+ this.internalApi = new FormatColumnInternalApi(_adaptable);
9
9
  }
10
10
  getFormatColumnState() {
11
11
  return this.getAdaptableState().FormatColumn;
@@ -108,7 +108,7 @@ export class FormatColumnApiImpl extends ApiBase {
108
108
  this.dispatchAction(FormatColumnRedux.FormatColumnMoveDown(formatColumn));
109
109
  }
110
110
  findFormatColumns(criteria) {
111
- return this.getAdaptableApi().internalApi.findAdaptableObjectsByLookupCriteria(criteria, this.getFormatColumns({
111
+ return this.getAdaptableInternalApi().findAdaptableObjectsByLookupCriteria(criteria, this.getFormatColumns({
112
112
  includeLayoutNotAssociatedObjects: true,
113
113
  }));
114
114
  }
@@ -6,7 +6,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
6
6
  import { FreeTextColumnInternalApi } from '../Internal/FreeTextColumnInternalApi';
7
7
  export declare class FreeTextColumnApiImpl extends ApiBase implements FreeTextColumnApi {
8
8
  internalApi: FreeTextColumnInternalApi;
9
- constructor(adaptable: IAdaptable);
9
+ constructor(_adaptable: IAdaptable);
10
10
  getFreeTextColumnState(): FreeTextColumnState;
11
11
  getFreeTextColumns(): FreeTextColumn[];
12
12
  getFreeTextColumnById(technicalId: FreeTextColumn['Uuid']): FreeTextColumn | undefined;
@@ -4,9 +4,9 @@ import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
4
4
  import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
5
5
  import { FreeTextColumnInternalApi } from '../Internal/FreeTextColumnInternalApi';
6
6
  export class FreeTextColumnApiImpl extends ApiBase {
7
- constructor(adaptable) {
8
- super(adaptable);
9
- this.internalApi = new FreeTextColumnInternalApi(adaptable);
7
+ constructor(_adaptable) {
8
+ super(_adaptable);
9
+ this.internalApi = new FreeTextColumnInternalApi(_adaptable);
10
10
  }
11
11
  getFreeTextColumnState() {
12
12
  return this.getAdaptableState().FreeTextColumn;
@@ -89,7 +89,7 @@ export class FreeTextColumnApiImpl extends ApiBase {
89
89
  return null;
90
90
  }
91
91
  if (ArrayExtensions.IsNotNullOrEmpty(freeTextColumn.FreeTextStoredValues)) {
92
- let pkValue = this.adaptable.getPrimaryKeyValueFromRowNode(rowNode);
92
+ let pkValue = this._adaptable.getPrimaryKeyValueFromRowNode(rowNode);
93
93
  let freeTextStoredValue = freeTextColumn.FreeTextStoredValues.find((fdx) => fdx.PrimaryKey == pkValue);
94
94
  if (freeTextStoredValue) {
95
95
  return freeTextStoredValue.FreeText;
@@ -17,7 +17,7 @@ import { GridInternalApi } from '../Internal/GridInternalApi';
17
17
  import { TransposeConfig } from '../../PredefinedConfig/Common/TransposeConfig';
18
18
  export declare class GridApiImpl extends ApiBase implements GridApi {
19
19
  internalApi: GridInternalApi;
20
- constructor(adaptable: IAdaptable);
20
+ constructor(_adaptable: IAdaptable);
21
21
  getVariant(): AdaptableVariant;
22
22
  getGridState(): GridState;
23
23
  loadGridData(dataSource: any): void;
@@ -114,7 +114,8 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
114
114
  unHighlightRow(primaryKeyValue: RowHighlightInfo['primaryKeyValue']): void;
115
115
  unHighlightRows(primaryKeyValues: RowsHighlightInfo['primaryKeyValues']): void;
116
116
  unHighlightAllRows(): void;
117
- refreshCells(rowNodes: IRowNode[], columnIds: string[]): void;
117
+ refreshCells(rowNodes: IRowNode[], columnIds: string[], suppressFlash?: boolean): void;
118
+ refreshAllCells(forceUpdate?: boolean): void;
118
119
  refreshGridCell(gridCell: GridCell): void;
119
120
  refreshGridCells(gridCells: GridCell[]): void;
120
121
  refreshColumn(columnId: string): void;