// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
define(["dojo/_base/declare","./settingComponents","./SettingObject"],function(p,a,q){return p(q,{_inputControl:null,constructor:function(c,b,r,h,k,t,g,l,e,f,m,n){c=[];var d=[];e||f?(e&&("string"===typeof e?d.push(a.text("static-text",e)):d.push(e.div())),b=b?a.numberInputCtl("variable-width inline-block",g,m):a.textInputCtl("variable-width inline-block",g,n),d.push(b.div),this._inputControl=b.ctl,f&&("string"===typeof f?d.push(a.text("static-text",f)):d.push(f.div())),c.push(a.container("full-width flexbox",
"minorTrailingHorizGap",d))):(b=b?a.numberInputCtl("full-width inline-block",g,m):a.textInputCtl("full-width inline-block",g,n),c.push(b.div),this._inputControl=b.ctl);l&&c.push(a.text("hint",l));this._mainDiv=a.container("flexbox "+(r||""),"minorTrailingHorizGap",[a.container("inline-block "+(h?h:""),"",[a.text("static-text",t)]),a.container("inline-block "+(k?k:""),"minorTrailingVertGap",c)])},setValue:function(c){this._inputControl&&this._inputControl.set("value",c)},getValue:function(){return this._inputControl?
this._inputControl.get("value"):null},setConfig:function(){this._inputControl&&this._config&&this.setValue(this._config)},getConfig:function(c,b){this._inputControl&&(this._config=this.getValue())}})});