@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
|
@@ -96,20 +96,20 @@ class AdaptableStore {
|
|
|
96
96
|
.load(predefinedConfig)
|
|
97
97
|
.then((storedState) => {
|
|
98
98
|
if (storedState && this.loadStateOnStartup) {
|
|
99
|
-
this.TheStore.dispatch(exports.LoadState(adaptable.adaptableOptions.stateOptions.applyState(storedState)));
|
|
99
|
+
this.TheStore.dispatch((0, exports.LoadState)(adaptable.adaptableOptions.stateOptions.applyState(storedState)));
|
|
100
100
|
}
|
|
101
101
|
})
|
|
102
102
|
// we need AG Grid to be ready because several states(ex. Layout) depend on its API
|
|
103
103
|
.then(() => this.isAgGridReady)
|
|
104
104
|
.then(() => {
|
|
105
|
-
this.TheStore.dispatch(exports.InitState());
|
|
105
|
+
this.TheStore.dispatch((0, exports.InitState)());
|
|
106
106
|
// END STATE LOAD
|
|
107
107
|
this.loadStorageInProgress = false;
|
|
108
108
|
}, (e) => {
|
|
109
|
-
LoggingHelper_1.LogAdaptableError('Failed to load previous Adaptable State : ', e);
|
|
109
|
+
(0, LoggingHelper_1.LogAdaptableError)('Failed to load previous Adaptable State : ', e);
|
|
110
110
|
//for now i'm still initializing Adaptable even if loading state has failed....
|
|
111
111
|
//we may revisit that later
|
|
112
|
-
this.TheStore.dispatch(exports.InitState());
|
|
112
|
+
this.TheStore.dispatch((0, exports.InitState)());
|
|
113
113
|
// END STATE LOAD
|
|
114
114
|
this.loadStorageInProgress = false;
|
|
115
115
|
this.TheStore.dispatch(PopupRedux.PopupShowAlert({
|
|
@@ -167,12 +167,12 @@ class AdaptableStore {
|
|
|
167
167
|
Object.keys(State).forEach((key) => {
|
|
168
168
|
// this check should be removed in version 12 !!!
|
|
169
169
|
if (key === 'Chart') {
|
|
170
|
-
LoggingHelper_1.ConsoleLogWarning(`DEPRECATED: AdapTable Charts Plugin is deprecated! AG Grid built-in charts are fully supported & integrated in AdapTable.
|
|
170
|
+
(0, LoggingHelper_1.ConsoleLogWarning)(`DEPRECATED: AdapTable Charts Plugin is deprecated! AG Grid built-in charts are fully supported & integrated in AdapTable.
|
|
171
171
|
|
|
172
172
|
Please contact 'support@adaptabletools.com' if you require any charting features that are not currently available.`);
|
|
173
173
|
}
|
|
174
174
|
if (key === 'SparklineColumn') {
|
|
175
|
-
LoggingHelper_1.ConsoleLogWarning(`DEPRECATED: AdapTable SparklineColumn is deprecated! AG Grid built-in Sparklines are fully supported & integrated in AdapTable.
|
|
175
|
+
(0, LoggingHelper_1.ConsoleLogWarning)(`DEPRECATED: AdapTable SparklineColumn is deprecated! AG Grid built-in Sparklines are fully supported & integrated in AdapTable.
|
|
176
176
|
|
|
177
177
|
Please contact 'support@adaptabletools.com' if you require any sparklines features that are not currently available.`);
|
|
178
178
|
}
|
|
@@ -188,7 +188,7 @@ class AdaptableStore {
|
|
|
188
188
|
// not sure we can do this as we need to be backwardly compatible with existing users so need to stick with adaptable id (which should be unique)
|
|
189
189
|
// const localStorageKey = 'adaptable-adaptable-state-' + adaptable.adaptableOptions.primaryKey;
|
|
190
190
|
const predefinedConfig = adaptable.adaptableOptions.predefinedConfig;
|
|
191
|
-
storageEngine = AdaptableReduxLocalStorageEngine_1.createEngine({
|
|
191
|
+
storageEngine = (0, AdaptableReduxLocalStorageEngine_1.createEngine)({
|
|
192
192
|
adaptableId: adaptable.adaptableOptions.adaptableId,
|
|
193
193
|
adaptableStateKey: adaptable.adaptableOptions.adaptableStateKey,
|
|
194
194
|
userName: adaptable.adaptableOptions.userName,
|
|
@@ -213,7 +213,7 @@ class AdaptableStore {
|
|
|
213
213
|
});
|
|
214
214
|
};
|
|
215
215
|
// this is now VERY BADLY NAMED!
|
|
216
|
-
let rootReducer = AdaptableReduxMerger_1.mergeReducer(rootReducerWithResetManagement, exports.LOAD_STATE);
|
|
216
|
+
let rootReducer = (0, AdaptableReduxMerger_1.mergeReducer)(rootReducerWithResetManagement, exports.LOAD_STATE);
|
|
217
217
|
const composeEnhancers = (x) => x;
|
|
218
218
|
const persistedReducer = (state, action) => {
|
|
219
219
|
var _a, _b;
|
|
@@ -414,13 +414,13 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
414
414
|
let ret = next(action);
|
|
415
415
|
const adaptableAlert = actionTyped.alert;
|
|
416
416
|
if (((_c = adaptableAlert.alertDefinition.AlertProperties) === null || _c === void 0 ? void 0 : _c.HighlightCell) &&
|
|
417
|
-
AdaptableAlert_1.isAdaptableCellChangedAlert(adaptableAlert) &&
|
|
417
|
+
(0, AdaptableAlert_1.isAdaptableCellChangedAlert)(adaptableAlert) &&
|
|
418
418
|
adaptableAlert.cellDataChangedInfo) {
|
|
419
419
|
const rowNode = adaptableAlert.cellDataChangedInfo.rowNode;
|
|
420
420
|
adaptable.refreshCells([rowNode], [adaptableAlert.cellDataChangedInfo.column.columnId], true);
|
|
421
421
|
}
|
|
422
422
|
if (((_d = adaptableAlert.alertDefinition.AlertProperties) === null || _d === void 0 ? void 0 : _d.HighlightRow) &&
|
|
423
|
-
AdaptableAlert_1.isAdaptableRowChangedAlert(adaptableAlert) &&
|
|
423
|
+
(0, AdaptableAlert_1.isAdaptableRowChangedAlert)(adaptableAlert) &&
|
|
424
424
|
adaptableAlert.gridDataChangedInfo) {
|
|
425
425
|
adaptable.api.gridApi.refreshRowNodes(adaptableAlert.gridDataChangedInfo.rowNodes);
|
|
426
426
|
}
|
|
@@ -437,13 +437,13 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
437
437
|
alerts.forEach((alert) => {
|
|
438
438
|
var _a, _b;
|
|
439
439
|
if (((_a = alert.alertDefinition.AlertProperties) === null || _a === void 0 ? void 0 : _a.HighlightCell) &&
|
|
440
|
-
AdaptableAlert_1.isAdaptableCellChangedAlert(alert) &&
|
|
440
|
+
(0, AdaptableAlert_1.isAdaptableCellChangedAlert)(alert) &&
|
|
441
441
|
alert.cellDataChangedInfo) {
|
|
442
442
|
let rowNode = alert.cellDataChangedInfo.rowNode;
|
|
443
443
|
adaptable.refreshCells([rowNode], [alert.cellDataChangedInfo.column.columnId], true);
|
|
444
444
|
}
|
|
445
445
|
if (((_b = alert.alertDefinition.AlertProperties) === null || _b === void 0 ? void 0 : _b.HighlightRow) &&
|
|
446
|
-
AdaptableAlert_1.isAdaptableRowChangedAlert(alert) &&
|
|
446
|
+
(0, AdaptableAlert_1.isAdaptableRowChangedAlert)(alert) &&
|
|
447
447
|
alert.gridDataChangedInfo) {
|
|
448
448
|
adaptable.api.gridApi.refreshRowNodes(alert.gridDataChangedInfo.rowNodes);
|
|
449
449
|
}
|
|
@@ -459,7 +459,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
459
459
|
const actionTyped = action;
|
|
460
460
|
const adaptableAlert = actionTyped.alert;
|
|
461
461
|
if ((_e = adaptableAlert.alertDefinition.AlertProperties) === null || _e === void 0 ? void 0 : _e.HighlightCell) {
|
|
462
|
-
if (AdaptableAlert_1.isAdaptableCellChangedAlert(adaptableAlert) &&
|
|
462
|
+
if ((0, AdaptableAlert_1.isAdaptableCellChangedAlert)(adaptableAlert) &&
|
|
463
463
|
adaptableAlert.cellDataChangedInfo) {
|
|
464
464
|
const rowNode = adaptableAlert.cellDataChangedInfo.rowNode;
|
|
465
465
|
adaptable.refreshCells([rowNode], [adaptableAlert.cellDataChangedInfo.column.columnId], true);
|
|
@@ -472,11 +472,11 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
472
472
|
const actionTyped = action;
|
|
473
473
|
const adaptableAlert = actionTyped.alert;
|
|
474
474
|
if ((_f = adaptableAlert.alertDefinition.AlertProperties) === null || _f === void 0 ? void 0 : _f.HighlightRow) {
|
|
475
|
-
if (AdaptableAlert_1.isAdaptableCellChangedAlert(adaptableAlert) &&
|
|
475
|
+
if ((0, AdaptableAlert_1.isAdaptableCellChangedAlert)(adaptableAlert) &&
|
|
476
476
|
adaptableAlert.cellDataChangedInfo) {
|
|
477
477
|
adaptable.api.gridApi.refreshRowNodes([adaptableAlert.cellDataChangedInfo.rowNode]);
|
|
478
478
|
}
|
|
479
|
-
if (AdaptableAlert_1.isAdaptableRowChangedAlert(adaptableAlert) &&
|
|
479
|
+
if ((0, AdaptableAlert_1.isAdaptableRowChangedAlert)(adaptableAlert) &&
|
|
480
480
|
adaptableAlert.gridDataChangedInfo) {
|
|
481
481
|
adaptable.api.gridApi.refreshRowNodes(adaptableAlert.gridDataChangedInfo.rowNodes);
|
|
482
482
|
}
|
|
@@ -781,7 +781,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
781
781
|
adaptable.api.dataSetApi.fireDataSetSelectedEvent(dataSet);
|
|
782
782
|
requestAnimationFrame(() => {
|
|
783
783
|
if (dataSet.form) {
|
|
784
|
-
middlewareAPI.dispatch(PopupRedux_1.PopupShowForm({
|
|
784
|
+
middlewareAPI.dispatch((0, PopupRedux_1.PopupShowForm)({
|
|
785
785
|
Id: 'data-set-form',
|
|
786
786
|
Form: dataSet.form,
|
|
787
787
|
prepareContext: (context) => {
|
|
@@ -1142,7 +1142,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1142
1142
|
middlewareAPI.dispatch(TeamSharingRedux.TeamSharingSet(sharedEntities));
|
|
1143
1143
|
})
|
|
1144
1144
|
.catch((error) => {
|
|
1145
|
-
LoggingHelper_1.LogAdaptableError('TeamSharing get error : ' + error.message);
|
|
1145
|
+
(0, LoggingHelper_1.LogAdaptableError)('TeamSharing get error : ' + error.message);
|
|
1146
1146
|
middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
|
|
1147
1147
|
alertType: 'generic',
|
|
1148
1148
|
header: 'Team Sharing',
|
|
@@ -1201,7 +1201,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
})
|
|
1203
1203
|
.catch((error) => {
|
|
1204
|
-
LoggingHelper_1.LogAdaptableError('TeamSharing share error : ' + error.message, actionTyped.Entity);
|
|
1204
|
+
(0, LoggingHelper_1.LogAdaptableError)('TeamSharing share error : ' + error.message, actionTyped.Entity);
|
|
1205
1205
|
middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
|
|
1206
1206
|
alertType: 'generic',
|
|
1207
1207
|
header: 'Team Sharing',
|
|
@@ -1242,7 +1242,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1242
1242
|
return adaptable.api.teamSharingApi.setSharedEntities(newSharedEntities);
|
|
1243
1243
|
})
|
|
1244
1244
|
.catch((error) => {
|
|
1245
|
-
LoggingHelper_1.LogAdaptableError('TeamSharing remove error : ' + error.message);
|
|
1245
|
+
(0, LoggingHelper_1.LogAdaptableError)('TeamSharing remove error : ' + error.message);
|
|
1246
1246
|
middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
|
|
1247
1247
|
alertType: 'generic',
|
|
1248
1248
|
header: 'Team Sharing',
|
|
@@ -1299,7 +1299,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1299
1299
|
}
|
|
1300
1300
|
}
|
|
1301
1301
|
else {
|
|
1302
|
-
LoggingHelper_1.LogAdaptableError('Team Sharing Import Error: Unknown item type', sharedEntity);
|
|
1302
|
+
(0, LoggingHelper_1.LogAdaptableError)('Team Sharing Import Error: Unknown item type', sharedEntity);
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
1305
|
if (activeSharedEntities.length) {
|
|
@@ -1347,7 +1347,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1347
1347
|
return adaptable.api.teamSharingApi.setSharedEntities(updatedSharedEntities);
|
|
1348
1348
|
})
|
|
1349
1349
|
.catch((error) => {
|
|
1350
|
-
LoggingHelper_1.LogAdaptableError('TeamSharing update active item error : ' + error.message);
|
|
1350
|
+
(0, LoggingHelper_1.LogAdaptableError)('TeamSharing update active item error : ' + error.message);
|
|
1351
1351
|
middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
|
|
1352
1352
|
alertType: 'generic',
|
|
1353
1353
|
header: 'Team Sharing',
|
|
@@ -1367,7 +1367,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1367
1367
|
adaptable.api.internalApi.getTeamSharingService().showUpdateNotifications();
|
|
1368
1368
|
})
|
|
1369
1369
|
.catch((error) => {
|
|
1370
|
-
LoggingHelper_1.LogAdaptableError('TeamSharing update error : ' + error.message);
|
|
1370
|
+
(0, LoggingHelper_1.LogAdaptableError)('TeamSharing update error : ' + error.message);
|
|
1371
1371
|
middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
|
|
1372
1372
|
alertType: 'generic',
|
|
1373
1373
|
header: 'Team Sharing',
|
|
@@ -1425,7 +1425,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1425
1425
|
* POPUP (INTERNAL) ACTIONS
|
|
1426
1426
|
*******************/
|
|
1427
1427
|
case PopupRedux.POPUP_SHOW_ALERT: {
|
|
1428
|
-
AdaptableToaster_1.showToast({
|
|
1428
|
+
(0, AdaptableToaster_1.showToast)({
|
|
1429
1429
|
api: adaptable.api,
|
|
1430
1430
|
adaptableAlert: action.alert,
|
|
1431
1431
|
});
|
|
@@ -197,7 +197,7 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
197
197
|
getBaseAlertDefinitionsForDataChange(dataChangedEvent, definitions, defaultNoPredicateReturn = false) {
|
|
198
198
|
let relatedAlertDefinitions = definitions
|
|
199
199
|
.filter((v) => this.api.scopeApi.isColumnInScope(dataChangedEvent.column, v.Scope))
|
|
200
|
-
.filter((alertDefinition) => !AdaptableQuery_1.isReactiveQuery(alertDefinition.Rule));
|
|
200
|
+
.filter((alertDefinition) => !(0, AdaptableQuery_1.isReactiveQuery)(alertDefinition.Rule));
|
|
201
201
|
let triggeredAlerts = [];
|
|
202
202
|
if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(relatedAlertDefinitions)) {
|
|
203
203
|
relatedAlertDefinitions.forEach((alertDefinition) => {
|
|
@@ -279,11 +279,11 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
279
279
|
toView(alert) {
|
|
280
280
|
return {
|
|
281
281
|
items: [
|
|
282
|
-
getScopeViewItems_1.getScopeViewItems(alert.Scope, this.api),
|
|
283
|
-
getRuleViewItems_1.getRuleViewItems(alert.Rule, this.api),
|
|
284
|
-
getAlertBehaviourViewItems_1.getAlertBehaviourViewItems(this.api),
|
|
285
|
-
getAlertPreviewViewItems_1.getAlertPreviewViewItems(alert, this.api),
|
|
286
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(alert, this.api),
|
|
282
|
+
(0, getScopeViewItems_1.getScopeViewItems)(alert.Scope, this.api),
|
|
283
|
+
(0, getRuleViewItems_1.getRuleViewItems)(alert.Rule, this.api),
|
|
284
|
+
(0, getAlertBehaviourViewItems_1.getAlertBehaviourViewItems)(this.api),
|
|
285
|
+
(0, getAlertPreviewViewItems_1.getAlertPreviewViewItems)(alert, this.api),
|
|
286
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(alert, this.api),
|
|
287
287
|
],
|
|
288
288
|
abObject: alert,
|
|
289
289
|
};
|
|
@@ -32,7 +32,7 @@ class CalculatedColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
32
32
|
};
|
|
33
33
|
cc.ColumnExpression = undefined;
|
|
34
34
|
oldCalculatedColumns.push(cc);
|
|
35
|
-
LoggingHelper_1.LogAdaptableWarning(`Updating incorrect Predefined Config for Calculated Column: ${cc.ColumnId}`);
|
|
35
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`Updating incorrect Predefined Config for Calculated Column: ${cc.ColumnId}`);
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
this.api.calculatedColumnApi.editCalculatedColumns(oldCalculatedColumns);
|
|
@@ -69,7 +69,7 @@ class CalculatedColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
toView(calculateColumn) {
|
|
72
|
-
const settingsTags = getCalculatedColumnSettingsTags_1.getCalculatedColumnSettingsTags(calculateColumn.CalculatedColumnSettings);
|
|
72
|
+
const settingsTags = (0, getCalculatedColumnSettingsTags_1.getCalculatedColumnSettingsTags)(calculateColumn.CalculatedColumnSettings);
|
|
73
73
|
let items = [
|
|
74
74
|
{
|
|
75
75
|
name: 'Settings',
|
|
@@ -81,7 +81,7 @@ class CalculatedColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
81
81
|
label: 'Column Name',
|
|
82
82
|
values: [calculateColumn.FriendlyName],
|
|
83
83
|
},
|
|
84
|
-
getExpressionViewItems_1.getExpressionViewItems(calculateColumn.Query, this.api),
|
|
84
|
+
(0, getExpressionViewItems_1.getExpressionViewItems)(calculateColumn.Query, this.api),
|
|
85
85
|
].filter(Boolean);
|
|
86
86
|
if (ArrayExtensions_1.default.IsNotNullOrEmpty(settingsTags)) {
|
|
87
87
|
items.push({
|
|
@@ -89,7 +89,7 @@ class CalculatedColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
89
89
|
values: settingsTags,
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
|
-
items.push(getObjectTagsViewItems_1.getObjectTagsViewItems(calculateColumn, this.api));
|
|
92
|
+
items.push((0, getObjectTagsViewItems_1.getObjectTagsViewItems)(calculateColumn, this.api));
|
|
93
93
|
return {
|
|
94
94
|
items: items,
|
|
95
95
|
abObject: calculateColumn,
|
|
@@ -47,7 +47,7 @@ class ConditionalStyleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
47
47
|
if (ArrayExtensions_1.default.IsNotNullOrEmpty(scopedColumnIds)) {
|
|
48
48
|
scopedColumnIds.forEach((colId) => {
|
|
49
49
|
if (!this.api.columnApi.doesColumnExist(colId)) {
|
|
50
|
-
LoggingHelper_1.LogAdaptableError('Conditional Style contains missing column: ' + colId);
|
|
50
|
+
(0, LoggingHelper_1.LogAdaptableError)('Conditional Style contains missing column: ' + colId);
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
}
|
|
@@ -55,13 +55,13 @@ class ConditionalStyleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
55
55
|
cs.ExcludeGroupedRows = undefined;
|
|
56
56
|
cs.IncludeGroupedRows = true;
|
|
57
57
|
oldConditionalStyles.push(cs);
|
|
58
|
-
LoggingHelper_1.LogAdaptableWarning(`Updating incorrect Predefined Config for Conditional Style with "ExcludeGroupedRows" set}`);
|
|
58
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`Updating incorrect Predefined Config for Conditional Style with "ExcludeGroupedRows" set}`);
|
|
59
59
|
}
|
|
60
60
|
if (cs.Predicate) {
|
|
61
61
|
cs.Rule = {
|
|
62
62
|
Predicate: cs.Predicate,
|
|
63
63
|
};
|
|
64
|
-
LoggingHelper_1.LogAdaptableWarning(`Updating incorrect Predefined Config for Conditional Style: ${cs.Predicate}`);
|
|
64
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`Updating incorrect Predefined Config for Conditional Style: ${cs.Predicate}`);
|
|
65
65
|
cs.Predicate = undefined;
|
|
66
66
|
oldConditionalStyles.push(cs);
|
|
67
67
|
}
|
|
@@ -70,7 +70,7 @@ class ConditionalStyleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
70
70
|
BooleanExpression: cs.Expression,
|
|
71
71
|
};
|
|
72
72
|
cs.Rule = rule;
|
|
73
|
-
LoggingHelper_1.LogAdaptableWarning(`Updating incorrect Predefined Config for Conditional Style: ${cs.Expression}`);
|
|
73
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`Updating incorrect Predefined Config for Conditional Style: ${cs.Expression}`);
|
|
74
74
|
cs.Expression = undefined;
|
|
75
75
|
oldConditionalStyles.push(cs);
|
|
76
76
|
}
|
|
@@ -190,14 +190,14 @@ class ConditionalStyleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
190
190
|
toView(conditionalStyle) {
|
|
191
191
|
return {
|
|
192
192
|
items: [
|
|
193
|
-
getScopeViewItems_1.getScopeViewItems(conditionalStyle.Scope, this.api),
|
|
194
|
-
getStyleViewItems_1.getStyleViewItems(),
|
|
195
|
-
getRuleViewItems_1.getRuleViewItems(conditionalStyle.Rule, this.api),
|
|
193
|
+
(0, getScopeViewItems_1.getScopeViewItems)(conditionalStyle.Scope, this.api),
|
|
194
|
+
(0, getStyleViewItems_1.getStyleViewItems)(),
|
|
195
|
+
(0, getRuleViewItems_1.getRuleViewItems)(conditionalStyle.Rule, this.api),
|
|
196
196
|
{
|
|
197
197
|
name: 'Settings',
|
|
198
198
|
values: [`Include grouped rows: ${conditionalStyle.IncludeGroupedRows ? 'Yes' : 'No'}`],
|
|
199
199
|
},
|
|
200
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(conditionalStyle, this.api),
|
|
200
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(conditionalStyle, this.api),
|
|
201
201
|
],
|
|
202
202
|
abObject: conditionalStyle,
|
|
203
203
|
};
|
|
@@ -53,9 +53,9 @@ class CustomSortModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
53
53
|
toView(customSort) {
|
|
54
54
|
return {
|
|
55
55
|
items: [
|
|
56
|
-
getCustomSortColumnViewItems_1.getCustomSortColumnViewItems(customSort, this.api),
|
|
57
|
-
getCustomSortSortOrderViewItems_1.getCustomSortSortOrderViewItems(customSort),
|
|
58
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(customSort, this.api),
|
|
56
|
+
(0, getCustomSortColumnViewItems_1.getCustomSortColumnViewItems)(customSort, this.api),
|
|
57
|
+
(0, getCustomSortSortOrderViewItems_1.getCustomSortSortOrderViewItems)(customSort),
|
|
58
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(customSort, this.api),
|
|
59
59
|
],
|
|
60
60
|
abObject: customSort,
|
|
61
61
|
};
|
|
@@ -13,7 +13,7 @@ class DashboardModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
13
13
|
updateOldConfig() {
|
|
14
14
|
let dashboardState = this.api.dashboardApi.getDashboardState();
|
|
15
15
|
if (dashboardState.VisibleButtons) {
|
|
16
|
-
LoggingHelper_1.LogAdaptableWarning(`Updating Obsolete VisibleButtons Config for DashboardState: [${dashboardState.VisibleButtons}]`);
|
|
16
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`Updating Obsolete VisibleButtons Config for DashboardState: [${dashboardState.VisibleButtons}]`);
|
|
17
17
|
this.api.dashboardApi.setModuleButtons(dashboardState.VisibleButtons);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -14,7 +14,7 @@ class DataChangeHistoryModule extends AdaptableModuleBase_1.AdaptableModuleBase
|
|
|
14
14
|
.on('CellDataChanged', (cellDataChangedInfo) => {
|
|
15
15
|
if (cellDataChangedInfo.trigger !== 'undo' && cellDataChangedInfo.trigger !== 'aggChange') {
|
|
16
16
|
if (this.shouldLogDataChange(cellDataChangedInfo)) {
|
|
17
|
-
this.api.internalApi.dispatchReduxAction(SystemRedux_1.SystemDataChangeHistoryAdd(cellDataChangedInfo));
|
|
17
|
+
this.api.internalApi.dispatchReduxAction((0, SystemRedux_1.SystemDataChangeHistoryAdd)(cellDataChangedInfo));
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
});
|
|
@@ -15,7 +15,7 @@ class DataSetModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
15
15
|
handleAdaptableReady() {
|
|
16
16
|
this.api.dataSetApi.getAllDataSets().forEach((ds) => {
|
|
17
17
|
if (!ds.Uuid) {
|
|
18
|
-
ds.Uuid = Uuid_1.createUuid();
|
|
18
|
+
ds.Uuid = (0, Uuid_1.createUuid)();
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
}
|
|
@@ -40,7 +40,7 @@ class DataSetModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
40
40
|
label: 'Description',
|
|
41
41
|
values: [(_a = dataSet.description) !== null && _a !== void 0 ? _a : 'Not Specified'],
|
|
42
42
|
},
|
|
43
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(dataSet, this.api),
|
|
43
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(dataSet, this.api),
|
|
44
44
|
],
|
|
45
45
|
abObject: dataSet,
|
|
46
46
|
};
|
|
@@ -204,7 +204,7 @@ class ExportModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
204
204
|
name: 'Report',
|
|
205
205
|
values: [report.Name],
|
|
206
206
|
},
|
|
207
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(report, this.api),
|
|
207
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(report, this.api),
|
|
208
208
|
],
|
|
209
209
|
abObject: report,
|
|
210
210
|
};
|
|
@@ -215,9 +215,9 @@ class ExportModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
215
215
|
name: 'Report',
|
|
216
216
|
values: [report.Name],
|
|
217
217
|
},
|
|
218
|
-
getExportColumnsViewItems_1.getExportColumnsViewItems(report, this.api),
|
|
219
|
-
getExportRowsViewItems_1.getExportRowsViewItems(report, this.api),
|
|
220
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(report, this.api),
|
|
218
|
+
(0, getExportColumnsViewItems_1.getExportColumnsViewItems)(report, this.api),
|
|
219
|
+
(0, getExportRowsViewItems_1.getExportRowsViewItems)(report, this.api),
|
|
220
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(report, this.api),
|
|
221
221
|
],
|
|
222
222
|
abObject: report,
|
|
223
223
|
};
|
|
@@ -29,7 +29,7 @@ class FilterModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
29
29
|
const columnFilters = this.api.filterApi.getColumnFilters();
|
|
30
30
|
columnFilters.forEach((cf) => {
|
|
31
31
|
if (!this.api.columnApi.doesColumnExist(cf.ColumnId)) {
|
|
32
|
-
LoggingHelper_1.LogAdaptableError('Column Filter contains missing column: ' + cf.ColumnId);
|
|
32
|
+
(0, LoggingHelper_1.LogAdaptableError)('Column Filter contains missing column: ' + cf.ColumnId);
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -165,7 +165,7 @@ class FlashingCellModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
165
165
|
const defaultNoPredicateReturn = false;
|
|
166
166
|
let relatedFlashingCellsDefinitions = definitions
|
|
167
167
|
.filter((v) => this.api.scopeApi.isColumnInScope(dataChangedEvent.column, v.Scope))
|
|
168
|
-
.filter((flashingCellDefinition) => !AdaptableQuery_1.isReactiveQuery(flashingCellDefinition.Rule));
|
|
168
|
+
.filter((flashingCellDefinition) => !(0, AdaptableQuery_1.isReactiveQuery)(flashingCellDefinition.Rule));
|
|
169
169
|
let triggeredFlashingCells = [];
|
|
170
170
|
if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(relatedFlashingCellsDefinitions)) {
|
|
171
171
|
relatedFlashingCellsDefinitions.forEach((flashingCellDefinition) => {
|
|
@@ -216,12 +216,12 @@ class FlashingCellModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
216
216
|
toView(flashingCell) {
|
|
217
217
|
return {
|
|
218
218
|
items: [
|
|
219
|
-
Object.assign(Object.assign({}, getScopeViewItems_1.getScopeViewItems(flashingCell.Scope, this.api)), { label: 'Trigger' }),
|
|
220
|
-
Object.assign(Object.assign({}, getRuleViewItems_1.getRuleViewItems(flashingCell.Rule, this.api)), { label: 'Rule', name: 'Rule' }),
|
|
221
|
-
getFlashingCellDurationViewItems_1.getFlashingCellDurationViewItems(flashingCell),
|
|
222
|
-
getFlashingTargetViewItems_1.getFlashingTargetViewItems(flashingCell),
|
|
223
|
-
getFlashingCellStyleViewItems_1.getFlashingCellStyleViewItems(),
|
|
224
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(flashingCell, this.api),
|
|
219
|
+
Object.assign(Object.assign({}, (0, getScopeViewItems_1.getScopeViewItems)(flashingCell.Scope, this.api)), { label: 'Trigger' }),
|
|
220
|
+
Object.assign(Object.assign({}, (0, getRuleViewItems_1.getRuleViewItems)(flashingCell.Rule, this.api)), { label: 'Rule', name: 'Rule' }),
|
|
221
|
+
(0, getFlashingCellDurationViewItems_1.getFlashingCellDurationViewItems)(flashingCell),
|
|
222
|
+
(0, getFlashingTargetViewItems_1.getFlashingTargetViewItems)(flashingCell),
|
|
223
|
+
(0, getFlashingCellStyleViewItems_1.getFlashingCellStyleViewItems)(),
|
|
224
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(flashingCell, this.api),
|
|
225
225
|
],
|
|
226
226
|
abObject: flashingCell,
|
|
227
227
|
};
|
|
@@ -58,7 +58,7 @@ class FormatColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
58
58
|
if ((_b = (_a = this.api.internalApi
|
|
59
59
|
.getState()
|
|
60
60
|
.FormatColumn) === null || _a === void 0 ? void 0 : _a.FormatColumns) === null || _b === void 0 ? void 0 : _b.some((formatColumn) => !!formatColumn.HeaderName)) {
|
|
61
|
-
LoggingHelper_1.ConsoleLogWarning(`DEPRECATED: The 'FormatColumn.HeaderName' property is deprecated; use a Layout custom Column Header instead!`);
|
|
61
|
+
(0, LoggingHelper_1.ConsoleLogWarning)(`DEPRECATED: The 'FormatColumn.HeaderName' property is deprecated; use a Layout custom Column Header instead!`);
|
|
62
62
|
}
|
|
63
63
|
let newFormatColumns = [];
|
|
64
64
|
let existingFormatColumns = [];
|
|
@@ -67,7 +67,7 @@ class FormatColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
67
67
|
if (gradientColumnState === null || gradientColumnState === void 0 ? void 0 : gradientColumnState.GradientColumns) {
|
|
68
68
|
gradientColumnState.GradientColumns.forEach((gradientColumn) => {
|
|
69
69
|
const columnId = gradientColumn.ColumnId;
|
|
70
|
-
LoggingHelper_1.LogAdaptableWarning(`Merging Gradient Style into Format Column for Column: ${columnId}`);
|
|
70
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`Merging Gradient Style into Format Column for Column: ${columnId}`);
|
|
71
71
|
let existingFormatColumn = this.getExistingFormatColumn(columnId);
|
|
72
72
|
let gradientStyle = {
|
|
73
73
|
GradientStyle: {
|
|
@@ -100,7 +100,7 @@ class FormatColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
100
100
|
if (percentBarState === null || percentBarState === void 0 ? void 0 : percentBarState.PercentBars) {
|
|
101
101
|
percentBarState === null || percentBarState === void 0 ? void 0 : percentBarState.PercentBars.forEach((percentBar) => {
|
|
102
102
|
const columnId = percentBar.ColumnId;
|
|
103
|
-
LoggingHelper_1.LogAdaptableWarning(`Merging Percent Bar Style into Format Column for Column: ${columnId}`);
|
|
103
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`Merging Percent Bar Style into Format Column for Column: ${columnId}`);
|
|
104
104
|
let existingFormatColumn = this.getExistingFormatColumn(columnId);
|
|
105
105
|
const ranges = percentBar.Ranges;
|
|
106
106
|
const columnComparison = percentBar.ColumnComparison;
|
|
@@ -240,17 +240,17 @@ class FormatColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
240
240
|
return {
|
|
241
241
|
abObject: formatColumn,
|
|
242
242
|
items: [
|
|
243
|
-
getScopeViewItems_1.getScopeViewItems(formatColumn.Scope, this.api),
|
|
243
|
+
(0, getScopeViewItems_1.getScopeViewItems)(formatColumn.Scope, this.api),
|
|
244
244
|
{
|
|
245
245
|
name: 'Style',
|
|
246
|
-
view: () => getFormatColumnStyleViewItems_1.getFormatColumnStyleViewItems(formatColumn, this.api),
|
|
246
|
+
view: () => (0, getFormatColumnStyleViewItems_1.getFormatColumnStyleViewItems)(formatColumn, this.api),
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
249
|
name: 'Display Format',
|
|
250
|
-
values: [FormatColumnFormatWizardSection_1.getFormatColumnFormatSummaryValue(formatColumn)],
|
|
250
|
+
values: [(0, FormatColumnFormatWizardSection_1.getFormatColumnFormatSummaryValue)(formatColumn)],
|
|
251
251
|
},
|
|
252
|
-
getFormatColumnSettingsViewItems_1.getFormatColumnSettingsViewItems(formatColumn),
|
|
253
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(formatColumn, this.api),
|
|
252
|
+
(0, getFormatColumnSettingsViewItems_1.getFormatColumnSettingsViewItems)(formatColumn),
|
|
253
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(formatColumn, this.api),
|
|
254
254
|
],
|
|
255
255
|
};
|
|
256
256
|
}
|
|
@@ -86,7 +86,7 @@ class FreeTextColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
86
86
|
label: 'Editor',
|
|
87
87
|
values: [freeTextColumn.TextEditor],
|
|
88
88
|
},
|
|
89
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(freeTextColumn, this.api),
|
|
89
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(freeTextColumn, this.api),
|
|
90
90
|
].filter(Boolean),
|
|
91
91
|
};
|
|
92
92
|
}
|
|
@@ -235,8 +235,8 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
235
235
|
name: 'Columns',
|
|
236
236
|
values: columns,
|
|
237
237
|
},
|
|
238
|
-
((_e = layout.ColumnSorts) === null || _e === void 0 ? void 0 : _e.length) && getLayoutSortViewItems_1.getLayoutSortViewItems(layout, this.api),
|
|
239
|
-
(layout === null || layout === void 0 ? void 0 : layout.ColumnFilters) && getLayoutFilterViewItems_1.getLayoutFilterViewItems(layout, this.api),
|
|
238
|
+
((_e = layout.ColumnSorts) === null || _e === void 0 ? void 0 : _e.length) && (0, getLayoutSortViewItems_1.getLayoutSortViewItems)(layout, this.api),
|
|
239
|
+
(layout === null || layout === void 0 ? void 0 : layout.ColumnFilters) && (0, getLayoutFilterViewItems_1.getLayoutFilterViewItems)(layout, this.api),
|
|
240
240
|
((_f = layout === null || layout === void 0 ? void 0 : layout.RowGroupedColumns) === null || _f === void 0 ? void 0 : _f.length) && {
|
|
241
241
|
name: 'Grouped Columns',
|
|
242
242
|
values: layout.RowGroupedColumns.map((colId) => columnIdToFriendlyName(colId)),
|
|
@@ -185,18 +185,18 @@ class PlusMinusModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
185
185
|
return {
|
|
186
186
|
abObject: plusMinus,
|
|
187
187
|
items: [
|
|
188
|
-
Object.assign({ name: 'Target' }, getScopeViewItems_1.getScopeViewItems(plusMinus.Scope, this.api)),
|
|
188
|
+
Object.assign({ name: 'Target' }, (0, getScopeViewItems_1.getScopeViewItems)(plusMinus.Scope, this.api)),
|
|
189
189
|
plusMinus.Rule && {
|
|
190
190
|
name: 'Settings',
|
|
191
191
|
label: 'Rule',
|
|
192
|
-
values: getRuleViewItems_1.getRuleViewItems(plusMinus.Rule, this.api).values,
|
|
192
|
+
values: (0, getRuleViewItems_1.getRuleViewItems)(plusMinus.Rule, this.api).values,
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
name: 'Settings',
|
|
196
196
|
label: 'Nudge Value',
|
|
197
197
|
values: [plusMinus.NudgeValue],
|
|
198
198
|
},
|
|
199
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(plusMinus, this.api),
|
|
199
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(plusMinus, this.api),
|
|
200
200
|
].filter(Boolean),
|
|
201
201
|
};
|
|
202
202
|
}
|
|
@@ -40,7 +40,7 @@ class QueryModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
40
40
|
name: 'Expression',
|
|
41
41
|
values: [this.api.internalApi.getAdaptableQueryExpressionText(query)],
|
|
42
42
|
},
|
|
43
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(query, this.api),
|
|
43
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(query, this.api),
|
|
44
44
|
],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
@@ -143,13 +143,13 @@ class ScheduleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
143
143
|
items: [
|
|
144
144
|
{
|
|
145
145
|
name: 'Settings',
|
|
146
|
-
values: ScheduleSettingsSummary_1.getScheduleSettingsValues(schedule).map((description) => `${description.label}: ${description.value}`),
|
|
146
|
+
values: (0, ScheduleSettingsSummary_1.getScheduleSettingsValues)(schedule).map((description) => `${description.label}: ${description.value}`),
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
name: 'Schedule',
|
|
150
150
|
values: [UIHelper_1.default.getScheduleDescription(schedule.Schedule)],
|
|
151
151
|
},
|
|
152
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(schedule, this.api),
|
|
152
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(schedule, this.api),
|
|
153
153
|
],
|
|
154
154
|
};
|
|
155
155
|
}
|
|
@@ -76,9 +76,9 @@ class ShortcutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
76
76
|
return {
|
|
77
77
|
abObject: shortcut,
|
|
78
78
|
items: [
|
|
79
|
-
getScopeViewItems_1.getScopeViewItems(shortcut.Scope, this.api),
|
|
80
|
-
getShortcutSettingsViewItems_1.getShortcutSettingsViewItems(shortcut),
|
|
81
|
-
getObjectTagsViewItems_1.getObjectTagsViewItems(shortcut, this.api),
|
|
79
|
+
(0, getScopeViewItems_1.getScopeViewItems)(shortcut.Scope, this.api),
|
|
80
|
+
(0, getShortcutSettingsViewItems_1.getShortcutSettingsViewItems)(shortcut),
|
|
81
|
+
(0, getObjectTagsViewItems_1.getObjectTagsViewItems)(shortcut, this.api),
|
|
82
82
|
],
|
|
83
83
|
};
|
|
84
84
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
2
2
|
import { IModule } from './Interface/IModule';
|
|
3
3
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
4
|
-
import { GridOptions } from '@ag-grid-community/
|
|
4
|
+
import { GridOptions } from '@ag-grid-community/core';
|
|
5
5
|
export declare class StatusBarModule extends AdaptableModuleBase implements IModule {
|
|
6
6
|
constructor(api: AdaptableApi);
|
|
7
7
|
syncStateWithOptions(agGridAdaptablePanels: GridOptions['statusBar']['statusPanels']): void;
|
|
@@ -66,11 +66,11 @@ class TeamSharingModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
66
66
|
}
|
|
67
67
|
// handle special case of LAYOUT_SAVE which might be called redundantly without actually changing the state
|
|
68
68
|
const isLayoutStateUnchanged = adaptableStateChangedInfo.action.type === LayoutRedux_1.LAYOUT_SAVE &&
|
|
69
|
-
isEqual_1.default(adaptableStateChangedInfo.oldState.Layout, adaptableStateChangedInfo.newState.Layout);
|
|
69
|
+
(0, isEqual_1.default)(adaptableStateChangedInfo.oldState.Layout, adaptableStateChangedInfo.newState.Layout);
|
|
70
70
|
if (isLayoutStateUnchanged) {
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
|
-
this.api.internalApi.dispatchReduxAction(TeamSharingRedux_1.TeamSharingUpdateItem(changedAdaptableObject, adaptableStateChangedInfo.userName));
|
|
73
|
+
this.api.internalApi.dispatchReduxAction((0, TeamSharingRedux_1.TeamSharingUpdateItem)(changedAdaptableObject, adaptableStateChangedInfo.userName));
|
|
74
74
|
}
|
|
75
75
|
extractAdaptableObjectFromAction(action) {
|
|
76
76
|
// this implementation is based on the assumption that any action which mutates an AdaptableObject has
|
|
@@ -78,7 +78,7 @@ class TeamSharingModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
78
78
|
if (!action) {
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
|
-
return Object.values(action).find((actionProperty) => isAdaptableObject_1.isAdaptableObject(actionProperty));
|
|
81
|
+
return Object.values(action).find((actionProperty) => (0, isAdaptableObject_1.isAdaptableObject)(actionProperty));
|
|
82
82
|
}
|
|
83
83
|
isAdaptableObjectPresentInLocalState(sharedEntity) {
|
|
84
84
|
return !!this.api.internalApi
|
|
@@ -108,7 +108,7 @@ class TeamSharingModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
108
108
|
}
|
|
109
109
|
const allSharedEntities = this.api.teamSharingApi.getLoadedSharedEntities();
|
|
110
110
|
const dependencies = sharedEntity.EntityDependencyIds.map((dependencyUuid) => allSharedEntities.find((entity) => entity.Uuid === dependencyUuid));
|
|
111
|
-
return flatten_1.default(dependencies.map((dependency) => this.getDependencies(dependency)));
|
|
111
|
+
return (0, flatten_1.default)(dependencies.map((dependency) => this.getDependencies(dependency)));
|
|
112
112
|
}
|
|
113
113
|
getStaleDependencies(sharedEntity) {
|
|
114
114
|
return this.getDependencies(sharedEntity).filter((dependency) => dependency.Uuid !== sharedEntity.Uuid && this.isStaleAndActive(dependency));
|
|
@@ -120,7 +120,7 @@ class TeamSharingModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
120
120
|
if (staleDependencies === null || staleDependencies === void 0 ? void 0 : staleDependencies.length) {
|
|
121
121
|
staleDependenciesViewItems.push({
|
|
122
122
|
name: 'Stale Deps',
|
|
123
|
-
view: SharedEntityObjectView_1.getSharedEntityStaleDepsItemView(staleDependencies),
|
|
123
|
+
view: (0, SharedEntityObjectView_1.getSharedEntityStaleDepsItemView)(staleDependencies),
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
const sharedViewItems = [];
|
|
@@ -128,7 +128,7 @@ class TeamSharingModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
128
128
|
if (!isDependency || isStaleAndActive) {
|
|
129
129
|
sharedViewItems.push({
|
|
130
130
|
name: 'Shared',
|
|
131
|
-
view: SharedEntityObjectView_1.getSharedEntityActiveStatusObjectView(isDependency),
|
|
131
|
+
view: (0, SharedEntityObjectView_1.getSharedEntityActiveStatusObjectView)(isDependency),
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
134
|
return {
|