@adaptabletools/adaptable 11.0.0-canary.3 → 11.0.0-canary.7
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 +5 -4
- package/agGrid.js +9 -7
- package/base.css +135 -69
- package/bundle.cjs.js +104 -99
- package/index.css +136 -69
- package/package.json +3 -3
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +7 -5
- package/src/AdaptableInterfaces/IAdaptable.d.ts +1 -0
- package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +1 -3
- package/src/AdaptableOptions/AdaptableOptions.d.ts +14 -7
- package/src/AdaptableOptions/{QueryLanguageOptions.d.ts → AdaptableQLOptions.d.ts} +34 -9
- package/src/AdaptableOptions/{QueryLanguageOptions.js → AdaptableQLOptions.js} +0 -0
- package/src/AdaptableOptions/AlertOptions.d.ts +82 -0
- package/src/AdaptableOptions/AlertOptions.js +2 -0
- package/src/AdaptableOptions/ContainerOptions.d.ts +2 -2
- package/src/AdaptableOptions/FilterOptions.d.ts +1 -1
- package/src/AdaptableOptions/GeneralOptions.d.ts +0 -7
- package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -78
- package/src/AdaptableOptions/SearchOptions.d.ts +0 -9
- package/src/AdaptableOptions/StateOptions.d.ts +9 -8
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +2 -2
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -2
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +3 -3
- package/src/Api/AdaptableApi.d.ts +6 -0
- package/src/Api/AlertApi.d.ts +2 -3
- package/src/Api/CalculatedColumnApi.d.ts +2 -9
- package/src/Api/ColumnApi.d.ts +0 -4
- package/src/Api/EventApi.d.ts +8 -3
- package/src/Api/Events/GridDataChanged.d.ts +4 -2
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +1 -1
- package/src/Api/FreeTextColumnApi.d.ts +0 -12
- package/src/Api/GridApi.d.ts +13 -2
- package/src/Api/IPushPullApi.d.ts +1 -1
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -1
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -2
- package/src/Api/Implementation/AlertApiImpl.js +19 -10
- package/src/Api/Implementation/ApiBase.d.ts +5 -2
- package/src/Api/Implementation/ApiBase.js +8 -2
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +3 -4
- package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -1
- package/src/Api/Implementation/ColumnApiImpl.js +0 -5
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +0 -5
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +0 -9
- package/src/Api/Implementation/GridApiImpl.d.ts +4 -1
- package/src/Api/Implementation/GridApiImpl.js +27 -4
- package/src/Api/Implementation/InternalApiImpl.d.ts +2 -3
- package/src/Api/Implementation/InternalApiImpl.js +7 -6
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +11 -0
- package/src/Api/Implementation/QueryApiImpl.js +4 -1
- package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +4 -1
- package/src/Api/Implementation/QueryLanguageApiImpl.js +20 -8
- package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +7 -0
- package/src/Api/Implementation/SettingsPanelApiImpl.js +15 -0
- package/src/Api/InternalApi.d.ts +2 -3
- package/src/Api/LayoutApi.d.ts +7 -0
- package/src/Api/OpenFinApi.d.ts +5 -0
- package/src/Api/PluginsApi.d.ts +29 -0
- package/src/Api/QueryApi.d.ts +2 -2
- package/src/Api/QueryLanguageApi.d.ts +23 -10
- package/src/Api/SettingsPanelApi.d.ts +16 -0
- package/src/Api/SettingsPanelApi.js +2 -0
- package/src/Api/UserInterfaceApi.d.ts +5 -2
- package/src/PredefinedConfig/AlertState.d.ts +8 -6
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +8 -4
- package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +7 -5
- package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -6
- package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +1 -12
- package/src/PredefinedConfig/Common/Enums.d.ts +0 -1
- package/src/PredefinedConfig/Common/Enums.js +0 -2
- package/src/PredefinedConfig/Common/FDC3Context.d.ts +4 -12
- package/src/PredefinedConfig/Common/RowHighlightInfo.d.ts +15 -0
- package/src/PredefinedConfig/Common/RowHighlightInfo.js +2 -0
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +1 -1
- package/src/PredefinedConfig/Common/Types.d.ts +3 -1
- package/src/PredefinedConfig/Common/Types.js +1 -0
- package/src/PredefinedConfig/CustomSortState.d.ts +0 -1
- package/src/PredefinedConfig/FlashingCellState.d.ts +3 -1
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +1 -1
- package/src/PredefinedConfig/LayoutState.d.ts +0 -2
- package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -2
- package/src/PredefinedConfig/Selection/GridCellRange.d.ts +3 -1
- package/src/PredefinedConfig/SystemState.d.ts +2 -1
- package/src/Redux/ActionsReducers/ApplicationRedux.js +9 -3
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +4 -8
- package/src/Redux/ActionsReducers/GridRedux.js +3 -1
- package/src/Redux/ActionsReducers/PopupRedux.js +13 -3
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +3 -1
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +6 -5
- package/src/Redux/ActionsReducers/SystemRedux.js +16 -14
- package/src/Redux/ActionsReducers/ThemeRedux.js +3 -1
- package/src/Redux/Store/AdaptableReduxMerger.js +1 -1
- package/src/Redux/Store/AdaptableStore.js +34 -8
- package/src/Strategy/AlertModule.js +16 -6
- package/src/Strategy/CalculatedColumnModule.js +4 -4
- package/src/Strategy/ChartingModule.d.ts +3 -3
- package/src/Strategy/ChartingModule.js +2 -2
- package/src/Strategy/ConditionalStyleModule.js +4 -0
- package/src/Strategy/FlashingCellModule.js +4 -4
- package/src/Strategy/FreeTextColumnModule.d.ts +2 -2
- package/src/Strategy/FreeTextColumnModule.js +11 -0
- package/src/Strategy/LayoutModule.js +1 -6
- package/src/Strategy/{SetingsPanelModule.d.ts → SettingsPanelModule.d.ts} +0 -0
- package/src/Strategy/{SetingsPanelModule.js → SettingsPanelModule.js} +0 -0
- package/src/Strategy/ToolPanelModule.js +5 -3
- package/src/Strategy/Utilities/getAlertPreviewViewItems.js +1 -1
- package/src/Strategy/Utilities/getExpressionViewItems.d.ts +2 -2
- package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +1 -1
- package/src/Strategy/Utilities/getRuleViewItems.d.ts +0 -1
- package/src/Strategy/Utilities/getRuleViewItems.js +1 -3
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +2 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.js +3 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +23 -17
- package/src/Utilities/ExpressionFunctions/{aggregationExpressionFunctions.d.ts → aggregatedBooleanExpressionFunctions.d.ts} +1 -1
- package/src/Utilities/ExpressionFunctions/{aggregationExpressionFunctions.js → aggregatedBooleanExpressionFunctions.js} +4 -4
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +24 -0
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +339 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.js +13 -0
- package/src/Utilities/ExpressionFunctions/deepMap.d.ts +35 -0
- package/src/Utilities/ExpressionFunctions/deepMap.js +283 -0
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +2 -2
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +8 -8
- package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +35 -0
- package/src/Utilities/ExpressionFunctions/groupingMap.js +105 -0
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +2 -2
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +33 -0
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +154 -0
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +13 -4
- package/src/Utilities/Helpers/AdaptableHelper.js +3 -1
- package/src/Utilities/Helpers/CalendarHelper.js +220 -55
- package/src/Utilities/Interface/MessagePopups.d.ts +6 -2
- package/src/Utilities/ObjectFactory.js +1 -0
- package/src/Utilities/Services/AlertService.js +8 -4
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +7 -3
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +143 -18
- package/src/Utilities/Services/DataService.js +6 -1
- package/src/Utilities/Services/Interface/IAdaptableService.d.ts +1 -1
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +6 -3
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +9 -3
- package/src/Utilities/Services/LicenseService.js +1 -1
- package/src/Utilities/Services/QueryLanguageService.d.ts +11 -4
- package/src/Utilities/Services/QueryLanguageService.js +92 -28
- package/src/Utilities/Services/ReportService.js +6 -2
- package/src/Utilities/Services/TeamSharingService.js +5 -3
- package/src/View/AdaptablePopover/index.js +6 -1
- package/src/View/AdaptableView.js +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +5 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +10 -5
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +4 -1
- package/src/View/AdaptableWizardView/helper.js +5 -3
- package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +5 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +1 -0
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -2
- package/src/View/Alert/Wizard/AlertWizard.js +2 -2
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -2
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +3 -2
- package/src/View/Alert/Wizard/isValidAlertRules.js +3 -3
- package/src/View/CalculatedColumn/CalculatedColumnSharedEntity.js +3 -3
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +2 -4
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +43 -12
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -2
- package/src/View/CellSummary/CellSummaryViewPanel.js +1 -2
- package/src/View/ColorPicker.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +5 -2
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/EntityRulesEditor/index.js +11 -12
- package/src/View/Components/FilterForm/FilterForm.js +0 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +6 -5
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +2 -2
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +0 -3
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +45 -88
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +11 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +78 -0
- package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +1 -3
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -13
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +5 -4
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.d.ts +2 -0
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +44 -0
- package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +1 -0
- package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
- package/src/View/Components/Popups/AdaptablePopupConfirmation.js +3 -1
- package/src/View/Components/Popups/AdaptablePopupPrompt.d.ts +5 -12
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +38 -37
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +4 -1
- package/src/View/Components/ScopeComponent.js +4 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +5 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +3 -1
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
- package/src/View/Components/ValueSelector/index.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +2 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.d.ts +8 -0
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +27 -0
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +7 -0
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +3 -1
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +1 -1
- package/src/View/Dashboard/CustomToolbarWrapper.js +5 -1
- package/src/View/Dashboard/Dashboard.js +2 -3
- package/src/View/Dashboard/DashboardPopup.js +3 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +2 -1
- package/src/View/Export/Wizard/ReportColumnTypeWizard.js +3 -1
- package/src/View/Export/Wizard/ReportRowTypeWizard.js +3 -1
- package/src/View/Filter/FilterViewPanel.d.ts +1 -4
- package/src/View/Filter/FilterViewPanel.js +1 -3
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +2 -2
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +1 -1
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -2
- package/src/View/GridInfo/AdaptableOptionsComponent.js +4 -1
- package/src/View/Layout/Wizard/LayoutEditor/index.js +6 -2
- package/src/View/Layout/Wizard/LayoutEditorWizard.js +7 -1
- package/src/View/License/LicenseWatermark.js +1 -1
- package/src/View/Query/ExpandedQueryPopup.js +9 -2
- package/src/View/Query/QueryViewPanel.js +3 -1
- package/src/View/Query/Wizard/NamedQueryWizard.js +3 -3
- package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +12 -2
- package/src/View/SpecialColumnSettingsWizardStep.js +1 -2
- package/src/View/UIHelper.js +4 -1
- package/src/View/Wizard/AdaptableWizard.js +12 -3
- package/src/View/Wizard/OnePageAdaptableWizard.js +5 -1
- package/src/agGrid/Adaptable.d.ts +3 -3
- package/src/agGrid/Adaptable.js +117 -77
- package/src/agGrid/agGridHelper.js +4 -9
- package/src/agGrid/agGridMenuHelper.js +4 -8
- package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.d.ts +4 -2
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +4 -4
- package/src/components/ApplicationIcon.d.ts +1 -0
- package/src/components/ApplicationIcon.js +2 -2
- package/src/components/Dashboard/Dashboard.js +4 -1
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Dropdown/index.js +8 -1
- package/src/components/ExpressionEditor/EditorInput.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInput.js +5 -2
- package/src/components/ExpressionEditor/EditorInputReactive.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInputReactive.js +4 -2
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +5 -2
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.d.ts +2 -0
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +45 -0
- package/src/components/ExpressionEditor/editorButtonsReactive.js +8 -13
- package/src/components/ExpressionEditor/index.d.ts +2 -1
- package/src/components/ExpressionEditor/index.js +20 -6
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/Logo/index.js +8 -7
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/SizedContainer/index.js +7 -1
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/components/WindowModal/WindowModal.js +4 -1
- package/src/metamodel/adaptable.metamodel.d.ts +114 -59
- package/src/metamodel/adaptable.metamodel.js +373 -242
- package/src/types.d.ts +9 -6
- package/themes/dark.css +4 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -60,6 +60,6 @@ exports.LicenseWatermark = (props) => {
|
|
|
60
60
|
return () => clearTimeout(timerId);
|
|
61
61
|
}, []);
|
|
62
62
|
return (React.createElement(rebass_1.Flex, { style: style, ref: ref },
|
|
63
|
-
React.createElement(Logo_1.Logo, { style: { marginRight: 10
|
|
63
|
+
React.createElement(Logo_1.Logo, { style: { marginRight: 10 } }),
|
|
64
64
|
React.createElement("div", null, props.children)));
|
|
65
65
|
};
|
|
@@ -33,13 +33,20 @@ class ExpandedQueryPopupComponent extends React.Component {
|
|
|
33
33
|
namedQuery: this.state.namedQuery,
|
|
34
34
|
setNamedQuery: (namedQuery) => this.setState({ namedQuery }),
|
|
35
35
|
} },
|
|
36
|
-
React.createElement(PanelWithButton_1.PanelWithButton, { headerText: "Current Query", bodyProps: {
|
|
36
|
+
React.createElement(PanelWithButton_1.PanelWithButton, { headerText: "Current Query", bodyProps: {
|
|
37
|
+
padding: 0,
|
|
38
|
+
style: { display: 'flex', flexDirection: 'column' },
|
|
39
|
+
}, glyphicon: this.props.moduleInfo.Glyph },
|
|
37
40
|
React.createElement(ExpressionEditor_1.ExpressionEditor, { type: 'boolean', module: ModuleConstants_1.QueryModuleId, value: this.state.expression, onChange: (expression) => this.setState({ expression }), initialData: initialData, columns: this.props.api.columnApi.getQueryableColumns(), namedQueries: this.props.api.queryApi.getAllNamedQuery(), api: this.props.api }),
|
|
38
41
|
React.createElement(rebass_1.Flex, { flexDirection: "row", padding: 1, backgroundColor: "primary", alignItems: "center" },
|
|
39
42
|
React.createElement(SimpleButton_1.default, { margin: 1, variant: "text", "data-name": "action-close", onClick: () => {
|
|
40
43
|
this.props.onClosePopup();
|
|
41
44
|
} }, "CLOSE"),
|
|
42
|
-
React.createElement(rebass_1.Text, { fontSize: 2, mr: 3, style: {
|
|
45
|
+
React.createElement(rebass_1.Text, { fontSize: 2, mr: 3, style: {
|
|
46
|
+
flex: 1,
|
|
47
|
+
color: 'var(--ab-color-error)',
|
|
48
|
+
textAlign: 'end',
|
|
49
|
+
} }, namedQueryValidationError),
|
|
43
50
|
React.createElement(SimpleButton_1.default, { variant: "raised", tone: "accent", "data-name": "action-run", margin: 1, onClick: () => {
|
|
44
51
|
if (this.state.namedQuery) {
|
|
45
52
|
this.props.onAddNamedQuery(this.state.namedQuery);
|
|
@@ -74,7 +74,9 @@ class QueryViewPanelComponent extends React.Component {
|
|
|
74
74
|
let availableColumns = this.props.api.columnApi.getColumns().map((col) => {
|
|
75
75
|
return {
|
|
76
76
|
label: col.friendlyName,
|
|
77
|
-
onClick: () => this.setState({
|
|
77
|
+
onClick: () => this.setState({
|
|
78
|
+
expression: this.state.expression + `[${col.columnId}]`,
|
|
79
|
+
}),
|
|
78
80
|
};
|
|
79
81
|
});
|
|
80
82
|
const elementType = this.props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
|
|
@@ -33,14 +33,14 @@ function NamedQueryWizard(props) {
|
|
|
33
33
|
return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, onFinish: handleFinish, sections: [
|
|
34
34
|
{
|
|
35
35
|
title: 'Expression',
|
|
36
|
-
details:
|
|
36
|
+
details: "Specify the Query's Expression",
|
|
37
37
|
renderSummary: NamedQueryExpressionWizardSection_1.renderNamedQueryExpressionSummary,
|
|
38
38
|
isValid: NamedQueryExpressionWizardSection_1.isValidNamedQueryExpression,
|
|
39
39
|
render: () => React.createElement(NamedQueryExpressionWizardSection_1.NamedQueryExpressionWizardSection, { onChange: setNamedQuery }),
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
title: 'Query Name',
|
|
43
|
-
details: 'Specify a unique name for the
|
|
43
|
+
details: 'Specify a unique name for the Query',
|
|
44
44
|
renderSummary: NamedQuerySettingsWizardSection_1.renderNamedQuerySettingsSummary,
|
|
45
45
|
isValid: NamedQuerySettingsWizardSection_1.isValidNamedQuerySettings,
|
|
46
46
|
render: () => {
|
|
@@ -50,7 +50,7 @@ function NamedQueryWizard(props) {
|
|
|
50
50
|
'-',
|
|
51
51
|
{
|
|
52
52
|
title: 'Summary',
|
|
53
|
-
details: 'Review your
|
|
53
|
+
details: 'Review your Query',
|
|
54
54
|
render: () => {
|
|
55
55
|
return (React.createElement(rebass_1.Box, { padding: 2 },
|
|
56
56
|
React.createElement(OnePageAdaptableWizard_1.OnePageWizardSummary, null)));
|
|
@@ -18,8 +18,7 @@ const useQuickSearchDebounced_1 = require("./useQuickSearchDebounced");
|
|
|
18
18
|
const QuickSearchPopupComponent = (props) => {
|
|
19
19
|
const [searchText, search] = useQuickSearchDebounced_1.useQuickSearchDebounced(props);
|
|
20
20
|
const [state, setState] = react_1.useState({
|
|
21
|
-
RunQueryAfterQuickSearch: props.api.internalApi.getAdaptableOptions().searchOptions
|
|
22
|
-
.filterResultsAfterQuickSearch,
|
|
21
|
+
RunQueryAfterQuickSearch: props.api.internalApi.getAdaptableOptions().searchOptions.filterResultsAfterQuickSearch,
|
|
23
22
|
EditedStyle: props.QuickSearchStyle,
|
|
24
23
|
});
|
|
25
24
|
const onUpdateStyle = (style) => {
|
|
@@ -28,7 +27,8 @@ const QuickSearchPopupComponent = (props) => {
|
|
|
28
27
|
};
|
|
29
28
|
const onQuickSearchBehaviourChange = (checked) => {
|
|
30
29
|
setState(Object.assign(Object.assign({}, state), { RunQueryAfterQuickSearch: checked }));
|
|
31
|
-
props.api.internalApi.getAdaptableOptions().searchOptions.filterResultsAfterQuickSearch =
|
|
30
|
+
props.api.internalApi.getAdaptableOptions().searchOptions.filterResultsAfterQuickSearch =
|
|
31
|
+
checked;
|
|
32
32
|
};
|
|
33
33
|
return (React.createElement(PopupPanel_1.PopupPanel, { headerText: props.moduleInfo.FriendlyName, glyphicon: props.moduleInfo.Glyph, infoLink: props.moduleInfo.HelpPage, infoLinkDisabled: !props.api.internalApi.isDocumentationLinksDisplayed() },
|
|
34
34
|
React.createElement(Panel_1.default, { header: props.moduleInfo.FriendlyName + ' Text', style: { height: 'auto' }, variant: "default", borderRadius: "none", marginTop: 3, marginLeft: 2, marginRight: 2 },
|
|
@@ -64,11 +64,21 @@ exports.getScheduleSettingsValues = (data) => {
|
|
|
64
64
|
}
|
|
65
65
|
if (data.ScheduleType === Enums_1.ScheduleType.Glue42) {
|
|
66
66
|
const report = data;
|
|
67
|
-
return [
|
|
67
|
+
return [
|
|
68
|
+
{
|
|
69
|
+
label: 'Report',
|
|
70
|
+
value: (report === null || report === void 0 ? void 0 : report.Glue42Report.ReportName) || 'Not Specified',
|
|
71
|
+
},
|
|
72
|
+
];
|
|
68
73
|
}
|
|
69
74
|
if (data.ScheduleType === Enums_1.ScheduleType.OpenFin) {
|
|
70
75
|
const report = data;
|
|
71
|
-
return [
|
|
76
|
+
return [
|
|
77
|
+
{
|
|
78
|
+
label: 'Report',
|
|
79
|
+
value: (report === null || report === void 0 ? void 0 : report.OpenFinReport.ReportName) || 'Not Specified',
|
|
80
|
+
},
|
|
81
|
+
];
|
|
72
82
|
}
|
|
73
83
|
return [];
|
|
74
84
|
};
|
|
@@ -12,8 +12,7 @@ const AdaptableContext_1 = require("./AdaptableContext");
|
|
|
12
12
|
exports.SpecialColumnSettingsWizardStep = (props) => {
|
|
13
13
|
var _a, _b;
|
|
14
14
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
15
|
-
const possibleColumnTypes = adaptable.api.internalApi.getAdaptableOptions().userInterfaceOptions
|
|
16
|
-
.columnTypes;
|
|
15
|
+
const possibleColumnTypes = adaptable.api.internalApi.getAdaptableOptions().userInterfaceOptions.columnTypes;
|
|
17
16
|
const { Filterable, Resizable, Groupable, Sortable, Pivotable, Aggregatable, SuppressMenu, SuppressMovable, } = (_a = props.settings) !== null && _a !== void 0 ? _a : {};
|
|
18
17
|
const handleColumnTypeChange = (columnType, checked) => {
|
|
19
18
|
var _a, _b, _c;
|
package/src/View/UIHelper.js
CHANGED
|
@@ -133,7 +133,10 @@ function getModalContainer(adaptableOptions, document) {
|
|
|
133
133
|
let modalContainer;
|
|
134
134
|
if (adaptableOptions.containerOptions.modalContainer) {
|
|
135
135
|
// this has been set, so we use the property
|
|
136
|
-
modalContainer =
|
|
136
|
+
modalContainer =
|
|
137
|
+
typeof adaptableOptions.containerOptions.modalContainer === 'string'
|
|
138
|
+
? document.getElementById(adaptableOptions.containerOptions.modalContainer)
|
|
139
|
+
: adaptableOptions.containerOptions.modalContainer;
|
|
137
140
|
if (modalContainer) {
|
|
138
141
|
const modalContainerClassName = ' modal-container';
|
|
139
142
|
if (!modalContainer.className.includes(modalContainerClassName)) {
|
|
@@ -91,7 +91,10 @@ class AdaptableWizard extends React.Component {
|
|
|
91
91
|
let bodyElement = wizardStepInfo.Element;
|
|
92
92
|
let newElement = this.cloneWizardStep(bodyElement);
|
|
93
93
|
this.stepName = wizardStepInfo.StepName;
|
|
94
|
-
this.setState({
|
|
94
|
+
this.setState({
|
|
95
|
+
ActiveState: newElement,
|
|
96
|
+
IndexState: wizardStepInfo.Index,
|
|
97
|
+
});
|
|
95
98
|
}
|
|
96
99
|
ForceUpdateGoBackState() {
|
|
97
100
|
this.forceUpdate();
|
|
@@ -114,7 +117,10 @@ class AdaptableWizard extends React.Component {
|
|
|
114
117
|
let bodyElement = activeWizardInfo.Element;
|
|
115
118
|
let newElement = this.cloneWizardStep(bodyElement);
|
|
116
119
|
this.stepName = activeWizardInfo.StepName;
|
|
117
|
-
this.setState({
|
|
120
|
+
this.setState({
|
|
121
|
+
ActiveState: newElement,
|
|
122
|
+
IndexState: this.state.IndexState - decrement,
|
|
123
|
+
});
|
|
118
124
|
}
|
|
119
125
|
}
|
|
120
126
|
}
|
|
@@ -126,7 +132,10 @@ class AdaptableWizard extends React.Component {
|
|
|
126
132
|
let bodyElement = activeWizardInfo.Element;
|
|
127
133
|
let newElement = this.cloneWizardStep(bodyElement);
|
|
128
134
|
this.stepName = activeWizardInfo.StepName;
|
|
129
|
-
this.setState({
|
|
135
|
+
this.setState({
|
|
136
|
+
ActiveState: newElement,
|
|
137
|
+
IndexState: this.state.IndexState + increment,
|
|
138
|
+
});
|
|
130
139
|
}
|
|
131
140
|
}
|
|
132
141
|
handleClickFinish() {
|
|
@@ -191,7 +191,11 @@ exports.OnePageAdaptableWizard = (props) => {
|
|
|
191
191
|
React.createElement(rebass_1.Flex, { flexDirection: "row", padding: 2, alignItems: "center", className: "ab-WizardDialog__footer ab-OnePageWizard__footer" },
|
|
192
192
|
React.createElement(SimpleButton_1.default, { tone: "neutral", variant: "text", "data-name": "close", onClick: () => { var _a; return (_a = props.onHide) === null || _a === void 0 ? void 0 : _a.call(props); }, tooltip: (_a = props.closeTooltip) !== null && _a !== void 0 ? _a : 'Close wizard', accessLevel: 'Full' }, (_b = props.closeText) !== null && _b !== void 0 ? _b : 'CLOSE'),
|
|
193
193
|
React.createElement(KeyHint_1.KeyHint, { ml: 2 }, "Esc"),
|
|
194
|
-
React.createElement(rebass_1.Text, { fontSize: 2, mr: 3, className: "ab-OnePageWizard__error", style: {
|
|
194
|
+
React.createElement(rebass_1.Text, { fontSize: 2, mr: 3, className: "ab-OnePageWizard__error", style: {
|
|
195
|
+
flex: 1,
|
|
196
|
+
color: 'var(--ab-color-error)',
|
|
197
|
+
textAlign: 'end',
|
|
198
|
+
} }, firstErrorMessage),
|
|
195
199
|
React.createElement(SimpleButton_1.default, { tone: "accent", "data-name": "finish", variant: "raised", disabled: canFinish !== true, onClick: () => handleClickFinish(), icon: 'check', accessLevel: 'Full' }, "Finish")))))));
|
|
196
200
|
};
|
|
197
201
|
exports.OnePageWizardSummary = () => {
|
|
@@ -165,14 +165,14 @@ export declare class Adaptable implements IAdaptable {
|
|
|
165
165
|
private isInternallyRenderedColumn;
|
|
166
166
|
getDisplayValue(id: any, columnId: string): string | undefined;
|
|
167
167
|
getGridCellFromRowNode(rowNode: RowNode, columnId: string): GridCell | undefined;
|
|
168
|
-
getDisplayValueFromRowNode(
|
|
169
|
-
|
|
170
|
-
getDisplayValueFromRawValue(columnId: string, rawValue: any, skipCellRenderers?: boolean): string | undefined;
|
|
168
|
+
getDisplayValueFromRowNode(rowNode: RowNode, columnId: string): string | undefined;
|
|
169
|
+
getDisplayValueFromRawValue(columnId: string, rawValue: any): string | undefined;
|
|
171
170
|
private getFormattedValue;
|
|
172
171
|
private getNormalisedValueFromRowValue;
|
|
173
172
|
getRawValueFromRowNode(rowNode: RowNode, columnId: string): any;
|
|
174
173
|
getDataRowFromRowNode(rowNode: RowNode): any;
|
|
175
174
|
getRowNodeForPrimaryKey(primaryKeyValue: any): any;
|
|
175
|
+
getRowNodeByIndex(index: number): RowNode;
|
|
176
176
|
getRowNodesForPrimaryKeys(primaryKeyValues: any[]): any[];
|
|
177
177
|
forAllRowNodesDo(func: (rowNode: RowNode) => void): void;
|
|
178
178
|
forAllVisibleRowNodesDo(func: (rowNode: RowNode, rowIndex: number) => void): void;
|