@adaptabletools/adaptable 12.2.2 → 14.0.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.css +2 -2
- package/bundle.cjs.js +419 -143
- package/index.css +2 -2
- package/package.json +3 -3
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +3 -2
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -2
- package/src/AdaptableOptions/ActionOptions.d.ts +1 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +1 -5
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +1 -1
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -1
- package/src/AdaptableOptions/ColumnOptions.d.ts +1 -1
- package/src/AdaptableOptions/EntitlementOptions.d.ts +15 -0
- package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -1
- package/src/Api/ChartingApi.d.ts +1 -1
- package/src/Api/ColumnApi.d.ts +1 -1
- package/src/Api/Events/ActionRowSubmitted.d.ts +1 -1
- package/src/Api/Events/AdaptableReady.d.ts +1 -1
- package/src/Api/Events/GridDataChanged.d.ts +1 -1
- package/src/Api/ExportApi.d.ts +5 -1
- package/src/Api/FilterApi.d.ts +1 -1
- package/src/Api/FinanceApi.d.ts +1 -1
- package/src/Api/FormatColumnApi.d.ts +1 -1
- package/src/Api/FreeTextColumnApi.d.ts +1 -1
- package/src/Api/GridApi.d.ts +4 -3
- package/src/Api/Implementation/ActionApiImpl.js +5 -5
- package/src/Api/Implementation/AlertApiImpl.js +9 -9
- package/src/Api/Implementation/ApiBase.js +3 -3
- package/src/Api/Implementation/CellSummaryApiImpl.d.ts +1 -1
- package/src/Api/Implementation/CellSummaryApiImpl.js +5 -2
- package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ChartingApiImpl.js +1 -1
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnApiImpl.js +1 -1
- package/src/Api/Implementation/ConfigApiImpl.js +2 -2
- package/src/Api/Implementation/DashboardApiImpl.js +2 -2
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -5
- package/src/Api/Implementation/ExportApiImpl.js +2 -2
- package/src/Api/Implementation/FilterApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FilterApiImpl.js +6 -6
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +3 -3
- package/src/Api/Implementation/GridApiImpl.js +12 -12
- package/src/Api/Implementation/InternalApiImpl.d.ts +1 -1
- package/src/Api/Implementation/InternalApiImpl.js +5 -5
- package/src/Api/Implementation/LayoutApiImpl.js +12 -12
- package/src/Api/Implementation/PredicateApiImpl.js +3 -3
- package/src/Api/Implementation/QueryApiImpl.js +6 -6
- package/src/Api/Implementation/QueryLanguageApiImpl.js +5 -5
- package/src/Api/Implementation/ScopeApiImpl.js +3 -3
- package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
- package/src/Api/Implementation/StatusBarApiImpl.d.ts +1 -1
- package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
- package/src/Api/Implementation/SystemStatusApiImpl.js +9 -9
- package/src/Api/Implementation/TeamSharingApiImpl.js +10 -10
- package/src/Api/InternalApi.d.ts +1 -1
- package/src/Api/StatusBarApi.d.ts +1 -1
- package/src/PredefinedConfig/ChartingState.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +17 -17
- package/src/PredefinedConfig/Common/CellDataChangedInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/Menu.d.ts +1 -1
- package/src/PredefinedConfig/Selection/GridCell.d.ts +1 -1
- package/src/PredefinedConfig/Selection/GridRow.d.ts +1 -1
- package/src/PredefinedConfig/Uuid.js +1 -1
- package/src/Redux/ActionsReducers/AlertRedux.js +2 -2
- package/src/Redux/ActionsReducers/ChartingRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +2 -2
- package/src/Redux/ActionsReducers/CustomSortRedux.js +2 -2
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +2 -2
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +2 -2
- package/src/Redux/ActionsReducers/GridRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +2 -2
- package/src/Redux/ActionsReducers/ScheduleRedux.js +10 -10
- package/src/Redux/ActionsReducers/ShortcutRedux.js +2 -2
- package/src/Redux/ActionsReducers/SystemRedux.js +2 -2
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +8 -8
- package/src/Redux/Store/AdaptableReduxMerger.js +9 -9
- package/src/Redux/Store/AdaptableStore.js +23 -23
- package/src/Strategy/AlertModule.js +6 -6
- package/src/Strategy/CalculatedColumnModule.js +4 -4
- package/src/Strategy/ConditionalStyleModule.js +8 -8
- package/src/Strategy/CustomSortModule.js +3 -3
- package/src/Strategy/DashboardModule.js +1 -1
- package/src/Strategy/DataChangeHistoryModule.js +1 -1
- package/src/Strategy/DataSetModule.js +2 -2
- package/src/Strategy/ExportModule.js +4 -4
- package/src/Strategy/FilterModule.js +1 -1
- package/src/Strategy/FlashingCellModule.js +7 -7
- package/src/Strategy/FormatColumnModule.js +8 -8
- package/src/Strategy/FreeTextColumnModule.js +1 -1
- package/src/Strategy/LayoutModule.js +2 -2
- package/src/Strategy/PlusMinusModule.js +3 -3
- package/src/Strategy/QueryModule.js +1 -1
- package/src/Strategy/ScheduleModule.js +2 -2
- package/src/Strategy/ShortcutModule.js +3 -3
- package/src/Strategy/StatusBarModule.d.ts +1 -1
- package/src/Strategy/TeamSharingModule.js +6 -6
- package/src/Strategy/ToolPanelModule.js +4 -4
- package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +2 -2
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +1 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
- package/src/Utilities/Constants/GeneralConstants.js +2 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +3 -3
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +3 -3
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +35 -35
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +18 -18
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +10 -10
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +48 -48
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +19 -19
- package/src/Utilities/Extensions/StringExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +5 -5
- package/src/Utilities/Helpers/DateHelper.js +9 -9
- package/src/Utilities/Helpers/FormatHelper.js +2 -2
- package/src/Utilities/Helpers/Helper.js +3 -9
- package/src/Utilities/Helpers/LoggingHelper.js +1 -1
- package/src/Utilities/Helpers/StyleHelper.js +1 -1
- package/src/Utilities/Interface/Preview.d.ts +1 -1
- package/src/Utilities/ObjectFactory.d.ts +1 -1
- package/src/Utilities/ObjectFactory.js +30 -30
- package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -1
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +1 -1
- package/src/Utilities/Services/AlertService.js +3 -3
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +1 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +3 -3
- package/src/Utilities/Services/DataService.js +1 -1
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IRowEditService.d.ts +1 -1
- package/src/Utilities/Services/LicenseService.js +1 -1
- package/src/Utilities/Services/MetamodelService.js +3 -3
- package/src/Utilities/Services/QueryLanguageService.d.ts +1 -1
- package/src/Utilities/Services/QueryLanguageService.js +2 -2
- package/src/Utilities/Services/ReportService.d.ts +1 -1
- package/src/Utilities/Services/ReportService.js +7 -7
- package/src/Utilities/Services/RowEditService.d.ts +1 -1
- package/src/Utilities/Services/TeamSharingService.js +1 -1
- package/src/Utilities/license/decode.js +1 -1
- package/src/View/AdaptableView.js +2 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +10 -10
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +3 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +1 -1
- package/src/View/AdaptableWizardView/Wizard.js +6 -6
- package/src/View/AdaptableWizardView/helper.d.ts +1 -1
- package/src/View/AdaptableWizardView/helper.js +1 -1
- package/src/View/Alert/ActiveAlertsPanel.js +2 -2
- package/src/View/Alert/AlertEmptyView.js +1 -1
- package/src/View/Alert/AlertEntityRow.js +1 -1
- package/src/View/Alert/AlertStatusSubPanel.js +3 -3
- package/src/View/Alert/AlertViewPanel.js +2 -2
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +5 -5
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -2
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -2
- package/src/View/Alert/Wizard/AlertWizard.js +4 -4
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
- package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +2 -2
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +3 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +3 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +4 -4
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +5 -5
- package/src/View/CellSummary/CellSummaryPopup.js +1 -1
- 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/ColorPicker.d.ts +1 -1
- package/src/View/ColorPicker.js +2 -2
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.js +4 -4
- package/src/View/Components/AdaptableInput/index.js +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -4
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -4
- package/src/View/Components/AdaptableObjectRow/index.js +1 -1
- package/src/View/Components/Buttons/ButtonBase/index.js +1 -1
- package/src/View/Components/Buttons/ButtonDelete.js +1 -1
- package/src/View/Components/ColumnSelector/index.js +1 -1
- package/src/View/Components/EntityRulesEditor/index.js +3 -3
- package/src/View/Components/ExpressionWizard.js +1 -1
- package/src/View/Components/ExternalRenderer.js +1 -1
- package/src/View/Components/FilterForm/FilterForm.js +7 -7
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +4 -4
- package/src/View/Components/FilterForm/QuickFilterForm.js +13 -13
- package/src/View/Components/ListBox/DualListBoxEditor.js +10 -10
- package/src/View/Components/ModuleValueSelector/index.js +6 -6
- package/src/View/Components/NewScopeComponent.js +3 -3
- package/src/View/Components/Panels/PanelToolPanel/index.js +1 -1
- package/src/View/Components/Panels/PanelWithImage.js +1 -1
- package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +3 -3
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +8 -8
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +4 -4
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +3 -3
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -2
- package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -2
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +1 -1
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +1 -1
- package/src/View/Components/Popups/FormPopups/FormPopups.js +5 -5
- package/src/View/Components/Popups/Utilities.js +5 -5
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +6 -6
- package/src/View/Components/RangesComponent.js +2 -2
- package/src/View/Components/Selectors/ColumnValueSelector.js +2 -2
- package/src/View/Components/TagValueSelector/index.js +2 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +2 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +6 -6
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +6 -6
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +6 -4
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
- package/src/View/Components/ValueSelector/index.js +7 -7
- package/src/View/Components/WizardSummaryRow.js +1 -1
- package/src/View/ConditionalStyle/ConditionalStyleSummary.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +3 -3
- package/src/View/CustomSort/CustomSortSummary.js +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +2 -2
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +9 -9
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +4 -4
- package/src/View/Dashboard/CustomDashboardButton.js +2 -2
- package/src/View/Dashboard/CustomToolbarWrapper.js +7 -7
- package/src/View/Dashboard/Dashboard.js +4 -4
- package/src/View/Dashboard/DashboardPopup.js +1 -1
- package/src/View/Dashboard/DashboardViewPanel.js +1 -1
- package/src/View/Dashboard/ModuleToolbarWrapper.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +7 -9
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +7 -7
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +9 -9
- package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +1 -1
- package/src/View/DataSet/DataSetSelector.js +1 -1
- package/src/View/DataSet/DataSetStatusPanelPopover.js +1 -1
- package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
- package/src/View/DataSet/DataSetViewPanel.js +1 -1
- package/src/View/Export/ExportSelector.js +1 -1
- package/src/View/Export/ExportViewPanel.d.ts +2 -1
- package/src/View/Export/ExportViewPanel.js +14 -5
- package/src/View/Export/ReportExportDropdown.js +3 -3
- package/src/View/Export/Wizard/NewReportWizard.js +4 -4
- package/src/View/Export/Wizard/ReportColumnsWizardSection.js +2 -2
- package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -2
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +3 -3
- package/src/View/Filter/ActiveFiltersPanel.js +1 -1
- package/src/View/Filter/FilterSummary.d.ts +1 -1
- package/src/View/Filter/FilterSummary.js +2 -2
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.js +3 -3
- 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 +3 -3
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +7 -7
- package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +5 -5
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +5 -5
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +6 -6
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +5 -5
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +4 -4
- package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -2
- package/src/View/GridInfo/AdaptableOptionsComponent.js +4 -4
- package/src/View/Layout/EditCurrentLayoutButton.js +1 -1
- package/src/View/Layout/LayoutCloneButton.js +1 -1
- package/src/View/Layout/LayoutRadioSelector.js +1 -1
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +1 -1
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/LayoutViewPanel.js +2 -2
- package/src/View/Layout/SaveLayoutButton.js +3 -3
- package/src/View/Layout/Wizard/Components/ColumnLabels.js +1 -1
- package/src/View/Layout/Wizard/LayoutWizard.js +5 -5
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +7 -7
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +8 -8
- package/src/View/Layout/Wizard/sections/FilterSection.js +5 -5
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +5 -5
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +5 -5
- package/src/View/Layout/Wizard/sections/SettingsSection.js +2 -2
- package/src/View/Layout/Wizard/sections/SortSection.js +6 -6
- package/src/View/PlusMinus/PlusMinusSummary.js +1 -1
- 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 +3 -3
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +3 -3
- package/src/View/Query/EditCurrentQueryButton.js +1 -1
- package/src/View/Query/ExpandedQueryPopup.js +3 -3
- package/src/View/Query/QueryViewPanel.d.ts +1 -1
- package/src/View/Query/QueryViewPanel.js +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +3 -3
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQueryWizard.js +3 -3
- package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
- package/src/View/QuickSearch/QuickSearchStatusBarContent.js +3 -3
- package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
- package/src/View/QuickSearch/QuickSearchViewPanel.js +2 -2
- package/src/View/QuickSearch/useQuickSearchDebounced.js +3 -3
- 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 +2 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -2
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +1 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +2 -2
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +4 -4
- package/src/View/SmartEdit/SmartEditPopup.js +1 -1
- package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
- package/src/View/SpecialColumnSettingsWizardStep.js +2 -2
- package/src/View/StateManagement/StateManagementViewPanel.js +1 -1
- package/src/View/StateManagement/components/ExportDropdown.js +2 -2
- package/src/View/StateManagement/components/LoadButton.js +1 -1
- package/src/View/StateManagement/handleExportState.js +1 -1
- package/src/View/StatusBar/AdaptableStatusBar.js +5 -5
- package/src/View/StatusBar/StatusBarPopup.js +2 -2
- package/src/View/SystemStatus/SystemStatusEntityRow.js +1 -1
- package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
- package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -2
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/SystemStatus/SystemStatusViewPanel.js +2 -2
- package/src/View/TeamSharing/SharedEntityDependencies.js +1 -1
- package/src/View/TeamSharing/SharedEntityObjectView.js +2 -2
- package/src/View/TeamSharing/TeamSharingApplyButton.js +1 -1
- package/src/View/Theme/ThemePopup.js +1 -1
- package/src/View/Theme/ThemeStatusPanelPopover.js +1 -1
- package/src/View/Theme/ThemeViewPanel.js +2 -2
- package/src/View/Wizard/AdaptableWizard.js +1 -1
- package/src/View/Wizard/ObjectTagsWizardSection.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +5 -5
- package/src/View/Wizard/OnePageWizards.js +14 -12
- package/src/View/Wizard/useKeyboardNavigation.js +1 -1
- package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
- package/src/agGrid/ActionColumnRenderer.js +3 -3
- package/src/agGrid/Adaptable.d.ts +19 -11
- package/src/agGrid/Adaptable.js +157 -160
- package/src/agGrid/CheckboxRenderer.d.ts +1 -1
- package/src/agGrid/ColumnSetupInfo.d.ts +1 -1
- package/src/agGrid/FilterWrapper.js +1 -1
- package/src/agGrid/FloatingFilterWrapper.js +1 -1
- package/src/agGrid/GroupCellRenderer.d.ts +1 -1
- package/src/agGrid/GroupCellRenderer.js +2 -2
- package/src/agGrid/PercentBarRenderer.js +1 -1
- package/src/agGrid/agGridHelper.d.ts +1 -1
- package/src/agGrid/agGridHelper.js +12 -13
- package/src/agGrid/agGridMenuHelper.d.ts +1 -1
- package/src/agGrid/agGridMenuHelper.js +5 -5
- package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -1
- package/src/agGrid/createAgStatusPanelComponent.js +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +3 -3
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/index.js +5 -5
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +4 -4
- package/src/agGrid/weightedAverage.d.ts +1 -1
- package/src/agGrid/weightedAverage.js +3 -3
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +1 -1
- package/src/components/AdaptableIconComponent/index.js +14 -17
- package/src/components/CheckBox/index.js +3 -3
- package/src/components/CodeBlock/index.js +1 -1
- package/src/components/Dashboard/Dashboard.js +8 -8
- package/src/components/Dashboard/DashboardToolbar.js +1 -1
- package/src/components/Datepicker/Caption.js +7 -7
- package/src/components/Datepicker/CaptionLabel.js +4 -4
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Datepicker/index.js +10 -10
- package/src/components/Dialog/index.js +9 -9
- package/src/components/Dialog/useIsOpen.js +1 -1
- package/src/components/Dropdown/index.js +6 -6
- package/src/components/DropdownButton/index.js +7 -7
- package/src/components/DropdownButton/renderItem.js +1 -1
- package/src/components/DropdownButton/useExpanded.js +4 -4
- package/src/components/EllipsisContainer/index.js +8 -8
- package/src/components/EmptyContent/index.js +1 -1
- package/src/components/ErrorBox/index.js +1 -1
- package/src/components/ExpressionEditor/BaseEditorInput.js +20 -7
- package/src/components/ExpressionEditor/EditorButton.js +1 -1
- package/src/components/ExpressionEditor/EditorContext.js +2 -2
- package/src/components/ExpressionEditor/EditorInput.js +2 -2
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +9 -9
- package/src/components/ExpressionEditor/NamedQueryContext.js +2 -2
- package/src/components/ExpressionEditor/index.js +8 -8
- package/src/components/FieldWrap/index.js +1 -1
- package/src/components/FileDroppable/index.js +4 -4
- package/src/components/FormLayout/index.js +4 -4
- package/src/components/HelpBlock/index.js +1 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/Input/index.js +1 -1
- package/src/components/List/GridList/index.js +1 -1
- package/src/components/List/ListGroup/index.js +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.js +2 -2
- package/src/components/Modal/Backdrop.js +5 -5
- package/src/components/Modal/index.js +5 -5
- package/src/components/NotifyResize/index.js +1 -1
- package/src/components/OverlayTrigger/Overlay.js +15 -15
- package/src/components/OverlayTrigger/getOverlayStyle.js +1 -1
- package/src/components/OverlayTrigger/index.js +24 -24
- package/src/components/OverlayTrigger/useAgGridClassName.js +2 -2
- package/src/components/Panel/index.js +3 -3
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/ProgressIndicator/ProgressIndicator.js +5 -5
- package/src/components/Radio/index.js +3 -3
- package/src/components/ResizeObserver/index.js +10 -10
- package/src/components/SelectableList/index.js +4 -4
- package/src/components/SimpleButton/index.js +3 -3
- package/src/components/StylePreview.js +1 -1
- package/src/components/Table/index.js +1 -1
- package/src/components/Tabs/index.js +6 -7
- package/src/components/Tag/Tag.js +1 -1
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/components/Textarea/index.js +1 -1
- package/src/components/ToggleButton/index.js +1 -1
- package/src/components/WindowModal/WindowModal.js +4 -4
- package/src/components/WindowModal/useStacking.js +1 -1
- package/src/components/WizardPanel/index.js +1 -1
- package/src/components/icons/DefaultIcon.js +2 -2
- package/src/components/icons/index.js +1 -1
- package/src/components/utils/batchUpdate.js +1 -1
- package/src/components/utils/useAutoFocus.js +2 -2
- package/src/components/utils/useContainerScrollObserver/index.js +7 -7
- package/src/components/utils/useDraggable.js +5 -5
- package/src/components/utils/useLatest.js +2 -2
- package/src/components/utils/usePrevious.js +2 -2
- package/src/components/utils/usePropState.js +1 -1
- package/src/components/utils/useProperty.js +2 -2
- package/src/components/utils/useRerender.js +2 -2
- package/src/components/utils/useSelectionRange.js +3 -3
- package/src/components/utils/uuid.js +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +18 -0
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/index.js +1 -1
- package/src/types.d.ts +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -18,11 +18,11 @@ const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection"
|
|
|
18
18
|
const ShortcutWizard = (props) => {
|
|
19
19
|
const [shortcut, setShortcut] = React.useState(() => {
|
|
20
20
|
var _a;
|
|
21
|
-
const shortcut = props.data ? Helper_1.cloneObject(props.data) : ObjectFactory_1.default.CreateEmptyShortcut();
|
|
21
|
+
const shortcut = props.data ? (0, Helper_1.cloneObject)(props.data) : ObjectFactory_1.default.CreateEmptyShortcut();
|
|
22
22
|
shortcut.Scope = (_a = shortcut.Scope) !== null && _a !== void 0 ? _a : { All: true };
|
|
23
23
|
return shortcut;
|
|
24
24
|
});
|
|
25
|
-
const adaptable = AdaptableContext_1.useAdaptable();
|
|
25
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
26
26
|
const availableKeys = React.useMemo(() => {
|
|
27
27
|
const availableKeys = shortcutKeys_1.shortcutKeys.filter((key) => adaptable.api.shortcutApi.getAllShortcut().every((shortcut) => shortcut.ShortcutKey !== key));
|
|
28
28
|
if (shortcut) {
|
|
@@ -31,7 +31,7 @@ const ShortcutWizard = (props) => {
|
|
|
31
31
|
availableKeys.sort();
|
|
32
32
|
return availableKeys;
|
|
33
33
|
}, []);
|
|
34
|
-
const dispatch = react_redux_1.useDispatch();
|
|
34
|
+
const dispatch = (0, react_redux_1.useDispatch)();
|
|
35
35
|
const handleFinish = () => {
|
|
36
36
|
if (props.data) {
|
|
37
37
|
dispatch(ShortcutRedux.ShortcutEdit(shortcut));
|
|
@@ -46,7 +46,7 @@ const ShortcutWizard = (props) => {
|
|
|
46
46
|
title: 'Target',
|
|
47
47
|
isValid: NewScopeComponent_1.isScopeValid,
|
|
48
48
|
details: 'Specify where Shortcut should be applied',
|
|
49
|
-
renderSummary: () => NewScopeComponent_1.renderScopeSummary(shortcut.Scope, {
|
|
49
|
+
renderSummary: () => (0, NewScopeComponent_1.renderScopeSummary)(shortcut.Scope, {
|
|
50
50
|
scopeWholeRow: 'Shortcut is triggered for matching rows',
|
|
51
51
|
scopeColumns: 'Shortcut is triggered in cells in selected columns',
|
|
52
52
|
scopeDataTypes: 'Shortcut is triggered for cells with selected data type',
|
|
@@ -110,4 +110,4 @@ function mapDispatchToProps(dispatch) {
|
|
|
110
110
|
onRunSmartEdit: () => dispatch(SmartEditRedux.SmartEditRun(false)),
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
exports.SmartEditPopup = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(SmartEditPopupComponent);
|
|
113
|
+
exports.SmartEditPopup = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(SmartEditPopupComponent);
|
|
@@ -126,4 +126,4 @@ function mapDispatchToProps(dispatch) {
|
|
|
126
126
|
onRunSmartEdit: () => dispatch(SmartEditRedux.SmartEditRun(false)),
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
|
-
exports.SmartEditViewPanelControl = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(SmartEditViewPanelComponent);
|
|
129
|
+
exports.SmartEditViewPanelControl = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(SmartEditViewPanelComponent);
|
|
@@ -11,7 +11,7 @@ const Tabs_1 = require("../components/Tabs");
|
|
|
11
11
|
const AdaptableContext_1 = require("./AdaptableContext");
|
|
12
12
|
const SpecialColumnSettingsWizardStep = (props) => {
|
|
13
13
|
var _a, _b;
|
|
14
|
-
const adaptable = AdaptableContext_1.useAdaptable();
|
|
14
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
15
15
|
const possibleColumnTypes = adaptable.api.internalApi.getAdaptableOptions().columnOptions.columnTypes;
|
|
16
16
|
const { Filterable, Resizable, Groupable, Sortable, Pivotable, Aggregatable, SuppressMenu, SuppressMovable, } = (_a = props.settings) !== null && _a !== void 0 ? _a : {};
|
|
17
17
|
const handleColumnTypeChange = (columnType, checked) => {
|
|
@@ -53,7 +53,7 @@ const SpecialColumnSettingsWizardStep = (props) => {
|
|
|
53
53
|
Boolean(possibleColumnTypes === null || possibleColumnTypes === void 0 ? void 0 : possibleColumnTypes.length) && (React.createElement(Tabs_1.Tabs, { marginTop: 2, autoFocus: false },
|
|
54
54
|
React.createElement(Tabs_1.Tabs.Tab, null, "Column Types"),
|
|
55
55
|
React.createElement(Tabs_1.Tabs.Content, null,
|
|
56
|
-
React.createElement(FormLayout_1.default, { columns: [{ name: 'first', size: '30%' }, { name: 'second' }] }, (_b = chunk_1.default(possibleColumnTypes !== null && possibleColumnTypes !== void 0 ? possibleColumnTypes : [], 2)) === null || _b === void 0 ? void 0 : _b.map(([first, second]) => {
|
|
56
|
+
React.createElement(FormLayout_1.default, { columns: [{ name: 'first', size: '30%' }, { name: 'second' }] }, (_b = (0, chunk_1.default)(possibleColumnTypes !== null && possibleColumnTypes !== void 0 ? possibleColumnTypes : [], 2)) === null || _b === void 0 ? void 0 : _b.map(([first, second]) => {
|
|
57
57
|
var _a, _b, _c, _d, _e, _f;
|
|
58
58
|
return (React.createElement(FormLayout_1.FormRow, { key: first },
|
|
59
59
|
first && (React.createElement(CheckBox_1.CheckBox, { onChange: (checked) => handleColumnTypeChange(first, checked), checked: (_c = (_b = (_a = props.settings) === null || _a === void 0 ? void 0 : _a.ColumnTypes) === null || _b === void 0 ? void 0 : _b.includes) === null || _c === void 0 ? void 0 : _c.call(_b, first) }, first)),
|
|
@@ -12,7 +12,7 @@ const ExportDropdown_1 = require("./components/ExportDropdown");
|
|
|
12
12
|
const StateManagementViewPanel = (props) => {
|
|
13
13
|
const isToolbar = props.viewType === 'Toolbar';
|
|
14
14
|
const elementType = isToolbar ? 'DashboardToolbar' : 'ToolPanel';
|
|
15
|
-
return (React.createElement(rebass_1.Flex, { flexDirection: isToolbar ? 'row' : 'column', className: join_1.default(props.accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__StateManagement__wrap`) },
|
|
15
|
+
return (React.createElement(rebass_1.Flex, { flexDirection: isToolbar ? 'row' : 'column', className: (0, join_1.default)(props.accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__StateManagement__wrap`) },
|
|
16
16
|
React.createElement(rebass_1.Flex, { flexDirection: "row" },
|
|
17
17
|
React.createElement(LoadButton_1.LoadButton, { tooltip: "Load Predefined Config", variant: "text", icon: "upload", onLoad: (json) => props.api.configApi.reloadPredefinedConfig(json), accessLevel: props.accessLevel }, !isToolbar && 'Load'),
|
|
18
18
|
React.createElement(ClearButton_1.ClearButton, { icon: "trash", tooltip: "Clear User State", variant: "text", onClick: () => props.api.configApi.reloadPredefinedConfig(), accessLevel: props.accessLevel }, !isToolbar && 'Clear')),
|
|
@@ -10,11 +10,11 @@ const ExportDropdown = (props) => {
|
|
|
10
10
|
switch (props.type) {
|
|
11
11
|
case 'adaptableState':
|
|
12
12
|
const adaptableState = props.api.configApi.getPersistedState();
|
|
13
|
-
handleExportState_1.handleExportState(destination, 'adaptableState', adaptableState);
|
|
13
|
+
(0, handleExportState_1.handleExportState)(destination, 'adaptableState', adaptableState);
|
|
14
14
|
break;
|
|
15
15
|
case 'predefinedConfig':
|
|
16
16
|
const predefinedConfig = props.api.configApi.getPredefinedConfig();
|
|
17
|
-
handleExportState_1.handleExportState(destination, 'predefinedConfig', predefinedConfig);
|
|
17
|
+
(0, handleExportState_1.handleExportState)(destination, 'predefinedConfig', predefinedConfig);
|
|
18
18
|
break;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
@@ -11,7 +11,7 @@ const handleExportState = (type, name, state) => {
|
|
|
11
11
|
Helper_1.default.copyToClipboard(stringifiedState);
|
|
12
12
|
break;
|
|
13
13
|
case 'Console':
|
|
14
|
-
LoggingHelper_1.ConsoleLog(state);
|
|
14
|
+
(0, LoggingHelper_1.ConsoleLog)(state);
|
|
15
15
|
break;
|
|
16
16
|
case 'JSON':
|
|
17
17
|
const jsonFileName = name + '.json';
|
|
@@ -13,12 +13,12 @@ const AdaptableStatusBar = (props) => {
|
|
|
13
13
|
/**
|
|
14
14
|
* All state is selected so the Status Bar is re-rendered for all adaptable state changes
|
|
15
15
|
*/
|
|
16
|
-
const state = react_redux_1.useSelector((state) => state);
|
|
17
|
-
const statusPanels = StatusBarRedux_1.getStatusPanelsSelector(state);
|
|
18
|
-
const adaptable = AdaptableContext_1.useAdaptable();
|
|
19
|
-
const dispatch = react_redux_1.useDispatch();
|
|
16
|
+
const state = (0, react_redux_1.useSelector)((state) => state);
|
|
17
|
+
const statusPanels = (0, StatusBarRedux_1.getStatusPanelsSelector)(state);
|
|
18
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
19
|
+
const dispatch = (0, react_redux_1.useDispatch)();
|
|
20
20
|
const statusSubPanels = statusPanels.find((statusPanel) => statusPanel.Key === props.context.Key);
|
|
21
|
-
const allMenuItems = react_redux_1.useSelector((state) => { var _a; return (_a = state === null || state === void 0 ? void 0 : state.Grid) === null || _a === void 0 ? void 0 : _a.SettingPanelModuleMenuItems; });
|
|
21
|
+
const allMenuItems = (0, react_redux_1.useSelector)((state) => { var _a; return (_a = state === null || state === void 0 ? void 0 : state.Grid) === null || _a === void 0 ? void 0 : _a.SettingPanelModuleMenuItems; });
|
|
22
22
|
return (React.createElement(rebass_1.Flex, { className: "ab-StatusBar-Panel", "data-id": props.context.Key }, (_a = statusSubPanels === null || statusSubPanels === void 0 ? void 0 : statusSubPanels.StatusBarPanels) === null || _a === void 0 ? void 0 : _a.map((subPanel) => {
|
|
23
23
|
var _a, _b, _c, _d, _e, _f;
|
|
24
24
|
const module = adaptable.ModuleService.getModuleById(subPanel);
|
|
@@ -11,8 +11,8 @@ const StatusBarRedux_1 = require("../../Redux/ActionsReducers/StatusBarRedux");
|
|
|
11
11
|
const AdaptableContext_1 = require("../AdaptableContext");
|
|
12
12
|
const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
|
|
13
13
|
const StatusBarPopup = (props) => {
|
|
14
|
-
const statusPanels = react_redux_1.useSelector(StatusBarRedux_1.getStatusPanelsSelector);
|
|
15
|
-
const adaptable = AdaptableContext_1.useAdaptable();
|
|
14
|
+
const statusPanels = (0, react_redux_1.useSelector)(StatusBarRedux_1.getStatusPanelsSelector);
|
|
15
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
16
16
|
const tabs = React.useMemo(() => statusPanels.map((statusPanel) => {
|
|
17
17
|
return {
|
|
18
18
|
Name: statusPanel.Key,
|
|
@@ -13,7 +13,7 @@ class SystemStatusEntityRow extends React.Component {
|
|
|
13
13
|
let systemStatus = this.props
|
|
14
14
|
.adaptableObject;
|
|
15
15
|
let messageTypeColor = UIHelper_1.default.getColorByMessageType((_a = systemStatus === null || systemStatus === void 0 ? void 0 : systemStatus.statusType) !== null && _a !== void 0 ? _a : 'Success');
|
|
16
|
-
let colItems = Helper_1.cloneObject(this.props.colItems);
|
|
16
|
+
let colItems = (0, Helper_1.cloneObject)(this.props.colItems);
|
|
17
17
|
colItems[0].Content = systemStatus ? (React.createElement("details", null,
|
|
18
18
|
React.createElement(rebass_1.Flex, { title: systemStatus.statusFurtherInformation ? 'Click to see more' : '', style: {
|
|
19
19
|
borderRadius: 'var(--ab__border-radius)',
|
|
@@ -46,4 +46,4 @@ function mapDispatchToProps(dispatch) {
|
|
|
46
46
|
onSystemStatusMessageInfoDeleteAll: () => dispatch(SystemRedux.SystemStatusMessageInfoDeleteAll()),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
exports.SystemStatusPopup = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(SystemStatusPopupComponent);
|
|
49
|
+
exports.SystemStatusPopup = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(SystemStatusPopupComponent);
|
|
@@ -7,9 +7,9 @@ const rebass_1 = require("rebass");
|
|
|
7
7
|
const AdaptableContext_1 = require("../AdaptableContext");
|
|
8
8
|
const getStatusItemStyle_1 = require("./Utilities/getStatusItemStyle");
|
|
9
9
|
const SystemStatusStatusBarContent = () => {
|
|
10
|
-
const adaptable = AdaptableContext_1.useAdaptable();
|
|
10
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
11
11
|
const currentSystemStatusMessageInfo = adaptable.api.systemStatusApi.getCurrentSystemStatusMessageInfo();
|
|
12
|
-
const { color, background } = getStatusItemStyle_1.getStatusItemStyle(currentSystemStatusMessageInfo);
|
|
12
|
+
const { color, background } = (0, getStatusItemStyle_1.getStatusItemStyle)(currentSystemStatusMessageInfo);
|
|
13
13
|
const message = currentSystemStatusMessageInfo === null || currentSystemStatusMessageInfo === void 0 ? void 0 : currentSystemStatusMessageInfo.statusMessage;
|
|
14
14
|
return (React.createElement(rebass_1.Box, { style: { borderRadius: 'var(--ab__border-radius)' }, padding: 1, color: message && color, backgroundColor: message && background }, message || '0 Messages'));
|
|
15
15
|
};
|
|
@@ -8,5 +8,5 @@ declare class SystemStatusViewPanelComponent extends React.Component<SystemStatu
|
|
|
8
8
|
constructor(props: SystemStatusViewPanelComponentProps);
|
|
9
9
|
render(): JSX.Element;
|
|
10
10
|
}
|
|
11
|
-
export declare let SystemStatusViewPanel: import("react-redux").ConnectedComponent<typeof SystemStatusViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<SystemStatusViewPanelComponent> & SystemStatusViewPanelComponentProps, "api" | "
|
|
11
|
+
export declare let SystemStatusViewPanel: import("react-redux").ConnectedComponent<typeof SystemStatusViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<SystemStatusViewPanelComponent> & SystemStatusViewPanelComponentProps, "api" | "moduleInfo" | "accessLevel" | "SystemStatusMessageInfos" | "viewType">>;
|
|
12
12
|
export {};
|
|
@@ -12,7 +12,7 @@ class SystemStatusViewPanelComponent extends React.Component {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const currentSystemStatusMessageInfo = this.props.api.systemStatusApi.getCurrentSystemStatusMessageInfo();
|
|
15
|
-
const { color, background } = getStatusItemStyle_1.getStatusItemStyle(currentSystemStatusMessageInfo);
|
|
15
|
+
const { color, background } = (0, getStatusItemStyle_1.getStatusItemStyle)(currentSystemStatusMessageInfo);
|
|
16
16
|
const message = currentSystemStatusMessageInfo === null || currentSystemStatusMessageInfo === void 0 ? void 0 : currentSystemStatusMessageInfo.statusMessage;
|
|
17
17
|
const elementType = this.props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
|
|
18
18
|
return (React.createElement(rebass_1.Flex, { flexDirection: "row", className: `ab-${elementType}__SystemStatus__wrap` },
|
|
@@ -27,4 +27,4 @@ function mapStateToProps(state) {
|
|
|
27
27
|
function mapDispatchToProps(dispatch) {
|
|
28
28
|
return {};
|
|
29
29
|
}
|
|
30
|
-
exports.SystemStatusViewPanel = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(SystemStatusViewPanelComponent);
|
|
30
|
+
exports.SystemStatusViewPanel = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(SystemStatusViewPanelComponent);
|
|
@@ -8,7 +8,7 @@ const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleB
|
|
|
8
8
|
const AdaptableContext_1 = require("../AdaptableContext");
|
|
9
9
|
const AdaptableObjectList_1 = require("../Components/AdaptableObjectList/AdaptableObjectList");
|
|
10
10
|
const Dependencies = (props) => {
|
|
11
|
-
const adaptable = AdaptableContext_1.useAdaptable();
|
|
11
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
12
12
|
const dependencies = adaptable.api.teamSharingApi.getSharedEntryDependencies(props.sharedEntity);
|
|
13
13
|
return (React.createElement(React.Fragment, null, dependencies.map((sharedEntity) => {
|
|
14
14
|
const module = adaptable.ModuleService.getModuleById('TeamSharing');
|
|
@@ -10,7 +10,7 @@ const AdaptableContext_1 = require("../AdaptableContext");
|
|
|
10
10
|
const AdaptableObjectList_1 = require("../Components/AdaptableObjectList/AdaptableObjectList");
|
|
11
11
|
const SharedEntityTypeItemView = (props) => {
|
|
12
12
|
const [isExpanded, setIsExpanded] = React.useState(false);
|
|
13
|
-
const adaptable = AdaptableContext_1.useAdaptable();
|
|
13
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
14
14
|
const moduleName = props.data.Module;
|
|
15
15
|
const module = adaptable.ModuleService.getModuleById(moduleName);
|
|
16
16
|
const sharedObject = props.data.Entity;
|
|
@@ -26,7 +26,7 @@ const SharedEntityTypeItemView = (props) => {
|
|
|
26
26
|
exports.SharedEntityTypeItemView = SharedEntityTypeItemView;
|
|
27
27
|
const getSharedEntityActiveStatusObjectView = (isDependency) => (props) => {
|
|
28
28
|
var _a, _b;
|
|
29
|
-
const adaptable = AdaptableContext_1.useAdaptable();
|
|
29
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
30
30
|
const activeEntries = adaptable.api.internalApi.getState().TeamSharing.ActiveSharedEntityMap;
|
|
31
31
|
const sharedEntity = props.data;
|
|
32
32
|
const isAdaptableObjectPresentInLocalState = !!adaptable.api.internalApi
|
|
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
|
|
7
7
|
const AdaptableContext_1 = require("../AdaptableContext");
|
|
8
8
|
const TeamSharingApplyButton = (props) => {
|
|
9
|
-
const adaptable = AdaptableContext_1.useAdaptable();
|
|
9
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
10
10
|
const handleImport = React.useCallback(() => {
|
|
11
11
|
adaptable.api.teamSharingApi.importSharedEntry(props.data);
|
|
12
12
|
}, []);
|
|
@@ -56,4 +56,4 @@ function mapDispatchToProps(dispatch) {
|
|
|
56
56
|
SelectTheme: (newTheme) => dispatch(ThemeRedux.ThemeSelect(newTheme)),
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
exports.ThemePopup = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(ThemePopupComponent);
|
|
59
|
+
exports.ThemePopup = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(ThemePopupComponent);
|
|
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const SelectList_1 = require("../../components/SelectList");
|
|
7
7
|
const AdaptableContext_1 = require("../AdaptableContext");
|
|
8
8
|
const ThemeStatusPanelPopover = () => {
|
|
9
|
-
const adaptable = AdaptableContext_1.useAdaptable();
|
|
9
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
10
10
|
const themes = adaptable.api.themeApi.getAllTheme();
|
|
11
11
|
const handleThemeChange = React.useCallback((option) => {
|
|
12
12
|
adaptable.api.themeApi.loadTheme(option.label);
|
|
@@ -36,7 +36,7 @@ class ThemeViewPanelComponent extends React.Component {
|
|
|
36
36
|
fontSize: 'small',
|
|
37
37
|
}
|
|
38
38
|
: { minWidth: '100%', fontSize: 'small' };
|
|
39
|
-
return (React.createElement("div", { className: join_1.default(this.props.accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__Theme__wrap`) },
|
|
39
|
+
return (React.createElement("div", { className: (0, join_1.default)(this.props.accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__Theme__wrap`) },
|
|
40
40
|
React.createElement(DropdownButton_1.default, { className: `ab-${elementType}__Theme__select`, style: dropDownStyle, items: themes, columns: ['label'], accessLevel: this.props.accessLevel }, currentThemeDescription)));
|
|
41
41
|
}
|
|
42
42
|
onSelectTheme(theme) {
|
|
@@ -55,4 +55,4 @@ function mapDispatchToProps(dispatch) {
|
|
|
55
55
|
onSelectTheme: (theme) => dispatch(ThemeRedux.ThemeSelect(theme)),
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
exports.ThemeViewPanelControl = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(ThemeViewPanelComponent);
|
|
58
|
+
exports.ThemeViewPanelControl = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(ThemeViewPanelComponent);
|
|
@@ -76,7 +76,7 @@ class AdaptableWizard extends React.Component {
|
|
|
76
76
|
} },
|
|
77
77
|
React.createElement(Dialog_1.default, { modal: true, isOpen: true, showCloseButton: false, onDismiss: () => (this.props.onHide ? this.props.onHide() : null) },
|
|
78
78
|
React.createElement(rebass_1.Flex, { flexDirection: "column", "data-name": this.props.moduleInfo.FriendlyName
|
|
79
|
-
? `${kebabCase_1.default(this.props.moduleInfo.FriendlyName)}-wizard`
|
|
79
|
+
? `${(0, kebabCase_1.default)(this.props.moduleInfo.FriendlyName)}-wizard`
|
|
80
80
|
: '', style: Object.assign({ height: '100%', width: '70vw', maxWidth: 1000, maxHeight: '80vh' }, this.props.style) },
|
|
81
81
|
React.createElement(Panel_1.default, { header: this.props.moduleInfo.FriendlyName, border: "none", className: "ab-WizardDialog__steps", borderRadius: "none", variant: "primary", style: { flex: 'none' } }, this.props.showStepsLegend === false ? null : (React.createElement(WizardLegend_1.WizardLegend, { StepNames: wizardStepNames, ActiveStepName: this.stepName, FriendlyName: '', CanShowAllSteps: this.canFinishWizard(), onStepButtonClicked: (s) => this.onStepButtonClicked(s) }))),
|
|
82
82
|
React.createElement(rebass_1.Flex, { style: { flex: 1, overflow: 'auto' }, flexDirection: "column" }, this.state.ActiveState),
|
|
@@ -9,7 +9,7 @@ const OnePageAdaptableWizard_1 = require("./OnePageAdaptableWizard");
|
|
|
9
9
|
const rebass_1 = require("rebass");
|
|
10
10
|
const ObjectTagsWizardSection = (props) => {
|
|
11
11
|
const { onChange } = props;
|
|
12
|
-
const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
|
|
12
|
+
const { data } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
|
|
13
13
|
return (React.createElement(Tabs_1.Tabs, { style: { height: '100%' } },
|
|
14
14
|
React.createElement(Tabs_1.Tabs.Tab, null, "Tags"),
|
|
15
15
|
React.createElement(Tabs_1.Tabs.Content, null,
|
|
@@ -31,12 +31,12 @@ function useOnePageAdaptableWizardContext() {
|
|
|
31
31
|
}
|
|
32
32
|
exports.useOnePageAdaptableWizardContext = useOnePageAdaptableWizardContext;
|
|
33
33
|
const OnePageAdaptableWizard = (props) => {
|
|
34
|
-
const { api } = AdaptableContext_1.useAdaptable();
|
|
35
|
-
const dispatch = react_redux_1.useDispatch();
|
|
34
|
+
const { api } = (0, AdaptableContext_1.useAdaptable)();
|
|
35
|
+
const dispatch = (0, react_redux_1.useDispatch)();
|
|
36
36
|
const saveNamedQuery = React.useCallback((namedQuery) => dispatch(QueryRedux.NamedQueryAdd(namedQuery)), []);
|
|
37
|
-
const [namedQuery, setNamedQuery] = react_1.useState(false);
|
|
37
|
+
const [namedQuery, setNamedQuery] = (0, react_1.useState)(false);
|
|
38
38
|
const name = props.moduleInfo.FriendlyName
|
|
39
|
-
? `${kebabCase_1.default(props.moduleInfo.FriendlyName)}-wizard`
|
|
39
|
+
? `${(0, kebabCase_1.default)(props.moduleInfo.FriendlyName)}-wizard`
|
|
40
40
|
: '';
|
|
41
41
|
const extraContext = {
|
|
42
42
|
data: props.data,
|
|
@@ -75,7 +75,7 @@ const OnePageAdaptableWizard = (props) => {
|
|
|
75
75
|
};
|
|
76
76
|
exports.OnePageAdaptableWizard = OnePageAdaptableWizard;
|
|
77
77
|
const OnePageWizardSummary = () => {
|
|
78
|
-
const { setCurrentSection, sections, data } = OnePageWizards_1.useOnePageWizardContext();
|
|
78
|
+
const { setCurrentSection, sections, data } = (0, OnePageWizards_1.useOnePageWizardContext)();
|
|
79
79
|
const { api } = useOnePageAdaptableWizardContext();
|
|
80
80
|
const renderEdit = (index) => (React.createElement(SimpleButton_1.default, { px: 1, variant: "text", style: {
|
|
81
81
|
textDecoration: 'underline',
|
|
@@ -33,19 +33,19 @@ const OnePageWizard = (props) => {
|
|
|
33
33
|
var _a, _b;
|
|
34
34
|
let defaultCurrentIndex = 0;
|
|
35
35
|
if (props.defaultCurrentSectionName) {
|
|
36
|
-
const candidate = props.sections.findIndex((section) => section !== '-' && section.title === props.defaultCurrentSectionName);
|
|
36
|
+
const candidate = props.sections.findIndex((section) => section !== '-' && (section === null || section === void 0 ? void 0 : section.title) === props.defaultCurrentSectionName);
|
|
37
37
|
if (candidate >= 0) {
|
|
38
38
|
defaultCurrentIndex = candidate;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
const [currentSection, setCurrentSection] = useProperty_1.default(props, 'currentIndex', defaultCurrentIndex, {
|
|
41
|
+
const [currentSection, setCurrentSection] = (0, useProperty_1.default)(props, 'currentIndex', defaultCurrentIndex, {
|
|
42
42
|
onChange: (index) => {
|
|
43
43
|
var _a;
|
|
44
44
|
(_a = props.onSectionChange) === null || _a === void 0 ? void 0 : _a.call(props, index);
|
|
45
45
|
},
|
|
46
46
|
});
|
|
47
|
-
const [namedQuery, setNamedQuery] = react_1.useState(false);
|
|
48
|
-
const [navIndexMap] = react_1.useState(() => new Map());
|
|
47
|
+
const [namedQuery, setNamedQuery] = (0, react_1.useState)(false);
|
|
48
|
+
const [navIndexMap] = (0, react_1.useState)(() => new Map());
|
|
49
49
|
const handleClickFinish = () => {
|
|
50
50
|
var _a;
|
|
51
51
|
(_a = props.onFinish) === null || _a === void 0 ? void 0 : _a.call(props, props.data);
|
|
@@ -59,7 +59,7 @@ const OnePageWizard = (props) => {
|
|
|
59
59
|
React.createElement(rebass_1.Box, { py: 3, paddingLeft: 2, fontSize: 4, className: "ab-OnePageWizard__details" }, section.details),
|
|
60
60
|
React.createElement(rebass_1.Box, { flex: 1, className: "ab-OnePageWizard__section" }, section.render(props.data, index))));
|
|
61
61
|
};
|
|
62
|
-
const selectedNodeRef = react_1.useRef(null);
|
|
62
|
+
const selectedNodeRef = (0, react_1.useRef)(null);
|
|
63
63
|
const selectedFeedback = (React.createElement("div", { ref: selectedNodeRef, className: "ab-OnePageWizard__selected-title-overlay", style: {
|
|
64
64
|
position: 'absolute',
|
|
65
65
|
background: 'var(--ab-cmp-one-page-wizard-selected-title__background)',
|
|
@@ -67,9 +67,9 @@ const OnePageWizard = (props) => {
|
|
|
67
67
|
borderRadius: 'var(--ab__border-radius)',
|
|
68
68
|
transition: 'top 0.2s',
|
|
69
69
|
} }));
|
|
70
|
-
const sizeOwnerRef = react_1.useRef(null);
|
|
71
|
-
const [width, setWidth] = react_1.useState(0);
|
|
72
|
-
ResizeObserver_1.useResizeObserver(sizeOwnerRef, ({ width }) => {
|
|
70
|
+
const sizeOwnerRef = (0, react_1.useRef)(null);
|
|
71
|
+
const [width, setWidth] = (0, react_1.useState)(0);
|
|
72
|
+
(0, ResizeObserver_1.useResizeObserver)(sizeOwnerRef, ({ width }) => {
|
|
73
73
|
setWidth(width);
|
|
74
74
|
});
|
|
75
75
|
React.useEffect(() => {
|
|
@@ -82,7 +82,7 @@ const OnePageWizard = (props) => {
|
|
|
82
82
|
node.style.width = `${activeElement.offsetWidth}px`;
|
|
83
83
|
}, [currentSection, width]);
|
|
84
84
|
let navIndex = 0;
|
|
85
|
-
const dialogRef = react_1.useRef(null);
|
|
85
|
+
const dialogRef = (0, react_1.useRef)(null);
|
|
86
86
|
let invalidCount = 0;
|
|
87
87
|
let firstErrorMessage = null;
|
|
88
88
|
const contextValue = {
|
|
@@ -91,7 +91,9 @@ const OnePageWizard = (props) => {
|
|
|
91
91
|
setCurrentSection,
|
|
92
92
|
};
|
|
93
93
|
const visibleSections = React.useMemo(() => {
|
|
94
|
-
return props.sections
|
|
94
|
+
return props.sections
|
|
95
|
+
.filter(Boolean)
|
|
96
|
+
.filter((section) => section === '-' ||
|
|
95
97
|
section.isVisible == undefined ||
|
|
96
98
|
section.isVisible(props.data, contextValue));
|
|
97
99
|
}, [props.sections]);
|
|
@@ -111,7 +113,7 @@ const OnePageWizard = (props) => {
|
|
|
111
113
|
acc.set(index, valid);
|
|
112
114
|
return acc;
|
|
113
115
|
}, new Map());
|
|
114
|
-
useKeyboardNavigation_1.useKeyboardNavigation(setCurrentSection, visibleSections);
|
|
116
|
+
(0, useKeyboardNavigation_1.useKeyboardNavigation)(setCurrentSection, visibleSections);
|
|
115
117
|
const canFinish = !invalidCount;
|
|
116
118
|
return (React.createElement(NamedQueryContext_1.NamedQueryContext.Provider, { value: { namedQuery, setNamedQuery } },
|
|
117
119
|
React.createElement(exports.OnePageWizardContext.Provider, { value: contextValue },
|
|
@@ -173,7 +175,7 @@ const OnePageWizard = (props) => {
|
|
|
173
175
|
selectedFeedback,
|
|
174
176
|
React.createElement(rebass_1.Box, { flex: 1 }),
|
|
175
177
|
React.createElement(KeyHint_1.KeyHint, { style: { lineHeight: 1.5 }, className: "ab-OnePageWizard__key-hint" },
|
|
176
|
-
isMacLike_1.isMacLike() ? 'Cmd' : 'Ctrl',
|
|
178
|
+
(0, isMacLike_1.isMacLike)() ? 'Cmd' : 'Ctrl',
|
|
177
179
|
" + #",
|
|
178
180
|
React.createElement("br", null),
|
|
179
181
|
"to navigate")),
|
|
@@ -31,6 +31,6 @@ const useKeyboardNavigation = (setCurrentSection, sections) => {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
}, [sections, setCurrentSection]);
|
|
34
|
-
useGlobalEvent_1.useGlobalEvent('keydown', handleKeyPress);
|
|
34
|
+
(0, useGlobalEvent_1.useGlobalEvent)('keydown', handleKeyPress);
|
|
35
35
|
};
|
|
36
36
|
exports.useKeyboardNavigation = useKeyboardNavigation;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICellRendererComp, ICellRendererParams } from '@ag-grid-community/
|
|
1
|
+
import { ICellRendererComp, ICellRendererParams } from '@ag-grid-community/core';
|
|
2
2
|
import { ActionColumn } from '../AdaptableOptions/ActionOptions';
|
|
3
3
|
interface ActionColumnCellRendererParams extends ICellRendererParams {
|
|
4
4
|
actionColumn?: ActionColumn;
|
|
@@ -23,7 +23,7 @@ class ActionColumnRenderer {
|
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
25
|
// actionButtons don't have IDs, so we need to generate them to be used later as a react component key
|
|
26
|
-
actionButtons = actionButtons.map((actionButton) => (Object.assign(Object.assign({}, actionButton), { Uuid: uuid_1.createUuid() })));
|
|
26
|
+
actionButtons = actionButtons.map((actionButton) => (Object.assign(Object.assign({}, actionButton), { Uuid: (0, uuid_1.createUuid)() })));
|
|
27
27
|
// create the cell
|
|
28
28
|
this.eGui = document.createElement('div');
|
|
29
29
|
this.eGui.className = 'ab-ActionColumn';
|
|
@@ -67,7 +67,7 @@ class ActionColumnRenderer {
|
|
|
67
67
|
};
|
|
68
68
|
const eGui = this.eGui;
|
|
69
69
|
function doRender() {
|
|
70
|
-
react_dom_1.render(renderActionButtons(actionButtons, adaptable.api, buttonContext), eGui);
|
|
70
|
+
(0, react_dom_1.render)(renderActionButtons(actionButtons, adaptable.api, buttonContext), eGui);
|
|
71
71
|
}
|
|
72
72
|
this.render = doRender;
|
|
73
73
|
doRender();
|
|
@@ -88,7 +88,7 @@ class ActionColumnRenderer {
|
|
|
88
88
|
}
|
|
89
89
|
// gets called when the cell is removed from the grid
|
|
90
90
|
destroy() {
|
|
91
|
-
react_dom_1.unmountComponentAtNode(this.eGui);
|
|
91
|
+
(0, react_dom_1.unmountComponentAtNode)(this.eGui);
|
|
92
92
|
// do cleanup, remove event listener from button
|
|
93
93
|
if (this.eGui) {
|
|
94
94
|
this.eGui.removeEventListener('click', this.eventListener);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChartModel, ChartRef, ColDef, ColGroupDef, Column, ExcelStyle, GridOptions, Module, RowNode } from '@ag-grid-community/
|
|
1
|
+
import { ChartModel, ChartRef, ColDef, ColGroupDef, Column, ExcelStyle, GridOptions, Module, RowNode } from '@ag-grid-community/core';
|
|
2
2
|
import { AdaptableNoCodeWizardOptions, IAdaptableNoCodeWizard } from '../AdaptableInterfaces/AdaptableNoCodeWizard';
|
|
3
3
|
import { IAdaptable } from '../AdaptableInterfaces/IAdaptable';
|
|
4
4
|
import { AdaptableOptions } from '../AdaptableOptions/AdaptableOptions';
|
|
@@ -37,7 +37,6 @@ import { IMetamodelService } from '../Utilities/Services/Interface/IMetamodelSer
|
|
|
37
37
|
import { IRowEditService } from '../Utilities/Services/Interface/IRowEditService';
|
|
38
38
|
declare type RuntimeConfig = {
|
|
39
39
|
waitForAgGrid?: boolean;
|
|
40
|
-
modules?: Module[];
|
|
41
40
|
};
|
|
42
41
|
export declare class Adaptable implements IAdaptable {
|
|
43
42
|
api: AdaptableApi;
|
|
@@ -83,7 +82,6 @@ export declare class Adaptable implements IAdaptable {
|
|
|
83
82
|
_emitSync: (eventName: string, data?: any) => any;
|
|
84
83
|
private _adaptableReady;
|
|
85
84
|
isDestroyed: boolean;
|
|
86
|
-
private agGridModules;
|
|
87
85
|
private listenerKeydown;
|
|
88
86
|
private listenerFirstDataRendered;
|
|
89
87
|
private listenerPivotModeChanged;
|
|
@@ -97,11 +95,20 @@ export declare class Adaptable implements IAdaptable {
|
|
|
97
95
|
private listenerGlobalColumnEventsThatTriggerStateChange;
|
|
98
96
|
private listenerGlobalColumnEventsThatTriggerAutoLayoutSave;
|
|
99
97
|
private listenerGlobalRowGroupEventsThatTriggerAutoLayoutSave;
|
|
100
|
-
|
|
98
|
+
/**
|
|
99
|
+
* Initializer for Adaptable
|
|
100
|
+
*
|
|
101
|
+
* @param adaptableOptions the AdaptableOptions
|
|
102
|
+
* @param runtimeConfig the list of all the provided AG Grid modules (which will be passed to the underlying AG Grid instance)
|
|
103
|
+
* @returns a Promise containing the AdaptableAPI object in order to enable run-time access to Adaptable's properties and functions
|
|
104
|
+
*/
|
|
105
|
+
static init(adaptableOptions: AdaptableOptions, runtimeConfig: {
|
|
106
|
+
agGridModules: Module[];
|
|
107
|
+
}): Promise<AdaptableApi>;
|
|
101
108
|
/**
|
|
102
109
|
* Lazy static constructor for Adaptable
|
|
103
110
|
* Receives an AdaptableOptions object
|
|
104
|
-
* Returns a Promise containing the
|
|
111
|
+
* Returns a Promise containing the AdaptableAPI object in order to enable run-time access to Adaptable's properties and functions
|
|
105
112
|
* @param adaptableOptions an instance of AdaptableOptions
|
|
106
113
|
*/
|
|
107
114
|
static initInternal(adaptableOptions: AdaptableOptions, runtimeConfig?: RuntimeConfig): Promise<AdaptableApi>;
|
|
@@ -122,7 +129,7 @@ export declare class Adaptable implements IAdaptable {
|
|
|
122
129
|
private initAgGridContainerFromInitializedAgGrid;
|
|
123
130
|
private createAdaptableSideBarDef;
|
|
124
131
|
private createStatusBars;
|
|
125
|
-
getAgGridStatusPanels(): import("@ag-grid-community/
|
|
132
|
+
getAgGridStatusPanels(): import("@ag-grid-community/core").StatusPanelDef[];
|
|
126
133
|
debouncedSetColumnIntoStore: import("lodash").DebouncedFunc<() => void>;
|
|
127
134
|
debouncedSaveGridLayout: import("lodash").DebouncedFunc<() => void>;
|
|
128
135
|
debouncedSetSelectedCells: import("lodash").DebouncedFunc<() => void>;
|
|
@@ -208,7 +215,7 @@ export declare class Adaptable implements IAdaptable {
|
|
|
208
215
|
deSelectNodes(rowNodes: RowNode[], clearSelection: boolean): void;
|
|
209
216
|
selectNode(rowNode: RowNode, clearSelection: boolean): void;
|
|
210
217
|
deSelectNode(rowNode: RowNode, clearSelection: boolean): void;
|
|
211
|
-
selectCells(columnIds: string[], startNode: RowNode, endNode: RowNode): void;
|
|
218
|
+
selectCells(columnIds: string[], startNode: RowNode, endNode: RowNode, clearSelection?: boolean): void;
|
|
212
219
|
isRowNodeVisible(rowNode: RowNode): boolean;
|
|
213
220
|
redrawBody(): void;
|
|
214
221
|
redrawRenderedRows(): void;
|
|
@@ -225,11 +232,11 @@ export declare class Adaptable implements IAdaptable {
|
|
|
225
232
|
*/
|
|
226
233
|
private mapColumnDefs;
|
|
227
234
|
private getColDefsForSpecialColumns;
|
|
228
|
-
getColDefsForFreeTextColumns(): ColDef[];
|
|
235
|
+
getColDefsForFreeTextColumns(): ColDef<any>[];
|
|
229
236
|
setupColumnValueGetter({ col }: ColumnSetupInfo): void;
|
|
230
237
|
setupColumnAggFunc({ col }: ColumnSetupInfo): void;
|
|
231
238
|
private getColDefsForRowEditColumns;
|
|
232
|
-
getColDefsForActionColumns(): ColDef[];
|
|
239
|
+
getColDefsForActionColumns(): ColDef<any>[];
|
|
233
240
|
updateColDefsForSpecialColumns(): void;
|
|
234
241
|
private getColDefsForCalculatedColumns;
|
|
235
242
|
private isRegularColDef;
|
|
@@ -276,8 +283,8 @@ export declare class Adaptable implements IAdaptable {
|
|
|
276
283
|
setupColumnComparator({ col, colId, abColumn }: ColumnSetupInfo): void;
|
|
277
284
|
private applyCurrentTheme;
|
|
278
285
|
private applyFinalRendering;
|
|
279
|
-
private
|
|
280
|
-
private
|
|
286
|
+
private isAgGridModulePresent;
|
|
287
|
+
private getAgGridRegisteredModules;
|
|
281
288
|
private onRowDataChanged;
|
|
282
289
|
private onCellDataChanged;
|
|
283
290
|
private isUndoChange;
|
|
@@ -375,6 +382,7 @@ export declare class AdaptableNoCodeWizard implements IAdaptableNoCodeWizard {
|
|
|
375
382
|
private init;
|
|
376
383
|
private adaptableOptions;
|
|
377
384
|
private extraOptions;
|
|
385
|
+
private agGridModules;
|
|
378
386
|
/**
|
|
379
387
|
* @param adaptableOptions
|
|
380
388
|
*/
|