/** * @description 从数组中删除一个元素 * * @export * @param array 源数组 * @param element 要删除的元素 */ export declare function removeFromArray(array: Array, element: any): void; /** * 多属性值名称前缀 */ export declare const multiPropertyNamePrefix = "entityAttribute"; /** * @deprecated * 多属性值转为去掉多属性前缀 * * 在多属性组件使用到这个函数的地方,可以安全的移除这个方法 * * 原使用方式 * * setModelValue(val: RegionType) { * * this.model.value = convertMultiPropertyValueToModelValue(val); * * } * * 可以安全的替换为 * * setModelValue(val: RegionType) { * * this.model.value = val; * * } * * */ export declare function convertMultiPropertyValueToModelValue(multiPropertyValue: any): any; /** * 是null或者undefined * */ export declare function isNullOrUndefined(object: any): boolean; /** * 是否是输入的空值 undefined null '' emptyArray * */ export declare function isEmptyInputValue(value: any): boolean; /** * 是函数 */ export declare function isFunction(object: any): boolean; /** * 获取对象中属性值,支持连续点的用法 如a.b.c */ export declare function getValueByProperty(value: any, property: string): any; export declare function getValueBySingleProperty(value: any, property: string): any; /** * 加法函数,用来得到精确的加法结果 * 说明:javascript的加法结果会有误差,在两个浮点数相加的时候会比较明显。这个函数返回较为精确的加法结果。 * 调用:accAdd(arg1,arg2) * 返回值:arg1加上arg2的精确结果 */ export declare function accAdd(arg1: number, arg2: number): number; export declare function resolveUrl(url: string, baseUrl?: string): string; /** * 获取本地域名 * */ export declare function getLocalDomain(): string; /** * 合并url * * @returns */ export declare function mergeUrl(url1: string, url2: string): string; /** * 是否Json格式 * */ export declare function isJSON(str: string): boolean;