import { OnDestroy, OnInit } from '@angular/core'; import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms'; import { BitService, BitEventsService, BitSwalService } from 'ngx-bit'; import { ActivatedRoute } from '@angular/router'; import { ResourceService } from '../resource.service'; export declare class ResourceEditComponent implements OnInit, OnDestroy { bit: BitService; private fb; private events; private swal; private route; private resourceService; private id; private keyAsync; form: FormGroup; parentLists: any[]; constructor(bit: BitService, fb: FormBuilder, events: BitEventsService, swal: BitSwalService, route: ActivatedRoute, resourceService: ResourceService); ngOnInit(): void; ngOnDestroy(): void; existsKey: (control: AbstractControl) => import("rxjs").Observable; /** * 获取数据 */ getData(): void; /** * 获取父级节点 */ getParentNodes(): void; submit(data: any): void; }