@adaptabletools/adaptable 17.0.0-canary.0 → 17.0.0-canary.1
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 +1203 -1207
- package/base.css.map +1 -1
- package/index.css +28 -1989
- package/index.css.map +1 -1
- package/package.json +10 -108
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +2 -2
- package/src/AdaptableInterfaces/IAdaptable.d.ts +16 -11
- package/src/AdaptableOptions/ActionRowOptions.d.ts +25 -3
- package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +3 -3
- package/src/AdaptableOptions/AdaptableOptions.d.ts +10 -1
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +1 -1
- package/src/AdaptableOptions/AlertOptions.d.ts +2 -2
- package/src/AdaptableOptions/ColumnFilterOptions.d.ts +110 -91
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
- package/src/AdaptableOptions/DateInputOptions.d.ts +1 -1
- package/src/AdaptableOptions/EditOptions.d.ts +2 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +3 -3
- package/src/AdaptableOptions/ExpressionOptions.d.ts +2 -2
- package/src/AdaptableOptions/Fdc3Options.d.ts +10 -4
- package/src/AdaptableOptions/GridFilterOptions.d.ts +18 -0
- package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
- package/src/AdaptableOptions/MenuOptions.d.ts +10 -4
- package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -1
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +4 -4
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -16
- package/src/Api/ColumnApi.d.ts +4 -0
- package/src/Api/ColumnFilterApi.d.ts +2 -5
- package/src/Api/DashboardApi.d.ts +0 -11
- package/src/Api/EventApi.d.ts +2 -30
- package/src/Api/Events/ActionRowSubmitted.d.ts +1 -5
- package/src/Api/Events/AdaptableSearchState.d.ts +2 -7
- package/src/Api/Events/Fdc3MessageInfo.d.ts +1 -1
- package/src/Api/Events/GridFilterApplied.d.ts +2 -1
- package/src/Api/ExportApi.d.ts +0 -4
- package/src/Api/GridFilterApi.d.ts +26 -8
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ColumnApiImpl.js +4 -0
- package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnFilterApiImpl.js +3 -3
- package/src/Api/Implementation/ConfigApiImpl.js +1 -2
- package/src/Api/Implementation/DashboardApiImpl.d.ts +0 -2
- package/src/Api/Implementation/DashboardApiImpl.js +0 -14
- package/src/Api/Implementation/ExportApiImpl.d.ts +0 -1
- package/src/Api/Implementation/ExportApiImpl.js +0 -3
- package/src/Api/Implementation/GridApiImpl.js +2 -2
- package/src/Api/Implementation/GridFilterApiImpl.d.ts +6 -1
- package/src/Api/Implementation/GridFilterApiImpl.js +22 -3
- package/src/Api/Implementation/NamedQueryApiImpl.d.ts +2 -5
- package/src/Api/Implementation/NamedQueryApiImpl.js +2 -2
- package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -1
- package/src/Api/Implementation/OptionsApiImpl.js +3 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.js +2 -2
- package/src/Api/Internal/ActionRowInternalApi.d.ts +1 -0
- package/src/Api/Internal/ActionRowInternalApi.js +17 -3
- package/src/Api/Internal/AlertInternalApi.d.ts +1 -7
- package/src/Api/Internal/ColumnFilterInternalApi.d.ts +2 -2
- package/src/Api/Internal/ColumnFilterInternalApi.js +9 -9
- package/src/Api/Internal/ColumnInternalApi.d.ts +0 -10
- package/src/Api/Internal/ColumnInternalApi.js +0 -28
- package/src/Api/Internal/Fdc3InternalApi.d.ts +2 -2
- package/src/Api/Internal/FormatColumnInternalApi.js +6 -6
- package/src/Api/Internal/GridFilterInternalApi.d.ts +1 -1
- package/src/Api/Internal/GridFilterInternalApi.js +5 -5
- package/src/Api/Internal/GridInternalApi.js +31 -9
- package/src/Api/Internal/LayoutInternalApi.js +8 -0
- package/src/Api/Internal/PredicateInternalApi.js +3 -3
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +0 -3
- package/src/Api/Internal/StyledColumnInternalApi.js +0 -27
- package/src/Api/NamedQueryApi.d.ts +6 -5
- package/src/Api/OptionsApi.d.ts +5 -1
- package/src/PredefinedConfig/AlertState.d.ts +6 -6
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +1 -1
- package/src/PredefinedConfig/ChartingState.d.ts +4 -1
- package/src/PredefinedConfig/Common/AdaptableAlert.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableForm.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableMessageType.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableObject.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +3 -3
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +45 -58
- package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableScope.d.ts +5 -5
- package/src/PredefinedConfig/Common/AggregationColumns.d.ts +1 -1
- package/src/PredefinedConfig/Common/ColumnFilter.d.ts +2 -2
- package/src/PredefinedConfig/Common/Entitlement.d.ts +1 -1
- package/src/PredefinedConfig/Common/Fdc3Context.d.ts +133 -37
- package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +4 -4
- package/src/PredefinedConfig/Common/Schedule.d.ts +2 -2
- package/src/PredefinedConfig/Common/Types.d.ts +15 -15
- package/src/PredefinedConfig/ExportState.d.ts +4 -4
- package/src/PredefinedConfig/FlashingCellState.d.ts +4 -4
- package/src/PredefinedConfig/FormatColumnState.d.ts +4 -27
- package/src/PredefinedConfig/NotesState.d.ts +2 -2
- package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -5
- package/src/PredefinedConfig/ShortcutState.d.ts +1 -1
- package/src/PredefinedConfig/StyledColumnState.d.ts +8 -13
- package/src/PredefinedConfig/SystemState.d.ts +3 -3
- package/src/PredefinedConfig/TeamSharingState.d.ts +3 -3
- package/src/PredefinedConfig/ToolPanelState.d.ts +1 -1
- package/src/PredefinedConfig/Uuid.d.ts +1 -1
- package/src/Redux/ActionsReducers/GridRedux.d.ts +6 -1
- package/src/Redux/ActionsReducers/GridRedux.js +18 -0
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +37 -16
- package/src/Redux/ActionsReducers/LayoutRedux.js +69 -16
- package/src/Redux/Store/AdaptableReduxMerger.d.ts +1 -1
- package/src/Redux/Store/AdaptableStore.d.ts +2 -2
- package/src/Redux/Store/AdaptableStore.js +46 -19
- package/src/Strategy/AdaptableModuleBase.d.ts +0 -1
- package/src/Strategy/AdaptableModuleBase.js +0 -30
- package/src/Strategy/AlertModule.js +1 -1
- package/src/Strategy/ChartingModule.js +8 -5
- package/src/Strategy/ColumnFilterModule.d.ts +2 -0
- package/src/Strategy/ColumnFilterModule.js +78 -40
- package/src/Strategy/CustomSortModule.js +1 -1
- package/src/Strategy/FlashingCellModule.js +1 -1
- package/src/Strategy/Interface/IModule.d.ts +3 -3
- package/src/Strategy/LayoutModule.js +5 -0
- package/src/Strategy/StyledColumnModule.js +2 -53
- package/src/Utilities/Constants/GeneralConstants.d.ts +3 -0
- package/src/Utilities/Constants/GeneralConstants.js +3 -0
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +31 -23
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +2 -2
- package/src/Utilities/Emitter.d.ts +2 -2
- package/src/Utilities/Emitter.js +2 -2
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +3 -3
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +3 -3
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +55 -5
- package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.js +9 -0
- package/src/Utilities/ExpressionFunctions/deepMap.d.ts +3 -3
- package/src/Utilities/ExpressionFunctions/deepMap.js +7 -7
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +7 -7
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +7 -7
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +11 -1
- package/src/Utilities/Extensions/TypeExtensions.d.ts +8 -8
- package/src/Utilities/Helpers/AdaptableHelper.js +4 -0
- package/src/Utilities/ObjectFactory.js +1 -1
- package/src/Utilities/Services/EntitlementService.d.ts +0 -1
- package/src/Utilities/Services/EntitlementService.js +0 -8
- package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -3
- package/src/Utilities/Services/Interface/IEntitlementService.d.ts +0 -6
- package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -1
- package/src/Utilities/Services/LicenseService/index.js +181 -1
- package/src/Utilities/Services/MetamodelService.js +1 -1
- package/src/Utilities/Services/ModuleService.js +1 -1
- package/src/Utilities/license/LicenseDetails.d.ts +1 -1
- package/src/Utilities/license/decode.js +65 -1
- package/src/Utilities/license/hashing.js +43 -1
- package/src/Utilities/logDeprecation.d.ts +5 -3
- package/src/View/AdaptablePopover/index.d.ts +1 -0
- package/src/View/AdaptablePopover/index.js +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +1 -1
- package/src/View/Alert/AlertEmptyView.js +1 -1
- package/src/View/Alert/Utilities/getAvailablePredicates.js +1 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +20 -4
- package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +21 -24
- package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +1 -1
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +1 -1
- package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +1 -1
- package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertWizard.js +1 -1
- package/src/View/Alert/Wizard/isValidAlertRules.js +1 -1
- package/src/View/BulkUpdate/BulkUpdatePopup.js +3 -9
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +2 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +9 -18
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -2
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +5 -1
- package/src/View/CellSummary/CellSummaryViewPanel.js +5 -5
- package/src/View/ColumnInfo/ColumnInfo.js +7 -8
- package/src/View/Components/AdaptableDateInput/index.d.ts +2 -2
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +2 -2
- package/src/View/Components/Buttons/ButtonBase/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonOpen.d.ts +5 -0
- package/src/View/Components/Buttons/ButtonOpen.js +7 -0
- package/src/View/Components/Buttons/ButtonUnsuspend.d.ts +8 -0
- package/src/View/Components/Buttons/ButtonUnsuspend.js +17 -0
- package/src/View/Components/CellPopup/index.d.ts +1 -1
- package/src/View/Components/ColumnSelector/index.d.ts +1 -1
- package/src/View/Components/EntityRulesEditor/index.d.ts +2 -2
- package/src/View/Components/EntityRulesEditor/index.js +11 -3
- package/src/View/Components/ExternalRenderer.d.ts +1 -1
- package/src/View/Components/FilterForm/FilterForm.js +24 -24
- package/src/View/Components/FilterForm/QuickFilterForm.js +3 -3
- package/src/View/Components/FilterForm/QuickFilterValues.d.ts +2 -2
- package/src/View/Components/FilterForm/QuickFilterValues.js +2 -2
- package/src/View/Components/FilterForm/Waiting.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -2
- package/src/View/Components/PredicateEditor/PredicateEditor.js +10 -10
- package/src/View/Components/RangesComponent.js +11 -8
- package/src/View/Components/Selectors/ColumnSelector.d.ts +12 -17
- package/src/View/Components/Selectors/ColumnSelector.js +23 -42
- package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +18 -0
- package/src/View/Components/Selectors/ColumnSelectorOld.js +46 -0
- package/src/View/Components/Selectors/ColumnValueSelector.d.ts +4 -23
- package/src/View/Components/Selectors/ColumnValueSelector.js +34 -126
- package/src/View/Components/Selectors/PermittedValuesSelector.d.ts +13 -0
- package/src/View/Components/Selectors/PermittedValuesSelector.js +46 -0
- package/src/View/Components/StyleComponent.d.ts +2 -3
- package/src/View/Components/StyleComponent.js +37 -40
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +2 -2
- package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +1 -1
- package/src/View/Components/ValueSelector/index.d.ts +2 -2
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +1 -1
- package/src/View/Dashboard/DashboardPopup.js +4 -4
- package/src/View/Dashboard/DashboardToolbarFactory.js +0 -1
- package/src/View/Dashboard/PinnedDashboard.js +6 -3
- package/src/View/Dashboard/PinnedToolbarsSelector.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -1
- package/src/View/DataImport/DataImportPopup.js +1 -1
- package/src/View/DataImport/DataImportWizard/DataImportWizard.d.ts +1 -1
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.d.ts +1 -1
- package/src/View/DataSet/DataSetViewPanel.js +3 -2
- package/src/View/Export/ExportViewPanel.js +12 -9
- package/src/View/Export/Wizard/ReportColumnsWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportNameWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.js +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -2
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +8 -8
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +10 -9
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +3 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +7 -17
- package/src/View/GridFilter/GridFilterExpressionEditor.js +62 -9
- package/src/View/GridFilter/GridFilterPopup.js +36 -6
- package/src/View/GridFilter/GridFilterStatusbar.js +0 -1
- package/src/View/GridFilter/GridFilterViewPanel.d.ts +2 -26
- package/src/View/GridFilter/GridFilterViewPanel.js +49 -150
- package/src/View/GridFilter/NamedQuerySelector.d.ts +16 -0
- package/src/View/GridFilter/NamedQuerySelector.js +50 -0
- package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +24 -0
- package/src/View/GridFilter/useGridFilterExpressionEditor.js +123 -0
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.d.ts +4 -0
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +27 -0
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +5 -3
- package/src/View/Layout/LayoutViewPanel.js +4 -3
- package/src/View/Layout/SaveLayoutButton.js +2 -1
- package/src/View/Layout/Wizard/LayoutWizard.js +10 -0
- package/src/View/Layout/Wizard/sections/FilterSection.js +15 -17
- package/src/View/Layout/Wizard/sections/GridFilterSection.d.ts +9 -0
- package/src/View/Layout/Wizard/sections/GridFilterSection.js +37 -0
- package/src/View/License/LicenseWatermark.js +61 -1
- package/src/View/NamedQuery/EditCurrentQueryButton.js +1 -1
- package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +1 -1
- package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +2 -2
- package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
- package/src/View/QuickSearch/useQuickSearchDebounced.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +5 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +6 -5
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -7
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +4 -3
- package/src/View/SmartEdit/SmartEditViewPanel.js +7 -5
- package/src/View/SpecialColumnSettingsWizardStep.js +4 -1
- package/src/View/StateManagement/StateManagementPopup.js +6 -6
- package/src/View/StatusBar/StatusBarPopup.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +16 -8
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +20 -23
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +2 -3
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +7 -5
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +4 -4
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +0 -8
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +2 -9
- package/src/View/SystemStatus/SystemStatusViewPanel.js +1 -1
- package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +1 -1
- package/src/View/Theme/ThemeEditor.d.ts +1 -1
- package/src/View/Theme/ThemeViewPanel.js +4 -3
- package/src/View/UIHelper.d.ts +1 -1
- package/src/View/Wizard/ObjectTagsWizardSection.d.ts +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +1 -1
- package/src/View/Wizard/OnePageWizards.d.ts +2 -2
- package/src/agGrid/Adaptable.d.ts +20 -17
- package/src/agGrid/Adaptable.js +192 -189
- package/src/agGrid/AdaptableLogger.js +14 -14
- package/src/agGrid/CheckboxRenderer.d.ts +5 -0
- package/src/agGrid/CheckboxRenderer.js +5 -1
- package/src/agGrid/ColumnSetupInfo.d.ts +1 -1
- package/src/agGrid/agGridHelper.d.ts +0 -1
- package/src/agGrid/agGridHelper.js +15 -13
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +2 -2
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.d.ts +2 -2
- package/src/components/CheckBox/index.d.ts +1 -1
- package/src/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/src/components/ContainerProps.d.ts +2 -2
- package/src/components/Dashboard/Dashboard.d.ts +2 -2
- package/src/components/Dashboard/DashboardTab.d.ts +1 -1
- package/src/components/Dashboard/DashboardToolbar.d.ts +1 -1
- package/src/components/Datepicker/index.d.ts +2 -2
- package/src/components/Dialog/index.d.ts +2 -2
- package/src/components/Dropdown/index.d.ts +2 -2
- package/src/components/DropdownButton/DropdownButtonItem.d.ts +1 -1
- package/src/components/DropdownButton/index.d.ts +1 -1
- package/src/components/DropdownButton/renderItem.d.ts +1 -1
- package/src/components/DropdownButton/useExpanded.d.ts +1 -1
- package/src/components/EllipsisContainer/index.d.ts +1 -1
- package/src/components/EmptyContent/index.d.ts +1 -1
- package/src/components/ExpressionEditor/BaseEditorInput.js +1 -1
- package/src/components/ExpressionEditor/NamedQueryContext.d.ts +1 -1
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +45 -15
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +7 -2
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +48 -33
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.d.ts +1 -1
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +6 -6
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +2 -0
- package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +2 -1
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +30 -0
- package/src/components/ExpressionEditor/index.d.ts +2 -1
- package/src/components/ExpressionEditor/index.js +81 -59
- package/src/components/FormLayout/index.d.ts +4 -4
- package/src/components/Input/NumberInput.d.ts +1 -1
- package/src/components/Input/index.d.ts +2 -2
- package/src/components/List/ListGroupItem/index.d.ts +2 -2
- package/src/components/Modal/Backdrop.d.ts +2 -2
- package/src/components/OverlayTrigger/index.d.ts +1 -1
- package/src/components/Panel/index.d.ts +1 -1
- package/src/components/Radio/index.d.ts +1 -1
- package/src/components/ResizeObserver/index.d.ts +1 -1
- package/src/components/Select/Select.d.ts +30 -0
- package/src/components/Select/Select.js +128 -0
- package/src/components/Select/index.d.ts +1 -0
- package/src/components/Select/index.js +1 -0
- package/src/components/SelectableList/index.d.ts +1 -1
- package/src/components/Tabs/index.d.ts +3 -3
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/components/Toggle/Toggle.d.ts +1 -1
- package/src/components/WarningBox/index.d.ts +4 -0
- package/src/components/WarningBox/index.js +7 -0
- package/src/components/WindowModal/WindowModal.d.ts +2 -2
- package/src/components/icons/DefaultIcon.d.ts +1 -1
- package/src/components/icons/index.js +2 -0
- package/src/components/icons/resume.d.ts +3 -0
- package/src/components/icons/resume.js +4 -0
- package/src/components/utils/useContainerScrollObserver/index.d.ts +1 -1
- package/src/components/utils/uuid.d.ts +1 -1
- package/src/metamodel/adaptable-metamodel-model.d.ts +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +330 -27
- package/src/metamodel/adaptable.metamodel.js +9435 -1
- package/src/parser/src/predicate/mapExpressionToQlPredicate.js +1 -1
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +3 -0
- package/src/parser/src/predicate/types.d.ts +2 -2
- package/src/parser/src/types.d.ts +23 -11
- package/src/renderReactRoot.d.ts +2 -4
- package/src/renderReactRoot.js +5 -46
- package/src/types.d.ts +6 -6
- package/themes/dark.css +1 -1
- package/themes/dark.css.map +1 -1
- package/themes/light.css +1 -1
- package/themes/light.css.map +1 -1
- package/tsconfig.esm.tsbuildinfo +1 -0
- package/publishTimestamp.d.ts +0 -2
- package/publishTimestamp.js +0 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +0 -216
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +0 -6
- package/src/AdaptableOptions/FinancePluginOptions.js +0 -1
- package/src/Api/Events/ChexboxColumnClicked.d.ts +0 -24
- package/src/Api/Events/ChexboxColumnClicked.js +0 -1
- package/src/Api/Events/QueryRun.d.ts +0 -15
- package/src/Api/Events/QueryRun.js +0 -1
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +0 -41
- package/src/PredefinedConfig/ConditionalStyleState.js +0 -1
- package/version.d.ts +0 -2
- package/version.js +0 -1
- /package/src/AdaptableOptions/{FilterOptions.js → GridFilterOptions.js} +0 -0
|
@@ -7,25 +7,17 @@ import { StrictExtract } from '../Utilities/Extensions/TypeExtensions';
|
|
|
7
7
|
*/
|
|
8
8
|
export interface ColumnFilterOptions<TData = any> {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* @defaultValue undefined
|
|
10
|
+
* Options for managing the Quick (i.e. Floating) Filter
|
|
13
11
|
*/
|
|
14
|
-
|
|
12
|
+
quickFilterOptions?: QuickFilterOptions;
|
|
15
13
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @defaultValue undefined
|
|
14
|
+
* Options for managing the Filter Form
|
|
19
15
|
*/
|
|
20
|
-
|
|
16
|
+
filterFormOptions?: FilterFormOptions;
|
|
21
17
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* @defaultValue 2,000
|
|
25
|
-
* @gridInfoItem
|
|
26
|
-
* @noCodeItem
|
|
18
|
+
* Options for managing the Values (IN) Filter
|
|
27
19
|
*/
|
|
28
|
-
|
|
20
|
+
valuesFilterOptions?: ValuesFilterOptions;
|
|
29
21
|
/**
|
|
30
22
|
* Make Column header distinctive for filtered columns, helps users see currently filtered columns
|
|
31
23
|
*
|
|
@@ -35,51 +27,12 @@ export interface ColumnFilterOptions<TData = any> {
|
|
|
35
27
|
*/
|
|
36
28
|
indicateFilteredColumns?: boolean;
|
|
37
29
|
/**
|
|
38
|
-
* Uses Adaptable's
|
|
30
|
+
* Uses Adaptable's Column Filtering (and Quick Filter Bar & Filter Form) in preference to AG Grid's filtering
|
|
39
31
|
*
|
|
40
32
|
* @defaultValue true
|
|
41
33
|
* @noCodeItem
|
|
42
34
|
*/
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Styles Adaptable Filter Form to match AG Grid's styling (if using Balham theme)
|
|
46
|
-
*
|
|
47
|
-
* @defaultValue true
|
|
48
|
-
* @gridInfoItem
|
|
49
|
-
* @noCodeItem
|
|
50
|
-
*/
|
|
51
|
-
useAgGridFilterFormStyle?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Use Adaptable's Quick Filter Bar for all columns if 'true' (the default) or those listed, in preference to AG Grid's Floating Filter
|
|
54
|
-
*
|
|
55
|
-
* @defaultValue true
|
|
56
|
-
* @gridInfoItem
|
|
57
|
-
* @noCodeItem
|
|
58
|
-
*/
|
|
59
|
-
useAdaptableQuickFilter?: boolean | string[];
|
|
60
|
-
/**
|
|
61
|
-
* Whether to open Quick Filter dropdown with mouse hover or click
|
|
62
|
-
*
|
|
63
|
-
* @defaultValue 'mouseenter'
|
|
64
|
-
* @gridInfoItem
|
|
65
|
-
* @noCodeItem
|
|
66
|
-
*/
|
|
67
|
-
quickFilterTrigger?: 'mouseenter' | 'click';
|
|
68
|
-
/**
|
|
69
|
-
* Whether to open Quick Filter Values dropdown with mouse hover or click
|
|
70
|
-
*
|
|
71
|
-
* @defaultValue 'mouseenter'
|
|
72
|
-
* @gridInfoItem
|
|
73
|
-
* @noCodeItem
|
|
74
|
-
*/
|
|
75
|
-
quickFilterValuesTrigger?: 'mouseenter' | 'click';
|
|
76
|
-
/**
|
|
77
|
-
* Sets a height for Quick Filter Bar (if not provided AG Grid's default is used)
|
|
78
|
-
*
|
|
79
|
-
* @defaultValue null
|
|
80
|
-
* @gridInfoItem
|
|
81
|
-
*/
|
|
82
|
-
quickFilterHeight?: number;
|
|
35
|
+
useAdaptableColumnFiltering?: boolean;
|
|
83
36
|
/**
|
|
84
37
|
* When to re-filter grid after user edits data: 'Always', 'Never' or 'Throttle' (which requires a 'ThrottleDelay')
|
|
85
38
|
*
|
|
@@ -93,7 +46,7 @@ export interface ColumnFilterOptions<TData = any> {
|
|
|
93
46
|
*/
|
|
94
47
|
filterActionOnExternalDataChange?: FilterActionOnDataChange;
|
|
95
48
|
/**
|
|
96
|
-
* Apply selected filters
|
|
49
|
+
* Apply selected filters as soon as they are clicked; if false an Apply Filter button is displayed
|
|
97
50
|
*
|
|
98
51
|
* @defaultValue true
|
|
99
52
|
* @gridInfoItem
|
|
@@ -106,14 +59,7 @@ export interface ColumnFilterOptions<TData = any> {
|
|
|
106
59
|
* @defaultValue false
|
|
107
60
|
* @gridInfoItem
|
|
108
61
|
*/
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Whether column values in filter dropdown should apply column's current Sort Order for the column
|
|
112
|
-
*
|
|
113
|
-
* @defaultValue false
|
|
114
|
-
* @gridInfoItem
|
|
115
|
-
*/
|
|
116
|
-
sortColumnValuesInFilter?: boolean;
|
|
62
|
+
clearColumnFiltersOnStartUp?: boolean;
|
|
117
63
|
/**
|
|
118
64
|
* Default filter type for numeric Columns
|
|
119
65
|
*
|
|
@@ -135,13 +81,6 @@ export interface ColumnFilterOptions<TData = any> {
|
|
|
135
81
|
* @gridInfoItem
|
|
136
82
|
*/
|
|
137
83
|
defaultDateColumnFilter?: StrictExtract<SystemFilterPredicateId, 'After' | 'Before' | 'On' | 'NotOn' | 'Values'> | ((column: AdaptableColumn) => StrictExtract<SystemFilterPredicateId, 'After' | 'Before' | 'On' | 'NotOn' | 'Values'>);
|
|
138
|
-
/**
|
|
139
|
-
* Whether to open the Filter Form on the Values or Predicates tab
|
|
140
|
-
*
|
|
141
|
-
* @defaultValue 'Values'
|
|
142
|
-
* @gridInfoItem
|
|
143
|
-
*/
|
|
144
|
-
defaultFilterFormTab?: 'Values' | 'Predicates';
|
|
145
84
|
/**
|
|
146
85
|
* Allows filtering on Calculated & FreeText columns
|
|
147
86
|
*
|
|
@@ -150,39 +89,65 @@ export interface ColumnFilterOptions<TData = any> {
|
|
|
150
89
|
*/
|
|
151
90
|
enableFilterOnSpecialColumns?: boolean;
|
|
152
91
|
/**
|
|
153
|
-
*
|
|
154
|
-
* @defaultValue
|
|
92
|
+
* Display Clear Filter button in Toolbar and Tool Panel
|
|
93
|
+
* @defaultValue false
|
|
94
|
+
* @gridInfoItem
|
|
155
95
|
* @noCodeItem
|
|
156
96
|
*/
|
|
157
|
-
|
|
97
|
+
showClearFilterButton?: boolean;
|
|
158
98
|
/**
|
|
159
|
-
*
|
|
160
|
-
* @defaultValue
|
|
99
|
+
* Display Suspend / Unsuspend Button in Toolbar and Tool Panel
|
|
100
|
+
* @defaultValue false
|
|
101
|
+
* @gridInfoItem
|
|
161
102
|
* @noCodeItem
|
|
162
103
|
*/
|
|
163
|
-
|
|
104
|
+
showSuspendFilterButton?: boolean;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Options for managing the Filter Bar (aka Quick Filter)
|
|
108
|
+
*/
|
|
109
|
+
export interface QuickFilterOptions<TData = any> {
|
|
164
110
|
/**
|
|
165
|
-
*
|
|
111
|
+
* Hides Dropdown in Quick Filter Bar for a given Column
|
|
166
112
|
*
|
|
167
|
-
* @defaultValue
|
|
113
|
+
* @defaultValue undefined
|
|
114
|
+
*/
|
|
115
|
+
hideQuickFilterDropdown?: (columFilterContext: ColumnFilterContext<TData>) => boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Hides Input in Quick Filter Bar for a given Column
|
|
118
|
+
*
|
|
119
|
+
* @defaultValue undefined
|
|
120
|
+
*/
|
|
121
|
+
hideQuickFilterInput?: (columFilterContext: ColumnFilterContext<TData>) => boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Open Quick Filter dropdown with mouse hover or click
|
|
124
|
+
*
|
|
125
|
+
* @defaultValue 'mouseenter'
|
|
168
126
|
* @gridInfoItem
|
|
169
127
|
* @noCodeItem
|
|
170
128
|
*/
|
|
171
|
-
|
|
129
|
+
quickFilterTrigger?: 'mouseenter' | 'click';
|
|
172
130
|
/**
|
|
173
|
-
*
|
|
174
|
-
*
|
|
131
|
+
* Open Quick Filter Values dropdown with mouse hover or click
|
|
132
|
+
*
|
|
133
|
+
* @defaultValue 'mouseenter'
|
|
175
134
|
* @gridInfoItem
|
|
176
135
|
* @noCodeItem
|
|
177
136
|
*/
|
|
178
|
-
|
|
137
|
+
quickFilterValuesTrigger?: 'mouseenter' | 'click';
|
|
179
138
|
/**
|
|
180
|
-
*
|
|
181
|
-
*
|
|
139
|
+
* Sets a height for Quick Filter Bar (if not provided AG Grid's default is used)
|
|
140
|
+
*
|
|
141
|
+
* @defaultValue null
|
|
182
142
|
* @gridInfoItem
|
|
143
|
+
*/
|
|
144
|
+
quickFilterHeight?: number;
|
|
145
|
+
/**
|
|
146
|
+
* Whether to display Quick Filter Bar between Column Header and the Grid (provided its been setup)
|
|
147
|
+
* @defaultValue true
|
|
183
148
|
* @noCodeItem
|
|
184
149
|
*/
|
|
185
|
-
|
|
150
|
+
showQuickFilter?: boolean;
|
|
186
151
|
/**
|
|
187
152
|
* Shortcut Keys to activate a Quick Filter Predicate
|
|
188
153
|
*/
|
|
@@ -193,6 +158,58 @@ export interface ColumnFilterOptions<TData = any> {
|
|
|
193
158
|
* @gridInfoItem
|
|
194
159
|
*/
|
|
195
160
|
quickFilterDebounce?: number;
|
|
161
|
+
/**
|
|
162
|
+
* Width of Values popup in Filter Bar - can be set width or same size as Column
|
|
163
|
+
* @defaultValue '180'
|
|
164
|
+
*/
|
|
165
|
+
quickFilterValuesWidth?: 'auto' | number;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Options for managing the Column Filter Form
|
|
169
|
+
*/
|
|
170
|
+
export interface FilterFormOptions<TData = any> {
|
|
171
|
+
/**
|
|
172
|
+
* Styles Adaptable Filter Form to match AG Grid's styling (if using Balham theme)
|
|
173
|
+
*
|
|
174
|
+
* @defaultValue true
|
|
175
|
+
* @gridInfoItem
|
|
176
|
+
* @noCodeItem
|
|
177
|
+
*/
|
|
178
|
+
useAgGridFilterFormStyle?: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* Whether to open the Filter Form on the Values or Predicates tab
|
|
181
|
+
*
|
|
182
|
+
* @defaultValue 'Values'
|
|
183
|
+
* @gridInfoItem
|
|
184
|
+
*/
|
|
185
|
+
defaultFilterFormTab?: 'Values' | 'Predicates';
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Options for managing the Values (IN) Column Filter
|
|
189
|
+
*/
|
|
190
|
+
export interface ValuesFilterOptions<TData = any> {
|
|
191
|
+
/**
|
|
192
|
+
* Distinct column items to display in Filter Form; useful with large datasource (though AdapTable offers virtualisation)
|
|
193
|
+
*
|
|
194
|
+
* @defaultValue 2,000
|
|
195
|
+
* @gridInfoItem
|
|
196
|
+
* @noCodeItem
|
|
197
|
+
*/
|
|
198
|
+
maxFilterValuesToDisplay?: number;
|
|
199
|
+
/**
|
|
200
|
+
* If Values filter should filter on datetime rather than date
|
|
201
|
+
* @defaultValue true
|
|
202
|
+
* @noCodeItem
|
|
203
|
+
*/
|
|
204
|
+
filterValuesUsingTime?: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Display only currently filtered distinct values in Filter controls
|
|
207
|
+
*
|
|
208
|
+
* @defaultValue false
|
|
209
|
+
* @gridInfoItem
|
|
210
|
+
* @noCodeItem
|
|
211
|
+
*/
|
|
212
|
+
showDistinctFilteredValuesOnly?: boolean;
|
|
196
213
|
/**
|
|
197
214
|
* Show the count of each distinct item for given column in the Values (IN) Filter
|
|
198
215
|
* @defaultValue false
|
|
@@ -200,11 +217,6 @@ export interface ColumnFilterOptions<TData = any> {
|
|
|
200
217
|
* @noCodeItem
|
|
201
218
|
*/
|
|
202
219
|
showValuesCount?: (column: AdaptableColumn<TData>) => boolean;
|
|
203
|
-
/**
|
|
204
|
-
* Width of Values popup in Filter Bar - can be set width or same size as Column
|
|
205
|
-
* @defaultValue '180'
|
|
206
|
-
*/
|
|
207
|
-
quickFilterValuesWidth?: 'auto' | number;
|
|
208
220
|
/**
|
|
209
221
|
* Includes a [BLANKS] entry in Values filter
|
|
210
222
|
* @defaultValue false
|
|
@@ -212,6 +224,13 @@ export interface ColumnFilterOptions<TData = any> {
|
|
|
212
224
|
* @noCodeItem
|
|
213
225
|
*/
|
|
214
226
|
includeBlankFilterValues?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Whether column values in filter dropdown should apply column's current Sort Order for the column
|
|
229
|
+
*
|
|
230
|
+
* @defaultValue false
|
|
231
|
+
* @gridInfoItem
|
|
232
|
+
*/
|
|
233
|
+
sortValuesFilter?: boolean;
|
|
215
234
|
}
|
|
216
235
|
/**
|
|
217
236
|
* Context provided when Column Filtering
|
|
@@ -29,7 +29,7 @@ export interface DataChangeHistoryOptions<TData = any> {
|
|
|
29
29
|
/**
|
|
30
30
|
* Built in `undo` or `clear` data change action
|
|
31
31
|
*/
|
|
32
|
-
export
|
|
32
|
+
export type AdaptableDataChangeHistoryAction = 'undo' | 'clear';
|
|
33
33
|
/**
|
|
34
34
|
* The context for the DataChangeHistoryButton
|
|
35
35
|
*/
|
|
@@ -53,7 +53,7 @@ export interface ValidationResult {
|
|
|
53
53
|
/**
|
|
54
54
|
* Custom Operation used in Smart Edit Module
|
|
55
55
|
*/
|
|
56
|
-
export
|
|
56
|
+
export type SmartEditCustomOperation<TData = any> = {
|
|
57
57
|
/**
|
|
58
58
|
* Name of the Custom Operation (as appears in AdapTable UI)
|
|
59
59
|
*/
|
|
@@ -66,7 +66,7 @@ export declare type SmartEditCustomOperation<TData = any> = {
|
|
|
66
66
|
/**
|
|
67
67
|
* Operation used by Smart Edit - either System or Custom
|
|
68
68
|
*/
|
|
69
|
-
export
|
|
69
|
+
export type SmartEditOperation = SmartEditCustomOperation | MathOperation;
|
|
70
70
|
/**
|
|
71
71
|
* Context used in Custom Smart Edit Operations
|
|
72
72
|
*/
|
|
@@ -111,7 +111,7 @@ export interface AdaptableReportColumn {
|
|
|
111
111
|
/**
|
|
112
112
|
* Format of exported Data - 'rawValue' or 'formattedValue'
|
|
113
113
|
*/
|
|
114
|
-
export
|
|
114
|
+
export type DataFormatType = 'rawValue' | 'formattedValue';
|
|
115
115
|
/**
|
|
116
116
|
* Defines a Report where all the data is provided entirely by the user
|
|
117
117
|
*/
|
|
@@ -162,11 +162,11 @@ export interface ExportFormContext extends FormContext {
|
|
|
162
162
|
/**
|
|
163
163
|
* List of System Export Destinations
|
|
164
164
|
*/
|
|
165
|
-
export
|
|
165
|
+
export type SystemExportDestinations = SystemExportDestination[];
|
|
166
166
|
/**
|
|
167
167
|
* Export Destinations provided by AdapTable
|
|
168
168
|
*/
|
|
169
|
-
export
|
|
169
|
+
export type SystemExportDestination = 'Excel' | 'CSV' | 'Clipboard' | 'JSON' | 'Table';
|
|
170
170
|
/**
|
|
171
171
|
* Report Context sent when using Custom Export Destinations
|
|
172
172
|
*/
|
|
@@ -111,7 +111,7 @@ export interface ExpressionOptions<TData = any> {
|
|
|
111
111
|
*/
|
|
112
112
|
export interface EvaluateExpressionExternallyContext<TData = any> extends BaseContext {
|
|
113
113
|
/**
|
|
114
|
-
* Module
|
|
114
|
+
* Module being evaluated: Alert, CalculatedColumn, ColumnFilter, GridFilter
|
|
115
115
|
*/
|
|
116
116
|
module: AdaptableQLModule;
|
|
117
117
|
/**
|
|
@@ -134,7 +134,7 @@ export interface EvaluateExpressionExternallyContext<TData = any> extends BaseCo
|
|
|
134
134
|
/**
|
|
135
135
|
* Module specific Expression Functions
|
|
136
136
|
*/
|
|
137
|
-
export
|
|
137
|
+
export type ModuleExpressionFunctionsMap = Partial<Record<AdaptableModule, ModuleExpressionFunctions>>;
|
|
138
138
|
/**
|
|
139
139
|
* Type specific Expression Functions
|
|
140
140
|
*/
|
|
@@ -173,8 +173,8 @@ export interface HandleFdc3IntentContext extends HandleFdc3Context {
|
|
|
173
173
|
}
|
|
174
174
|
export declare const ColumnRefTypePrefix = "_colId.";
|
|
175
175
|
export declare const FieldRefTypePrefix = "_field.";
|
|
176
|
-
export
|
|
177
|
-
export
|
|
176
|
+
export type GridDataRef = `_colId.${string}` | `_field.${string}`;
|
|
177
|
+
export type Fdc3ContentMapping<T> = PropertiesToGridRefs<Omit<T, 'type'>>;
|
|
178
178
|
/**
|
|
179
179
|
* Mapping of FDC3 Context Types to Grid Data/Columns
|
|
180
180
|
*/
|
|
@@ -197,6 +197,9 @@ export interface GridDataContextMapping {
|
|
|
197
197
|
[key: string]: Fdc3ContentMapping<Context>;
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* Defines config options for Raising FDC3 Intents
|
|
202
|
+
*/
|
|
200
203
|
export interface RaiseIntentConfiguration {
|
|
201
204
|
StartCall?: RaiseIntentConfig<'StartCall'>[];
|
|
202
205
|
StartChat?: RaiseIntentConfig<'StartChat'>[];
|
|
@@ -216,6 +219,9 @@ export interface RaiseIntentConfiguration {
|
|
|
216
219
|
[customIntent: string]: RaiseIntentConfig[];
|
|
217
220
|
};
|
|
218
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* Defines config options for Broadcasting FDC3 Context
|
|
224
|
+
*/
|
|
219
225
|
export interface BroadcastConfiguration {
|
|
220
226
|
'fdc3.chart'?: BroadcastConfig;
|
|
221
227
|
'fdc3.chat.initSettings'?: BroadcastConfig;
|
|
@@ -391,8 +397,8 @@ export interface Fdc3AdaptableButton {
|
|
|
391
397
|
/**
|
|
392
398
|
* TypeScript magic to convert all non-string property types to string (but keep the object structures), incl. nested objects.
|
|
393
399
|
*/
|
|
394
|
-
|
|
395
|
-
|
|
400
|
+
type PropertiesToGridRefs<Type> = Type extends object ? ReplaceTypes<Type> : Type extends string ? GridDataRef : Type extends Date ? GridDataRef : Type;
|
|
401
|
+
type ReplaceTypes<ObjType extends object> = {
|
|
396
402
|
[KeyType in keyof ObjType]: PropertiesToGridRefs<ObjType[KeyType]>;
|
|
397
403
|
};
|
|
398
404
|
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Options for managing the Grid Filter in AdapTable
|
|
3
|
+
*/
|
|
4
|
+
export interface GridFilterOptions<TData = any> {
|
|
5
|
+
/**
|
|
6
|
+
* Where Grid Filter can be edited - Expression Editor, Query Builder or Both
|
|
7
|
+
*
|
|
8
|
+
* @defaultValue 'Both'
|
|
9
|
+
*/
|
|
10
|
+
availableFilterEditors?: 'ExpressionEditor' | 'QueryBuilder' | 'Both';
|
|
11
|
+
/**
|
|
12
|
+
* Clears a saved Grid Filter when AdapTable loads
|
|
13
|
+
*
|
|
14
|
+
* @defaultValue false
|
|
15
|
+
* @gridInfoItem
|
|
16
|
+
*/
|
|
17
|
+
clearGridFilterOnStartUp?: boolean;
|
|
18
|
+
}
|
|
@@ -119,7 +119,7 @@ export interface LayoutAvailableContext extends BaseContext {
|
|
|
119
119
|
/**
|
|
120
120
|
* Types of Adaptable Objects that can be associated with a Layout
|
|
121
121
|
*/
|
|
122
|
-
export
|
|
122
|
+
export type LayoutAssociatedObject = AlertDefinition | CustomSort | FlashingCellDefinition | FormatColumn | PlusMinusNudge | StyledColumn | Shortcut | BaseSchedule;
|
|
123
123
|
/**
|
|
124
124
|
* Context for `LayoutOptions.autoGenerateTagsForLayouts` method
|
|
125
125
|
*/
|
|
@@ -94,7 +94,7 @@ export interface CustomColumnMenuContext<TData = any> extends ColumnMenuContext<
|
|
|
94
94
|
/**
|
|
95
95
|
* Custom Context Menu Item
|
|
96
96
|
*/
|
|
97
|
-
export
|
|
97
|
+
export type CustomContextMenuItem = AgGridMenuItem<AgGridContextMenuItemType> | AdaptableSystemMenuItem | UserContextMenuItem | '-' | {
|
|
98
98
|
menuType: 'Group';
|
|
99
99
|
label: string;
|
|
100
100
|
subMenuItems: CustomContextMenuItem[];
|
|
@@ -104,7 +104,7 @@ export declare type CustomContextMenuItem = AgGridMenuItem<AgGridContextMenuItem
|
|
|
104
104
|
/**
|
|
105
105
|
* Custom Column Menu Item
|
|
106
106
|
*/
|
|
107
|
-
export
|
|
107
|
+
export type CustomColumnMenuItem = AgGridMenuItem<AgGridColumnMenuItemType> | AdaptableSystemMenuItem | UserColumnMenuItem | '-' | {
|
|
108
108
|
menuType: 'Group';
|
|
109
109
|
label: string;
|
|
110
110
|
subMenuItems: CustomColumnMenuItem[];
|
|
@@ -208,7 +208,13 @@ export interface MenuOrderContext extends BaseContext {
|
|
|
208
208
|
*/
|
|
209
209
|
column: AdaptableColumn;
|
|
210
210
|
}
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
/**
|
|
212
|
+
* Defines AG Grid Context Menu Items
|
|
213
|
+
*/
|
|
214
|
+
export type AgGridContextMenuItemType = 'autoSizeAll' | 'expandAll' | 'contractAll' | 'copy' | 'copyWithHeaders' | 'cut' | 'paste' | 'resetColumns' | 'export' | 'csvExport' | 'excelExport' | 'chartRange' | 'pivotChart';
|
|
215
|
+
/**
|
|
216
|
+
* Defines AG Grid Column Menu Items
|
|
217
|
+
*/
|
|
218
|
+
export type AgGridColumnMenuItemType = 'pinSubMenu' | 'valueAggSubMenu' | 'autoSizeThis' | 'autoSizeAll' | 'rowGroup' | 'rowUnGroup' | 'resetColumns' | 'expandAll' | 'contractAll';
|
|
213
219
|
export declare const DEFAULT_ADAPTABLE_CONTEXT_MENU_ORDER: AdaptableModule[];
|
|
214
220
|
export declare const DEFAULT_ADAPTABLE_COLUMN_MENU_ORDER: AdaptableModule[];
|
|
@@ -83,4 +83,4 @@ export interface NotificationsOptions {
|
|
|
83
83
|
/**
|
|
84
84
|
* Different positions offered by Notifications
|
|
85
85
|
*/
|
|
86
|
-
export
|
|
86
|
+
export type TOAST_POSITIONS = 'TopRight' | 'TopCenter' | 'TopLeft' | 'BottomRight' | 'BottomCenter' | 'BottomLeft';
|
|
@@ -18,12 +18,12 @@ export interface QuickSearchOptions<TData = any> {
|
|
|
18
18
|
*/
|
|
19
19
|
quickSearchPlaceholder?: string;
|
|
20
20
|
/**
|
|
21
|
-
* Clears saved searches
|
|
21
|
+
* Clears saved searches when AdapTable loads
|
|
22
22
|
*
|
|
23
23
|
* @defaultValue false
|
|
24
24
|
* @gridInfoItem
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
clearQuickSearchOnStartUp?: boolean;
|
|
27
27
|
/**
|
|
28
28
|
* Filters the quick search results so only matching rows are displayed
|
|
29
29
|
*
|
|
@@ -59,9 +59,9 @@ export interface QuickSearchOptions<TData = any> {
|
|
|
59
59
|
/**
|
|
60
60
|
* Determines whether Quick Search is applied to a given cell
|
|
61
61
|
*
|
|
62
|
-
* @param
|
|
62
|
+
* @param quickSearchContext Context of the Quick Search and Cell
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
runBespokeQuickSearch?(quickSearchContext: QuickSearchContext): boolean;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Context used when applying Quick Search in bespoke fashion
|
|
@@ -39,7 +39,7 @@ export interface UserInterfaceOptions<TData = any> {
|
|
|
39
39
|
*/
|
|
40
40
|
editLookUpItems?: EditLookUpPermittedValues<TData>[];
|
|
41
41
|
/**
|
|
42
|
-
* Custom column values for Values
|
|
42
|
+
* Custom column values for Values Column Filter and Grid Filter Builder
|
|
43
43
|
*/
|
|
44
44
|
filterPermittedValues?: FilterPermittedValues<TData>[];
|
|
45
45
|
/**
|
|
@@ -79,12 +79,6 @@ export interface UserInterfaceOptions<TData = any> {
|
|
|
79
79
|
* @gridInfoItem
|
|
80
80
|
*/
|
|
81
81
|
showDocumentationLinks?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Which sections to show in the Grid Info Screen
|
|
84
|
-
* @defaultValue ['GridSummary', 'AdaptableOptions', 'ColumnInfo', 'AdaptableObjects']
|
|
85
|
-
* @deprecated
|
|
86
|
-
*/
|
|
87
|
-
gridInfoSections?: GridInfoSections;
|
|
88
82
|
/**
|
|
89
83
|
* Displays the AdapTable version in Grid Info section of Settings Panel
|
|
90
84
|
*
|
|
@@ -213,15 +207,6 @@ export interface BulkUpdatePermittedValuesContext<TData = any> extends Permitted
|
|
|
213
207
|
*/
|
|
214
208
|
gridCells: GridCell<TData>[];
|
|
215
209
|
}
|
|
216
|
-
/**
|
|
217
|
-
* Sets of Tabs avilable in Grid Info Settings Panel
|
|
218
|
-
*/
|
|
219
|
-
export declare type GridInfoSections = GridInfoSection[];
|
|
220
|
-
/**
|
|
221
|
-
* Tabs available in the Grid Info Settings Panel
|
|
222
|
-
* @deprecated
|
|
223
|
-
*/
|
|
224
|
-
export declare type GridInfoSection = 'GridSummary' | 'AdaptableOptions' | 'ColumnInfo' | 'AdaptableObjects';
|
|
225
210
|
/**
|
|
226
211
|
* Context used when evaluating Object Tags
|
|
227
212
|
*/
|
package/src/Api/ColumnApi.d.ts
CHANGED
|
@@ -258,4 +258,8 @@ export interface ColumnApi {
|
|
|
258
258
|
* @param columnId Column to Check
|
|
259
259
|
*/
|
|
260
260
|
getDefaultAggFunc(columnId: string): string;
|
|
261
|
+
/**
|
|
262
|
+
* Opens Settings Panel with Column Info section selected and visible
|
|
263
|
+
*/
|
|
264
|
+
openColumnInfoSettingsPanel(): void;
|
|
261
265
|
}
|
|
@@ -81,12 +81,9 @@ export interface ColumnFilterApi {
|
|
|
81
81
|
*/
|
|
82
82
|
clearAndSetColumnFilters(columnFilters: ColumnFilter[]): void;
|
|
83
83
|
/**
|
|
84
|
-
* Checks if a
|
|
85
|
-
* It is applied when:
|
|
86
|
-
* - filter predicate does not have inputs
|
|
87
|
-
* - filter predicate has inputs with values
|
|
84
|
+
* Checks if a Column Filter is active (i.e. Predicate has no inputs or has inputs with values)
|
|
88
85
|
*/
|
|
89
|
-
|
|
86
|
+
isColumnFilterActive(columnFilter: ColumnFilter): boolean;
|
|
90
87
|
/**
|
|
91
88
|
* Retrieves the Column Filter definitions for all available Column Filters
|
|
92
89
|
*/
|
|
@@ -139,17 +139,6 @@ export interface DashboardApi {
|
|
|
139
139
|
* Is Dashboard Visible
|
|
140
140
|
*/
|
|
141
141
|
isDashboardVisible(): boolean;
|
|
142
|
-
/**
|
|
143
|
-
* DEPRECATED
|
|
144
|
-
*/
|
|
145
|
-
/**
|
|
146
|
-
* @deprecated use `getCustomToolbarHTMLElement` instead
|
|
147
|
-
*/
|
|
148
|
-
getCustomToolbarContentsDiv(customToolbarName: string): HTMLElement | null;
|
|
149
|
-
/**
|
|
150
|
-
* @deprecated use `setCustomToolbarHTMLContent` instead
|
|
151
|
-
*/
|
|
152
|
-
setCustomToolbarContents(customToolbarName: string, contents: string): void;
|
|
153
142
|
/**
|
|
154
143
|
* Updates the Tabs in the Dashboard
|
|
155
144
|
* @param Tabs
|
package/src/Api/EventApi.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { SelectionChangedInfo, LiveDataChangedInfo, DashboardChangedInfo, ThemeChangedInfo, AlertFiredInfo, LayoutChangedInfo, AdaptableReadyInfo, CustomToolbarConfiguredInfo, CellChangedInfo, SystemStatusMessageDisplayedInfo,
|
|
2
|
-
import { QueryRunInfo } from './Events/QueryRun';
|
|
1
|
+
import { SelectionChangedInfo, LiveDataChangedInfo, DashboardChangedInfo, ThemeChangedInfo, AlertFiredInfo, LayoutChangedInfo, AdaptableReadyInfo, CustomToolbarConfiguredInfo, CellChangedInfo, SystemStatusMessageDisplayedInfo, AdaptableStateChangedInfo, FlashingCellDisplayedInfo, GridDataChangedInfo, TeamSharingEntityChangedInfo, ActionRowSubmittedInfo, DataSetSelectedInfo, AdaptableStateReloadedInfo, GridSortedInfo, ScheduleTriggeredInfo, ChartChangedInfo, ThemeEditedInfo, Fdc3MessageInfo, DataImportedInfo, ColumnFilterAppliedInfo, GridFilterAppliedInfo } from '../types';
|
|
3
2
|
/**
|
|
4
3
|
* Responsible for publishing the many Events that AdapTable fires
|
|
5
4
|
*/
|
|
@@ -17,20 +16,6 @@ export interface EventApi {
|
|
|
17
16
|
* @param callback
|
|
18
17
|
*/
|
|
19
18
|
off(eventName: 'GridSorted', callback: (gridSortedInfo: GridSortedInfo) => void): void;
|
|
20
|
-
/**
|
|
21
|
-
* Event fired whenever a Query is run in AdapTable
|
|
22
|
-
* @deprecated use `on('GridFilterApplied')` instead
|
|
23
|
-
* @param eventName QueryRun
|
|
24
|
-
* @param callback QueryRun which provides details of the Query and the associated AST
|
|
25
|
-
* @returns the unsubscribe function
|
|
26
|
-
*/
|
|
27
|
-
on(eventName: 'QueryRun', callback: (queryRunInfo: QueryRunInfo) => void): VoidFunction;
|
|
28
|
-
/**
|
|
29
|
-
* Unsubscribe from QueryRun
|
|
30
|
-
* @param eventName QueryRun
|
|
31
|
-
* @param callback
|
|
32
|
-
*/
|
|
33
|
-
off(eventName: 'QueryRun', callback: (queryRunInfo: QueryRunInfo) => void): void;
|
|
34
19
|
on(eventName: 'GridFilterApplied', callback: (gridFilterAppliedInfo: GridFilterAppliedInfo) => void): VoidFunction;
|
|
35
20
|
/**
|
|
36
21
|
* Unsubscribe from GridFilterApplied
|
|
@@ -180,19 +165,6 @@ export interface EventApi {
|
|
|
180
165
|
* Unsubscribe from FlashingCellDisplayed
|
|
181
166
|
*/
|
|
182
167
|
off(eventName: 'FlashingCellDisplayed', callback: (flashingCellDisplayedInfo: FlashingCellDisplayedInfo) => void): void;
|
|
183
|
-
/**
|
|
184
|
-
* Event fired whenever the **Button in a Checkbox Column is clicked**.
|
|
185
|
-
* @param eventName CheckboxColumnClicked
|
|
186
|
-
* @param callback CheckboxColumnClickedInfo which includes details of the CheckboxColumn
|
|
187
|
-
* @returns the unsubscribe function
|
|
188
|
-
* @deprecated
|
|
189
|
-
*/
|
|
190
|
-
on(eventName: 'CheckboxColumnClicked', callback: (checkboxColumnClickedInfo: CheckboxColumnClickedInfo) => void): VoidFunction;
|
|
191
|
-
/**
|
|
192
|
-
* Unsubscribe from CheckboxColumnClicked
|
|
193
|
-
* @deprecated
|
|
194
|
-
*/
|
|
195
|
-
off(eventName: 'CheckboxColumnClicked', callback: (checkboxColumnClickedInfo: CheckboxColumnClickedInfo) => void): void;
|
|
196
168
|
/**
|
|
197
169
|
* Event fired whenever the current Layout updates in AdapTable
|
|
198
170
|
* @param eventName LayoutChanged
|
|
@@ -344,6 +316,6 @@ export interface EventApi {
|
|
|
344
316
|
emitSync(eventName: 'DashboardChanged', data?: any): any[];
|
|
345
317
|
emitSync(eventName: 'FlashingCellDisplayed', data?: any): any[];
|
|
346
318
|
emitSync(eventName: 'AdaptableDestroy'): any[];
|
|
347
|
-
emit(eventName: 'ActionRowSubmitted' | 'AdaptableReady' | 'AlertFired' | 'AdaptableStateChanged' | 'AdaptableStateReloaded' | 'CellChanged' | 'ChartChanged' | 'CheckboxColumnClicked' | 'CustomToolbarConfigured' | 'DashboardChanged' | 'DataImported' | 'DataSetSelected' | 'ColumnFilterApplied' | 'Fdc3Message' | 'GridDataChanged' | 'GridSorted' | 'LayoutChanged' | 'LiveDataChanged' | '
|
|
319
|
+
emit(eventName: 'ActionRowSubmitted' | 'AdaptableReady' | 'AlertFired' | 'AdaptableStateChanged' | 'AdaptableStateReloaded' | 'CellChanged' | 'ChartChanged' | 'CheckboxColumnClicked' | 'CustomToolbarConfigured' | 'DashboardChanged' | 'DataImported' | 'DataSetSelected' | 'ColumnFilterApplied' | 'Fdc3Message' | 'GridDataChanged' | 'GridSorted' | 'LayoutChanged' | 'LiveDataChanged' | 'ScheduleTriggered' | 'SearchChanged' | 'SelectionChanged' | 'SystemStatusMessageDisplayed' | 'TeamSharingEntityChanged' | 'ThemeChanged' | 'ThemeEdited' | 'GridFilterApplied', data?: any): Promise<any>;
|
|
348
320
|
destroy(): void;
|
|
349
321
|
}
|