@adaptabletools/adaptable-cjs
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
14 lines (13 loc) • 493 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAlertTypeViewItems = void 0;
const getAlertType_1 = require("./../../../View/Alert/Utilities/getAlertType");
const getAlertTypeViewItems = (alert) => {
const alertType = (0, getAlertType_1.getAlertType)(alert);
const text = (0, getAlertType_1.getAlertTypeText)(alertType);
return {
name: 'Type',
values: [text],
};
};
exports.getAlertTypeViewItems = getAlertTypeViewItems;