UNPKG

@adaptabletools/adaptable

Version:

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

70 lines (69 loc) 3.83 kB
import Adaptable, { AdaptableNoCodeWizard as ABWizard, AdaptableWizardView, AdaptableLogger as ABLogger, } from './src/agGrid'; import { AdaptableAgGrid } from './src/agGrid/AdaptableAgGrid'; import { booleanExpressionFunctionsNames } from './src/Utilities/ExpressionFunctions/booleanExpressionFunctions'; import { scalarExpressionFunctionNames } from './src/Utilities/ExpressionFunctions/scalarExpressionFunctions'; import { observableExpressionFunctionNames } from './src/Utilities/ExpressionFunctions/observableExpressionFunctions'; import { aggregatedBooleanExpressionFunctionNames } from './src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions'; import { aggregatedScalarExpressionFunctionNames } from './src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions'; import { AdaptableNumberEditor, AdaptableReactNumberEditor, } from './src/agGrid/editors/AdaptableNumberEditor'; import { AdaptablePercentageEditor, AdaptableReactPercentageEditor, } from './src/agGrid/editors/AdaptablePercentageEditor'; import { AdaptableDateEditor, AdaptableReactDateEditor, } from './src/agGrid/editors/AdaptableDateEditor'; import { getAbstractSyntaxTree } from './src/parser/src'; import { getTokens } from './src/parser/src/tokenizer'; import { AdaptableUpgradeHelper } from './src/migration/AdaptableUpgradeHelper'; import { ACTION_COLUMN_TYPE, CALCULATED_COLUMN_TYPE, FDC3_COLUMN_TYPE, FREE_TEXT_COLUMN_TYPE, PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE, PIVOT_GRAND_TOTAL_COLUMN_TYPE, PIVOT_COLUMN_TOTAL_COLUMN_TYPE, PIVOT_ANY_TOTAL_COLUMN_TYPE, HIDDEN_COLUMN_TYPE, } from './src/AdaptableState/Common/AdaptableColumn'; export default Adaptable; export const _AdaptableAgGrid = AdaptableAgGrid; export const AdaptableNoCodeWizard = ABWizard; export const _AdaptableLogger = ABLogger; export const AdaptableQL = { BooleanFunctions: booleanExpressionFunctionsNames, ScalarFunctions: scalarExpressionFunctionNames, ObservableFunctions: observableExpressionFunctionNames, AggregatedBooleanFunctions: aggregatedBooleanExpressionFunctionNames, AggregatedScalarFunctions: aggregatedScalarExpressionFunctionNames, getAbstractSyntaxTree: getAbstractSyntaxTree, getTokens: getTokens, }; /** * AdapTable Column Types */ export const AdaptableColumnType = { /** * A column that is never displayed in the UI, but it's still available programmatically. */ HiddenColumn: HIDDEN_COLUMN_TYPE, /** * A column that is calculated based on other columns in the table. */ CalculatedColumn: 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: FREE_TEXT_COLUMN_TYPE, /** * A column that is used to display an action button or link. */ ActionColumn: ACTION_COLUMN_TYPE, /** * A column that is used to display FDC3 data/actions. */ Fdc3Column: FDC3_COLUMN_TYPE, /** * Any column that is used to display Pivot Totals: PivotGrandTotal, PivotGroupTotal or PivotAggregationTotal */ PivotAnyTotal: PIVOT_ANY_TOTAL_COLUMN_TYPE, /** * A column that is used to display the Grand Total of ALL Pivot Columns. */ PivotGrandTotal: PIVOT_GRAND_TOTAL_COLUMN_TYPE, /** * A column that is used to display a single Total for EACH Pivot Column Group. */ PivotColumnTotal: PIVOT_COLUMN_TOTAL_COLUMN_TYPE, /** * A column that is used to display the Totals of Pivot Aggregation Columns. */ PivotAggregationTotal: PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE, }; export { AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableWizardView, AdaptableUpgradeHelper, };