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