bootstrap-vue
Version:
BootstrapVue, with more than 85 custom components, over 45 plugins, several custom directives, and over 300 icons, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated W
14 lines (11 loc) • 553 B
JavaScript
import { isObject } from '../../../utils/inspect'
import sanitizeRow from './sanitize-row'
import stringifyObjectValues from './stringify-object-values'
// Stringifies the values of a record, ignoring any special top level field keys
// TODO: Add option to stringify `scopedSlot` items
const stringifyRecordValues = (row, ignoreFields, includeFields, fieldsObj) => {
return isObject(row)
? stringifyObjectValues(sanitizeRow(row, ignoreFields, includeFields, fieldsObj))
: /* istanbul ignore next */ ''
}
export default stringifyRecordValues