@adaptabletools/adaptable 16.0.0-canary.3 → 16.0.0-canary.5

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 (95) hide show
  1. package/README.md +2 -0
  2. package/base.css +31 -23
  3. package/base.css.map +1 -1
  4. package/bundle.cjs.js +184 -184
  5. package/index.css +43 -31
  6. package/index.css.map +1 -1
  7. package/package.json +10 -2
  8. package/publishTimestamp.d.ts +1 -1
  9. package/publishTimestamp.js +1 -1
  10. package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -0
  11. package/src/AdaptableOptions/AdaptableOptions.d.ts +9 -4
  12. package/src/AdaptableOptions/ColumnOptions.d.ts +1 -10
  13. package/src/AdaptableOptions/Fdc3Options.d.ts +279 -0
  14. package/src/AdaptableOptions/Fdc3Options.js +5 -0
  15. package/src/AdaptableOptions/FinancePluginOptions.d.ts +25 -25
  16. package/src/AdaptableOptions/GroupingOptions.d.ts +8 -0
  17. package/src/AdaptableOptions/OpenFinPluginOptions.d.ts +1 -1
  18. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +6 -6
  19. package/src/Api/AdaptableApi.d.ts +7 -2
  20. package/src/Api/ColumnApi.d.ts +0 -5
  21. package/src/Api/EventApi.d.ts +3 -3
  22. package/src/Api/Events/ThemeChanged.d.ts +0 -6
  23. package/src/Api/Events/ThemeEdited.d.ts +11 -0
  24. package/src/Api/Fdc3Api.d.ts +91 -0
  25. package/src/Api/Fdc3Api.js +2 -0
  26. package/src/Api/FinanceApi.d.ts +13 -13
  27. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  28. package/src/Api/Implementation/AdaptableApiImpl.js +3 -0
  29. package/src/Api/Implementation/ApiBase.d.ts +4 -0
  30. package/src/Api/Implementation/ApiBase.js +6 -0
  31. package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -1
  32. package/src/Api/Implementation/ColumnApiImpl.js +0 -3
  33. package/src/Api/Implementation/Fdc3ApiImpl.d.ts +28 -0
  34. package/src/Api/Implementation/Fdc3ApiImpl.js +87 -0
  35. package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -0
  36. package/src/Api/Implementation/OptionsApiImpl.js +3 -0
  37. package/src/Api/Implementation/QuickSearchApiImpl.d.ts +2 -0
  38. package/src/Api/Implementation/QuickSearchApiImpl.js +7 -0
  39. package/src/Api/Internal/ActionRowInternalApi.js +1 -1
  40. package/src/Api/Internal/AdaptableInternalApi.d.ts +11 -4
  41. package/src/Api/Internal/AdaptableInternalApi.js +59 -10
  42. package/src/Api/Internal/ColumnInternalApi.d.ts +1 -0
  43. package/src/Api/Internal/ColumnInternalApi.js +4 -0
  44. package/src/Api/Internal/Fdc3InternalApi.d.ts +27 -0
  45. package/src/Api/Internal/Fdc3InternalApi.js +442 -0
  46. package/src/Api/OptionsApi.d.ts +5 -0
  47. package/src/Api/QuickSearchApi.d.ts +8 -0
  48. package/src/PredefinedConfig/Common/AdaptableButton.d.ts +1 -1
  49. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  50. package/src/PredefinedConfig/Common/{FDC3Context.d.ts → FDC3Context_DEPR.d.ts} +22 -22
  51. package/src/PredefinedConfig/Common/FDC3Context_DEPR.js +2 -0
  52. package/src/PredefinedConfig/Common/Fdc3Context.d.ts +55 -0
  53. package/src/PredefinedConfig/Common/Fdc3Context.js +36 -0
  54. package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +71 -0
  55. package/src/PredefinedConfig/Common/Fdc3Intent.js +107 -0
  56. package/src/PredefinedConfig/Common/Types.d.ts +2 -2
  57. package/src/PredefinedConfig/SystemState.d.ts +3 -0
  58. package/src/Redux/ActionsReducers/SystemRedux.d.ts +12 -6
  59. package/src/Redux/ActionsReducers/SystemRedux.js +18 -2
  60. package/src/Redux/Store/AdaptableStore.js +2 -2
  61. package/src/Strategy/Fdc3Module.d.ts +13 -0
  62. package/src/Strategy/Fdc3Module.js +105 -0
  63. package/src/Utilities/Constants/GeneralConstants.d.ts +4 -0
  64. package/src/Utilities/Constants/GeneralConstants.js +6 -2
  65. package/src/Utilities/Constants/ModuleConstants.d.ts +3 -0
  66. package/src/Utilities/Constants/ModuleConstants.js +5 -2
  67. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +11 -1
  68. package/src/Utilities/Helpers/AdaptableHelper.js +3 -2
  69. package/src/Utilities/Services/Fdc3Service.d.ts +20 -0
  70. package/src/Utilities/Services/Fdc3Service.js +92 -0
  71. package/src/View/AdaptableView.js +9 -7
  72. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +9 -0
  73. package/src/View/Layout/Wizard/sections/Utilities.js +1 -1
  74. package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.d.ts +2 -0
  75. package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +26 -0
  76. package/src/View/QuickSearch/QuickSearchInput.d.ts +6 -0
  77. package/src/View/QuickSearch/QuickSearchInput.js +22 -0
  78. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +2 -5
  79. package/src/View/QuickSearch/QuickSearchViewPanel.js +5 -19
  80. package/src/agGrid/ActionColumnRenderer.js +2 -31
  81. package/src/agGrid/Adaptable.d.ts +2 -0
  82. package/src/agGrid/Adaptable.js +22 -16
  83. package/src/agGrid/agGridHelper.js +7 -2
  84. package/src/components/Drawer/index.d.ts +6 -0
  85. package/src/components/Drawer/index.js +60 -0
  86. package/src/components/ExpressionEditor/index.js +4 -2
  87. package/src/components/icons/fdc3.d.ts +3 -0
  88. package/src/components/icons/fdc3.js +9 -0
  89. package/src/components/icons/index.js +3 -1
  90. package/src/metamodel/adaptable.metamodel.d.ts +161 -19
  91. package/src/metamodel/adaptable.metamodel.js +1 -1
  92. package/src/types.d.ts +8 -4
  93. package/version.d.ts +1 -1
  94. package/version.js +1 -1
  95. /package/src/{PredefinedConfig/Common/FDC3Context.js → Api/Events/ThemeEdited.js} +0 -0
@@ -68,6 +68,7 @@ const ThemeService_1 = require("../Utilities/Services/ThemeService");
68
68
  const AdaptableLogger_1 = require("./AdaptableLogger");
69
69
  const attachAddaptableColumnTypes_1 = require("./attachAddaptableColumnTypes");
70
70
  const FormatHelper_1 = require("../Utilities/Helpers/FormatHelper");
71
+ const Fdc3Service_1 = require("../Utilities/Services/Fdc3Service");
71
72
  const tinycolor = require('tinycolor2');
72
73
  const GROUP_PATH_SEPARATOR = '/';
73
74
  // IMPORTANT - we need colId to be set in order for safeSetColDefs to work correctly
@@ -417,7 +418,7 @@ class Adaptable {
417
418
  this.agGridMenuHelper = new agGridMenuHelper_1.agGridMenuHelper(this, this.gridOptions);
418
419
  // Build the default group sort comparator - will get custom sort values (but not functions) in real time
419
420
  // TODO: if a custom 'aggFunc' property is defined (see setupColumnAggFunc()), it won't be evaluated
420
- if (this.adaptableOptions.columnOptions.autoOrderGroupedColumns) {
421
+ if (this.adaptableOptions.groupingOptions.autoOrderGroupedColumns) {
421
422
  this.setGridOptionsProperty('initialGroupOrderComparator', (userPropertyValue) => {
422
423
  if (userPropertyValue) {
423
424
  return userPropertyValue;
@@ -441,6 +442,7 @@ class Adaptable {
441
442
  this.QueryLanguageService = new QueryLanguageService_1.QueryLanguageService(this.api);
442
443
  this.AlertService = new AlertService_1.AlertService(this.api);
443
444
  this.TeamSharingService = new TeamSharingService_1.TeamSharingService(this.api);
445
+ this.Fdc3Service = new Fdc3Service_1.Fdc3Service(this.api);
444
446
  // @ts-ignore
445
447
  this.RowEditService = new RowEditService_1.RowEditService(this.api);
446
448
  this.MetamodelService = new MetamodelService_1.MetamodelService(() => this.api.optionsApi.getAdaptableOptions());
@@ -2337,6 +2339,7 @@ class Adaptable {
2337
2339
  ...this.getColDefsForActionColumns(),
2338
2340
  ...this.getColDefsForFreeTextColumns(),
2339
2341
  ...this.getColDefsForActionRowColumns(),
2342
+ ...this.api.fdc3Api.internalApi.getFdc3ActionColDefs(),
2340
2343
  ];
2341
2344
  }
2342
2345
  getColDefsForFreeTextColumns() {
@@ -2479,10 +2482,6 @@ class Adaptable {
2479
2482
  if (!actionButtons.length) {
2480
2483
  return [];
2481
2484
  }
2482
- const actionRowColumn = {
2483
- columnId: GeneralConstants_1.ADAPTABLE_ROW_ACTION_BUTTONS,
2484
- actionColumnButton: actionButtons,
2485
- };
2486
2485
  return [
2487
2486
  {
2488
2487
  headerName: '',
@@ -2687,7 +2686,7 @@ class Adaptable {
2687
2686
  return this.gridOptions.api.getDisplayedRowAtIndex(firstDisplayedRowIndex);
2688
2687
  }
2689
2688
  destroy(config) {
2690
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
2689
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
2691
2690
  if (this.gridOptions && this.gridOptions.api) {
2692
2691
  this.gridOptions.api.removeEventListener(core_1.Events.EVENT_FIRST_DATA_RENDERED, this.listenerFirstDataRendered);
2693
2692
  this.gridOptions.api.removeEventListener(core_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.listenerPivotModeChanged);
@@ -2777,23 +2776,25 @@ class Adaptable {
2777
2776
  this.DataService = null;
2778
2777
  (_h = (_g = this.EntitlementService) === null || _g === void 0 ? void 0 : _g.destroy) === null || _h === void 0 ? void 0 : _h.call(_g);
2779
2778
  this.EntitlementService = null;
2780
- (_k = (_j = this.ReportService) === null || _j === void 0 ? void 0 : _j.destroy) === null || _k === void 0 ? void 0 : _k.call(_j);
2779
+ (_k = (_j = this.Fdc3Service) === null || _j === void 0 ? void 0 : _j.destroy) === null || _k === void 0 ? void 0 : _k.call(_j);
2780
+ this.Fdc3Service = null;
2781
+ (_m = (_l = this.ReportService) === null || _l === void 0 ? void 0 : _l.destroy) === null || _m === void 0 ? void 0 : _m.call(_l);
2781
2782
  this.ReportService = null;
2782
- (_m = (_l = this.ModuleService) === null || _l === void 0 ? void 0 : _l.destroy) === null || _m === void 0 ? void 0 : _m.call(_l);
2783
+ (_p = (_o = this.ModuleService) === null || _o === void 0 ? void 0 : _o.destroy) === null || _p === void 0 ? void 0 : _p.call(_o);
2783
2784
  this.ModuleService = null;
2784
- (_p = (_o = this.ValidationService) === null || _o === void 0 ? void 0 : _o.destroy) === null || _p === void 0 ? void 0 : _p.call(_o);
2785
+ (_r = (_q = this.ValidationService) === null || _q === void 0 ? void 0 : _q.destroy) === null || _r === void 0 ? void 0 : _r.call(_q);
2785
2786
  this.ValidationService = null;
2786
- (_r = (_q = this.QueryLanguageService) === null || _q === void 0 ? void 0 : _q.destroy) === null || _r === void 0 ? void 0 : _r.call(_q);
2787
+ (_t = (_s = this.QueryLanguageService) === null || _s === void 0 ? void 0 : _s.destroy) === null || _t === void 0 ? void 0 : _t.call(_s);
2787
2788
  this.QueryLanguageService = null;
2788
- (_t = (_s = this.AlertService) === null || _s === void 0 ? void 0 : _s.destroy) === null || _t === void 0 ? void 0 : _t.call(_s);
2789
+ (_v = (_u = this.AlertService) === null || _u === void 0 ? void 0 : _u.destroy) === null || _v === void 0 ? void 0 : _v.call(_u);
2789
2790
  this.AlertService = null;
2790
- (_v = (_u = this.TeamSharingService) === null || _u === void 0 ? void 0 : _u.destroy) === null || _v === void 0 ? void 0 : _v.call(_u);
2791
+ (_x = (_w = this.TeamSharingService) === null || _w === void 0 ? void 0 : _w.destroy) === null || _x === void 0 ? void 0 : _x.call(_w);
2791
2792
  this.TeamSharingService = null;
2792
- (_x = (_w = this.RowEditService) === null || _w === void 0 ? void 0 : _w.destroy) === null || _x === void 0 ? void 0 : _x.call(_w);
2793
+ (_z = (_y = this.RowEditService) === null || _y === void 0 ? void 0 : _y.destroy) === null || _z === void 0 ? void 0 : _z.call(_y);
2793
2794
  this.RowEditService = null;
2794
- (_z = (_y = this.MetamodelService) === null || _y === void 0 ? void 0 : _y.destroy) === null || _z === void 0 ? void 0 : _z.call(_y);
2795
+ (_1 = (_0 = this.MetamodelService) === null || _0 === void 0 ? void 0 : _0.destroy) === null || _1 === void 0 ? void 0 : _1.call(_0);
2795
2796
  this.MetamodelService = null;
2796
- (_1 = (_0 = this.LicenseService) === null || _0 === void 0 ? void 0 : _0.destroy) === null || _1 === void 0 ? void 0 : _1.call(_0);
2797
+ (_3 = (_2 = this.LicenseService) === null || _2 === void 0 ? void 0 : _2.destroy) === null || _3 === void 0 ? void 0 : _3.call(_2);
2797
2798
  this.LicenseService = null;
2798
2799
  this.isDestroyed = true;
2799
2800
  }
@@ -4641,6 +4642,7 @@ class Adaptable {
4641
4642
  return this.isAgGridModulePresent(core_1.ModuleNames.ExcelExportModule);
4642
4643
  }
4643
4644
  exportToExcel(reportData, fileName) {
4645
+ var _a;
4644
4646
  const columnDefs = reportData.columns.map((column) => ({
4645
4647
  field: column.columnId,
4646
4648
  headerName: column.friendlyName,
@@ -4677,7 +4679,11 @@ class Adaptable {
4677
4679
  columnDefs,
4678
4680
  rowData: reportData.rows,
4679
4681
  };
4680
- const grid = new core_1.Grid(document.createElement('div'), gridOptions);
4682
+ let gridParams;
4683
+ if ((_a = this.runtimeConfig.agGridModules) === null || _a === void 0 ? void 0 : _a.length) {
4684
+ gridParams = { modules: this.runtimeConfig.agGridModules };
4685
+ }
4686
+ const grid = new core_1.Grid(document.createElement('div'), gridOptions, gridParams);
4681
4687
  gridOptions.api.exportDataAsExcel({
4682
4688
  sheetName: 'Sheet 1',
4683
4689
  fileName: fileName,
@@ -43,6 +43,7 @@ const GeneralConstants = tslib_1.__importStar(require("../Utilities/Constants/Ge
43
43
  const GeneralConstants_1 = require("../Utilities/Constants/GeneralConstants");
44
44
  const UIHelper_1 = tslib_1.__importDefault(require("../View/UIHelper"));
45
45
  const StyledColumnModule_1 = require("../Strategy/StyledColumnModule");
46
+ const Fdc3Module_1 = require("../Strategy/Fdc3Module");
46
47
  const tinycolor = require('tinycolor2');
47
48
  /**
48
49
  * Adaptable AG Grid implementation is getting really big and unwieldy
@@ -104,6 +105,7 @@ class agGridHelper {
104
105
  modules.set(ModuleConstants.StatusBarModuleId, new StatusBarModule_1.StatusBarModule(api));
105
106
  modules.set(ModuleConstants.ChartingModuleId, new ChartingModule_1.ChartingModule(api));
106
107
  modules.set(ModuleConstants.StyledColumnModuleId, new StyledColumnModule_1.StyledColumnModule(api));
108
+ modules.set(ModuleConstants.Fdc3ModuleId, new Fdc3Module_1.Fdc3Module(api));
107
109
  return modules;
108
110
  }
109
111
  TrySetUpNodeIds(hasAutogeneratedPrimaryKey) {
@@ -172,14 +174,17 @@ class agGridHelper {
172
174
  createAdaptableColumnFromAgGridColumn(agGridColumn, colsToGroups) {
173
175
  const colId = agGridColumn.getColId();
174
176
  const colDef = agGridColumn.getColDef();
175
- const isActionRowButtonColumn = this.adaptable.api.columnApi.isActionRowButtonColumn(colId);
177
+ const isActionRowButtonColumn = this.adaptable.api.columnApi.internalApi.isActionRowButtonColumn(colId);
178
+ const isFdc3MainActionColumn = this.adaptable.api.fdc3Api.internalApi.isFdc3MainActionColumn(colId);
176
179
  const columnFriendlyName = this.adaptable.adaptableOptions.columnOptions.columnFriendlyName;
177
180
  const customFriendlyName = typeof columnFriendlyName === 'function'
178
181
  ? columnFriendlyName({ colId: colId, agColumn: agGridColumn })
179
182
  : null;
180
183
  const friendlyName = customFriendlyName !== null && customFriendlyName !== void 0 ? customFriendlyName : (isActionRowButtonColumn
181
184
  ? GeneralConstants_1.ADAPTABLE_ROW_ACTION_BUTTONS_FRIENDLY_NAME
182
- : this.gridOptions.columnApi.getDisplayNameForColumn(agGridColumn, 'header'));
185
+ : isFdc3MainActionColumn
186
+ ? GeneralConstants_1.ADAPTABLE_FDC3_ACTION_COLUMN_FRIENDLY_NAME
187
+ : this.gridOptions.columnApi.getDisplayNameForColumn(agGridColumn, 'header'));
183
188
  if (!this.initialAgGridColDefs[colId]) {
184
189
  this.initialAgGridColDefs[colId] = Object.assign({}, agGridColumn.getUserProvidedColDef());
185
190
  }
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ export interface DrawerProps {
3
+ open: boolean;
4
+ onOpenChange?: (open: boolean) => void;
5
+ }
6
+ export declare const Drawer: React.FunctionComponent<React.PropsWithChildren<DrawerProps>>;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Drawer = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const React = tslib_1.__importStar(require("react"));
6
+ const Drawer = (props) => {
7
+ const [isOpen, setIsOpen] = React.useState(() => {
8
+ return props.open;
9
+ });
10
+ const [show, setShow] = React.useState(props.open);
11
+ React.useEffect(() => {
12
+ // CLOSED -> OPEN
13
+ // SHOW Element, with closed class
14
+ // CHANGE class to opened
15
+ if (!isOpen && props.open) {
16
+ setShow(true);
17
+ requestAnimationFrame(() => {
18
+ setIsOpen(true);
19
+ });
20
+ }
21
+ // OPEN -> CLOSED
22
+ // CHANGE class to closed
23
+ // HIDE Element, when animation is finsihed
24
+ if (isOpen && !props.open) {
25
+ setIsOpen(false);
26
+ }
27
+ }, [props.open]);
28
+ const handleOnKeyDown = React.useCallback((event) => {
29
+ var _a;
30
+ // escape
31
+ if (event.key === 'Escape') {
32
+ (_a = props.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(props, false);
33
+ }
34
+ }, []);
35
+ const handletransitionEnd = () => {
36
+ if (!isOpen) {
37
+ setShow(false);
38
+ }
39
+ };
40
+ if (!show) {
41
+ return null;
42
+ }
43
+ const style = {
44
+ position: 'fixed',
45
+ top: 0,
46
+ right: 0,
47
+ zIndex: 1000,
48
+ transition: 'transform 0.3s ease-in-out, opacity 0.3s ease-in-out',
49
+ };
50
+ if (isOpen) {
51
+ style.transform = 'translateY(0)';
52
+ style.opacity = 1;
53
+ }
54
+ else {
55
+ style.transform = 'translateY(-120%)';
56
+ style.opacity = 0;
57
+ }
58
+ return (React.createElement("div", { onKeyDown: handleOnKeyDown, style: style, onTransitionEnd: handletransitionEnd }, props.children));
59
+ };
60
+ exports.Drawer = Drawer;
@@ -51,10 +51,12 @@ function ExpressionEditor(props) {
51
51
  ? props.columns
52
52
  : props.columns.filter((c) => !props.api.columnApi.isCalculatedColumn(c.columnId));
53
53
  const getColValue = (column) => {
54
- return props.api.internalApi.getValueUsingField(data, column);
54
+ var _a;
55
+ return props.api.internalApi.getValueUsingField(data, (_a = column.field) !== null && _a !== void 0 ? _a : column.columnId);
55
56
  };
56
57
  const updateColValue = (rowData, column, newValue) => {
57
- const updatedRowData = props.api.internalApi.setValueUsingField(rowData, column, newValue);
58
+ var _a;
59
+ const updatedRowData = props.api.internalApi.setValueUsingField(rowData, (_a = column.field) !== null && _a !== void 0 ? _a : column.columnId, newValue);
58
60
  return Object.assign({}, updatedRowData);
59
61
  };
60
62
  const getColDateValue = (column) => {
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: (props: any) => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const React = tslib_1.__importStar(require("react"));
5
+ const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
6
+ exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props, { viewBox: "0 0 612 792" }),
7
+ React.createElement("path", { d: "M545.58,533.27V271.23L334.25,393.24c0.13,1.11,0.65,2.07,0.65,3.22c0,13.13-8.85,23.8-20.8,27.43v243.03 L545.58,533.27L545.58,533.27z" }),
8
+ React.createElement("path", { d: "M328.46,378.97l208.38-120.31v-0.65L305.79,126L74.74,258.01v0.65l208.38,120.31 c5.32-6.89,13.29-11.62,22.67-11.62C315.17,367.34,323.14,372.08,328.46,378.97L328.46,378.97z" }),
9
+ React.createElement("path", { d: "M277.33,393.24L66,271.23v262.04l231.48,133.64V423.88c-11.94-3.63-20.8-14.3-20.8-27.43 C276.68,395.31,277.2,394.35,277.33,393.24L277.33,393.24z" })));
@@ -27,6 +27,7 @@ const call_1 = tslib_1.__importDefault(require("./call"));
27
27
  const justify_1 = tslib_1.__importDefault(require("./justify"));
28
28
  const error_1 = tslib_1.__importDefault(require("./error"));
29
29
  const export_1 = tslib_1.__importDefault(require("./export"));
30
+ const fdc3_1 = tslib_1.__importDefault(require("./fdc3"));
30
31
  const campaign_1 = tslib_1.__importDefault(require("./campaign"));
31
32
  const build_1 = tslib_1.__importDefault(require("./build"));
32
33
  const warning_1 = tslib_1.__importDefault(require("./warning"));
@@ -287,7 +288,8 @@ const allIcons = {
287
288
  'case-lower': case_lower_1.default,
288
289
  'case-upper': case_upper_1.default,
289
290
  'case-sentence': case_sentence_1.default,
290
- flag: cell_validation_1.default, // original icon is flag,
291
+ flag: cell_validation_1.default,
292
+ fdc3: fdc3_1.default,
291
293
  };
292
294
  Object.keys(allIcons).forEach((name) => {
293
295
  const ReactCmp = allIcons[name];
@@ -317,6 +317,17 @@ export declare const ADAPTABLE_METAMODEL: {
317
317
  kind: string;
318
318
  desc: string;
319
319
  };
320
+ AdaptableConfig: {
321
+ name: string;
322
+ kind: string;
323
+ desc: string;
324
+ props: {
325
+ name: string;
326
+ kind: string;
327
+ desc: string;
328
+ ref: string;
329
+ }[];
330
+ };
320
331
  AdaptableCoordinate: {
321
332
  name: string;
322
333
  kind: string;
@@ -1648,17 +1659,17 @@ export declare const ADAPTABLE_METAMODEL: {
1648
1659
  kind: string;
1649
1660
  desc: string;
1650
1661
  isOpt: boolean;
1651
- gridInfo: string;
1652
- noCode: string;
1653
1662
  defVal: string;
1663
+ gridInfo?: undefined;
1664
+ noCode?: undefined;
1654
1665
  } | {
1655
1666
  name: string;
1656
1667
  kind: string;
1657
1668
  desc: string;
1658
1669
  isOpt: boolean;
1670
+ gridInfo: string;
1671
+ noCode: string;
1659
1672
  defVal: string;
1660
- gridInfo?: undefined;
1661
- noCode?: undefined;
1662
1673
  })[];
1663
1674
  };
1664
1675
  ColumnSort: {
@@ -1687,6 +1698,11 @@ export declare const ADAPTABLE_METAMODEL: {
1687
1698
  ref: string;
1688
1699
  })[];
1689
1700
  };
1701
+ CompatibleContext: {
1702
+ name: string;
1703
+ kind: string;
1704
+ desc: string;
1705
+ };
1690
1706
  ConfigState: {
1691
1707
  name: string;
1692
1708
  kind: string;
@@ -1716,7 +1732,7 @@ export declare const ADAPTABLE_METAMODEL: {
1716
1732
  ref: string;
1717
1733
  })[];
1718
1734
  };
1719
- ContactContext: {
1735
+ ContactContextDepr: {
1720
1736
  name: string;
1721
1737
  kind: string;
1722
1738
  desc: string;
@@ -1742,7 +1758,7 @@ export declare const ADAPTABLE_METAMODEL: {
1742
1758
  kind: string;
1743
1759
  desc: string;
1744
1760
  };
1745
- ContactListContext: {
1761
+ ContactListContextDepr: {
1746
1762
  name: string;
1747
1763
  kind: string;
1748
1764
  desc: string;
@@ -1771,7 +1787,7 @@ export declare const ADAPTABLE_METAMODEL: {
1771
1787
  defVal: string;
1772
1788
  }[];
1773
1789
  };
1774
- ContextData: {
1790
+ ContextDataDepr: {
1775
1791
  name: string;
1776
1792
  kind: string;
1777
1793
  desc: string;
@@ -1810,7 +1826,7 @@ export declare const ADAPTABLE_METAMODEL: {
1810
1826
  ref?: undefined;
1811
1827
  })[];
1812
1828
  };
1813
- CountryContext: {
1829
+ CountryContextDepr: {
1814
1830
  name: string;
1815
1831
  kind: string;
1816
1832
  desc: string;
@@ -1923,7 +1939,7 @@ export declare const ADAPTABLE_METAMODEL: {
1923
1939
  kind: string;
1924
1940
  desc: string;
1925
1941
  };
1926
- CustomFDC3Intent: {
1942
+ CustomFDC3Intent_Depr: {
1927
1943
  name: string;
1928
1944
  kind: string;
1929
1945
  desc: string;
@@ -2686,23 +2702,47 @@ export declare const ADAPTABLE_METAMODEL: {
2686
2702
  desc: string;
2687
2703
  }[];
2688
2704
  };
2689
- FDC3Column: {
2705
+ Fdc3ButtonContext: {
2690
2706
  name: string;
2691
2707
  kind: string;
2692
2708
  desc: string;
2693
2709
  props: ({
2710
+ name: string;
2711
+ kind: string;
2712
+ desc: string;
2713
+ isOpt?: undefined;
2714
+ ref?: undefined;
2715
+ } | {
2694
2716
  name: string;
2695
2717
  kind: string;
2696
2718
  desc: string;
2697
2719
  isOpt: boolean;
2720
+ ref?: undefined;
2698
2721
  } | {
2699
2722
  name: string;
2700
2723
  kind: string;
2701
2724
  desc: string;
2725
+ ref: string;
2702
2726
  isOpt?: undefined;
2703
2727
  })[];
2704
2728
  };
2705
- FDC3Context: {
2729
+ FDC3Column_Depr: {
2730
+ name: string;
2731
+ kind: string;
2732
+ desc: string;
2733
+ props: ({
2734
+ name: string;
2735
+ kind: string;
2736
+ desc: string;
2737
+ isOpt: boolean;
2738
+ } | {
2739
+ name: string;
2740
+ kind: string;
2741
+ desc: string;
2742
+ isOpt?: undefined;
2743
+ })[];
2744
+ };
2745
+ FDC3Context_DEPR: {
2706
2746
  name: string;
2707
2747
  kind: string;
2708
2748
  desc: string;
@@ -2726,7 +2766,12 @@ export declare const ADAPTABLE_METAMODEL: {
2726
2766
  isOpt?: undefined;
2727
2767
  })[];
2728
2768
  };
2729
- FDC3ContextType: {
2769
+ FDC3ContextTypeDepr: {
2770
+ name: string;
2771
+ kind: string;
2772
+ desc: string;
2773
+ };
2774
+ Fdc3CustomIntentType: {
2730
2775
  name: string;
2731
2776
  kind: string;
2732
2777
  desc: string;
@@ -2741,11 +2786,43 @@ export declare const ADAPTABLE_METAMODEL: {
2741
2786
  desc: string;
2742
2787
  }[];
2743
2788
  };
2744
- FDC3Intent: {
2789
+ FDC3Intent_Depr: {
2745
2790
  name: string;
2746
2791
  kind: string;
2747
2792
  desc: string;
2748
2793
  };
2794
+ Fdc3IntentType: {
2795
+ name: string;
2796
+ kind: string;
2797
+ desc: string;
2798
+ };
2799
+ Fdc3Options: {
2800
+ name: string;
2801
+ kind: string;
2802
+ desc: string;
2803
+ props: ({
2804
+ name: string;
2805
+ kind: string;
2806
+ desc: string;
2807
+ isOpt: boolean;
2808
+ defVal?: undefined;
2809
+ ref?: undefined;
2810
+ } | {
2811
+ name: string;
2812
+ kind: string;
2813
+ desc: string;
2814
+ isOpt: boolean;
2815
+ defVal: string;
2816
+ ref?: undefined;
2817
+ } | {
2818
+ name: string;
2819
+ kind: string;
2820
+ desc: string;
2821
+ isOpt: boolean;
2822
+ ref: string;
2823
+ defVal?: undefined;
2824
+ })[];
2825
+ };
2749
2826
  FilterActionOnDataChange: {
2750
2827
  name: string;
2751
2828
  kind: string;
@@ -3224,6 +3301,11 @@ export declare const ADAPTABLE_METAMODEL: {
3224
3301
  isOpt: boolean;
3225
3302
  })[];
3226
3303
  };
3304
+ GridDataContextMapping: {
3305
+ name: string;
3306
+ kind: string;
3307
+ desc: string;
3308
+ };
3227
3309
  GridInfoSection: {
3228
3310
  name: string;
3229
3311
  kind: string;
@@ -3263,6 +3345,14 @@ export declare const ADAPTABLE_METAMODEL: {
3263
3345
  kind: string;
3264
3346
  desc: string;
3265
3347
  props: ({
3348
+ name: string;
3349
+ kind: string;
3350
+ desc: string;
3351
+ isOpt: boolean;
3352
+ gridInfo: string;
3353
+ noCode: string;
3354
+ defVal: string;
3355
+ } | {
3266
3356
  name: string;
3267
3357
  kind: string;
3268
3358
  desc: string;
@@ -3283,11 +3373,39 @@ export declare const ADAPTABLE_METAMODEL: {
3283
3373
  kind: string;
3284
3374
  desc: string;
3285
3375
  isOpt: boolean;
3376
+ gridInfo?: undefined;
3286
3377
  noCode?: undefined;
3287
3378
  defVal?: undefined;
3288
- gridInfo?: undefined;
3289
3379
  })[];
3290
3380
  };
3381
+ HandleFdc3Context: {
3382
+ name: string;
3383
+ kind: string;
3384
+ desc: string;
3385
+ props: ({
3386
+ name: string;
3387
+ kind: string;
3388
+ desc: string;
3389
+ ref: string;
3390
+ isOpt?: undefined;
3391
+ } | {
3392
+ name: string;
3393
+ kind: string;
3394
+ desc: string;
3395
+ isOpt: boolean;
3396
+ ref: string;
3397
+ })[];
3398
+ };
3399
+ HandleFdc3IntentContext: {
3400
+ name: string;
3401
+ kind: string;
3402
+ desc: string;
3403
+ props: {
3404
+ name: string;
3405
+ kind: string;
3406
+ desc: string;
3407
+ }[];
3408
+ };
3291
3409
  IAdaptableNoCodeWizard: {
3292
3410
  name: string;
3293
3411
  kind: string;
@@ -3311,7 +3429,7 @@ export declare const ADAPTABLE_METAMODEL: {
3311
3429
  ref: string;
3312
3430
  })[];
3313
3431
  };
3314
- InstrumentContext: {
3432
+ InstrumentContextDepr: {
3315
3433
  name: string;
3316
3434
  kind: string;
3317
3435
  desc: string;
@@ -3337,7 +3455,7 @@ export declare const ADAPTABLE_METAMODEL: {
3337
3455
  kind: string;
3338
3456
  desc: string;
3339
3457
  };
3340
- InstrumentListContext: {
3458
+ InstrumentListContextDepr: {
3341
3459
  name: string;
3342
3460
  kind: string;
3343
3461
  desc: string;
@@ -3751,7 +3869,7 @@ export declare const ADAPTABLE_METAMODEL: {
3751
3869
  ref: string;
3752
3870
  })[];
3753
3871
  };
3754
- OrganizationContext: {
3872
+ OrganizationContextDepr: {
3755
3873
  name: string;
3756
3874
  kind: string;
3757
3875
  desc: string;
@@ -3869,7 +3987,7 @@ export declare const ADAPTABLE_METAMODEL: {
3869
3987
  isOpt: boolean;
3870
3988
  }[];
3871
3989
  };
3872
- PortfolioContext: {
3990
+ PortfolioContextDepr: {
3873
3991
  name: string;
3874
3992
  kind: string;
3875
3993
  desc: string;
@@ -3903,7 +4021,7 @@ export declare const ADAPTABLE_METAMODEL: {
3903
4021
  ref: string;
3904
4022
  })[];
3905
4023
  };
3906
- PositionContext: {
4024
+ PositionContextDepr: {
3907
4025
  name: string;
3908
4026
  kind: string;
3909
4027
  desc: string;
@@ -4202,6 +4320,30 @@ export declare const ADAPTABLE_METAMODEL: {
4202
4320
  ref: string;
4203
4321
  })[];
4204
4322
  };
4323
+ ResolveContextDataContext: {
4324
+ name: string;
4325
+ kind: string;
4326
+ desc: string;
4327
+ props: ({
4328
+ name: string;
4329
+ kind: string;
4330
+ desc: string;
4331
+ isOpt: boolean;
4332
+ ref: string;
4333
+ } | {
4334
+ name: string;
4335
+ kind: string;
4336
+ desc: string;
4337
+ isOpt?: undefined;
4338
+ ref?: undefined;
4339
+ } | {
4340
+ name: string;
4341
+ kind: string;
4342
+ desc: string;
4343
+ ref: string;
4344
+ isOpt?: undefined;
4345
+ })[];
4346
+ };
4205
4347
  RowHighlightInfo: {
4206
4348
  name: string;
4207
4349
  kind: string;