bootstrap-vue
Version:
BootstrapVue, with over 40 plugins and more than 75 custom components, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-ARIA accessibility markup.
22 lines (17 loc) • 750 B
JavaScript
;
exports.__esModule = true;
exports.default = stringifyRecordValues;
var _sanitizeRow = _interopRequireDefault(require("./sanitize-row"));
var _stringifyObjectValues = _interopRequireDefault(require("./stringify-object-values"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// Stringifies the values of a record, ignoring any special top level field keys
// TODO: add option to strigify formatted/scopedSlot items, and only specific fields
function stringifyRecordValues(row) {
/* istanbul ignore else */
if (row instanceof Object) {
return (0, _stringifyObjectValues.default)((0, _sanitizeRow.default)(row));
} else {
/* istanbul ignore next */
return '';
}
}