UNPKG

ng-lib-tsx

Version:

pc端基础类库

1,116 lines 61.3 kB
import { IObject, IRegisterComponentOptions } from 'ng-base-stand'; import React from 'react'; export * from 'ng-base-stand'; export declare const NGToolBar: React.ForwardRefExoticComponent<Omit<import("../../../ng-base-stand/es").INGToolBarProps & { id?: string | undefined; }, "outRef"> & React.RefAttributes<import("../../../ng-base-stand/es").ICurrentObject<any>>>; export declare const NG: { registerExternal(obj: IObject): void; onRefreshList(busType: string, callback: Function): () => void; refreshList(busType: string, data?: any): void; refreshPortal(portalId: string, count?: number): void; openUrl(url: string, title?: string | undefined): void; closeTab(check?: boolean, payload?: any): Promise<boolean>; open(path: string, queryParmas?: IObject<any> & { AppTitle?: string | undefined; outLink?: boolean | undefined; validateMenuCode?: boolean | undefined; }): boolean; close(): Promise<void>; safeRefresh(query?: IObject<any> | undefined, title?: string | undefined): void; getUser<T = import("./interface").IUser>(): T; hideAF(hidden?: boolean, activeTabKey?: string): void; alertError(errorInfoPromise: import("../../../ng-base-stand/es").PromiseType<string | import("./showErrorInfoModal").ResponseErrorContent>): Promise<unknown>; getHistory: typeof import("../../../ng-base-stand/es").getHistory; AllReady: (pageCallback: (page: any, params: import("../../../ng-base-stand/es").IPageCallbackParams, util: { execServer(funcName: string, paramObj: IObject<any>, successCallback?: Function | undefined): Promise<any>; external: any; getObserver(): import("../../../ng-base-stand/es").NGObserver; getPageObserver(): import("../../../ng-base-stand/es").NGObserver; getRoot(): string; GetWFrame: () => IObject<any>; isReactElement: (obj: any) => boolean; getHttpUrl(url: string, root?: any): string; request: import("../../../ng-base-stand/es/request").CreateRequest; isRunMaster: boolean; getPageInstance(): any; getCompMap(): any; getPageLang(): any; getPageUI(): any; getPageState(): any; getCmp(id: string): import("../../../ng-base-stand/es").ICurrentObject<any>; getCmpByType(type: string): import("../../../ng-base-stand/es").ICurrentObject<any>; getCmpApi(id: string): any; getComponentRef(id: string): any; getForms(): any; getGrids(): any; compIns: any; query(type: string): any; getUser<T_1 = IObject<any>>(): T_1; setUser(user?: IObject<any> | undefined): void; isNGFrame: () => boolean; isWebFrame: () => boolean; isReactFrame(): any; alert(content: React.ReactNode, others?: IObject<any> | undefined): Promise<unknown>; confirm(content: React.ReactNode, others?: IObject<any> | undefined): Promise<unknown>; showLoading(visible?: string | boolean | undefined): void; message(msg: string, type?: string | undefined): any; /** * wbs帮助 */ isPromise(obj: any): obj is Promise<any>; isArray(arr: any): arr is any[]; isFunction(fn: any): fn is Function; isObject(obj: any): obj is IObject<any>; isNumber(v: any): v is number; isString(str: any): str is string; isBoolean(obj: any): boolean; isDate(date: any): date is Date; isNullOrEmpty(val: any, except?: "" | null | undefined): boolean; toFirstUpperCase(str: string): string; extend: (...args: any[]) => any; assign: (objA: any, objB: any) => any; clearObject: (obj: any) => void; numberPrecision(value: any, precision?: number | undefined): number; thousandNumber(value: any, options?: { separator?: string | undefined; includeDecimal?: boolean | undefined; precision?: number | undefined; } | undefined): any; uniqueId(key?: string | undefined, n?: number | undefined): string; /** * 标签帮助 */ deepCopyEx: (obj: any) => any; deepCopy(obj: any, structuredClone?: boolean | undefined): any; copyText(text: any): void; deepMerge(objA: any, objB: any): any; getAggregate: (type: any, dataArr: any[], key?: string | undefined) => number | "-"; flatArray: (arr: any[], depth?: number | undefined) => any; filterTree: (nodes: any, predicate: (node: any) => boolean, { childrenKey, leafKey }?: { childrenKey?: string | undefined; leafKey?: string | undefined; } | undefined) => any; groupBy: (dataArr: any[], f: (arg0: any) => any) => any; isPropsEqual(props: any, nextProps: any, config?: { shallow?: boolean | undefined; exclude?: string[] | undefined; } | undefined): boolean; isArrayEqual(arr1: any[], arr2: any[]): boolean; firstCase(str: any): any; getValueByPath: (obj: any, path: string) => any; jsonString: (json: any, undefinedValue?: any) => any; parseJson: (jsonStr: any) => any; getBirthDay({ idCard, format }: { idCard: any; format?: string | undefined; }): any; getAge({ idCard, birth, format }: { idCard?: string | undefined; birth?: string | undefined; format?: string | undefined; }): any; strToDate(dateStr: any): Date; formatDate(dateStr: any, format?: string | undefined): any; addDate(date: any, count: number, type?: "date" | "month" | "year" | "hours" | "minutes" | "seconds" | "milliseconds" | undefined, format?: string | undefined): any; regExpTest: (regExp: string | Function, value: any) => any; convertData: (data: any, dataType: import("../../../ng-base-stand/es").ValueTypeEnum, format?: string | undefined) => any; getScrollBarInfo(container?: HTMLElement | undefined, cache?: boolean | undefined): any; getQueryValue(queryName?: string | undefined, options?: string | { search?: string | undefined; ignoreCase?: boolean | undefined; decode?: boolean | undefined; cache?: boolean | undefined; } | undefined): any; getCookie(name: any, dv?: any): any; handleData: typeof import("../../../ng-base-stand/es/util/tool").handleData; handleUrl: typeof import("../../../ng-base-stand/es/util/tool").handleURL; debounce: (func: any, wait: number, immediate?: boolean | undefined) => (...payload: any[]) => any; throttle: (func: any, wait: number, options?: { leading?: boolean | undefined; trailing?: boolean | undefined; } | undefined) => (...payload: any[]) => any; closest(el: any, fn: (el: any) => boolean): any; getStyle(dom: any, attr: any): any; delay: (timestamp: number) => Promise<unknown>; getCursorPosition(): any; getSelectionEnd(): any; setCursorPosition(ctrl: any, pos: any): void; classNames(...cls: (string | IObject<boolean> | undefined)[]): string; CryptoJS: { encode(word: any, opt?: Partial<{ keyStr: string; mode: any; encodePadding: any; decodePadding: any; }> | undefined): any; decode(word: any, opt?: Partial<{ keyStr: string; mode: any; encodePadding: any; decodePadding: any; }> | undefined): any; getCryptoJS(): any; }; NGBase64: { encode(data: any, useCryptoJS?: boolean | undefined): any; decode(encodedData: string, useCryptoJS?: boolean | "Utf8" | "Utf16" | "Utf16BE" | "Utf16LE" | undefined): any; }; setCache(key: string, value: any, option?: { type: "local" | "session"; } | undefined): void; getCache<T_1 = any>(key: string, option?: boolean | { type?: "local" | "session" | undefined; toObject?: boolean | undefined; } | undefined): T_1; removeCache(key: string, option?: { type: "local" | "session"; } | undefined): void; downLoad({ url, filename, blob }: { url?: string | undefined; filename?: string | undefined; blob?: Blob | undefined; }): void; getAbsoluteUrl(url: any): string; debug(param: string | { msg: any; type?: "log" | "error" | "warn" | undefined; }): void; loopChildren(data: any, todo: any, level?: number | undefined, count?: number | undefined): false | undefined; getObjValue(obj: any, pathKeys: any, nullValue?: any): any; setObjValue(obj: any, pathKeys: any, value: any): void; split(str: any, _split?: string | undefined): any; strLen(str: string): number; addAnimationend(el: any, callback: any): () => void; stopPropagation(e: any): void; }) => void, listPageCallback?: ((page: any, params: import("../../../ng-base-stand/es").IPageCallbackParams, util: { execServer(funcName: string, paramObj: IObject<any>, successCallback?: Function | undefined): Promise<any>; external: any; getObserver(): import("../../../ng-base-stand/es").NGObserver; getPageObserver(): import("../../../ng-base-stand/es").NGObserver; getRoot(): string; GetWFrame: () => IObject<any>; isReactElement: (obj: any) => boolean; getHttpUrl(url: string, root?: any): string; request: import("../../../ng-base-stand/es/request").CreateRequest; isRunMaster: boolean; getPageInstance(): any; getCompMap(): any; getPageLang(): any; getPageUI(): any; getPageState(): any; getCmp(id: string): import("../../../ng-base-stand/es").ICurrentObject<any>; getCmpByType(type: string): import("../../../ng-base-stand/es").ICurrentObject<any>; getCmpApi(id: string): any; getComponentRef(id: string): any; getForms(): any; getGrids(): any; compIns: any; query(type: string): any; getUser<T_1 = IObject<any>>(): T_1; setUser(user?: IObject<any> | undefined): void; isNGFrame: () => boolean; isWebFrame: () => boolean; isReactFrame(): any; alert(content: React.ReactNode, others?: IObject<any> | undefined): Promise<unknown>; confirm(content: React.ReactNode, others?: IObject<any> | undefined): Promise<unknown>; showLoading(visible?: string | boolean | undefined): void; message(msg: string, type?: string | undefined): any; /** * wbs帮助 */ isPromise(obj: any): obj is Promise<any>; isArray(arr: any): arr is any[]; isFunction(fn: any): fn is Function; isObject(obj: any): obj is IObject<any>; isNumber(v: any): v is number; isString(str: any): str is string; isBoolean(obj: any): boolean; isDate(date: any): date is Date; isNullOrEmpty(val: any, except?: "" | null | undefined): boolean; toFirstUpperCase(str: string): string; extend: (...args: any[]) => any; assign: (objA: any, objB: any) => any; clearObject: (obj: any) => void; numberPrecision(value: any, precision?: number | undefined): number; thousandNumber(value: any, options?: { separator?: string | undefined; includeDecimal?: boolean | undefined; precision?: number | undefined; } | undefined): any; uniqueId(key?: string | undefined, n?: number | undefined): string; /** * 标签帮助 */ deepCopyEx: (obj: any) => any; deepCopy(obj: any, structuredClone?: boolean | undefined): any; copyText(text: any): void; deepMerge(objA: any, objB: any): any; getAggregate: (type: any, dataArr: any[], key?: string | undefined) => number | "-"; flatArray: (arr: any[], depth?: number | undefined) => any; filterTree: (nodes: any, predicate: (node: any) => boolean, { childrenKey, leafKey }?: { childrenKey?: string | undefined; leafKey?: string | undefined; } | undefined) => any; groupBy: (dataArr: any[], f: (arg0: any) => any) => any; isPropsEqual(props: any, nextProps: any, config?: { shallow?: boolean | undefined; exclude?: string[] | undefined; } | undefined): boolean; isArrayEqual(arr1: any[], arr2: any[]): boolean; firstCase(str: any): any; getValueByPath: (obj: any, path: string) => any; jsonString: (json: any, undefinedValue?: any) => any; parseJson: (jsonStr: any) => any; getBirthDay({ idCard, format }: { idCard: any; format?: string | undefined; }): any; getAge({ idCard, birth, format }: { idCard?: string | undefined; birth?: string | undefined; format?: string | undefined; }): any; strToDate(dateStr: any): Date; formatDate(dateStr: any, format?: string | undefined): any; addDate(date: any, count: number, type?: "date" | "month" | "year" | "hours" | "minutes" | "seconds" | "milliseconds" | undefined, format?: string | undefined): any; regExpTest: (regExp: string | Function, value: any) => any; convertData: (data: any, dataType: import("../../../ng-base-stand/es").ValueTypeEnum, format?: string | undefined) => any; getScrollBarInfo(container?: HTMLElement | undefined, cache?: boolean | undefined): any; getQueryValue(queryName?: string | undefined, options?: string | { search?: string | undefined; ignoreCase?: boolean | undefined; decode?: boolean | undefined; cache?: boolean | undefined; } | undefined): any; getCookie(name: any, dv?: any): any; handleData: typeof import("../../../ng-base-stand/es/util/tool").handleData; handleUrl: typeof import("../../../ng-base-stand/es/util/tool").handleURL; debounce: (func: any, wait: number, immediate?: boolean | undefined) => (...payload: any[]) => any; throttle: (func: any, wait: number, options?: { leading?: boolean | undefined; trailing?: boolean | undefined; } | undefined) => (...payload: any[]) => any; closest(el: any, fn: (el: any) => boolean): any; getStyle(dom: any, attr: any): any; delay: (timestamp: number) => Promise<unknown>; getCursorPosition(): any; getSelectionEnd(): any; setCursorPosition(ctrl: any, pos: any): void; classNames(...cls: (string | IObject<boolean> | undefined)[]): string; CryptoJS: { encode(word: any, opt?: Partial<{ keyStr: string; mode: any; encodePadding: any; decodePadding: any; }> | undefined): any; decode(word: any, opt?: Partial<{ keyStr: string; mode: any; encodePadding: any; decodePadding: any; }> | undefined): any; getCryptoJS(): any; }; NGBase64: { encode(data: any, useCryptoJS?: boolean | undefined): any; decode(encodedData: string, useCryptoJS?: boolean | "Utf8" | "Utf16" | "Utf16BE" | "Utf16LE" | undefined): any; }; setCache(key: string, value: any, option?: { type: "local" | "session"; } | undefined): void; getCache<T_1 = any>(key: string, option?: boolean | { type?: "local" | "session" | undefined; toObject?: boolean | undefined; } | undefined): T_1; removeCache(key: string, option?: { type: "local" | "session"; } | undefined): void; downLoad({ url, filename, blob }: { url?: string | undefined; filename?: string | undefined; blob?: Blob | undefined; }): void; getAbsoluteUrl(url: any): string; debug(param: string | { msg: any; type?: "log" | "error" | "warn" | undefined; }): void; loopChildren(data: any, todo: any, level?: number | undefined, count?: number | undefined): false | undefined; getObjValue(obj: any, pathKeys: any, nullValue?: any): any; setObjValue(obj: any, pathKeys: any, value: any): void; split(str: any, _split?: string | undefined): any; strLen(str: string): number; addAnimationend(el: any, callback: any): () => void; stopPropagation(e: any): void; }) => void) | null | undefined, delay?: boolean | undefined) => void; PageReady: typeof import("../../../ng-base-stand/es").PageReady; updateUI: (uiInfo: Function | IObject<number>[], config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; updateState: (payload: Function | IObject<any>, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; fastDp: { statusKey: symbol; itemsKey: symbol; updateDevUI: (devUi: { toolbar?: (Function | IObject<any>) | undefined; form?: (Function | IObject<any>) | undefined; table?: (Function | IObject<any>) | undefined; query?: (Function | IObject<any>) | undefined; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; toolbar: { updateProps: ({ id, props }: { id: string; props: IObject<any>; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; addItems: ({ id, items, insertIndex }: { id: string; items: ({ id: string; } & { [k: string]: any; })[]; insertIndex?: number | undefined; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; updateItems: ({ id, items }: { id: string; items: ({ id: string; } & { [k: string]: any; })[]; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; deleteItems: ({ id, items }: { id: string; items: string[]; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; setItems: ({ id, items }: { id: string; items: import("../../../ng-base-stand/es").TypeOrFn<any[], any[]>; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; }; form: { updateProps: ({ id, props }: { id: string; props: IObject<any>; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; addItems: ({ id, items, insertIndex }: { id: string; items: ({ name: string; } & { [k: string]: any; })[]; insertIndex?: number | undefined; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; updateItems: ({ id, items }: { id: string; items: ({ name: string; } & { [k: string]: any; })[]; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; deleteItems: ({ id, items }: { id: string; items: string[]; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; setItems: ({ id, items }: { id: string; items: import("../../../ng-base-stand/es").TypeOrFn<any[], any[]>; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; }; table: { updateProps: ({ id, props }: { id: string; props: IObject<any>; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; addItems: ({ id, items, insertIndex }: { id: string; items: ({ dataIndex: string; } & { [k: string]: any; })[]; insertIndex?: number | undefined; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; updateItems: ({ id, items }: { id: string; items: ({ dataIndex: string; } & { [k: string]: any; })[]; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; deleteItems: ({ id, items }: { id: string; items: string[]; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; setItems: ({ id, items }: { id: string; items: import("../../../ng-base-stand/es").TypeOrFn<any[], any[]>; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; }; query: { updateProps: ({ id, props }: { id: string; props: IObject<any>; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; updateItems: ({ id, items }: { id: string; items: (IObject<any> & { [k: string]: any; })[]; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; }; }; batchedUpdates: typeof import("../../../ng-base-stand/es/util/base").batchedUpdates; getDispatch(): any; execServer(funcName: string, paramObj: IObject<any>, successCallback?: Function | undefined): Promise<any>; external: any; getObserver(): import("../../../ng-base-stand/es").NGObserver; getPageObserver(): import("../../../ng-base-stand/es").NGObserver; getRoot(): string; GetWFrame: () => IObject<any>; isReactElement: (obj: any) => boolean; getHttpUrl(url: string, root?: any): string; request: import("../../../ng-base-stand/es/request").CreateRequest; isRunMaster: boolean; getPageInstance(): any; getCompMap(): any; getPageLang(): any; getPageUI(): any; getPageState(): any; getCmp(id: string): import("../../../ng-base-stand/es").ICurrentObject<any>; getCmpByType(type: string): import("../../../ng-base-stand/es").ICurrentObject<any>; getCmpApi(id: string): any; getComponentRef(id: string): any; getForms(): any; getGrids(): any; compIns: any; query(type: string): any; setUser(user?: IObject<any> | undefined): void; isNGFrame: () => boolean; isWebFrame: () => boolean; isReactFrame(): any; alert(content: React.ReactNode, others?: IObject<any> | undefined): Promise<unknown>; confirm(content: React.ReactNode, others?: IObject<any> | undefined): Promise<unknown>; showLoading(visible?: string | boolean | undefined): void; message(msg: string, type?: string | undefined): any; isPromise(obj: any): obj is Promise<any>; isArray(arr: any): arr is any[]; isFunction(fn: any): fn is Function; isObject(obj: any): obj is IObject<any>; isNumber(v: any): v is number; isString(str: any): str is string; isBoolean(obj: any): boolean; isDate(date: any): date is Date; isNullOrEmpty(val: any, except?: "" | null | undefined): boolean; toFirstUpperCase(str: string): string; extend: (...args: any[]) => any; assign: (objA: any, objB: any) => any; clearObject: (obj: any) => void; numberPrecision(value: any, precision?: number | undefined): number; thousandNumber(value: any, options?: { separator?: string | undefined; includeDecimal?: boolean | undefined; precision?: number | undefined; } | undefined): any; uniqueId(key?: string | undefined, n?: number | undefined): string; deepCopyEx: (obj: any) => any; deepCopy(obj: any, structuredClone?: boolean | undefined): any; copyText(text: any): void; deepMerge(objA: any, objB: any): any; getAggregate: (type: any, dataArr: any[], key?: string | undefined) => number | "-"; flatArray: (arr: any[], depth?: number | undefined) => any; filterTree: (nodes: any, predicate: (node: any) => boolean, { childrenKey, leafKey }?: { childrenKey?: string | undefined; leafKey?: string | undefined; } | undefined) => any; groupBy: (dataArr: any[], f: (arg0: any) => any) => any; isPropsEqual(props: any, nextProps: any, config?: { shallow?: boolean | undefined; exclude?: string[] | undefined; } | undefined): boolean; isArrayEqual(arr1: any[], arr2: any[]): boolean; firstCase(str: any): any; getValueByPath: (obj: any, path: string) => any; jsonString: (json: any, undefinedValue?: any) => any; parseJson: (jsonStr: any) => any; getBirthDay({ idCard, format }: { idCard: any; format?: string | undefined; }): any; getAge({ idCard, birth, format }: { idCard?: string | undefined; birth?: string | undefined; format?: string | undefined; }): any; strToDate(dateStr: any): Date; formatDate(dateStr: any, format?: string | undefined): any; addDate(date: any, count: number, type?: "date" | "month" | "year" | "hours" | "minutes" | "seconds" | "milliseconds" | undefined, format?: string | undefined): any; regExpTest: (regExp: string | Function, value: any) => any; convertData: (data: any, dataType: import("../../../ng-base-stand/es").ValueTypeEnum, format?: string | undefined) => any; getScrollBarInfo(container?: HTMLElement | undefined, cache?: boolean | undefined): any; getQueryValue(queryName?: string | undefined, options?: string | { search?: string | undefined; ignoreCase?: boolean | undefined; decode?: boolean | undefined; cache?: boolean | undefined; } | undefined): any; getCookie(name: any, dv?: any): any; handleData: typeof import("../../../ng-base-stand/es/util/tool").handleData; handleUrl: typeof import("../../../ng-base-stand/es/util/tool").handleURL; debounce: (func: any, wait: number, immediate?: boolean | undefined) => (...payload: any[]) => any; throttle: (func: any, wait: number, options?: { leading?: boolean | undefined; trailing?: boolean | undefined; } | undefined) => (...payload: any[]) => any; closest(el: any, fn: (el: any) => boolean): any; getStyle(dom: any, attr: any): any; delay: (timestamp: number) => Promise<unknown>; getCursorPosition(): any; getSelectionEnd(): any; setCursorPosition(ctrl: any, pos: any): void; classNames(...cls: (string | IObject<boolean> | undefined)[]): string; CryptoJS: { encode(word: any, opt?: Partial<{ keyStr: string; mode: any; encodePadding: any; decodePadding: any; }> | undefined): any; decode(word: any, opt?: Partial<{ keyStr: string; mode: any; encodePadding: any; decodePadding: any; }> | undefined): any; getCryptoJS(): any; }; NGBase64: { encode(data: any, useCryptoJS?: boolean | undefined): any; decode(encodedData: string, useCryptoJS?: boolean | "Utf8" | "Utf16" | "Utf16BE" | "Utf16LE" | undefined): any; }; setCache(key: string, value: any, option?: { type: "local" | "session"; } | undefined): void; getCache<T_1_1 = any>(key: string, option?: boolean | { type?: "local" | "session" | undefined; toObject?: boolean | undefined; } | undefined): T_1_1; removeCache(key: string, option?: { type: "local" | "session"; } | undefined): void; downLoad({ url, filename, blob }: { url?: string | undefined; filename?: string | undefined; blob?: Blob | undefined; }): void; getAbsoluteUrl(url: any): string; debug(param: string | { msg: any; type?: "log" | "error" | "warn" | undefined; }): void; loopChildren(data: any, todo: any, level?: number | undefined, count?: number | undefined): false | undefined; getObjValue(obj: any, pathKeys: any, nullValue?: any): any; setObjValue(obj: any, pathKeys: any, value: any): void; split(str: any, _split?: string | undefined): any; strLen(str: string): number; addAnimationend(el: any, callback: any): () => void; stopPropagation(e: any): void; }; export declare function registerComponent(Components: Record<string, React.ComponentType<any>>, options?: IRegisterComponentOptions): void; export declare function getRegisterComponent<T = any>(type?: string, candidate?: string): T; export declare const businessHelpRef: { /** * 项目帮助 */ NGProjectHelp: { type: string; helpId: string; valueField: string; labelField: string; ORMMode: boolean; userCodeField: string; }; NGMultiProjectHelp: { type: string; helpId: string; valueField: string; labelField: string; ORMMode: boolean; userCodeField: string; }; /** * 员工帮助 */ NGEmpHelp: { type: string; helpId: string; valueField: string; labelField: string; ORMMode: boolean; userCodeField: string; }; NGMultipleEmpHelp: { type: string; helpId: string; valueField: string; labelField: string; ORMMode: boolean; userCodeField: string; }; /** * 组织多选帮助 */ NGMultiOrgHelp: { type: string; multiple: boolean; }; /** * 物料帮助 */ NGItemDataHelpField: { type: string; helpId: string; valueField: string; labelField: string; ORMMode: boolean; userCodeField: string; }; /** * wbs帮助 */ WbsHelpField: { type: string; helpId: string; valueField: string; labelField: string; ORMMode: boolean; userCodeField: string; }; /** * 客户帮助 */ NGCustomFileHelp: { type: string; helpId: string; valueField: string; labelField: string; ORMMode: boolean; userCodeField: string; }; /** * 往来单位 */ NGEnterpriseHelp: { type: string; helpId: string; valueField: string; labelField: string; ORMMode: boolean; userCodeField: string; }; /** * cbs帮助 */ CbsHelpField: { type: string; helpId: string; valueField: string; labelField: string; ORMMode: boolean; userCodeField: string; }; /** * 标签帮助 */ NGTagsHelp: { type: string; helpId: string; valueField: string; labelField: string; ORMMode: boolean; }; }; export declare const helpXtypeRef: { ngRichHelp: string; ngMultiRichHelp: string; ngText: string; ngDate: string; ngDateTime: string; ngComboBox: string; ngProjectHelp: string; ngMultiProjectHelp: string; ngNumber: string; ngCheckbox: string; ngOrgHelp: string; ngMultiOrgHelp: string; ngEmpHelp: string; ngMultiEmpHelp: string; ngDeptHelp: string; ItemDataHelpField: string; WbsHelpField: string; ngCustomFileHelp: string; ngTagsHelp: string; }; export declare const util: { getHistory: typeof import("../../../ng-base-stand/es").getHistory; AllReady: (pageCallback: (page: any, params: import("../../../ng-base-stand/es").IPageCallbackParams, util: { execServer(funcName: string, paramObj: IObject<any>, successCallback?: Function | undefined): Promise<any>; external: any; getObserver(): import("../../../ng-base-stand/es").NGObserver; getPageObserver(): import("../../../ng-base-stand/es").NGObserver; getRoot(): string; GetWFrame: () => IObject<any>; isReactElement: (obj: any) => boolean; getHttpUrl(url: string, root?: any): string; request: import("../../../ng-base-stand/es/request").CreateRequest; isRunMaster: boolean; getPageInstance(): any; getCompMap(): any; getPageLang(): any; getPageUI(): any; getPageState(): any; getCmp(id: string): import("../../../ng-base-stand/es").ICurrentObject<any>; getCmpByType(type: string): import("../../../ng-base-stand/es").ICurrentObject<any>; getCmpApi(id: string): any; getComponentRef(id: string): any; getForms(): any; getGrids(): any; compIns: any; query(type: string): any; getUser<T_1 = IObject<any>>(): T_1; setUser(user?: IObject<any> | undefined): void; isNGFrame: () => boolean; isWebFrame: () => boolean; isReactFrame(): any; alert(content: React.ReactNode, others?: IObject<any> | undefined): Promise<unknown>; confirm(content: React.ReactNode, others?: IObject<any> | undefined): Promise<unknown>; showLoading(visible?: string | boolean | undefined): void; message(msg: string, type?: string | undefined): any; /** * wbs帮助 */ isPromise(obj: any): obj is Promise<any>; isArray(arr: any): arr is any[]; isFunction(fn: any): fn is Function; isObject(obj: any): obj is IObject<any>; isNumber(v: any): v is number; isString(str: any): str is string; isBoolean(obj: any): boolean; isDate(date: any): date is Date; isNullOrEmpty(val: any, except?: "" | null | undefined): boolean; toFirstUpperCase(str: string): string; extend: (...args: any[]) => any; assign: (objA: any, objB: any) => any; clearObject: (obj: any) => void; numberPrecision(value: any, precision?: number | undefined): number; thousandNumber(value: any, options?: { separator?: string | undefined; includeDecimal?: boolean | undefined; precision?: number | undefined; } | undefined): any; uniqueId(key?: string | undefined, n?: number | undefined): string; /** * 标签帮助 */ deepCopyEx: (obj: any) => any; deepCopy(obj: any, structuredClone?: boolean | undefined): any; copyText(text: any): void; deepMerge(objA: any, objB: any): any; getAggregate: (type: any, dataArr: any[], key?: string | undefined) => number | "-"; flatArray: (arr: any[], depth?: number | undefined) => any; filterTree: (nodes: any, predicate: (node: any) => boolean, { childrenKey, leafKey }?: { childrenKey?: string | undefined; leafKey?: string | undefined; } | undefined) => any; groupBy: (dataArr: any[], f: (arg0: any) => any) => any; isPropsEqual(props: any, nextProps: any, config?: { shallow?: boolean | undefined; exclude?: string[] | undefined; } | undefined): boolean; isArrayEqual(arr1: any[], arr2: any[]): boolean; firstCase(str: any): any; getValueByPath: (obj: any, path: string) => any; jsonString: (json: any, undefinedValue?: any) => any; parseJson: (jsonStr: any) => any; getBirthDay({ idCard, format }: { idCard: any; format?: string | undefined; }): any; getAge({ idCard, birth, format }: { idCard?: string | undefined; birth?: string | undefined; format?: string | undefined; }): any; strToDate(dateStr: any): Date; formatDate(dateStr: any, format?: string | undefined): any; addDate(date: any, count: number, type?: "date" | "month" | "year" | "hours" | "minutes" | "seconds" | "milliseconds" | undefined, format?: string | undefined): any; regExpTest: (regExp: string | Function, value: any) => any; convertData: (data: any, dataType: import("../../../ng-base-stand/es").ValueTypeEnum, format?: string | undefined) => any; getScrollBarInfo(container?: HTMLElement | undefined, cache?: boolean | undefined): any; getQueryValue(queryName?: string | undefined, options?: string | { search?: string | undefined; ignoreCase?: boolean | undefined; decode?: boolean | undefined; cache?: boolean | undefined; } | undefined): any; getCookie(name: any, dv?: any): any; handleData: typeof import("../../../ng-base-stand/es/util/tool").handleData; handleUrl: typeof import("../../../ng-base-stand/es/util/tool").handleURL; debounce: (func: any, wait: number, immediate?: boolean | undefined) => (...payload: any[]) => any; throttle: (func: any, wait: number, options?: { leading?: boolean | undefined; trailing?: boolean | undefined; } | undefined) => (...payload: any[]) => any; closest(el: any, fn: (el: any) => boolean): any; getStyle(dom: any, attr: any): any; delay: (timestamp: number) => Promise<unknown>; getCursorPosition(): any; getSelectionEnd(): any; setCursorPosition(ctrl: any, pos: any): void; classNames(...cls: (string | IObject<boolean> | undefined)[]): string; CryptoJS: { encode(word: any, opt?: Partial<{ keyStr: string; mode: any; encodePadding: any; decodePadding: any; }> | undefined): any; decode(word: any, opt?: Partial<{ keyStr: string; mode: any; encodePadding: any; decodePadding: any; }> | undefined): any; getCryptoJS(): any; }; NGBase64: { encode(data: any, useCryptoJS?: boolean | undefined): any; decode(encodedData: string, useCryptoJS?: boolean | "Utf8" | "Utf16" | "Utf16BE" | "Utf16LE" | undefined): any; }; setCache(key: string, value: any, option?: { type: "local" | "session"; } | undefined): void; getCache<T_1 = any>(key: string, option?: boolean | { type?: "local" | "session" | undefined; toObject?: boolean | undefined; } | undefined): T_1; removeCache(key: string, option?: { type: "local" | "session"; } | undefined): void; downLoad({ url, filename, blob }: { url?: string | undefined; filename?: string | undefined; blob?: Blob | undefined; }): void; getAbsoluteUrl(url: any): string; debug(param: string | { msg: any; type?: "log" | "error" | "warn" | undefined; }): void; loopChildren(data: any, todo: any, level?: number | undefined, count?: number | undefined): false | undefined; getObjValue(obj: any, pathKeys: any, nullValue?: any): any; setObjValue(obj: any, pathKeys: any, value: any): void; split(str: any, _split?: string | undefined): any; strLen(str: string): number; addAnimationend(el: any, callback: any): () => void; stopPropagation(e: any): void; }) => void, listPageCallback?: ((page: any, params: import("../../../ng-base-stand/es").IPageCallbackParams, util: { execServer(funcName: string, paramObj: IObject<any>, successCallback?: Function | undefined): Promise<any>; external: any; getObserver(): import("../../../ng-base-stand/es").NGObserver; getPageObserver(): import("../../../ng-base-stand/es").NGObserver; getRoot(): string; GetWFrame: () => IObject<any>; isReactElement: (obj: any) => boolean; getHttpUrl(url: string, root?: any): string; request: import("../../../ng-base-stand/es/request").CreateRequest; isRunMaster: boolean; getPageInstance(): any; getCompMap(): any; getPageLang(): any; getPageUI(): any; getPageState(): any; getCmp(id: string): import("../../../ng-base-stand/es").ICurrentObject<any>; getCmpByType(type: string): import("../../../ng-base-stand/es").ICurrentObject<any>; getCmpApi(id: string): any; getComponentRef(id: string): any; getForms(): any; getGrids(): any; compIns: any; query(type: string): any; getUser<T_1 = IObject<any>>(): T_1; setUser(user?: IObject<any> | undefined): void; isNGFrame: () => boolean; isWebFrame: () => boolean; isReactFrame(): any; alert(content: React.ReactNode, others?: IObject<any> | undefined): Promise<unknown>; confirm(content: React.ReactNode, others?: IObject<any> | undefined): Promise<unknown>; showLoading(visible?: string | boolean | undefined): void; message(msg: string, type?: string | undefined): any; /** * wbs帮助 */ isPromise(obj: any): obj is Promise<any>; isArray(arr: any): arr is any[]; isFunction(fn: any): fn is Function; isObject(obj: any): obj is IObject<any>; isNumber(v: any): v is number; isString(str: any): str is string; isBoolean(obj: any): boolean; isDate(date: any): date is Date; isNullOrEmpty(val: any, except?: "" | null | undefined): boolean; toFirstUpperCase(str: string): string; extend: (...args: any[]) => any; assign: (objA: any, objB: any) => any; clearObject: (obj: any) => void; numberPrecision(value: any, precision?: number | undefined): number; thousandNumber(value: any, options?: { separator?: string | undefined; includeDecimal?: boolean | undefined; precision?: number | undefined; } | undefined): any; uniqueId(key?: string | undefined, n?: number | undefined): string; /** * 标签帮助 */ deepCopyEx: (obj: any) => any; deepCopy(obj: any, structuredClone?: boolean | undefined): any; copyText(text: any): void; deepMerge(objA: any, objB: any): any; getAggregate: (type: any, dataArr: any[], key?: string | undefined) => number | "-"; flatArray: (arr: any[], depth?: number | undefined) => any; filterTree: (nodes: any, predicate: (node: any) => boolean, { childrenKey, leafKey }?: { childrenKey?: string | undefined; leafKey?: string | undefined; } | undefined) => any; groupBy: (dataArr: any[], f: (arg0: any) => any) => any; isPropsEqual(props: any, nextProps: any, config?: { shallow?: boolean | undefined; exclude?: string[] | undefined; } | undefined): boolean; isArrayEqual(arr1: any[], arr2: any[]): boolean; firstCase(str: any): any; getValueByPath: (obj: any, path: string) => any; jsonString: (json: any, undefinedValue?: any) => any; parseJson: (jsonStr: any) => any; getBirthDay({ idCard, format }: { idCard: any; format?: string | undefined; }): any; getAge({ idCard, birth, format }: { idCard?: string | undefined; birth?: string | undefined; format?: string | undefined; }): any; strToDate(dateStr: any): Date; formatDate(dateStr: any, format?: string | undefined): any; addDate(date: any, count: number, type?: "date" | "month" | "year" | "hours" | "minutes" | "seconds" | "milliseconds" | undefined, format?: string | undefined): any; regExpTest: (regExp: string | Function, value: any) => any; convertData: (data: any, dataType: import("../../../ng-base-stand/es").ValueTypeEnum, format?: string | undefined) => any; getScrollBarInfo(container?: HTMLElement | undefined, cache?: boolean | undefined): any; getQueryValue(queryName?: string | undefined, options?: string | { search?: string | undefined; ignoreCase?: boolean | undefined; decode?: boolean | undefined; cache?: boolean | undefined; } | undefined): any; getCookie(name: any, dv?: any): any; handleData: typeof import("../../../ng-base-stand/es/util/tool").handleData; handleUrl: typeof import("../../../ng-base-stand/es/util/tool").handleURL; debounce: (func: any, wait: number, immediate?: boolean | undefined) => (...payload: any[]) => any; throttle: (func: any, wait: number, options?: { leading?: boolean | undefined; trailing?: boolean | undefined; } | undefined) => (...payload: any[]) => any; closest(el: any, fn: (el: any) => boolean): any; getStyle(dom: any, attr: any): any; delay: (timestamp: number) => Promise<unknown>; getCursorPosition(): any; getSelectionEnd(): any; setCursorPosition(ctrl: any, pos: any): void; classNames(...cls: (string | IObject<boolean> | undefined)[]): string; CryptoJS: { encode(word: any, opt?: Partial<{ keyStr: string; mode: any; encodePadding: any; decodePadding: any; }> | undefined): any; decode(word: any, opt?: Partial<{ keyStr: string; mode: any; encodePadding: any; decodePadding: any; }> | undefined): any; getCryptoJS(): any; }; NGBase64: { encode(data: any, useCryptoJS?: boolean | undefined): any; decode(encodedData: string, useCryptoJS?: boolean | "Utf8" | "Utf16" | "Utf16BE" | "Utf16LE" | undefined): any; }; setCache(key: string, value: any, option?: { type: "local" | "session"; } | undefined): void; getCache<T_1 = any>(key: string, option?: boolean | { type?: "local" | "session" | undefined; toObject?: boolean | undefined; } | undefined): T_1; removeCache(key: string, option?: { type: "local" | "session"; } | undefined): void; downLoad({ url, filename, blob }: { url?: string | undefined; filename?: string | undefined; blob?: Blob | undefined; }): void; getAbsoluteUrl(url: any): string; debug(param: string | { msg: any; type?: "log" | "error" | "warn" | undefined; }): void; loopChildren(data: any, todo: any, level?: number | undefined, count?: number | undefined): false | undefined; getObjValue(obj: any, pathKeys: any, nullValue?: any): any; setObjValue(obj: any, pathKeys: any, value: any): void; split(str: any, _split?: string | undefined): any; strLen(str: string): number; addAnimationend(el: any, callback: any): () => void; stopPropagation(e: any): void; }) => void) | null | undefined, delay?: boolean | undefined) => void; PageReady: typeof import("../../../ng-base-stand/es").PageReady; registerExternal: typeof import("../../../ng-base-stand/es/util/base").registerExternal; updateUI: (uiInfo: Function | IObject<number>[], config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; updateState: (payload: Function | IObject<any>, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; fastDp: { statusKey: symbol; itemsKey: symbol; updateDevUI: (devUi: { toolbar?: (Function | IObject<any>) | undefined; form?: (Function | IObject<any>) | undefined; table?: (Function | IObject<any>) | undefined; query?: (Function | IObject<any>) | undefined; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; toolbar: { updateProps: ({ id, props }: { id: string; props: IObject<any>; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; addItems: ({ id, items, insertIndex }: { id: string; items: ({ id: string; } & { [k: string]: any; })[]; insertIndex?: number | undefined; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; updateItems: ({ id, items }: { id: string; items: ({ id: string; } & { [k: string]: any; })[]; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefined) => void; deleteItems: ({ id, items }: { id: string; items: string[]; }, config?: import("../../../ng-base-stand/es").IUpdateConfig | undefi