@adaptabletools/adaptable 12.0.0-canary.3 → 12.0.0-canary.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.css +26 -0
- package/bundle.cjs.js +102 -99
- package/index.css +34 -0
- package/package.json +2 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/ActionOptions.d.ts +181 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
- package/src/AdaptableOptions/ColumnOptions.d.ts +4 -0
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +17 -2
- package/src/AdaptableOptions/EditOptions.d.ts +7 -80
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
- package/src/AdaptableOptions/LayoutOptions.d.ts +11 -6
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
- package/src/AdaptableOptions/StateOptions.d.ts +10 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
- package/src/Api/ActionApi.d.ts +24 -0
- package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
- package/src/Api/AdaptableApi.d.ts +5 -0
- package/src/Api/ConfigApi.d.ts +1 -1
- package/src/Api/EventApi.d.ts +9 -9
- package/src/Api/Events/ActionRowSubmitted.d.ts +58 -0
- package/src/Api/Events/ActionRowSubmitted.js +2 -0
- package/src/Api/GridApi.d.ts +0 -14
- package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
- package/src/Api/Implementation/ActionApiImpl.js +56 -0
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/AlertApiImpl.d.ts +2 -4
- package/src/Api/Implementation/AlertApiImpl.js +2 -3
- package/src/Api/Implementation/ApiBase.d.ts +13 -1
- package/src/Api/Implementation/ApiBase.js +10 -0
- package/src/Api/Implementation/ColumnApiImpl.js +2 -2
- package/src/Api/Implementation/ConditionalStyleApiImpl.d.ts +2 -4
- package/src/Api/Implementation/ConditionalStyleApiImpl.js +2 -3
- package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +2 -4
- package/src/Api/Implementation/CustomSortApiImpl.js +2 -3
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +2 -4
- package/src/Api/Implementation/FlashingCellApiImpl.js +2 -3
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +2 -4
- package/src/Api/Implementation/FormatColumnApiImpl.js +2 -3
- package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
- package/src/Api/Implementation/GridApiImpl.js +0 -44
- package/src/Api/Implementation/InternalApiImpl.d.ts +1 -1
- package/src/Api/Implementation/InternalApiImpl.js +5 -4
- package/src/Api/Implementation/LayoutApiImpl.d.ts +0 -2
- package/src/Api/Implementation/LayoutApiImpl.js +0 -6
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -4
- package/src/Api/Implementation/PlusMinusApiImpl.js +2 -3
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +6 -16
- package/src/Api/Implementation/ScheduleApiImpl.js +10 -16
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +2 -4
- package/src/Api/Implementation/ShortcutApiImpl.js +2 -3
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SmartEditApiImpl.js +2 -1
- package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
- package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
- package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
- package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
- package/src/Api/InternalApi.d.ts +1 -1
- package/src/Api/LayoutApi.d.ts +1 -6
- package/src/Api/SmartEditApi.d.ts +1 -1
- package/src/Api/StatusBarApi.d.ts +10 -3
- package/src/Api/UserInterfaceApi.d.ts +1 -5
- package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
- package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -36
- package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
- package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
- package/src/PredefinedConfig/Common/Types.d.ts +1 -1
- package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
- package/src/PredefinedConfig/Uuid.js +2 -1
- package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
- package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
- package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
- package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
- package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
- package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
- package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
- package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
- package/src/Redux/ActionsReducers/GridRedux.js +38 -19
- package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
- package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
- package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
- package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
- package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
- package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
- package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
- package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
- package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
- package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
- package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
- package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
- package/src/Redux/DeadRedux.js +16 -8
- package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
- package/src/Redux/Store/AdaptableStore.js +7 -2
- package/src/Strategy/AlertModule.d.ts +2 -18
- package/src/Strategy/AlertModule.js +2 -1
- package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
- package/src/Strategy/DashboardModule.js +3 -1
- package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
- package/src/Strategy/DataSetModule.d.ts +2 -13
- package/src/Strategy/ExportModule.d.ts +2 -13
- package/src/Strategy/ExportModule.js +1 -1
- package/src/Strategy/FilterModule.d.ts +2 -14
- package/src/Strategy/FilterModule.js +1 -1
- package/src/Strategy/FlashingCellModule.d.ts +2 -9
- package/src/Strategy/GridInfoModule.js +6 -2
- package/src/Strategy/Interface/IModule.d.ts +2 -1
- package/src/Strategy/LayoutModule.d.ts +3 -17
- package/src/Strategy/LayoutModule.js +57 -4
- package/src/Strategy/PlusMinusModule.d.ts +2 -9
- package/src/Strategy/QuickSearchModule.d.ts +2 -7
- package/src/Strategy/ScheduleModule.d.ts +2 -13
- package/src/Strategy/ShortcutModule.d.ts +2 -9
- package/src/Strategy/StatusBarModule.js +2 -2
- package/src/Strategy/SystemStatusModule.d.ts +2 -7
- package/src/Strategy/ThemeModule.d.ts +2 -8
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
- package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
- package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
- package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
- package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
- package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
- package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
- package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
- package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
- package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
- package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
- package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
- package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
- package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
- package/src/Strategy/Utilities/getStyleViewItems.js +2 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
- package/src/Utilities/Constants/GeneralConstants.js +2 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +21 -13
- package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
- package/src/Utilities/Extensions/TypeExtensions.d.ts +30 -0
- package/src/Utilities/Helpers/AdaptableHelper.d.ts +1 -3
- package/src/Utilities/Helpers/AdaptableHelper.js +6 -16
- package/src/Utilities/Helpers/DateHelper.d.ts +27 -0
- package/src/Utilities/Helpers/DateHelper.js +43 -6
- package/src/Utilities/Helpers/Helper.js +2 -1
- package/src/Utilities/Helpers/LoggingHelper.js +2 -1
- package/src/Utilities/Helpers/StyleHelper.js +8 -4
- package/src/Utilities/MenuItem.d.ts +4 -3
- package/src/Utilities/MenuItem.js +9 -3
- package/src/Utilities/ObjectFactory.js +1 -0
- package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -0
- package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
- package/src/Utilities/Services/MetamodelService.d.ts +7 -1
- package/src/Utilities/Services/MetamodelService.js +82 -6
- package/src/Utilities/Services/ModuleService.js +3 -1
- package/src/Utilities/Services/RowEditService.d.ts +6 -6
- package/src/Utilities/Services/RowEditService.js +24 -25
- package/src/Utilities/isAdaptableObject.js +2 -1
- package/src/Utilities/isMacLike.js +2 -1
- package/src/Utilities/license/decode.js +1 -1
- package/src/Utilities/reorder.js +2 -1
- package/src/Utilities/runIfNotResolvedIn.js +2 -1
- package/src/Utilities/waitForCondition.d.ts +1 -1
- package/src/Utilities/waitForCondition.js +2 -1
- package/src/View/AdaptableContext.js +2 -1
- package/src/View/AdaptableView.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +12 -9
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -1
- package/src/View/AdaptableWizardView/Utils.js +2 -1
- package/src/View/AdaptableWizardView/Wizard.js +4 -2
- package/src/View/AdaptableWizardView/helper.js +6 -3
- package/src/View/Alert/ActiveAlertsPanel.js +2 -1
- package/src/View/Alert/AlertEmptyView.js +2 -1
- package/src/View/Alert/AlertStatusSubPanel.js +2 -1
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -2
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -3
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
- package/src/View/Alert/Wizard/AlertWizard.js +2 -1
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -2
- package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +6 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
- package/src/View/CellSummary/CellSummaryPopover.js +2 -1
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
- package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
- package/src/View/ColorPicker.d.ts +5 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.js +11 -11
- package/src/View/Components/AdaptableInput/index.d.ts +2 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
- package/src/View/Components/Buttons/ButtonClone.js +2 -1
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonEdit.js +2 -1
- package/src/View/Components/Buttons/ButtonNew.js +2 -1
- package/src/View/Components/ColumnSelector/index.js +2 -1
- package/src/View/Components/EntityRulesEditor/index.js +6 -3
- package/src/View/Components/ExpressionWizard.js +2 -1
- package/src/View/Components/ExternalRenderer.js +2 -1
- package/src/View/Components/FilterForm/FilterForm.js +2 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
- package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
- package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
- package/src/View/Components/ModuleValueSelector/index.js +2 -1
- package/src/View/Components/NewScopeComponent.js +6 -3
- package/src/View/Components/Panels/PanelFooter.js +2 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
- package/src/View/Components/Panels/PanelWithImage.js +2 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
- package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
- package/src/View/Components/Popups/AdaptableToaster.js +2 -1
- package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
- package/src/View/Components/Popups/Utilities.js +8 -4
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
- package/src/View/Components/Selectors/ColumnSelector.js +2 -1
- package/src/View/Components/TagValueSelector/index.js +4 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +2 -1
- package/src/View/Components/WizardSummaryPage.js +2 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +4 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -3
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +6 -3
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +2 -1
- package/src/View/Dashboard/CustomDashboardButton.js +2 -1
- package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
- package/src/View/Dashboard/Dashboard.d.ts +1 -1
- package/src/View/Dashboard/Dashboard.js +4 -3
- package/src/View/Dashboard/DashboardPopup.js +1 -1
- package/src/View/Dashboard/ModuleToolbarWrapper.js +2 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +7 -0
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
- package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +2 -1
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -1
- package/src/View/DataChangeHistory/buildActionColumnButton.js +13 -9
- package/src/View/DataSet/DataSetSelector.js +2 -1
- package/src/View/DataSet/DataSetStatusPanelPopover.js +2 -1
- package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
- package/src/View/Export/ExportSelector.js +2 -1
- package/src/View/Export/ExportViewPanel.d.ts +1 -1
- package/src/View/Export/ReportExportDropdown.js +2 -1
- package/src/View/Export/Wizard/NewReportWizard.js +4 -2
- package/src/View/Export/Wizard/ReportColumnsWizardSection.js +6 -3
- package/src/View/Export/Wizard/ReportNameWizardSection.js +6 -3
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +6 -3
- package/src/View/Filter/ActiveFiltersPanel.js +2 -1
- package/src/View/Filter/FilterStatusBarSubPanelPopover.js +2 -1
- package/src/View/Filter/FilterSummary.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/FlashingCell/FlashingCellStyle.js +2 -1
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +4 -2
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +10 -5
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -3
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -1
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +8 -4
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +4 -2
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -2
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +4 -2
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -3
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -1
- package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -1
- package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -1
- package/src/View/GridInfo/GridInfoPopup.js +6 -4
- package/src/View/KeyHint.js +2 -1
- package/src/View/Layout/EditCurrentLayoutButton.js +2 -1
- package/src/View/Layout/LayoutCloneButton.js +2 -1
- package/src/View/Layout/LayoutEditorStandalonePopup.js +2 -1
- package/src/View/Layout/LayoutPopup.d.ts +1 -1
- package/src/View/Layout/LayoutRadioSelector.js +2 -1
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +2 -1
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/reducer.js +4 -2
- package/src/View/Layout/Wizard/LayoutEditor/utils.js +2 -1
- package/src/View/License/LicenseWatermark.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +2 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +6 -3
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
- package/src/View/Query/EditCurrentQueryButton.js +2 -1
- package/src/View/Query/ExpandedQueryPopup.js +2 -1
- package/src/View/Query/QueryViewPanel.d.ts +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +6 -3
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +6 -3
- package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
- package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
- package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +4 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +2 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -3
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
- package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
- package/src/View/StateManagement/StateManagementPopup.js +2 -1
- package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
- package/src/View/StateManagement/components/ClearButton.js +2 -1
- package/src/View/StateManagement/components/ExportDropdown.js +2 -1
- package/src/View/StateManagement/components/LoadButton.js +2 -1
- package/src/View/StateManagement/handleExportState.js +2 -1
- package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
- package/src/View/StatusBar/StatusBarPanel.js +2 -1
- package/src/View/StatusBar/StatusBarPopup.js +5 -4
- package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
- package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
- package/src/View/UIHelper.d.ts +2 -0
- package/src/View/UIHelper.js +12 -11
- package/src/View/Wizard/AdaptableWizard.js +2 -1
- package/src/View/Wizard/ObjectTagsWizardSection.js +4 -2
- package/src/View/Wizard/OnePageAdaptableWizard.js +10 -5
- package/src/View/Wizard/OnePageWizards.js +8 -4
- package/src/View/Wizard/useKeyboardNavigation.js +2 -1
- package/src/View/renderWithAdaptableContext.js +2 -1
- package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
- package/src/agGrid/ActionColumnRenderer.js +1 -1
- package/src/agGrid/Adaptable.js +31 -28
- package/src/agGrid/CheckboxRenderer.js +2 -1
- package/src/agGrid/FilterWrapper.js +2 -1
- package/src/agGrid/FloatingFilterWrapper.js +2 -1
- package/src/agGrid/PercentBarRenderer.js +2 -1
- package/src/agGrid/agGridHelper.js +3 -1
- package/src/agGrid/agGridMenuHelper.js +13 -10
- package/src/agGrid/createAgStatusPanelComponent.js +2 -1
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
- package/src/components/AdaptableIconComponent/index.d.ts +10 -0
- package/src/components/AdaptableIconComponent/index.js +40 -0
- package/src/components/CheckBox/index.js +2 -1
- package/src/components/CodeBlock/index.js +2 -1
- package/src/components/Dashboard/DashboardManager.js +1 -1
- package/src/components/Datepicker/DatepickerContext.js +2 -1
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
- package/src/components/DragAndDropContext/ModuleManager.js +5 -4
- package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
- package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
- package/src/components/EllipsisContainer/index.js +4 -2
- package/src/components/ExpressionEditor/EditorContext.js +2 -1
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
- package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
- package/src/components/FileDroppable/index.js +2 -1
- package/src/components/FormLayout/index.js +2 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +2 -4
- package/src/components/Loader/Loader.js +4 -2
- package/src/components/Logo/index.js +2 -1
- package/src/components/Modal/Backdrop.js +2 -1
- package/src/components/Modal/index.js +2 -1
- package/src/components/OverlayTrigger/Overlay.js +2 -1
- package/src/components/OverlayTrigger/index.js +2 -1
- package/src/components/OverlayTrigger/utils.js +6 -3
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
- package/src/components/Radio/index.js +4 -2
- package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
- package/src/components/ResizeObserver/index.js +6 -3
- package/src/components/SelectList.js +2 -1
- package/src/components/SelectableList/index.js +2 -1
- package/src/components/SimpleButton/index.d.ts +2 -1
- package/src/components/SimpleButton/index.js +19 -6
- package/src/components/StylePreview.js +2 -1
- package/src/components/Tabs/index.js +6 -3
- package/src/components/Textarea/index.d.ts +5 -1
- package/src/components/ToggleButton/index.js +2 -1
- package/src/components/WindowModal/WindowModal.js +2 -1
- package/src/components/WindowModal/useStacking.js +2 -1
- package/src/components/icons/DefaultIcon.js +2 -1
- package/src/components/icons/index.d.ts +3 -1
- package/src/components/icons/index.js +10 -2
- package/src/components/utils/useContainerScrollObserver/index.js +2 -1
- package/src/components/utils/useGlobalEvent.js +2 -1
- package/src/components/utils/useLatest.js +2 -1
- package/src/components/utils/useRerender.js +2 -1
- package/src/components/utils/uuid.js +2 -1
- package/src/metamodel/adaptable-metamodel-model.d.ts +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +219 -112
- package/src/metamodel/adaptable.metamodel.js +1 -12958
- package/src/types.d.ts +8 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/Api/Events/RowFormSubmitted.d.ts +0 -34
- package/src/components/ApplicationIcon.d.ts +0 -6
- package/src/components/ApplicationIcon.js +0 -13
|
@@ -8,7 +8,7 @@ const StringExtensions_1 = tslib_1.__importDefault(require("../../../Utilities/E
|
|
|
8
8
|
const OnePageWizards_1 = require("../../Wizard/OnePageWizards");
|
|
9
9
|
const ConfigurationWizardColumnsStep_1 = require("./ConfigurationWizardColumnsStep");
|
|
10
10
|
const ConfigurationForm_1 = tslib_1.__importDefault(require("./ConfigurationForm"));
|
|
11
|
-
|
|
11
|
+
const ConfigurationWizard = (props) => {
|
|
12
12
|
const [isPrimaryKeySelected, setIsValid] = React.useState(true);
|
|
13
13
|
const [adaptableOptions, setAdaptableOptions] = react_1.useState(props.adaptableOptions);
|
|
14
14
|
const [selectedColumns, setSelectedColumns] = react_1.useState(() => {
|
|
@@ -21,14 +21,16 @@ exports.ConfigurationWizard = (props) => {
|
|
|
21
21
|
const handleFinish = () => {
|
|
22
22
|
const newAdaptableOptions = Object.assign({}, adaptableOptions);
|
|
23
23
|
newAdaptableOptions.gridOptions = Object.assign({}, adaptableOptions.gridOptions);
|
|
24
|
-
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
if (columnsHandle.current) {
|
|
25
|
+
newAdaptableOptions.gridOptions.columnDefs = columnsHandle
|
|
26
|
+
.current.getColumns()
|
|
27
|
+
.map((column) => {
|
|
28
|
+
const newColumn = Object.assign(Object.assign({}, column), { headerName: column.caption || StringExtensions_1.default.Humanize(column.field) });
|
|
29
|
+
delete newColumn.caption;
|
|
30
|
+
return newColumn;
|
|
31
|
+
});
|
|
32
|
+
newAdaptableOptions.primaryKey = columnsHandle.current.getPrimaryKey();
|
|
33
|
+
}
|
|
32
34
|
setAdaptableOptions(newAdaptableOptions);
|
|
33
35
|
props.onFinish(newAdaptableOptions);
|
|
34
36
|
};
|
|
@@ -85,3 +87,4 @@ exports.ConfigurationWizard = (props) => {
|
|
|
85
87
|
}
|
|
86
88
|
return (React.createElement(OnePageWizards_1.OnePageWizard, { data: adaptableOptions, name: "Configure", defaultCurrentSectionName: 'default section name', onHide: () => null, onFinish: handleFinish, sections: sections }));
|
|
87
89
|
};
|
|
90
|
+
exports.ConfigurationWizard = ConfigurationWizard;
|
package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js
CHANGED
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const Panel_1 = tslib_1.__importDefault(require("../../../components/Panel"));
|
|
7
7
|
const ColumnsList_1 = tslib_1.__importDefault(require("./ColumnsList"));
|
|
8
|
-
|
|
8
|
+
const ConfigurationWizardColumnsStep = (props) => {
|
|
9
9
|
var _a, _b;
|
|
10
10
|
return (React.createElement(Panel_1.default, { header: '', border: "none", bodyScroll: false, bodyProps: {
|
|
11
11
|
style: { overflow: 'auto', display: 'flex', flexFlow: 'column' },
|
|
@@ -14,3 +14,4 @@ exports.ConfigurationWizardColumnsStep = (props) => {
|
|
|
14
14
|
props.setPrimaryKeyIsNotSelected(valid);
|
|
15
15
|
}, selectedColumns: props.selectedColumns, onChange: props.onColumnChange, onSelectionChange: props.onSelectionChange, columns: (_b = (_a = props.adaptableOptions) === null || _a === void 0 ? void 0 : _a.gridOptions) === null || _b === void 0 ? void 0 : _b.columnDefs })));
|
|
16
16
|
};
|
|
17
|
+
exports.ConfigurationWizardColumnsStep = ConfigurationWizardColumnsStep;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.validDataSource = void 0;
|
|
4
|
-
|
|
4
|
+
const validDataSource = (dataSourceInfo) => {
|
|
5
5
|
if (!dataSourceInfo || !Array.isArray(dataSourceInfo.columns)) {
|
|
6
6
|
throw `We can't find any columns in your configuration`;
|
|
7
7
|
}
|
|
@@ -22,3 +22,4 @@ exports.validDataSource = (dataSourceInfo) => {
|
|
|
22
22
|
}
|
|
23
23
|
return true;
|
|
24
24
|
};
|
|
25
|
+
exports.validDataSource = validDataSource;
|
|
@@ -12,7 +12,7 @@ const Utils_1 = require("./Utils");
|
|
|
12
12
|
exports.initialState = {
|
|
13
13
|
dropped: false,
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
const reducer = (state, action) => {
|
|
16
16
|
if (action.type === 'DROPPED') {
|
|
17
17
|
return Object.assign(Object.assign({}, state), { adaptableOptions: action.payload, dropped: true, error: null });
|
|
18
18
|
}
|
|
@@ -24,6 +24,7 @@ exports.reducer = (state, action) => {
|
|
|
24
24
|
}
|
|
25
25
|
return state;
|
|
26
26
|
};
|
|
27
|
+
exports.reducer = reducer;
|
|
27
28
|
/**
|
|
28
29
|
* The wizard in a few modes:
|
|
29
30
|
*
|
|
@@ -34,7 +35,7 @@ exports.reducer = (state, action) => {
|
|
|
34
35
|
* 2. Based on configuration:
|
|
35
36
|
* Provide a schema, on how the data looks like.
|
|
36
37
|
*/
|
|
37
|
-
|
|
38
|
+
const Wizard = (props) => {
|
|
38
39
|
var _a;
|
|
39
40
|
const [state, dispatch] = react_1.useReducer(exports.reducer, Object.assign(Object.assign({}, exports.initialState), { adaptableOptions: props.adaptableOptions }));
|
|
40
41
|
const [droppableKey, setDroppableKey] = react_1.useState(Date.now());
|
|
@@ -96,3 +97,4 @@ exports.Wizard = (props) => {
|
|
|
96
97
|
isDataLoading && (React.createElement(rebass_1.Flex, { className: 'ab-nocode-wizard', alignItems: "center", justifyContent: "center", flexDirection: "column" }, props.loadingMessage || 'Loading ...')),
|
|
97
98
|
wizard));
|
|
98
99
|
};
|
|
100
|
+
exports.Wizard = Wizard;
|
|
@@ -11,7 +11,7 @@ exports.prepareGridOptions = exports.getColTypeFromValue = exports.prepareDataSo
|
|
|
11
11
|
* so if we receive v2, we transform it to 1
|
|
12
12
|
* @param json
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
const prepareDataSource = (json, _file) => {
|
|
15
15
|
if (!Array.isArray(json) || !json.length) {
|
|
16
16
|
return {
|
|
17
17
|
primaryKey: undefined,
|
|
@@ -45,6 +45,7 @@ exports.prepareDataSource = (json, _file) => {
|
|
|
45
45
|
data,
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
+
exports.prepareDataSource = prepareDataSource;
|
|
48
49
|
const typeToColType = {
|
|
49
50
|
string: 'abColDefString',
|
|
50
51
|
number: 'abColDefNumber',
|
|
@@ -52,7 +53,7 @@ const typeToColType = {
|
|
|
52
53
|
date: 'abColDefDate',
|
|
53
54
|
};
|
|
54
55
|
const abColDefCustom = 'abColDefCustom';
|
|
55
|
-
|
|
56
|
+
const getColTypeFromValue = (value) => {
|
|
56
57
|
const dataType = typeof value;
|
|
57
58
|
let columnType = typeToColType[dataType] || typeToColType.string;
|
|
58
59
|
if (value instanceof Date) {
|
|
@@ -63,7 +64,8 @@ exports.getColTypeFromValue = (value) => {
|
|
|
63
64
|
}
|
|
64
65
|
return columnType;
|
|
65
66
|
};
|
|
66
|
-
exports.
|
|
67
|
+
exports.getColTypeFromValue = getColTypeFromValue;
|
|
68
|
+
const prepareGridOptions = (dataSourceInfo) => {
|
|
67
69
|
const firstItem = dataSourceInfo.data[0];
|
|
68
70
|
const columnDefs = dataSourceInfo.columns.map((columnName) => {
|
|
69
71
|
const firstItemValue = firstItem[columnName];
|
|
@@ -91,3 +93,4 @@ exports.prepareGridOptions = (dataSourceInfo) => {
|
|
|
91
93
|
};
|
|
92
94
|
return gridOptions;
|
|
93
95
|
};
|
|
96
|
+
exports.prepareGridOptions = prepareGridOptions;
|
|
@@ -7,9 +7,10 @@ const AdaptableContext_1 = require("../AdaptableContext");
|
|
|
7
7
|
const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
|
|
8
8
|
const AdaptableObjectCompactList_1 = require("../Components/AdaptableObjectList/AdaptableObjectCompactList");
|
|
9
9
|
const react_redux_1 = require("react-redux");
|
|
10
|
-
|
|
10
|
+
const ActiveAlertsPanel = () => {
|
|
11
11
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
12
12
|
const filterModule = adaptable.ModuleService.getModuleById(ModuleConstants.AlertModuleId);
|
|
13
13
|
const alerts = react_redux_1.useSelector((state) => state.System.AdaptableAlerts);
|
|
14
14
|
return React.createElement(AdaptableObjectCompactList_1.AdaptableObjectCompactList, { abObjects: alerts, module: filterModule });
|
|
15
15
|
};
|
|
16
|
+
exports.ActiveAlertsPanel = ActiveAlertsPanel;
|
|
@@ -4,7 +4,7 @@ exports.AlertEmptyView = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const AdaptableContext_1 = require("../AdaptableContext");
|
|
7
|
-
|
|
7
|
+
const AlertEmptyView = (props) => {
|
|
8
8
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
9
9
|
const accessLevel = adaptable.api.internalApi
|
|
10
10
|
.getEntitlementService()
|
|
@@ -14,3 +14,4 @@ exports.AlertEmptyView = (props) => {
|
|
|
14
14
|
: "Click 'New' to start creating Alert Definitions. An Alert is triggered whenever an edit - or external data change - matches the Rule in the Alert Definition.";
|
|
15
15
|
return React.createElement(React.Fragment, null, text);
|
|
16
16
|
};
|
|
17
|
+
exports.AlertEmptyView = AlertEmptyView;
|
|
@@ -10,7 +10,7 @@ const StatusBarPanel_1 = require("../StatusBar/StatusBarPanel");
|
|
|
10
10
|
const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
|
|
11
11
|
const ActiveAlertsPanel_1 = require("./ActiveAlertsPanel");
|
|
12
12
|
const initialStyle = { color: '', background: '' };
|
|
13
|
-
|
|
13
|
+
const AlertStatusPanel = () => {
|
|
14
14
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
15
15
|
const [style, setStyle] = React.useState(initialStyle);
|
|
16
16
|
const module = adaptable.ModuleService.getModuleById(ModuleConstants.AlertModuleId);
|
|
@@ -50,3 +50,4 @@ exports.AlertStatusPanel = () => {
|
|
|
50
50
|
let alertsPanel = React.createElement(ActiveAlertsPanel_1.ActiveAlertsPanel, null);
|
|
51
51
|
return (React.createElement(StatusBarPanel_1.StatusBarPanel, { tooltip: module.moduleInfo.ModuleName, "data-name": module.moduleInfo.ModuleName, color: style.color, backgroundColor: style.background, onAction: handleAction, icon: module.moduleInfo.Glyph, popover: alerts.length ? alertsPanel : null, content: text }));
|
|
52
52
|
};
|
|
53
|
+
exports.AlertStatusPanel = AlertStatusPanel;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getAlertButtonStyle = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const UIHelper_1 = tslib_1.__importDefault(require("../../UIHelper"));
|
|
6
|
-
|
|
6
|
+
const getAlertButtonStyle = (alerts) => {
|
|
7
7
|
const messageType = UIHelper_1.default.getMessageTypeFromAdaptableAlerts(alerts);
|
|
8
8
|
const messageTypeColor = UIHelper_1.default.getColorByMessageType(messageType);
|
|
9
9
|
const buttonBackground = UIHelper_1.default.getButtonColourForAdaptableAlerts(alerts, messageTypeColor);
|
|
@@ -13,3 +13,4 @@ exports.getAlertButtonStyle = (alerts) => {
|
|
|
13
13
|
background: buttonBackground,
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
+
exports.getAlertButtonStyle = getAlertButtonStyle;
|
|
@@ -48,7 +48,7 @@ const HighlightStyle = (props) => {
|
|
|
48
48
|
} }))))));
|
|
49
49
|
};
|
|
50
50
|
// both used in wizard and list view
|
|
51
|
-
|
|
51
|
+
const renderAlertBehaviourSummary = (alert, api, allowWrap = false) => {
|
|
52
52
|
const { AlertProperties = {} } = alert;
|
|
53
53
|
const values = [
|
|
54
54
|
AlertProperties.PreventEdit ? { label: 'Prevent Cell Edit', id: 'preventCellEdit' } : null,
|
|
@@ -82,7 +82,8 @@ exports.renderAlertBehaviourSummary = (alert, api, allowWrap = false) => {
|
|
|
82
82
|
return React.createElement(React.Fragment, null, x.label);
|
|
83
83
|
} }));
|
|
84
84
|
};
|
|
85
|
-
exports.
|
|
85
|
+
exports.renderAlertBehaviourSummary = renderAlertBehaviourSummary;
|
|
86
|
+
const AlertBehaviourWizardSection = (props) => {
|
|
86
87
|
const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
|
|
87
88
|
const { AlertProperties = {} } = data;
|
|
88
89
|
const rowAddedAlert = api.internalApi.isAlertDefinitionForAddedRowChangeEvent(data);
|
|
@@ -126,3 +127,4 @@ exports.AlertBehaviourWizardSection = (props) => {
|
|
|
126
127
|
onChange({ LogToConsole });
|
|
127
128
|
} }, "Log To Console"))));
|
|
128
129
|
};
|
|
130
|
+
exports.AlertBehaviourWizardSection = AlertBehaviourWizardSection;
|
|
@@ -12,7 +12,7 @@ const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayou
|
|
|
12
12
|
const CheckBox_1 = require("../../../components/CheckBox");
|
|
13
13
|
const Helper_1 = require("../../../Utilities/Helpers/Helper");
|
|
14
14
|
const StringExtensions_1 = tslib_1.__importDefault(require("../../../Utilities/Extensions/StringExtensions"));
|
|
15
|
-
|
|
15
|
+
const AlertButtonsEditor = (props) => {
|
|
16
16
|
const { api, adaptableAlert } = props;
|
|
17
17
|
const onChange = (newButtons) => {
|
|
18
18
|
props.onChange(newButtons);
|
|
@@ -147,3 +147,4 @@ exports.AlertButtonsEditor = (props) => {
|
|
|
147
147
|
btnUserFunctions.join(', ')))) : null))));
|
|
148
148
|
})));
|
|
149
149
|
};
|
|
150
|
+
exports.AlertButtonsEditor = AlertButtonsEditor;
|
|
@@ -20,7 +20,7 @@ const DEFAULT_BUTTONS = [
|
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
22
|
];
|
|
23
|
-
|
|
23
|
+
const renderAlertDisplaySummary = () => {
|
|
24
24
|
var _a;
|
|
25
25
|
const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
|
|
26
26
|
if (!((_a = data.AlertProperties) === null || _a === void 0 ? void 0 : _a.DisplayNotification)) {
|
|
@@ -31,7 +31,8 @@ exports.renderAlertDisplaySummary = () => {
|
|
|
31
31
|
}
|
|
32
32
|
return React.createElement(exports.AlertPreview, { api: api, alertDefinition: data });
|
|
33
33
|
};
|
|
34
|
-
exports.
|
|
34
|
+
exports.renderAlertDisplaySummary = renderAlertDisplaySummary;
|
|
35
|
+
const AlertPreview = (_a) => {
|
|
35
36
|
var { alertDefinition, api, focusFirstButton } = _a, boxProps = tslib_1.__rest(_a, ["alertDefinition", "api", "focusFirstButton"]);
|
|
36
37
|
const mapButtons = React.useCallback((button) => {
|
|
37
38
|
let buttonStyle = button.ButtonStyle;
|
|
@@ -55,7 +56,8 @@ exports.AlertPreview = (_a) => {
|
|
|
55
56
|
return (React.createElement(rebass_1.Box, Object.assign({}, boxProps, { style: Object.assign({ border: '1px solid var(--ab-color-inputborder)' }, boxProps.style) }),
|
|
56
57
|
React.createElement(AdaptablePopupAlert_1.AdaptablePopupAlert, { headless: true, focusFirstButton: focusFirstButton, adaptableAlert: alertToPreview, onClose: () => { } })));
|
|
57
58
|
};
|
|
58
|
-
exports.
|
|
59
|
+
exports.AlertPreview = AlertPreview;
|
|
60
|
+
const AlertDisplayWizardSection = (props) => {
|
|
59
61
|
var _a, _b, _c, _d;
|
|
60
62
|
const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
|
|
61
63
|
const messageType = data.MessageType;
|
|
@@ -106,3 +108,4 @@ exports.AlertDisplayWizardSection = (props) => {
|
|
|
106
108
|
React.createElement(Tabs_1.Tabs.Tab, null, "Alert preview"),
|
|
107
109
|
React.createElement(Tabs_1.Tabs.Content, null, typeof data.AlertForm === 'string' ? (React.createElement(rebass_1.Text, { fontSize: 2 }, "Preview not available because form is dynamically driven")) : (React.createElement(exports.AlertPreview, { alertDefinition: data, api: api }))))) : null));
|
|
108
110
|
};
|
|
111
|
+
exports.AlertDisplayWizardSection = AlertDisplayWizardSection;
|
|
@@ -6,10 +6,11 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const BaseAlertRulesWizardSection_1 = require("./BaseAlertRulesWizardSection");
|
|
7
7
|
const EntityRulesEditor_1 = require("../../Components/EntityRulesEditor");
|
|
8
8
|
const Tag_1 = require("../../../components/Tag");
|
|
9
|
-
|
|
9
|
+
const AlertRulesWizardSection = (props) => {
|
|
10
10
|
return React.createElement(BaseAlertRulesWizardSection_1.BaseAlertRulesWizardSection, Object.assign({}, props));
|
|
11
11
|
};
|
|
12
|
-
exports.
|
|
12
|
+
exports.AlertRulesWizardSection = AlertRulesWizardSection;
|
|
13
|
+
const renderAlertRulesSummary = (alertDefinition) => {
|
|
13
14
|
return (React.createElement(EntityRulesEditor_1.EntityRulesSummary, { data: alertDefinition, renderPredicate: (contents) => {
|
|
14
15
|
return (React.createElement(React.Fragment, null,
|
|
15
16
|
"Alert condition ",
|
|
@@ -20,3 +21,4 @@ exports.renderAlertRulesSummary = (alertDefinition) => {
|
|
|
20
21
|
React.createElement(Tag_1.Tag, null, contents)));
|
|
21
22
|
} }));
|
|
22
23
|
};
|
|
24
|
+
exports.renderAlertRulesSummary = renderAlertRulesSummary;
|
|
@@ -4,6 +4,7 @@ exports.AlertScopeWizardSection = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const BaseAlertScopeWizardSection_1 = require("./BaseAlertScopeWizardSection");
|
|
7
|
-
|
|
7
|
+
const AlertScopeWizardSection = (props) => {
|
|
8
8
|
return React.createElement(BaseAlertScopeWizardSection_1.BaseAlertScopeWizardSection, Object.assign({}, props));
|
|
9
9
|
};
|
|
10
|
+
exports.AlertScopeWizardSection = AlertScopeWizardSection;
|
|
@@ -20,7 +20,7 @@ const react_redux_1 = require("react-redux");
|
|
|
20
20
|
const AlertRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/AlertRedux"));
|
|
21
21
|
const AdaptableContext_1 = require("../../AdaptableContext");
|
|
22
22
|
const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
|
|
23
|
-
|
|
23
|
+
const AlertWizard = (props) => {
|
|
24
24
|
const [alertDefinition, setAlertDefinition] = react_1.useState(() => {
|
|
25
25
|
var _a;
|
|
26
26
|
const alertDefinition = props.data
|
|
@@ -177,3 +177,4 @@ exports.AlertWizard = (props) => {
|
|
|
177
177
|
},
|
|
178
178
|
] }));
|
|
179
179
|
};
|
|
180
|
+
exports.AlertWizard = AlertWizard;
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
7
7
|
const EntityRulesEditor_1 = require("../../Components/EntityRulesEditor");
|
|
8
|
-
|
|
8
|
+
const BaseAlertRulesWizardSection = (props) => {
|
|
9
9
|
const { data, api, moduleInfo } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
|
|
10
10
|
const wholeRowScope = props.wholeRowScope != null ? props.wholeRowScope : api.scopeApi.scopeIsAll(data.Scope);
|
|
11
11
|
const predicateDefs = api.alertApi.getAlertPredicateDefsForScope(data.Scope);
|
|
@@ -25,3 +25,4 @@ exports.BaseAlertRulesWizardSection = (props) => {
|
|
|
25
25
|
" is 'Whole Row' - so any data change may be evaluated in a complex AggregatedBooleanExpression")),
|
|
26
26
|
} }));
|
|
27
27
|
};
|
|
28
|
+
exports.BaseAlertRulesWizardSection = BaseAlertRulesWizardSection;
|
|
@@ -7,7 +7,7 @@ const rebass_1 = require("rebass");
|
|
|
7
7
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
8
8
|
const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
|
|
9
9
|
const ValueSelector_1 = require("../../Components/ValueSelector");
|
|
10
|
-
|
|
10
|
+
const BaseAlertScopeWizardSection = (props) => {
|
|
11
11
|
const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
|
|
12
12
|
return (React.createElement(rebass_1.Flex, { flexDirection: "column", style: { height: '100%' }, padding: 2 },
|
|
13
13
|
React.createElement(NewScopeComponent_1.NewScopeComponent, { descriptions: {
|
|
@@ -40,7 +40,8 @@ exports.BaseAlertScopeWizardSection = (props) => {
|
|
|
40
40
|
props.onChange(newData);
|
|
41
41
|
} })));
|
|
42
42
|
};
|
|
43
|
-
exports.
|
|
43
|
+
exports.BaseAlertScopeWizardSection = BaseAlertScopeWizardSection;
|
|
44
|
+
const renderBaseAlertScopeSummary = (data) => {
|
|
44
45
|
const { api: { scopeApi }, } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
|
|
45
46
|
const columnsInScope = scopeApi.getColumnsForScope(data.Scope);
|
|
46
47
|
return (React.createElement(React.Fragment, null,
|
|
@@ -55,3 +56,4 @@ exports.renderBaseAlertScopeSummary = (data) => {
|
|
|
55
56
|
React.createElement(rebass_1.Text, { fontSize: 2, mb: 2 }, "Changes in columns of the selected data-types trigger an alert"),
|
|
56
57
|
React.createElement(ValueSelector_1.ValueOptionsTags, { readOnly: true, options: data.Scope.DataTypes, value: data.Scope.DataTypes, toLabel: (c) => c, allowWrap: true, renderLabel: (c) => React.createElement(React.Fragment, null, `DataType: ${c}`), toIdentifier: (c) => c }))) : null)));
|
|
57
58
|
};
|
|
59
|
+
exports.renderBaseAlertScopeSummary = renderBaseAlertScopeSummary;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isValidAlertRules = void 0;
|
|
4
4
|
const ModuleConstants_1 = require("../../../Utilities/Constants/ModuleConstants");
|
|
5
|
-
|
|
5
|
+
const isValidAlertRules = (alert, api, context) => {
|
|
6
6
|
let valid = true;
|
|
7
7
|
if (!alert.Rule.Predicate &&
|
|
8
8
|
!alert.Rule.BooleanExpression &&
|
|
@@ -43,3 +43,4 @@ exports.isValidAlertRules = (alert, api, context) => {
|
|
|
43
43
|
}
|
|
44
44
|
return true;
|
|
45
45
|
};
|
|
46
|
+
exports.isValidAlertRules = isValidAlertRules;
|
|
@@ -16,4 +16,4 @@ export declare class CalculatedColumnSummaryComponent extends React.Component<Ca
|
|
|
16
16
|
onFinishWizard: (calculatedColumn: CalculatedColumn) => void;
|
|
17
17
|
canFinishWizard(): boolean;
|
|
18
18
|
}
|
|
19
|
-
export declare let CalculatedColumnSummary: import("react-redux").ConnectedComponent<typeof CalculatedColumnSummaryComponent,
|
|
19
|
+
export declare let CalculatedColumnSummary: import("react-redux").ConnectedComponent<typeof CalculatedColumnSummaryComponent, import("react-redux").Omit<React.ClassAttributes<CalculatedColumnSummaryComponent> & CalculatedColumnSummaryProps, "ref" | "key" | "api" | "onSuspend" | "accessLevel" | "popupParams" | "onClearPopupParams" | "teamSharingActivated" | "onClosePopup" | "moduleInfo" | "onUnSuspend" | "modalContainer" | "onShare" | "onEdit" | "summarisedColumn" | "CalculatedColumns" | "onDeleteConfirm">>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getCalculatedColumnSettingTags = void 0;
|
|
4
|
-
|
|
4
|
+
const getCalculatedColumnSettingTags = (settings) => {
|
|
5
5
|
const { DataType, Width, Filterable, Resizable, Groupable, Sortable, Pivotable, Aggregatable } = settings !== null && settings !== void 0 ? settings : {};
|
|
6
6
|
return [
|
|
7
7
|
DataType ? `DataType: ${DataType}` : null,
|
|
@@ -14,3 +14,4 @@ exports.getCalculatedColumnSettingTags = (settings) => {
|
|
|
14
14
|
Aggregatable ? 'Aggregatable' : null,
|
|
15
15
|
].filter(Boolean);
|
|
16
16
|
};
|
|
17
|
+
exports.getCalculatedColumnSettingTags = getCalculatedColumnSettingTags;
|
|
@@ -10,13 +10,14 @@ const ExpressionEditor_1 = require("../../../components/ExpressionEditor");
|
|
|
10
10
|
const Tabs_1 = require("../../../components/Tabs");
|
|
11
11
|
const CodeBlock_1 = require("../../../components/CodeBlock");
|
|
12
12
|
const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
|
|
13
|
-
|
|
13
|
+
const renderCalculatedColumnExpressionSummary = (data) => {
|
|
14
14
|
var _a;
|
|
15
15
|
return (React.createElement(rebass_1.Box, { fontSize: 2 },
|
|
16
16
|
"Column scalar expression: ",
|
|
17
17
|
React.createElement(CodeBlock_1.CodeBlock, null, (_a = data.Query) === null || _a === void 0 ? void 0 : _a.ScalarExpression)));
|
|
18
18
|
};
|
|
19
|
-
exports.
|
|
19
|
+
exports.renderCalculatedColumnExpressionSummary = renderCalculatedColumnExpressionSummary;
|
|
20
|
+
const isValidCalculatedColumnExpression = (data, api) => {
|
|
20
21
|
var _a;
|
|
21
22
|
const calculatedColumnExpressionService = api.internalApi.getCalculatedColumnExpressionService();
|
|
22
23
|
const expression = (_a = api.queryLanguageApi.getAdaptableQueryExpression(data.Query)) === null || _a === void 0 ? void 0 : _a.trim();
|
|
@@ -29,6 +30,7 @@ exports.isValidCalculatedColumnExpression = (data, api) => {
|
|
|
29
30
|
}
|
|
30
31
|
return true;
|
|
31
32
|
};
|
|
33
|
+
exports.isValidCalculatedColumnExpression = isValidCalculatedColumnExpression;
|
|
32
34
|
const QueryTab = (props) => {
|
|
33
35
|
const { type, label, disabled = false } = props, tabProps = tslib_1.__rest(props, ["type", "label", "disabled"]);
|
|
34
36
|
const text = (React.createElement(rebass_1.Flex, { flexDirection: "column" },
|
|
@@ -41,7 +43,7 @@ const QueryTab = (props) => {
|
|
|
41
43
|
QueryTab.defaultProps = {
|
|
42
44
|
isTabsTab: true,
|
|
43
45
|
};
|
|
44
|
-
|
|
46
|
+
const CalculatedColumnExpressionWizardSection = (props) => {
|
|
45
47
|
const { api, data, moduleInfo } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
|
|
46
48
|
const initialData = react_1.useMemo(() => api.internalApi.getQueryPreviewData(), []);
|
|
47
49
|
const type = data.Query.AggregatedScalarExpression != undefined
|
|
@@ -77,3 +79,4 @@ exports.CalculatedColumnExpressionWizardSection = (props) => {
|
|
|
77
79
|
React.createElement(Tabs_1.Tabs.Content, { value: 'AggregatedScalarExpression' },
|
|
78
80
|
React.createElement(ExpressionEditor_1.ExpressionEditor, { type: 'aggregatedScalar', module: moduleInfo.ModuleName, style: { paddingLeft: 0 }, value: data.Query.AggregatedScalarExpression, onChange: (AggregatedScalarExpression) => setCalculatedColumnExpression({ AggregatedScalarExpression }), initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), isFullExpression: true, api: api }))));
|
|
79
81
|
};
|
|
82
|
+
exports.CalculatedColumnExpressionWizardSection = CalculatedColumnExpressionWizardSection;
|
|
@@ -16,7 +16,7 @@ const ValueSelector_1 = require("../../Components/ValueSelector");
|
|
|
16
16
|
const Tag_1 = require("../../../components/Tag");
|
|
17
17
|
const getCalculatedColumnSettingTags_1 = require("../Utilities/getCalculatedColumnSettingTags");
|
|
18
18
|
const SpecialColumnSettingsWizardStep_1 = require("../../SpecialColumnSettingsWizardStep");
|
|
19
|
-
|
|
19
|
+
const renderCalculatedColumnSettingsSummary = (data) => {
|
|
20
20
|
var _a;
|
|
21
21
|
const options = getCalculatedColumnSettingTags_1.getCalculatedColumnSettingTags(data.CalculatedColumnSettings);
|
|
22
22
|
return (React.createElement(rebass_1.Box, { fontSize: 2 },
|
|
@@ -29,7 +29,8 @@ exports.renderCalculatedColumnSettingsSummary = (data) => {
|
|
|
29
29
|
React.createElement(rebass_1.Box, { mb: 3 }),
|
|
30
30
|
React.createElement(ValueSelector_1.ValueOptionsTags, { toLabel: (x) => x, toIdentifier: (c) => c, readOnly: true, options: options, value: options })));
|
|
31
31
|
};
|
|
32
|
-
exports.
|
|
32
|
+
exports.renderCalculatedColumnSettingsSummary = renderCalculatedColumnSettingsSummary;
|
|
33
|
+
const isValidCalculatedColumnSettings = (data, api) => {
|
|
33
34
|
var _a;
|
|
34
35
|
const columns = api.columnApi.getColumns();
|
|
35
36
|
if (!data.ColumnId) {
|
|
@@ -42,7 +43,8 @@ exports.isValidCalculatedColumnSettings = (data, api) => {
|
|
|
42
43
|
const hasAlreadyExistingId = data.Uuid ? columnsWithSameIdCount > 1 : columnsWithSameIdCount > 0;
|
|
43
44
|
return hasAlreadyExistingId ? 'A Column already exists with that id' : true;
|
|
44
45
|
};
|
|
45
|
-
exports.
|
|
46
|
+
exports.isValidCalculatedColumnSettings = isValidCalculatedColumnSettings;
|
|
47
|
+
const CalculatedColumnSettingsWizardSection = (props) => {
|
|
46
48
|
var _a, _b;
|
|
47
49
|
const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
|
|
48
50
|
const calculatedColumnExpressionService = react_1.useMemo(() => api.internalApi.getCalculatedColumnExpressionService(), []);
|
|
@@ -128,3 +130,4 @@ exports.CalculatedColumnSettingsWizardSection = (props) => {
|
|
|
128
130
|
ErrorMessage ? React.createElement(ErrorBox_1.default, { marginTop: 2 }, ErrorMessage) : null,
|
|
129
131
|
React.createElement(SpecialColumnSettingsWizardStep_1.SpecialColumnSettingsWizardStep, { isEditable: false, settings: data.CalculatedColumnSettings, onChange: handleSpecialColumnSettingsChange })));
|
|
130
132
|
};
|
|
133
|
+
exports.CalculatedColumnSettingsWizardSection = CalculatedColumnSettingsWizardSection;
|
|
@@ -14,7 +14,7 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/Obje
|
|
|
14
14
|
const react_redux_1 = require("react-redux");
|
|
15
15
|
const CalculatedColumnRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/CalculatedColumnRedux"));
|
|
16
16
|
const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
|
|
17
|
-
|
|
17
|
+
const CalculatedColumnWizard = (props) => {
|
|
18
18
|
var _a;
|
|
19
19
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
20
20
|
const allCalculatedColumns = react_redux_1.useSelector((state) => state.CalculatedColumn.CalculatedColumns);
|
|
@@ -80,3 +80,4 @@ exports.CalculatedColumnWizard = (props) => {
|
|
|
80
80
|
},
|
|
81
81
|
] }));
|
|
82
82
|
};
|
|
83
|
+
exports.CalculatedColumnWizard = CalculatedColumnWizard;
|
|
@@ -4,6 +4,7 @@ exports.CellSummaryPopover = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const CellSummaryDetails_1 = require("./CellSummaryDetails");
|
|
7
|
-
|
|
7
|
+
const CellSummaryPopover = (props) => {
|
|
8
8
|
return React.createElement(CellSummaryDetails_1.CellSummaryDetails, { CellSummary: props.CellSummary });
|
|
9
9
|
};
|
|
10
|
+
exports.CellSummaryPopover = CellSummaryPopover;
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const CellSummaryDetails_1 = require("./CellSummaryDetails");
|
|
7
7
|
const react_redux_1 = require("react-redux");
|
|
8
|
-
|
|
8
|
+
const CellSummaryStatusBarSubPanelPopover = () => {
|
|
9
9
|
const cellSummary = react_redux_1.useSelector((state) => state.Grid.CellSummary);
|
|
10
10
|
const summary = React.createElement(CellSummaryDetails_1.CellSummaryDetails, { CellSummary: cellSummary });
|
|
11
11
|
return cellSummary && cellSummary.Count ? (summary) : (
|
|
@@ -13,3 +13,4 @@ exports.CellSummaryStatusBarSubPanelPopover = () => {
|
|
|
13
13
|
// inside a EmptyContent, hat has position absolute
|
|
14
14
|
React.createElement("div", { style: { position: 'relative', width: '100%', height: 80 } }, summary));
|
|
15
15
|
};
|
|
16
|
+
exports.CellSummaryStatusBarSubPanelPopover = CellSummaryStatusBarSubPanelPopover;
|
|
@@ -9,7 +9,7 @@ const StatusBarPanel_1 = require("../StatusBar/StatusBarPanel");
|
|
|
9
9
|
const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
|
|
10
10
|
const GridRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/GridRedux"));
|
|
11
11
|
const CellSummaryStatusBarSubPanelPopover_1 = require("./CellSummaryStatusBarSubPanelPopover");
|
|
12
|
-
|
|
12
|
+
const CellSummaryStatusPanel = () => {
|
|
13
13
|
var _a;
|
|
14
14
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
15
15
|
const dispatch = react_redux_1.useDispatch();
|
|
@@ -34,3 +34,4 @@ exports.CellSummaryStatusPanel = () => {
|
|
|
34
34
|
}, []);
|
|
35
35
|
return (React.createElement(StatusBarPanel_1.StatusBarPanel, { tooltip: module.moduleInfo.ModuleName, "data-name": module.moduleInfo.ModuleName, icon: module.moduleInfo.Glyph, onAction: onAction, content: text, popover: CellSummaryStatusBarSubPanelPopover_1.CellSummaryStatusBarSubPanelPopover, popoverMinWidth: 360 }));
|
|
36
36
|
};
|
|
37
|
+
exports.CellSummaryStatusPanel = CellSummaryStatusPanel;
|
|
@@ -7,4 +7,8 @@ export declare type ColorPickerProps = Omit<HTMLProps<HTMLInputElement>, 'onChan
|
|
|
7
7
|
onChange: (color: string) => void;
|
|
8
8
|
value: string;
|
|
9
9
|
} & Omit<BoxProps, 'onChange'>;
|
|
10
|
-
export declare const ColorPicker: React.ForwardRefExoticComponent<Pick<
|
|
10
|
+
export declare const ColorPicker: React.ForwardRefExoticComponent<Pick<Omit<React.HTMLProps<HTMLInputElement>, "onChange"> & {
|
|
11
|
+
api: AdaptableApi;
|
|
12
|
+
onChange: (color: string) => void;
|
|
13
|
+
value: string;
|
|
14
|
+
} & Omit<BoxProps, "onChange">, "max" | "required" | "default" | "high" | "low" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "disabled" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "type" | "min" | "contextMenu" | "api" | "value" | "onKeyDown" | "rows" | "name" | "className" | "id" | "lang" | "method" | "target" | "role" | "tabIndex" | "crossOrigin" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "download" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "poster" | "challenge" | "keyType" | "keyParams" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "bg"> & React.RefAttributes<unknown>>;
|