@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,22 +1,56 @@
|
|
|
1
1
|
import { AdaptableObject } from './Common/AdaptableObject';
|
|
2
2
|
import { BaseState } from './BaseState';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* ipushpull session state.
|
|
5
|
+
*
|
|
6
|
+
* Held under transient `Plugins` state for the current session. It is not part of Initial State and it is not persisted. `CurrentIPushpullPassword` is the password for the signed-in session.
|
|
5
7
|
*/
|
|
6
8
|
export interface IPushPullState extends BaseState {
|
|
9
|
+
/**
|
|
10
|
+
* Whether the ipushpull session is connected.
|
|
11
|
+
*/
|
|
7
12
|
IsIPushPullRunning?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Folders (domains) available on the connected ipushpull account, and the pages in each folder.
|
|
15
|
+
*/
|
|
8
16
|
IPushPullDomainsPages?: IPushPullDomain[];
|
|
17
|
+
/**
|
|
18
|
+
* Message from the last failed login. Absent after a successful login.
|
|
19
|
+
*/
|
|
9
20
|
IPushPullLoginErrorMessage?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Report currently streaming to ipushpull. Absent when live data is stopped.
|
|
23
|
+
*/
|
|
10
24
|
CurrentLiveIPushPullReport?: IPushPullReport;
|
|
25
|
+
/**
|
|
26
|
+
* Username of the signed-in ipushpull account.
|
|
27
|
+
*/
|
|
11
28
|
CurrentIPushpullUsername?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Password held for the current ipushpull session.
|
|
31
|
+
*/
|
|
12
32
|
CurrentIPushpullPassword?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Report name selected in the ipushpull UI.
|
|
35
|
+
*/
|
|
13
36
|
IPushPullCurrentReportName?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Folder selected in the ipushpull UI.
|
|
39
|
+
*/
|
|
14
40
|
IPushPullCurrentFolder?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Page selected in the ipushpull UI.
|
|
43
|
+
*/
|
|
15
44
|
IPushPullCurrentPage?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Page names in the selected folder.
|
|
47
|
+
*/
|
|
16
48
|
IPushPullCurrentAvailablePages?: string[];
|
|
17
49
|
}
|
|
18
50
|
/**
|
|
19
|
-
*
|
|
51
|
+
* One ipushpull folder and the pages in it.
|
|
52
|
+
*
|
|
53
|
+
* Returned for the signed-in account. `Name` is the folder name, `FolderId` is its id, and `Pages` are the page names.
|
|
20
54
|
*/
|
|
21
55
|
export interface IPushPullDomain {
|
|
22
56
|
/**
|
|
@@ -33,7 +67,9 @@ export interface IPushPullDomain {
|
|
|
33
67
|
Pages: string[];
|
|
34
68
|
}
|
|
35
69
|
/**
|
|
36
|
-
*
|
|
70
|
+
* A report streaming to one ipushpull page.
|
|
71
|
+
*
|
|
72
|
+
* `ReportName` is a report in Export state. `Folder` and `Page` are the ipushpull destination.
|
|
37
73
|
*/
|
|
38
74
|
export interface IPushPullReport extends AdaptableObject {
|
|
39
75
|
/**
|
|
@@ -36,7 +36,7 @@ export interface InitialState {
|
|
|
36
36
|
*/
|
|
37
37
|
CalculatedColumn?: CalculatedColumnState;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Saved charts. AG Grid charts are `ChartDefinitions` (`Name` and `Model`). Application charts are `ExternalChartDefinitions` (`Name` and `Data`).
|
|
40
40
|
*/
|
|
41
41
|
Charting?: ChartingState;
|
|
42
42
|
/**
|
|
@@ -52,11 +52,11 @@ export interface InitialState {
|
|
|
52
52
|
*/
|
|
53
53
|
Export?: ExportState;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Flashing Cell definitions. Each one names a column scope and a boolean rule, and flashes a cell, a row, or an aggregated cell.
|
|
56
56
|
*/
|
|
57
57
|
FlashingCell?: FlashingCellState;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Format Columns. Each one colours cells, changes how values are displayed, or both, for a column scope. Omit `Rule` to apply it on every row.
|
|
60
60
|
*/
|
|
61
61
|
FormatColumn?: FormatColumnState;
|
|
62
62
|
/**
|
|
@@ -69,11 +69,11 @@ export interface InitialState {
|
|
|
69
69
|
*/
|
|
70
70
|
Layout?: LayoutState;
|
|
71
71
|
/**
|
|
72
|
-
* Named Queries
|
|
72
|
+
* Named Queries other expressions can call with `QUERY('Name')`. A boolean query can be a Grid Filter or an Alert rule.
|
|
73
73
|
*/
|
|
74
74
|
NamedQuery?: NamedQueryState;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* Notes. One piece of text on one cell, located by primary key and column id.
|
|
77
77
|
*/
|
|
78
78
|
Note?: NoteState;
|
|
79
79
|
/**
|
|
@@ -83,7 +83,7 @@ export interface InitialState {
|
|
|
83
83
|
*/
|
|
84
84
|
PlusMinus?: PlusMinusState;
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* Quick Search text restored at startup, and the styles used to highlight matches.
|
|
87
87
|
*/
|
|
88
88
|
QuickSearch?: QuickSearchState;
|
|
89
89
|
/**
|
|
@@ -91,15 +91,15 @@ export interface InitialState {
|
|
|
91
91
|
*/
|
|
92
92
|
Shortcut?: ShortcutState;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Status bars. Each `Key` matches an AG Grid `statusPanels` entry whose component is `AdaptableStatusPanel`.
|
|
95
95
|
*/
|
|
96
96
|
StatusBar?: StatusBarState;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Styled Columns. Each entry draws one column with a single visual style.
|
|
99
99
|
*/
|
|
100
100
|
StyledColumn?: StyledColumnState;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Active theme (`light`, `dark` or `os`) and which shipped themes are offered.
|
|
103
103
|
*/
|
|
104
104
|
Theme?: ThemeState;
|
|
105
105
|
/**
|
|
@@ -22,20 +22,56 @@ import { CompactCalculatedColumnEditorInfo } from './Common/CompactCalculatedCol
|
|
|
22
22
|
import type { QlGroup } from "../../vendor/aql/index.js";
|
|
23
23
|
export type { IPushPullReport, IPushPullDomain };
|
|
24
24
|
export type { OpenFinReport };
|
|
25
|
+
/**
|
|
26
|
+
* Whether Data Change History is recording.
|
|
27
|
+
*
|
|
28
|
+
* `'ACTIVE'` records edits. `'SUSPENDED'` pauses recording and keeps the log. `'INACTIVE'` is off.
|
|
29
|
+
*/
|
|
25
30
|
export type DataChangeHistoryMode = 'ACTIVE' | 'INACTIVE' | 'SUSPENDED';
|
|
31
|
+
/**
|
|
32
|
+
* A pinned summary row AdapTable is showing this session.
|
|
33
|
+
*
|
|
34
|
+
* `Position` is the edge. `RowData` is the cell values, keyed by column id.
|
|
35
|
+
*/
|
|
26
36
|
export type SystemRowSummary = {
|
|
37
|
+
/**
|
|
38
|
+
* Which edge the summary row is pinned to.
|
|
39
|
+
*/
|
|
27
40
|
Position: 'Top' | 'Bottom';
|
|
41
|
+
/**
|
|
42
|
+
* Cell values, keyed by column id.
|
|
43
|
+
*/
|
|
28
44
|
RowData: Record<string, any>;
|
|
29
45
|
};
|
|
30
46
|
/**
|
|
31
|
-
*
|
|
47
|
+
* Session state AdapTable keeps while the grid is open.
|
|
48
|
+
*
|
|
49
|
+
* Nothing here is part of Initial State, and none of it is persisted. It records the current selection, open editors, highlights, the export in progress, and similar runtime data.
|
|
32
50
|
*/
|
|
33
51
|
export interface InternalState extends IPushPullState, OpenFinState {
|
|
52
|
+
/**
|
|
53
|
+
* AdapTable's column model for this session.
|
|
54
|
+
*/
|
|
34
55
|
Columns: AdaptableColumn[];
|
|
56
|
+
/**
|
|
57
|
+
* Cells selected in the grid.
|
|
58
|
+
*/
|
|
35
59
|
SelectedCellInfo: SelectedCellInfo;
|
|
60
|
+
/**
|
|
61
|
+
* Rows selected in the grid.
|
|
62
|
+
*/
|
|
36
63
|
SelectedRowInfo: SelectedRowInfo;
|
|
64
|
+
/**
|
|
65
|
+
* Cells currently highlighted.
|
|
66
|
+
*/
|
|
37
67
|
CellHighlightInfo: CellHighlightInfo[];
|
|
68
|
+
/**
|
|
69
|
+
* Columns currently highlighted.
|
|
70
|
+
*/
|
|
38
71
|
ColumnHighlightInfo: ColumnHighlightInfo[];
|
|
72
|
+
/**
|
|
73
|
+
* Rows currently highlighted.
|
|
74
|
+
*/
|
|
39
75
|
RowHighlightInfo: RowHighlightInfo[];
|
|
40
76
|
/**
|
|
41
77
|
* Active Excel-style formula trace for a calculated column cell (session-only)
|
|
@@ -45,56 +81,149 @@ export interface InternalState extends IPushPullState, OpenFinState {
|
|
|
45
81
|
* Compact live expression editor for a Standard Calculated Column (session-only)
|
|
46
82
|
*/
|
|
47
83
|
CompactCalculatedColumnEditorInfo?: CompactCalculatedColumnEditorInfo;
|
|
84
|
+
/**
|
|
85
|
+
* Modules listed in the Settings Panel.
|
|
86
|
+
*/
|
|
48
87
|
SettingsPanelModuleEntries: AdaptableMenuItem[];
|
|
88
|
+
/**
|
|
89
|
+
* Alerts currently held in the alert store.
|
|
90
|
+
*/
|
|
49
91
|
AdaptableAlerts: AdaptableAlert[];
|
|
92
|
+
/**
|
|
93
|
+
* System status messages currently shown.
|
|
94
|
+
*/
|
|
50
95
|
SystemStatusMessages: SystemStatusMessageInfo[];
|
|
96
|
+
/**
|
|
97
|
+
* Dashboard buttons for this session, and a counter that increments when the Dashboard is refreshed.
|
|
98
|
+
*/
|
|
51
99
|
Dashboard: {
|
|
100
|
+
/**
|
|
101
|
+
* Module buttons currently rendered in the Dashboard.
|
|
102
|
+
*/
|
|
52
103
|
DashboardModuleButtons: AdaptableMenuItem[];
|
|
104
|
+
/**
|
|
105
|
+
* Increments when the Dashboard is refreshed, so the UI rebuilds.
|
|
106
|
+
*/
|
|
53
107
|
DashboardRevision: number;
|
|
54
108
|
};
|
|
109
|
+
/**
|
|
110
|
+
* Smart Edit form for this session: whether the selection can be edited, the operation, and a preview of the result.
|
|
111
|
+
*/
|
|
55
112
|
SmartEdit: {
|
|
113
|
+
/**
|
|
114
|
+
* Whether the current selection can be smart-edited.
|
|
115
|
+
*/
|
|
56
116
|
IsValidSmartEditSelection: boolean;
|
|
57
117
|
/** Warning shown inline in the Smart Edit panel when the current selection is not valid. */
|
|
58
118
|
Alert?: AdaptableAlert | null;
|
|
119
|
+
/**
|
|
120
|
+
* Preview of the edit that will be applied.
|
|
121
|
+
*/
|
|
59
122
|
SmartEditPreviewInfo: PreviewInfo;
|
|
123
|
+
/**
|
|
124
|
+
* Number used as the second operand.
|
|
125
|
+
*/
|
|
60
126
|
SmartEditValue?: number;
|
|
127
|
+
/**
|
|
128
|
+
* Operation applied to each selected cell.
|
|
129
|
+
*/
|
|
61
130
|
SmartEditOperation?: SmartEditOperation;
|
|
62
131
|
};
|
|
132
|
+
/**
|
|
133
|
+
* Bulk Update form for this session: the value, whether it is valid, and a preview of the result.
|
|
134
|
+
*/
|
|
63
135
|
BulkUpdate: {
|
|
136
|
+
/**
|
|
137
|
+
* Whether the selection can be bulk-updated. `IsValid` is the result. `Alert` is the warning when it cannot, and `Column` is the column that was checked.
|
|
138
|
+
*/
|
|
64
139
|
BulkUpdateValidationResult: BulkUpdateValidationResult;
|
|
140
|
+
/**
|
|
141
|
+
* Preview of the update that will be applied.
|
|
142
|
+
*/
|
|
65
143
|
BulkUpdatePreviewInfo: PreviewInfo;
|
|
144
|
+
/**
|
|
145
|
+
* Value typed into the Bulk Update form.
|
|
146
|
+
*/
|
|
66
147
|
BulkUpdateValue?: string;
|
|
67
148
|
};
|
|
149
|
+
/**
|
|
150
|
+
* Grid Filter expressions applied this session, so the editor can offer them again.
|
|
151
|
+
*/
|
|
68
152
|
CachedQueries: CachedQuery[];
|
|
153
|
+
/**
|
|
154
|
+
* Cell summary currently shown for the selection.
|
|
155
|
+
*/
|
|
69
156
|
CellSummary: {
|
|
157
|
+
/**
|
|
158
|
+
* Operation being calculated, such as sum or average.
|
|
159
|
+
*/
|
|
70
160
|
CellSummaryOperation?: SummaryOperation | string;
|
|
161
|
+
/**
|
|
162
|
+
* Result of that operation.
|
|
163
|
+
*/
|
|
71
164
|
CellSummaryInfo: CellSummmaryInfo;
|
|
72
165
|
};
|
|
166
|
+
/**
|
|
167
|
+
* Licence result for this session.
|
|
168
|
+
*/
|
|
73
169
|
License: {
|
|
170
|
+
/**
|
|
171
|
+
* Whether a watermark is shown, and its text.
|
|
172
|
+
*/
|
|
74
173
|
watermark: {
|
|
75
174
|
show: boolean;
|
|
76
175
|
text: string;
|
|
77
176
|
};
|
|
177
|
+
/**
|
|
178
|
+
* When true, AdapTable does not persist state for this session.
|
|
179
|
+
*/
|
|
78
180
|
disablePersistence: boolean;
|
|
79
181
|
};
|
|
182
|
+
/**
|
|
183
|
+
* Data Change History log and whether recording is on, paused or off.
|
|
184
|
+
*/
|
|
80
185
|
DataChangeHistory: {
|
|
186
|
+
/**
|
|
187
|
+
* Recorded cell changes, keyed by an id AdapTable assigns.
|
|
188
|
+
*/
|
|
81
189
|
logs: Record<string, CellDataChangedInfo>;
|
|
190
|
+
/**
|
|
191
|
+
* `'ACTIVE'` records, `'SUSPENDED'` pauses and keeps the log, `'INACTIVE'` is off and clears the log.
|
|
192
|
+
*/
|
|
82
193
|
currentMode: DataChangeHistoryMode;
|
|
194
|
+
/**
|
|
195
|
+
* When recording was last turned on. Null while history is inactive.
|
|
196
|
+
*/
|
|
83
197
|
enableTime: Date;
|
|
198
|
+
/**
|
|
199
|
+
* When recording was last paused. Null while history is active or inactive.
|
|
200
|
+
*/
|
|
84
201
|
suspendTime: Date;
|
|
85
202
|
};
|
|
203
|
+
/**
|
|
204
|
+
* Position and size of Settings Panel windows, keyed by window kind (settings, edit).
|
|
205
|
+
*/
|
|
86
206
|
SettingsPanel: {
|
|
87
207
|
[key: string]: {
|
|
208
|
+
/**
|
|
209
|
+
* Pixel position of the window.
|
|
210
|
+
*/
|
|
88
211
|
position: {
|
|
89
212
|
x: number;
|
|
90
213
|
y: number;
|
|
91
214
|
};
|
|
215
|
+
/**
|
|
216
|
+
* Pixel size of the window.
|
|
217
|
+
*/
|
|
92
218
|
size: {
|
|
93
219
|
width: number;
|
|
94
220
|
height: number;
|
|
95
221
|
};
|
|
96
222
|
};
|
|
97
223
|
};
|
|
224
|
+
/**
|
|
225
|
+
* Whether the column quick-filter bar is visible.
|
|
226
|
+
*/
|
|
98
227
|
IsQuickFilterVisible: boolean;
|
|
99
228
|
/**
|
|
100
229
|
* Transient per-column drafts of the ColumnFilter editors, keyed by
|
|
@@ -107,18 +236,30 @@ export interface InternalState extends IPushPullState, OpenFinState {
|
|
|
107
236
|
* (see the `LAYOUT_COLUMN_FILTER_*` cases in `InternalRedux`).
|
|
108
237
|
*/
|
|
109
238
|
ColumnFilterDrafts: Record<string, QlGroup>;
|
|
239
|
+
/**
|
|
240
|
+
* Name of the data set currently selected. Empty when none is selected.
|
|
241
|
+
*/
|
|
110
242
|
CurrentDataSet: string;
|
|
111
243
|
/**
|
|
112
|
-
*
|
|
244
|
+
* Charts open this session. Updated on chart events so AdapTable can follow model changes.
|
|
113
245
|
*/
|
|
114
246
|
Charting: {
|
|
247
|
+
/**
|
|
248
|
+
* Latest AG Grid chart models.
|
|
249
|
+
*/
|
|
115
250
|
currentChartModels: ChartModel[];
|
|
251
|
+
/**
|
|
252
|
+
* External charts open this session.
|
|
253
|
+
*/
|
|
116
254
|
externalChartingDefinitions: ExternalChartDefinition<unknown>[];
|
|
117
255
|
};
|
|
118
256
|
/**
|
|
119
|
-
*
|
|
257
|
+
* Layout UI flags for this session.
|
|
120
258
|
*/
|
|
121
259
|
Layout: {
|
|
260
|
+
/**
|
|
261
|
+
* When true, module lists include objects that are not extended into the current layout.
|
|
262
|
+
*/
|
|
122
263
|
showLayoutNonExtendedObjects: boolean;
|
|
123
264
|
};
|
|
124
265
|
/**
|
|
@@ -126,22 +267,61 @@ export interface InternalState extends IPushPullState, OpenFinState {
|
|
|
126
267
|
* It will suppress the deletion confirmation dialog in the current session.
|
|
127
268
|
*/
|
|
128
269
|
DisableDeleteConfirmation: boolean;
|
|
270
|
+
/**
|
|
271
|
+
* Export that has started and not yet finished. Absent when no export is running.
|
|
272
|
+
*/
|
|
129
273
|
Export: {
|
|
274
|
+
/**
|
|
275
|
+
* Report, format and destination of the export that is running.
|
|
276
|
+
*/
|
|
130
277
|
inProgress?: {
|
|
278
|
+
/**
|
|
279
|
+
* Report being exported.
|
|
280
|
+
*/
|
|
131
281
|
reportName: ReportNameType;
|
|
282
|
+
/**
|
|
283
|
+
* Format being written.
|
|
284
|
+
*/
|
|
132
285
|
reportFormat: ReportFormatType;
|
|
286
|
+
/**
|
|
287
|
+
* Where the export is being sent.
|
|
288
|
+
*/
|
|
133
289
|
exportDestination: ExportDestinationType;
|
|
134
290
|
};
|
|
135
291
|
};
|
|
292
|
+
/**
|
|
293
|
+
* Floating Quick Search for this session.
|
|
294
|
+
*/
|
|
136
295
|
QuickSearch?: {
|
|
296
|
+
/**
|
|
297
|
+
* Whether the floating Quick Search is open.
|
|
298
|
+
*/
|
|
137
299
|
floatingVisible?: boolean;
|
|
138
300
|
};
|
|
301
|
+
/**
|
|
302
|
+
* In-cell comment editor, when it is open.
|
|
303
|
+
*/
|
|
139
304
|
CommentPopup?: {
|
|
305
|
+
/**
|
|
306
|
+
* When true, the popup is editing the thread. When false, it is showing the thread.
|
|
307
|
+
*/
|
|
140
308
|
editMode?: boolean;
|
|
309
|
+
/**
|
|
310
|
+
* Entity the popup is editing. The only value is `'Comment'`.
|
|
311
|
+
*/
|
|
141
312
|
focusedEntity?: 'Comment';
|
|
313
|
+
/**
|
|
314
|
+
* Cell the popup is anchored to. Null when it is not anchored.
|
|
315
|
+
*/
|
|
142
316
|
popupPosition?: CellAddress | null;
|
|
143
317
|
};
|
|
318
|
+
/**
|
|
319
|
+
* Summary rows AdapTable is showing this session.
|
|
320
|
+
*/
|
|
144
321
|
RowSummary?: {
|
|
322
|
+
/**
|
|
323
|
+
* Pinned summary rows and the edge each one uses.
|
|
324
|
+
*/
|
|
145
325
|
rowSummaries?: SystemRowSummary[];
|
|
146
326
|
};
|
|
147
327
|
}
|
|
@@ -9,7 +9,9 @@ import { NonEmptyArray } from '../Utilities/Extensions/ArrayExtensions';
|
|
|
9
9
|
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
10
10
|
import { GroupSelectionMode, SelectAllMode } from 'ag-grid-enterprise';
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* One named view of the grid: a {@link TableLayout} or a {@link PivotLayout}.
|
|
13
|
+
*
|
|
14
|
+
* A table layout lists its columns in `TableColumns`. A pivot layout lists its pivot columns in `PivotColumns` (an empty array when it only shows aggregations). The other layout's fields are typed `never` and must be left unset. `Layouts` must contain at least one layout. `CurrentLayout` selects one by `Name`; when it is omitted the first layout is used.
|
|
13
15
|
*/
|
|
14
16
|
export type Layout = TableLayout | PivotLayout;
|
|
15
17
|
/**
|
|
@@ -17,7 +19,9 @@ export type Layout = TableLayout | PivotLayout;
|
|
|
17
19
|
*/
|
|
18
20
|
export type LayoutArray = NonEmptyArray<Layout>;
|
|
19
21
|
/**
|
|
20
|
-
*
|
|
22
|
+
* Layout section of Adaptable State, including Initial State.
|
|
23
|
+
*
|
|
24
|
+
* `Layouts` is a non-empty list of table and pivot layouts. `CurrentLayout` is the `Name` loaded at startup; when omitted, the first layout is used. `LayoutExtensions` is how objects from other modules (Format Columns, Styled Columns, and so on) apply only in named layouts.
|
|
21
25
|
*/
|
|
22
26
|
export interface LayoutState extends BaseState {
|
|
23
27
|
/**
|
|
@@ -38,7 +42,9 @@ export interface LayoutState extends BaseState {
|
|
|
38
42
|
*/
|
|
39
43
|
export type RowGroupDisplayType = 'single' | 'multi' | 'groupRows';
|
|
40
44
|
/**
|
|
41
|
-
*
|
|
45
|
+
* Fields shared by a table layout and a pivot layout.
|
|
46
|
+
*
|
|
47
|
+
* `Name` is required and is how `CurrentLayout` selects the layout. Sorts, filters, pinning, sizing, charts to open and row selection live here. The column list lives on {@link TableLayout} or {@link PivotLayout}.
|
|
42
48
|
*/
|
|
43
49
|
export interface LayoutBase extends AdaptableObject {
|
|
44
50
|
/**
|
|
@@ -78,7 +84,7 @@ export interface LayoutBase extends AdaptableObject {
|
|
|
78
84
|
*/
|
|
79
85
|
GridFilter?: GridFilter;
|
|
80
86
|
/**
|
|
81
|
-
*
|
|
87
|
+
* Columns pinned to an edge. Each entry is a column id set to `'left'` or `'right'`. Columns absent from the map are not pinned.
|
|
82
88
|
*/
|
|
83
89
|
ColumnPinning?: ColumnDirectionMap;
|
|
84
90
|
/**
|
|
@@ -94,7 +100,9 @@ export interface LayoutBase extends AdaptableObject {
|
|
|
94
100
|
*/
|
|
95
101
|
RowSelection?: LayoutRowSelection | false;
|
|
96
102
|
/**
|
|
97
|
-
*
|
|
103
|
+
* Where the grand total row is shown.
|
|
104
|
+
*
|
|
105
|
+
* `'top'`, `'bottom'`, `'pinnedTop'` or `'pinnedBottom'`. `true` is the same as `'top'`. `false`, or omitting the property, turns the grand total row off.
|
|
98
106
|
*/
|
|
99
107
|
GrandTotalRow?: 'top' | 'bottom' | 'pinnedTop' | 'pinnedBottom' | boolean;
|
|
100
108
|
/**
|
|
@@ -103,15 +111,17 @@ export interface LayoutBase extends AdaptableObject {
|
|
|
103
111
|
RowGroupDisplayType?: RowGroupDisplayType;
|
|
104
112
|
}
|
|
105
113
|
/**
|
|
106
|
-
*
|
|
114
|
+
* A table layout.
|
|
115
|
+
*
|
|
116
|
+
* `TableColumns` is required and is the column order. Row groups use `RowGroupedColumns`. Aggregations in grouped rows use `TableAggregationColumns`. Leave `PivotColumns`, `PivotGroupedColumns`, `PivotExpandLevel` and `PivotAggregationColumns` unset.
|
|
107
117
|
*/
|
|
108
118
|
export interface TableLayout extends LayoutBase {
|
|
109
119
|
/**
|
|
110
|
-
*
|
|
120
|
+
* Column ids in this layout, in display order. Required.
|
|
111
121
|
*/
|
|
112
122
|
TableColumns: string[];
|
|
113
123
|
/**
|
|
114
|
-
*
|
|
124
|
+
* Columns to hide. Each entry is a column id set to `false`. Columns absent from the map stay visible.
|
|
115
125
|
*/
|
|
116
126
|
ColumnVisibility?: ColumnBooleanFalseMap;
|
|
117
127
|
/**
|
|
@@ -144,7 +154,9 @@ export interface TableLayout extends LayoutBase {
|
|
|
144
154
|
PivotAggregationColumns?: never;
|
|
145
155
|
}
|
|
146
156
|
/**
|
|
147
|
-
*
|
|
157
|
+
* A pivot layout.
|
|
158
|
+
*
|
|
159
|
+
* `PivotColumns` is required. Pass an empty array when the layout only shows aggregations. Row groups use `PivotGroupedColumns`. Aggregations use `PivotAggregationColumns`. Leave `TableColumns`, `TableAggregationColumns` and `RowGroupedColumns` unset.
|
|
148
160
|
*/
|
|
149
161
|
export interface PivotLayout extends LayoutBase {
|
|
150
162
|
/**
|
|
@@ -189,11 +201,15 @@ export interface PivotLayout extends LayoutBase {
|
|
|
189
201
|
PivotResultColumnsOrder?: string[] | boolean;
|
|
190
202
|
}
|
|
191
203
|
/**
|
|
192
|
-
*
|
|
204
|
+
* Where a pivot total is drawn relative to the value columns.
|
|
205
|
+
*
|
|
206
|
+
* `'before'` and `true` place it before the value columns. `'after'` places it after them. `false`, or omitting the property on {@link PivotLayout.PivotGrandTotal} or {@link PivotLayout.PivotColumnTotal}, turns that total off.
|
|
193
207
|
*/
|
|
194
208
|
export type PivotTotalPosition = 'before' | 'after' | boolean;
|
|
195
209
|
/**
|
|
196
|
-
*
|
|
210
|
+
* Which row groups are expanded when the layout is applied.
|
|
211
|
+
*
|
|
212
|
+
* `'always-expanded'` and `'always-collapsed'` apply to every group and take no exception list. `'expanded'` and `'collapsed'` do the same except for the group-key paths listed in {@link GroupKeys}.
|
|
197
213
|
*/
|
|
198
214
|
export type RowGroupValues = {
|
|
199
215
|
RowGroupDefaultBehavior: 'always-expanded' | 'always-collapsed';
|
|
@@ -218,15 +234,17 @@ export type RowGroupValuesWithExceptionKeys = {
|
|
|
218
234
|
GroupKeys?: GroupKeys[];
|
|
219
235
|
}>;
|
|
220
236
|
/**
|
|
221
|
-
*
|
|
237
|
+
* Expand and collapse exceptions for one set of row-grouped columns.
|
|
238
|
+
*
|
|
239
|
+
* AdapTable uses the entry whose `RowGroupedColumns` match the layout's current row-grouped columns. `ExceptionGroupKeys` are the group-key paths that do the opposite of `RowGroupDefaultBehavior`: collapsed when the default is `'expanded'`, expanded when the default is `'collapsed'`.
|
|
222
240
|
*/
|
|
223
241
|
export interface GroupKeys {
|
|
224
242
|
/**
|
|
225
|
-
*
|
|
243
|
+
* Row-grouped column ids this exception list applies to. Matched against the layout's current row-grouped columns.
|
|
226
244
|
*/
|
|
227
245
|
RowGroupedColumns: string[];
|
|
228
246
|
/**
|
|
229
|
-
*
|
|
247
|
+
* Group-key paths that do the opposite of `RowGroupDefaultBehavior`. Each inner array is one path from the top group down.
|
|
230
248
|
*/
|
|
231
249
|
ExceptionGroupKeys?: any[][];
|
|
232
250
|
}
|
|
@@ -250,31 +268,31 @@ export type ColumnGroupValuesWithExceptionKeys = {
|
|
|
250
268
|
ExceptionGroupKeys?: any[];
|
|
251
269
|
};
|
|
252
270
|
/**
|
|
253
|
-
*
|
|
271
|
+
* Column ids mapped to a width or a flex factor. Set `Width` or `Flex` on each entry, not both.
|
|
254
272
|
*/
|
|
255
273
|
export type ColumnSizingMap = {
|
|
256
274
|
[columnId: string]: ColumnSizingDefinition;
|
|
257
275
|
};
|
|
258
276
|
/**
|
|
259
|
-
*
|
|
277
|
+
* Column ids mapped to a string. Used by `ColumnHeaders` for a custom header. A column absent from the map keeps its own header.
|
|
260
278
|
*/
|
|
261
279
|
export type ColumnStringMap = {
|
|
262
280
|
[columnId: string]: string;
|
|
263
281
|
};
|
|
264
282
|
/**
|
|
265
|
-
*
|
|
283
|
+
* Column ids mapped to a number.
|
|
266
284
|
*/
|
|
267
285
|
export type ColumnNumberMap = {
|
|
268
286
|
[columnId: string]: number;
|
|
269
287
|
};
|
|
270
288
|
/**
|
|
271
|
-
*
|
|
289
|
+
* Column ids mapped to `false`. Used by {@link TableLayout.ColumnVisibility} to list hidden columns. A column id cannot be mapped to `true`.
|
|
272
290
|
*/
|
|
273
291
|
export type ColumnBooleanFalseMap = {
|
|
274
292
|
[columnId: string]: false;
|
|
275
293
|
};
|
|
276
294
|
/**
|
|
277
|
-
*
|
|
295
|
+
* Column ids mapped to a pin edge. `'left'` pins to the left, `'right'` to the right.
|
|
278
296
|
*/
|
|
279
297
|
export type ColumnDirectionMap = {
|
|
280
298
|
[columnId: string]: 'left' | 'right';
|
|
@@ -283,18 +301,41 @@ export type ColumnDirectionMap = {
|
|
|
283
301
|
* State & behaviour for column sizing (must set `width` or `flex` but not both); all other props optional
|
|
284
302
|
*/
|
|
285
303
|
export type ColumnSizingDefinition = ({
|
|
304
|
+
/**
|
|
305
|
+
* Column width in pixels. Do not set `Flex` on the same column.
|
|
306
|
+
*/
|
|
286
307
|
Width?: number;
|
|
308
|
+
/**
|
|
309
|
+
* Not set when `Width` is set. A column is either fixed-width or flex.
|
|
310
|
+
*/
|
|
287
311
|
Flex?: never;
|
|
288
312
|
} | {
|
|
313
|
+
/**
|
|
314
|
+
* Flex grow factor, as in AG Grid `flex`. Do not set `Width` on the same column.
|
|
315
|
+
*/
|
|
289
316
|
Flex?: number;
|
|
317
|
+
/**
|
|
318
|
+
* Not set when `Flex` is set. A column is either fixed-width or flex.
|
|
319
|
+
*/
|
|
290
320
|
Width?: never;
|
|
291
321
|
}) & {
|
|
322
|
+
/**
|
|
323
|
+
* Whether the user can drag the column edge to resize it.
|
|
324
|
+
*/
|
|
292
325
|
Resizable?: boolean;
|
|
326
|
+
/**
|
|
327
|
+
* Smallest width in pixels the column can be resized to.
|
|
328
|
+
*/
|
|
293
329
|
MinWidth?: number;
|
|
330
|
+
/**
|
|
331
|
+
* Largest width in pixels the column can be resized to.
|
|
332
|
+
*/
|
|
294
333
|
MaxWidth?: number;
|
|
295
334
|
};
|
|
296
335
|
/**
|
|
297
|
-
*
|
|
336
|
+
* Row selection for one layout, set on {@link LayoutBase.RowSelection}.
|
|
337
|
+
*
|
|
338
|
+
* `Mode` is `'singleRow'` or `'multiRow'`. Omit `RowSelection` to keep `gridOptions.rowSelection`. Set `RowSelection` to `false` to turn selection off for that layout.
|
|
298
339
|
*/
|
|
299
340
|
export interface LayoutRowSelection {
|
|
300
341
|
/**
|
|
@@ -335,7 +376,9 @@ export interface LayoutRowSelection {
|
|
|
335
376
|
EnableClickSelection?: boolean | 'enableDeselection' | 'enableSelection';
|
|
336
377
|
}
|
|
337
378
|
/**
|
|
338
|
-
*
|
|
379
|
+
* Stored layout shape that current layouts do not use.
|
|
380
|
+
*
|
|
381
|
+
* Author `TableLayout` or `PivotLayout`. This interface is not part of Initial State.
|
|
339
382
|
*/
|
|
340
383
|
export interface LayoutOld extends AdaptableObject {
|
|
341
384
|
Name: string;
|