@adaptabletools/adaptable 12.0.0-canary.3 → 12.0.0-canary.6
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 +26 -0
- package/bundle.cjs.js +102 -99
- package/index.css +34 -0
- package/package.json +2 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/ActionOptions.d.ts +181 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
- package/src/AdaptableOptions/ColumnOptions.d.ts +4 -0
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +17 -2
- package/src/AdaptableOptions/EditOptions.d.ts +7 -80
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
- package/src/AdaptableOptions/LayoutOptions.d.ts +11 -6
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
- package/src/AdaptableOptions/StateOptions.d.ts +10 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
- package/src/Api/ActionApi.d.ts +24 -0
- package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
- package/src/Api/AdaptableApi.d.ts +5 -0
- package/src/Api/ConfigApi.d.ts +1 -1
- package/src/Api/EventApi.d.ts +9 -9
- package/src/Api/Events/ActionRowSubmitted.d.ts +58 -0
- package/src/Api/Events/ActionRowSubmitted.js +2 -0
- package/src/Api/GridApi.d.ts +0 -14
- package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
- package/src/Api/Implementation/ActionApiImpl.js +56 -0
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/AlertApiImpl.d.ts +2 -4
- package/src/Api/Implementation/AlertApiImpl.js +2 -3
- package/src/Api/Implementation/ApiBase.d.ts +13 -1
- package/src/Api/Implementation/ApiBase.js +10 -0
- package/src/Api/Implementation/ColumnApiImpl.js +2 -2
- package/src/Api/Implementation/ConditionalStyleApiImpl.d.ts +2 -4
- package/src/Api/Implementation/ConditionalStyleApiImpl.js +2 -3
- package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +2 -4
- package/src/Api/Implementation/CustomSortApiImpl.js +2 -3
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +2 -4
- package/src/Api/Implementation/FlashingCellApiImpl.js +2 -3
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +2 -4
- package/src/Api/Implementation/FormatColumnApiImpl.js +2 -3
- package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
- package/src/Api/Implementation/GridApiImpl.js +0 -44
- package/src/Api/Implementation/InternalApiImpl.d.ts +1 -1
- package/src/Api/Implementation/InternalApiImpl.js +5 -4
- package/src/Api/Implementation/LayoutApiImpl.d.ts +0 -2
- package/src/Api/Implementation/LayoutApiImpl.js +0 -6
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -4
- package/src/Api/Implementation/PlusMinusApiImpl.js +2 -3
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +6 -16
- package/src/Api/Implementation/ScheduleApiImpl.js +10 -16
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +2 -4
- package/src/Api/Implementation/ShortcutApiImpl.js +2 -3
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SmartEditApiImpl.js +2 -1
- package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
- package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
- package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
- package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
- package/src/Api/InternalApi.d.ts +1 -1
- package/src/Api/LayoutApi.d.ts +1 -6
- package/src/Api/SmartEditApi.d.ts +1 -1
- package/src/Api/StatusBarApi.d.ts +10 -3
- package/src/Api/UserInterfaceApi.d.ts +1 -5
- package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
- package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -36
- package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
- package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
- package/src/PredefinedConfig/Common/Types.d.ts +1 -1
- package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
- package/src/PredefinedConfig/Uuid.js +2 -1
- package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
- package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
- package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
- package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
- package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
- package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
- package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
- package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
- package/src/Redux/ActionsReducers/GridRedux.js +38 -19
- package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
- package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
- package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
- package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
- package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
- package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
- package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
- package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
- package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
- package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
- package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
- package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
- package/src/Redux/DeadRedux.js +16 -8
- package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
- package/src/Redux/Store/AdaptableStore.js +7 -2
- package/src/Strategy/AlertModule.d.ts +2 -18
- package/src/Strategy/AlertModule.js +2 -1
- package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
- package/src/Strategy/DashboardModule.js +3 -1
- package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
- package/src/Strategy/DataSetModule.d.ts +2 -13
- package/src/Strategy/ExportModule.d.ts +2 -13
- package/src/Strategy/ExportModule.js +1 -1
- package/src/Strategy/FilterModule.d.ts +2 -14
- package/src/Strategy/FilterModule.js +1 -1
- package/src/Strategy/FlashingCellModule.d.ts +2 -9
- package/src/Strategy/GridInfoModule.js +6 -2
- package/src/Strategy/Interface/IModule.d.ts +2 -1
- package/src/Strategy/LayoutModule.d.ts +3 -17
- package/src/Strategy/LayoutModule.js +57 -4
- package/src/Strategy/PlusMinusModule.d.ts +2 -9
- package/src/Strategy/QuickSearchModule.d.ts +2 -7
- package/src/Strategy/ScheduleModule.d.ts +2 -13
- package/src/Strategy/ShortcutModule.d.ts +2 -9
- package/src/Strategy/StatusBarModule.js +2 -2
- package/src/Strategy/SystemStatusModule.d.ts +2 -7
- package/src/Strategy/ThemeModule.d.ts +2 -8
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
- package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
- package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
- package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
- package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
- package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
- package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
- package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
- package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
- package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
- package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
- package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
- package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
- package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
- package/src/Strategy/Utilities/getStyleViewItems.js +2 -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 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +21 -13
- package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
- package/src/Utilities/Extensions/TypeExtensions.d.ts +30 -0
- package/src/Utilities/Helpers/AdaptableHelper.d.ts +1 -3
- package/src/Utilities/Helpers/AdaptableHelper.js +6 -16
- package/src/Utilities/Helpers/DateHelper.d.ts +27 -0
- package/src/Utilities/Helpers/DateHelper.js +43 -6
- package/src/Utilities/Helpers/Helper.js +2 -1
- package/src/Utilities/Helpers/LoggingHelper.js +2 -1
- package/src/Utilities/Helpers/StyleHelper.js +8 -4
- package/src/Utilities/MenuItem.d.ts +4 -3
- package/src/Utilities/MenuItem.js +9 -3
- package/src/Utilities/ObjectFactory.js +1 -0
- package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -0
- package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
- package/src/Utilities/Services/MetamodelService.d.ts +7 -1
- package/src/Utilities/Services/MetamodelService.js +82 -6
- package/src/Utilities/Services/ModuleService.js +3 -1
- package/src/Utilities/Services/RowEditService.d.ts +6 -6
- package/src/Utilities/Services/RowEditService.js +24 -25
- package/src/Utilities/isAdaptableObject.js +2 -1
- package/src/Utilities/isMacLike.js +2 -1
- package/src/Utilities/license/decode.js +1 -1
- package/src/Utilities/reorder.js +2 -1
- package/src/Utilities/runIfNotResolvedIn.js +2 -1
- package/src/Utilities/waitForCondition.d.ts +1 -1
- package/src/Utilities/waitForCondition.js +2 -1
- package/src/View/AdaptableContext.js +2 -1
- package/src/View/AdaptableView.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +12 -9
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -1
- package/src/View/AdaptableWizardView/Utils.js +2 -1
- package/src/View/AdaptableWizardView/Wizard.js +4 -2
- package/src/View/AdaptableWizardView/helper.js +6 -3
- package/src/View/Alert/ActiveAlertsPanel.js +2 -1
- package/src/View/Alert/AlertEmptyView.js +2 -1
- package/src/View/Alert/AlertStatusSubPanel.js +2 -1
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -2
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -3
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
- package/src/View/Alert/Wizard/AlertWizard.js +2 -1
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -2
- package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +6 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
- package/src/View/CellSummary/CellSummaryPopover.js +2 -1
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
- package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
- package/src/View/ColorPicker.d.ts +5 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.js +11 -11
- package/src/View/Components/AdaptableInput/index.d.ts +2 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
- package/src/View/Components/Buttons/ButtonClone.js +2 -1
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonEdit.js +2 -1
- package/src/View/Components/Buttons/ButtonNew.js +2 -1
- package/src/View/Components/ColumnSelector/index.js +2 -1
- package/src/View/Components/EntityRulesEditor/index.js +6 -3
- package/src/View/Components/ExpressionWizard.js +2 -1
- package/src/View/Components/ExternalRenderer.js +2 -1
- package/src/View/Components/FilterForm/FilterForm.js +2 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
- package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
- package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
- package/src/View/Components/ModuleValueSelector/index.js +2 -1
- package/src/View/Components/NewScopeComponent.js +6 -3
- package/src/View/Components/Panels/PanelFooter.js +2 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
- package/src/View/Components/Panels/PanelWithImage.js +2 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
- package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
- package/src/View/Components/Popups/AdaptableToaster.js +2 -1
- package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
- package/src/View/Components/Popups/Utilities.js +8 -4
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
- package/src/View/Components/Selectors/ColumnSelector.js +2 -1
- package/src/View/Components/TagValueSelector/index.js +4 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
- 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.js +2 -1
- package/src/View/Components/WizardSummaryPage.js +2 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +4 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -3
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +6 -3
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +2 -1
- package/src/View/Dashboard/CustomDashboardButton.js +2 -1
- package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
- package/src/View/Dashboard/Dashboard.d.ts +1 -1
- package/src/View/Dashboard/Dashboard.js +4 -3
- package/src/View/Dashboard/DashboardPopup.js +1 -1
- package/src/View/Dashboard/ModuleToolbarWrapper.js +2 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +7 -0
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
- package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +2 -1
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -1
- package/src/View/DataChangeHistory/buildActionColumnButton.js +13 -9
- package/src/View/DataSet/DataSetSelector.js +2 -1
- package/src/View/DataSet/DataSetStatusPanelPopover.js +2 -1
- package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
- package/src/View/Export/ExportSelector.js +2 -1
- package/src/View/Export/ExportViewPanel.d.ts +1 -1
- package/src/View/Export/ReportExportDropdown.js +2 -1
- package/src/View/Export/Wizard/NewReportWizard.js +4 -2
- package/src/View/Export/Wizard/ReportColumnsWizardSection.js +6 -3
- package/src/View/Export/Wizard/ReportNameWizardSection.js +6 -3
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +6 -3
- package/src/View/Filter/ActiveFiltersPanel.js +2 -1
- package/src/View/Filter/FilterStatusBarSubPanelPopover.js +2 -1
- package/src/View/Filter/FilterSummary.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/FlashingCell/FlashingCellStyle.js +2 -1
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +4 -2
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +10 -5
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -3
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -1
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +8 -4
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +4 -2
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -2
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +4 -2
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -3
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -1
- package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -1
- package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -1
- package/src/View/GridInfo/GridInfoPopup.js +6 -4
- package/src/View/KeyHint.js +2 -1
- package/src/View/Layout/EditCurrentLayoutButton.js +2 -1
- package/src/View/Layout/LayoutCloneButton.js +2 -1
- package/src/View/Layout/LayoutEditorStandalonePopup.js +2 -1
- package/src/View/Layout/LayoutPopup.d.ts +1 -1
- package/src/View/Layout/LayoutRadioSelector.js +2 -1
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +2 -1
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/reducer.js +4 -2
- package/src/View/Layout/Wizard/LayoutEditor/utils.js +2 -1
- package/src/View/License/LicenseWatermark.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +2 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +6 -3
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
- package/src/View/Query/EditCurrentQueryButton.js +2 -1
- package/src/View/Query/ExpandedQueryPopup.js +2 -1
- package/src/View/Query/QueryViewPanel.d.ts +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +6 -3
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +6 -3
- package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
- package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
- package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +4 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +2 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -3
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
- package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
- package/src/View/StateManagement/StateManagementPopup.js +2 -1
- package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
- package/src/View/StateManagement/components/ClearButton.js +2 -1
- package/src/View/StateManagement/components/ExportDropdown.js +2 -1
- package/src/View/StateManagement/components/LoadButton.js +2 -1
- package/src/View/StateManagement/handleExportState.js +2 -1
- package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
- package/src/View/StatusBar/StatusBarPanel.js +2 -1
- package/src/View/StatusBar/StatusBarPopup.js +5 -4
- package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
- package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
- package/src/View/UIHelper.d.ts +2 -0
- package/src/View/UIHelper.js +12 -11
- package/src/View/Wizard/AdaptableWizard.js +2 -1
- package/src/View/Wizard/ObjectTagsWizardSection.js +4 -2
- package/src/View/Wizard/OnePageAdaptableWizard.js +10 -5
- package/src/View/Wizard/OnePageWizards.js +8 -4
- package/src/View/Wizard/useKeyboardNavigation.js +2 -1
- package/src/View/renderWithAdaptableContext.js +2 -1
- package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
- package/src/agGrid/ActionColumnRenderer.js +1 -1
- package/src/agGrid/Adaptable.js +31 -28
- package/src/agGrid/CheckboxRenderer.js +2 -1
- package/src/agGrid/FilterWrapper.js +2 -1
- package/src/agGrid/FloatingFilterWrapper.js +2 -1
- package/src/agGrid/PercentBarRenderer.js +2 -1
- package/src/agGrid/agGridHelper.js +3 -1
- package/src/agGrid/agGridMenuHelper.js +13 -10
- package/src/agGrid/createAgStatusPanelComponent.js +2 -1
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
- package/src/components/AdaptableIconComponent/index.d.ts +10 -0
- package/src/components/AdaptableIconComponent/index.js +40 -0
- package/src/components/CheckBox/index.js +2 -1
- package/src/components/CodeBlock/index.js +2 -1
- package/src/components/Dashboard/DashboardManager.js +1 -1
- package/src/components/Datepicker/DatepickerContext.js +2 -1
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
- package/src/components/DragAndDropContext/ModuleManager.js +5 -4
- package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
- package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
- package/src/components/EllipsisContainer/index.js +4 -2
- package/src/components/ExpressionEditor/EditorContext.js +2 -1
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
- package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
- package/src/components/FileDroppable/index.js +2 -1
- package/src/components/FormLayout/index.js +2 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +2 -4
- package/src/components/Loader/Loader.js +4 -2
- package/src/components/Logo/index.js +2 -1
- package/src/components/Modal/Backdrop.js +2 -1
- package/src/components/Modal/index.js +2 -1
- package/src/components/OverlayTrigger/Overlay.js +2 -1
- package/src/components/OverlayTrigger/index.js +2 -1
- package/src/components/OverlayTrigger/utils.js +6 -3
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
- package/src/components/Radio/index.js +4 -2
- package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
- package/src/components/ResizeObserver/index.js +6 -3
- package/src/components/SelectList.js +2 -1
- package/src/components/SelectableList/index.js +2 -1
- package/src/components/SimpleButton/index.d.ts +2 -1
- package/src/components/SimpleButton/index.js +19 -6
- package/src/components/StylePreview.js +2 -1
- package/src/components/Tabs/index.js +6 -3
- package/src/components/Textarea/index.d.ts +5 -1
- package/src/components/ToggleButton/index.js +2 -1
- package/src/components/WindowModal/WindowModal.js +2 -1
- package/src/components/WindowModal/useStacking.js +2 -1
- package/src/components/icons/DefaultIcon.js +2 -1
- package/src/components/icons/index.d.ts +3 -1
- package/src/components/icons/index.js +10 -2
- package/src/components/utils/useContainerScrollObserver/index.js +2 -1
- package/src/components/utils/useGlobalEvent.js +2 -1
- package/src/components/utils/useLatest.js +2 -1
- package/src/components/utils/useRerender.js +2 -1
- package/src/components/utils/uuid.js +2 -1
- package/src/metamodel/adaptable-metamodel-model.d.ts +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +219 -112
- package/src/metamodel/adaptable.metamodel.js +1 -12958
- package/src/types.d.ts +8 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/Api/Events/RowFormSubmitted.d.ts +0 -34
- package/src/components/ApplicationIcon.d.ts +0 -6
- package/src/components/ApplicationIcon.js +0 -13
|
@@ -3,7 +3,6 @@ import { LayoutApi } from '../LayoutApi';
|
|
|
3
3
|
import { LayoutState, Layout } from '../../PredefinedConfig/LayoutState';
|
|
4
4
|
import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
5
5
|
import { ColumnSort } from '../../PredefinedConfig/Common/ColumnSort';
|
|
6
|
-
import { LayoutAssociatedObject } from '../../types';
|
|
7
6
|
export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
|
|
8
7
|
getLayoutState(): LayoutState;
|
|
9
8
|
shouldAutoSaveLayout: (layout?: Layout) => boolean;
|
|
@@ -41,7 +40,6 @@ export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
|
|
|
41
40
|
isDefaultLayout(layout: Layout): boolean;
|
|
42
41
|
isCurrentLayoutDefault(): boolean;
|
|
43
42
|
areExpandedRowGroupsSavedInLayouts(): boolean;
|
|
44
|
-
isObjectAvailableInCurrentLayout(adaptableObject: LayoutAssociatedObject): boolean;
|
|
45
43
|
removeColumnFromCurrentLayout(columnId: string): void;
|
|
46
44
|
removeColumnFromAllLayouts(columnId: string): void;
|
|
47
45
|
removeColumnFromLayout(columnId: string, layoutName: string): void;
|
|
@@ -315,12 +315,6 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
315
315
|
return (this.getLayoutOptions().includeExpandedRowGroups ||
|
|
316
316
|
this.getLayoutOptions().displayRowGroups === 'dynamic');
|
|
317
317
|
}
|
|
318
|
-
isObjectAvailableInCurrentLayout(adaptableObject) {
|
|
319
|
-
var _a;
|
|
320
|
-
return ArrayExtensions_1.ArrayExtensions.IsNullOrEmpty(adaptableObject.Tags)
|
|
321
|
-
? true
|
|
322
|
-
: (_a = adaptableObject.Tags) === null || _a === void 0 ? void 0 : _a.map((tag) => tag).includes(this.getCurrentLayoutName());
|
|
323
|
-
}
|
|
324
318
|
removeColumnFromCurrentLayout(columnId) {
|
|
325
319
|
this.removeColumnFromLayout(columnId, this.getCurrentLayoutName());
|
|
326
320
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { ApiBase } from './ApiBase';
|
|
1
|
+
import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
|
|
2
2
|
import { PlusMinusState, PlusMinusNudge } from '../../PredefinedConfig/PlusMinusState';
|
|
3
3
|
import { PlusMinusApi } from '../PlusMinusApi';
|
|
4
4
|
import { GridCell } from '../../PredefinedConfig/Selection/GridCell';
|
|
5
5
|
export declare class PlusMinusApiImpl extends ApiBase implements PlusMinusApi {
|
|
6
6
|
getPlusMinusState(): PlusMinusState;
|
|
7
|
-
getAllPlusMinus(config?:
|
|
8
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
9
|
-
}): PlusMinusNudge[];
|
|
7
|
+
getAllPlusMinus(config?: LayoutAssociatedObjectLoadConfig): PlusMinusNudge[];
|
|
10
8
|
getPlusMinusById(id: PlusMinusNudge['Uuid']): PlusMinusNudge;
|
|
11
9
|
getAllActivePlusMinus(): PlusMinusNudge[];
|
|
12
10
|
getAllSuspendedPlusMinus(): PlusMinusNudge[];
|
|
@@ -10,9 +10,8 @@ class PlusMinusApiImpl extends ApiBase_1.ApiBase {
|
|
|
10
10
|
return this.getAdaptableState().PlusMinus;
|
|
11
11
|
}
|
|
12
12
|
getAllPlusMinus(config) {
|
|
13
|
-
var _a
|
|
14
|
-
const layoutSpecificPlusMinusNudges = (
|
|
15
|
-
this.adaptable.api.internalApi.isObjectAvailableInLayout(plusMinusNudge, 'PlusMinus'))) !== null && _b !== void 0 ? _b : [];
|
|
13
|
+
var _a;
|
|
14
|
+
const layoutSpecificPlusMinusNudges = (_a = this.handleLayoutAssociatedObjects(this.getPlusMinusState().PlusMinusNudges, 'PlusMinus', config)) !== null && _a !== void 0 ? _a : [];
|
|
16
15
|
return layoutSpecificPlusMinusNudges.filter((plusMinusNudge) => plusMinusNudge.Rule == undefined || plusMinusNudge.Rule.BooleanExpression != undefined);
|
|
17
16
|
}
|
|
18
17
|
getPlusMinusById(id) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiBase } from './ApiBase';
|
|
1
|
+
import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
|
|
2
2
|
import { ScheduleApi } from '../ScheduleApi';
|
|
3
3
|
import { BaseSchedule } from '../../PredefinedConfig/Common/Schedule';
|
|
4
4
|
import { ReportSchedule } from '../../PredefinedConfig/ExportState';
|
|
@@ -9,9 +9,7 @@ import { ReminderSchedule, ScheduleState } from '../../PredefinedConfig/Schedule
|
|
|
9
9
|
export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
10
10
|
getScheduleState(): ScheduleState;
|
|
11
11
|
getAllSchedule(): BaseSchedule[];
|
|
12
|
-
getAllReminderSchedule(config?:
|
|
13
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
14
|
-
}): ReminderSchedule[];
|
|
12
|
+
getAllReminderSchedule(config?: LayoutAssociatedObjectLoadConfig): ReminderSchedule[];
|
|
15
13
|
getScheduleById(id: BaseSchedule['Uuid']): BaseSchedule;
|
|
16
14
|
getAllActiveReminderSchedule(): ReminderSchedule[];
|
|
17
15
|
getAllSuspendedReminderSchedule(): ReminderSchedule[];
|
|
@@ -20,9 +18,7 @@ export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
|
20
18
|
editReminderSchedule(schedule: ReminderSchedule): ReminderSchedule;
|
|
21
19
|
suspendReminderSchedule(schedule: ReminderSchedule): ReminderSchedule;
|
|
22
20
|
unSuspendReminderSchedule(schedule: ReminderSchedule): ReminderSchedule;
|
|
23
|
-
getAllReportSchedule(config?:
|
|
24
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
25
|
-
}): ReportSchedule[];
|
|
21
|
+
getAllReportSchedule(config?: LayoutAssociatedObjectLoadConfig): ReportSchedule[];
|
|
26
22
|
getAllActiveReportSchedule(): ReportSchedule[];
|
|
27
23
|
getAllSuspendedReportSchedule(): ReportSchedule[];
|
|
28
24
|
addReportSchedule(schedule: ReportSchedule): ReportSchedule;
|
|
@@ -30,9 +26,7 @@ export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
|
30
26
|
deleteReportSchedule(schedule: ReportSchedule): void;
|
|
31
27
|
suspendReportSchedule(schedule: ReportSchedule): ReportSchedule;
|
|
32
28
|
unSuspendReportSchedule(schedule: ReportSchedule): ReportSchedule;
|
|
33
|
-
getAllIPushPullSchedule(config?:
|
|
34
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
35
|
-
}): IPushPullSchedule[];
|
|
29
|
+
getAllIPushPullSchedule(config?: LayoutAssociatedObjectLoadConfig): IPushPullSchedule[];
|
|
36
30
|
getAllActiveIPushPullSchedule(): IPushPullSchedule[];
|
|
37
31
|
getAllSuspendedIPushPullSchedule(): IPushPullSchedule[];
|
|
38
32
|
addIPushPullSchedule(schedule: IPushPullSchedule): IPushPullSchedule;
|
|
@@ -40,9 +34,7 @@ export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
|
40
34
|
deleteIPushPullSchedule(schedule: IPushPullSchedule): void;
|
|
41
35
|
suspendIPushPullSchedule(schedule: IPushPullSchedule): IPushPullSchedule;
|
|
42
36
|
unSuspendIPushPullSchedule(schedule: IPushPullSchedule): IPushPullSchedule;
|
|
43
|
-
getAllGlue42Schedule(config?:
|
|
44
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
45
|
-
}): Glue42Schedule[];
|
|
37
|
+
getAllGlue42Schedule(config?: LayoutAssociatedObjectLoadConfig): Glue42Schedule[];
|
|
46
38
|
getAllActiveGlue42Schedule(): Glue42Schedule[];
|
|
47
39
|
getAllSuspendedGlue42Schedule(): Glue42Schedule[];
|
|
48
40
|
addGlue42Schedule(schedule: Glue42Schedule): Glue42Schedule;
|
|
@@ -50,9 +42,7 @@ export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
|
50
42
|
deleteGlue42Schedule(schedule: Glue42Schedule): void;
|
|
51
43
|
suspendGlue42Schedule(schedule: Glue42Schedule): Glue42Schedule;
|
|
52
44
|
unSuspendGlue42Schedule(schedule: Glue42Schedule): Glue42Schedule;
|
|
53
|
-
getAllOpenFinSchedule(config?:
|
|
54
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
55
|
-
}): OpenFinSchedule[];
|
|
45
|
+
getAllOpenFinSchedule(config?: LayoutAssociatedObjectLoadConfig): OpenFinSchedule[];
|
|
56
46
|
getAllActiveOpenFinSchedule(): OpenFinSchedule[];
|
|
57
47
|
getAllSuspendedOpenFinSchedule(): OpenFinSchedule[];
|
|
58
48
|
addOpenFinSchedule(schedule: OpenFinSchedule): OpenFinSchedule;
|
|
@@ -19,9 +19,8 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
19
19
|
return allSchedules;
|
|
20
20
|
}
|
|
21
21
|
getAllReminderSchedule(config) {
|
|
22
|
-
var _a
|
|
23
|
-
return ((
|
|
24
|
-
this.adaptable.api.internalApi.isObjectAvailableInLayout(schedule, 'Schedule'))) !== null && _b !== void 0 ? _b : []);
|
|
22
|
+
var _a;
|
|
23
|
+
return ((_a = this.handleLayoutAssociatedObjects(this.getScheduleState().Reminders, 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
25
24
|
}
|
|
26
25
|
getScheduleById(id) {
|
|
27
26
|
return this.getAllSchedule().find((schedule) => (schedule === null || schedule === void 0 ? void 0 : schedule.Uuid) === id);
|
|
@@ -52,10 +51,8 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
52
51
|
return this.getScheduleById(schedule.Uuid);
|
|
53
52
|
}
|
|
54
53
|
getAllReportSchedule(config) {
|
|
55
|
-
var _a
|
|
56
|
-
return ((
|
|
57
|
-
.getReportSchedules()) === null || _a === void 0 ? void 0 : _a.filter((schedule) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
58
|
-
this.adaptable.api.internalApi.isObjectAvailableInLayout(schedule, 'Schedule'))) !== null && _b !== void 0 ? _b : []);
|
|
54
|
+
var _a;
|
|
55
|
+
return ((_a = this.handleLayoutAssociatedObjects(this.adaptable.api.exportApi.getReportSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
59
56
|
}
|
|
60
57
|
getAllActiveReportSchedule() {
|
|
61
58
|
return this.getAllReportSchedule().filter((schedule) => !schedule.IsSuspended);
|
|
@@ -83,10 +80,9 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
83
80
|
return this.getScheduleById(schedule.Uuid);
|
|
84
81
|
}
|
|
85
82
|
getAllIPushPullSchedule(config) {
|
|
86
|
-
var _a
|
|
83
|
+
var _a;
|
|
87
84
|
const ippApi = this.adaptable.api.pluginsApi.getipushpullPluginApi();
|
|
88
|
-
return ((
|
|
89
|
-
this.adaptable.api.internalApi.isObjectAvailableInLayout(schedule, 'Schedule'))) !== null && _b !== void 0 ? _b : []);
|
|
85
|
+
return ((_a = this.handleLayoutAssociatedObjects(ippApi === null || ippApi === void 0 ? void 0 : ippApi.getIPushPullSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
90
86
|
}
|
|
91
87
|
getAllActiveIPushPullSchedule() {
|
|
92
88
|
return this.getAllIPushPullSchedule().filter((schedule) => !schedule.IsSuspended);
|
|
@@ -114,10 +110,9 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
114
110
|
return this.getScheduleById(schedule.Uuid);
|
|
115
111
|
}
|
|
116
112
|
getAllGlue42Schedule(config) {
|
|
117
|
-
var _a
|
|
113
|
+
var _a;
|
|
118
114
|
const glue42Api = this.adaptable.api.pluginsApi.getGlue42PluginApi();
|
|
119
|
-
return ((
|
|
120
|
-
this.adaptable.api.internalApi.isObjectAvailableInLayout(schedule, 'Schedule'))) !== null && _b !== void 0 ? _b : []);
|
|
115
|
+
return ((_a = this.handleLayoutAssociatedObjects(glue42Api === null || glue42Api === void 0 ? void 0 : glue42Api.getGlue42Schedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
121
116
|
}
|
|
122
117
|
getAllActiveGlue42Schedule() {
|
|
123
118
|
return this.getAllGlue42Schedule().filter((schedule) => !schedule.IsSuspended);
|
|
@@ -145,10 +140,9 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
145
140
|
return this.getScheduleById(schedule.Uuid);
|
|
146
141
|
}
|
|
147
142
|
getAllOpenFinSchedule(config) {
|
|
148
|
-
var _a
|
|
143
|
+
var _a;
|
|
149
144
|
const openFinApi = this.adaptable.api.pluginsApi.getOpenFinPluginApi();
|
|
150
|
-
return ((
|
|
151
|
-
this.adaptable.api.internalApi.isObjectAvailableInLayout(schedule, 'Schedule'))) !== null && _b !== void 0 ? _b : []);
|
|
145
|
+
return ((_a = this.handleLayoutAssociatedObjects(openFinApi === null || openFinApi === void 0 ? void 0 : openFinApi.getOpenFinSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
152
146
|
}
|
|
153
147
|
getAllActiveOpenFinSchedule() {
|
|
154
148
|
return this.getAllOpenFinSchedule().filter((schedule) => !schedule.IsSuspended);
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { ApiBase } from './ApiBase';
|
|
1
|
+
import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
|
|
2
2
|
import { ShortcutApi } from '../ShortcutApi';
|
|
3
3
|
import { ShortcutState, Shortcut } from '../../PredefinedConfig/ShortcutState';
|
|
4
4
|
export declare class ShortcutApiImpl extends ApiBase implements ShortcutApi {
|
|
5
5
|
getShortcutState(): ShortcutState;
|
|
6
|
-
getAllShortcut(config?:
|
|
7
|
-
includeLayoutNotAssociatedObjects?: boolean;
|
|
8
|
-
}): Shortcut[];
|
|
6
|
+
getAllShortcut(config?: LayoutAssociatedObjectLoadConfig): Shortcut[];
|
|
9
7
|
getShortcutById(id: Shortcut['Uuid']): Shortcut;
|
|
10
8
|
getAllActiveShortcut(): Shortcut[];
|
|
11
9
|
getAllSuspendedShortcut(): Shortcut[];
|
|
@@ -10,9 +10,8 @@ class ShortcutApiImpl extends ApiBase_1.ApiBase {
|
|
|
10
10
|
return this.getAdaptableState().Shortcut;
|
|
11
11
|
}
|
|
12
12
|
getAllShortcut(config) {
|
|
13
|
-
var _a
|
|
14
|
-
return ((
|
|
15
|
-
this.adaptable.api.internalApi.isObjectAvailableInLayout(shortcut, 'Shortcut'))) !== null && _b !== void 0 ? _b : []);
|
|
13
|
+
var _a;
|
|
14
|
+
return ((_a = this.handleLayoutAssociatedObjects(this.getShortcutState().Shortcuts, 'Shortcut', config)) !== null && _a !== void 0 ? _a : []);
|
|
16
15
|
}
|
|
17
16
|
getShortcutById(id) {
|
|
18
17
|
return this.getAllShortcut().find((shortcut) => (shortcut === null || shortcut === void 0 ? void 0 : shortcut.Uuid) === id);
|
|
@@ -10,6 +10,6 @@ export declare class SmartEditApiImpl extends ApiBase implements SmartEditApi {
|
|
|
10
10
|
getSmartEditValue(): number;
|
|
11
11
|
showSmartEditPopup(): void;
|
|
12
12
|
applySmartEdit(gridCells: GridCell[]): void;
|
|
13
|
-
getSmartEditCustomOperations(): SmartEditCustomOperation[]
|
|
13
|
+
getSmartEditCustomOperations(): SmartEditCustomOperation[];
|
|
14
14
|
setCustomSmartEditOperation(customOperationName: string): void;
|
|
15
15
|
}
|
|
@@ -26,7 +26,8 @@ class SmartEditApiImpl extends ApiBase_1.ApiBase {
|
|
|
26
26
|
this.dispatchAction(SmartEditRedux.SmartEditApply(gridCells));
|
|
27
27
|
}
|
|
28
28
|
getSmartEditCustomOperations() {
|
|
29
|
-
|
|
29
|
+
var _a;
|
|
30
|
+
return (_a = this.getEditOptions().smartEditCustomOperations) !== null && _a !== void 0 ? _a : [];
|
|
30
31
|
}
|
|
31
32
|
setCustomSmartEditOperation(customOperationName) {
|
|
32
33
|
const customOperation = this.getSmartEditCustomOperations().find((so) => so.name == customOperationName);
|
|
@@ -1,8 +1,9 @@
|
|
|
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/all-modules';
|
|
4
5
|
export declare class StatusBarApiImpl extends ApiBase implements StatusBarApi {
|
|
5
|
-
|
|
6
|
-
getAgGridStatusPanels():
|
|
7
|
-
|
|
6
|
+
getAdaptableStatusBars(): AdaptableStatusBar[];
|
|
7
|
+
getAgGridStatusPanels(): GridOptions['statusBar']['statusPanels'];
|
|
8
|
+
setStatusBarPanels(statusPanels: AdaptableStatusBar[]): void;
|
|
8
9
|
}
|
|
@@ -4,13 +4,13 @@ exports.StatusBarApiImpl = void 0;
|
|
|
4
4
|
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
8
|
return StatusBarRedux_1.getStatusPanelsSelector(this.getAdaptableState());
|
|
9
9
|
}
|
|
10
10
|
getAgGridStatusPanels() {
|
|
11
11
|
return this.adaptable.getAgGridStatusPanels();
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
setStatusBarPanels(statusPanels) {
|
|
14
14
|
this.getAdaptableApi().internalApi.dispatchReduxAction(StatusBarRedux_1.StatusBarSetPanels(statusPanels));
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -27,7 +27,8 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
|
|
|
27
27
|
var _a, _b, _c;
|
|
28
28
|
return (!this.getAdaptableApi()
|
|
29
29
|
.internalApi.getEntitlementService()
|
|
30
|
-
.isModuleHiddenEntitlement(ModuleConstants.TeamSharingModuleId) &&
|
|
30
|
+
.isModuleHiddenEntitlement(ModuleConstants.TeamSharingModuleId) &&
|
|
31
|
+
((_a = this.adaptable.adaptableOptions.teamSharingOptions) === null || _a === void 0 ? void 0 : _a.enableTeamSharing) &&
|
|
31
32
|
!!((_b = this.adaptable.adaptableOptions.teamSharingOptions) === null || _b === void 0 ? void 0 : _b.getSharedEntities) &&
|
|
32
33
|
!!((_c = this.adaptable.adaptableOptions.teamSharingOptions) === null || _c === void 0 ? void 0 : _c.setSharedEntities));
|
|
33
34
|
}
|
|
@@ -3,7 +3,7 @@ import { UserInterfaceApi } from '../UserInterfaceApi';
|
|
|
3
3
|
import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
4
4
|
import { AdaptableStyle } from '../../PredefinedConfig/Common/AdaptableStyle';
|
|
5
5
|
import { ColumnMenuContext, ContextMenuContext, UserMenuItem } from '../../PredefinedConfig/Common/Menu';
|
|
6
|
-
import {
|
|
6
|
+
import { BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../../AdaptableOptions/UserInterfaceOptions';
|
|
7
7
|
import { AdaptableObjectTag, GridCell } from '../../types';
|
|
8
8
|
export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfaceApi {
|
|
9
9
|
getColorPalette(): string[];
|
|
@@ -25,5 +25,4 @@ export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfa
|
|
|
25
25
|
getEditableCellStyle(): AdaptableStyle | undefined;
|
|
26
26
|
getReadOnlyCellStyle(): AdaptableStyle | undefined;
|
|
27
27
|
getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
|
|
28
|
-
getAllActionColumn(): ActionColumn[];
|
|
29
28
|
}
|
|
@@ -162,9 +162,5 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
getAllActionColumn() {
|
|
166
|
-
var _a, _b;
|
|
167
|
-
return (_b = (_a = this.getUserInterfaceOptions().actionOptions) === null || _a === void 0 ? void 0 : _a.actionColumns) !== null && _b !== void 0 ? _b : [];
|
|
168
|
-
}
|
|
169
165
|
}
|
|
170
166
|
exports.UserInterfaceApiImpl = UserInterfaceApiImpl;
|
package/src/Api/InternalApi.d.ts
CHANGED
|
@@ -126,7 +126,7 @@ export interface InternalApi {
|
|
|
126
126
|
initializeDataChangeHistory(): void;
|
|
127
127
|
isTextComparisonCaseSensitive(): boolean;
|
|
128
128
|
hasLayoutSpecificObjects(): boolean;
|
|
129
|
-
isObjectAvailableInLayout(object: LayoutAssociatedObject, module: AdaptableModule): boolean;
|
|
129
|
+
isObjectAvailableInLayout(object: LayoutAssociatedObject, module: AdaptableModule, layout: Layout): boolean;
|
|
130
130
|
showLayoutNotAssociatedObjects(): boolean;
|
|
131
131
|
executeWithProgressIndicator(label: string, executeFn: () => unknown): void;
|
|
132
132
|
hideProgressIndicator(): void;
|
package/src/Api/LayoutApi.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdaptableColumn, ColumnSort
|
|
1
|
+
import { AdaptableColumn, ColumnSort } from '../../types';
|
|
2
2
|
import { LayoutState, Layout } from '../PredefinedConfig/LayoutState';
|
|
3
3
|
/**
|
|
4
4
|
* Provides run-time access to the Layout Module and associated state
|
|
@@ -182,11 +182,6 @@ export interface LayoutApi {
|
|
|
182
182
|
* Returns true if Layouts will contain Expanded Row Groups information
|
|
183
183
|
*/
|
|
184
184
|
areExpandedRowGroupsSavedInLayouts(): boolean;
|
|
185
|
-
/**
|
|
186
|
-
* Does an object's Tags include the Current Layout
|
|
187
|
-
* @param adaptableObject object to check
|
|
188
|
-
*/
|
|
189
|
-
isObjectAvailableInCurrentLayout(adaptableObject: LayoutAssociatedObject): boolean;
|
|
190
185
|
/**
|
|
191
186
|
* Removes a Column from the Current Layout
|
|
192
187
|
* @param columnId Column to remove
|
|
@@ -4,7 +4,14 @@ export interface StatusBarApi {
|
|
|
4
4
|
/**
|
|
5
5
|
* Retrieves the current AG Grid Status Bar Panels
|
|
6
6
|
*/
|
|
7
|
-
getAgGridStatusPanels
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
getAgGridStatusPanels(): GridOptions['statusBar']['statusPanels'];
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves the current Adaptable Status Bar Panels
|
|
10
|
+
*/
|
|
11
|
+
getAdaptableStatusBars: () => AdaptableStatusBar[];
|
|
12
|
+
/**
|
|
13
|
+
* Sets the current Adaptable Status Bar Panels
|
|
14
|
+
* @param statusPanels the Adaptable Status Bar Panels
|
|
15
|
+
*/
|
|
16
|
+
setStatusBarPanels: (statusPanels: AdaptableStatusBar[]) => void;
|
|
10
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
2
2
|
import { AdaptableStyle } from '../PredefinedConfig/Common/AdaptableStyle';
|
|
3
3
|
import { ColumnMenuContext, ContextMenuContext, UserMenuItem } from '../PredefinedConfig/Common/Menu';
|
|
4
|
-
import {
|
|
4
|
+
import { BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../AdaptableOptions/UserInterfaceOptions';
|
|
5
5
|
import { GridCell } from '../PredefinedConfig/Selection/GridCell';
|
|
6
6
|
import { AdaptableObjectTag } from '../PredefinedConfig/Common/AdaptableObject';
|
|
7
7
|
/**
|
|
@@ -74,8 +74,4 @@ export interface UserInterfaceApi {
|
|
|
74
74
|
* Retrieves any Object Tags (provided in User Interface Options)
|
|
75
75
|
*/
|
|
76
76
|
getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
|
|
77
|
-
/**
|
|
78
|
-
* Retrieves any Action Columns (provided in User Interface Options)
|
|
79
|
-
*/
|
|
80
|
-
getAllActionColumn(): ActionColumn[];
|
|
81
77
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isAdaptableRowChangedAlert = exports.isAdaptableCellChangedAlert = void 0;
|
|
4
|
-
|
|
4
|
+
const isAdaptableCellChangedAlert = (alert) => {
|
|
5
5
|
return alert.alertType === 'cellChanged';
|
|
6
6
|
};
|
|
7
|
-
exports.
|
|
7
|
+
exports.isAdaptableCellChangedAlert = isAdaptableCellChangedAlert;
|
|
8
|
+
const isAdaptableRowChangedAlert = (alert) => {
|
|
8
9
|
return alert.alertType === 'rowChanged';
|
|
9
10
|
};
|
|
11
|
+
exports.isAdaptableRowChangedAlert = isAdaptableRowChangedAlert;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isValidOrderForColumnGroups = void 0;
|
|
4
4
|
// this is only implemented for 1 level groups
|
|
5
|
-
|
|
5
|
+
const isValidOrderForColumnGroups = ({ oldColumns, newColumns, }) => {
|
|
6
6
|
const getGroups = (columns) => {
|
|
7
7
|
let prevGroup = '';
|
|
8
8
|
let count = 0;
|
|
@@ -24,3 +24,4 @@ exports.isValidOrderForColumnGroups = ({ oldColumns, newColumns, }) => {
|
|
|
24
24
|
}
|
|
25
25
|
return true;
|
|
26
26
|
};
|
|
27
|
+
exports.isValidOrderForColumnGroups = isValidOrderForColumnGroups;
|
|
@@ -56,4 +56,4 @@ export interface AdaptableFormField {
|
|
|
56
56
|
}[];
|
|
57
57
|
}
|
|
58
58
|
export declare type AdaptableFormFieldType = 'text' | 'select' | 'date' | 'number' | 'checkbox' | 'textOutput';
|
|
59
|
-
export declare function getDefaultAdaptableFormData<T extends BaseContext = BaseContext>(formDef?: AdaptableForm<T>):
|
|
59
|
+
export declare function getDefaultAdaptableFormData<T extends BaseContext = BaseContext>(formDef?: AdaptableForm<T>): AdaptableFormData;
|
|
@@ -1,27 +1,33 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* Defines an icon to be used in AdapTable (e.g. in Dashboard Header
|
|
3
|
+
* Defines an icon to be used in AdapTable (e.g. in Dashboard Header, Buttons, Menu, etc.)
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
export declare type AdaptableIcon = AdaptableInternalIcon | AdaptableExternalIcon;
|
|
6
|
+
/**
|
|
7
|
+
* Defines an icon from the internal AdapTable icon set
|
|
8
|
+
*/
|
|
9
|
+
export interface AdaptableInternalIcon extends AdaptableBaseIcon {
|
|
10
|
+
name: AdaptableInternalIconName;
|
|
11
|
+
size?: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Defines an icon from an external source
|
|
15
|
+
*/
|
|
16
|
+
export interface AdaptableExternalIcon extends AdaptableBaseIcon {
|
|
9
17
|
src: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Base interface for AdaptableIcon
|
|
21
|
+
*/
|
|
22
|
+
interface AdaptableBaseIcon {
|
|
10
23
|
/**
|
|
11
|
-
*
|
|
24
|
+
* The class name of the icon
|
|
12
25
|
*/
|
|
13
|
-
|
|
26
|
+
className?: string;
|
|
14
27
|
/**
|
|
15
|
-
*
|
|
28
|
+
* CSS Properties
|
|
16
29
|
*/
|
|
17
|
-
style?:
|
|
18
|
-
/**
|
|
19
|
-
* Width of the icon
|
|
20
|
-
*/
|
|
21
|
-
width?: number | string;
|
|
22
|
-
/**
|
|
23
|
-
* Height of the icon
|
|
24
|
-
*/
|
|
25
|
-
height?: number | string;
|
|
26
|
-
};
|
|
30
|
+
style?: CSSProperties;
|
|
27
31
|
}
|
|
32
|
+
export declare type AdaptableInternalIconName = string;
|
|
33
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdaptableScope } from './AdaptableScope';
|
|
2
2
|
import { AdaptableColumn } from './AdaptableColumn';
|
|
3
|
-
import { AdaptableApi } from '../../types';
|
|
3
|
+
import { AdaptableApi, AdaptableIcon } from '../../types';
|
|
4
4
|
import { RowNode } from '@ag-grid-community/all-modules';
|
|
5
5
|
/**
|
|
6
6
|
* Predicate object used by AdapTableQL - essentially a boolean function
|
|
@@ -50,9 +50,7 @@ export interface AdaptablePredicateDef {
|
|
|
50
50
|
/**
|
|
51
51
|
* Icon to show (primarily used in Filter dropdown)
|
|
52
52
|
*/
|
|
53
|
-
icon?: {
|
|
54
|
-
path: string;
|
|
55
|
-
} | {
|
|
53
|
+
icon?: AdaptableIcon | {
|
|
56
54
|
text: string;
|
|
57
55
|
};
|
|
58
56
|
/**
|