@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
|
@@ -73,12 +73,12 @@ class FilterApiImpl extends ApiBase_1.ApiBase {
|
|
|
73
73
|
setColumnFilter(columnFilters) {
|
|
74
74
|
columnFilters.forEach((columnFilter) => {
|
|
75
75
|
if (!columnFilter.Predicate) {
|
|
76
|
-
LoggingHelper_1.LogAdaptableWarning('Column Filter has no Predicate', columnFilter);
|
|
76
|
+
(0, LoggingHelper_1.LogAdaptableWarning)('Column Filter has no Predicate', columnFilter);
|
|
77
77
|
}
|
|
78
78
|
else {
|
|
79
79
|
const isValidPredicate = this.adaptable.api.predicateApi.isValidPredicate(columnFilter.Predicate);
|
|
80
80
|
if (!isValidPredicate) {
|
|
81
|
-
LoggingHelper_1.LogAdaptableWarning('Column Filter Predicate is not valid', columnFilter);
|
|
81
|
+
(0, LoggingHelper_1.LogAdaptableWarning)('Column Filter Predicate is not valid', columnFilter);
|
|
82
82
|
}
|
|
83
83
|
else {
|
|
84
84
|
this.addUidToAdaptableObject(columnFilter);
|
|
@@ -306,16 +306,16 @@ class FilterApiImpl extends ApiBase_1.ApiBase {
|
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
suspendColumnFilter(columnFilter) {
|
|
309
|
-
this.
|
|
309
|
+
this.dispatchAction(LayoutRedux.LayoutColumnFilterSuspend(columnFilter));
|
|
310
310
|
}
|
|
311
311
|
unSuspendColumnFilter(columnFilter) {
|
|
312
|
-
this.
|
|
312
|
+
this.dispatchAction(LayoutRedux.LayoutColumnFilterUnSuspend(columnFilter));
|
|
313
313
|
}
|
|
314
314
|
suspendAllColumnFilters() {
|
|
315
|
-
this.
|
|
315
|
+
this.dispatchAction(LayoutRedux.LayoutColumnFilterSuspendAll());
|
|
316
316
|
}
|
|
317
317
|
unSuspendAllColumnFilters() {
|
|
318
|
-
this.
|
|
318
|
+
this.dispatchAction(LayoutRedux.LayoutColumnFilterUnSuspendAll());
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
exports.FilterApiImpl = FilterApiImpl;
|
|
@@ -3,7 +3,7 @@ import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
|
|
|
3
3
|
import { FormatColumnApi } from '../FormatColumnApi';
|
|
4
4
|
import { FormatColumnState, FormatColumn, ColumnStyle, CellColorRange, ColumnComparison } from '../../PredefinedConfig/FormatColumnState';
|
|
5
5
|
import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
6
|
-
import { RowNode } from '@ag-grid-community/
|
|
6
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
7
7
|
import { AdaptableFormat } from '../../types';
|
|
8
8
|
export declare class FormatColumnApiImpl extends ApiBase implements FormatColumnApi {
|
|
9
9
|
getFormatColumnState(): FormatColumnState;
|
|
@@ -2,7 +2,7 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import { FreeTextColumnApi } from '../FreeTextColumnApi';
|
|
3
3
|
import { FreeTextColumnState, FreeTextColumn, FreeTextStoredValue } from '../../PredefinedConfig/FreeTextColumnState';
|
|
4
4
|
import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
|
|
5
|
-
import { RowNode } from '@ag-grid-community/
|
|
5
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
6
6
|
export declare class FreeTextColumnApiImpl extends ApiBase implements FreeTextColumnApi {
|
|
7
7
|
getFreeTextColumnState(): FreeTextColumnState;
|
|
8
8
|
getAllFreeTextColumn(): FreeTextColumn[];
|
|
@@ -8,7 +8,7 @@ import { ColumnSort } from '../../PredefinedConfig/Common/ColumnSort';
|
|
|
8
8
|
import { DataUpdateConfig } from '../../PredefinedConfig/Common/DataUpdateConfig';
|
|
9
9
|
import { CellHighlightInfo } from '../../PredefinedConfig/Common/CellHighlightInfo';
|
|
10
10
|
import { RowHighlightInfo } from '../../PredefinedConfig/Common/RowHighlightInfo';
|
|
11
|
-
import { GridOptions, RowNode } from '@ag-grid-community/
|
|
11
|
+
import { GridOptions, RowNode } from '@ag-grid-community/core';
|
|
12
12
|
import { GridCellRange } from '../../PredefinedConfig/Selection/GridCellRange';
|
|
13
13
|
import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
|
|
14
14
|
import { AdaptableModule } from '../../PredefinedConfig/Common/Types';
|
|
@@ -21,7 +21,7 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
|
|
|
21
21
|
getFilteredData(): any[];
|
|
22
22
|
loadGridData(dataSource: any): void;
|
|
23
23
|
updateGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
|
|
24
|
-
addGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
|
|
24
|
+
addGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode<any>[]>;
|
|
25
25
|
undoCellEdit(cellDataChangedInfo: CellDataChangedInfo): boolean;
|
|
26
26
|
deleteGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
|
|
27
27
|
setCellValue(columnId: string, newValue: any, primaryKeyValue: any): void;
|
|
@@ -53,7 +53,7 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
|
|
|
53
53
|
deSelectRows(primaryKeyValues: any[], clearSelection: boolean): void;
|
|
54
54
|
deSelectNode(rowNode: RowNode, clearSelection: boolean): void;
|
|
55
55
|
deSelectNodes(rowNodes: RowNode[], clearSelection: boolean): void;
|
|
56
|
-
selectCellRange(gridCellRange: GridCellRange): void;
|
|
56
|
+
selectCellRange(gridCellRange: GridCellRange, clearSelection?: boolean): void;
|
|
57
57
|
selectColumn(columnId: string): void;
|
|
58
58
|
selectColumns(columnIds: string[]): void;
|
|
59
59
|
getFirstRowNode(): RowNode;
|
|
@@ -50,12 +50,12 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
50
50
|
setCellValue(columnId, newValue, primaryKeyValue) {
|
|
51
51
|
const abColumn = this.adaptable.api.columnApi.getColumnFromId(columnId);
|
|
52
52
|
if (!abColumn) {
|
|
53
|
-
LoggingHelper_1.LogAdaptableWarning(`setCellValue() - column not found for columnId: ${columnId}`);
|
|
53
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`setCellValue() - column not found for columnId: ${columnId}`);
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
56
|
const rowNode = this.getRowNodeForPrimaryKey(primaryKeyValue);
|
|
57
57
|
if (!rowNode) {
|
|
58
|
-
LoggingHelper_1.LogAdaptableWarning(`setCellValue() - rowNode not found for primaryKeyValue: ${primaryKeyValue}`);
|
|
58
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`setCellValue() - rowNode not found for primaryKeyValue: ${primaryKeyValue}`);
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
61
|
this.adaptable.setDataValue(newValue, abColumn, primaryKeyValue, rowNode);
|
|
@@ -147,7 +147,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
147
147
|
deSelectNodes(rowNodes, clearSelection) {
|
|
148
148
|
this.adaptable.deSelectNodes(rowNodes, clearSelection);
|
|
149
149
|
}
|
|
150
|
-
selectCellRange(gridCellRange) {
|
|
150
|
+
selectCellRange(gridCellRange, clearSelection) {
|
|
151
151
|
if (gridCellRange == undefined) {
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
@@ -170,7 +170,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
170
170
|
endNode = startNode;
|
|
171
171
|
}
|
|
172
172
|
if (startNode && endNode) {
|
|
173
|
-
this.adaptable.selectCells(gridCellRange.columnIds, startNode, endNode);
|
|
173
|
+
this.adaptable.selectCells(gridCellRange.columnIds, startNode, endNode, clearSelection);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
selectColumn(columnId) {
|
|
@@ -316,7 +316,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
316
316
|
this.adaptable.jumpToCell(columnId, node);
|
|
317
317
|
}
|
|
318
318
|
highlightCell(cellHighlightInfo) {
|
|
319
|
-
this.dispatchAction(SystemRedux_1.SystemHighlightCellAdd(cellHighlightInfo));
|
|
319
|
+
this.dispatchAction((0, SystemRedux_1.SystemHighlightCellAdd)(cellHighlightInfo));
|
|
320
320
|
if (cellHighlightInfo.timeout) {
|
|
321
321
|
setTimeout(() => {
|
|
322
322
|
this.unHighlightCell(cellHighlightInfo.primaryKeyValue, cellHighlightInfo.columnId);
|
|
@@ -324,13 +324,13 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
unHighlightCell(primaryKeyValue, columnId) {
|
|
327
|
-
this.dispatchAction(SystemRedux_1.SystemHighlightCellDelete(primaryKeyValue, columnId));
|
|
327
|
+
this.dispatchAction((0, SystemRedux_1.SystemHighlightCellDelete)(primaryKeyValue, columnId));
|
|
328
328
|
}
|
|
329
329
|
unHighlightAllCells() {
|
|
330
|
-
this.dispatchAction(SystemRedux_1.SystemHighlightCellDeleteAll());
|
|
330
|
+
this.dispatchAction((0, SystemRedux_1.SystemHighlightCellDeleteAll)());
|
|
331
331
|
}
|
|
332
332
|
highlightRow(rowHighlightInfo) {
|
|
333
|
-
this.dispatchAction(SystemRedux_1.SystemHighlightRowAdd(rowHighlightInfo));
|
|
333
|
+
this.dispatchAction((0, SystemRedux_1.SystemHighlightRowAdd)(rowHighlightInfo));
|
|
334
334
|
if (rowHighlightInfo.timeout) {
|
|
335
335
|
setTimeout(() => {
|
|
336
336
|
this.unHighlightRow(rowHighlightInfo.primaryKeyValue);
|
|
@@ -338,7 +338,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
highlightRows(rowHighlightInfos) {
|
|
341
|
-
this.dispatchAction(SystemRedux_1.SystemHighlightRowsAdd(rowHighlightInfos));
|
|
341
|
+
this.dispatchAction((0, SystemRedux_1.SystemHighlightRowsAdd)(rowHighlightInfos));
|
|
342
342
|
if (rowHighlightInfos.timeout) {
|
|
343
343
|
setTimeout(() => {
|
|
344
344
|
this.unHighlightRows(rowHighlightInfos.primaryKeyValues);
|
|
@@ -346,13 +346,13 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
unHighlightRow(primaryKeyValue) {
|
|
349
|
-
this.dispatchAction(SystemRedux_1.SystemHighlightRowDelete(primaryKeyValue));
|
|
349
|
+
this.dispatchAction((0, SystemRedux_1.SystemHighlightRowDelete)(primaryKeyValue));
|
|
350
350
|
}
|
|
351
351
|
unHighlightRows(primaryKeyValues) {
|
|
352
|
-
this.dispatchAction(SystemRedux_1.SystemHighlightRowsDelete(primaryKeyValues));
|
|
352
|
+
this.dispatchAction((0, SystemRedux_1.SystemHighlightRowsDelete)(primaryKeyValues));
|
|
353
353
|
}
|
|
354
354
|
unHighlightAllRows() {
|
|
355
|
-
this.dispatchAction(SystemRedux_1.SystemHighlightRowDeleteAll());
|
|
355
|
+
this.dispatchAction((0, SystemRedux_1.SystemHighlightRowDeleteAll)());
|
|
356
356
|
}
|
|
357
357
|
refreshCells(rowNodes, columnIds) {
|
|
358
358
|
this.adaptable.refreshCells(rowNodes, columnIds, true);
|
|
@@ -23,7 +23,7 @@ import { IEntitlementService } from '../../Utilities/Services/Interface/IEntitle
|
|
|
23
23
|
import { IQueryLanguageService } from '../../Utilities/Services/Interface/IQueryLanguageService';
|
|
24
24
|
import { IAlertService } from '../../Utilities/Services/Interface/IAlertService';
|
|
25
25
|
import { AdaptableFlashingCell } from '../../PredefinedConfig/Common/AdaptableFlashingCell';
|
|
26
|
-
import { RowNode } from '@ag-grid-community/
|
|
26
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
27
27
|
import { ITeamSharingService } from '../../Utilities/Services/Interface/ITeamSharingService';
|
|
28
28
|
import { ColumnValuesComparer } from '../../AdaptableOptions/GeneralOptions';
|
|
29
29
|
import { ButtonStyle } from '../../PredefinedConfig/Common/ButtonStyle';
|
|
@@ -396,7 +396,7 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
396
396
|
if (!buttonIcon) {
|
|
397
397
|
return;
|
|
398
398
|
}
|
|
399
|
-
if (AdaptableIconComponent_1.isAdaptableInternalIcon(buttonIcon) || AdaptableIconComponent_1.isAdaptableExternalIcon(buttonIcon)) {
|
|
399
|
+
if ((0, AdaptableIconComponent_1.isAdaptableInternalIcon)(buttonIcon) || (0, AdaptableIconComponent_1.isAdaptableExternalIcon)(buttonIcon)) {
|
|
400
400
|
const defaultIconWidth = (_a = defaultWidthHeight === null || defaultWidthHeight === void 0 ? void 0 : defaultWidthHeight.width) !== null && _a !== void 0 ? _a : 'var(--ab-cmp-simple-button__width)';
|
|
401
401
|
const defaultIconHeight = (_b = defaultWidthHeight === null || defaultWidthHeight === void 0 ? void 0 : defaultWidthHeight.height) !== null && _b !== void 0 ? _b : 'var(--ab-cmp-simple-button__height)';
|
|
402
402
|
const buttonIconStyle = Object.assign({}, { width: defaultIconWidth, height: defaultIconHeight }, buttonIcon.style);
|
|
@@ -471,7 +471,7 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
471
471
|
else {
|
|
472
472
|
// adaptable may not be initialized yet if the framework component is part of the initial render
|
|
473
473
|
// AFL 2021.10.14 - not really sure if this is necessary anymore?! (see the other changes in this commit)
|
|
474
|
-
waitForCondition_1.waitForCondition(() => this.adaptable.isInitialised).then(() => {
|
|
474
|
+
(0, waitForCondition_1.waitForCondition)(() => this.adaptable.isInitialised).then(() => {
|
|
475
475
|
createComponentFn();
|
|
476
476
|
});
|
|
477
477
|
}
|
|
@@ -496,7 +496,7 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
496
496
|
return this.adaptable.adaptableOptions.adaptableQLOptions.caseSensitiveTextComparisons;
|
|
497
497
|
}
|
|
498
498
|
executeWithProgressIndicator(label, executeFn) {
|
|
499
|
-
this.dispatchReduxAction(SystemRedux_1.SystemProgressIndicatorShow(label));
|
|
499
|
+
this.dispatchReduxAction((0, SystemRedux_1.SystemProgressIndicatorShow)(label));
|
|
500
500
|
// setTimeout required to give the ProgressIndicator rendering a head-start (see RAF in ProgressIndicator implementation)
|
|
501
501
|
setTimeout(() => {
|
|
502
502
|
try {
|
|
@@ -504,12 +504,12 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
504
504
|
}
|
|
505
505
|
catch (error) {
|
|
506
506
|
this.hideProgressIndicator();
|
|
507
|
-
LoggingHelper_1.LogAdaptableError('Unexpected error while executing a function with a progress indicator', error);
|
|
507
|
+
(0, LoggingHelper_1.LogAdaptableError)('Unexpected error while executing a function with a progress indicator', error);
|
|
508
508
|
}
|
|
509
509
|
}, 16);
|
|
510
510
|
}
|
|
511
511
|
hideProgressIndicator() {
|
|
512
|
-
this.dispatchReduxAction(SystemRedux_1.SystemProgressIndicatorHide());
|
|
512
|
+
this.dispatchReduxAction((0, SystemRedux_1.SystemProgressIndicatorHide)());
|
|
513
513
|
}
|
|
514
514
|
getCorrectEnglishVariant(wordToSpell) {
|
|
515
515
|
if (wordToSpell.includes('our')) {
|
|
@@ -52,12 +52,12 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
52
52
|
}
|
|
53
53
|
fireLayoutChangedEvent(trigger, oldSate, newState, skipEqualityCheck) {
|
|
54
54
|
const layoutChangedInfo = {
|
|
55
|
-
adaptableApi: this.
|
|
55
|
+
adaptableApi: this.getAdaptableApi(),
|
|
56
56
|
actionName: trigger,
|
|
57
57
|
oldLayoutState: oldSate,
|
|
58
58
|
newLayoutState: newState,
|
|
59
59
|
};
|
|
60
|
-
if (!skipEqualityCheck && isEqual_1.default(oldSate, newState)) {
|
|
60
|
+
if (!skipEqualityCheck && (0, isEqual_1.default)(oldSate, newState)) {
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
this.adaptable.api.eventApi.emit('LayoutChanged', layoutChangedInfo);
|
|
@@ -125,7 +125,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
125
125
|
}
|
|
126
126
|
createLayout(layoutToCreate) {
|
|
127
127
|
if (this.doesLayoutExist(layoutToCreate)) {
|
|
128
|
-
LoggingHelper_1.LogAdaptableError("Cannot create layout with the Name: '" + layoutToCreate.Name + "' as it already exists");
|
|
128
|
+
(0, LoggingHelper_1.LogAdaptableError)("Cannot create layout with the Name: '" + layoutToCreate.Name + "' as it already exists");
|
|
129
129
|
return false;
|
|
130
130
|
}
|
|
131
131
|
const newLayout = ObjectFactory_1.default.CreateEmptyLayout(Object.assign({}, layoutToCreate));
|
|
@@ -142,11 +142,11 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
142
142
|
}
|
|
143
143
|
cloneLayout(layoutToClone, layoutName) {
|
|
144
144
|
if (!this.doesLayoutExist(layoutToClone)) {
|
|
145
|
-
LoggingHelper_1.LogAdaptableError("Cannot clone layout with Name: '" + layoutName + "' as other Layout does not exist");
|
|
145
|
+
(0, LoggingHelper_1.LogAdaptableError)("Cannot clone layout with Name: '" + layoutName + "' as other Layout does not exist");
|
|
146
146
|
return false;
|
|
147
147
|
}
|
|
148
148
|
const newLayout = Helper_1.default.cloneObject(layoutToClone);
|
|
149
|
-
newLayout.Uuid = Uuid_1.createUuid();
|
|
149
|
+
newLayout.Uuid = (0, Uuid_1.createUuid)();
|
|
150
150
|
newLayout.Name = layoutName;
|
|
151
151
|
this.dispatchAction(LayoutRedux.LayoutAdd(newLayout));
|
|
152
152
|
return this.getLayoutById(newLayout.Uuid);
|
|
@@ -191,7 +191,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
191
191
|
};
|
|
192
192
|
layout1 = Object.assign(Object.assign({}, defaults), layout1);
|
|
193
193
|
layout2 = Object.assign(Object.assign({}, defaults), layout2);
|
|
194
|
-
return isEqual_1.default(layout1, layout2);
|
|
194
|
+
return (0, isEqual_1.default)(layout1, layout2);
|
|
195
195
|
}
|
|
196
196
|
getLayoutDescription(layout) {
|
|
197
197
|
let returnString = '';
|
|
@@ -250,12 +250,12 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
showChangeColumnCaption(column) {
|
|
253
|
-
this.dispatchAction(PopupRedux_1.PopupShowPrompt({
|
|
253
|
+
this.dispatchAction((0, PopupRedux_1.PopupShowPrompt)({
|
|
254
254
|
Header: `Change caption for '${column.friendlyName}'`,
|
|
255
255
|
Msg: '',
|
|
256
256
|
DefaultValue: column.friendlyName,
|
|
257
257
|
ConfirmActionCreator: (inputText) => inputText !== column.friendlyName &&
|
|
258
|
-
LayoutRedux_1.LayoutSetColumnCaption(this.getCurrentLayoutName(), column.columnId, inputText),
|
|
258
|
+
(0, LayoutRedux_1.LayoutSetColumnCaption)(this.getCurrentLayoutName(), column.columnId, inputText),
|
|
259
259
|
}));
|
|
260
260
|
}
|
|
261
261
|
showLayoutPopup() {
|
|
@@ -265,7 +265,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
265
265
|
let preparedAction = action;
|
|
266
266
|
if (!['Edit', 'New', 'Clone'].includes(action)) {
|
|
267
267
|
preparedAction = 'Edit';
|
|
268
|
-
LoggingHelper_1.LogAdaptableError(`When opening the layout editor the action must be one of: New, Clone, Edit; given: ${action}`);
|
|
268
|
+
(0, LoggingHelper_1.LogAdaptableError)(`When opening the layout editor the action must be one of: New, Clone, Edit; given: ${action}`);
|
|
269
269
|
}
|
|
270
270
|
let layout = layoutName ? this.getLayoutByName(layoutName) : this.getCurrentLayout();
|
|
271
271
|
if (preparedAction === 'New') {
|
|
@@ -286,12 +286,12 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
286
286
|
}
|
|
287
287
|
deleteLayout(layout) {
|
|
288
288
|
if (layout.Name === GeneralConstants_1.DEFAULT_LAYOUT) {
|
|
289
|
-
LoggingHelper_1.LogAdaptableWarning('The Default Layout cannot be deleted');
|
|
289
|
+
(0, LoggingHelper_1.LogAdaptableWarning)('The Default Layout cannot be deleted');
|
|
290
290
|
return;
|
|
291
291
|
}
|
|
292
292
|
const layoutCount = this.getAllLayout().length;
|
|
293
293
|
if (layoutCount === 1) {
|
|
294
|
-
LoggingHelper_1.LogAdaptableWarning('You cannot delete the only Layout. AdapTable always requires one layout');
|
|
294
|
+
(0, LoggingHelper_1.LogAdaptableWarning)('You cannot delete the only Layout. AdapTable always requires one layout');
|
|
295
295
|
return;
|
|
296
296
|
}
|
|
297
297
|
this.dispatchAction(LayoutRedux.LayoutDelete(layout));
|
|
@@ -299,7 +299,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
299
299
|
deleteLayoutByName(layoutName) {
|
|
300
300
|
const layout = this.getLayoutByName(layoutName);
|
|
301
301
|
if (!layout) {
|
|
302
|
-
LoggingHelper_1.LogAdaptableWarning('No Layout exists with that name');
|
|
302
|
+
(0, LoggingHelper_1.LogAdaptableWarning)('No Layout exists with that name');
|
|
303
303
|
return;
|
|
304
304
|
}
|
|
305
305
|
return this.deleteLayout(layout);
|
|
@@ -33,7 +33,7 @@ class PredicateApiImpl extends ApiBase_1.ApiBase {
|
|
|
33
33
|
predicateToString(predicate) {
|
|
34
34
|
const predicateDef = this.getPredicateDefById(predicate.PredicateId);
|
|
35
35
|
if (!predicateDef) {
|
|
36
|
-
LoggingHelper_1.LogAdaptableWarning('Cannot find Predicate with Id:' + predicate.PredicateId);
|
|
36
|
+
(0, LoggingHelper_1.LogAdaptableWarning)('Cannot find Predicate with Id:' + predicate.PredicateId);
|
|
37
37
|
return '[Predicate Not found]';
|
|
38
38
|
}
|
|
39
39
|
return predicateDef.hasOwnProperty('toString')
|
|
@@ -67,7 +67,7 @@ class PredicateApiImpl extends ApiBase_1.ApiBase {
|
|
|
67
67
|
if (!predicate) {
|
|
68
68
|
return defaultReturn;
|
|
69
69
|
}
|
|
70
|
-
const predicateDef = this.
|
|
70
|
+
const predicateDef = this.getPredicateDefById(predicate.PredicateId);
|
|
71
71
|
if (predicateDef === undefined) {
|
|
72
72
|
return defaultReturn;
|
|
73
73
|
}
|
|
@@ -75,7 +75,7 @@ class PredicateApiImpl extends ApiBase_1.ApiBase {
|
|
|
75
75
|
return defaultReturn;
|
|
76
76
|
}
|
|
77
77
|
try {
|
|
78
|
-
return predicateDef.handler(Object.assign({ api: this.
|
|
78
|
+
return predicateDef.handler(Object.assign({ api: this.getAdaptableApi(), inputs: predicate.Inputs }, params));
|
|
79
79
|
}
|
|
80
80
|
catch (error) {
|
|
81
81
|
console.error(`Error in predicate ${predicateDef.label}`, error);
|
|
@@ -20,7 +20,7 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
|
|
|
20
20
|
return this.getAllNamedQuery().find((se) => se.Name == namedQueryName);
|
|
21
21
|
}
|
|
22
22
|
isValidNamedQueryName(namedQuery) {
|
|
23
|
-
if (StringExtensions_1.IsNullOrEmptyOrWhiteSpace(namedQuery === null || namedQuery === void 0 ? void 0 : namedQuery.Name)) {
|
|
23
|
+
if ((0, StringExtensions_1.IsNullOrEmptyOrWhiteSpace)(namedQuery === null || namedQuery === void 0 ? void 0 : namedQuery.Name)) {
|
|
24
24
|
return { valid: false, message: 'Query name cannot be blank' };
|
|
25
25
|
}
|
|
26
26
|
// check that there is no other existing named query with the same name
|
|
@@ -55,13 +55,13 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
|
|
|
55
55
|
}
|
|
56
56
|
getReferencedNamedQueryNames(expression = '') {
|
|
57
57
|
try {
|
|
58
|
-
return this.
|
|
59
|
-
.getQueryLanguageService()
|
|
58
|
+
return this.getAdaptableApi()
|
|
59
|
+
.internalApi.getQueryLanguageService()
|
|
60
60
|
.getNamedQueryNamesFromExpression(expression);
|
|
61
61
|
}
|
|
62
62
|
catch (error) {
|
|
63
63
|
// defensive programing, this should happen only if someone botched the predefined configs
|
|
64
|
-
LoggingHelper_1.LogAdaptableWarning(`QueryApi.getReferencedNamedQueryNames received an invalid expression: ${expression}
|
|
64
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`QueryApi.getReferencedNamedQueryNames received an invalid expression: ${expression}
|
|
65
65
|
Error: ${error}`);
|
|
66
66
|
return [];
|
|
67
67
|
}
|
|
@@ -79,7 +79,7 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
|
|
|
79
79
|
}
|
|
80
80
|
expandCurrentQuery(query) {
|
|
81
81
|
const preparedQuery = query !== null && query !== void 0 ? query : this.getCurrentQuery();
|
|
82
|
-
this.
|
|
82
|
+
this.dispatchAction(PopupRedux.PopupShowWindow({
|
|
83
83
|
Id: windowFactory_1.WINDOW_QUERY_EDITOR,
|
|
84
84
|
Title: 'Current Query',
|
|
85
85
|
Icon: 'query',
|
|
@@ -90,7 +90,7 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
|
|
|
90
90
|
}
|
|
91
91
|
fireQueryRunEvent() {
|
|
92
92
|
if (this.adaptable.isLive) {
|
|
93
|
-
const currentQuery = this.
|
|
93
|
+
const currentQuery = this.getCurrentQuery();
|
|
94
94
|
const adaptableApi = this.getAdaptableApi();
|
|
95
95
|
const queryRunInfo = {
|
|
96
96
|
currentQuery,
|
|
@@ -12,7 +12,7 @@ class QueryLanguageApiImpl extends ApiBase_1.ApiBase {
|
|
|
12
12
|
.getQueryLanguageService()
|
|
13
13
|
.validateBoolean(query, module, { force: true });
|
|
14
14
|
if (!isValid && validationErrorMessage) {
|
|
15
|
-
LoggingHelper_1.LogAdaptableWarning(`${validationErrorMessage} :: ${errorMessage}`);
|
|
15
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`${validationErrorMessage} :: ${errorMessage}`);
|
|
16
16
|
}
|
|
17
17
|
return isValid;
|
|
18
18
|
}
|
|
@@ -21,7 +21,7 @@ class QueryLanguageApiImpl extends ApiBase_1.ApiBase {
|
|
|
21
21
|
.getQueryLanguageService()
|
|
22
22
|
.validateObservable(expression, module);
|
|
23
23
|
if (!isValid && validationErrorMessage) {
|
|
24
|
-
LoggingHelper_1.LogAdaptableWarning(`${validationErrorMessage} :: ${errorMessage}`);
|
|
24
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`${validationErrorMessage} :: ${errorMessage}`);
|
|
25
25
|
}
|
|
26
26
|
return isValid;
|
|
27
27
|
}
|
|
@@ -30,7 +30,7 @@ class QueryLanguageApiImpl extends ApiBase_1.ApiBase {
|
|
|
30
30
|
.getQueryLanguageService()
|
|
31
31
|
.validateAggregatedBoolean(expression, module);
|
|
32
32
|
if (!isValid && validationErrorMessage) {
|
|
33
|
-
LoggingHelper_1.LogAdaptableWarning(`${validationErrorMessage} :: ${errorMessage}`);
|
|
33
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`${validationErrorMessage} :: ${errorMessage}`);
|
|
34
34
|
}
|
|
35
35
|
return isValid;
|
|
36
36
|
}
|
|
@@ -39,7 +39,7 @@ class QueryLanguageApiImpl extends ApiBase_1.ApiBase {
|
|
|
39
39
|
.getQueryLanguageService()
|
|
40
40
|
.validateAggregatedScalar(expression, module);
|
|
41
41
|
if (!isValid && validationErrorMessage) {
|
|
42
|
-
LoggingHelper_1.LogAdaptableWarning(`${validationErrorMessage} :: ${errorMessage}`);
|
|
42
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`${validationErrorMessage} :: ${errorMessage}`);
|
|
43
43
|
}
|
|
44
44
|
return isValid;
|
|
45
45
|
}
|
|
@@ -62,7 +62,7 @@ class QueryLanguageApiImpl extends ApiBase_1.ApiBase {
|
|
|
62
62
|
}
|
|
63
63
|
catch (error) {
|
|
64
64
|
// defensive programing, this should happen only if someone botched the predefined configs
|
|
65
|
-
LoggingHelper_1.LogAdaptableWarning(`QueryApi.getColumnsFromExpressionInvalid received an invalid expression: ${expression}
|
|
65
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`QueryApi.getColumnsFromExpressionInvalid received an invalid expression: ${expression}
|
|
66
66
|
Error: ${error}`);
|
|
67
67
|
return [];
|
|
68
68
|
}
|
|
@@ -240,21 +240,21 @@ class ScopeApiImpl extends ApiBase_1.ApiBase {
|
|
|
240
240
|
ranges.push({
|
|
241
241
|
Min: 0,
|
|
242
242
|
Max: 0,
|
|
243
|
-
Color: UIHelper_1.getHexForName(UIHelper_1.GRAY),
|
|
243
|
+
Color: (0, UIHelper_1.getHexForName)(UIHelper_1.GRAY),
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
246
|
if (minValue < 0) {
|
|
247
247
|
ranges.push({
|
|
248
248
|
Min: minValue,
|
|
249
249
|
Max: 0,
|
|
250
|
-
Color: UIHelper_1.getHexForName(UIHelper_1.RED),
|
|
250
|
+
Color: (0, UIHelper_1.getHexForName)(UIHelper_1.RED),
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
253
|
if (maxValue > 0) {
|
|
254
254
|
ranges.push({
|
|
255
255
|
Min: 0,
|
|
256
256
|
Max: maxValue,
|
|
257
|
-
Color: UIHelper_1.getHexForName(UIHelper_1.DARK_GREEN),
|
|
257
|
+
Color: (0, UIHelper_1.getHexForName)(UIHelper_1.DARK_GREEN),
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
260
|
return ranges;
|
|
@@ -9,7 +9,7 @@ class SettingsPanelApiImpl extends ApiBase_1.ApiBase {
|
|
|
9
9
|
showSettingsPanel(moduleName) {
|
|
10
10
|
const moduleInfo = this.adaptable.ModuleService.getModuleInfoByModule(moduleName);
|
|
11
11
|
if (!moduleInfo) {
|
|
12
|
-
LoggingHelper_1.LogAdaptableError(`${moduleName} module does not exist`);
|
|
12
|
+
(0, LoggingHelper_1.LogAdaptableError)(`${moduleName} module does not exist`);
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
15
15
|
this.dispatchAction(PopupRedux.PopupShowScreen(moduleName, moduleInfo.Popup));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AdaptableStatusBar } from '../../PredefinedConfig/StatusBarState';
|
|
2
2
|
import { StatusBarApi } from '../StatusBarApi';
|
|
3
3
|
import { ApiBase } from './ApiBase';
|
|
4
|
-
import { GridOptions } from '@ag-grid-community/
|
|
4
|
+
import { GridOptions } from '@ag-grid-community/core';
|
|
5
5
|
export declare class StatusBarApiImpl extends ApiBase implements StatusBarApi {
|
|
6
6
|
getAdaptableStatusBars(): AdaptableStatusBar[];
|
|
7
7
|
getAgGridStatusPanels(): GridOptions['statusBar']['statusPanels'];
|
|
@@ -5,13 +5,13 @@ const StatusBarRedux_1 = require("../../Redux/ActionsReducers/StatusBarRedux");
|
|
|
5
5
|
const ApiBase_1 = require("./ApiBase");
|
|
6
6
|
class StatusBarApiImpl extends ApiBase_1.ApiBase {
|
|
7
7
|
getAdaptableStatusBars() {
|
|
8
|
-
return StatusBarRedux_1.getStatusPanelsSelector(this.getAdaptableState());
|
|
8
|
+
return (0, StatusBarRedux_1.getStatusPanelsSelector)(this.getAdaptableState());
|
|
9
9
|
}
|
|
10
10
|
getAgGridStatusPanels() {
|
|
11
11
|
return this.adaptable.getAgGridStatusPanels();
|
|
12
12
|
}
|
|
13
13
|
setStatusBarPanels(statusPanels) {
|
|
14
|
-
this.
|
|
14
|
+
this.dispatchAction((0, StatusBarRedux_1.StatusBarSetPanels)(statusPanels));
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.StatusBarApiImpl = StatusBarApiImpl;
|
|
@@ -15,7 +15,7 @@ const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
|
|
|
15
15
|
class SystemStatusApiImpl extends ApiBase_1.ApiBase {
|
|
16
16
|
setSystemStatus(statusMessage, messageType, statusFurtherInformation) {
|
|
17
17
|
let systemStatusMessageInfo = ObjectFactory_1.default.CreateSystemStatusMessageInfo(statusMessage, messageType, statusFurtherInformation ? statusFurtherInformation : '');
|
|
18
|
-
this.
|
|
18
|
+
this.getAdaptableApi().internalApi.addSystemStatusMessageInfo(systemStatusMessageInfo);
|
|
19
19
|
// publish the event
|
|
20
20
|
this.fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo);
|
|
21
21
|
if (this.getNotificationsOptions().showSystemStatusMessageNotifications) {
|
|
@@ -25,16 +25,16 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
|
|
|
25
25
|
}
|
|
26
26
|
switch (messageType) {
|
|
27
27
|
case 'Success':
|
|
28
|
-
this.
|
|
28
|
+
this.getAdaptableApi().alertApi.showAlertSuccess('System Status Success', fullMessage);
|
|
29
29
|
return;
|
|
30
30
|
case 'Info':
|
|
31
|
-
this.
|
|
31
|
+
this.getAdaptableApi().alertApi.showAlertInfo('System Status Info', fullMessage);
|
|
32
32
|
return;
|
|
33
33
|
case 'Warning':
|
|
34
|
-
this.
|
|
34
|
+
this.getAdaptableApi().alertApi.showAlertWarning('System Status Warning', fullMessage);
|
|
35
35
|
return;
|
|
36
36
|
case 'Error':
|
|
37
|
-
this.
|
|
37
|
+
this.getAdaptableApi().alertApi.showAlertError('System Status Error', fullMessage);
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -57,7 +57,7 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
|
|
|
57
57
|
statusMessage += statusFurtherInformation;
|
|
58
58
|
}
|
|
59
59
|
const foreColor = messageType ? UIHelper_1.default.getColorByMessageType(messageType) : 'black';
|
|
60
|
-
react_dom_1.render(react_1.createElement('span', { style: { color: foreColor } }, statusMessage), this.systemStatusDiv);
|
|
60
|
+
(0, react_dom_1.render)((0, react_1.createElement)('span', { style: { color: foreColor } }, statusMessage), this.systemStatusDiv);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
setErrorSystemStatus(statusMessage, statusFurtherInformation) {
|
|
@@ -73,7 +73,7 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
|
|
|
73
73
|
this.setSystemStatus(statusMessage, 'Info', statusFurtherInformation);
|
|
74
74
|
}
|
|
75
75
|
setDefaultMessage() {
|
|
76
|
-
LoggingHelper_1.LogAdaptableWarning(`SystemStatusApi.setDefaultMessage is deprecated`);
|
|
76
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`SystemStatusApi.setDefaultMessage is deprecated`);
|
|
77
77
|
}
|
|
78
78
|
showSystemStatusPopup() {
|
|
79
79
|
this.showModulePopup(ModuleConstants.SystemStatusModuleId);
|
|
@@ -83,10 +83,10 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
|
|
|
83
83
|
adaptableApi: this.getAdaptableApi(),
|
|
84
84
|
systemStatusMessageInfo: systemStatusMessageInfo,
|
|
85
85
|
};
|
|
86
|
-
this.
|
|
86
|
+
this.getAdaptableApi().eventApi.emit('SystemStatusMessageDisplayed', systemStatusMessageDisplayedInfo);
|
|
87
87
|
}
|
|
88
88
|
getCurrentSystemStatusMessageInfo() {
|
|
89
|
-
const messageInfos = this.
|
|
89
|
+
const messageInfos = this.getAdaptableApi().internalApi.getSystemStatusMessageInfos() || [];
|
|
90
90
|
const orderedArray = messageInfos.sort((a, b) => b.timestamp.getTime() - a.timestamp.getTime());
|
|
91
91
|
return orderedArray[0];
|
|
92
92
|
}
|
|
@@ -10,14 +10,14 @@ const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
|
|
|
10
10
|
class TeamSharingApiImpl extends ApiBase_1.ApiBase {
|
|
11
11
|
async getSharedEntities() {
|
|
12
12
|
if (!this.isTeamSharingActivated()) {
|
|
13
|
-
LoggingHelper_1.ConsoleLogWarning('Team Sharing is not Activated so Entities cannot be loaded');
|
|
13
|
+
(0, LoggingHelper_1.ConsoleLogWarning)('Team Sharing is not Activated so Entities cannot be loaded');
|
|
14
14
|
return [];
|
|
15
15
|
}
|
|
16
16
|
return this.adaptable.adaptableOptions.teamSharingOptions.getSharedEntities(this.adaptable.adaptableOptions.adaptableId);
|
|
17
17
|
}
|
|
18
18
|
async setSharedEntities(sharedEntities) {
|
|
19
19
|
if (!this.isTeamSharingActivated()) {
|
|
20
|
-
LoggingHelper_1.ConsoleLogWarning('Team Sharing is not Activated so Entities cannot be shared');
|
|
20
|
+
(0, LoggingHelper_1.ConsoleLogWarning)('Team Sharing is not Activated so Entities cannot be shared');
|
|
21
21
|
return false;
|
|
22
22
|
}
|
|
23
23
|
await this.adaptable.adaptableOptions.teamSharingOptions.setSharedEntities(this.adaptable.adaptableOptions.adaptableId, sharedEntities);
|
|
@@ -36,12 +36,12 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
|
|
|
36
36
|
return this.isTeamSharingAvailable();
|
|
37
37
|
}
|
|
38
38
|
hasTeamSharingFullRights() {
|
|
39
|
-
return this.
|
|
40
|
-
.getEntitlementService()
|
|
39
|
+
return this.getAdaptableApi()
|
|
40
|
+
.internalApi.getEntitlementService()
|
|
41
41
|
.isModuleFullEntitlement(ModuleConstants.TeamSharingModuleId);
|
|
42
42
|
}
|
|
43
43
|
checkForUpdates() {
|
|
44
|
-
this.dispatchAction(TeamSharingRedux_1.TeamSharingCheckForUpdates());
|
|
44
|
+
this.dispatchAction((0, TeamSharingRedux_1.TeamSharingCheckForUpdates)());
|
|
45
45
|
}
|
|
46
46
|
showTeamSharingPopup() {
|
|
47
47
|
this.showModulePopup(ModuleConstants.TeamSharingModuleId);
|
|
@@ -52,25 +52,25 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
|
|
|
52
52
|
adaptableApi: this.adaptable.api,
|
|
53
53
|
sharedEntity: sharedEntity,
|
|
54
54
|
};
|
|
55
|
-
this.
|
|
55
|
+
this.getAdaptableApi().eventApi.emit('TeamSharingEntityChanged', teamSharingEntityChangedInfo);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
shareEntity(entity, module, sharedEntityConfig) {
|
|
59
59
|
if (!this.isTeamSharingActivated()) {
|
|
60
|
-
LoggingHelper_1.ConsoleLogWarning('Team Sharing is not Activated so Entities cannot be shared');
|
|
60
|
+
(0, LoggingHelper_1.ConsoleLogWarning)('Team Sharing is not Activated so Entities cannot be shared');
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
this.dispatchAction(TeamSharingRedux.TeamSharingShare(entity, module, sharedEntityConfig));
|
|
64
64
|
}
|
|
65
65
|
unshareEntity(entityId) {
|
|
66
66
|
if (!this.isTeamSharingActivated()) {
|
|
67
|
-
LoggingHelper_1.ConsoleLogWarning('Team Sharing is not Activated so Entities cannot be unshared');
|
|
67
|
+
(0, LoggingHelper_1.ConsoleLogWarning)('Team Sharing is not Activated so Entities cannot be unshared');
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
70
|
this.dispatchAction(TeamSharingRedux.TeamSharingRemoveItem(entityId));
|
|
71
71
|
}
|
|
72
72
|
importSharedEntry(sharedEntity) {
|
|
73
|
-
this.
|
|
73
|
+
this.dispatchAction(TeamSharingRedux.TeamSharingImportItem(sharedEntity));
|
|
74
74
|
}
|
|
75
75
|
getTeamSharingState() {
|
|
76
76
|
return this.getAdaptableState().TeamSharing;
|
|
@@ -84,7 +84,7 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
|
|
|
84
84
|
return ((_a = sharedEntity === null || sharedEntity === void 0 ? void 0 : sharedEntity.EntityDependencyIds) !== null && _a !== void 0 ? _a : []).map((id) => allEntities.find((entity) => entity.Uuid === id));
|
|
85
85
|
}
|
|
86
86
|
triggerLoadingTeamSharingEntries() {
|
|
87
|
-
this.
|
|
87
|
+
this.dispatchAction(TeamSharingRedux.TeamSharingGet());
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
exports.TeamSharingApiImpl = TeamSharingApiImpl;
|