|
|
@ -14,26 +14,18 @@ |
|
|
/// limitations under the License.
|
|
|
/// limitations under the License.
|
|
|
///
|
|
|
///
|
|
|
|
|
|
|
|
|
import {AfterViewInit, Component, ElementRef, forwardRef, Input, OnInit, ViewChild, OnDestroy} from '@angular/core'; |
|
|
import { AfterViewInit, Component, forwardRef, Input, OnDestroy, OnInit } from '@angular/core'; |
|
|
import {ControlValueAccessor, FormBuilder, FormGroup, NG_VALUE_ACCESSOR} from '@angular/forms'; |
|
|
import { ControlValueAccessor, FormBuilder, FormGroup, NG_VALUE_ACCESSOR } from '@angular/forms'; |
|
|
import {Observable, of, throwError, Subscription, Subject} from 'rxjs'; |
|
|
import { Observable, Subject, Subscription, throwError } from 'rxjs'; |
|
|
import {PageLink} from '@shared/models/page/page-link'; |
|
|
import { map, mergeMap, publishReplay, refCount, startWith, tap } from 'rxjs/operators'; |
|
|
import {Direction} from '@shared/models/page/sort-order'; |
|
|
import { Store } from '@ngrx/store'; |
|
|
import {filter, map, mergeMap, publishReplay, refCount, startWith, tap, publish} from 'rxjs/operators'; |
|
|
import { AppState } from '@app/core/core.state'; |
|
|
import {PageData, emptyPageData} from '@shared/models/page/page-data'; |
|
|
import { TranslateService } from '@ngx-translate/core'; |
|
|
import {DashboardInfo} from '@app/shared/models/dashboard.models'; |
|
|
import { DeviceService } from '@core/http/device.service'; |
|
|
import {DashboardId} from '@app/shared/models/id/dashboard-id'; |
|
|
import { EntitySubtype, EntityType } from '@app/shared/models/entity-type.models'; |
|
|
import {DashboardService} from '@core/http/dashboard.service'; |
|
|
import { BroadcastService } from '@app/core/services/broadcast.service'; |
|
|
import {Store} from '@ngrx/store'; |
|
|
import { AssetService } from '@core/http/asset.service'; |
|
|
import {AppState} from '@app/core/core.state'; |
|
|
import { EntityViewService } from '@core/http/entity-view.service'; |
|
|
import {getCurrentAuthUser} from '@app/core/auth/auth.selectors'; |
|
|
|
|
|
import {Authority} from '@shared/models/authority.enum'; |
|
|
|
|
|
import {TranslateService} from '@ngx-translate/core'; |
|
|
|
|
|
import {DeviceService} from '@core/http/device.service'; |
|
|
|
|
|
import {EntitySubtype, EntityType} from '@app/shared/models/entity-type.models'; |
|
|
|
|
|
import {BroadcastService} from '@app/core/services/broadcast.service'; |
|
|
|
|
|
import {AssetService} from '@core/http/asset.service'; |
|
|
|
|
|
import {EntityViewService} from '@core/http/entity-view.service'; |
|
|
|
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
|
selector: 'tb-entity-subtype-select', |
|
|
selector: 'tb-entity-subtype-select', |
|
|
|