@adaptabletools/adaptable 12.0.0-canary.2 → 12.0.0-canary.5
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 +41 -14
- package/bundle.cjs.js +159 -142
- package/index.css +49 -14
- package/package.json +3 -3
- 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/AlertOptions.d.ts +5 -9
- package/src/AdaptableOptions/ColumnOptions.d.ts +4 -0
- package/src/AdaptableOptions/DashboardOptions.d.ts +1 -5
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +19 -4
- package/src/AdaptableOptions/EditOptions.d.ts +8 -62
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
- package/src/AdaptableOptions/GeneralOptions.d.ts +7 -0
- package/src/AdaptableOptions/LayoutOptions.d.ts +6 -1
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
- package/src/AdaptableOptions/StateOptions.d.ts +10 -0
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -5
- 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/AlertApi.d.ts +3 -3
- package/src/Api/ConfigApi.d.ts +1 -1
- package/src/Api/EventApi.d.ts +9 -9
- package/src/Api/Events/ActionRowSubmitted.d.ts +34 -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 +3 -3
- package/src/Api/Implementation/ApiBase.d.ts +2 -1
- package/src/Api/Implementation/ApiBase.js +3 -0
- package/src/Api/Implementation/ColumnApiImpl.js +2 -2
- package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
- package/src/Api/Implementation/GridApiImpl.js +0 -44
- package/src/Api/Implementation/InternalApiImpl.d.ts +3 -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/SmartEditApi.d.ts +1 -1
- package/src/Api/StatusBarApi.d.ts +10 -3
- package/src/Api/UserInterfaceApi.d.ts +1 -5
- package/src/PredefinedConfig/AlertState.d.ts +4 -4
- 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/FormContext.d.ts +3 -0
- 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 +10 -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/LayoutModule.d.ts +2 -17
- package/src/Strategy/LayoutModule.js +6 -3
- 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.d.ts +13 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +13 -10
- 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.d.ts +3 -3
- 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.d.ts +2 -2
- 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 +5 -5
- 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/Caption.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 +211 -101
- package/src/metamodel/adaptable.metamodel.js +1 -12874
- package/src/types.d.ts +7 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/Api/Events/RowFormSubmitted.d.ts +0 -19
- package/src/components/ApplicationIcon.d.ts +0 -6
- package/src/components/ApplicationIcon.js +0 -13
|
@@ -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;
|
|
@@ -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
|
}
|
|
@@ -10,7 +10,7 @@ import { AdaptableStyle } from './Common/AdaptableStyle';
|
|
|
10
10
|
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
11
11
|
import { AdaptableAggregatedBooleanQuery, AdaptableBooleanQuery, AdaptableObservableQuery } from './Common/AdaptableQuery';
|
|
12
12
|
import { ButtonStyle } from './Common/ButtonStyle';
|
|
13
|
-
import {
|
|
13
|
+
import { AlertFormContext, BaseContext } from '../types';
|
|
14
14
|
/**
|
|
15
15
|
* Predefined Configuration for Alert Module
|
|
16
16
|
*/
|
|
@@ -49,8 +49,8 @@ export interface AlertDefinition extends SuspendableObject {
|
|
|
49
49
|
*/
|
|
50
50
|
AlertForm?: string | AlertButtonForm;
|
|
51
51
|
}
|
|
52
|
-
export declare type AlertButtonForm = Omit<AdaptableForm<
|
|
53
|
-
Buttons?: AlertButton<
|
|
52
|
+
export declare type AlertButtonForm = Omit<AdaptableForm<AlertFormContext>, 'title' | 'buttons' | 'fields' | 'description'> & {
|
|
53
|
+
Buttons?: AlertButton<AlertFormContext>[];
|
|
54
54
|
};
|
|
55
55
|
export interface AlertDefinitionPredicate extends AdaptablePredicate {
|
|
56
56
|
PredicateId: TypeHint<string, SystemAlertPredicateId>;
|
|
@@ -69,7 +69,7 @@ export declare type AdaptableAlertAction = 'highlight-cell' | 'highlight-row' |
|
|
|
69
69
|
/**
|
|
70
70
|
* Defines a button that appears in an Alert Form
|
|
71
71
|
*/
|
|
72
|
-
export interface AlertButton<
|
|
72
|
+
export interface AlertButton<AlertFormContext> extends Omit<AdaptableButton<BaseContext>, 'onClick' | 'label' | 'buttonStyle' | 'hidden' | 'disabled' | 'tooltip'> {
|
|
73
73
|
/**
|
|
74
74
|
* Predefined Action(s) to trigger when button is clicked; but the implementation in `actionHandlers` property of Alert Options
|
|
75
75
|
*/
|
|
@@ -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
|
/**
|
|
@@ -76,7 +76,7 @@ exports.SystemPredicateDefs = [
|
|
|
76
76
|
{
|
|
77
77
|
id: 'Blanks',
|
|
78
78
|
label: 'Blanks',
|
|
79
|
-
icon: {
|
|
79
|
+
icon: { name: 'blanks' },
|
|
80
80
|
columnScope: { All: true },
|
|
81
81
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
82
82
|
handler: ({ value }) => Helper_1.default.IsInputNullOrEmpty(value),
|
|
@@ -84,7 +84,7 @@ exports.SystemPredicateDefs = [
|
|
|
84
84
|
{
|
|
85
85
|
id: 'NonBlanks',
|
|
86
86
|
label: 'Non Blanks',
|
|
87
|
-
icon: {
|
|
87
|
+
icon: { name: 'non-blanks' },
|
|
88
88
|
columnScope: { All: true },
|
|
89
89
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
90
90
|
handler: ({ value }) => Helper_1.default.IsInputNotNullOrEmpty(value),
|
|
@@ -93,7 +93,7 @@ exports.SystemPredicateDefs = [
|
|
|
93
93
|
{
|
|
94
94
|
id: 'GreaterThan',
|
|
95
95
|
label: 'Greater Than',
|
|
96
|
-
icon: {
|
|
96
|
+
icon: { name: 'greater-than' },
|
|
97
97
|
columnScope: { DataTypes: ['Number'] },
|
|
98
98
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
99
99
|
inputs: [{ type: 'number' }],
|
|
@@ -104,7 +104,7 @@ exports.SystemPredicateDefs = [
|
|
|
104
104
|
{
|
|
105
105
|
id: 'LessThan',
|
|
106
106
|
label: 'Less Than',
|
|
107
|
-
icon: {
|
|
107
|
+
icon: { name: 'less-than' },
|
|
108
108
|
columnScope: { DataTypes: ['Number'] },
|
|
109
109
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
110
110
|
inputs: [{ type: 'number' }],
|
|
@@ -139,7 +139,7 @@ exports.SystemPredicateDefs = [
|
|
|
139
139
|
{
|
|
140
140
|
id: 'Equals',
|
|
141
141
|
label: 'Equals',
|
|
142
|
-
icon: {
|
|
142
|
+
icon: { name: 'equal' },
|
|
143
143
|
columnScope: { DataTypes: ['Number'] },
|
|
144
144
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
145
145
|
inputs: [{ type: 'number' }],
|
|
@@ -150,7 +150,7 @@ exports.SystemPredicateDefs = [
|
|
|
150
150
|
{
|
|
151
151
|
id: 'NotEquals',
|
|
152
152
|
label: 'Not Equals',
|
|
153
|
-
icon: {
|
|
153
|
+
icon: { name: 'not-equal' },
|
|
154
154
|
columnScope: { DataTypes: ['Number'] },
|
|
155
155
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
156
156
|
inputs: [{ type: 'number' }],
|
|
@@ -192,7 +192,7 @@ exports.SystemPredicateDefs = [
|
|
|
192
192
|
{
|
|
193
193
|
id: 'Is',
|
|
194
194
|
label: 'Equals',
|
|
195
|
-
icon: {
|
|
195
|
+
icon: { name: 'equal' },
|
|
196
196
|
columnScope: { DataTypes: ['String'] },
|
|
197
197
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
198
198
|
inputs: [{ type: 'text' }],
|
|
@@ -211,7 +211,7 @@ exports.SystemPredicateDefs = [
|
|
|
211
211
|
{
|
|
212
212
|
id: 'IsNot',
|
|
213
213
|
label: 'Not Equals',
|
|
214
|
-
icon: {
|
|
214
|
+
icon: { name: 'not-equal' },
|
|
215
215
|
columnScope: { DataTypes: ['String'] },
|
|
216
216
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
217
217
|
inputs: [{ type: 'text' }],
|
|
@@ -230,7 +230,7 @@ exports.SystemPredicateDefs = [
|
|
|
230
230
|
{
|
|
231
231
|
id: 'Contains',
|
|
232
232
|
label: 'Contains',
|
|
233
|
-
icon: {
|
|
233
|
+
icon: { name: 'contains' },
|
|
234
234
|
columnScope: { DataTypes: ['String'] },
|
|
235
235
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
236
236
|
inputs: [{ type: 'text' }],
|
|
@@ -248,7 +248,7 @@ exports.SystemPredicateDefs = [
|
|
|
248
248
|
{
|
|
249
249
|
id: 'NotContains',
|
|
250
250
|
label: 'Not Contains',
|
|
251
|
-
icon: {
|
|
251
|
+
icon: { name: 'not-contains' },
|
|
252
252
|
columnScope: { DataTypes: ['String'] },
|
|
253
253
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
254
254
|
inputs: [{ type: 'text' }],
|
|
@@ -266,7 +266,7 @@ exports.SystemPredicateDefs = [
|
|
|
266
266
|
{
|
|
267
267
|
id: 'StartsWith',
|
|
268
268
|
label: 'Starts With',
|
|
269
|
-
icon: {
|
|
269
|
+
icon: { name: 'format-letter-starts-with' },
|
|
270
270
|
columnScope: { DataTypes: ['String'] },
|
|
271
271
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
272
272
|
inputs: [{ type: 'text' }],
|
|
@@ -284,7 +284,7 @@ exports.SystemPredicateDefs = [
|
|
|
284
284
|
{
|
|
285
285
|
id: 'EndsWith',
|
|
286
286
|
label: 'Ends With',
|
|
287
|
-
icon: {
|
|
287
|
+
icon: { name: 'format-letter-ends-with' },
|
|
288
288
|
columnScope: { DataTypes: ['String'] },
|
|
289
289
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
290
290
|
inputs: [{ type: 'text' }],
|
|
@@ -302,7 +302,7 @@ exports.SystemPredicateDefs = [
|
|
|
302
302
|
{
|
|
303
303
|
id: 'Regex',
|
|
304
304
|
label: 'Regex',
|
|
305
|
-
icon: {
|
|
305
|
+
icon: { name: 'regex' },
|
|
306
306
|
columnScope: { DataTypes: ['String'] },
|
|
307
307
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
308
308
|
inputs: [{ type: 'text' }],
|
|
@@ -313,7 +313,7 @@ exports.SystemPredicateDefs = [
|
|
|
313
313
|
{
|
|
314
314
|
id: 'Today',
|
|
315
315
|
label: 'Today',
|
|
316
|
-
icon: {
|
|
316
|
+
icon: { name: 'calendar' },
|
|
317
317
|
columnScope: { DataTypes: ['Date'] },
|
|
318
318
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
319
319
|
handler: ({ value }) => isToday_1.default(DateHelper_1.parseDateValue(value)),
|
|
@@ -321,7 +321,7 @@ exports.SystemPredicateDefs = [
|
|
|
321
321
|
{
|
|
322
322
|
id: 'Yesterday',
|
|
323
323
|
label: 'Yesterday',
|
|
324
|
-
icon: {
|
|
324
|
+
icon: { name: 'calendar' },
|
|
325
325
|
columnScope: { DataTypes: ['Date'] },
|
|
326
326
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
327
327
|
handler: ({ value }) => isYesterday_1.default(DateHelper_1.parseDateValue(value)),
|
|
@@ -329,7 +329,7 @@ exports.SystemPredicateDefs = [
|
|
|
329
329
|
{
|
|
330
330
|
id: 'Tomorrow',
|
|
331
331
|
label: 'Tomorrow',
|
|
332
|
-
icon: {
|
|
332
|
+
icon: { name: 'calendar' },
|
|
333
333
|
columnScope: { DataTypes: ['Date'] },
|
|
334
334
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
335
335
|
handler: ({ value }) => isTomorrow_1.default(DateHelper_1.parseDateValue(value)),
|
|
@@ -337,7 +337,7 @@ exports.SystemPredicateDefs = [
|
|
|
337
337
|
{
|
|
338
338
|
id: 'ThisWeek',
|
|
339
339
|
label: 'This Week',
|
|
340
|
-
icon: {
|
|
340
|
+
icon: { name: 'calendar' },
|
|
341
341
|
columnScope: { DataTypes: ['Date'] },
|
|
342
342
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
343
343
|
handler: ({ value }) => isThisWeek_1.default(DateHelper_1.parseDateValue(value)),
|
|
@@ -345,7 +345,7 @@ exports.SystemPredicateDefs = [
|
|
|
345
345
|
{
|
|
346
346
|
id: 'ThisMonth',
|
|
347
347
|
label: 'This Month',
|
|
348
|
-
icon: {
|
|
348
|
+
icon: { name: 'calendar' },
|
|
349
349
|
columnScope: { DataTypes: ['Date'] },
|
|
350
350
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
351
351
|
handler: ({ value }) => isThisMonth_1.default(DateHelper_1.parseDateValue(value)),
|
|
@@ -353,7 +353,7 @@ exports.SystemPredicateDefs = [
|
|
|
353
353
|
{
|
|
354
354
|
id: 'ThisQuarter',
|
|
355
355
|
label: 'This Quarter',
|
|
356
|
-
icon: {
|
|
356
|
+
icon: { name: 'calendar' },
|
|
357
357
|
columnScope: { DataTypes: ['Date'] },
|
|
358
358
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
359
359
|
handler: ({ value }) => isThisQuarter_1.default(DateHelper_1.parseDateValue(value)),
|
|
@@ -361,7 +361,7 @@ exports.SystemPredicateDefs = [
|
|
|
361
361
|
{
|
|
362
362
|
id: 'ThisYear',
|
|
363
363
|
label: 'This Year',
|
|
364
|
-
icon: {
|
|
364
|
+
icon: { name: 'calendar' },
|
|
365
365
|
columnScope: { DataTypes: ['Date'] },
|
|
366
366
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
367
367
|
handler: ({ value }) => isThisYear_1.default(DateHelper_1.parseDateValue(value)),
|
|
@@ -369,7 +369,7 @@ exports.SystemPredicateDefs = [
|
|
|
369
369
|
{
|
|
370
370
|
id: 'InPast',
|
|
371
371
|
label: 'In Past',
|
|
372
|
-
icon: {
|
|
372
|
+
icon: { name: 'calendar' },
|
|
373
373
|
columnScope: { DataTypes: ['Date'] },
|
|
374
374
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
375
375
|
handler: ({ value }) => isPast_1.default(DateHelper_1.parseDateValue(value)),
|
|
@@ -377,7 +377,7 @@ exports.SystemPredicateDefs = [
|
|
|
377
377
|
{
|
|
378
378
|
id: 'InFuture',
|
|
379
379
|
label: 'In Future',
|
|
380
|
-
icon: {
|
|
380
|
+
icon: { name: 'calendar' },
|
|
381
381
|
columnScope: { DataTypes: ['Date'] },
|
|
382
382
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
383
383
|
handler: ({ value }) => isFuture_1.default(DateHelper_1.parseDateValue(value)),
|
|
@@ -385,55 +385,55 @@ exports.SystemPredicateDefs = [
|
|
|
385
385
|
{
|
|
386
386
|
id: 'After',
|
|
387
387
|
label: 'After',
|
|
388
|
-
icon: {
|
|
388
|
+
icon: { name: 'greater-than' },
|
|
389
389
|
columnScope: { DataTypes: ['Date'] },
|
|
390
390
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
391
391
|
inputs: [{ type: 'date' }],
|
|
392
|
-
handler: ({ value, inputs }) => isAfter_1.default(DateHelper_1.
|
|
392
|
+
handler: ({ value, inputs }) => isAfter_1.default(DateHelper_1.parseFilterValueDate(value), DateHelper_1.parseFilterInputDate(inputs[0])),
|
|
393
393
|
toString: ({ inputs }) => `> ${inputs[0]}`,
|
|
394
394
|
},
|
|
395
395
|
{
|
|
396
396
|
id: 'Before',
|
|
397
397
|
label: 'Before',
|
|
398
|
-
icon: {
|
|
398
|
+
icon: { name: 'less-than' },
|
|
399
399
|
columnScope: { DataTypes: ['Date'] },
|
|
400
400
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
401
401
|
inputs: [{ type: 'date' }],
|
|
402
|
-
handler: ({ value, inputs }) => isBefore_1.default(DateHelper_1.
|
|
402
|
+
handler: ({ value, inputs }) => isBefore_1.default(DateHelper_1.parseFilterValueDate(value), DateHelper_1.parseFilterInputDate(inputs[0])),
|
|
403
403
|
toString: ({ inputs }) => `< ${inputs[0]}`,
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
406
|
id: 'On',
|
|
407
407
|
label: 'Equals',
|
|
408
|
-
icon: {
|
|
408
|
+
icon: { name: 'equal' },
|
|
409
409
|
columnScope: { DataTypes: ['Date'] },
|
|
410
410
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
411
411
|
inputs: [{ type: 'date' }],
|
|
412
|
-
handler: ({ value, inputs }) => isSameDay_1.default(DateHelper_1.
|
|
412
|
+
handler: ({ value, inputs }) => isSameDay_1.default(DateHelper_1.parseFilterValueDate(value), DateHelper_1.parseFilterInputDate(inputs[0])),
|
|
413
413
|
toString: ({ inputs }) => `= ${inputs[0]}`,
|
|
414
414
|
},
|
|
415
415
|
{
|
|
416
416
|
id: 'NotOn',
|
|
417
417
|
label: 'NotEquals',
|
|
418
|
-
icon: {
|
|
418
|
+
icon: { name: 'not-equal' },
|
|
419
419
|
columnScope: { DataTypes: ['Date'] },
|
|
420
420
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
421
421
|
inputs: [{ type: 'date' }],
|
|
422
|
-
handler: ({ value, inputs }) => !isSameDay_1.default(DateHelper_1.
|
|
422
|
+
handler: ({ value, inputs }) => !isSameDay_1.default(DateHelper_1.parseFilterValueDate(value), DateHelper_1.parseFilterInputDate(inputs[0])),
|
|
423
423
|
toString: ({ inputs }) => `!= ${inputs[0]}`,
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
426
|
id: 'NextWorkDay',
|
|
427
427
|
label: 'Next Work Day',
|
|
428
|
-
icon: {
|
|
428
|
+
icon: { name: 'calendar' },
|
|
429
429
|
columnScope: { DataTypes: ['Date'] },
|
|
430
430
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
431
|
-
handler: ({ value, api }) => isSameDay_1.default(DateHelper_1.
|
|
431
|
+
handler: ({ value, api }) => isSameDay_1.default(DateHelper_1.parseFilterValueDate(value), CalendarHelper_1.default.getNextWorkingDay()),
|
|
432
432
|
},
|
|
433
433
|
{
|
|
434
434
|
id: 'LastWorkDay',
|
|
435
435
|
label: 'Last Work Day',
|
|
436
|
-
icon: {
|
|
436
|
+
icon: { name: 'calendar' },
|
|
437
437
|
columnScope: { DataTypes: ['Date'] },
|
|
438
438
|
moduleScope: ['filter', 'alert', 'flashingcell', 'conditionalstyle'],
|
|
439
439
|
handler: ({ value, api }) => isSameDay_1.default(DateHelper_1.parseDateValue(value), CalendarHelper_1.default.getPreviousWorkingDay()),
|
|
@@ -441,11 +441,12 @@ exports.SystemPredicateDefs = [
|
|
|
441
441
|
{
|
|
442
442
|
id: 'InRange',
|
|
443
443
|
label: 'Range',
|
|
444
|
-
icon: {
|
|
444
|
+
icon: { name: 'date-range' },
|
|
445
445
|
columnScope: { DataTypes: ['Date'] },
|
|
446
446
|
moduleScope: ['filter'],
|
|
447
447
|
inputs: [{ type: 'date' }, { type: 'date' }],
|
|
448
448
|
handler: ({ value, inputs }) => new Date(value) >= new Date(inputs[0]) && new Date(value) <= new Date(inputs[1]),
|
|
449
|
+
// toString: ({ inputs }) => `From ${inputs[0]} To ${inputs[1]}`,
|
|
449
450
|
},
|
|
450
451
|
// Boolean System Filters
|
|
451
452
|
{
|
|
@@ -467,7 +468,7 @@ exports.SystemPredicateDefs = [
|
|
|
467
468
|
{
|
|
468
469
|
id: 'BooleanToggle',
|
|
469
470
|
label: 'BooleanToggle',
|
|
470
|
-
icon: {
|
|
471
|
+
icon: { name: 'boolean-list' },
|
|
471
472
|
columnScope: { DataTypes: ['Boolean'] },
|
|
472
473
|
moduleScope: ['filter'],
|
|
473
474
|
inputs: [{ type: 'boolean' }],
|
|
@@ -509,7 +510,8 @@ exports.SystemPredicateDefs = [
|
|
|
509
510
|
columnScope: { All: true },
|
|
510
511
|
moduleScope: ['alert'],
|
|
511
512
|
handler: ({ value, column, api, node }) => {
|
|
512
|
-
return (column === null || column === void 0 ? void 0 : column.isPrimaryKey)
|
|
513
|
+
return (column === null || column === void 0 ? void 0 : column.isPrimaryKey)
|
|
514
|
+
? api.columnApi.getDistinctRawValuesForColumn(column.columnId, node).includes(value)
|
|
513
515
|
: false;
|
|
514
516
|
},
|
|
515
517
|
},
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isReactiveQuery = void 0;
|
|
4
|
-
|
|
4
|
+
const isReactiveQuery = (query) => {
|
|
5
5
|
return !!query.ObservableExpression || !!query.AggregatedBooleanExpression;
|
|
6
6
|
};
|
|
7
|
+
exports.isReactiveQuery = isReactiveQuery;
|
|
@@ -5,7 +5,7 @@ import { AdaptableModule } from './Types';
|
|
|
5
5
|
import { SelectedCellInfo } from '../Selection/SelectedCellInfo';
|
|
6
6
|
import { SelectedRowInfo } from '../Selection/SelectedRowInfo';
|
|
7
7
|
import { Column, RowNode } from '@ag-grid-community/all-modules';
|
|
8
|
-
import { BaseContext } from '../../types';
|
|
8
|
+
import { AdaptableIcon, BaseContext } from '../../types';
|
|
9
9
|
/**
|
|
10
10
|
* Menu item used by Adaptable in both Column and Context Menus
|
|
11
11
|
*/
|
|
@@ -33,7 +33,7 @@ export interface AdaptableMenuItem {
|
|
|
33
33
|
/**
|
|
34
34
|
* Icon to display in Menu Item
|
|
35
35
|
*/
|
|
36
|
-
icon?:
|
|
36
|
+
icon?: AdaptableIcon;
|
|
37
37
|
/**
|
|
38
38
|
* Sub Menu Items to display
|
|
39
39
|
*/
|
|
@@ -62,7 +62,7 @@ export interface UserMenuItem<CONTEXT_TYPE extends BaseContext> {
|
|
|
62
62
|
/**
|
|
63
63
|
* Optional icon to display
|
|
64
64
|
*/
|
|
65
|
-
icon?:
|
|
65
|
+
icon?: AdaptableIcon;
|
|
66
66
|
/**
|
|
67
67
|
* Array of Menu Items, enabling limitless levels of menus
|
|
68
68
|
*/
|
|
@@ -22,7 +22,7 @@ export declare type AdaptableModuleButtons = AdaptableModuleButton[];
|
|
|
22
22
|
/**
|
|
23
23
|
* List of all the Module buttons Adaptable provides - each Module has a popup for which this is a shortcut button
|
|
24
24
|
*/
|
|
25
|
-
export declare type AdaptableModuleButton = 'Alert' | '
|
|
25
|
+
export declare type AdaptableModuleButton = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme';
|
|
26
26
|
export declare type AdaptableStateKeys = AdaptableStateKey[];
|
|
27
27
|
export declare type AdaptableStateKey = keyof AdaptablePersistentState | 'OpenFin' | 'Glue42' | 'IPushPull';
|
|
28
28
|
/**
|
|
@@ -14,13 +14,16 @@ export interface StatusBarState extends ConfigState {
|
|
|
14
14
|
* Name of the component specified in ag-grid gridOptions.statusBar.statusPanels
|
|
15
15
|
*/
|
|
16
16
|
export declare const ADAPTABLE_STATUS_PANEL = "AdaptableStatusPanel";
|
|
17
|
+
/**
|
|
18
|
+
* Defines an Adaptable Status Bar
|
|
19
|
+
*/
|
|
17
20
|
export interface AdaptableStatusBar {
|
|
18
21
|
/**
|
|
19
|
-
* Key of
|
|
22
|
+
* Key of Status Bar Panel defined in AG Grid GridOptions - ensure keys are the same (Note: AG Grid statusPanel has a lowercase 'key')
|
|
20
23
|
*/
|
|
21
24
|
Key: string;
|
|
22
25
|
/**
|
|
23
|
-
* Module Panels to render inside
|
|
26
|
+
* Module Status Panels to render inside Adaptable Status Bar
|
|
24
27
|
*/
|
|
25
28
|
StatusBarPanels?: AdaptableStatusBarPanel[];
|
|
26
29
|
}
|
|
@@ -3,4 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.createUuid = void 0;
|
|
4
4
|
const uuid_1 = require("uuid");
|
|
5
5
|
// TODO: replace this redundancy with 'the createUuid()' from 'utils/uuid.ts'
|
|
6
|
-
|
|
6
|
+
const createUuid = () => uuid_1.v4();
|
|
7
|
+
exports.createUuid = createUuid;
|