@adaptabletools/adaptable 11.2.4-canary.0 → 12.0.0-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.
- package/base.css +22 -4
- package/bundle.cjs.js +111 -111
- package/index.css +26 -4
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +6 -1
- package/src/AdaptableOptions/ActionOptions.d.ts +1 -0
- package/src/AdaptableOptions/{MasterDetailAgGridPluginOptions.js → ActionOptions.js} +0 -0
- package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +5 -0
- package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -3
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +5 -0
- package/src/AdaptableOptions/AlertOptions.d.ts +14 -1
- package/src/AdaptableOptions/ColumnOptions.d.ts +49 -0
- package/src/AdaptableOptions/{SmartEdit.js → ColumnOptions.js} +0 -0
- package/src/AdaptableOptions/DashboardOptions.d.ts +2 -7
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +19 -0
- package/src/AdaptableOptions/EditOptions.d.ts +92 -4
- package/src/AdaptableOptions/EntitlementOptions.d.ts +7 -1
- package/src/AdaptableOptions/ExportOptions.d.ts +5 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +6 -1
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +33 -3
- package/src/AdaptableOptions/GeneralOptions.d.ts +22 -23
- package/src/AdaptableOptions/{MasterDetailAgGridPluginOptions.d.ts → MasterDetailPluginOptions.d.ts} +2 -4
- package/src/{Api/DataSourceApi.js → AdaptableOptions/MasterDetailPluginOptions.js} +0 -0
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +3 -6
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -49
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +81 -54
- package/src/Api/AdaptableApi.d.ts +6 -3
- package/src/Api/ColumnApi.d.ts +6 -3
- package/src/Api/ConditionalStyleApi.d.ts +10 -0
- package/src/Api/ConfigApi.d.ts +0 -12
- package/src/Api/DashboardApi.d.ts +6 -19
- package/src/Api/DataSetApi.d.ts +40 -0
- package/src/{PredefinedConfig/DataSourceState.js → Api/DataSetApi.js} +0 -0
- package/src/Api/EventApi.d.ts +18 -1
- package/src/Api/Events/DataSetChanged.d.ts +5 -0
- package/src/{PredefinedConfig/FilterState.js → Api/Events/DataSetChanged.js} +0 -0
- package/src/Api/Events/RowFormSubmitted.d.ts +19 -0
- package/src/Api/Events/RowFormSubmitted.js +2 -0
- package/src/Api/Events/SearchChanged.d.ts +3 -4
- package/src/Api/FilterApi.d.ts +1 -77
- package/src/Api/FinanceApi.d.ts +3 -2
- package/src/Api/FormatColumnApi.d.ts +28 -1
- package/src/Api/GridApi.d.ts +15 -1
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
- package/src/Api/Implementation/AdaptableApiImpl.js +3 -3
- package/src/Api/Implementation/AlertApiImpl.js +5 -1
- package/src/Api/Implementation/ApiBase.d.ts +3 -0
- package/src/Api/Implementation/ApiBase.js +6 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +2 -2
- package/src/Api/Implementation/ColumnApiImpl.js +6 -3
- package/src/Api/Implementation/ConditionalStyleApiImpl.d.ts +2 -0
- package/src/Api/Implementation/ConditionalStyleApiImpl.js +8 -0
- package/src/Api/Implementation/ConfigApiImpl.d.ts +0 -4
- package/src/Api/Implementation/ConfigApiImpl.js +2 -24
- package/src/Api/Implementation/DashboardApiImpl.d.ts +3 -6
- package/src/Api/Implementation/DashboardApiImpl.js +5 -29
- package/src/Api/Implementation/DataSetApiImpl.d.ts +12 -0
- package/src/Api/Implementation/DataSetApiImpl.js +42 -0
- package/src/Api/Implementation/EventApiImpl.js +1 -0
- package/src/Api/Implementation/FilterApiImpl.d.ts +1 -16
- package/src/Api/Implementation/FilterApiImpl.js +5 -164
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +6 -0
- package/src/Api/Implementation/FormatColumnApiImpl.js +34 -0
- package/src/Api/Implementation/GridApiImpl.d.ts +4 -1
- package/src/Api/Implementation/GridApiImpl.js +41 -1
- package/src/Api/Implementation/InternalApiImpl.d.ts +7 -2
- package/src/Api/Implementation/InternalApiImpl.js +51 -10
- package/src/Api/Implementation/LayoutApiImpl.d.ts +18 -1
- package/src/Api/Implementation/LayoutApiImpl.js +172 -0
- package/src/Api/Implementation/PredicateApiImpl.js +1 -1
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +5 -2
- package/src/Api/Implementation/SmartEditApiImpl.js +9 -0
- package/src/Api/Implementation/TeamSharingApiImpl.d.ts +5 -3
- package/src/Api/Implementation/TeamSharingApiImpl.js +28 -10
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.js +7 -25
- package/src/Api/InternalApi.d.ts +6 -2
- package/src/Api/LayoutApi.d.ts +88 -1
- package/src/Api/SmartEditApi.d.ts +14 -3
- package/src/Api/TeamSharingApi.d.ts +18 -5
- package/src/Api/UserInterfaceApi.d.ts +4 -4
- package/src/PredefinedConfig/AdaptableState.d.ts +0 -4
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +5 -0
- package/src/PredefinedConfig/Common/AdaptableButton.d.ts +3 -3
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +5 -1
- package/src/PredefinedConfig/Common/AdaptableForm.d.ts +3 -2
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +6 -3
- package/src/PredefinedConfig/Common/AdaptableObject.d.ts +2 -11
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +35 -2
- package/src/PredefinedConfig/Common/BaseContext.d.ts +1 -1
- package/src/PredefinedConfig/{FilterState.d.ts → Common/ColumnFilter.d.ts} +2 -33
- package/src/PredefinedConfig/Common/ColumnFilter.js +2 -0
- package/src/PredefinedConfig/Common/Enums.d.ts +2 -2
- package/src/PredefinedConfig/Common/Enums.js +1 -1
- package/src/PredefinedConfig/Common/FDC3Context.d.ts +5 -1
- package/src/PredefinedConfig/Common/Types.d.ts +6 -5
- package/src/PredefinedConfig/Common/Types.js +2 -3
- package/src/PredefinedConfig/LayoutState.d.ts +5 -0
- package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -10
- package/src/PredefinedConfig/StatusBarState.d.ts +1 -2
- package/src/PredefinedConfig/SystemState.d.ts +4 -2
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +47 -0
- package/src/Redux/ActionsReducers/LayoutRedux.js +135 -1
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +23 -1
- package/src/Redux/ActionsReducers/SystemRedux.js +39 -1
- package/src/Redux/Store/AdaptableStore.js +37 -39
- package/src/Strategy/AlertModule.d.ts +11 -0
- package/src/Strategy/AlertModule.js +14 -0
- package/src/Strategy/CellSummaryModule.d.ts +3 -0
- package/src/Strategy/CellSummaryModule.js +28 -14
- package/src/Strategy/DataSetModule.d.ts +25 -0
- package/src/Strategy/DataSetModule.js +65 -0
- package/src/Strategy/ExportModule.js +6 -1
- package/src/Strategy/FilterModule.d.ts +7 -11
- package/src/Strategy/FilterModule.js +24 -15
- package/src/Strategy/FlashingCellModule.d.ts +1 -1
- package/src/Strategy/FlashingCellModule.js +2 -2
- package/src/Strategy/FormatColumnModule.js +1 -1
- package/src/Strategy/Interface/IModule.d.ts +3 -1
- package/src/Strategy/LayoutModule.js +24 -2
- package/src/Strategy/SmartEditModule.d.ts +1 -1
- package/src/Strategy/SmartEditModule.js +5 -6
- package/src/Strategy/StatusBarModule.js +1 -3
- package/src/Strategy/TeamSharingModule.js +1 -1
- package/src/Strategy/ToolPanelModule.js +1 -4
- package/src/Utilities/Constants/GeneralConstants.d.ts +6 -2
- package/src/Utilities/Constants/GeneralConstants.js +6 -2
- package/src/Utilities/Constants/ModuleConstants.d.ts +1 -1
- package/src/Utilities/Constants/ModuleConstants.js +2 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +22 -13
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -1
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +2 -4
- package/src/Utilities/Helpers/AdaptableHelper.js +4 -1
- package/src/Utilities/ObjectFactory.d.ts +3 -6
- package/src/Utilities/ObjectFactory.js +3 -7
- package/src/Utilities/Services/EntitlementService.js +7 -1
- package/src/Utilities/Services/Interface/IRowEditService.d.ts +8 -0
- package/src/Utilities/Services/Interface/IRowEditService.js +2 -0
- package/src/Utilities/Services/ModuleService.js +1 -1
- package/src/Utilities/Services/ReportService.js +2 -3
- package/src/Utilities/Services/RowEditService.d.ts +25 -0
- package/src/Utilities/Services/RowEditService.js +165 -0
- package/src/Utilities/Services/TeamSharingService.js +4 -4
- package/src/View/AdaptablePopover/index.d.ts +1 -0
- package/src/View/AdaptablePopover/index.js +5 -6
- package/src/View/AdaptableView.js +1 -1
- package/src/View/AdaptableViewFactory.js +2 -2
- package/src/View/Alert/ActiveAlertsPanel.d.ts +2 -0
- package/src/View/Alert/ActiveAlertsPanel.js +15 -0
- package/src/View/Alert/AlertStatusSubPanel.js +3 -8
- package/src/View/Alert/AlertViewPanel.js +2 -2
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +1 -1
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +9 -2
- package/src/View/CellSummary/CellSummaryDetails.js +2 -2
- package/src/View/CellSummary/CellSummaryPopover.d.ts +2 -4
- package/src/View/CellSummary/CellSummaryPopover.js +3 -6
- package/src/View/CellSummary/CellSummaryPopup.js +8 -0
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +1 -1
- package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -2
- package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +18 -8
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +1 -2
- package/src/View/Components/ExternalRenderer.d.ts +3 -6
- package/src/View/Components/ExternalRenderer.js +5 -5
- package/src/View/Components/FilterForm/FilterForm.d.ts +5 -2
- package/src/View/Components/FilterForm/FilterForm.js +9 -7
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +4 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +7 -7
- package/src/View/Components/FilterForm/QuickFilterForm.d.ts +1 -1
- package/src/View/Components/FilterForm/QuickFilterForm.js +21 -7
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -0
- package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +0 -2
- package/src/View/Components/Popups/AdaptablePopupAlert.js +13 -11
- package/src/View/Components/Popups/AdaptableToaster.js +29 -9
- package/src/View/Components/Popups/FormPopups/FormPopups.js +2 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -2
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +11 -9
- package/src/View/Dashboard/CustomDashboardButton.d.ts +11 -0
- package/src/View/Dashboard/CustomDashboardButton.js +47 -0
- package/src/View/Dashboard/CustomToolbarWrapper.d.ts +1 -0
- package/src/View/Dashboard/CustomToolbarWrapper.js +30 -11
- package/src/View/Dashboard/Dashboard.d.ts +1 -0
- package/src/View/Dashboard/Dashboard.js +8 -34
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +19 -36
- package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +3 -0
- package/src/View/DataChangeHistory/buildActionColumnButton.js +70 -0
- package/src/View/DataSet/DataSetSelector.d.ts +7 -0
- package/src/View/DataSet/DataSetSelector.js +18 -0
- package/src/View/DataSet/DataSetStatusPanelPopover.d.ts +2 -0
- package/src/View/DataSet/DataSetStatusPanelPopover.js +19 -0
- package/src/View/DataSet/DataSetViewPanel.d.ts +19 -0
- package/src/View/DataSet/DataSetViewPanel.js +58 -0
- package/src/View/Filter/ActiveFiltersPanel.js +1 -1
- package/src/View/Filter/FilterSummary.d.ts +5 -5
- package/src/View/Filter/FilterSummary.js +6 -5
- package/src/View/Filter/FilterViewPanel.d.ts +4 -4
- package/src/View/Filter/FilterViewPanel.js +11 -14
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +3 -2
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +51 -22
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +1 -1
- package/src/View/GridInfo/GridInfoPopup.js +1 -1
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +6 -24
- package/src/View/Layout/Wizard/LayoutEditor/index.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditorWizard.d.ts +2 -1
- package/src/View/SmartEdit/SmartEditPopup.d.ts +1 -1
- package/src/View/SmartEdit/SmartEditPopup.js +3 -4
- package/src/View/SmartEdit/SmartEditViewPanel.d.ts +1 -1
- package/src/View/SmartEdit/SmartEditViewPanel.js +3 -4
- package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
- package/src/View/StatusBar/AdaptableStatusBar.js +1 -1
- package/src/View/StatusBar/StatusBarPanel.d.ts +1 -0
- package/src/View/StatusBar/StatusBarPanel.js +5 -4
- package/src/View/Theme/ThemeStatusPanelPopover.js +5 -25
- package/src/View/UIHelper.d.ts +4 -4
- package/src/View/UIHelper.js +4 -4
- package/src/agGrid/ActionColumnRenderer.d.ts +6 -1
- package/src/agGrid/ActionColumnRenderer.js +9 -6
- package/src/agGrid/Adaptable.d.ts +7 -2
- package/src/agGrid/Adaptable.js +217 -87
- package/src/agGrid/FilterWrapper.js +1 -1
- package/src/agGrid/agGridHelper.d.ts +6 -6
- package/src/agGrid/agGridHelper.js +34 -56
- package/src/agGrid/agGridMenuHelper.js +4 -1
- package/src/agGrid/rowEditIcons.d.ts +4 -0
- package/src/agGrid/rowEditIcons.js +9 -0
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +9 -18
- package/src/components/Dashboard/DashboardToolbar.js +2 -2
- package/src/components/Datepicker/index.js +19 -18
- package/src/components/SelectList.d.ts +10 -0
- package/src/components/SelectList.js +9 -0
- package/src/components/WindowModal/WindowModal.d.ts +2 -0
- package/src/components/WindowModal/WindowModal.js +1 -1
- package/src/components/icons/{data-source.d.ts → data-set.d.ts} +0 -0
- package/src/components/icons/{data-source.js → data-set.js} +0 -0
- package/src/components/icons/index.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +242 -70
- package/src/metamodel/adaptable.metamodel.js +620 -376
- package/src/types.d.ts +19 -15
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableOptions/SmartEdit.d.ts +0 -34
- package/src/Api/DataSourceApi.d.ts +0 -58
- package/src/Api/Implementation/DataSourceApiImpl.d.ts +0 -15
- package/src/Api/Implementation/DataSourceApiImpl.js +0 -51
- package/src/PredefinedConfig/DataSourceState.d.ts +0 -34
- package/src/Redux/ActionsReducers/DataSourceRedux.d.ts +0 -42
- package/src/Redux/ActionsReducers/DataSourceRedux.js +0 -76
- package/src/Redux/ActionsReducers/FilterRedux.d.ts +0 -70
- package/src/Redux/ActionsReducers/FilterRedux.js +0 -126
- package/src/Strategy/DataSourceModule.d.ts +0 -20
- package/src/Strategy/DataSourceModule.js +0 -56
- package/src/View/Components/Forms/AdaptableForm.d.ts +0 -6
- package/src/View/Components/Forms/AdaptableForm.js +0 -21
- package/src/View/DataSource/DataSourceViewPanel.d.ts +0 -19
- package/src/View/DataSource/DataSourceViewPanel.js +0 -69
- package/src/View/DataSource/Wizard/DataSourceSettingsSummary.d.ts +0 -2
- package/src/View/DataSource/Wizard/DataSourceSettingsSummary.js +0 -17
- package/src/View/DataSource/Wizard/DataSourceSettingsWizard.d.ts +0 -8
- package/src/View/DataSource/Wizard/DataSourceSettingsWizard.js +0 -42
- package/src/View/DataSource/Wizard/DataSourceWizard.d.ts +0 -8
- package/src/View/DataSource/Wizard/DataSourceWizard.js +0 -53
|
@@ -3,7 +3,7 @@ import { IAdaptable } from '../AdaptableInterfaces/IAdaptable';
|
|
|
3
3
|
import { AdaptableColumn, AdaptableColumnGroup } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
4
4
|
import { AdaptableNodeComparerFunction } from '../PredefinedConfig/Common/AdaptableComparerFunction';
|
|
5
5
|
import { DataType } from '../PredefinedConfig/Common/Enums';
|
|
6
|
-
import { AdaptableModule } from '../PredefinedConfig/Common/Types';
|
|
6
|
+
import { AdaptableColumnType, AdaptableModule } from '../PredefinedConfig/Common/Types';
|
|
7
7
|
import { IModule } from '../Strategy/Interface/IModule';
|
|
8
8
|
import { IPPStyle } from '../Utilities/Interface/IPPStyle';
|
|
9
9
|
import { FormatColumn } from '../PredefinedConfig/FormatColumnState';
|
|
@@ -26,9 +26,9 @@ export declare class agGridHelper {
|
|
|
26
26
|
getCleanValue(value: string): string | undefined;
|
|
27
27
|
getRenderedValue(colDef: ColDef, valueToRender: any): any;
|
|
28
28
|
createAdaptableColumnFromAgGridColumn(agGridColumn: Column, colsToGroups: Record<string, AdaptableColumnGroup>): AdaptableColumn;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
buildAdaptableToolPanelDef(): ToolPanelDef;
|
|
30
|
+
isSideBarDefObject(sidebarDef: unknown): sidebarDef is SideBarDef;
|
|
31
|
+
mapToolPanelDefs(toolPanelDefs?: (ToolPanelDef | string)[]): (ToolPanelDef | string)[];
|
|
32
32
|
reselectSelectedCells(): void;
|
|
33
33
|
fireSelectionChangedEvent(): void;
|
|
34
34
|
private isColumnReadonly;
|
|
@@ -46,8 +46,8 @@ export declare class agGridHelper {
|
|
|
46
46
|
private isColumnGrouped;
|
|
47
47
|
private isColumnSparkline;
|
|
48
48
|
private getColumnDataType;
|
|
49
|
-
private
|
|
50
|
-
getAgGridDataType(dataType: DataType):
|
|
49
|
+
private getAbColDefValue;
|
|
50
|
+
getAgGridDataType(dataType: DataType): AdaptableColumnType;
|
|
51
51
|
checkShouldClearExistingFiltersOrSearches(): void;
|
|
52
52
|
runAdaptableGroupComparerFunction(): AdaptableNodeComparerFunction;
|
|
53
53
|
getCurrentIPPStyle(): IPPStyle;
|
|
@@ -11,7 +11,7 @@ const CellSummaryModule_1 = require("../Strategy/CellSummaryModule");
|
|
|
11
11
|
const ConditionalStyleModule_1 = require("../Strategy/ConditionalStyleModule");
|
|
12
12
|
const CustomSortModule_1 = require("../Strategy/CustomSortModule");
|
|
13
13
|
const DashboardModule_1 = require("../Strategy/DashboardModule");
|
|
14
|
-
const
|
|
14
|
+
const DataSetModule_1 = require("../Strategy/DataSetModule");
|
|
15
15
|
const ExportModule_1 = require("../Strategy/ExportModule");
|
|
16
16
|
const FilterModule_1 = require("../Strategy/FilterModule");
|
|
17
17
|
const FormatColumnModule_1 = require("../Strategy/FormatColumnModule");
|
|
@@ -41,6 +41,8 @@ const ChartingModule_1 = require("../Strategy/ChartingModule");
|
|
|
41
41
|
const PercentBarRenderer_1 = require("./PercentBarRenderer");
|
|
42
42
|
const Helper_1 = require("../Utilities/Helpers/Helper");
|
|
43
43
|
const StatusBarModule_1 = require("../Strategy/StatusBarModule");
|
|
44
|
+
const GeneralConstants = tslib_1.__importStar(require("../Utilities/Constants/GeneralConstants"));
|
|
45
|
+
const UIHelper_1 = tslib_1.__importDefault(require("../View/UIHelper"));
|
|
44
46
|
const tinycolor = require('tinycolor2');
|
|
45
47
|
/**
|
|
46
48
|
* Adaptable AG Grid implementation is getting really big and unwieldy
|
|
@@ -79,7 +81,7 @@ class agGridHelper {
|
|
|
79
81
|
modules.set(ModuleConstants.ConditionalStyleModuleId, new ConditionalStyleModule_1.ConditionalStyleModule(api));
|
|
80
82
|
modules.set(ModuleConstants.CustomSortModuleId, new CustomSortModule_1.CustomSortModule(api));
|
|
81
83
|
modules.set(ModuleConstants.DataChangeHistoryModuleId, new DataChangeHistoryModule_1.DataChangeHistoryModule(api));
|
|
82
|
-
modules.set(ModuleConstants.
|
|
84
|
+
modules.set(ModuleConstants.DataSetModuleId, new DataSetModule_1.DataSetModule(api));
|
|
83
85
|
modules.set(ModuleConstants.ExportModuleId, new ExportModule_1.ExportModule(api));
|
|
84
86
|
modules.set(ModuleConstants.FilterModuleId, new FilterModule_1.FilterModule(api));
|
|
85
87
|
modules.set(ModuleConstants.FormatColumnModuleId, new FormatColumnModule_1.FormatColumnModule(api));
|
|
@@ -155,7 +157,11 @@ class agGridHelper {
|
|
|
155
157
|
createAdaptableColumnFromAgGridColumn(agGridColumn, colsToGroups) {
|
|
156
158
|
const colId = agGridColumn.getColId();
|
|
157
159
|
const colDef = agGridColumn.getColDef();
|
|
158
|
-
const
|
|
160
|
+
const columnFriendlyName = this.adaptable.adaptableOptions.columnOptions.columnFriendlyName;
|
|
161
|
+
const customFriendlyName = typeof columnFriendlyName === 'function'
|
|
162
|
+
? columnFriendlyName({ colId: colId, agColumn: agGridColumn })
|
|
163
|
+
: null;
|
|
164
|
+
const FriendlyName = customFriendlyName !== null && customFriendlyName !== void 0 ? customFriendlyName : this.gridOptions.columnApi.getDisplayNameForColumn(agGridColumn, 'header');
|
|
159
165
|
if (!this.initialAgGridColDefs[colId]) {
|
|
160
166
|
this.initialAgGridColDefs[colId] = Object.assign({}, agGridColumn.getUserProvidedColDef());
|
|
161
167
|
}
|
|
@@ -203,55 +209,26 @@ class agGridHelper {
|
|
|
203
209
|
}
|
|
204
210
|
return abColumn;
|
|
205
211
|
}
|
|
206
|
-
|
|
207
|
-
const toolPanelDef = [];
|
|
208
|
-
if (showFilterPanel) {
|
|
209
|
-
const filterToolPanel = {
|
|
210
|
-
id: 'filters',
|
|
211
|
-
labelDefault: 'Filters',
|
|
212
|
-
labelKey: 'filters',
|
|
213
|
-
iconKey: 'filter',
|
|
214
|
-
toolPanel: 'agFiltersToolPanel',
|
|
215
|
-
};
|
|
216
|
-
toolPanelDef.push(filterToolPanel);
|
|
217
|
-
}
|
|
218
|
-
if (showColumnsPanel) {
|
|
219
|
-
const columnsToolPanel = {
|
|
220
|
-
id: 'columns',
|
|
221
|
-
labelDefault: 'Columns',
|
|
222
|
-
labelKey: 'columns',
|
|
223
|
-
iconKey: 'columns',
|
|
224
|
-
toolPanel: 'agColumnsToolPanel',
|
|
225
|
-
};
|
|
226
|
-
toolPanelDef.push(columnsToolPanel);
|
|
227
|
-
}
|
|
228
|
-
toolPanelDef.push(this.createAdaptableToolPanel());
|
|
229
|
-
this.orderToolPanels(toolPanelDef);
|
|
230
|
-
const abSideBarDef = {
|
|
231
|
-
toolPanels: toolPanelDef,
|
|
232
|
-
defaultToolPanel: '',
|
|
233
|
-
};
|
|
234
|
-
return abSideBarDef;
|
|
235
|
-
}
|
|
236
|
-
createAdaptableToolPanel() {
|
|
212
|
+
buildAdaptableToolPanelDef() {
|
|
237
213
|
return {
|
|
238
|
-
id:
|
|
239
|
-
toolPanel:
|
|
240
|
-
labelDefault:
|
|
214
|
+
id: GeneralConstants.ADAPTABLE_TOOLPANEL_ID,
|
|
215
|
+
toolPanel: GeneralConstants.ADAPTABLE_TOOLPANEL_COMPONENT,
|
|
216
|
+
labelDefault: GeneralConstants.ADAPTABLE,
|
|
241
217
|
labelKey: 'adaptable',
|
|
242
|
-
iconKey:
|
|
243
|
-
width:
|
|
244
|
-
minWidth:
|
|
245
|
-
maxWidth: this.adaptable.adaptableOptions.toolPanelOptions.maxWidth,
|
|
218
|
+
iconKey: 'menu',
|
|
219
|
+
width: UIHelper_1.default.getAdaptableToolPanelWidth(),
|
|
220
|
+
minWidth: UIHelper_1.default.getAdaptableToolPanelWidth(),
|
|
246
221
|
};
|
|
247
222
|
}
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
223
|
+
isSideBarDefObject(sidebarDef) {
|
|
224
|
+
var _a;
|
|
225
|
+
return Array.isArray((_a = sidebarDef) === null || _a === void 0 ? void 0 : _a.toolPanels);
|
|
226
|
+
}
|
|
227
|
+
mapToolPanelDefs(toolPanelDefs = []) {
|
|
228
|
+
// if it's an alias for the adaptable tool panel, map it to a ToolPanelDef, otherwise return it as it is
|
|
229
|
+
return toolPanelDefs.map((toolPanelDef) => toolPanelDef === GeneralConstants.ADAPTABLE_TOOLPANEL_ID
|
|
230
|
+
? this.buildAdaptableToolPanelDef()
|
|
231
|
+
: toolPanelDef);
|
|
255
232
|
}
|
|
256
233
|
// This method reselects cells - only IF they are in a single column
|
|
257
234
|
// Might be able to change that later
|
|
@@ -404,12 +381,12 @@ class agGridHelper {
|
|
|
404
381
|
if (Array.isArray(colType)) {
|
|
405
382
|
colType.forEach((c) => {
|
|
406
383
|
if (dataType == Enums_1.DataType.Unknown) {
|
|
407
|
-
dataType = this.
|
|
384
|
+
dataType = this.getAbColDefValue(c);
|
|
408
385
|
}
|
|
409
386
|
});
|
|
410
387
|
}
|
|
411
388
|
else {
|
|
412
|
-
dataType = this.
|
|
389
|
+
dataType = this.getAbColDefValue(colType);
|
|
413
390
|
}
|
|
414
391
|
if (dataType != Enums_1.DataType.Unknown) {
|
|
415
392
|
return dataType;
|
|
@@ -463,12 +440,13 @@ class agGridHelper {
|
|
|
463
440
|
LoggingHelper_1.LogAdaptableWarning(`No defined type for column '${column.getColId()}'. Defaulting to type of first value: ${dataType}`);
|
|
464
441
|
return dataType;
|
|
465
442
|
}
|
|
466
|
-
|
|
443
|
+
getAbColDefValue(colType) {
|
|
467
444
|
if (colType == 'numericColumn') {
|
|
468
445
|
return Enums_1.DataType.Number;
|
|
469
446
|
}
|
|
470
447
|
if (colType.startsWith('abColDef')) {
|
|
471
|
-
|
|
448
|
+
const abColType = colType;
|
|
449
|
+
switch (abColType) {
|
|
472
450
|
case 'abColDefNumber':
|
|
473
451
|
return Enums_1.DataType.Number;
|
|
474
452
|
case 'abColDefString':
|
|
@@ -508,20 +486,20 @@ class agGridHelper {
|
|
|
508
486
|
checkShouldClearExistingFiltersOrSearches() {
|
|
509
487
|
// if they have selected to clear column filters on startup then do it
|
|
510
488
|
if (this.adaptable.adaptableOptions.filterOptions.clearFiltersOnStartUp) {
|
|
511
|
-
if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.adaptable.api.
|
|
489
|
+
if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.adaptable.api.layoutApi.getAllColumnFilter())) {
|
|
512
490
|
LoggingHelper_1.LogAdaptableWarning('Clearing existing Column Filters as "clearFiltersOnStartUp" is true');
|
|
513
|
-
this.adaptable.api.
|
|
491
|
+
this.adaptable.api.layoutApi.clearAllColumnFilter();
|
|
514
492
|
}
|
|
515
493
|
}
|
|
516
494
|
// if they have selected to clear searches on startup then do it
|
|
517
495
|
if (this.adaptable.adaptableOptions.searchOptions.clearSearchesOnStartUp) {
|
|
518
496
|
if (StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.adaptable.api.quickSearchApi.getQuickSearchState().QuickSearchText) ||
|
|
519
497
|
StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.adaptable.api.queryApi.getCurrentQuery()) ||
|
|
520
|
-
ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.adaptable.api.
|
|
498
|
+
ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.adaptable.api.dataSetApi.getAllDataSets())) {
|
|
521
499
|
LoggingHelper_1.LogAdaptableWarning('Clearing existing Searches as "clearSearchesOnStartUp" is true');
|
|
522
500
|
this.adaptable.api.quickSearchApi.clearQuickSearch();
|
|
523
501
|
this.adaptable.api.queryApi.clearCurrentQuery();
|
|
524
|
-
this.adaptable.api.
|
|
502
|
+
this.adaptable.api.dataSetApi.clearCurrentDataSet();
|
|
525
503
|
}
|
|
526
504
|
}
|
|
527
505
|
}
|
|
@@ -52,6 +52,9 @@ class agGridMenuHelper {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
buildContextMenu(params, originalgetContextMenuItems) {
|
|
55
|
+
// we do this in order to refresh the internal state of selected cells (technically query the AG Grid cellRanges)
|
|
56
|
+
// (right-click selected the current cell, but this was not reflected in the internal state of the selected cells)
|
|
57
|
+
this.adaptable.setSelectedCells();
|
|
55
58
|
let agGridContextMenuItems = [];
|
|
56
59
|
let adaptableContextMenuItems = [];
|
|
57
60
|
let userContextMenuItems = [];
|
|
@@ -240,7 +243,7 @@ class agGridMenuHelper {
|
|
|
240
243
|
isSingleSelectedColumn = ArrayExtensions_1.ArrayExtensions.CorrectLength(selectedCellInfo.columns, 1);
|
|
241
244
|
}
|
|
242
245
|
}
|
|
243
|
-
let selectedRowInfo = this.adaptable.
|
|
246
|
+
let selectedRowInfo = this.adaptable.api.gridApi.getSelectedRowInfo();
|
|
244
247
|
return {
|
|
245
248
|
isSelectedCell: isSelectedCell,
|
|
246
249
|
gridCell: clickedCell,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.rowDeleteIcon = exports.rowCloneIcon = exports.rowEditIcon = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const icons_1 = require("../components/icons");
|
|
6
|
+
const React = tslib_1.__importStar(require("react"));
|
|
7
|
+
exports.rowEditIcon = React.createElement(icons_1.Icon, { name: "edit" });
|
|
8
|
+
exports.rowCloneIcon = React.createElement(icons_1.Icon, { name: "clone" });
|
|
9
|
+
exports.rowDeleteIcon = React.createElement(icons_1.Icon, { name: "delete" });
|
|
@@ -19,14 +19,15 @@ function AdaptableFormComponentButtons({ formDef, onClick, defaultTone, disabled
|
|
|
19
19
|
width: 15,
|
|
20
20
|
},
|
|
21
21
|
};
|
|
22
|
-
const
|
|
22
|
+
const buttonIcon = api.internalApi.getIconForButton(button, context);
|
|
23
|
+
const iconProps = buttonIcon && Object.assign({}, defaultIconProps, buttonIcon);
|
|
23
24
|
let buttonStyle = api.internalApi.getStyleForButton(button, context ? context : { adaptableApi: api });
|
|
24
25
|
let buttonLabel = api.internalApi.getLabelForButton(button, context ? context : { adaptableApi: api });
|
|
25
26
|
let buttonTooltip = api.internalApi.getTooltipForButton(button, context ? context : { adaptableApi: api });
|
|
26
27
|
return (React.createElement(SimpleButton_1.default, { autoFocus: focusFirstButton && index === 0, disabled: disabledButtons[index], key: index, tooltip: buttonTooltip, tone: (_a = buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.tone) !== null && _a !== void 0 ? _a : defaultTone, variant: buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.variant, "data-text": buttonLabel, className: buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.className, marginLeft: index ? 2 : 0, onClick: () => {
|
|
27
28
|
onClick(button);
|
|
28
29
|
} },
|
|
29
|
-
|
|
30
|
+
buttonIcon ? React.createElement("img", Object.assign({}, iconProps)) : null,
|
|
30
31
|
buttonLabel));
|
|
31
32
|
})));
|
|
32
33
|
}
|
|
@@ -63,17 +64,7 @@ function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displa
|
|
|
63
64
|
label: item.label,
|
|
64
65
|
onClick: () => setFieldValue(field.name, item.value),
|
|
65
66
|
}));
|
|
66
|
-
return (
|
|
67
|
-
/*
|
|
68
|
-
<Dropdown
|
|
69
|
-
options={field.Options || []}
|
|
70
|
-
value={value}
|
|
71
|
-
onChange={(value) => {
|
|
72
|
-
setFieldValue(field.Name, value);
|
|
73
|
-
}}
|
|
74
|
-
></Dropdown>
|
|
75
|
-
*/
|
|
76
|
-
React.createElement(DropdownButton_1.default, { style: {
|
|
67
|
+
return (React.createElement(DropdownButton_1.default, { style: {
|
|
77
68
|
width: '100%',
|
|
78
69
|
whiteSpace: 'nowrap',
|
|
79
70
|
overflow: 'hidden',
|
|
@@ -85,7 +76,7 @@ function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displa
|
|
|
85
76
|
setFieldValue(field.name, event.target.checked);
|
|
86
77
|
} }));
|
|
87
78
|
case 'textOutput':
|
|
88
|
-
return React.createElement(rebass_1.Box, { style: { textAlign: '
|
|
79
|
+
return (React.createElement(rebass_1.Box, { paddingLeft: 2, style: { textAlign: 'left' } }, value));
|
|
89
80
|
default:
|
|
90
81
|
return React.createElement("div", null,
|
|
91
82
|
"Unknown field type: ",
|
|
@@ -95,9 +86,9 @@ function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displa
|
|
|
95
86
|
// by default we have 2 columns: label & input
|
|
96
87
|
const columns = (_b = (_a = formDef.config) === null || _a === void 0 ? void 0 : _a.columns) !== null && _b !== void 0 ? _b : [1, 2];
|
|
97
88
|
return (React.createElement(React.Fragment, null,
|
|
98
|
-
displayTitle && formDef.title && (React.createElement(rebass_1.Box, { fontSize: 5, mb: 2, style: { fontWeight: 'bold' } }, formDef.title)),
|
|
99
|
-
formDef.description && React.createElement(rebass_1.Box, { mb: 3 }, formDef.description),
|
|
100
|
-
React.createElement(FormLayout_1.default, { columns: columns }, (_c = formDef.fields) === null || _c === void 0 ? void 0 : _c.map((field, index) => {
|
|
89
|
+
displayTitle && formDef.title && (React.createElement(rebass_1.Box, { "data-name": "form-title", fontSize: 5, mb: 2, style: { fontWeight: 'bold' } }, formDef.title)),
|
|
90
|
+
formDef.description && (React.createElement(rebass_1.Box, { "data-name": "form-description", mb: 3 }, formDef.description)),
|
|
91
|
+
React.createElement(FormLayout_1.default, { "data-name": "form-content", columns: columns, style: { overflow: 'auto' }, paddingRight: 1 }, (_c = formDef.fields) === null || _c === void 0 ? void 0 : _c.map((field, index) => {
|
|
101
92
|
if (Array.isArray(field)) {
|
|
102
93
|
const rowFields = {};
|
|
103
94
|
field.map((fieldItem, index) => {
|
|
@@ -113,7 +104,7 @@ function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displa
|
|
|
113
104
|
renderField(field)));
|
|
114
105
|
}
|
|
115
106
|
})),
|
|
116
|
-
formDef.buttons ? (React.createElement(rebass_1.Flex, { marginTop: 3, flexDirection: "row", alignItems: "center", justifyContent: "center" },
|
|
107
|
+
formDef.buttons ? (React.createElement(rebass_1.Flex, { "data-name": "form-buttons", marginTop: 3, flexDirection: "row", alignItems: "center", justifyContent: "center" },
|
|
117
108
|
React.createElement(AdaptableFormComponentButtons, { focusFirstButton: focusFirstButton, onClick: onButtonClick, disabledButtons: disabledButtons, defaultTone: "success", formDef: formDef, api: api, context: context }))) : null));
|
|
118
109
|
}
|
|
119
110
|
exports.AdaptableFormComponent = AdaptableFormComponent;
|
|
@@ -11,8 +11,8 @@ function DashboardToolbar(props) {
|
|
|
11
11
|
React.createElement("div", { className: "ab-Dashboard__toolbar-content" }, props.children),
|
|
12
12
|
React.createElement(rebass_1.Flex, { className: "ab-Dashboard__toolbar-title", flexDirection: "row", alignItems: "center" },
|
|
13
13
|
React.createElement("span", null, props.title),
|
|
14
|
-
props.showConfigure && (React.createElement(SimpleButton_1.default, { icon: "build", variant: "text", tone: "none", "data-name": "configure", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Configure ${props.title}`, onClick: () => props.onConfigure() })),
|
|
14
|
+
props.showConfigure && (React.createElement(SimpleButton_1.default, { icon: "build", variant: "text", tone: "none", "data-name": "configure", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Configure ${props.title} Toolbar`, onClick: () => props.onConfigure() })),
|
|
15
15
|
' ',
|
|
16
|
-
props.showClose && (React.createElement(SimpleButton_1.default, { style: { alignSelf: 'flex-end' }, disabled: props.accessLevel == 'ReadOnly', "data-name": "close", icon: "clear", variant: "text", tone: "none", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Close ${props.title}`, onClick: () => props.onClose() })))));
|
|
16
|
+
props.showClose && (React.createElement(SimpleButton_1.default, { style: { alignSelf: 'flex-end' }, disabled: props.accessLevel == 'ReadOnly', "data-name": "close", icon: "clear", variant: "text", tone: "none", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Close ${props.title} Toolbar`, onClick: () => props.onClose() })))));
|
|
17
17
|
}
|
|
18
18
|
exports.DashboardToolbar = DashboardToolbar;
|
|
@@ -86,22 +86,23 @@ exports.Datepicker = React.forwardRef((props, ref) => {
|
|
|
86
86
|
clearValue();
|
|
87
87
|
}, accessLevel: 'Full' })) : null;
|
|
88
88
|
const calendarButton = (React.createElement(SimpleButton_1.default, { disabled: disabled, variant: "text", icon: "calendar", tooltip: "Date", iconSize: 20, px: 0, py: 0, onClick: () => setVisible(true) }));
|
|
89
|
-
return (React.createElement(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
89
|
+
return (React.createElement(rebass_1.Flex, null,
|
|
90
|
+
React.createElement(OverlayTrigger_1.default, { visible: visible, alignHorizontal: 'left', render: () => (React.createElement(DatepickerOverlay, { onHide: () => setVisible(false), onKeyDown: (e) => {
|
|
91
|
+
if (e.key === 'Escape' || e.key === 'Enter') {
|
|
92
|
+
setVisible(false, e.key);
|
|
93
|
+
}
|
|
94
|
+
} },
|
|
95
|
+
React.createElement(react_day_picker_1.DayPicker, Object.assign({ fixedWeeks: true }, dayPickerProps, { showWeekNumber: showWeekNumber, showOutsideDays: showOutsideDays, mode: "single", month: isNaN(+month) ? new Date() : month, onMonthChange: setMonth, components: { Caption: Caption_1.Caption, CaptionLabel: CaptionLabel_1.CaptionLabel }, onSelect: updateValue, footer: React.createElement(rebass_1.Flex, { justifyContent: "space-between", mt: 2, flexWrap: 'wrap' }, footerButtons) })))) },
|
|
96
|
+
React.createElement(FieldWrap_1.default, Object.assign({}, boxProps, { style: {
|
|
97
|
+
borderRadius: style === null || style === void 0 ? void 0 : style.borderRadius,
|
|
98
|
+
width: style === null || style === void 0 ? void 0 : style.width,
|
|
99
|
+
maxWidth: style === null || style === void 0 ? void 0 : style.maxWidth,
|
|
100
|
+
}, onFocus: () => {
|
|
101
|
+
if (!visible) {
|
|
102
|
+
setVisible(true);
|
|
103
|
+
}
|
|
104
|
+
} }),
|
|
105
|
+
React.createElement(Input_1.default, { value: inputValue, placehoder: placeholder !== null && placeholder !== void 0 ? placeholder : dateProps.format, style: style, disabled: disabled, readOnly: true, ref: ref }),
|
|
106
|
+
!!inputValue ? clearButton : null,
|
|
107
|
+
calendarButton))));
|
|
107
108
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface SelectListOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export interface SelectListProps {
|
|
7
|
+
options: SelectListOption[];
|
|
8
|
+
onChange: (option: SelectListOption) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const SelectList: React.FunctionComponent<SelectListProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectList = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const React = tslib_1.__importStar(require("react"));
|
|
6
|
+
const SimpleButton_1 = tslib_1.__importDefault(require("./SimpleButton"));
|
|
7
|
+
exports.SelectList = (props) => {
|
|
8
|
+
return (React.createElement(React.Fragment, null, props.options.map((option) => (React.createElement(SimpleButton_1.default, { p: 2, width: '100%', variant: "text", onClick: () => props.onChange(option), key: option.label }, option.label)))));
|
|
9
|
+
};
|
|
@@ -100,7 +100,7 @@ exports.WindowModal = (props) => {
|
|
|
100
100
|
return react_dom_1.createPortal(React.createElement("div", { style: style,
|
|
101
101
|
//@ts-ignore
|
|
102
102
|
ref: targetRef, onMouseDown: stacking.bringInFront },
|
|
103
|
-
React.createElement(re_resizable_1.Resizable, { onResizeStop: handleResizeStop, onResize: handleResize, bounds: "window", defaultSize: {
|
|
103
|
+
React.createElement(re_resizable_1.Resizable, { minWidth: props.minWidth, minHeight: props.minHeight, onResizeStop: handleResizeStop, onResize: handleResize, bounds: "window", defaultSize: {
|
|
104
104
|
width: props.size.width,
|
|
105
105
|
height: props.size.height,
|
|
106
106
|
} }, props.children)), portalElement);
|
|
File without changes
|
|
File without changes
|
|
@@ -56,7 +56,7 @@ const column_filter_1 = tslib_1.__importDefault(require("./column-filter"));
|
|
|
56
56
|
const column_info_1 = tslib_1.__importDefault(require("./column-info"));
|
|
57
57
|
const custom_sort_1 = tslib_1.__importDefault(require("./custom-sort"));
|
|
58
58
|
const system_status_1 = tslib_1.__importDefault(require("./system-status"));
|
|
59
|
-
const
|
|
59
|
+
const data_set_1 = tslib_1.__importDefault(require("./data-set"));
|
|
60
60
|
const flashing_cell_1 = tslib_1.__importDefault(require("./flashing-cell"));
|
|
61
61
|
const edit_1 = tslib_1.__importDefault(require("./edit"));
|
|
62
62
|
const equation_1 = tslib_1.__importDefault(require("./equation"));
|
|
@@ -153,7 +153,7 @@ const allIcons = {
|
|
|
153
153
|
call: call_1.default,
|
|
154
154
|
instrument: instrument_1.default,
|
|
155
155
|
news: news_1.default,
|
|
156
|
-
'data-
|
|
156
|
+
'data-set': data_set_1.default,
|
|
157
157
|
export: export_1.default,
|
|
158
158
|
campaign: campaign_1.default,
|
|
159
159
|
broadcast: campaign_1.default,
|