//>>built
define("mill/jssupport/form/_FieldWidgetMixin",["dojo/_base/declare","dojo/dom-class"],function(c,d){return mill.registerAlias("office.form._FieldWidgetMixin",c("mill.jssupport.form._FieldWidgetMixin",null,{queryState:null,_setQueryStateAttr:function(a){this.queryState=a;a=[this.baseClass+"Progress",""];d.replace(this.domNode,a[-1*this.queryState+1],a[1*this.queryState])},forceDisable:function(a){this.set("disabled",a);var b=this.getFormContentWidget();b&&this.name&&!0===b._disabledStateBoolean&&
(b._disabledState||(b._disabledState={}),b._disabledState[this.name]=!a)},getFieldWidget:function(){for(var a=this;!a.isInstanceOf(office.form._FieldMixin)&&a.getParent();)a=a.getParent();return a.isInstanceOf(office.form._FieldMixin)?a:null},_formContentWidget:null,getFormContentWidget:function(){if(this._formContentWidget)return this._formContentWidget;var a=this.getFieldWidget();return a?this._formContentWidget=a.getFormContentWidget():null}}))});