import { ParentBusiness, Sysappbuttons, Sysdic } from 'fccore2';
import { Fcapp } from 'fccore2';
import { FormGroup } from '@angular/forms';
import { Sysapplinks } from 'fccore2';
export declare const fclistOption: GRIDOPTIONS;
/**
 * 根据参数获取列表的标题
 * @param appId 模型编码
 * @param fcOption 配置信息
 */
export declare function getFieldsConfByAppid(this1: any, fcBustype: string, appId: string, fcOption: any): Fclistdatafield[];
/**
 * 返回带checkbox
 * @param fcOption xuanx
 */
export declare function getCheckbox(fcOption: any): any;
/**
 * 返回操作列
 */
export declare function getRownum(): any;
/**
 * 根据长度获取按钮
 * @param width 长度
 */
export declare function getAction(fcApp: Fcapp, fcBustype?: string): any;
/**
 * 选中，fcSelectedFieldName作为key，满足values中的值为列的则选中
 * @param ids id集合
 */
export declare function selectRowById(gridApi: any, values: string[], fcSelectedFieldName: string): void;
/**
 * 根据模型及配置获取列信息
 * @param fcApp 模型名称
 * @param fcOption 选项
 */
export declare function getFieldsConfByApp(this1: any, fcBustype: string, fcApp: Fcapp, fcOption?: any): Fclistdatafield[];
export declare function findWithQuery(condition: any, requestParam: any, pageNum: number, fcUrl: string, app: Fcapp, fcOption: GRIDOPTIONS): import("rxjs").Observable<import("fccore2").ResponseResult>;
export declare function processData(parantPage: any, fieldDic: any[], data: any[], totalSize: number): void;
export declare class FclistdataBusiness extends ParentBusiness {
    static fcOption: GRIDOPTIONS;
    /**
     * 转换成ag-grid识别的配置
     * @param appId 元数据对象
     */
    static getFieldsConfByAppid(appId: string, fcOption: any): Fclistdatafield[];
    /**
     * 根据模型及配置获取列信息
     * @param fcApp 模型名称
     * @param fcOption 选项
     */
    static getFieldsConfByApp(fcApp: Fcapp, fcOption?: GRIDOPTIONS): Fclistdatafield[];
    /**
     * 返回带checkbox
     * @param fcOption xuanx
     */
    static getCheckbox(fcOption: any): any;
    /**
     * 返回操作列
     */
    static getRownum(): any;
    /**
     * 根据长度获取按钮
     * @param width 长度
     */
    static getAction(fcApp: Fcapp): any;
    /**
     * 选中，fcSelectedFieldName作为key，满足values中的值为列的则选中
     * @param ids id集合
     */
    static selectRowById(gridApi: any, values: string[], fcSelectedFieldName: string): void;
}
/** 渲染listwindow的表格内容及表格格式化 */
export declare function cellRenderer(this1: any, params: any, field: any): string;
export interface Fclistdatafield {
    field?: string;
    suppressSizeToFit?: boolean;
    suppressResize?: boolean;
    suppressMovable?: boolean;
    suppressFilter?: boolean;
    headerCheckboxSelection?: boolean;
    checkboxSelection?: boolean;
    suppressSorting?: boolean;
    menuTabs?: any[];
    sortingOrder?: any[];
    width?: number;
    headerName?: string;
    cellClass?: string;
    enableRowGroup?: boolean;
    enablePivot?: boolean;
    allowedAggFuncs?: any[];
    cellRenderer?: (params: any) => {};
    cellRendererFramework?: any;
    headerTooltip?: string;
    tooltipField?: string;
    editable?: boolean;
    cellEditor?: string;
    lockPinned?: boolean;
    pinned?: string;
    cellEditorParams?: any;
    cellRendererParams?: (params: any) => {};
    minWidth?: number;
}
/**
 * 渲染方式
 */
export interface FieldRender {
    rendertype?: string;
    renderContent?: any;
}
export interface GRIDOPTIONS {
    /** 皮肤默认为bootstrap风格 */
    fcClass?: string;
    /** 列表高度 */
    fcHeight: number;
    /** 行高高度 */
    fcRowHeight: number;
    /** 是否启用排序 */
    fcEnableSorting: boolean;
    /** 是否启用查询 */
    fcEnableSearch: boolean;
    /** 是否启用过滤 */
    fcEnableFilter: boolean;
    /** 是否自动设置表头大小 */
    fcEnableColResize: boolean;
    /** 是否显示工具栏 */
    fcShowToolPanel?: boolean;
    /** 是否分页 */
    fcPagination: boolean;
    /** 是否显示分组 */
    fcRowGroupPanelShow?: string;
    /** 是否启用状态栏 */
    fcEnableStatusBar: boolean;
    /** 页偏移量 */
    fcPaginationPageSize: number;
    /** 是否启用区域选中 */
    fcEnableRangeSelection: boolean;
    /** 选中方式 */
    fcRowSelection: string;
    /** 列定义 */
    fcFields?: any[];
    /** 是否启用操作列 */
    fcEnableAction?: boolean;
    /** 操作列位置 */
    fcActionPosition?: string;
    /** 列表默认排序 */
    fcOrder?: string;
    /** 选中有checkbox */
    fcCheckboxSelection: boolean;
    /** 是否启用编辑 */
    fcEnableEdit: boolean;
    /** 是否启用行号 */
    fcEnableRownum?: boolean;
    /** 是否自动保存 */
    fcAutoSave?: boolean;
    /** 是否自动调整大小 */
    fcAutoSize?: boolean;
    /** 是否启用下拉 */
    fcSelect?: boolean;
    /** 是否启用数据字典的checkbox */
    fcEnableDic?: boolean;
    fcShowFields?: string;
    fcTreeData?: boolean;
    fcGetDataPath?: () => {};
    fcGroupDefaultExpanded?: number;
    fcAutoGroupColumnDef?: string;
    fcSample?: string;
    fcFieldsRender?: any;
    fcButtons?: Sysappbuttons[];
    fcDics?: Sysdic[];
    fcLinks?: Sysapplinks[];
    fcFieldsGroup?: Sysappbuttons[];
}
export declare const GRIDOPSLOCALE: {
    icons: {
        /** 菜单图标的使用字体 */
        menu: string;
        filter: string;
        columns: string;
    };
    localeText: {
        /** for filter panel */
        page: string;
        more: string;
        to: string;
        of: string;
        next: string;
        last: string;
        first: string;
        previous: string;
        loadingOoo: string;
        /** for set filter */
        selectAll: string;
        searchOoo: string;
        blanks: string;
        /** for number filter and text filter */
        filterOoo: string;
        applyFilter: string;
        /** for number filter */
        equals: string;
        notEqual: string;
        lessThanOrEqual: string;
        greaterThanOrEqual: string;
        inRange: string;
        lessThan: string;
        greaterThan: string;
        /** for text filter */
        contains: string;
        startsWith: string;
        endsWith: string;
        /** the header of the default group column */
        group: string;
        /** tool panel */
        columns: string;
        rowGroupColumns: string;
        rowGroupColumnsEmptyMessage: string;
        valueColumns: string;
        pivotMode: string;
        groups: string;
        values: string;
        pivots: string;
        valueColumnsEmptyMessage: string;
        pivotColumnsEmptyMessage: string;
        /** other */
        noRowsToShow: string;
        /** enterprise menu */
        valueAggregation: string;
        autosizeThiscolumn: string;
        autosizeAllColumns: string;
        groupBy: string;
        ungroupBy: string;
        resetColumns: string;
        expandAll: string;
        collapseAll: string;
        toolPanel: string;
        export: string;
        csvExport: string;
        excelExport: string;
        /** enterprise menu pinning */
        pinColumn: string;
        pinLeft: string;
        pinRight: string;
        noPin: string;
        /** enterprise menu aggregation and status panel */
        sum: string;
        min: string;
        max: string;
        none: string;
        count: string;
        average: string;
        /** standard menu */
        copy: string;
        ctrlC: string;
        paste: string;
        ctrlV: string;
    };
};
export interface FclistsearchConfig {
    /** 表单标题 */
    fcTitle?: string;
    /** 表单副标题 */
    fcSubTitle?: string;
    /** fcFields?: Sysappfields[]; */
    fcFields?: any[];
    /** 表单配置 */
    /** fcToolbar?: Sysappbuttons[]; */
    fcToolbar?: any[];
    fcFieldDics?: any;
    fcAct?: SEARCHACTION;
    fcLayout?: string;
    fcValidate?: FormGroup;
    /** 分列数 */
    fcSpans?: number;
}
export interface FclistsearchmodalOption {
    fcAppid: string;
    fcTitle: string;
    fcType: string;
    fcCondition: string;
}
export declare enum SEARCHACTION {
    /** 新增 */
    ADD = 0,
    /** 修改 */
    MODIFY = 1
}
export declare const SEARCHLAYOUT: {
    INLINE: string;
    HORIZONTAL: string;
    VERTICAL: string;
};
