@adaptabletools/adaptable 17.0.0-canary.0 → 17.0.0-canary.2
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 +9 -110
- 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 +193 -190
- package/src/agGrid/AdaptableLogger.js +15 -15
- 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 +16 -14
- 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/ColorPicker/ColorPicker.js +1 -1
- 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
|
@@ -2,69 +2,165 @@ import { Chart, ChatInitSettings, Contact, ContactList, Context, Country, Curren
|
|
|
2
2
|
/**
|
|
3
3
|
* FDC3 (2.0) Standard Context Types supported by AdapTable
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
export type Fdc3StandardContextType = ChartContextType | ChatInitSettingsContextType | ContactContextType | ContactListContextType | CountryContextType | CurrencyContextType | EmailContextType | InstrumentContextType | InstrumentListContextType | OrganizationContextType | PortfolioContextType | PositionContextType | TimeRangeContextType | ValuationContextType | NothingContextType;
|
|
6
|
+
/**
|
|
7
|
+
* Type for FDC3 Custom Context
|
|
8
|
+
*/
|
|
9
|
+
export type Fdc3CustomContextType = string;
|
|
10
|
+
/**
|
|
11
|
+
* Type for FDC3 Contexts (can be Standard or Custom)
|
|
12
|
+
*/
|
|
13
|
+
export type Fdc3ContextType = Fdc3StandardContextType | Fdc3CustomContextType;
|
|
8
14
|
export declare const ChartContextKey = "fdc3.chart";
|
|
9
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Type for FDC3 Chart Context
|
|
17
|
+
*/
|
|
18
|
+
export type ChartContextType = typeof ChartContextKey;
|
|
10
19
|
export declare const ChatInitSettingsContextKey = "fdc3.chat.initSettings";
|
|
11
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Type for FDC3 Chart Init Settings Context
|
|
22
|
+
*/
|
|
23
|
+
export type ChatInitSettingsContextType = typeof ChatInitSettingsContextKey;
|
|
12
24
|
export declare const ContactContextKey = "fdc3.contact";
|
|
13
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Type for FDC3 Contact Context
|
|
27
|
+
*/
|
|
28
|
+
export type ContactContextType = typeof ContactContextKey;
|
|
14
29
|
export declare const ContactListContextKey = "fdc3.contactList";
|
|
15
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Type for FDC3 Contact List Context
|
|
32
|
+
*/
|
|
33
|
+
export type ContactListContextType = typeof ContactListContextKey;
|
|
16
34
|
export declare const CountryContextKey = "fdc3.country";
|
|
17
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Type for FDC3 Country Context
|
|
37
|
+
*/
|
|
38
|
+
export type CountryContextType = typeof CountryContextKey;
|
|
18
39
|
export declare const CurrencyContextKey = "fdc3.currency";
|
|
19
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Type for FDC3 Currency Context
|
|
42
|
+
*/
|
|
43
|
+
export type CurrencyContextType = typeof CurrencyContextKey;
|
|
20
44
|
export declare const EmailContextKey = "fdc3.email";
|
|
21
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Type for FDC3 Email Context
|
|
47
|
+
*/
|
|
48
|
+
export type EmailContextType = typeof EmailContextKey;
|
|
22
49
|
export declare const InstrumentContextKey = "fdc3.instrument";
|
|
23
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Type for FDC3 Instrument Context
|
|
52
|
+
*/
|
|
53
|
+
export type InstrumentContextType = typeof InstrumentContextKey;
|
|
24
54
|
export declare const InstrumentListContextKey = "fdc3.instrumentList";
|
|
25
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Type for FDC3 Instrument List Context
|
|
57
|
+
*/
|
|
58
|
+
export type InstrumentListContextType = typeof InstrumentListContextKey;
|
|
26
59
|
export declare const OrganizationContextKey = "fdc3.organization";
|
|
27
|
-
|
|
60
|
+
/**
|
|
61
|
+
* Type for FDC3 Organization Context
|
|
62
|
+
*/
|
|
63
|
+
export type OrganizationContextType = typeof OrganizationContextKey;
|
|
28
64
|
export declare const PortfolioContextKey = "fdc3.portfolio";
|
|
29
|
-
|
|
65
|
+
/**
|
|
66
|
+
* Type for FDC3 Portfolio Context
|
|
67
|
+
*/
|
|
68
|
+
export type PortfolioContextType = typeof PortfolioContextKey;
|
|
30
69
|
export declare const PositionContextKey = "fdc3.position";
|
|
31
|
-
|
|
70
|
+
/**
|
|
71
|
+
* Type for FDC3 Position Context
|
|
72
|
+
*/
|
|
73
|
+
export type PositionContextType = typeof PositionContextKey;
|
|
32
74
|
export declare const TimeRangeContextKey = "fdc3.timerange";
|
|
33
|
-
|
|
75
|
+
/**
|
|
76
|
+
* Type for FDC3 Time Range Context
|
|
77
|
+
*/
|
|
78
|
+
export type TimeRangeContextType = typeof TimeRangeContextKey;
|
|
34
79
|
export declare const ValuationContextKey = "fdc3.valuation";
|
|
35
|
-
|
|
80
|
+
/**
|
|
81
|
+
* Type for FDC3 Valuation Context
|
|
82
|
+
*/
|
|
83
|
+
export type ValuationContextType = typeof ValuationContextKey;
|
|
36
84
|
export declare const NothingContextKey = "fdc3.nothing";
|
|
37
|
-
|
|
85
|
+
/**
|
|
86
|
+
* Type for FDC3 Nothing Context
|
|
87
|
+
*/
|
|
88
|
+
export type NothingContextType = typeof NothingContextKey;
|
|
38
89
|
/**
|
|
39
90
|
* FDC3 (2.0) Contexts
|
|
40
91
|
*/
|
|
41
|
-
export
|
|
92
|
+
export type Fdc3StandardContext = ChartContext | ChatInitSettingsContext | ContactContext | ContactListContext | CountryContext | CurrencyContext | EmailContext | InstrumentContext | InstrumentListContext | OrganizationContext | PortfolioContext | PositionContext | TimeRangeContext | ValuationContext | NothingContext;
|
|
42
93
|
/**
|
|
43
94
|
* FDC3 (2.0) Custom Context
|
|
44
95
|
*/
|
|
45
|
-
export
|
|
96
|
+
export type Fdc3CustomContext = Context;
|
|
46
97
|
/**
|
|
47
98
|
* FDC3 (2.0) Generic Context (Standard or Custom)
|
|
48
99
|
*/
|
|
49
|
-
export
|
|
50
|
-
export
|
|
100
|
+
export type Fdc3Context = Fdc3StandardContext | Fdc3CustomContext;
|
|
101
|
+
export type TypedFdc3Context<CONTEXT, TYPE extends Fdc3StandardContextType> = CONTEXT & {
|
|
51
102
|
type: TYPE;
|
|
52
103
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
export
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
export
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
104
|
+
/**
|
|
105
|
+
* FDC3 2.0 Chart Context
|
|
106
|
+
*/
|
|
107
|
+
export type ChartContext = TypedFdc3Context<Chart, ContextTypes.Chart>;
|
|
108
|
+
/**
|
|
109
|
+
* FDC3 2.0 Chat Context
|
|
110
|
+
*/
|
|
111
|
+
export type ChatInitSettingsContext = TypedFdc3Context<ChatInitSettings, ContextTypes.ChatInitSettings>;
|
|
112
|
+
/**
|
|
113
|
+
* FDC3 2.0 Contact Context
|
|
114
|
+
*/
|
|
115
|
+
export type ContactContext = TypedFdc3Context<Contact, ContextTypes.Contact>;
|
|
116
|
+
/**
|
|
117
|
+
* FDC3 2.0 Contact List Context
|
|
118
|
+
*/
|
|
119
|
+
export type ContactListContext = TypedFdc3Context<ContactList, ContextTypes.ContactList>;
|
|
120
|
+
/**
|
|
121
|
+
* FDC3 2.0 Country Context
|
|
122
|
+
*/
|
|
123
|
+
export type CountryContext = TypedFdc3Context<Country, ContextTypes.Country>;
|
|
124
|
+
/**
|
|
125
|
+
* FDC3 2.0 Currency Context
|
|
126
|
+
*/
|
|
127
|
+
export type CurrencyContext = TypedFdc3Context<Currency, ContextTypes.Currency>;
|
|
128
|
+
/**
|
|
129
|
+
* FDC3 2.0 Email Context
|
|
130
|
+
*/
|
|
131
|
+
export type EmailContext = TypedFdc3Context<Email, ContextTypes.Email>;
|
|
132
|
+
/**
|
|
133
|
+
* FDC3 2.0 Instrument Context
|
|
134
|
+
*/
|
|
135
|
+
export type InstrumentContext = TypedFdc3Context<Instrument, ContextTypes.Instrument>;
|
|
136
|
+
/**
|
|
137
|
+
* FDC3 2.0 Instrument List Context
|
|
138
|
+
*/
|
|
139
|
+
export type InstrumentListContext = TypedFdc3Context<InstrumentList, ContextTypes.InstrumentList>;
|
|
140
|
+
/**
|
|
141
|
+
* FDC3 2.0 Organization Context
|
|
142
|
+
*/
|
|
143
|
+
export type OrganizationContext = TypedFdc3Context<Organization, ContextTypes.Organization>;
|
|
144
|
+
/**
|
|
145
|
+
* FDC3 2.0 Portfolio Context
|
|
146
|
+
*/
|
|
147
|
+
export type PortfolioContext = TypedFdc3Context<Portfolio, ContextTypes.Portfolio>;
|
|
148
|
+
/**
|
|
149
|
+
* FDC3 2.0 Position Context
|
|
150
|
+
*/
|
|
151
|
+
export type PositionContext = TypedFdc3Context<Position, ContextTypes.Position>;
|
|
152
|
+
/**
|
|
153
|
+
* FDC3 2.0 Time Range Context
|
|
154
|
+
*/
|
|
155
|
+
export type TimeRangeContext = TypedFdc3Context<TimeRange, ContextTypes.TimeRange>;
|
|
156
|
+
/**
|
|
157
|
+
* FDC3 2.0 Valuation Context
|
|
158
|
+
*/
|
|
159
|
+
export type ValuationContext = TypedFdc3Context<Valuation, ContextTypes.Valuation>;
|
|
160
|
+
/**
|
|
161
|
+
* FDC3 2.0 Nothing Context
|
|
162
|
+
*/
|
|
163
|
+
export type NothingContext = TypedFdc3Context<Nothing, ContextTypes.Nothing>;
|
|
68
164
|
export declare const ContextConfiguration: {
|
|
69
165
|
readonly "fdc3.chart": {
|
|
70
166
|
readonly label: "Chart";
|
|
@@ -74,16 +74,16 @@ export declare const Fdc3StandardIntents: ("StartCall" | "StartChat" | "StartEma
|
|
|
74
74
|
/**
|
|
75
75
|
* All FDC3 standard intents
|
|
76
76
|
*/
|
|
77
|
-
export
|
|
77
|
+
export type Fdc3StandardIntentType = typeof Fdc3StandardIntents[number];
|
|
78
78
|
/**
|
|
79
79
|
* Custom FDC3 intent
|
|
80
80
|
*/
|
|
81
|
-
export
|
|
81
|
+
export type Fdc3CustomIntentType = string;
|
|
82
82
|
/**
|
|
83
83
|
* Generic FDC3 intent (standard or custom)
|
|
84
84
|
*/
|
|
85
|
-
export
|
|
85
|
+
export type Fdc3IntentType = Fdc3StandardIntentType | Fdc3CustomIntentType;
|
|
86
86
|
/**
|
|
87
87
|
* Valid context for a given FDC3 intent
|
|
88
88
|
*/
|
|
89
|
-
export
|
|
89
|
+
export type CompatibleContext<F extends Fdc3StandardIntentType> = typeof Fdc3IntentConfiguration[F]['contexts'][number];
|
|
@@ -34,5 +34,5 @@ export interface BaseSchedule extends SuspendableObject {
|
|
|
34
34
|
*/
|
|
35
35
|
ScheduleType: 'Report' | 'ipushpull' | 'Glue42' | 'Reminder' | 'OpenFin';
|
|
36
36
|
}
|
|
37
|
-
export
|
|
38
|
-
export
|
|
37
|
+
export type Weekdays = Weekday[];
|
|
38
|
+
export type Weekday = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';
|
|
@@ -2,53 +2,53 @@ import { AdaptablePersistentState } from '../AdaptableState';
|
|
|
2
2
|
/**
|
|
3
3
|
* Adaptable Toolbar collection. When setting `Toolbars` in Dashboard state, only those listed here can be included
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export type AdaptableDashboardToolbars = AdaptableDashboardToolbar[];
|
|
6
6
|
/**
|
|
7
7
|
* List of all the Toolbars that Adaptable provides
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type AdaptableDashboardToolbar = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Charting' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'ColumnFilter' | 'Glue42' | 'IPushPull' | 'Layout' | 'GridFilter' | 'OpenFin' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
|
|
10
10
|
export declare const ALL_TOOLBARS: AdaptableDashboardToolbar[];
|
|
11
11
|
/**
|
|
12
12
|
* Modules which can appear in the AdapTable Status Bar
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type AdaptableStatusBarPanel = 'Alert' | 'CalculatedColumn' | 'BulkUpdate' | 'CellSummary' | 'Charting' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataImport' | 'DataSet' | 'Export' | 'ColumnFilter' | 'GridFilter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'SmartEdit' | 'Shortcut' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
|
|
15
15
|
export declare const ALL_STATUS_SUB_PANELS: AdaptableStatusBarPanel[];
|
|
16
|
-
export
|
|
16
|
+
export type AdaptableToolPanels = AdaptableToolPanel[];
|
|
17
17
|
/**
|
|
18
18
|
* Modules which can appear as AdapTable Tool Panels
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Charting' | 'Dashboard' | 'DataChangeHistory' | 'Export' | 'ColumnFilter' | 'GridFilter' | 'IPushPull' | 'Layout' | 'OpenFin' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
|
|
21
21
|
export declare const ALL_TOOL_PANELS: AdaptableToolPanels;
|
|
22
22
|
/**
|
|
23
23
|
* Adaptable Module Button collection
|
|
24
24
|
*
|
|
25
25
|
* When setting the `ModuleButtons` property in Dashboard state, only the Module Buttons listed here can be included.
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type AdaptableModuleButtons = AdaptableModuleButton[];
|
|
28
28
|
/**
|
|
29
29
|
* List of all the Module buttons Adaptable provides - each Module has a popup for which this is a shortcut button
|
|
30
30
|
*/
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
31
|
+
export type AdaptableModuleButton = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataImport' | 'DataSet' | 'Export' | 'ColumnFilter' | 'GridFilter' | 'NamedQuery' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme';
|
|
32
|
+
export type AdaptableStateKeys = AdaptableStateKey[];
|
|
33
|
+
export type AdaptableStateKey = keyof AdaptablePersistentState | 'OpenFin' | 'Glue42' | 'IPushPull';
|
|
34
34
|
/**
|
|
35
35
|
* Modules provided by AdapTable, subject to Entitlements and usually have Predefined Config
|
|
36
36
|
*/
|
|
37
|
-
export
|
|
37
|
+
export type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Fdc3' | 'ColumnFilter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'ColumnInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel' | 'Notes' | 'DataImport' | 'GridFilter' | 'NamedQuery';
|
|
38
38
|
export declare const ALL_MODULES: AdaptableModule[];
|
|
39
39
|
/**
|
|
40
40
|
* Modules which can appear in the Settings Panel
|
|
41
41
|
*/
|
|
42
|
-
export
|
|
43
|
-
export
|
|
42
|
+
export type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'Charting' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'ColumnFilter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'ColumnInfo' | 'Layout' | 'PlusMinus' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StateManagement' | 'StatusBar' | 'StyledColumn' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel' | 'Notes' | 'DataImport' | 'GridFilter' | 'NamedQuery';
|
|
43
|
+
export type TypeHint<Base, Literals> = (Base & {
|
|
44
44
|
__subType?: true;
|
|
45
45
|
}) | Literals;
|
|
46
|
-
export
|
|
46
|
+
export type AdaptableQLModules = AdaptableQLModule[];
|
|
47
47
|
/**
|
|
48
48
|
* Modules which leverage AdapTableQL; can be used to set remote evaluation
|
|
49
49
|
*/
|
|
50
|
-
export
|
|
50
|
+
export type AdaptableQLModule = 'Alert' | 'CalculatedColumn' | 'ColumnFilter' | 'GridFilter';
|
|
51
51
|
/**
|
|
52
52
|
* Column Types recognised by AdapTable; to be set in GridOptions
|
|
53
53
|
*/
|
|
54
|
-
export
|
|
54
|
+
export type AdaptableColumnType = 'abColDefBoolean' | 'abColDefDate' | 'abColDefNumber' | 'abColDefString' | 'abColDefObject' | 'abColDefStringArray' | 'abColDefNumberArray' | 'abColDefTupleNumberArray' | 'abColDefObjectNumberArray' | 'abColDefCustom' | 'abSpecialColumn' | 'abRowActionsColumn' | 'abFdc3Column';
|
|
@@ -81,16 +81,16 @@ export interface ReportData {
|
|
|
81
81
|
/**
|
|
82
82
|
* Names of Reports provided by AdapTable
|
|
83
83
|
*/
|
|
84
|
-
export
|
|
84
|
+
export type SystemReportName = 'Visual Data' | 'All Data' | 'Current Data' | 'Selected Cells' | 'Selected Rows';
|
|
85
85
|
/**
|
|
86
86
|
* Columns to be included in a Report
|
|
87
87
|
*/
|
|
88
|
-
export
|
|
88
|
+
export type ReportColumnScope = 'AllColumns' | 'VisibleColumns' | 'SelectedColumns' | 'ScopeColumns';
|
|
89
89
|
/**
|
|
90
90
|
* AG Grid Row Data to be included in a Report
|
|
91
91
|
*/
|
|
92
|
-
export
|
|
92
|
+
export type ReportRowScope = 'AllRows' | 'VisibleRows' | 'SelectedCellRows' | 'SelectedRows' | 'ExpressionRows';
|
|
93
93
|
/**
|
|
94
94
|
* Array containing all System Report names
|
|
95
95
|
*/
|
|
96
|
-
export
|
|
96
|
+
export type SystemReportNames = SystemReportName[];
|
|
@@ -11,7 +11,7 @@ export interface FlashingCellDefinitionPredicate extends AdaptableColumnPredicat
|
|
|
11
11
|
/**
|
|
12
12
|
* The Flashing Cell Rule - either an AdaptablePredicate or an AdaptableQuery
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type FlashingCellRule = XOR<{
|
|
15
15
|
Predicates: FlashingCellDefinitionPredicate[];
|
|
16
16
|
}, AdaptableBooleanQuery>;
|
|
17
17
|
/**
|
|
@@ -26,7 +26,7 @@ export interface FlashingCellState extends ConfigState {
|
|
|
26
26
|
/**
|
|
27
27
|
* What should flash? row, cell or aggregated cell
|
|
28
28
|
*/
|
|
29
|
-
export
|
|
29
|
+
export type FlashTargetTypes = 'row' | 'cell' | 'aggFuncCell';
|
|
30
30
|
/**
|
|
31
31
|
* The Flashing Cell Definition
|
|
32
32
|
*/
|
|
@@ -68,8 +68,8 @@ export interface FlashingCellDefinition extends SuspendableObject {
|
|
|
68
68
|
/**
|
|
69
69
|
* Array containing all System Flashing Cell Predicates
|
|
70
70
|
*/
|
|
71
|
-
export
|
|
71
|
+
export type SystemFlashingCellPredicateIds = SystemFlashingCellPredicateId[];
|
|
72
72
|
/**
|
|
73
73
|
* List of System Predicates available for Flashing Cells
|
|
74
74
|
*/
|
|
75
|
-
export
|
|
75
|
+
export type SystemFlashingCellPredicateId = 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'WorkDay' | 'Holiday' | 'True' | 'False' | 'PercentChange' | 'IsNumeric' | 'IsNotNumeric' | 'Values' | 'ExcludeValues' | 'AnyChange';
|
|
@@ -5,7 +5,7 @@ import { AdaptableScope } from './Common/AdaptableScope';
|
|
|
5
5
|
import { SuspendableObject } from './Common/SuspendableObject';
|
|
6
6
|
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
7
7
|
import { TypeHint } from './Common/Types';
|
|
8
|
-
import { AdaptableBooleanQuery
|
|
8
|
+
import { AdaptableBooleanQuery } from '../types';
|
|
9
9
|
import { AdaptableColumnPredicate } from './Common/AdaptablePredicate';
|
|
10
10
|
/**
|
|
11
11
|
* Predefined Configuration for Format Column Module
|
|
@@ -32,10 +32,6 @@ export interface FormatColumn extends SuspendableObject {
|
|
|
32
32
|
* Style to apply
|
|
33
33
|
*/
|
|
34
34
|
Style?: AdaptableStyle;
|
|
35
|
-
/**
|
|
36
|
-
* @deprecated now in StyledColumn Module
|
|
37
|
-
*/
|
|
38
|
-
ColumnStyle?: ColumnStyle;
|
|
39
35
|
/**
|
|
40
36
|
* Display Format to apply to Column can be Numeric, String or Date
|
|
41
37
|
*/
|
|
@@ -53,7 +49,7 @@ export interface FormatColumn extends SuspendableObject {
|
|
|
53
49
|
/**
|
|
54
50
|
* The Format Column Rule - can be either a Predicate or a BooleanExpression
|
|
55
51
|
*/
|
|
56
|
-
export
|
|
52
|
+
export type FormatColumnRule = XOR<{
|
|
57
53
|
Predicates: FormatColumnPredicate[];
|
|
58
54
|
}, AdaptableBooleanQuery>;
|
|
59
55
|
/**
|
|
@@ -65,27 +61,8 @@ export interface FormatColumnPredicate extends AdaptableColumnPredicate {
|
|
|
65
61
|
/**
|
|
66
62
|
* Array containing all System Format Column Predicates
|
|
67
63
|
*/
|
|
68
|
-
export
|
|
64
|
+
export type SystemFormatColumnPredicateIds = SystemFormatColumnPredicateId[];
|
|
69
65
|
/**
|
|
70
66
|
* List of System Predicates available for Format Columns
|
|
71
67
|
*/
|
|
72
|
-
export
|
|
73
|
-
/**
|
|
74
|
-
* Special Style used when Formatting Columns: Gradient, PercentBar or CheckBox
|
|
75
|
-
*
|
|
76
|
-
* @deprecated use StyledColumn instead
|
|
77
|
-
*/
|
|
78
|
-
export interface ColumnStyle {
|
|
79
|
-
/**
|
|
80
|
-
* Style a numeric column so each cell value shows a gradient shade
|
|
81
|
-
*/
|
|
82
|
-
GradientStyle?: GradientStyle;
|
|
83
|
-
/**
|
|
84
|
-
* Style a numeric column so each cell displays a 'bar'
|
|
85
|
-
*/
|
|
86
|
-
PercentBarStyle?: PercentBarStyle;
|
|
87
|
-
/**
|
|
88
|
-
* Style a boolean column so each cell displays a checkbox
|
|
89
|
-
*/
|
|
90
|
-
CheckBoxStyle?: boolean;
|
|
91
|
-
}
|
|
68
|
+
export type SystemFormatColumnPredicateId = 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'WorkDay' | 'Holiday' | 'True' | 'False' | 'Values' | 'ExcludeValues';
|
|
@@ -34,7 +34,7 @@ export interface AdaptableNote extends AdaptableObject {
|
|
|
34
34
|
/**
|
|
35
35
|
* Collection of Cell Notes
|
|
36
36
|
*/
|
|
37
|
-
export
|
|
37
|
+
export type AdaptableNotes = AdaptableNote[];
|
|
38
38
|
/**
|
|
39
39
|
* Predefined Configuration for Notes Module
|
|
40
40
|
*/
|
|
@@ -47,7 +47,7 @@ export interface NotesState extends ConfigState {
|
|
|
47
47
|
/**
|
|
48
48
|
* Cell that contains a Note
|
|
49
49
|
*/
|
|
50
|
-
export
|
|
50
|
+
export type NoteGridCell = {
|
|
51
51
|
/**
|
|
52
52
|
* Value in Primary Key Column
|
|
53
53
|
*/
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ApplicationState } from './ApplicationState';
|
|
2
2
|
import { AlertState } from './AlertState';
|
|
3
3
|
import { CalculatedColumnState } from './CalculatedColumnState';
|
|
4
|
-
import { ConditionalStyleState } from './ConditionalStyleState';
|
|
5
4
|
import { CustomSortState } from './CustomSortState';
|
|
6
5
|
import { DashboardState } from './DashboardState';
|
|
7
6
|
import { ExportState } from './ExportState';
|
|
@@ -40,10 +39,6 @@ export interface PredefinedConfig {
|
|
|
40
39
|
* Named Charts (wrapping Chart models)
|
|
41
40
|
*/
|
|
42
41
|
Charting?: ChartingState;
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated use `FormatColumn` instead
|
|
45
|
-
*/
|
|
46
|
-
ConditionalStyle?: ConditionalStyleState;
|
|
47
42
|
/**
|
|
48
43
|
* Supplies a collection of *Custom Sort* objects to allow some columns to be sorted in non-standard (e.g. non alphabetical) ways
|
|
49
44
|
*/
|
|
@@ -13,7 +13,7 @@ export interface ShortcutState extends ConfigState {
|
|
|
13
13
|
/**
|
|
14
14
|
* Shortcut scope data type.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type ShortcutScopeDataType = 'Number';
|
|
17
17
|
/**
|
|
18
18
|
* Used to define a Shortcut as used in Shortcut State
|
|
19
19
|
*/
|
|
@@ -28,11 +28,6 @@ export interface StyledColumn extends SuspendableObject {
|
|
|
28
28
|
* Styles a numeric column so each cell displays a 'Bar'
|
|
29
29
|
*/
|
|
30
30
|
PercentBarStyle?: PercentBarStyle;
|
|
31
|
-
/**
|
|
32
|
-
* Renders a Checkbox in a boolean column
|
|
33
|
-
* @deprecated - AG Grid 30 now provides identical functionality
|
|
34
|
-
*/
|
|
35
|
-
CheckBoxStyle?: boolean;
|
|
36
31
|
/**
|
|
37
32
|
* Displays a Sparkline Chart in an array column
|
|
38
33
|
*/
|
|
@@ -119,11 +114,11 @@ export interface CellColorRange {
|
|
|
119
114
|
*/
|
|
120
115
|
export interface ColumnComparison {
|
|
121
116
|
/**
|
|
122
|
-
* Start value - either numeric or Column name
|
|
117
|
+
* Start value - either numeric value or Column name
|
|
123
118
|
*/
|
|
124
119
|
MinValue: number | string;
|
|
125
120
|
/**
|
|
126
|
-
* End value - either numeric or Column name
|
|
121
|
+
* End value - either numeric value or Column name
|
|
127
122
|
*/
|
|
128
123
|
MaxValue: number | string;
|
|
129
124
|
/**
|
|
@@ -134,19 +129,19 @@ export interface ColumnComparison {
|
|
|
134
129
|
/**
|
|
135
130
|
* Array of CellTextOption available in Special Column Styles
|
|
136
131
|
*/
|
|
137
|
-
export
|
|
132
|
+
export type CellTextOptions = CellTextOption[];
|
|
138
133
|
/**
|
|
139
134
|
* Text optionally to show in a Special Column Style special style: 'CellValue' or 'PercentageValue'
|
|
140
135
|
*/
|
|
141
|
-
export
|
|
136
|
+
export type CellTextOption = 'CellValue' | 'PercentageValue';
|
|
142
137
|
/**
|
|
143
138
|
* Whether the Range is Number or Percent based
|
|
144
139
|
*/
|
|
145
|
-
export
|
|
140
|
+
export type RangeValueType = 'Number' | 'Percentage';
|
|
146
141
|
/**
|
|
147
142
|
* Style to show for a Sparkline Column
|
|
148
143
|
*/
|
|
149
|
-
export
|
|
144
|
+
export type SparkLineStyle = {
|
|
150
145
|
/**
|
|
151
146
|
* AG Grid Sparkline Options
|
|
152
147
|
*/
|
|
@@ -155,11 +150,11 @@ export declare type SparkLineStyle = {
|
|
|
155
150
|
/**
|
|
156
151
|
* Predicates available when creating a Badge Style Rule
|
|
157
152
|
*/
|
|
158
|
-
export
|
|
153
|
+
export type SystemBadgeStylePredicateId = 'Values' | 'ExcludeValues' | 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex';
|
|
159
154
|
/**
|
|
160
155
|
* System Predicate Ids available for Badge Style
|
|
161
156
|
*/
|
|
162
|
-
export
|
|
157
|
+
export type SystemBadgeStylePredicateIds = SystemBadgeStylePredicateId[];
|
|
163
158
|
/**
|
|
164
159
|
* System Predicate definition for Badge Style
|
|
165
160
|
*/
|
|
@@ -19,9 +19,9 @@ import { CachedQuery } from './NamedQueryState';
|
|
|
19
19
|
export type { IPushPullReport, IPushPullDomain };
|
|
20
20
|
export type { Glue42Report };
|
|
21
21
|
export type { OpenFinReport };
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export
|
|
22
|
+
type ROW_PRIMARY_KEY = string;
|
|
23
|
+
type COLUMN_ID_OR_WHOLE_ROW_LABEL = string;
|
|
24
|
+
export type DataChangeHistoryMode = 'ACTIVE' | 'INACTIVE' | 'SUSPENDED';
|
|
25
25
|
/**
|
|
26
26
|
* Internal state, used by Adaptable during a session; none of it is provided through Predefined Config, nor is it persisted
|
|
27
27
|
*/
|
|
@@ -25,7 +25,7 @@ export interface TeamSharingState extends InternalState {
|
|
|
25
25
|
/**
|
|
26
26
|
* Defines an object used in Team Sharing. The union type is discriminated by the `EntityType` property (`adaptableEntity` / `customEntity`).
|
|
27
27
|
*/
|
|
28
|
-
export
|
|
28
|
+
export type SharedEntity = AdaptableSharedEntity | CustomSharedEntity;
|
|
29
29
|
export declare const isAdaptableSharedEntity: (entity: SharedEntity) => entity is AdaptableSharedEntity;
|
|
30
30
|
export declare const isCustomSharedEntity: (entity: SharedEntity) => entity is CustomSharedEntity<any>;
|
|
31
31
|
/**
|
|
@@ -165,12 +165,12 @@ export interface CustomSharedEntityConfig {
|
|
|
165
165
|
/**
|
|
166
166
|
* Type of Shared Entity - Snapshot or Active
|
|
167
167
|
*/
|
|
168
|
-
export
|
|
168
|
+
export type SharedEntityType = 'Snapshot' | 'Active';
|
|
169
169
|
export interface TeamSharingImportStep {
|
|
170
170
|
sharedEntity: AdaptableSharedEntity;
|
|
171
171
|
importAction: Redux.Action;
|
|
172
172
|
}
|
|
173
|
-
export
|
|
173
|
+
export type SharedEntityActiveStatus = Record<TypeUuid, {
|
|
174
174
|
sharedEntity: AdaptableSharedEntity;
|
|
175
175
|
importedRevision: number;
|
|
176
176
|
sharedRevision: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type TypeUuid = string;
|
|
2
2
|
export declare const createUuid: () => TypeUuid;
|
|
@@ -6,7 +6,7 @@ import { SelectedRowInfo } from '../../PredefinedConfig/Selection/SelectedRowInf
|
|
|
6
6
|
import { AdaptableMenuItem } from '../../PredefinedConfig/Common/Menu';
|
|
7
7
|
import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
|
|
8
8
|
import { ColumnSort } from '../../PredefinedConfig/Common/ColumnSort';
|
|
9
|
-
import { Layout, CellSummmary, ColumnFilter } from '../../types';
|
|
9
|
+
import { Layout, CellSummmary, ColumnFilter, GridFilter } from '../../types';
|
|
10
10
|
import { IRowNode } from '@ag-grid-community/core';
|
|
11
11
|
/**
|
|
12
12
|
* @ReduxAction Columns have been set in the Grid
|
|
@@ -90,6 +90,7 @@ export declare const LAYOUT_DRAFT_COLUMN_FILTER_SUSPEND = "LAYOUT_DRAFT_COLUMN_F
|
|
|
90
90
|
export declare const LAYOUT_DRAFT_COLUMN_FILTER_SUSPEND_ALL = "LAYOUT_DRAFT_COLUMN_FILTER_SUSPEND_ALL";
|
|
91
91
|
export declare const LAYOUT_DRAFT_COLUMN_FILTER_UNSUSPEND = "LAYOUT_DRAFT_COLUMN_FILTER_UNSUSPEND";
|
|
92
92
|
export declare const LAYOUT_DRAFT_COLUMN_FILTER_UNSUSPEND_ALL = "LAYOUT_DRAFT_COLUMN_FILTER_UNSUSPEND_ALL";
|
|
93
|
+
export declare const LAYOUT_DRAFT_GRID_FILTER_SET = "LAYOUT_DRAFT_GRID_FILTER_SET";
|
|
93
94
|
export interface GridDataChangedAction extends Redux.Action {
|
|
94
95
|
cellDataChangedInfo: CellDataChangedInfo;
|
|
95
96
|
}
|
|
@@ -188,6 +189,9 @@ export interface LayoutDraftColumnFilterUnsuspendAction extends Redux.Action {
|
|
|
188
189
|
}
|
|
189
190
|
export interface LayoutDraftColumnFilterUnsuspendAllAction extends Redux.Action {
|
|
190
191
|
}
|
|
192
|
+
export interface LayoutDraftGridFilterAddAction extends Redux.Action {
|
|
193
|
+
gridFilter: GridFilter;
|
|
194
|
+
}
|
|
191
195
|
export declare const GridSetColumns: (Columns: AdaptableColumn[]) => GridSetColumnsAction;
|
|
192
196
|
export declare const GridAddColumn: (Column: AdaptableColumn) => GridAddColumnAction;
|
|
193
197
|
export declare const GridAddColumns: (Columns: AdaptableColumn[]) => GridAddColumnsAction;
|
|
@@ -216,4 +220,5 @@ export declare const LayoutDraftColumnFilterSuspend: (columnFilter: ColumnFilter
|
|
|
216
220
|
export declare const LayoutDraftColumnFilterSuspendAll: () => LayoutDraftColumnFilterSuspendAllAction;
|
|
217
221
|
export declare const LayoutDraftColumnFilterUnsuspend: (columnFilter: ColumnFilter) => LayoutDraftColumnFilterUnsuspendAction;
|
|
218
222
|
export declare const LayoutDraftColumnFilterUnsuspendAll: () => LayoutDraftColumnFilterUnsuspendAllAction;
|
|
223
|
+
export declare const LayoutDraftGridFilterSet: (gridFilter: GridFilter) => LayoutDraftGridFilterAddAction;
|
|
219
224
|
export declare const GridReducer: Redux.Reducer<GridState>;
|