@adaptabletools/adaptable 12.1.7 → 12.2.0-canary.0
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 +127 -71
- package/bundle.cjs.js +108 -108
- package/index.css +145 -83
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +1 -0
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +44 -10
- package/src/AdaptableOptions/FilterOptions.d.ts +12 -0
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +22 -1
- package/src/AdaptableOptions/LayoutOptions.d.ts +10 -1
- package/src/AdaptableOptions/StateOptions.d.ts +25 -12
- package/src/Api/ColumnApi.d.ts +5 -0
- package/src/Api/ExportApi.d.ts +5 -0
- package/src/Api/FilterApi.d.ts +23 -0
- package/src/Api/GridApi.d.ts +1 -0
- package/src/Api/Implementation/AlertApiImpl.js +1 -2
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ColumnApiImpl.js +5 -0
- package/src/Api/Implementation/ExportApiImpl.d.ts +3 -1
- package/src/Api/Implementation/ExportApiImpl.js +19 -3
- package/src/Api/Implementation/FilterApiImpl.d.ts +5 -0
- package/src/Api/Implementation/FilterApiImpl.js +25 -2
- package/src/Api/Implementation/GridApiImpl.d.ts +1 -0
- package/src/Api/Implementation/InternalApiImpl.d.ts +3 -2
- package/src/Api/Implementation/InternalApiImpl.js +34 -3
- package/src/Api/Implementation/PredicateApiImpl.js +4 -0
- package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +1 -0
- package/src/Api/Implementation/QueryLanguageApiImpl.js +14 -1
- package/src/Api/InternalApi.d.ts +6 -2
- package/src/Api/QueryLanguageApi.d.ts +5 -0
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +16 -4
- package/src/PredefinedConfig/Common/AdaptableQuery.js +1 -1
- package/src/PredefinedConfig/Common/AggregationColumns.d.ts +6 -0
- package/src/PredefinedConfig/Common/AggregationColumns.js +4 -0
- package/src/PredefinedConfig/Common/ColumnFilter.d.ts +2 -2
- package/src/PredefinedConfig/Common/Enums.d.ts +0 -15
- package/src/PredefinedConfig/Common/Enums.js +1 -18
- package/src/PredefinedConfig/ExportState.d.ts +12 -4
- package/src/PredefinedConfig/LayoutState.d.ts +2 -1
- package/src/PredefinedConfig/PopupState.d.ts +1 -2
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/AlertRedux.js +1 -1
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +1 -1
- package/src/Redux/ActionsReducers/CustomSortRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/CustomSortRedux.js +1 -1
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +1 -1
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +1 -1
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +28 -0
- package/src/Redux/ActionsReducers/LayoutRedux.js +80 -2
- package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +1 -1
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +0 -2
- package/src/Redux/ActionsReducers/PopupRedux.js +1 -28
- package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +5 -5
- package/src/Redux/ActionsReducers/ScheduleRedux.js +5 -5
- package/src/Redux/ActionsReducers/ShortcutRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ShortcutRedux.js +1 -1
- package/src/Redux/Store/AdaptableStore.js +15 -6
- package/src/Strategy/AlertModule.d.ts +1 -0
- package/src/Strategy/AlertModule.js +20 -0
- package/src/Strategy/BulkUpdateModule.d.ts +1 -1
- package/src/Strategy/CalculatedColumnModule.js +3 -3
- package/src/Strategy/ExportModule.d.ts +0 -1
- package/src/Strategy/ExportModule.js +0 -16
- package/src/Strategy/FilterModule.js +6 -0
- package/src/Strategy/Interface/IModule.d.ts +4 -0
- package/src/Strategy/LayoutModule.js +20 -20
- package/src/Strategy/QueryModule.js +1 -1
- package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +0 -13
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +16 -1
- package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +15 -11
- package/src/Strategy/Utilities/getExpressionViewItems.d.ts +3 -4
- package/src/Strategy/Utilities/getExpressionViewItems.js +3 -3
- package/src/Strategy/Utilities/getRuleViewItems.js +1 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +3 -0
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +12 -2
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +30 -66
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +22 -6
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +423 -220
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +7 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +25 -7
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +0 -1
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +6 -54
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +31 -5
- package/src/Utilities/Interface/MessagePopups.d.ts +0 -4
- package/src/Utilities/ObjectFactory.d.ts +4 -2
- package/src/Utilities/ObjectFactory.js +16 -3
- package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +25 -0
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +103 -0
- package/src/Utilities/Services/AlertService.d.ts +0 -1
- package/src/Utilities/Services/AlertService.js +5 -17
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +4 -4
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +29 -154
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +2 -2
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +8 -3
- package/src/Utilities/Services/QueryLanguageService.d.ts +8 -4
- package/src/Utilities/Services/QueryLanguageService.js +68 -25
- package/src/Utilities/Services/ReportService.js +48 -48
- package/src/View/AdaptableView.js +1 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +10 -10
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +3 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +9 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +14 -15
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +2 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts +7 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +280 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/index.d.ts +1 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/index.js +5 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +4 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +2 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +3 -3
- package/src/View/AdaptableWizardView/Wizard.js +2 -2
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +0 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -8
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.d.ts +2 -0
- package/src/View/CalculatedColumn/Utilities/{getCalculatedColumnSettingTags.js → getCalculatedColumnSettingsTags.js} +3 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +10 -0
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +80 -0
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +24 -14
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +9 -52
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +17 -6
- package/src/View/Components/AdaptableObjectCollection/index.d.ts +3 -4
- package/src/View/Components/AdaptableObjectCollection/index.js +7 -8
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +42 -6
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +1 -1
- package/src/View/Components/AdaptableObjectRow/index.js +1 -4
- package/src/View/Components/EntityRulesEditor/index.js +28 -7
- package/src/View/Components/FilterForm/FilterForm.js +8 -4
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +1 -0
- package/src/View/Components/FilterForm/QuickFilterForm.js +19 -7
- package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.d.ts +9 -0
- package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +28 -0
- package/src/View/Components/PermittedValuesSelector/index.d.ts +1 -0
- package/src/View/Components/PermittedValuesSelector/index.js +5 -0
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +2 -2
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +1 -0
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
- package/src/View/Components/Popups/AdaptableToaster.js +2 -7
- package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +0 -1
- package/src/View/Components/Popups/WindowPopups/windowFactory.js +1 -4
- package/src/View/Components/ValueSelector/index.js +8 -19
- package/src/View/CustomSort/CustomSortSummary.js +1 -1
- package/src/View/Dashboard/DashboardPopup.js +11 -10
- package/src/View/Export/ExportViewPanel.d.ts +1 -2
- package/src/View/Export/ExportViewPanel.js +4 -8
- package/src/View/Export/Wizard/ReportColumnTypeWizard.d.ts +1 -2
- package/src/View/Export/Wizard/ReportColumnTypeWizard.js +11 -12
- package/src/View/Export/Wizard/ReportRowTypeWizard.d.ts +1 -2
- package/src/View/Export/Wizard/ReportRowTypeWizard.js +12 -13
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +4 -3
- package/src/View/Export/Wizard/ReportSettingsWizard.js +1 -2
- package/src/View/Filter/FilterViewPanel.js +21 -4
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +1 -1
- package/src/View/GridInfo/AdaptableObjectsSummary.js +5 -3
- package/src/View/GridInfo/AdaptableOptionsComponent.js +1 -1
- package/src/View/GridInfo/GridInfoPopup.js +6 -7
- package/src/View/Layout/Wizard/{LayoutEditor → Components}/ColumnLabels.d.ts +0 -0
- package/src/View/Layout/Wizard/{LayoutEditor → Components}/ColumnLabels.js +0 -0
- package/src/View/Layout/Wizard/LayoutWizard.js +1 -0
- package/src/View/Layout/Wizard/sections/AggregationsSection.d.ts +1 -0
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +69 -8
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +1 -1
- package/src/View/Query/QueryViewPanel.js +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +3 -4
- package/src/View/StateManagement/StateManagementPopup.js +18 -19
- package/src/agGrid/Adaptable.d.ts +12 -3
- package/src/agGrid/Adaptable.js +264 -148
- package/src/agGrid/agGridHelper.d.ts +1 -0
- package/src/agGrid/agGridHelper.js +5 -3
- package/src/agGrid/agGridMenuHelper.d.ts +1 -0
- package/src/agGrid/agGridMenuHelper.js +4 -2
- package/src/agGrid/weightedAverage.d.ts +6 -0
- package/src/agGrid/weightedAverage.js +66 -0
- package/src/bundle-dependencies/bundles/react-toastify/index.js +1 -1
- package/src/components/DragAndDropContext/ModuleManager.js +3 -4
- package/src/components/DragAndDropContext/TabList.js +9 -30
- package/src/components/DragAndDropContext/UnusedPanel.js +1 -7
- package/src/components/DropdownButton/index.js +2 -2
- package/src/components/EmptyContent/index.js +2 -2
- package/src/components/ExpressionEditor/BaseEditorInput.d.ts +1 -0
- package/src/components/ExpressionEditor/BaseEditorInput.js +3 -3
- package/src/components/ExpressionEditor/EditorInput.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInput.js +24 -4
- package/src/components/ExpressionEditor/{EditorInputReactive.d.ts → EditorInputWithWhereClause.d.ts} +3 -3
- package/src/components/ExpressionEditor/{EditorInputReactive.js → EditorInputWithWhereClause.js} +6 -5
- package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.d.ts +2 -0
- package/src/components/ExpressionEditor/{editorButtonsReactive.js → editorButtonsAggregatedBoolean.js} +22 -37
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +5 -10
- package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.d.ts +2 -0
- package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +50 -0
- package/src/components/ExpressionEditor/editorButtonsObservable.d.ts +2 -0
- package/src/components/ExpressionEditor/editorButtonsObservable.js +40 -0
- package/src/components/ExpressionEditor/index.d.ts +1 -1
- package/src/components/ExpressionEditor/index.js +50 -19
- package/src/metamodel/adaptable.metamodel.d.ts +86 -5
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/types.d.ts +14 -10
- package/src/types.d.ts +4 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.d.ts +0 -2
- package/src/View/Layout/LayoutEditorStandalonePopup.d.ts +0 -3
- package/src/View/Layout/LayoutEditorStandalonePopup.js +0 -78
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.d.ts +0 -27
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +0 -86
- package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.d.ts +0 -16
- package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +0 -89
- package/src/View/Layout/Wizard/LayoutEditor/PivotList.d.ts +0 -15
- package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +0 -70
- package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.d.ts +0 -15
- package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +0 -70
- package/src/View/Layout/Wizard/LayoutEditor/droppableIds.d.ts +0 -7
- package/src/View/Layout/Wizard/LayoutEditor/droppableIds.js +0 -11
- package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.d.ts +0 -6
- package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +0 -26
- package/src/View/Layout/Wizard/LayoutEditor/index.d.ts +0 -9
- package/src/View/Layout/Wizard/LayoutEditor/index.js +0 -367
- package/src/View/Layout/Wizard/LayoutEditor/reducer.d.ts +0 -28
- package/src/View/Layout/Wizard/LayoutEditor/reducer.js +0 -46
- package/src/View/Layout/Wizard/LayoutEditor/utils.d.ts +0 -10
- package/src/View/Layout/Wizard/LayoutEditor/utils.js +0 -14
- package/src/View/Layout/Wizard/LayoutEditorWizard.d.ts +0 -30
- package/src/View/Layout/Wizard/LayoutEditorWizard.js +0 -132
- package/src/components/ExpressionEditor/editorButtonsReactive.d.ts +0 -2
|
@@ -35,7 +35,7 @@ const Navigation = (props) => {
|
|
|
35
35
|
useGlobalEvent_1.useGlobalEvent('keydown', handleKeyPress);
|
|
36
36
|
return (React.createElement("nav", { className: "ab-Adaptable-Popup__Navigation" },
|
|
37
37
|
React.createElement("ul", { className: "ab-Adaptable-Popup__Navigation__List" }, props.menuItems.map((menuItem, index) => {
|
|
38
|
-
var _a, _b, _c, _d;
|
|
38
|
+
var _a, _b, _c, _d, _e;
|
|
39
39
|
const baseClassName = 'ab-Adaptable-Popup__Navigation__List__Item';
|
|
40
40
|
if (menuItem === '-') {
|
|
41
41
|
return React.createElement("li", { key: `separator-${index}`, className: `${baseClassName}__Separator` });
|
|
@@ -46,7 +46,7 @@ const Navigation = (props) => {
|
|
|
46
46
|
return (React.createElement("li", { className: className, key: menuItem.label },
|
|
47
47
|
React.createElement("button", { type: "button", className: `${baseClassName}__Button`, onClick: () => {
|
|
48
48
|
dispatch(menuItem.reduxAction);
|
|
49
|
-
} },
|
|
49
|
+
}, "data-name": (_e = menuItem.module) !== null && _e !== void 0 ? _e : menuItem.label },
|
|
50
50
|
menuItem.icon && (React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: menuItem.icon, iconClassName: `${baseClassName}__Icon` })),
|
|
51
51
|
customIcon && React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: customIcon }),
|
|
52
52
|
menuItem.label)));
|
|
@@ -4,11 +4,12 @@ exports.PopupPanel = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const rebass_1 = require("rebass");
|
|
7
|
+
const join_1 = tslib_1.__importDefault(require("../../../../components/utils/join"));
|
|
7
8
|
const ButtonInfo_1 = require("../../Buttons/ButtonInfo");
|
|
8
9
|
const Noop = () => React.createElement(React.Fragment, null);
|
|
9
10
|
const PopupPanel = (props) => {
|
|
10
11
|
const baseClassName = 'ab-Adaptable-Popup__Panel';
|
|
11
|
-
return (React.createElement(rebass_1.Flex, { flexDirection: "column", flex: "1 1 0", className:
|
|
12
|
+
return (React.createElement(rebass_1.Flex, { flexDirection: "column", flex: "1 1 0", className: join_1.default(props.className, baseClassName) },
|
|
12
13
|
React.createElement("div", { className: `${baseClassName}__Header` },
|
|
13
14
|
React.createElement(rebass_1.Flex, { alignItems: "center" },
|
|
14
15
|
React.createElement(rebass_1.Box, { marginRight: 0, "data-name": "space-before" }),
|
|
@@ -11,19 +11,14 @@ const showToast = (props) => {
|
|
|
11
11
|
// leak where the api is still kept around in memory by the toaster
|
|
12
12
|
let api = props.api;
|
|
13
13
|
const off = api.eventApi.on('AdaptableDestroy', () => {
|
|
14
|
-
Toastify_1.toast.dismiss(
|
|
14
|
+
Toastify_1.toast.dismiss();
|
|
15
15
|
api = null;
|
|
16
16
|
});
|
|
17
17
|
const adaptableOptions = props.api.internalApi.getAdaptableOptions();
|
|
18
18
|
const toastProps = ObjectFactory_1.default.CreateToastOptions(adaptableOptions.notificationsOptions, {
|
|
19
19
|
containerId: adaptableOptions.adaptableId,
|
|
20
20
|
onClose: () => {
|
|
21
|
-
|
|
22
|
-
off();
|
|
23
|
-
if (!api.isDestroyed()) {
|
|
24
|
-
api.internalApi.hidePopupAlert();
|
|
25
|
-
}
|
|
26
|
-
}
|
|
21
|
+
off();
|
|
27
22
|
},
|
|
28
23
|
});
|
|
29
24
|
const content = (React.createElement(AdaptablePopupAlert_1.AdaptablePopupAlert, { headless: true, adaptableAlert: props.adaptableAlert, onClose: () => {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WindowPopupChildProps } from './WindowPopups';
|
|
3
|
-
export declare const WINDOW_LAYOUT_EDITOR = "WINDOW_LAYOUT_EDITOR";
|
|
4
3
|
export declare const WINDOW_QUERY_EDITOR = "WINDOW_QUERY_EDITOR";
|
|
5
4
|
export declare const windowFactory: Record<string, React.FunctionComponent<WindowPopupChildProps>>;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.windowFactory = exports.WINDOW_QUERY_EDITOR =
|
|
4
|
-
const LayoutEditorStandalonePopup_1 = require("../../../Layout/LayoutEditorStandalonePopup");
|
|
3
|
+
exports.windowFactory = exports.WINDOW_QUERY_EDITOR = void 0;
|
|
5
4
|
const ExpandedQueryPopup_1 = require("../../../Query/ExpandedQueryPopup");
|
|
6
|
-
exports.WINDOW_LAYOUT_EDITOR = 'WINDOW_LAYOUT_EDITOR';
|
|
7
5
|
exports.WINDOW_QUERY_EDITOR = 'WINDOW_QUERY_EDITOR';
|
|
8
6
|
exports.windowFactory = {
|
|
9
|
-
[exports.WINDOW_LAYOUT_EDITOR]: LayoutEditorStandalonePopup_1.LayoutEditorStandalonePopup,
|
|
10
7
|
[exports.WINDOW_QUERY_EDITOR]: ExpandedQueryPopup_1.ExpandedQueryPopup,
|
|
11
8
|
};
|
|
@@ -42,6 +42,7 @@ function ValueSelector(props) {
|
|
|
42
42
|
var _a;
|
|
43
43
|
const { options, value, filter, onChange, allowReorder, singleSelect, toLabel, toListLabel, toIdentifier, noSelectionLabel, clearSelectionLabel, showSelectedOnlyLabel, showFilterInput, xSelectedLabel, selectionBoxPosition = 'bottom', onShowSelectedOnlyChange, isOptionDisabled, disabled, } = props;
|
|
44
44
|
const [searchInputValue, setSearchInputValue] = React.useState('');
|
|
45
|
+
const baseClassName = 'ab-ValueSelector';
|
|
45
46
|
const preparedToLabel = toListLabel !== null && toListLabel !== void 0 ? toListLabel : toLabel;
|
|
46
47
|
const [selectedOnly, doSetSelectedOnly] = react_1.useState(false);
|
|
47
48
|
const setSelectedOnly = react_1.useCallback((selectedOnly) => {
|
|
@@ -65,7 +66,7 @@ function ValueSelector(props) {
|
|
|
65
66
|
const label = !allowReorder ? preparedToLabel(option) : null;
|
|
66
67
|
const reorderable = typeof allowReorder === 'function' ? allowReorder(option) : allowReorder;
|
|
67
68
|
const renderNode = (props, dragHandleProps) => {
|
|
68
|
-
return (React.createElement(rebass_1.Flex, Object.assign({ alignItems: "center", mt: index ? 1 : 0, key: identifier, backgroundColor: 'primary', padding: 2, "data-index": index, "data-id": identifier, "data-name": "option" }, props
|
|
69
|
+
return (React.createElement(rebass_1.Flex, Object.assign({ className: `${baseClassName}__option`, alignItems: "center", mt: index ? 1 : 0, key: identifier, backgroundColor: 'primary', padding: 2, "data-index": index, "data-id": identifier, "data-name": "option" }, props),
|
|
69
70
|
React.createElement(rebass_1.Flex, { flex: 1, flexDirection: "row", alignItems: "center" },
|
|
70
71
|
reorderable ? (React.createElement(rebass_1.Box, Object.assign({ mr: 3 }, dragHandleProps),
|
|
71
72
|
React.createElement(icons_1.Icon, { name: "drag", style: { cursor: 'grab' } }))) : null,
|
|
@@ -94,7 +95,7 @@ function ValueSelector(props) {
|
|
|
94
95
|
}));
|
|
95
96
|
};
|
|
96
97
|
const renderSelectionSection = () => {
|
|
97
|
-
const selectionBox = (React.createElement(rebass_1.Box, { fontSize: 2
|
|
98
|
+
const selectionBox = (React.createElement(rebass_1.Box, { fontSize: 2 }, !value.length ? (React.createElement(React.Fragment, null, noSelectionLabel !== null && noSelectionLabel !== void 0 ? noSelectionLabel : 'No selected options',
|
|
98
99
|
!singleSelect ? (React.createElement(SimpleButton_1.default, { px: 1, disabled: disabled, variant: "text", style: { textDecoration: 'underline', display: 'inline-block' }, onClick: () => {
|
|
99
100
|
options.forEach((option) => {
|
|
100
101
|
selectedMap.set(toIdentifier(option), option);
|
|
@@ -108,15 +109,13 @@ function ValueSelector(props) {
|
|
|
108
109
|
xSelectedLabel
|
|
109
110
|
? xSelectedLabel(value.length)
|
|
110
111
|
: `Your selected ${value.length} ${value.length > 1 ? 'options' : 'option'}.`))));
|
|
111
|
-
return (React.createElement(rebass_1.Box, { mt: selectionBoxPosition === 'bottom' ? 3 : 0, mb: selectionBoxPosition === 'top' ? 3 : 0 },
|
|
112
|
+
return (React.createElement(rebass_1.Box, { className: `${baseClassName}__header`, mt: selectionBoxPosition === 'bottom' ? 3 : 0, mb: selectionBoxPosition === 'top' ? 3 : 0 },
|
|
112
113
|
selectionBox,
|
|
113
114
|
React.createElement(ValueOptionsTags, { options: options, value: value, selectedMap: selectedMap, toLabel: toLabel, toIdentifier: toIdentifier, onClearOption: notifyChange, readOnly: disabled })));
|
|
114
115
|
};
|
|
115
116
|
const showOnlySelectedCheckbox = (React.createElement(CheckBox_1.CheckBox, { disabled: !value.length, checked: selectedOnly, onChange: setSelectedOnly }, showSelectedOnlyLabel !== null && showSelectedOnlyLabel !== void 0 ? showSelectedOnlyLabel : 'Show Selected Only'));
|
|
116
117
|
const showSelectedOnlyPosition = (_a = props.showSelectedOnlyPosition) !== null && _a !== void 0 ? _a : 'floating';
|
|
117
|
-
return (React.createElement(rebass_1.Flex, { flexDirection: "column", flex: 1
|
|
118
|
-
overflow: 'hidden',
|
|
119
|
-
} },
|
|
118
|
+
return (React.createElement(rebass_1.Flex, { className: baseClassName, flexDirection: "column", flex: 1 },
|
|
120
119
|
React.createElement(rebass_1.Flex, { mb: 1 },
|
|
121
120
|
showFilterInput && filter ? (React.createElement(AdaptableFormControlTextClear_1.AdaptableFormControlTextClear, { value: searchInputValue, OnTextChange: setSearchInputValue, placeholder: "Type to search", style: { flex: 1, border: 0, margin: 3 } })) : (React.createElement(rebass_1.Box, { flex: 1 })),
|
|
122
121
|
showSelectedOnlyPosition === 'top' && React.createElement(rebass_1.Box, { ml: 20 }, showOnlySelectedCheckbox)),
|
|
@@ -144,19 +143,9 @@ function ValueSelector(props) {
|
|
|
144
143
|
});
|
|
145
144
|
notifyChange();
|
|
146
145
|
} },
|
|
147
|
-
React.createElement(rebass_1.Flex, { flexDirection: "column", flex: 1, style: { overflow: 'auto' } },
|
|
148
|
-
showSelectedOnlyPosition === 'floating' && (React.createElement(rebass_1.Box, {
|
|
149
|
-
|
|
150
|
-
top: 0,
|
|
151
|
-
zIndex: 10000,
|
|
152
|
-
} },
|
|
153
|
-
React.createElement(rebass_1.Box, { mr: 1, mt: 1, px: 2, "data-name": "show-selected-only", style: {
|
|
154
|
-
position: 'absolute',
|
|
155
|
-
top: 0,
|
|
156
|
-
right: 0,
|
|
157
|
-
borderRadius: 'var(--ab__border-radius)',
|
|
158
|
-
overflow: 'hidden',
|
|
159
|
-
}, fontSize: 2, backgroundColor: "defaultbackground" }, showOnlySelectedCheckbox))),
|
|
146
|
+
React.createElement(rebass_1.Flex, { className: `${baseClassName}__body`, flexDirection: "column", flex: 1, style: { overflow: 'auto' } },
|
|
147
|
+
showSelectedOnlyPosition === 'floating' && (React.createElement(rebass_1.Box, { className: `${baseClassName}__show-selected-only-checkbox` },
|
|
148
|
+
React.createElement(rebass_1.Box, { className: `${baseClassName}__show-selected-only-checkbox__text`, "data-name": "show-selected-only", backgroundColor: "defaultbackground" }, showOnlySelectedCheckbox))),
|
|
160
149
|
React.createElement(react_beautiful_dnd_1.Droppable, { droppableId: "droppable" }, (droppableProvided) => {
|
|
161
150
|
return (React.createElement("div", Object.assign({ ref: droppableProvided.innerRef }, droppableProvided.droppableProps),
|
|
162
151
|
options
|
|
@@ -53,7 +53,7 @@ class CustomSortSummaryComponent extends React.Component {
|
|
|
53
53
|
else {
|
|
54
54
|
customSortRow = (React.createElement(ModuleDetail_1.ModuleDetail, { key: this.props.moduleInfo.FriendlyName, item1: React.createElement(ModuleProfile_1.ModuleProfile, { moduleInfo: this.props.moduleInfo }), item2: this.getCustomSortedValues(customSort), configEnity: customSort, moduleInfo: this.props.moduleInfo, onEdit: () => this.onEdit(customSort), showEdit: customSort != undefined, onShare: (config) => this.props.onShare(customSort, config), showShare: this.props.teamSharingActivated, onDelete: CustomSortRedux.CustomSortDelete(customSort), showBold: true, accessLevel: this.props.accessLevel }));
|
|
55
55
|
}
|
|
56
|
-
return (React.createElement(
|
|
56
|
+
return (React.createElement(React.Fragment, null,
|
|
57
57
|
customSortRow,
|
|
58
58
|
this.state.editedAdaptableObject && (React.createElement(CustomSortWizard_1.CustomSortWizard, { isNew: this.state.wizardStatus === EditableConfigEntityState_1.WizardStatus.New, moduleInfo: this.props.moduleInfo, data: this.state.editedAdaptableObject, configEntities: this.props.CustomSorts, onCloseWizard: () => this.onCloseWizard(), onFinishWizard: this.onFinishWizard }))));
|
|
59
59
|
}
|
|
@@ -72,18 +72,19 @@ class DashboardPopupComponent extends React.Component {
|
|
|
72
72
|
};
|
|
73
73
|
return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph, infoLink: this.props.moduleInfo.HelpPage, infoLinkDisabled: !this.props.api.internalApi.isDocumentationLinksDisplayed() },
|
|
74
74
|
React.createElement(rebass_1.Flex, { flex: 1, height: "100%", flexDirection: "column" },
|
|
75
|
-
areDashboardSettingsVisible && (React.createElement(Panel_1.default, { header: 'Dashboard Views', style: { height: 'auto', overflow: 'visible' }, variant: "default", borderRadius: "none"
|
|
76
|
-
React.createElement(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
React.createElement(rebass_1.Flex, { flexDirection: "row", padding: 2, "data-name": "dashboard-configuration-select" },
|
|
75
|
+
areDashboardSettingsVisible && (React.createElement(Panel_1.default, { header: 'Dashboard Views', style: { height: 'auto', overflow: 'visible' }, variant: "default", borderRadius: "none" },
|
|
76
|
+
React.createElement(CheckBox_1.CheckBox, { mr: 3, "data-name": "collapse", className: `${baseClassName}__settings-option`, checked: this.props.IsCollapsed, onChange: (checked) => this.props.onSetDashboardCollapsed(checked) }, "Collapse"),
|
|
77
|
+
' ',
|
|
78
|
+
this.props.api.internalApi.getAdaptableOptions().dashboardOptions.canFloat && (React.createElement(CheckBox_1.CheckBox, { mr: 3, "data-name": "floating", className: `${baseClassName}__settings-option`, checked: this.props.IsFloating, onChange: (checked) => this.props.onSetDashboardFloating(checked) }, "Float")),
|
|
79
|
+
' ',
|
|
80
|
+
React.createElement(CheckBox_1.CheckBox, { "data-name": "hidden", className: `${baseClassName}__settings-option`, checked: this.props.IsHidden, onChange: (checked) => this.props.onSetDashboardHidden(checked) }, "Hidden"))),
|
|
81
|
+
React.createElement(Panel_1.default, { header: 'Dashboard Contents', style: { borderBottom: '1px solid var(--ab-color-primary)' }, variant: "default", borderRadius: "none", marginTop: 4 },
|
|
82
|
+
React.createElement(rebass_1.Flex, { className: `${baseClassName}__contents-selector`, flexDirection: "row", padding: 2 },
|
|
84
83
|
React.createElement(Radio_1.default, { marginLeft: 3, value: DashboardConfigView.Toolbars, checked: this.state.DashboardConfigView == DashboardConfigView.Toolbars, onChange: (_, e) => this.onDashboardConfigViewChanged(e) }, "Toolbars"),
|
|
85
84
|
React.createElement(Radio_1.default, { marginLeft: 3, value: DashboardConfigView.Buttons, checked: this.state.DashboardConfigView == DashboardConfigView.Buttons, onChange: (_, e) => this.onDashboardConfigViewChanged(e) }, "Buttons")),
|
|
86
|
-
React.createElement(rebass_1.Box, { className: `${baseClassName}__Module-Selector`,
|
|
85
|
+
React.createElement(rebass_1.Box, { className: `${baseClassName}__Module-Selector`, "data-name": this.state.DashboardConfigView === DashboardConfigView.Toolbars
|
|
86
|
+
? 'toolbars'
|
|
87
|
+
: 'buttons', style: { minHeight: 0, flex: '1 1 0' }, padding: 2 },
|
|
87
88
|
this.state.DashboardConfigView == DashboardConfigView.Toolbars && (React.createElement(DashboardManager_1.default, { disabled: isDashboardDisabled, availableToolbars: [...systemToolbars, ...customToolbars], tabs: tabs, onTabsChange: this.props.onDashboardSetTabs, api: this.props.api })),
|
|
88
89
|
this.state.DashboardConfigView == DashboardConfigView.Buttons && (React.createElement(ModuleValueSelector_1.ModuleValueSelector, { disabled: isDashboardDisabled, options: allModuleButtons, value: selectedModuleButtons, noSelectionLabel: 'No selected Module Button', isOptionDisabled: isModuleCheckboxDisabled, xSelectedLabel: () => `Visible Module Buttons:`, onChange: (selectedValues) => this.props.onDashboardSetModuleButtons(selectedValues) })))))));
|
|
89
90
|
}
|
|
@@ -13,7 +13,6 @@ export interface ExportViewPanelComponentProps extends ViewPanelProps {
|
|
|
13
13
|
onEditReport: (popup: string) => PopupRedux.PopupShowScreenAction;
|
|
14
14
|
onNewReportSchedule: (reportSchedule: ReportSchedule) => PopupRedux.PopupShowScreenAction;
|
|
15
15
|
Columns: AdaptableColumn[];
|
|
16
|
-
Reports: Report[] | undefined;
|
|
17
16
|
CurrentReport: string | undefined;
|
|
18
17
|
CurrentDestination: ExportDestination | string | undefined;
|
|
19
18
|
}
|
|
@@ -25,5 +24,5 @@ declare class ExportViewPanelComponent extends React.Component<ExportViewPanelCo
|
|
|
25
24
|
private isCustomDestination;
|
|
26
25
|
private onNewReportSchedule;
|
|
27
26
|
}
|
|
28
|
-
export declare let ExportViewPanelControl: import("react-redux").ConnectedComponent<typeof ExportViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<ExportViewPanelComponent> & ExportViewPanelComponentProps, "api" | "accessLevel" | "CurrentReport" | "moduleInfo" | "Columns" | "viewType" | "onApplyExport" | "onSelectReport" | "onSelectDestination" | "onNewReport" | "onEditReport" | "onNewReportSchedule" | "
|
|
27
|
+
export declare let ExportViewPanelControl: import("react-redux").ConnectedComponent<typeof ExportViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<ExportViewPanelComponent> & ExportViewPanelComponentProps, "api" | "accessLevel" | "CurrentReport" | "moduleInfo" | "Columns" | "viewType" | "onApplyExport" | "onSelectReport" | "onSelectDestination" | "onNewReport" | "onEditReport" | "onNewReportSchedule" | "CurrentDestination">>;
|
|
29
28
|
export {};
|
|
@@ -78,12 +78,12 @@ class ExportViewPanelComponent extends React.Component {
|
|
|
78
78
|
const elementType = this.props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
|
|
79
79
|
return (React.createElement(rebass_1.Flex, { style: { gap: 5 }, flexDirection: "row", className: `ab-${elementType}__Export__wrap`, flexWrap: this.props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
|
|
80
80
|
React.createElement(rebass_1.Flex, { flex: 1 },
|
|
81
|
-
React.createElement(DropdownButton_1.default, { disabled: allReportNames.length == 0,
|
|
81
|
+
React.createElement(DropdownButton_1.default, { disabled: allReportNames.length == 0, width: "100%", fontSize: "small", items: reportItems, columns: ['label'], className: `ab-${elementType}__Export__select`, onClear: () => this.onSelectedReportChanged(null), showClearButton: !!currentReport, variant: "outlined", marginRight: 2 }, currentReportId)),
|
|
82
82
|
React.createElement(rebass_1.Flex, { flex: 1 },
|
|
83
|
-
React.createElement(DropdownButton_1.default, { disabled: currentReportId === constants_1.SELECT_REPORT_STRING,
|
|
83
|
+
React.createElement(DropdownButton_1.default, { disabled: currentReportId === constants_1.SELECT_REPORT_STRING, width: "100%", fontSize: "small", items: destinationItems, columns: ['label'], className: `ab-${elementType}__Export__export`, onClear: () => this.onSelectedDestinationChanged(null), showClearButton: !!currentDestination, variant: "outlined", marginRight: 2 }, currentDestinationId)),
|
|
84
84
|
React.createElement(rebass_1.Flex, { className: join_1.default(accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__Export__controls`), style: { width: '100%' } },
|
|
85
85
|
React.createElement(ButtonExport_1.ButtonExport, { onClick: () => onApplyExport(), tooltip: "Export Report", className: `ab-${elementType}__Export__export`, disabled: currentReport == null || currentDestination == null }),
|
|
86
|
-
React.createElement(ButtonEdit_1.ButtonEdit, { onClick: () => this.props.onEditReport(this.props.moduleInfo.Popup), tooltip: "Edit Report", className: `ab-${elementType}__Export__edit`, disabled: currentReport == null || currentReport
|
|
86
|
+
React.createElement(ButtonEdit_1.ButtonEdit, { onClick: () => this.props.onEditReport(this.props.moduleInfo.Popup), tooltip: "Edit Report", className: `ab-${elementType}__Export__edit`, disabled: currentReport == null || this.props.api.exportApi.isCustomReport(currentReport), accessLevel: accessLevel }),
|
|
87
87
|
React.createElement(ButtonNew_1.ButtonNew, { variant: "text", className: `ab-${elementType}__Export__new`, tone: "neutral", children: null, onClick: () => this.props.onNewReport(this.props.moduleInfo.Popup), tooltip: "Create New Report", accessLevel: accessLevel }),
|
|
88
88
|
React.createElement(ButtonDelete_1.ButtonDelete, { tooltip: "Delete Report", className: `ab-${elementType}__Export__delete`, disabled: currentReport == null, ConfirmAction: ExportRedux.ReportDelete(currentReport), ConfirmationMsg: deleteMessage, ConfirmationTitle: 'Delete Report', accessLevel: accessLevel }),
|
|
89
89
|
this.props.api.internalApi
|
|
@@ -97,10 +97,7 @@ class ExportViewPanelComponent extends React.Component {
|
|
|
97
97
|
this.props.onSelectDestination(destination);
|
|
98
98
|
}
|
|
99
99
|
getAllReportNames() {
|
|
100
|
-
return [
|
|
101
|
-
...this.props.api.exportApi.getAvailableSystemReports(),
|
|
102
|
-
...this.props.Reports.map((r) => r.Name),
|
|
103
|
-
];
|
|
100
|
+
return [...this.props.api.exportApi.getAllReports().map((r) => r.Name)];
|
|
104
101
|
}
|
|
105
102
|
isCustomDestination(destination) {
|
|
106
103
|
var _a;
|
|
@@ -116,7 +113,6 @@ function mapStateToProps(state) {
|
|
|
116
113
|
return {
|
|
117
114
|
CurrentReport: state.Export.CurrentReport,
|
|
118
115
|
CurrentDestination: state.Export.CurrentDestination,
|
|
119
|
-
Reports: state.Export.Reports,
|
|
120
116
|
};
|
|
121
117
|
}
|
|
122
118
|
function mapDispatchToProps(dispatch) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Report } from '../../../PredefinedConfig/ExportState';
|
|
1
|
+
import { Report, ReportColumnScope } from '../../../PredefinedConfig/ExportState';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { AdaptableWizardStep, AdaptableWizardStepProps } from '../../Wizard/Interface/IAdaptableWizard';
|
|
4
|
-
import { ReportColumnScope } from '../../../PredefinedConfig/Common/Enums';
|
|
5
4
|
export interface ReportColumnTypeWizardProps extends AdaptableWizardStepProps<Report> {
|
|
6
5
|
}
|
|
7
6
|
export interface ReportColumnsWizardState {
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ReportColumnTypeWizard = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const Enums_1 = require("../../../PredefinedConfig/Common/Enums");
|
|
7
6
|
const WizardPanel_1 = tslib_1.__importDefault(require("../../../components/WizardPanel"));
|
|
8
7
|
const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
|
|
9
8
|
const rebass_1 = require("rebass");
|
|
@@ -20,52 +19,52 @@ class ReportColumnTypeWizard extends React.Component {
|
|
|
20
19
|
React.createElement(WizardPanel_1.default, null,
|
|
21
20
|
React.createElement(rebass_1.Flex, { flexDirection: "column", padding: 2 },
|
|
22
21
|
React.createElement(HelpBlock_1.default, { marginBottom: 1 }, "All columns in the datasource will be included in the Report, whether visible or not at time of export"),
|
|
23
|
-
React.createElement(Radio_1.default, { value: "All", checked: this.state.ReportColumnScope ==
|
|
22
|
+
React.createElement(Radio_1.default, { value: "All", checked: this.state.ReportColumnScope == 'AllColumns', onChange: (_, e) => this.onScopeSelectChanged(e), marginRight: 3 }, "All Columns"),
|
|
24
23
|
' ',
|
|
25
24
|
React.createElement(HelpBlock_1.default, { marginBottom: 1 }, "Only columns that are visible at the time the Report is exported will be included"),
|
|
26
|
-
React.createElement(Radio_1.default, { value: "Visible", checked: this.state.ReportColumnScope ==
|
|
25
|
+
React.createElement(Radio_1.default, { value: "Visible", checked: this.state.ReportColumnScope == 'VisibleColumns', onChange: (_, e) => this.onScopeSelectChanged(e), marginRight: 3 }, "Visible Columns Only"),
|
|
27
26
|
' ',
|
|
28
27
|
React.createElement(HelpBlock_1.default, { marginBottom: 1 }, "Only selected columns (which you will choose in the next step) will be exported - whether visible or not"),
|
|
29
|
-
React.createElement(Radio_1.default, { value: "Bespoke", marginRight: 3, checked: this.state.ReportColumnScope ==
|
|
28
|
+
React.createElement(Radio_1.default, { value: "Bespoke", marginRight: 3, checked: this.state.ReportColumnScope == 'ScopeColumns', onChange: (_, e) => this.onScopeSelectChanged(e) }, "Bespoke Columns"),
|
|
30
29
|
' '))));
|
|
31
30
|
}
|
|
32
31
|
onScopeSelectChanged(event) {
|
|
33
32
|
let e = event.target;
|
|
34
33
|
if (e.value == 'All') {
|
|
35
34
|
this.setState({
|
|
36
|
-
ReportColumnScope:
|
|
35
|
+
ReportColumnScope: 'AllColumns',
|
|
37
36
|
SelectedColumnValues: [],
|
|
38
37
|
}, () => this.props.updateGoBackState());
|
|
39
38
|
}
|
|
40
39
|
else if (e.value == 'Visible') {
|
|
41
40
|
this.setState({
|
|
42
|
-
ReportColumnScope:
|
|
41
|
+
ReportColumnScope: 'VisibleColumns',
|
|
43
42
|
SelectedColumnValues: [],
|
|
44
43
|
}, () => this.props.updateGoBackState());
|
|
45
44
|
}
|
|
46
45
|
else {
|
|
47
46
|
this.setState({
|
|
48
|
-
ReportColumnScope:
|
|
47
|
+
ReportColumnScope: 'ScopeColumns',
|
|
49
48
|
}, () => this.props.updateGoBackState());
|
|
50
49
|
}
|
|
51
50
|
}
|
|
52
51
|
canNext() {
|
|
53
|
-
return (this.state.ReportColumnScope ==
|
|
54
|
-
this.state.ReportColumnScope ==
|
|
55
|
-
this.state.ReportColumnScope ==
|
|
52
|
+
return (this.state.ReportColumnScope == 'AllColumns' ||
|
|
53
|
+
this.state.ReportColumnScope == 'VisibleColumns' ||
|
|
54
|
+
this.state.ReportColumnScope == 'ScopeColumns');
|
|
56
55
|
}
|
|
57
56
|
canBack() {
|
|
58
57
|
return true;
|
|
59
58
|
}
|
|
60
59
|
next() {
|
|
61
60
|
this.props.data.ReportColumnScope = this.state.ReportColumnScope;
|
|
62
|
-
if (this.state.ReportColumnScope !=
|
|
61
|
+
if (this.state.ReportColumnScope != 'ScopeColumns') {
|
|
63
62
|
this.props.data.Scope = undefined;
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
65
|
back() { }
|
|
67
66
|
getIndexStepIncrement() {
|
|
68
|
-
return this.state.ReportColumnScope ==
|
|
67
|
+
return this.state.ReportColumnScope == 'ScopeColumns' ? 1 : 2;
|
|
69
68
|
}
|
|
70
69
|
getIndexStepDecrement() {
|
|
71
70
|
return 1;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Report } from '../../../PredefinedConfig/ExportState';
|
|
1
|
+
import { Report, ReportRowScope } from '../../../PredefinedConfig/ExportState';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { AdaptableWizardStep, AdaptableWizardStepProps } from '../../Wizard/Interface/IAdaptableWizard';
|
|
4
|
-
import { ReportRowScope } from '../../../PredefinedConfig/Common/Enums';
|
|
5
4
|
export interface ReportRowTypeWizardProps extends AdaptableWizardStepProps<Report> {
|
|
6
5
|
}
|
|
7
6
|
export interface ReportRowsWizardState {
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ReportRowTypeWizard = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const Enums_1 = require("../../../PredefinedConfig/Common/Enums");
|
|
7
6
|
const WizardPanel_1 = tslib_1.__importDefault(require("../../../components/WizardPanel"));
|
|
8
7
|
const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
|
|
9
8
|
const rebass_1 = require("rebass");
|
|
@@ -20,55 +19,55 @@ class ReportRowTypeWizard extends React.Component {
|
|
|
20
19
|
React.createElement(WizardPanel_1.default, null,
|
|
21
20
|
React.createElement(rebass_1.Flex, { flexDirection: "column", padding: 2 },
|
|
22
21
|
React.createElement(HelpBlock_1.default, { marginBottom: 1 }, "All rows in the datasource will be included in the report, whether visible or not at time of export."),
|
|
23
|
-
React.createElement(Radio_1.default, { value: "All", checked: this.state.ReportRowScope ==
|
|
22
|
+
React.createElement(Radio_1.default, { value: "All", checked: this.state.ReportRowScope == 'AllRows', onChange: (_, e) => this.onScopeSelectChanged(e), marginRight: 3 }, "All Rows"),
|
|
24
23
|
' ',
|
|
25
24
|
React.createElement(HelpBlock_1.default, { marginBottom: 1 }, "Only rows that are visible at the time the Report is exported will be included in the Export"),
|
|
26
|
-
React.createElement(Radio_1.default, { value: "Visible", checked: this.state.ReportRowScope ==
|
|
25
|
+
React.createElement(Radio_1.default, { value: "Visible", checked: this.state.ReportRowScope == 'VisibleRows', onChange: (_, e) => this.onScopeSelectChanged(e), marginRight: 3 }, "Visible Rows Only"),
|
|
27
26
|
' ',
|
|
28
27
|
React.createElement(HelpBlock_1.default, { marginBottom: 1 }, "Only the rows which match the Query (built in next step) will be exported - whether visible or not."),
|
|
29
|
-
React.createElement(Radio_1.default, { value: "Expression", checked: this.state.ReportRowScope ==
|
|
28
|
+
React.createElement(Radio_1.default, { value: "Expression", checked: this.state.ReportRowScope == 'ExpressionRows', onChange: (_, e) => this.onScopeSelectChanged(e), marginRight: 3 }, "By Query - built by you in next step"),
|
|
30
29
|
' '))));
|
|
31
30
|
}
|
|
32
31
|
onScopeSelectChanged(event) {
|
|
33
32
|
let e = event.target;
|
|
34
33
|
if (e.value == 'All') {
|
|
35
34
|
this.setState({
|
|
36
|
-
ReportRowScope:
|
|
35
|
+
ReportRowScope: 'AllRows',
|
|
37
36
|
SelectedColumnValues: [],
|
|
38
37
|
}, () => this.props.updateGoBackState());
|
|
39
38
|
}
|
|
40
39
|
else if (e.value == 'Visible') {
|
|
41
40
|
this.setState({
|
|
42
|
-
ReportRowScope:
|
|
41
|
+
ReportRowScope: 'VisibleRows',
|
|
43
42
|
SelectedColumnValues: [],
|
|
44
43
|
}, () => this.props.updateGoBackState());
|
|
45
44
|
}
|
|
46
45
|
else {
|
|
47
46
|
this.setState({
|
|
48
|
-
ReportRowScope:
|
|
47
|
+
ReportRowScope: 'ExpressionRows',
|
|
49
48
|
}, () => this.props.updateGoBackState());
|
|
50
49
|
}
|
|
51
50
|
}
|
|
52
51
|
canNext() {
|
|
53
|
-
return (this.state.ReportRowScope ==
|
|
54
|
-
this.state.ReportRowScope ==
|
|
55
|
-
this.state.ReportRowScope ==
|
|
52
|
+
return (this.state.ReportRowScope == 'AllRows' ||
|
|
53
|
+
this.state.ReportRowScope == 'VisibleRows' ||
|
|
54
|
+
this.state.ReportRowScope == 'ExpressionRows');
|
|
56
55
|
}
|
|
57
56
|
canBack() {
|
|
58
57
|
return true;
|
|
59
58
|
}
|
|
60
59
|
next() {
|
|
61
60
|
this.props.data.ReportRowScope = this.state.ReportRowScope;
|
|
62
|
-
if (this.props.data.Query && this.state.ReportRowScope !=
|
|
61
|
+
if (this.props.data.Query && this.state.ReportRowScope != 'ExpressionRows') {
|
|
63
62
|
this.props.data.Query = undefined;
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
65
|
back() { }
|
|
67
66
|
getIndexStepIncrement() {
|
|
68
|
-
return this.state.ReportRowScope ==
|
|
67
|
+
return this.state.ReportRowScope == 'ExpressionRows' ? 1 : 2;
|
|
69
68
|
}
|
|
70
69
|
getIndexStepDecrement() {
|
|
71
|
-
return this.props.data.ReportColumnScope ==
|
|
70
|
+
return this.props.data.ReportColumnScope == 'ScopeColumns' ? 1 : 2;
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
73
|
exports.ReportRowTypeWizard = ReportRowTypeWizard;
|
|
@@ -19,7 +19,7 @@ const isValidReportRowsQuery = (report) => {
|
|
|
19
19
|
};
|
|
20
20
|
exports.isValidReportRowsQuery = isValidReportRowsQuery;
|
|
21
21
|
const renderReportRowsSummary = (report) => {
|
|
22
|
-
|
|
22
|
+
const { api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
|
|
23
23
|
return (React.createElement(rebass_1.Box, { fontSize: 2 },
|
|
24
24
|
report.ReportRowScope === 'AllRows' ? (React.createElement(React.Fragment, null,
|
|
25
25
|
"Include ",
|
|
@@ -30,8 +30,9 @@ const renderReportRowsSummary = (report) => {
|
|
|
30
30
|
React.createElement("b", null, "only visible Rows"),
|
|
31
31
|
" in the Report")) : null,
|
|
32
32
|
report.ReportRowScope === 'ExpressionRows' ? (React.createElement(React.Fragment, null,
|
|
33
|
-
"Include Rows matching the query:
|
|
34
|
-
|
|
33
|
+
"Include Rows matching the query:",
|
|
34
|
+
' ',
|
|
35
|
+
React.createElement(Tag_1.Tag, null, api.internalApi.getAdaptableQueryExpressionText(report.Query)))) : null));
|
|
35
36
|
};
|
|
36
37
|
exports.renderReportRowsSummary = renderReportRowsSummary;
|
|
37
38
|
const ReportRowsWizardSection = (props) => {
|
|
@@ -9,7 +9,6 @@ const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
|
|
|
9
9
|
const rebass_1 = require("rebass");
|
|
10
10
|
const ErrorBox_1 = tslib_1.__importDefault(require("../../../components/ErrorBox"));
|
|
11
11
|
const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
|
|
12
|
-
const Enums_1 = require("../../../PredefinedConfig/Common/Enums");
|
|
13
12
|
class ReportSettingsWizard extends React.Component {
|
|
14
13
|
constructor(props) {
|
|
15
14
|
super(props);
|
|
@@ -56,7 +55,7 @@ class ReportSettingsWizard extends React.Component {
|
|
|
56
55
|
return 1;
|
|
57
56
|
}
|
|
58
57
|
getIndexStepDecrement() {
|
|
59
|
-
return this.props.data.ReportRowScope ==
|
|
58
|
+
return this.props.data.ReportRowScope == 'ExpressionRows' ? 1 : 2;
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
exports.ReportSettingsWizard = ReportSettingsWizard;
|
|
@@ -8,23 +8,40 @@ const ActiveFiltersPanel_1 = require("./ActiveFiltersPanel");
|
|
|
8
8
|
const rebass_1 = require("rebass");
|
|
9
9
|
const ArrayExtensions_1 = require("../../Utilities/Extensions/ArrayExtensions");
|
|
10
10
|
const AdaptablePopover_1 = require("../AdaptablePopover");
|
|
11
|
+
const ButtonClear_1 = require("../Components/Buttons/ButtonClear");
|
|
11
12
|
const CheckBox_1 = require("../../components/CheckBox");
|
|
12
13
|
const react_redux_1 = require("react-redux");
|
|
13
14
|
const LayoutRedux_1 = require("../../Redux/ActionsReducers/LayoutRedux");
|
|
15
|
+
const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
|
|
16
|
+
const join_1 = tslib_1.__importDefault(require("../../components/utils/join"));
|
|
14
17
|
class FilterViewPanelComponent extends React.Component {
|
|
15
18
|
constructor(props) {
|
|
16
19
|
super(props);
|
|
17
20
|
}
|
|
18
21
|
render() {
|
|
22
|
+
var _a, _b, _c, _d;
|
|
19
23
|
const elementType = this.props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
|
|
24
|
+
const showClearButton = (_b = (_a = this.props.api.internalApi.getAdaptableOptions()) === null || _a === void 0 ? void 0 : _a.filterOptions) === null || _b === void 0 ? void 0 : _b.showClearFilterButton;
|
|
25
|
+
const showSuspendFilterButton = (_d = (_c = this.props.api.internalApi.getAdaptableOptions()) === null || _c === void 0 ? void 0 : _c.filterOptions) === null || _d === void 0 ? void 0 : _d.showSuspendFilterButton;
|
|
26
|
+
const isAtLeastOneFilterActive = this.props.api.filterApi.getActiveColumnFilters().length > 0;
|
|
27
|
+
const isAtLeastOneFilter = this.props.api.filterApi.getColumnFilters().length > 0;
|
|
28
|
+
const handleSuspendUnsuspendAll = () => {
|
|
29
|
+
if (isAtLeastOneFilterActive) {
|
|
30
|
+
this.props.api.filterApi.suspendAllColumnFilters();
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
this.props.api.filterApi.unSuspendAllColumnFilters();
|
|
34
|
+
}
|
|
35
|
+
};
|
|
20
36
|
return (React.createElement(rebass_1.Flex, { flexDirection: "row", className: `ab-${elementType}__Filter__wrap`, flexWrap: this.props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
|
|
21
|
-
React.createElement(rebass_1.Flex, null,
|
|
22
|
-
|
|
23
|
-
|
|
37
|
+
React.createElement(rebass_1.Flex, null,
|
|
38
|
+
ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.props.ColumnFilters) && (React.createElement(AdaptablePopover_1.AdaptablePopover, { popupPadding: 0, className: `ab-${elementType}__Filter__info`, headerText: "", bodyText: [React.createElement(ActiveFiltersPanel_1.ActiveFiltersPanel, null)], useButton: true, showEvent: 'focus', hideEvent: "blur", popoverMinWidth: 400 })),
|
|
39
|
+
showClearButton && (React.createElement(ButtonClear_1.ButtonClear, { className: `ab-${elementType}__Filter__clear`, marginLeft: 1, marginBottom: 0, marginRight: 1, onClick: () => this.onClearFilters(), tooltip: "Clear Filters", disabled: this.props.ColumnFilters.length == 0, showText: this.props.viewType === 'ToolPanel' }, this.props.viewType === 'ToolPanel' && 'Clear')),
|
|
40
|
+
showSuspendFilterButton && (React.createElement(SimpleButton_1.default, { className: join_1.default(`ab-${elementType}__Filter__suspend-button`, isAtLeastOneFilterActive && `ab-${elementType}__Filter__suspend-all`, !isAtLeastOneFilterActive && `ab-${elementType}__Filter__un-suspend-all`), disabled: !isAtLeastOneFilter, onClick: handleSuspendUnsuspendAll, tone: isAtLeastOneFilterActive ? 'neutral' : 'success', variant: "text", icon: isAtLeastOneFilterActive ? 'pause' : 'play', accessLevel: this.props.accessLevel }))),
|
|
24
41
|
React.createElement(rebass_1.Flex, { alignItems: "center" }, this.props.api.filterApi.isQuickFilterAvailable() && (React.createElement(CheckBox_1.CheckBox, { className: `ab-${elementType}__Filter__active-check`, disabled: this.props.accessLevel === 'ReadOnly' ||
|
|
25
42
|
this.props.api.internalApi.isGridInPivotMode(), marginTop: 0, marginBottom: 0, fontSize: 2, padding: 1, checked: this.props.IsQuickFilterVisible, onChange: (checked) => {
|
|
26
43
|
checked ? this.props.onShowQuickFilterBar() : this.props.onHideQuickFilterBar();
|
|
27
|
-
} }, "
|
|
44
|
+
} }, "Quick Filter")))));
|
|
28
45
|
}
|
|
29
46
|
onClearFilters() {
|
|
30
47
|
this.props.api.filterApi.clearColumnFilters();
|
|
@@ -378,7 +378,7 @@ const FormatColumnFormatWizardSection = (props) => {
|
|
|
378
378
|
update({ DisplayFormat });
|
|
379
379
|
};
|
|
380
380
|
const Type = data.DisplayFormat && data.DisplayFormat.Formatter;
|
|
381
|
-
const customScopedFormatters = customDisplayFormatters.filter((displayFormatter) => adaptable.api.scopeApi.isScopeInScope(
|
|
381
|
+
const customScopedFormatters = customDisplayFormatters.filter((displayFormatter) => adaptable.api.scopeApi.isScopeInScope(data.Scope, displayFormatter.scope));
|
|
382
382
|
if (Type === 'NumberFormatter') {
|
|
383
383
|
return renderNumberFormat(data, update, setFormatOption, customScopedFormatters, formatColumnApi);
|
|
384
384
|
}
|
|
@@ -4,13 +4,15 @@ exports.AdaptableObjectsSummary = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_redux_1 = require("react-redux");
|
|
7
|
+
const rebass_1 = require("rebass");
|
|
7
8
|
const AdaptableContext_1 = require("../AdaptableContext");
|
|
8
9
|
const AdaptableObjectList_1 = require("../Components/AdaptableObjectList");
|
|
9
10
|
const AdaptableObjectsSummary = () => {
|
|
10
11
|
const state = react_redux_1.useSelector((state) => state);
|
|
11
12
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
12
13
|
const modules = adaptable.ModuleService.getModuleCollection();
|
|
13
|
-
|
|
14
|
+
const baseClassName = 'ab-AdaptableObjectsSummary';
|
|
15
|
+
return (React.createElement(rebass_1.Box, { className: baseClassName }, [...modules].map(([moduleName, module]) => {
|
|
14
16
|
var _a;
|
|
15
17
|
if (!module.isModuleAvailable()) {
|
|
16
18
|
return null;
|
|
@@ -19,8 +21,8 @@ const AdaptableObjectsSummary = () => {
|
|
|
19
21
|
if (!(items === null || items === void 0 ? void 0 : items.length)) {
|
|
20
22
|
return null;
|
|
21
23
|
}
|
|
22
|
-
return (React.createElement("
|
|
23
|
-
React.createElement("b",
|
|
24
|
+
return (React.createElement(rebass_1.Box, { "data-name": module.moduleInfo.ModuleName, className: `${baseClassName}__module-list`, key: module.moduleInfo.ModuleName },
|
|
25
|
+
React.createElement("b", { className: `${baseClassName}__header` }, module.moduleInfo.FriendlyName),
|
|
24
26
|
(items === null || items === void 0 ? void 0 : items.length) && React.createElement(AdaptableObjectList_1.AdaptableObjectList, { items: items, module: module })));
|
|
25
27
|
})));
|
|
26
28
|
};
|
|
@@ -91,7 +91,7 @@ const OptionContainerComponent = (props) => {
|
|
|
91
91
|
onViewModeChange(viewMode === 'expanded' ? 'collapsed' : 'expanded');
|
|
92
92
|
};
|
|
93
93
|
const panelButton = viewMode === 'expanded' ? (React.createElement(ButtonMinimise_1.ButtonMinimise, { onClick: () => requestViewModeChange(), tooltip: `Hide ${label}` })) : (React.createElement(ButtonMaximise_1.ButtonMaximise, { onClick: () => requestViewModeChange(), tooltip: `Show ${label}` }));
|
|
94
|
-
return (React.createElement(PanelWithButton_1.PanelWithButton, { className: `options-container-${name}`, variant: "default", headerText: label, headerProps: {
|
|
94
|
+
return (React.createElement(PanelWithButton_1.PanelWithButton, { className: `ab-OptionsContainer options-container-${name}`, variant: "default", headerText: label, headerProps: {
|
|
95
95
|
fontSize: 3,
|
|
96
96
|
style: {
|
|
97
97
|
fontWeight: viewMode === 'expanded' ? 800 : 400,
|
|
@@ -102,17 +102,16 @@ const GridInfoPopup = (props) => {
|
|
|
102
102
|
return React.createElement(AdaptableObjectRow_1.AdaptableObjectRow, { key: index, colItems: x });
|
|
103
103
|
});
|
|
104
104
|
const showRadioButtons = [showGridSummary, showAdaptableOptions, showColumnInfo, showAdaptableObjects].filter((item) => item).length > 1;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
const baseClassName = 'ab-GridInfo';
|
|
106
|
+
return (React.createElement(PopupPanel_1.PopupPanel, { className: baseClassName, headerText: 'Grid Info', glyphicon: 'info' },
|
|
107
|
+
React.createElement(rebass_1.Flex, { className: `${baseClassName}__header`, marginBottom: 2, padding: 3 }, showRadioButtons && (React.createElement(React.Fragment, null,
|
|
108
|
+
showGridSummary && (React.createElement(Radio_1.default, { className: `${baseClassName}__option-radio`, "data-name": "radioButton-GridSummary", marginRight: 3, value: "GridSummary", checked: state.ActiveTab == 'GridSummary', onChange: (_, e) => onShowGridSummaryChanged('GridSummary') }, "Summary")),
|
|
108
109
|
showAdaptableOptions && (React.createElement(Radio_1.default, { "data-name": "radioButton-AdaptableOptions", marginRight: 3, value: "AdaptableOptions", checked: state.ActiveTab == 'AdaptableOptions', onChange: (_, e) => onShowGridSummaryChanged('AdaptableOptions') }, "Options")),
|
|
109
110
|
showColumnInfo && (React.createElement(Radio_1.default, { "data-name": "radioButton-Column", marginRight: 3, value: "Column", checked: state.ActiveTab == 'ColumnInfo', onChange: (_, e) => onShowGridSummaryChanged('ColumnInfo') }, "Columns")),
|
|
110
111
|
showAdaptableObjects && (React.createElement(Radio_1.default, { "data-name": "radioButton-Column", value: "Column", checked: state.ActiveTab == 'AdaptableObjectsSummary', onChange: (_, e) => onShowGridSummaryChanged('AdaptableObjectsSummary') }, "Objects"))))),
|
|
111
|
-
state.ActiveTab == 'GridSummary' && (React.createElement(
|
|
112
|
-
React.createElement(AdaptableObjectCollection_1.AdaptableObjectCollection, { colItems: propValueColItems, items: gridSummaries }))),
|
|
112
|
+
state.ActiveTab == 'GridSummary' && (React.createElement(AdaptableObjectCollection_1.AdaptableObjectCollection, { margin: 2, colItems: propValueColItems, items: gridSummaries })),
|
|
113
113
|
state.ActiveTab == 'AdaptableOptions' && React.createElement(AdaptableOptionsComponent_1.AdaptableOptionsComponent, { api: props.api }),
|
|
114
|
-
state.ActiveTab == 'ColumnInfo' && (React.createElement(
|
|
115
|
-
React.createElement(ColumnInfoComponent_1.ColumnInfoComponent, { api: props.api, teamSharingActivated: props.teamSharingActivated, column: state.CurrentColumn }))),
|
|
114
|
+
state.ActiveTab == 'ColumnInfo' && (React.createElement(ColumnInfoComponent_1.ColumnInfoComponent, { api: props.api, teamSharingActivated: props.teamSharingActivated, column: state.CurrentColumn })),
|
|
116
115
|
state.ActiveTab === 'AdaptableObjectsSummary' && React.createElement(AdaptableObjectsSummary_1.AdaptableObjectsSummary, null)));
|
|
117
116
|
};
|
|
118
117
|
exports.GridInfoPopup = GridInfoPopup;
|