import { CustomPropertyHandler , PropertyResolveResult } from "../providers/property-handler-provider" ; import * as parseXml from '../parser/types' ; import { WidgetModel , AttributeModel , PropertyModel } from '../models/models' ; export class SwitchCaseHandler extends CustomPropertyHandler { canResolve ( element , handlerProperty , widget ) { return true ; } resolve ( element , attr , widget ) { return { extraData : null , wrapperWidget : widget , value : attr . value , handled : false } ; } canGenerate ( widget ) { return true ; } generate ( widget , tabsLevel , generateChildWidgetCode , generatePropertyCode ) { return '' ; } }