@adaptabletools/adaptable 24.0.0-canary.1 → 24.0.0-canary.10
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/agGrid.d.ts +2 -3
- package/agGrid.js +2 -3
- package/aql.d.ts +132 -0
- package/aql.js +260 -0
- package/devtools.d.ts +237 -2
- package/index.css +307 -294
- package/index.d.ts +2 -3
- package/index.js +2 -3
- package/package.json +7 -6
- package/src/AdaptableInterfaces/IAdaptable.d.ts +4 -4
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +24 -0
- package/src/AdaptableOptions/AdaptableOptions.d.ts +97 -69
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +113 -1
- package/src/AdaptableOptions/AlertOptions.d.ts +0 -2
- package/src/AdaptableOptions/ChartingOptions.d.ts +11 -5
- package/src/AdaptableOptions/ColumnMenuOptions.d.ts +30 -0
- package/src/AdaptableOptions/ColumnOptions.d.ts +0 -2
- package/src/AdaptableOptions/CommentOptions.d.ts +12 -4
- package/src/AdaptableOptions/ContextMenuOptions.d.ts +31 -1
- package/src/AdaptableOptions/DashboardOptions.d.ts +0 -3
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +3 -2
- package/src/AdaptableOptions/DefaultAdaptableOptions.js +11 -5
- package/src/AdaptableOptions/EditOptions.d.ts +18 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +23 -0
- package/src/AdaptableOptions/ExpressionOptions.d.ts +0 -3
- package/src/AdaptableOptions/Fdc3Options.d.ts +77 -3
- package/src/AdaptableOptions/FilterOptions.d.ts +13 -8
- package/src/AdaptableOptions/FlashingCellOptions.d.ts +3 -3
- package/src/AdaptableOptions/LayoutOptions.d.ts +16 -3
- package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -1
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +0 -2
- package/src/AdaptableOptions/RowFormOptions.d.ts +9 -0
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +16 -5
- package/src/AdaptableOptions/StateOptions.d.ts +37 -13
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +89 -6
- package/src/AdaptableState/AdaptableState.d.ts +99 -3
- package/src/AdaptableState/AlertState.d.ts +20 -21
- package/src/AdaptableState/ApplicationState.d.ts +5 -3
- package/src/AdaptableState/BaseState.d.ts +9 -2
- package/src/AdaptableState/CalculatedColumnState.d.ts +10 -8
- package/src/AdaptableState/ChartingState.d.ts +10 -5
- package/src/AdaptableState/CommentState.d.ts +10 -4
- package/src/AdaptableState/Common/AdaptableAlert.d.ts +21 -2
- package/src/AdaptableState/Common/AdaptableAlert.js +9 -0
- package/src/AdaptableState/Common/AdaptableButton.d.ts +3 -1
- package/src/AdaptableState/Common/AdaptableColumn.d.ts +38 -1
- package/src/AdaptableState/Common/AdaptableFilterState.d.ts +3 -1
- package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +3 -1
- package/src/AdaptableState/Common/AdaptableForm.d.ts +9 -0
- package/src/AdaptableState/Common/AdaptableFormat.d.ts +27 -1
- package/src/AdaptableState/Common/AdaptableIcon.d.ts +4 -2
- package/src/AdaptableState/Common/AdaptableObject.d.ts +9 -1
- package/src/AdaptableState/Common/AdaptableQuery.d.ts +9 -0
- package/src/AdaptableState/Common/AdaptableStyle.d.ts +6 -8
- package/src/AdaptableState/Common/AggregationColumns.d.ts +15 -6
- package/src/AdaptableState/Common/ButtonStyle.d.ts +3 -1
- package/src/AdaptableState/Common/CellDataChangedInfo.d.ts +6 -2
- package/src/AdaptableState/Common/CellHighlightInfo.d.ts +4 -2
- package/src/AdaptableState/Common/CellSummary.d.ts +33 -0
- package/src/AdaptableState/Common/ColumnFilter.d.ts +3 -1
- package/src/AdaptableState/Common/ColumnHighlightInfo.d.ts +4 -2
- package/src/AdaptableState/Common/ColumnScope.d.ts +32 -1
- package/src/AdaptableState/Common/ColumnSetupInfo.d.ts +17 -0
- package/src/AdaptableState/Common/ColumnSort.d.ts +3 -1
- package/src/AdaptableState/Common/CompactCalculatedColumnEditorInfo.d.ts +3 -0
- package/src/AdaptableState/Common/DataChangedScope.d.ts +3 -1
- package/src/AdaptableState/Common/DataUpdateConfig.d.ts +3 -1
- package/src/AdaptableState/Common/Entitlement.d.ts +4 -2
- package/src/AdaptableState/Common/Enums.d.ts +21 -0
- package/src/AdaptableState/Common/ExtendedLayout.d.ts +3 -1
- package/src/AdaptableState/Common/Fdc3Context.d.ts +9 -0
- package/src/AdaptableState/Common/Fdc3Intent.d.ts +6 -0
- package/src/AdaptableState/Common/GridFilter.d.ts +3 -1
- package/src/AdaptableState/Common/MenuItem.d.ts +9 -0
- package/src/AdaptableState/Common/RowHighlightInfo.d.ts +4 -2
- package/src/AdaptableState/Common/RowScope.d.ts +3 -1
- package/src/AdaptableState/Common/RowSummary.d.ts +14 -4
- package/src/AdaptableState/Common/RowsHighlightInfo.d.ts +5 -3
- package/src/AdaptableState/Common/Schedule.d.ts +10 -2
- package/src/AdaptableState/Common/SpecialColumnSettings.d.ts +3 -1
- package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +4 -2
- package/src/AdaptableState/Common/TransposeConfig.d.ts +1 -1
- package/src/AdaptableState/Common/Types.d.ts +9 -0
- package/src/AdaptableState/CustomSortState.d.ts +8 -5
- package/src/AdaptableState/DashboardState.d.ts +14 -10
- package/src/AdaptableState/ExportState.d.ts +12 -4
- package/src/AdaptableState/FlashingCellState.d.ts +8 -5
- package/src/AdaptableState/FormatColumnState.d.ts +28 -8
- package/src/AdaptableState/FreeTextColumnState.d.ts +14 -8
- package/src/AdaptableState/IPushPullState.d.ts +39 -3
- package/src/AdaptableState/InitialState.d.ts +9 -9
- package/src/AdaptableState/InternalState.d.ts +183 -3
- package/src/AdaptableState/LayoutState.d.ts +64 -21
- package/src/AdaptableState/NamedQueryState.d.ts +16 -4
- package/src/AdaptableState/NoteState.d.ts +7 -3
- package/src/AdaptableState/OpenFinState.d.ts +12 -2
- package/src/AdaptableState/PlusMinusState.d.ts +8 -4
- package/src/AdaptableState/PopupState.d.ts +29 -1
- package/src/AdaptableState/QuickSearchState.d.ts +9 -3
- package/src/AdaptableState/Selection/GridCell.d.ts +5 -3
- package/src/AdaptableState/Selection/GridCellRange.d.ts +8 -7
- package/src/AdaptableState/Selection/SelectedCellInfo.d.ts +1 -1
- package/src/AdaptableState/ShortcutState.d.ts +7 -3
- package/src/AdaptableState/StatusBarState.d.ts +7 -6
- package/src/AdaptableState/StyledColumnState.d.ts +46 -14
- package/src/AdaptableState/StyledColumns/GradientStyle.d.ts +4 -0
- package/src/AdaptableState/TeamSharingState.d.ts +46 -2
- package/src/AdaptableState/ThemeState.d.ts +24 -2
- package/src/AdaptableState/ToolPanelState.d.ts +10 -5
- package/src/AdaptableState/UserInterfaceState.d.ts +2 -2
- package/src/AdaptableState/Uuid.d.ts +6 -0
- package/src/Api/ActionColumnApi.d.ts +3 -1
- package/src/Api/AdaptableApi.d.ts +54 -50
- package/src/Api/AlertApi.d.ts +20 -12
- package/src/Api/ApplicationApi.d.ts +6 -2
- package/src/Api/BulkUpdateApi.d.ts +2 -1
- package/src/Api/CalculatedColumnApi.d.ts +4 -1
- package/src/Api/CalendarApi.d.ts +10 -0
- package/src/Api/CellSummaryApi.d.ts +9 -3
- package/src/Api/ChartingApi.d.ts +22 -7
- package/src/Api/ColumnApi.d.ts +71 -4
- package/src/Api/ColumnFilterApi.d.ts +13 -3
- package/src/Api/ColumnMenuApi.d.ts +13 -2
- package/src/Api/ColumnScopeApi.d.ts +27 -1
- package/src/Api/CommentApi.d.ts +10 -7
- package/src/Api/ContextMenuApi.d.ts +11 -1
- package/src/Api/CustomSortApi.d.ts +6 -2
- package/src/Api/DashboardApi.d.ts +30 -9
- package/src/Api/DataChangeHistoryApi.d.ts +9 -3
- package/src/Api/DataImportApi.d.ts +1 -1
- package/src/Api/EntitlementApi.d.ts +6 -1
- package/src/Api/EventApi.d.ts +67 -19
- package/src/Api/Events/AdaptableReady.d.ts +6 -2
- package/src/Api/Events/AdaptableStateChanged.d.ts +9 -5
- package/src/Api/Events/AdaptableStateReloaded.d.ts +7 -3
- package/src/Api/Events/AlertFired.d.ts +8 -2
- package/src/Api/Events/BeforeAdaptableStateChange.d.ts +6 -2
- package/src/Api/Events/CalculatedColumnChanged.d.ts +7 -3
- package/src/Api/Events/CellChanged.d.ts +6 -2
- package/src/Api/Events/CellSelectionChanged.d.ts +6 -2
- package/src/Api/Events/ChartChanged.d.ts +16 -8
- package/src/Api/Events/CommentChanged.d.ts +8 -2
- package/src/Api/Events/CustomToolbarConfigured.d.ts +6 -2
- package/src/Api/Events/DashboardChanged.d.ts +27 -6
- package/src/Api/Events/DataImported.d.ts +8 -4
- package/src/Api/Events/DataSetSelected.d.ts +6 -2
- package/src/Api/Events/Fdc3MessageInfo.d.ts +14 -4
- package/src/Api/Events/FlashingCellDisplayed.d.ts +6 -2
- package/src/Api/Events/GridFilterApplied.d.ts +11 -3
- package/src/Api/Events/GridSorted.d.ts +6 -2
- package/src/Api/Events/LayoutChanged.d.ts +41 -8
- package/src/Api/Events/LiveDataChanged.d.ts +21 -5
- package/src/Api/Events/NoteChanged.d.ts +5 -1
- package/src/Api/Events/ReportScheduleRan.d.ts +7 -3
- package/src/Api/Events/RowChanged.d.ts +6 -2
- package/src/Api/Events/RowFormSubmitted.d.ts +28 -12
- package/src/Api/Events/RowSelectionChanged.d.ts +6 -2
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +6 -2
- package/src/Api/Events/TeamSharingEntityChanged.d.ts +6 -2
- package/src/Api/Events/ThemeSelected.d.ts +6 -2
- package/src/Api/ExportApi.d.ts +59 -32
- package/src/Api/ExpressionApi.d.ts +24 -1
- package/src/Api/Fdc3Api.d.ts +16 -3
- package/src/Api/FlashingCellApi.d.ts +6 -1
- package/src/Api/FormatColumnApi.d.ts +18 -11
- package/src/Api/FreeTextColumnApi.d.ts +4 -2
- package/src/Api/GridApi.d.ts +92 -19
- package/src/Api/IPushPullApi.d.ts +19 -2
- package/src/Api/Implementation/AlertApiImpl.d.ts +5 -5
- package/src/Api/Implementation/AlertApiImpl.js +26 -19
- package/src/Api/Implementation/ColumnScopeApiImpl.js +3 -3
- package/src/Api/Implementation/QuickSearchApiImpl.js +2 -2
- package/src/Api/Implementation/StateApiImpl.d.ts +1 -1
- package/src/Api/Implementation/StateApiImpl.js +4 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +0 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.js +9 -15
- package/src/Api/Internal/AdaptableInternalApi.js +5 -3
- package/src/Api/Internal/AlertInternalApi.js +12 -7
- package/src/Api/Internal/CalculatedColumnInternalApi.js +1 -1
- package/src/Api/Internal/EventInternalApi.d.ts +2 -1
- package/src/Api/Internal/EventInternalApi.js +7 -0
- package/src/Api/Internal/StateInternalApi.d.ts +1 -1
- package/src/Api/Internal/StateInternalApi.js +6 -5
- package/src/Api/InteropioPluginApi.d.ts +2 -1
- package/src/Api/LayoutApi.d.ts +29 -15
- package/src/Api/NamedQueryApi.d.ts +10 -6
- package/src/Api/NoteApi.d.ts +15 -11
- package/src/Api/OpenFinApi.d.ts +8 -2
- package/src/Api/OptionsApi.d.ts +43 -1
- package/src/Api/PluginsApi.d.ts +6 -1
- package/src/Api/PlusMinusApi.d.ts +2 -1
- package/src/Api/QuickSearchApi.d.ts +6 -1
- package/src/Api/RowFormApi.d.ts +8 -7
- package/src/Api/ShortcutApi.d.ts +3 -1
- package/src/Api/SmartEditApi.d.ts +4 -1
- package/src/Api/StateApi.d.ts +32 -4
- package/src/Api/StatusBarApi.d.ts +2 -0
- package/src/Api/StyledColumnApi.d.ts +23 -12
- package/src/Api/SystemStatusApi.d.ts +18 -6
- package/src/Api/TeamSharingApi.d.ts +8 -1
- package/src/Api/ThemeApi.d.ts +17 -8
- package/src/Api/ToolPanelApi.d.ts +12 -7
- package/src/Api/UserInterfaceApi.d.ts +10 -5
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +3 -3
- package/src/Redux/ActionsReducers/QuickSearchRedux.d.ts +9 -4
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +12 -7
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.d.ts +8 -0
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +12 -12
- package/src/Redux/Store/AdaptableStore.d.ts +8 -5
- package/src/Redux/Store/AdaptableStore.js +75 -41
- package/src/Redux/Store/Interface/IAdaptableStore.d.ts +5 -5
- package/src/Redux/Store/Interface/IStorageEngine.d.ts +4 -4
- package/src/Redux/Store/StateOptionsGuards.d.ts +58 -0
- package/src/Redux/Store/StateOptionsGuards.js +112 -0
- package/src/Redux/Store/isTransientReduxAction.d.ts +5 -0
- package/src/Redux/Store/isTransientReduxAction.js +19 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.js +1 -0
- package/src/Utilities/Constants/ReduxConstants.d.ts +2 -2
- package/src/Utilities/Constants/ReduxConstants.js +5 -5
- package/src/Utilities/Helpers/AlertTypeHelper.d.ts +1 -1
- package/src/Utilities/Helpers/SettingsPanelHelper.d.ts +14 -0
- package/src/Utilities/Helpers/SettingsPanelHelper.js +37 -1
- package/src/Utilities/Helpers/UIHelper.d.ts +12 -14
- package/src/Utilities/Helpers/UIHelper.js +12 -35
- package/src/Utilities/ObjectFactory.js +3 -3
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +9 -11
- package/src/View/Components/StyleComponent.js +2 -2
- package/src/View/Dashboard/Dashboard.d.ts +1 -1
- package/src/View/Dashboard/Dashboard.js +1 -1
- package/src/View/Dashboard/DashboardPopupSections.js +1 -1
- package/src/View/Filter/ColumnFilter/ColumnFilterNew.js +14 -9
- package/src/View/GridInfo/GridInfoPopup.js +62 -25
- package/src/View/QuickSearch/QuickSearchInput.js +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.d.ts +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
- package/src/View/QuickSearch/Utilities/useQuickSearchDebounced.d.ts +2 -2
- package/src/View/StyledColumn/RangesComponent.js +13 -16
- package/src/View/StyledColumn/Wizard/BadgePillStyleEditor.d.ts +0 -2
- package/src/View/StyledColumn/Wizard/BadgePillStyleEditor.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -3
- package/src/View/StyledColumn/Wizard/StyledColumnSliceStyleEditors.d.ts +0 -3
- package/src/View/StyledColumn/Wizard/StyledColumnSliceStyleEditors.js +3 -3
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +7 -11
- package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +6 -6
- package/src/View/StyledColumn/Wizard/StyledColumnWizardGradientSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +8 -8
- package/src/View/StyledColumn/Wizard/StyledColumnWizardRatingSection.js +4 -4
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardRangesSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +4 -4
- package/src/View/Wizard/CollapsibleWizardCard.d.ts +3 -1
- package/src/View/Wizard/CollapsibleWizardCard.js +17 -9
- package/src/agGrid/Adaptable.d.ts +0 -12
- package/src/agGrid/Adaptable.js +0 -52
- package/src/agGrid/AdaptableAgGrid.d.ts +4 -4
- package/src/agGrid/AdaptableAgGrid.js +2 -0
- package/src/agGrid/AdaptableFrameworkComponent.d.ts +12 -0
- package/src/agGrid/AdaptableLogger.d.ts +74 -1
- package/src/agGrid/AgGridColumnAdapter.d.ts +1 -1
- package/src/agGrid/AgGridColumnAdapter.js +7 -5
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +3 -0
- package/src/agGrid/index.d.ts +1 -6
- package/src/agGrid/index.js +1 -3
- package/src/aql/ExpressionEvaluation.d.ts +27 -0
- package/src/aql/types.d.ts +22 -0
- package/src/components/ColorField/index.d.ts +13 -0
- package/src/components/ColorField/index.js +26 -0
- package/src/components/aql/QueryBuilder/GroupEditor.js +1 -1
- package/src/components/aql/QueryBuilder/QueryBuilder.d.ts +5 -0
- package/src/components/aql/QueryBuilder/QueryBuilder.js +1 -1
- package/src/components/aql/QueryBuilder/QueryBuilderInputs.js +12 -2
- package/src/components/aql/QueryBuilder/context.d.ts +7 -0
- package/src/components/aql/QueryBuilder/context.js +3 -1
- package/src/env.js +2 -2
- package/src/layout-manager/src/normalizeLayoutModel.d.ts +1 -1
- package/src/layout-manager/src/simplifyLayoutModel.d.ts +1 -1
- package/src/migration/AdaptableUpgradeHelper.d.ts +7 -2
- package/src/migration/VersionUpgrade17.js +13 -8
- package/src/migration/VersionUpgrade24.d.ts +9 -0
- package/src/migration/VersionUpgrade24.js +27 -0
- package/src/migration/legacyAdaptableQuery.d.ts +29 -4
- package/src/setupDevTools.js +827 -111
- package/src/types.d.ts +2 -4
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/upgrade.d.ts +1 -0
- package/upgrade.js +1 -0
- package/vendor/components/Button/index.d.ts +1 -1
- package/vendor/components/Button/index.d.ts.map +1 -1
- package/vendor/components/Button/index.js.map +1 -1
- package/vendor/components/CheckBox/index.d.ts +1 -1
- package/vendor/components/CheckBox/index.d.ts.map +1 -1
- package/vendor/components/CheckBox/index.js.map +1 -1
- package/vendor/components/ColorField/index.d.ts +53 -0
- package/vendor/components/ColorField/index.d.ts.map +1 -0
- package/vendor/components/ColorField/index.js +80 -0
- package/vendor/components/ColorField/index.js.map +1 -0
- package/vendor/components/ColorPicker/colorPickerTab.d.ts +4 -0
- package/vendor/components/ColorPicker/colorPickerTab.d.ts.map +1 -0
- package/vendor/components/ColorPicker/colorPickerTab.js +28 -0
- package/vendor/components/ColorPicker/colorPickerTab.js.map +1 -0
- package/vendor/components/ColorPicker/index.d.ts +98 -0
- package/vendor/components/ColorPicker/index.d.ts.map +1 -0
- package/vendor/components/ColorPicker/index.js +322 -0
- package/vendor/components/ColorPicker/index.js.map +1 -0
- package/vendor/components/ColorPicker/themeColors.d.ts +94 -0
- package/vendor/components/ColorPicker/themeColors.d.ts.map +1 -0
- package/vendor/components/ColorPicker/themeColors.js +240 -0
- package/vendor/components/ColorPicker/themeColors.js.map +1 -0
- package/vendor/components/Combobox/VirtualizedList.d.ts +1 -1
- package/vendor/components/Combobox/VirtualizedList.d.ts.map +1 -1
- package/vendor/components/Combobox/VirtualizedList.js.map +1 -1
- package/vendor/components/Combobox/index.d.ts +1 -1
- package/vendor/components/Combobox/index.d.ts.map +1 -1
- package/vendor/components/Combobox/index.js.map +1 -1
- package/vendor/components/NumberInput/index.d.ts +51 -0
- package/vendor/components/NumberInput/index.d.ts.map +1 -0
- package/vendor/components/NumberInput/index.js +82 -0
- package/vendor/components/NumberInput/index.js.map +1 -0
- package/vendor/components/index.css +286 -24
- package/vendor/components/index.d.ts +6 -0
- package/vendor/components/index.d.ts.map +1 -1
- package/vendor/components/index.js +3 -0
- package/vendor/components/index.js.map +1 -1
- package/vendor/components/ui/combobox.d.ts.map +1 -1
- package/vendor/components/ui/combobox.js +1 -1
- package/vendor/components/ui/combobox.js.map +1 -1
- package/vendor/components/ui/input-group.d.ts.map +1 -1
- package/vendor/components/ui/input-group.js +5 -4
- package/vendor/components/ui/input-group.js.map +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +0 -99
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +0 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +0 -15
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +0 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +0 -19
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +0 -337
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +0 -5
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +0 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +0 -30
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +0 -162
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +0 -18
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +0 -12
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +0 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +0 -131
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +0 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +0 -30
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +0 -6
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +0 -80
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +0 -6
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +0 -100
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +0 -11
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +0 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +0 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +0 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +0 -21
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +0 -63
- package/src/View/AdaptableWizardView/Utilities/Utils.d.ts +0 -1
- package/src/View/AdaptableWizardView/Utilities/Utils.js +0 -21
- package/src/View/AdaptableWizardView/Utilities/helper.d.ts +0 -19
- package/src/View/AdaptableWizardView/Utilities/helper.js +0 -81
- package/src/View/AdaptableWizardView/Wizard.d.ts +0 -57
- package/src/View/AdaptableWizardView/Wizard.js +0 -98
- package/src/View/AdaptableWizardView/index.d.ts +0 -4
- package/src/View/AdaptableWizardView/index.js +0 -4
- package/src/components/ColorPicker/ColorPicker.d.ts +0 -12
- package/src/components/ColorPicker/ColorPicker.js +0 -48
- package/src/components/ColorPicker/OptionalColorPicker.d.ts +0 -12
- package/src/components/ColorPicker/OptionalColorPicker.js +0 -13
- package/src/components/ColorPicker/index.d.ts +0 -2
- package/src/components/ColorPicker/index.js +0 -2
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { StandardContextType } from '@finos/fdc3';
|
|
2
|
+
/**
|
|
3
|
+
* Label and icon used for one standard FDC3 context type.
|
|
4
|
+
*/
|
|
2
5
|
interface ContextConfig {
|
|
6
|
+
/**
|
|
7
|
+
* Text shown for this context type.
|
|
8
|
+
*/
|
|
3
9
|
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* AdapTable icon name shown for this context type.
|
|
12
|
+
*/
|
|
4
13
|
icon: string;
|
|
5
14
|
}
|
|
6
15
|
export declare const ContextConfiguration: Record<StandardContextType, ContextConfig>;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { StandardIntent } from '@finos/fdc3';
|
|
2
|
+
/**
|
|
3
|
+
* Icon used for one standard FDC3 intent.
|
|
4
|
+
*/
|
|
2
5
|
interface IntentConfig {
|
|
6
|
+
/**
|
|
7
|
+
* AdapTable icon name shown for this intent.
|
|
8
|
+
*/
|
|
3
9
|
icon: string;
|
|
4
10
|
}
|
|
5
11
|
export declare const Fdc3IntentConfiguration: Record<StandardIntent, IntentConfig>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { SuspendableObject } from '../../types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* A boolean AdapTableQL expression applied to every row in a layout.
|
|
4
|
+
*
|
|
5
|
+
* Rows that do not match `Expression` are hidden. An empty expression, or `IsSuspended: true`, shows every row. This is separate from each column's `ColumnFilter`.
|
|
4
6
|
*/
|
|
5
7
|
export interface GridFilter extends SuspendableObject {
|
|
6
8
|
/**
|
|
@@ -3,6 +3,9 @@ import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupP
|
|
|
3
3
|
import { AdaptableMenuItem, AdaptableContextMenuItemName, AdaptableColumnMenuItemName } from './Menu';
|
|
4
4
|
import { AdaptableModule } from './Types';
|
|
5
5
|
import { AdaptableIcon, AdaptableSystemIconName } from './AdaptableIcon';
|
|
6
|
+
/**
|
|
7
|
+
* A shipped menu item that dispatches a Redux action when it is clicked.
|
|
8
|
+
*/
|
|
6
9
|
export declare class MenuItemDoReduxAction<MENU_TYPE_NAME extends AdaptableColumnMenuItemName | AdaptableContextMenuItemName = AdaptableColumnMenuItemName | AdaptableContextMenuItemName> implements AdaptableMenuItem<MENU_TYPE_NAME> {
|
|
7
10
|
constructor(name: MENU_TYPE_NAME, label: string, module: AdaptableModule, reduxAction: Redux.Action, icon: AdaptableSystemIconName | AdaptableIcon, isVisible: boolean);
|
|
8
11
|
name: MENU_TYPE_NAME;
|
|
@@ -12,6 +15,9 @@ export declare class MenuItemDoReduxAction<MENU_TYPE_NAME extends AdaptableColum
|
|
|
12
15
|
isVisible: boolean;
|
|
13
16
|
icon: AdaptableIcon;
|
|
14
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* A shipped menu item that runs a function when it is clicked.
|
|
20
|
+
*/
|
|
15
21
|
export declare class MenuItemDoClickFunction<MENU_TYPE_NAME extends AdaptableColumnMenuItemName | AdaptableContextMenuItemName = AdaptableColumnMenuItemName | AdaptableContextMenuItemName> implements AdaptableMenuItem<MENU_TYPE_NAME> {
|
|
16
22
|
constructor(name: MENU_TYPE_NAME, label: string, module: AdaptableModule, clickFunction: () => void, icon: AdaptableSystemIconName | AdaptableIcon, isVisible: boolean);
|
|
17
23
|
name: MENU_TYPE_NAME;
|
|
@@ -21,6 +27,9 @@ export declare class MenuItemDoClickFunction<MENU_TYPE_NAME extends AdaptableCol
|
|
|
21
27
|
isVisible: boolean;
|
|
22
28
|
icon: AdaptableIcon;
|
|
23
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* A shipped menu item that opens a popup when it is clicked.
|
|
32
|
+
*/
|
|
24
33
|
export declare class MenuItemShowPopup<MENU_TYPE_NAME extends AdaptableColumnMenuItemName | AdaptableContextMenuItemName = AdaptableColumnMenuItemName | AdaptableContextMenuItemName> implements AdaptableMenuItem<MENU_TYPE_NAME> {
|
|
25
34
|
constructor(name: MENU_TYPE_NAME, label: string, module: AdaptableModule, componentName: string, icon: AdaptableSystemIconName | AdaptableIcon, isVisible: boolean, popupParams?: ModuleParams);
|
|
26
35
|
name: MENU_TYPE_NAME;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { AdaptableStyle } from '../../../types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* A highlight on one row.
|
|
4
|
+
*
|
|
5
|
+
* `primaryKeyValue` is the row. `highlightStyle` is the colours and font. `timeout` is milliseconds; omit it and the highlight stays until it is cleared.
|
|
4
6
|
*/
|
|
5
7
|
export interface RowHighlightInfo {
|
|
6
8
|
/**
|
|
@@ -8,7 +10,7 @@ export interface RowHighlightInfo {
|
|
|
8
10
|
*/
|
|
9
11
|
primaryKeyValue: any;
|
|
10
12
|
/**
|
|
11
|
-
*
|
|
13
|
+
* Milliseconds before the highlight is removed. Omit it and the highlight stays until it is cleared.
|
|
12
14
|
*/
|
|
13
15
|
timeout?: number;
|
|
14
16
|
/**
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Row kinds to skip.
|
|
3
|
+
*
|
|
4
|
+
* Each flag, when true, skips that kind. A flag left unset includes that kind. When the whole `RowScope` is omitted, the feature decides: a Format Column includes every kind.
|
|
3
5
|
*/
|
|
4
6
|
export interface RowScope {
|
|
5
7
|
/**
|
|
@@ -3,22 +3,32 @@ import { SuspendableObject } from './SuspendableObject';
|
|
|
3
3
|
export declare const ROW_SUMMARY_ROW_ID = "__ROW_SUMMARY_ROW_ID";
|
|
4
4
|
export declare const WEIGHTED_AVERAGE_AGGREGATED_FUNCTION = "WEIGHTED_AVERAGE";
|
|
5
5
|
export declare const summarySupportedExpressions: readonly ["MIN", "MAX", "SUM", "PRODUCT", "AVG", "COUNT", "MEDIAN", "MODE", "DISTINCT", "ONLY", "STD_DEVIATION", "WEIGHTED_AVERAGE"];
|
|
6
|
+
/**
|
|
7
|
+
* Built-in summary names: `MIN`, `MAX`, `SUM`, `PRODUCT`, `AVG`, `COUNT`, `MEDIAN`, `MODE`, `DISTINCT`, `ONLY`, `STD_DEVIATION`, `WEIGHTED_AVERAGE`.
|
|
8
|
+
*/
|
|
6
9
|
export type SystemSummarySupportedExpression = (typeof summarySupportedExpressions)[number];
|
|
10
|
+
/**
|
|
11
|
+
* Summary written into a row-summary cell. One of {@link SystemSummarySupportedExpression}.
|
|
12
|
+
*
|
|
13
|
+
* `WEIGHTED_AVERAGE` uses the weighted column from that column's layout aggregation when the aggregation is a weighted average.
|
|
14
|
+
*/
|
|
7
15
|
export type SummarySupportedExpression = TypeHint<string, SystemSummarySupportedExpression>;
|
|
8
16
|
/**
|
|
9
|
-
*
|
|
17
|
+
* Which edge a row summary is pinned to. `'Top'` or `'Bottom'`. When omitted, the summary is pinned to the bottom.
|
|
10
18
|
*/
|
|
11
19
|
export type RowSummaryPosition = 'Top' | 'Bottom';
|
|
12
20
|
/**
|
|
13
|
-
*
|
|
21
|
+
* A pinned row of column summaries in a table layout.
|
|
22
|
+
*
|
|
23
|
+
* `ColumnsMap` is required: each key is a column id and each value is a summary name such as `'SUM'` or `'AVG'`. `Position` is `'Top'` or `'Bottom'`; omit it to pin the row to the bottom. `IncludeOnlyFilteredRows` defaults to true, so the summary uses the rows that pass the current filter. Suspend with `IsSuspended`. Requires AG Grid `PinnedRowModule`.
|
|
14
24
|
*/
|
|
15
25
|
export interface RowSummary extends SuspendableObject {
|
|
16
26
|
/**
|
|
17
|
-
*
|
|
27
|
+
* `'Top'` pins the summary above the rows. `'Bottom'` pins it below them. When omitted, the summary is pinned to the bottom.
|
|
18
28
|
*/
|
|
19
29
|
Position?: RowSummaryPosition;
|
|
20
30
|
/**
|
|
21
|
-
*
|
|
31
|
+
* Column id to summary name. Each value is a {@link SummarySupportedExpression}, for example `'SUM'` or `'AVG'`.
|
|
22
32
|
*/
|
|
23
33
|
ColumnsMap: Record<string, SummarySupportedExpression>;
|
|
24
34
|
/**
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { AdaptableStyle } from '../../../types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* One highlight applied to several rows.
|
|
4
|
+
*
|
|
5
|
+
* `primaryKeyValues` are the rows. `highlightStyle` is the colours and font. `timeout` is milliseconds; omit it and the highlight stays until it is cleared.
|
|
4
6
|
*/
|
|
5
7
|
export interface RowsHighlightInfo {
|
|
6
8
|
/**
|
|
7
|
-
* Primary key
|
|
9
|
+
* Primary key values of the rows to highlight.
|
|
8
10
|
*/
|
|
9
11
|
primaryKeyValues: any[];
|
|
10
12
|
/**
|
|
11
|
-
*
|
|
13
|
+
* Milliseconds before the highlight is removed. Omit it and the highlight stays until it is cleared.
|
|
12
14
|
*/
|
|
13
15
|
timeout?: number;
|
|
14
16
|
/**
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* When a scheduled alert or export runs.
|
|
3
|
+
*
|
|
4
|
+
* `IsOneOff: true` runs once at `RunAt` (an ISO date-time). `IsOneOff: false` repeats on `CronExpression`, a 5-field cron (minute, hour, day of month, month, day of week). Weekdays in that cron are 0–6 with Sunday as 0; `1-5` is Monday to Friday.
|
|
3
5
|
*/
|
|
4
6
|
export interface Schedule {
|
|
5
7
|
/**
|
|
6
|
-
*
|
|
8
|
+
* `true` runs once, at `RunAt`. `false` repeats on `CronExpression`.
|
|
7
9
|
*/
|
|
8
10
|
IsOneOff: boolean;
|
|
9
11
|
/**
|
|
@@ -15,5 +17,11 @@ export interface Schedule {
|
|
|
15
17
|
*/
|
|
16
18
|
CronExpression?: string;
|
|
17
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Day names used when a cron expression is built from selected weekdays. Sunday is cron day 0.
|
|
22
|
+
*/
|
|
18
23
|
export type Weekdays = Weekday[];
|
|
24
|
+
/**
|
|
25
|
+
* A weekday name. Sunday is cron day 0 and Saturday is cron day 6.
|
|
26
|
+
*/
|
|
19
27
|
export type Weekday = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { AdaptableColumnDataType } from './AdaptableColumn';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Column behaviour for a Calculated Column or a Free Text Column.
|
|
4
|
+
*
|
|
5
|
+
* `DataType` is required and is the type AdapTable uses for filters and expressions. `Filterable`, `Resizable`, `Groupable`, `Sortable`, `Pivotable` and `Aggregatable` each default to false. `SuppressMenu` and `SuppressMovable` default to false, so the header menu is shown and the column can be dragged.
|
|
4
6
|
*/
|
|
5
7
|
export interface SpecialColumnSettings {
|
|
6
8
|
/**
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AdaptableMessageType } from './AdaptableMessageType';
|
|
2
2
|
import { Identifiable } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* One message in the System Status panel.
|
|
5
|
+
*
|
|
6
|
+
* `statusMessage` is the text. `statusType` is `'Success'`, `'Info'`, `'Warning'` or `'Error'` and sets the colour. `statusFurtherInformation` is optional extra text. `timestamp` is when it was raised.
|
|
5
7
|
*/
|
|
6
8
|
export interface SystemStatusMessageInfo extends Identifiable {
|
|
7
9
|
/**
|
|
@@ -13,7 +15,7 @@ export interface SystemStatusMessageInfo extends Identifiable {
|
|
|
13
15
|
*/
|
|
14
16
|
statusFurtherInformation?: string;
|
|
15
17
|
/**
|
|
16
|
-
*
|
|
18
|
+
* Message type: `Success`, `Info`, `Warning` or `Error`
|
|
17
19
|
*/
|
|
18
20
|
statusType: AdaptableMessageType;
|
|
19
21
|
/**
|
|
@@ -20,7 +20,7 @@ export interface TransposeConfig {
|
|
|
20
20
|
*/
|
|
21
21
|
columnsToTranspose?: string[] | ((context: AdaptableColumnsContext) => string[]);
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Which rows are transposed. `'All'` (the default, also used when omitted) takes every row. `'VisibleOnly'` takes the rows currently visible. Any other string is a boolean AdapTableQL expression, and only matching rows are transposed.
|
|
24
24
|
* @defaultValue All
|
|
25
25
|
*/
|
|
26
26
|
rowsToTranspose?: TypeHint<string, 'VisibleOnly' | 'All'>;
|
|
@@ -29,7 +29,13 @@ export type AdaptableModuleButtons = AdaptableModuleButton[];
|
|
|
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
31
|
export type AdaptableModuleButton = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Comment' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataImport' | 'DataSet' | 'Export' | 'ColumnFilter' | 'GridFilter' | 'NamedQuery' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'Note' | 'OpenFin' | 'PlusMinus' | 'QuickSearch' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme';
|
|
32
|
+
/**
|
|
33
|
+
* Names of Adaptable State sections.
|
|
34
|
+
*/
|
|
32
35
|
export type AdaptableStateKeys = AdaptableStateKey[];
|
|
36
|
+
/**
|
|
37
|
+
* One Adaptable State section name: a persisted section, or `'OpenFin'` or `'IPushPull'`.
|
|
38
|
+
*/
|
|
33
39
|
export type AdaptableStateKey = keyof AdaptablePersistentState | 'OpenFin' | 'IPushPull';
|
|
34
40
|
/**
|
|
35
41
|
* Modules provided by AdapTable, subject to Entitlements and usually have Initial Adaptable State
|
|
@@ -40,6 +46,9 @@ export declare const ALL_MODULES: AdaptableModule[];
|
|
|
40
46
|
* Modules which can appear in the Settings Panel
|
|
41
47
|
*/
|
|
42
48
|
export type AdaptableSettingsPanel = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'SmartEdit' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'ColumnFilter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'ColumnInfo' | 'Layout' | 'PlusMinus' | 'QuickSearch' | 'Shortcut' | 'StateManagement' | 'StatusBar' | 'StyledColumn' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel' | 'Note' | 'DataImport' | 'GridFilter' | 'NamedQuery' | 'Comment';
|
|
49
|
+
/**
|
|
50
|
+
* A string (or other base type) that editors treat as one of `Literals`, while still accepting any value of the base type.
|
|
51
|
+
*/
|
|
43
52
|
export type TypeHint<Base, Literals> = (Base & {
|
|
44
53
|
__subType?: true;
|
|
45
54
|
}) | Literals;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { BaseState } from './BaseState';
|
|
2
2
|
import { SuspendableObject } from '../types';
|
|
3
3
|
/**
|
|
4
|
-
* Adaptable State
|
|
4
|
+
* Custom Sort section of Adaptable State, including Initial State.
|
|
5
|
+
*
|
|
6
|
+
* Each entry replaces the normal sort of one column with the order in `SortedValues`. Values in that list sort in list order. Values absent from the list sort after them, using the normal comparison. A custom sort comparer registered for the column is used instead of `SortedValues`.
|
|
5
7
|
*/
|
|
6
8
|
export interface CustomSortState extends BaseState {
|
|
7
9
|
/**
|
|
8
|
-
*
|
|
10
|
+
* Custom Sorts to apply. One column uses the first Custom Sort whose `ColumnId` matches.
|
|
9
11
|
*/
|
|
10
12
|
CustomSorts?: CustomSort[];
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
15
|
+
* A column sorted in a fixed order instead of the normal comparison.
|
|
16
|
+
*
|
|
17
|
+
* `ColumnId` is the column. `SortedValues` is the order: listed values come first, in that order, and any other value sorts after them. Date values are stored as ISO dates (`yyyy-MM-dd`). Suspend with `IsSuspended`.
|
|
14
18
|
*/
|
|
15
19
|
export interface CustomSort extends SuspendableObject {
|
|
16
20
|
/**
|
|
@@ -22,8 +26,7 @@ export interface CustomSort extends SuspendableObject {
|
|
|
22
26
|
*/
|
|
23
27
|
ColumnId: string;
|
|
24
28
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
29
|
+
* Sort order. Listed values come first, in this order. Any other value sorts after them. Dates are stored as ISO strings (`yyyy-MM-dd`).
|
|
27
30
|
*/
|
|
28
31
|
SortedValues?: (string | number)[];
|
|
29
32
|
}
|
|
@@ -2,20 +2,22 @@ import { BaseState } from './BaseState';
|
|
|
2
2
|
import { AdaptableDashboardToolbars, AdaptableModuleButtons } from './Common/Types';
|
|
3
3
|
import { AdaptableObject } from './Common/AdaptableObject';
|
|
4
4
|
/**
|
|
5
|
-
* Adaptable State
|
|
5
|
+
* Dashboard section of Adaptable State, including Initial State.
|
|
6
|
+
*
|
|
7
|
+
* The Dashboard sits above the grid. `Tabs` are named groups of toolbars (the default is an empty list). `PinnedToolbars` sit above the grid and are not inside a tab. `ActiveTabIndex` is the zero-based index of the open tab. `IsCollapsed` leaves the header visible and hides the tab contents. `IsFloating` shows a draggable dashboard; `FloatingPosition` is its pixel position. `IsHidden` removes it until it is shown again from the Column Menu or Tool Panel.
|
|
6
8
|
*/
|
|
7
9
|
export interface DashboardState extends BaseState {
|
|
8
10
|
/**
|
|
9
|
-
* Named
|
|
11
|
+
* Named groups of toolbars. Each tab has a `Name` and the `Toolbars` it shows.
|
|
10
12
|
* @defaultValue Empty Array
|
|
11
13
|
*/
|
|
12
14
|
Tabs?: DashboardTab[];
|
|
13
15
|
/**
|
|
14
|
-
* Toolbars
|
|
16
|
+
* Toolbars shown above the grid, outside any tab.
|
|
15
17
|
*/
|
|
16
18
|
PinnedToolbars?: AdaptableDashboardToolbars | string[];
|
|
17
19
|
/**
|
|
18
|
-
*
|
|
20
|
+
* Zero-based index into `Tabs` of the tab that is open.
|
|
19
21
|
*/
|
|
20
22
|
ActiveTabIndex?: number;
|
|
21
23
|
/**
|
|
@@ -24,7 +26,7 @@ export interface DashboardState extends BaseState {
|
|
|
24
26
|
*/
|
|
25
27
|
IsCollapsed?: boolean;
|
|
26
28
|
/**
|
|
27
|
-
* Is Dashboard floating; if true, appears in draggable
|
|
29
|
+
* Is Dashboard floating; if true, it appears in a draggable form (double-click to revert to the default position)
|
|
28
30
|
* @defaultValue false
|
|
29
31
|
*/
|
|
30
32
|
IsFloating?: boolean;
|
|
@@ -34,7 +36,7 @@ export interface DashboardState extends BaseState {
|
|
|
34
36
|
*/
|
|
35
37
|
IsHidden?: boolean;
|
|
36
38
|
/**
|
|
37
|
-
*
|
|
39
|
+
* Pixel position of the Dashboard while `IsFloating` is true. `x` and `y` are offsets in pixels.
|
|
38
40
|
*/
|
|
39
41
|
FloatingPosition?: AdaptableCoordinate;
|
|
40
42
|
/**
|
|
@@ -53,7 +55,9 @@ export interface DashboardState extends BaseState {
|
|
|
53
55
|
DashboardTitle?: string;
|
|
54
56
|
}
|
|
55
57
|
/**
|
|
56
|
-
*
|
|
58
|
+
* One Dashboard tab.
|
|
59
|
+
*
|
|
60
|
+
* `Name` is the label in the header. `Toolbars` are the toolbars shown while this tab is the active one (`ActiveTabIndex`).
|
|
57
61
|
*/
|
|
58
62
|
export interface DashboardTab extends AdaptableObject {
|
|
59
63
|
/**
|
|
@@ -66,15 +70,15 @@ export interface DashboardTab extends AdaptableObject {
|
|
|
66
70
|
Toolbars: AdaptableDashboardToolbars | string[];
|
|
67
71
|
}
|
|
68
72
|
/**
|
|
69
|
-
*
|
|
73
|
+
* Pixel position of the floating Dashboard.
|
|
70
74
|
*/
|
|
71
75
|
export interface AdaptableCoordinate extends AdaptableObject {
|
|
72
76
|
/**
|
|
73
|
-
*
|
|
77
|
+
* Horizontal offset, in pixels.
|
|
74
78
|
*/
|
|
75
79
|
x: number;
|
|
76
80
|
/**
|
|
77
|
-
*
|
|
81
|
+
* Vertical offset, in pixels.
|
|
78
82
|
*/
|
|
79
83
|
y: number;
|
|
80
84
|
}
|
|
@@ -7,7 +7,9 @@ import { TypeHint } from './Common/Types';
|
|
|
7
7
|
import { ExportDestinationType } from '../AdaptableOptions/ExportOptions';
|
|
8
8
|
import { SuspendableObject } from './Common/SuspendableObject';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Export section of Adaptable State, including Initial State.
|
|
11
|
+
*
|
|
12
|
+
* `Reports` are reports you define. AdapTable also provides the system reports `'All Data'`, `'Current Layout'` and `'Selected Data'`. `CurrentReport` and `CurrentFormat` are the report and format selected in the Export toolbar. `ReportSchedules` run a report on a `Schedule`.
|
|
11
13
|
*/
|
|
12
14
|
export interface ExportState extends BaseState {
|
|
13
15
|
/**
|
|
@@ -28,7 +30,9 @@ export interface ExportState extends BaseState {
|
|
|
28
30
|
ReportSchedules?: ReportSchedule[];
|
|
29
31
|
}
|
|
30
32
|
/**
|
|
31
|
-
* A
|
|
33
|
+
* A report you define.
|
|
34
|
+
*
|
|
35
|
+
* `ReportColumnScope` chooses the columns. Set `Scope` only when that is `'ScopeColumns'`. `ReportRowScope` chooses the rows. Set `Expression` only when that is `'ExpressionRows'`. The system reports are separate from this list.
|
|
32
36
|
*/
|
|
33
37
|
export interface Report extends AdaptableObject {
|
|
34
38
|
/**
|
|
@@ -144,11 +148,15 @@ export type SystemReportFormat =
|
|
|
144
148
|
*/
|
|
145
149
|
| 'JSON';
|
|
146
150
|
/**
|
|
147
|
-
*
|
|
151
|
+
* Which columns a report exports.
|
|
152
|
+
*
|
|
153
|
+
* `'AllColumns'` exports every column. `'VisibleColumns'` exports the columns currently on screen. `'ScopeColumns'` exports the columns in `Scope`. `'SelectedColumns'` exports the selected columns and is not offered in the report wizard.
|
|
148
154
|
*/
|
|
149
155
|
export type ReportColumnScope = 'AllColumns' | 'VisibleColumns' | 'ScopeColumns' | 'SelectedColumns';
|
|
150
156
|
/**
|
|
151
|
-
*
|
|
157
|
+
* Which rows a report exports.
|
|
158
|
+
*
|
|
159
|
+
* `'AllRows'` exports every row. `'VisibleRows'` exports the rows that are currently visible. `'ExpressionRows'` exports rows matching `Expression`. `'SelectedRows'` exports the selected rows and is not offered in the report wizard.
|
|
152
160
|
*/
|
|
153
161
|
export type ReportRowScope = 'AllRows' | 'VisibleRows' | 'ExpressionRows' | 'SelectedRows';
|
|
154
162
|
/**
|
|
@@ -3,11 +3,13 @@ import { AdaptableStyle } from './Common/AdaptableStyle';
|
|
|
3
3
|
import { ColumnScope } from '../types';
|
|
4
4
|
import { AdaptableObject, SuspendableObject } from '../../types';
|
|
5
5
|
/**
|
|
6
|
-
* Adaptable State
|
|
6
|
+
* Flashing Cell section of Adaptable State, including Initial State.
|
|
7
|
+
*
|
|
8
|
+
* Each definition watches columns in `Scope` and flashes when `Rule` is true. `FlashTarget` is `'cell'` (the default), `'row'`, `'aggFuncCell'`, or a list of those. `UpChangeStyle`, `DownChangeStyle` and `NeutralChangeStyle` colour the flash. `FlashDuration` is milliseconds or `'always'` (the default is 500).
|
|
7
9
|
*/
|
|
8
10
|
export interface FlashingCellState extends BaseState {
|
|
9
11
|
/**
|
|
10
|
-
* Flashing Cell
|
|
12
|
+
* Flashing Cell definitions. Each one names a column scope, a boolean rule, and what flashes.
|
|
11
13
|
*/
|
|
12
14
|
FlashingCellDefinitions?: FlashingCellDefinition[];
|
|
13
15
|
}
|
|
@@ -22,7 +24,9 @@ export type FlashTargetTypes = 'row' | 'cell' | 'aggFuncCell';
|
|
|
22
24
|
*/
|
|
23
25
|
export type FlashingCellType = 'Change' | 'Observable';
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
27
|
+
* Flashes a cell, a row, or an aggregated cell when a rule matches.
|
|
28
|
+
*
|
|
29
|
+
* `Scope` and `Rule` are required. `Type` is `'Change'` (this edit against the previous value) or `'Observable'` (change history such as `CHANGE_COUNT`). When `Type` is omitted it is treated as `'Change'`. Suspend with `IsSuspended`.
|
|
26
30
|
*/
|
|
27
31
|
export interface FlashingCellDefinition extends AdaptableObject, SuspendableObject {
|
|
28
32
|
/**
|
|
@@ -30,8 +34,7 @@ export interface FlashingCellDefinition extends AdaptableObject, SuspendableObje
|
|
|
30
34
|
*/
|
|
31
35
|
Name: string;
|
|
32
36
|
/**
|
|
33
|
-
*
|
|
34
|
-
* Existing definitions without a Type are stamped `Change` on upgrade.
|
|
37
|
+
* `'Change'` compares this edit with the previous value. `'Observable'` evaluates the rule against change history. When omitted, the definition is treated as `'Change'`.
|
|
35
38
|
*/
|
|
36
39
|
Type?: FlashingCellType;
|
|
37
40
|
/**
|
|
@@ -5,16 +5,20 @@ import { ColumnScope } from './Common/ColumnScope';
|
|
|
5
5
|
import { RowScope } from './Common/RowScope';
|
|
6
6
|
import { SuspendableObject } from '../types';
|
|
7
7
|
/**
|
|
8
|
-
* Adaptable State
|
|
8
|
+
* Format Column section of Adaptable State, including Initial State.
|
|
9
|
+
*
|
|
10
|
+
* Each entry styles cells, changes how a value is displayed, or both. `Scope` says where it applies. `Rule` limits it to matching rows; omit `Rule` to apply it on every row. `Style` sets colours and fonts. `DisplayFormat` changes the displayed value.
|
|
9
11
|
*/
|
|
10
12
|
export interface FormatColumnState extends BaseState {
|
|
11
13
|
/**
|
|
12
|
-
*
|
|
14
|
+
* Format Columns to apply. Several can match the same cell. Their styles are combined, and the first definition in this list wins on a property both set. A Styled Column wins over a Format Column where both set the same property.
|
|
13
15
|
*/
|
|
14
16
|
FormatColumns?: FormatColumn[];
|
|
15
17
|
}
|
|
16
18
|
/**
|
|
17
|
-
*
|
|
19
|
+
* Colours a cell, changes how its value is displayed, or both.
|
|
20
|
+
*
|
|
21
|
+
* `Scope` is required. `Style` and `DisplayFormat` can be set together. Omit `Rule` to apply the format on every row in scope. `Target` defaults to `'cell'` (`'columnHeader'` formats the header). Suspend with `IsSuspended`.
|
|
18
22
|
*/
|
|
19
23
|
export interface FormatColumn extends SuspendableObject {
|
|
20
24
|
/**
|
|
@@ -36,7 +40,7 @@ export interface FormatColumn extends SuspendableObject {
|
|
|
36
40
|
*/
|
|
37
41
|
Rule?: string;
|
|
38
42
|
/**
|
|
39
|
-
*
|
|
43
|
+
* Colours, font and CSS class applied to the cell or header. Can be set together with `DisplayFormat`.
|
|
40
44
|
*/
|
|
41
45
|
Style?: AdaptableStyle;
|
|
42
46
|
/**
|
|
@@ -47,28 +51,44 @@ export interface FormatColumn extends SuspendableObject {
|
|
|
47
51
|
*/
|
|
48
52
|
DisplayFormat?: DisplayFormat;
|
|
49
53
|
/**
|
|
50
|
-
*
|
|
54
|
+
* Row kinds to skip. Each flag excludes that kind. When omitted, data, group, summary and total rows are all included.
|
|
51
55
|
*/
|
|
52
56
|
RowScope?: RowScope;
|
|
53
57
|
/**
|
|
54
|
-
* When
|
|
58
|
+
* When a format applies to a column inside a column group.
|
|
55
59
|
*
|
|
60
|
+
* Omit it to apply the format whether the parent group is expanded or collapsed. `'Expanded'` applies only while the parent group is expanded. `'Collapsed'` applies only while it is collapsed. `'Both'` applies in either state. A column that is the only leaf of a top-level group ignores an explicit scope.
|
|
56
61
|
*/
|
|
57
62
|
ColumnGroupScope?: ColumnGroupScope;
|
|
58
63
|
}
|
|
59
64
|
/**
|
|
60
|
-
*
|
|
65
|
+
* Where a Format Column is drawn. `'cell'` formats the cells (the default). `'columnHeader'` formats the column header. Header formats are not applied to column group headers.
|
|
61
66
|
*/
|
|
62
67
|
export type FormatColumnTarget = 'cell' | 'columnHeader';
|
|
63
68
|
/**
|
|
64
|
-
*
|
|
69
|
+
* Whether a Format Column applies while its parent column group is expanded, collapsed, or either.
|
|
65
70
|
*/
|
|
66
71
|
export type ColumnGroupScope = 'Expanded' | 'Collapsed' | 'Both';
|
|
67
72
|
/**
|
|
68
73
|
* Config for api methods that get Format Columns
|
|
69
74
|
*/
|
|
70
75
|
export interface FormatColumnConfig {
|
|
76
|
+
/**
|
|
77
|
+
* Include Format Columns that are suspended.
|
|
78
|
+
*
|
|
79
|
+
* When omitted or `false`, suspended definitions are left out.
|
|
80
|
+
*/
|
|
71
81
|
includeSuspended?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Include Format Columns that are read-only.
|
|
84
|
+
*
|
|
85
|
+
* When omitted or `false`, read-only definitions are left out.
|
|
86
|
+
*/
|
|
72
87
|
includeReadOnly?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Only Format Columns whose `Target` is this value (`cell` or `columnHeader`).
|
|
90
|
+
*
|
|
91
|
+
* When omitted, both targets are returned.
|
|
92
|
+
*/
|
|
73
93
|
target?: FormatColumnTarget;
|
|
74
94
|
}
|
|
@@ -2,20 +2,24 @@ import { BaseState } from './BaseState';
|
|
|
2
2
|
import { AdaptableObject } from './Common/AdaptableObject';
|
|
3
3
|
import { SpecialColumnSettings } from './Common/SpecialColumnSettings';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Free Text Column section of Adaptable State, including Initial State.
|
|
6
|
+
*
|
|
7
|
+
* Each entry adds an editable column whose values are stored in Adaptable State, not in the grid data source. A cell shows the `FreeTextStoredValues` entry for its primary key. When that row has no stored value, it shows `DefaultValue`. Group rows are empty.
|
|
6
8
|
*/
|
|
7
9
|
export interface FreeTextColumnState extends BaseState {
|
|
8
10
|
/**
|
|
9
|
-
*
|
|
11
|
+
* Free Text Columns to add. `ColumnId` is the id of the column AdapTable creates.
|
|
10
12
|
*/
|
|
11
13
|
FreeTextColumns?: FreeTextColumn[];
|
|
12
14
|
}
|
|
13
15
|
/**
|
|
14
|
-
*
|
|
16
|
+
* An editable column whose values live in Adaptable State.
|
|
17
|
+
*
|
|
18
|
+
* `ColumnId` is the id of the new column. `FreeTextColumnSettings.DataType` is required. `TextEditor` applies to string columns: `'Inline'` (the default) edits in the cell, `'Large'` opens AG Grid's large text editor.
|
|
15
19
|
*/
|
|
16
20
|
export interface FreeTextColumn extends AdaptableObject {
|
|
17
21
|
/**
|
|
18
|
-
* Id of
|
|
22
|
+
* Id of the column AdapTable creates. It is not the id of a column already in the data source.
|
|
19
23
|
*/
|
|
20
24
|
ColumnId: string;
|
|
21
25
|
/**
|
|
@@ -23,15 +27,15 @@ export interface FreeTextColumn extends AdaptableObject {
|
|
|
23
27
|
*/
|
|
24
28
|
FriendlyName?: string;
|
|
25
29
|
/**
|
|
26
|
-
*
|
|
30
|
+
* Value shown for a data row that has no `FreeTextStoredValues` entry for its primary key.
|
|
27
31
|
*/
|
|
28
32
|
DefaultValue?: any;
|
|
29
33
|
/**
|
|
30
|
-
*
|
|
34
|
+
* Values stored for this column, keyed by the row primary key. A stored value is shown instead of `DefaultValue`.
|
|
31
35
|
*/
|
|
32
36
|
FreeTextStoredValues?: FreeTextStoredValue[];
|
|
33
37
|
/**
|
|
34
|
-
*
|
|
38
|
+
* Editor for a string Free Text Column. `'Inline'` edits in the cell. `'Large'` opens AG Grid's large text editor.
|
|
35
39
|
* @defaultValue 'Inline'
|
|
36
40
|
*/
|
|
37
41
|
TextEditor?: 'Inline' | 'Large';
|
|
@@ -41,7 +45,9 @@ export interface FreeTextColumn extends AdaptableObject {
|
|
|
41
45
|
FreeTextColumnSettings: FreeTextColumnSettings;
|
|
42
46
|
}
|
|
43
47
|
/**
|
|
44
|
-
*
|
|
48
|
+
* One stored Free Text cell.
|
|
49
|
+
*
|
|
50
|
+
* `PrimaryKey` is the row. `FreeText` is the value shown for that row. A row with no entry shows `DefaultValue`.
|
|
45
51
|
*/
|
|
46
52
|
export interface FreeTextStoredValue {
|
|
47
53
|
/**
|