Repository URL to install this package:
import { OnInit, Renderer2, OnDestroy } from '@angular/core';
import { NGXLogger } from 'web-console-core';
import { DomainsService, Domain } from '@wa-motif-open-api/platform-service';
import { EnginesService, EngineCreate } from '@wa-motif-open-api/app-content-service';
import { DataResult } from '@progress/kendo-data-query';
import { DomainSelectorComboBoxComponent } from '../../../../../components/UI/selectors/domain-selector-combobox-component';
import { WCEditService } from 'web-console-ui-kit';
import { Observable } from 'rxjs/Observable';
import { GridDataResult } from '@progress/kendo-angular-grid';
import { State } from '@progress/kendo-data-query';
import { MobileApplicaton } from '../../../data/model';
import { FormBuilder, FormGroup } from '@angular/forms';
import { ConfirmationDialogComponent } from '../../../../../components/ConfirmationDialog/confirmation-dialog-component';
import { WCNotificationCenter } from 'web-console-ui-kit';
import { NewAppDialogComponent, NewAppDialogResult } from './dialog/new-app-dialog';
export declare class ApplicationsTabComponent implements OnInit, OnDestroy {
private logger;
private domainsService;
private engineService;
private formBuilder;
editService: WCEditService;
private renderer2;
private notificationCenter;
faCoffee: import("@fortawesome/fontawesome-common-types").IconDefinition;
faMobile: import("@fortawesome/fontawesome-common-types").IconDefinition;
faMobileAlt: import("@fortawesome/fontawesome-common-types").IconDefinition;
view: Observable<GridDataResult>;
gridState: State;
changes: any;
editDataItem: MobileApplicaton;
gridView: DataResult;
loading: boolean;
canSave: boolean;
canRefresh: boolean;
canExport: boolean;
canAddProperty: boolean;
newMobileApp: EngineCreate;
newAppDialog: NewAppDialogComponent;
domainSelector: DomainSelectorComboBoxComponent;
confirmationDialog: ConfirmationDialogComponent;
private _editServiceConfig;
private _subHandler;
constructor(logger: NGXLogger, domainsService: DomainsService, engineService: EnginesService, formBuilder: FormBuilder, editService: WCEditService, renderer2: Renderer2, notificationCenter: WCNotificationCenter);
/**
* Angular ngOnInit
*/
ngOnInit(): void;
ngOnDestroy(): void;
freeMem(): void;
/**
* Triggered by the grid component
* @param state
*/
onStateChange(state: State): void;
onDomainSelected(domain: Domain): void;
loadData(domain: Domain): void;
onDeleteOKPressed(mobileApplication: EngineCreate): void;
onDeleteCancelPressed(data: any): void;
refreshData(): void;
/**
* Enable or disable buttons
* @param canSave
* @param canRefresh
* @param canExport
* @param canAddProperty
*/
private setOptions;
/**
* User selection on click
* triggered by the grid
* @param param0
*/
cellClickHandler({ sender, rowIndex, columnIndex, dataItem, isEdited }: {
sender: any;
rowIndex: any;
columnIndex: any;
dataItem: any;
isEdited: any;
}): void;
/**
* triggered by the grid
*/
cellCloseHandler(args: any): void;
/**
* Prepare edit form for inline editing
*/
createFormGroupForEdit(mobileApp: MobileApplicaton): FormGroup;
/**
* Button event
*/
onSaveClicked(): void;
/**
* Save all pending chenges remotely
*/
private saveAllChanges;
/**
* Button event
*/
onRefreshClicked(): void;
/**
* Button Event
*/
onDiscardClicked(): void;
/**
* Event emitted by the editor form
*/
onEditCancel(): void;
/**
* Triggered by the new Property Editor Dialog
* @param event
*/
onEditCommit(newMobileApp: MobileApplicaton): void;
/**
* Event emitted by the confirmation dialog
* @param userData
*/
onConfirmationOK(userData: any): void;
onConfirmationCancel(event: any): void;
/**
* Show the new App panel
*/
onMobileAppClicked(): void;
/**
* New app creation confirmed
*/
onMobileApplicationAddConfirm(dialogresul: NewAppDialogResult): void;
}