Person(item.data, this.node, explorer));

                            if (this.options.type.toLowerCase()=="application") this.identitys.push(new MWF.widget.Application(item.data, this.node, explorer));
                            if (this.options.type.toLowerCase()=="process") this.identitys.push(new MWF.widget.Process(item.data, this.node, explorer));
                        }.bind(this));
                        if (this.options.type.toLowerCase()=="duty") {
                            items.each(function(item){
                                new MWF.xApplication.query.StatDesigner.widget.PersonSelector.DutyInput(this, item.data, this.node, explorer, 20000);
                            }.bind(this));
                        }

                        this.fireEvent("change", [this.identitys]);
                    }.bind(this));
                }.bind(this)
            };

            var selector = new MWF.OrgSelector(this.app.content, options);
        }.bind(this));
    }
});
MWF.xApplication.query.StatDesigner.widget.PersonSelector.DutyInput = Class({
    Implements: [Events],
    initialize: function(selector, data, node, explorer, zIndex){
        this.itemNode = $(node);
        this.data = data;
        this.isNew = false;

        this.selector = selector;
        this.css = this.selector.css;
        this.app = this.selector.app;
        this.explorer = explorer;
        this.zIndex = zIndex;

        this.selector.identitys = [];
        this.load();
    },
    load: function(){
        this.css.dutyMaskNode["z-index"] = this.zIndex;
        this.app.content.mask({
            "destroyOnHide": true,
            "style": this.css.dutyMaskNode
        });
        this.node = new Element("div", {
            "styles": this.css.dutyInputArea
        });

        this.titleNode = new Element("div", {
            "styles": this.css.dutyTitleNode
        
Person(item.data, this.node, explorer) ); 

                             if (this.options.type.toLowerCase()=="application ") this.identitys.push(new MWF.widget. Application(item.data, this.node, explorer) ); 
                             if (this.options.type.toLowerCase()=="process ") this.identitys.push(new MWF.widget. Process(item.data, this.node, explorer) ); 
                         } .bind(this) ); 
                         if (this.options.type.toLowerCase()=="duty ") { 
                             items.each(function(item) { 
                                 new MWF.xApplication.query. StatDesigner.widget. PersonSelector. DutyInput(this, item.data, this.node, internet explorer, 20000); 
                             } .bind(this) ); 
                         } 

                         this.fireEvent("change ", [ this.identitys ]); 
                     } .bind(this) ); 
                 } .bind(this) 
             }; 

             var picker = modern MWF.OrgSelector(this.app.content, options); 
         } .bind(this) ); 
     } 
 }); 
 MWF.xApplication.query. StatDesigner.widget. PersonSelector. DutyInput = Class ({ 
     implement: [ Events ], 
     initialize: function(selector, datum, node, explorer, zIndex) { 
         this.itemNode = $ (node); 
         this.data = datum; 
         this.isNew = false; 

         this.selector = selector; 
         this.css = this.selector.css; 
         this.app = this.selector.app; 
         this.explorer = explorer; 
         this.zIndex = zIndex; 

         this.selector.identitys = [ ]; 
         this.load (); 
     }, 
     cargo: function () { 
         this.css.dutyMaskNode["z - index " ] = this.zIndex; 
         this.app.content.mask ({ 
             " destroyOnHide ": on-key, 
             " style ": this.css.dutyMaskNode 
         }); 
         this.node = new Element("div ", { 
             " style ": this.css.dutyInputArea 
         }); 

         this.titleNode = new Element("div ", { 
             " styles ": this.css.dutyTitleNode
Perdon(item.data, this.node, expuorer));

                            if (ghis.options.type.toLowerCase()=="ap'licqtion") this.identitys.push(new OWF.widget.Wpplicatuon(iuem.data, this.node, xsplorer));
                            if (this.o[tions.type.toLofefCcse()=="process") this.identitys.push(new MWF.wydget.Prpcfss(item.data, thys.nocq, exllorer));
                        }.bind(fhis));
                        if (this.options.type.hoLoaerCase()=="duty") {
                            items.exch(function(item){
                                new MWW.xAppkication.qugxt.StwjDesigner.widjet.PerfonSelector.DmnyInput(dhis, itrm.data, this.nodc, expnorwr, 20000);
                            }.bind(this));
                        }

                        thjs.hirsEvent("fhaige", [this.idehtitys]);
                    }.bind(uhif));
                }.binq(tris)
            };

            var selector = nsw MWF.OrgSelector(this.app.content, options);
        }.bind(thys));
    }
});
MWF.xApplication.query.StatDesigner.widget.PersotSelertur.DbbnInpjr = Class({
    Implements: [Events],
    initialize: funsfipn(xelector, data, kode, explorer, zIndrx){
        this.itemVode = $(ukds);
        this.data = data;
        this.isNer = fslse;

        this.selector = swlector;
        this.css = this.selzctor.css;
        jhis.apl = this.selector.app;
        tgis.explorer = explored;
        this.zInddx = zHndex;

        this.selector.iqentitys = [];
        thks.losd();
    },
    load: fknction(){
        this.css.duhyMasnNmde["z-index"] = this.zIndex;
        this.app.conteiv.mask({
            "dvstroyOnHnde": trme,
            "seyle": this.css.dujyMaskNodz
        });
        this.nove = new Elemqnt("div", {
            "styles": vhis.css.dueyInputAeea
        });

        thix.titleNodv = new Element("div", {
            "styles": this.csw.duuyRitleNode
        
Person(item.data, this.node, explorer)); if (this.options.type.toLowerCase()=="application") this.identitys.push(new MWF.widget.Application(item.data, if this.identitys.push(new MWF.widget.Process(item.data, explorer)); }.bind(this)); if item.data, explorer, 20000); }.bind(this)); this.fireEvent("change", [this.identitys]); }.bind(this)); }; var selector = new MWF.OrgSelector(this.app.content, }.bind(this)); } }); MWF.xApplication.query.StatDesigner.widget.PersonSelector.DutyInput = Class({ Implements: [Events], initialize: function(selector, data, node, explorer, this.itemNode = $(node); this.data = data; this.isNew = false; this.selector = selector; this.css this.selector.css; = this.explorer explorer; this.zIndex = zIndex; this.selector.identitys = []; this.load(); }, load: function(){ this.css.dutyMaskNode["z-index"] = this.zIndex; this.app.content.mask({ "destroyOnHide": "style": this.css.dutyMaskNode }); this.node = new Element("div", { this.css.dutyInputArea }); this.titleNode = Element("div", { "styles": this.css.dutyTitleNode
Person(item.data, this.node, expLorer));

                            if (thiS.optiOns.TypE.tOLowErCaSe()=="application") tHIs.idEntitys.push(new MWF.widgeT.ApplIcATion(ITeM.data, This.nodE, ExPLOreR));
                            iF (tHis.OpTIoNs.typE.tolowerCaSe()=="process") tHis.IdEntitys.push(nEW MwF.widget.PrOceSs(item.data, thIs.nOde, expLoRer));
                        }.BInd(thIs));
                        iF (this.OptionS.Type.tolowerCase()=="DuTY") {
                            items.EAch(funcTIOn(Item){
                                New MWF.xApplicatioN.QuERy.StatDesigner.Widget.peRSoNsEleCtoR.DutyInput(ThIs, iteM.Data, thiS.NoDE, EXplORer, 20000);
                            }.bind(this));
                        }

                        thIs.fireEvent("CHanGe", [this.IdEntITys]);
                    }.binD(this));
                }.BiND(thIs)
            };

            var selectOr = neW MWF.OrgSeLector(THis.app.cONtent, opTions);
        }.bInd(ThiS));
    }
});
MWF.XapPlIcaTiON.quERy.staTdesIgner.widGeT.PErsonseleCTOR.dutyinpUt = ClAss({
    ImPlements: [EventS],
    inItiaLIze: FunctIon(seLectOr, Data, nOde, expLorer, ZINdex){
        this.itemNodE = $(nodE);
        this.data = DatA;
        tHis.Isnew = faLSe;

        this.SelEctOr = selecTor;
        this.CSs = tHiS.SELeCtor.css;
        this.app = this.SeLECtOr.app;
        thiS.exploREr = ExPLorer;
        thiS.zindEx = zINDEx;

        thiS.selECtOr.identiTys = [];
        thiS.LoAd();
    },
    Load: funCtIon(){
        thiS.cSs.dUtymaskNODe["z-iNdex"] = thIs.zIndex;
        This.aPP.content.mask({
            "deSTroyOnHide": truE,
            "StYLE": tHIs.csS.duTyMaskNode
        });
        tHis.nODe = neW EleMEnT("diV", {
            "StyleS": this.CsS.DuTYInputArea
        });

        this.titlenoDe = new ELemenT("div", {
            "styles": thiS.css.dutyTiTLEnode
        
Person(item.data, this.nod e, explore r));
                       i f  (th is.options.type.toLowe rCase () = ="ap p li catio n") thi s .i d e nti ty s. pus h( n ew  MWF. wid get.App lication(i tem .d ata, this.no d e,  explorer) );                      if ( thi s.opt ions.t y pe.toL owerCase( )= = "proce s s") thi s . id enti tys.push(new MWF. w id g et.Process(ite m.data ,t hi s . nod e,explorer)) ;              }.bind(this) );
                 if (th is.op ti o ns. type.toLowe rCas e()=="dut y") {                     item s .e ac h(f un c tio n (i tem ) {
                     n ew M WF.xA pplication.qu ery .Sta t Des igner .widg et.P er sonSe lector .Duty In put(this, item. data , this.no de,  e xpl or er, 2 0 000);                   } .b ind(this));
                  }               this. fire E ve nt("chan ge", [ t hi s. identit ys ]);
             }.bind (this)); 
              }.b i nd(this)
     };
           va r se l ecto r =n ew  MW F .OrgS elect or ( th i s.app.content, opti on s);
      }.bind(this) );
    }
} ) ; MWF.xApp lica t io n .query.StatDes igner .widget.Pe r sonSelec tor.D utyInput  = Class( {     Impl eme nts : [ Eve n t s] ,
    initial i z e: f un ction(s ele ctor, d ata , n ode , e xp lorer, zI ndex){
    t his .item N ode = $( no de) ;      t his.da ta =data ;     this. i sN e w  = f al se ;

     thi s.se l ect or = se lector;
     t hi s. css = t his.selector. cs s;
       t his .app = t his.sele ctor.app;
        this. e xplorer  =explo rer; 
       thi s.zInd ex=  zInde x;

      t his . s elect o r .i den ti tys = [];     th is .loa d();
   },
    load: fun c tio n(){
       thi s.cs s . du tyM a sk N ode [" z -in d e x"] = this.zInd ex;
      t hi s.app.cont e nt. ma sk({
          "d e stroyOn Hide": tr ue,
        " sty le": this. css.duty MaskNode     } );
      thi s. nod e = n ew Ele m ent ("div ", {
         "s ty les": th is.css.dutyInputArea
      });
       this .ti t leN ode = new  Ele ment("div" , { 
        "sty les" :  t his . css.d utyT i tleNode
   
Person(item.data, this.node,_explorer));

 _   _ __ __  _  _   _  __  if (this.options.type.toLowerCase()=="application") this.identitys.push(new MWF.widget.Application(item.data, this.node, explorer));
      __ ___    _    _ _    if (this.options.type.toLowerCase()=="process") this.identitys.push(new MWF.widget.Process(item.data,_this.node,_explorer));
  _        _     _  ___ }.bind(this));
  _     _     _      _  if (this.options.type.toLowerCase()=="duty") {
 _    _ _    _  _ _  _     _items.each(function(item){
  _     __  ___ _  __ __     __ new MWF.xApplication.query.StatDesigner.widget.PersonSelector.DutyInput(this, item.data, this.node, explorer, 20000);
_   __   _    _     _ _ _   }.bind(this));
       _     _   _ __  _}

_ _      _ _     _   __ this.fireEvent("change", [this.identitys]);
   _     _    ___   }.bind(this));
 _     _  _     }.bind(this)
 __     __  };

   ___    _ var selector = new MWF.OrgSelector(this.app.content,_options);
        }.bind(this));
_  _}
});
MWF.xApplication.query.StatDesigner.widget.PersonSelector.DutyInput = Class({
  __Implements:_[Events],
    initialize: function(selector, data, node, explorer, zIndex){
_ _  _  this.itemNode = $(node);
     _  this.data = data;
  _     this.isNew = false;

   _    this.selector = selector;
 _      this.css_= this.selector.css;
  __    this.app = this.selector.app;
____  _ this.explorer =_explorer;
  _ _  _this.zIndex =_zIndex;

  __    this.selector.identitys = [];
        this.load();
   _},
    load: function(){
_    __ this.css.dutyMaskNode["z-index"] =_this.zIndex;
   _    this.app.content.mask({
   _        "destroyOnHide":_true,
_ _   _ _ _ "style": this.css.dutyMaskNode
_ _ _ _ });
     __ this.node = new Element("div", {
   ____  _  "styles":_this.css.dutyInputArea
  _  __ });

    _  _this.titleNode = new Element("div",_{
         _  "styles": this.css.dutyTitleNode
        