@adaptabletools/adaptable-cjs 18.1.15-canary.0 → 19.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-cjs",
3
- "version": "18.1.15-canary.0",
3
+ "version": "19.0.0",
4
4
  "description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -26,7 +26,7 @@ export interface DataChangeHistoryOptions<TData = any> {
26
26
  */
27
27
  changeHistoryButton?: DataChangeHistoryButton<TData> | DataChangeHistoryButton<TData>[];
28
28
  /**
29
- * Whether to show all changes for each cell or just the last one
29
+ * Show all changes for each Cell or just the last one
30
30
  * @defaultValue true
31
31
  */
32
32
  showLastDataChangeOnly?: boolean;
@@ -33,14 +33,6 @@ export interface GridApi {
33
33
  * Retrieves visible data from the grid (filtered and sorted)
34
34
  */
35
35
  getVisibleData(): any[];
36
- /**
37
- * @deprecated use `loadGridData()` instead
38
- */
39
- resetGridData(data: any[]): void;
40
- /**
41
- * @deprecated use `loadGridData()` instead
42
- */
43
- setInitialGridData(data: any): void;
44
36
  /**
45
37
  * Loads data into grid and fire a `GridDataChanged.trigger='Load'` event
46
38
  * @param data data to load
@@ -360,12 +352,6 @@ export interface GridApi {
360
352
  * Whether AdapTable instance can be Row Grouped
361
353
  */
362
354
  isGridGroupable(): boolean;
363
- /**
364
- * Whether AdapTable instance offers row selection
365
- *
366
- * @deprecated use `isGridRowSelectable()` instead
367
- */
368
- isGridSelectable(): boolean;
369
355
  /**
370
356
  * Whether AdapTable instance offers row selection
371
357
  */
@@ -536,12 +522,6 @@ export interface GridApi {
536
522
  * Returns AG Grid Row Model Type
537
523
  */
538
524
  getAgGridRowModelType(): RowModelType;
539
- /**
540
- * Returns number of visible rows in Data Source
541
- *
542
- * @deprecated use `getRowCount()` instead
543
- */
544
- getVisibleRowCount(): number;
545
525
  /**
546
526
  * Opens a window with a transposed view of Grid
547
527
  */
@@ -21,8 +21,6 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
21
21
  getVariant(): AdaptableVariant;
22
22
  getGridState(): GridState;
23
23
  loadGridData(dataSource: any): void;
24
- resetGridData(dataSource: any[]): void;
25
- setInitialGridData(data: any): void;
26
24
  getGridData(): any[];
27
25
  getFilteredData(): any[];
28
26
  getVisibleData(): any[];
@@ -94,7 +92,6 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
94
92
  expandRowGroupsForValues(columnValues: any[]): void;
95
93
  isGridPivotable(): boolean;
96
94
  isGridGroupable(): boolean;
97
- isGridSelectable(): boolean;
98
95
  isGridRowSelectable(): boolean;
99
96
  isGridRangeSelectable(): boolean;
100
97
  isGridRowGrouped(): boolean;
@@ -136,7 +133,6 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
136
133
  getGridContainerElement(): HTMLElement | null;
137
134
  openGridInfoSettingsPanel(): void;
138
135
  getAgGridRowModelType(): RowModelType;
139
- getVisibleRowCount(): number;
140
136
  showTransposedView(transposeConfig?: TransposeConfig): void;
141
137
  getAllAgGridColumns(): Column<any>[];
142
138
  }
@@ -8,7 +8,6 @@ const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
8
8
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
9
9
  const GridInternalApi_1 = require("../Internal/GridInternalApi");
10
10
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
11
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
12
11
  const windowFactory_1 = require("../../View/Components/Popups/WindowPopups/windowFactory");
13
12
  const RowSummary_1 = require("../../PredefinedConfig/Common/RowSummary");
14
13
  class GridApiImpl extends ApiBase_1.ApiBase {
@@ -32,14 +31,6 @@ class GridApiImpl extends ApiBase_1.ApiBase {
32
31
  const allRowNodes = this.getAllRowNodes();
33
32
  this.internalApi.fireGridDataChangedEvent(dataSource, allRowNodes, 'Load');
34
33
  }
35
- resetGridData(dataSource) {
36
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'GridApi', 'resetGridData', 'loadGridData');
37
- this.loadGridData(dataSource);
38
- }
39
- setInitialGridData(data) {
40
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'GridApi', 'setInitialGridData', 'loadGridData');
41
- this.loadGridData(data);
42
- }
43
34
  getGridData() {
44
35
  return this.adaptable.getGridData();
45
36
  }
@@ -363,10 +354,6 @@ class GridApiImpl extends ApiBase_1.ApiBase {
363
354
  isGridGroupable() {
364
355
  return !this.getAdaptableApi().internalApi.isGridInTreeMode();
365
356
  }
366
- isGridSelectable() {
367
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'GridApi', 'isGridSelectable', 'isGridRowSelectable');
368
- return this.isGridRowSelectable();
369
- }
370
357
  isGridRowSelectable() {
371
358
  return this.adaptable.isGridRowSelectable();
372
359
  }
@@ -548,10 +535,6 @@ class GridApiImpl extends ApiBase_1.ApiBase {
548
535
  getAgGridRowModelType() {
549
536
  return this.adaptable.getAgGridRowModelType();
550
537
  }
551
- getVisibleRowCount() {
552
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'GridApi', 'getVisibleRowCount', 'getRowCount');
553
- return this.getRowCount();
554
- }
555
538
  showTransposedView(transposeConfig = {}) {
556
539
  var _a, _b, _c, _d, _e;
557
540
  const transposedColumnId = (_a = transposeConfig.transposedColumnId) !== null && _a !== void 0 ? _a : this.getAdaptableApi().optionsApi.getPrimaryKey();
@@ -6,6 +6,7 @@ import { ColumnSort } from '../../PredefinedConfig/Common/ColumnSort';
6
6
  import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupProps';
7
7
  import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
8
8
  import { LayoutInternalApi } from '../Internal/LayoutInternalApi';
9
+ import { ExtendedLayoutInfo } from '../../PredefinedConfig/Common/ExtendedLayoutInfo';
9
10
  export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
10
11
  internalApi: LayoutInternalApi;
11
12
  constructor(adaptable: IAdaptable);
@@ -22,6 +23,7 @@ export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
22
23
  getCurrentLayoutColumnSort(columnId: string): ColumnSort['SortOrder'] | null;
23
24
  getCurrentLayoutName(): string;
24
25
  getLayoutByName(layoutName: string): Layout | null;
26
+ getExtendedLayoutByName(layoutName: string): ExtendedLayoutInfo | undefined;
25
27
  getLayouts(): Layout[];
26
28
  getLayoutById(id: Layout['Uuid']): Layout;
27
29
  saveCurrentLayout(): void;
@@ -78,6 +78,67 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
78
78
  }
79
79
  }
80
80
  }
81
+ getExtendedLayoutByName(layoutName) {
82
+ const layout = this.getLayoutByName(layoutName);
83
+ if (!layout) {
84
+ return undefined;
85
+ }
86
+ const config = {
87
+ includeLayoutNotAssociatedObjects: true,
88
+ associatedWithLayout: layoutName,
89
+ };
90
+ // cannot see a better way than to go through this module by module...
91
+ let extensions = [];
92
+ this.getAlertApi()
93
+ .getAlertDefinitions(config)
94
+ .forEach((obj) => {
95
+ extensions.push({ Module: 'Alert', Object: obj });
96
+ });
97
+ this.getCustomSortApi()
98
+ .getCustomSorts(config)
99
+ .forEach((obj) => {
100
+ extensions.push({ Module: 'CustomSort', Object: obj });
101
+ });
102
+ this.getFlashingCellApi()
103
+ .getFlashingCellDefinitions(config)
104
+ .forEach((obj) => {
105
+ extensions.push({ Module: 'FlashingCell', Object: obj });
106
+ });
107
+ this.getFormatColumnApi()
108
+ .getFormatColumns(config)
109
+ .forEach((obj) => {
110
+ extensions.push({ Module: 'FormatColumn', Object: obj });
111
+ });
112
+ this.getPlusMinusApi()
113
+ .getAllPlusMinus(config)
114
+ .forEach((obj) => {
115
+ extensions.push({ Module: 'PlusMinus', Object: obj });
116
+ });
117
+ this.getScheduleApi()
118
+ .getReminderSchedules(config)
119
+ .forEach((obj) => {
120
+ extensions.push({ Module: 'Schedule', Object: obj });
121
+ });
122
+ this.getScheduleApi()
123
+ .getReportSchedules(config)
124
+ .forEach((obj) => {
125
+ extensions.push({ Module: 'Schedule', Object: obj });
126
+ });
127
+ this.getShortcutApi()
128
+ .getShortcuts(config)
129
+ .forEach((obj) => {
130
+ extensions.push({ Module: 'Shortcut', Object: obj });
131
+ });
132
+ this.getStyledColumnApi()
133
+ .getStyledColumns(config)
134
+ .forEach((obj) => {
135
+ extensions.push({ Module: 'StyledColumn', Object: obj });
136
+ });
137
+ return {
138
+ Layout: layout,
139
+ Extensions: extensions,
140
+ };
141
+ }
81
142
  getLayouts() {
82
143
  var _a;
83
144
  return (_a = this.getAdaptableState().Layout.Layouts) !== null && _a !== void 0 ? _a : [];
@@ -29,8 +29,6 @@ export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfa
29
29
  getReadOnlyCellStyle(): AdaptableStyle | undefined;
30
30
  getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
31
31
  getCustomIconDefinition(iconName: string): import("../../types").AdaptableIcon | import("../../types").CustomIcon;
32
- showLoadingScreen(): void;
33
- hideLoadingScreen(): void;
34
32
  showProgressIndicator(config: ProgressIndicatorConfig): void;
35
33
  hideProgressIndicator(): void;
36
34
  openCustomWindowPopup(config: CustomWindowConfig): {
@@ -5,7 +5,6 @@ const tslib_1 = require("tslib");
5
5
  const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
6
6
  const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
7
7
  const ArrayExtensions_1 = require("../../Utilities/Extensions/ArrayExtensions");
8
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
9
8
  const WindowPopups_1 = require("../../View/Components/Popups/WindowPopups/WindowPopups");
10
9
  const UserInterfaceInternalApi_1 = require("../Internal/UserInterfaceInternalApi");
11
10
  const ApiBase_1 = require("./ApiBase");
@@ -172,14 +171,6 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
172
171
  }
173
172
  return customIcon;
174
173
  }
175
- showLoadingScreen() {
176
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'UserInterfaceApi', 'showLoadingScreen', 'showProgressIndicator');
177
- this.showProgressIndicator({ text: 'Loading' });
178
- }
179
- hideLoadingScreen() {
180
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'UserInterfaceApi', 'hideLoadingScreen', 'hideProgressIndicator');
181
- this.hideProgressIndicator();
182
- }
183
174
  showProgressIndicator(config) {
184
175
  if (config.delay) {
185
176
  this.showProgressIndicatorTimeout = setTimeout(() => {
@@ -1,4 +1,5 @@
1
1
  import { AdaptableColumn, ColumnSort } from '../../types';
2
+ import { ExtendedLayoutInfo } from '../PredefinedConfig/Common/ExtendedLayoutInfo';
2
3
  import { LayoutState, Layout } from '../PredefinedConfig/LayoutState';
3
4
  /**
4
5
  * Provides run-time access to the Layout Module and associated state
@@ -56,6 +57,12 @@ export interface LayoutApi {
56
57
  * @returns layout
57
58
  */
58
59
  getLayoutByName(layoutName: string): Layout | null;
60
+ /**
61
+ * Retrieves Layout with the given name
62
+ * @param layoutName Layout to retrieve
63
+ * @returns layout
64
+ */
65
+ getExtendedLayoutByName(layoutName: string): ExtendedLayoutInfo | undefined;
59
66
  /**
60
67
  * Retrieves all Layouts in Adaptable State
61
68
  * @returns layouts
@@ -71,16 +71,6 @@ export interface UserInterfaceApi {
71
71
  * @param name name of Icon
72
72
  */
73
73
  getCustomIconDefinition(name: string): AdaptableIcon | undefined;
74
- /**
75
- * Displays the popup that says getting data and initialising grid
76
- * @deprecated use `showProgressIndicator()` instead
77
- */
78
- showLoadingScreen(): void;
79
- /**
80
- * Hides the popup that says getting data and initialising grid
81
- * @deprecated use `hideProgressIndicator()` instead
82
- */
83
- hideLoadingScreen(): void;
84
74
  /**
85
75
  * Displays a progress indicator
86
76
  * @param config.progressText - text to display in the progress indicator
@@ -0,0 +1,12 @@
1
+ import { AdaptableModule, AdaptableObject, Layout } from '../../types';
2
+ /**
3
+ * Defines an Extended Layout - provides a Layout and all objects that refer to it
4
+ */
5
+ export interface ExtendedLayoutInfo {
6
+ Layout: Layout;
7
+ Extensions: LayoutExtension[];
8
+ }
9
+ export interface LayoutExtension {
10
+ Module: AdaptableModule;
11
+ Object: AdaptableObject;
12
+ }
@@ -45,10 +45,6 @@ export interface FormatColumn extends SuspendableObject {
45
45
  * Which types of Rows should be formatted (data, grouped, summary)
46
46
  */
47
47
  RowScope?: RowScope;
48
- /**
49
- * @deprecated FormatColumns now apply to Group Rows by default; use RowScope for more control
50
- */
51
- IncludeGroupedRows?: never;
52
48
  }
53
49
  /**
54
50
  * The Format Column Rule - can be either a Predicate or a BooleanExpression
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const AdaptableModuleBase_1 = require("./AdaptableModuleBase");
6
6
  const ModuleConstants = tslib_1.__importStar(require("../Utilities/Constants/ModuleConstants"));
7
7
  const DashboardRedux = tslib_1.__importStar(require("../Redux/ActionsReducers/DashboardRedux"));
8
+ const ArrayExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/ArrayExtensions"));
8
9
  class DashboardModule extends AdaptableModuleBase_1.AdaptableModuleBase {
9
10
  constructor(api) {
10
11
  super(ModuleConstants.DashboardModuleId, ModuleConstants.DashboardFriendlyName, 'dashboard', 'DashboardPopup', 'The Dashboard - usually placed above the Grid - is designed to provide quick access to commonly required AdapTable functionalty', api);
@@ -30,22 +31,25 @@ class DashboardModule extends AdaptableModuleBase_1.AdaptableModuleBase {
30
31
  buildMenuItems() {
31
32
  if (this.isModuleAvailable()) {
32
33
  let menuItems = [];
34
+ const dashboardState = this.api.dashboardApi.getDashboardState();
33
35
  if (this.isModuleEditable()) {
34
36
  menuItems.push(this.createMenuItemClickFunction('dashboard-configure', 'Configure', 'settings', () => this.api.dashboardApi.openDashboardSettingsPanel()));
35
37
  }
36
- if (this.api.dashboardApi.getDashboardState().IsCollapsed) {
37
- menuItems.push(this.createMenuItemReduxAction('dashboard-expand', 'Expand', 'expand', DashboardRedux.DashboardSetIsCollapsed(false)));
38
+ if (ArrayExtensions_1.default.IsNotNullOrEmpty(dashboardState.Tabs)) {
39
+ if (dashboardState.IsCollapsed) {
40
+ menuItems.push(this.createMenuItemReduxAction('dashboard-expand', 'Expand', 'expand', DashboardRedux.DashboardSetIsCollapsed(false)));
41
+ }
42
+ else {
43
+ menuItems.push(this.createMenuItemReduxAction('dashboard-collapse', 'Collapse', 'collapse', DashboardRedux.DashboardSetIsCollapsed(true)));
44
+ }
38
45
  }
39
- else {
40
- menuItems.push(this.createMenuItemReduxAction('dashboard-collapse', 'Collapse', 'collapse', DashboardRedux.DashboardSetIsCollapsed(true)));
41
- }
42
- if (this.api.dashboardApi.getDashboardState().IsFloating) {
46
+ if (dashboardState.IsFloating) {
43
47
  menuItems.push(this.createMenuItemReduxAction('dashboard-dock', 'Dock', 'dock', DashboardRedux.DashboardSetIsFloating(false)));
44
48
  }
45
49
  else if (this.api.optionsApi.getDashboardOptions().canFloat) {
46
50
  menuItems.push(this.createMenuItemReduxAction('dashboard-float', 'Float', 'dock', DashboardRedux.DashboardSetIsFloating(true)));
47
51
  }
48
- if (this.api.dashboardApi.getDashboardState().IsHidden) {
52
+ if (dashboardState.IsHidden) {
49
53
  menuItems.push(this.createMenuItemReduxAction('dashboard-show', 'Show', 'visibility-on-bold', DashboardRedux.DashboardSetIsHidden(false)));
50
54
  }
51
55
  else {
@@ -7,6 +7,7 @@ const React = tslib_1.__importStar(require("react"));
7
7
  const CheckBox_1 = require("../../components/CheckBox");
8
8
  const react_redux_1 = require("react-redux");
9
9
  const rebass_1 = require("rebass");
10
+ const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
10
11
  class DashboardViewPanelComponent extends React.Component {
11
12
  constructor(props) {
12
13
  super(props);
@@ -15,7 +16,7 @@ class DashboardViewPanelComponent extends React.Component {
15
16
  const elementType = this.props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
16
17
  return (React.createElement(rebass_1.Flex, { flexDirection: "row", className: `ab-${elementType}__Dashboard__wrap`, flexWrap: this.props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
17
18
  ' ',
18
- React.createElement(CheckBox_1.CheckBox, { className: `ab-${elementType}__Dashboard__collapsed-check`, marginTop: 0, fontSize: 2, padding: 1, checked: this.props.IsCollapsed, onChange: (checked) => this.props.onSetDashboardCollapsed(checked) }, "Collapse"),
19
+ ArrayExtensions_1.default.IsNotNullOrEmpty(this.props.api.dashboardApi.getDashboardState().Tabs) && (React.createElement(CheckBox_1.CheckBox, { className: `ab-${elementType}__Dashboard__collapsed-check`, marginTop: 0, fontSize: 2, padding: 1, checked: this.props.IsCollapsed, onChange: (checked) => this.props.onSetDashboardCollapsed(checked) }, "Collapse")),
19
20
  '',
20
21
  this.props.api.optionsApi.getDashboardOptions().canFloat && (React.createElement(CheckBox_1.CheckBox, { className: `ab-${elementType}__Dashboard__collapsed-check`, marginTop: 0, fontSize: 2, padding: 1, checked: this.props.IsFloating, onChange: (checked) => this.props.onSetDashboardFloating(checked) }, "Float")),
21
22
  ' ',
@@ -42,6 +42,7 @@ interface AdaptableInitInternalConfig<TData = any> {
42
42
  export declare class AdaptableAgGrid implements IAdaptable {
43
43
  logger: AdaptableLogger;
44
44
  private _id;
45
+ private _agGridId;
45
46
  lifecycleState: AdaptableLifecycleState;
46
47
  variant: AdaptableVariant;
47
48
  private emitter;
@@ -103,10 +103,15 @@ const GridOptionsService_updateGridOptions = core_1.GridOptionsService.prototype
103
103
  const EventService_Prototype = core_1.EventService.prototype;
104
104
  const EventService_wireBeans = EventService_Prototype.wireBeans;
105
105
  // AG GRID obfuscates its internals, this is (currently) the best way to get hold of its internal services
106
- let DANGER_AG_GRID_BEANS;
106
+ const DANGER_AG_GRID_BEANS_MAP = {};
107
107
  EventService_Prototype.wireBeans = function (beans) {
108
+ var _a;
108
109
  EventService_wireBeans.apply(this, arguments);
109
- DANGER_AG_GRID_BEANS = beans;
110
+ const gridId = (_a = beans === null || beans === void 0 ? void 0 : beans.context) === null || _a === void 0 ? void 0 : _a.getGridId();
111
+ if (!gridId) {
112
+ console.error('CRITICAL: No gridId found in beans, this should never happen!');
113
+ }
114
+ DANGER_AG_GRID_BEANS_MAP[gridId] = beans;
110
115
  };
111
116
  LocalEventService_Prototype.dispatchEvent = function (event) {
112
117
  LocalEventService_dispatchEvent.apply(this, arguments);
@@ -583,7 +588,9 @@ class AdaptableAgGrid {
583
588
  * `gridId`
584
589
  */
585
590
  this.agGridOptionsService.setGridOptionsProperty(gridOptions, 'gridId', (original_gridId) => {
586
- return original_gridId || this.adaptableOptions.adaptableId;
591
+ const agGridId = original_gridId || this.adaptableOptions.adaptableId;
592
+ this._agGridId = agGridId;
593
+ return agGridId;
587
594
  });
588
595
  /**
589
596
  * `getRowId`
@@ -3029,7 +3036,7 @@ class AdaptableAgGrid {
3029
3036
  }
3030
3037
  }
3031
3038
  }
3032
- DANGER_AG_GRID_BEANS = null;
3039
+ DANGER_AG_GRID_BEANS_MAP[this._agGridId] = null;
3033
3040
  if ((config === null || config === void 0 ? void 0 : config.destroyApi) === true) {
3034
3041
  (_b = this.agGridAdapter.getAgGridApi()) === null || _b === void 0 ? void 0 : _b.destroy();
3035
3042
  }
@@ -4050,7 +4057,11 @@ class AdaptableAgGrid {
4050
4057
  };
4051
4058
  }
4052
4059
  DANGER_getPrivateAgGridBeans() {
4053
- return DANGER_AG_GRID_BEANS;
4060
+ const beans = DANGER_AG_GRID_BEANS_MAP[this._agGridId];
4061
+ if (!beans) {
4062
+ this.logger.consoleError('Could not get hold of AgGridBeans! This is a critical error and will prevent Adaptable from working correctly.');
4063
+ }
4064
+ return beans;
4054
4065
  }
4055
4066
  }
4056
4067
  exports.AdaptableAgGrid = AdaptableAgGrid;
@@ -380,11 +380,11 @@ class AgGridMenuAdapter {
380
380
  icon: 'export-data',
381
381
  }));
382
382
  return this.normalizeMenuGroup(this.buildMenuGroupParent('Export', [
383
- ...visualDataExportItems,
384
383
  ...allDataExportItems,
385
384
  ...currentDataExportItems,
386
385
  ...selectedCellsExportItems,
387
386
  ...selectedRowsExportItems,
387
+ ...visualDataExportItems,
388
388
  ], {
389
389
  label: 'Export',
390
390
  icon: 'export',
@@ -475,19 +475,19 @@ class AgGridMenuAdapter {
475
475
  ],
476
476
  };
477
477
  /*
478
- const calculatedColumnMenuItem: AdaptableMenuItem = {
479
- name: 'calculated-column-group',
480
- label: 'Calculated Column',
481
- module: 'CalculatedColumn',
482
- isVisible: true,
483
- icon: {
484
- name: 'columns',
485
- },
486
- subItems: [
487
- ...calculatedColumnMenuItems,
488
- ],
489
- };
490
- */
478
+ const calculatedColumnMenuItem: AdaptableMenuItem = {
479
+ name: 'calculated-column-group',
480
+ label: 'Calculated Column',
481
+ module: 'CalculatedColumn',
482
+ isVisible: true,
483
+ icon: {
484
+ name: 'columns',
485
+ },
486
+ subItems: [
487
+ ...calculatedColumnMenuItems,
488
+ ],
489
+ };
490
+ */
491
491
  const columnMenuItem = {
492
492
  name: 'column-group',
493
493
  label: 'Column',
package/src/env.js CHANGED
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
5
- PUBLISH_TIMESTAMP: 1724081730492 || Date.now(),
6
- VERSION: "18.1.15-canary.0" || '--current-version--',
5
+ PUBLISH_TIMESTAMP: 1724773418300 || Date.now(),
6
+ VERSION: "19.0.0" || '--current-version--',
7
7
  };
@@ -3251,6 +3251,11 @@ export declare const ADAPTABLE_METAMODEL: {
3251
3251
  noCode?: undefined;
3252
3252
  })[];
3253
3253
  };
3254
+ ExtendedLayoutInfo: {
3255
+ name: string;
3256
+ kind: string;
3257
+ desc: string;
3258
+ };
3254
3259
  ExternalChartingContext: {
3255
3260
  name: string;
3256
3261
  kind: string;