UNPKG

@adaptabletools/adaptable-cjs

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

41 lines (40 loc) 1.33 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ReportSummaryWizard = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const WizardSummaryPage_1 = require("../../Components/WizardSummaryPage"); class ReportSummaryWizard extends React.Component { constructor(props) { super(props); } render() { let keyValuePairs = [ { Key: 'Name', Value: this.props.data.Name }, { Key: 'Column Scope', Value: this.props.api.exportApi.internalApi.getReportColumnScopeLongDescription(this.props.data), }, { Key: 'Row Scope', Value: this.props.api.exportApi.internalApi.getReportExpressionDescription(this.props.data, this.props.api.columnApi.getColumns()), }, ]; return (React.createElement(WizardSummaryPage_1.WizardSummaryPage, { KeyValuePairs: keyValuePairs, header: this.props.moduleInfo.FriendlyName })); } canNext() { return true; } canBack() { return true; } next() { } back() { } getIndexStepIncrement() { return 1; } getIndexStepDecrement() { return 1; } } exports.ReportSummaryWizard = ReportSummaryWizard;