import { OnInit, OnChanges, SimpleChanges, EventEmitter, QueryList } from '@angular/core';
import { MatDialog } from "@angular/material/dialog";
import DataSource from "devextreme/data/data_source";
import ODataStore from "devextreme/data/odata/store";
import { DxFormComponent, DxDataGridComponent } from 'devextreme-angular';
import { Country } from "mobicloud-core";
import { VendorUser } from "mobicloud-core/api";
import { MobicloudCoreService } from "mobicloud-core";
import { MobiCloudDataService } from "mobicloud-core/api";
import * as i0 from "@angular/core";
export declare class VendorUserGeneralComponent implements OnInit, OnChanges {
    coreService: MobicloudCoreService;
    cloudDataService: MobiCloudDataService;
    private matDialog;
    user: VendorUser | undefined;
    formUser: VendorUser | undefined;
    user_expands: string[];
    editAllowed: boolean | undefined;
    fullEditAllowed: boolean | undefined;
    inEditMode: boolean | undefined;
    width: number | undefined;
    contentheight: number | undefined;
    isLoadingData: boolean | undefined;
    loadingText: string | undefined;
    hasErrors: boolean | undefined;
    errorText: string | undefined;
    userChanged: EventEmitter<VendorUser>;
    user_store: ODataStore | undefined;
    form: DxFormComponent;
    constructor(coreService: MobicloudCoreService, cloudDataService: MobiCloudDataService, matDialog: MatDialog);
    ngOnInit(): void;
    initializeDataSources(): void;
    ngOnChanges(changes: SimpleChanges): void;
    onUserChanged(cust: VendorUser | undefined): void;
    getUser(): void;
    onRetryClick(): void;
    onEditClick(): void;
    onSaveClick(): void;
    saveUser(): void;
    onCancelEditClick(): void;
    datagrids: QueryList<DxDataGridComponent>;
    genderType_ds: any[];
    country_ds: DataSource | undefined;
    _countryId: string | undefined;
    _selectedCountry: Country | undefined;
    _countryOpened: boolean | undefined;
    createCountryDataSource(): void;
    countryChanged(args: any): void;
    location_ds: DataSource | undefined;
    _locationId: any;
    _locationOpened: boolean | undefined;
    createLocationDataSource(): void;
    locationChanged(args: any): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<VendorUserGeneralComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<VendorUserGeneralComponent, "mobicloud-vendor-user-general", never, { "user": { "alias": "user"; "required": false; }; "user_expands": { "alias": "user_expands"; "required": false; }; "editAllowed": { "alias": "editAllowed"; "required": false; }; "inEditMode": { "alias": "inEditMode"; "required": false; }; "width": { "alias": "width"; "required": false; }; "contentheight": { "alias": "contentheight"; "required": false; }; "isLoadingData": { "alias": "isLoadingData"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "hasErrors": { "alias": "hasErrors"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; }, { "userChanged": "userChanged"; }, never, never, false, never>;
}
//# sourceMappingURL=vendor-user-general.component.d.ts.map