@adaptabletools/adaptable 11.3.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 +108 -108
- 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 +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 +2 -2
- 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/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 +75 -62
- package/src/Api/AdaptableApi.d.ts +6 -3
- package/src/Api/ColumnApi.d.ts +2 -2
- 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 +15 -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 +3 -4
- package/src/Api/FilterApi.d.ts +1 -77
- 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 +2 -2
- package/src/Api/Implementation/ColumnApiImpl.js +2 -2
- 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 -159
- package/src/Api/Implementation/FormatColumnApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +1 -1
- package/src/Api/Implementation/GridApiImpl.js +1 -1
- package/src/Api/Implementation/InternalApiImpl.d.ts +3 -2
- package/src/Api/Implementation/InternalApiImpl.js +14 -3
- 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 +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 +88 -1
- 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/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 +135 -1
- 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/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/Interface/IModule.d.ts +3 -1
- package/src/Strategy/LayoutModule.js +24 -2
- package/src/Strategy/SmartEditModule.js +1 -1
- 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 +15 -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/EntitlementService.js +7 -1
- package/src/Utilities/Services/ModuleService.js +1 -1
- package/src/Utilities/Services/ReportService.js +2 -3
- 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/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 +1 -1
- package/src/View/Components/FilterForm/FilterForm.js +9 -7
- package/src/View/Components/FilterForm/QuickFilterForm.d.ts +1 -1
- package/src/View/Components/FilterForm/QuickFilterForm.js +6 -5
- 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/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.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/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 +4 -4
- package/src/agGrid/ActionColumnRenderer.js +3 -2
- package/src/agGrid/Adaptable.d.ts +4 -2
- package/src/agGrid/Adaptable.js +79 -52
- 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/components/AdaptableFormComponent/AdaptableFormComponent.js +3 -2
- package/src/components/Dashboard/DashboardToolbar.js +2 -2
- package/src/components/SelectList.d.ts +10 -0
- package/src/components/SelectList.js +9 -0
- 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 +162 -77
- package/src/metamodel/adaptable.metamodel.js +422 -375
- package/src/types.d.ts +15 -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/index.css
CHANGED
|
@@ -2290,6 +2290,9 @@ template {
|
|
|
2290
2290
|
--ab-cmp-adaptable-object-compact-list-item__background: var(--ab-color-defaultbackground);
|
|
2291
2291
|
--ab-cmp-adaptable-object-compact-list-item__padding: var(--ab-space-1);
|
|
2292
2292
|
--ab-cmp-adaptable-object-compact-list-item__margin-bottom: var(--ab-space-2);
|
|
2293
|
+
--ab-cmp-adaptable-object-compact-list__header__padding: var(--ab-space-2);
|
|
2294
|
+
--ab-cmp-adaptable-object-compact-list__header__margin-bottom: var(--ab-space-1);
|
|
2295
|
+
--ab-cmp-adaptable-object-compact-list__header__font-size: var(--ab-font-size-4);
|
|
2293
2296
|
--ab-cmp-adaptable-object-compact-list-item-name__width: 80px;
|
|
2294
2297
|
--ab-cmp-adaptable-object-compact-list-item-name__padding: var(--ab-space-1);
|
|
2295
2298
|
--ab-cmp-adaptable-object-compact-list-item-name__margin-right: var(--ab-space-1);
|
|
@@ -2310,7 +2313,8 @@ template {
|
|
|
2310
2313
|
--ab-cmp-adaptable-statusbar-sub-panel__padding: var(--ab-space-1) var(--ab-space-2);
|
|
2311
2314
|
--ab-cmp-adaptable-statusbar-sub-panel-icon__background-color-hover: var(--ab-color-primary);
|
|
2312
2315
|
--ab-cmp-adaptable-statusbar__color: var(--ab-color-text-on-primary);
|
|
2313
|
-
--ab-cmp-adaptable-statusbar__font-weight: 400;
|
|
2316
|
+
--ab-cmp-adaptable-statusbar__font-weight: 400;
|
|
2317
|
+
--ab-cmp-adaptable-statusbar__border: 1px solid var(--ab-color-primary); }
|
|
2314
2318
|
|
|
2315
2319
|
.ab-Radio-input:focus + svg rect {
|
|
2316
2320
|
stroke: var(--ab-color-accent);
|
|
@@ -3702,7 +3706,19 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
3702
3706
|
|
|
3703
3707
|
.ab-Adaptable-Object-Compact-List {
|
|
3704
3708
|
padding: var(--ab-cmp-adaptable-object-compact-list__padding);
|
|
3705
|
-
background: var(--ab-cmp-adaptable-object-compact-list__background);
|
|
3709
|
+
background: var(--ab-cmp-adaptable-object-compact-list__background);
|
|
3710
|
+
max-height: 70vh; }
|
|
3711
|
+
|
|
3712
|
+
.ab-Adaptable-Object-Compact-List .ab-Adaptable-Object-Compact-List__Header {
|
|
3713
|
+
padding: var(--ab-cmp-adaptable-object-compact-list__header__padding);
|
|
3714
|
+
margin-bottom: var(--ab-cmp-adaptable-object-compact-list__header__margin-bottom); }
|
|
3715
|
+
|
|
3716
|
+
.ab-Adaptable-Object-Compact-List .ab-Adaptable-Object-Compact-List__Title {
|
|
3717
|
+
font-size: var(--ab-font-size-4); }
|
|
3718
|
+
|
|
3719
|
+
.ab-Adaptable-Object-Compact-List .ab-Adaptable-Object-Compact-List__Body {
|
|
3720
|
+
overflow: auto;
|
|
3721
|
+
height: 100%; }
|
|
3706
3722
|
|
|
3707
3723
|
.ab-Adaptable-Object-Compact-List .ab-Adaptable-Object-Compact-List__Item {
|
|
3708
3724
|
padding: var(--ab-cmp-adaptable-object-compact-list-item__padding);
|
|
@@ -3719,13 +3735,19 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
3719
3735
|
font-size: var(--ab-cmp-adaptable-object-compact-list-item-name__font-size); }
|
|
3720
3736
|
|
|
3721
3737
|
.ab-StatusBar {
|
|
3722
|
-
display: flex;
|
|
3738
|
+
display: flex;
|
|
3739
|
+
border-right: var(--ab-cmp-adaptable-statusbar__border);
|
|
3740
|
+
border-left: var(--ab-cmp-adaptable-statusbar__border); }
|
|
3723
3741
|
|
|
3724
3742
|
.ab-StatusBar__SubPanel {
|
|
3725
3743
|
padding: var(--ab-cmp-adaptable-statusbar-sub-panel__padding);
|
|
3726
3744
|
border: 0;
|
|
3727
3745
|
background: none;
|
|
3728
|
-
font-weight: 400;
|
|
3746
|
+
font-weight: 400;
|
|
3747
|
+
border-right: var(--ab-cmp-adaptable-statusbar__border); }
|
|
3748
|
+
|
|
3749
|
+
.ab-StatusBar__SubPanel:last-child {
|
|
3750
|
+
border-right: 0; }
|
|
3729
3751
|
|
|
3730
3752
|
.ab-StatusBar__SubPanel,
|
|
3731
3753
|
.ab-StatusBar__SubPanel .ab-SimpleButton {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0-canary.0",
|
|
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",
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1654532122066;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
|
@@ -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
|
}
|
|
@@ -53,11 +53,11 @@ export declare type SmartEditCustomOperation = {
|
|
|
53
53
|
/**
|
|
54
54
|
* Name of the Custom Operation (as appears in AdapTable UI)
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
name: string;
|
|
57
57
|
/**
|
|
58
58
|
* Custom Operation function - returns a number
|
|
59
59
|
*/
|
|
60
|
-
|
|
60
|
+
operation: (context: SmartEditOperationContext) => number;
|
|
61
61
|
};
|
|
62
62
|
export declare type SmartEditOperation = SmartEditCustomOperation | MathOperation;
|
|
63
63
|
/**
|
|
@@ -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
|
+
}
|
|
@@ -81,7 +81,7 @@ export interface CustomDestination {
|
|
|
81
81
|
/**
|
|
82
82
|
* Function invoked when export is applied (used if no form is supplied)
|
|
83
83
|
*/
|
|
84
|
-
onExport?: (
|
|
84
|
+
onExport?: (reportContext: ReportContext) => void;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Context required by functions when using an Export Button
|
|
@@ -106,3 +106,7 @@ export interface ExportButtonContext extends BaseContext {
|
|
|
106
106
|
}
|
|
107
107
|
export declare type SystemExportDestinations = SystemExportDestination[];
|
|
108
108
|
export declare type SystemExportDestination = 'Excel' | 'CSV' | 'Clipboard' | 'JSON';
|
|
109
|
+
export interface ReportContext extends BaseContext {
|
|
110
|
+
report: Report;
|
|
111
|
+
reportData: ReportData;
|
|
112
|
+
}
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { AdaptableScope } from '../../types';
|
|
1
|
+
import { AdaptableForm, AdaptableObject, AdaptableScope, BaseContext } from '../../types';
|
|
2
2
|
import { AdaptableComparerFunction } from '../PredefinedConfig/Common/AdaptableComparerFunction';
|
|
3
3
|
import { AlternativeModuleName } from '../PredefinedConfig/Common/AlternativeModuleName';
|
|
4
4
|
import { CellSummaryOperation } from '../PredefinedConfig/Common/CellSummary';
|
|
@@ -20,13 +20,6 @@ export interface GeneralOptions {
|
|
|
20
20
|
* @deprecated starting with Adaptable v10
|
|
21
21
|
*/
|
|
22
22
|
hideEmptyGroupRows?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Show warning if AdapTable cannot find a column
|
|
25
|
-
*
|
|
26
|
-
* @defaultValue true
|
|
27
|
-
* @gridInfoItem
|
|
28
|
-
*/
|
|
29
|
-
showMissingColumnsWarning?: boolean;
|
|
30
23
|
/**
|
|
31
24
|
* Show aggregated totals row at top of Grid when row grouping
|
|
32
25
|
*
|
|
@@ -34,21 +27,6 @@ export interface GeneralOptions {
|
|
|
34
27
|
* @gridInfoItem
|
|
35
28
|
*/
|
|
36
29
|
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
30
|
/**
|
|
53
31
|
* Alternative names to use for Adaptable Modules in toolbars and menus
|
|
54
32
|
*
|
|
@@ -77,6 +55,10 @@ export interface GeneralOptions {
|
|
|
77
55
|
* CustomSort column comparer functions
|
|
78
56
|
*/
|
|
79
57
|
customSortComparers?: ColumnValuesComparer[];
|
|
58
|
+
/**
|
|
59
|
+
* Collection of Data Sets to provide Data to AdapTable
|
|
60
|
+
*/
|
|
61
|
+
dataSets?: DataSet[];
|
|
80
62
|
}
|
|
81
63
|
/**
|
|
82
64
|
* Comparer object for Column Values - used for custom sorting
|
|
@@ -91,3 +73,20 @@ export interface ColumnValuesComparer {
|
|
|
91
73
|
*/
|
|
92
74
|
comparer: AdaptableComparerFunction;
|
|
93
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Defines a Data Set object that can provide data to AdapTable
|
|
78
|
+
*/
|
|
79
|
+
export interface DataSet extends AdaptableObject {
|
|
80
|
+
/**
|
|
81
|
+
* Name of Data Set
|
|
82
|
+
*/
|
|
83
|
+
name: string;
|
|
84
|
+
/**
|
|
85
|
+
* Describes the Data Set
|
|
86
|
+
*/
|
|
87
|
+
description: string;
|
|
88
|
+
/**
|
|
89
|
+
* Params for Data Set popup form
|
|
90
|
+
*/
|
|
91
|
+
form?: AdaptableForm<BaseContext>;
|
|
92
|
+
}
|
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
|
*/
|