UNPKG

@c8y/ngx-components

Version:

Angular modules for Cumulocity IoT applications

57 lines (52 loc) 2.57 kB
import * as i0 from '@angular/core'; import { OnInit } from '@angular/core'; import { FormGroup, FormBuilder } from '@angular/forms'; import * as i1 from '@c8y/ngx-components'; import { C8yStepper, WizardComponent, OptionsService } from '@c8y/ngx-components'; import * as i2 from '@c8y/ngx-components/ecosystem/shared'; import { LicensedApplicationPlugin } from '@c8y/ngx-components/ecosystem/shared'; import { TranslateService } from '@ngx-translate/core'; import { FetchClient } from '@c8y/client'; interface ConfirmInstallModal { pluginsToInstall: LicensedApplicationPlugin[]; } interface License { licenseName: string; url: string; appName: string; } declare class LicenseConfirmModalComponent implements OnInit { private wizardComponent; private fb; private optionsService; private translateService; formGroupAccept: FormGroup; formGroupLicenses: FormGroup; stepper: C8yStepper; licenses: License[]; disclaimerHtml: string; constructor(wizardComponent: WizardComponent<ConfirmInstallModal>, fb: FormBuilder, optionsService: OptionsService, translateService: TranslateService); ngOnInit(): void; cancel(): void; done(): void; static ɵfac: i0.ɵɵFactoryDeclaration<LicenseConfirmModalComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<LicenseConfirmModalComponent, "c8y-license-confirm-modal", never, {}, {}, never, never, true, never>; } declare class LicenseViewComponent implements OnInit { private fetchClient; url: string; name: string; content: string; FALL_BACK_URL: string; constructor(fetchClient: FetchClient); ngOnInit(): Promise<void>; static ɵfac: i0.ɵɵFactoryDeclaration<LicenseViewComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<LicenseViewComponent, "c8y-license-view", never, { "url": { "alias": "url"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>; } declare class LicenseConfirmModule { static ɵfac: i0.ɵɵFactoryDeclaration<LicenseConfirmModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<LicenseConfirmModule, never, [typeof i1.CoreModule, typeof i1.FormsModule, typeof i2.SharedEcosystemModule, typeof LicenseConfirmModalComponent, typeof LicenseViewComponent], [typeof LicenseConfirmModalComponent, typeof LicenseViewComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<LicenseConfirmModule>; } export { LicenseConfirmModalComponent, LicenseConfirmModule, LicenseViewComponent }; //# sourceMappingURL=index.d.ts.map