[{"__symbolic":"module","version":3,"metadata":{"ThfSwitchComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@totvs/thf-core/components/thf-field-base","name":"ThfSwitchBaseComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"thf-switch","template":"<thf-field-container [t-label]=\"label\" [t-help]=\"help\" [t-opcional]=\"!required\"> <div [attr.name]=\"name\" class=\"thf-switch\"> <div class=\"thf-switch-container thf-clickable\" [class.thf-switch-container-right]=\"getSwitchPosition() === 'right'\" [class.thf-switch-container-on]=\"switchValue === true && !disabled\" [class.thf-switch-container-off]=\"switchValue === false && !disabled\" [class.thf-switch-container-disabled]=\"disabled\" (click)=\"eventClick()\"> <div class=\"thf-switch-button\" [class.thf-switch-button-on]=\"switchValue === true\" [class.thf-switch-button-off]=\"switchValue === false\" [class.thf-switch-button-disabled]=\"disabled\"> <span class=\"thf-icon thf-icon-{{ switchValue === true ? 'ok' : 'close' }}\"></span> </div> </div> <span class=\"thf-switch-label thf-clickable thf-switch-label-{{ getLabelPosition() }}\" (click)=\"eventClick()\"> {{ switchValue === true ? labelOn : labelOff }} </span> </div> </thf-field-container> "}]}],"members":{"getLabelPosition":[{"__symbolic":"method"}],"getSwitchPosition":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ThfSwitchComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@totvs/thf-core/components/thf-field-base","name":"ThfSwitchBaseComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"thf-switch","template":"<thf-field-container [t-label]=\"label\" [t-help]=\"help\" [t-opcional]=\"!required\"> <div [attr.name]=\"name\" class=\"thf-switch\"> <div class=\"thf-switch-container thf-clickable\" [class.thf-switch-container-right]=\"getSwitchPosition() === 'right'\" [class.thf-switch-container-on]=\"switchValue === true && !disabled\" [class.thf-switch-container-off]=\"switchValue === false && !disabled\" [class.thf-switch-container-disabled]=\"disabled\" (click)=\"eventClick()\"> <div class=\"thf-switch-button\" [class.thf-switch-button-on]=\"switchValue === true\" [class.thf-switch-button-off]=\"switchValue === false\" [class.thf-switch-button-disabled]=\"disabled\"> <span class=\"thf-icon thf-icon-{{ switchValue === true ? 'ok' : 'close' }}\"></span> </div> </div> <span class=\"thf-switch-label thf-clickable thf-switch-label-{{ getLabelPosition() }}\" (click)=\"eventClick()\"> {{ switchValue === true ? labelOn : labelOff }} </span> </div> </thf-field-container> "}]}],"members":{"getLabelPosition":[{"__symbolic":"method"}],"getSwitchPosition":[{"__symbolic":"method"}]}}}}]