UNPKG

dynamicsmobile

Version:

Allows development of off-line mobile and web business apps over the Dynamics Mobile platform. More info on https://www.dynamicsmobile.com

87 lines (86 loc) 3.02 kB
import 'jquery-ui'; import '../datatables-import'; import 'daterangepicker'; import 'daterangepicker/daterangepicker.css'; import 'bootstrap/dist/css/bootstrap.min.css'; import { DmsDataSourceControl } from './dms-control-datasource'; import { DmsControl, DmsControlHostView } from './dms-controls-controlbase'; import { UserInterfaceService } from '../../lib-core/userinterface-service'; import '@fortawesome/fontawesome-free/css/all.min.css'; export declare class DmsGridControl extends DmsControl { controlId: string; private dataSourceId; private onLoad; private enableDelete; private enableCreate; private enableEdit; private enableDetails; listEntityViewName: string; searchEntityViewName: string; private editorStyle; private embededToolbar; private toolbarId; private autoRefreshOnResume; private autoRefreshedCompleted; private sortExpression; private userInterfaceService; private detailsButtonLabel; private newButtonLabel; private editButtonLabel; private deleteButtonLabel; private hostView; private searchConrol; private optionsConrol; private disableSearchControl; private searchButtonLabel; private currentPage; private pagingId; private onEditRecordFunctionName?; private disableExport; constructor(controlId: string, hostingView: DmsControlHostView); protected mapEntityDataTypeToDataTableType(prop: any): string; refresh(filter?: string): Promise<void>; getODataPameters(): Promise<{ filter?: string; expand?: string; sort?: string; }>; export(): Promise<void>; getDataSource(): DmsDataSourceControl; copyToClipboard(): void; getRecords(selected?: boolean): Array<any>; private initToolbar; private initDefaultSorting; private initGridColumns; private initCRUDMethods; resume(globalView: any): Promise<void>; entityView: any; load(globalView: any): Promise<void>; show(globalView: any): Promise<void>; setHeight(height: number): void; private injectGridSearchControl; private injectGridOptionsControl; private injectGridPagingControl; resetPage(): void; } export declare function DmsGridFactory(hostingView: DmsControlHostView): Promise<DmsGridControl[]>; export declare class DmsGridFormControl extends DmsControl { controlId: string; userInterfaceService: UserInterfaceService; dataSourceId: string; onLoad: string; enableDelete: boolean; enableCreate: boolean; enableDetails: boolean; enableEdit: boolean; sortExpression: string; entityViewName: string; createEntityViewName: string; editEntityViewName: string; editorStyle: string; layout: string; beforeLookUp: string; constructor(controlId: string, hostingView: DmsControlHostView, options?: object); load(globalView: any): Promise<void>; } export declare function DmsGridFormFactory(hostingView: DmsControlHostView): Promise<DmsGridFormControl[]>;