@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/src/types.d.ts
CHANGED
|
@@ -10,29 +10,31 @@ export { AdaptablePlugin } from './AdaptableOptions/AdaptablePlugin';
|
|
|
10
10
|
export type { ContainerOptions } from './AdaptableOptions/ContainerOptions';
|
|
11
11
|
export type { FlashingCellOptions } from './AdaptableOptions/FlashingCellOptions';
|
|
12
12
|
export type { TOAST_POSITIONS, NotificationsOptions, } from './AdaptableOptions/NotificationsOptions';
|
|
13
|
-
export type { AlertOptions, ActionHandler, AlertForm, AlertButtonContext, } from './AdaptableOptions/AlertOptions';
|
|
13
|
+
export type { AlertOptions, ActionHandler, AlertForm, AlertButtonContext, AlertMessageContext, } from './AdaptableOptions/AlertOptions';
|
|
14
14
|
export type { DashboardOptions, CustomToolbar, DashboardButtonContext, CustomToolbarButtonContext, } from './AdaptableOptions/DashboardOptions';
|
|
15
15
|
export type { EditOptions, RowFormOptions, FormParamContext, FormFieldLabelContext, RowFormContext, CreateRowFormContext, EditRowFormContext, ValidationResult, SmartEditCustomOperation, SmartEditOperation, SmartEditOperationContext, } from './AdaptableOptions/EditOptions';
|
|
16
|
-
export type { ExportOptions, SystemExportDestination, SystemExportDestinations, CustomDestination, CustomReport, DataFormatType,
|
|
17
|
-
export type { GeneralOptions, ColumnValuesComparer } from './AdaptableOptions/GeneralOptions';
|
|
16
|
+
export type { ExportOptions, SystemExportDestination, SystemExportDestinations, CustomDestination, CustomReport, DataFormatType, ExportFormContext, ReportContext, } from './AdaptableOptions/ExportOptions';
|
|
17
|
+
export type { GeneralOptions, ColumnValuesComparer, DataSet, DataSetFormContext, } from './AdaptableOptions/GeneralOptions';
|
|
18
18
|
export type { Glue42PluginOptions } from './AdaptableOptions/Glue42PluginOptions';
|
|
19
19
|
export type { IPushPullPluginOptions } from './AdaptableOptions/IPushPullPluginOptions';
|
|
20
20
|
export type { LayoutOptions, LayoutViewOptions, LayoutTagOptions, LayoutAvailableContext, AutoGenerateTagsForLayoutsContext, LayoutAssociatedObject, } from './AdaptableOptions/LayoutOptions';
|
|
21
21
|
export type { OpenFinPluginOptions } from './AdaptableOptions/OpenFinPluginOptions';
|
|
22
|
+
export type { MasterDetailPluginOptions } from './AdaptableOptions/MasterDetailPluginOptions';
|
|
22
23
|
export type { FinancePluginOptions, WeightedAverageColumn, FDC3Column, InstrumentColumn, PositionColumn, CountryColumn, InstrumentIntent, InstrumentIntents, PositionIntent, PositionIntents, ContactIntent, ContactIntents, CountryIntent, CountryIntents, ContactColumn, OrganizationColumn, OrganizationIntent, OrganizationIntents, FDC3Intent, RaiseFDC3IntentContext, CustomFDC3Column, CustomFDC3Intent, } from './AdaptableOptions/FinancePluginOptions';
|
|
23
24
|
export type { DateInputOptions } from './AdaptableOptions/DateInputOptions';
|
|
24
25
|
export type { FilterOptions } from './AdaptableOptions/FilterOptions';
|
|
25
26
|
export type { SearchOptions } from './AdaptableOptions/SearchOptions';
|
|
27
|
+
export type { ColumnOptions, ColumnFriendlyNameContext } from './AdaptableOptions/ColumnOptions';
|
|
26
28
|
export type { AdaptablePersistStateFunction, AdaptableStateFunctionConfig, AdaptableLoadStateFunction, StateOptions, } from './AdaptableOptions/StateOptions';
|
|
27
29
|
export type { AccessLevel, Entitlement } from './PredefinedConfig/Common/Entitlement';
|
|
28
30
|
export type { FilterActionOnDataChange } from './PredefinedConfig/Common/FilterActionOnDataChange';
|
|
29
31
|
export type { ConfigState } from './PredefinedConfig/ConfigState';
|
|
30
32
|
export type { TeamSharingOptions } from './AdaptableOptions/TeamSharingOptions';
|
|
31
33
|
export type { ToolPanelOptions, CustomToolPanel, ToolPanelButtonContext, CustomToolPanelButtonContext, } from './AdaptableOptions/ToolPanelOptions';
|
|
32
|
-
export type { UserInterfaceOptions, CellValuesList,
|
|
34
|
+
export type { UserInterfaceOptions, CellValuesList, BasePermittedValues, PermittedValues, EditLookUpPermittedValues, FilterPermittedValues, CustomSortPermittedValues, BulkUpdatePermittedValues, EditLookUpContext, PermittedValuesContext, FilterPermittedValuesContext, BulkUpdatePermittedValuesContext, GridInfoSections, GridInfoSection, ObjectTagsContext, CustomDisplayFormatter, ActionColumnButtonContext, ActionColumn, ActionColumnSettings, ActionOptions, } from './AdaptableOptions/UserInterfaceOptions';
|
|
33
35
|
export type { MenuOptions } from './AdaptableOptions/MenuOptions';
|
|
34
36
|
export type { CustomSettingsPanel, SettingsPanelOptions, } from './AdaptableOptions/SettingsPanelOptions';
|
|
35
|
-
export type { EntitlementOptions } from './AdaptableOptions/EntitlementOptions';
|
|
37
|
+
export type { EntitlementOptions, EntitlementContext } from './AdaptableOptions/EntitlementOptions';
|
|
36
38
|
export type { ExpressionOptions, ModuleExpressionFunctions, AdaptableQLOptions, } from './AdaptableOptions/AdaptableQLOptions';
|
|
37
39
|
export type { DataChangeHistoryOptions } from './AdaptableOptions/DataChangeHistoryOptions';
|
|
38
40
|
export type { AdaptableApi } from './Api/AdaptableApi';
|
|
@@ -46,7 +48,7 @@ export type { ConditionalStyleApi } from './Api/ConditionalStyleApi';
|
|
|
46
48
|
export type { ConfigApi } from './Api/ConfigApi';
|
|
47
49
|
export type { CustomSortApi } from './Api/CustomSortApi';
|
|
48
50
|
export type { DashboardApi } from './Api/DashboardApi';
|
|
49
|
-
export type {
|
|
51
|
+
export type { DataSetApi } from './Api/DataSetApi';
|
|
50
52
|
export type { DataChangeHistoryApi } from './Api/DataChangeHistoryApi';
|
|
51
53
|
export type { ExportApi } from './Api/ExportApi';
|
|
52
54
|
export type { FilterApi } from './Api/FilterApi';
|
|
@@ -88,8 +90,9 @@ export type { LayoutChangedInfo } from './Api/Events/LayoutChanged';
|
|
|
88
90
|
export type { CheckboxColumnClickedInfo } from './Api/Events/ChexboxColumnClicked';
|
|
89
91
|
export type { CustomToolbarConfiguredInfo } from './Api/Events/CustomToolbarConfigured';
|
|
90
92
|
export type { LiveDataChangedInfo, LiveReport } from './Api/Events/LiveDataChanged';
|
|
91
|
-
export type { RowFormSubmittedInfo, RowFormType } from './Api/Events/RowFormSubmitted';
|
|
93
|
+
export type { RowFormSubmittedInfo, RowFormType, CreatedRowFormInfo, EditedRowFormInfo, DeletedRowFormInfo, } from './Api/Events/RowFormSubmitted';
|
|
92
94
|
export type { AdaptableSearchState, AdaptableSortState, SearchChangedInfo, } from './Api/Events/SearchChanged';
|
|
95
|
+
export type { DataSetChangedInfo } from './Api/Events/DataSetChanged';
|
|
93
96
|
export type { SelectionChangedInfo } from './Api/Events/SelectionChanged';
|
|
94
97
|
export type { ThemeChangedInfo } from './Api/Events/ThemeChanged';
|
|
95
98
|
export type { DashboardChangedInfo } from './Api/Events/DashboardChanged';
|
|
@@ -103,7 +106,7 @@ export type { CellSummmary, CellSummaryOperation, CellSummaryOperationContext, }
|
|
|
103
106
|
export type { FlashingCellDefinition, FlashingCellState, } from './PredefinedConfig/FlashingCellState';
|
|
104
107
|
export type { AdaptableAlert, AdaptableAlertType, AdaptableGenericAlert, AdaptableCellChangedAlert, AdaptableRowChangedAlert, AdaptableAlertBase, } from './PredefinedConfig/Common/AdaptableAlert';
|
|
105
108
|
export type { AdaptableFlashingCell } from './PredefinedConfig/Common/AdaptableFlashingCell';
|
|
106
|
-
export type { AdaptableColumn, AdaptableColumnBase, } from './PredefinedConfig/Common/AdaptableColumn';
|
|
109
|
+
export type { AdaptableColumn, AdaptableColumnBase, AdaptableColumnDataType, } from './PredefinedConfig/Common/AdaptableColumn';
|
|
107
110
|
export type { AdaptableComparerFunction } from './PredefinedConfig/Common/AdaptableComparerFunction';
|
|
108
111
|
export type { SystemStatusMessageInfo } from './PredefinedConfig/Common/SystemStatusMessageInfo';
|
|
109
112
|
export type { AlternativeModuleName } from './PredefinedConfig/Common/AlternativeModuleName';
|
|
@@ -128,17 +131,18 @@ export type { AdaptableFormData, AdaptableForm, AdaptableFormField, AdaptableFor
|
|
|
128
131
|
export type { AdaptableButton } from './PredefinedConfig/Common/AdaptableButton';
|
|
129
132
|
export type { AdaptableMenuItem, UserMenuItem, ColumnMenuContext, ContextMenuContext, } from './PredefinedConfig/Common/Menu';
|
|
130
133
|
export type { BaseContext } from './PredefinedConfig/Common/BaseContext';
|
|
134
|
+
export type { FormContext } from './PredefinedConfig/Common/FormContext';
|
|
131
135
|
export type { Schedule } from './PredefinedConfig/Common/Schedule';
|
|
132
136
|
export type { ButtonStyle } from './PredefinedConfig/Common/ButtonStyle';
|
|
133
|
-
export type { AdaptableModule, AdaptableToolPanel, AdaptableQLModule, AdaptableSettingsPanel, AdaptableDashboardToolbar, AdaptableStatusBarPanel, } from './PredefinedConfig/Common/Types';
|
|
137
|
+
export type { AdaptableModule, AdaptableToolPanel, AdaptableQLModule, AdaptableSettingsPanel, AdaptableDashboardToolbar, AdaptableStatusBarPanel, AdaptableColumnType, } from './PredefinedConfig/Common/Types';
|
|
134
138
|
export type { ConditionalStyle, ConditionalStyleRule, ConditionalStyleState, } from './PredefinedConfig/ConditionalStyleState';
|
|
135
139
|
export type { CustomSort, CustomSortState } from './PredefinedConfig/CustomSortState';
|
|
136
140
|
export type { DashboardState, DashboardTab, AdaptableCoordinate, } from './PredefinedConfig/DashboardState';
|
|
137
|
-
export type { DataSource, DataSourceState } from './PredefinedConfig/DataSourceState';
|
|
138
141
|
export type { ExportState, Report, ReportData, ReportSchedule, SystemReportName, SystemReportNames, } from './PredefinedConfig/ExportState';
|
|
139
|
-
export type { ColumnFilter, ColumnFilterPredicate,
|
|
142
|
+
export type { ColumnFilter, ColumnFilterPredicate, SystemFilterPredicateIds, SystemFilterPredicateId, } from './PredefinedConfig/Common/ColumnFilter';
|
|
140
143
|
export type { FormatColumn, ColumnStyle, PercentBarStyle, GradientStyle, CellColorRange, ColumnComparison, CellTextOptions, CellTextOption, FormatColumnState, } from './PredefinedConfig/FormatColumnState';
|
|
141
144
|
export type { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue, FreeTextColumnSettings, } from './PredefinedConfig/FreeTextColumnState';
|
|
145
|
+
export type { StatusBarState, AdaptableStatusBar } from './PredefinedConfig/StatusBarState';
|
|
142
146
|
export type { Glue42Report, Glue42Schedule, Glue42State } from './PredefinedConfig/Glue42State';
|
|
143
147
|
export type { IPushPullDomain, IPushPullReport, IPushPullSchedule, IPushPullState, } from './PredefinedConfig/IPushPullState';
|
|
144
148
|
export type { Layout, LayoutState } from './PredefinedConfig/LayoutState';
|
|
@@ -157,4 +161,4 @@ export type { Shortcut, ShortcutState, ShortcutScopeDataType, } from './Predefin
|
|
|
157
161
|
export type { SharedEntity, TeamSharingImportInfo, TeamSharingState, SharedEntityType, SharedEntityConfig, } from './PredefinedConfig/TeamSharingState';
|
|
158
162
|
export type { AdaptableTheme, ThemeState } from './PredefinedConfig/ThemeState';
|
|
159
163
|
export type { ToolPanelState, AdaptableToolPanelDefinition, ToolPanelVisibilityMode, } from './PredefinedConfig/ToolPanelState';
|
|
160
|
-
export type { AdaptableFrameworkComponent, AngularFrameworkComponent, ReactFrameworkComponent, } from './AdaptableOptions/AdaptableFrameworkComponent';
|
|
164
|
+
export type { AdaptableFrameworkComponent, AngularFrameworkComponent, ReactFrameworkComponent, CustomRenderContext, } from './AdaptableOptions/AdaptableFrameworkComponent';
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "
|
|
1
|
+
declare const _default: "12.0.0-canary.2";
|
|
2
2
|
export default _default;
|
package/version.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = '
|
|
3
|
+
exports.default = '12.0.0-canary.2'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AdaptableScope } from '../../types';
|
|
2
|
-
export declare type CustomDisplayFormatter = {
|
|
3
|
-
id: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
handler: (value: any) => any;
|
|
6
|
-
scope: AdaptableScope;
|
|
7
|
-
};
|
|
8
|
-
export interface FormatColumnOptions {
|
|
9
|
-
customDisplayFormatters?: CustomDisplayFormatter[];
|
|
10
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { DataSourceState, DataSource } from '../PredefinedConfig/DataSourceState';
|
|
2
|
-
/**
|
|
3
|
-
* Provides run-time access to Data Source Module
|
|
4
|
-
*/
|
|
5
|
-
export interface DataSourceApi {
|
|
6
|
-
/**
|
|
7
|
-
* Retrieves Data Source section from Adaptable State
|
|
8
|
-
*/
|
|
9
|
-
getDataSourceState(): DataSourceState;
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves all Data Sources in the Adaptable State
|
|
12
|
-
* @returns data sources
|
|
13
|
-
*/
|
|
14
|
-
getAllDataSource(): DataSource[];
|
|
15
|
-
/**
|
|
16
|
-
* Retrieves Data Source by id
|
|
17
|
-
* @param id Data Source id
|
|
18
|
-
* @returns data source
|
|
19
|
-
*/
|
|
20
|
-
getDataSourceById(id: DataSource['Uuid']): DataSource;
|
|
21
|
-
/**
|
|
22
|
-
* Retrieves the currently applied Data Source
|
|
23
|
-
* @returns data source
|
|
24
|
-
*/
|
|
25
|
-
getCurrentDataSource(): DataSource | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Retrives Data Source from State with given name
|
|
28
|
-
* @param dataSourceName name of Data Source to retrieve
|
|
29
|
-
* @returns data source
|
|
30
|
-
*/
|
|
31
|
-
getDataSourceByName(dataSourceName: string): DataSource;
|
|
32
|
-
/**
|
|
33
|
-
* Makes given DataSource current
|
|
34
|
-
* @param dataSource Data Source (already in State) to apply
|
|
35
|
-
*/
|
|
36
|
-
setDataSource(dataSource: string): void;
|
|
37
|
-
/**
|
|
38
|
-
* Creates a DataSource from a given name and description
|
|
39
|
-
* @param dataSourceName Name of Data Source to create
|
|
40
|
-
* @param dataSourceDescription Description of Data Source to create
|
|
41
|
-
* @returns data source
|
|
42
|
-
*/
|
|
43
|
-
createDataSource(dataSourceName: string, dataSourceDescription: string): DataSource;
|
|
44
|
-
/**
|
|
45
|
-
* Adds new DataSource to State
|
|
46
|
-
* @param dataSource Data Source to add
|
|
47
|
-
* @returns data source
|
|
48
|
-
*/
|
|
49
|
-
addDataSource(dataSource: DataSource): DataSource;
|
|
50
|
-
/**
|
|
51
|
-
* Clears currently selected DataSource
|
|
52
|
-
*/
|
|
53
|
-
clearDataSource(): void;
|
|
54
|
-
/**
|
|
55
|
-
* Opens Settings Panel with Data Source section selected and visible
|
|
56
|
-
*/
|
|
57
|
-
showDataSourcePopup(): void;
|
|
58
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ApiBase } from './ApiBase';
|
|
2
|
-
import { DataSourceApi } from '../DataSourceApi';
|
|
3
|
-
import { DataSourceState, DataSource } from '../../PredefinedConfig/DataSourceState';
|
|
4
|
-
export declare class DataSourceApiImpl extends ApiBase implements DataSourceApi {
|
|
5
|
-
getDataSourceState(): DataSourceState;
|
|
6
|
-
getAllDataSource(): DataSource[];
|
|
7
|
-
getDataSourceById(id: DataSource['Uuid']): DataSource;
|
|
8
|
-
getCurrentDataSource(): DataSource | undefined;
|
|
9
|
-
getDataSourceByName(dataSourceName: string): DataSource | undefined;
|
|
10
|
-
setDataSource(dataSourceName: string): void;
|
|
11
|
-
createDataSource(dataSourceName: string, dataSourceDescription: string): DataSource;
|
|
12
|
-
addDataSource(dataSource: DataSource): DataSource;
|
|
13
|
-
clearDataSource(): void;
|
|
14
|
-
showDataSourcePopup(): void;
|
|
15
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DataSourceApiImpl = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
|
|
6
|
-
const DataSourceRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/DataSourceRedux"));
|
|
7
|
-
const ApiBase_1 = require("./ApiBase");
|
|
8
|
-
class DataSourceApiImpl extends ApiBase_1.ApiBase {
|
|
9
|
-
getDataSourceState() {
|
|
10
|
-
return this.getAdaptableState().DataSource;
|
|
11
|
-
}
|
|
12
|
-
getAllDataSource() {
|
|
13
|
-
return this.getDataSourceState().DataSources;
|
|
14
|
-
}
|
|
15
|
-
getDataSourceById(id) {
|
|
16
|
-
var _a;
|
|
17
|
-
return (_a = this.getAllDataSource()) === null || _a === void 0 ? void 0 : _a.find((dataSource) => (dataSource === null || dataSource === void 0 ? void 0 : dataSource.Uuid) === id);
|
|
18
|
-
}
|
|
19
|
-
getCurrentDataSource() {
|
|
20
|
-
let currentDataSourceName = this.getDataSourceState().CurrentDataSource;
|
|
21
|
-
return this.getDataSourceByName(currentDataSourceName);
|
|
22
|
-
}
|
|
23
|
-
getDataSourceByName(dataSourceName) {
|
|
24
|
-
return this.getAllDataSource().find((a) => a.Name == dataSourceName);
|
|
25
|
-
}
|
|
26
|
-
setDataSource(dataSourceName) {
|
|
27
|
-
const dataSource = this.getDataSourceByName(dataSourceName);
|
|
28
|
-
if (this.checkItemExists(dataSource, dataSourceName, 'Data Source')) {
|
|
29
|
-
this.dispatchAction(DataSourceRedux.DataSourceSelect(dataSource));
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
createDataSource(dataSourceName, dataSourceDescription) {
|
|
33
|
-
let dataSource = {
|
|
34
|
-
Name: dataSourceName,
|
|
35
|
-
Description: dataSourceDescription,
|
|
36
|
-
};
|
|
37
|
-
return this.addDataSource(dataSource);
|
|
38
|
-
}
|
|
39
|
-
addDataSource(dataSource) {
|
|
40
|
-
this.addUidToAdaptableObject(dataSource);
|
|
41
|
-
this.dispatchAction(DataSourceRedux.DataSourceAdd(dataSource));
|
|
42
|
-
return this.getDataSourceById(dataSource.Uuid);
|
|
43
|
-
}
|
|
44
|
-
clearDataSource() {
|
|
45
|
-
this.dispatchAction(DataSourceRedux.DataSourceSelect(null));
|
|
46
|
-
}
|
|
47
|
-
showDataSourcePopup() {
|
|
48
|
-
this.showModulePopup(ModuleConstants.DataSourceModuleId);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
exports.DataSourceApiImpl = DataSourceApiImpl;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ConfigState } from './ConfigState';
|
|
2
|
-
import { AdaptableObject } from './Common/AdaptableObject';
|
|
3
|
-
import { AdaptableForm } from './Common/AdaptableForm';
|
|
4
|
-
import { BaseContext } from '../types';
|
|
5
|
-
/**
|
|
6
|
-
* Predefined Configuration for Data Source Module
|
|
7
|
-
*/
|
|
8
|
-
export interface DataSourceState extends ConfigState {
|
|
9
|
-
/**
|
|
10
|
-
* Collection of available Data Sources
|
|
11
|
-
*/
|
|
12
|
-
DataSources?: DataSource[];
|
|
13
|
-
/**
|
|
14
|
-
* Name of the currently selected Data Source
|
|
15
|
-
*/
|
|
16
|
-
CurrentDataSource?: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Defines a Data Source object - used in Data Source function
|
|
20
|
-
*/
|
|
21
|
-
export interface DataSource extends AdaptableObject {
|
|
22
|
-
/**
|
|
23
|
-
* Name of Data Source
|
|
24
|
-
*/
|
|
25
|
-
Name: string;
|
|
26
|
-
/**
|
|
27
|
-
* Describes the Data Source
|
|
28
|
-
*/
|
|
29
|
-
Description: string;
|
|
30
|
-
/**
|
|
31
|
-
* Params for DataSource pops up a form
|
|
32
|
-
*/
|
|
33
|
-
Form?: AdaptableForm<BaseContext>;
|
|
34
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { DataSourceState, DataSource } from '../../PredefinedConfig/DataSourceState';
|
|
2
|
-
import * as Redux from 'redux';
|
|
3
|
-
/**
|
|
4
|
-
* @ReduxAction A Data Source has been selected
|
|
5
|
-
*/
|
|
6
|
-
export declare const DATA_SOURCE_SELECT = "DATA_SOURCE_SELECT";
|
|
7
|
-
/**
|
|
8
|
-
* @ReduxAction A Data Source has been added
|
|
9
|
-
*/
|
|
10
|
-
export declare const DATA_SOURCE_ADD = "DATA_SOURCE_ADD";
|
|
11
|
-
/**
|
|
12
|
-
* @ReduxAction A Data Source has been edited
|
|
13
|
-
*/
|
|
14
|
-
export declare const DATA_SOURCE_EDIT = "DATA_SOURCE_EDIT";
|
|
15
|
-
/**
|
|
16
|
-
* @ReduxAction A Data Source has been deleted
|
|
17
|
-
*/
|
|
18
|
-
export declare const DATA_SOURCE_DELETE = "DATA_SOURCE_DELETE";
|
|
19
|
-
/**
|
|
20
|
-
* @ReduxAction Data Source Module is ready
|
|
21
|
-
*/
|
|
22
|
-
export declare const DATA_SOURCE_READY = "DATA_SOURCE_READY";
|
|
23
|
-
export interface DataSourceAction extends Redux.Action {
|
|
24
|
-
dataSource: DataSource;
|
|
25
|
-
}
|
|
26
|
-
export interface DataSourceAddAction extends DataSourceAction {
|
|
27
|
-
}
|
|
28
|
-
export interface DataSourceEditAction extends DataSourceAction {
|
|
29
|
-
}
|
|
30
|
-
export interface DataSourceDeleteAction extends DataSourceAction {
|
|
31
|
-
}
|
|
32
|
-
export interface DataSourceSelectAction extends DataSourceAction {
|
|
33
|
-
}
|
|
34
|
-
export interface DataSourceReadyAction extends Redux.Action {
|
|
35
|
-
dataSourceState: DataSourceState;
|
|
36
|
-
}
|
|
37
|
-
export declare const DataSourceSelect: (dataSource: DataSource) => DataSourceSelectAction;
|
|
38
|
-
export declare const DataSourceAdd: (dataSource: DataSource) => DataSourceAddAction;
|
|
39
|
-
export declare const DataSourceEdit: (dataSource: DataSource) => DataSourceEditAction;
|
|
40
|
-
export declare const DataSourceDelete: (dataSource: DataSource) => DataSourceDeleteAction;
|
|
41
|
-
export declare const DataSourceReady: (dataSourceState: DataSourceState) => DataSourceReadyAction;
|
|
42
|
-
export declare const DataSourceReducer: Redux.Reducer<DataSourceState>;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DataSourceReducer = exports.DataSourceReady = exports.DataSourceDelete = exports.DataSourceEdit = exports.DataSourceAdd = exports.DataSourceSelect = exports.DATA_SOURCE_READY = exports.DATA_SOURCE_DELETE = exports.DATA_SOURCE_EDIT = exports.DATA_SOURCE_ADD = exports.DATA_SOURCE_SELECT = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
6
|
-
const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
|
|
7
|
-
/**
|
|
8
|
-
* @ReduxAction A Data Source has been selected
|
|
9
|
-
*/
|
|
10
|
-
exports.DATA_SOURCE_SELECT = 'DATA_SOURCE_SELECT';
|
|
11
|
-
/**
|
|
12
|
-
* @ReduxAction A Data Source has been added
|
|
13
|
-
*/
|
|
14
|
-
exports.DATA_SOURCE_ADD = 'DATA_SOURCE_ADD';
|
|
15
|
-
/**
|
|
16
|
-
* @ReduxAction A Data Source has been edited
|
|
17
|
-
*/
|
|
18
|
-
exports.DATA_SOURCE_EDIT = 'DATA_SOURCE_EDIT';
|
|
19
|
-
/**
|
|
20
|
-
* @ReduxAction A Data Source has been deleted
|
|
21
|
-
*/
|
|
22
|
-
exports.DATA_SOURCE_DELETE = 'DATA_SOURCE_DELETE';
|
|
23
|
-
/**
|
|
24
|
-
* @ReduxAction Data Source Module is ready
|
|
25
|
-
*/
|
|
26
|
-
exports.DATA_SOURCE_READY = 'DATA_SOURCE_READY';
|
|
27
|
-
exports.DataSourceSelect = (dataSource) => ({
|
|
28
|
-
type: exports.DATA_SOURCE_SELECT,
|
|
29
|
-
dataSource,
|
|
30
|
-
});
|
|
31
|
-
exports.DataSourceAdd = (dataSource) => ({
|
|
32
|
-
type: exports.DATA_SOURCE_ADD,
|
|
33
|
-
dataSource,
|
|
34
|
-
});
|
|
35
|
-
exports.DataSourceEdit = (dataSource) => ({
|
|
36
|
-
type: exports.DATA_SOURCE_EDIT,
|
|
37
|
-
dataSource,
|
|
38
|
-
});
|
|
39
|
-
exports.DataSourceDelete = (dataSource) => ({
|
|
40
|
-
type: exports.DATA_SOURCE_DELETE,
|
|
41
|
-
dataSource,
|
|
42
|
-
});
|
|
43
|
-
exports.DataSourceReady = (dataSourceState) => ({
|
|
44
|
-
type: exports.DATA_SOURCE_READY,
|
|
45
|
-
dataSourceState,
|
|
46
|
-
});
|
|
47
|
-
const initialState = {
|
|
48
|
-
DataSources: GeneralConstants_1.EMPTY_ARRAY,
|
|
49
|
-
CurrentDataSource: GeneralConstants_1.EMPTY_STRING,
|
|
50
|
-
};
|
|
51
|
-
exports.DataSourceReducer = (state = initialState, action) => {
|
|
52
|
-
let dataSources;
|
|
53
|
-
switch (action.type) {
|
|
54
|
-
case exports.DATA_SOURCE_SELECT:
|
|
55
|
-
return Object.assign({}, state, {
|
|
56
|
-
CurrentDataSource: action.dataSource.Name,
|
|
57
|
-
});
|
|
58
|
-
case exports.DATA_SOURCE_ADD: {
|
|
59
|
-
const actionDataSource = action.dataSource;
|
|
60
|
-
AdaptableHelper_1.default.addUuidAndSource(actionDataSource);
|
|
61
|
-
dataSources = [].concat(state.DataSources);
|
|
62
|
-
dataSources.push(actionDataSource);
|
|
63
|
-
return Object.assign(Object.assign({}, state), { DataSources: dataSources });
|
|
64
|
-
}
|
|
65
|
-
case exports.DATA_SOURCE_EDIT: {
|
|
66
|
-
const actionDataSource = action.dataSource;
|
|
67
|
-
return Object.assign(Object.assign({}, state), { DataSources: state.DataSources.map((abObject) => abObject.Uuid === actionDataSource.Uuid ? actionDataSource : abObject) });
|
|
68
|
-
}
|
|
69
|
-
case exports.DATA_SOURCE_DELETE: {
|
|
70
|
-
const actionDataSource = action.dataSource;
|
|
71
|
-
return Object.assign(Object.assign({}, state), { DataSources: state.DataSources.filter((abObject) => abObject.Uuid !== actionDataSource.Uuid) });
|
|
72
|
-
}
|
|
73
|
-
default:
|
|
74
|
-
return state;
|
|
75
|
-
}
|
|
76
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { FilterState, ColumnFilter } from '../../PredefinedConfig/FilterState';
|
|
2
|
-
import * as Redux from 'redux';
|
|
3
|
-
/**
|
|
4
|
-
* @ReduxAction A Column Filter has been added
|
|
5
|
-
*/
|
|
6
|
-
export declare const COLUMN_FILTER_ADD = "COLUMN_FILTER_ADD";
|
|
7
|
-
/**
|
|
8
|
-
* @ReduxAction A Column Filter has been edited
|
|
9
|
-
*/
|
|
10
|
-
export declare const COLUMN_FILTER_EDIT = "COLUMN_FILTER_EDIT";
|
|
11
|
-
/**
|
|
12
|
-
* @ReduxAction Column Filters have been set
|
|
13
|
-
*/
|
|
14
|
-
export declare const COLUMN_FILTER_SET = "COLUMN_FILTER_SET";
|
|
15
|
-
/**
|
|
16
|
-
* @ReduxAction All Column Filters have been cleared
|
|
17
|
-
*/
|
|
18
|
-
export declare const COLUMN_FILTER_CLEAR_ALL = "COLUMN_FILTER_CLEAR_ALL";
|
|
19
|
-
/**
|
|
20
|
-
* @ReduxAction A Column Filter has been cleared
|
|
21
|
-
*/
|
|
22
|
-
export declare const COLUMN_FILTER_CLEAR = "COLUMN_FILTER_CLEAR";
|
|
23
|
-
/**
|
|
24
|
-
* @ReduxAction Quick Filter Bar has been made visible
|
|
25
|
-
*/
|
|
26
|
-
export declare const QUICK_FILTER_BAR_SHOW = "QUICK_FILTER_BAR_SHOW";
|
|
27
|
-
/**
|
|
28
|
-
* @ReduxAction Quick Filter Bar has been hidden
|
|
29
|
-
*/
|
|
30
|
-
export declare const QUICK_FILTER_BAR_HIDE = "QUICK_FILTER_BAR_HIDE";
|
|
31
|
-
/**
|
|
32
|
-
* @ReduxAction The Filter Form has been hidden
|
|
33
|
-
*/
|
|
34
|
-
export declare const FILTER_FORM_HIDE = "FILTER_FORM_HIDE";
|
|
35
|
-
/**
|
|
36
|
-
* @ReduxAction Filter Module is ready
|
|
37
|
-
*/
|
|
38
|
-
export declare const FILTER_READY = "FILTER_READY";
|
|
39
|
-
export interface ColumnFilterAction extends Redux.Action {
|
|
40
|
-
columnFilter: ColumnFilter;
|
|
41
|
-
}
|
|
42
|
-
export interface ColumnFilterAddAction extends ColumnFilterAction {
|
|
43
|
-
}
|
|
44
|
-
export interface ColumnFilterEditAction extends ColumnFilterAction {
|
|
45
|
-
}
|
|
46
|
-
export interface ColumnFilterSetAction extends ColumnFilterAction {
|
|
47
|
-
}
|
|
48
|
-
export interface ColumnFilterClearAction extends ColumnFilterAction {
|
|
49
|
-
}
|
|
50
|
-
export interface ColumnFilterClearAllAction extends Redux.Action {
|
|
51
|
-
}
|
|
52
|
-
export interface QuickFilterBarShowAction extends Redux.Action {
|
|
53
|
-
}
|
|
54
|
-
export interface QuickFilterBarHideAction extends Redux.Action {
|
|
55
|
-
}
|
|
56
|
-
export interface FilterFormHideAction extends Redux.Action {
|
|
57
|
-
}
|
|
58
|
-
export interface FilterReadyAction extends Redux.Action {
|
|
59
|
-
filterState: FilterState;
|
|
60
|
-
}
|
|
61
|
-
export declare const ColumnFilterAdd: (columnFilter: ColumnFilter) => ColumnFilterAddAction;
|
|
62
|
-
export declare const ColumnFilterEdit: (columnFilter: ColumnFilter) => ColumnFilterEditAction;
|
|
63
|
-
export declare const ColumnFilterSet: (columnFilter: ColumnFilter) => ColumnFilterSetAction;
|
|
64
|
-
export declare const ColumnFilterClearAll: () => ColumnFilterClearAllAction;
|
|
65
|
-
export declare const ColumnFilterClear: (columnFilter: ColumnFilter) => ColumnFilterClearAction;
|
|
66
|
-
export declare const QuickFilterBarShow: () => QuickFilterBarShowAction;
|
|
67
|
-
export declare const QuickFilterBarHide: () => QuickFilterBarHideAction;
|
|
68
|
-
export declare const FilterFormHide: () => FilterFormHideAction;
|
|
69
|
-
export declare const FilterReady: (filterState: FilterState) => FilterReadyAction;
|
|
70
|
-
export declare const FilterReducer: Redux.Reducer<FilterState>;
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FilterReducer = exports.FilterReady = exports.FilterFormHide = exports.QuickFilterBarHide = exports.QuickFilterBarShow = exports.ColumnFilterClear = exports.ColumnFilterClearAll = exports.ColumnFilterSet = exports.ColumnFilterEdit = exports.ColumnFilterAdd = exports.FILTER_READY = exports.FILTER_FORM_HIDE = exports.QUICK_FILTER_BAR_HIDE = exports.QUICK_FILTER_BAR_SHOW = exports.COLUMN_FILTER_CLEAR = exports.COLUMN_FILTER_CLEAR_ALL = exports.COLUMN_FILTER_SET = exports.COLUMN_FILTER_EDIT = exports.COLUMN_FILTER_ADD = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
|
|
6
|
-
/**
|
|
7
|
-
* @ReduxAction A Column Filter has been added
|
|
8
|
-
*/
|
|
9
|
-
exports.COLUMN_FILTER_ADD = 'COLUMN_FILTER_ADD';
|
|
10
|
-
/**
|
|
11
|
-
* @ReduxAction A Column Filter has been edited
|
|
12
|
-
*/
|
|
13
|
-
exports.COLUMN_FILTER_EDIT = 'COLUMN_FILTER_EDIT';
|
|
14
|
-
/**
|
|
15
|
-
* @ReduxAction Column Filters have been set
|
|
16
|
-
*/
|
|
17
|
-
exports.COLUMN_FILTER_SET = 'COLUMN_FILTER_SET';
|
|
18
|
-
/**
|
|
19
|
-
* @ReduxAction All Column Filters have been cleared
|
|
20
|
-
*/
|
|
21
|
-
exports.COLUMN_FILTER_CLEAR_ALL = 'COLUMN_FILTER_CLEAR_ALL';
|
|
22
|
-
/**
|
|
23
|
-
* @ReduxAction A Column Filter has been cleared
|
|
24
|
-
*/
|
|
25
|
-
exports.COLUMN_FILTER_CLEAR = 'COLUMN_FILTER_CLEAR';
|
|
26
|
-
/**
|
|
27
|
-
* @ReduxAction Quick Filter Bar has been made visible
|
|
28
|
-
*/
|
|
29
|
-
exports.QUICK_FILTER_BAR_SHOW = 'QUICK_FILTER_BAR_SHOW';
|
|
30
|
-
/**
|
|
31
|
-
* @ReduxAction Quick Filter Bar has been hidden
|
|
32
|
-
*/
|
|
33
|
-
exports.QUICK_FILTER_BAR_HIDE = 'QUICK_FILTER_BAR_HIDE';
|
|
34
|
-
/**
|
|
35
|
-
* @ReduxAction The Filter Form has been hidden
|
|
36
|
-
*/
|
|
37
|
-
exports.FILTER_FORM_HIDE = 'FILTER_FORM_HIDE';
|
|
38
|
-
/**
|
|
39
|
-
* @ReduxAction Filter Module is ready
|
|
40
|
-
*/
|
|
41
|
-
exports.FILTER_READY = 'FILTER_READY';
|
|
42
|
-
// Column Filter Methods
|
|
43
|
-
exports.ColumnFilterAdd = (columnFilter) => ({
|
|
44
|
-
type: exports.COLUMN_FILTER_ADD,
|
|
45
|
-
columnFilter,
|
|
46
|
-
});
|
|
47
|
-
exports.ColumnFilterEdit = (columnFilter) => ({
|
|
48
|
-
type: exports.COLUMN_FILTER_EDIT,
|
|
49
|
-
columnFilter,
|
|
50
|
-
});
|
|
51
|
-
exports.ColumnFilterSet = (columnFilter) => ({
|
|
52
|
-
type: exports.COLUMN_FILTER_SET,
|
|
53
|
-
columnFilter,
|
|
54
|
-
});
|
|
55
|
-
exports.ColumnFilterClearAll = () => ({
|
|
56
|
-
type: exports.COLUMN_FILTER_CLEAR_ALL,
|
|
57
|
-
});
|
|
58
|
-
exports.ColumnFilterClear = (columnFilter) => ({
|
|
59
|
-
type: exports.COLUMN_FILTER_CLEAR,
|
|
60
|
-
columnFilter,
|
|
61
|
-
});
|
|
62
|
-
// Filter Form and Quick Filter Bar
|
|
63
|
-
exports.QuickFilterBarShow = () => ({
|
|
64
|
-
type: exports.QUICK_FILTER_BAR_SHOW,
|
|
65
|
-
});
|
|
66
|
-
exports.QuickFilterBarHide = () => ({
|
|
67
|
-
type: exports.QUICK_FILTER_BAR_HIDE,
|
|
68
|
-
});
|
|
69
|
-
exports.FilterFormHide = () => ({
|
|
70
|
-
type: exports.FILTER_FORM_HIDE,
|
|
71
|
-
});
|
|
72
|
-
exports.FilterReady = (filterState) => ({
|
|
73
|
-
type: exports.FILTER_READY,
|
|
74
|
-
filterState,
|
|
75
|
-
});
|
|
76
|
-
const initialState = {
|
|
77
|
-
ColumnFilters: [],
|
|
78
|
-
IsQuickFilterVisible: true,
|
|
79
|
-
};
|
|
80
|
-
exports.FilterReducer = (state = initialState, action) => {
|
|
81
|
-
let columnFilters;
|
|
82
|
-
switch (action.type) {
|
|
83
|
-
case exports.COLUMN_FILTER_SET: {
|
|
84
|
-
const columnFilterAction = action.columnFilter;
|
|
85
|
-
AdaptableHelper_1.default.addUuidAndSource(columnFilterAction);
|
|
86
|
-
columnFilters = [].concat(state.ColumnFilters);
|
|
87
|
-
columnFilters = columnFilters
|
|
88
|
-
.filter((colFilter) => {
|
|
89
|
-
return colFilter.ColumnId !== columnFilterAction.ColumnId;
|
|
90
|
-
})
|
|
91
|
-
.concat(columnFilterAction);
|
|
92
|
-
return Object.assign(Object.assign({}, state), { ColumnFilters: columnFilters });
|
|
93
|
-
}
|
|
94
|
-
case exports.COLUMN_FILTER_ADD: {
|
|
95
|
-
const columnFilterAction = action.columnFilter;
|
|
96
|
-
AdaptableHelper_1.default.addUuidAndSource(columnFilterAction);
|
|
97
|
-
columnFilters = [].concat(state.ColumnFilters);
|
|
98
|
-
columnFilters.push(columnFilterAction);
|
|
99
|
-
return Object.assign(Object.assign({}, state), { ColumnFilters: columnFilters });
|
|
100
|
-
}
|
|
101
|
-
case exports.COLUMN_FILTER_EDIT: {
|
|
102
|
-
const columnFilterAction = action.columnFilter;
|
|
103
|
-
return Object.assign(Object.assign({}, state), { ColumnFilters: state.ColumnFilters.map((abObject) => abObject.Uuid === columnFilterAction.Uuid ? columnFilterAction : abObject) });
|
|
104
|
-
}
|
|
105
|
-
case exports.COLUMN_FILTER_CLEAR_ALL: {
|
|
106
|
-
return Object.assign({}, state, { ColumnFilters: [] });
|
|
107
|
-
}
|
|
108
|
-
case exports.COLUMN_FILTER_CLEAR: {
|
|
109
|
-
const actionTypedDelete = action;
|
|
110
|
-
columnFilters = [].concat(state.ColumnFilters);
|
|
111
|
-
const index = actionTypedDelete.columnFilter
|
|
112
|
-
? columnFilters.findIndex((i) => i.Uuid == actionTypedDelete.columnFilter.Uuid)
|
|
113
|
-
: -1;
|
|
114
|
-
if (index != -1) {
|
|
115
|
-
columnFilters.splice(index, 1);
|
|
116
|
-
}
|
|
117
|
-
return Object.assign({}, state, { ColumnFilters: columnFilters });
|
|
118
|
-
}
|
|
119
|
-
case exports.QUICK_FILTER_BAR_SHOW:
|
|
120
|
-
return Object.assign({}, state, { IsQuickFilterVisible: true });
|
|
121
|
-
case exports.QUICK_FILTER_BAR_HIDE:
|
|
122
|
-
return Object.assign({}, state, { IsQuickFilterVisible: false });
|
|
123
|
-
default:
|
|
124
|
-
return state;
|
|
125
|
-
}
|
|
126
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
3
|
-
import * as DataSourceRedux from '../Redux/ActionsReducers/DataSourceRedux';
|
|
4
|
-
import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
|
|
5
|
-
import { DataSource } from '../PredefinedConfig/DataSourceState';
|
|
6
|
-
import { AdaptableObjectView, IModule } from './Interface/IModule';
|
|
7
|
-
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
8
|
-
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
9
|
-
export declare class DataSourceModule extends AdaptableModuleBase implements IModule {
|
|
10
|
-
constructor(api: AdaptableApi);
|
|
11
|
-
getModuleAdaptableObjects(): AdaptableObject[];
|
|
12
|
-
hasNamedQueryReferences(): boolean;
|
|
13
|
-
getTeamSharingAction(): TeamSharingImportInfo<DataSource>;
|
|
14
|
-
toView(dataSource: DataSource): AdaptableObjectView;
|
|
15
|
-
toViewAll(): AdaptableObjectView[];
|
|
16
|
-
getViewProperties(): {
|
|
17
|
-
getDeleteAction: (dataSource: DataSource) => DataSourceRedux.DataSourceDeleteAction;
|
|
18
|
-
getEditWizard: () => import("react").FunctionComponent<import("../View/DataSource/Wizard/DataSourceWizard").DataSourceWizardProps>;
|
|
19
|
-
};
|
|
20
|
-
}
|