{"id":23854689,"url":"https://github.com/HesamKashefi/ngx-super-select-tree","last_synced_at":"2025-09-08T01:32:15.409Z","repository":{"id":257540509,"uuid":"858567907","full_name":"HesamKashefi/ngx-super-select-tree","owner":"HesamKashefi","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-12T05:09:41.000Z","size":241,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-01T14:59:10.964Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HesamKashefi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-17T06:12:45.000Z","updated_at":"2025-07-24T14:37:43.000Z","dependencies_parsed_at":"2024-09-17T09:41:20.354Z","dependency_job_id":null,"html_url":"https://github.com/HesamKashefi/ngx-super-select-tree","commit_stats":null,"previous_names":["hesamkashefi/ngx-super-select-tree"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HesamKashefi/ngx-super-select-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HesamKashefi%2Fngx-super-select-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HesamKashefi%2Fngx-super-select-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HesamKashefi%2Fngx-super-select-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HesamKashefi%2Fngx-super-select-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HesamKashefi","download_url":"https://codeload.github.com/HesamKashefi/ngx-super-select-tree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HesamKashefi%2Fngx-super-select-tree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274121922,"owners_count":25225801,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-03T00:01:31.149Z","updated_at":"2025-09-08T01:32:15.402Z","avatar_url":"https://github.com/HesamKashefi.png","language":"TypeScript","funding_links":[],"categories":["Third Party Components"],"sub_categories":["Form Controls"],"readme":"# NgxSuperSelectTree\n\nThis is a single/multiple choice drop down tree for Angular!\n\n---\n### [Live Demo on Stackblitz](https://stackblitz.com/edit/ngxsuperselecttree-demo)\n\n---\n## Features\n\n* Multiple Selection Mode\n* Angular Forms Support\n* Dark Theme And Light Theme Support\n\n\n## Build Status\n\n|  Build |  NPM Publish  |\n|:---:|:---:|\n| [![Build](https://github.com/HesamKashefi/ngx-super-select-tree/actions/workflows/build.yml/badge.svg)](https://github.com/HesamKashefi/ngx-super-select-tree/actions/workflows/build.yml) | [![publish-npm-package](https://github.com/HesamKashefi/ngx-super-select-tree/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/HesamKashefi/ngx-super-select-tree/actions/workflows/npm-publish.yml) |\n\n\n## Install\n\n```\n\u003e npm i ngx-super-select-tree\n```\n\n## Add Imports\n\nImport `NgxSuperSelectTreeComponent` like this:\n\n```\n\n  imports: [\n    NgxSuperSelectTreeComponent\n  ]\n\n```\n\n## Usage\n\nYou can use it as simple as this:\n```\n\u003cform [formGroup]=\"form\"\u003e\n    \u003cNgxSuperSelectTree formControlName=\"selectedValues\"\n                        [dataSource]=\"dataSource\"\n                        [displayPropertyName]=\"'name'\"\n                        [valuePropertyName]=\"'id'\"\n                        [parentIdPropertyName]=\"'parentId'\"\n                        (selectedValuesChanged)=\"onSelectedValuesChanged($event)\"\u003e\n\n    \u003c/NgxSuperSelectTree\u003e\n\u003c/form\u003e\n```\n\nin the .ts file:\n\n```\n\nexport interface DataItem { id: number, name: string, parentId?: number };\n\n@Component({\n  selector: 'app-root',\n  standalone: true,\n  imports: [\n    FormsModule,\n    ReactiveFormsModule,\n\n    RouterOutlet,\n    NgxSuperSelectTreeComponent\n  ],\n  templateUrl: './app.component.html',\n  styleUrl: './app.component.scss'\n})\nexport class AppComponent {\n  form = new FormGroup({\n    selectedValues: new FormControl([2])\n  });\n\n\n  dataSource: DataItem[] = [\n    { id: 1, name: 'one' },\n\n    { id: 2, name: 'two' },\n\n    { id: 3, name: 'one - first', parentId: 1 },\n    { id: 4, name: 'one - second', parentId: 1 },\n    { id: 5, name: 'one - second - first', parentId: 4 },\n\n    { id: 6, name: 'Three' },\n  ];\n\n  onSelectedValuesChanged(selectedValues: any[]) {\n    console.log(selectedValues);\n    console.log(this.form.value);\n  }\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHesamKashefi%2Fngx-super-select-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHesamKashefi%2Fngx-super-select-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHesamKashefi%2Fngx-super-select-tree/lists"}