@adaptabletools/adaptable 11.3.0 → 12.0.0-canary.2
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 +568 -273
- package/bundle.cjs.js +114 -114
- package/index.css +642 -270
- package/package.json +2 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -0
- package/src/AdaptableInterfaces/IAdaptable.d.ts +4 -1
- package/src/AdaptableOptions/ActionOptions.d.ts +1 -0
- package/src/AdaptableOptions/{FormatColumnOptions.js → ActionOptions.js} +0 -0
- package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +5 -0
- package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -10
- 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/{MasterDetailAgGridPluginOptions.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 +6 -7
- package/src/AdaptableOptions/EntitlementOptions.d.ts +7 -1
- package/src/AdaptableOptions/ExportOptions.d.ts +9 -8
- package/src/AdaptableOptions/FilterOptions.d.ts +6 -1
- package/src/AdaptableOptions/GeneralOptions.d.ts +25 -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 +88 -57
- package/src/Api/AdaptableApi.d.ts +6 -3
- package/src/Api/ColumnApi.d.ts +9 -4
- 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 +26 -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/SearchChanged.d.ts +4 -5
- package/src/Api/ExportApi.d.ts +2 -2
- package/src/Api/FilterApi.d.ts +28 -36
- package/src/Api/GridApi.d.ts +1 -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 +4 -4
- package/src/Api/Implementation/ColumnApiImpl.js +17 -16
- 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/ExportApiImpl.d.ts +2 -2
- package/src/Api/Implementation/FilterApiImpl.d.ts +11 -11
- package/src/Api/Implementation/FilterApiImpl.js +59 -72
- package/src/Api/Implementation/FormatColumnApiImpl.js +2 -2
- package/src/Api/Implementation/GridApiImpl.d.ts +1 -1
- package/src/Api/Implementation/GridApiImpl.js +7 -3
- package/src/Api/Implementation/InternalApiImpl.d.ts +3 -2
- package/src/Api/Implementation/InternalApiImpl.js +14 -3
- package/src/Api/Implementation/LayoutApiImpl.d.ts +3 -0
- package/src/Api/Implementation/LayoutApiImpl.js +20 -0
- package/src/Api/Implementation/PredicateApiImpl.d.ts +2 -0
- package/src/Api/Implementation/PredicateApiImpl.js +19 -1
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +3 -1
- package/src/Api/Implementation/SmartEditApiImpl.js +6 -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 +4 -4
- package/src/Api/InternalApi.d.ts +3 -2
- package/src/Api/LayoutApi.d.ts +16 -0
- package/src/Api/PredicateApi.d.ts +7 -0
- package/src/Api/SmartEditApi.d.ts +8 -2
- 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/Common/AdaptableButton.d.ts +3 -3
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +5 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +18 -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/FormContext.d.ts +8 -0
- package/src/PredefinedConfig/Common/FormContext.js +2 -0
- 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 +3 -0
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +47 -0
- package/src/Redux/ActionsReducers/LayoutRedux.js +134 -1
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +3 -2
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +22 -0
- package/src/Redux/ActionsReducers/SystemRedux.js +39 -1
- package/src/Redux/Store/AdaptableStore.js +37 -39
- package/src/Strategy/AdaptableModuleBase.js +1 -2
- package/src/Strategy/AlertModule.d.ts +11 -0
- package/src/Strategy/AlertModule.js +14 -0
- package/src/Strategy/BulkUpdateModule.js +3 -4
- package/src/Strategy/CellSummaryModule.d.ts +3 -0
- package/src/Strategy/CellSummaryModule.js +29 -16
- 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 +26 -20
- package/src/Strategy/FlashingCellModule.d.ts +1 -1
- package/src/Strategy/FlashingCellModule.js +2 -2
- package/src/Strategy/Interface/IModule.d.ts +3 -1
- package/src/Strategy/LayoutModule.js +25 -2
- package/src/Strategy/PlusMinusModule.js +1 -4
- package/src/Strategy/SmartEditModule.js +3 -3
- 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 +8 -2
- package/src/Utilities/Constants/GeneralConstants.js +8 -2
- package/src/Utilities/Constants/ModuleConstants.d.ts +1 -1
- package/src/Utilities/Constants/ModuleConstants.js +2 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +17 -15
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +3 -1
- package/src/Utilities/ObjectFactory.d.ts +3 -6
- package/src/Utilities/ObjectFactory.js +3 -7
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +6 -7
- package/src/Utilities/Services/EntitlementService.js +7 -1
- package/src/Utilities/Services/ModuleService.js +1 -1
- package/src/Utilities/Services/ReportService.js +2 -3
- package/src/Utilities/Services/RowEditService.d.ts +1 -0
- package/src/Utilities/Services/RowEditService.js +34 -2
- 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/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +8 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +3 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +9 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +18 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +87 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +18 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +16 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +2 -9
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +2 -75
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +3 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +9 -4
- package/src/View/AdaptableWizardView/Utils.d.ts +1 -0
- package/src/View/AdaptableWizardView/Utils.js +24 -0
- package/src/View/AdaptableWizardView/Wizard.d.ts +54 -0
- package/src/View/AdaptableWizardView/Wizard.js +98 -0
- package/src/View/AdaptableWizardView/index.d.ts +1 -22
- package/src/View/AdaptableWizardView/index.js +2 -103
- 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/AlertBehaviourWizardSection.js +1 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +3 -3
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
- package/src/View/BulkUpdate/BulkUpdatePopup.js +2 -3
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +3 -4
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +5 -6
- package/src/View/CellSummary/CellSummaryDetails.js +4 -4
- 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 +1 -1
- package/src/View/Components/FilterForm/FilterForm.js +10 -8
- package/src/View/Components/FilterForm/QuickFilterForm.d.ts +1 -1
- package/src/View/Components/FilterForm/QuickFilterForm.js +5 -4
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- 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/PreviewResultsPanel.js +3 -3
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -2
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +11 -9
- package/src/View/Components/WizardSummaryPage.js +2 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +2 -2
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +1 -1
- 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/Export/Wizard/ReportColumnsWizardSection.js +1 -1
- package/src/View/Export/Wizard/ReportNameWizardSection.js +1 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +1 -1
- package/src/View/Filter/ActiveFiltersPanel.js +1 -1
- package/src/View/Filter/FilterSummary.d.ts +5 -5
- package/src/View/Filter/FilterSummary.js +5 -4
- package/src/View/Filter/FilterViewPanel.d.ts +4 -4
- package/src/View/Filter/FilterViewPanel.js +10 -13
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +2 -2
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +5 -6
- package/src/View/GridInfo/ColumnInfoComponent.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 +1 -0
- package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +1 -1
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +1 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +2 -2
- package/src/View/SmartEdit/SmartEditPopup.js +2 -2
- package/src/View/SmartEdit/SmartEditViewPanel.js +2 -2
- 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 +10 -10
- package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +2 -2
- package/src/View/Wizard/ObjectTagsWizardSection.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +5 -6
- package/src/View/Wizard/OnePageAdaptableWizard.js +35 -169
- package/src/View/Wizard/OnePageWizards.d.ts +37 -0
- package/src/View/Wizard/OnePageWizards.js +187 -0
- package/src/View/Wizard/useKeyboardNavigation.d.ts +1 -1
- package/src/agGrid/ActionColumnRenderer.js +3 -2
- package/src/agGrid/Adaptable.d.ts +4 -2
- package/src/agGrid/Adaptable.js +99 -58
- package/src/agGrid/FilterWrapper.js +1 -1
- package/src/agGrid/agGridHelper.d.ts +7 -8
- package/src/agGrid/agGridHelper.js +68 -86
- package/src/agGrid/agGridMenuHelper.js +4 -1
- package/src/agGrid/rowEditIcons.d.ts +1 -0
- package/src/agGrid/rowEditIcons.js +2 -1
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +3 -2
- package/src/components/Dashboard/DashboardToolbar.js +2 -2
- package/src/components/InfiniteTable/index.js +1 -0
- package/src/components/List/GridList/index.js +1 -1
- package/src/components/SelectList.d.ts +10 -0
- package/src/components/SelectList.js +9 -0
- package/src/components/WindowModal/WindowModal.js +13 -7
- package/src/components/icons/{data-source.d.ts → add-row.d.ts} +0 -0
- package/src/components/icons/add-row.js +7 -0
- package/src/components/icons/data-set.d.ts +3 -0
- package/src/components/icons/{data-source.js → data-set.js} +0 -0
- package/src/components/icons/index.js +4 -2
- package/src/metamodel/adaptable.metamodel.d.ts +163 -78
- package/src/metamodel/adaptable.metamodel.js +402 -322
- package/src/types.d.ts +16 -12
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableOptions/FormatColumnOptions.d.ts +0 -10
- 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/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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0-canary.2",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 datagrid add-on that sits on top of an underlying grid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"main": "agGrid.js",
|
|
32
32
|
"typings": "types.d.ts",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@infinite-table/infinite-react": "0.
|
|
34
|
+
"@infinite-table/infinite-react": "0.3.10",
|
|
35
35
|
"date-fns": "2.22.1",
|
|
36
36
|
"debug": "^4.3.1",
|
|
37
37
|
"isomorphic-fetch": "^2.2.1",
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1654688737709;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
|
@@ -16,6 +16,7 @@ export interface AdaptableNoCodeWizardOptions {
|
|
|
16
16
|
helpText?: React.ReactNode;
|
|
17
17
|
fileContentsToJSON?: (str: string) => Promise<any> | any;
|
|
18
18
|
readFile?: (file: File) => Promise<any>;
|
|
19
|
+
skipToWizard?: boolean;
|
|
19
20
|
loadingMessage?: React.ReactNode;
|
|
20
21
|
prepareData?: (data: any, file?: File) => {
|
|
21
22
|
columns: string[];
|
|
@@ -49,6 +49,10 @@ export interface IAdaptable {
|
|
|
49
49
|
* Avoid unnecessary store calls and rendering
|
|
50
50
|
*/
|
|
51
51
|
isInitialised: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* TRUE if the Adaptable custom tool panel (side-bar) is displayed
|
|
54
|
+
*/
|
|
55
|
+
hasAdaptableToolPanel: boolean;
|
|
52
56
|
/**
|
|
53
57
|
* Set to true when adaptable is destroyed.
|
|
54
58
|
*/
|
|
@@ -141,7 +145,6 @@ export interface IAdaptable {
|
|
|
141
145
|
autoSizeAllColumns(): void;
|
|
142
146
|
updateColumnsIntoStore(): void;
|
|
143
147
|
setColumnOrder(visibleColumnList: string[]): void;
|
|
144
|
-
getUserDefinedHeaderName(columnId: string): string;
|
|
145
148
|
getPrimaryKeyValueFromRowNode(rowNode: RowNode): any;
|
|
146
149
|
getColumnValueDisplayValuePairList(columnId: string, visibleRowsOnly: boolean, onlyIncludeIds?: {
|
|
147
150
|
[key: string]: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -29,3 +29,8 @@ export declare type AngularFrameworkComponent<T = unknown> = {
|
|
|
29
29
|
export declare type ReactFrameworkComponent = ({ adaptableApi, }: {
|
|
30
30
|
adaptableApi: AdaptableApi;
|
|
31
31
|
}) => ReactElement;
|
|
32
|
+
export interface CustomRenderContext {
|
|
33
|
+
visible: boolean;
|
|
34
|
+
element: HTMLDivElement;
|
|
35
|
+
adaptableApi: AdaptableApi;
|
|
36
|
+
}
|
|
@@ -9,7 +9,6 @@ import { AdaptablePlugin } from './AdaptablePlugin';
|
|
|
9
9
|
import { SearchOptions } from './SearchOptions';
|
|
10
10
|
import { ExportOptions } from './ExportOptions';
|
|
11
11
|
import { TeamSharingOptions } from './TeamSharingOptions';
|
|
12
|
-
import { AdaptablePredicateDef } from '../PredefinedConfig/Common/AdaptablePredicate';
|
|
13
12
|
import { MenuOptions } from './MenuOptions';
|
|
14
13
|
import { EntitlementOptions } from './EntitlementOptions';
|
|
15
14
|
import { NotificationsOptions } from './NotificationsOptions';
|
|
@@ -22,7 +21,7 @@ import { GridOptions, Module } from '@ag-grid-community/all-modules';
|
|
|
22
21
|
import { FlashingCellOptions } from './FlashingCellOptions';
|
|
23
22
|
import { AlertOptions } from './AlertOptions';
|
|
24
23
|
import { AdaptableQLOptions } from './AdaptableQLOptions';
|
|
25
|
-
import {
|
|
24
|
+
import { ColumnOptions } from './ColumnOptions';
|
|
26
25
|
/**
|
|
27
26
|
* Group of property options enabling developers to set up AdapTable at design time to fit precise requirements - provides AG Grid, Predefined Config and other information required to ensure a full, rich user experience
|
|
28
27
|
*/
|
|
@@ -97,9 +96,9 @@ export interface AdaptableOptions {
|
|
|
97
96
|
*/
|
|
98
97
|
containerOptions?: ContainerOptions;
|
|
99
98
|
/**
|
|
100
|
-
*
|
|
99
|
+
* Options for managing Columns
|
|
101
100
|
*/
|
|
102
|
-
|
|
101
|
+
columnOptions?: ColumnOptions;
|
|
103
102
|
/**
|
|
104
103
|
* Options related to managing the Dashboard in AdapTable
|
|
105
104
|
*
|
|
@@ -142,12 +141,6 @@ export interface AdaptableOptions {
|
|
|
142
141
|
* @gridInfoContainer
|
|
143
142
|
*/
|
|
144
143
|
flashingCellOptions?: FlashingCellOptions;
|
|
145
|
-
/**
|
|
146
|
-
* Options for managing format columns
|
|
147
|
-
*
|
|
148
|
-
* @gridInfoContainer
|
|
149
|
-
*/
|
|
150
|
-
formatColumnOptions?: FormatColumnOptions;
|
|
151
144
|
/**
|
|
152
145
|
* General options to manage AdapTable e.g. grouping behaviour, Primary Keys
|
|
153
146
|
*
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExpressionFunctionMap } from '../parser/src/types';
|
|
2
|
+
import { AdaptablePredicateDef } from '../PredefinedConfig/Common/AdaptablePredicate';
|
|
2
3
|
import { AdaptableModule, AdaptableQLModules } from '../PredefinedConfig/Common/Types';
|
|
3
4
|
/**
|
|
4
5
|
* Options for managing AdaptableQL - the Adaptable Query Lanaguage which evaluates Predicates and Expressions
|
|
@@ -23,6 +24,10 @@ export interface AdaptableQLOptions {
|
|
|
23
24
|
*
|
|
24
25
|
*/
|
|
25
26
|
expressionOptions?: ExpressionOptions;
|
|
27
|
+
/**
|
|
28
|
+
* Definitions for Custom provided Predicates
|
|
29
|
+
*/
|
|
30
|
+
customPredicateDefs?: AdaptablePredicateDef[];
|
|
26
31
|
}
|
|
27
32
|
/**
|
|
28
33
|
* Options for managing Expressions using AdapTableQL
|
|
@@ -52,7 +52,7 @@ export interface AlertOptions {
|
|
|
52
52
|
/**
|
|
53
53
|
* Function providing Message to display in Alert; if empty, AdapTable provides dynamically
|
|
54
54
|
*/
|
|
55
|
-
alertMessageText?: (
|
|
55
|
+
alertMessageText?: (alertMessageContext: AlertMessageContext) => string | undefined;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Handles a Form Button Action
|
|
@@ -93,3 +93,16 @@ export interface AlertButtonContext extends BaseContext {
|
|
|
93
93
|
*/
|
|
94
94
|
formData?: AdaptableFormData;
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Context used for creating bespoke Alert messages
|
|
98
|
+
*/
|
|
99
|
+
export interface AlertMessageContext {
|
|
100
|
+
/**
|
|
101
|
+
* Current Alert Definition
|
|
102
|
+
*/
|
|
103
|
+
alertDefinition: AlertDefinition;
|
|
104
|
+
/**
|
|
105
|
+
* Data change that might have triggered the Alert
|
|
106
|
+
*/
|
|
107
|
+
cellDataChangedInfo?: CellDataChangedInfo;
|
|
108
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Column } from '@ag-grid-community/all-modules';
|
|
2
|
+
/**
|
|
3
|
+
* Options related to managing Columns in Adaptable.
|
|
4
|
+
*/
|
|
5
|
+
export interface ColumnOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Provide an alternative Friendly Name for a Column
|
|
8
|
+
*/
|
|
9
|
+
columnFriendlyName?: (columnFriendlyNameContext: ColumnFriendlyNameContext) => string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Optional list of Column Types - used primarily for Special Columns
|
|
12
|
+
*/
|
|
13
|
+
columnTypes?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* Show warning if AdapTable cannot find a column
|
|
16
|
+
*
|
|
17
|
+
* @defaultValue true
|
|
18
|
+
* @gridInfoItem
|
|
19
|
+
*/
|
|
20
|
+
showMissingColumnsWarning?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Order Grouped Column automatically, deriving from Adaptable State if available (CustomSort or Layout ColumnSort)
|
|
23
|
+
*
|
|
24
|
+
* The default group order will be derived from (in the specified priority): 1. an active CustomSort, 2. the defined ColDef Comparator, 3. current Layout ColumnSort or 4. alphanumerically
|
|
25
|
+
* @defaultValue true
|
|
26
|
+
* @gridInfoItem
|
|
27
|
+
*/
|
|
28
|
+
autoOrderGroupedColumns?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Automatically removes a column from the grid when it becomes Row Grouped
|
|
31
|
+
*
|
|
32
|
+
* @defaultValue false
|
|
33
|
+
* @gridInfoItem
|
|
34
|
+
*/
|
|
35
|
+
hideColumnWhenGrouped?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Context used when setting a Column Friendly Name
|
|
39
|
+
*/
|
|
40
|
+
export interface ColumnFriendlyNameContext {
|
|
41
|
+
/**
|
|
42
|
+
* Id of the Column
|
|
43
|
+
*/
|
|
44
|
+
colId: string;
|
|
45
|
+
/**
|
|
46
|
+
* AG Grid ColDef for the Column
|
|
47
|
+
*/
|
|
48
|
+
agColumn: Column;
|
|
49
|
+
}
|
|
File without changes
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
2
1
|
import { AdaptableButton } from '../PredefinedConfig/Common/AdaptableButton';
|
|
3
2
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
4
3
|
import { DashboardState } from '../PredefinedConfig/DashboardState';
|
|
5
|
-
import { BaseContext } from '../types';
|
|
4
|
+
import { BaseContext, CustomRenderContext } from '../types';
|
|
6
5
|
import { AdaptableFrameworkComponent } from './AdaptableFrameworkComponent';
|
|
7
6
|
/**
|
|
8
7
|
* Options related to the Dashboard in Adaptable.
|
|
@@ -63,11 +62,7 @@ export interface CustomToolbar extends AdaptableObject {
|
|
|
63
62
|
/**
|
|
64
63
|
* Function to provide custom content when NOT using a Framework wrapper
|
|
65
64
|
*/
|
|
66
|
-
render?: (
|
|
67
|
-
visible: boolean;
|
|
68
|
-
node: HTMLDivElement;
|
|
69
|
-
adaptableApi: AdaptableApi;
|
|
70
|
-
}) => string | null;
|
|
65
|
+
render?: (customRenderContext: CustomRenderContext) => string | null;
|
|
71
66
|
/**
|
|
72
67
|
* The Framework-specific (Angular or React) component to be rendered
|
|
73
68
|
*/
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
|
|
2
|
+
import { ActionColumnButtonContext, AdaptableButton } from '../types';
|
|
3
|
+
export declare type AdaptableDataChangeHistoryAction = 'undo';
|
|
4
|
+
export interface DataChangeHistoryContext extends ActionColumnButtonContext {
|
|
5
|
+
/**
|
|
6
|
+
* Helper function to undo the change.
|
|
7
|
+
*/
|
|
8
|
+
undoDataChange: () => void;
|
|
9
|
+
/**
|
|
10
|
+
* If the change references a group node.
|
|
11
|
+
*/
|
|
12
|
+
isGroupNode: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface DataChangeHistoryButton extends AdaptableButton<DataChangeHistoryContext> {
|
|
15
|
+
Action?: AdaptableDataChangeHistoryAction;
|
|
16
|
+
}
|
|
2
17
|
/**
|
|
3
18
|
* Options to manage the 'Data Change History Module', which provides an overview of all previous changes, giving the possibility to undo specific changes
|
|
4
19
|
*/
|
|
@@ -17,4 +32,8 @@ export interface DataChangeHistoryOptions {
|
|
|
17
32
|
* @gridInfoItem
|
|
18
33
|
*/
|
|
19
34
|
showDataChange?: (cellDataChangedInfo: CellDataChangedInfo) => boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Action button definition. Can be used to implement undo functionality.
|
|
37
|
+
*/
|
|
38
|
+
actionColumnButton?: DataChangeHistoryButton | DataChangeHistoryButton[];
|
|
20
39
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RowNode } from '@ag-grid-community/all-modules';
|
|
2
|
-
import { AdaptableButton, AdaptableColumn,
|
|
2
|
+
import { AdaptableButton, AdaptableColumn, BaseContext, RowFormSubmittedInfo, RowFormType } from '../../types';
|
|
3
|
+
import { FormContext } from '../PredefinedConfig/Common/FormContext';
|
|
3
4
|
import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
|
|
4
5
|
import { MathOperation } from '../PredefinedConfig/Common/Enums';
|
|
5
6
|
import { GridCell } from '../PredefinedConfig/Selection/GridCell';
|
|
@@ -53,11 +54,11 @@ export declare type SmartEditCustomOperation = {
|
|
|
53
54
|
/**
|
|
54
55
|
* Name of the Custom Operation (as appears in AdapTable UI)
|
|
55
56
|
*/
|
|
56
|
-
|
|
57
|
+
name: string;
|
|
57
58
|
/**
|
|
58
59
|
* Custom Operation function - returns a number
|
|
59
60
|
*/
|
|
60
|
-
|
|
61
|
+
operation: (context: SmartEditOperationContext) => number;
|
|
61
62
|
};
|
|
62
63
|
export declare type SmartEditOperation = SmartEditCustomOperation | MathOperation;
|
|
63
64
|
/**
|
|
@@ -108,14 +109,12 @@ export interface RowFormOptions {
|
|
|
108
109
|
onFormSubmit?: (rowFormSubmittedInfo: RowFormSubmittedInfo) => void;
|
|
109
110
|
}
|
|
110
111
|
export declare type RowFormContext = CreateRowFormContext | EditRowFormContext;
|
|
111
|
-
export interface CreateRowFormContext extends
|
|
112
|
+
export interface CreateRowFormContext extends FormContext {
|
|
112
113
|
type: Extract<RowFormType, 'rowCreated'>;
|
|
113
|
-
formData: AdaptableFormData;
|
|
114
114
|
clonedRowNode?: RowNode;
|
|
115
115
|
}
|
|
116
|
-
export interface EditRowFormContext extends
|
|
116
|
+
export interface EditRowFormContext extends FormContext {
|
|
117
117
|
type: Extract<RowFormType, 'rowEdited'>;
|
|
118
|
-
formData: AdaptableFormData;
|
|
119
118
|
rowNode: RowNode;
|
|
120
119
|
}
|
|
121
120
|
export interface FormParamContext extends BaseContext {
|
|
@@ -9,7 +9,7 @@ export interface EntitlementOptions {
|
|
|
9
9
|
*
|
|
10
10
|
* @gridInfoItem
|
|
11
11
|
*/
|
|
12
|
-
moduleEntitlements?: Entitlement[] | ((
|
|
12
|
+
moduleEntitlements?: Entitlement[] | ((entitlementContext: EntitlementContext) => AccessLevel | undefined);
|
|
13
13
|
/**
|
|
14
14
|
* AccessLevel to use when an Entitlement is not explicitly set; can be hardcoded value or a function to invoke
|
|
15
15
|
*
|
|
@@ -18,3 +18,9 @@ export interface EntitlementOptions {
|
|
|
18
18
|
*/
|
|
19
19
|
defaultAccessLevel?: AccessLevel | ((userName: string, adaptableId: string) => AccessLevel);
|
|
20
20
|
}
|
|
21
|
+
export interface EntitlementContext {
|
|
22
|
+
adaptableModule: AdaptableModule;
|
|
23
|
+
userName: string;
|
|
24
|
+
adaptableId: string;
|
|
25
|
+
defaultAccessLevel: AccessLevel;
|
|
26
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { AdaptableForm
|
|
1
|
+
import { AdaptableForm } from '../PredefinedConfig/Common/AdaptableForm';
|
|
2
|
+
import { FormContext } from '../PredefinedConfig/Common/FormContext';
|
|
2
3
|
import { ReportData, Report, SystemReportNames } from '../PredefinedConfig/ExportState';
|
|
3
4
|
import { BaseContext } from '../types';
|
|
4
5
|
/**
|
|
@@ -77,16 +78,16 @@ export interface CustomDestination {
|
|
|
77
78
|
/**
|
|
78
79
|
* Optional Adaptable Form - if provided, it must include Buttons that will execute the export
|
|
79
80
|
*/
|
|
80
|
-
form?: AdaptableForm<
|
|
81
|
+
form?: AdaptableForm<ExportFormContext>;
|
|
81
82
|
/**
|
|
82
83
|
* Function invoked when export is applied (used if no form is supplied)
|
|
83
84
|
*/
|
|
84
|
-
onExport?: (
|
|
85
|
+
onExport?: (reportContext: ReportContext) => void;
|
|
85
86
|
}
|
|
86
87
|
/**
|
|
87
88
|
* Context required by functions when using an Export Button
|
|
88
89
|
*/
|
|
89
|
-
export interface
|
|
90
|
+
export interface ExportFormContext extends FormContext {
|
|
90
91
|
/**
|
|
91
92
|
* The exported report
|
|
92
93
|
*/
|
|
@@ -99,10 +100,10 @@ export interface ExportButtonContext extends BaseContext {
|
|
|
99
100
|
* Custom Export destination
|
|
100
101
|
*/
|
|
101
102
|
customDestination: CustomDestination;
|
|
102
|
-
/**
|
|
103
|
-
* Adaptable Form Data
|
|
104
|
-
*/
|
|
105
|
-
formData: AdaptableFormData;
|
|
106
103
|
}
|
|
107
104
|
export declare type SystemExportDestinations = SystemExportDestination[];
|
|
108
105
|
export declare type SystemExportDestination = 'Excel' | 'CSV' | 'Clipboard' | 'JSON';
|
|
106
|
+
export interface ReportContext extends BaseContext {
|
|
107
|
+
report: Report;
|
|
108
|
+
reportData: ReportData;
|
|
109
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
2
2
|
import { FilterActionOnDataChange } from '../PredefinedConfig/Common/FilterActionOnDataChange';
|
|
3
|
-
import { SystemFilterPredicateId, SystemFilterPredicateIds } from '
|
|
3
|
+
import { SystemFilterPredicateId, SystemFilterPredicateIds } from '../../types';
|
|
4
4
|
import { StrictExtract } from '../Utilities/Extensions/TypeExtensions';
|
|
5
5
|
/**
|
|
6
6
|
* Options for managing Filtering in AdapTable
|
|
@@ -145,4 +145,9 @@ export interface FilterOptions {
|
|
|
145
145
|
* Which Adaptable System Filter Predicates are available
|
|
146
146
|
*/
|
|
147
147
|
systemFilters?: SystemFilterPredicateIds;
|
|
148
|
+
/**
|
|
149
|
+
* Whether to display Quick Filter Bar between Column Header and the Grid (provided its been setup)
|
|
150
|
+
* @defaultValue true
|
|
151
|
+
*/
|
|
152
|
+
showQuickFilter?: boolean;
|
|
148
153
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { AdaptableScope } from '../../types';
|
|
1
|
+
import { AdaptableForm, AdaptableObject, AdaptableScope } from '../../types';
|
|
2
2
|
import { AdaptableComparerFunction } from '../PredefinedConfig/Common/AdaptableComparerFunction';
|
|
3
3
|
import { AlternativeModuleName } from '../PredefinedConfig/Common/AlternativeModuleName';
|
|
4
|
+
import { FormContext } from '../PredefinedConfig/Common/FormContext';
|
|
4
5
|
import { CellSummaryOperation } from '../PredefinedConfig/Common/CellSummary';
|
|
5
6
|
/**
|
|
6
7
|
* General options for configuring AdapTable including managing Primary Keys
|
|
@@ -20,13 +21,6 @@ export interface GeneralOptions {
|
|
|
20
21
|
* @deprecated starting with Adaptable v10
|
|
21
22
|
*/
|
|
22
23
|
hideEmptyGroupRows?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Show warning if AdapTable cannot find a column
|
|
25
|
-
*
|
|
26
|
-
* @defaultValue true
|
|
27
|
-
* @gridInfoItem
|
|
28
|
-
*/
|
|
29
|
-
showMissingColumnsWarning?: boolean;
|
|
30
24
|
/**
|
|
31
25
|
* Show aggregated totals row at top of Grid when row grouping
|
|
32
26
|
*
|
|
@@ -34,21 +28,6 @@ export interface GeneralOptions {
|
|
|
34
28
|
* @gridInfoItem
|
|
35
29
|
*/
|
|
36
30
|
showGroupingTotalsAsHeader?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Order Grouped Column automatically, deriving from Adaptable State if available (CustomSort or Layout ColumnSort)
|
|
39
|
-
*
|
|
40
|
-
* The default group order will be derived from (in the specified priority): 1. an active CustomSort, 2. the defined ColDef Comparator, 3. current Layout ColumnSort or 4. alphanumerically
|
|
41
|
-
* @defaultValue true
|
|
42
|
-
* @gridInfoItem
|
|
43
|
-
*/
|
|
44
|
-
autoOrderGroupedColumns?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Automatically removes a column from the grid when it becomes Row Grouped
|
|
47
|
-
*
|
|
48
|
-
* @defaultValue false
|
|
49
|
-
* @gridInfoItem
|
|
50
|
-
*/
|
|
51
|
-
hideColumnWhenGrouped?: boolean;
|
|
52
31
|
/**
|
|
53
32
|
* Alternative names to use for Adaptable Modules in toolbars and menus
|
|
54
33
|
*
|
|
@@ -77,6 +56,10 @@ export interface GeneralOptions {
|
|
|
77
56
|
* CustomSort column comparer functions
|
|
78
57
|
*/
|
|
79
58
|
customSortComparers?: ColumnValuesComparer[];
|
|
59
|
+
/**
|
|
60
|
+
* Collection of Data Sets to provide Data to AdapTable
|
|
61
|
+
*/
|
|
62
|
+
dataSets?: DataSet[];
|
|
80
63
|
}
|
|
81
64
|
/**
|
|
82
65
|
* Comparer object for Column Values - used for custom sorting
|
|
@@ -91,3 +74,22 @@ export interface ColumnValuesComparer {
|
|
|
91
74
|
*/
|
|
92
75
|
comparer: AdaptableComparerFunction;
|
|
93
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* Defines a Data Set object that can provide data to AdapTable
|
|
79
|
+
*/
|
|
80
|
+
export interface DataSet extends AdaptableObject {
|
|
81
|
+
/**
|
|
82
|
+
* Name of Data Set
|
|
83
|
+
*/
|
|
84
|
+
name: string;
|
|
85
|
+
/**
|
|
86
|
+
* Describes the Data Set
|
|
87
|
+
*/
|
|
88
|
+
description: string;
|
|
89
|
+
/**
|
|
90
|
+
* Params for Data Set popup form
|
|
91
|
+
*/
|
|
92
|
+
form?: AdaptableForm<DataSetFormContext>;
|
|
93
|
+
}
|
|
94
|
+
export interface DataSetFormContext extends FormContext {
|
|
95
|
+
}
|
package/src/AdaptableOptions/{MasterDetailAgGridPluginOptions.d.ts → MasterDetailPluginOptions.d.ts}
RENAMED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { AdaptableOptions, AdaptableApi } from '../types';
|
|
2
2
|
/**
|
|
3
|
-
* Plugin Options used when creating a Master / Detail grid
|
|
4
|
-
*
|
|
5
|
-
* Passed into the plugin as the only argument.
|
|
3
|
+
* Plugin Options used when creating a Master / Detail grid - passed into the plugin as the only argument.
|
|
6
4
|
*/
|
|
7
|
-
export interface
|
|
5
|
+
export interface MasterDetailPluginOptions {
|
|
8
6
|
/**
|
|
9
7
|
* `AdaptableOptions` object to use for child Data Grids; **all** will share the same behaviour and State
|
|
10
8
|
*/
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdaptableFrameworkComponent, AdaptableIcon } from '../../types';
|
|
2
2
|
import { AdaptableSettingsPanel } from '../PredefinedConfig/Common/Types';
|
|
3
|
+
import { CustomRenderContext } from './AdaptableFrameworkComponent';
|
|
3
4
|
export interface SettingsPanelOptions {
|
|
4
5
|
/**
|
|
5
6
|
* Title for the Settings Panel
|
|
@@ -76,11 +77,7 @@ export interface CustomSettingsPanel {
|
|
|
76
77
|
/**
|
|
77
78
|
* Function to provide bespoke content when NOT using a Framework wrapper
|
|
78
79
|
*/
|
|
79
|
-
render?: (
|
|
80
|
-
visible: boolean;
|
|
81
|
-
node: HTMLDivElement;
|
|
82
|
-
adaptableApi: AdaptableApi;
|
|
83
|
-
}) => string | null;
|
|
80
|
+
render?: (customRenderContext: CustomRenderContext) => string | null;
|
|
84
81
|
/**
|
|
85
82
|
* Framework-specific (Angular or React) component to be rendered
|
|
86
83
|
*/
|
|
@@ -1,55 +1,12 @@
|
|
|
1
1
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
2
|
-
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
3
2
|
import { AdaptableFrameworkComponent } from './AdaptableFrameworkComponent';
|
|
4
3
|
import { AdaptableButton } from '../PredefinedConfig/Common/AdaptableButton';
|
|
5
4
|
import { ToolPanelState } from '../PredefinedConfig/ToolPanelState';
|
|
6
|
-
import { BaseContext } from '../types';
|
|
5
|
+
import { BaseContext, CustomRenderContext } from '../types';
|
|
7
6
|
/**
|
|
8
7
|
* Options related to managing the AdapTable ToolPanel Component
|
|
9
8
|
*/
|
|
10
9
|
export interface ToolPanelOptions {
|
|
11
|
-
/**
|
|
12
|
-
* Displays Adaptable ToolPanel Component (only if AG Grid Sidebar is provided)
|
|
13
|
-
*
|
|
14
|
-
* @defaultValue true
|
|
15
|
-
* @gridInfoItem
|
|
16
|
-
*/
|
|
17
|
-
showAdaptableToolPanel?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Title for AdapTable ToolPanel Component - appears vertically at side
|
|
20
|
-
*
|
|
21
|
-
* @defaultValue 'AdapTable'
|
|
22
|
-
* @gridInfoItem
|
|
23
|
-
*/
|
|
24
|
-
adaptableToolPanelTitle?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Key of icon to be used (beside the label) for Adaptable ToolPanel Component
|
|
27
|
-
*
|
|
28
|
-
* @defaultValue 'menu'
|
|
29
|
-
* @gridInfoItem
|
|
30
|
-
*/
|
|
31
|
-
iconKey?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The initial width of AdapTable ToolPanel
|
|
34
|
-
* @defaultValue var(--ab-cmp-toolpanel__width)
|
|
35
|
-
*/
|
|
36
|
-
width?: number;
|
|
37
|
-
/**
|
|
38
|
-
* The min width of AdapTable ToolPanel
|
|
39
|
-
* @defaultValue var(--ab-cmp-toolpanel__width)
|
|
40
|
-
*/
|
|
41
|
-
minWidth?: number;
|
|
42
|
-
/**
|
|
43
|
-
* The max width of AdapTable ToolPanel
|
|
44
|
-
* @defaultValue undefined
|
|
45
|
-
*/
|
|
46
|
-
maxWidth?: number;
|
|
47
|
-
/**
|
|
48
|
-
* Order of displayed ToolPanels in Sidebar
|
|
49
|
-
*
|
|
50
|
-
* @defaultValue ['filters', 'columns', 'adaptable']
|
|
51
|
-
*/
|
|
52
|
-
toolPanelOrder?: ('adaptable' | 'columns' | 'filters')[];
|
|
53
10
|
/**
|
|
54
11
|
* Display the Tool Panels dropdown
|
|
55
12
|
*
|
|
@@ -85,11 +42,7 @@ export interface CustomToolPanel extends AdaptableObject {
|
|
|
85
42
|
/**
|
|
86
43
|
* Function to provide bespoke content when NOT using a Framework wrapper
|
|
87
44
|
*/
|
|
88
|
-
render?: (
|
|
89
|
-
visible: boolean;
|
|
90
|
-
node: HTMLDivElement;
|
|
91
|
-
adaptableApi: AdaptableApi;
|
|
92
|
-
}) => string | null;
|
|
45
|
+
render?: (customRenderContext: CustomRenderContext) => string | null;
|
|
93
46
|
/**
|
|
94
47
|
* Framework-specific (Angular or React) component to be rendered
|
|
95
48
|
*/
|