//>>built define("pd/widgets/MDAnalyseDialog",["dojo/_base/declare","dojo/parser","bux/dialogs/BaseDialog","dijit/TitlePane","pd/model/deltaSpec","dojo/string","dojo/dom-construct","dojo/dom-attr","dijit/layout/BorderContainer","dijit/layout/ContentPane"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a){var _b=_1("pd/widgets/MDAnalyseDialog",[_3],{title:PDMSG.ANA.IDS_ANA_DIALOG_TITLE,style:"width: auto; height: auto;",showOnOk:true,_bContainerHeightAuto:true,createDefaultDialogButtons:function(){this.createButtons([{label:BUXMSG.GEN.IDS_GEN_YES_BUTTON,action:dojo.hitch(this,this.onOK),type:"button"},{label:BUXMSG.GEN.IDS_GEN_NO_BUTTON,action:dojo.hitch(this,this.onCancel),type:"button"}]);},postCreate:function(){this.inherited(arguments);this.createDefaultDialogButtons();var _c=true;var _d=_7.toDom("
");for(var i=0;i<_5.length;i++){var _e=this.delta[_5[i].name];if(_e.length>0){var bc=new _9({style:"height:100px;"});var _f="";for(var j=0;j<_e.length;j++){var _10=((j%2)?"dojoxGridRow":"dojoxGridRowSelected");_f+="";}_f+="";var cp=new _a({region:"center",content:_f,"aria-label":_5[i].contentLabel});bc.addChild(cp);var _11=new _4({title:_5[i].label+" ("+_e.length+")",content:bc.domNode,open:false});_8.set(_11.domNode,"aria-label",_5[i].groupLabel);_8.set(_11.containerNode,"role","group");_8.set(_11.containerNode,"aria-label",_5[i].contentLabel);_d.appendChild(_11.domNode);_c=false;}}var _12="";if(!_c){_12+="";}_12+="
"+"
 
";_12+=_c?PDMSG.ANA.IDS_ANA_NO_META_DATA_CHANGES:PDMSG.ANA.IDS_ANA_META_DATA_CHANGES;_12+="

";this.dialogContent.appendChild(_7.toDom(_12));this.dialogContent.appendChild(_d);this.dialogContent.appendChild(_7.toDom("
"+(!_c?PDMSG.ANA.IDS_ANA_METADATA_CHANGES_WARNING+"

":"")+PDMSG.ANA.IDS_ANA_PROCEED_CONFIRM+"
"));},onOK:function(){if(this.showOnOk!==true){this.hide();}if(this._aButtonObjects&&this._aButtonObjects[0]){this._aButtonObjects[0].focus();}if(this.okHandler){this.okHandler();}},onCancel:function(){this.inherited(arguments);if(this.cancelHandler){this.cancelHandler();}},hide:function(){this.inherited(arguments);this.destroy();}});return _b;});