"use strict";
// TODO: remove this file in v23
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdaptableUpgradeHelper = exports.AdaptableWizardView = exports.AdaptableDateEditor = exports.AdaptableNumberEditor = exports.AdaptablePercentageEditor = exports.AdaptableReactDateEditor = exports.AdaptableReactNumberEditor = exports.AdaptableReactPercentageEditor = exports.getIconSVG = exports.AdaptableColumnType = exports.AdaptableQL = exports._AdaptableLogger = exports.AdaptableNoCodeWizard = exports._AdaptableAgGrid = void 0;
const tslib_1 = require("tslib");
const agGrid_1 = tslib_1.__importStar(require("./src/agGrid"));
Object.defineProperty(exports, "AdaptableWizardView", { enumerable: true, get: function () { return agGrid_1.AdaptableWizardView; } });
const AdaptableAgGrid_1 = require("./src/agGrid/AdaptableAgGrid");
const booleanExpressionFunctions_1 = require("./src/Utilities/ExpressionFunctions/booleanExpressionFunctions");
const scalarExpressionFunctions_1 = require("./src/Utilities/ExpressionFunctions/scalarExpressionFunctions");
const observableExpressionFunctions_1 = require("./src/Utilities/ExpressionFunctions/observableExpressionFunctions");
const aggregatedBooleanExpressionFunctions_1 = require("./src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions");
const aggregatedScalarExpressionFunctions_1 = require("./src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions");
const AdaptableNumberEditor_1 = require("./src/agGrid/editors/AdaptableNumberEditor");
Object.defineProperty(exports, "AdaptableNumberEditor", { enumerable: true, get: function () { return AdaptableNumberEditor_1.AdaptableNumberEditor; } });
Object.defineProperty(exports, "AdaptableReactNumberEditor", { enumerable: true, get: function () { return AdaptableNumberEditor_1.AdaptableReactNumberEditor; } });
const AdaptablePercentageEditor_1 = require("./src/agGrid/editors/AdaptablePercentageEditor");
Object.defineProperty(exports, "AdaptablePercentageEditor", { enumerable: true, get: function () { return AdaptablePercentageEditor_1.AdaptablePercentageEditor; } });
Object.defineProperty(exports, "AdaptableReactPercentageEditor", { enumerable: true, get: function () { return AdaptablePercentageEditor_1.AdaptableReactPercentageEditor; } });
const AdaptableDateEditor_1 = require("./src/agGrid/editors/AdaptableDateEditor");
Object.defineProperty(exports, "AdaptableDateEditor", { enumerable: true, get: function () { return AdaptableDateEditor_1.AdaptableDateEditor; } });
Object.defineProperty(exports, "AdaptableReactDateEditor", { enumerable: true, get: function () { return AdaptableDateEditor_1.AdaptableReactDateEditor; } });
const src_1 = require("./src/parser/src");
const tokenizer_1 = require("./src/parser/src/tokenizer");
const AdaptableUpgradeHelper_1 = require("./src/migration/AdaptableUpgradeHelper");
Object.defineProperty(exports, "AdaptableUpgradeHelper", { enumerable: true, get: function () { return AdaptableUpgradeHelper_1.AdaptableUpgradeHelper; } });
const AdaptableColumn_1 = require("./src/AdaptableState/Common/AdaptableColumn");
const icons_1 = require("./src/components/icons");
Object.defineProperty(exports, "getIconSVG", { enumerable: true, get: function () { return icons_1.iconToString; } });
exports.default = agGrid_1.default;
exports._AdaptableAgGrid = AdaptableAgGrid_1.AdaptableAgGrid;
exports.AdaptableNoCodeWizard = agGrid_1.AdaptableNoCodeWizard;
exports._AdaptableLogger = agGrid_1.AdaptableLogger;
exports.AdaptableQL = {
    BooleanFunctions: booleanExpressionFunctions_1.booleanExpressionFunctionsNames,
    ScalarFunctions: scalarExpressionFunctions_1.scalarExpressionFunctionNames,
    ObservableFunctions: observableExpressionFunctions_1.observableExpressionFunctionNames,
    AggregatedBooleanFunctions: aggregatedBooleanExpressionFunctions_1.aggregatedBooleanExpressionFunctionNames,
    AggregatedScalarFunctions: aggregatedScalarExpressionFunctions_1.aggregatedScalarExpressionFunctionNames,
    getAbstractSyntaxTree: src_1.getAbstractSyntaxTree,
    getTokens: tokenizer_1.getTokens,
};
/**
 * AdapTable Column Types
 */
exports.AdaptableColumnType = {
    /**
     * A column that is never displayed in the UI, but it's still available programmatically.
     */
    HiddenColumn: AdaptableColumn_1.HIDDEN_COLUMN_TYPE,
    /**
     * A column that is calculated based on other columns in the table.
     */
    CalculatedColumn: AdaptableColumn_1.CALCULATED_COLUMN_TYPE,
    /**
     * A column that is NOT stored in the grid but in the state, allowing run-time users to "attach" custom data
     */
    FreeTextColumn: AdaptableColumn_1.FREE_TEXT_COLUMN_TYPE,
    /**
     * A column that is used to display an action button or link.
     */
    ActionColumn: AdaptableColumn_1.ACTION_COLUMN_TYPE,
    /**
     * A column that is used to display FDC3 data/actions.
     */
    Fdc3Column: AdaptableColumn_1.FDC3_COLUMN_TYPE,
    /**
     * Any column that is used to display Pivot Totals: PivotGrandTotal, PivotGroupTotal or PivotAggregationTotal
     */
    PivotAnyTotal: AdaptableColumn_1.PIVOT_ANY_TOTAL_COLUMN_TYPE,
    /**
     * A column that is used to display the Grand Total of ALL Pivot Columns.
     */
    PivotGrandTotal: AdaptableColumn_1.PIVOT_GRAND_TOTAL_COLUMN_TYPE,
    /**
     * A column that is used to display a single Total for EACH Pivot Column Group.
     */
    PivotColumnTotal: AdaptableColumn_1.PIVOT_COLUMN_TOTAL_COLUMN_TYPE,
    /**
     * A column that is used to display the Totals of Pivot Aggregation Columns.
     */
    PivotAggregationTotal: AdaptableColumn_1.PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE,
};
