@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
39 lines • 2.04 kB
TypeScript
import { OnInit } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { ApplicationService, ITenant, TenantOptionsService, TenantService } from '@c8y/client';
import { ActivatedRoute } from '@angular/router';
import { AlertService } from '@c8y/ngx-components';
import * as i0 from "@angular/core";
export declare class TenantLimitsComponent implements OnInit {
private tenantService;
private tenantOptionsService;
private alertService;
private activatedRoute;
private applicationService;
fieldDefinitions: {
externalReference: import("./tenant-limits-definitions").TenantLimit;
limitDevicesNumber: import("./tenant-limits-definitions").TenantLimit;
limitHttpRequests: import("./tenant-limits-definitions").TenantLimit;
limitHttpQueue: import("./tenant-limits-definitions").TenantLimit;
limitStreamRequests: import("./tenant-limits-definitions").TenantLimit;
limitStreamQueue: import("./tenant-limits-definitions").TenantLimit;
cepServerQueueLimit: import("./tenant-limits-definitions").TenantLimit;
dataBrokerQueueLimit: import("./tenant-limits-definitions").TenantLimit;
gainsightEnabled: import("./tenant-limits-definitions").TenantLimit;
};
fieldKeys: string[];
limitsForm: FormGroup;
tenant: ITenant | null;
initialized: boolean;
constructor(tenantService: TenantService, tenantOptionsService: TenantOptionsService, alertService: AlertService, activatedRoute: ActivatedRoute, applicationService: ApplicationService);
ngOnInit(): Promise<void>;
onSubmit(): Promise<void>;
private loadTenantDetails;
private setupConditionalFields;
private isGainsightAvailable;
private generateForm;
private getDirtyValues;
static ɵfac: i0.ɵɵFactoryDeclaration<TenantLimitsComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TenantLimitsComponent, "c8y-tenant-limits", never, {}, {}, never, never, true, never>;
}
//# sourceMappingURL=tenant-limits.component.d.ts.map