UNPKG

datapilot-cli

Version:

Enterprise-grade streaming multi-format data analysis with comprehensive statistical insights and intelligent relationship detection - supports CSV, JSON, Excel, TSV, Parquet - memory-efficient, cross-platform

28 lines (22 loc) 508 B
const BaseXform = require('../../base-xform'); class CfIconExtXform extends BaseXform { get tag() { return 'x14:cfIcon'; } render(xmlStream, model) { xmlStream.leafNode(this.tag, { iconSet: model.iconSet, iconId: model.iconId, }); } parseOpen({attributes}) { this.model = { iconSet: attributes.iconSet, iconId: BaseXform.toIntValue(attributes.iconId), }; } parseClose(name) { return name !== this.tag; } } module.exports = CfIconExtXform;