import { Component , EventEmitter , Input , Output } from '@angular/core' ; import { IOrganization } from '@gauzy/contracts' ; @ Component ( { selector : 'ga-user-organizations-multi-select' , templateUrl : './user-organizations-multi-select.component.html' } ) export class UserOrganizationsSelectComponent { @ Input ( ) selectedOrganizationsId : string [ ] ; @ Input ( ) allOrganizations : IOrganization [ ] ; @ Output ( ) selectedChange = new EventEmitter ( ) ; constructor ( ) { } onOrganizationsSelected ( selectEvent ) { this . selectedChange . emit ( selectEvent ) ; } }