//>>built
require({cache:{"url:mill/jssupport/form/textField.html":'\x3cdiv\x3e\x3cdiv data-dojo-type\x3d"office.layout.GridLayoutColumn" data-dojo-props\x3d"piece: \'${textPiece}\'" data-dojo-attach-point\x3d"textColumnNode" class\x3d"cell"\x3e\x3cdiv data-dojo-type\x3d"office.TranslatableNode" data-dojo-props\x3d"display: \'inline\'" data-dojo-attach-point\x3d"translatableNode"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv data-dojo-type\x3d"office.layout.GridLayoutColumn" data-dojo-props\x3d"piece: \'${controlPiece}\'" class\x3d"cell"\x3e\x3cdiv data-dojo-type\x3d"office.form.TextBoxWidget" data-dojo-props\x3d"type: \'${type}\'" data-dojo-attach-point\x3d"controlNode" data-dojo-observer\x3d"${observer}" class\x3d"controlNode"\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dim small"\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"maxLengthNode" class\x3d"dim small"\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e',
"url:mill/jssupport/form/validationTextBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft" id\x3d"widget_${id}" role\x3d"presentation"\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\x3e\x3cinput class\x3d"dijitReset dijitInputInner" data-dojo-attach-point\x3d\'textbox,focusNode\' autocomplete\x3d"off" name\x3d"${name}" type\x3d\'${type}\'/\x3e\x3c/div\x3e\x3c/div\x3e'}});
define("mill/jssupport/form/TextField","dojo/_base/declare dojo/dom-construct dojo/dom-style dojo/dom-class dijit/_WidgetBase dijit/form/ValidationTextBox dojo/text!mill/jssupport/form/validationTextBox.html dojo/text!mill/jssupport/form/textField.html mill/jssupport/form/_TextFieldWidgetMixin mill/jssupport/form/_FieldMixin mill/jssupport/form/_RequiredFieldMixin mill/jssupport/base".split(" "),function(c,d,f,g,h,k,l,m,n,p,q,b){c("office.form.TextBoxWidget",[k,n],{templateString:l,intermediateChanges:!0,
trim:!0,_hasProtectedValue:null,translate:function(){this.inherited(arguments);this._savedValue instanceof Object&&this._savedValue[b.locale]&&(this.set("value",this._savedValue[b.locale]),this._savedValueNode&&this.hideForValue())},hideForValue:function(a,r){this.inherited(arguments);r&&(this._hasProtectedValue=!0,this._savedValue=a);if(a||"string"===typeof a)this._savedValueNode&&(this._changed=this._savedValue instanceof Object?a!==this._savedValue.RU&&a!==this._savedValue.EN:a!==this._savedValue),
!this._hasProtectedValue&&(this._savedValue=a);var e=this._savedValue instanceof Object?this._savedValue[b.locale]||this._savedValue.RU:this._savedValue;this.set("value",e);d.destroy(this._savedValueNode);this._savedValueNode=d.create("span",{innerHTML:e,className:"dim bold"},this.domNode.parentNode,"first");f.set(this.domNode,{display:"none"});this._changed&&g.add(this._savedValueNode,["blue","italic"])}});return mill.registerAlias("office.form.TextField",c("mill.jssupport.form.TextField",[h,p,q],
{templateString:m,type:"text",disabled:null,placeHolder:null,regExp:null,uppercase:null,lowercase:null,observer:null,icon:null,charactersRemainingWidget:null,missingMessage:"Office.DefaultMissingMessage",invalidMessage:"Office.DefaultInvalidMessage",postMixInProperties:function(){this.inherited(arguments);this.placeHolder=this.placeHolder||(this.text?this.text.replace(/:$/,""):null)},_setDisabledAttr:function(a){this.controlNode.set("disabled",this.disabled=a)},_setRegExpAttr:function(a){this.controlNode.set("regExp",
this.regexp=a)},_setUppercaseAttr:function(a){this.controlNode.set("uppercase",this.uppercase=a)},_setLowercaseAttr:function(a){this.controlNode.set("lowercase",this.lowercase=a)},_setIconAttr:function(a){this.controlNode.set("icon",this.icon=a)},_setMissingMessageAttr:function(a){this.controlNode.set("missingMessageIdentifier",this.missingMessage=a)},_setInvalidMessageAttr:function(a){this.controlNode.set("invalidMessageIdentifier",this.invalidMessage=a)},_setPlaceHolderAttr:function(a){this.controlNode.set("placeHolderIdentifier",
this.placeHolder=a)}}))});