Comparing version 1.0.45 to 1.0.46
var typedoc = typedoc || {}; | ||
typedoc.search = typedoc.search || {}; | ||
typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":1,"name":"\"interfaces/IEvent\"","url":"modules/_interfaces_ievent_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"IEvent","url":"interfaces/_interfaces_ievent_.ievent.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IEvent\""},{"id":2,"kind":2048,"name":"on","url":"interfaces/_interfaces_ievent_.ievent.html#on","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":3,"kind":2048,"name":"trigger","url":"interfaces/_interfaces_ievent_.ievent.html#trigger","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":4,"kind":2048,"name":"off","url":"interfaces/_interfaces_ievent_.ievent.html#off","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":5,"kind":1,"name":"\"interfaces/IModel\"","url":"modules/_interfaces_imodel_.html","classes":"tsd-kind-external-module"},{"id":6,"kind":256,"name":"IModel","url":"interfaces/_interfaces_imodel_.imodel.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IModel\""},{"id":7,"kind":2048,"name":"get","url":"interfaces/_interfaces_imodel_.imodel.html#get","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":8,"kind":2048,"name":"set","url":"interfaces/_interfaces_imodel_.imodel.html#set","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":9,"kind":2048,"name":"has","url":"interfaces/_interfaces_imodel_.imodel.html#has","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":10,"kind":2048,"name":"drop","url":"interfaces/_interfaces_imodel_.imodel.html#drop","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":11,"kind":2048,"name":"destroy","url":"interfaces/_interfaces_imodel_.imodel.html#destroy","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":12,"kind":2048,"name":"reset","url":"interfaces/_interfaces_imodel_.imodel.html#reset","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":13,"kind":2048,"name":"toJSON","url":"interfaces/_interfaces_imodel_.imodel.html#tojson","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":14,"kind":1,"name":"\"interfaces/ICollection\"","url":"modules/_interfaces_icollection_.html","classes":"tsd-kind-external-module"},{"id":15,"kind":256,"name":"ICollection","url":"interfaces/_interfaces_icollection_.icollection.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"interfaces/ICollection\""},{"id":16,"kind":2048,"name":"add","url":"interfaces/_interfaces_icollection_.icollection.html#add","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":17,"kind":2048,"name":"remove","url":"interfaces/_interfaces_icollection_.icollection.html#remove","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":18,"kind":2048,"name":"clear","url":"interfaces/_interfaces_icollection_.icollection.html#clear","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":19,"kind":2048,"name":"has","url":"interfaces/_interfaces_icollection_.icollection.html#has","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":20,"kind":2048,"name":"getAll","url":"interfaces/_interfaces_icollection_.icollection.html#getall","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":21,"kind":2048,"name":"merge","url":"interfaces/_interfaces_icollection_.icollection.html#merge","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":22,"kind":2048,"name":"filter","url":"interfaces/_interfaces_icollection_.icollection.html#filter","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":23,"kind":2048,"name":"map","url":"interfaces/_interfaces_icollection_.icollection.html#map","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":24,"kind":2048,"name":"reduce","url":"interfaces/_interfaces_icollection_.icollection.html#reduce","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":25,"kind":2048,"name":"getById","url":"interfaces/_interfaces_icollection_.icollection.html#getbyid","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":26,"kind":2048,"name":"find","url":"interfaces/_interfaces_icollection_.icollection.html#find","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":27,"kind":2048,"name":"reset","url":"interfaces/_interfaces_icollection_.icollection.html#reset","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":28,"kind":2048,"name":"getLength","url":"interfaces/_interfaces_icollection_.icollection.html#getlength","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":29,"kind":2048,"name":"each","url":"interfaces/_interfaces_icollection_.icollection.html#each","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":30,"kind":2048,"name":"toJSON","url":"interfaces/_interfaces_icollection_.icollection.html#tojson","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":31,"kind":2048,"name":"sortBy","url":"interfaces/_interfaces_icollection_.icollection.html#sortby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":32,"kind":2048,"name":"toArray","url":"interfaces/_interfaces_icollection_.icollection.html#toarray","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":33,"kind":2048,"name":"chunk","url":"interfaces/_interfaces_icollection_.icollection.html#chunk","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":34,"kind":2048,"name":"countBy","url":"interfaces/_interfaces_icollection_.icollection.html#countby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":35,"kind":2048,"name":"groupBy","url":"interfaces/_interfaces_icollection_.icollection.html#groupby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":36,"kind":2048,"name":"destroy","url":"interfaces/_interfaces_icollection_.icollection.html#destroy","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":37,"kind":1,"name":"\"classes/Event\"","url":"modules/_classes_event_.html","classes":"tsd-kind-external-module"},{"id":38,"kind":128,"name":"Event","url":"classes/_classes_event_.event.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"classes/Event\""},{"id":39,"kind":1024,"name":"_events","url":"classes/_classes_event_.event.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":40,"kind":2048,"name":"on","url":"classes/_classes_event_.event.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":41,"kind":2048,"name":"_createEvent","url":"classes/_classes_event_.event.html#_createevent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":42,"kind":2048,"name":"off","url":"classes/_classes_event_.event.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":43,"kind":2048,"name":"trigger","url":"classes/_classes_event_.event.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":44,"kind":2048,"name":"_offAllListener","url":"classes/_classes_event_.event.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":45,"kind":1,"name":"\"classes/Model\"","url":"modules/_classes_model_.html","classes":"tsd-kind-external-module"},{"id":46,"kind":128,"name":"Model","url":"classes/_classes_model_.model.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"classes/Model\""},{"id":47,"kind":1024,"name":"_model","url":"classes/_classes_model_.model.html#_model","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":48,"kind":512,"name":"constructor","url":"classes/_classes_model_.model.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":49,"kind":2048,"name":"get","url":"classes/_classes_model_.model.html#get","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":50,"kind":2048,"name":"set","url":"classes/_classes_model_.model.html#set","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":51,"kind":2048,"name":"has","url":"classes/_classes_model_.model.html#has","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":52,"kind":2048,"name":"toJSON","url":"classes/_classes_model_.model.html#tojson","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":53,"kind":2048,"name":"drop","url":"classes/_classes_model_.model.html#drop","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":54,"kind":2048,"name":"reset","url":"classes/_classes_model_.model.html#reset","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":55,"kind":2048,"name":"destroy","url":"classes/_classes_model_.model.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":56,"kind":2048,"name":"_destroyModel","url":"classes/_classes_model_.model.html#_destroymodel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":57,"kind":1024,"name":"_events","url":"classes/_classes_model_.model.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":58,"kind":2048,"name":"on","url":"classes/_classes_model_.model.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":59,"kind":2048,"name":"off","url":"classes/_classes_model_.model.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":60,"kind":2048,"name":"trigger","url":"classes/_classes_model_.model.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":61,"kind":2048,"name":"_offAllListener","url":"classes/_classes_model_.model.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":62,"kind":1,"name":"\"classes/Collection\"","url":"modules/_classes_collection_.html","classes":"tsd-kind-external-module"},{"id":63,"kind":128,"name":"Collection","url":"classes/_classes_collection_.collection.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter tsd-is-not-exported","parent":"\"classes/Collection\""},{"id":64,"kind":1024,"name":"_models","url":"classes/_classes_collection_.collection.html#_models","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":65,"kind":512,"name":"constructor","url":"classes/_classes_collection_.collection.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":66,"kind":2048,"name":"_init","url":"classes/_classes_collection_.collection.html#_init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":67,"kind":2048,"name":"_isModel","url":"classes/_classes_collection_.collection.html#_ismodel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":68,"kind":2048,"name":"_clearCollection","url":"classes/_classes_collection_.collection.html#_clearcollection","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":69,"kind":2048,"name":"add","url":"classes/_classes_collection_.collection.html#add","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":70,"kind":2048,"name":"remove","url":"classes/_classes_collection_.collection.html#remove","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":71,"kind":2048,"name":"has","url":"classes/_classes_collection_.collection.html#has","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":72,"kind":2048,"name":"clear","url":"classes/_classes_collection_.collection.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":73,"kind":2048,"name":"filter","url":"classes/_classes_collection_.collection.html#filter","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":74,"kind":2048,"name":"map","url":"classes/_classes_collection_.collection.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":75,"kind":2048,"name":"getById","url":"classes/_classes_collection_.collection.html#getbyid","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":76,"kind":2048,"name":"find","url":"classes/_classes_collection_.collection.html#find","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":77,"kind":2048,"name":"reduce","url":"classes/_classes_collection_.collection.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":78,"kind":2048,"name":"getAll","url":"classes/_classes_collection_.collection.html#getall","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":79,"kind":2048,"name":"each","url":"classes/_classes_collection_.collection.html#each","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":80,"kind":2048,"name":"merge","url":"classes/_classes_collection_.collection.html#merge","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":81,"kind":2048,"name":"reset","url":"classes/_classes_collection_.collection.html#reset","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":82,"kind":2048,"name":"getLength","url":"classes/_classes_collection_.collection.html#getlength","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":83,"kind":2048,"name":"toJSON","url":"classes/_classes_collection_.collection.html#tojson","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":84,"kind":2048,"name":"sortBy","url":"classes/_classes_collection_.collection.html#sortby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":85,"kind":2048,"name":"toArray","url":"classes/_classes_collection_.collection.html#toarray","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":86,"kind":2048,"name":"chunk","url":"classes/_classes_collection_.collection.html#chunk","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":87,"kind":2048,"name":"countBy","url":"classes/_classes_collection_.collection.html#countby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":88,"kind":2048,"name":"groupBy","url":"classes/_classes_collection_.collection.html#groupby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":89,"kind":2048,"name":"destroy","url":"classes/_classes_collection_.collection.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":90,"kind":2048,"name":"_destroyCollection","url":"classes/_classes_collection_.collection.html#_destroycollection","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":91,"kind":1024,"name":"_events","url":"classes/_classes_collection_.collection.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":92,"kind":2048,"name":"on","url":"classes/_classes_collection_.collection.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":93,"kind":2048,"name":"off","url":"classes/_classes_collection_.collection.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":94,"kind":2048,"name":"trigger","url":"classes/_classes_collection_.collection.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":95,"kind":2048,"name":"_offAllListener","url":"classes/_classes_collection_.collection.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":96,"kind":1,"name":"\"lanurite\"","url":"modules/_lanurite_.html","classes":"tsd-kind-external-module"},{"id":97,"kind":32,"name":"___VERSION__","url":"modules/_lanurite_.html#___version__","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"lanurite\""}]}; | ||
typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","4194304":"Type alias"},"rows":[{"id":0,"kind":1,"name":"\"interfaces/IModel\"","url":"modules/_interfaces_imodel_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"IModel","url":"interfaces/_interfaces_imodel_.imodel.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IModel\""},{"id":2,"kind":2048,"name":"get","url":"interfaces/_interfaces_imodel_.imodel.html#get","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":3,"kind":2048,"name":"set","url":"interfaces/_interfaces_imodel_.imodel.html#set","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":4,"kind":2048,"name":"has","url":"interfaces/_interfaces_imodel_.imodel.html#has","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":5,"kind":2048,"name":"drop","url":"interfaces/_interfaces_imodel_.imodel.html#drop","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":6,"kind":2048,"name":"destroy","url":"interfaces/_interfaces_imodel_.imodel.html#destroy","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":7,"kind":2048,"name":"reset","url":"interfaces/_interfaces_imodel_.imodel.html#reset","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":8,"kind":2048,"name":"toJSON","url":"interfaces/_interfaces_imodel_.imodel.html#tojson","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":9,"kind":1,"name":"\"interfaces/IPredicate\"","url":"modules/_interfaces_ipredicate_.html","classes":"tsd-kind-external-module"},{"id":10,"kind":4194304,"name":"IPredicate","url":"modules/_interfaces_ipredicate_.html#ipredicate","classes":"tsd-kind-type-alias tsd-parent-kind-external-module","parent":"\"interfaces/IPredicate\""},{"id":11,"kind":65536,"name":"__type","url":"modules/_interfaces_ipredicate_.html#ipredicate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"interfaces/IPredicate\".IPredicate"},{"id":12,"kind":1,"name":"\"interfaces/ICollection\"","url":"modules/_interfaces_icollection_.html","classes":"tsd-kind-external-module"},{"id":13,"kind":256,"name":"ICollection","url":"interfaces/_interfaces_icollection_.icollection.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"interfaces/ICollection\""},{"id":14,"kind":2048,"name":"add","url":"interfaces/_interfaces_icollection_.icollection.html#add","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":15,"kind":2048,"name":"remove","url":"interfaces/_interfaces_icollection_.icollection.html#remove","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":16,"kind":2048,"name":"clear","url":"interfaces/_interfaces_icollection_.icollection.html#clear","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":17,"kind":2048,"name":"has","url":"interfaces/_interfaces_icollection_.icollection.html#has","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":18,"kind":2048,"name":"getAll","url":"interfaces/_interfaces_icollection_.icollection.html#getall","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":19,"kind":2048,"name":"merge","url":"interfaces/_interfaces_icollection_.icollection.html#merge","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":20,"kind":2048,"name":"filter","url":"interfaces/_interfaces_icollection_.icollection.html#filter","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":21,"kind":2048,"name":"map","url":"interfaces/_interfaces_icollection_.icollection.html#map","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":22,"kind":2048,"name":"reduce","url":"interfaces/_interfaces_icollection_.icollection.html#reduce","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":23,"kind":2048,"name":"getById","url":"interfaces/_interfaces_icollection_.icollection.html#getbyid","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":24,"kind":2048,"name":"find","url":"interfaces/_interfaces_icollection_.icollection.html#find","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":25,"kind":2048,"name":"reset","url":"interfaces/_interfaces_icollection_.icollection.html#reset","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":26,"kind":2048,"name":"getLength","url":"interfaces/_interfaces_icollection_.icollection.html#getlength","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":27,"kind":2048,"name":"each","url":"interfaces/_interfaces_icollection_.icollection.html#each","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":28,"kind":2048,"name":"toJSON","url":"interfaces/_interfaces_icollection_.icollection.html#tojson","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":29,"kind":2048,"name":"sortBy","url":"interfaces/_interfaces_icollection_.icollection.html#sortby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":30,"kind":2048,"name":"toArray","url":"interfaces/_interfaces_icollection_.icollection.html#toarray","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":31,"kind":2048,"name":"chunk","url":"interfaces/_interfaces_icollection_.icollection.html#chunk","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":32,"kind":2048,"name":"countBy","url":"interfaces/_interfaces_icollection_.icollection.html#countby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":33,"kind":2048,"name":"groupBy","url":"interfaces/_interfaces_icollection_.icollection.html#groupby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":34,"kind":2048,"name":"destroy","url":"interfaces/_interfaces_icollection_.icollection.html#destroy","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":35,"kind":1,"name":"\"interfaces/IHandler\"","url":"modules/_interfaces_ihandler_.html","classes":"tsd-kind-external-module"},{"id":36,"kind":256,"name":"IHandler","url":"interfaces/_interfaces_ihandler_.ihandler.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IHandler\""},{"id":37,"kind":1024,"name":"name","url":"interfaces/_interfaces_ihandler_.ihandler.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces/IHandler\".IHandler"},{"id":38,"kind":1,"name":"\"interfaces/IEvent\"","url":"modules/_interfaces_ievent_.html","classes":"tsd-kind-external-module"},{"id":39,"kind":256,"name":"IEvent","url":"interfaces/_interfaces_ievent_.ievent.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IEvent\""},{"id":40,"kind":2048,"name":"on","url":"interfaces/_interfaces_ievent_.ievent.html#on","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":41,"kind":2048,"name":"trigger","url":"interfaces/_interfaces_ievent_.ievent.html#trigger","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":42,"kind":2048,"name":"off","url":"interfaces/_interfaces_ievent_.ievent.html#off","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":43,"kind":1,"name":"\"classes/Event\"","url":"modules/_classes_event_.html","classes":"tsd-kind-external-module"},{"id":44,"kind":128,"name":"Event","url":"classes/_classes_event_.event.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"classes/Event\""},{"id":45,"kind":1024,"name":"_events","url":"classes/_classes_event_.event.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":46,"kind":65536,"name":"__type","url":"classes/_classes_event_.event.html#_events.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Event\".Event._events"},{"id":47,"kind":2048,"name":"on","url":"classes/_classes_event_.event.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":48,"kind":2048,"name":"_createEvent","url":"classes/_classes_event_.event.html#_createevent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":49,"kind":2048,"name":"off","url":"classes/_classes_event_.event.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":50,"kind":2048,"name":"trigger","url":"classes/_classes_event_.event.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":51,"kind":2048,"name":"_offAllListener","url":"classes/_classes_event_.event.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":52,"kind":2048,"name":"_isUndefined","url":"classes/_classes_event_.event.html#_isundefined","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-static tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":53,"kind":1,"name":"\"classes/Model\"","url":"modules/_classes_model_.html","classes":"tsd-kind-external-module"},{"id":54,"kind":128,"name":"Model","url":"classes/_classes_model_.model.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"classes/Model\""},{"id":55,"kind":1024,"name":"_model","url":"classes/_classes_model_.model.html#_model","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":56,"kind":65536,"name":"__type","url":"classes/_classes_model_.model.html#_model.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Model\".Model._model"},{"id":57,"kind":512,"name":"constructor","url":"classes/_classes_model_.model.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":58,"kind":2048,"name":"get","url":"classes/_classes_model_.model.html#get","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":59,"kind":2048,"name":"set","url":"classes/_classes_model_.model.html#set","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":60,"kind":2048,"name":"has","url":"classes/_classes_model_.model.html#has","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":61,"kind":2048,"name":"toJSON","url":"classes/_classes_model_.model.html#tojson","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":62,"kind":2048,"name":"drop","url":"classes/_classes_model_.model.html#drop","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":63,"kind":2048,"name":"reset","url":"classes/_classes_model_.model.html#reset","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":64,"kind":2048,"name":"destroy","url":"classes/_classes_model_.model.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":65,"kind":2048,"name":"_destroyModel","url":"classes/_classes_model_.model.html#_destroymodel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":66,"kind":2048,"name":"isModel","url":"classes/_classes_model_.model.html#ismodel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":67,"kind":1024,"name":"_events","url":"classes/_classes_model_.model.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":68,"kind":65536,"name":"__type","url":"classes/_classes_model_.model.html#_events.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Model\".Model._events"},{"id":69,"kind":2048,"name":"on","url":"classes/_classes_model_.model.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":70,"kind":2048,"name":"off","url":"classes/_classes_model_.model.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":71,"kind":2048,"name":"trigger","url":"classes/_classes_model_.model.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":72,"kind":2048,"name":"_offAllListener","url":"classes/_classes_model_.model.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":73,"kind":2048,"name":"_isUndefined","url":"classes/_classes_model_.model.html#_isundefined","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-static tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":74,"kind":1,"name":"\"classes/Collection\"","url":"modules/_classes_collection_.html","classes":"tsd-kind-external-module"},{"id":75,"kind":128,"name":"Collection","url":"classes/_classes_collection_.collection.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter tsd-is-not-exported","parent":"\"classes/Collection\""},{"id":76,"kind":1024,"name":"Type","url":"classes/_classes_collection_.collection.html#type","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":77,"kind":65536,"name":"__type","url":"classes/_classes_collection_.collection.html#type.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Collection\".Collection.Type"},{"id":78,"kind":1024,"name":"_models","url":"classes/_classes_collection_.collection.html#_models","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":79,"kind":65536,"name":"__type","url":"classes/_classes_collection_.collection.html#_models.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Collection\".Collection._models"},{"id":80,"kind":512,"name":"constructor","url":"classes/_classes_collection_.collection.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":81,"kind":2048,"name":"_init","url":"classes/_classes_collection_.collection.html#_init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":82,"kind":2048,"name":"_clearCollection","url":"classes/_classes_collection_.collection.html#_clearcollection","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":83,"kind":2048,"name":"add","url":"classes/_classes_collection_.collection.html#add","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":84,"kind":2048,"name":"remove","url":"classes/_classes_collection_.collection.html#remove","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":85,"kind":2048,"name":"has","url":"classes/_classes_collection_.collection.html#has","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":86,"kind":2048,"name":"clear","url":"classes/_classes_collection_.collection.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":87,"kind":2048,"name":"filter","url":"classes/_classes_collection_.collection.html#filter","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":88,"kind":2048,"name":"map","url":"classes/_classes_collection_.collection.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":89,"kind":2048,"name":"getById","url":"classes/_classes_collection_.collection.html#getbyid","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":90,"kind":2048,"name":"find","url":"classes/_classes_collection_.collection.html#find","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":91,"kind":2048,"name":"reduce","url":"classes/_classes_collection_.collection.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":92,"kind":2048,"name":"getAll","url":"classes/_classes_collection_.collection.html#getall","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":93,"kind":2048,"name":"each","url":"classes/_classes_collection_.collection.html#each","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":94,"kind":2048,"name":"merge","url":"classes/_classes_collection_.collection.html#merge","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":95,"kind":2048,"name":"reset","url":"classes/_classes_collection_.collection.html#reset","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":96,"kind":2048,"name":"getLength","url":"classes/_classes_collection_.collection.html#getlength","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":97,"kind":2048,"name":"toJSON","url":"classes/_classes_collection_.collection.html#tojson","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":98,"kind":2048,"name":"sortBy","url":"classes/_classes_collection_.collection.html#sortby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":99,"kind":2048,"name":"toArray","url":"classes/_classes_collection_.collection.html#toarray","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":100,"kind":2048,"name":"chunk","url":"classes/_classes_collection_.collection.html#chunk","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":101,"kind":2048,"name":"countBy","url":"classes/_classes_collection_.collection.html#countby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":102,"kind":2048,"name":"groupBy","url":"classes/_classes_collection_.collection.html#groupby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":103,"kind":2048,"name":"destroy","url":"classes/_classes_collection_.collection.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":104,"kind":2048,"name":"_destroyCollection","url":"classes/_classes_collection_.collection.html#_destroycollection","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":105,"kind":1024,"name":"_events","url":"classes/_classes_collection_.collection.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":106,"kind":65536,"name":"__type","url":"classes/_classes_collection_.collection.html#_events.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Collection\".Collection._events"},{"id":107,"kind":2048,"name":"on","url":"classes/_classes_collection_.collection.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":108,"kind":2048,"name":"off","url":"classes/_classes_collection_.collection.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":109,"kind":2048,"name":"trigger","url":"classes/_classes_collection_.collection.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":110,"kind":2048,"name":"_offAllListener","url":"classes/_classes_collection_.collection.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":111,"kind":2048,"name":"_isUndefined","url":"classes/_classes_collection_.collection.html#_isundefined","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-static tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":112,"kind":1,"name":"\"lanurite\"","url":"modules/_lanurite_.html","classes":"tsd-kind-external-module"},{"id":113,"kind":32,"name":"___VERSION__","url":"modules/_lanurite_.html#___version__","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"lanurite\""}]}; |
@@ -40,3 +40,3 @@ { | ||
"typings": "src/lanurite.d.ts", | ||
"version": "1.0.45", | ||
"version": "1.0.46", | ||
"license": "MIT", | ||
@@ -43,0 +43,0 @@ "repository": { |
@@ -11,26 +11,123 @@ import { ICollection } from "../interfaces/ICollection"; | ||
private _clearCollection(); | ||
/** | ||
* Add Model to Collection | ||
* @param model | ||
* @returns {boolean} | ||
*/ | ||
add(model: T | IModel): boolean; | ||
/** | ||
* Remove Model from Collection | ||
* @param model | ||
* @returns {boolean} | ||
*/ | ||
remove(model: T | IModel): boolean; | ||
/** | ||
* Check existing Model in Collection | ||
* @param model | ||
* @returns {boolean} | ||
*/ | ||
has(model: T | IModel): boolean; | ||
/** | ||
* Clear Collection, events will be saving | ||
*/ | ||
clear(): void; | ||
/** | ||
* Filtering collection by predicate | ||
* @param predicate | ||
* @returns {S[]} | ||
*/ | ||
filter(predicate: IPredicate): T[]; | ||
/** | ||
* Create new Array from Collection | ||
* @param predicate | ||
* @returns {TResult[]} | ||
*/ | ||
map(predicate: IPredicate): any[]; | ||
/** | ||
* Get Model by Id | ||
* @param id | ||
* @returns {any} | ||
*/ | ||
getById(id: string): T | IModel; | ||
/** | ||
* Find by predicate in Collection | ||
* @param predicate | ||
* @param startIndex | ||
* @returns {undefined|S} | ||
*/ | ||
find(predicate: IPredicate, startIndex?: number): T | undefined; | ||
/** | ||
* Reduce new Collection | ||
* @param predicate | ||
* @param accum | ||
* @returns {{}|undefined|null} | ||
*/ | ||
reduce(predicate: IPredicate, accum?: any): any; | ||
/** | ||
* Get Array from Collection | ||
* @returns {T[]} | ||
*/ | ||
getAll(): T[]; | ||
/** | ||
* Iterate collection by predicate | ||
* @param predicate | ||
* @returns {any} | ||
*/ | ||
each(predicate: IPredicate): T[]; | ||
/** | ||
* Merge collection with array or another collection | ||
* @param collection | ||
* @returns {any} | ||
*/ | ||
merge(collection: T[] | ICollection<T> | any[]): any[] | T[]; | ||
reset(array?: any[]): void; | ||
/** | ||
* Reset Collection with new Array of Model or JSON | ||
* @param array | ||
*/ | ||
reset(array?: any[] | T[]): void; | ||
/** | ||
* Get Collection length | ||
* @returns {number} | ||
*/ | ||
getLength(): number; | ||
/** | ||
* Return JSOn from Collection | ||
* @returns {any[]} | ||
*/ | ||
toJSON(): any; | ||
/** | ||
* Sort element with predicate | ||
* @param predicate | ||
*/ | ||
sortBy(predicate: IPredicate): void; | ||
/** | ||
* Get Array from Collection | ||
* @returns {T[]} | ||
*/ | ||
toArray(): T[]; | ||
/** | ||
* Chunk Array on size | ||
* @param size | ||
* @returns {T[][]} | ||
*/ | ||
chunk(size?: number): T[][]; | ||
/** | ||
* Count element by predicate | ||
* @param predicate | ||
* @returns {Dictionary<number>} | ||
*/ | ||
countBy(predicate: IPredicate): { | ||
[key: string]: number; | ||
}; | ||
/** | ||
* Group Collection ny predicate | ||
* @param predicate | ||
* @returns {Dictionary<({}|undefined|null)[]>} | ||
*/ | ||
groupBy(predicate: IPredicate): { | ||
[key: string]: T[]; | ||
}; | ||
/** | ||
* Destroy Collection | ||
*/ | ||
destroy(): void; | ||
@@ -37,0 +134,0 @@ private _destroyCollection(); |
@@ -47,2 +47,7 @@ "use strict"; | ||
}; | ||
/** | ||
* Add Model to Collection | ||
* @param model | ||
* @returns {boolean} | ||
*/ | ||
Collection.prototype.add = function (model) { | ||
@@ -58,2 +63,7 @@ if (Model_1.Model.isModel(model)) { | ||
}; | ||
/** | ||
* Remove Model from Collection | ||
* @param model | ||
* @returns {boolean} | ||
*/ | ||
Collection.prototype.remove = function (model) { | ||
@@ -69,5 +79,13 @@ if (Model_1.Model.isModel(model)) { | ||
}; | ||
/** | ||
* Check existing Model in Collection | ||
* @param model | ||
* @returns {boolean} | ||
*/ | ||
Collection.prototype.has = function (model) { | ||
return !Event_1.Event._isUndefined(this._models[model.get("l_id")]); | ||
}; | ||
/** | ||
* Clear Collection, events will be saving | ||
*/ | ||
Collection.prototype.clear = function () { | ||
@@ -77,8 +95,23 @@ this._clearCollection(); | ||
}; | ||
/** | ||
* Filtering collection by predicate | ||
* @param predicate | ||
* @returns {S[]} | ||
*/ | ||
Collection.prototype.filter = function (predicate) { | ||
return _.filter(this.getAll(), predicate); | ||
}; | ||
/** | ||
* Create new Array from Collection | ||
* @param predicate | ||
* @returns {TResult[]} | ||
*/ | ||
Collection.prototype.map = function (predicate) { | ||
return _.map(this.getAll(), predicate); | ||
}; | ||
/** | ||
* Get Model by Id | ||
* @param id | ||
* @returns {any} | ||
*/ | ||
Collection.prototype.getById = function (id) { | ||
@@ -90,2 +123,8 @@ if (!Event_1.Event._isUndefined(this._models[id])) { | ||
}; | ||
/** | ||
* Find by predicate in Collection | ||
* @param predicate | ||
* @param startIndex | ||
* @returns {undefined|S} | ||
*/ | ||
Collection.prototype.find = function (predicate, startIndex) { | ||
@@ -95,2 +134,8 @@ if (startIndex === void 0) { startIndex = 0; } | ||
}; | ||
/** | ||
* Reduce new Collection | ||
* @param predicate | ||
* @param accum | ||
* @returns {{}|undefined|null} | ||
*/ | ||
Collection.prototype.reduce = function (predicate, accum) { | ||
@@ -100,8 +145,22 @@ if (accum === void 0) { accum = 0; } | ||
}; | ||
/** | ||
* Get Array from Collection | ||
* @returns {T[]} | ||
*/ | ||
Collection.prototype.getAll = function () { | ||
return _.values(this._models); | ||
}; | ||
/** | ||
* Iterate collection by predicate | ||
* @param predicate | ||
* @returns {any} | ||
*/ | ||
Collection.prototype.each = function (predicate) { | ||
return _.each(this.getAll(), predicate); | ||
}; | ||
/** | ||
* Merge collection with array or another collection | ||
* @param collection | ||
* @returns {any} | ||
*/ | ||
Collection.prototype.merge = function (collection) { | ||
@@ -127,2 +186,6 @@ var _this = this; | ||
}; | ||
/** | ||
* Reset Collection with new Array of Model or JSON | ||
* @param array | ||
*/ | ||
Collection.prototype.reset = function (array) { | ||
@@ -134,5 +197,13 @@ if (array === void 0) { array = []; } | ||
}; | ||
/** | ||
* Get Collection length | ||
* @returns {number} | ||
*/ | ||
Collection.prototype.getLength = function () { | ||
return Object.keys(this._models).length; | ||
}; | ||
/** | ||
* Return JSOn from Collection | ||
* @returns {any[]} | ||
*/ | ||
Collection.prototype.toJSON = function () { | ||
@@ -143,8 +214,21 @@ return _.map(this.getAll(), function (el) { | ||
}; | ||
/** | ||
* Sort element with predicate | ||
* @param predicate | ||
*/ | ||
Collection.prototype.sortBy = function (predicate) { | ||
this.reset(this.getAll().sort(predicate)); | ||
}; | ||
/** | ||
* Get Array from Collection | ||
* @returns {T[]} | ||
*/ | ||
Collection.prototype.toArray = function () { | ||
return this.getAll(); | ||
}; | ||
/** | ||
* Chunk Array on size | ||
* @param size | ||
* @returns {T[][]} | ||
*/ | ||
Collection.prototype.chunk = function (size) { | ||
@@ -154,8 +238,21 @@ if (size === void 0) { size = 1; } | ||
}; | ||
/** | ||
* Count element by predicate | ||
* @param predicate | ||
* @returns {Dictionary<number>} | ||
*/ | ||
Collection.prototype.countBy = function (predicate) { | ||
return _.countBy(this.getAll(), predicate); | ||
}; | ||
/** | ||
* Group Collection ny predicate | ||
* @param predicate | ||
* @returns {Dictionary<({}|undefined|null)[]>} | ||
*/ | ||
Collection.prototype.groupBy = function (predicate) { | ||
return _.groupBy(this.getAll(), predicate); | ||
}; | ||
/** | ||
* Destroy Collection | ||
*/ | ||
Collection.prototype.destroy = function () { | ||
@@ -162,0 +259,0 @@ this.trigger("destroy"); |
@@ -40,2 +40,7 @@ import * as _ from "lodash" | ||
/** | ||
* Add Model to Collection | ||
* @param model | ||
* @returns {boolean} | ||
*/ | ||
public add(model: T | IModel) { | ||
@@ -52,2 +57,7 @@ if (Model.isModel(model)) { | ||
/** | ||
* Remove Model from Collection | ||
* @param model | ||
* @returns {boolean} | ||
*/ | ||
public remove(model: T | IModel) { | ||
@@ -64,2 +74,7 @@ if (Model.isModel(model)) { | ||
/** | ||
* Check existing Model in Collection | ||
* @param model | ||
* @returns {boolean} | ||
*/ | ||
public has(model: T | IModel) { | ||
@@ -69,2 +84,5 @@ return !Event._isUndefined(this._models[model.get("l_id")]) | ||
/** | ||
* Clear Collection, events will be saving | ||
*/ | ||
public clear() { | ||
@@ -75,2 +93,7 @@ this._clearCollection() | ||
/** | ||
* Filtering collection by predicate | ||
* @param predicate | ||
* @returns {S[]} | ||
*/ | ||
public filter(predicate: IPredicate): T[] { | ||
@@ -80,2 +103,7 @@ return _.filter<T>(this.getAll(), predicate) | ||
/** | ||
* Create new Array from Collection | ||
* @param predicate | ||
* @returns {TResult[]} | ||
*/ | ||
public map(predicate: IPredicate): any[] { | ||
@@ -85,2 +113,7 @@ return _.map(this.getAll(), predicate) | ||
/** | ||
* Get Model by Id | ||
* @param id | ||
* @returns {any} | ||
*/ | ||
public getById(id: string): T | IModel { | ||
@@ -93,2 +126,8 @@ if (!Event._isUndefined(this._models[id])) { | ||
/** | ||
* Find by predicate in Collection | ||
* @param predicate | ||
* @param startIndex | ||
* @returns {undefined|S} | ||
*/ | ||
public find(predicate: IPredicate, startIndex: number = 0): T | undefined { | ||
@@ -98,2 +137,8 @@ return _.find<T>(this.getAll(), predicate, startIndex) | ||
/** | ||
* Reduce new Collection | ||
* @param predicate | ||
* @param accum | ||
* @returns {{}|undefined|null} | ||
*/ | ||
public reduce(predicate: IPredicate, accum: any = 0): any { | ||
@@ -103,2 +148,6 @@ return _.reduce(this.getAll(), predicate, accum) | ||
/** | ||
* Get Array from Collection | ||
* @returns {T[]} | ||
*/ | ||
public getAll(): T[] { | ||
@@ -108,2 +157,7 @@ return _.values<T>(this._models) | ||
/** | ||
* Iterate collection by predicate | ||
* @param predicate | ||
* @returns {any} | ||
*/ | ||
public each(predicate: IPredicate) { | ||
@@ -113,2 +167,7 @@ return _.each(this.getAll(), predicate) | ||
/** | ||
* Merge collection with array or another collection | ||
* @param collection | ||
* @returns {any} | ||
*/ | ||
public merge(collection: T[] | ICollection<T> | any[]) { | ||
@@ -135,3 +194,7 @@ if (_.isArray(collection)) { | ||
public reset(array: any[] = []) { | ||
/** | ||
* Reset Collection with new Array of Model or JSON | ||
* @param array | ||
*/ | ||
public reset(array: any[] | T[] = []) { | ||
this._clearCollection() | ||
@@ -142,2 +205,6 @@ this._init(array) | ||
/** | ||
* Get Collection length | ||
* @returns {number} | ||
*/ | ||
public getLength(): number { | ||
@@ -147,2 +214,6 @@ return Object.keys(this._models).length | ||
/** | ||
* Return JSOn from Collection | ||
* @returns {any[]} | ||
*/ | ||
public toJSON(): any { | ||
@@ -154,2 +225,6 @@ return _.map(this.getAll(), (el) => { | ||
/** | ||
* Sort element with predicate | ||
* @param predicate | ||
*/ | ||
public sortBy(predicate: IPredicate): void { | ||
@@ -159,2 +234,6 @@ this.reset(this.getAll().sort(predicate)) | ||
/** | ||
* Get Array from Collection | ||
* @returns {T[]} | ||
*/ | ||
public toArray(): T[] { | ||
@@ -164,2 +243,7 @@ return this.getAll() | ||
/** | ||
* Chunk Array on size | ||
* @param size | ||
* @returns {T[][]} | ||
*/ | ||
public chunk(size: number = 1): T[][] { | ||
@@ -169,2 +253,7 @@ return _.chunk(this.getAll(), size) | ||
/** | ||
* Count element by predicate | ||
* @param predicate | ||
* @returns {Dictionary<number>} | ||
*/ | ||
public countBy(predicate: IPredicate): { [key: string]: number } { | ||
@@ -174,2 +263,7 @@ return _.countBy(this.getAll(), predicate) | ||
/** | ||
* Group Collection ny predicate | ||
* @param predicate | ||
* @returns {Dictionary<({}|undefined|null)[]>} | ||
*/ | ||
public groupBy(predicate: IPredicate): { [key: string]: T[] } { | ||
@@ -179,2 +273,5 @@ return _.groupBy<T>(this.getAll(), predicate) | ||
/** | ||
* Destroy Collection | ||
*/ | ||
public destroy(): void { | ||
@@ -181,0 +278,0 @@ this.trigger("destroy") |
@@ -7,5 +7,20 @@ import { IEvent } from "../interfaces/IEvent"; | ||
}; | ||
/** | ||
* Add handler on Event | ||
* @param eventsName | ||
* @param handler | ||
*/ | ||
on(eventsName: string | string[], handler: IHandler): void; | ||
private _createEvent(event, handler); | ||
/** | ||
* Remove handler from Event | ||
* @param eventName | ||
* @param handler | ||
*/ | ||
off(eventName: string, handler?: IHandler): void; | ||
/** | ||
* Trigger Event with Param | ||
* @param eventName | ||
* @param eventParams | ||
*/ | ||
trigger(eventName: string, eventParams?: {} | undefined | null): void; | ||
@@ -12,0 +27,0 @@ protected _offAllListener(): void; |
@@ -7,2 +7,7 @@ "use strict"; | ||
} | ||
/** | ||
* Add handler on Event | ||
* @param eventsName | ||
* @param handler | ||
*/ | ||
Event.prototype.on = function (eventsName, handler) { | ||
@@ -24,2 +29,7 @@ var _this = this; | ||
}; | ||
/** | ||
* Remove handler from Event | ||
* @param eventName | ||
* @param handler | ||
*/ | ||
Event.prototype.off = function (eventName, handler) { | ||
@@ -34,2 +44,7 @@ if (handler && handler.name && handler.name.length) { | ||
}; | ||
/** | ||
* Trigger Event with Param | ||
* @param eventName | ||
* @param eventParams | ||
*/ | ||
Event.prototype.trigger = function (eventName, eventParams) { | ||
@@ -36,0 +51,0 @@ if (eventParams === void 0) { eventParams = {}; } |
@@ -7,2 +7,7 @@ import {IEvent} from "../interfaces/IEvent" | ||
/** | ||
* Add handler on Event | ||
* @param eventsName | ||
* @param handler | ||
*/ | ||
public on(eventsName: string | string[], handler: IHandler): void { | ||
@@ -25,2 +30,7 @@ if (Array.isArray(eventsName)) { | ||
/** | ||
* Remove handler from Event | ||
* @param eventName | ||
* @param handler | ||
*/ | ||
public off(eventName: string, handler?: IHandler): void { | ||
@@ -36,2 +46,7 @@ if (handler && handler.name && handler.name.length) { | ||
/** | ||
* Trigger Event with Param | ||
* @param eventName | ||
* @param eventParams | ||
*/ | ||
public trigger(eventName: string, eventParams: {} | undefined | null = {}): void { | ||
@@ -38,0 +53,0 @@ if (!Event._isUndefined(this._events[eventName])) { |
@@ -8,10 +8,41 @@ import { IModel } from "../interfaces/IModel"; | ||
}); | ||
/** | ||
* Get value by key | ||
* @param key | ||
* @returns {any} | ||
*/ | ||
get(key: string): any; | ||
/** | ||
* Set value on key in Models | ||
* @param key | ||
* @param value | ||
*/ | ||
set(key: string, value: any): void; | ||
/** | ||
* Checked key in Model | ||
* @param key | ||
* @returns {boolean} | ||
*/ | ||
has(key: string): boolean; | ||
/** | ||
* Get JSON from Model | ||
* @returns {{[p: string]: any}} | ||
*/ | ||
toJSON(): any; | ||
/** | ||
* Drop key from Model | ||
* @param key | ||
* @returns {boolean} | ||
*/ | ||
drop(key: string): boolean; | ||
/** | ||
* Reset Model by another value or Model | ||
* @param object | ||
*/ | ||
reset(object: { | ||
[key: string]: any; | ||
}): void; | ||
/** | ||
* Destroy Model | ||
*/ | ||
destroy(): void; | ||
@@ -18,0 +49,0 @@ private _destroyModel(); |
@@ -24,5 +24,15 @@ "use strict"; | ||
} | ||
/** | ||
* Get value by key | ||
* @param key | ||
* @returns {any} | ||
*/ | ||
Model.prototype.get = function (key) { | ||
return this._model[key]; | ||
}; | ||
/** | ||
* Set value on key in Models | ||
* @param key | ||
* @param value | ||
*/ | ||
Model.prototype.set = function (key, value) { | ||
@@ -39,8 +49,22 @@ if (this.has(key)) { | ||
}; | ||
/** | ||
* Checked key in Model | ||
* @param key | ||
* @returns {boolean} | ||
*/ | ||
Model.prototype.has = function (key) { | ||
return !Event_1.Event._isUndefined(this._model[key]); | ||
}; | ||
/** | ||
* Get JSON from Model | ||
* @returns {{[p: string]: any}} | ||
*/ | ||
Model.prototype.toJSON = function () { | ||
return _.clone(this._model); | ||
}; | ||
/** | ||
* Drop key from Model | ||
* @param key | ||
* @returns {boolean} | ||
*/ | ||
Model.prototype.drop = function (key) { | ||
@@ -53,2 +77,6 @@ if (this.has(key)) { | ||
}; | ||
/** | ||
* Reset Model by another value or Model | ||
* @param object | ||
*/ | ||
Model.prototype.reset = function (object) { | ||
@@ -62,2 +90,5 @@ var oldValue = this.toJSON(); | ||
}; | ||
/** | ||
* Destroy Model | ||
*/ | ||
Model.prototype.destroy = function () { | ||
@@ -64,0 +95,0 @@ this.trigger("destroy"); |
@@ -13,2 +13,7 @@ import * as _ from "lodash" | ||
/** | ||
* Get value by key | ||
* @param key | ||
* @returns {any} | ||
*/ | ||
public get(key: string): any { | ||
@@ -18,2 +23,7 @@ return this._model[key] | ||
/** | ||
* Set value on key in Models | ||
* @param key | ||
* @param value | ||
*/ | ||
public set(key: string, value: any): void { | ||
@@ -30,2 +40,7 @@ if (this.has(key)) { | ||
/** | ||
* Checked key in Model | ||
* @param key | ||
* @returns {boolean} | ||
*/ | ||
public has(key: string): boolean { | ||
@@ -35,2 +50,6 @@ return !Event._isUndefined(this._model[key]) | ||
/** | ||
* Get JSON from Model | ||
* @returns {{[p: string]: any}} | ||
*/ | ||
public toJSON(): any { | ||
@@ -40,2 +59,7 @@ return _.clone(this._model) | ||
/** | ||
* Drop key from Model | ||
* @param key | ||
* @returns {boolean} | ||
*/ | ||
public drop(key: string): boolean { | ||
@@ -49,2 +73,6 @@ if (this.has(key)) { | ||
/** | ||
* Reset Model by another value or Model | ||
* @param object | ||
*/ | ||
public reset(object: { [key: string]: any }): void { | ||
@@ -59,2 +87,5 @@ const oldValue = this.toJSON() | ||
/** | ||
* Destroy Model | ||
*/ | ||
public destroy(): void { | ||
@@ -61,0 +92,0 @@ this.trigger("destroy") |
@@ -39,5 +39,5 @@ let webpack = require("webpack"); | ||
excludeExternals: true | ||
}, './src') | ||
}, './source') | ||
] | ||
}; | ||
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
901953
79
5948