import powerbi from 'powerbi-visuals-api' ; import ValidationOptions = powerbi . ValidationOptions ; import VisualObjectInstanceEnumerationObject = powerbi . VisualObjectInstanceEnumerationObject ; /**
 * Provides a standard template to build visual settings from
 */ export default class SettingsBase { protected validValues : { [ propertyName ] : string [ ] | ValidationOptions ; } = { } ; param enumerationObject param options public processEnumerationObject ( enumerationObject , options = { } ) { enumerationObject . instances . map ( ( i ) => { i . validValues = this . validValues ; } ) ; return enumerationObject ; } }