import { AUTO_GROUP_COLUMN_ID__SINGLE } from '../../layout-manager/src/normalizeLayoutModel';
export const AUTOGENERATED_PK_COLUMN = '__ADAPTABLE_PK__';
export const MISSING_COLUMN = ' [MISSING]';
export const LIGHT_THEME = 'light';
export const DARK_THEME = 'dark';
export const OS_THEME = 'os';
export const ERROR_LAYOUT = {
    Name: 'Layout Error - No Layout Defined',
    TableColumns: [],
};
export const ADAPTABLE = 'AdapTable';
export const ADAPTABLE_ID = 'adaptable_id';
export const ADAPTABLE_TOOLPANEL_ID = 'adaptable';
export const ADAPTABLE_TOOLPANEL_COMPONENT = 'AdaptableToolPanel';
// from https://www.ag-grid.com/javascript-data-grid/side-bar/#string-configuration
export const AGGRID_TOOLPANEL_FILTERS = 'filters';
export const AGGRID_TOOLPANEL_COLUMNS = 'columns';
export const READ_ONLY_STYLE = 'ab_readonly';
export const EMPTY_STRING = '';
export const EMPTY_ARRAY = [];
export const HALF_SECOND = 500;
export const QUARTER_SECOND = 250;
export const GROUP_PATH_SEPARATOR = '/';
export const AG_GRID_GROUPED_COLUMN = AUTO_GROUP_COLUMN_ID__SINGLE;
export const AG_GRID_SELECTION_COLUMN = 'ag-Grid-SelectionColumn';
export const AG_GRID_PIVOT_COLUMN = 'pivot_';
export const AG_GRID_PIVOT_GRAND_TOTAL_COLUMN = 'PivotRowTotal_pivot_';
export const AG_GRID_CHART_WINDOW = 'AG Grid Window';
export const AG_GRID_GRAND_TOTAL_ROW_ID = 'rowGroupFooter_ROOT_NODE_ID';
export const ADAPTABLE_FDC3_ACTION_COLUMN_FRIENDLY_NAME = '(FDC3ActionColumn)';
// FIXME AFL - load this from DateInputOptions
export const DEFAULT_DATE_FORMAT_PATTERN = 'dd-MM-yyyy';
export const DEFAULT_DATE_FORMAT_PATTERN_WITH_TIME = 'dd-MM-yyyy HH:mm:ss';
export const DEFAULT_STRING_DISPLAY_VALUE = 'Hello World';
export const DEFAULT_INTEGER_DISPLAY_VALUE = 12345;
export const DEFAULT_DOUBLE_DISPLAY_VALUE = 12345.6789;
export const QUICK_SEARCH_DEBOUNCE_TIME = 350;
export const MENU_SEPARATOR = '-';
// Live Report Throttle Time (used in OpenFin, IPushPull etc.)
export const DEFAULT_LIVE_REPORT_THROTTLE_TIME = 2000;
// Validation
export const SERVER_VALIDATION_HEADER = 'Server Validation Message';
export const SERVER_VALIDATION_MESSAGE_TYPE = 'Info';
// System Report Name Constants
export const ALL_DATA_REPORT = 'All Data';
export const CURRENT_LAYOUT_REPORT = 'Current Layout';
export const SELECTED_DATA_REPORT = 'Selected Data';
export const SYSTEM_REPORT_NAMES = [
    CURRENT_LAYOUT_REPORT,
    ALL_DATA_REPORT,
    SELECTED_DATA_REPORT,
];
// Systen Report Format Constants
export const EXCEL_FORMAT_REPORT = 'Excel';
export const VISUAL_EXCEL_FORMAT_REPORT = 'VisualExcel';
export const CSV_FORMAT_REPORT = 'CSV';
export const JSON_FORMAT_REPORT = 'JSON';
export const SYSTEM_REPORT_FORMATS = [
    EXCEL_FORMAT_REPORT,
    VISUAL_EXCEL_FORMAT_REPORT,
    CSV_FORMAT_REPORT,
    JSON_FORMAT_REPORT,
];
export const SELECT_REPORT_STRING = 'Select Report';
export const SELECT_REPORT_FORMAT_STRING = 'Select Format';
export const DOWNLOAD_EXPORT_DESTINATION = 'Download';
export const CLIPBOARD_EXPORT_DESTINATION = 'Clipboard';
export const SYSTEM_EXPORT_DESTINATIONS = [
    DOWNLOAD_EXPORT_DESTINATION,
    CLIPBOARD_EXPORT_DESTINATION,
];
// Theme Constants
export const THEME_STYLE = `ab--theme-`;
// Layout UI Constants
export const LAYOUT_NEW_TABLE_TOOLTIP = 'Create a new Table Layout';
export const LAYOUT_NEW_PIVOT_TOOLTIP = 'Create a new Pivot Layout';
export const LAYOUT_NEW_TABLE_OR_PIVOT_TOOLTIP = 'Create a new Layout';
export const LAYOUT_SAVE_TOOLTIP = 'Save Changes to Current Layout';
export const LAYOUT_EDIT_TOOLTIP = 'Edit Layout';
export const LAYOUT_CLONE_TOOLTIP = 'Clone Layout';
export const LAYOUT_DELETE_TOOLTIP = 'Delete Layout';
// Standalone Popups
export const STANDALONE_MODULE_POPUPS = [
    'BulkUpdate',
    'SmartEdit',
    'CellSummary',
];
export const OBSERVABLE_EXPRESSION_ROW_ADDED = 'ROW_ADDED';
export const OBSERVABLE_EXPRESSION_ROW_REMOVED = 'ROW_REMOVED';
