@adaptabletools/adaptable 10.0.2 → 10.0.4-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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/base.css +84 -32
- package/bundle.cjs.js +350 -0
- package/index.css +100 -34
- package/package.json +1 -5
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +24 -12
- package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -3
- package/src/AdaptableOptions/ContainerOptions.d.ts +4 -5
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
- package/src/AdaptableOptions/DateInputOptions.d.ts +5 -1
- package/src/AdaptableOptions/EditOptions.d.ts +2 -3
- package/src/AdaptableOptions/FilterOptions.d.ts +22 -15
- package/src/AdaptableOptions/GeneralOptions.d.ts +3 -2
- package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
- package/src/AdaptableOptions/MenuOptions.d.ts +11 -11
- package/src/AdaptableOptions/NotificationsOptions.d.ts +11 -1
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +108 -6
- package/src/Api/AdaptableApi.d.ts +12 -12
- package/src/Api/AlertApi.d.ts +1 -1
- package/src/Api/CalculatedColumnApi.d.ts +15 -0
- package/src/Api/ColumnApi.d.ts +49 -5
- package/src/Api/ConfigApi.d.ts +8 -0
- package/src/Api/EventApi.d.ts +1 -1
- package/src/Api/Events/AdaptableReady.d.ts +5 -8
- package/src/Api/Events/AdaptableStateChanged.d.ts +2 -1
- package/src/Api/Events/AlertFired.d.ts +2 -1
- package/src/Api/Events/BaseEventInfo.d.ts +10 -0
- package/src/{Utilities/Interface/ProgressIndicator.js → Api/Events/BaseEventInfo.js} +0 -0
- package/src/Api/Events/CellChanged.d.ts +2 -1
- package/src/Api/Events/ChexboxColumnClicked.d.ts +2 -1
- package/src/Api/Events/CustomToolbarConfigured.d.ts +2 -1
- package/src/Api/Events/DashboardChanged.d.ts +2 -1
- package/src/Api/Events/FlashingAlertFired.d.ts +2 -1
- package/src/Api/Events/GridDataChanged.d.ts +2 -1
- package/src/Api/Events/LayoutChanged.d.ts +2 -1
- package/src/Api/Events/LiveDataChanged.d.ts +2 -1
- package/src/Api/Events/SearchChanged.d.ts +2 -1
- package/src/Api/Events/SelectionChanged.d.ts +2 -1
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +2 -1
- package/src/Api/Events/TeamSharingEntityChanged.d.ts +2 -1
- package/src/Api/Events/ThemeChanged.d.ts +2 -1
- package/src/Api/GridApi.d.ts +44 -18
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -1
- package/src/Api/Implementation/AlertApiImpl.js +22 -15
- package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +3 -0
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +23 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +12 -3
- package/src/Api/Implementation/ColumnApiImpl.js +79 -44
- package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ConfigApiImpl.js +28 -41
- package/src/Api/Implementation/DashboardApiImpl.js +2 -1
- package/src/Api/Implementation/ExportApiImpl.js +4 -4
- package/src/Api/Implementation/FormatColumnApiImpl.js +2 -1
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +9 -3
- package/src/Api/Implementation/GridApiImpl.d.ts +11 -2
- package/src/Api/Implementation/GridApiImpl.js +30 -13
- package/src/Api/Implementation/InternalApiImpl.d.ts +4 -2
- package/src/Api/Implementation/InternalApiImpl.js +21 -5
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +19 -3
- package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -2
- package/src/Api/Implementation/PluginsApiImpl.js +1 -1
- package/src/Api/Implementation/ScheduleApiImpl.js +6 -6
- package/src/Api/Implementation/ScopeApiImpl.js +11 -11
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -0
- package/src/Api/Implementation/TeamSharingApiImpl.js +1 -0
- package/src/Api/Implementation/ThemeApiImpl.js +1 -0
- package/src/Api/Implementation/ToolPanelApiImpl.js +1 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +15 -11
- package/src/Api/Implementation/UserInterfaceApiImpl.js +73 -91
- package/src/Api/InternalApi.d.ts +4 -2
- package/src/Api/LayoutApi.d.ts +7 -0
- package/src/Api/PluginsApi.d.ts +1 -7
- package/src/Api/TeamSharingApi.d.ts +1 -1
- package/src/Api/ThemeApi.d.ts +2 -2
- package/src/Api/UserInterfaceApi.d.ts +19 -9
- package/src/PredefinedConfig/AdaptableState.d.ts +2 -10
- package/src/PredefinedConfig/AlertState.d.ts +5 -1
- package/src/PredefinedConfig/ApplicationState.d.ts +1 -1
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +5 -38
- package/src/PredefinedConfig/Common/AdaptableButton.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +36 -36
- package/src/PredefinedConfig/Common/AdaptableColumn.js +5 -5
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +19 -18
- package/src/PredefinedConfig/Common/AdaptableStyle.d.ts +7 -7
- package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +4 -3
- package/src/PredefinedConfig/Common/DataUpdateConfig.d.ts +5 -1
- package/src/PredefinedConfig/Common/Menu.d.ts +40 -17
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +49 -0
- package/src/PredefinedConfig/Common/SpecialColumnSettings.js +2 -0
- package/src/PredefinedConfig/Common/Types.d.ts +5 -5
- package/src/PredefinedConfig/Common/Types.js +9 -7
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +1 -1
- package/src/PredefinedConfig/CustomSortState.d.ts +1 -1
- package/src/PredefinedConfig/DataSourceState.d.ts +1 -1
- package/src/PredefinedConfig/ExportState.d.ts +3 -3
- package/src/PredefinedConfig/FilterState.d.ts +3 -3
- package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +11 -1
- package/src/PredefinedConfig/LayoutState.d.ts +1 -1
- package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -40
- package/src/PredefinedConfig/QuickSearchState.d.ts +3 -3
- package/src/PredefinedConfig/ScheduleState.d.ts +1 -1
- package/src/PredefinedConfig/Selection/GridCell.d.ts +2 -1
- package/src/PredefinedConfig/Selection/GridRow.d.ts +12 -4
- package/src/PredefinedConfig/SystemState.d.ts +4 -1
- package/src/PredefinedConfig/ThemeState.d.ts +5 -1
- package/src/Redux/ActionsReducers/DashboardRedux.js +2 -1
- package/src/Redux/ActionsReducers/GridRedux.d.ts +3 -2
- package/src/Redux/ActionsReducers/GridRedux.js +2 -2
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +12 -2
- package/src/Redux/ActionsReducers/LayoutRedux.js +24 -1
- package/src/Redux/ActionsReducers/SystemRedux.js +1 -1
- package/src/Redux/DeadRedux.d.ts +4 -8
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -1
- package/src/Redux/Store/AdaptableStore.d.ts +3 -3
- package/src/Redux/Store/AdaptableStore.js +25 -16
- package/src/Strategy/AdaptableModuleBase.d.ts +2 -2
- package/src/Strategy/AdaptableModuleBase.js +8 -8
- package/src/Strategy/AlertModule.d.ts +2 -2
- package/src/Strategy/AlertModule.js +13 -105
- package/src/Strategy/BulkUpdateModule.d.ts +2 -2
- package/src/Strategy/BulkUpdateModule.js +7 -7
- package/src/Strategy/CalculatedColumnModule.js +1 -1
- package/src/Strategy/CellSummaryModule.d.ts +2 -2
- package/src/Strategy/CellSummaryModule.js +3 -3
- package/src/Strategy/ConditionalStyleModule.js +3 -3
- package/src/Strategy/CustomSortModule.js +2 -2
- package/src/Strategy/DashboardModule.d.ts +2 -2
- package/src/Strategy/DataChangeHistoryModule.js +2 -2
- package/src/Strategy/ExportModule.d.ts +2 -4
- package/src/Strategy/ExportModule.js +59 -62
- package/src/Strategy/FilterModule.d.ts +2 -2
- package/src/Strategy/FilterModule.js +4 -4
- package/src/Strategy/FormatColumnModule.js +6 -6
- package/src/Strategy/FreeTextColumnModule.js +1 -1
- package/src/Strategy/GridInfoModule.d.ts +2 -2
- package/src/Strategy/Interface/IModule.d.ts +2 -2
- package/src/Strategy/LayoutModule.d.ts +2 -2
- package/src/Strategy/LayoutModule.js +22 -9
- package/src/Strategy/PlusMinusModule.js +8 -9
- package/src/Strategy/SmartEditModule.d.ts +2 -2
- package/src/Strategy/SmartEditModule.js +8 -9
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +2 -1
- package/src/Utilities/Constants/ModuleConstants.d.ts +6 -6
- package/src/Utilities/Constants/ModuleConstants.js +7 -7
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +9 -7
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +2 -2
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -2
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +1 -1
- package/src/Utilities/Helpers/DateHelper.d.ts +2 -2
- package/src/Utilities/Helpers/DateHelper.js +30 -20
- package/src/Utilities/Helpers/PreviewHelper.js +2 -2
- package/src/Utilities/Interface/Preview.d.ts +2 -1
- package/src/Utilities/ObjectFactory.d.ts +1 -1
- package/src/Utilities/ObjectFactory.js +14 -2
- package/src/Utilities/Services/DataService.js +5 -5
- package/src/Utilities/Services/LicenseService.js +16 -2
- package/src/Utilities/Services/ReportService.js +13 -12
- package/src/Utilities/Services/ValidationService.js +4 -5
- package/src/Utilities/runIfNotResolvedIn.d.ts +8 -0
- package/src/Utilities/runIfNotResolvedIn.js +23 -0
- package/src/View/AdaptableView.js +1 -1
- package/src/View/AdaptableViewFactory.d.ts +2 -1
- package/src/View/AdaptableViewFactory.js +2 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +7 -7
- package/src/View/Alert/AlertPopup.js +1 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +19 -5
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +1 -1
- package/src/View/BulkUpdate/BulkUpdatePopup.d.ts +2 -0
- package/src/View/BulkUpdate/BulkUpdatePopup.js +6 -4
- package/src/View/BulkUpdate/BulkUpdateViewPanel.d.ts +2 -0
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +3 -1
- package/src/View/CalculatedColumn/CalculatedColumnPopup.js +1 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -1
- package/src/View/CellSummary/CellSummaryViewPanel.js +2 -2
- package/src/View/Components/ColumnSelector/index.js +2 -2
- package/src/View/Components/FilterForm/FilterForm.d.ts +3 -51
- package/src/View/Components/FilterForm/FilterForm.js +57 -38
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +4 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +18 -9
- package/src/View/Components/FilterForm/QuickFilterForm.d.ts +3 -43
- package/src/View/Components/FilterForm/QuickFilterForm.js +74 -35
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +3 -0
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +8 -0
- package/src/View/Components/NewScopeComponent.js +1 -1
- package/src/View/Components/Panels/FilterFormPanel.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +423 -1
- package/src/View/Components/Popups/AdaptablePopup.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.js +23 -10
- package/src/View/Components/PreviewResultsPanel.js +1 -1
- package/src/View/Components/RangesComponent.js +2 -2
- package/src/View/Components/Selectors/ColumnSelector.js +5 -5
- package/src/View/Components/Selectors/ColumnValueSelector.d.ts +10 -2
- package/src/View/Components/Selectors/ColumnValueSelector.js +47 -15
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +10 -11
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +2 -3
- package/src/View/ConditionalStyle/ConditionalStylePopup.js +1 -1
- package/src/View/ConditionalStyle/ConditionalStyleSummary.js +1 -1
- package/src/View/CustomSort/CustomSortEntityRow.d.ts +3 -1
- package/src/View/CustomSort/CustomSortEntityRow.js +3 -3
- package/src/View/CustomSort/CustomSortPopup.js +2 -2
- package/src/View/CustomSort/CustomSortSummary.js +3 -3
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +4 -4
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +24 -6
- package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
- package/src/View/Dashboard/Dashboard.js +2 -3
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +11 -10
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +6 -6
- package/src/View/Export/ExportCustomDestinationDialog.js +1 -1
- package/src/View/Export/ExportViewPanel.js +6 -6
- package/src/View/Filter/FilterSummary.js +2 -2
- package/src/View/FormatColumn/FormatColumnPopup.js +1 -1
- package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +1 -1
- package/src/View/FreeTextColumn/FreeTextColumnPopup.js +4 -2
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +5 -3
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +1 -1
- package/src/View/GridInfo/ColumnInfoComponent.js +16 -16
- package/src/View/GridInfo/GridInfoPopup.js +4 -1
- package/src/View/GridInfo/GridOptionsComponent.js +1 -1
- package/src/View/Layout/LayoutViewPanel.js +2 -2
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +6 -6
- package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -2
- package/src/View/Layout/Wizard/LayoutEditor/index.js +41 -41
- package/src/View/PlusMinus/PlusMinusPopup.js +1 -1
- package/src/View/PlusMinus/PlusMinusSummary.js +1 -1
- package/src/View/Query/QueryViewPanel.js +3 -3
- package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -3
- package/src/View/Schedule/SchedulePopup.js +3 -3
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
- package/src/View/SmartEdit/SmartEditPopup.js +1 -1
- package/src/View/StateManagement/StateManagementPopup.d.ts +2 -12
- package/src/View/StateManagement/StateManagementPopup.js +21 -114
- package/src/View/StateManagement/StateManagementViewPanel.d.ts +5 -0
- package/src/View/StateManagement/StateManagementViewPanel.js +22 -0
- package/src/View/StateManagement/components/ClearButton.d.ts +6 -0
- package/src/View/StateManagement/components/ClearButton.js +9 -0
- package/src/View/StateManagement/components/ExportDropdown.d.ts +8 -0
- package/src/View/StateManagement/components/ExportDropdown.js +43 -0
- package/src/View/StateManagement/components/LoadButton.d.ts +7 -0
- package/src/View/StateManagement/components/LoadButton.js +38 -0
- package/src/View/StateManagement/handleExportState.d.ts +1 -0
- package/src/View/StateManagement/handleExportState.js +22 -0
- package/src/View/Theme/ThemeViewPanel.js +1 -1
- package/src/View/UIHelper.d.ts +2 -0
- package/src/View/UIHelper.js +10 -1
- package/src/agGrid/ActionColumnRenderer.d.ts +2 -1
- package/src/agGrid/ActionColumnRenderer.js +21 -4
- package/src/agGrid/Adaptable.d.ts +28 -11
- package/src/agGrid/Adaptable.js +326 -168
- package/src/agGrid/agGridHelper.d.ts +4 -4
- package/src/agGrid/agGridHelper.js +46 -46
- package/src/agGrid/agGridMenuHelper.d.ts +15 -13
- package/src/agGrid/agGridMenuHelper.js +55 -47
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +11 -6
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -2
- package/src/agGrid/editors/AdaptableDateEditor/index.js +16 -6
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +7 -2
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +3 -3
- package/src/components/Dashboard/Dashboard.js +1 -1
- package/src/components/Datepicker/DatepickerContext.d.ts +2 -2
- package/src/components/Datepicker/index.js +9 -5
- package/src/components/DropdownButton/index.js +1 -1
- package/src/components/ExpressionEditor/index.js +7 -7
- package/src/components/Loader/Loader.d.ts +7 -0
- package/src/components/Loader/Loader.js +13 -0
- package/src/components/Loader/index.d.ts +2 -0
- package/src/components/Loader/index.js +7 -0
- package/src/components/Modal/index.d.ts +1 -1
- package/src/components/OverlayTrigger/index.js +3 -3
- package/src/components/OverlayTrigger/useAgGridClassName.d.ts +2 -0
- package/src/components/OverlayTrigger/{useVendorClassName.js → useAgGridClassName.js} +3 -3
- package/src/components/ProgressIndicator/ProgressIndicator.d.ts +2 -0
- package/src/components/ProgressIndicator/ProgressIndicator.js +54 -0
- package/src/components/icons/index.js +2 -0
- package/src/components/icons/upload.d.ts +3 -0
- package/src/components/icons/upload.js +8 -0
- package/src/metamodel/adaptable.metamodel.d.ts +176 -52
- package/src/metamodel/adaptable.metamodel.js +659 -366
- package/src/types.d.ts +5 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/PredefinedConfig/DeprecatedState.d.ts +0 -82
- package/src/PredefinedConfig/DeprecatedState.js +0 -5
- package/src/Utilities/Interface/ProgressIndicator.d.ts +0 -4
- package/src/View/Export/ProgressIndicator.d.ts +0 -6
- package/src/View/Export/ProgressIndicator.js +0 -25
- package/src/components/OverlayTrigger/useVendorClassName.d.ts +0 -2
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base Settings for SpecialColumns
|
|
3
|
+
*/
|
|
4
|
+
export interface SpecialColumnSettings {
|
|
5
|
+
/**
|
|
6
|
+
* Preferred width (in pixels) for Column; if unset, calculated dynamically by AG Grid
|
|
7
|
+
*/
|
|
8
|
+
Width?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Whether Column is filterable
|
|
11
|
+
* @defaultValue true
|
|
12
|
+
*/
|
|
13
|
+
Filterable?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Whether Column can be resized (by dragging column header edges)
|
|
16
|
+
* @defaultValue true
|
|
17
|
+
*/
|
|
18
|
+
Resizable?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Whether Column can be grouped
|
|
21
|
+
* @defaultValue true
|
|
22
|
+
*/
|
|
23
|
+
Groupable?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Whether Column is sortable
|
|
26
|
+
* @defaultValue true
|
|
27
|
+
*/
|
|
28
|
+
Sortable?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Whether Column can be used when grid is in pivot mode
|
|
31
|
+
* @defaultValue true
|
|
32
|
+
*/
|
|
33
|
+
Pivotable?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether Column can be used in an aggregation when grouping
|
|
36
|
+
* @defaultValue true
|
|
37
|
+
*/
|
|
38
|
+
Aggregatable?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Whether if no menu should be shown for this Column header.
|
|
41
|
+
* @defaultValue false
|
|
42
|
+
*/
|
|
43
|
+
SuppressMenu?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether if this Column should be movable via dragging
|
|
46
|
+
* @defaultValue false
|
|
47
|
+
*/
|
|
48
|
+
SuppressMovable?: boolean;
|
|
49
|
+
}
|
|
@@ -5,10 +5,10 @@ export declare type AdaptableDashboardToolbars = AdaptableDashboardToolbar[];
|
|
|
5
5
|
/**
|
|
6
6
|
* List of all the Toolbars that Adaptable provides
|
|
7
7
|
*/
|
|
8
|
-
export declare type AdaptableDashboardToolbar = '
|
|
8
|
+
export declare type AdaptableDashboardToolbar = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Chart' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
|
|
9
9
|
export declare const ALL_TOOLBARS: AdaptableDashboardToolbar[];
|
|
10
10
|
export declare type AdaptableToolPanels = AdaptableToolPanel[];
|
|
11
|
-
export declare type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Chart' | '
|
|
11
|
+
export declare type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Chart' | 'Dashboard' | 'DataChangeHistory' | 'Export' | 'Filter' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
|
|
12
12
|
export declare const ALL_TOOL_PANELS: AdaptableToolPanels;
|
|
13
13
|
/**
|
|
14
14
|
* Adaptable Module Button collection
|
|
@@ -19,10 +19,10 @@ export declare type AdaptableModuleButtons = AdaptableModuleButton[];
|
|
|
19
19
|
/**
|
|
20
20
|
* List of all the Module buttons Adaptable provides - each Module has a popup for which this is a shortcut button
|
|
21
21
|
*/
|
|
22
|
-
export declare type AdaptableModuleButton = '
|
|
22
|
+
export declare type AdaptableModuleButton = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SmartEdit' | 'SparklineColumn' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme';
|
|
23
23
|
export declare type AdaptableStateKeys = AdaptableStateKey[];
|
|
24
|
-
export declare type AdaptableStateKey = '
|
|
25
|
-
export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Chart' | '
|
|
24
|
+
export declare type AdaptableStateKey = 'Alert' | 'Application' | 'CalculatedColumn' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SparklineColumn' | 'Theme' | 'ToolPanel';
|
|
25
|
+
export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SmartEdit' | 'SparklineColumn' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
|
|
26
26
|
export declare type TypeHint<Base, Literals> = (Base & {
|
|
27
27
|
__subType?: true;
|
|
28
28
|
}) | Literals;
|
|
@@ -5,21 +5,22 @@ This page includes frequently used typed - particularly helpful for State and Ap
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ALL_TOOL_PANELS = exports.ALL_TOOLBARS = void 0;
|
|
7
7
|
exports.ALL_TOOLBARS = [
|
|
8
|
-
'Query',
|
|
9
8
|
'Alert',
|
|
10
9
|
'BulkUpdate',
|
|
11
10
|
'CellSummary',
|
|
12
11
|
'Chart',
|
|
13
|
-
'Filter',
|
|
14
12
|
'DataChangeHistory',
|
|
15
13
|
'DataSource',
|
|
16
14
|
'Export',
|
|
15
|
+
'Filter',
|
|
17
16
|
'Glue42',
|
|
18
|
-
'OpenFin',
|
|
19
17
|
'IPushPull',
|
|
20
18
|
'Layout',
|
|
21
|
-
'
|
|
19
|
+
'OpenFin',
|
|
20
|
+
'Query',
|
|
22
21
|
'QuickSearch',
|
|
22
|
+
'SmartEdit',
|
|
23
|
+
'StateManagement',
|
|
23
24
|
'SystemStatus',
|
|
24
25
|
'Theme',
|
|
25
26
|
];
|
|
@@ -28,16 +29,17 @@ exports.ALL_TOOL_PANELS = [
|
|
|
28
29
|
'BulkUpdate',
|
|
29
30
|
'CellSummary',
|
|
30
31
|
'Chart',
|
|
31
|
-
'Filter',
|
|
32
32
|
'Dashboard',
|
|
33
|
+
'DataChangeHistory',
|
|
33
34
|
'Export',
|
|
35
|
+
'Filter',
|
|
34
36
|
'IPushPull',
|
|
35
|
-
'OpenFin',
|
|
36
37
|
'Layout',
|
|
38
|
+
'OpenFin',
|
|
37
39
|
'Query',
|
|
38
40
|
'QuickSearch',
|
|
39
41
|
'SmartEdit',
|
|
42
|
+
'StateManagement',
|
|
40
43
|
'SystemStatus',
|
|
41
44
|
'Theme',
|
|
42
|
-
'DataChangeHistory',
|
|
43
45
|
];
|
|
@@ -7,7 +7,7 @@ import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
|
7
7
|
import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
|
|
8
8
|
import { SuspendableObject } from './Common/SuspendableObject';
|
|
9
9
|
/**
|
|
10
|
-
* Predefined Configuration for the Conditional Style
|
|
10
|
+
* Predefined Configuration for the Conditional Style Module
|
|
11
11
|
**/
|
|
12
12
|
export interface ConditionalStyleState extends ConfigState {
|
|
13
13
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConfigState } from './ConfigState';
|
|
2
2
|
import { SuspendableObject } from './Common/SuspendableObject';
|
|
3
3
|
/**
|
|
4
|
-
* Predefined Configuration for Custom Sort
|
|
4
|
+
* Predefined Configuration for Custom Sort Module
|
|
5
5
|
*/
|
|
6
6
|
export interface CustomSortState extends ConfigState {
|
|
7
7
|
/**
|
|
@@ -3,7 +3,7 @@ import { AdaptableObject } from './Common/AdaptableObject';
|
|
|
3
3
|
import { AdaptableForm } from './Common/AdaptableForm';
|
|
4
4
|
import { ButtonContext } from './Common/AdaptableButton';
|
|
5
5
|
/**
|
|
6
|
-
* Predefined Configuration for Data Source
|
|
6
|
+
* Predefined Configuration for Data Source Module
|
|
7
7
|
*/
|
|
8
8
|
export interface DataSourceState extends ConfigState {
|
|
9
9
|
/**
|
|
@@ -12,7 +12,7 @@ export interface ExportCustomDestinationPopup {
|
|
|
12
12
|
ReportName: Report['Name'];
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* Predefined Configuration for Export
|
|
15
|
+
* Predefined Configuration for Export Module
|
|
16
16
|
*/
|
|
17
17
|
export interface ExportState extends ConfigState {
|
|
18
18
|
/**
|
|
@@ -34,11 +34,11 @@ export interface Report extends AdaptableObject {
|
|
|
34
34
|
*/
|
|
35
35
|
Name: SystemReportName | string;
|
|
36
36
|
/**
|
|
37
|
-
* Columns to display
|
|
37
|
+
* Columns to display: options are 'AllColumns', 'VisibleColumns', 'SelectedColumns', 'ScopeColumns', 'CustomColumns'
|
|
38
38
|
*/
|
|
39
39
|
ReportColumnScope: 'AllColumns' | 'VisibleColumns' | 'SelectedColumns' | 'ScopeColumns' | 'CustomColumns';
|
|
40
40
|
/**
|
|
41
|
-
* Rows to export
|
|
41
|
+
* Rows to export: options are 'AllRows', 'VisibleRows', 'SelectedCellRows', 'SelectedRows', 'ExpressionRows', 'CustomRows'
|
|
42
42
|
*/
|
|
43
43
|
ReportRowScope: 'AllRows' | 'VisibleRows' | 'SelectedCellRows' | 'SelectedRows' | 'ExpressionRows' | 'CustomRows';
|
|
44
44
|
/**
|
|
@@ -12,7 +12,7 @@ export interface FilterState extends ConfigState {
|
|
|
12
12
|
*/
|
|
13
13
|
ColumnFilters?: ColumnFilter[];
|
|
14
14
|
/**
|
|
15
|
-
* Whether to display Quick Filter Bar
|
|
15
|
+
* Whether to display Quick Filter Bar between Column Header and the Grid
|
|
16
16
|
* @defaultValue true
|
|
17
17
|
*/
|
|
18
18
|
IsQuickFilterVisible?: boolean;
|
|
@@ -40,7 +40,7 @@ export interface ColumnFilter extends AdaptableObject {
|
|
|
40
40
|
*/
|
|
41
41
|
ColumnId: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* `AdaptablePredicate` which AdaptableQL will evaluate when the Filter is run
|
|
44
44
|
*/
|
|
45
45
|
Predicate: ColumnFilterPredicate;
|
|
46
46
|
}
|
|
@@ -48,4 +48,4 @@ export interface ColumnFilterPredicate extends AdaptablePredicate {
|
|
|
48
48
|
PredicateId: TypeHint<string, SystemFilterPredicateId>;
|
|
49
49
|
}
|
|
50
50
|
export declare type SystemFilterPredicateIds = SystemFilterPredicateId[];
|
|
51
|
-
export declare type SystemFilterPredicateId = 'Values' | 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'InRange' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'True' | 'False';
|
|
51
|
+
export declare type SystemFilterPredicateId = 'Values' | 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'InRange' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'True' | 'False' | 'BooleanToggle';
|
|
@@ -4,7 +4,7 @@ import { AdaptableFormat } from './Common/AdaptableFormat';
|
|
|
4
4
|
import { AdaptableScope } from './Common/AdaptableScope';
|
|
5
5
|
import { SuspendableObject } from './Common/SuspendableObject';
|
|
6
6
|
/**
|
|
7
|
-
* Predefined Configuration for Format Column
|
|
7
|
+
* Predefined Configuration for Format Column Module
|
|
8
8
|
*/
|
|
9
9
|
export interface FormatColumnState extends ConfigState {
|
|
10
10
|
/**
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ConfigState } from './ConfigState';
|
|
2
2
|
import { AdaptableObject } from './Common/AdaptableObject';
|
|
3
|
+
import { SpecialColumnSettings } from './Common/SpecialColumnSettings';
|
|
3
4
|
/**
|
|
4
|
-
* Predefined Configuration for the Free Text Column
|
|
5
|
+
* Predefined Configuration for the Free Text Column Module
|
|
5
6
|
*/
|
|
6
7
|
export interface FreeTextColumnState extends ConfigState {
|
|
7
8
|
/**
|
|
@@ -39,6 +40,10 @@ export interface FreeTextColumn extends AdaptableObject {
|
|
|
39
40
|
* @defaultValue 'String'
|
|
40
41
|
*/
|
|
41
42
|
DataType?: 'String' | 'Number' | 'Boolean' | 'Date';
|
|
43
|
+
/**
|
|
44
|
+
* Additional optional properties for Column (e.g. filterable, resizable)
|
|
45
|
+
*/
|
|
46
|
+
FreeTextColumnSettings?: FreeTextColumnSettings;
|
|
42
47
|
}
|
|
43
48
|
/**
|
|
44
49
|
* Defines a cell value stored in a Free Text Column
|
|
@@ -53,3 +58,8 @@ export interface FreeTextStoredValue {
|
|
|
53
58
|
*/
|
|
54
59
|
FreeText: any;
|
|
55
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Set of optional properties that define a FreeText Columns behaviour
|
|
63
|
+
*/
|
|
64
|
+
export interface FreeTextColumnSettings extends SpecialColumnSettings {
|
|
65
|
+
}
|
|
@@ -2,7 +2,7 @@ import { ConfigState } from './ConfigState';
|
|
|
2
2
|
import { AdaptableObject } from './Common/AdaptableObject';
|
|
3
3
|
import { ColumnSort } from './Common/ColumnSort';
|
|
4
4
|
/**
|
|
5
|
-
* Predefined Configuration for the Layout
|
|
5
|
+
* Predefined Configuration for the Layout Module
|
|
6
6
|
*/
|
|
7
7
|
export interface LayoutState extends ConfigState {
|
|
8
8
|
/**
|
|
@@ -7,12 +7,9 @@ import { CustomSortState } from './CustomSortState';
|
|
|
7
7
|
import { DashboardState } from './DashboardState';
|
|
8
8
|
import { DataSourceState } from './DataSourceState';
|
|
9
9
|
import { ExportState } from './ExportState';
|
|
10
|
-
import { FlashingCellState } from './DeprecatedState';
|
|
11
|
-
import { UpdatedRowState } from './DeprecatedState';
|
|
12
10
|
import { FormatColumnState } from './FormatColumnState';
|
|
13
11
|
import { FreeTextColumnState } from './FreeTextColumnState';
|
|
14
12
|
import { LayoutState } from './LayoutState';
|
|
15
|
-
import { PercentBarState } from './DeprecatedState';
|
|
16
13
|
import { ScheduleState } from './ScheduleState';
|
|
17
14
|
import { PlusMinusState } from './PlusMinusState';
|
|
18
15
|
import { QuickSearchState } from './QuickSearchState';
|
|
@@ -21,7 +18,6 @@ import { ThemeState } from './ThemeState';
|
|
|
21
18
|
import { ChartState } from './ChartState';
|
|
22
19
|
import { SparklineColumnState } from './SparklineColumnState';
|
|
23
20
|
import { ToolPanelState } from './ToolPanelState';
|
|
24
|
-
import { GradientColumnState } from './DeprecatedState';
|
|
25
21
|
import { QueryState } from './QueryState';
|
|
26
22
|
/**
|
|
27
23
|
* This is the main Predefined Config interface which developers will populate at design-time
|
|
@@ -111,40 +107,4 @@ export interface PredefinedConfig {
|
|
|
111
107
|
* Sets the order and visibility of the Tool Panel controls in the AdapTable ToolPanel (on right of grid)
|
|
112
108
|
*/
|
|
113
109
|
ToolPanel?: ToolPanelState;
|
|
114
|
-
/**
|
|
115
|
-
* Section (only populated at Design Time) that manages UI-related elements in AdapTable
|
|
116
|
-
*/
|
|
117
|
-
UserInterface?: any;
|
|
118
|
-
/**
|
|
119
|
-
* @deprecated - entitlements are now set in Entitlement Options
|
|
120
|
-
*/
|
|
121
|
-
Entitlements?: any;
|
|
122
|
-
/**
|
|
123
|
-
* @deprecated - **DO NOT USE** - flashing cell is now part of Alert
|
|
124
|
-
*/
|
|
125
|
-
FlashingCell?: FlashingCellState;
|
|
126
|
-
/**
|
|
127
|
-
* @deprecated - flashing cell is now part of Alert
|
|
128
|
-
*/
|
|
129
|
-
UpdatedRow?: UpdatedRowState;
|
|
130
|
-
/**
|
|
131
|
-
* @deprecated - **DO NOT USE** - Gradient Column is now part of Format Column
|
|
132
|
-
*/
|
|
133
|
-
GradientColumn?: GradientColumnState;
|
|
134
|
-
/**
|
|
135
|
-
* @deprecated - **DO NOT USE** - Percent Bar is now part of Format Column
|
|
136
|
-
*/
|
|
137
|
-
PercentBar?: PercentBarState;
|
|
138
|
-
/**
|
|
139
|
-
* @deprecated - use System Status Options
|
|
140
|
-
*/
|
|
141
|
-
SystemStatus?: any;
|
|
142
|
-
/**
|
|
143
|
-
* @deprecated - use General Options
|
|
144
|
-
*/
|
|
145
|
-
CellSummary?: any;
|
|
146
|
-
/**
|
|
147
|
-
* @deprecated - use User Interface Options
|
|
148
|
-
*/
|
|
149
|
-
ActionColumn?: any;
|
|
150
110
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AdaptableStyle } from './Common/AdaptableStyle';
|
|
2
2
|
import { ConfigState } from './ConfigState';
|
|
3
3
|
/**
|
|
4
|
-
* Predefined Configuration for Quick Search
|
|
4
|
+
* Predefined Configuration for Quick Search Module
|
|
5
5
|
*/
|
|
6
6
|
export interface QuickSearchState extends ConfigState {
|
|
7
7
|
/**
|
|
8
|
-
* Quick Search
|
|
8
|
+
* Last Quick Search that was run (and will run again at start up)
|
|
9
9
|
*/
|
|
10
10
|
QuickSearchText?: string;
|
|
11
11
|
/**
|
|
12
|
-
* Style to use
|
|
12
|
+
* Style to use to highlight matching cells - uses common `AdaptableStyle` object
|
|
13
13
|
*/
|
|
14
14
|
Style?: AdaptableStyle;
|
|
15
15
|
}
|
|
@@ -6,7 +6,7 @@ import { AdaptableMessageType, ReportSchedule } from '../types';
|
|
|
6
6
|
import { BaseSchedule } from './Common/Schedule';
|
|
7
7
|
import { AdaptableObject } from './Common/AdaptableObject';
|
|
8
8
|
/**
|
|
9
|
-
* Predefined Configuration for the Schedule
|
|
9
|
+
* Predefined Configuration for the Schedule Module
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
12
|
export interface ScheduleState extends ConfigState {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RowNode } from '@ag-grid-community/all-modules';
|
|
2
|
+
import { AdaptableColumn } from '../Common/AdaptableColumn';
|
|
2
3
|
/**
|
|
3
4
|
* Defines a Cell in Adaptable - every cell is an intersection of a Column Id and a Primary Key Value
|
|
4
5
|
*/
|
|
@@ -6,7 +7,7 @@ export interface GridCell {
|
|
|
6
7
|
/**
|
|
7
8
|
* Column in which cell is situtated
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
+
column: AdaptableColumn;
|
|
10
11
|
/**
|
|
11
12
|
* Actual raw value of cell
|
|
12
13
|
*/
|
|
@@ -25,19 +25,27 @@ export interface GridRow {
|
|
|
25
25
|
*/
|
|
26
26
|
export interface RowInfo {
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Is Row a Master Row (in a Master-Detail grid)
|
|
29
29
|
*/
|
|
30
30
|
isMaster?: boolean;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Is Row expanded (if a group row)
|
|
33
33
|
*/
|
|
34
34
|
isExpanded?: boolean;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Is Row grouped
|
|
37
37
|
*/
|
|
38
38
|
isGroup?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Is Row selected
|
|
41
|
+
*/
|
|
42
|
+
isSelected?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Is Row displayed (ie. filtered, not necessarily in viewport)
|
|
45
|
+
*/
|
|
46
|
+
isDisplayed?: boolean;
|
|
39
47
|
/**
|
|
40
48
|
* What level the Row is (if Row Grouping is active)
|
|
41
49
|
*/
|
|
42
|
-
|
|
50
|
+
rowGroupLevel?: number;
|
|
43
51
|
}
|
|
@@ -14,7 +14,6 @@ import { CachedQuery } from './QueryState';
|
|
|
14
14
|
import { AdaptableFlashingAlert } from './Common/AdaptableFlashingAlert';
|
|
15
15
|
import { TypeUuid } from './Uuid';
|
|
16
16
|
import { SummaryOperation } from './Common/Enums';
|
|
17
|
-
import { ProgressIndicator } from '../Utilities/Interface/ProgressIndicator';
|
|
18
17
|
import { ExportCustomDestinationPopup } from './ExportState';
|
|
19
18
|
export type { IPushPullReport, IPushPullDomain };
|
|
20
19
|
export type { Glue42Report };
|
|
@@ -63,3 +62,7 @@ export interface SystemState extends InternalState, IPushPullState, Glue42State,
|
|
|
63
62
|
suspendTime: Date;
|
|
64
63
|
};
|
|
65
64
|
}
|
|
65
|
+
export interface ProgressIndicator {
|
|
66
|
+
active: boolean;
|
|
67
|
+
label: string;
|
|
68
|
+
}
|
|
@@ -30,7 +30,11 @@ export interface AdaptableTheme extends AdaptableObject {
|
|
|
30
30
|
*/
|
|
31
31
|
Description: string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* deprecated use `AgGridClassName` property instead
|
|
34
34
|
*/
|
|
35
35
|
VendorGridClassName?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Ag Grid theme to apply when loading theme
|
|
38
|
+
*/
|
|
39
|
+
AgGridClassName?: string;
|
|
36
40
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DashboardReducer = exports.DashboardReady = exports.DashboardSetTitle = exports.DashboardCloseToolbar = exports.DashboardCreateDefaultTab = exports.DashboardSetTabs = exports.DashboardSetFloatingPosition = exports.DashboardSetIsInline = exports.DashboardSetIsHidden = exports.DashboardSetIsFloating = exports.DashboardSetIsCollapsed = exports.DashboardSetActiveTabIndex = exports.DashboardSetModuleButtons = exports.DASHBOARD_READY = exports.DASHBOARD_SET_TITLE = exports.DASHBOARD_CLOSE_TOOLBAR = exports.DASHBOARD_CREATE_DEFAULT_TAB = exports.DASHBOARD_SET_TABS = exports.DASHBOARD_SET_FLOATING_POSITION = exports.DASHBOARD_SET_IS_HIDDEN = exports.DASHBOARD_SET_IS_INLINE = exports.DASHBOARD_SET_IS_FLOATING = exports.DASHBOARD_SET_IS_COLLAPSED = exports.DASHBOARD_ACTIVE_TAB_INDEX_CHANGE = exports.DASHBOARD_SET_MODULE_BUTTONS = void 0;
|
|
4
|
+
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
4
5
|
/**
|
|
5
6
|
* @ReduxAction The Module Buttons have been set in the Dashboard
|
|
6
7
|
*/
|
|
@@ -104,7 +105,7 @@ const initialState = {
|
|
|
104
105
|
IsHidden: false,
|
|
105
106
|
IsInline: false,
|
|
106
107
|
FloatingPosition: { x: 100, y: 100 },
|
|
107
|
-
ModuleButtons:
|
|
108
|
+
ModuleButtons: GeneralConstants_1.EMPTY_ARRAY,
|
|
108
109
|
DashboardTitle: '',
|
|
109
110
|
};
|
|
110
111
|
exports.DashboardReducer = (state = initialState, action) => {
|
|
@@ -7,6 +7,7 @@ import { AdaptableMenuItem } from '../../PredefinedConfig/Common/Menu';
|
|
|
7
7
|
import { DataChangedInfo } from '../../PredefinedConfig/Common/DataChangedInfo';
|
|
8
8
|
import { ColumnSort } from '../../PredefinedConfig/Common/ColumnSort';
|
|
9
9
|
import { CellSummmary } from '../../types';
|
|
10
|
+
import { RowNode } from '@ag-grid-community/all-modules';
|
|
10
11
|
/**
|
|
11
12
|
* @ReduxAction Columns have been set in the Grid
|
|
12
13
|
*/
|
|
@@ -129,7 +130,7 @@ export interface GridSetCellSummaryAction extends Redux.Action {
|
|
|
129
130
|
cellSummary: CellSummmary;
|
|
130
131
|
}
|
|
131
132
|
export interface GridRefreshCellsAction extends Redux.Action {
|
|
132
|
-
|
|
133
|
+
rowNodes: RowNode[];
|
|
133
134
|
columnIds: string[];
|
|
134
135
|
}
|
|
135
136
|
export interface SetModuleDropdownMenuItemsAction extends Redux.Action {
|
|
@@ -161,7 +162,7 @@ export declare const GridSetSelectedCells: (SelectedCellInfo: SelectedCellInfo)
|
|
|
161
162
|
export declare const GridSetSelectedRows: (SelectedRowInfo: SelectedRowInfo) => GridSetSelectedRowsAction;
|
|
162
163
|
export declare const GridCreateCellSummary: () => GridCreateCellSummaryAction;
|
|
163
164
|
export declare const GridSetCellSummary: (CellSummary: CellSummmary) => GridSetCellSummaryAction;
|
|
164
|
-
export declare const GridRefreshCells: (
|
|
165
|
+
export declare const GridRefreshCells: (rowNodes: RowNode[], columnIds: string[]) => GridRefreshCellsAction;
|
|
165
166
|
export declare const SetPivotModeOn: () => SetPivotModeOnAction;
|
|
166
167
|
export declare const SetPivotModeOff: () => SetPivotModeOffAction;
|
|
167
168
|
export declare const SetTreeModeOn: () => SetTreeModeOnAction;
|
|
@@ -117,9 +117,9 @@ exports.GridSetCellSummary = (CellSummary) => ({
|
|
|
117
117
|
type: exports.GRID_SET_CELLS_SUMMARY,
|
|
118
118
|
cellSummary: CellSummary,
|
|
119
119
|
});
|
|
120
|
-
exports.GridRefreshCells = (
|
|
120
|
+
exports.GridRefreshCells = (rowNodes, columnIds) => ({
|
|
121
121
|
type: exports.GRID_REFRESH_CELLS,
|
|
122
|
-
|
|
122
|
+
rowNodes,
|
|
123
123
|
columnIds,
|
|
124
124
|
});
|
|
125
125
|
exports.SetPivotModeOn = () => ({
|
|
@@ -20,6 +20,10 @@ export declare const LAYOUT_SELECT = "LAYOUT_SELECT";
|
|
|
20
20
|
* @ReduxAction A Layout has been (auto)saved
|
|
21
21
|
*/
|
|
22
22
|
export declare const LAYOUT_SAVE = "LAYOUT_SAVE";
|
|
23
|
+
/**
|
|
24
|
+
* @ReduxAction A new caption / header has been set for a Column in the Layout
|
|
25
|
+
*/
|
|
26
|
+
export declare const LAYOUT_SET_COLUMN_CAPTION = "LAYOUT_SET_COLUMN_CAPTION";
|
|
23
27
|
export declare const LAYOUT_UPDATE_CURRENT_DRAFT = "LAYOUT_UPDATE_CURRENT_DRAFT";
|
|
24
28
|
/**
|
|
25
29
|
* @ReduxAction Layout Module is ready
|
|
@@ -36,14 +40,19 @@ export interface LayoutDeleteAction extends LayoutAction {
|
|
|
36
40
|
}
|
|
37
41
|
export interface LayoutSaveAction extends LayoutAction {
|
|
38
42
|
}
|
|
43
|
+
export interface LayoutSetColumnCaptionAction extends Redux.Action {
|
|
44
|
+
layoutName: string;
|
|
45
|
+
columnId: string;
|
|
46
|
+
caption: string;
|
|
47
|
+
}
|
|
39
48
|
export interface LayoutUpdateCurrentDraftAction extends LayoutAction {
|
|
40
49
|
}
|
|
41
50
|
export interface LayoutSelectAction extends Redux.Action {
|
|
42
51
|
layoutName: string;
|
|
43
52
|
}
|
|
44
|
-
export interface
|
|
53
|
+
export interface LayoutIncludeAgGridStateAction extends Redux.Action {
|
|
45
54
|
}
|
|
46
|
-
export interface
|
|
55
|
+
export interface LayoutExcludeAgGridStateAction extends Redux.Action {
|
|
47
56
|
}
|
|
48
57
|
export interface LayoutReadyAction extends Redux.Action {
|
|
49
58
|
layoutState: LayoutState;
|
|
@@ -51,6 +60,7 @@ export interface LayoutReadyAction extends Redux.Action {
|
|
|
51
60
|
export declare const LayoutAdd: (layout: Layout) => LayoutAddAction;
|
|
52
61
|
export declare const LayoutDelete: (layout: Layout) => LayoutDeleteAction;
|
|
53
62
|
export declare const LayoutSave: (layout: Layout) => LayoutSaveAction;
|
|
63
|
+
export declare const LayoutSetColumnCaption: (layoutName: string, columnId: string, caption: string) => LayoutSetColumnCaptionAction;
|
|
54
64
|
export declare const LayoutSelect: (layoutName: string) => LayoutSelectAction;
|
|
55
65
|
export declare const LayoutUpdateCurrentDraft: (layout: Layout) => LayoutUpdateCurrentDraftAction;
|
|
56
66
|
export declare const LayoutReady: (layoutState: LayoutState) => LayoutReadyAction;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LayoutReducer = exports.LayoutReady = exports.LayoutUpdateCurrentDraft = exports.LayoutSelect = exports.LayoutSave = exports.LayoutDelete = exports.LayoutAdd = exports.LAYOUT_READY = exports.LAYOUT_UPDATE_CURRENT_DRAFT = exports.LAYOUT_SAVE = exports.LAYOUT_SELECT = exports.LAYOUT_DELETE = exports.LAYOUT_EDIT = exports.LAYOUT_ADD = void 0;
|
|
3
|
+
exports.LayoutReducer = exports.LayoutReady = exports.LayoutUpdateCurrentDraft = exports.LayoutSelect = exports.LayoutSetColumnCaption = exports.LayoutSave = exports.LayoutDelete = exports.LayoutAdd = exports.LAYOUT_READY = exports.LAYOUT_UPDATE_CURRENT_DRAFT = exports.LAYOUT_SET_COLUMN_CAPTION = exports.LAYOUT_SAVE = exports.LAYOUT_SELECT = exports.LAYOUT_DELETE = exports.LAYOUT_EDIT = exports.LAYOUT_ADD = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
6
6
|
const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
|
|
@@ -24,6 +24,10 @@ exports.LAYOUT_SELECT = 'LAYOUT_SELECT';
|
|
|
24
24
|
* @ReduxAction A Layout has been (auto)saved
|
|
25
25
|
*/
|
|
26
26
|
exports.LAYOUT_SAVE = 'LAYOUT_SAVE';
|
|
27
|
+
/**
|
|
28
|
+
* @ReduxAction A new caption / header has been set for a Column in the Layout
|
|
29
|
+
*/
|
|
30
|
+
exports.LAYOUT_SET_COLUMN_CAPTION = 'LAYOUT_SET_COLUMN_CAPTION';
|
|
27
31
|
exports.LAYOUT_UPDATE_CURRENT_DRAFT = 'LAYOUT_UPDATE_CURRENT_DRAFT';
|
|
28
32
|
/**
|
|
29
33
|
* @ReduxAction Layout Module is ready
|
|
@@ -41,6 +45,12 @@ exports.LayoutSave = (layout) => ({
|
|
|
41
45
|
type: exports.LAYOUT_SAVE,
|
|
42
46
|
layout,
|
|
43
47
|
});
|
|
48
|
+
exports.LayoutSetColumnCaption = (layoutName, columnId, caption) => ({
|
|
49
|
+
type: exports.LAYOUT_SET_COLUMN_CAPTION,
|
|
50
|
+
layoutName,
|
|
51
|
+
columnId,
|
|
52
|
+
caption,
|
|
53
|
+
});
|
|
44
54
|
exports.LayoutSelect = (layoutName) => ({
|
|
45
55
|
type: exports.LAYOUT_SELECT,
|
|
46
56
|
layoutName,
|
|
@@ -83,6 +93,19 @@ exports.LayoutReducer = (state = initialState, action) => {
|
|
|
83
93
|
const newLayouts = state.Layouts.filter((abObject) => abObject.Uuid !== actionLayout.Uuid);
|
|
84
94
|
return Object.assign(Object.assign({}, state), { CurrentLayout: state.CurrentLayout === actionLayout.Name ? newLayouts[0].Name : state.CurrentLayout, Layouts: newLayouts });
|
|
85
95
|
}
|
|
96
|
+
case exports.LAYOUT_SET_COLUMN_CAPTION: {
|
|
97
|
+
const setColumnCaptionAction = action;
|
|
98
|
+
const currentLayoutName = setColumnCaptionAction.layoutName;
|
|
99
|
+
let currentLayout = state.Layouts.find((l) => l.Name === currentLayoutName);
|
|
100
|
+
if (currentLayout) {
|
|
101
|
+
currentLayout.ColumnHeadersMap[setColumnCaptionAction.columnId] =
|
|
102
|
+
setColumnCaptionAction.caption;
|
|
103
|
+
return Object.assign({}, state, {
|
|
104
|
+
Layouts: state.Layouts.map((abObject) => abObject.Uuid === currentLayout.Uuid ? currentLayout : abObject),
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
return state;
|
|
108
|
+
}
|
|
86
109
|
default:
|
|
87
110
|
return state;
|
|
88
111
|
}
|
|
@@ -497,6 +497,6 @@ exports.SystemReducer = (state = initialState, action) => {
|
|
|
497
497
|
return state;
|
|
498
498
|
}
|
|
499
499
|
};
|
|
500
|
-
const getDataChangeHistoryKey = ({ columnId, primaryKeyValue }) => {
|
|
500
|
+
const getDataChangeHistoryKey = ({ column: columnId, primaryKeyValue, }) => {
|
|
501
501
|
return JSON.stringify({ columnId, primaryKeyValue });
|
|
502
502
|
};
|
package/src/Redux/DeadRedux.d.ts
CHANGED
|
@@ -1,25 +1,21 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
|
-
import { FlashingCellState } from '../PredefinedConfig/DeprecatedState';
|
|
3
|
-
import { UpdatedRowState } from '../PredefinedConfig/DeprecatedState';
|
|
4
|
-
import { PercentBarState } from '../PredefinedConfig/DeprecatedState';
|
|
5
|
-
import { GradientColumnState } from '../PredefinedConfig/DeprecatedState';
|
|
6
2
|
export declare const GRADIENT_COLUMN_CLEAR = "GRADIENT_COLUMN_CLEAR";
|
|
7
3
|
export interface GradientColumnClearAction extends Redux.Action {
|
|
8
4
|
}
|
|
9
5
|
export declare const GradientColumnClear: () => GradientColumnClearAction;
|
|
10
|
-
export declare const GradientColumnReducer: Redux.Reducer<
|
|
6
|
+
export declare const GradientColumnReducer: Redux.Reducer<any>;
|
|
11
7
|
export declare const PERCENT_BAR_CLEAR = "PERCENT_BAR_CLEAR";
|
|
12
8
|
export interface PercentBarClearAction extends Redux.Action {
|
|
13
9
|
}
|
|
14
10
|
export declare const PercentBarClear: () => PercentBarClearAction;
|
|
15
|
-
export declare const PercentBarReducer: Redux.Reducer<
|
|
11
|
+
export declare const PercentBarReducer: Redux.Reducer<any>;
|
|
16
12
|
export declare const FLASHING_CELL_CLEAR = "FLASHING_CELL_CLEAR";
|
|
17
13
|
export interface FlashingCellClearAction extends Redux.Action {
|
|
18
14
|
}
|
|
19
15
|
export declare const FlashingCellClear: () => FlashingCellClearAction;
|
|
20
|
-
export declare const FlashingCellReducer: Redux.Reducer<
|
|
16
|
+
export declare const FlashingCellReducer: Redux.Reducer<any>;
|
|
21
17
|
export declare const UPDATED_ROW_CLEAR = "UPDATED_ROW_CLEAR";
|
|
22
18
|
export interface UpdatedRowClearAction extends Redux.Action {
|
|
23
19
|
}
|
|
24
20
|
export declare const UpdatedRowClear: () => UpdatedRowClearAction;
|
|
25
|
-
export declare const UpdatedRowReducer: Redux.Reducer<
|
|
21
|
+
export declare const UpdatedRowReducer: Redux.Reducer<any>;
|