import{f as t}from"../../form-utils-4685920e.js";class s{constructor(t,s,o){this._host=t,this._host.addController(this),this._formRef=s,this._getErrors=o}hostUpdated(){const s=this._getErrors();null!=s&&Object.values(s).some((t=>null!=t))&&this._host.updateComplete.then((()=>{t(this._formRef.value)}))}}export{s as FormErrorFocusController};
//# sourceMappingURL=form-error-focus-controller.js.map
