{"id":15542038,"url":"https://github.com/lifeart/ember-hell-filters","last_synced_at":"2025-04-04T21:15:15.371Z","repository":{"id":57223860,"uuid":"67787998","full_name":"lifeart/ember-hell-filters","owner":"lifeart","description":"This is an filters group EmberJS addon","archived":false,"fork":false,"pushed_at":"2018-07-07T18:52:22.000Z","size":431,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-21T09:27:11.980Z","etag":null,"topics":["ember-addon","ember-cli-addon","filters","inputs","multiselect-elements"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lifeart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-09T09:57:12.000Z","updated_at":"2018-07-07T18:52:24.000Z","dependencies_parsed_at":"2022-09-04T07:01:04.266Z","dependency_job_id":null,"html_url":"https://github.com/lifeart/ember-hell-filters","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fember-hell-filters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fember-hell-filters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fember-hell-filters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fember-hell-filters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lifeart","download_url":"https://codeload.github.com/lifeart/ember-hell-filters/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249539,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ember-addon","ember-cli-addon","filters","inputs","multiselect-elements"],"created_at":"2024-10-02T12:20:30.891Z","updated_at":"2025-04-04T21:15:15.341Z","avatar_url":"https://github.com/lifeart.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ember-hell-filters\n\nThis README outlines the details of collaborating on this Ember addon.\n## DEMO\n\n [https://lifeart.github.io/ember-hell-filters/demo/](https://lifeart.github.io/ember-hell-filters/demo/)\n\n## Example\n\nIn template:\n``` \n {{#filters-group filters=filters values=(hash one=1 two=2) filtersDidChange=(action 'reloadPlots') }}\n```\nIn component:\n``` \nComponent.extend({\n\n    filters: Ember.computed(function() {\n        let store = this.get('store');\n        return [{\n                componentName: 'hell-filters/select-2',\n                name: 'one',\n                config: {\n                    idKey: 'id',\n                    multiple: true,\n                    textKey: 'full_name',\n                    options: Ember.computed(function() {\n                        return store.peekAll('user');\n                    }),\n                }\n            }, {\n                componentName: 'hell-filters/select-2',\n                name: 'two',\n                dependsOn: {\n                    name: 'one',\n                    value: '@any'\n                },\n                config: {\n                    idKey: 'id',\n                    multiple: true,\n                    textKey: 'full_name',\n                    options: Ember.computed(function() {\n                        return store.peekAll('user').filterBy('role', 3);\n                    }),\n                }\n            },\n\n        ];\n    }),\n    actions: {\n        reloadPlots: function(filtersState) {\n            console.log(filtersState);\n        }\n    }\n});\n```\n\n\n\nInstallation\n------------------------------------------------------------------------------\n\n* `git clone \u003crepository-url\u003e` this repository\n* `cd ember-hell-filters`\n* `npm install`\n\n### Linting\n\n* `npm run lint:js`\n* `npm run lint:js -- --fix`\n\n### Running tests\n\n* `ember test` – Runs the test suite on the current Ember version\n* `ember test --server` – Runs the test suite in \"watch mode\"\n* `ember try:each` – Runs the test suite against multiple Ember versions\n\n### Running the dummy application\n\n* `ember serve`\n* Visit the dummy application at [http://localhost:4200](http://localhost:4200).\n\nFor more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeart%2Fember-hell-filters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flifeart%2Fember-hell-filters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeart%2Fember-hell-filters/lists"}