{"name":"filtering-list","master":true,"version":"1.0.0","description":"Create a list\n\n1. Create a schema, example 'Book', add properties\n2. Create 'Book' components\n3. Open 'list' component, and set 'model' property to 'Book'\n3. Run the application\n4. You see the list of your components and you can filter that list","schemas":{"z198ba11ccf1a29b":{"_id":"z198ba11ccf1a29b","_name":"Template","_inherit":["_Component"],"source":"property","render":"method"},"l1f8dd1f44d1ef53":{"_id":"l1f8dd1f44d1ef53","_name":"CSS","_inherit":["_Component"],"source":"property","render":"method"},"j17a9e19b6a11b78":{"_id":"j17a9e19b6a11b78","_name":"JS","_inherit":["_Component"],"source":"property","render":"method"},"l1cbef1eb531773c":{"_id":"l1cbef1eb531773c","_name":"List","_inherit":["_Component"],"model":"property","filter":"property","render":"method"},"f1912f17927143ca":{"_id":"f1912f17927143ca","_name":"Util","_inherit":["_Component"],"createFilter":"method"},"j1ca8314c081d9de":{"_id":"j1ca8314c081d9de","_name":"Book","_inherit":["_Component"],"name":"property","author":"property","year":"property"}},"models":{"o19b04191b513cf7":{"_id":"o19b04191b513cf7","_name":"Template","source":{"type":"html","readOnly":false,"mandatory":false,"default":""},"render":{"params":[{"name":"elt","type":"DOMElement","mandatory":false,"default":null}]}},"z128c91df861dc34":{"_id":"z128c91df861dc34","_name":"CSS","source":{"type":"css","readOnly":false,"mandatory":false,"default":""},"render":{}},"e19dd61e24013d74":{"_id":"e19dd61e24013d74","_name":"JS","source":{"type":"javascript","readOnly":false,"mandatory":false,"default":""},"render":{}},"p1b9fa10ca51e9d4":{"_id":"p1b9fa10ca51e9d4","_name":"List","model":{"type":"string","readOnly":false,"mandatory":false,"default":""},"render":{},"filter":{"type":"string","readOnly":false,"mandatory":false,"default":"{}"}},"a1a0021c5b618585":{"_id":"a1a0021c5b618585","_name":"Util","createFilter":{"params":[{"name":"criteria","type":"string","mandatory":false,"default":""}],"result":"object"}},"o18b681c27f196a6":{"_id":"o18b681c27f196a6","_name":"Book","_description":"","name":{"description":"","type":"string","readOnly":false,"mandatory":false,"default":""},"author":{"description":"","type":"string","readOnly":false,"mandatory":false,"default":""},"year":{"description":"","type":"string","readOnly":false,"mandatory":false,"default":""}}},"behaviors":{"r1e7a2121b21dd77":{"_id":"r1e7a2121b21dd77","component":"k119f317c9d181db","state":"start","action":"function start() { \n // HTML\n this.require('template').render();\n \n // CSS\n this.require('bootstrap.min.css').render();\n this.require('list.css').render();\n \n // JS\n this.require('jquery.min.js').render();\n this.require('bootstrap.min.js').render();\n \n this.require('list').filter('');\n this.require('list').render();\n \n // event\n document.getElementById('search').addEventListener('keyup', function keyup(e) {\n this.require('list').filter(e.target.value.trim());\n }.bind(this));\n}","useCoreAPI":false,"core":false},"n1ab81101b41b375":{"_id":"n1ab81101b41b375","component":"Template","state":"render","action":"function render(elt) { \n var html = this.source(),\n domNode = elt;\n \n if (html) {\n if (domNode === null) {\n domNode = document.body;\n }\n \n domNode.insertAdjacentHTML('beforeend', html);\n }\n}","useCoreAPI":false,"core":false},"g1725a1c65e1d149":{"_id":"g1725a1c65e1d149","component":"CSS","state":"render","action":"function render() { \n var div = document.createElement('style');\n div.innerHTML = this.source();\n document.head.appendChild(div);\n}","useCoreAPI":false,"core":false},"j14f601beb618adf":{"_id":"j14f601beb618adf","component":"JS","state":"render","action":"function render() { \n var div = document.createElement('script');\n div.innerHTML = this.source();\n document.head.appendChild(div);\n}","useCoreAPI":false,"core":false},"k1d4551afd717da8":{"_id":"k1d4551afd717da8","component":"List","state":"render","action":"function render() { \n var model = this.model(),\n filter = [],\n result = [],\n props = [],\n schmema = null,\n propertyName = '',\n html = '