//>>built
require({cache:{"url:mill/jssupport/form/checkBoxField.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\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.CheckBoxWidget" data-dojo-props\x3d"type: \'${type}\'" data-dojo-attach-point\x3d"controlNode" data-dojo-observer\x3d"${observer}" id\x3d"${id}_cb" class\x3d"controlNode checkBoxControlNode"\x3e\x3c/div\x3e\x3clabel for\x3d"${id}_cb"\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/label\x3e\x3c/div\x3e\x3c/div\x3e',
"url:mill/jssupport/form/checkBoxDblClnField.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\x3clabel for\x3d"${id}_cb"\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/label\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.CheckBoxWidget" data-dojo-props\x3d"type: \'${type}\'" data-dojo-attach-point\x3d"controlNode" data-dojo-observer\x3d"${observer}" id\x3d"${id}_cb" class\x3d"controlNode checkBoxControlNode"\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'}});
define("mill/jssupport/form/CheckBoxField","dojo/_base/declare dojo/query dojo/dom-class dojo/dom-construct dojo/dom-style dijit/_WidgetBase dijit/form/CheckBox dojo/text!mill/jssupport/form/checkBoxField.html dojo/text!mill/jssupport/form/checkBoxDblClnField.html mill/jssupport/form/_FieldMixin mill/jssupport/form/_RequiredFieldMixin".split(" "),function(c,d,f,b,e,g,h,k,l,m,n){c("office.form.CheckBoxWidget",[h],{required:null,_savedValue:null,_changed:null,_savedLabelFor:null,validate:function(){return!this.get("required")||
this.get("required")&&this.get("checked")},hideForValue:function(a){if(a||"boolean"===typeof a)a=!0===a||"1"===a,null!==this._savedValue&&(this._changed=a!==this._savedValue),this._savedValue=a;this.set("checked",this._savedValue);b.destroy(this._savedValueNode);this._savedValueNode=b.create("span",{className:"dim bold "+(this._savedValue?"icon-set-checkbox-checked":"icon-set-checkbox-unchecked"),style:"padding-right: 6px"},this.domNode.parentNode,"first");e.set(this.domNode,{display:"none"});if(a=
d("label",this.domNode.parentNode)[0])this._savedLabelFor=a.getAttribute("for"),a.removeAttribute("for");this._changed&&a&&f.add(a,["blue","italic"])},unhideForValue:function(){b.destroy(this._savedValueNode);e.set(this.domNode,{display:"inline-block"});var a=d("label",this.domNode.parentNode)[0];a&&a.setAttribute("for",this._savedLabelFor)}});return mill.registerAlias("office.form.CheckBoxField",c("mill.jssupport.form.CheckBoxField",[g,m,n],{doubleColumn:!0,type:"checkbox",disabled:null,observer:null,
postMixInProperties:function(){this.inherited(arguments);this.doubleColumn||(this.hideTextColumn=!0);this.templateString=this.doubleColumn?l:k},_setDisabledAttr:function(a){this.controlNode.set("disabled",this.disabled=a)}}))});