/**
*识别的类型
*/ 
enum OcrType {
   
/**
*驾照识别
*/ 
drivingLicense = "drivingLicense",
/**
*车牌识别
*/ 
licensePlate = "licensePlate",
/**
*行驶证识别
*/ 
vehicleLicense = "vehicleLicense"
} 
 /**
*百度云服务
*/ 
class BaiduService  { 

/**
* 得到AcceessToken
* @returns 返回AccessTokenId

*/ 
static AccessToken(): string

/**
* 通用文字识别-高精度版
在通用文字识别的基础上，提供更高精度的识别服务，支持更多语种识别（丹麦语、荷兰语、马来语、瑞典语、印尼语、波兰语、罗马尼亚语、土耳其语、希腊语、匈牙利语），并将字库从1w+扩展到2w+，能识别所有常用字和大部分生僻字。
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回识别的文字结果
{
"log_id": 1390584857033179136,
"words_result_num": 2
"words_result": [
{
"words": " OCR",
"location": {
"top": 19,
"left": 54,
"width": 119,
"height": 46
}
},
{
"words": "百度通用文字识别高精度版",
"location": {
"top": 85,
"left": 54,
"width": 206,
"height": 37
}
}
],
}

*/ 
static accurate(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): IOCRWordsPosition[]

/**
* 通用文字识别-
在通用文字识别的基础上，提供更高精度的识别服务，支持更多语种识别（丹麦语、荷兰语、马来语、瑞典语、印尼语、波兰语、罗马尼亚语、土耳其语、希腊语、匈牙利语），并将字库从1w+扩展到2w+，能识别所有常用字和大部分生僻字。
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回识别的文字结果
{
"log_id": 1390582998516105216,
"words_result_num": 2
"words_result": [
{
"words": " OCR"
},
{
"words": "百度通用文字识别高精度版"
}
],
}

*/ 
static accurateBasic(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): IDrivingLicense

/**
* 驾驶证识别
支持对机动车驾驶证正页及副页所有15个字段进行结构化识别，包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位、档案编号等。
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回驾驶证的数据IDrivingLicense

*/ 
static drivingLicense(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): IDrivingLicense

/**
* 支持对图片中的手写中文、手写数字进行检测和识别，针对不规则的手写字体进行专项优化，识别准确率可达90%以上。
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回识别的文字结果
{
"log_id": 1390584857033179136,
"words_result_num": 2
"words_result": [
{
"words": " OCR",
"location": {
"top": 19,
"left": 54,
"width": 119,
"height": 46
}
},
{
"words": "百度通用文字识别高精度版",
"location": {
"top": 85,
"left": 54,
"width": 206,
"height": 37
}
}
],
}

*/ 
static handwriting(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): IOCRWordsPosition[]

/**
* 车牌图片识别
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回车牌的数据 ILicensePlateResutl

*/ 
static licensePlate(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): ILicensePlate

/**
* 身份证混贴识别支持自动检测与识别身份证正反面在同一张图片上的场景，一次识别图片中身份证正反面所有字段。
支持对二代居民身份证正反面所有8个字段进行结构化识别，包括姓名、性别、民族、出生日期、住址、身份证号、签发机关、有效期限，识别准确率超过99%；同时支持身份证正面头像检测，并返回头像切片的base64编码及位置信息。
同时，支持对用户上传的身份证图片进行图像风险和质量检测，可识别图片是否为复印件或临时身份证，是否被翻拍或编辑，是否存在正反颠倒、模糊、欠曝、过曝等质量问题。
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回识别的文字结果
{
"log_id": 1390650576630448128,
"words_result_num": 2,
"words_result": [
{
"location": {
"left": 56,
"top": 0,
"width": 21,
"height": 210
},
"words": "3"
}
],
}

*/ 
static multiIdcard(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): any[]

/**
* 对图片中的数字进行提取和识别，自动过滤非数字内容，仅返回数字内容及其位置信息，识别准确率超过99%。
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回识别的文字结果
{
"log_id": 1390650576630448128,
"words_result_num": 2,
"words_result": [
{
"location": {
"left": 56,
"top": 0,
"width": 21,
"height": 210
},
"words": "3"
}
],
}

*/ 
static numbers(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): IOCRWordsPosition[]

/**
* 行驶证识别
对机动车行驶证主页及副页所有22个字段进行结构化识别，包括号牌号码、车辆类型、所有人、品牌型号、车辆识别代码、发动机号码、核定载人数、质量、尺寸、检验记录等。
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回行驶证识别的数据 IVehicleLicense

*/ 
static vehicleLicense(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): IVehicleLicense

/**
* 针对网络图片进行专项优化，支持识别艺术字体或背景复杂的文字内容。
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回识别的文字结果
{
"log_id": 1390650576630448128,
"words_result_num": 2,
"words_result": [
{
"words": "梦想起航"
},
{
"words": "前往下一个目的地"
},
{
"words": "开始新的旅程"
}
],
}

*/ 
static webimage(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): IOcrWords[]

} 
/**
*百度识别结果
*/ 
interface IBaiduOcrResult  { 
/**
*日志id
用于差为
*/ 
log_id: string
/**
*识别的项的数量
*/ 
words_result_num: number
} 
/**
*驾驶证识别的结果接口
*/ 
interface IDrivingLicense  { 
/**
*日志id
用于差为
*/ 
log_id: string
/**
*识别的项的数量
*/ 
words_result_num: number
住址: IOcrWords
使用性质: IOcrWords
发动机号码: IOcrWords
发证单位: IOcrWords
发证日期: IOcrWords
号牌号码: IOcrWords
品牌型号: IOcrWords
所有人: IOcrWords
注册日期: IOcrWords
车辆类型: IOcrWords
车辆识别代号: IOcrWords
} 
/**
*驾驶证识别的结果接口
*/ 
interface IDrivingLicenseResult  { 
/**
*日志id
用于差为
*/ 
log_id: string
/**
*识别结果
*/ 
words_result: IDrivingLicense
/**
*识别的项的数量
*/ 
words_result_num: number
} 
/**
*车牌的识别结果
*/ 
interface ILicensePlate  { 
/**
*车牌的颜色
*/ 
color: string
/**
*日志id
用于差为
*/ 
log_id: string
/**
*车牌号码
*/ 
number: string
/**
*识别的项的数量
*/ 
words_result_num: number
} 
/**
*车牌的识别结果
*/ 
interface ILicensePlateResutl  { 
/**
*日志id
用于差为
*/ 
log_id: string
/**
*识别结果
*/ 
words_result: ILicensePlate
/**
*识别的项的数量
*/ 
words_result_num: number
} 
/**
*通用识别总结果
*/ 
interface IOCRCommonResutl  { 
/**
*日志id
用于差为
*/ 
log_id: string
/**
*识别结果
*/ 
words_result: any
/**
*识别的项的数量
*/ 
words_result_num: number
} 
/**
*OCR位置
*/ 
interface IOCRPosition  { 
/**
*高
*/ 
height: number
/**
*水平坐标 X
*/ 
left: number
/**
*垂直坐标 Y
*/ 
top: number
/**
*宽
*/ 
width: number
} 
/**
*包含了坐标的识别总结果
*/ 
interface IOCRPositionResutl  { 
/**
*日志id
用于差为
*/ 
log_id: string
/**
*识别结果
*/ 
words_result: IOCRWordsPosition[]
/**
*识别的项的数量
*/ 
words_result_num: number
} 
/**
*识别返回的结果
*/ 
interface IOCRResutl  { 
/**
*日志id
用于差为
*/ 
log_id: string
/**
*识别结果
*/ 
words_result: IOcrWords[]
/**
*识别的项的数量
*/ 
words_result_num: number
} 
/**
*包含坐标的识别结果项
*/ 
interface IOCRWordsPosition  { 
/**
*字符串的位置
*/ 
location: IOCRPosition
/**
*识别的字符串
*/ 
wrods: string
} 
/**
*识别的结果
*/ 
interface IOcrWords  { 
words: string
} 
/**
*行驶证识别的结果接口
*/ 
interface IVehicleLicense  { 
/**
*日志id
用于差为
*/ 
log_id: string
/**
*识别的项的数量
*/ 
words_result_num: number
住址: IOcrWords
使用性质: IOcrWords
发动机号码: IOcrWords
发证单位: IOcrWords
发证日期: IOcrWords
号牌号码: IOcrWords
品牌型号: IOcrWords
所有人: IOcrWords
注册日期: IOcrWords
车辆类型: IOcrWords
车辆识别代号: IOcrWords
} 
/**
*行驶证识别的结果接口
*/ 
interface IVehicleLicenseResult  { 
/**
*日志id
用于差为
*/ 
log_id: string
/**
*识别结果
*/ 
words_result: IVehicleLicense
/**
*识别的项的数量
*/ 
words_result_num: number
} 
/**
*百度工具组件
验证,图片识别(车牌,票据,身份证.....),语音识别
*/ 
class BaiduTool  extends InvisibleBase { 

/**
* 驾驶证识别
支持对机动车驾驶证正页及副页所有15个字段进行结构化识别，包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位、档案编号等。
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回驾驶证的数据IDrivingLicense

*/ 
drivingLicense(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): IDrivingLicense

/**
* 得到百度服务类，里面封装有百度的各种功能的封装
* @returns 得到百度服务功能类

*/ 
getBaiduService(): any

/**
* 车牌图片识别
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回车牌的数据 ILicensePlate

*/ 
licensePlate(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): ILicensePlate

/**
* 行驶证识别
对机动车行驶证主页及副页所有22个字段进行结构化识别，包括号牌号码、车辆类型、所有人、品牌型号、车辆识别代码、发动机号码、核定载人数、质量、尺寸、检验记录等。
* @param imgUrl  需要识别的图片全路径如: http://xxx.com/yyyy/123.jpg
* @param onSuccess  可选参数 成功回调
* @param onError  可选参数 错误回调
* @param onCompolete  可选参数 完成回调* @returns 返回行驶证识别的数据 IVehicleLicense

*/ 
vehicleLicense(imgUrl: string,onSuccess: any,onError: any,onCompolete: any): IVehicleLicense

} 
/**
*按钮类型的输入框,
按钮可以做一些额外的事情,如弹出窗口,点击调用处理 等等操作
*/ 
class ButtonInputBase  extends InputBase { 

/**
*  注册点击确定的回调
* @param callback  回调

*/ 
onButtonClick(callback: onButtonClickScript): void

} 
/**
*按钮类型的输入框配置接口
*/ 
interface IButtonInputConfig  { 
/**
*组件宽度
*/ 
componentWidth: string
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*空白时候的提示字符串
*/ 
placeholder: string
/**
*只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*校验规则
*/ 
verify: string
} 
/**
        *点击时候的回调函数
        *@param cmp 组件实例
    
        */ 
declare type onButtonClickScript = (cmp: ButtonInputBase) => void
/**
*各种AI辅助输入组件(车牌识别,驾照识别,行驶证识别)
*/ 
class InputOCR  extends ButtonInputBase { 
/**
*识别的类型
*/ 
ocrType: OcrType
/**
*服务端上传接口
*/ 
url: string

/**
*  注册点击确定的回调
* @param callback  回调

*/ 
onOCR(callback: onOCRScriptHandle): void

} 
/**
        *识别的事件回调
        *@param cmp AI输入框组件
*@param result 识别的结果
*@returns undefined 返回识别的处理结果
    
        */ 
declare type onOCRScriptHandle = (cmp: InputOCR,result: any) => any
/**
*属性编辑基类
*/ 
class AttributeEditorBase  { 

} 
/**
*属性编辑器基本接口
*/ 
interface IAttributeEditorBase  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*按钮组件基类
*/ 
class ButtonBase  extends ContainerBase { 

/**
* 得到按钮的标题
* @returns 按钮的标题字符串

*/ 
getBtnText(): string

/**
* 注册点击事件
* @param handle  事件回调

*/ 
onClick(handle: onButtonClick): void

/**
* 设置按钮的标题
* @param text  标题字符串

*/ 
setBtnText(text: string): void

} 
/**
*按钮基类配置接口
*/ 
interface IBtnBaseConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*按钮的标题
*/ 
btnText: string
/**
*组件的样式class
*/ 
class: string
/**
*组件字体
*/ 
font: Font
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件的名称
*/ 
name: string
/**
*点击事件
*/ 
onClick: any
/**
*点击事件js脚本字符串
*/ 
onClickScript: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*集合类
*/ 
class CollectionBase  { 

} 
/**
*鼠标的光标形状
*/ 
enum Cursor {
   
/**
*浏览器默认
*/ 
auto = "auto",
/**
*十字线
*/ 
crosshair = "crosshair",
/**
*通常是一个箭头
*/ 
default = "default",
/**
*手型
*/ 
pointer = "pointer"
} 
 /**
*设备类型
*/ 
enum DeviceType {
   
/**
*平板
*/ 
ipad = "ipad",
/**
*电脑
*/ 
pc = "pc",
/**
*手机
*/ 
phone = "phone"
} 
 /**
*停靠的方式
*/ 
enum DockType {
   
/**
*靠下停靠
*/ 
bottom = "bottom",
/**
*居中
*/ 
center = "center",
/**
*填满父容器
*/ 
full = "full",
/**
*靠左停靠
*/ 
left = "left",
/**
*无
*/ 
none = "none",
/**
*靠右停靠
*/ 
right = "right",
/**
*靠上停靠
*/ 
up = "up"
} 
 /**
*页面的状态
*/ 
enum PageEditState {
   edit = "edit",new = "new",none = "none",view = "view"
} 
 /**
*组件基类 非可视化组件
支持：焦点， 拖拽
*/ 
class ComponentBase  extends SerializeComponetBase { 
/**
*组件背景
*/ 
background: string
/**
*是否可用
是否可以有焦点,事件 等等
*/ 
enable: boolean
/**
*组件隐藏/显示
true 隐藏 ,则反之
*/ 
hide: boolean
/**
*鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*子组件数组包含可视组件 (页面渲染时候会按顺序渲染这个数组)
如果需要自定义组件渲染的子组件的顺序 @see doRenderChilds
*/ 
items: ComponentBase[]
/**
*父组件
*/ 
parentCmp: ComponentBase

/**
* 在组件数组后面增加子组件
这里只是组件的实例增加，页面并没重画
* @param childCmp  子组件

*/ 
appendChildCmp(childCmp: ComponentBase): void

/**
* 添加子组件的html
子类可以自定实现自定义的添加子组件的实现方式.
* @param childCmp  

*/ 
appendChildHtmlElemt(childCmp: ComponentBase): void

/**
* 更新组件,当修改了属性时候需要修改重新画组件的时候调用.
子类可以覆盖来自定义更新重画

*/ 
doUpdate(): void

/**
* 遍历所有子组件
* @param eachCallback  遍历的回到函数

*/ 
eachChild(eachCallback: any): void

/**
* 判断是否存在组件
* @param childCmp  需要判断存在的组件* @returns 成功就返回true,否则返回false

*/ 
extistComponent(childCmp: any): boolean

/**
* 通过组件id来获取子组件
* @param cmpId  组件Id* @returns 成功返回组件实例，否则返回undefine

*/ 
findChildComponentById(cmpId: string): ComponentBase

/**
* 通过组件name来获取子组件
* @param cmpName  组件name* @returns 成功返回组件实例，否则返回undefine

*/ 
findChildComponentByName(cmpName: string): ComponentBase

/**
* 通过一个回调函数的放回值来查找组件实例
* @param callback  遍历整个函数组件树的回调,返回true时候符合条件,否则* @returns 返回找到的找到的组件

*/ 
findChildComponents(callback: any): T[]

/**
* 通过组件id来获取子子孙孙组件
* @param cmpId  组件Id* @returns 成功返回组件实例，否则返回undefine

*/ 
findComponentById(cmpId: string): ComponentBase

/**
* 通过组件name来获取子子孙孙组件
* @param cmpName  组件name* @returns 成功返回组件实例，否则返回undefine

*/ 
findComponentByName(cmpName: string): ComponentBase

/**
* 通过组件的类来获取组件实例
* @param parent  父组件
* @param callback  遍历整个函数组件树的回调,返回true时候符合条件,否则* @returns 返回找到的找到的组件数组

*/ 
findComponents(parent: ComponentBase,callback: any): T[]

/**
* 通过组件的类来获取子孙组件实例
* @param classDef  需要查找的子孙组件的类* @returns 返回找到的找到的组件

*/ 
getChildComponentByType(classDef: any): T

/**
*  通过组件的类来获取子孙组件实例数组
* @param classDef  需要查找的子孙组件的类* @returns 返回组件实例数组

*/ 
getChildComponentsByType(classDef: any): T[]

/**
* 通过组件的类来获取组件实例
* @param parent  父组件
* @param classDef  需要查找的子组件的类* @returns 返回找到的第一个组件

*/ 
getComponentByType(parent: any,classDef: any): T

/**
* 通过子孙组件的类来获取子孙组件实例
* @param parent  父组件
* @param classDef  需要查找的子孙组件的类定义* @returns 返回找到的找到的组件数组

*/ 
getComponentsByType(parent: any,classDef: any): T[]

/**
* 组件的最外层的jquery对象
* @returns 返回组件的 jquery对象

*/ 
getElemt(): JQuery<any>

/**
* 获取组件的位置索引
* @returns 返回组件的位置索引

*/ 
getIndex(): number

/**
* 得到当前组件的page 组件
* @returns 返回找到的designerPage 组件实例

*/ 
getPage(): DesignerPageBase

/**
* 获取父组件
* @returns 父组件

*/ 
getParent(): ComponentBase

/**
* 初始化组件的css
* @returns 返回组件样式对象.

*/ 
iniCss(): any

/**
*  在组件before后添加组件
* @param childCmp  子组件
* @param before  插入的位置（ 0 ~ items.length-1）

*/ 
insertChildAfterCmp(childCmp: ComponentBase,before: ComponentBase): void

/**
*  在组件数组指定的位置插入组件后面增加子组件
* @param childCmp  子组件
* @param index  插入的位置（ 0 ~ items.length-1）

*/ 
insertChildCmp(childCmp: ComponentBase,index: number): void

/**
* 注册组件的鼠标左键击事件
* @param clickHandle  事件回调函数

*/ 
onClick(clickHandle: onClickHandle): void

/**
* 注册键盘按下弹起事件
* @param keyHandle  事件回调函数

*/ 
onKeyPress(keyHandle: onKeykHandle): void

/**
* 注册键盘按键弹起事件
* @param keyHandle  事件回调函数

*/ 
onKeyUp(keyHandle: onKeykHandle): void

/**
* 注册键盘按下时事件
* @param keyHandle  事件回调函数

*/ 
onKeydown(keyHandle: onKeykHandle): void

/**
* 注册组件的鼠标左键按下
* @param clickHandle  事件回调函数

*/ 
onLeftDown(clickHandle: onClickHandle): void

/**
* 注册组件的鼠标左键弹起
* @param clickHandle  事件回调函数

*/ 
onLeftUp(clickHandle: onClickHandle): void

/**
* 注册组件的鼠标移动
* @param mouseHandle  事件回调函数

*/ 
onMouseMove(mouseHandle: onClickHandle): void

/**
* 注册组件所属的Page加载完毕回调,这时候组件已经渲染 $elemt应不会出现空 可用于初始化组件
* @param fn  回调函数

*/ 
onPageLoad(fn: onPageLoadHandle): void

/**
* 注册组件的鼠标右键事件
* @param clickHandle  事件回调函数

*/ 
onRightClick(clickHandle: onClickHandle): void

/**
* 注册组件的鼠标右键按下
* @param clickHandle  事件回调函数

*/ 
onRightDown(clickHandle: onClickHandle): void

/**
* 注册组件的鼠标右键弹起
* @param clickHandle  事件回调函数

*/ 
onRightUp(clickHandle: onClickHandle): void

/**
* 移除自己

*/ 
remove(): void

/**
* 清除所有子组件

*/ 
removeAllChildComponent(): void

/**
* 移除下一级的子组件
* @param cmp  需要移除的组件实例

*/ 
removeChildComponent(cmp: ComponentBase): void

/**
* 移除子组件通过组件id
* @param cmpId  组件Id

*/ 
removeChildComponentById(cmpId: string): void

/**
* 移除子组件通过组件Name
* @param cmpName  组件名称

*/ 
removeChildComponentByName(cmpName: string): void

/**
* 移除下一级的子组件
* @param callback  移除每个组件时候的回调,注意会回调多次

*/ 
removeChildComponentExt(callback: any): void

/**
* 设置背景颜色
* @param value  

*/ 
setBackground(value: string): void

/**
* 设置组件的css
* @param value  

*/ 
setCss(value: object): void

/**
* 设置是否可用 true 可以用,接收点击,焦点,否则不允许接受焦点
* @param value  

*/ 
setEnable(value: boolean): void

/**
* 设置隐藏
* @param value  true 组件隐藏,否则显示

*/ 
setHide(value: boolean): void

/**
* 设置页面实例,一般用于静态渲染时候getPage为空
* @param page  

*/ 
setPage(page: DesignerPageBase): void

/**
* 设置父组件
* @param parent  父组件实例 非空时候设置组件的父组件, null,undefine 移除父组件
* @param index  插入的子元素的位置（ 0 ~ items.length-1）

*/ 
setParent(parent: ComponentBase,index: number): void

/**
* 设置父组件 ,在before后面插入组件
* @param parent  父组件实例 非空时候设置组件的父组件, null,undefine 移除父组件
* @param before  在before后面插入组件

*/ 
setParentAfter(parent: ComponentBase,before: ComponentBase): void

} 
/**
*组件容器基类 可视化组件
*/ 
class ContainerBase  extends ComponentBase { 

/**
* 把子组件的html元素$elemt添加到自己的children里面;
一些子组件需要定义在父组件的特定的位置不一定要是父组件的一级子元素
子类可以自定实现自定义的添加子组件的实现方式.
* @param childCmp  添加的子组件

*/ 
appendChildHtmlElemt(childCmp: ComponentBase): void

/**
* 得到容器内编辑组件的值
一般用于提交数据
* @returns 

*/ 
getFieldValues(): any

/**
* 判断组件是否拥有焦点
* @returns 返回组件是否有焦点

*/ 
getFocuse(): boolean

/**
* 重新排列位置以及子组件的位置,大小
* @param includeChild  可选参数 是否包含子组件一起调整 默认:true

*/ 
reSize(includeChild: boolean): void

/**
*  重新设置子组件的的大小,位置等.....
 注意与 update的区别, 这个只是重新设置每个组件的位置和大小并没用删除html元素然后重建.

*/ 
reSizeChilds(): void

/**
* 设置组件的鼠标形状
* @param value  鼠标形状的枚举

*/ 
setCursor(value: Cursor): void

/**
* 设置组件是否可用
* @param value  true可用 则反之

*/ 
setEnable(value: boolean): void

/**
* 设置组件焦点
子类覆盖自定义组件内的焦点行为

*/ 
setFocuse(): void

/**
* 设置组件字体
* @param value  字体字符串

*/ 
setFont(value: Font): void

/**
* 设置组件的间隔距离
* @param value  true 组件隐藏,否则显示

*/ 
setMargin(value: string): void

/**
*  静态渲染组件
* @param setting  设置的属性

*/ 
staticRender(setting: any): void

/**
* 校验容器内的可编辑组件的值
* @returns 

*/ 
submit(): Boolean

} 
/**
*组件的最顶层的容器组件基类
*/ 
class DesignerPageBase  extends ContainerBase { 
/**
*设计时返回组件访问对象
```javascript
   cmp.getPage().components.table1.load();
```
*/ 
components: IReflectTypesHolder
/**
*开启大屏
如果页面是用于大屏则开启这个开关
*/ 
isbigscreen: boolean
/**
*页面模型的唯一id
*/ 
modelId: string
/**
*页面的版本号
*/ 
version: string

/**
* 关闭页面窗口

*/ 
close(): void

/**
* 刷新组件/重画组件 子孙组件都重画

*/ 
doUpdate(): void

/**
* 得到form的内的所有组件的值
* @returns 

*/ 
getFieldValues(): any

/**
* 通过参数名获取参数实例
* @param paramName  参数名* @returns 返回参数实例.

*/ 
getParamByName(paramName: string): IParam

/**
* 得到页面的参数对象
访问Param对象的例子： Common.msg(cmp.getPage().getParamObj().paramName)
* @returns 返回页面参数对象

*/ 
getParamObj(): object

/**
* 得到页面参数的值
* @param paramName  参数名* @returns 返回参数的值.不存在参数返回undefine

*/ 
getParamValue(paramName: string): any

/**
* 获取页面的参数数组
* @returns 返回页面参数数组

*/ 
getParams(): IParam[]

/**
* 获取设置临时参数变量
* @returns 返回通过setTempParamObj设置的参数对象

*/ 
getTempParamObj(): object

/**
* 获取设置临时参数变量值
* @param paramName  参数名* @returns 返回临时参数变量值

*/ 
getTempParamValue(paramName: string): any

/**
* 注册是否允许关闭回调
* @param fn  回调函数

*/ 
onCanClose(fn: onPageCanCloseHandle): void

/**
* 注册关闭回调
* @param fn  回调函数

*/ 
onClose(fn: onPageCloseHandle): void

/**
* 移除子组件
* @param cmp  组件实例

*/ 
removeComponent(cmp: ComponentBase): void

/**
* 通过组件id移除子组件
* @param id  组件实例id

*/ 
removeComponentById(id: string): void

/**
* 设置页面的窗口唯一句柄
* @param h  一般就是弹出层的ID

*/ 
setHandle(h: any): void

/**
* 设置并融合页面的参数数组
不存在就新增,存在就更新
例子: setParams([{name:'param1',value:'paramValue1'},{name:'param1',value:'paramValue1'},])
* @param param  IParam对象数组


*/ 
setParams(param: IParam[]): void

/**
* 设置并融合页面的参数数组
不存在就新增,存在就更新
例子: setParams({param1:paramvalue1,param2:paramvalue2})
* @param paramObj  参数对象

*/ 
setParamsObj(paramObj: Object): void

/**
* 设置临时参数变量,这个参数没有参与数据源的查询,可用于临时变量的存储.
* @param paramObj  参数变量对象

*/ 
setTempParamObj(paramObj: Object): void

/**
* 根据modeCode获取page的实例
* @param modelCode  界面模型的编号
* @param designModel  是否设计模式
* @param callback  获取完后的回调 成功 err为空

*/ 
static getPageByCode(modelCode: string,designModel: boolean,callback: any): void

/**
* 根据modelId获取page的实例
* @param modelId  界面模型的rwid
* @param designModel  是否设计模式
* @param callback  获取完后的回调 成功 err为空

*/ 
static getPageById(modelId: string,designModel: boolean,callback: any): void

} 
/**
*不可视组件基类
一般用于界面上的不可视组件
*/ 
class InvisibleBase  extends ComponentBase { 

} 
/**
*组件字体配置接口
*/ 
interface Font  { 
color: string
font-family: string
font-size: string
font-style: string
font-weight: string
text-align: string
text-decoration: string
} 
/**
*行为接口类
*/ 
interface IAction  { 
/**
*名称
*/ 
action: string
/**
*干活的函数
*/ 
onDo: Function
/**
*快捷键
*/ 
shortCut: string
/**
*标题
*/ 
text: string
} 
/**
*组件的基类接口
*/ 
interface IComponentBase  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件字体
*/ 
font: Font
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*容器组件接口
*/ 
interface IContainerBase  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*组件字体
*/ 
font: Font
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*权限资源的标题
*/ 
rightTitle: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*数据编辑组件接口
在提交时候能获取其值,并校验它
*/ 
interface IFieldComponent  { 
/**
*数据源关联的字段值
*/ 
field: string
/**
*校验规则
*/ 
verify: string
/**
*校验后的信息
*/ 
verifyText: string

/**
* 开始校验
* @returns true 校验通过,否则反之  不通过后verifyText保存了校验的错误信息

*/ 
doVerify(): Boolean

/**
* 获取组件的值
* @returns 返组件的值

*/ 
getValue(): any

/**
* 校验的处理
一般用于弹出或者显示保存时候返回的错误信息

*/ 
verifyTips(): void
} 
/**
*不可见组件的配置接口
*/ 
interface IInvisibleBaseConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件字体
*/ 
font: Font
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
        *点击回调
        *@param e 事件对象
*@param cmp 组件实例
    
        */ 
declare type onClickHandle = (e: any,cmp: ComponentBase) => void
/**
*带数据源属性的组件基类
*/ 
class DbComponentBase  extends ContainerBase { 

/**
* 获取数据源实例
* @returns 范湖绑定的数据源实例

*/ 
getDataSource(): DataSourceBase

/**
* 设置数据源
* @param value  可以是数据源实例或者id

*/ 
setDataSource(value: string | DataSourceBase): void

} 
/**
*数据源组件接口
*/ 
interface IDbComponent  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*组件字体
*/ 
font: Font
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*权限资源的标题
*/ 
rightTitle: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*数据组件配置接口
*/ 
interface IDbComponentBaseConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*组件字体
*/ 
font: Font
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*权限资源的标题
*/ 
rightTitle: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*下拉组件基类
*/ 
class DropDownBase  extends InputBase { 
/**
*下拉的高度
*/ 
drogDownHeight: number
/**
*能选择的最大几个值
默认值: 999999
*/ 
maxlength: number
/**
*数据标题显示字段
*/ 
titlefield: string
/**
*数据唯一值KEY字段
*/ 
valuefield: string

/**
* 得到下拉组件的下拉数据源
* @returns 返回下拉的数据源实例

*/ 
getDropDownDataSouce(): DataSourceBase

/**
* 得到下拉编辑器
* @returns 下拉编辑器实例

*/ 
getPopEdior(): DropDownInputEditorBase

/**
* 得到当前选择下拉数据源的行,一般用于获取现在的行的另外列的值
* @returns 当前下拉数据源的行实例

*/ 
getSelectedRow(): Row

/**
* 得到组件的值数组
* @returns 返回数组

*/ 
getValues(): string[]

/**
* 静态渲染
* @param setting  配置项

*/ 
staticRender(setting: IDropDownBaseConifg): void

} 
/**
*下拉编辑器基类
*/ 
class DropDownInputEditorBase  extends DropDownEditorBase { 

/**
* 渲染组件的值刷新下拉组件的元素的状态

*/ 
renderValues(): void

} 
/**
*下拉组件基类配置接口
*/ 
interface IDropDownBaseConifg  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件宽度
*/ 
componentWidth: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*数据源的字段名称
*/ 
field: string
/**
*组件字体
*/ 
font: Font
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*获取组件的值
*/ 
getValue: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*是否显示后缀
*/ 
isShowSuffix: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*空白时候的提示字符串
*/ 
placeholder: string
/**
*只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*权限资源的标题
*/ 
rightTitle: string
/**
*设置组件的值
*/ 
setValue: any
staticDatas: any[]
/**
*后缀文本
*/ 
suffixText: string
/**
*后缀宽度
*/ 
suffixWidth: string | number
/**
*校验规则
*/ 
verify: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*下拉的选择框接口
*/ 
interface IDropDownEditor  { 

/**
* 隐藏下拉框

*/ 
hide(): void

/**
* 显示下拉框

*/ 
show(): void
} 
/**
*下拉组件的编辑基类
*/ 
class DropDownEditorBase  { 

/**
* 初始化组件的css
* @returns 返回组件样式对象.

*/ 
iniCss(): any

} 
/**
*下拉组件下拉编辑器配置接口
*/ 
interface IDropDownEditorBaseConfig  { 
component: IDropDrownComponent
} 
/**
*下拉组件的接口
需要实现下拉组件的接口
*/ 
interface IDropDrownComponent  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*下拉高度
*/ 
drogDownHeight: Number
/**
*组件字体
*/ 
font: Font
/**
* 得到下拉的挂靠jquery元素
*/ 
getDropDownElemt: any
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*数据源字段组件基类
具备选择数据源和绑定的数据源字段属性
filed, setValue ,getValue
*/ 
class FieldDbComponentBase  extends DbComponentBase { 

/**
* 得到组件的值
* @returns 返回值

*/ 
getValue(): any

/**
* 注册值发生变动时候的事件
注意,数据源第一次给组件赋值初始化时候是无法触发该事件,否则会死循环
* @param callback  值修改事件回调函数

*/ 
onValueChanged(callback: onValueChangeHandle): void

/**
* 设置组件的值
子类可以覆盖此函数实现自定义赋值过程
* @param value  值

*/ 
setValue(value: any): void

} 
/**
*数据库绑定字段组件基类配置接口
*/ 
interface IFieldDbComponentBase  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*数据源的字段名称
*/ 
field: string
/**
*组件字体
*/ 
font: Font
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*获取组件的值
*/ 
getValue: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*权限资源的标题
*/ 
rightTitle: string
/**
*设置组件的值
*/ 
setValue: any
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*弹出层动画类型
*/ 
enum FormAnimType {
   bounceIn = "bounceIn",bounceInDown = "bounceInDown",bounceInLeft = "bounceInLeft",bounceInRight = "bounceInRight",bounceInUp = "bounceInUp",bounceOut = "bounceOut",bounceOutDown = "bounceOutDown",bounceOutLeft = "bounceOutLeft",bounceOutRight = "bounceOutRight",bounceOutUp = "bounceOutUp",fadeIn = "fadeIn",fadeInDown = "fadeInDown",fadeInDownBig = "fadeInDownBig",fadeInLeft = "fadeInLeft",fadeInLeftBig = "fadeInLeftBig",fadeInRight = "fadeInRight",fadeInRightBig = "fadeInRightBig",fadeInUp = "fadeInUp",fadeInUpBig = "fadeInUpBig",fadeOut = "fadeOut",fadeOutDown = "fadeOutDown",fadeOutDownBig = "fadeOutDownBig",fadeOutLeft = "fadeOutLeft",fadeOutLeftBig = "fadeOutLeftBig",fadeOutRight = "fadeOutRight",fadeOutRightBig = "fadeOutRightBig",fadeOutUp = "fadeOutUp",fadeOutUpBig = "fadeOutUpBig",flip = "flip",flipInX = "flipInX",flipInY = "flipInY",flipOutX = "flipOutX",flipOutY = "flipOutY",none = "none",rotateIn = "rotateIn",rotateInDownLeft = "rotateInDownLeft",rotateInDownRight = "rotateInDownRight",rotateInUpLeft = "rotateInUpLeft",rotateInUpRight = "rotateInUpRight",rotateOut = "rotateOut",rotateOutDownLeft = "rotateOutDownLeft",rotateOutDownRight = "rotateOutDownRight",rotateOutUpLeft = "rotateOutUpLeft",rotateOutUpRight = "rotateOutUpRight",slideInDown = "slideInDown",slideInLeft = "slideInLeft",slideInRight = "slideInRight",slideInUp = "slideInUp",slideOutDown = "slideOutDown",slideOutLeft = "slideOutLeft",slideOutRight = "slideOutRight",slideOutUp = "slideOutUp",zoomIn = "zoomIn",zoomInDown = "zoomInDown",zoomInLeft = "zoomInLeft",zoomInRight = "zoomInRight",zoomInUp = "zoomInUp",zoomOut = "zoomOut",zoomOutDown = "zoomOutDown",zoomOutLeft = "zoomOutLeft",zoomOutRight = "zoomOutRight",zoomOutUp = "zoomOutUp"
} 
 /**
*按钮排列方式
*/ 
enum FormBtnAlign {
   
/**
*按钮居中对齐
*/ 
center = "c",
/**
*按钮左对齐
*/ 
left = "l",
/**
*按钮右对齐。默认值，不用设置
*/ 
right = "r"
} 
 /**
*类的类型
*/ 
enum FormClassType {
   yhForm = ".yh-form",yhFormBtn = "yh-form-btn",yhFormClose = "yh-form-close",yhFormContent = "yh-form-content",yhFormDialog = ".yh-form-dialog",yhFormIframe = "yh-form-iframe",yhFormMain = ".yh-form-main",yhFormTitle = ".yh-form-title"
} 
 /**
*弹出层的图标
*/ 
enum FormIcon {
   
/**
*错误
*/ 
error = 2,
/**
*感叹号
*/ 
exclamation = 0,
/**
*开心
*/ 
happly = 6,
/**
*信息 默认
*/ 
info = -1,
/**
*锁定
*/ 
lock = 4,
/**
*疑问
*/ 
question = 3,
/**
*伤心
*/ 
sad = 5,
/**
*确认
*/ 
success = 1
} 
 /**
*输入框的类型
*/ 
enum FormInputType {
   
/**
*密码
*/ 
pwd = 1,
/**
*文本
*/ 
text = 0,
/**
*大文本
*/ 
texteare = 2
} 
 /**
*加载主题
*/ 
enum FormLoadTheme {
   
/**
*主题一
*/ 
theme0 = 0,
/**
*主题二
*/ 
theme1 = 1,
/**
*主题三
*/ 
theme2 = 2
} 
 /**
*弹出窗口的位置
*/ 
enum FormOffset {
   
/**
*默认坐标，即垂直水平居中
*/ 
auto = "auto",
/**
*底部停靠
*/ 
b = "b",
/**
*左边停靠
*/ 
l = "l",
/**
*左下角
*/ 
lb = "lb",
/**
*左上角
*/ 
lt = "lt",
/**
*右边停靠
*/ 
r = "r",
/**
*右下角
*/ 
rb = "rb",
/**
*右上角
*/ 
rt = "rt",
/**
*顶部停靠
*/ 
t = "t"
} 
 /**
*弹出层的类型
*/ 
enum FormType {
   
/**
*信息框，默认
*/ 
dialog = "dialog",
/**
*iframe层
*/ 
iframe = "iframe",
/**
*加载层
*/ 
loading = "loading",
/**
*消息
*/ 
message = "message",
/**
*页面层
*/ 
page = "page",
/**
*tips层
*/ 
tips = "tips"
} 
 /**
*tips方向
*/ 
enum FromtipsDirection {
   
/**
*下
*/ 
down = "down",left = "left",
/**
*右
*/ 
right = "right",
/**
*上
*/ 
up = "up"
} 
 /**
*弹窗类
*/ 
class Form  { 

/**
* 弹出警告窗
```typescript
Form.alert("您好!")
```
* @param content  内容
* @param options  设置项,可以设置弹出窗的配置项
* @param yes  按确定时候的回调函数* @returns 返回弹出层的唯一id

*/ 
static alert(content: string,options: FormHandle | IFormConfirmOptions,yes: FormHandle): number

/**
* 关闭
* @param index  弹出层的唯一id
* @param force  强行关闭,不考虑canClose事件* @returns 返回false关闭失败,其他都成功

*/ 
static close(index: number,force: boolean): boolean

/**
* 关闭所有层
* @param type  

*/ 
static closeAll(type: FormType): void

/**
* 弹出询问
```typescript
Form.msg("您好!",
{ time: 30000 },
function(index?: number, $elem?: JQuery<HTMLElement>){
* @param content  询问内容
* @param options  配置项
* @param yes  点击确定后触发
* @param cancel  点击取消触发* @returns 返回弹出层的唯一id

*/ 
static confirm(content: string,options: IFormConfirmOptions,yes: FormHandle,cancel: FormHandle): number

/**
* 全屏
* @param index  弹出层的唯一id

*/ 
static full(index: number): void

/**
* 获取子iframe的DOM
* @param selector  jquery的选择字符串 'html','div','.classname' 等等与jquery 的元素选择字符串相同
* @param index  弹出层的唯一id* @returns 返回iframe的DOM

*/ 
static getChildFrame(selector: any,index: any): JQuery<any>

/**
* 弹出正在加载层
```typescript
Form.load(0,  { time: 30000 })
```
* @param icon  主题图标
* @param options  弹出层的配置项* @returns 返回弹出层的唯一id

*/ 
static load(icon: FormIcon,options: IFormLoadOptions): number

/**
* 最小化
* @param index  弹出层的唯一id

*/ 
static min(index: number): void

/**
* 弹出提示层
```typescript
Form.msg("您好!",  { time: 30000 })
```
* @param content  提示信息
* @param options  配置项
* @param end  结束的回调* @returns 返回弹出层的唯一id

*/ 
static msg(content: string,options: IFormMsgOptions,end: any): number

/**
* 开启弹窗
```typescript
Form.Form({
type: FormType.page
, id: 'id'
, title: '组件树(可拖拽修改组件位置)'
, shade: 0
, area: ['300px', '500px']
, content: that.getEditorHtml()
, onSuccess: (index, $elem) => {
}
, onYes(index, $elem) {
}
, restore: (index, $elem) => { }
})
```
* @param options  配置项* @returns 返回弹出层的唯一id

*/ 
static open(options: IFormOptions): number

/**
* 展示相册
例子:
1. 从json来显示图片
```typescript
layer.photos({
photos: {
"title": "", //相册标题
"id": 123, //相册id
"start": 0, //初始显示的图片序号，默认0
"data": [   //相册包含的图片，数组格式
{
"alt": "图片名",
"pid": 666, //图片id
"src": "", //原图地址
"thumb": "" //缩略图地址
}
]
}
,anim: 5 //0-6的选择，指定弹出图片动画类型，默认随机（请注意，3.0之前的版本用shift参数）
});
```
2. 如果是直接从页面中获取图片，那么需要指向图片的父容器，并且你的img可以设定一些规定的属性
```html
<div id="layer-photos-demo" class="layer-photos-demo">
<img layer-pid="图片id，可以不写" layer-src="大图地址" src="缩略图" alt="图片名">
<img layer-pid="图片id，可以不写" layer-src="大图地址" src="缩略图" alt="图片名">
</div>
* @param options  配置项
* @param loop  循环
* @param key  唯一值* @returns 返回弹出层的唯一id

*/ 
static photos(options: IFormPhotoOptions,loop: boolean,key: any): number

/**
* prompt弹出框
* @param options  弹出框选项
* @param yes  点击确定回调* @returns 返回弹出层的唯一id

*/ 
static prompt(options: IFormPromptOptions,yes: any): number

/**
* tab层
* @param options  配置项* @returns 返回弹出层的唯一id

*/ 
static tab(options: IFormTabOptions): number

/**
* 吸附在组周围的tips
* @param content  提示信息
* @param $follow  吸附的html的id  如: "#id" 或者 jquery对象
* @param options  弹出层的配置项* @returns 返回弹出层的唯一id

*/ 
static tips(content: string,$follow: JQuery<any>,options: IFormTipsOptions): number

/**
* 改变title
* @param newTitle  修改抬头的名称
* @param index  弹出层的唯一id

*/ 
static title(newTitle: string,index: number): void

} 
/**
*弹窗的实例类
*/ 
class FormInstance  { 
/**
*区域范围
在默认状态下，是宽高都自适应的，但当你只想定义宽度时，你可以area: '500px'，高度仍然是自适应的。当你宽高都要定义时，你可以area: ['500px', '300px']
*/ 
area: string | string[]
/**
*按钮
默认：'确认'
信息框模式时，btn默认是一个确认按钮，其它层类型则默认不显示，加载层和tips层则无效。当您只想自定义一个按钮时，你可以btn: '我知道了'，当你要定义两个按钮时，你可以btn: ['yes', 'no']。当然，你也可以定义更多按钮，比如：btn: ['按钮1', '按钮2', '按钮3', …]，按钮1的回调是yes，而从按钮2开始，则回调为btn2: function(){}，以此类推。如：
*/ 
btn: string[]
/**
*关闭动画类型
*/ 
closeAnim: FormAnimType
/**
*输入框的样式主题
*/ 
formType: FormInputType
/**
*显示的图标
默认：FormIcon.info
*/ 
icon: FormIcon
/**
*最大高度
*/ 
maxHeight: number
/**
* 最大宽度
*/ 
maxWidth: number
/**
*触发拖动的元素
*/ 
move: string | boolean | HTMLElement
/**
*是否允许拖拽到窗口外
*/ 
moveOut: boolean
/**
*打开动画类型
*/ 
openAnim: FormAnimType
/**
*允许改不大小
*/ 
resize: boolean
/**
*是否允许浏览器出现滚动条
默认：true
*/ 
scrollbar: boolean
/**
*遮罩层的透明度颜色
即弹层外区域。默认是0.3透明度的黑色背景（'#000'）。如果你想定义别的颜色，可以shade: [0.8, '#393D49']；如果你不想显示遮罩，可以
*/ 
shade: string | number | boolean | any[]
/**
*主题
*/ 
theme: string
/**
*是否允许多个tips
*/ 
tipsMore: boolean
/**
*标题
*/ 
title: string
/**
*弹出窗口的类型
*/ 
type: FormType
/**
*层叠顺序
*/ 
zIndex: number

/**
* 获取子iframe的DOM
* @param selector  jquery元素选择字符串* @returns 子iframe的DOM

*/ 
getChildFrame(selector: any): JQuery<any>

/**
* iframe层自适应宽高

*/ 
iframeAuto(): void

/**
* 重置iframe url
* @param url  重置的路径

*/ 
setIframeSrc(url: string): void

/**
* 修改弹出层的标题
* @param newTitle  新标题

*/ 
setTitle(newTitle: string): void

} 
/**
*form全局配置
*/ 
interface IFormConfig  { 
/**
*默认动画风格
*/ 
anim: number
/**
*还允许加载拓展的css皮肤
如果 'myskin/style.css'
*/ 
extend: string
/**
*form所在的目录，可以是绝对目录，也可以是相对目录
如果您是采用seajs或者requirejs加载 AMD UMD 模块加载需要添加
*/ 
path: string
/**
*主题
*/ 
theme: string
} 
/**
*询问的配置项
*/ 
interface IFormConfirmOptions  { 
/**
*区域范围
例如: area: ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*按钮
*/ 
btn: string | boolean | string[]
/**
*按钮的排列
默认：FormBtnAlign.right
你可以快捷定义按钮的排列位置，btnAlign的默认值为r，即右对齐。该参数可支持的赋值如下：
*/ 
btnAlign: FormBtnAlign
/**
*关闭动画
*/ 
closeAnim: FormAnimType
/**
*关闭按钮
两种风格的关闭按钮，可通过配置1和2来展示，如果不显示，则closeBtn: 0
*/ 
closeBtn: string | boolean
/**
*内容
*/ 
content: string | JQuery<any> | string[]
/**
*固定
默认：true
*/ 
fixed: boolean
/**
*输入框的样式主题
*/ 
formType: FormInputType
/**
*显示的图标
*/ 
icon: FormIcon
/**
*html元素id
*/ 
id: string
/**
*是否全屏开启
*/ 
isFull: boolean
/**
*关闭动画
默认：true
*/ 
isOutAnim: boolean
/**
*最大高度
*/ 
maxHeight: number
/**
* 最大宽度
*/ 
maxWidth: number
/**
*允许最大最小化
默认：false
*/ 
maxmin: boolean
/**
*触发拖动的元素
*/ 
move: string | boolean | HTMLElement
/**
*是否允许拖拽到窗口外
*/ 
moveOut: boolean
/**
*位置 默认：垂直水平居中
offset: 'auto'	默认坐标，即垂直水平居中
offset: '100px'	只定义top坐标，水平保持居中
offset: ['100px', '50px']	同时定义top、left坐标
offset: 't'	顶部坐标
offset: 'r'	右边缘坐标
offset: 'b'	底部坐标
offset: 'l'	左边缘坐标
offset: 'lt'	左上角
offset: 'lb'	左下角
offset: 'rt'	右上角
offset: 'rb'	右下角
*/ 
offset: string
/**
*是否允许关闭回调
*/ 
onCanClose: FormHandle
/**
*右上角关闭按钮触发的回调
*/ 
onCancel: FormHandle
/**
*无论是确认还是取消，只要层被销毁了，onClosed都会执行，不携带任何参数。
*/ 
onClosed: any
/**
*最大化回调
*/ 
onFull: FormHandle
/**
*最小化回调
*/ 
onMin: FormHandle
/**
*拖动完毕后的回调方法
*/ 
onMoveEnd: FormHandle
/**
*监听窗口拉伸动作
*/ 
onResizing: FormHandle
/**
*还原回调
*/ 
onRestore: FormHandle
/**
*弹出完全成功弹出的回调
*/ 
onSuccess: FormHandle
/**
*点击确定的回调
*/ 
onYes: FormHandle
/**
*开启动画
*/ 
openAnim: FormAnimType
/**
*路径
*/ 
path: any
/**
*允许改不大小
*/ 
resize: boolean
/**
*是否允许浏览器出现滚动条
默认：true
*/ 
scrollbar: boolean
/**
*遮罩层的透明度颜色
即弹层外区域。默认是0.3透明度的黑色背景（'#000'）。如果你想定义别的颜色，可以shade: [0.8, '#393D49']；如果你不想显示遮罩，可以
*/ 
shade: string | number | boolean | any[]
/**
*主题
*/ 
theme: string
/**
*是否允许多个tips
*/ 
tipsMore: boolean
/**
*标题
*/ 
title: string | boolean | any[]
/**
*弹出窗口的类型
*/ 
type: FormType
/**
*层叠顺序
*/ 
zIndex: number
} 
/**
*加载层的配置项
*/ 
interface IFormLoadOptions  { 
/**
*区域范围
例如: area: ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*按钮
*/ 
btn: string | boolean | string[]
/**
*按钮的排列
默认：FormBtnAlign.right
你可以快捷定义按钮的排列位置，btnAlign的默认值为r，即右对齐。该参数可支持的赋值如下：
*/ 
btnAlign: FormBtnAlign
/**
*关闭动画
*/ 
closeAnim: FormAnimType
/**
*关闭按钮
两种风格的关闭按钮，可通过配置1和2来展示，如果不显示，则closeBtn: 0
*/ 
closeBtn: string | boolean
/**
*内容
*/ 
content: string | JQuery<any> | string[]
/**
*固定
默认：true
*/ 
fixed: boolean
/**
*输入框的样式主题
*/ 
formType: FormInputType
/**
*显示的图标
*/ 
icon: FormIcon
/**
*html元素id
*/ 
id: string
/**
*是否全屏开启
*/ 
isFull: boolean
/**
*关闭动画
默认：true
*/ 
isOutAnim: boolean
/**
*最大高度
*/ 
maxHeight: number
/**
* 最大宽度
*/ 
maxWidth: number
/**
*允许最大最小化
默认：false
*/ 
maxmin: boolean
/**
*触发拖动的元素
*/ 
move: string | boolean | HTMLElement
/**
*是否允许拖拽到窗口外
*/ 
moveOut: boolean
/**
*位置 默认：垂直水平居中
offset: 'auto'	默认坐标，即垂直水平居中
offset: '100px'	只定义top坐标，水平保持居中
offset: ['100px', '50px']	同时定义top、left坐标
offset: 't'	顶部坐标
offset: 'r'	右边缘坐标
offset: 'b'	底部坐标
offset: 'l'	左边缘坐标
offset: 'lt'	左上角
offset: 'lb'	左下角
offset: 'rt'	右上角
offset: 'rb'	右下角
*/ 
offset: string
/**
*是否允许关闭回调
*/ 
onCanClose: FormHandle
/**
*右上角关闭按钮触发的回调
*/ 
onCancel: FormHandle
/**
*无论是确认还是取消，只要层被销毁了，onClosed都会执行，不携带任何参数。
*/ 
onClosed: any
/**
*最大化回调
*/ 
onFull: FormHandle
/**
*最小化回调
*/ 
onMin: FormHandle
/**
*拖动完毕后的回调方法
*/ 
onMoveEnd: FormHandle
/**
*监听窗口拉伸动作
*/ 
onResizing: FormHandle
/**
*还原回调
*/ 
onRestore: FormHandle
/**
*弹出完全成功弹出的回调
*/ 
onSuccess: FormHandle
/**
*点击确定的回调
*/ 
onYes: FormHandle
/**
*开启动画
*/ 
openAnim: FormAnimType
/**
*路径
*/ 
path: any
/**
*允许改不大小
*/ 
resize: boolean
/**
*是否允许浏览器出现滚动条
默认：true
*/ 
scrollbar: boolean
/**
*遮罩层的透明度颜色
即弹层外区域。默认是0.3透明度的黑色背景（'#000'）。如果你想定义别的颜色，可以shade: [0.8, '#393D49']；如果你不想显示遮罩，可以
*/ 
shade: string | number | boolean | any[]
/**
*主题
*/ 
theme: string
/**
*自动消失的时间(豪秒)
*/ 
time: number
/**
*是否允许多个tips
*/ 
tipsMore: boolean
/**
*标题
*/ 
title: string | boolean | any[]
/**
*弹出窗口的类型
*/ 
type: FormType
/**
*层叠顺序
*/ 
zIndex: number
} 
/**
*弹提示出层的配置项
*/ 
interface IFormMsgOptions  { 
/**
*区域范围
例如: area: ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*按钮
*/ 
btn: string | boolean | string[]
/**
*按钮的排列
默认：FormBtnAlign.right
你可以快捷定义按钮的排列位置，btnAlign的默认值为r，即右对齐。该参数可支持的赋值如下：
*/ 
btnAlign: FormBtnAlign
/**
*关闭动画
*/ 
closeAnim: FormAnimType
/**
*关闭按钮
两种风格的关闭按钮，可通过配置1和2来展示，如果不显示，则closeBtn: 0
*/ 
closeBtn: string | boolean
/**
*内容
*/ 
content: string | JQuery<any> | string[]
/**
*固定
默认：true
*/ 
fixed: boolean
/**
*输入框的样式主题
*/ 
formType: FormInputType
/**
*显示的图标
*/ 
icon: FormIcon
/**
*html元素id
*/ 
id: string
/**
*是否全屏开启
*/ 
isFull: boolean
/**
*关闭动画
默认：true
*/ 
isOutAnim: boolean
/**
*最大高度
*/ 
maxHeight: number
/**
* 最大宽度
*/ 
maxWidth: number
/**
*允许最大最小化
默认：false
*/ 
maxmin: boolean
/**
*触发拖动的元素
*/ 
move: string | boolean | HTMLElement
/**
*是否允许拖拽到窗口外
*/ 
moveOut: boolean
/**
*位置 默认：垂直水平居中
offset: 'auto'	默认坐标，即垂直水平居中
offset: '100px'	只定义top坐标，水平保持居中
offset: ['100px', '50px']	同时定义top、left坐标
offset: 't'	顶部坐标
offset: 'r'	右边缘坐标
offset: 'b'	底部坐标
offset: 'l'	左边缘坐标
offset: 'lt'	左上角
offset: 'lb'	左下角
offset: 'rt'	右上角
offset: 'rb'	右下角
*/ 
offset: string
/**
*是否允许关闭回调
*/ 
onCanClose: FormHandle
/**
*右上角关闭按钮触发的回调
*/ 
onCancel: FormHandle
/**
*无论是确认还是取消，只要层被销毁了，onClosed都会执行，不携带任何参数。
*/ 
onClosed: any
/**
*最大化回调
*/ 
onFull: FormHandle
/**
*最小化回调
*/ 
onMin: FormHandle
/**
*拖动完毕后的回调方法
*/ 
onMoveEnd: FormHandle
/**
*监听窗口拉伸动作
*/ 
onResizing: FormHandle
/**
*还原回调
*/ 
onRestore: FormHandle
/**
*弹出完全成功弹出的回调
*/ 
onSuccess: FormHandle
/**
*点击确定的回调
*/ 
onYes: FormHandle
/**
*开启动画
*/ 
openAnim: FormAnimType
/**
*路径
*/ 
path: any
/**
*允许改不大小
*/ 
resize: boolean
/**
*是否允许浏览器出现滚动条
默认：true
*/ 
scrollbar: boolean
/**
*遮罩层的透明度颜色
即弹层外区域。默认是0.3透明度的黑色背景（'#000'）。如果你想定义别的颜色，可以shade: [0.8, '#393D49']；如果你不想显示遮罩，可以
*/ 
shade: string | number | boolean | any[]
/**
*主题
*/ 
theme: string
/**
*自动消失的时间(豪秒)
*/ 
time: number
/**
*是否允许多个tips
*/ 
tipsMore: boolean
/**
*标题
*/ 
title: string | boolean | any[]
/**
*弹出窗口的类型
*/ 
type: FormType
/**
*层叠顺序
*/ 
zIndex: number
} 
/**
*form配置通用的配置项
*/ 
interface IFormOptions  { 
/**
*区域范围
例如: area: ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*按钮
*/ 
btn: string | boolean | string[]
/**
*按钮的排列
默认：FormBtnAlign.right
你可以快捷定义按钮的排列位置，btnAlign的默认值为r，即右对齐。该参数可支持的赋值如下：
*/ 
btnAlign: FormBtnAlign
/**
*关闭动画
*/ 
closeAnim: FormAnimType
/**
*关闭按钮
两种风格的关闭按钮，可通过配置1和2来展示，如果不显示，则closeBtn: 0
*/ 
closeBtn: string | boolean
/**
*内容
*/ 
content: string | JQuery<any> | string[]
/**
*固定
默认：true
*/ 
fixed: boolean
/**
*输入框的样式主题
*/ 
formType: FormInputType
/**
*显示的图标
*/ 
icon: FormIcon
/**
*html元素id
*/ 
id: string
/**
*是否全屏开启
*/ 
isFull: boolean
/**
*关闭动画
默认：true
*/ 
isOutAnim: boolean
/**
*最大高度
*/ 
maxHeight: number
/**
* 最大宽度
*/ 
maxWidth: number
/**
*允许最大最小化
默认：false
*/ 
maxmin: boolean
/**
*触发拖动的元素
*/ 
move: string | boolean | HTMLElement
/**
*是否允许拖拽到窗口外
*/ 
moveOut: boolean
/**
*位置 默认：垂直水平居中
offset: 'auto'	默认坐标，即垂直水平居中
offset: '100px'	只定义top坐标，水平保持居中
offset: ['100px', '50px']	同时定义top、left坐标
offset: 't'	顶部坐标
offset: 'r'	右边缘坐标
offset: 'b'	底部坐标
offset: 'l'	左边缘坐标
offset: 'lt'	左上角
offset: 'lb'	左下角
offset: 'rt'	右上角
offset: 'rb'	右下角
*/ 
offset: string
/**
*是否允许关闭回调
*/ 
onCanClose: FormHandle
/**
*右上角关闭按钮触发的回调
*/ 
onCancel: FormHandle
/**
*无论是确认还是取消，只要层被销毁了，onClosed都会执行，不携带任何参数。
*/ 
onClosed: any
/**
*最大化回调
*/ 
onFull: FormHandle
/**
*最小化回调
*/ 
onMin: FormHandle
/**
*拖动完毕后的回调方法
*/ 
onMoveEnd: FormHandle
/**
*监听窗口拉伸动作
*/ 
onResizing: FormHandle
/**
*还原回调
*/ 
onRestore: FormHandle
/**
*弹出完全成功弹出的回调
*/ 
onSuccess: FormHandle
/**
*点击确定的回调
*/ 
onYes: FormHandle
/**
*开启动画
*/ 
openAnim: FormAnimType
/**
*路径
*/ 
path: any
/**
*允许改不大小
*/ 
resize: boolean
/**
*是否允许浏览器出现滚动条
默认：true
*/ 
scrollbar: boolean
/**
*遮罩层的透明度颜色
即弹层外区域。默认是0.3透明度的黑色背景（'#000'）。如果你想定义别的颜色，可以shade: [0.8, '#393D49']；如果你不想显示遮罩，可以
*/ 
shade: string | number | boolean | any[]
/**
*主题
*/ 
theme: string
/**
*是否允许多个tips
*/ 
tipsMore: boolean
/**
*标题
*/ 
title: string | boolean | any[]
/**
*弹出窗口的类型
*/ 
type: FormType
/**
*层叠顺序
*/ 
zIndex: number
} 
/**
*相册的图片数据json结构
*/ 
interface IFormPhotoJson  { 
/**
*图片名
*/ 
alt: string
/**
*图片id
*/ 
pid: string
/**
*原图地址
*/ 
src: string
/**
*缩略图地址
*/ 
thumb: string
} 
/**
*图片弹出form配置
*/ 
interface IFormPhotoOptions  { 
/**
*区域范围
例如: area: ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*按钮
*/ 
btn: string | boolean | string[]
/**
*按钮的排列
默认：FormBtnAlign.right
你可以快捷定义按钮的排列位置，btnAlign的默认值为r，即右对齐。该参数可支持的赋值如下：
*/ 
btnAlign: FormBtnAlign
/**
*关闭动画
*/ 
closeAnim: FormAnimType
/**
*关闭按钮
两种风格的关闭按钮，可通过配置1和2来展示，如果不显示，则closeBtn: 0
*/ 
closeBtn: string | boolean
/**
*内容
*/ 
content: string | JQuery<any> | string[]
/**
*固定
默认：true
*/ 
fixed: boolean
/**
*输入框的样式主题
*/ 
formType: FormInputType
/**
*是否全屏预览（大图可以拖动）
*/ 
full: Boolean
/**
*显示的图标
*/ 
icon: FormIcon
/**
*html元素id
*/ 
id: string
/**
*图片的地址
*/ 
img: string
/**
*是否全屏开启
*/ 
isFull: boolean
/**
*关闭动画
默认：true
*/ 
isOutAnim: boolean
/**
*最大高度
*/ 
maxHeight: number
/**
* 最大宽度
*/ 
maxWidth: number
/**
*允许最大最小化
默认：false
*/ 
maxmin: boolean
/**
*触发拖动的元素
*/ 
move: string | boolean | HTMLElement
/**
*是否允许拖拽到窗口外
*/ 
moveOut: boolean
/**
*位置 默认：垂直水平居中
offset: 'auto'	默认坐标，即垂直水平居中
offset: '100px'	只定义top坐标，水平保持居中
offset: ['100px', '50px']	同时定义top、left坐标
offset: 't'	顶部坐标
offset: 'r'	右边缘坐标
offset: 'b'	底部坐标
offset: 'l'	左边缘坐标
offset: 'lt'	左上角
offset: 'lb'	左下角
offset: 'rt'	右上角
offset: 'rb'	右下角
*/ 
offset: string
/**
*是否允许关闭回调
*/ 
onCanClose: FormHandle
/**
*右上角关闭按钮触发的回调
*/ 
onCancel: FormHandle
/**
*无论是确认还是取消，只要层被销毁了，onClosed都会执行，不携带任何参数。
*/ 
onClosed: any
/**
*最大化回调
*/ 
onFull: FormHandle
/**
*最小化回调
*/ 
onMin: FormHandle
/**
*拖动完毕后的回调方法
*/ 
onMoveEnd: FormHandle
/**
*监听窗口拉伸动作
*/ 
onResizing: FormHandle
/**
*还原回调
*/ 
onRestore: FormHandle
/**
*弹出完全成功弹出的回调
*/ 
onSuccess: FormHandle
/**
*点击确定的回调
*/ 
onYes: FormHandle
/**
*开启动画
*/ 
openAnim: FormAnimType
/**
*路径
*/ 
path: any
/**
*包含图片的html节点
*/ 
photos: JQuery<any> | IFormPhotos
/**
*允许改不大小
*/ 
resize: boolean
/**
*是否允许浏览器出现滚动条
默认：true
*/ 
scrollbar: boolean
/**
*遮罩层的透明度颜色
即弹层外区域。默认是0.3透明度的黑色背景（'#000'）。如果你想定义别的颜色，可以shade: [0.8, '#393D49']；如果你不想显示遮罩，可以
*/ 
shade: string | number | boolean | any[]
/**
*切换图片时触发
*/ 
tab: any
/**
*主题
*/ 
theme: string
/**
*是否允许多个tips
*/ 
tipsMore: boolean
/**
*标题
*/ 
title: string | boolean | any[]
/**
*弹出窗口的类型
*/ 
type: FormType
/**
*层叠顺序
*/ 
zIndex: number
} 
/**
*图片弹出form 明细配置
*/ 
interface IFormPhotos  { 
/**
*相册包含的图片，数组格式
*/ 
data: IFormPhotoJson[]
/**
*相册id
*/ 
id: string
/**
*初始显示的图片序号，默认0
*/ 
start: number
/**
*相册标题
*/ 
title: string
} 
/**
*页签配置接口
*/ 
interface IFormTab  { 
/**
*tab内容
*/ 
content: string
/**
*tab标题
*/ 
title: string
} 
/**
*tab的form 配置
*/ 
interface IFormTabOptions  { 
/**
*区域范围
例如: area: ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*按钮
*/ 
btn: string | boolean | string[]
/**
*按钮的排列
默认：FormBtnAlign.right
你可以快捷定义按钮的排列位置，btnAlign的默认值为r，即右对齐。该参数可支持的赋值如下：
*/ 
btnAlign: FormBtnAlign
/**
*页签改变回调
*/ 
change: any
/**
*关闭动画
*/ 
closeAnim: FormAnimType
/**
*关闭按钮
两种风格的关闭按钮，可通过配置1和2来展示，如果不显示，则closeBtn: 0
*/ 
closeBtn: string | boolean
/**
*内容
*/ 
content: string | JQuery<any> | string[]
/**
*固定
默认：true
*/ 
fixed: boolean
/**
*输入框的样式主题
*/ 
formType: FormInputType
/**
*显示的图标
*/ 
icon: FormIcon
/**
*html元素id
*/ 
id: string
/**
*是否全屏开启
*/ 
isFull: boolean
/**
*关闭动画
默认：true
*/ 
isOutAnim: boolean
/**
*最大高度
*/ 
maxHeight: number
/**
* 最大宽度
*/ 
maxWidth: number
/**
*允许最大最小化
默认：false
*/ 
maxmin: boolean
/**
*触发拖动的元素
*/ 
move: string | boolean | HTMLElement
/**
*是否允许拖拽到窗口外
*/ 
moveOut: boolean
/**
*位置 默认：垂直水平居中
offset: 'auto'	默认坐标，即垂直水平居中
offset: '100px'	只定义top坐标，水平保持居中
offset: ['100px', '50px']	同时定义top、left坐标
offset: 't'	顶部坐标
offset: 'r'	右边缘坐标
offset: 'b'	底部坐标
offset: 'l'	左边缘坐标
offset: 'lt'	左上角
offset: 'lb'	左下角
offset: 'rt'	右上角
offset: 'rb'	右下角
*/ 
offset: string
/**
*是否允许关闭回调
*/ 
onCanClose: FormHandle
/**
*右上角关闭按钮触发的回调
*/ 
onCancel: FormHandle
/**
*无论是确认还是取消，只要层被销毁了，onClosed都会执行，不携带任何参数。
*/ 
onClosed: any
/**
*最大化回调
*/ 
onFull: FormHandle
/**
*最小化回调
*/ 
onMin: FormHandle
/**
*拖动完毕后的回调方法
*/ 
onMoveEnd: FormHandle
/**
*监听窗口拉伸动作
*/ 
onResizing: FormHandle
/**
*还原回调
*/ 
onRestore: FormHandle
/**
*弹出完全成功弹出的回调
*/ 
onSuccess: FormHandle
/**
*点击确定的回调
*/ 
onYes: FormHandle
/**
*开启动画
*/ 
openAnim: FormAnimType
/**
*路径
*/ 
path: any
/**
*允许改不大小
*/ 
resize: boolean
/**
*是否允许浏览器出现滚动条
默认：true
*/ 
scrollbar: boolean
/**
*遮罩层的透明度颜色
即弹层外区域。默认是0.3透明度的黑色背景（'#000'）。如果你想定义别的颜色，可以shade: [0.8, '#393D49']；如果你不想显示遮罩，可以
*/ 
shade: string | number | boolean | any[]
/**
*页签
*/ 
tab: IFormTab[]
/**
*主题
*/ 
theme: string
/**
*是否允许多个tips
*/ 
tipsMore: boolean
/**
*标题
*/ 
title: string | boolean | any[]
/**
*弹出窗口的类型
*/ 
type: FormType
/**
*层叠顺序
*/ 
zIndex: number
} 
/**
*tips配置
*/ 
interface IFormTipsOption  { 
/**
*颜色
*/ 
color: string
/**
*方向
*/ 
direct: FromtipsDirection
} 
/**
*询问的配置项
*/ 
interface IFormTipsOptions  { 
/**
*区域范围
例如: area: ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*按钮
*/ 
btn: string | boolean | string[]
/**
*按钮的排列
默认：FormBtnAlign.right
你可以快捷定义按钮的排列位置，btnAlign的默认值为r，即右对齐。该参数可支持的赋值如下：
*/ 
btnAlign: FormBtnAlign
/**
*关闭动画
*/ 
closeAnim: FormAnimType
/**
*关闭按钮
两种风格的关闭按钮，可通过配置1和2来展示，如果不显示，则closeBtn: 0
*/ 
closeBtn: string | boolean
/**
*内容
*/ 
content: string | JQuery<any> | string[]
/**
*固定
默认：true
*/ 
fixed: boolean
/**
*跟随的jquery元素
*/ 
follow: JQuery<any>
/**
*输入框的样式主题
*/ 
formType: FormInputType
/**
*显示的图标
*/ 
icon: FormIcon
/**
*html元素id
*/ 
id: string
/**
*是否全屏开启
*/ 
isFull: boolean
/**
*关闭动画
默认：true
*/ 
isOutAnim: boolean
/**
*最大高度
*/ 
maxHeight: number
/**
* 最大宽度
*/ 
maxWidth: number
/**
*允许最大最小化
默认：false
*/ 
maxmin: boolean
/**
*触发拖动的元素
*/ 
move: string | boolean | HTMLElement
/**
*是否允许拖拽到窗口外
*/ 
moveOut: boolean
/**
*位置 默认：垂直水平居中
offset: 'auto'	默认坐标，即垂直水平居中
offset: '100px'	只定义top坐标，水平保持居中
offset: ['100px', '50px']	同时定义top、left坐标
offset: 't'	顶部坐标
offset: 'r'	右边缘坐标
offset: 'b'	底部坐标
offset: 'l'	左边缘坐标
offset: 'lt'	左上角
offset: 'lb'	左下角
offset: 'rt'	右上角
offset: 'rb'	右下角
*/ 
offset: string
/**
*是否允许关闭回调
*/ 
onCanClose: FormHandle
/**
*右上角关闭按钮触发的回调
*/ 
onCancel: FormHandle
/**
*无论是确认还是取消，只要层被销毁了，onClosed都会执行，不携带任何参数。
*/ 
onClosed: any
/**
*最大化回调
*/ 
onFull: FormHandle
/**
*最小化回调
*/ 
onMin: FormHandle
/**
*拖动完毕后的回调方法
*/ 
onMoveEnd: FormHandle
/**
*监听窗口拉伸动作
*/ 
onResizing: FormHandle
/**
*还原回调
*/ 
onRestore: FormHandle
/**
*弹出完全成功弹出的回调
*/ 
onSuccess: FormHandle
/**
*点击确定的回调
*/ 
onYes: FormHandle
/**
*开启动画
*/ 
openAnim: FormAnimType
/**
*路径
*/ 
path: any
/**
*允许改不大小
*/ 
resize: boolean
/**
*是否允许浏览器出现滚动条
默认：true
*/ 
scrollbar: boolean
/**
*遮罩层的透明度颜色
即弹层外区域。默认是0.3透明度的黑色背景（'#000'）。如果你想定义别的颜色，可以shade: [0.8, '#393D49']；如果你不想显示遮罩，可以
*/ 
shade: string | number | boolean | any[]
/**
*主题
*/ 
theme: string
/**
*自动消失的时间(豪秒)
*/ 
time: number
/**
*方向和颜色
*/ 
tips: IFormTipsOption
/**
*是否允许多个tips
*/ 
tipsMore: boolean
/**
*标题
*/ 
title: string | boolean | any[]
/**
*弹出窗口的类型
*/ 
type: FormType
/**
*层叠顺序
*/ 
zIndex: number
} 
/**
        *弹出层的通用回调
        *@param index 弹出层唯一ID
*@param $elem 弹出层的jquery 对象
    
        */ 
declare type FormHandle = (index: number,$elem: JQuery<any>) => boolean | void
/**
*对齐
*/ 
enum TextAlign {
   center = "center",left = "left",right = "right"
} 
 /**
*输入组件基类
*/ 
class InputBase  extends FieldDbComponentBase { 
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*是否显示后缀
*/ 
isShowSuffix: boolean

/**
* 校验数据是否通过设置的校验规则
* @returns true通过,则反之

*/ 
doVerify(): boolean

/**
* 输入框得到输入焦点

*/ 
focuse(): void

/**
* 获取编辑输入框的jquery 对象
这个应该在所有继承的子类需要重载该函数,不然无法实现校验弹出提示.
* @returns 输入框的jquery 对象

*/ 
getInputElem(): JQuery<any>

/**
* 获取label的caption
* @returns 返回label的caption字符串

*/ 
getLabelCaption(): string

/**
* 获取是否组件只读
* @returns 返回true 不允许修改, 则反之

*/ 
getReadOnly(): boolean

/**
* 获取是是否必填
* @returns 返回true 必填, 则反之

*/ 
getRequired(): boolean

/**
* 设置组件的label的标题
* @param caption  

*/ 
setLabelCaption(caption: string): void

/**
* 设置只读
* @param value  true 只读不允许修改,否则允许修改

*/ 
setReadOnly(value: boolean): void

/**
* 设置是否必填
* @param value  true 必填,则反之

*/ 
setRequired(value: boolean): void

/**
* 显示的提示校验信息
当 verifyText 非空时候显示"危险"的样式, 空则去除"危险"的样式

*/ 
verifyTips(): void

} 
/**
*输入框基类的配置接口
*/ 
interface IInputBaseConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件宽度
*/ 
componentWidth: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*数据源的字段名称
*/ 
field: string
/**
*组件字体
*/ 
font: Font
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*获取组件的值
*/ 
getValue: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*是否显示后缀
*/ 
isShowSuffix: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*空白时候的提示字符串
*/ 
placeholder: string
/**
*只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*权限资源的标题
*/ 
rightTitle: string
/**
*设置组件的值
*/ 
setValue: any
/**
*后缀文本
*/ 
suffixText: string
/**
*后缀宽度
*/ 
suffixWidth: string | number
/**
*校验规则
*/ 
verify: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*移动端组件基类
*/ 
class MobileComponentBase  extends ContainerBase { 

} 
/**
*组件的事件
*/ 
enum ComponentBaseEventType {
   
/**
*创建时触发
*/ 
onCreate = "onCreate",
/**
*加载完成,(渲染完成后触发)
*/ 
onLoad = "onLoad"
} 
 /**
*事件类
*/ 
class ComponentEvent  { 
/**
*触发标志
*/ 
firing: any
/**
*监听的函数的数组
*/ 
listeners: IListener[]
/**
* 名称
*/ 
name: string
/**
*事件绑定的对象
*/ 
obj: object

/**
* 增加组件事件listtener
* @param fn  事件处理函数
* @param scope  this的取值
* @param options  参数

*/ 
addListener(fn: Function,scope: any,options: any): void

/**
* 清除时间的监听listerners

*/ 
clearListeners(): void

/**
* 创建listerner
* @param fn  处理函数
* @param scope  this的取值
* @param o  关联的对象 为空时候取this.obj* @returns 返回IListener实例

*/ 
createListener(fn: Function,scope: any,o: any): IListener

/**
* 查找listerner
* @param fn  处理函数
* @param scope  this的取值* @returns 如果存在返回位置整数,否则返回-1

*/ 
findListener(fn: Function,scope: any): number

/**
* 事件触发
* @returns true事件触发,false 事件触发了但是返回了false

*/ 
fire(): boolean

/**
* 判断是否存在监听
* @param fn  处理函数
* @param scope  this的取值* @returns true 在监听,则反之

*/ 
isListening(fn: Function,scope: any): boolean

/**
* 移除事件监听
* @param fn  处理函数
* @param scope  this的取值* @returns true 已经移除,false 无事件被移除

*/ 
removeListener(fn: Function,scope: any): boolean

} 
/**
*组件序列化基类
支持：组件的序列化和反序列化
*/ 
class SerializeComponetBase  { 
/**
*组件的id
*/ 
id: string
/**
*组件名称
*/ 
name: string
/**
*组件的唯一类型标志(这个是不能重复的哦)
*/ 
xtype: string

/**
* 注册事件绑定的
* @param args  事件唯一标志字符串

*/ 
addEvents(args: any[]): void

/**
*  清除所有的events 注意:该函数一般是页面关闭时候才调用 防止重复调用

*/ 
clearAllEvents(): void

/**
* 反序列化
* @param jsonStr  json字符串* @returns 返回组件对象

*/ 
deserialize(jsonStr: string): any

/**
*  获取设计模式： true:设计模式 否则:运行模式
* @returns 返回 true设计模式 则反之

*/ 
getDesignModel(): boolean

/**
* 获取组件的全球唯一id
* @returns 返回组件的全球唯一id字符串

*/ 
getId(): string

/**
* 获取组件的名称
* @returns 组件的名称字符串

*/ 
getName(): string

/**
* 获取名称

*/ 
needName(): void

/**
* 取消注册的事件
* @param eventName  事件名
* @param fn  函数过程
* @param scope  this的取值

*/ 
off(eventName: string,fn: Function,scope: any): void

/**
* 取消注册的事件
* @param eventName  事件名
*/ 
offbyEventName(eventName: string): void

/**
* 注册事件处理函数
注意,如果同一个函数重复注册只生效最后一个
* @param eventName  事件的名称
* @param fn  事件处理函数
* @param scope  this的取值
* @param o  参数

*/ 
on(eventName: string,fn: T,scope: any,o: IObserver): void

/**
* 清除事件

*/ 
purgeListeners(): void

/**
* 触发事件
变量this.eventsSuspended 控制是否可以触发 true停止触发,则反之
例如:
```typescript
this.raiseEvent('onClick',this,param1,param2)
* @param eventName  事件名称
* @param params  可变参数列表 如: param1,param2,param3...* @returns 返回事件的返回值

*/ 
raiseEvent(eventName: string,params: any[]): boolean

/**
* 接管事件, 可以把事件接管到当前this的事件
 如:  this.relayEvents(this.proxy, [DataSourceEventType.loadexception]);
* @param o  需要接管的实例
* @param events  事件名数组


*/ 
relayEvents(o: IObserver,events: string[]): void

/**
* 恢复事件触发

*/ 
resumeEvents(): void

/**
* 组件序列化
* @returns 返回json字符串

*/ 
serialize(): any

/**
* 设置组件名称
* @param value  组件名

*/ 
setName(value: string): void

/**
* 暂停事件触发

*/ 
suspendEvents(): void

/**
* 获取设计模式
* @returns true:设计模式 否则:运行模式

*/ 
static getDesignmodel(): boolean

} 
/**
*事件监听接口
*/ 
interface IListener  { 
/**
*特殊情况下 delay single 处理函数
*/ 
fireFn: Function
/**
*正常的处理函数
*/ 
fn: Function
options: any
/**
*this的取值
*/ 
scope: any
} 
/**
* 元素拖拽类
*/ 
class Sortable  { 
multiDrag: any

} 
/**
*分组选项
*/ 
interface GroupOptions  { 
/**
*a canonical version of pull, created by Sortable
检查是否允许拖出 调用 group.pull的函数
*/ 
checkPull: CheckPullHandle
/**
*a canonical version of put, created by Sortable
检查是否允许拖入  调用 group.put的函数
*/ 
checkPut: CheckPutHandle
/**
*group name
*/ 
name: string
/**
*ability to move from the list. clone — copy the item, rather than move.
*/ 
pull: boolean | any | any | any
/**
*whether elements can be added from other lists, or an array of group names from which elements can be taken.
*/ 
put: boolean | any | any
/**
*revert cloned element to initial position after moving to a another list.
*/ 
revertClone: boolean
} 
/**
* 拖拽的鼠标事件
*/ 
interface MoveEvent  { 
dragged: HTMLElement
draggedRect: DOMRect
from: HTMLElement
originalEvent: any
/**
*element on which have guided
*/ 
related: HTMLElement
relatedRect: DOMRect
to: HTMLElement
willInsertAfter: boolean
} 
/**
*组件拖拽事件
*/ 
interface SortableEvent  { 
/**
*前面的元素
*/ 
afterEl: HTMLElement
/**
*后面的元素
*/ 
beforeEl: HTMLElement
/**
*拖拽时复制的元素
*/ 
clone: HTMLElement
/**
*previous list
拖拽的来源容器元素
*/ 
from: HTMLElement
/**
*dragged element
拖拽的元素
*/ 
item: HTMLElement
/**
*New index within parent, only counting draggable elements
*/ 
newDraggableIndex: number
/**
*new index within parent
新的位置
*/ 
newIndex: number
/**
*When MultiDrag is used to sort, this holds a HTMLElement and newIndex for each item.
*/ 
newIndicies: any
/**
*Old index within parent, only counting draggable elements
*/ 
oldDraggableIndex: number
/**
*old index within parent
旧的位置
*/ 
oldIndex: number
/**
*When MultiDrag is used to sort, this holds a HTMLElement and oldIndex for each item selected.
*/ 
oldIndicies: any
originalEvent: any
/**
*Pull mode if dragging into another sortable
拖拽的方式
*/ 
pullMode: boolean | any
/**
*When Swap is used to sort, this will contain the dragging item that was dropped on.
排序时候使用,
*/ 
swapItem: HTMLElement
/**
*鼠标在什么元素上面
*/ 
target: HTMLElement
/**
*list, in which moved element.
目标的容器元素
*/ 
to: HTMLElement
} 
/**
*组件拖拽选项
*/ 
interface SortableOptions  { 
/**
*单位：ms，定义排序动画的时间；
*/ 
animation: number
/**
*Class name for the chosen item
所选项目的类名, 格式为简单css选择器的字符串，当选中列表单元时会给该单元增加一个class 默认值 sortable-chosen
*/ 
chosenClass: string
/**
*绑定的组件
*/ 
component: ComponentBase
/**
*默认值:"data-id"
*/ 
dataIdAttr: string
/**
*定义鼠标选中列表单元可以开始拖动的延迟时间；
*/ 
delay: number
/**
*Only delay if user is using touch
仅当用户使用触摸时才会延迟
*/ 
delayOnTouchOnly: boolean
/**
*Direction of Sortable
(will be detected automatically if not given)
拖拽方向 (默认情况下会自动判断方向)
*/ 
direction: any | any | any
/**
*义是否此sortable对象是否可用，为true时sortable对象不能拖放排序等功能，为false时为可以进行排序，相当于一个开关； 默认值 false
*/ 
disabled: boolean
/**
*正在被拖拽中的css类名 默认值 "sortable-drag"
*/ 
dragClass: string
/**
*允许拖拽的项目类名 默认值:>* 指定元素中的哪些项目应该是可拖动的
*/ 
draggable: string
dragoverBubble: boolean
dropBubble: boolean
/**
*Easing for animation. Defaults to null.
移动动画。默认为 null。例如 https://easings.net/。
*/ 
easing: string
/**
*distance mouse must be from empty sortable
to insert drag element into it
距离鼠标必须从空的可排序插入拖动元素到它
*/ 
emptyInsertThreshold: number
/**
*Class name for the cloned DOM Element when using forceFallback
使用 forceFallback 时克隆的 DOM 元素的类名
*/ 
fallbackClass: string
fallbackOffset: any
/**
*Appends the cloned DOM Element into the Document's Body
将克隆的 DOM 元素附加到文档正文中 默认值:false
*/ 
fallbackOnBody: boolean
/**
*以像素为单位指定鼠标在被视为拖动之前应移动的距离。
默认值:0
*/ 
fallbackTolerance: number
/**
*Selectors that do not lead to dragging (String or Function)
过滤器，不需要进行拖动的元素
*/ 
filter: string | any
/**
*ignore the HTML5 DnD behaviour and force the fallback to kick in
忽略 HTML5拖拽行为，强制回调进行
*/ 
forceFallback: boolean
/**
*Class name for the drop placeholder 默认值:sortable-ghost
放置占位符的类名
*/ 
ghostClass: string
/**
*To drag elements from one list into another, both lists must have the same group value.
You can also define whether lists can give away, give and keep a copy (clone), and receive elements.
拖拽的组
*/ 
group: GroupOptions
/**
*Drag handle selector within list items
格式为简单css选择器的字符串，使列表单元中符合选择器的元素成为拖动的，只有按住拖动手柄才能使列表单元进行拖动
如: .drag-mc-pane
*/ 
handle: string
/**
*忽略的节点tag  默认值 "a, img"
*/ 
ignore: string
/**
*Will always use inverted swap zone if set to true 默认值 false
如果设置为 true，将始终使用反转交换区域
*/ 
invertSwap: boolean
/**
*Threshold of the inverted swap zone
(will be set to `swapThreshold` value by default)
反向交换区域的阈值 (默认情况下将设置为交换阈值)
*/ 
invertedSwapThreshold: number
/**
*Element is dropped into the list from another list
 元素从一个列表拖拽到另一个列表
*/ 
onAdd: any
/**
*Called when dragging element changes position
 拖拽元素改变位置的时候
*/ 
onChange: any
/**
*Element is chosen
 元素被选中
*/ 
onChoose: any
/**
*Created a clone of an element
clone一个元素的时候触发
*/ 
onClone: any
/**
*Element dragging ended
结束拖拽
*/ 
onEnd: any
/**
*Attempt to drag a filtered element
试图拖拽一个filtered的元素
*/ 
onFilter: any
/**
*Event when you move an item in the list or between lists
 拖拽移动的时候
*/ 
onMove: any
/**
*Element is removed from the list into another list
元素从列表中移除进入另一个列表
*/ 
onRemove: any
/**
*Called by any change to the list (add / update / remove)
*/ 
onSort: any
/**
*Element dragging started
 开始拖拽的时候事件
*/ 
onStart: any
/**
*Element is unchosen
元素未被选中的时候（从选中到未选中）
*/ 
onUnchoose: any
/**
*Changed sorting within list
*/ 
onUpdate: any
/**
*页面组件实例
*/ 
page: DesignerPageBase
/**
*Call `event.preventDefault()` when triggered `filter`
触发 “过滤” 时调用 “事件.预防性默认 ()”
*/ 
preventOnFilter: boolean
/**
*Remove the clone element when it is not showing,
rather than just hiding it
当克隆元素没有显示时，删除它，而不仅仅是隐藏它
默认值 true
*/ 
removeCloneOnHide: boolean
/**
*拖拽时候的数据传输函数
*/ 
setData: any
/**
*sorting inside list 默认值 true
*/ 
sort: boolean
store: any
/**
*是否支持触控
*/ 
supportPointer: boolean
/**
*Threshold of the swap zone.
默认值  1
*/ 
swapThreshold: number
/**
*How many *pixels* the point should move before cancelling a delayed drag event
拖拽事件在多少像素时候取消
*/ 
touchStartThreshold: number
} 
/**
*模板渲染处理类
*/ 
class Templete  { 

/**
* 模板渲染数据
* @param model  数据
* @param callback  渲染完成的回调, 可以在内休其值* @returns 返回模板渲染完的字符串

*/ 
render(model: object,callback: any): any

} 
/**
*Vue组件基类
*/ 
class VueComponentBase  extends ContainerBase { 

} 
/**
*点击的动画
*/ 
enum ClickAnimation {
   
/**
*点击边框声波
*/ 
broderWaver = "broderWave",
/**
*无效果
*/ 
none = "none",
/**
*抖动
*/ 
quiver = "quiver",
/**
*点击水波纹
*/ 
ripple = "ripple"
} 
 /**
*按钮的尺寸
*/ 
enum btnSize {
   
/**
*默认尺寸的按钮
*/ 
default = "",
/**
*流体按钮
宽度最大化
*/ 
fluid = "fluid",
/**
*大型按钮
*/ 
lg = "lg",
/**
*小型按钮
*/ 
sm = "sm",
/**
*迷你型按钮
*/ 
xs = "xs"
} 
 /**
*按钮的主题
*/ 
enum btnTheme {
   
/**
*警告
*/ 
danger = "danger",
/**
*默认
*/ 
default = "normal",
/**
*禁用
*/ 
disabled = "disabled",
/**
*link
*/ 
link = "link",
/**
*百搭
*/ 
normal = "normal",
/**
*原始
*/ 
primary = "primary",
/**
*暖色
*/ 
warm = "warm"
} 
 /**
*按钮组件基类
*/ 
class YHButtonBase  extends ButtonBase { 

/**
* 得到弹出编辑器
* @returns 弹出编辑器实例

*/ 
getPopEdior(): YHButtonBaseDropDownEditor

/**
* 设置图标
* @param value  属性值

*/ 
setIcon(value: string): void

/**
* 设置按钮的角度百分比
* @param value  角度百分比 %1,50%

*/ 
setRadius(value: string): void

/**
* 设置按钮的尺寸
* @param value  属性值

*/ 
setSize(value: btnSize): void

/**
* 按钮的主题
* @param value  属性值

*/ 
setTheme(value: btnTheme): void

} 
/**
*按钮配置选项
*/ 
interface IYHButtonBaseConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*按钮的标题
*/ 
btnText: string
/**
*组件的样式class
*/ 
class: string
/**
*组件是否可点击
*/ 
enable: boolean
/**
*组件字体
*/ 
font: Font
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*按钮图标
*/ 
icon: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件的名称
*/ 
name: string
/**
*点击事件
*/ 
onClick: any
/**
*点击事件js脚本字符串
*/ 
onClickScript: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*按钮的角度
100px
*/ 
radius: string
/**
*按钮的尺寸
*/ 
size: btnSize
/**
*按钮的主题
*/ 
theme: btnTheme
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*定位方式
*/ 
enum YHDatePickerBasePosition {
   
/**
*绝对定位，始终吸附在绑定元素周围。默认值
*/ 
abolute = "abolute",
/**
*固定定位，初始吸附在绑定元素周围，不随浏览器滚动条所左右。一般用于在固定定位的弹层中使用。
*/ 
fixed = "fixed",
/**
*静态定位，控件将直接嵌套在指定容器中。
*/ 
static = "static"
} 
 /**
*组件的主题
*/ 
enum YHDatePickerBaseTheme {
   
/**
*默认简约
*/ 
default = "default",
/**
*格子主题
*/ 
grid = "grid",
/**
*墨绿背景
*/ 
molv = "molv"
} 
 /**
*弹出框的触发方式
*/ 
enum YHDatePickerBaseTriggerType {
   
/**
*点击才出现选择日期时间
*/ 
click = "click",
/**
*得到焦点
*/ 
focus = "focus"
} 
 /**
*日期选择组件的显示类型
*/ 
enum YHDatePickerBaseType {
   date = "date",datetime = "datetime",month = "month",time = "time",year = "year"
} 
 /**
*内置组件 日期选择
*/ 
class YHDatePickerBase  extends InputBase { 

/**
* 时间区间最大
* @returns 返回最大日期

*/ 
getMaxDate(): Date

/**
* 时间区间最小
* @returns 返回最小日期

*/ 
getMinDate(): Date

/**
* 得到组件的值
* @returns 组件值字符串

*/ 
getValue(): Date | IYHDatePickerBaseRange

/**
* 注册check值发生点击时候除非事件
* @param callback  

*/ 
onValueChanged(callback: onChangeHandle): void

/**
* 设置可选的最大时间
* @param date  时间类型的值

*/ 
setMax(date: Date): void

/**
* 设置可选最小值时间
* @param date  时间类型值

*/ 
setMin(date: Date): void

/**
*  赋值
* @param value  

*/ 
setValue(value: string | Date | IYHDatePickerBaseRange): void

/**
*  静态渲染组件
* @param setting  设置的属性

*/ 
staticRender(setting: IYHDatePickerBaseConfig): void

} 
/**
*组件配置接口
*/ 
interface IYHDatePickerBaseConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
* 工具按钮
*/ 
btns: string[]
/**
* 是否显示公历节日
我们内置了一些我国通用的公历重要节日，通过设置 true 来开启。国际版不会显示。
*/ 
calendar: boolean
/**
*组件的样式class
*/ 
class: string
/**
*组件宽度
*/ 
componentWidth: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*数据源的字段名称
*/ 
field: string
/**
*组件字体
*/ 
font: Font
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*获取组件的值
*/ 
getValue: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*输入框Id
*/ 
inpuElemId: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*是否显示后缀
*/ 
isShowSuffix: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*组件间隔
*/ 
margin: string
/**
* 最大时间
*/ 
max: Date
/**
* 最小时间
*/ 
min: Date
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*空白时候的提示字符串
*/ 
placeholder: string
/**
* 定位方式
*/ 
position: string
/**
* 开启左右面板范围选择
*/ 
range: boolean
/**
*只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*权限资源的标题
*/ 
rightTitle: string
/**
*静态渲染时候的容器id
*/ 
rootId: string
/**
*设置组件的值
*/ 
setValue: any
/**
*  默认显示
*/ 
show: Boolean
/**
* 是否显示底部栏
*/ 
showBottom: boolean
/**
*后缀文本
*/ 
suffixText: string
/**
*后缀宽度
*/ 
suffixWidth: string | number
/**
* 主题
*/ 
theme: YHDatePickerBaseTheme
/**
*采用click弹出
*/ 
triggerEvent: YHDatePickerBaseTriggerType
type: YHDatePickerBaseType
/**
* 值
*/ 
value: Date | IYHDatePickerBaseRange
/**
*校验规则
*/ 
verify: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
/**
* 层叠顺序
*/ 
zIndex: number
} 
/**
*时间区域
*/ 
interface IYHDatePickerBaseRange  { 
/**
*开始
*/ 
begin: Date
/**
*结束
*/ 
end: Date
} 
/**
*CSS样式工具类
*/ 
class CssHelper  { 

/**
*  获取css的
* @param styles  css样式* @returns 样式的jss

*/ 
static getCss(styles: any): any

/**
*  获取css的
* @param styles  css样式
* @param cmpId  组件id* @returns 样式的jss

*/ 
static getCssById(styles: any,cmpId: string): any

} 
/**
*数组数据源
需要指明fields
*/ 
class ArrayDataSet  extends DataSourceBase { 

} 
/**
*高级查询类型
*/ 
enum AdvQueryType {
   
/**
*区间
*/ 
between = "between",
/**
*自定义语句
*/ 
custom = "custom",
/**
*等于
*/ 
equeal = "equeal",
/**
*大于
*/ 
greaterThan = "greaterThan",
/**
*大于等于
*/ 
greaterThanEqual = "greaterThanEqual",
/**
*在某值集合范围
*/ 
in = "in",
/**
*小于
*/ 
lessThan = "lessThan",
/**
*小于等于
*/ 
lessThanEqual = "lessThanEqual",
/**
*包含
*/ 
like = "like"
} 
 /**
*数据源的事件类型枚举
*/ 
enum DataSourceEventType {
   
/**
*新增记录事件
*/ 
add = "add",
/**
*提交修改后事件
*/ 
afterpost = "afterpost",
/**
*加载数据前事件 发生在:load
*/ 
beforeload = "beforeload",
/**
*提交修改前事件
*/ 
beforepost = "beforepost",
/**
*移除所有记录事件 发生在: removeAll
*/ 
clear = "clear",
/**
*数据查询/提交完成后的事件
*/ 
complete = "complete",
/**
*数据发生变化  发生在: loadrows, filterBy ,sort ,clearFilter
*/ 
datachanged = "datachanged",
/**
*加载数据事件 发生在:loadrows
function (cope, data, params)
*/ 
load = "load",
/**
*加载发生错误事件: 发生在 loadResponse , 和 proxy的加载出错
*/ 
loadexception = "loadexception",
/**
*提交修改时候发生的错误事件
*/ 
postexception = "postexception",
/**
*移除记录事件
*/ 
remove = "remove",
/**
*刷新记录事件 发生在: afterEdit ,afterReject,afterCommit
*/ 
update = "update"
} 
 /**
*数据源状态
*/ 
enum DatasourceState {
   
/**
*正在查询数据中
*/ 
loading = 1,
/**
*提交数据中
*/ 
posting = 2,
/**
*数据源处在准备好状态
*/ 
ready = 0
} 
 /**
*数据源的取数编辑器基类
*/ 
class DataSetEditorBase  { 

} 
/**
*数据源基类
1.记录的排序
2.记录的修改独立保存
3.数据库更新
4.数据库数据加载
5.组件的显示数据源
*/ 
class DataSourceBase  extends InvisibleBase { 
/**
*数据源是否自动获取数据
 WM_PAGE_LOAD 消息触发
注意:如果同时注册WM_PAGE_LOAD存在触发顺序问题.
*/ 
autoActive: boolean
/**
*数据库操作
*/ 
dao: IDao[]
/**
*字段数组
*/ 
fields: IField[]
/**
*取消分页
*/ 
ignorePage: boolean
/**
*保存修改过的行
数据提交时候要用到里面的行生成changes
*/ 
modified: Row[]
/**
*主表字段
*/ 
relField: string
/**
*重复提交
*/ 
repeatPost: boolean
/**
*显示保存的对话框
*/ 
showPostLoading: boolean

/**
* 增加附带额外参数回调函数
用于在数据源查询时候附带参数
* @param callback  额外参数回调函数

*/ 
addExtraParamCallBack(callback: extraParamHandle): void

/**
* 添加表模型的字段到数据源
* @param tableModelFields  表模型的字段数组
*/ 
addFields(tableModelFields: IField[] | ITableModelField[]): void

/**
* 增加行到数据源的_Datas 只是单纯的增加没做,不会记录到modified里
* @param rows  行数组

*/ 
addMataRow(rows: Row[]): void

/**
* 新增数据行  会被记录到modified里
* @param rows  行的数组* @returns 返回新增的行实例数组

*/ 
addRow(rows: Row[]): Row[]

/**
* 根据数据数组新增数据行  会被记录到modified里
* @param datas  数据对象数组 如:ds.addRowDatas([{field1:value1,field2:value2,field3:value3,field4:value4...}])

*/ 
addRowDatas(datas: Object[]): void

/**
* 新增空行并把current设置成当前空行index
把current设置当前新增的行
* @param rowId  可选参数 需要移除的行对象* @returns 返回新增的行实例

*/ 
appendBlankRow(rowId: any): Row

/**
* 开始排序

*/ 
applySort(): void

/**
* 清除所有的数据

*/ 
clear(): void

/**
* 清空数据源字段列表

*/ 
clearAllField(): void

/**
* 提交所有的记录修改
会触发所有修改记录的afterCommit

*/ 
commitChanges(): void

/**
* 删除行没有记录到modified里面 只是单纯的删除行.这个函数移除的的行与removeRow的区别是 getChanges() 得不到被这个函数移除的行
* @param row  行实例
* @param isRemoveModified  是否移除modified的行.(默认: true)

*/ 
deleteRow(row: Row,isRemoveModified: boolean): void

/**
* 循环遍历每条记录
* @param eachCallBack  遍历数据回调函数
* @param scope  范围,一般是调用的this

*/ 
eachRow(eachCallBack: any,scope: object): void

/**
* 本地数据查找行
例子： var row= ds.find((row)=>{return row.get('FieldName')=='xxxyyy'});
* @param fn  行匹配函数
* @param formIndex  可选参数开始索引 默认值 0* @returns 返回记录的Row实例

*/ 
find(fn: DataSourceQureyRowHandle,formIndex: number): Row

/**
* 本地数据查找行
例子： var index= ds.findIndex((row)=>{return row.get('FieldName')=='xxxyyy'});
* @param fn  匹配函数
* @param formIndex  可选参数开始索引* @returns 返回记录的位置索引index

*/ 
findIndex(fn: DataSourceQureyRowHandle,formIndex: number): number

/**
* 新增记录并返回记录的index
由于排序的存在导致新加进去的记录是乱的
* @param row  需要新增的记录* @returns 新增记录后的index

*/ 
findInsertIndex(row: Row): number

/**
* 获取第index位置的行
* @param index  记录位置* @returns 返回对应的记录

*/ 
getAt(index: number): Row

/**
* 通过Id获取行
* @param id  行主键值* @returns 返回对应的记录

*/ 
getById(id: string): Row

/**
* 获取修改的数据用于提交
[
 {__state:add,id:v2,f1:v1 ,__orig:{}},
 {__state:modfy,id:v3,f1:newv1,__orig:{}},
 {__state:delete,id:v3,__orig:{}}
]
* @returns 返回用户提交的数据如上

*/ 
getChanges(): IChangeData[]

/**
* 获取checbox==true选择的记录 如果存在checkbox,否则返回null
* @returns 返回当前记录 当数据源是空时候返回 null

*/ 
getCheckRow(): Row

/**
* 获取当前数据源数量 (本页的数量)
* @returns 数据源的记录数量

*/ 
getCount(): number

/**
* 获取当前的行index
* @returns 行的索引

*/ 
getCurrent(): number

/**
* 获取当前的记录
* @returns 返回当前记录 当数据源是空时候返回 null

*/ 
getCurrentRow(): Row

/**
* 获取原始数据数组
* @returns 返回原始数据数组注意这个是二维数组   [[1,2,3,4],[5,6,7,8]]

*/ 
getDataArray(): any[]

/**
* 获取某列数据数组
* @param fieldName  字段名* @returns 返回原始数据数组注意这个是一维数组 [1,5,9]..就是某个列的所有行的值

*/ 
getDataArrayByField(fieldName: string): any[]

/**
* 获取数据
这个是返回带有格式化后的数据
一般是用户展示界面时候使用
* @returns 返回带有格式的字符串 [{p1:1,p2:2,p3:3},{p1:4,p2:5,p3:6}]

*/ 
getDatas(): any[]

/**
* 得到数据源的所有行的错误
* @returns 返回错误的数组

*/ 
getError(): IRowFieldError[]

/**
* 获取字段
* @param fieldName  字段名称* @returns 字段的实例

*/ 
getField(fieldName: string): IField

/**
* 返回字段字符串数组
* @returns 返回字段字符串数组 ['field1','field2','field2']

*/ 
getFieldArray(): string[]

/**
* 获取主键字段名
如果不存在this.keys 就读取this.reader.config.id
* @returns 主键字段数组

*/ 
getKeys(): string[]

/**
* 得到主数据源
* @returns 返回主数据源的组件实例

*/ 
getMasterDataSource(): DataSourceBase

/**
* 得到已经被修改的记录
* @returns 已经修改的记录数组

*/ 
getModifiedrows(): Row[]

/**
* 获取从start到end范围内的行
* @param start  开始
* @param end  结束* @returns 指定范围的row 数组

*/ 
getRange(start: number,end: number): Row[]

/**
* 获取数据
这个是返回原始的数据
* @returns 返回原始数据数组  [{p1:1,p2:2,p3:3},{p1:4,p2:5,p3:6}]

*/ 
getRawDatas(): any[]

/**
* 返回所有的行
* @returns 所有行数组

*/ 
getRows(): Row[]

/**
* 获取排序信息
* @returns 返回SortInfo类型信息

*/ 
getSortState(): ISortInfo

/**
* 获取总数
* @returns 数据源的总记录数量 这是分页情况, 这个数量不一定等于getCount()

*/ 
getTotalCount(): number

/**
* 数据源内的行是否存在错误
* @returns 返回是否存在行的错误

*/ 
hasError(): boolean

/**
* 获取行
* @param row  行* @returns 返回对应的记录的index, 不存在返回 -1

*/ 
indexOf(row: any): number

/**
* 根据行的主键值获取行的索引
* @param id  对应行的主键值* @returns 行的索引

*/ 
indexOfId(id: string): number

/**
* 增加行到数据源的_Datas 只是单纯的增加没做,不会记录到modified里
* @param index  行的位置
* @param rows  行数组

*/ 
insertMataRow(index: number,rows: Row[]): void

/**
* 在index位置插入数据行
* @param index  位置 (第一行: 0,第二行: 1 ,第三行: 2  ...以此类推)
* @param rows  行数组* @returns 返回新插入的行实例数组

*/ 
insertRow(index: number,rows: Row[]): Row[]

/**
* 根据数据对象新增数据行  会被记录到modified里
* @param index  位置 (第一行: 0,第二行: 1 ,第三行: 2  ...以此类推)
* @param dataObj  数据对象 如:ds.insertRowDatas([{field1:value1,field2:value2,field3:value3,field4:value4...}])* @returns 返回新插入的行实例

*/ 
insertRowDatas(index: number,dataObj: Object): Row

/**
* 加载数据
* @param loadParams  数据加载选项 包含参数等配置
例子:
```typescript
load( {
page : 0，
limit : 10
//加载数据完后回调函数
loadFinishCallBack: function(){
}
})
```* @returns 成功返回true 则反之

*/ 
load(loadParams: IDsLoadOptions): boolean

/**
* 刷新数据行
* @param keysObj  查询的查询条件数组
* @param callback  加载完成回调函数
```typescript
loadByKey( {
key1 : keyvalue1，
key2 : keyvalue2
})
```

*/ 
loadByKeys(keysObj: IAdvQueryItem[],callback: any): void

/**
* 重新加载数据
并附带页面的参数
 例子
```typescript
ds.loadWithPageParam({
query: {
quickQuery:  field1: {
type:'like'
val:value1
},
advQuery:{
field1: {
type:'equeal'
val:value1
},
field2: {
type:'equeal'
val:value2
},
}
}
})
```
* @param paramObj  可选  参数对象

*/ 
loadWithPageParam(paramObj: object): void

/**
* 注册数据行增加事件
* @param handle  事件处理回调函数

*/ 
onAdd(handle: onAddHandle): void

/**
* 注册提交之前的事件
* @param handle  事件回调

*/ 
onBeforePost(handle: onBeforePostHandle): void

/**
* 注册数据源加载之前的事件
* @param handle  事件处理回调函数

*/ 
onBeforeload(handle: onBeforeloadHandle): void

/**
* 注册数据源清除数据事件
* @param handle  事件处理回调函数

*/ 
onClear(handle: onClearHandle): void

/**
* 注册数据查询/提交完成后事件
* @param handle  事件处理回调函数

*/ 
onComplete(handle: onCompleteHandle): void

/**
* 注册数据发生变化  发生在: loadrows, filterBy ,sort ,clearFilter
* @param handle  事件处理回调函数

*/ 
onDatachangeHandle(handle: onDatachangeHandle): void

/**
* 注册数据加载完成事件
* @param handle  事件处理回调函数

*/ 
onLoad(handle: onLoadHandle): void

/**
* 注册数据加载失败事件
* @param handle  

*/ 
onLoadException(handle: onLoadExceptionHandle): void

/**
* 注册提交异常的事件
* @param handle  事件回调

*/ 
onPostException(handle: onPostExceptionHandle): void

/**
* 注册数据行移除事件
* @param handle  事件处理回调函数

*/ 
onRemove(handle: onRemoveHandle): void

/**
* 提交数据 包含（新增，修改，删除）
* @param callback  提交完成回调

*/ 
post(callback: DataSourcePostHandle): void

/**
* 本地数据查询
例子： var rows= ds.query((row)=>{return row.get('FieldName')=='xxxyyy'});
* @param fn  行匹配函数
* @param formIndex  可选参数开始索引,默认值 0* @returns 返回查找的数据行数组

*/ 
query(fn: DataSourceQureyRowHandle,formIndex: number): ZlCollection

/**
* 局部刷新行 常用用于更新一条记录后刷新组件的显示
* @param row  需要刷新的数据组
* @param callback  完成回调

*/ 
refreshRow(row: Row,callback: any): void

/**
* 取消所有记录的修改
会触发所有修改记录的afterReject

*/ 
rejectChanges(): void

/**
* 重新加载数据
* @param params  可选参数 如果为空就按lastOptions来查询
* @param isNew  可选参数 默认值:false 重新一次查询清掉所有的以前查的参数* @returns 成功返回true 则反之

*/ 
reload(params: IDsLoadOptions,isNew: boolean): boolean

/**
* 重新加载数据并附带上page的参数
* @param params  参数
* @param isNew  可选参数 默认值:false 重新一次查询清掉所有的以前查的参数* @returns 成功返回true 则反之

*/ 
reloadOnPageParams(params: IDsLoadOptions,isNew: boolean): boolean

/**
* 移除全部记录, 注意只要在post后才会真正更新到数据库
非RowState.insert 会被记录到modified里

*/ 
removeAllRow(): void

/**
* 移除字段
* @param field  字段实例

*/ 
removeField(field: IField): void

/**
* 通过字段名称移除字段
* @param fieldName  字段名称

*/ 
removeFieldByName(fieldName: string): void

/**
* 移除记录行
非RowState.insert 会被记录到modified里
* @param row  需要移除的行对象

*/ 
removeRow(row: Row): void

/**
* 重置current.为第一位置 或者-1

*/ 
reset(): void

/**
* 设置当前的行位置
* @param index  行的位置

*/ 
setCurrent(index: number): void

/**
* 设置当前行
* @param id  主键值

*/ 
setCurrentRowById(id: string): void

/**
* 设置数据源的行,这是没有记录到modified的
* @param rows  行数组

*/ 
setRows(rows: Row[]): void

/**
* 排序
* @param fieldName  字段名
* @param dir  排序的方式 ASC  DESC* @returns false 没排序,则反之

*/ 
sort(fieldName: string,dir: FieldSortDirection): boolean

/**
* 统计 注意:只有是数字类型的字段才能统计
* @param field  需要统计的字段名
* @param start  开始
* @param end  结束* @returns 统计的结果

*/ 
sum(field: string,start: number,end: number): number

/**
* 合并数据源提交
这样做的好处是多个数据源的提交是在一个数据库的事务内.可以用于保证数据的完整性
注意:数据源的更新顺序就是数据源数组的位置顺序
* @param dss  数据源的数组
* @param callback  提交完成回调

*/ 
unionPost(dss: DataSourceBase[],callback: DataSourcePostHandle): void

/**
* 把修改的数据更新到数据源,只是更新本地数据 更新完可以调用post来提交到后台
* @param changes  修改的数据格式: [{"state":"insert","ZHUBID":"sdf","editState":"add","MINGC":"sdf","BIANH":"dsf"}]

*/ 
updateChanges(changes: IChangeData[]): void

} 
/**
*公式窗口的回调
*/ 
interface FormulaCallback  { 
} 
/**
*公式窗口的回调参数接口格式
*/ 
interface FormulaCallbackParams  { 
/**
*模型的id
*/ 
MODELE_VALUE: string
/**
*layer窗口的index
*/ 
addformulaPop: number
} 
/**
*字段的高级查询结构
*/ 
interface IAdvQueryItem  { 
/**
*自定义 例如: Field1>#{xxxx} and field1 !=23
设置了这个优先级别比上面的高,查询时候会吧语句直接加到查询条件
*/ 
custom: string
/**
*字典的数据源
*/ 
dictSourceid: string
/**
*数据库字段类型
*/ 
fieldDataType: string
/**
*唯一
*/ 
id: string
/**
*字段名
*/ 
name: string
/**
* 查询类型
*/ 
type: AdvQueryType
/**
*值
*/ 
val: any
/**
*值1
*/ 
val1: any
} 
/**
*数据源编辑器接口
*/ 
interface IDataSetEditor  { 
/**
*显示
*/ 
show: any

/**
* 点击确定
* @returns true成功,则反之

*/ 
commit(): boolean

/**
* 获取编辑器的html源码
* @returns 返回html源码字符串

*/ 
html(): string

/**
* 初始化

*/ 
init(): void
} 
/**
*数据源基类的配置接口
*/ 
interface IDataSourceBaseConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*数据库操作 默认:[]
*/ 
dao: IDao[]
/**
*字段数组 默认:[]
*/ 
fields: IField[]
/**
*组件字体
*/ 
font: Font
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*数据查询加载是基础参数配置项
*/ 
interface IDsLoadBaseParamsOptions  { 
/**
*当前数据源Id
*/ 
dsId: string
/**
*每页多少记录
*/ 
limit: number
/**
*当前的模型Id
*/ 
modelId: string
/**
*当前页
*/ 
page: number
} 
/**
*数据源加载的配置
*/ 
interface IDsLoadOptions  { 
/**
*请求完成返回回调函数 不管成功或者错误(不包含网络错误) 这个时候数据源还没有加载返回的数据行
*/ 
callback: any
/**
*完成请求
*/ 
complete: any
/**
*每页多少记录
*/ 
limit: number
/**
*行加载完成回调函数
*/ 
loadFinishCallBack: any
/**
*开始请求
*/ 
onBeforeload: any
/**
*当前页
*/ 
page: number
/**
*数据源的查询
*/ 
query: any
/**
*排序
 {
 field1: 'asc',
 field2: 'desc'
}
*/ 
sort: object
} 
/**
*解析的结果
*/ 
interface IReadResult  { 
fields: IField[]
rows: any[]
success: boolean
totalRows: number
} 
/**
        *数据源提交回调
        *@param err 错误信息 ,无错误时候为空
    
        */ 
declare type DataSourcePostHandle = (err: string) => void
/**
        *数据源查询回调
        *@param row 行实例
*@returns undefined true /false
    
        */ 
declare type DataSourceQureyRowHandle = (row: Row) => boolean
/**
        *扩展参数的回调
            
        */ 
declare type extraParamHandle = () => IParam[]
/**
        *新增行的回调
        *@param rows 行数组
*@param index 插入的位置
    
        */ 
declare type onAddHandle = (rows: Row[],index: number) => void
/**
        *数据提交之前的回调
        *@param xhr http xhr
    
        */ 
declare type onBeforePostHandle = (xhr: JQuery.jqXHR<any>) => void
/**
        *数据加载之前的回调
        *@param options 加载的配置
    
        */ 
declare type onBeforeloadHandle = (options: IDsLoadOptions) => void
/**
        *清理所有行的回调
            
        */ 
declare type onClearHandle = () => void
/**
        * 数据查询/提交完成后的回调
        *@param options 加载的配置
    
        */ 
declare type onCompleteHandle = (ds: DataSourceBase) => void
/**
        * 数据改变回调
            
        */ 
declare type onDatachangeHandle = () => void
/**
        *数据加载异常的回调
        *@param error 错误字符串
    
        */ 
declare type onLoadExceptionHandle = (error: string) => void
/**
        *数据加载后的回调
        *@param rows 行数组
    
        */ 
declare type onLoadHandle = (rows: Row[],fields: IField[]) => void
/**
        *数据提交异常的回调
        *@param error 错误字符串
    
        */ 
declare type onPostExceptionHandle = (error: string) => void
/**
        *移除行的回调
        *@param rows 行数组
*@param index 插入的位置
    
        */ 
declare type onRemoveHandle = (rows: Row[],index: number) => void
/**
*排序的方向枚举
*/ 
enum FieldSortDirection {
   
/**
*升序
*/ 
ASC = "ASC",
/**
*降序
*/ 
DESC = "DESC"
} 
 /**
*数据类型
*/ 
enum FieldType {
   
/**
*二进制类型的字段
*/ 
BLOB = "BLOB",
/**
*布尔类型的字段
*/ 
BOOLEAN = "BOOLEAN",
/**
*日期类型的字段
*/ 
DATE = "DATE",
/**
*日期时间类型的字段
*/ 
DATETIME = "DATETIME",
/**
*浮点类型的字段
*/ 
FLOAT = "FLOAT",
/**
*整数类型的字段
*/ 
INTEGER = "INTEGER",
/**
*主键类型的字段
*/ 
PK = "PK",
/**
*字符串类型的字段
*/ 
STRING = "STRING",
/**
*大文本类型的字段
*/ 
TEXT = "TEXT"
} 
 /**
*数据源的字段接口
*/ 
interface IField  { 
/**
*允许为空
true 允许 则反之
*/ 
allowNull: boolean
/**
*数据转换函数
用户转换成想要的数据格式
*/ 
convertFn: any
/**
*字段的数据类型
*/ 
dataType: FieldType
/**
*数据库的源类型描述
*/ 
dbDataType: string
/**
*默认值
*/ 
defalutValueScript: any
/**
*描述
*/ 
descption: string
/**
*字段编号
*/ 
field: string
/**
*获取数据源新增数据时间的默认值
这个函数执行脚本并获取返回值作为默认值
*/ 
getDefaultValue: any
/**
*设计模式下展示字段树的图标获取字段类型
*/ 
getIcon: any
/**
*是否隐藏
*/ 
hide: boolean
id: string
/**
*长度
*/ 
length: number
/**
*数据库返回到浏览器端时候需要解析成相应的数据类型
*/ 
parser: any
/**
*返回到服务器端个格式化
需要排除掉时间类型
*/ 
parserToServer: any
/**
*精度
*/ 
scale: number
select: any
/**
*排序方向
*/ 
sortDir: FieldSortDirection
/**
*字段标题
*/ 
title: string
} 
/**
*列的单元格内容排列方式
*/ 
enum TableColumnAlginType {
   center = "center",left = "left",right = "right"
} 
 /**
*列的类型
*/ 
enum TableColumnColType {
   
/**
*复选框
*/ 
checkbox = "checkbox",
/**
*多表头
*/ 
header = "header",image = "image",
/**
*序号
*/ 
no = "no",
/**
*正常
*/ 
normal = "normal",
/**
*数字
*/ 
number = "number",
/**
*序号
layui使用
*/ 
numbers = "numbers",
/**
*操作
*/ 
option = "option",
/**
*单选框
*/ 
radio = "radio",
/**
*行多选框
*/ 
rowcheck = "rowcheck",
/**
*行单选框
*/ 
rowradio = "rowradio",
/**
*空行
*/ 
space = "space"
} 
 /**
*列的固定位置
*/ 
enum TableColumnFixType {
   left = "left",right = "right"
} 
 /**
* 查询类型
*/ 
enum TableColumnSearchTtype {
   
/**
*高级查询
*/ 
gaoj = "gaoj",
/**
*高级和快速都有
*/ 
gaojAndKuais = "gaojAndKuais",
/**
*快速查询
*/ 
kuais = "kuais"
} 
 /**
*排序的类型
*/ 
enum TableColumnSortDirection {
   asc = "asc",desc = "desc"
} 
 /**
*table组件的列接口
*/ 
interface ITableColumn  { 
/**
*增加子列
*/ 
addChildColumn: any
/**
*对齐
*/ 
align: TableColumnAlginType
/**
*允许为空
true 允许 则反之
*/ 
allowNull: boolean
/**
*列的按钮
*/ 
buttons: ButtonBase[]
/**
*是否运行移动
*/ 
canMove: boolean
/**
*是否允许修改宽度
*/ 
canResize: boolean
/**
*子列
*/ 
childs: ITableColumn[]
/**
*列合并跨度
*/ 
colspan: number
/**
*字段的数据类型
*/ 
dataType: FieldType
/**
*字段编号
*/ 
field: string
/**
* 是否固定
*/ 
fixed: TableColumnFixType
/**
*格式
*/ 
format: string
/**
*层次等级
*/ 
getLev: any
/**
*是否隐藏
*/ 
hide: boolean
/**
*列的唯一id
*/ 
id: string
/**
*长度
*/ 
length: number
/**
*最小宽度
*/ 
minWidth: number
/**
*父列的id
*/ 
parentId: string
/**
*tree路径
格式: parent1&parent2&slef
*/ 
parents: string
/**
*移除子列
*/ 
removeChildColumn: any
/**
*行合并跨度
*/ 
rowspan: number
/**
*查询类型
*/ 
searchType: TableColumnSearchTtype
/**
*排序
*/ 
sort: boolean
/**
*样式
*/ 
style: string
/**
*子列 逗号隔开的列名字符串
*/ 
subCols: string
/**
*自定义的模板
*/ 
templet: string
/**
*标题
*/ 
title: string
/**
*工具栏
*/ 
toolbar: string
/**
*是否开启合计行
*/ 
totalRow: boolean
/**
*自定义的合计脚本
*/ 
totalRowScript: string
/**
*列的类型
*/ 
type: TableColumnColType
/**
*唯一
*/ 
unique: boolean
/**
*对应的视图
*/ 
view: any
/**
*宽度
*/ 
width: string
} 
/**
*表模型的字段属性接口
*/ 
interface ITableModelField  { 
MXZD_BIANH: string
MXZD_MIAOS: string
MXZD_MINGC: string
MXZD_MORZ: string
MXZD_SHIFCJ: boolean
MXZD_SHIFWY: boolean
MXZD_TABLEID: string
MXZD_XIAOSJD: number
MXZD_YINGWM: string
MXZD_YUNXWK: boolean
MXZD_ZIDCD: number
MXZD_ZIDLX: string
RWID: string
SYS_CREATETIME: string
SYS_CREATOR: string
SYS_MODIFYBY: string
SYS_MODIFYTIME: string
SYS_SORT: string
SYS_STATUS: number
} 
/**
*内存数据源(静态数据源)
*/ 
class MemoryDataSetBase  extends DataSourceBase { 

/**
* 加载数组类型的数据到数据源
* @param arrayData  数据数组
* @param idFieldName  可选参数. 下拉的数据的主键字段名 默认值: id

*/ 
loadFromArray(arrayData: any[],idFieldName: string): void

} 
/**
*记录的状态
*/ 
enum RowState {
   
/**
*删除
*/ 
delete = "delete",
/**
*新增
*/ 
insert = "insert",
/**
*无状态(无修改,无新增,无删除)
*/ 
none = "none",
/**
*修改
*/ 
update = "update"
} 
 /**
*数据源的行对象
*/ 
class Row  { 
/**
*页面的行参数名
*/ 
static ROWPARAM: string

/**
* 开始编辑

*/ 
beginEdit(): void

/**
* 退出编辑

*/ 
cancelEdit(): void

/**
* 清楚行的错误

*/ 
clearError(): void

/**
* 清楚行的错误
* @param fieldName  字段编号

*/ 
clearErrorByField(fieldName: string): void

/**
* 清理额外的参数对象

*/ 
clearExtralParams(): void

/**
* 把行复制到指定的数据源
* @param ds  数据源* @returns 返回行的克隆实例

*/ 
cloneTo(ds: DataSourceBase): Row

/**
* 本地提交修改
* @param silent  是否触发数据源的事件

*/ 
commit(silent: boolean): void

/**
* 拷贝
* @param newId  可选参数,否则复制一模一样的* @returns 返回行的克隆实例

*/ 
copy(newId: any): Row

/**
* 结束编辑
如果存在修改数据，触发编辑结束事件

*/ 
endEdit(): void

/**
* 获取数据值
* @param fieldName  字段名* @returns 返回当前行的字段的值;受format 影响.如果field的设置的格式则反回格式化的值(对于时间/数字类型回如果设置了format只会返回string) 否则返回原始的数据类型的值.

*/ 
get(fieldName: string): any

/**
* 返回行是否被选定
* @returns true被选定,则反之

*/ 
getCheck(): boolean

/**
* 得到数据源
* @returns 关联的数据源实例

*/ 
getDataSource(): DataSourceBase

/**
* 获取数据
这个是返回带有格式化后的数据
一般是用户展示界面时候使用
* @returns 返回数据数组

*/ 
getDatas(): any

/**
* 得到列的编辑错误对象
* @param fieldName  字段编号* @returns 返回对应的错误对象

*/ 
getError(fieldName: string): IRowFieldError

/**
* 得到类的对应行的编辑错误信息
* @param fieldName  字段编号* @returns 返回对应的错误信息

*/ 
getErrorByRow(fieldName: string): string

/**
* 得到行的所有错误对象
* @returns 行的所有错误对象数组

*/ 
getErrors(): IRowFieldError[]

/**
* 得到额外参数
用于提交时候附带到服务器端的参数
* @returns 额外参数

*/ 
getExtralParams(): object

/**
* 获取字段实例
* @param fieldName  字段名* @returns 返回指定列的实例

*/ 
getField(fieldName: string): IField

/**
* 返回行是否隐藏,组件的显示会用到
* @returns true 隐藏/ false 显示

*/ 
getHide(): boolean

/**
* 获取行的id
* @returns 返回行的主键值

*/ 
getId(): any

/**
* 得到数据源的主键字段数组
* @returns 返回主键字段数组

*/ 
getKeys(): string[]

/**
* 得到行的未修改之前的数据数组
* @returns 返回未修改之前的数据数组

*/ 
getOriginalData(): object

/**
* 返回行的原始数据,不受format的影响
* @param fieldName  字段名* @returns 返回当前行的字段的值.不受format 影响.

*/ 
getRaw(fieldName: string): any

/**
* 获取原始数据
* @returns 原始数据

*/ 
getRawData(): object

/**
* 获取行state
* @returns 返回行的状态

*/ 
getState(): RowState

/**
* 获取对应的字段的数据的值
* @param fieldName  字段名* @returns 返回字段的值 时间类型就返回时间,数字类型就返回数字 不受format 影响.

*/ 
getValue(fieldName: string): any

/**
* 行是否存在错误
* @returns 返回true 说明行存在错误.

*/ 
hasError(): boolean

/**
* 字段是否被修改
* @param fieldName  字段是否存修改过* @returns true修改过, 否则没被修改过

*/ 
isModified(fieldName: string): boolean

/**
* 关联数据源
* @param dataSource  数据源实例

*/ 
join(dataSource: DataSourceBase): void

/**
* 取消修改
* @param silent  是否触发数据源的事件

*/ 
reject(silent: boolean): void

/**
* 设置某个字段数据的值
* @param fieldName  字段名
* @param value  字段的值

*/ 
set(fieldName: string,value: any): void

/**
* 设置行是否被选定
* @param value  true说明被选定,则反之

*/ 
setCheck(value: boolean): void

/**
* 设置错误
* @param fieldName  字段编号
* @param errValue  错误的值
* @param error  错误信息

*/ 
setError(fieldName: string,errValue: string,error: string): void

/**
* 设置附带额外的参数.
* @param param  参数对象

*/ 
setExtralParams(param: object): void

/**
* 设置行是否隐藏
* @param hide  true 隐藏/ false 显示

*/ 
setHide(hide: boolean): void

/**
* 设置行的状态
* @param v  状态值

*/ 
setState(v: RowState): void

/**
* 把变动的数据更新到行
* @param changes  变动的数据

*/ 
updateChanges(changes: IChangeData): void

} 
/**
*修改的数据
*/ 
interface IChangeData  { 
/**
*新值
*/ 
__data: any
/**
*额外的参数
*/ 
__ext: any
/**
*原值
*/ 
__org: any
/**
* 页面参数
*/ 
__pageparam: any
/**
*状态
*/ 
__state: RowState
} 
/**
*编辑错误
*/ 
interface IRowFieldError  { 
/**
*错误信息字符串
*/ 
error: string
/**
*所属的行
注意:这个属性的值,一般情况是 null (为了避免循环引用导致的序列化死循环), 只有在调用 getErrors() 时候才会有值.
*/ 
row: Row
/**
* 错误的值(临时存储)
*/ 
value: any
} 
/**
*排序的类型
*/ 
class SortTypes  { 

} 
/**
*Url数据源基类
数据查询,更新,新增,删除
*/ 
class UrlDataSetBase  extends DataSourceBase { 

/**
* 异步
* @returns true 异步 / false 同步

*/ 
getAsync(): boolean

/**
* 获取内容的格式
* @returns 返回的内容格式

*/ 
getContentType(): ContentType

/**
* 获取请求的数据格式
* @returns 请求的数据格式

*/ 
getDataType(): DataType

/**
* 后去http 的请求方式
* @returns get,post,put,delete

*/ 
getMethod(): MethodType

/**
* 获取参数
* @returns 返回参数对象

*/ 
getParams(): IUrlParam[]

/**
* 读取的模板对象
* @returns 读取的模板对象

*/ 
getReadTemplete(): IJsonReaderConfig

/**
*  得到最终的URL
* @returns 设置URL字符串

*/ 
getRealUrl(): any

/**
* 加载数据
* @param paramObj  可选 IDsLoadOptions类型的参数对象* @returns 返回是否true成功否则失败

*/ 
load(paramObj: IDsLoadOptions): boolean

/**
* 重新加载数据
并包含页面的参数
* @param paramObj  可选  参数对象

*/ 
loadWithPageParam(paramObj: object): void

/**
* 设置异步 / 同步
* @param m  true 异步 / false 同步

*/ 
setAsync(m: boolean): void

/**
* 获取返回的数据格式
* @param contentType  格式

*/ 
setContentType(contentType: ContentType): void

/**
* 设置请求的数据格式
* @param datatype  格式

*/ 
setDataType(datatype: DataType): void

/**
* 设置http的请求方式
* @param m  get,post,put,delete

*/ 
setMethod(m: MethodType): void

/**
* 设置参数
* @param p  参数对象

*/ 
setParams(p: any): void

/**
* 设置读取的模板对象
* @param temp  模板对象

*/ 
setReadTemplete(temp: IJsonReaderConfig): void

/**
* 设置请求的url脚本字符串
* @param urlScript  url脚本字符串

*/ 
setUrlScript(urlScript: string): void

} 
/**
* 数据源的参数格式
*/ 
interface IUrlParam  { 
field: string
val: string
} 
/**
        *加载错误
        *@param error 返回的错误
    
        */ 
declare type onUrlLoadErrorHandle = (error: string) => void
/**
        *成功加载
        *@param fields 是后台返回的数据中包含的字段数组
    
        */ 
declare type onUrlLoadSuccessHandle = (fields: IField[]) => void
/**
*混合型存储数据的集合
1.可以key:value对的形式获取和保存数据
2.支持用数字型索引获取和保存数据
*/ 
class ZlCollection  { 

} 
/**
*字段的赋值类型
*/ 
enum DaoFieldType {
   
/**
*公式脚本 这个参数的取值就是公式脚本返回的值
*/ 
formular = "formular",
/**
*纯参数  这个参数的取值就是 #{xxx}
*/ 
param = "param"
} 
 /**
*数据操作接口
*/ 
interface IDao  { 
/**
*字段列表
*/ 
fields: IDaoField[]
/**
*唯一id
*/ 
id: string
/**
*主键
*/ 
keys: string[]
/**
*名称
*/ 
name: string
/**
*父操作的id
*/ 
parentId: string
/**
*表ID
*/ 
tableId: string
/**
*类型
*/ 
type: RowState
/**
*校验公式
*/ 
verifications: IDaoVerification[]
} 
/**
*Dao字段
*/ 
interface IDaoField  { 
name: string
/**
*数据类型
*/ 
type: string
/**
*字段值
*/ 
value: string
} 
/**
*dao的校验公式接口
*/ 
interface IDaoVerification  { 
/**
*公式
*/ 
Formula: string
/**
*唯一id
*/ 
id: string
/**
*校验名称
*/ 
name: string
/**
*优先级
*/ 
priority: number
/**
*值
*/ 
value: string
} 
/**
*加载错误
*/ 
interface IDsLoadException  { 
/**
*触发的数据源
*/ 
ds: DataSourceBase
/**
*错误
*/ 
error: any
/**
*返回的字符串
*/ 
response: string
} 
/**
*数据源浮点类型字段
*/ 
class BlodField  extends FieldBase { 

} 
/**
*数据源浮点类型字段
*/ 
class BooleanField  extends FieldBase { 

} 
/**
*数据源日期时间类型字段
*/ 
class DateTimeField  extends FieldBase { 

} 
/**
*字段的对齐
*/ 
enum FieldBaseAlginType {
   center = "center",left = "left",none = "",right = "right"
} 
 /**
*数据源字段的基类
*/ 
class FieldBase  extends ComponentBase { 
/**
*对齐
*/ 
align: string
/**
*允许为空
true 允许 则反之
*/ 
allowNull: boolean
/**
*字段的数据类型
*/ 
dataType: FieldType
/**
*数据库的源类型描述
*/ 
dbDataType: string
/**
*描述
*/ 
descption: string
/**
*字段编号
*/ 
field: string
/**
*字段标题
*/ 
title: string

} 
/**
*数据源字段构造者
*/ 
class FieldBuilder  { 

} 
/**
*数据源浮点类型字段
*/ 
class FloatField  extends FieldBase { 

} 
/**
*数据源整数类型字段
*/ 
class IntegerField  extends FieldBase { 

} 
/**
*数据源主键类型字段
*/ 
class PkField  extends FieldBase { 

} 
/**
*数据源字符类型字段
*/ 
class StringField  extends FieldBase { 

} 
/**
*数据源浮点类型字段
*/ 
class TextField  extends FieldBase { 

} 
/**
*数据来源方式基类
它的子类 ： HttpProxy 来源于http请求
             MemoryProxy来源于内存（字符串）
*/ 
class DataProxyBase  extends SerializeComponetBase { 

} 
/**
*http请求方式获取数据 获取的数据格式使用对应DataReader来读取转化Record
例子：
HttpProxy.create({
method:'post',
url:'userjs/showuser.txt',
dataType:'json',
contentType:'application/json'
})
*/ 
class HttpProxy  extends DataProxyBase { 

} 
/**
*http请求配置接口
*/ 
interface IHttpProxyConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*异步
*/ 
async: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*默认值 application/json
*/ 
contentType: string
/**
*数据库操作 默认:[]
*/ 
dao: IDao[]
/**
*默认值 json
*/ 
dataType: string
/**
*字段数组 默认:[]
*/ 
fields: IField[]
/**
*组件字体
*/ 
font: Font
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*请求的方式
 默认: GET
*/ 
method: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*请求的地址
*/ 
url: string
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*内存字符串方式获取数据 获取的数据格式使用对应DataReader来读取转化Record
*/ 
class MemoryProxy  extends DataProxyBase { 

} 
/**
*sql数据查询的代理类
*/ 
class SqlProxy  extends HttpProxy { 

} 
/**
* 数组格式的row 的reader
*/ 
class ArrayReader  extends DataReaderBase { 

} 
/**
*Record 数据格式读取reader基类
*/ 
class DataReaderBase  { 

} 
/**
*数据读取配置接口
*/ 
interface IDataReaderBaseConfig  { 
/**
*字段列表
*/ 
fields: IField[]
/**
*主键字段名
*/ 
idField: string
} 
/**
*json格式的row 的reader
例子：
JsonReader.create({
root:'obj',
fields:[{name:'username',mapping:'username'},{name:'ipaddress',mapping:'ipaddress'}]})
*/ 
class JsonReader  extends DataReaderBase { 

} 
/**
*json数据读取配置接口
*/ 
interface IJsonReaderConfig  { 
/**
*字段列表数组
*/ 
fields: IField[]
/**
*唯一id的key名
*/ 
idField: string
/**
*消息节点key名
*/ 
msgProperty: string
/**
*json的最顶端的节点
*/ 
root: string
/**
*状态节点key名
*/ 
successProperty: string
/**
*总数的节点key名
*/ 
totalProperty: string
} 
/**
*sql数据库返回的格式解析reader
*/ 
class SqlReader  extends JsonReader { 

} 
/**
*sql数据库返回的格式解析reader 配置项
*/ 
interface ISqlReaderOptions  { 
/**
*字段列表数组
*/ 
fields: IField[]
/**
*唯一id的key名
*/ 
idField: string
/**
*消息节点key名
*/ 
msgProperty: string
/**
*json的最顶端的节点
*/ 
root: string
/**
*状态节点key名
*/ 
successProperty: string
/**
*总数的节点key名
*/ 
totalProperty: string
} 
/**
* 数据写入类
*/ 
class DataWriterBase  extends SerializeComponetBase { 

} 
/**
*sql数据库操作类
作用是把数据源的修改数据提交到后台数据库
*/ 
class SqlWriter  extends DataWriterBase { 

} 
/**
*组件的最顶层的容器组件
*/ 
class DesignerPage  extends DesignerPageBase { 

} 
/**
*自定义的MarkerDown组件
可以是任何MarkerDown组件
*/ 
class MarkDownBase  extends ContainerBase { 

/**
*  静态渲染组件
* @param setting  静态渲染的设置的属性

*/ 
staticRender(setting: any): void

} 
/**
*md组件设置接口
*/ 
interface IMarkDownBaseConfig  { 
/**
*静态渲染时候的容器id
*/ 
rootId: string
/**
*源码
*/ 
source: string
} 
/**
        *脚本加载回调
        *@param cmp 组件实例
    
        */ 
declare type onMarkDownHandle = (cmp: MarkDownBase) => void
/**
*图片选择组件
*/ 
class PopIconInput  extends PopInputTableBase { 

/**
*  静态渲染组件
* @param setting  设置的属性

*/ 
staticRender(setting: IPopIconInputConifg): void

} 
/**
*图片选择组件配置接口
*/ 
interface IPopIconInputConifg  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*弹出框的大小
 ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
coltitles: any
/**
*组件宽度
*/ 
componentWidth: string
/**
*数据加载路径
*/ 
dataurl: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*点击确定没有记录时提示
默认值: 请选择记录
*/ 
errmsg: string
/**
*数据源的字段名称
*/ 
field: string
/**
*组件字体
*/ 
font: Font
/**
*弹出框的标题
默认值: '资源信息';
*/ 
formtitle: string
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*获取组件的值
*/ 
getValue: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*存储的id的取值字段
*/ 
idField: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*能是否启用分页
默认值: "false"，不启用分页,注意如果不启用分页而limit又太小的话，就会发生展示部分数据的现象
*/ 
isPage: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*是否显示查询
*/ 
isSearch: boolean
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*是否显示后缀
*/ 
isShowSuffix: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*每页多少条记录
默认值: 999，最大的每页条数，启用分页的时候可设置该值，有10,20等
*/ 
limit: Number
/**
*组件间隔
*/ 
margin: string
/**
*加载数据使用的http方式 get,post,put,....
*/ 
method: string
/**
*是否开启复选，否者为单选
默认值: "false"
*/ 
multselect: boolean
/**
*组件的名称
*/ 
name: string
/**
*数据显示的时候取值字段
默认值: 'OBJNAME'
*/ 
nameField: string
/**
*参数
*/ 
params: object
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*组件的提示字符串
 默认值: ""
*/ 
placeholder: string
/**
*弹出框的数据源
默认值: ""
*/ 
popDataSource: string
/**
*是否只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*权限资源的标题
*/ 
rightTitle: string
rootId: string
/**
*设置组件的值
*/ 
setValue: any
/**
*静态数据数组
*/ 
staticDatas: any[]
/**
*后缀文本
*/ 
suffixText: string
/**
*后缀宽度
*/ 
suffixWidth: string | number
/**
*初始化值
*/ 
value: string
/**
*校验规则
*/ 
verify: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*编辑方式
*/ 
enum EditType {
   
/**
*左对齐
*/ 
edit = "edit"
} 
 /**
*  高级筛选弹出框选择项的输入组件
TO DO 这个组件暂时未实现,后面有时间再弄
*/ 
class PopInputAdv  extends PopInputBase { 

/**
*  组件渲染选中的值
* @param value  赋值的值

*/ 
renderValue(value: any): void

} 
/**
*tab属性基本接口
*/ 
interface ITabs  { 
cols: ITableColumn[]
entryname: string
limit: string
method: MethodType
name: string
page: boolean
params: string
tabDataSource: string
tableUrl: string
tbDataSource: string
tbmethod: string
url: string
} 
/**
*  弹出选择项框的输入组件基类
*/ 
class PopInputBase  extends InputBase { 
/**
*数据加载的路径
*/ 
dataurl: string
/**
*编辑类型
默认值: 'edit' 枚举，现只有两种，'edit','readonly',区分大小写
*/ 
edittype: string
/**
*点击确定没有记录时提示
默认值: 请选择记录
*/ 
errmsg: string
/**
*弹出框的标题
默认值: '资源信息';
*/ 
formtitle: string
/**
*存储的id的取值字段
默认值: 'RWID' 可以同设置ConfigService.getInstance().getConfig().RWID
*/ 
idField: string
/**
*能是否启用分页
默认值: "false"，不启用分页,注意如果不启用分页而limit又太小的话，就会发生展示部分数据的现象
*/ 
isPage: boolean
/**
*记录是否查询过
*/ 
isloadsearch: any
/**
*每页多少条记录
默认值: 999，最大的每页条数，启用分页的时候可设置该值，有10,20等
*/ 
limit: number
/**
*是否开启多选
默认值: "false"
*/ 
multselect: boolean
/**
*数据显示的时候取值字段
默认值: 'OBJNAME'
*/ 
nameField: string
/**
*点击确定回调事件
*/ 
onSelectChangedScript: string
/**
*数据源
默认值: ""
*/ 
popDataSource: string
/**
*静态渲染时候最外层的容器的id
*/ 
rootId: string

/**
* 渲染弹出框组件

*/ 
doRender(): void

/**
* 得到弹出的数据源
 静态渲染就使用 dataurl,staticDataSource 来渲染
* @returns 得到弹出数据源的组件实例

*/ 
getPopDataSouce(): DataSourceBase

/**
* 得到弹出编辑器
* @returns 弹出编辑器实例

*/ 
getPopEdior(): IPopInputBaseEditor

/**
* 得到值的数组
* @returns 

*/ 
getValues(): string[]

/**
*  静态渲染组件
* @param setting  设置的属性

*/ 
staticRender(setting: IPopInputBaseConifg): void

} 
/**
*弹出组件弹出框基类
*/ 
class PopInputEditorBase  { 

} 
/**
* 弹出选择项框的输入组件
*/ 
interface IPopInputBaseConifg  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*弹出框的大小
 ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件宽度
*/ 
componentWidth: string
/**
*数据加载路径
*/ 
dataurl: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*点击确定没有记录时提示
默认值: 请选择记录
*/ 
errmsg: string
/**
*数据源的字段名称
*/ 
field: string
/**
*组件字体
*/ 
font: Font
/**
*弹出框的标题
默认值: '资源信息';
*/ 
formtitle: string
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*获取组件的值
*/ 
getValue: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*存储的id的取值字段
*/ 
idField: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*能是否启用分页
默认值: "false"，不启用分页,注意如果不启用分页而limit又太小的话，就会发生展示部分数据的现象
*/ 
isPage: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*是否显示查询
*/ 
isSearch: boolean
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*是否显示后缀
*/ 
isShowSuffix: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*每页多少条记录
默认值: 999，最大的每页条数，启用分页的时候可设置该值，有10,20等
*/ 
limit: Number
/**
*组件间隔
*/ 
margin: string
/**
*是否开启复选，否者为单选
默认值: "false"
*/ 
multselect: boolean
/**
*组件的名称
*/ 
name: string
/**
*数据显示的时候取值字段
默认值: 'OBJNAME'
*/ 
nameField: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*组件的提示字符串
 默认值: ""
*/ 
placeholder: string
/**
*弹出框的数据源
默认值: ""
*/ 
popDataSource: string
/**
*是否只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*权限资源的标题
*/ 
rightTitle: string
rootId: string
/**
*设置组件的值
*/ 
setValue: any
/**
*静态数据数组
*/ 
staticDatas: any[]
/**
*后缀文本
*/ 
suffixText: string
/**
*后缀宽度
*/ 
suffixWidth: string | number
/**
*初始化值
*/ 
value: string
/**
*校验规则
*/ 
verify: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*弹出的选择框接口
*/ 
interface IPopInputBaseEditor  { 
/**
*弹出的样式
*/ 
getCss: any

/**
* 隐藏弹出框

*/ 
hide(): void

/**
* 显示弹出框

*/ 
show(): void
} 
/**
*弹出组件弹出框的配置接口
*/ 
interface IPopInputBaseEditorConfig  { 
component: PopInputBase
} 
/**
*  弹出选择项框的输入组件
*/ 
class PopInputTableBase  extends PopInputBase { 
/**
*标题列，可自定义，
默认值: 有4列，一列是序号，一列是复选框，一列是名称，取值OBJNAME，一列是编号，取值OBJCODE;
*/ 
coltitles: any
/**
*是否允许查找
*/ 
isSearch: boolean

/**
* 得到弹出编辑器
* @returns 弹出编辑器实例

*/ 
getPopEdior(): IPopInputBaseEditor

/**
*  静态渲染组件
* @param setting  设置的属性

*/ 
staticRender(setting: IPopInputTableConifg): void

} 
/**
* 弹出选择项框的输入组件接口
*/ 
interface IPopInputTableConifg  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*弹出框的大小
 ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
coltitles: any
/**
*组件宽度
*/ 
componentWidth: string
/**
*数据加载路径
*/ 
dataurl: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*点击确定没有记录时提示
默认值: 请选择记录
*/ 
errmsg: string
/**
*数据源的字段名称
*/ 
field: string
/**
*组件字体
*/ 
font: Font
/**
*弹出框的标题
默认值: '资源信息';
*/ 
formtitle: string
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*获取组件的值
*/ 
getValue: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*存储的id的取值字段
*/ 
idField: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*能是否启用分页
默认值: "false"，不启用分页,注意如果不启用分页而limit又太小的话，就会发生展示部分数据的现象
*/ 
isPage: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*是否显示查询
*/ 
isSearch: boolean
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*是否显示后缀
*/ 
isShowSuffix: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*每页多少条记录
默认值: 999，最大的每页条数，启用分页的时候可设置该值，有10,20等
*/ 
limit: Number
/**
*组件间隔
*/ 
margin: string
/**
*加载数据使用的http方式 get,post,put,....
*/ 
method: string
/**
*是否开启复选，否者为单选
默认值: "false"
*/ 
multselect: boolean
/**
*组件的名称
*/ 
name: string
/**
*数据显示的时候取值字段
默认值: 'OBJNAME'
*/ 
nameField: string
/**
*参数
*/ 
params: object
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*组件的提示字符串
 默认值: ""
*/ 
placeholder: string
/**
*弹出框的数据源
默认值: ""
*/ 
popDataSource: string
/**
*是否只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*权限资源的标题
*/ 
rightTitle: string
rootId: string
/**
*设置组件的值
*/ 
setValue: any
/**
*静态数据数组
*/ 
staticDatas: any[]
/**
*后缀文本
*/ 
suffixText: string
/**
*后缀宽度
*/ 
suffixWidth: string | number
/**
*初始化值
*/ 
value: string
/**
*校验规则
*/ 
verify: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*弹出树形选择框的输入组件
*/ 
class PopInputTreeBase  extends PopInputBase { 

/**
* 得到弹出编辑器
* @returns 弹出编辑器实例

*/ 
getPopEdior(): IPopInputBaseEditor

} 
/**
* 弹出树形选择框的配置接口
*/ 
interface IPopInputTreeConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*弹出框的大小
 ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件宽度
*/ 
componentWidth: string
/**
*数据加载路径
*/ 
dataurl: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*点击确定没有记录时提示
默认值: 请选择记录
*/ 
errmsg: string
/**
*数据源的字段名称
*/ 
field: string
/**
*组件字体
*/ 
font: Font
/**
*弹出框的标题
默认值: '资源信息';
*/ 
formtitle: string
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*获取组件的值
*/ 
getValue: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*存储的id的取值字段
*/ 
idField: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*能是否启用分页
默认值: "false"，不启用分页,注意如果不启用分页而limit又太小的话，就会发生展示部分数据的现象
*/ 
isPage: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*是否显示查询
*/ 
isSearch: boolean
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*是否显示后缀
*/ 
isShowSuffix: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*每页多少条记录
默认值: 999，最大的每页条数，启用分页的时候可设置该值，有10,20等
*/ 
limit: Number
/**
*组件间隔
*/ 
margin: string
/**
*是否开启复选，否者为单选
默认值: "false"
*/ 
multselect: boolean
/**
*组件的名称
*/ 
name: string
/**
*数据显示的时候取值字段
默认值: 'OBJNAME'
*/ 
nameField: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*组件的提示字符串
 默认值: ""
*/ 
placeholder: string
/**
*弹出框的数据源
默认值: ""
*/ 
popDataSource: string
/**
*是否只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*权限资源的标题
*/ 
rightTitle: string
rootId: string
/**
*设置组件的值
*/ 
setValue: any
/**
*静态数据数组
*/ 
staticDatas: any[]
/**
*后缀文本
*/ 
suffixText: string
/**
*后缀宽度
*/ 
suffixWidth: string | number
/**
*初始化值
*/ 
value: string
/**
*校验规则
*/ 
verify: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*  弹出tree-table选择项框
*/ 
class PopTreeTableBase  extends PopInputBase { 
/**
*标题列，可自定义，
默认值: 有4列，一列是序号，一列是复选框，一列是名称，取值OBJNAME，一列是编号，取值OBJCODE;
*/ 
coltitles: any
/**
*是否允许查找
*/ 
isSearch: boolean
/**
*建树规则:父节点id的字段名
*/ 
pIdKey: string
/**
*弹出的属性数据源
默认值: ""
*/ 
popTreeDataSource: string
/**
*popTreeDataSource数据源的关键字field
*/ 
popTreeDatasourceIdField: string
/**
*popTreeDataSource关联popDataSource数据源的field
*/ 
relatePopDatasourceField: string

/**
* 得到弹出编辑器
* @returns 弹出编辑器实例

*/ 
getPopEdior(): IPopInputBaseEditor

/**
*  静态渲染组件
* @param setting  设置的属性

*/ 
staticRender(setting: IPopTreeTableConifg): void

} 
/**
* 弹出tree-table选择项框的组件接口
*/ 
interface IPopTreeTableConifg  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*弹出框的大小
 ['100','200']  或者   area: ['100%','200%']  或者   area:  '100' 或者 area: ['calc(100%-100px)','calc(100%-100px)']
*/ 
area: string | string[]
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*列的二维数组
*/ 
coltitles: any
/**
*组件宽度
*/ 
componentWidth: string
/**
*数据加载路径
*/ 
dataurl: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*点击确定没有记录时提示
默认值: 请选择记录
*/ 
errmsg: string
/**
*数据源的字段名称
*/ 
field: string
/**
*组件字体
*/ 
font: Font
/**
*弹出框的标题
默认值: '资源信息';
*/ 
formtitle: string
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*获取组件的值
*/ 
getValue: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*存储的id的取值字段
*/ 
idField: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*能是否启用分页
默认值: "false"，不启用分页,注意如果不启用分页而limit又太小的话，就会发生展示部分数据的现象
*/ 
isPage: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*是否显示查询
*/ 
isSearch: boolean
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*是否显示后缀
*/ 
isShowSuffix: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*每页多少条记录
默认值: 999，最大的每页条数，启用分页的时候可设置该值，有10,20等
*/ 
limit: Number
/**
*组件间隔
*/ 
margin: string
/**
*加载数据使用的http方式 get,post,put,....
*/ 
method: string
/**
*是否开启复选，否者为单选
默认值: "false"
*/ 
multselect: boolean
/**
*组件的名称
*/ 
name: string
/**
*数据显示的时候取值字段
默认值: 'OBJNAME'
*/ 
nameField: string
/**
*参数
*/ 
params: object
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*组件的提示字符串
 默认值: ""
*/ 
placeholder: string
/**
*弹出框的数据源
默认值: ""
*/ 
popDataSource: string
/**
*是否只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*权限资源的标题
*/ 
rightTitle: string
rootId: string
/**
*设置组件的值
*/ 
setValue: any
/**
*静态数据数组
*/ 
staticDatas: any[]
/**
*后缀文本
*/ 
suffixText: string
/**
*后缀宽度
*/ 
suffixWidth: string | number
/**
*树形请求的地址
*/ 
treeUrl: string
/**
*初始化值
*/ 
value: string
/**
*校验规则
*/ 
verify: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*扩展组件 下拉多选组件
*/ 
class SelectMultipleBase  extends DropDownBase { 

/**
* 得到弹出编辑器
* @returns 弹出编辑器实例

*/ 
getPopEdior(): SelectMultipleDropDownEditor

} 
/**
*下拉多选组件的配置接口
*/ 
interface ISelectMultipleConifg  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件宽度
*/ 
componentWidth: string
/**
*下拉数据
*/ 
datas: any[]
/**
*请求的数据的地址
*/ 
dataurl: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*数据源的字段名称
*/ 
field: string
/**
*组件字体
*/ 
font: Font
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*获取组件的值
*/ 
getValue: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*是否开启搜索,off关闭、on开启
*/ 
isSearch: boolean
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*是否显示后缀
*/ 
isShowSuffix: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*组件间隔
*/ 
margin: string
/**
*能选择的最大几个值
*/ 
maxlength: number
/**
*请求数据时候的http的协议 可以是('get','post','delete','put'...等)
默认'get'
*/ 
method: string
/**
*组件的名称
*/ 
name: string
/**
*请求的参数
*/ 
params: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*空白时候的提示字符串
*/ 
placeholder: string
/**
*只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*权限资源的标题
*/ 
rightTitle: string
/**
*静态渲染的父id
*/ 
rootId: string
/**
*设置组件的值
*/ 
setValue: any
staticDatas: any[]
/**
*后缀文本
*/ 
suffixText: string
/**
*后缀宽度
*/ 
suffixWidth: string | number
/**
*数据标题显示字段
*/ 
titlefield: string
/**
*初始化值
*/ 
value: string
/**
*数据唯一值KEY字段
*/ 
valuefield: string
/**
*校验规则
*/ 
verify: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*扩展组件 下拉树形
*/ 
class SelectTreeBase  extends DropDownBase { 

/**
* 得到弹出编辑器
* @returns 弹出编辑器实例

*/ 
getPopEdior(): SelectTreeEditor

/**
* 注册勾选框改变事件
* @param callback  

*/ 
onCheckChanged(callback: onCheckChangedHandle): void

/**
*  注册select 值发生点击时候触发事件
* @param callback  回调

*/ 
onSelectChanged(callback: onSelectChangedHandle): void

} 
/**
        *选择项发现变化回调
        *@param cmp 组件
*@param node 树的节点
    
        */ 
declare type onCheckChangedHandle = (cmp: SelectTreeBase,node: ztree.ITreeNode) => void
/**
        *选择项发现变化回调
        *@param cmp 组件
*@param node 树的节点
*@param value 编号的值
    
        */ 
declare type onSelectChangedHandle = (cmp: SelectTreeBase,node: ztree.ITreeNode,value: string) => void
/**
*树形组件基类
*/ 
class TreeBase  extends DbComponentBase { 

/**
* 得到被选中的节点数组
* @returns 返回选择的节点数组  ITreeNode[]

*/ 
getSelectNodes(): ITreeNode[]

/**
* 返回ztree的对象,具体帮助参考http://www.treejs.cn/v3/api.php
* @returns 返回ztree的实例

*/ 
getTreeObj(): IzTreeObj

/**
* 加载数据
* @param data  数据数组
* @param treeSettings  树形的配置项

*/ 
loadData(data: any[],treeSettings: IZTreeSetting): void

/**
* 注册勾选变化事件
* @param callback  回调

*/ 
onCheckChanged(callback: onCheckChangedHandle): void

/**
* 注册勾选变化事件
* @param callback  回调

*/ 
onDbClickNode(callback: onSelectChangedHandle): void

/**
*  注册select 值发生点击时候触发事件
* @param callback  回调

*/ 
onSelectChanged(callback: onSelectChangedHandle): void

/**
* 选中指定节点
* @param treeNode  需要被选中的节点数据
* @param addFlag  true 表示追加选中，会出现多点同时被选中的情况  false （默认）表示单独选中，原先被选中的节点会被取消选中状态
* @param isSilent  true 选中节点时，不会让节点自动滚到到可视区域内  false （默认）表示选中节点时，会让节点自动滚到到可视区域内

*/ 
selectNode(treeNode: ITreeNode,addFlag: Boolean,isSilent: boolean): void

/**
* 通过id选中指定节点(焦点停留在该节点)
* @param id  需要被选中的节点id
* @param addFlag  true 表示追加选中，会出现多点同时被选中的情况  false （默认）表示单独选中，原先被选中的节点会被取消选中状态
* @param isSilent  true 选中节点时，不会让节点自动滚到到可视区域内  false （默认）表示选中节点时，会让节点自动滚到到可视区域内

*/ 
selectNodeById(id: string,addFlag: Boolean,isSilent: boolean): void

/**
* 隐藏/显示节点
* @param id  节点的id
* @param visiable  显示隐藏 true 显示节点,则反之

*/ 
setNodeVisable(id: string,visiable: boolean): void

/**
* 更新某节点数据，主要用于该节点显示属性的更新。
* @param id  节点的id

*/ 
updateNode(id: string): void

} 
/**
*树形组件接口
*/ 
interface ITreeConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*组件字体
*/ 
font: Font
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*权限资源的标题
*/ 
rightTitle: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*树节点接口
*/ 
interface ITreeNode  { 
/**
*节点的 checkBox / radio 的 勾选状态
*/ 
checkBox: boolean
/**
*用于设置节点的子节点的 checkBox / radio 的半选状态
setting.check.checkType = "checkbox"
   -1	不存在子节点 或 子节点全部设置为 nocheck = true
   0	无 子节点被勾选
   1	部分 子节点被勾选
   2	全部 子节点被勾选
setting.check.checkType = "radio"
   -1	不存在子节点 或 子节点全部设置为 nocheck = true
   0	无 子节点被勾选
   2	有 子节点被勾选
*/ 
check_Child_State: number
/**
*设置节点的 checkBox / radio 的 focus 状态
默认值：false
*/ 
check_Focus: boolean
/**
*用于记录节点是否处于编辑名称状态 [setting.edit.enable = true 时有效]
*/ 
editNameFlag: boolean
/**
*强制节点的 checkBox / radio 的 半勾选状态。[setting.check.enable = true & treeNode.nocheck = false 时有效]
1、强制为半勾选状态后，不再进行自动计算半勾选状态
2、设置 treeNode.halfCheck = false 或 null 才能恢复自动计算半勾选状态
3、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据
默认值：false
*/ 
halfCheck: boolean
/**
*节点自定义图标的 URL 路径。
1、父节点如果只设置 icon ，会导致展开、折叠时都使用同一个图标
2、父节点展开、折叠使用不同的个性化图标需要同时设置 treeNode.iconOpen / treeNode.iconClose 两个属性
3、如果想利用 className 设置个性化图标，需要设置 treeNode.iconSkin 属性
默认值：无
*/ 
icon: string
/**
*父节点自定义折叠时图标的 URL 路径。
1、此属性只针对父节点有效
2、此属性必须与 iconOpen 同时使用
3、如果想利用 className 设置个性化图标，需要设置 treeNode.iconSkin 属性
默认值：无
*/ 
iconClose: string
/**
*父节点自定义展开时图标的 URL 路径。
1、此属性只针对父节点有效
2、此属性必须与 iconClose 同时使用
3、如果想利用 className 设置个性化图标，需要设置 treeNode.iconSkin 属性
默认值：无
*/ 
iconOpen: string
/**
*节点的id
*/ 
id: string
/**
*节点是否正在进行异步加载。
*/ 
isAjaxing: boolean
/**
*节点是否为同级节点中的第一个节点。
*/ 
isFirstNode: boolean
/**
*记录节点 的 hover 状态
*/ 
isHover: boolean
/**
*节点是否为同级节点中的最后一个节点。
*/ 
isLastNode: boolean
/**
*记录节点的层级
根节点 level = 0，依次递增
*/ 
level: number
/**
*节点名称标题。
*/ 
name: string
/**
*节点的父节点唯一标识 tId。
*/ 
parentTId: string
/**
*节点的唯一标识 tId。
*/ 
tId: string
/**
* 节点是否已经进行过异步加载，避免父节点反复异步加载数据。
*/ 
zAsync: boolean

/**
* 获取节点在同级节点中的位置。
* @returns 返回同级节点中的位置。

*/ 
getIndex(): number

/**
* 获取与节点相邻的后一个节点。
* @returns 返回同级下一个节点。

*/ 
getNextNode(): ITreeNode

/**
* 获取节点的父节点。
* @returns 节点的父节点数据对象。

*/ 
getParentNode(): ITreeNode

/**
* 获取 treeNode 节点的所有父节点（包括自己）。
* @returns treeNode 节点的所有父节点的数据源合（包括自己）

*/ 
getPath(): ITreeNode[]

/**
* 获取与 treeNode 节点相邻的前一个节点。
* @returns 返回同级前一个节点。

*/ 
getPreNode(): ITreeNode
} 
/**
*弹出tree 的 page
用于弹出树形的选择选择
*/ 
class TreeFormExt  extends ContainerBase { 

} 
/**
*属性菜单
*/ 
class TreeMenu  { 

} 
/**
*主题管理类
*/ 
class KDThemeManager  { 

/**
* 得到颜色的主题数据，如果本地数据有就读取本地数据否则获取默认
* @param color  颜色16机制字符串* @returns 返回主题数据

*/ 
static getColorTheme(color: string): KDThemeType

/**
* 得到主题数据，如果本地数据有就读取本地数据否则获取默认
* @returns 返回主题数据

*/ 
static getTheme(): KDThemeType

} 
/**
        *主题的类型
            
        */ 
declare type KDThemeType = /**
*属性编辑器渲染
*/ 
class AttributeRender  { 

} 
/**
*剪贴板对象
*/ 
class Clipboard  { 

} 
/**
*组件弹出的菜单类
*/ 
class Contextmenu  { 

} 
/**
*布局基类
*/ 
class ContextmenuBase   implements Contextmenu{ 

} 
/**
*菜单项接口
*/ 
interface IMenuItem  { 
/**
*action标志
*/ 
action: string
/**
*图标
*/ 
icon: string
/**
*全球唯一的ID
*/ 
id: string
/**
*点击事件
*/ 
onClick: any
/**
*点击脚本
*/ 
onClickScript: string
/**
*快捷键
*/ 
shortCut: string
/**
*标题
*/ 
text: string
} 
/**
*HY设计器类
*/ 
class Designer  { 
/**
*配置项
*/ 
config: any
version: any

/**
* 渲染设计器
这个函数常用于在后台数据库获取页面模型的json 后渲染使用
* @param elemtId  容器的html id
* @param json  json对象

*/ 
render(elemtId: string,json: Object): void

/**
* 保存
* @param auto  自动保存 无须填写版本备注

*/ 
save(auto: boolean): void

} 
/**
*界面设计器历史记录类
*/ 
class History  { 

} 
/**
* 组件树
*/ 
class ObjectTree  { 

} 
/**
*预览类
*/ 
class Preview  { 

/**
* 预览类渲染函数
* @param previewElemtId  html 元素的id

*/ 
render(previewElemtId: string): void

} 
/**
* 组件树
*/ 
class VersionManger  { 

} 
/**
*动画下拉选择属性编辑器
*/ 
class AnimatSelectAttrEditor  extends SelectAttrEditor { 

} 
/**
*按钮属性编辑器
*/ 
class ButtonAttrEditor  extends AttributeEditorBase { 

/**
* 触发点击按钮事件

*/ 
raiseClick(): void

} 
/**
*按钮属性编辑器配置
*/ 
interface IButtonAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*按钮标题
*/ 
btnText: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*服务端的脚本编辑属性编辑器
*/ 
class ButtonFormulaAttrEditor  extends ButtonAttrEditor { 

} 
/**
*点击按钮弹出服务端的脚本编辑框
*/ 
interface IButtonFormulaAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*按钮标题
*/ 
btnText: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*列子
*/ 
demo: string
/**
*描述
*/ 
desc: string
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*是否公式化到前端
这个设置成true 页面加载时候后台会计算公式并返回到前端
*/ 
isFormula: boolean
/**
*属性label标题
*/ 
labelCaption: string
/**
*语言
*/ 
language: CodeEditorLang
/**
*点击ok回调函数
*/ 
okCallBack: any
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
/**
*公式类型数组
*/ 
types: FormulaBase[]
/**
*变量数组
*/ 
variables: Variable[]
} 
/**
*按钮 items的属性编辑器
*/ 
class ButtonItemsAttrEditor  extends ButtonAttrEditor { 

} 
/**
*复选框属性编辑器
*/ 
class CheckboxAttrEditor  extends AttributeEditorBase { 

} 
/**
*代码编辑属性编辑器
*/ 
class CodeEditAttrEditor  extends ButtonAttrEditor { 

} 
/**
*点击按钮弹出代码编辑框
*/ 
interface ICodeEditAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*按钮标题
*/ 
btnText: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*列子
*/ 
demo: string
/**
*描述
*/ 
desc: string
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*语言
*/ 
language: CodeEditorLang
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*主题自定义属性编辑器
*/ 
class CodeThemeEditAttrEditor  extends AttributeEditorBase { 

} 
/**
*点击按钮弹出代码编辑框
*/ 
interface ICodeEditAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*按钮名称
*/ 
btnText: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*语言
*/ 
language: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*传入参数
*/ 
parameter: string
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*颜色属性编辑器
*/ 
class ColorpickerAttrEditor  extends AttributeEditorBase { 

} 
/**
*选择当前页面的组件辑器
*/ 
class ComponentSelectAttrEditor  extends AttributeEditorBase { 

} 
/**
*组件选择属性编辑
*/ 
interface IComponentSelectAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
* 需要选择的组件的类正则表达式
 如 classDef: /WorkFlow/
*/ 
classDef: RegExp
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*获取list
*/ 
list: any
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*事件编辑属性编辑器
*/ 
class CssAttrEditor  extends ButtonAttrEditor { 

} 
/**
*点击按钮事件编辑框
与ICssAttrEditor 的差异就是attr 的必需性
*/ 
interface ICssAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*按钮标题
*/ 
btnText: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*数据源的更新编辑属性编辑器
*/ 
class DataSetUpdateEditor  { 

} 
/**
*数据源的字段属性编辑器
*/ 
class DataSourceBaseAttrEditor  extends ButtonAttrEditor { 

} 
/**
*点击按钮事件编辑框
与IDataSourceBaseAttrEditor 的差异就是attr 的必需性
*/ 
interface IDataSourceBaseAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*按钮标题
*/ 
btnText: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*日期属性编辑器
*/ 
class DatePickerAttrEditor  extends AttributeEditorBase { 

} 
/**
*事件编辑属性编辑器
*/ 
class EventAttrEditor  extends ButtonAttrEditor { 

} 
/**
*点击按钮事件编辑框
与IEventAttrEditor 的差异就是attr 的必需性
*/ 
interface IEventAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*按钮标题
*/ 
btnText: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*例子子
*/ 
demo: string
/**
*描述
*/ 
desc: string
/**
*事件的名称
事件的函数名
*/ 
eventName: string
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*传入参数
*/ 
parameter: string
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*选择字段属性编辑器
*/ 
class FieldsSelectAttrEditor  extends SelectAttrEditor { 

} 
/**
*选择字段属性编辑器配置接口
*/ 
interface IFieldsSelectAttrEditorConifg  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*返回数据源函数
*/ 
getDataSource: any
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*获取列表
*/ 
list: any
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*选择值触发的事件
*/ 
onSelected: any
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*显示标题的字段名
*/ 
titlefield: string
/**
*类型
*/ 
type: string
/**
*值的字段名
*/ 
valuefield: string
} 
/**
*选择文件的属性编辑器
*/ 
class FileSelectAttrEditor  extends ButtonAttrEditor { 

} 
/**
*字体属性编辑器
*/ 
class FontAttrEditor  extends ButtonAttrEditor { 

} 
/**
*字体属性编辑器接口
*/ 
interface IFontAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*按钮标题
*/ 
btnText: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*配置图标的类型
*/ 
enum iconType {
   
/**
*默认值内置字体图标
*/ 
default = "",
/**
*自定义字图标，资源来自Font Awesome里面的图标
*/ 
fontAwesome = "FontAwesome",
/**
*默认系统文件资源里面的图标，通过url加载图标
*/ 
iconImg = "iconImg"
} 
 /**
*弹出选择图标的属性编辑器
*/ 
class IconAttrEditor  extends AttributeEditorBase { 

} 
/**
*弹出框属性编辑器
*/ 
interface IIconAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
iconType: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*简单的label-input编辑器
*/ 
class InputAttrEditor  extends AttributeEditorBase { 

} 
/**
*输入文本组件属性编辑器
*/ 
class InputAttrFormulaEditor  extends AttributeEditorBase { 

} 
/**
*输入文本组件属性编辑器配置接口
*/ 
interface IInputAttrFormulaEditor  { 
/**
*组件的属性
*/ 
attr: string
callback: Function
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
settings: string
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*选择方式
*/ 
enum ItemsAttrEditorSelectType {
   
/**
*多选
*/ 
multiple = "checkbox",
/**
*单选
*/ 
single = "radio"
} 
 /**
*Select checkbox radio组件的list 集合属性编辑器
*/ 
class ItemsAttrEditor  extends ButtonAttrEditor { 

/**
* 增加选项
* @param item  新选项

*/ 
addItem(item: Iitem): void

} 
/**
*集合元素
*/ 
interface Iitem  { 
/**
*是否打钩
*/ 
checked: boolean
/**
*隐藏
*/ 
hide: boolean
/**
*标题
*/ 
title: string
/**
*值
*/ 
val: string
} 
/**
*集合属性编辑器配置接口
*/ 
interface ItemsAttrEditorConfig  { 
/**
*组件的属性
*/ 
attr: string
/**
*按钮标题
*/ 
btnText: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*选择方式
*/ 
selectType: ItemsAttrEditorSelectType
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*多项选择下拉属性编辑器
*/ 
class MultipleSelectAttrEditor  extends AttributeEditorBase { 

} 
/**
*多项选择下拉属性编辑器配置接口
*/ 
interface IMultipleSelectAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*是否开启搜索
*/ 
issearch: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*获取列表
*/ 
list: any
/**
*选择项的最大选择数量
*/ 
maxlength: number
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*返回的类型 (String,Array)
String 说明是返回逗号隔开的字符串,
Array 说明返回的是数据对象[]
*/ 
returnType: any
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*显示标题的字段名
默认值 title
*/ 
titlefield: string
/**
*类型
*/ 
type: string
/**
*值的字段名
默认值 value
*/ 
valuefield: string
} 
/**
*选择组织机构的的属性编辑器
*/ 
class OrgAttrEditor  extends AttributeEditorBase { 

} 
/**
*选择组织机构属性编辑器初始化配置接口
*/ 
interface IOrgAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
selectedCallback: any
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*选择表单页面的属性编辑器
*/ 
class PageModelAttrEditor  extends AttributeEditorBase { 

} 
/**
*选择功能的属性编辑器初始化配置接口
*/ 
interface IPageModelAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
selectedCallback: any
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
* 组件参数操作的属性编辑器
*/ 
class ParamsAttrEditor  extends AttributeEditorBase { 

} 
/**
*下拉框属性编辑器
*/ 
class SelectAttrEditor  extends AttributeEditorBase { 

} 
/**
* 下拉框属性编辑器配置接口
*/ 
interface ISelectAttrEditorConfig  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*获取列表
*/ 
list: any
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*选择值触发的事件
*/ 
onSelected: any
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*显示标题的字段名
*/ 
titlefield: string
/**
*类型
*/ 
type: string
/**
*值的字段名
*/ 
valuefield: string
} 
/**
*选择功能的属性编辑器
*/ 
class SelectPageModelAttrEditor  extends AttributeEditorBase { 

} 
/**
*选择功能的属性编辑器初始化配置接口
*/ 
interface ISelectPageModelAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
selectedCallback: any
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*开关属性编辑器
*/ 
class SwitchAttrEditor  extends AttributeEditorBase { 

} 
/**
*开关属性编辑器
*/ 
interface ISwitchAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*文本域属性编辑
*/ 
class TextareaAttrEditor  extends AttributeEditorBase { 

} 
/**
*文本域属性编辑
*/ 
class TextareaAttrFormulaEditor  extends InputAttrFormulaEditor { 

} 
/**
*x，y属性编辑
可用于：坐标，宽高，等二元值修改
*/ 
class XYAttrEditor  extends AttributeEditorBase { 

} 
/**
*弹出框属性编辑器
*/ 
class ZlPopSourceFormAttrEditor  extends AttributeEditorBase { 

} 
/**
*弹出框属性编辑器接口
*/ 
interface IZlPopSourceFormcmpAttrEditor  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
settings: string
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*代码编辑器的高亮的语言
*/ 
enum CodeEditorLang {
   groovy = "groovy",html = "html",java = "java",javascript = "javascript",json = "json",markdown = "markdown",sql = "sql"
} 
 /**
*代码编辑器的主题
*/ 
enum CodeEditorTheme {
   hcblack = "hc-black",vs = "vs",vsdark = "vs-dark"
} 
 /**
*下拉提示的前面小图标
*/ 
enum CompletionItemKind {
   
/**
*类
*/ 
Class = 5,
/**
*颜色
*/ 
Color = 19,
/**
*常量
*/ 
Constant = 14,
/**
*构造函数
*/ 
Constructor = 2,
/**
*自定义颜色
*/ 
Customcolor = 22,
/**
*枚举
*/ 
Enum = 15,
/**
*枚举数字
*/ 
EnumMember = 16,
/**
*事件
*/ 
Event = 10,
/**
*成员变量
*/ 
Field = 3,
/**
*文件
*/ 
File = 20,
/**
*文件夹
*/ 
Folder = 23,
/**
*函数
*/ 
Function = 1,
/**
*接口
*/ 
Interface = 7,
/**
*关键字
*/ 
Keyword = 17,
/**
*方法
*/ 
Method = 0,
/**
*模块
*/ 
Module = 8,
/**
*操作符合
*/ 
Operator = 11,
/**
*属性
*/ 
Property = 9,
/**
*引用
*/ 
Reference = 21,
/**
*代码片段(模板)
*/ 
Snippet = 25,
/**
*结构体
*/ 
Struct = 6,
/**
*文本
*/ 
Text = 18,
/**
*参数
*/ 
TypeParameter = 24,
/**
*单元
*/ 
Unit = 12,
/**
*值
*/ 
Value = 13,
/**
*变量
*/ 
letiable = 4
} 
 /**
*代码编辑器
*/ 
class CodeEditor  { 

} 
/**
*代码编辑器接口
*/ 
interface ICodeEditor  { 
page: DesignerPageBase

/**
* 释放编辑器

*/ 
dispose(): void

/**
* 得到焦点

*/ 
focus(): void

/**
* 得到编辑器的值
* @returns 编辑器的值

*/ 
getValue(): string

/**
* 插入字符串
* @param s  字符串

*/ 
insert(s: string): void

/**
* 设置编辑器的值
* @param v  编辑器的值

*/ 
setValue(v: string): void
} 
/**
*提示内容格式
*/ 
interface IHintItem  { 
} 
/**
* 提示
*/ 
interface IHintReader  { 

/**
* 提示
* @param hints  提示项
* @param range  范围* @returns 返回提示项的数组

*/ 
read(hints: IHintItem[],range: any): IHintItem[]
} 
/**
*下拉提示的规则
*/ 
interface IHints  { 
} 
/**
* Monarch代码编辑器类
*/ 
class MonarchEditor  { 
elem: HTMLElement
/**
*提示规则
*/ 
hints: IHintItem[]
language: any
page: DesignerPageBase
readOnly: boolean
readers: IHintReader[]
theme: string

} 
/**
*获取代码编辑器页的下拉提示的页面参数reader
*/ 
class PageParamsHintReader  { 
page: DesignerPageBase

} 
/**
*表模型类型
*/ 
enum TableModelType {
   catalog = 2,nomarl = 0,tree = 1
} 
 /**
* 获取代码编辑器的下拉提示表模型的reader
*/ 
class TableModelHintReader  { 
page: DesignerPageBase

} 
/**
*表模型的属性接口
*/ 
interface ITableModel  { 
MX_BIANH: string
MX_BIAOLX: TableModelType
MX_MINGC: string
MX_SHIFCJ: number
MX_ZHUJZD: string
RWID: string
} 
/**
*类型
*/ 
enum FormulaKind {
   
/**
*函数
*/ 
function = "function",
/**
*变量
*/ 
variant = "variant"
} 
 /**
*公式类
*/ 
class Formula  { 

} 
/**
*公式类型
*/ 
class FormulaBase  { 

} 
/**
*公式组就基类
*/ 
class FormulaCmpBase  { 

} 
/**
*变量对象
*/ 
class Variable  { 

} 
/**
*公式组件基类接口
*/ 
interface IFormulaCmpBase  { 
id: string
name: string
page: DesignerPageBase
value: string
} 
/**
*公式接口
*/ 
interface IFormulaItem  { 
/**
*儿子群
*/ 
children: IFormulaItem[]
/**
*帮助
*/ 
help: string
/**
*帮助的url地址.可以跳转到对应的帮助网站地址
*/ 
helpUrl: string
/**
*图标
*/ 
icon: string
/**
*名称
*/ 
name: string
/**
*模板
*/ 
temp: string
/**
*公式类型
*/ 
type: FormulaKind
/**
*值
*/ 
value: string
} 
/**
*按钮公式编辑组件
例:
```javascript FormulaButtonCmp.render({}, $('#setValuediv .custom-formula-btn'),
() => {
return aceEditor.getValue();
},
(v: string) => {
aceEditor.setValue(v)
}
)
```
*/ 
class FormulaButton  extends FormulaCmpBase { 

/**
* 静态组件的渲染函数
* @param config  组件的属性配置
*/ 
static render(config: IFormulaButton): void

} 
/**
*按钮公式编辑组件接口
*/ 
interface IFormulaButton  { 
/**
*按钮的jquery 对象
*/ 
$btnElem: JQuery<any>
/**
*获取需要展示的公式值回调函数
*/ 
getValueCallBack: any
id: string
name: string
/**
*公式设计窗口点击确定的回调
*/ 
okCallBack: any
page: DesignerPageBase
/**
*公式类型数组
*/ 
types: FormulaBase[]
value: string
/**
*变量数组
*/ 
variables: Variable[]
} 
/**
*公式自定义类型件窗口
*/ 
class FormulaForm  { 
/**
*公式的编辑的语言
*/ 
language: CodeEditorLang
/**
*标题
*/ 
title: string
/**
*公式类型数组
*/ 
types: FormulaBase[]
/**
*获取公式类型,公式名,变量,公式说明的地址
*/ 
url: string
/**
*公式值
*/ 
value: any
/**
*变量数组
*/ 
variables: Variable[]

} 
/**
*输入框的的公式组件
*/ 
class FormulaInput  extends FormulaCmpBase { 

/**
* 静态组件的渲染函数
* @param config  组件的属性配置
*/ 
static render(config: IFormulaInput): void

} 
/**
*输入框组件接口
*/ 
interface IFormulaInput  { 
/**
*绑定的属性编辑器的input的jquery对象
*/ 
$input: JQuery<any>
/**
*获取需要展示的公式值回调函数
*/ 
getValueCallBack: any
id: string
name: string
/**
*公式设计器点击确定时候回调函数
*/ 
okCallBack: any
page: DesignerPageBase
/**
*公式的返回数据类型
校验公式需要用到
*/ 
returnType: any
/**
*公式类型数组
*/ 
types: FormulaBase[]
value: string
/**
*变量数组
*/ 
variables: Variable[]
} 
/**
*属性编辑器注册器服务
*/ 
class AttributeEditorRegediterService  extends ServiceBase { 

/**
* 获取组件实例的属性编辑器数组, 包含父类的
* @param compnent  组件实例* @returns 属性编辑器数组

*/ 
static getComponentEditors(compnent: ComponentBase): AttributeEditorBase[]

/**
* 通过类名和组件实例 获取的属性编辑器数组
* @param compnentInst  组件实例
* @param clazzName  类名* @returns 属性编辑器数组

*/ 
static getComponentEditorsByClassName(compnentInst: ComponentBase,clazzName: string): AttributeEditorBase[]

/**
*  获取组件实例的属性编辑器数组,
 通过递归祖先来获取整个属性数组
* @param compnent  属性编辑器数组
* @param proto  组件类* @returns 组件实例的属性编辑器数组,

*/ 
static getComponentEditorsRecursion(compnent: ComponentBase,proto: any): AttributeEditorBase[]

/**
* 注册属性编辑器
* @param opts  编辑器配置

*/ 
static regedit(opts: AttrEditorOptions): void

} 
/**
        *属性编辑回调
        *@cmp undefined 组件
    
        */ 
declare type AttrEditorHandle = (cmp: ComponentBase) => AttributeEditorBase[]
/**
        *属性编辑配置项
            
        */ 
declare type AttrEditorOptions = /**
*组件序列化服务类
*/ 
class CompnentSerializerService  extends ServiceBase { 

} 
/**
*组件注册服务类
主要是一些共用的静态函数
*/ 
class CompomentRegediterService  extends ServiceBase { 

/**
* 构造新的组件
* @param xtype  组件类型唯一标识(类名)
* @param parentCmp  父组件实例
* @param before  在什么组件之前
* @param config  参数* @returns 组件实例

*/ 
static builderCompoment(xtype: string,parentCmp: ComponentBase,before: ComponentBase,config: IComponentBase): SerializeComponetBase

/**
* 获取组件注册缓存对象
* @returns 

*/ 
static getCompomentRegediter(): any

/**
* 通过xtype获取定义的类
* @param xtype  组件的唯一类型标志
* @param ignoreCase  是否忽略大小写 默认:false* @returns 已注册的类

*/ 
static getComponentClass(xtype: string,ignoreCase: boolean): any

/**
* 通过htm元素的tag获取定义的类
* @param tag  html元素的tag* @returns 已注册的类

*/ 
static getComponentClassFormTag(tag: string): any

/**
* 获取已经注册的组件
* @returns 已经注册的组件对象

*/ 
static getComponentClasses(): object

/**
* 得到组件的组的数组
* @returns 组的数组

*/ 
static getComponentGroups(): ICompomentGroup[]

/**
* 得到经过排序后的组件的组的数组
* @returns 组的数组

*/ 
static getComponentGroupsBySort(): ICompomentGroup[]

/**
* 得到组的层次
* @param group  组件组的实例* @returns 返回组件的层次

*/ 
static getGroupLev(group: ICompomentGroup): number

/**
* 获取注册的组件的数组
* @returns 返回注册的组件配置数组

*/ 
static getRegeditConfigs(): IRegeditComponentConfig[]

/**
* 获取注册的组件的信息，分组,图标等信息。。。
* @param className  组件类名* @returns 非空 组件的注册信息 则返回undefine

*/ 
static getRegeditsConfigByClassName(className: string): IRegeditComponentConfig

/**
* 通过唯一id获取组件的注册信息 ，分组,图标等信息。。。
* @param id  组件注册信息的唯一id* @returns 非空注册的组件信息 ,则返回undefine

*/ 
static getRegeditsConfigById(id: string): IRegeditComponentConfig

/**
* 注册组件
* @param componentClass  组件的class
* @param regeditConfig  注册的参数： { icon: 'fa fa-film', gourp: "layout", title: '输入选项卡个数', name: '选项卡',visiable:true } icon支持 字体图标,css图标,base64图标


*/ 
static regedit(componentClass: object,regeditConfig: IRegeditComponentConfig | IRegeditComponentConfig[]): void

/**
* 注册组件群组 by gk
* @param group  group = {name:"行列布局",id："form",desc:"可以设置界面的行列布局", help:"", visiable:true}* @returns 返回增加或者存在的group对象

*/ 
static regeditGroup(group: ICompomentGroup): ICompomentGroup

} 
/**
*组件分组
*/ 
interface ICompomentGroup  { 
/**
*描述
*/ 
desc: string
/**
*是否展开
*/ 
expand: boolean
/**
*帮助信息
*/ 
help: string
/**
* 组id
*/ 
id: string
/**
*子组
*/ 
items: ICompomentGroup[]
/**
*名称
*/ 
name: string
/**
*父组
*/ 
parentGroup: ICompomentGroup
/**
*排序
*/ 
sort: number
/**
*可见
*/ 
visiable: boolean
} 
/**
*组件注册服务类配置接口
*/ 
interface IRegeditComponentConfig  { 
/**
*组件的创建时配置项 构造函数的参数
*/ 
config: object
/**
*组件的分组
*/ 
gourp: string
/**
*帮助信息
*/ 
help: string
/**
* 组件再界面设计器上的图标
*/ 
icon: string
/**
*唯一id
动态生成的每次刷新都不一样
*/ 
id: string
/**
*名称
*/ 
name: string
/**
*排序,数字越小排位越靠前
*/ 
sort: number
/**
*组件的hit
*/ 
title: string
/**
*是否可见
*/ 
visiable: Boolean
/**
*类名组件唯一标识
*/ 
xtype: string
} 
/**
*组件的静态渲染服务
由于html会吧大写属性变成小写属性.对于驼峰命名的属性大写字母前需要用横杠代替
例子:
```typescript
   let htm=[
         '<yh-DatePicker name="field1" root-id="field1" is-show-label="false"/>',
         '<yh-DatePicker name="field2" root-id="field2" is-show-label="false"/>',
          ].join('')
*/ 
class ComponentRenderService  extends ServiceBase { 

/**
* 渲染组件
* @param page  页面实例
* @param config  组件配置

*/ 
static render(page: DesignerPageBase,config: IComponentRenderServiceConfig): void

} 
/**
*组件静态渲染接口
*/ 
interface IComponentRenderServiceConfig  { 
/**
*需要静态渲染根节点
*/ 
el: JQuery<any>
} 
/**
*组件属性序列化辅助类
*/ 
class ComponetSerializerPropoty  { 
static dependencies: any
/**
*需要序列化的属性对象
后面继承的组件需要设置保存的属性
*/ 
static serializePropertys: any

/**
* 获取组件实例的序列化属性
* @param compnent  组件实例* @returns 需要组件的属性对象 例如:{ pop1:String,pop2:Boolean}

*/ 
static getComponentSerializePropertys(compnent: any): any

/**
* 获取依赖项
* @param compnent  组件实例* @returns 返回依赖配置集合

*/ 
static getDependencies(compnent: any): any

/**
* 设置依赖项
* @param compnent  组件实例
* @param propertyName  属性名
* @param dependencyType  依赖的类型

*/ 
static setDependencies(compnent: any,propertyName: string,dependencyType: DependencyType): void

/**
* 设置序列化属性
* @param compnent  组件
* @param propertyName  属性名
* @param dataTytpe  数据类型
* @param defaultValue  默认值

*/ 
static setSerializePropertys(compnent: any,propertyName: string,dataTytpe: any,defaultValue: any): void

} 
/**
*组件序列化接口
*/ 
interface ICompnentSerializerPropoty  { 
/**
*数据类型
*/ 
dataType: any
/**
*默认值
*/ 
defalut: any
} 
/**
*组件依赖
*/ 
interface IDependency  { 
/**
*依赖的类型
*/ 
type: DependencyType
/**
*依赖的值
*/ 
value: string
} 
/**
*平台全局配置类型
包含了api接口 请求的地址
*/ 
class ConfigService  extends ServiceBase { 

/**
* 获取全局的配置对象
* @returns 全局的配置对象

*/ 
getConfig(): any

} 
/**
*导出文件类型
*/ 
enum DataExportFileType {
   
/**
*csv文件格式
*/ 
csv = ".csv",
/**
*excel文件格式
*/ 
excel = ".xls"
} 
 /**
*导出的类型
*/ 
enum DataExportFormat {
   
/**
*输出csv格式
*/ 
csv = "csv",
/**
*输出excel 97-2003格式
*/ 
excel2003 = "xls",
/**
*输出excel 2003以后的版本格式
*/ 
excel2007 = "xlsx",
/**
*输出html格式
*/ 
html = "html",
/**
*输出pdf格式
*/ 
pdf = "pdf"
} 
 /**
*导出的数据范围
*/ 
enum DataExportRange {
   
/**
*全部去导出
*/ 
all = "2",
/**
*选中数据
*/ 
checked = "1",
/**
*当前页
*/ 
page = "0"
} 
 /**
*数据导出服务
*/ 
class DataExportService  extends ServiceBase { 

} 
/**
*导出参数接口
*/ 
interface IDataExportConfig  { 
/**
*表名称，如果没有list,将会按照这个表名去查询数据
*/ 
MAINTABLENAME_ZLFW: string
/**
*勾选的列表
*/ 
checkRwid: string[]
/**
*要导出的列名数组
*/ 
columns: object
/**
*扩展的参数
*/ 
extraMap: any
/**
*文件名
*/ 
fileName: string
/**
*导出的文件类型
*/ 
fileType: DataExportFileType
/**
*文件标题
*/ 
filetitle: string
/**
*模型id
*/ 
modelId: string
modelPath: string
/**
*选择导出的范围
*/ 
range: DataExportRange
/**
*模板路径?
*/ 
url: string
} 
/**
*数据导出弹出框的配置接口
*/ 
interface IDataExportFormConfig  { 
/**
*文件类型
*/ 
fileFormat: DataExportFileType
/**
*导出的文件名称
*/ 
fileName: string
/**
*导出文件标题
*/ 
filetitle: string
/**
*导出的范围
*/ 
range: DataExportRange
} 
/**
        *事件导出回调
        *@param filetitle 文件标题
*@param fileName 文件名
*@param range 范围
*@param fileType 文件类型 csv,xls
*@param error 错误
    
        */ 
declare type DataExportCallBack = (filetitle: string,fileName: string,range: DataExportRange,fileType: DataExportFileType,error: string) => void
/**
*设计器服务类
*/ 
class DesignerService  extends ServiceBase { 

} 
/**
*消息服务类
组件,iframe,window直接的消息传递
*/ 
class MessageServices  extends ServiceBase { 

/**
* 注销监听

*/ 
clear(): void

/**
* 反注册处理
* @param handle  注册过的事件字符串
* @param msgFilter  消息字符串
* @param fn  消息处理函数

*/ 
off(handle: string,msgFilter: string,fn: Function): void

/**
* 注册对象的消息处理
* @param handle  接收消息来源的对象id或者组件实例...等等.
* @param msg  消息字符串
* @param callback  消息回调
* @param override  是否覆盖之前注册的消息处理函数 默认值 = false
* @param isGlobal  是否全局监听(跨域iframe监听)  默认值 = false

*/ 
on(handle: string | IComponent,msg: string,callback: Function,override: boolean,isGlobal: boolean): void

/**
* 发送消息给对象
* @param handle  接收消息来源的对象id...等等.
* @param msg  消息值
* @param parms  附带到消息的参数对象 注意消息参数对象不能是组件的实例,这是因为发送会序列化操作会导致死循环
* @param isGlobal  是否全局监听(跨域iframe监听)  默认值 = false

*/ 
send(handle: string | IComponent,msg: string,parms: any,isGlobal: boolean): void

/**
* 判断浏览器是否支持postMessage
* @returns true 支持;则反之

*/ 
static getSupportPostMessage(): boolean

} 
/**
*组件的取名服务类
*/ 
class NameGenerateService  extends ServiceBase { 

} 
/**
*页面的状态
*/ 
enum PageServiceEditState {
   
/**
*新增
*/ 
add = "add",
/**
*编辑
*/ 
edit = "edit",
/**
*无
*/ 
none = "none",
/**
*查看
*/ 
view = "view"
} 
 /**
* 弹出页面的Page对象保留占位接口
 代码编辑器内类似components.table1 无下拉代码提示,但是components.table1是可以生效
*/ 
class IFormPageHolder  extends DesignerPageBase { 
/**
*代码编辑器内类似components.table1 无下拉代码提示,但是components.table1是可以生效
*/ 
components: IDesignerPageComponentsHolder

} 
/**
*页面操作服务类
*/ 
class PageService  { 

/**
* 根据表单的编号弹出表单
* @param pageModelCode  表单设计的界面模型编号
* @param params  页面参数(包含了全局和自定义的参数)
* @param pageCoinfg  弹出的编辑界面的参数设置默认:{} 这里可以设置窗口的各种属性 弹出的窗口大小,标题, 以及各种回调 onSuccess,onYes,onCancel,onMin,onClosed ...
* @param onPageShowCallBack  界面加载完成回调* @returns 返回弹出窗口页面唯一索引

*/ 
static openFormPageByCode(pageModelCode: string,params: Object | IParam[],pageCoinfg: IPageFormOptions,onPageShowCallBack: any): number

/**
* 根据表单的id弹出表单
* @param pageModelId  表单设计的界面模型id
* @param params  页面参数(包含了全局和自定义的参数)
* @param pageCoinfg  弹出的编辑界面的参数设置默认:{} 这里可以设置窗口的各种属性 弹出的窗口大小,标题, 以及各种回调 onSuccess,onYes,onCancel,onMin,onClosed ...
* @param onPageShowCallBack  界面加载完成回调* @returns 返回弹出窗口页面唯一索引

*/ 
static openFormPageById(pageModelId: string,params: Object | IParam[],pageCoinfg: IPageFormOptions,onPageShowCallBack: any): number

/**
* 在浏览器开启新页面
这个与菜单关联受权限的管理
* @param menuCode  菜单的编号(注意唯一性)
* @param param  参数对象

*/ 
static openNewPageByMenuCode(menuCode: string,param: object): void

/**
* 通过菜单的编号在主框架上的页签开启一个页面 这个与菜单关联受权限的管理
注意:如果用户无权限操作菜单会提示无权限
* @param menuCode  菜单的唯一编号（菜单管理内必须保证编号的唯一性）
* @param param  可选附带的参数。注意 这个参数由于是拼接到URL后面因此存在了长度限制。

*/ 
static openNewTabPageByMenuCode(menuCode: string,param: object): void

/**
* 通过表单的编号在主框架上的页签开启一个页面,理论上不受权限控制.
如果遇到无权限 必须加上resid(如:菜单id等资源ID) 才能调用
* @param pageModelCode  表单唯一编号（表单管理内必须保证编号的唯一性）
* @param title  可选参数。页签的标题
* @param resid  可选参数。资源ID
* @param param  可选参数。附带参数 例如: param={XXXid:'xxxxx', YYYid:'xxxxxyyyyy'}

*/ 
static openNewTabPageByPageCode(pageModelCode: string,title: string,resid: string,param: object): void

/**
* 通过表单的编号在系统最顶层弹出一个页面
如果遇到无权限 必须加上resid(如:菜单id等资源ID) 才能调用
* @param pageModelCode  表单唯一编号（表单管理内必须保证编号的唯一性）
* @param title  可选参数。页签的标题也可以在 formConfig内的title设置弹出标题
* @param resid  可选参数。资源ID. 与资源权限相关. 一般是:菜单资源id
* @param pageCoinfg  可选参数。类型IFormOptions 可以设置弹出的窗口大各种属性 例如: pageCoinfg={title:'窗口标题' ,area:['100px','200px']}
* @param param  可选参数。附带参数,param ={ xxx:xxxyyyy,aaabbb:cccddd} 注意:这个参数的长度受浏览器的请求地址最大长度限制.

*/ 
static openNewTopPageByPageCode(pageModelCode: string,title: string,resid: string,pageCoinfg: IPageFormOptions,param: any): void

/**
* 在浏览器新的页签打开页面 注意这个无权限管理
* @param pageModelCode  页面模型编号(注意唯一性)
* @param param  这个参数由于是拼接到URL后面因此存在了 默认值:{}

*/ 
static openNewUrlPageByCode(pageModelCode: string,param: object): void

/**
* 在的主框架上开启页签页面
如果遇到无权限 必须加上resid(如:菜单id等资源ID) 才能调用
* @param url  连接地址
* @param title  页签标题
* @param resid  资源id 这个id与权限相关.如果遇到无法无权限可加上resid
* @param param  可选参数 拼接到URL后面

*/ 
static openTabPage(url: string,title: string,resid: string,param: Object): void

} 
/**
*组件的实例占位接口
*/ 
interface IDesignerPageComponentsHolder  { 
} 
/**
*弹出的页面配置接口
*/ 
interface IPageFormOptions  { 
/**
*区域范围
例如: area: ['100px','200px']  或者   area: ['100%','200%']  或者   area:  '100px'
*/ 
area: string | string[]
/**
*按钮
例如: btn: ['确定','取消']
*/ 
btn: string | boolean | string[]
/**
*按钮的排列
默认：FormBtnAlign.right
你可以快捷定义按钮的排列位置，btnAlign的默认值为r，即右对齐。该参数可支持的赋值如下：
*/ 
btnAlign: FormBtnAlign
/**
*关闭动画
*/ 
closeAnim: FormAnimType
/**
*关闭按钮
两种风格的关闭按钮，可通过配置1和2来展示，如果不显示，则closeBtn: 0
*/ 
closeBtn: string | boolean
/**
*内容
*/ 
content: string | JQuery<any> | string[]
/**
*固定
默认：true
*/ 
fixed: boolean
/**
*输入框的样式主题
*/ 
formType: FormInputType
/**
*显示的图标
*/ 
icon: FormIcon
/**
*html元素id
*/ 
id: string
/**
*是否全屏开启
*/ 
isFull: boolean
/**
*关闭动画
默认：true
*/ 
isOutAnim: boolean
/**
*最大高度
*/ 
maxHeight: number
/**
* 最大宽度
*/ 
maxWidth: number
/**
*允许最大最小化
默认：false
*/ 
maxmin: boolean
/**
*触发拖动的元素
*/ 
move: string | boolean | HTMLElement
/**
*是否允许拖拽到窗口外
*/ 
moveOut: boolean
/**
*位置 默认：垂直水平居中
offset: 'auto'	默认坐标，即垂直水平居中
offset: '100px'	只定义top坐标，水平保持居中
offset: ['100px', '50px']	同时定义top、left坐标
offset: 't'	快捷设置顶部坐标
offset: 'r'	快捷设置右边缘坐标
offset: 'b'	快捷设置底部坐标
offset: 'l'	快捷设置左边缘坐标
offset: 'lt'	快捷设置左上角
offset: 'lb'	快捷设置左下角
offset: 'rt'	快捷设置右上角
offset: 'rb'	快捷设置右下角
*/ 
offset: string
/**
*是否允许关闭回调
注意在弹出最顶层的窗口是无效的
返回 true允许关闭窗口,则反之
*/ 
onCanClose: PageFormHandle
/**
*右上角关闭按钮触发的回调
*/ 
onCancel: PageFormHandle
/**
*关闭回调
*/ 
onClosed: PageFormHandle
/**
*最大化回调
*/ 
onFull: PageFormHandle
/**
*最小化回调
*/ 
onMin: PageFormHandle
/**
*拖动完毕后的回调方法
*/ 
onMoveEnd: PageFormHandle
/**
*监听窗口拉伸动作
*/ 
onResizing: PageFormHandle
/**
*还原回调
*/ 
onRestore: PageFormHandle
/**
*弹出完全成功弹出的回调
*/ 
onSuccess: PageFormHandle
/**
*点击确定的回调
返回false不允许关闭,否则允许
*/ 
onYes: PageFormHandle
/**
*弹出的动画
*/ 
openAnim: FormAnimType
/**
*路径
*/ 
path: any
/**
*允许改不大小
*/ 
resize: boolean
/**
*是否允许浏览器出现滚动条
默认：true
*/ 
scrollbar: boolean
/**
*遮罩层的透明度颜色
即弹层外区域。默认是0.3透明度的黑色背景（'#000'）。如果你想定义别的颜色，可以shade: [0.8, '#393D49']；如果你不想显示遮罩，可以
*/ 
shade: string | number | boolean | any[]
/**
*主题
*/ 
theme: string
/**
*是否允许多个tips
*/ 
tipsMore: boolean
/**
*标题
*/ 
title: string | boolean | any[]
/**
*弹出窗口的类型
*/ 
type: FormType
/**
*层叠顺序
*/ 
zIndex: number
} 
/**
        *弹出页面通用回调
        *@param page 页面实例
    
        */ 
declare type PageFormHandle = (page: IFormPageHolder) => boolean | void
/**
*服务器服务类
可以获取服务器的一些配置信息
如:时间格式 等等
*/ 
class ServerService  extends ServiceBase { 

} 
/**
*单实例服务基类
*/ 
class ServiceBase  { 

} 
/**
*base64的编码类
用于base64的编码/解码
*/ 
class Base64  { 

/**
* base64解码
* @param base64Str  base64字符串* @returns 返回解码后的字符串

*/ 
static base64decode(base64Str: string): any

/**
* base64编码
* @param str  需要编码的字符串* @returns 返回编码后的base64字符串

*/ 
static base64encode(str: string): any

/**
* 将Base64编码字符串转换成Ansi编码的字符串
* @param input  输入的字符串* @returns 返回明文字符串

*/ 
static decode64(input: string): string

/**
* 将Ansi编码的字符串进行Base64编码
* @param input  输入的字符串* @returns 返回加密的base64字符串

*/ 
static encode64(input: string): string

/**
* 编码utf16转utf8
* @param str  需要转化的字符串* @returns 返回转化后的utf8字符串

*/ 
static utf16to8(str: any): any

/**
* 编码utf8转utf16
* @param str  需要转化的字符串* @returns 返回转化后的utf16字符串

*/ 
static utf8to16(str: any): any

} 
/**
*颜色处理工具类
*/ 
class ColorUtils  { 

/**
* 16进制色值获取反色设置方法
* @param strHex  为16进制色值的字符串（例：'#000000'）* @returns 返回反色的色值（例：'#ffffff'）

*/ 
static colorReverse(strHex: any): string

/**
* 得到hex颜色值为color的加深颜色值，level为加深的程度，限0-1之间
* @param color  颜色的16禁止字符串
* @param level  0-1 之间的浮点数* @returns 返回十六进制字符串

*/ 
static getDarkColor(color: any,level: any): string

/**
* 得到hex颜色值为color的减淡颜色值，level为加深的程度，限0-1之间
* @param color  颜色的16禁止字符串
* @param level  0-1 之间的浮点数* @returns 返回十六进制字符串

*/ 
static getLightColor(color: string,level: number): string

/**
* hex颜色转rgb颜色
* @param strHex  十六进制的颜色值格式（#ffc53d)* @returns 返回RGB数组

*/ 
static hexToRgb(strHex: string): any[]

/**
* GRB颜色转Hex颜色
* @param a  R 值
* @param b  G 值
* @param c  B 值* @returns 返回十六进制字符串

*/ 
static rgbToHex(a: any,b: any,c: any): string

/**
* hex颜色转rgba颜色 ，这个是带有透明参数
* @param strHex  十六进制的颜色值格式（#ffc53d)
* @param alpha  透明度 （0~1）之间浮点数* @returns 返回 rgba(xx,xx,xx,0.2)格式的字符串

*/ 
static rgba(strHex: string,alpha: number): string

} 
/**
*ajax请求内容的格式
*/ 
enum ContentType {
   applicationJson = "application/json",applicationXwwwFormUrlencoded = "application/x-www-form-urlencoded",textHtml = "text/html",textPlain = "text/plain"
} 
 /**
*ajax请求参数的格式
*/ 
enum DataType {
   html = "html",json = "json",text = "text"
} 
 /**
*依赖的类型
*/ 
enum DependencyType {
   
/**
*文件资源
*/ 
file = "file",
/**
*菜单资源
*/ 
menu = "menu",
/**
*表单资源
*/ 
pageModel = "pageModel",
/**
*模板资源
*/ 
templete = "templete",
/**
*工作流资源
*/ 
workflow = "workflow"
} 
 /**
*加密的方式
*/ 
enum EncryptType {
   ase = "ase",base64 = "base64",md5 = "md5",sm2 = "sm2"
} 
 /**
*http的请求类型
'GET','POST','DELETE','PUT'
*/ 
enum MethodType {
   DELTE = "DELETE",GET = "GET",POST = "POST",PUT = "PUT"
} 
 /**
*返回结果的状态
*/ 
enum RetState {
   
/**
*错误
*/ 
ERROR = "ERROR",
/**
*成功
*/ 
OK = "OK"
} 
 /**
*通用函数类
*/ 
class Common  { 
/**
*一般的通用校验规则
*/ 
static Verifys: any

/**
* 开启弹出的页面
```typescript
Common.Form({
type: FormType.page
, id: 'id'
, title: '组件树(可拖拽修改组件位置)'
, shade: 0
, area: ['300px', '500px']
, content: that.getEditorHtml()
, onSuccess: (index, $elem) => {
}
, onYes(index, $elem) {
}
, restore: (index, $elem) => { }
})
```
* @param options  参考open的参数* @returns 返回弹出层的唯一index

*/ 
static Form(options: IFormOptions): number

/**
* 添加script标签并执行代码
* @param id  唯一字符串
* @param javascript  脚本字符串* @returns false执行失败. true执行成功

*/ 
static addJavaScript(id: string,javascript: string): boolean

/**
* 任意值转成boolean类型
 true: 'true', 11
 false : 'false', 0 ,'0',undefine,null,[]
* @param val  值* @returns 返回 true/false

*/ 
static anyToBoolean(val: any): boolean

/**
* 属性复制，但是覆盖C已经存在的
* @param C  需要合并的目标对象
* @param D  源对象1
* @param B  源对象2* @returns 返回合并后的对象

*/ 
static apply(C: any,D: any,B: object): any

/**
* 属性复制，但是不会覆盖o已经存在的，只会复制o没有的属性
* @param o  目标对象
* @param c  源对象* @returns 返回合并后的对象

*/ 
static applyIf(o: any,c: any): any

/**
* 同步ajax请求
* @param url  请求的路径
* @param metho  请求的类型 get post put delete
* @param param  请求的参数对象 不能是字符串
* @param callBackFunc  完成请求回调  返回 JSON 数据
* @param showLoading  是否显示加载进度条 默认值false

*/ 
static asyncAjax(url: string,metho: MethodType,param: any,callBackFunc: any,showLoading: boolean): void

/**
* 根据数据填充Layuiform
* @param frmElem  html元素
* @param data  数据
* @param options  设置

*/ 
static autoFill(frmElem: HTMLElement,data: string[],options: object): void

/**
* 消息广播发送到各个iframe 全局发送
* @param cmpId  目标组件ID或者组件实例
* @param msgName  消息常量值
* @param params  参数

*/ 
static broadcast(cmpId: string | IComponent,msgName: string,params: any): void

/**
* 关闭指定的弹出层
* @param index  层的唯一索引
* @param force  强制关闭* @returns 返回false关闭失败,其他都成功

*/ 
static closeForm(index: number,force: boolean): boolean

/**
* 关闭所有的layer
* @param type  类型 (tips,....)

*/ 
static closeFormAll(type: FormType): void

/**
* 压缩图片
* @param file  file对象
* @param type  压缩后转换的文件类型
* @param mx  压缩的图片最大宽度限制
* @param mh  压缩的图片最大高度限制* @returns 返回压缩后的图片Blod

*/ 
static compressImg(file: any,type: string,mx: number,mh: number): Promise<any>

/**
* 弹出确定取消的对话框
* @param text  提示信息
* @param callBackFunc  确定后回调函数 返回false是不关闭窗口,否则都关闭
* @param title  提示框的标题* @returns 返回弹出层的唯一index

*/ 
static confirm(text: string,callBackFunc: any,title: string): number

/**
* 简单数据类型转换
* @param fromType  从什么类型
* @param toType  到真没类型
* @param value  值* @returns 返回对应的toType类型的值

*/ 
static convert(fromType: any,toType: any,value: any): any

/**
* 解码字符串
* @param strEnc  字符串密文
* @param encryptType  编码类型 默认: ase* @returns 返回界面的字符串明文

*/ 
static decode(strEnc: string,encryptType: EncryptType): string

/**
* 异步delete 方式提交数据
* @param url  请求的路径
* @param param  请求的参数对象 不能是字符串
* @param callBackFunc  完成请求回调
* @param showLoading  是否显示加载进度条 默认值false

*/ 
static deletePost(url: string,param: any,callBackFunc: AjaxHandle,showLoading: boolean): void

/**
* 获取当前的设备浏览器的版本信息
* @param key  os,ie,weixin,android,ios,mobile* @returns 设备信息

*/ 
static device(key: any): DeviceInfo

/**
* 禁用AMD加载

*/ 
static disableAmd(): void

/**
* ajax 的Error处理
* @param xhr  ajax请求对象
* @param textStatus  状态

*/ 
static doError(xhr: any,textStatus: any): void

/**
* 下载文件
* @param url  下载的文件地址
* @param params  参数
* @param onStarCallBack  开始下载回调函数
* @param processCallBack  处理的回调函数
* @param completeCallback  完成回调函数

*/ 
static downloaFile(url: string,params: any,onStarCallBack: any,processCallBack: any,completeCallback: any): void

/**
* 下载文件
* @param url  下载地址
* @param completeCallback  完成回调函数

*/ 
static download(url: string,completeCallback: any): void

/**
* 生效AMD加载

*/ 
static enableAmd(): void

/**
* 编码/加密字符串
* @param str  字符串明文
* @param encryptType  编码类型 默认: ase* @returns 返回加密字符串

*/ 
static encode(str: string,encryptType: EncryptType): string

/**
* 浏览器的控制台输出错误
* @param msg  错误消息字符串

*/ 
static error(msg: any): void

/**
* 弹出错误提示信息框.
* @param errorTxt  提示的信息* @returns 返回弹出层的唯一index

*/ 
static errorMsg(errorTxt: string): number

/**
* 解析typeScript/javascript脚本
* @param script  typeScript脚本字符串* @returns 返回 脚本的对象,否则返回null

*/ 
static evalScript(script: string): any

/**
* 执行一个javascript 字符串
* @param script  javascript 字符串
* @param thisArg  脚本内部的this对象
* @param strArg  传递的参数字符串说明可以在脚本中直接使用a,b参数  如: 'a,b'
* @param ArgModel  传递的参数值model 不如{a:xxxx,b:yyyyy}* @returns script执行的脚本内的 return语句返回的结果

*/ 
static execJavaScript(script: any,thisArg: any,strArg: any,ArgModel: any): any

/**
* 表单提交
context-Type ='application/x-www-form-urlencoded'
* @param url  提交的地址
* @param method  http的get / post
* @param param  请求的参数对象 不能是字符串
* @param callBackFunc  回调
* @param showLoading  是否显示正在加载进度框 默认值false

*/ 
static formPost(url: string,method: MethodType,param: object,callBackFunc: AjaxHandle,showLoading: boolean): void

/**
* 模拟form 提交
* @param url  提交的地址
* @param params  参数数组
* @param newTab  是否在新页签开启 默认:true

*/ 
static formSubmit(url: string,params: IParam[],newTab: boolean): void

/**
* 格式化数字显示方式
用法
formatNumber(12345.999,'#,##0.00');  货币类型 小数不足两位补零
formatNumber(12345.999,'#,##0.##');  货币类型 保留两位小数,不足也不补
formatNumber(123,'000000');
* @param num  数字
* @param pattern  格式化模板字符串 '#,##0.00  #,##0.##'* @returns 格式化后的数字字符串

*/ 
static formatNumber(num: number,pattern: string): string

/**
* 最大化弹出层
* @param index  弹出层的唯一索引* @returns 返回弹出层的唯一index

*/ 
static fullForm(index: number): void

/**
* 生成一个全球唯一id
注意:这个与uuid有差别,全局全球唯一,缺点就是比较长
* @returns 全球唯一的id字符串

*/ 
static generalGUID(): string

/**
* 生成一个当前页面唯一自增的流水号, 每次获取都会自增incs
注意:一般用于界面的zindex的 顺序
* @param incs  可选参数 自增的数字 默认: 1* @returns 当前页面唯一的流水号

*/ 
static generalSeri(incs: number): number

/**
* 异步http获取get请求数据
* @param url  请求的路径
* @param param  请求的参数对象  注意:不能是字符串
* @param callBackFunc  完成请求回调
* @param showLoading  是否显示加载进度条 默认值false

*/ 
static get(url: string,param: any,callBackFunc: AjaxHandle,showLoading: boolean): void

/**
* 获取当前激活的iframe
* @returns 当前激活的iframe

*/ 
static getActiveIframe(): JQuery<any>

/**
* 浏览器版本号
* @returns 版本号字符串

*/ 
static getBrowserVersion(): string

/**
* 获取实例的类名
* @param obj  类的实例 或者 类 或者 类名字符* @returns 返回类名 错误返回null

*/ 
static getClassName(obj: any): any

/**
* 得到组件的属性帮助的url
* @param cmp  组件实例
* @param attr  属性名称* @returns 返回组件的帮组url

*/ 
static getComponentHelpUrl(cmp: IComponent,attr: string): string

/**
* 得到全局配置对象
* @returns 全局配置对象实例

*/ 
static getConfig(): any

/**
* 获取contentPath
* @returns 返回contentPath

*/ 
static getContextPath(): string

/**
* 获取cookie值
* @param cookieName  键值* @returns 对应的cookiename的值

*/ 
static getCookieValue(cookieName: string): any

/**
* 获取cookie
* @returns 返回cookies

*/ 
static getCookies(): object

/**
* 获取加密解码的工具类
* @returns 加密/解密辅助类

*/ 
static getEncryptUtils(): EncryptUtils

/**
* 获取完整url的路径包含http,https
* @param url  相对路径/绝对路径* @returns 返回处理过的路径.没有contextpath就加上,完整的路径http,https开头的原路返回

*/ 
static getFullUrl(url: string): string

/**
* 得到当前功能的菜单资源ID
* @returns 资源id

*/ 
static getMenuId(): string

/**
* 获取当前页面的url 的参数值. 也就是就是问号后面的参数值
注意:这只有请求方式是 get 时候才有效
* @param name  参数名* @returns 对应的参数值

*/ 
static getQueryString(name: string): string

/**
* 获取url的参数对象
* @param url  请求的路径* @returns 对应的参数对象

*/ 
static getQueryStrings(url: string): object

/**
* 得到tokenid
* @returns 返回tokenid / sessionid 字符串

*/ 
static getTokenId(): any

/**
* 获取服务器的txt文件
* @param url  url
* @param callback  回调函数

*/ 
static getTxtFile(url: string,callback: any): void

/**
* 获取url的路径
* @param url  相对路径/绝对路径* @returns 返回处理过的路径.没有contextpath就加上,完整的路径http,https开头的原路返回

*/ 
static getUrl(url: string): string

/**
* 得到url的部分参数
* @param fullUrl  请求连接* @returns 返回参数数组

*/ 
static getUrlExcludeQueryString(fullUrl: string): string

/**
* 得到用户信息
* @returns 返回用户信息对象

*/ 
static getUserInfo(): any

/**
* 获取数据保存到浏览器的本地缓存
* @param key  唯一key* @returns 返回本地缓存的值

*/ 
static getlocalCache(key: any): string

/**
* 判断是否ie
* @returns 是否ie浏览器

*/ 
static ie(): string | number | boolean

/**
* 如果value是undefine值就取默认值否则取原来的值
* @param value  需要判断的值
* @param defalutvalue  默认值* @returns 返回值 value是undefine值就取默认值否则取原来的值

*/ 
static ifUndefine(value: any,defalutvalue: any): any

/**
* 绑定input与树模糊查找,该函数来自ztree官方的demo
* @param treeObj  ztree树的对象
* @param inputId  输入框id
* @param isHighLight  是否选择高亮
* @param isExpand  是否展开* @returns true / false

*/ 
static initTreeSearch(treeObj: any,inputId: any,isHighLight: any,isExpand: any): void

/**
* 判断对象是否继承与接口
* @param object  对象
* @param interfaceName  接口的名称字符* @returns true继承,则反之

*/ 
static instanceOfInf(object: any,interfaceName: string): boolean

/**
* lodash的加强版,  空对象，集合，映射或者set .排除了 boolean 和 number有值情况返回true,
比如arguments对象，array，buffer，string或者类jQuery集合的length 为 0，被认为是空。类似的，map（映射）和set 的size 为 0，被认为是空。
 Common.isEmpty(0);=> false
 Common.isEmpty(1);=> false
 Common.isEmpty(null); => true
 Common.isEmpty([1, 2, 3]); => false
 Common.isEmpty({ 'a': 1 }); => false
 Common.isEmpty([]); =>true
 Common.isEmpty(''); =>true
 array，buffer，string或者类jQuery集合的 ength 为 0，被认为是空
* @param value  需要判断的值* @returns true说明是空值,则反之

*/ 
static isEmpty(value: any): boolean

/**
* 判断是否公式
* @param text  需要判断字符串* @returns true 说明是公式/脚本

*/ 
static isFormula(text: string): boolean

/**
* 检查 value 是否是 null 或者 undefined。
* @param value  需要检查的值* @returns true null,undefined,则反之

*/ 
static isNil(value: any): boolean

/**
* 判断是否非空值 isEmpty反义函数
* @param value  需要判断的值* @returns true非空值,则反之

*/ 
static isNotEmpty(value: any): boolean

/**
* 检查 value 是否非 null 或者 undefined。
* @param value  需要检查的值* @returns false null,undefined,则反之

*/ 
static isNotNil(value: any): boolean

/**
* 动态增加Css
* @param cssUrl  css的路径
* @param cssname  可选参数 css的唯一名称

*/ 
static linkCss(cssUrl: string,cssname: string): void

/**
* 动态创建scritp的,根据id来决定是否新增代码节点
* @param id  唯一id
* @param code  javascript代码
* @param type  类型 默认:'text/html'

*/ 
static loadScript(id: string,code: string,type: string): void

/**
* 浏览器的控制台输出日志
* @param msg  消息字符串

*/ 
static log(msg: any): void

/**
* 匹配两者之间的内容
* @param context  被人
* @param s1  开头
* @param s2  结尾* @returns 返回

*/ 
static matchsBetween(context: string,s1: string,s2: string): string[]

/**
* 警告弹出提示框
```typescript
Form.msg("您好!",  { time: 30000 })
```
* @param text  警告信息
* @param options  可选参数 弹出提示框的配置项* @returns 返回弹出层的唯一index

*/ 
static msg(text: string,options: IFormMsgOptions): number

/**
* 弹出没有数据提示
* @param dom  提示信息的目标
* @param isremove  是否删除掉

*/ 
static noData(dom: JQuery<any>,isremove: boolean): void

/**
* 反注册消息处理
* @param cmpId  目标组件ID
* @param msgFilter  消息字符串 用于过滤
* @param callback  

*/ 
static off(cmpId: string,msgFilter: string,callback: Function): void

/**
* 注册消息处理
注意:如果是全局消息的监听 cmpid= 'GLOBAL' 才能生效
* @param cmpId  目标组件ID或者组件实例
* @param msgName  消息常量值
* @param callback  消息处理函数
* @param override  是否覆盖原来注册的处理函数
* @param isGlobal  是否全局监听(跨域iframe监听)  默认值 = false

*/ 
static on(cmpId: string | IComponent,msgName: string,callback: Function,override: boolean,isGlobal: boolean): void

/**
* 展示相册
例子:
1. 从json来显示图片
```typescript
layer.photos({
photos: {
"title": "", //相册标题
"id": 123, //相册id
"start": 0, //初始显示的图片序号，默认0
"data": [   //相册包含的图片，数组格式
{
"alt": "图片名",
"pid": 666, //图片id
"src": "", //原图地址
"thumb": "" //缩略图地址
}
]
}
,anim: 5 //0-6的选择，指定弹出图片动画类型，默认随机（请注意，3.0之前的版本用shift参数）
});
```
2. 如果是直接从页面中获取图片，那么需要指向图片的父容器，并且你的img可以设定一些规定的属性
```html
<div id="layer-photos-demo" class="layer-photos-demo">
<img layer-pid="图片id，可以不写" layer-src="大图地址" src="缩略图" alt="图片名">
<img layer-pid="图片id，可以不写" layer-src="大图地址" src="缩略图" alt="图片名">
</div>
* @param options  弹出页签的参数* @returns 返回弹出层的唯一index

*/ 
static photo(options: IFormPhotoOptions): number

/**
* 汉字转拼音
* @param str  汉字全拼* @returns 返回拼音字母

*/ 
static pingYA(str: string): string

/**
* 汉字转拼音首字母缩写+大写
* @param str  汉字字符串* @returns 返回拼音字母

*/ 
static pingYB(str: string): string

/**
* 汉字转拼音第一个全拼+后面缩写+大写
* @param str  汉字字符串* @returns 返回拼音字母

*/ 
static pingYC(str: string): string

/**
* 异步 ajaxPost 提交数据
* @param url  请求的路径
* @param param  请求的参数对象 不能是字符串
* @param callBackFunc  完成请求回调
* @param showLoading  是否显示加载进度条 默认值false

*/ 
static post(url: string,param: any,callBackFunc: AjaxHandle,showLoading: boolean): void

/**
* 异步 put 方式提交数据
* @param url  请求的路径
* @param param  请求的参数对象 不能是字符串
* @param callBackFunc  完成请求回调
* @param showLoading  是否显示加载进度条 默认值false

*/ 
static put(url: string,param: any,callBackFunc: AjaxHandle,showLoading: boolean): void

/**
* 动态增加 js 如果之前已经增加了就直接调用onFinishCallBack回调
* @param jsUrl  js的路径
* @param onFinishCallBack  js的加载完毕回调函数
* @param attrs  属性对象

*/ 
static require(jsUrl: string,onFinishCallBack: Function,attrs: object): void

/**
* js文件的加载
* @param jsUrls  js路径数组
* @param onFinishCallBack  完成回调
* @param attrs  附带的属性对象
* @param isSequence  是否按jsUrls数组顺序加载

*/ 
static requires(jsUrls: string[],onFinishCallBack: Function,attrs: object,isSequence: boolean): void

/**
* 发送消息
* @param cmpId  目标组件ID或者组件实例
* @param msgName  消息常量值
* @param params  参数

*/ 
static send(cmpId: string | IComponent,msgName: string,params: any): void

/**
* 保存用户信息
* @param userInfo  

*/ 
static setUserInfo(userInfo: any): void

/**
* 数据保存到浏览器的本地缓存,永久存在
* @param key  唯一key
* @param value  值

*/ 
static setlocalCache(key: any,value: any): void

/**
* 对象转化成 json的字符串.
该函数排除了循环引用的问题.
* @param o  需要转化的对象
* @param excludes  排除的属性数组* @returns 返回的对象实例

*/ 
static stringify(o: Object,excludes: string[]): string

/**
* 成功 alert提示框
* @param text  提示标题
* @param callBackFunc  点击确定回调函数

*/ 
static successAlert(text: string,callBackFunc: Function): void

/**
* 弹出成功msg提示框
* @param text  提示信息* @returns 返回弹出层的唯一index

*/ 
static successMsg(text: string): number

/**
* 数组元素位置互换
* @param arr  数组
* @param index1  位置1
* @param index2  位置2* @returns 返回互换完毕后的数组

*/ 
static swap(arr: any[],index1: number,index2: number): any[]

/**
* 弹出页签的
* @param options  弹出页签的参数* @returns 返回弹出层的唯一index
*/ 
static tabForm(options: IFormTabOptions): number

/**
* 显示一个 tips 提示层.
```typescript
Common.tips("hello", btn.getElemt(), { tips: {color:"red", direct: "down" } })
```
* @param content  tips 层的提示内容.
* @param $follow  tips 层跟随的定位元素 jquery 包装的DOM元素对象.
* @param options  tips 层的选项.* @returns 返回弹出层的唯一index

*/ 
static tips(content: string,$follow: JQuery<any>,options: IFormTipsOptions): number

/**
* 上传图片方法
```typescript
Common.uploadImage({
url: 'http://xxx.com/upload',
file: file,
headers: headers,
beforeUpload: function () {
console.log('beforeUploadCallback');
},
uploading: function (percent) {
console.log(percent);
},
success: function (res) {
console.log(res);
},
error: function (err) {
console.log(err);
}
});
```
* @param config  上传的参数设置

*/ 
static uploadImage(config: IUploadImageConfig): void

/**
* 生成一个当前页面唯一的id
注意:这只能使用在动态生产id的情况,优点就是长度短缺点就是不能保存
* @param prefix  前缀* @returns 当前页面唯一的id字符串

*/ 
static uuid(prefix: string): string

/**
*  弹出警告弹出提示框
* @param text  警告信息* @returns 返回弹出层的唯一index

*/ 
static warnMsg(text: string): number

/**
* ajax请求
* @param url  请求的路径
* @param method  请求的方式 get,post ,put,delete
* @param param  请求的参数对象 不能是字符串
* @param dataType  http头的  dataType
* @param callBackFunc  完成请求回调
* @param async  是否异步
* @param showLoading  是否显示加载进度条 默认值false

*/ 
static zlajax(url: string,method: MethodType,param: any,dataType: DataType,callBackFunc: AjaxHandle,async: boolean,showLoading: boolean): void

} 
/**
*按键值
*/ 
class KEYS  { 

} 
/**
*客户端的信息接口
*/ 
interface DeviceInfo  { 
/**
*安卓系统
*/ 
android: string
/**
*ie版本
*/ 
ie: string | boolean
/**
*水果机
*/ 
ios: string
/**
*是否chrome
*/ 
isChrome: boolean
/**
*是否Edge
*/ 
isEdge: boolean
/**
*是否ie
*/ 
isIE: boolean
/**
*是否iosChrome
*/ 
isIOSChrome: boolean
/**
*是否safari
*/ 
isSafari: boolean
/**
*操作系统
*/ 
os: string
/**
*微信
*/ 
wechat: string
} 
/**
*组件的最基础的接口
*/ 
interface IComponent  { 
/**
*组件的唯一id
*/ 
id: string
/**
*组件的名称
*/ 
name: string
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*公式格式
*/ 
interface IFormulaRaw  { 
/**
*是否公式
*/ 
isFormula: boolean
/**
*公式内容/一般常量
*/ 
text: any
} 
/**
*观察者接口
事件的注册,反注册,触发,暂停
*/ 
interface IObserver  { 

/**
* 注册消息绑定的
* @param args  消息唯一标志字符串

*/ 
addEvents(args: any[]): void

/**
* 取消注册时间
* @param eventName  事件名称
* @param fn  处理函数
* @param scope  this取值

*/ 
off(eventName: string,fn: Function,scope: any): void

/**
* 注册事件
* @param eventName  事件名称
* @param fn  处理函数
* @param scope  this取值
* @param o  绑定对象

*/ 
on(eventName: string,fn: Function,scope: any,o: IObserver): void

/**
* 触发事件
* @param eventName  事件名称
* @param params  参数

*/ 
raiseEvent(eventName: string,params: any[]): void

/**
* 启动事件

*/ 
resumeEvents(): void

/**
* 暂停事件

*/ 
suspendEvents(): void
} 
/**
*参数属性格式接口
*/ 
interface IParam  { 
/**
*参数名称
*/ 
name: string
/**
*参数标题说明
*/ 
title: string
/**
* 参数值
*/ 
value: any
} 
/**
*返回分页结果的格式接口
*/ 
interface IRetPageVo  { 
/**
*信息
错误时候这个是错误信息,
否则成功时候作为成功信息传递
*/ 
msg: string
/**
*数据封装的对象信息,一般是json字符串
*/ 
obj: any
/**
*状态
*/ 
state: RetState
/**
*总记录数
*/ 
total: number
} 
/**
*返回结果的格式接口
*/ 
interface IRetVo  { 
/**
*信息
错误时候这个是错误信息,
否则成功时候作为成功信息传递
*/ 
msg: string
/**
*数据封装的对象信息,一般是json字符串
*/ 
obj: any
/**
*状态
*/ 
state: RetState
} 
/**
*文件上传的数据格式
*/ 
interface IUploadFile  { 
/**
*错误
*/ 
error: string
/**
*是否已经上传
*/ 
hasUpload: boolean
/**
*新的文件名
*/ 
newFileName: string
/**
*原始文件名
*/ 
oldFileName: string
} 
/**
        *ajax请求回调
        *@param res 返回的结果
    
        */ 
declare type AjaxHandle = (res: IRetVo) => void
/**
*加密辅助类
*/ 
class EncryptUtils  extends ServiceBase { 

/**
* 解码base64字符串
* @param base64Str  base64字符串* @returns 返回解码的字符串

*/ 
static Base64Decode(base64Str: string): any

/**
* 编码base64字符
* @param str  字符串* @returns 返回编码后的base64字符串

*/ 
static Base64Encode(str: string): any

/**
* 解密base64 格式的aes密文字符串 注意:必须是 没有04开头.
* @param str  需要解密的字符串* @returns 返回解密后的字符串

*/ 
static aesDecode(str: string): string

/**
* aes加密字符串
* @param str  字符串* @returns 返回加密后的base64字符串

*/ 
static aesEncode(str: string): string

/**
* 得到全局配置对象
* @returns 全局配置对象实例

*/ 
static getConfig(): any

/**
* md5编码字符串
* @param str  字符串* @returns 返回加密后的字符串

*/ 
static md5Encode(str: string): string

/**
* sm2(国密算法 非对称) 解密字符串
* @param str  需要解密的字符串
* @param privateKey  私钥* @returns 返回解密后的字符串

*/ 
static sm2Decode(str: string,privateKey: string): string

/**
* sm2(国密算法 非对称) 加密字符串 注意:结果没有04开头.
* @param str  字符串
* @param publicKey  公钥* @returns 返回加密后的字符串

*/ 
static sm2Encode(str: string,publicKey: string): string

/**
* 生成一对sm2 公/私钥
* @returns 返回  公/私钥16进制字符串的对象 {privateKey: string;publicKey: string;}

*/ 
static sm2GenerateKeys(): KeyPairHex

/**
* sm2(国密算法 非对称) 签名
* @param str  需要签名的内容
* @param privateKey  私钥* @returns 返回签名的字符串

*/ 
static sm2Signature(str: string,privateKey: string): string

/**
* sm2(国密算法 非对称) 校验签名
* @param str  需要签名的内容
* @param signHex  签名字符串
* @param publicKey  私钥* @returns 返回true 签名校验通过,则反之

*/ 
static sm2VerifySignature(str: string,signHex: string,publicKey: string): boolean

/**
* sm3(国密算法) 校验签名 类似 MD5
* @param str  需要加密的字符串* @returns 返回加密后的字符串

*/ 
static sm3Decode(str: string): string

/**
*  sm2(国密算法 对称) 类似ase 解密密字符串
* @param str  待解密字符串
* @param key  密钥* @returns 返回解密后的字符串
``` javascript
const encryptData = '0e395deb10f6e8a17e17823e1fd9bd98a1bff1df508b5b8a1efb79ec633d1bb129432ac1b74972d
const key = '0123456789abcdeffedcba9876543210' // 可以为 16 进制串或字节数组，要求为 128 比特
let decryptData = sm4.decrypt(encryptData, key) // 解密，默认输出 utf8 字符串，默认使用 pkcs#7 填充（传
let decryptData = sm4.decrypt(encryptData, key, {padding: 'none'}) // 解密，不使用 padding
let decryptData = sm4.decrypt(encryptData, key, {padding: 'none', output: 'array'}) // 解密，不使用 p
let decryptData = sm4.decrypt(encryptData, key, {mode: 'cbc', iv: 'fedcba98765432100123456789abcdef'}) // 解密，cbc 模式
```

*/ 
static sm4Decode(str: string,key: string): string

/**
*  sm2(国密算法 对称) 类似ase 加密字符串
* @param str  待加密字符串
* @param key  密钥* @returns 返回加密后的字符串
``` javascript
const msg = 'hello world!' // 可以为 utf8 串或字节数组
const key = '0123456789abcdeffedcba9876543210' // 可以为 16 进制串或字节数组，要求为 128 比特
let encryptData = sm4.encrypt(msg, key) // 加密，默认输出 16 进制字符串，默认使用 pkcs#7 填充（传 pkcs#
let encryptData = sm4.encrypt(msg, key, {padding: 'none'}) // 加密，不使用 padding
let encryptData = sm4.encrypt(msg, key, {padding: 'none', output: 'array'}) // 加密，不使用 padding，
let encryptData = sm4.encrypt(msg, key, {mode: 'cbc', iv: 'fedcba98765432100123456789abcdef'}) // 加密，cbc 模式
```

*/ 
static sm4Encode(str: string,key: string): string

} 
/**
*公/私钥
*/ 
interface KeyPairHex  { 
privateKey: string
publicKey: string
} 
/**
*文件下载http请求的方式
*/ 
enum FileDownloaderMethodType {
   GET = "GET",POST = "POST"
} 
 /**
*下载异常
*/ 
class DownloadException  extends Error { 

} 
/**
*文件下载类
*/ 
class FileDownloader  { 

/**
* 开始下载
* @returns 返回本组件实例

*/ 
start(): Promise<any>

} 
/**
*文件下载配置接口
*/ 
interface IFileDownloaderConfig  { 
body: string | Document | Blob | ArrayBufferView | ArrayBuffer | FormData | URLSearchParams | ReadableStream<any>
/**
*content-type
*/ 
contentType: string | any
contentTypeDetermination: any | any | any | any
customFileSignatures: any
/**
*文件名
*/ 
filename: string
forceDesktopMode: boolean
/**
*设置请求头
*/ 
headers: any
/**
*请求的html方式 GET, POST
*/ 
method: FileDownloaderMethodType
nameCallback: any
nativeFallbackOnError: boolean
/**
*下载进度事件
*/ 
onProcess: any
/**
*开始下载事件
*/ 
onloadstart: any
/**
*超时
*/ 
timeout: number
/**
*下载地址
*/ 
url: string
withCredentials: boolean
} 
/**
*泛型的hashMap对象 键值对
*/ 
class HashMap  { 

} 
/**
* 文件上传类
*/ 
class KdUploader  { 

/**
* 上传文件
* @param config  上传的配置

*/ 
static upLoadImage(config: IUploadImageConfig): void

} 
/**
*上传的文件配置
*/ 
interface IUploadImageConfig  { 
/**
*上传的文件
*/ 
file: File
/**
*文件头
*/ 
headers: any
/**
*上传开始前回调
*/ 
onBefore: Function
/**
*上传错误回调
*/ 
onError: any
/**
*上传成功回调
*/ 
onSuccess: any
/**
*上传中的回调
*/ 
onUploading: any
/**
*上传的后台路径
*/ 
url: string
} 
/**
*消息盒子
用于跨iframe的消息处理和发送
使用说明:
 父窗口中:
 初始化Messenger对象
 推荐指定项目名称, 避免Mashup类应用中, 多个开发商之间的冲突
 let messenger = new Messenger('Parent', 'kdayun');
 iframe:
 iframe中 - 初始化Messenger对象
 注意! Messenger之间必须保持项目名称一致, 否则无法匹配通信
 let messenger = new Messenger('iframe1', 'kdayun');
*/ 
class Messenger  { 

} 
/**
*解析参数helper
*/ 
class ParamHelper  { 

} 
/**
*汉字与拼音转换的干活
*/ 
class PinYin  { 

/**
* 汉字转拼音
* @param str  汉字* @returns 返回拼音字符串

*/ 
static A(str: string): string

/**
*  汉字转拼音首字母缩写 大写
* @param str  汉字* @returns 返回拼音字符串

*/ 
static B(str: string): string

/**
* 汉字转拼音第一个全拼+后面缩写 大写
* @param str  汉字字符串* @returns 返回拼音字符串

*/ 
static C(str: string): string

} 
/**
*脚本执行的上下文
*/ 
class ScriptContext  { 

/**
* 获取单实例对象
* @returns 返回类的实例

*/ 
static getInstance(): ScriptContext

} 
/**
*共用函数
*/ 
class Utils  { 

/**
*  处理PARENTS树形字符串
* @param columns  列数组* @returns 返回最 { maxRow: maxRow, cols: columns }

*/ 
static buildParents(columns: T[]): any

/**
* 通过数据源名称或id获取数据源实例
* @param page  页面组件实例
* @param idOrNameOrObj  名称或者id或者实例* @returns 返回对应的数据源实例

*/ 
static getDataSourceById(page: DesignerPageBase,idOrNameOrObj: string | DataSourceBase): DataSourceBase

/**
* 返回页面的所有的数据源数组
* @param page  页面实例* @returns 数据源数组

*/ 
static getDataSources(page: DesignerPageBase): DataSourceBase[]

/**
* table的列 并计算多表头
* @param fields  数据库保存的字段类* @returns 返回table组件的col 所需的二维数组

*/ 
static processTableColumn(fields: T[]): any

/**
* tableColumn转数据源的字段
* @param cols  列组件数组* @returns 

*/ 
static tableColumnToField(cols: any): IField[]

} 
/**
*用户信息类
*/ 
interface IUser  { 
/**
*当前部门 ID
*/ 
currentDeptId: string
/**
*当前部门名称
*/ 
currentDeptName: string
/**
*当前组织机构的代号(预算码)
*/ 
currentOrgCode: string
/**
*当前组织机构 ID
*/ 
currentOrgId: string
/**
*当前组织机构简称
*/ 
currentOrgJianName: string
/**
*当前组织机构名称
*/ 
currentOrgName: string
/**
*当前角色编号
*/ 
currentRoleCode: string
/**
*当前角色 ID
*/ 
currentRoleId: string
/**
*当前角色名称
*/ 
currentRoleName: string
/**
*用户编号
*/ 
currentUserCode: string
/**
*用户 ID
*/ 
id: string
/**
*用户姓名
*/ 
name: string
} 
/**
*流程日志审核实体
*/ 
interface Workflowlog  { 
/**
*审核一意见
*/ 
AUDITMEMO: string
/**
*审核路径?
*/ 
AUDITPATH: string
/**
*操作
*/ 
AUDITRLT: string
/**
*审核时间
*/ 
AUDITTIME: string
/**
*审核用户
*/ 
AUDITUSER: string
} 
/**
*弹出Table搜索组件
*/ 
class PopInputTable  extends PopInputTableBase { 

} 
/**
*Tree搜索组件
*/ 
class PopInputTree  extends PopInputTreeBase { 

} 
/**
* 弹出Tree-tabel选择组件
*/ 
class PopTreeTable  extends PopTreeTableBase { 

} 
/**
*下拉多选组件
*/ 
class SelectMultiple  extends SelectMultipleBase { 

} 
/**
*下拉树形组件
*/ 
class SelectTree  extends SelectTreeBase { 

} 
/**
*树形组件
*/ 
class Tree  extends TreeBase { 

} 
/**
*链接跳转
*/ 
class ALabel  extends DbComponentBase { 

/**
* 获取组件值
子类重载这个方法实现自定义取值赋值过程
* @returns 返回组件值

*/ 
getValue(): any

/**
* 设置组件值
子类重载这个方法实现自定义赋值过程
* @param text  标题
* @param href  路径

*/ 
setValue(text: string,href: string): void

} 
/**
*徽章组件的形状
*/ 
enum BadgeShape {
   dot = "dot",normal = "normal",rim = "rim"
} 
 /**
*徽章组件
*/ 
class Badge  extends DbComponentBase { 
/**
*形状
*/ 
shape: BadgeShape

/**
* 设置组件值
* @param value  值

*/ 
setValue(value: string): void

} 
/**
*面包屑
*/ 
class Breadcrumb  extends ContainerBase { 

} 
/**
*按钮组件
*/ 
class Button  extends YHButtonBase { 

} 
/**
*切换箭头默认显示状态
*/ 
enum CarouseArrow {
   
/**
*悬停显示
*/ 
default = "hover",
/**
*始终不显示
*/ 
none = "none",
/**
*始终显示
*/ 
updown = "always"
} 
 /**
*指示器位置
*/ 
enum CarouseIndicator {
   
/**
*悬停显示
*/ 
inside = "inside",
/**
*始终不显示
*/ 
none = "none",
/**
*始终显示
*/ 
outside = "outside"
} 
 /**
*轮播切换动画方式
*/ 
enum CarouselAnim {
   
/**
*左右切换
*/ 
default = "default",
/**
*渐隐渐显切换
*/ 
fade = "fade",
/**
*上下切换
*/ 
updown = "updown"
} 
 /**
*轮播组件
*/ 
class Carousel  extends ContainerBase { 
/**
*主题
*/ 
theme: string

/**
* 重置轮播
* @param options  配置项

*/ 
reload(options: ICarouselConfig): void

} 
/**
* 组件参数操作的属性编辑器
*/ 
class CarouselItemsAttrEditor  extends AttributeEditorBase { 

} 
/**
*轮播组件配置
*/ 
interface ICarouselConfig  { 
/**
*轮播切换动画方式
*/ 
anim: CarouselAnim
/**
*指示器位置( 默认 CarouseArrow.default ='hover')
*/ 
arrow: CarouseArrow
/**
*是否自动切换
*/ 
autoplay: boolean
elemItem: any
/**
*是否全屏轮播
*/ 
full: boolean
haveSlide: boolean
/**
*评设定轮播容器宽度，支持像素和百分比
*/ 
height: string
/**
*初始开始的条目索引
*/ 
index: number
/**
*指示器位置：inside/outside/none
*/ 
indicator: CarouseIndicator
/**
*自动切换的时间间隔，单位：ms（毫秒），不能低于800
*/ 
interval: number
/**
*主题
*/ 
theme: string
timer: number
/**
*处罚方式 默认(click)
*/ 
trigger: string
/**
*评设定轮播容器宽度，支持像素和百分比
*/ 
width: string
} 
/**
*轮播的item
*/ 
interface ICarouselItem  { 
/**
*jquery 元素
*/ 
$elemt: JQuery<any>
/**
*唯一id
*/ 
id: string
/**
*地址
*/ 
url: string
} 
/**
*复选框风格
*/ 
enum checkboxStyle {
   
/**
*默认
*/ 
default = "",
/**
*原始
*/ 
primary = "primary"
} 
 /**
*label 复选框 选择组件
*/ 
class Checkbox  extends InputBase { 
/**
* 复选配置项
*/ 
checkboxList: ICheckItem[]

/**
* 增加选项
* @param item  新选项

*/ 
addCheckItem(item: ICheckItem): void

/**
* 得到勾选的值数组
* @returns 字符串数组

*/ 
getArrayValue(): string[]

/**
* 通过值返回item
* @param val  值* @returns 返回item实例

*/ 
getItemByVal(val: string): number | ICheckItem | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any

/**
* 值发生改变事件
* @param callback  事件回调函数

*/ 
onValueChanged(callback: onCheckedHandle): void

/**
* 移除选项
* @param v  值

*/ 
removeCheckItem(v: string): void

/**
* 设置item的是否可见
* @param item  item 实例
* @param visiable  true 可见,则反之

*/ 
setItemVisable(item: ICheckItem,visiable: boolean): void

/**
* 设置checkBox的值
* @param value  组件值,可以是 字符串或者字符串数组

*/ 
setValue(value: string | string[]): void

} 
/**
*复选框item接口
*/ 
interface ICheckItem  { 
/**
*是否打钩
*/ 
checked: boolean
/**
*组
*/ 
group: string
/**
*隐藏
*/ 
hide: boolean
/**
*标题
*/ 
title: string
/**
*值
*/ 
val: string
} 
/**
*折叠面板
*/ 
enum NavTheme {
   
/**
*蓝色
*/ 
blue = "yh-bg-blue",
/**
*墨绿
*/ 
cyan = "yh-bg-cyan",
/**
*绿色
*/ 
green = "yh-bg-green"
} 
 /**
*折叠面板
*/ 
class Collapse  extends ContainerBase { 

} 
/**
*Combox 下拉框组件
*/ 
class Combox  extends DropDownBase { 

/**
* 获取弹出的编辑器
* @returns 弹出的编辑器

*/ 
getPopEdior(): DropDownInputEditorBase

/**
* 得到组件选择的值对应的名称
* @returns 返回选择中值对应的显示的名称,没有值返回null;

*/ 
getValueTitle(): any

/**
*  select 值发生点击时候触发事件
* @param callback  回调

*/ 
onSelectChanged(callback: onSelectChangedHandle): void

} 
/**
*自定义的html组件
可以是任何html组件
*/ 
class Custom  extends ContainerBase { 

/**
*  脚本加载回调
* @param callback  回调

*/ 
onLoadScript(callback: onCustomHandle): void

} 
/**
        *脚本加载回调
        *@param cmp 组件实例
    
        */ 
declare type onCustomHandle = (cmp: Custom) => void
/**
*日期时间选择组件
*/ 
class DatePicker  extends YHDatePickerBase { 

} 
/**
*分隔符组件
*/ 
class Fieldset  extends ContainerBase { 

} 
/**
*表单的主题
*/ 
enum formTheme {
   
/**
*默认
*/ 
default = "",
/**
*方框风格
*/ 
pane = "layui-form-pane"
} 
 /**
*form容器组件
*/ 
class FormContainer  extends ContainerBase { 

/**
* 得到form的内的所有组件的值
* @returns 组件的所有组件的值对象

*/ 
getFieldValues(): any

/**
* 组件提交函数
* @returns true 校验通过了.则反之

*/ 
submit(): Boolean

} 
/**
*图片组件
*/ 
class ImgLabel  extends FieldDbComponentBase { 

/**
* 得到组件值
* @returns 得到组件值

*/ 
getValue(): string

} 
/**
*label input 输入框组件
This comment _supports_ [Markdown](https://marked.js.org/)
*/ 
class InputEdit  extends InputBase { 
inputId: string

} 
/**
*label 单选框组件
*/ 
class InputRadio  extends InputBase { 

/**
* 增加选项
* @param item  新选项

*/ 
addRadioItem(item: IRadioItem): void

/**
* 通过值返回item
* @param val  值* @returns 返回item实例

*/ 
getItemByVal(val: string): number | IRadioItem | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any

/**
* 得到组件值
* @returns 得到组件值

*/ 
getValue(): string

/**
* 值发生变化的事件
* @param callback  事件回调函数

*/ 
onValueChanged(callback: onRadioChangeHandle): void

/**
* 移除选项
* @param v  值或名称

*/ 
removeRadioItem(v: string): void

/**
* 设置item的是否可见
* @param item  item 实例
* @param visiable  true 可见,则反之

*/ 
setItemVisable(item: IRadioItem,visiable: boolean): void

/**
* 设置组件值
* @param value  组件值

*/ 
setValue(value: string): void

} 
/**
*单选组件item接口
*/ 
interface IRadioItem  { 
/**
*是否打钩
*/ 
checked: boolean
/**
*隐藏
*/ 
hide: boolean
/**
*标题
*/ 
title: string
/**
*值
*/ 
val: string
} 
/**
        *单选组件选中回调
        *@param cxt 脚本上下文
*@param cmp 组件实例e
    
        */ 
declare type onRadioHandle = (cxt: ScriptContext,cmp: InputRadio,value: boolean) => void
/**
*label 开关组件
*/ 
class InputSwitch  extends InputBase { 

/**
* 得到组件值
* @returns 得到组件值

*/ 
getValue(): string

/**
* 设置组件值
* @param value  组件值

*/ 
setValue(value: any): void

} 
/**
*基础组件 label标签
*/ 
class Label  extends FieldDbComponentBase { 
/**
*点击事件js脚本字符串
*/ 
onClickScript: string

/**
* 点击事件
* @param handle  事件回调函数

*/ 
onClick(handle: onLabelClick): void

} 
/**
        *label标签点击
        *@param cxt 脚本上下文
*@param sender 组件实例
    
        */ 
declare type onLabelClick = (cxt: ScriptContext,sender: ComponentBase) => void
/**
*自定义的MarkerDown组件
可以是任何MarkerDown组件
*/ 
class MarkDown  extends MarkDownBase { 

} 
/**
*表模板组件的弹出页面的工具栏
*/ 
class Panel  extends ContainerBase { 

} 
/**
*进度条主题
*/ 
enum ProgressTheme {
   
/**
*粗进度条
*/ 
big = "hy-progress-big",
/**
*正常
*/ 
normal = "default"
} 
 /**
*二维码组件
*/ 
class QrCode  extends FieldDbComponentBase { 

} 
/**
*评分组件
*/ 
class Rate  extends InputBase { 
/**
*自定义显示的Title的字符串
可以修改该值用于显示不同标题
*/ 
getTitleText: any
/**
*评分组件中具体星星的个数。个数当然是整数啦，残缺的星星很可怜的，所以设置了小数点的组件我们会默认向下取整默认为 0
*/ 
length: number
/**
*星星的颜色
*/ 
startColor: String

/**
* 设置组件值
* @param value  组件值

*/ 
setValue(value: number): void

} 
/**
*方向
*/ 
enum SliderType {
   
/**
*水平滑块
*/ 
default = "default",
/**
*垂直滑块
*/ 
vertical = "vertical"
} 
 /**
*滑块组件
*/ 
class Slider  extends DbComponentBase { 
/**
*移动的颜色
*/ 
barColor: String
/**
*高度 默认（200）
*/ 
height: number
/**
*是否显示输入框 (若 range 参数为 true 则无效)
*/ 
input: boolean
/**
*滑动条最大值
*/ 
max: number
/**
*滑动条最小值，正整数，默认为 0
*/ 
min: number
/**
*是否开启滑块的范围拖拽，
*/ 
range: boolean
/**
*是否显示间断点
*/ 
showstep: boolean
/**
*步长
*/ 
step: number
/**
*是否显示文字提示
*/ 
tips: boolean
/**
*s
滑块初始值，默认为数字
*/ 
value: number | number[]

} 
/**
*按钮的主题
*/ 
enum tabTheme {
   
/**
*简约风格
*/ 
brief = "yh-tab-brief",
/**
*卡片风格
*/ 
card = "yh-tab-card",
/**
*默认
*/ 
default = ""
} 
 /**
*Tab组件tabs集合属性编辑器
*/ 
class TabItemsAttrEditor  extends ButtonAttrEditor { 

} 
/**
*页签内容容器
*/ 
class TabPanel  extends ContainerBase { 

/**
* 得到页签的索引号
* @returns 页签索引号 不存在parentCmp时候返回-1

*/ 
getTabIndex(): number

/**
* 注册标题点击事件
* @param handle  事件回调

*/ 
onTitleClick(handle: TabPanelTitleClickHandle): void

/**
* 注册页签被关闭时候触发
* @param handle  事件回调

*/ 
onTitleCloseClick(handle: TabPanelTitleClickHandle): void

/**
* 移除页签

*/ 
remove(): void

/**
* 设置页签为激活状态

*/ 
setActive(): void

} 
/**
*Tabs 选项卡
*/ 
class Tabs  extends ContainerBase { 

/**
* 激活第几个页签从零开始(0 代表第一个页签,1 代表第二个... )
* @param tabPanel  页签的组件

*/ 
activeTab(tabPanel: TabPanel): void

/**
* 激活第几个页签从零开始(0 代表第一个页签,1 代表第二个... )
* @param tabIndex  页签的组件的位置索引

*/ 
activeTabByIndex(tabIndex: number): void

/**
* 增加新的tab
* @param tab  

*/ 
addTab(tab: TabPanel): void

/**
* 增加新的url的tab
* @param title  标题
* @param url  地址字符串
* @param params  参数
* @param method  请求方式
* @param allowClose  是否运行关闭页签(默认:false )

*/ 
addUrlTab(title: string,url: string,params: object,method: MethodType,allowClose: boolean): void

/**
* 返回激活的页签
* @returns 页签的实例

*/ 
getActiveTabPanel(): TabPanel

/**
* 得到所有的页签不管 可见/隐藏
* @returns 返回可见/隐藏页签数组

*/ 
getTabs(): TabPanel[]

/**
* 得到可见的页签
* @returns 返回可见页签的数组

*/ 
getVisableTabs(): TabPanel[]

/**
* 删除tab
* @param tab  

*/ 
removeTab(tab: TabPanel): void

} 
/**
*页签配置
*/ 
interface ITabPanelConfig  { 
/**
*允许关闭
*/ 
allowClose: boolean
/**
*打开的页签传入的参数
*/ 
params: object
/**
* 页签标题
*/ 
title: string
/**
*打开的页签地址
*/ 
url: string
} 
/**
*Tab组件tabs集合属性编辑器配置接口
*/ 
interface TabItemsAttrEditorConfig  { 
} 
/**
*文本域组件
*/ 
class TextareaEdit  extends InputBase { 

} 
/**
*时间线
*/ 
class Timeline  extends DbComponentBase { 
contentField: string
iconField: string
/**
*自定渲染item的函数脚本
*/ 
onRenderItemScript: any
titleField: string

} 
/**
*循环定时器
*/ 
class Timer  extends InvisibleBase { 

/**
* 间隔时间刷新事件
* @param callback  onChooseHandel事件处理函数

*/ 
onInterval(callback: onIntervalHandle): void

/**
* 开始

*/ 
start(): void

/**
* 停止

*/ 
stop(): void

} 
/**
*文件上传类型
*/ 
enum UploadAccept {
   
/**
*音频
*/ 
audio = "audio",
/**
*所有文件
*/ 
file = "file",
/**
*图片
*/ 
images = "images",
/**
*视频
*/ 
video = "video"
} 
 /**
*上传组件
数据库保存 格式是 IUploadFile[]  的字符串如: [{"newFileName":"xxx1","oldFileName":"xxxx2" },{ }]
*/ 
class UploadCmp  extends InputBase { 
/**
*指定允许上传时校验的文件类型
 'image/*'（只显示图片文件）
*/ 
accept: UploadAccept
/**
*规定打开文件选择框时，筛选出的文件类型，值为用逗号隔开的 MIME 类型列表
acceptMime: 'image/*'（只显示图片文件）
acceptMime: 'image/gif,image/jpeg,image/png'（只显示 jpg 和 png 文件）
acceptMime: '.gif,.jpg,.png'（只显示 jpg,gif,png 后缀名的）
*/ 
acceptMime: string
/**
*是否选完文件后自动上传
*/ 
auto: boolean
/**
*指向一个按钮触发上传，
一般配合 auto: false 来使用
*/ 
bindAction: string | JQuery<any>
/**
*请求上传接口的额外参数
*/ 
data: string
/**
*允许上传的文件后缀的正则表达式。一般结合 accept 参数类设定
只允许上传压缩格式的文件:'zip$|rar$|7z$' ;只允许上传图片: jpg$|png$|gif$|bmp$|jpeg$
*/ 
exts: string
/**
*接口的请求头
*/ 
headers: any
/**
*设置文件最大可允许上传的大小，组织机构 KB
默认值 200kb
*/ 
size: number
/**
*服务端上传接口
*/ 
url: string

/**
* 得到上传组件的值 数组对象
* @returns 返回数组

*/ 
getUploadValue(): IUploadFile[]

/**
* 所有文件都上传完成事件 用于代码注册事件
* @param callback  onDoneHandel事件处理函数

*/ 
onAllDone(callback: onAllDoneHandel): void

/**
* 开始上传事件 用于代码注册事件
* @param callback  onBeforeHandel 事件处理函数

*/ 
onBefore(callback: onBeforeHandel): void

/**
* 选择完毕事件 用于代码注册事件
* @param callback  onChooseHandel事件处理函数

*/ 
onChoose(callback: onChooseHandel): void

/**
* 完成事件 用于代码注册事件
* @param callback  onDoneHandel事件处理函数

*/ 
onDone(callback: onDoneHandel): void

/**
* 上传出现错误事件 用于代码注册事件
* @param callback  onErrorHandel事件处理函数

*/ 
onError(callback: onErrorHandel): void

/**
* 值修改事件
* @param callback  回调函数

*/ 
onValueChanged(callback: onChangeHandel): void

/**
* 设置上传的值
* @param value  

*/ 
setValue(value: string | IUploadFile[]): void

} 
/**
*图片上传组件
*/ 
class uploadpicture  extends DbComponentBase { 

} 
/**
*列间距
*/ 
enum space {
   
/**
*默认间距
*/ 
default = "",
/**
*1px
*/ 
space1 = "grid-col-space1",
/**
*10px
*/ 
space10 = "grid-col-space10",
/**
*12px
*/ 
space12 = "grid-col-space12",
/**
*15px
*/ 
space15 = "grid-col-space15",
/**
*18px
*/ 
space18 = "grid-col-space18",
/**
*2px
*/ 
space2 = "grid-col-space2",
/**
*10px
*/ 
space20 = "grid-col-space20",
/**
*22px
*/ 
space22 = "grid-col-space22",
/**
*28px
*/ 
space28 = "grid-col-space28",
/**
*30px
*/ 
space30 = "grid-col-space30",
/**
*5px
*/ 
space5 = "grid-col-space5",
/**
*8px
*/ 
space8 = "grid-col-space8"
} 
 /**
*grid 布局系统
*/ 
class Grid  extends ContainerBase { 

/**
* 获取列的数组
* @returns 返回列的数组

*/ 
getColumns(): ComponentBase[]

} 
/**
*列的组件
*/ 
class GridColumn  extends ContainerBase { 

} 
/**
*布局组件
*/ 
class Layout  extends LayoutItemBase { 

} 
/**
*布局脚
*/ 
class LayoutFooter  extends LayoutItemBase { 

} 
/**
*头
*/ 
class LayoutHeader  extends LayoutItemBase { 

} 
/**
*布局基类
*/ 
class LayoutItemBase  extends ContainerBase { 

} 
/**
*主要内容
*/ 
class LayoutMain  extends LayoutItemBase { 

} 
/**
*左右停靠
*/ 
class LayoutSider  extends LayoutItemBase { 

} 
/**
*执行指定的Sql命令组件,注意:一定要注意更新语句和删除语句的条件部分.避免误删除,误更新.
*/ 
class SqlCommand  extends InvisibleBase { 
/**
*参数对象
例如{param1:value1,param2:value2}
*/ 
param: object

/**
* 执行SqlCommand
* @param callback  执行完成的回调函数
* @param paramObj  可选参数 参数对象

*/ 
exce(callback: SqlCommandHandle,paramObj: object): void

} 
/**
        *undefined
        *@param err err非空有错误,否则执行成功
*@param effectRow 执行语句影响的行
    
        */ 
declare type SqlCommandHandle = (err: string,effectRow: number) => void
/**
*SQL数据源基类
数据查询,更新,新增,删除
*/ 
class SqlDataSetBase  extends DataSourceBase { 
/**
*异步获取,更新数据  true 异步请求,false同步请求
默认值:ture
*/ 
async: boolean

/**
* 设置数据是否异步请求
* @param val  true 异步请求,false同步请求

*/ 
setAsync(val: boolean): void

} 
/**
* 数据源的参数格式
*/ 
interface ISqlParam  { 
field: string
type: string
val: string
} 
/**
*sql查询类型的数据源编辑器
*/ 
class SqlDataSetEditor  extends DataSetEditorBase { 

} 
/**
*table渲染完成函数类型
*/ 
class Table  extends DbComponentBase { 

/**
* 设置视图是默认视图
* @param view  

*/ 
activeView(view: TableViewBase): void

/**
* 添加view
* @param view  view实例

*/ 
addView(view: TableViewBase): void

/**
* 删除打勾的行modify by gk

*/ 
deleteCheckRows(): void

/**
* 获取当前获取的所选数组
* @returns 返回当前获取的所选数组

*/ 
getChecks(): Row[]

/**
* 获取数据数量,本页
* @returns 返回当前数据源的本页的记录数

*/ 
getCount(): any

/**
* 得到当前的view
* @returns 返回非空 是当前激活的view实例 否则返回null

*/ 
getCurrentView(): TableViewBase

/**
* 获取数据
* @returns 返回当前数据源的数组

*/ 
getRows(): Row[]

/**
* 获取分页组件
* @returns 分页组件的实例

*/ 
getTablePage(): TablePage

/**
* 获取工具栏的组件实例
* @returns 工具栏的组件实例

*/ 
getToolBar(): TableToolBar

/**
* 获取所有的视图
* @returns 当前的视图数组

*/ 
getViews(): TableViewBase[]

/**
* 从后台加载数据
* @param paramObj  参数对象
* @param isNew  可选参数 默认值:false 重新一次查询清掉所有的以前查的参数

*/ 
loadData(paramObj: IDsLoadOptions,isNew: boolean): void

/**
* 注册复选框选择事件
* @param handle  

*/ 
onCheck(handle: OnCheckHandle): void

/**
* 注册列点击事件
* @param handle  

*/ 
onColumnClick(handle: OnColumnClickHandle): void

/**
* 注册列双击事件
* @param handle  

*/ 
onColumnDoubleClick(handle: OnColumnDoubleClickHandle): void

/**
* 注册行按钮点击事件
* @param handle  

*/ 
onToolButtonClick(handle: OnToolButtonClickHandle): void

/**
* 刷新数据.
只是刷新本地内存中的数据数据源,无后台请求,
如果需要刷新后台的数据使用loadData

*/ 
refresh(): void

/**
* 刷新指定的行(局部刷新) 全局刷新使用: loadData
* @param row  行的数据

*/ 
refreshRow(row: Row): void

/**
* 移除view
* @param viewId  view的id

*/ 
removeView(viewId: string): void

/**
* 切换视图
* @param view  

*/ 
setCurrentView(view: TableViewBase): void

/**
*  静态渲染组件
* @param setting  设置的属性

*/ 
staticRender(setting: ITableConfig): void

} 
/**
*view构造者
*/ 
class ViewBuldler  { 

} 
/**
*table组件配置接口
*/ 
interface ITableConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*列二维数组
*/ 
cols: any
/**
*配置头部工具栏右侧的图标按钮
*/ 
defaultToolbar: TableToolBarButton[]
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
* 开启背景行的奇偶行的颜色
 若不开启奇偶背景，不设置该参数即可
*/ 
event: boolean
/**
*组件字体
*/ 
font: Font
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*索引名称
*/ 
indexName: string
/**
*是否允许拖拽
*/ 
isColumnDrag: any
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*是否显示工具栏
*/ 
isShowToolbar: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*每页显示的条数（默认：10）
*/ 
limit: number
/**
*每页条数的选择项 默认 [10,20,30,40,50,60,70,80,90]
*/ 
limits: number[]
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*权限资源的标题
*/ 
rightTitle: string
/**
*排序的列数组
*/ 
sortcols: any[]
/**
*是否开启统计行
*/ 
totalRow: boolean
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*分页组件的布局类型
*/ 
enum TablePageLayout {
   
/**
*总条目输区域
*/ 
count = "count",
/**
*每页记录数
*/ 
limit = "limit",
/**
*下一页按钮
*/ 
next = "next",
/**
*分页按钮
*/ 
page = "page",
/**
*上一页按钮
*/ 
prev = "prev",
/**
*页面刷新按钮
*/ 
refresh = "refresh",
/**
*快捷跳页输入框
*/ 
skip = "skip"
} 
 /**
*table的分页组件
*/ 
class TablePage  extends DbComponentBase { 

/**
* 注册currPage,limit , 发生修改事件
* @param callback  

*/ 
onChanged(callback: onChangeHandle): void

/**
* 注册修改每页记录数触发的事件
* @param callback  事件回调

*/ 
onLimitChange(callback: onLimitChangeHandle): void

/**
* 注册点击确定按钮触发的事件
* @param callback  事件回调

*/ 
onOkClick(callback: OnOkClickHandle): void

/**
* 注册修改页面触发的事件
* @param callback  事件回调

*/ 
onPageChange(callback: onPageChangekHandle): void

/**
* 静态渲染组件

*/ 
renderStatic(): void

/**
* 修改当前页
* @param value  

*/ 
setCurrPage(value: number): void

/**
* 修改每页的记录数量
* @param value  

*/ 
setLimit(value: number): void

} 
/**
*table组件分页组件配置接口
*/ 
interface ITablePageConfig  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*数据总数。一般通过服务端得到
*/ 
count: number
/**
*当前页
*/ 
currPage: number
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
elem: JQuery<any>
/**
*自定义“首页”的内容,支持传入普通文本和HTML
默认值:首页
*/ 
firstTitle: string
/**
*组件字体
*/ 
font: Font
/**
*返回组件关联的数据源
*/ 
getDataSource: any
/**
*连续出现的页码个数 默认值 5
*/ 
groups: number
/**
*开启location.hash，并自定义 hash 值。如果开启，在触发分页时，会自动对url追加：#!hash值={curr} 利用这个，可以在页面载入时就定位到指定页
*/ 
hash: boolean
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*自定义“尾页”的内容,支持传入普通文本和HTML
默认值:尾页
*/ 
lastTitle: string
/**
*自定义排版。可选值有：count（总条目输区域）、prev（上一页区域）、page（分页区域）、next（下一页区域）、limit（条目选项区域）、refresh（页面刷新区域。注意：layui 2.3.0 新增） 、skip（快捷跳页区域）
['prev', 'page', 'next']
*/ 
layout: TablePageLayout[]
/**
*每页记录数 默认值 10
*/ 
limit: number
/**
*下拉分页的数组 [10, 20, 30, 40, 50]
*/ 
limits: number[]
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*自定义“下一页”的内容 ，支持传入普通文本和HTML
默认值:下一页
*/ 
nextTitle: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*自定义“上一页”的内容，支持传入普通文本和HTML
默认值:上一页
*/ 
prevTitle: string
/**
*权限资源的标题
*/ 
rightTitle: string
table: Table
/**
*自定义主题。支持传入：颜色值，或任意普通字符。如：
*/ 
theme: string
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
* 高级查询属性编辑器
*/ 
class AdvQueryAtrrEditor  extends ButtonAttrEditor { 

} 
/**
*table组件的搜索框组件
*/ 
class TableSeacher  extends ContainerBase { 
/**
*高级查询规则
*/ 
advQuerys: IAdvQueryItem[]
/**
*快速查询的字段
*/ 
quickQuery: string[]

/**
* 得到高级查询提交的值
* @returns 

*/ 
getAdvSearchParams(): IAdvQueryItem[]

/**
* 得到快速查询的参数数组
* @returns 快速查询的参数数组

*/ 
getQuickSearchParams(): IAdvQueryItem[]

/**
* 得到Table的组件实例
* @returns Table的组件实例

*/ 
getTable(): Table

/**
*  得到view组件实例
* @returns view组件实例

*/ 
getView(): TableViewBase

/**
* 注册点击高级查询的确定按钮事件
* @param handle  

*/ 
onAdvSearch(handle: onAdvSearchHandle): void

/**
* 注册点击查询按钮事件
* @param handle  

*/ 
onSearch(handle: onSearchHandle): void

} 
/**
*table组件的按钮类型
*/ 
enum TableToolBarButton {
   card = "TableCardView",export = "export",filter = "filter",image = "TableImageListView",list = "TableListView",none = "",search = "search"
} 
 /**
*table的工具栏
*/ 
class TableToolBar  extends ContainerBase { 

/**
* 得到查询的字符串
* @returns 返回快速查询的值,否则返回 null

*/ 
getLikeValue(): string

/**
* 注册按钮点击事件
* @param handle  事件回调

*/ 
onButtonClick(handle: OnTableToolBarButtonClick): void

} 
/**
*table组件接口
*/ 
interface ITableComponent  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*组件字体
*/ 
font: Font
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*权限资源的标题
*/ 
rightTitle: string
table: Table
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*tablelistView集合属性编辑器
*/ 
class TableViewCollectionAttrEditor  extends AttributeEditorBase { 

} 
/**
*tablelistView集合属性编辑器配置接口
*/ 
interface TableViewCollectionAttrEditorConfig  { 
/**
*组件的属性
*/ 
attr: string
/**
*关联的组件实例
*/ 
component: IComponent
/**
*获取返回的值
*/ 
getValue: any
/**
*属性设置的帮助地址
*/ 
helpUrl: string
/**
*唯一id
*/ 
id: string
/**
*属性label标题
*/ 
labelCaption: string
/**
*修改值的完成回调
*/ 
onChanged: any
/**
*属性值改变事件回调
*/ 
onChanging: any
/**
*事件
*/ 
onRenderCallBackObj: object
/**
*未输入值时候的提示信息
*/ 
placeholder: string
/**
*是否可读
*/ 
readOnly: boolean
/**
*修改组件值时候的回调
给一个时机出来赋值给组件的属性时候的机会自定义处理值的格式
*/ 
setValueCallBack: any
/**
* 鼠标移到属性编辑器显示的帮助内容
*/ 
title: string
/**
*类型
*/ 
type: string
} 
/**
*通用函数类
*/ 
class Utils  { 

/**
* 处理PARENTS树形字符串
* @param columns  ITableColumn 数组* @returns 返回parents字符串

*/ 
static buildFieldParents(columns: ITableColumn[]): object

/**
*  处理PARENTS树形字符串
* @param columns  列数组* @returns 返回最大的lev

*/ 
static buildParents(columns: T[]): any

/**
* table的列 并计算多表头
* @param fields  数据库保存的字段类* @returns 返回table组件的col 所需的数组

*/ 
static processTableColumnEx(fields: T[]): T[]

} 
/**
*卡片视图
*/ 
class TableCardView  extends TableViewBase { 

/**
* 注册卡片单击事件
* @param handle  

*/ 
onCardClick(handle: OnRowClickHandle): void

/**
* 注册行双击事件
* @param handle  

*/ 
onCardDoubleClick(handle: OnRowDoubleClickHandle): void

/**
* 刷新行
* @param row  需要刷新的行

*/ 
refreshRow(row: Row): void

} 
/**
*TableCardView 属性编辑器
*/ 
class TableCardViewAttrEditor  extends ButtonAttrEditor { 

} 
/**
*图片列表视图
*/ 
class TableImageListView  extends TableViewBase { 

} 
/**
*Table组件的 settings属性编辑器
*/ 
class TableImageListViewAttrEditor  extends ButtonAttrEditor { 

} 
/**
*表格主题
*/ 
enum TableListTheme {
   
/**
*行边框风格
*/ 
line = "line",
/**
*无边框风格
*/ 
nob = "nob",
/**
* 列边框风格
*/ 
row = "row"
} 
 /**
*表格视图
*/ 
class TableListView  extends TableViewBase { 

/**
* 注册单元格改变事件
* @param handle  事件回调

*/ 
onCellChanged(handle: OnCellChangedHandle): void

/**
* 注册单元格单击事件
* @param handle  事件回调

*/ 
onCellClick(handle: OnCellClickHandle): void

/**
* 注册单元格双击事件
* @param handle  事件回调

*/ 
onCellDoubleClick(handle: OnCellDoubleChickHandle): void

/**
* 注册行单击事件
* @param handle  事件回调

*/ 
onRowClick(handle: OnRowClickHandle): void

/**
* 注册行双击事件
* @param handle  事件回调

*/ 
onRowDoubleClick(handle: OnRowDoubleClickHandle): void

} 
/**
*Table组件的 settings属性编辑器
*/ 
class TableListViewAttrEditor  extends ButtonAttrEditor { 

} 
/**
*滚动栏的方向
*/ 
enum TabelScrollBarType {
   x = "x",y = "y"
} 
 /**
*自定义的滚动栏
*/ 
class TableScrollBar  { 

} 
/**
*视图基类
*/ 
class TableViewBase  extends ContainerBase { 

/**
* 关闭弹出的某些提示

*/ 
closeTips(): void

/**
* 得到选择的行
* @returns 返回选择的行对象 {
rows: rows  //选中的数据
, isAll: true  //true全选
};

*/ 
getChecks(): any

/**
* 获取列实例
* @param fieldNameOrId  字段名称获取列的id* @returns 返回列的实例

*/ 
getColumn(fieldNameOrId: string): TableColumn

/**
* 通过列的id得到列实例
* @param columnId  列的id* @returns 返回列的实例

*/ 
getColumnById(columnId: string): TableColumn

/**
* 得到列的组数
* @returns 列的组数

*/ 
getColumns(): TableColumn[]

/**
* 获取数据数量,本页
* @returns 返回数据源的行数

*/ 
getCount(): number

/**
* 通过主键id获取行
* @param rowId  行的id* @returns 返回行

*/ 
getRowById(rowId: string): Row

/**
* 获取行数组
* @returns 返回行

*/ 
getRows(): Row[]

/**
* 通过主键/字段名获取值
* @param rowId  行的id
* @param fileName  字段名* @returns 返回字段值

*/ 
getValueById(rowId: string,fileName: string): Row

/**
* 通过内部rid/字段名获取值
* @param rowId  行的id
* @param fileName  字段名* @returns 返回字段值

*/ 
getValueByRId(rowId: string,fileName: string): Row

/**
* 注册复选框选择事件
* @param handle  事件回调

*/ 
onCheck(handle: OnCheckHandle): void

/**
* 注册列表头单击事件
* @param handle  事件回调

*/ 
onColumnClick(handle: OnColumnClickHandle): void

/**
* 注册列表头双击事件
* @param handle  事件回调

*/ 
onColumnDoubleClick(handle: OnColumnDoubleClickHandle): void

/**
* 注册当列的宽度发生变化事件
* @param handle  事件回调

*/ 
onColumnResize(handle: onColumnResizeHandle): void

/**
* 注册单元格渲染事件
* @param handle  事件回调

*/ 
onRenderCell(handle: onRenderCellHandle): void

/**
* 注册视图的渲染事件
主要是用于刷新一些事件初始化，
由于渲染时候回移除$elemt 会导致一些绑定在$elemt 上的事件会失效
* @param handle  事件回调

*/ 
onRenderView(handle: OnRenderViewHandle): void

/**
* 注册操作列按钮点击事件
* @param handle  事件回调

*/ 
onToolButtonClick(handle: OnToolButtonClickHandle): void

/**
* 增量刷新行
子类覆盖自定义刷新逻辑
* @param row  

*/ 
refreshRow(row: Row): void

/**
* 设置类数组
* @param columns  列数组

*/ 
setColumns(columns: TableColumn[]): void

/**
* 同步选中值状态
* @param rowIndex  行实例位置序号
* @param checked  是否打钩

*/ 
setRowCheck(rowIndex: number,checked: boolean): void

/**
* 设置选中/未选中的行
* @param row  行实例
* @param checked  是否打钩

*/ 
setRowCheckByRow(row: Row,checked: boolean): void

} 
/**
*table组件接口
*/ 
interface ITableComponent  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*组件字体
*/ 
font: Font
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*权限资源的标题
*/ 
rightTitle: string
table: Table
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
*table组件的view组件接口
*/ 
interface ITableViewBase  { 
/**
*对应的jquery对象
*/ 
$elemt: JQuery<any>
/**
*焦点状态
*/ 
active: boolean
/**
*背景色
*/ 
background: string
/**
*组件的样式class
*/ 
class: string
/**
*组件停靠方式
当设置了dock full 后 height,width 将会失效
*/ 
dock: DockType
/**
*组件字体
*/ 
font: Font
/**
*组件的高度
*/ 
height: string | number
/**
*组件显示隐藏
*/ 
hide: boolean
/**
*hit标题 鼠标停留时候提示信息
*/ 
hitTitle: string
/**
*组件的唯一id
*/ 
id: string
/**
*设计模式下是否拖拽释放时候创建的组件
有些组件需要区分这个,来增加默认值
*/ 
isDropCreate: boolean
/**
*是否权限资源
true可以在用户权限内看到改资源的控制,false 则看不到资源
*/ 
isRightRes: boolean
/**
*子组件数组
*/ 
items: ComponentBase[]
limit: any
limits: number[]
/**
*组件间隔
*/ 
margin: string
/**
*组件的名称
*/ 
name: string
/**
*父组件
*/ 
parentCmp: ComponentBase
/**
*权限资源的标题
*/ 
rightTitle: string
table: Table
tablePage: TablePage
/**
*组件的宽度
*/ 
width: string | number
/**
*组件的唯一标识
*/ 
xtype: string
} 
/**
        *单元格改变事件回调
        *@param sender 事件发起者
*@param row 行实例
*@param column 列实例
*@param value 改变的值
    
        */ 
declare type OnCellChangedHandle = (sender: TableViewBase,row: Row,column: TableColumn,value: any) => void
/**
        *单元格点击事件回调
        *@param sender 事件发起者
*@param row 行实例
*@param column 列实例
*@param value 改变的值
*@param cellElem cell的td的jquery对象
    
        */ 
declare type OnCellClickHandle = (sender: TableViewBase,row: Row,column: TableColumn,value: any,cellElem: JQuery<any>) => void
/**
        *单元格双击事件回调
        *@param sender 事件发起者
*@param row 行实例
*@param column 列实例
*@param value 改变的值
    
        */ 
declare type OnCellDoubleChickHandle = (sender: TableViewBase,row: Row,column: TableColumn,value: any) => void
/**
        *勾选行事件回调
        *@param sender 事件发起者
*@param row 行实例
*@param check 是否打钩
*@param isAll 是否全选
    
        */ 
declare type OnCheckHandle = (sender: TableViewBase,row: Row,check: boolean,isAll: boolean) => void
/**
        *列表标题点击事件回调
        *@param sender 事件发起者
*@param col 列实例
    
        */ 
declare type OnColumnClickHandle = (sender: TableViewBase,col: TableColumn) => void
/**
        *列标题双击事件回调
        *@param sender 事件发起者
*@param col 列实例
    
        */ 
declare type OnColumnDoubleClickHandle = (sender: TableViewBase,col: TableColumn) => void
/**
        *view渲染完成的事件回调
        *@param view 事件发起者
    
        */ 
declare type OnRenderViewHandle = (view: TableViewBase) => void
/**
        *行点击事件回调
        *@param sender 事件发起者
*@param row 行实例
*@param rowElem 行的Jquery对象
    
        */ 
declare type OnRowClickHandle = (sender: TableViewBase,row: Row,rowElem: JQuery<any>) => void
/**
        *行双击事件回调
        *@param sender 事件发起者
*@param row 行实例
    
        */ 
declare type OnRowDoubleClickHandle = (sender: TableViewBase,row: Row) => void
/**
        *工具栏按钮点击事件回调
        *@param sender 事件发起者
*@param row 行实例
*@param button 按钮实例
    
        */ 
declare type OnToolButtonClickHandle = (sender: TableViewBase,row: Row,button: ButtonBase) => void
/**
        *列宽度大小改变回调事件
        *@param sender 事件发起者
*@param col 列实例
    
        */ 
declare type onColumnResizeHandle = (sender: TableViewBase,col: TableColumn) => void
/**
        *渲染单元格的回调事件
        *@param sender 事件发起者
*@param row 行实例
*@param col 列实例
*@param cellElem 列实例
    
        */ 
declare type onRenderCellHandle = (sender: TableViewBase,row: Row,col: TableColumn,cellElem: JQuery<any>) => void
/**
*tablec组件的卡片视图列
*/ 
class TableCardViewCheckColumn  extends TableCardViewColumnBase { 

} 
/**
*卡片视图的列基类
*/ 
class TableCardViewColumnBase  extends TableColumn { 

} 
/**
*卡片视图通用的列
*/ 
class TableCardViewNormalColumn  extends TableColumn { 

} 
/**
*CardView 单选列
*/ 
class TableCardViewRadioColumn  extends TableColumn { 

} 
/**
*设计模式下禁止的行为枚举
主要是渲染table的某些单元格不允许修改
*/ 
enum TableColumnProhibitType {
   algin = "algin",allowNull = "allowNull",edit = "edit",fix = "fix",format = "format",hide = "hide",mergeColumn = "mergeColumn",null = "null",resize = "resize",search = "search",sort = "sort",subCols = "subCols",total = "total",type = "type",unique = "unique"
} 
 /**
*table组件列的基类
*/ 
class TableColumn  extends ComponentBase { 
/**
*对齐
默认 left
*/ 
align: TableColumnAlginType
/**
*允许为空
true 允许 则反之
*/ 
allowNull: boolean
/**
*是否允许修改宽度
*/ 
canResize: boolean
/**
*列合并跨度
*/ 
colspan: number
/**
*字段的数据类型
*/ 
dataType: FieldType
/**
*字段编号
*/ 
field: string
/**
* 是否固定
 注意：如果是固定在左，该列必须放在表头最前面；如果是固定在右，该列必须放在表头最后面。
*/ 
fixed: TableColumnFixType
/**
*字体
*/ 
font: string
/**
*格式化字符
*/ 
format: string
/**
*是否显示下拉提示
*/ 
griddown: boolean
/**
*是否隐藏
如果需设置值使用 setHide
*/ 
hide: boolean
/**
*长度
*/ 
length: number
/**
*是否合并列
如果需设置值使用
*/ 
mergeColumn: boolean
/**
*最小宽度 默认值40像素
*/ 
minWidth: number
/**
*父列
*/ 
parents: string
/**
*只读
*/ 
readonly: boolean
/**
*行合并跨度
*/ 
rowspan: number
/**
*查询类型
*/ 
searchType: TableColumnSearchTtype
/**
*是否排序字段
*/ 
sort: boolean
/**
*排序的方向
*/ 
sortDirection: TableColumnSortDirection
/**
*样式
*/ 
style: string
/**
*子列,都好隔开的列名字符串
*/ 
subCols: string
/**
*自定义的模板javascript脚本 脚本内必须含有retrun 语句返回是html 字符串,
脚本预设的变量: row 是当前数据行的变量.可以通过row.get(filename)获取列的值
*/ 
templet: string
/**
*标题
*/ 
title: string
/**
*是否开启合计行
*/ 
totalRow: boolean
/**
*自定义的合计脚本
*/ 
totalRowScript: any
type: TableColumnColType
/**
*唯一
*/ 
unique: boolean
/**
*宽度
如果需设置宽度使用 setWidth
*/ 
width: string

/**
* 添加子列
函数还修改了parentId,parents
* @param column  

*/ 
addChildColumn(column: ITableColumn): void

/**
* 清除排序

*/ 
clearSort(): void

/**
* 获取子列
注意返回的是只读,如果需要增加修改子列参考 addChildColumn removeChildColumn
* @returns 返回子列数组

*/ 
getChildColumns(): ITableColumn[]

/**
* 获取列的隐藏/显示
* @returns 返回是否隐藏/显示 true 隐藏,则反之

*/ 
getHide(): boolean

/**
* 得到多表头的层数
* @returns 层数

*/ 
getLev(): number

/**
*  获取视图实例
* @returns 返回视图实例

*/ 
getView(): TableViewBase

/**
* 获取列的宽度
* @returns 返回列的宽度

*/ 
getWidth(): string

/**
* 注册改变大小事件
* @param onResizeHandle  事件回调

*/ 
onColumnResize(onResizeHandle: OnTableColumnResizeHandle): void

/**
* 注册编辑框发生值改变事件
* @param handle  生值改变事件回调

*/ 
onEditorValueChanged(handle: OnEditorValueChanged): void

/**
* 注册编辑框发生值改变中事件
* @param handle  改变中事件回调

*/ 
onEditorValueChanging(handle: OnEditorValueChanging): void

/**
* 注册排序事件
* @param onSortHandle  事件回调

*/ 
onSort(onSortHandle: OnSortHandle): void

/**
* 触发编辑器修改事件
* @param column  列
* @param row  行
* @param value  修改的值

*/ 
raiseOnEditorValueChanged(column: TableColumn,row: Row,value: any): void

/**
* 触发编辑器修改中事件
* @param column  列
* @param row  行
* @param newValue  新值
* @param oldValue  旧值* @returns true允许修改,false不允许修改

*/ 
raiseOnEditorValueChanging(column: TableColumn,row: Row,newValue: any,oldValue: any): boolean

/**
* 移除子列
* @param column  需要删除的列

*/ 
removeChildColumn(column: ITableColumn): void

/**
* 设置列隐藏/显示
* @param value  

*/ 
setHide(value: boolean): void

/**
* 关联view
* @param view  对应的view

*/ 
setView(view: TableViewBase): void

/**
* 设置列的宽度
* @param value  

*/ 
setWidth(value: string | number): void

} 
/**
        *编辑中校验脚本回调
        *@param column 列实例
*@param row 行实例
*@param newvalue 新的值
*@returns undefined null 允许通过, 非空则返回错误信息
    
        */ 
declare type OnEditorCheckValue = (column: TableColumn,row: Row,newvalue: any) => string
/**
        *编辑完发生变化回调
        *@param column 列实例
*@param row 行实例
*@param value 值
    
        */ 
declare type OnEditorValueChanged = (column: TableColumn,row: Row,value: any) => void
/**
        *编辑中发生变化回调
        *@param column 列实例
*@param row 行实例
*@param newvalue 新的值
*@param oldvalue 旧的值
*@returns undefined true 允许修改,则反之
    
        */ 
declare type OnEditorValueChanging = (column: TableColumn,row: Row,newvalue: any,oldvalue: any) => boolean
/**
        *排序回调
        *@param column 列实例
*@param dircection 方向(升序/降序)
    
        */ 
declare type OnSortHandle = (column: TableColumn,dircection: string) => void
/**
        *列的点击的回调
        *@param column 列实例
    
        */ 
declare type OnTableColumnClickHandle = (column: TableColumn) => void
/**
        *列宽度编号的回调
        *@param column 列实例
    
        */ 
declare type OnTableColumnResizeHandle = (column: TableColumn) => void
/**
*ImageListView 复选列
*/ 
class TableImageListViewCheckColumn  extends TableImageListViewColumnBase { 

} 
/**
*ImageList视图的列基类
*/ 
class TableImageListViewColumnBase  extends TableColumn { 

} 
/**
*  TableImageListView 的图片列
*/ 
class TableImageListViewImageColumn  extends TableColumn { 

} 
/**
* ImageListView 行号列
*/ 
class TableImageListViewNoColumn  extends TableImageListViewColumnBase { 

} 
/**
*TableListView 的 checkbox类型的的列
*/ 
class TableListViewCheckBoxColumn  extends TableListViewColumnBase { 

} 
/**
*ListView 列基类
*/ 
class TableListViewColumnBase  extends TableColumn { 

/**
* 解析值
* @param row  行实例
* @param value  值* @returns 返回解析过的值

*/ 
paserValue(row: Row,value: any): any

} 
/**
* 自定义列
 可自定义展示的格式
*/ 
class TableListViewCustomColumn  extends TableListViewColumnBase { 

} 
/**
* TableListView 的日期类型列
*/ 
class TableListViewDateColumn  extends TableListViewColumnBase { 

} 
/**
* TableListView 的时间类型列
*/ 
class TableListViewDateTimeColumn  extends TableListViewColumnBase { 

} 
/**
* TableListView 的浮点列
 数据显示的优先级:
 1.templete
 2.format
 3.scale
*/ 
class TableListViewFloatColumn  extends TableListViewColumnBase { 

} 
/**
*TableListView 的多表头列
*/ 
class TableListViewHeaderColumn  extends TableListViewColumnBase { 

} 
/**
* TableListView 的整数列
*/ 
class TableListViewIntegerColumn  extends TableListViewColumnBase { 

} 
/**
*TableListView 的行号列
*/ 
class TableListViewNoColumn  extends TableListViewColumnBase { 

} 
/**
*TableListView的操作列
*/ 
class TableListViewOptionColumn  extends TableListViewColumnBase { 

} 
/**
* 图片展示列
 展示IUploadFile结构的图片或者文件
*/ 
class TableListViewPictureColumn  extends TableListViewColumnBase { 

} 
/**
*radio类型的 TableListView 的列
*/ 
class TableListViewRadioColumn  extends TableListViewColumnBase { 

} 
/**
*TableListView 的 checkbox类型的标记行选择的的列
*/ 
class TableListViewRowCheckColumn  extends TableListViewColumnBase { 

} 
/**
*radio类型的 TableListView 的列
*/ 
class TableListViewRowRadioColumn  extends TableListViewColumnBase { 

} 
/**
* 空白 TableListView 的列
*/ 
class TableListViewSpaceColumn  extends TableListViewColumnBase { 

} 
/**
*通用的Switch TableListView的列
*/ 
class TableListViewSwitchColumn  extends TableListViewColumnBase { 

} 
/**
*通用的 TableListView的列
*/ 
class TableListViewTextColumn  extends TableListViewColumnBase { 

} 
/**
*数据导出组件
*/ 
class DataExport  extends InvisibleBase { 

/**
* 导出数据
* @param params  参数数组或者参数对象
``` javascript
function Button1_onClickScript(cxt:ScriptContext,btn:Button){
//方法1 参数对象
btn.getPage().components.DataExport1.export({param1:'paramValue1',param2:'paramValue2'});
//方法2 参数数组
btn.getPage().components.DataExport1.export([{name:'param1',value:'paramValue1'},{name:'param2',value:'paramValue2'}]);
}
```

*/ 
export(params: Object | IParam[]): void

} 
/**
*数据导入组件
*/ 
class DataImport  extends InvisibleBase { 

/**
* 下载数据导入的模板文件

*/ 
downloadTemplte(): void

/**
* 导入数据
* @param finishCallback  完成回调

*/ 
importData(finishCallback: DataImportCallBack): void

} 
/**
        *导入数据回调
        *@param error 空成功导入,则反之
    
        */ 
declare type DataImportCallBack = (error: string) => void
/**
*数据权限的类型
*/ 
enum DataRightType {
   
/**
*所有
*/ 
all = "all",
/**
*本部门
*/ 
benbm = "benbm",
/**
*本部门以下的部门
*/ 
benbmzs = "benbmzs",
/**
*本机构
*/ 
bendw = "bendw",
/**
*所有
*/ 
none = "",
/**
*某些部门
*/ 
someDept = "someDept",
/**
*自己
*/ 
zij = "zij"
} 
 /**
*数据权限组件
一般是:
 1.所有的
 2.自己的
 3.本部门的
 4.本部门下级机构
 5.本机构的
 6.自定义(脚本)
*/ 
class DataRight  extends InvisibleBase { 

} 
/**
*权限项
*/ 
interface IDataRightItem  { 
/**
*某些部门
*/ 
deptIds: string[]
/**
*机构id
*/ 
orgid: string
/**
*角色id
*/ 
roleId: string
/**
* 权限的类型
*/ 
type: DataRightType
} 
/**
*数据权限的属性编辑器
*/ 
class DataRightAttrEditor  extends ButtonAttrEditor { 

} 
/**
*点击按钮弹出服务端的脚本编辑框
*/ 
interface IDataRightAttrEditor  { 
/**
*按钮标题
*/ 
btnText: string
/**
*点击ok回调函数
*/ 
okCallBack: any
} 
/**
*弹出的编辑页面组件
指定数据源
*/ 
class EditorPage  extends PageBase { 

/**
* 是否允许关闭
* @returns true允许关闭,则反之

*/ 
canClosePage(): boolean

/**
* 获取数据源的实例
* @returns 数据源的实例

*/ 
getDataSource(): DataSourceBase

/**
* 获取当前页面的编辑状态
* @returns 页面的编辑状态   add 新增 /edit 修改/view 查看/none 无

*/ 
getEditState(): ZlPageEditState

/**
* 确定并关闭页面
这个会吧当前修改行的修改返回到调用的页面

*/ 
ok(): void

/**
* 保存数据
提交后台的数据
* @param callback  完成提交数据到后台后的回调

*/ 
post(callback: DataSourcePostHandle): void

/**
* 多数据源合并提交保存
这样做的好处是主从表的数据源的提交是在一个数据库的事务内.可以用于保证数据的完整性
* @param dss  从表数据源的数组
* @param callback  完成提交数据到后台后的回调

*/ 
unionPost(dss: DataSourceBase[],callback: DataSourcePostHandle): void

} 
/**
*页面服务
页面各种技能/绝技/武林秘籍
*/ 
class KDPage  extends InvisibleBase { 

/**
* 根据表单的模型编号弹出表单窗口
* @param pageModelCode  表单设计的界面模型编号
* @param params  页面参数(包含了全局和自定义的参数)
* @param pageCoinfg  可选参数 弹出的编辑界面的参数设置 默认:{}
* @param onPageShowCallBack  可选参数 界面加载完成回调 function(refPage: IFormPageHolder) => void  参数refPage 是弹出的页面的page实例,可以通过这个实例来获取弹出的页面的page的各种参数值等操作* @returns 返回弹出的表单的窗口的handle

*/ 
openFormPageByCode(pageModelCode: string,params: Object,pageCoinfg: IPageFormOptions,onPageShowCallBack: OnPageShowCallBack): number

/**
* 根据表单的模型id弹出表单窗口
* @param pageModelId  表单设计的界面模型id
* @param params  页面参数(包含了全局和自定义的参数)
* @param pageCoinfg  可选参数 弹出的编辑界面的参数设置 默认:{}
* @param onPageShowCallBack  可选参数 界面加载完成回调 function(refPage: IFormPageHolder) => void  参数refPage 是弹出的页面的page实例,可以通过这个实例来获取弹出的页面的page的各种参数值等操作* @returns 返回弹出的表单窗口的handle

*/ 
openFormPageById(pageModelId: string,params: Object,pageCoinfg: IPageFormOptions,onPageShowCallBack: OnPageShowCallBack): number

/**
* 在浏览器开启新页面 这个与菜单关联受权限的管理
* @param menuCode  菜单的编号(注意唯一性)
* @param param  可选参数 参数对象

*/ 
openNewPageByMenuCode(menuCode: string,param: object): void

/**
* 通过菜单的编号来打开主框架上的页签
* @param menuCode  菜单的唯一编号（菜单管理内必须保证编号的唯一性）
* @param param  可选参数 可选附带的参数。注意 这个参数由于是拼接到URL后面因此存在了长度限制。

*/ 
openNewTabPageByMenuCode(menuCode: string,param: object): void

/**
* 通过的表单编号来打开主框架上的页签
* @param pageModelCode  菜单的唯一编号（菜单管理内必须保证编号的唯一性）
* @param title  可选参数 标题
* @param resid  可选参数 资源id(资源表内的菜单的rwid)
* @param param  可选参数 可选附带的参数。注意 这个参数由于是拼接到URL后面因此存在了长度限制。

*/ 
openNewTabPageByPageCode(pageModelCode: string,title: string,resid: string,param: object): void

/**
* 通过的表单编号开启一个最顶层的页面
* @param pageModelCode  菜单的唯一编号（菜单管理内必须保证编号的唯一性）
* @param pageConfig  可选参数 可选附带的参数.类型IFormOptions 可以设置弹出的窗口大各种属性 例如: pageConfig={XXXid:'xxxxx', YYYid:'xxxxxyyyyy',title:'窗口标题' ,area:['100px','200px']}
* @param param  可选参数。附带参数,param ={ xxx:xxxyyyy,aaabbb:cccddd}

*/ 
openNewTopPageByPageCode(pageModelCode: string,pageConfig: IPageFormOptions,param: any): void

/**
* 在浏览器新的页签打开页面 注意这个无权限管理
* @param pageModelCode  页面模型编号(注意唯一性)
* @param param  可选参数 这个参数由于是拼接到URL后面因此存在了 默认:{}

*/ 
openNewUrlPageByCode(pageModelCode: string,param: object): void

/**
* 在的主框架上开启页签页面
* @param url  连接地址
* @param title  页签标题
* @param resid  资源id(资源表内的菜单的rwid)
* @param param  可选参数 拼接到URL后面

*/ 
openTabPage(url: any,title: any,resid: string,param: Object): void

} 
/**
        *页面弹出回调
        *@param page 弹出的页面对象
    
        */ 
declare type OnPageShowCallBack = (page: IFormPageHolder) => void
/**
*页面基类
一般用于封装一些页面的框架或者后台的工作操作
*/ 
class PageBase  extends InvisibleBase { 

/**
* 获取一个后台生成的编号
* @param format  生成的编号格式格式: ORD[yyyyMMdd][000]   -> ORD20211019001* @returns 返回的编号字符串

*/ 
getCode(format: string): string

/**
* 在pc的主框架上开启页签页面
* @param url  连接地址
* @param title  页签标题
* @param resid  资源id
* @param param  可选参数 拼接到URL后面

*/ 
openNewTabPage(url: any,title: any,resid: string,param: Object): void

/**
* 通过菜单的编号来代开页签
* @param menuCode  菜单的唯一编号（菜单管理内必须保证编号的唯一性）
* @param param  可选附带的参数。注意 这个参数由于是拼接到URL后面因此存在了长度限制。

*/ 
openNewTabPageByMenuCode(menuCode: string,param: object): void

} 
/**
*页面引用组件
用于在某个容器内渲染出功能
*/ 
class PageQuote  extends ContainerBase { 

} 
/**
*页面引用组件配置参数接口
*/ 
interface IPageQuoteConfig  { 
/**
*界面模型的id
*/ 
modelId: string
/**
*保存界面的传递参数
*/ 
params: IParam[]
} 
/**
*报表的输出格式
*/ 
enum ReportFormat {
   
/**
*输出csv格式
*/ 
csv = "csv",
/**
*输出excel 97-2003格式
*/ 
excel2003 = "xls",
/**
*输出excel 2003以后的版本格式
*/ 
excel2007 = "xlsx",
/**
*输出html格式
*/ 
html = "html",
/**
*输出pdf格式
*/ 
pdf = "pdf"
} 
 /**
*打印组件
*/ 
class Print  extends InvisibleBase { 

/**
* 报表打印
注意:如果开启了lodop预览不会出现下载文件.都是lodop预览
* @param paramsObj  可选参数 参数对象 默认:{}  如:  btn.getPage().components.Print1.print({ rwid: rows[0].get('RWID') },'xls');
* @param format  可选参数 报表的输出格式 默认:pdf , 可选择: pdf, xls,xls,xlsx,csv,html
* @param isNewTab  可选参数 是否在新页签开启 默认:true

*/ 
print(paramsObj: Object,format: ReportFormat,isNewTab: boolean): void

/**
* 根据报表地址打印报表
* @param reportTempeteUrl  报表模板路径
* @param paramsObj  可选参数 报表输入参数 默认:{}
* @param outformat  可选参数  输出报表格式:pdf, xls,xls,xlsx,csv,html  默认:pdf
* @param isNewTab  可选参数 是否开启新页签 默认:true

*/ 
printReport(reportTempeteUrl: string,paramsObj: Object,outformat: ReportFormat,isNewTab: boolean): void

} 
/**
*打印报表选择属性编辑器
*/ 
class PrintEditorAttrEditor  extends AttributeEditorBase { 

} 
/**
*资源权限组件
*/ 
class Right  extends InvisibleBase { 
/**
*权限项数组
*/ 
rights: IRigtItem[]

/**
* 获取组件的权限值
* @param cmp  组件* @returns 返回权限的值

*/ 
getRight(cmp: ComponentBase): boolean

/**
* 获取组件的权限值
* @param name  权限名* @returns 返回权限的值

*/ 
getRightByName(name: string): boolean

} 
/**
*权限项接口
*/ 
interface IRigtItem  { 
/**
*关联的组件id
*/ 
cmpId: string
/**
*唯一id
*/ 
id: string
/**
*名称
*/ 
name: string
/**
*自定义的权限前端脚本
*/ 
script: string
/**
*权限值
*/ 
value: boolean
} 
/**
* 组件参数操作的属性编辑器
*/ 
class RightItemsAttrEditor  extends AttributeEditorBase { 

} 
/**
*用户组件
*/ 
class User  extends InvisibleBase { 

/**
* 得到登录以后的用户信息类
* @returns 返回当前登录的用户信息

*/ 
getUser(): IUser

} 
/**
*流程的查询类型
*/ 
enum WorkFlowSearchType {
   
/**
*所有,参与流程都可以
*/ 
all = "all",
/**
*查阅,抄送 只能看不能改
*/ 
daicy = "daicy",
/**
*待审核
*/ 
daish = "daish",
/**
*待提交
*/ 
daitj = "daitj",
/**
*忽略流程的查询语句
*/ 
none = "none",
/**
*审核中
*/ 
shenhz = "shenhz",
/**
*已审核
*/ 
yish = "yish"
} 
 /**
*流程审核常量
*/ 
enum WorkflowConfirmResult {
   
/**
*部分同意
*/ 
cfBufty = 7,
/**
*不同意
*/ 
cfButy = 3,
/**
*待处理
*/ 
cfDaicl = 8,
/**
*开始
*/ 
cfKais = 6,
/**
*取回
*/ 
cfQuhui = 4,
/**
*提交/送审
*/ 
cfTij = 1,
/**
*同意
*/ 
cfTongy = 2,cfTuih = 0,
/**
*完成
*/ 
cfWanc = 5
} 
 /**
*工作流组件
*/ 
class WorkFlow  extends InvisibleBase { 

/**
* 审核关联数据源当前行的流程. 会弹出指定的审核表单
注意:这个函数只是在行上打上审批流程标记并没有提交到后台,需要关联的数据源提交才算真正的审批成功,
如果需要立刻提交后台的审批流程的函数使用 confirmAndPostByRow/confirmAndPostByRowDirect 来直接审批流程.
当审配与数据修改需要在同一个事务内的时候可以使用该函数
* @param finishCallBack  完成回调   function (audFlag, audName, auditMemo, error) 如果 error是非空说明有错误发生.

例如:
```javascript
function Button13_onClickScript(cxt: ScriptContext, btn: Button) {
btn.getPage().components.WorkFlow1.confirm(function (audFlag, auditMemo, error) {
if (Common.isNotEmpty(error)) {
Common.errorMsg(error);
} else {
btn.getPage().components.WorkFlow1.getDataSource().post(function (err) {
if(Common.isNotEmpty(err)){
Common.errorMsg(err);
}else{
Common.successMsg('审批完成');
btn.getPage().components.Table1.loadData();
}
})
}
})
}
```

*/ 
confirm(finishCallBack: WorkflowCallBack): void

/**
* 通过行直接审核行并提交到后台. 会弹出指定的审核表单
当启动流程与数据修改不需要在一个事务内的时候可以使用该函数;
当审配与数据修改不需要在同一个事务内的时候可以使用该函数;
* @param row  需要审核的行
* @param finishCallBack  完成回调  function (audFlag, audName, auditMemo, error) 如果 error是非空说明有错误发生.

例如:
```javascript
function Button13_onClickScript(cxt: ScriptContext, btn: Button) {
var rows = btn.getPage().components.Table1.getChecks();
if (rows.length == 0) {
Common.warnMsg('请选择行');
return;
}
btn.getPage().components.WorkFlow1.confirmAndPostByRow(rows[0], function (audFlag,audName, auditMemo, error) {
if (Common.isNotEmpty(error)) {
Common.errorMsg(error);
} else {
Common.successMsg('审批完成');
}
})
}
```

*/ 
confirmAndPostByRow(row: Row,finishCallBack: WorkflowCallBack): void

/**
* 直接审批流程 不弹出审核页面 传递对应的参数后就能审核流程
* @param row  行的实例
* @param audFlag  审核值 WorkflowConfirmResult
* @param auditMemo  审核的备注
* @param params  流程变量 传递到流程引擎内的变量(例如:传递一个变量来会影响线路的路径)
* @param finishCallBack  审批完成的回调
例如:
```javascript
function Button13_onClickScript(cxt: ScriptContext, btn: Button) {
var rows = btn.getPage().components.Table1.getChecks();
if (rows.length == 0) {
Common.warnMsg('请选择行');
return;
}
btn.getPage().components.WorkFlow1.confirmAndPostByRowDirect(rows[0],WorkflowConfirmResult.cfTongy,'流程审批备注',{param1:paramValue1}, function (error) {
if (Common.isNotEmpty(error)) {
Common.errorMsg(error);
} else {
Common.successMsg('审批完成');
}
})
}
```

*/ 
confirmAndPostByRowDirect(row: Row,audFlag: WorkflowConfirmResult,auditMemo: string,params: object,finishCallBack: DataSourcePostHandle): void

/**
* 审核指定行的流程. 会弹出指定的审核表单
 注意:这个函数只是在行上打上审批标记并没有提交到后台,需要关联的数据源提交才算真正的启动成功,
如果需要立刻提交后台的审批流程的函数使用 confirmAndPostByRow/confirmAndPostByRowDirect 来直接审批流程.
当审配与数据修改需要在同一个事务内的时候可以使用该函数.
* @param row  行
* @param finishCallBack  审核完成的事件回调  function (audFlag, audName, auditMemo, error) 如果 error是非空说明有错误发生.

例如:
```javascript
function Button13_onClickScript(cxt: ScriptContext, btn: Button) {
var rows = btn.getPage().components.Table1.getChecks();
if (rows.length == 0) {
Common.warnMsg('请选择行');
return;
}
btn.getPage().components.WorkFlow1.confirmByRow(rows[0], function (audFlag,audName, auditMemo, error) {
if (Common.isNotEmpty(error)) {
Common.errorMsg(error);
} else {
btn.getPage().components.WorkFlow1.getDataSource().post(function (err) {
if(Common.isNotEmpty(err)){
Common.errorMsg(err);
}else{
Common.successMsg('审批完成');
btn.getPage().components.Table1.loadData();
}

})
}
})
}
```

*/ 
confirmByRow(row: Row,finishCallBack: WorkflowCallBack): void

/**
* 得到关联数据源实例
* @returns 得到数据源实例

*/ 
getDataSource(): DataSourceBase

/**
* 查看关联的数据源的当前行的流程日志

*/ 
getLog(): void

/**
* 查看流程日志
* @param pid  流程实例id

*/ 
getLogByPid(pid: string): void

/**
* 查看流程
* @param row  记录行* @returns 

*/ 
getLogByRow(row: Row): void

/**
* 代办事项

*/ 
getToDoList(): void

/**
* 查看流程图
* @param processId  流程实例id

*/ 
getWorkFlowPic(processId: string): void

/**
* 启动关联的数据源的当前行的流程. 会弹出指定的审核表单
当启动流程与数据修改需要在同一个事务内的时候可以使用该函数.
* @param finishCallBack  完成回调函数  function (audFlag, audName, auditMemo, error) 如果 error是非空说明有错误发生.

例如:
```javascript
function Button13_onClickScript(cxt: ScriptContext, btn: Button) {
var rows = btn.getPage().components.Table1.getChecks();
if (rows.length == 0) {
Common.warnMsg('请选择行');
return;
}
btn.getPage().components.WorkFlow1.start(function (audFlag, audName,auditMemo, error) {
if (Common.isNotEmpty(error)) {
Common.errorMsg(error);
} else {
btn.getPage().components.WorkFlow1.getDataSource().post(function (err) {
if(Common.isNotEmpty(err)){
Common.errorMsg(err);
}else{
Common.successMsg('流程启动成功');
btn.getPage().components.Table1.loadData();
}

})
}
})
}
```

*/ 
start(finishCallBack: WorkflowCallBack): void

/**
* 通过行直接启动流程并提交到后台. 会弹出指定的审核表单
当启动流程与数据修改不需要在一个事务内的时候可以使用该函数.
* @param row  需要启动流程的行
* @param finishCallBack  完成回调; function (audFlag, audName, auditMemo, error) 如果 error是非空说明有错误发生.

例如:
```javascript
function Button13_onClickScript(cxt: ScriptContext, btn: Button) {
var rows = btn.getPage().components.Table1.getChecks();
if (rows.length == 0) {
Common.warnMsg('请选择行');
return;
}
btn.getPage().components.WorkFlow1.startAndPostByRow(rows[0], function (audFlag,audName, auditMemo, error) {
if (Common.isNotEmpty(error)) {
Common.errorMsg(error);
}  else
Common.successMsg('流程启动成功');
}
})
}
```

*/ 
startAndPostByRow(row: Row,finishCallBack: WorkflowCallBack): void

/**
* 直接启动流程 不弹出审核页面 传递对应的参数后就能审核流程
* @param row  行的实例
* @param auditMemo  审核的备注
* @param params  流程变量 传递到流程引擎内的变量(例如:传递一个变量来会影响线路的路径)
* @param finishCallBack  审批完成的回调
例如:
```javascript
function Button13_onClickScript(cxt: ScriptContext, btn: Button) {
var rows = btn.getPage().components.Table1.getChecks();
if (rows.length == 0) {
Common.warnMsg('请选择行');
return;
}
btn.getPage().components.WorkFlow1.startAndPostByRowDirect(rows[0],'流程审批备注',{param1:paramValue1}, function (error) {
if (Common.isNotEmpty(error)) {
Common.errorMsg(error);
} else {
Common.successMsg('流程启动完成');
}
})
}
```

*/ 
startAndPostByRowDirect(row: Row,auditMemo: string,params: object,finishCallBack: DataSourcePostHandle): void

/**
* 启动指定行的流程,会弹出指定的审核表单
注意:这个函数只是在行上打上启动流程标记并没有提交到后台,需要关联的数据源提交才算真正的启动成功,
如果需要立刻提交后台的启动流程的函数使用 startAndPostByRow 来直接发起流程.
当启动流程与数据修改需要在同一个事务内的时候可以使用该函数.
* @param row  行
* @param finishCallBack  完成的回调函数  function (audFlag, audName, auditMemo, error) 如果 error是非空说明有错误发生

例如:
```javascript
function Button13_onClickScript(cxt: ScriptContext, btn: Button) {
var rows = btn.getPage().components.Table1.getChecks();
if (rows.length == 0) {
Common.warnMsg('请选择行');
return;
}
btn.getPage().components.WorkFlow1.startByRow(rows[0], function (audFlag, audName, auditMemo, error) {
if (Common.isNotEmpty(error)) {
Common.errorMsg(error);
} else {
btn.getPage().components.WorkFlow1.getDataSource().post(function (err) {
if(Common.isNotEmpty(err)){
Common.errorMsg(err);
}else{
Common.successMsg('流程启动成功');
btn.getPage().components.Table1.loadData();
}
})
}
})
}
```

*/ 
startByRow(row: Row,finishCallBack: WorkflowCallBack): void

} 
/**
        *流程回调函数
        *@param audFlag 审核结果的值
*@param audName 审核结果名称
*@param auditMemo 审核备注
*@param error 错误信息 非空就是无错误,则反之
    
        */ 
declare type WorkflowCallBack = (audFlag: string,audName: string,auditMemo: string,error: string) => void
/**
*工作流属性编辑器
*/ 
class WorkFlowAttrEditor  extends AttributeEditorBase { 

} 
/**
*页面的状态
*/ 
enum ZlPageEditState {
   
/**
*新增
*/ 
add = "add",
/**
*编辑
*/ 
edit = "edit",
/**
*无
*/ 
none = "none",
/**
*查看
*/ 
view = "view"
} 
 /**
*页面操作服务类
*/ 
class ZlPage  extends PageBase { 

/**
* 新增行
* @param params  参数数组或者参数对象 默认[]
* @param pageCoinfg  可选 弹出的编辑界面的参数设置默认{}
* @param finishCallback  完成时回调  err为非空说明有错误
* @param isTransferRow  可选参数 是否传递行到打开的page的页面参数里面

```javascript
btn.getPage().components.ZlPageDetail1.addRow(
{
ZHUBID: btn.getPage().getParamByName('MASTERID').value
}, {
fixed: true,
maxmin: false,
isFull: false,
area:['300px','400px'],
}, function () {
btn.getPage().components.tabDetail1.loadData();
});
```

*/ 
addRow(params: Object | IParam[],pageCoinfg: IPageFormOptions,finishCallback: onOperateCallbackHandle,isTransferRow: boolean): void

/**
* 得到数据源的实例
* @returns 数据源实例

*/ 
getDataSource(): DataSourceBase

/**
* 编辑行
* @param row  数据行对象实例
* @param params  可选参数 参数数组或者参数对象 默认:[]
* @param pageCoinfg  可选参数 弹出的编辑界面的参数设置 默认:{}
* @param finishCallback  完成时回调   err为非空说明有错误
* @param isTransferRow  可选参数 是否传递行到打开的page的页面参数里面
例子:
```javascript
var rows = btn.getPage().components.tabDetail1.getChecks();
if (rows.length == 0) {
Common.warnMsg('请选择行');
return;
}
btn.getPage().components.ZlPageDetail1.modifyRow(rows[0], {
ZHUBID:'XXXYYY',
RWID:'YYYYXXX'
}, {}, function (err) {
btn.getPage().components.tabDetail1.refreshRow(rows[0]);
});
```

*/ 
modifyRow(row: Row,params: Object | IParam[],pageCoinfg: IPageFormOptions,finishCallback: onOperateCallbackHandle,isTransferRow: boolean): void

/**
* 删除选择的行
* @param rows  删除的行
* @param callback  可选参数 完成时回调 err为非空说明有错误
* @param autoCommit  可选参数 是否自动提交到后台 默认:true
例子:
``` javascript
cmp.getPage().components.ZlPage1.removeRow([row], cmp.getPage().components.ds0, function () {
cmp.getPage().components.Table1.loadData();
})
```

*/ 
removeRow(rows: Row[],callback: onOperateCallbackHandle,autoCommit: boolean): void

/**
* 查看行
* @param row  数据行对象实例
* @param params  可选参数 参数数组或者参数对象 默认:[]
* @param pageCoinfg  可选参数 弹出的编辑界面的参数设置 默认:{}
* @param finishCallback  完成时回调   err为非空说明有错误
* @param isTransferRow  可选参数 是否传递行到打开的page的页面参数里面
例子:
var rows = btn.getPage().components.tabDetail1.getChecks();
if (rows.length == 0) {
Common.warnMsg('请选择行');
return;
}
btn.getPage().components.ZlPageDetail1.viewRow(rows[0], {
ZHUBID:'XXXYYY',
RWID:'YYYYXXX'
}, {}, function (err) {
btn.getPage().components.tabDetail1.refreshRow(rows[0]);
});
```

*/ 
viewRow(row: Row,params: Object | IParam[],pageCoinfg: IPageFormOptions,finishCallback: onOperateCallbackHandle,isTransferRow: boolean): void

} 
/**
        *页面操作回调
            
        */ 
declare type onOperateCallbackHandle = (err: string,changes: any) => void
/**
*车牌输入器
*/ 
class LicensePlate  extends ContainerBase { 

/**
* 得到组件选择的车牌号
* @returns 车牌号字符串

*/ 
getValue(): string

/**
*  注册点击确定的回调
* @param callback  回调

*/ 
onOk(callback: onOkdHandle): void

} 
/**
        *点击确定时候的回调函数
        *@param cmp 组件实例
*@param value 车牌值
    
        */ 
declare type onOkdHandle = (cmp: LicensePlate,value: string) => void
/**
*大屏绑定数据源图表基类
*/ 
class BsComponentBase  extends DbComponentBase { 
/**
*边框的样式
*/ 
broderStyle: BsBroderStyle
/**
*刷新的脚本
*/ 
onRefreshTimeScript: string
/**
*内部间隔
*/ 
padding: string

/**
* 间隔时间刷新事件
* @param callback  onChooseHandel事件处理函数

*/ 
onRefreshTime(callback: onRefreshTimeHandle): void

} 
/**
*大屏存在的枚举
*/ 
interface IBigscreenComponent  { 
/**
*主题组件Id
*/ 
themeId: string
} 
/**
*自定义主题属性编辑器
*/ 
class BsCustomThemeAttrEditor  extends ButtonAttrEditor { 

} 
/**
*自定义主题属性编辑器配置接口
*/ 
interface IBsCustomThemeAttrEditor  { 
/**
*帮助的路径
*/ 
helpUrl: string
} 
/**
*大屏翻牌器
*/ 
class BsFlipper  extends BsComponentBase { 

} 
/**
*图片组件
*/ 
class BsImage  extends BsComponentBase { 

/**
* 修改连接值
* @param url  连接字符串

*/ 
setStaticUrl(url: string): void

} 
/**
*大屏滚动公告
*/ 
class BsMarquee  extends BsComponentBase { 

} 
/**
*大屏时间标题
*/ 
class BsPanel  extends BsComponentBase { 

} 
/**
*滚动表格
*/ 
class BsTableScroll  extends BsComponentBase { 

} 
/**
*主题设置
*/ 
enum bcTheme {
   
/**
*高级黑
*/ 
black = "black",
/**
*科技蓝
*/ 
blue = "blue",
/**
*自定义
*/ 
custom = "custom",
/**
*默认
*/ 
default = "blue"
} 
 /**
*大屏颜色,样式主题组件
*/ 
class BsTheme  extends InvisibleBase { 

} 
/**
*大屏时间标题
*/ 
class BsTime  extends BsComponentBase { 

} 
/**
*大屏标题
*/ 
class BsTitle  extends BsComponentBase { 

} 
/**
*大屏柱状图
*/ 
class BsBarChart  extends BsEcCommonChartBase { 

} 
/**
*图表基类
*/ 
class BsChartBase  extends BsComponentBase { 

} 
/**
*大屏自定义图表
*/ 
class BsCustomChart  extends BsEchartBase { 

} 
/**
*坐标轴类型
*/ 
enum AxisType {
   
/**
*类目轴，适用于离散的类目数据。为该类型时类目数据可自动从 series.data 或 dataset.source 中取，或者可通过 xAxis.data 设置类目数据。
*/ 
category = "category",
/**
*对数轴。适用于对数数据。
*/ 
log = "log",
/**
*时间轴，适用于连续的时序数据，与数值轴相比时间轴带有时间的格式化，在刻度计算上也有所不同，例如会根据跨度的范围来决定使用月，星期，日还是小时范围的刻度。
*/ 
time = "time",
/**
*数值轴，适用于连续数据。
*/ 
value = "value"
} 
 /**
*饼图,柱状,曲线 图表基类
*/ 
class BsEcCommonChartBase  extends BsEchartBase { 

} 
/**
*自定义主题属性编辑器
*/ 
class BsEcCustomThemeAttrEditor  extends ButtonAttrEditor { 

} 
/**
*自定义主题属性编辑器配置接口
*/ 
interface IBsEcCustomThemeAttrEditor  { 
/**
*帮助的路径
*/ 
helpUrl: string
} 
/**
*大屏曲线图
*/ 
class BsEcLineChart  extends BsEcCommonChartBase { 

} 
/**
*大屏时间标题
*/ 
class BsEcMapChina  extends BsEchartBase { 

} 
/**
*自定义图表配置属性编辑器
*/ 
class BsEcOptionsAttrEditor  extends ButtonAttrEditor { 

} 
/**
* 自定义图表配置属性编辑器配置接口
*/ 
interface IBsEcOptionsAttrEditor  { 
/**
*帮助的路径
*/ 
helpUrl: string
} 
/**
*触发的类型
*/ 
enum triggerType {
   
/**
*坐标轴触发，主要在柱状图，折线图等会使用类目轴的图表中使用。
*/ 
axis = "axis",
/**
*数据项图形触发，主要在散点图，饼图等无类目轴的图表中使用
*/ 
item = "item",
/**
*什么都不触发。
*/ 
none = "none"
} 
 /**
*对齐方式
*/ 
enum EchartAlignment {
   
/**
*居中
*/ 
center = "center",
/**
*左对齐
*/ 
left = "left",
/**
*右对齐
*/ 
right = "right"
} 
 /**
*工具栏朝向类型
*/ 
enum EchartToolboxOrient {
   
/**
*横向展示
*/ 
horizontal = "horizontal",
/**
*竖向展示
*/ 
vertical = "vertical"
} 
 /**
*Echart图表的基类
*/ 
class BsEchartBase  extends BsChartBase { 

/**
* 得到默认配置好的配置项
* @returns 返回默认配置javasvript字符串

*/ 
getDefalutOptions(): object

/**
* 获取Echart实例对象
* @returns 成功返回图标实例,否则返回null

*/ 
getEchart(): any

} 
/**
*自定义图表配置属性编辑器
*/ 
class BsEchartCustomOptionsAttrEditor  extends ButtonAttrEditor { 

} 
/**
*自定义图表配置属性编辑器配置接口
*/ 
interface IBsEchartCustomOptionsAttrEditor  { 
/**
*帮助的路径
*/ 
helpUrl: string
language: CodeEditorLang
/**
*参数字符串
*/ 
parameter: string
} 
/**
*图表基类
*/ 
class ChartBase  extends DbComponentBase { 
/**
*刷新的脚本
*/ 
onRefreshTimeScript: string

/**
* 注册间隔时间刷新事件
* @param callback  onChooseHandel事件处理函数

*/ 
onRefreshTime(callback: onRefreshTimeHandle): void

} 
/**
*柱状图组件
*/ 
class EcBarChart  extends EcCommonChartBase { 

} 
/**
*坐标轴类型
*/ 
enum AxisType {
   
/**
*类目轴，适用于离散的类目数据。为该类型时类目数据可自动从 series.data 或 dataset.source 中取，或者可通过 xAxis.data 设置类目数据。
*/ 
category = "category",
/**
*对数轴。适用于对数数据。
*/ 
log = "log",
/**
*时间轴，适用于连续的时序数据，与数值轴相比时间轴带有时间的格式化，在刻度计算上也有所不同，例如会根据跨度的范围来决定使用月，星期，日还是小时范围的刻度。
*/ 
time = "time",
/**
*数值轴，适用于连续数据。
*/ 
value = "value"
} 
 /**
*饼图,柱状,曲线 图表基类
*/ 
class EcCommonChartBase  extends EchartBase { 

} 
/**
*自定义图表组件
*/ 
class EcCustomChart  extends EchartBase { 

} 
/**
*曲线图
*/ 
class EcLineChart  extends EcCommonChartBase { 

} 
/**
* 触发类型
*/ 
enum triggerType {
   
/**
*坐标轴触发，主要在柱状图，折线图等会使用类目轴的图表中使用。
*/ 
axis = "axis",
/**
*数据项图形触发，主要在散点图，饼图等无类目轴的图表中使用
*/ 
item = "item",
/**
*什么都不触发。
*/ 
none = "none"
} 
 /**
*图表组件-饼状图
*/ 
class EcPieChart  extends EcCommonChartBase { 

} 
/**
*对齐方式
*/ 
enum EchartAlignment {
   
/**
*居中
*/ 
center = "center",
/**
*左对齐
*/ 
left = "left",
/**
*右对齐
*/ 
right = "right"
} 
 /**
*工具栏朝向类型
*/ 
enum EchartToolboxOrient {
   
/**
*横向展示
*/ 
horizontal = "horizontal",
/**
*竖向展示
*/ 
vertical = "vertical"
} 
 /**
*Echart图表的基类
*/ 
class EchartBase  extends ChartBase { 

/**
* 得到默认配置好的配置项
* @returns 配置对象

*/ 
getDefalutOptions(): any

/**
* 获取Echart实例对象
* @returns 成功返回图标实例,否则返回null

*/ 
getEchart(): any

} 
/**
*自定义图表配置属性编辑器
*/ 
class EchartCustomOptionsAttrEditor  extends ButtonAttrEditor { 

} 
/**
*自定义图表配置属性编辑器配置项
*/ 
interface IEchartCustomOptionsAttrEditor  { 
/**
*帮助的路径
*/ 
helpUrl: string
language: CodeEditorLang
/**
*参数字符串
*/ 
parameter: string
} 
/**
*自定义主题属性编辑器
*/ 
class EchartCustomThemeAttrEditor  extends ButtonAttrEditor { 

} 
/**
*Echart自定义主题属性编辑器配置接口
*/ 
interface IEchartCustomThemeAttrEditor  { 
/**
*帮助的路径
*/ 
helpUrl: string
} 
/**
*自定义图表配置属性编辑器
*/ 
class EchartOptionsAttrEditor  extends ButtonAttrEditor { 

} 
/**
*自定义图表配置属性编辑器配置接口
*/ 
interface IEchartOptionsAttrEditor  { 
/**
*帮助的路径
*/ 
helpUrl: string
} 
/**
*主题枚举
*/ 
enum EcTheme {
   
/**
*粉笔
*/ 
chalk = "chalk",
/**
*自定义
*/ 
custom = "custom",
/**
*深色
*/ 
dark = "dark",default = "macarons",
/**
*麦卡龙
*/ 
macarons = "macarons",
/**
*紫色激情
*/ 
purplePassion = "purplePassion",
/**
*复古
*/ 
vintage = "vintage",
/**
*沃尔登
*/ 
walden = "walden",
/**
*维斯特洛
*/ 
westeros = "westeros",
/**
*仙境
*/ 
wonderland = "wonderland"
} 
 /**
*大屏主题组件
*/ 
class EchartTheme  extends InvisibleBase { 

} 
/**
*高德地图组件
*/ 
class GaodeMap  extends PopInputBase { 

/**
* 得到弹出的编辑器
* @returns 弹出的编辑器实例

*/ 
getPopEdior(): IPopInputBaseEditor

/**
* 注册点击并选中任意日期时触发
* @param val  地址json

*/ 
onRenderDisplayValue(val: AddressValueJson): void

} 
/**
*分析组件
*/ 
class GaodeMapDistribution  extends FieldDbComponentBase { 
cityInfo: any
currMarker: any[]
districtInfo: any
districtSearch: any
geocoder: any
getMapAddressInfo: any[]
infoWindow: any
map: any
mapId: string
mapInputId: string
marker: any
markers: any[]
markersFour: any[]
markersThree: any[]
markersTwo: any[]
provinceInfo: any

/**
* 获取组件经纬度的值
子类重载这个方法实现自定义取值赋值过程
* @returns 经纬度的值

*/ 
getLngLat(): any

/**
* 加载数据
* @param paramObj  参数对象
* @param isNew  可选参数 默认值:false 重新一次查询清掉所有的以前查的参数

*/ 
loadData(paramObj: any,isNew: boolean): void

/**
* 加载数据
* @param ret  返回的结果集 参数对象* @returns 

*/ 
packageData(ret: IRetVo): void

} 
/**
*设置组件的大小
*/ 
enum SizeType {
   default = "default",large = "large",small = "small"
} 
 /**
*箭头方向
*/ 
enum arrowDirectionType {
   down = "down",left = "left",right = "right",up = "up"
} 
 /**
*移动端组件基类
*/ 
class MComponentBase  extends MobileComponentBase { 
isNoNewVue: Boolean
/**
*初始化定义的vue返回data的值
*/ 
retdata: object

} 
/**
*数据编辑组件接口
在提交时候能获取其值,并校验它
*/ 
interface IMobileFieldComponent  { 
/**
*数据源关联的字段值
*/ 
field: string
/**
*校验规则
*/ 
verify: string
/**
*校验后的信息
*/ 
verifyText: string

/**
* 开始校验
* @returns true 校验通过,否则反之  不通过后verifyText保存了校验的错误信息

*/ 
doVerify(): Boolean

/**
* 获取组件的值.
* @returns 返回的值

*/ 
getValue(): any

/**
* 校验的处理
一般用于弹出或者显示保存时候返回的错误信息

*/ 
verifyTips(): void
} 
/**
*带数据源属性的组件基类
*/ 
class MDbComponentBase  extends MComponentBase { 

/**
* 获取数据源实例
* @returns 返回数据源的实例

*/ 
getDataSource(): DataSourceBase

/**
* 设置数据源
* @param value  可以是数据源实例或者id

*/ 
setDataSource(value: string | DataSourceBase): void

} 
/**
*带数据源属性的组件配置接口
*/ 
interface IDbComponentBaseConfig  { 
} 
/**
*下拉编辑器基类
*/ 
class DropDownInputEditorBase  extends DropDownEditorBase { 

/**
* 渲染组件的值刷新下拉组件的元素的状态

*/ 
renderValues(): void

} 
/**
*下拉组件基类
*/ 
class MDropDownBase  extends MVantInputBase { 

/**
* 得到弹出编辑器
* @returns 弹出编辑器实例

*/ 
getPopEdior(): DropDownInputEditorBase

/**
* 得到组件的值数组
* @returns 返回数组

*/ 
getValues(): string[]

/**
*  静态渲染组件
* @param setting  设置的属性

*/ 
staticRender(setting: IDropDownBaseConifg): void

} 
/**
*下拉组件配置接口
*/ 
interface IDropDownBaseConifg  { 
/**
*组件宽度
*/ 
componentWidth: string
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*空白时候的提示字符串
*/ 
placeholder: string
/**
*只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
staticDatas: any[]
/**
*校验规则
*/ 
verify: string
} 
/**
*弹出的选择框接口
*/ 
interface IDropDownEditor  { 

/**
* 隐藏弹出框

*/ 
hide(): void

/**
* 显示弹出框

*/ 
show(): void
} 
/**
*数据源编辑组件基类
具备选择数据源和绑定的数据源字段属性
filed, setValue ,getValue
*/ 
class MFieldDbComponentBase  extends MDbComponentBase { 

/**
* 得到组件的值
* @returns 返回的组件的值

*/ 
getValue(): any

/**
* 注册值发生变动时候的事件
注意,数据源第一次给组件赋值初始化时候是无法触发该事件,否则会死循环
* @param callback  值修改事件回调函数

*/ 
onValueChanged(callback: onValueChangeHandle): void

/**
* 设置组件的值
* @param value  值

*/ 
setValue(value: any): void

} 
/**
*移动端输入框组件
*/ 
class MInputBase  extends InputBase { 

} 
/**
*对齐
*/ 
enum TextAlign {
   center = "center",left = "left",right = "right"
} 
 /**
*箭头方向
*/ 
enum arrowDirectionType {
   down = "down",left = "left",right = "",up = "up"
} 
 /**
*移动端form的校验规则模板
*/ 
class FormVerify  { 
/**
*一般的校验规则
*/ 
static _verifys: any

/**
* 增加校验规则
* @param name  规则名称
* @param funcVer  验证函数

*/ 
static add(name: string,funcVer: FormVerifyCallBack): void

} 
/**
*输入组件基类
*/ 
class MVantInputBase  extends MFieldDbComponentBase { 

/**
* 校验数据是否通过设置的校验规则
* @returns true通过,则反之

*/ 
doVerify(): boolean

/**
* 输入框得到输入焦点

*/ 
focuse(): void

/**
* 获取编辑输入框的jquery 对象
这个应该在所有继承的子类需要重载该函数,不然无法实现校验弹出提示.
* @returns 输入框的jquery 对象

*/ 
getInputElem(): JQuery<any>

/**
* 获取label标题
* @returns 返回label标题

*/ 
getLabelCaption(): string

/**
* 	注册输入框内容变化时触发
* @param event  时间对象

*/ 
onBlur(event: Event): void

/**
* 	注册输入框内容变化时触发
* @param val  返回当前输入的值

*/ 
onInput(val: string): void

/**
*  设置label标题
* @param caption  label的标题

*/ 
setLabelCaption(caption: string): void

/**
* 显示的提示校验信息
当 verifyText 非空时候显示"危险"的样式, 空则去除"危险"的样式

*/ 
verifyTips(): void

} 
/**
*输入组件配置接口
*/ 
interface IInputBaseConfig  { 
/**
*组件宽度
*/ 
componentWidth: string
/**
*是否显示label
*/ 
isShowLabel: boolean
/**
*label标题
*/ 
labelCaption: string
/**
*标题宽度
*/ 
labelWidth: string
/**
*空白时候的提示字符串
*/ 
placeholder: string
/**
*只读
*/ 
readonly: boolean
/**
*是否必填
*/ 
required: boolean
/**
*校验规则
*/ 
verify: string
} 
/**
        *校验回调
        *@param value 校验的值
    
        */ 
declare type FormVerifyCallBack = (value: any) => string
/**
*移动端的表单处理类
功能: 按表单的编号打开页面,并传递参数
*/ 
class MobelPageService  extends InvisibleBase { 

/**
* 获取一个后台生成的编号
* @param format  生成的编号格式格式: ORD[yyyyMMdd][000]   -> ORD20211009001
* @param orgid  可选参数 机构ID* @returns 返回的编号字符串

*/ 
getCode(format: string,orgid: string): string

/**
* 通过菜单的编号打开页面 与 openPage的差别在于,这个与菜单关联受权限的管理 openPage无权限管理
页面会带上对应tokenId
* @param menuCode  表单模型的编号
* @param param  附带参数对象

*/ 
openPageByMenuCode(menuCode: string,param: object): void

/**
* 通过表单的编号打开页面 注意这个无权限管理 页面会带上对应tokenId
* @param pageModelCode  表单模型的编号
* @param param  附带参数对象

*/ 
openPageByPageModelCode(pageModelCode: string,param: object): void

} 
/**
*移动端 头像/图片 上传选择组件
*/ 
class MAvatar  extends MInputBase { 

/**
* 注册选择文件事件
* @param handle  事件处理函数

*/ 
onSelectFile(handle: onSelectFileHandle): void

} 
/**
*移动端复选框组件
*/ 
class MCheckBox  extends MInputBase { 
inputId: string

} 
/**
*移动端下拉选项组件
*/ 
class MCombox  extends MVantInputBase { 
inputId: string

} 
/**
*移动端验证码
*/ 
class MInputCode  extends MInputBase { 
btnId: string
inputId: string

} 
/**
*移动端输入框组件
*/ 
class MInputEdit  extends MInputBase { 
inputId: string

} 
/**
*移动端下拉选项组件
*/ 
class MPicker  extends MInputBase { 
inputId: string

} 
/**
*移动端单选组件
*/ 
class MRadio  extends MInputBase { 
inputId: string

} 
/**
*移动端开关组件
*/ 
class MSwitch  extends MInputBase { 
inputId: string

/**
* 获取值
* @returns 值字符串

*/ 
getValue(): string

/**
* 设置值
* @param value  值

*/ 
setValue(value: any): void

} 
/**
        *单选改变回调
        *@param cmp 组件
*@param value 值
    
        */ 
declare type onSwitchChangeHandle = (cmp: MSwitch,value: string) => void
/**
*展示列
*/ 
enum AreaColumnsType {
   city = "2",county = "3",province = "1"
} 
 /**
*展示文字
*/ 
enum AreaTextType {
   all = "all",city = "city",county = "county",province = "province"
} 
 /**
*顶部栏位置，可选值为bottom
*/ 
enum ToolbarPositionType {
   bottom = "bottom",top = "top"
} 
 /**
*VantArea 地区组件
*/ 
class VantArea  extends MVantInputBase { 
/**
*input的id
*/ 
inputId: string
/**
*picker的id
*/ 
pickerId: string
/**
*静态数据源
*/ 
staticData: any[]

} 
/**
*获取值的对象
*/ 
interface IGetValueObj  { 
/**
*选中地区的编号
*/ 
code: string
/**
*选中地区的名字
*/ 
name: string
} 
/**
*VantButton 按钮
*/ 
class VantButton  extends MComponentBase { 

/**
* 注册点击按钮，且按钮状态不为加载或禁用时触发
* @param event  点击元素返回的dom节点

*/ 
onBtnClick(event: Event): void

/**
* 注册开始触摸按钮时触发
* @param event  点击元素返回的dom节点

*/ 
onTouchstart(event: TouchEvent): void

} 
/**
*设置组件的类型
*/ 
enum CalendarType {
   multiple = "multiple",range = "range",single = "single"
} 
 /**
*弹出位置
*/ 
enum PositionType {
   bottom = "bottom",left = "left",right = "right",top = "top"
} 
 /**
*VantCalendar 日历组件
*/ 
class VantCalendar  extends MVantInputBase { 
/**
*input的id
*/ 
inputId: string
/**
*picker的id
*/ 
showCalendarId: string

/**
* 得到日期，格式化为字符串
* @param date  日期时间* @returns 返回字符串日期

*/ 
getFormatDate(date: Date): string

/**
* 得到日期，根据选择的日期格式化转为字符串赋值给input框
* @param str  日期时间* @returns 返回字符串日期

*/ 
getFormatStrTime(str: string): string

/**
* 注册点击并选中任意日期时触发

*/ 
onCalendarClick(): void

/**
* 注册确定事件
* @param val  返回日期的时间

*/ 
onConfirm(val: Date): void

/**
* 注册点击并选中任意日期时触发
* @param val  返回日期的时间

*/ 
onSelect(val: Date): void

/**
* 当日历组件的 type 为 multiple 时，取消选中日期时触发
* @param val  返回日期的时间

*/ 
onUnselect(val: Date): void

} 
/**
*设置组件的类型
*/ 
enum DatetimePickerType {
   date = "date",datetime = "datetime",time = "time"
} 
 /**
*弹出位置
*/ 
enum PositionType {
   bottom = "bottom",left = "left",right = "right",top = "top"
} 
 /**
*VantDatetimePicker 日期时间组件
*/ 
class VantDatetimePicker  extends MVantInputBase { 
/**
*picker的id
*/ 
datetimePickerValue: string
/**
*input的id
*/ 
inputId: string

/**
* 关闭弹出层且动画结束后触发

*/ 
closed(): void

/**
* 关闭弹出层时触发

*/ 
onClose(): void

/**
* 打开弹出层时触发

*/ 
onOpen(): void

/**
* 打开弹出层且动画结束后触发

*/ 
onOpened(): void

/**
* 当日历组件的 type 为 multiple 时，取消选中日期时触发
* @param val  返回日期的时间

*/ 
onUnselect(val: Date): void

} 
/**
*下拉菜单
*/ 
class VantDropdownMenu  extends MComponentBase { 

/**
* 获取当前选中项的值
* @returns 返回组件的值

*/ 
getValue(): any

} 
/**
*下拉项配置接口
*/ 
interface IDropdownItem  { 
/**
*	图标右上角徽标的内容
*/ 
badge: string
/**
*是否显示图标右上角小红点
*/ 
dot: boolean
/**
*点击后跳转的链接地址
*/ 
href: string
/**
*图标名称或图片链接
*/ 
icon: string
/**
*标签名称，作为匹配的标识符
*/ 
itemName: string
} 
/**
*下拉项接口
*/ 
interface IOptionsItem  { 
/**
*是否打钩
*/ 
checked: boolean
/**
*标题
*/ 
title: string
/**
*值
*/ 
val: string | number
} 
/**
*设置组件的类型
*/ 
enum FieldType {
   digit = "digit",number = "number",password = "password",tel = "tel",text = "text"
} 
 /**
*VantField 输入框组件
*/ 
class VantField  extends MVantInputBase { 
inputId: string

} 
/**
*单选项排列方向
*/ 
enum DirectionType {
   horizontal = "horizontal",vertical = "vertical"
} 
 /**
*VantFieldRadio 单选框组件
*/ 
class VantFieldRadio  extends MVantInputBase { 

/**
* 获取值
* @returns 返回值

*/ 
getValue(): string

} 
/**
*单选框配置接口
*/ 
interface IRadioItem  { 
/**
*是否打钩
*/ 
checked: boolean
/**
*标题
*/ 
title: string
/**
*值
*/ 
val: string
} 
/**
*顶部栏位置，可选值为bottom
*/ 
enum ToolbarPositionType {
   bottom = "bottom",top = "top"
} 
 /**
*VantGaodeMap 地图地址组件
*/ 
class VantGaodeMap  extends MVantInputBase { 

/**
* 返回组件详细地址
* @returns 返回详细地址

*/ 
getAddressDetails(): string

/**
* 获取组件经纬度的值
子类重载这个方法实现自定义取值赋值过程
* @returns 返回经纬度的值

*/ 
getLngLat(): any

/**
* 获取详细的地址信息，行政区、城市、地区
* @returns 返回信息，行政区、城市、地区

*/ 
getMapValue(): string

/**
* 获取搜索列表
* @returns 返回搜索列表

*/ 
getSearchListHtml(): string

} 
/**
*顶部栏位置，可选值为bottom
*/ 
enum ToolbarPositionType {
   bottom = "bottom",top = "top"
} 
 /**
*VantPicker 下拉选项组件
*/ 
class VantPicker  extends MDropDownBase { 
/**
*input的id
*/ 
inputId: string
/**
*picker的id
*/ 
pickerId: string
/**
*静态数据源
*/ 
staticData: any[]

/**
* 根据值得到组件的值数组
* @returns 返回值的数组

*/ 
getCurrtValArry(): any[]

/**
* 得到组件的值数组
* @returns 返回数组下标

*/ 
getDefaultIndex(): string | number

} 
/**
*设置组件的类型
*/ 
enum FieldType {
   digit = "digit",number = "number",password = "password",tel = "tel",text = "text"
} 
 /**
*VantRate 评价组件
*/ 
class VantRate  extends MVantInputBase { 
inputId: string

/**
* 选择星星改变事件
* @param val  返回日期的时间

*/ 
onRateChange(val: String | Number): void

} 
/**
*textarea 文本域
*/ 
class VantTextarea  extends MVantInputBase { 
inputId: string

} 
/**
*列表容器
*/ 
class ListContainer  extends MComponentBase { 

} 
/**
*菜单列表
*/ 
class ListMenu  extends MComponentBase { 

} 
/**
*移动端菜单组件
*/ 
class MemuItem  extends MComponentBase { 

/**
* 注册点击事件
* @param handle  事件回调

*/ 
onClick(handle: onClickHandle): void

} 
/**
*单元格列表
*/ 
class VanCellGroup  extends MComponentBase { 

} 
/**
*移动端单元格组件
*/ 
class VantCell  extends MFieldDbComponentBase { 

} 
/**
*卡片列表图片详情组件
*/ 
class ImgListDetails  extends DbComponentBase { 

/**
* 获取组件的位置索引
* @returns 返回组件的位置索引

*/ 
getIndex(): number

} 
/**
*卡片内容的副标题组件
*/ 
class ImgListSubtitle  extends FieldDbComponentBase { 

/**
* 获取组件的位置索引
* @returns 返回组件的位置索引

*/ 
getIndex(): number

} 
/**
*移动端卡片列表图片
*/ 
class ImgListTitle  extends FieldDbComponentBase { 

/**
* 获取组件的位置索引
* @returns 返回组件的位置索引

*/ 
getIndex(): number

} 
/**
*移动端图片列表容器
*/ 
class ImgListView  extends ContainerBase { 

/**
* 得到列的组数
* @returns 列的组数

*/ 
getColumns(): ImglistImgPanel[] | ImgListTitle[]

/**
* 得到页签的索引号
* @returns 页签索引号 不存在parentCmp时候返回-1

*/ 
getImgListViewIndex(): number

/**
* 得到所有的容器内容 可见/隐藏
* @returns 返回可见/隐藏页签数组

*/ 
getItems(): ImgListView[]

/**
* 注册行单击事件
* @param handle  事件回调

*/ 
onImgListViewClick(handle: OnImgListViewClickHandle): void

/**
* 设置类数组
* @param columns  列数组

*/ 
setColumns(columns: any[]): void

} 
/**
*卡移动端片内容的图片组件
*/ 
class ImglistImgPanel  extends FieldDbComponentBase { 

} 
/**
*卡片列表
*/ 
class VantImgList  extends MDbComponentBase { 
/**
*是否加载完成
*/ 
finished: Boolean
/**
*获取数据返回的数据
*/ 
listDatas: Row[]
/**
*是否加载
*/ 
loading: Boolean
/**
*是否刷新
*/ 
refreshing: Boolean

/**
* 得到列的组数
* @returns 列的组数

*/ 
getColumns(): ImgListView[]

/**
* 获取数据
* @returns 返回数据数组

*/ 
getDatas(): Row[]

/**
* 得到所有的页签不管 可见/隐藏
* @returns 返回可见/隐藏页签数组

*/ 
getImgListViews(): ImgListView[]

/**
* 获取数据
* @returns 返回当前数据源的数组

*/ 
getRows(): Row[]

/**
* 获取数据源的总数量
* @returns 返回当前数据源的总数量

*/ 
getRowsCount(): number

/**
* 获取所有的视图
* @returns 当前的视图数组

*/ 
getViews(): ImgListView

/**
* 从后台加载数据
* @param paramObj  参数对象
* @param isNew  可选参数 默认值:false 重新一次查询清掉所有的以前查的参数

*/ 
loadData(paramObj: IDsLoadOptions,isNew: boolean): void

/**
* 刷新数据 只是刷新本地数据源,如果需要刷新后台的数据使用loadData

*/ 
refresh(): void

/**
* 渲染data的数据

*/ 
rendItem(): void

/**
* 设置类数组
* @param columns  列数组

*/ 
setColumns(columns: ImgListView[]): void

} 
/**
* 移动端图片列表容器配置接口
*/ 
interface IImgListComponent  { 
vantImgList: VantImgList
} 
/**
*卡片列表配置接口
*/ 
interface IListCardConfig  { 
/**
*两列是否开启
*/ 
isTwoColumns: boolean
/**
*每页显示的条数（默认：10）
*/ 
limit: string
/**
*数据
*/ 
listDatas: Row[]
/**
*圆角
*/ 
round: string
/**
*模板
*/ 
template: string
} 
/**
        *图片view点击回调
        *@param sender view实例
*@param row 行实例
    
        */ 
declare type OnImgListViewClickHandle = (sender: ImgListView,row: Row) => void
/**
*页签内容容器
*/ 
class ItemPanel  extends ContainerBase { 

/**
* 得到页签的索引号
* @returns 页签索引号 不存在parentCmp时候返回-1

*/ 
getTabIndex(): number

} 
/**
*列表
*/ 
class VantList  extends MDbComponentBase { 
/**
*是否加载完成
*/ 
finished: Boolean
/**
*获取数据返回的数据
*/ 
listDatas: any[]
/**
*是否加载
*/ 
loading: Boolean
/**
*是否刷新
*/ 
refreshing: Boolean

/**
* 获取数据
* @returns 返回当前数据源的数组

*/ 
getDatas(): Row[]

/**
* 获取数据源的总数量
* @returns 返回当前数据源的总数量

*/ 
getRowsCount(): number

/**
* 得到所有的页签不管 可见/隐藏
* @returns 返回可见/隐藏页签数组

*/ 
getTabs(): ItemPanel[]

/**
* 从后台加载数据
* @param paramObj  参数对象
* @param isNew  可选参数 默认值:false 重新一次查询清掉所有的以前查的参数

*/ 
loadData(paramObj: IDsLoadOptions,isNew: boolean): void

/**
* 刷新数据 只是刷新本地数据源,如果需要刷新后台的数据使用loadData

*/ 
refresh(): void

/**
* 渲染data的数据

*/ 
rendItem(): void

} 
/**
*卡片内容的标题组件
*/ 
class CardDetails  extends DbComponentBase { 

} 
/**
*卡片内容的图片组件
*/ 
class CardImgPanel  extends FieldDbComponentBase { 

} 
/**
*卡片内容的标题组件
*/ 
class CardTitle  extends FieldDbComponentBase { 

} 
/**
*卡片列表容器
*/ 
class CardView  extends ContainerBase { 

/**
* 得到页签的索引号
* @returns 页签索引号 不存在parentCmp时候返回-1

*/ 
getCardPanelIndex(): number

/**
* 得到列的组数
* @returns 列的组数

*/ 
getColumns(): CardImgPanel[] | CardTitle[]

/**
* 得到所有的容器内容 可见/隐藏
* @returns 返回可见/隐藏页签数组

*/ 
getItems(): CardView[]

/**
* 注册行单击事件
* @param handle  事件回调

*/ 
onCardViewClick(handle: OnCardViewClickHandle): void

/**
* 设置类数组
* @param columns  列数组

*/ 
setColumns(columns: any[]): void

} 
/**
*卡片列表
*/ 
class VantListCard  extends MDbComponentBase { 
/**
*是否加载完成
*/ 
finished: Boolean
/**
*获取数据返回的数据
*/ 
listDatas: Row[]
/**
*是否加载
*/ 
loading: Boolean
/**
*是否刷新
*/ 
refreshing: Boolean

/**
* 得到所有的页签不管 可见/隐藏
* @returns 返回可见/隐藏页签数组

*/ 
getCardViews(): CardView[]

/**
* 得到列的组数
* @returns 列的组数

*/ 
getColumns(): CardView[]

/**
* 获取数据
* @returns 返回数据数组

*/ 
getDatas(): Row[]

/**
* 获取数据
* @returns 返回当前数据源的数组

*/ 
getRows(): Row[]

/**
* 获取数据源的总数量
* @returns 返回当前数据源的总数量

*/ 
getRowsCount(): number

/**
* 获取所有的视图
* @returns 当前的视图数组

*/ 
getViews(): CardView

/**
* 从后台加载数据
* @param paramObj  参数对象
* @param isNew  可选参数 默认值:false 重新一次查询清掉所有的以前查的参数

*/ 
loadData(paramObj: IDsLoadOptions,isNew: boolean): void

/**
* 刷新数据 只是刷新本地数据源,如果需要刷新后台的数据使用loadData

*/ 
refresh(): void

/**
* 渲染data的数据

*/ 
rendItem(): void

/**
* 设置类数组
* @param columns  列数组

*/ 
setColumns(columns: CardView[]): void

} 
/**
*卡片列表组件接口
*/ 
interface IListCardComponent  { 
vantListCard: VantListCard
} 
/**
*卡片列表配置接口
*/ 
interface IListCardConfig  { 
/**
*两列是否开启
*/ 
isTwoColumns: boolean
/**
*每页显示的条数（默认：10）
*/ 
limit: string
/**
*数据
*/ 
listDatas: Row[]
/**
*圆角
*/ 
round: string
/**
*模板
*/ 
template: string
} 
/**
        *view点击回调
        *@param sender 事件触发者
*@param row 行实例
    
        */ 
declare type OnCardViewClickHandle = (sender: CardView,row: Row) => void
/**
*列表内容绑定字段容器
*/ 
class VantListItem  extends FieldDbComponentBase { 

} 
/**
*菜单元素
*/ 
class VTabbarItem  extends MDbComponentBase { 

/**
* 获取组件值
子类重载这个方法实现自定义取值赋值过程
* @returns 返回标点里面的值

*/ 
getValue(): any

/**
* 设置组件值
子类重载这个方法实现自定义赋值过程
* @param text  角标内容

*/ 
setValue(text: string): void

} 
/**
*底部导航栏
*/ 
class VantTabbar  extends MComponentBase { 

} 
/**
*页签元素
*/ 
interface ITabbarItem  { 
/**
*	图标右上角徽标的内容
*/ 
badge: string
/**
*是否显示图标右上角小红点
*/ 
dot: boolean
/**
*点击后跳转的链接地址
*/ 
href: string
/**
*图标名称或图片链接
*/ 
icon: string
/**
*标签名称，作为匹配的标识符
*/ 
itemName: string
} 
/**
*菜单元素
*/ 
class VantTabbarItem  extends MDbComponentBase { 

/**
* 获取组件值
子类重载这个方法实现自定义取值赋值过程
* @returns 返回标点里面的值

*/ 
getValue(): string

/**
* 设置组件值
子类重载这个方法实现自定义赋值过程
* @param text  角标内容

*/ 
setValue(text: string): void

} 
/**
*标签
*/ 
interface ITabbarItem  { 
/**
*	图标右上角徽标的内容
*/ 
badge: string
/**
*是否显示图标右上角小红点
*/ 
dot: boolean
/**
*点击后跳转的链接地址
*/ 
href: string
/**
*图标名称或图片链接
*/ 
icon: string
/**
*标签名称，作为匹配的标识符
*/ 
itemName: string
} 
/**
*微信工具组件
获取openid 签名  上传 扫一扫 , 分享 ,微信支付
*/ 
class WeChartTools  extends InvisibleBase { 

/**
* 公众号网页授权
注意:设计模式下无效
如: authorize('http://ijtr5e.natappfree.cc/kdayun/manager/coremodelshow/?modelId=106A832EA4D743D38BA3E051B356A142&tokenId=4ab004049de448b88477df93421790f6)
* @param redirectUrl  授权完成后调整的跳转地址(注意这个地址必须是后台配置的(网页授权域名)一致)
*/ 
authorize(redirectUrl: string): void

/**
* 选择图片
* @param maxCount  最大选择的数量
* @param callback  完成回调

*/ 
chooseImage(maxCount: any,callback: any): void

/**
* 获取网页授权完成后的openid 可以使用这个来获取微信的用户信息
一旦调用过这个函数  WechartUtils.getUserData()就有返回值,除非授权有问题
注意:设计模式下无效
* @returns 返回openid字符串 否则返回undefine

*/ 
getOpenId(): string

/**
* 微信权限签名数据
* @returns 微信权限签名数据IWxSignData类型的数据

*/ 
getSignData(): IWxSignData

/**
* 微信公众号支付
例子:
``` typescript
function Button1_onClickScript(cxt: ScriptContext, btn: Button) {
var wxtool = btn.getPage().components.WeChartTools1;
wxtool.pay({
body: '测试微信付款',
out_trade_no: 'TEST-'+Common.generalSeri(),
total_fee: '1'
}, function (res) {
debugger;
alert(res);
})
}
```
注意: order.out_trade_no应该是的账号的全局唯一性,重复的单号会出现支付他支付单冲突
* @param order  订单信息 ,默认值: { trade_type: 'JSAPI',total_fee: '1', sign_type: 'MD5',spbill_create_ip: '127.0.0.1'}
* @param callback  回调函数  (order: IWxOrder, res, error?: string) => void

*/ 
pay(order: IWxOrder,callback: WxOrderHanle): void

/**
* 扫码
* @param callback  完成回调

*/ 
scanRqCode(callback: any): void

/**
* 分享
* @param callback  完成回调

*/ 
share(callback: any): void

/**
* 微信签名
微信的一些功能 必须先签名.比如:选择文件,扫码,分享,支付

*/ 
sign(): void

} 
/**
*设备工具接口
*/ 
interface IDeviceTools  { 
/**
*选择图片
*/ 
chooseImage: any
inf_type: any
/**
*支付
*/ 
pay: any
/**
*扫码
*/ 
scanRqCode: any
/**
*分享
*/ 
share: any
} 
/**
*微信的授权方式
*/ 
enum WxScope {
   
/**
*不弹出授权页面，直接跳转，只能获取用户openid
*/ 
snsapiBase = "snsapi_base",
/**
*弹出授权页面，可通过openid拿到昵称、性别、所在地。并且， 即使在未关注的情况下，只要用户授权，也能获取其信息
*/ 
snsapiUserinfo = "snsapi_userinfo"
} 
 /**
*微信的共用类
权限签名,选择文件,扫码,分享,支付
*/ 
class WechartUtils  { 
/**
*前面的缓存key
*/ 
static SIGNDATA: string
/**
*用户信息的缓存key
*/ 
static USERDATA: string

/**
* 公众号网页授权
如: authorize('http://ijtr5e.natappfree.cc/kdayun/manager/coremodelshow/?modelId=106A832EA4D743D38BA3E051B356A142&tokenId=4ab004049de448b88477df93421790f6)
* @param appId  appid
* @param redirectUrl  授权完成后调整的跳转地址(注意这个地址必须是后台配置的(网页授权域名)一致)
* @param scope  授权的方式 应用授权作用域，snsapi_base （不弹出授权页面，直接跳转，只能获取用户openid），snsapi_userinfo （弹出授权页面，可通过openid拿到昵称、性别、所在地。并且， 即使在未关注的情况下，只要用户授权，也能获取其信息 ）

*/ 
static authorize(appId: string,redirectUrl: string,scope: WxScope): void

/**
*  选择图片
* @param maxCount  最大选择的图片数量
* @param callback  完成回调

*/ 
static chooseImage(maxCount: any,callback: any): void

/**
* 获取网页授权完成后的openid 可以使用这个来获取微信的用户信息
* @param appId  appid
* @param scope  可选参数 openId的类型.(snsapi_base: 不弹出授权页面，直接跳转，只能获取用户openid) snsapi_userinfo （弹出授权页面，可通过openid拿到昵称、性别、所在地。并且， 即使在未关注的情况下，只要用户授权，也能获取其信息 ）* @returns 返回openid字符串

*/ 
static getOpenId(appId: string,scope: WxScope): string

/**
* 微信权限签名数据
微信端的选择图片,扫码,分享 都需要先授权
* @returns 微信权限签名数据

*/ 
static getSignData(): IWxSignData

/**
* 微信用户数据
* @returns 微信用户数据

*/ 
static getUserData(): IWxUserData

/**
* 微信jsapi支付 这函数未完成不要使用
* @param appid  公众号appid
* @param orgId  机构id
* @param order  订单信息
* @param callback  回调函数

*/ 
static pay(appid: string,orgId: string,order: IWxOrder,callback: WxOrderHanle): void

/**
* 扫码
* @param callback  完成回调

*/ 
static scanRqCode(callback: any): void

/**
* 设置用户数据到本地缓存
* @param userData  用户数据对象

*/ 
static setUserData(userData: IWxUserData): void

/**
* 分享
* @param callback  回调函数

*/ 
static share(callback: any): void

/**
* 权限签名
微信的一些功能 必须先签名,比如:选择文件,扫码,分享,支付
* @param appId  申请的 appi
* @param appSecret  申请的秘钥
* @param orgId  单位id
* @param signUrl  需要前面的地址

*/ 
static sign(appId: any,appSecret: any,orgId: any,signUrl: any): void

} 
/**
*微信的token结构
*/ 
interface IWxAccessToken  { 
access_token: string
createAccessTokenTime: string
expires_in: string
openid: string
refresh_token: string
scope: string
} 
/**
*微信的统一单接口
*/ 
interface IWxOrder  { 
/**
*附加数据，在查询API和支付通知中原样返回，可作为自定义参数使用
String(127)
*/ 
attach: string
/**
*商品简单描述，该字段请按照规范传递，具体请见参数规定
``` json
[{
"goods_detail":[
{
"goods_id":"iphone6s_16G",
"wxpay_goods_id":"1001",
"goods_name":"iPhone6s 16G",
"quantity":1,
"price":528800,
"goods_category":"123456",
"body":"苹果手机"
},
{
"goods_id":"iphone6s_32G",
"wxpay_goods_id":"1002",
"goods_name":"iPhone6s 32G",
"quantity":1,
"price":608800,
"goods_category":"123789",
"body":"苹果手机"
}
]
}]
```
*/ 
body: string
/**
*自定义参数，可以为终端设备号(门店号或收银设备ID)，PC网页或公众号内支付可以传"WEB"
*/ 
device_info: string
/**
*	订单优惠标记，使用代金券或立减优惠功能时需要的参数，说明详见代金券或立减优惠
*/ 
goods_tag: string
/**
*	上传此参数no_credit--可限制用户不能使用信用卡支付
*/ 
limit_pay: string
/**
*随机字符串，长度要求在32位以内。推荐随机数生成算法
*/ 
nonce_str: string
/**
*body 异步接收微信支付结果通知的回调地址，通知url必须为外网可访问的url，不能携带参数。 公网域名必须为https，如果是走专线接入，使用专线NAT IP或者私有回调域名可使用http
*/ 
notify_url: string
/**
*trade_type=JSAPI时（即JSAPI支付），此参数必传，此参数为微信用户在商户对应appid下的唯一标识。openid如何获取，可参考【获取openid】。企业号请使用【企业号OAuth2.0接口】获取企业号内成员userid，再调用【企业号userid转openid接口】进行转换
*/ 
openid: string
/**
*商户系统内部订单号，要求32个字符内（最少6个字符），只能是数字、大小写字母_-|*且在同一个商户号下唯一。详见商户订单号
*/ 
out_trade_no: string
/**
*	trade_type=NATIVE时，此参数必传。此参数为二维码中包含的商品ID，商户自行定义。
*/ 
product_id: string
/**
*	Y-是，需要分账
N-否，不分账
字母要求大写，不传默认不分账
String(16)
*/ 
profit_sharing: any | any
/**
*	Y，传入Y时，支付成功消息和支付详情页将出现开票入口。需要在微信支付商户平台或微信公众平台开通电子发票功能，传此字段才可生效
String(8)
*/ 
receipt: any | any
/**
*	该字段常用于线下活动时的场景信息上报，支持上报实际门店信息，商户也可以按需求自己上报相关信息。该字段为JSON对象数据，对象格式为{"store_info":{"id": "门店ID","name": "名称","area_code": "编码","address": "地址" }} ，字段详细说明请点击行前的+展开
String(256)
*/ 
scene_info: string
/**
*通过签名算法计算得出的签名值，详见签名生成算法
*/ 
sign: string
/**
*签名类型，默认为MD5，支持HMAC-SHA256和MD5。
*/ 
sign_type: string
/**
*支持IPV4和IPV6两种格式的IP地址。用户的客户端IP
*/ 
spbill_create_ip: string
/**
*	订单失效时间，格式为yyyyMMddHHmmss，如2009年12月27日9点10分10秒表示为20091227091010。
注意：
1、最短失效时间间隔需大于1分钟。
2、标准北京时间，时区为东八区，请务必保证服务器时间与当前北京时间一致。
*/ 
time_expire: string
/**
*	订单生成时间，格式为yyyyMMddHHmmss，如2009年12月25日9点10分10秒表示为20091225091010。
*/ 
time_start: string
/**
*订单总金额，单位为分，
*/ 
total_fee: number
/**
*SAPI -JSAPI支付
NATIVE -Native支付
APP -APP支付
*/ 
trade_type: string
} 
/**
*微信前面配置接口
*/ 
interface IWxSignData  { 
appId: string
jsApiList: any
nonceStr: string
payData: any
/**
*分享信息
*/ 
shareInfo: any
signature: string
timestamp: string
} 
/**
*公众号微信用户信息
*/ 
interface IWxUserData  { 
/**
*普通用户个人资料填写的城市
*/ 
city: string
/**
*国家，如中国为CN
*/ 
country: string
/**
*用户头像，最后一个数值代表正方形头像大小（有0、46、64、96、132数值可选，0代表640*640正方形头像），用户没有头像时该项为空。若用户更换头像，原有头像URL将失效。
*/ 
headimgurl: string
/**
*用户昵称
*/ 
nickname: string
/**
*	用户的唯一标识
*/ 
openid: string
/**
*用户特权信息，json 数组，如微信沃卡用户为（chinaunicom）
*/ 
privilege: string
/**
*用户个人资料填写的省份
*/ 
province: string
/**
*用户的性别，值为1时是男性，值为2时是女性，值为0时是未知
*/ 
sex: string
/**
*只有在用户将公众号绑定到微信开放平台帐号后，才会出现该字段
*/ 
unionid: string
} 
/**
        *支付回调函数类型
        *@param order 支付订单信息
*@param res 返回的数据
*@param error 当为空时候,是支付完成,否则出错
    
        */ 
declare type WxOrderHanle = (order: IWxOrder,res: any,error: string) => void
/**
*企业微信审批查询过滤类型
*/ 
enum WxCpApprovalInfoQueryFilterKey {
   
/**
*creator
*/ 
creator = "creator",
/**
*审批单提单者所在部门
*/ 
department = "department",
/**
*审批单类型属性
1-请假；2-打卡补卡；3-出差；4-外出；5-加班； 6- 调班；7-会议室预定；8-退款审批；9-红包报销审批
record_type筛选类型仅支持2021/05/31以后新提交的审批单，历史单不支持表单类型属性过滤
*/ 
record_type = "record_type",
/**
*审批状态
1-审批中；2-已通过；3-已驳回；4-已撤销；6-通过后撤销；7-已删除；10-已支
*/ 
sp_status = "sp_status",
/**
*模板类型/模板id
*/ 
template_id = "template_id"
} 
 /**
*审批方式
*/ 
enum WxCpApproverAttr {
   
/**
*会签
*/ 
ALL_SIGN = 2,
/**
*或签
*/ 
ONE_SIGN = 1
} 
 /**
*姓名定义
*/ 
enum WxCpGender {
   
/**
*女
*/ 
FEMALE = "2",
/**
*男
*/ 
MALE = "1",
/**
*未定义
*/ 
UNDEFINED = "0"
} 
 /**
*审批记录(节点)分支审批状态
1-审批中；2-已同意；3-已驳回；4-已转审；11-已退回
*/ 
enum WxCpRecordSpStatus {
   
/**
*审批中
*/ 
AUDITING = 1,
/**
*已同意
*/ 
PASSED = 2,
/**
*已驳回
*/ 
REJECTED = 3,
/**
*已转审
*/ 
TURNED = 4,
/**
*已退回
*/ 
WITHDRAWN = 11
} 
 /**
*审批单状态
1-审批中；2-已通过；3-已驳回；4-已撤销；6-通过后撤销；7-已删除；10-已支付
*/ 
enum WxCpSpStatus {
   
/**
*已支付
*/ 
ALREADY_PAY = 10,
/**
*审批中
*/ 
AUDITING = 1,
/**
*已删除
*/ 
DELETED = 7,
/**
*已通过
*/ 
PASSED = 2,
/**
*通过后撤销
*/ 
PASS_UNDONE = 6,
/**
*已驳回
*/ 
REJECTED = 3,
/**
*已撤销
*/ 
UNDONE = 4
} 
 /**
*企业微信工具组件
签名 获取企业的部门,人员,打卡资料,发送消息给人员
*/ 
class WeComTools  extends InvisibleBase { 

/**
* 企业微信工具封装好的ajax请求;
如果没有存在access_token会自动取请求access_token;
由于浏览器跨域请求限制,该函数会通过后台服务器做代理中转.详细的代理配置见后台文件application-proxy.yml;
所有的 /cgi-bin/* 都会转发到https://qyapi.weixin.qq.com/cgi-bin ;
注意: 该函数只支持https://qyapi.weixin.qq.com/cgi-bin 开头的URL
* @param url  请求地址
* @param type  可选参数. 请求的类型 默认 POST
* @param param  可选参数. 参数对象
* @param async  可选参数. 是否异步请求 默认true, false 为同步方式
* @param callback  可选参数. 完成后的回调函数
```javascript
// api地址 :https://developer.work.weixin.qq.com/document/path/90262
btn.getPage().components.WeComTools1.ajax('https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckindata',
"POST",
{
opencheckindatatype: 3,
starttime: '1648779622',
endtime: '1651285222',
useridlist: ['FengPingXinJing']
},
true,
function (res, err) {
if (Common.isEmpty(err)) {
console.info(JSON.stringify(res));
} else {
console.info(err);
}
})
```

*/ 
ajax(url: string,type: MethodType,param: any,async: boolean,callback: WxCpAjaxHandle): void

/**
* 获取企业微信的access_token
* @param callback  完成回调* @returns 返回accessToken字符串

*/ 
getAccessToken(callback: WxCpAccessTokenHandle): string

/**
*   获取审批申请详情
  企业可通过审批应用或自建应用Secret调用本接口，根据审批单号查询企业微信“审批应用”的审批申请详情。
  API doc : https://work.weixin.qq.com/api/doc/90000/90135/91983
* @param spNo  审批单编号。
* @param callback  可选参数. 完成回调

*/ 
getApprovalDetail(spNo: string,callback: WxApprovalDetailHandle): void

/**
* 批量获取审批单号
* @param startTime  开始时间字符串. 格式:yyyy-MM-dd,yyyy/MM/dd 如: '2022-04-01'
* @param endTime  结束时间字符串. 格式:yyyy-MM-dd,yyyy/MM/dd 如: '2022-04-01'
* @param cursor  分页查询游标，默认为0，后续使用返回的next_cursor进行分页拉取
* @param size  一次请求拉取审批单数量，默认值为100，上限值为100
* @param filters  筛选条件，可对批量拉取的审批申请设置约束条件，支持设置多个条件,
* @param callback  可选参数. 完成回调

*/ 
getApprovalNos(startTime: string,endTime: string,cursor: number,size: number,filters: IWxCpApprovalInfoQueryFilter[],callback: WxApprovalNosHandle): void

/**
* 获取打卡数据
注意:与函数 getCheckinDataEx 功能相识,差别是 startTime ,endTime 是时间类型
* @param openCheckinDataType  打卡类型。1：上下班打卡；2：外出打卡；3：全部打卡
* @param startTime  开始时间 注意这个参数需要是时间类型
* @param endTime  结束时间  注意这个参数需要是时间类型
* @param userIdList  需要获取打卡记录的用户列表 注意这个每次最多能获取100个人的打卡数据 如果需要更多请求分批获取
* @param callback  可选参数.完成回调函数
``` javascript
btn.getPage().components.WeComTools1.getCheckinData(3, new Date('2022-04-01'.replace(/-/g, '/')), new Date('2022-05-01'.replace(/-/g, '/')), ['clover'],
function (data, err) {
if (Common.isEmpty(err)) {
console.info(JSON.stringify(data));
} else {
console.info(err);
}
})
```

*/ 
getCheckinData(openCheckinDataType: number,startTime: Date,endTime: Date,userIdList: string[],callback: WxCpCheckinHandle): void

/**
* 获取打卡数据.
注意:与函数 getCheckinData 功能相识,差别是 startTimeStr ,endTimeStr 是字符串类型
* @param openCheckinDataType  打卡类型。1：上下班打卡；2：外出打卡；3：全部打卡
* @param startTimeStr  开始时间字符串. 格式:yyyy-MM-dd,yyyy/MM/dd 如: '2022-04-01'
* @param endTimeStr  结束时间字符串. 格式:yyyy-MM-dd,yyyy/MM/dd 如: '2022-05-01'
* @param userIdList  需要获取打卡记录的用户列表 注意这个每次最多能获取100个人的打卡数据 如果需要更多请求分批获取
* @param callback  可选参数.完成回调函数
``` javascript
btn.getPage().components.WeComTools1.getCheckinDataEx(3, '2022-04-01', '2022-05-01', ['clover'],
function (data, err) {
if (Common.isEmpty(err)) {
console.info(JSON.stringify(data));
} else {
console.info(err);
}
})
```

*/ 
getCheckinDataEx(openCheckinDataType: number,startTimeStr: string,endTimeStr: string,userIdList: string[],callback: WxCpCheckinHandle): void

/**
* 获取打卡日报数据
* @param startTimeStr  获取日报的开始时间字符串. 格式:yyyy-MM-dd,yyyy/MM/dd 如: '2022-04-01'
* @param endTimeStr  获取日报的结束时间字符串. 格式:yyyy-MM-dd,yyyy/MM/dd 如: '2022-04-01'
* @param userIdList  获取日报的userid列表
* @param callback  可选参数. 完成回调* @returns 日报数据列表 checkin day data

*/ 
getCheckinDayData(startTimeStr: string,endTimeStr: string,userIdList: string[],callback: WxOaHandle): void

/**
* 获取打卡月报数据
API doc: https://developer.work.weixin.qq.com/document/path/93387
* @param startTimeStr  获取月报的开始时间字符串. 格式:yyyy-MM-dd,yyyy/MM/dd 如: '2022-04-01'
* @param endTimeStr  获取月报的结束时间字符串. 格式:yyyy-MM-dd,yyyy/MM/dd 如: '2022-04-01'
* @param userIdList  获取月报的userid列表
* @param callback  可选参数. 完成回调* @returns 月报数据列表

*/ 
getCheckinMonthData(startTimeStr: string,endTimeStr: string,userIdList: string[],callback: WxOaHandle): void

/**
*   获取打卡规则
  API doc : https://work.weixin.qq.com/api/doc#90000/90135/90263
* @param datetime  需要获取规则的当天日期 需要获取规则的日期当天0点的Unix时间戳
* @param callback  可选参数. 完成回调

*/ 
getCheckinOption(datetime: Date,callback: WxApprovalDetailHandle): void

/**
* 获取部门
官方API:https://work.weixin.qq.com/api/doc#90000/90135/90208
* @param depid  可选参数.  部门id
* @param callback  完成回调
``` javascript
btn.getPage().components.WeComTools1.getDeparts(null, function (data, err) {
if (Common.isEmpty(err)) {
console.info(JSON.stringify(data));
} else {
console.info(err);
}
})
```

*/ 
getDeparts(depid: number,callback: WxCpDepartsHandle): void

/**
* 获取人员信息
官方API:https://work.weixin.qq.com/api/doc/90000/90135/90201
* @param depid  必填。部门id
* @param fetchChild  可选参数。1/0：是否递归获取子部门下面的成员 默认值:0
* @param status  可选参数。0获取全部员工，1获取已关注成员列表，2获取禁用成员列表，4获取未关注成员列表。status可叠加 默认值:0
* @param callback  可选参数. 完成回调
例子:
``` javascript
btn.getPage().components.WeComTools1.getUserByDeptId(1,true,0, function (data, err) {
if (Common.isEmpty(err)) {
console.info(JSON.stringify(data));
} else {
console.info(err);
}
})
```

*/ 
getUserByDeptId(depid: number,fetchChild: boolean,status: number,callback: WxCpPersionInfoHandle): void

/**
* 刷新企业微信的access_token
在access_token过期后调用
* @param callback  完成回调* @returns 返回accessToken字符串

*/ 
refreshAccessToken(callback: WxCpAccessTokenHandle): string

/**
* 发送消息
* @param message  要发送的消息对象
* @param callback  完成回调

*/ 
sendMessage(message: IWxCpMessage,callback: WxMessageHandle): void

/**
* 发送消息给部门
* @param deptIds  指定接收消息部门ID列表，最多支持100个。
* @param msgContent  消息内容
* @param callback  完成回调

*/ 
sendMessageToDept(deptIds: string[],msgContent: string,callback: WxMessageHandle): void

/**
* 发送消息给标签. 也就是'@'消息给特定人群
* @param tags  指定接收消息的tag 人员ID列表，最多支持100个。
* @param msgContent  消息内容
* @param callback  完成回调

*/ 
sendMessageToTags(tags: string[],msgContent: string,callback: WxMessageHandle): void

/**
* 发送消息给用户
* @param userIds  指定接收消息的成员，成员ID列表（最多支持1000个） 特殊情况：指定为"@all"，则向该企业应用的全部成员发送
* @param msgContent  消息内容
* @param callback  完成回调

*/ 
sendMessageToUser(userIds: string[],msgContent: string,callback: WxMessageHandle): void

} 
/**
*审批数据内容
*/ 
interface IApplyDataContent  { 
/**
*控件类型：Text-文本；Textarea-多行文本；Number-数字；Money-金额；Date-日期/日期+时间；
Selector-单选/多选；；Contact-成员/部门；Tips-说明文字；File-附件；Table-明细；
*/ 
control: string
/**
*控件id：控件的唯一id，可通过“获取审批模板详情”接口获取
*/ 
id: string
/**
*控件标题
*/ 
titles: any
/**
*控件值 ，需在此为申请人在各个控件中填写内容不同控件有不同的赋值参数，具体说明详见附录。模板配置的控件属性为必填时，对应value值需要有值。
*/ 
value: any
} 
/**
*企业微信申请人信息
*/ 
interface IWxCpApprovalApplier  { 
/**
*申请人所在部门id
*/ 
partyid: string
/**
*申请人userid
*/ 
userid: string
} 
/**
* 企业微信审批备注
*/ 
interface IWxCpApprovalComment  { 
/**
*备注文本内容
*/ 
commentContent: string
/**
*备注id
*/ 
commentId: string
/**
*备注提交时间戳，Unix时间戳
*/ 
commentTime: number
/**
*备注人信息
*/ 
commentUserInfo: IWxCpOperator
/**
*备注附件id，可能有多个
*/ 
mediaIds: string[]
} 
/**
*审批单详细信息
*/ 
interface IWxCpApprovalDetail  { 
/**
*申请人信息
*/ 
applier: IWxCpApprovalApplier
/**
*审批申请数据
*/ 
applyData: IApplyDataContent[]
/**
*审批申请提交时间,Unix时间戳
*/ 
applyTime: number
/**
*审批申请备注信息，可能有多个备注节点
*/ 
comments: IWxCpApprovalComment[]
/**
*抄送信息，可能有多个抄送节点
*/ 
notifiers: IWxCpOperator[]
/**
*审批申请类型名称（审批模板名称）
*/ 
spName: string
/**
*审批编号
*/ 
spNo: string
/**
*审批流程信息，可能有多个审批节点
*/ 
spRecords: IWxCpApprovalRecord[]
/**
*申请单状态：1-审批中；2-已通过；3-已驳回；4-已撤销；6-通过后撤销；7-已删除；10-已支付
*/ 
spStatus: WxCpSpStatus
/**
*审批模板id。可在“获取审批申请详情”、“审批状态变化回调通知”中获得，也可在审批模板的模板编辑页面链接中获得。
*/ 
templateId: string
} 
/**
*审批申请详情响应结果结果
错误说明:
 301055	无审批应用数据拉取权限
 301025	请求参数错误
 301026	批量拉取审批单内部接口失败
*/ 
interface IWxCpApprovalDetailResult  { 
/**
*错误号
*/ 
errCode: number
/**
*错误信息
*/ 
errMsg: string
/**
*审批单详细信息
*/ 
info: IWxCpApprovalDetail
} 
/**
*获取企业微信审批单号结果
错误说明:
 301055	无审批应用数据拉取权限
 301025	请求参数错误
 301026	批量拉取审批单内部接口失败
*/ 
interface IWxCpApprovalInfo  { 
/**
*错误号
*/ 
errCode: number
/**
*错误信息
*/ 
errMsg: string
/**
*后续请求查询的游标，当返回结果没有该字段时表示审批单已经拉取完
*/ 
nextCursor: number
/**
*审批单号数组
*/ 
spNoList: string[]
} 
/**
*企业微信的审批单过滤条件
不同类型的筛选条件之间为“与”的关系，同类型筛选条件之间为“或”的关系
*/ 
interface IWxCpApprovalInfoQueryFilter  { 
key: WxCpApprovalInfoQueryFilterKey
value: string
} 
/**
*审批流程信息，可能有多个审批节点
*/ 
interface IWxCpApprovalRecord  { 
/**
*审批信息
*/ 
approverAttr: WxCpApproverAttr
/**
*明细
*/ 
details: IWxCpApprovalRecordDetail
/**
* 审批状态
*/ 
status: WxCpRecordSpStatus
} 
/**
*审批节点详情
*/ 
interface IWxCpApprovalRecordDetail  { 
/**
*分支审批人
*/ 
approver: IWxCpOperator
/**
*节点分支审批人审批意见附件
*/ 
mediaIds: string[]
/**
*分支审批人审批状态
*/ 
spStatus: WxCpRecordSpStatus
/**
*节点分支审批人审批操作时间戳，0表示未操作
*/ 
spTime: number
/**
*审批意见
*/ 
speech: string
} 
/**
*企业微信的额外属性
*/ 
interface IWxCpAttr  { 
name: string
textValue: string
/**
*属性类型: 0-文本 1-网页
*/ 
type: number
webTitle: string
webUrl: string
} 
/**
*企业微信的打卡数据
*/ 
interface IWxCpCheckinData  { 
/**
*checkin_time	打卡时间。Unix时间戳
*/ 
checkinTime: Number
/**
*checkin_type	打卡类型。字符串，目前有：上班打卡，下班打卡，外出打卡
*/ 
checkinType: String
/**
*deviceid	打卡设备id
*/ 
deviceId: String
/**
*exception_type	异常类型，字符串，包括：时间异常，地点异常，未打卡，wifi异常，非常用设备。如果有多个异常，以分号间隔
*/ 
exceptionType: String
/**
*规则id，表示打卡记录所属规则的id
*/ 
groupId: Number
/**
*groupname	打卡规则名称
*/ 
groupName: String
/**
*lat	位置打卡地点纬度，是实际纬度的1000000倍，与腾讯地图一致采用GCJ-02坐标系统标准
*/ 
lat: Number
/**
*lng	位置打卡地点经度，是实际经度的1000000倍，与腾讯地图一致采用GCJ-02坐标系统标准
*/ 
lng: Number
/**
*location_detail	打卡地点详情
*/ 
locationDetail: String
/**
*location_title	打卡地点title
*/ 
locationTitle: String
/**
*mediaids	打卡的附件media_id，可使用media/get获取附件
*/ 
mediaIds: String[]
/**
*notes	打卡备注
*/ 
notes: String
/**
*标准打卡时间，指此次打卡时间对应的标准上班时间或标准下班时间
*/ 
schCheckinTime: Number
/**
*班次id，表示打卡记录所属规则中，所属班次的id
*/ 
scheduleId: Number
/**
*时段id，表示打卡记录所属规则中，某一班次中的某一时段的id，如上下班时间为9:00-12:00、13:00-18:00的班次中，9:00-12:00为其中一组时段
*/ 
timelineId: Number
/**
*userid	用户id
*/ 
userId: String
/**
*wifimac	打卡的MAC地址/bssid
*/ 
wifiMac: String
/**
*wifiname	打卡wifi名称
*/ 
wifiName: String
} 
/**
*企业微信的部门
*/ 
interface IWxCpDepart  { 
/**
*部门领导
*/ 
departmentLeader: String[]
/**
*英文名
*/ 
enName: String
/**
*部门id
*/ 
id: Number
/**
*名称
*/ 
name: String
/**
*排序
*/ 
order: Number
/**
*父部门id
*/ 
parentId: Number
} 
/**
*额外的成员属性
*/ 
interface IWxCpExternalAttribute  { 
/**
*小程序appid，必须是有在本企业安装授权的小程序，否则会被忽略.
*/ 
appid: string
/**
*属性名称： 需要先确保在管理端有创建改属性，否则会忽略.
*/ 
name: string
/**
*小程序的页面路径.
*/ 
pagePath: string
/**
*小程序的展示标题,长度限制12个UTF8字符.
或者 网页的展示标题,长度限制12个UTF8字符
*/ 
title: string
/**
*属性类型: 0-本文 1-网页 2-小程序.
*/ 
type: number
/**
*网页的url,必须包含http或者https头.
*/ 
url: string
/**
*文本属性内容,长度限制12个UTF8字符.
*/ 
value: string
} 
/**
*企业微信发送消息
*/ 
interface IWxCpMessage  { 
/**
*消息内容，最长不超过2048个字节，超过将截断（支持id转译
*/ 
content: string
/**
*可选参数. 表示是否开启重复消息检查，0表示否，1表示是，默认0
*/ 
duplicate_check_interval: number
/**
*可选参数. 表示是否开启重复消息检查，0表示否，1表示是，默认0
*/ 
enable_duplicate_check: number
/**
*	可选参数. 表示是否开启id转译，0表示否，1表示是，默认0。仅第三方应用需要用到，企业自建应用可以忽略。
*/ 
enable_id_trans: number
/**
* 消息类型，此时固定为：text
*/ 
msgtype: string
/**
*可选参数. 表示是否是保密消息，0表示可对外分享，1表示不能分享且内容显示水印，默认为0
*/ 
safe: string
/**
*可选参数. 指定接收消息的部门，部门ID列表，多个接收者用‘|’分隔，最多支持100个。当touser为"@all"时忽略本参数
*/ 
toparty: string
/**
*可选参数.指定接收消息的标签，标签ID列表，多个接收者用‘|’分隔，最多支持100个。当touser为"@all"时忽略本参数
*/ 
totag: string
/**
*可选参数. 指定接收消息的成员，成员ID列表（多个接收者用‘|’分隔，最多支持1000个）。特殊情况：指定为"@all"，则向该企业应用的全部成员发送
*/ 
touser: string
} 
/**
*企业微信操作人
*/ 
interface IWxCpOperator  { 
/**
*申请人userid
*/ 
userid: string
} 
/**
*企业微信的用户数据接口
*/ 
interface IWxCpUserData  { 
/**
*地址。长度最大128个字符
*/ 
address: string
/**
*别名；第三方仅通讯录应用可获取
*/ 
alias: string
/**
*头像url。注：如果要获取小图将url最后的"/0"改成"/64"即可
*/ 
avatar: string
avatarMediaId: string
/**
*成员所属部门id列表
*/ 
departIds: number[]
directLeader: string[]
/**
*邮件地址
*/ 
email: string
enable: number
englishName: string
/**
*扩展属性。第三方仅通讯录套件可获取
扩展属性需要在WEB管理端创建后才生效，否则忽略未知属性的赋值
*/ 
extAttrs: IWxCpAttr[]
/**
*成员对外信息.
*/ 
externalAttrs: IWxCpExternalAttribute[]
externalCorpName: string
externalPosition: string
/**
*性别。0表示未定义，1表示男性，2表示女性
*/ 
gender: WxCpGender
hideMobile: number
isLeader: number
/**
*is_leader_in_dept.
个数必须和department一致，表示在所在的部门内是否为上级。1表示为上级，0表示非上级。在审批等应用里可以用来标识上级审批人
*/ 
isLeaderInDept: number[]
mainDepartment: string
/**
*手机号码。第三方仅通讯录套件可获取
*/ 
mobile: string
/**
*姓名
*/ 
name: string
/**
*新的用户ID
*/ 
newUserId: string
/**
*全局唯一。对于同一个服务商，不同应用获取到企业内同一个成员的open_userid是相同的，最多64个字节。仅第三方应用可获取
*/ 
openUserId: string
/**
*排序
*/ 
orders: number[]
/**
*职位信息
*/ 
position: string
/**
*职位信息列表
*/ 
positions: string[]
qrCode: string
/**
*关注状态: 1=已关注，2=已冻结，4=未关注
*/ 
status: number
telephone: string
thumbAvatar: string
toInvite: Boolean
/**
*成员UserID。对应管理端的帐号
*/ 
userId: string
wechatChannels: IWxCpWechatChannels[]
} 
/**
*微信通道
*/ 
interface IWxCpWechatChannels  { 
/**
*kikename
*/ 
nickname: string
/**
*状态
*/ 
status: number
} 
/**
        *获取审批申请详情回调
        *@param detail 审批单详情
*@param err 错误信息, 调用成功err为空,否则返回错误信息
    
        */ 
declare type WxApprovalDetailHandle = (detail: IWxCpApprovalInfo,err: string) => void
/**
        *获取审批单的的回调
        *@param approvinfo 审批单结果
*@param err 错误信息, 调用成功err为空,否则返回错误信息
    
        */ 
declare type WxApprovalNosHandle = (approvinfo: IWxCpApprovalInfo,err: string) => void
/**
        *获取AccessToken的回调
        *@param accessToken access_token字符串
*@param err 错误信息, 调用成功err为空,否则返回错误信息
    
        */ 
declare type WxCpAccessTokenHandle = (accessToken: string,err: string) => void
/**
        *原生ajax请求
        *@param res 返回的数据
*@param err 错误信息, 调用成功err为空,否则返回错误信息
    
        */ 
declare type WxCpAjaxHandle = (res: any,err: any) => void
/**
        *打卡数据的回调类型
        *@param data 打卡数据数组
*@param err 错误信息, 调用成功err为空,否则返回错误信息
    
        */ 
declare type WxCpCheckinHandle = (data: IWxCpCheckinData[],err: string) => void
/**
        *获取部门信息的回调类型
        *@param data 部门数据数组
*@param err 错误信息, 调用成功err为空,否则返回错误信息
    
        */ 
declare type WxCpDepartsHandle = (data: IWxCpDepart[],err: string) => void
/**
        *人员信息的回调类型
        *@param data 人员信息数组
*@param err 错误信息, 调用成功err为空,否则返回错误信息
    
        */ 
declare type WxCpPersionInfoHandle = (data: IWxCpUserData[],err: string) => void
/**
        *消息发送回调
        *@param result 返回的结果
*@param err 错误信息, 调用成功err为空,否则返回错误信息
    
        */ 
declare type WxMessageHandle = (result: any,err: string) => void
/**
        *OA 回调
        *@param result 返回的结果
*@param err 错误信息, 调用成功err为空,否则返回错误信息
    
        */ 
declare type WxOaHandle = (result: any,err: string) => void
/**
*播放视频组件
依赖: ckPlayer.js
*/ 
class YhPlayer  extends ContainerBase { 

} 
/**
*html编辑组件
*/ 
class WangEditor  extends InputBase { 

/**
* 设置组件的值
* @param value  值

*/ 
setValue(value: string): void

} 
// tslint:disable:jsdoc-format
// tslint:disable:max-line-length
// tslint:disable:no-irregular-whitespace

interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
    /**
     * A string containing the jQuery version number.
     * @see \`{@link https://api.jquery.com/jquery-2/#jquery1 }\`
     * @since 1.0
     * @example ​ ````Determine if an object is a jQuery object
```javascript
var a = { what: "A regular JS object" },
  b = $( "body" );
​
if ( a.jquery ) { // Falsy, since it's undefined
  alert( "a is a jQuery object!" );
}
​
if ( b.jquery ) { // Truthy, since it's a string
    alert( "b is a jQuery object!" );
}
```
     * @example ​ ````Get the current version of jQuery running on the page
```javascript
alert( "You are running jQuery version: " + $.fn.jquery );
```
     */
    jquery: string;
    /**
     * The number of elements in the jQuery object.
     * @see \`{@link https://api.jquery.com/length/ }\`
     * @since 1.0
     * @example ​ ````Count the divs.  Click to add more.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>length demo</title>
  <style>
  body {
    cursor: pointer;
  }
  div {
    width: 50px;
    height: 30px;
    margin: 5px;
    float: left;
    background: green;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​<span></span>
  <div></div>​
<script>
$( document.body )
  .click(function() {
    $( document.body ).append( $( "<div>" ) );
    var n = $( "div" ).length;
    $( "span" ).text( "There are " + n + " divs." +
      "Click to add more.");
  })
  // Trigger the click to start
  .trigger( "click" );
</script>
​
</body>
</html>
```
     */
    length: number;
    /**
     * Create a new jQuery object with elements added to the set of matched elements.
     * @param selector A string representing a selector expression to find additional elements to add to the set of matched elements.
     * @param context The point in the document at which the selector should begin matching; similar to the context
     *                argument of the $(selector, context) method.
     * @see \`{@link https://api.jquery.com/add/ }\`
     * @since 1.4
     */
    add(selector: JQuery.Selector, context: Element): this;
    // TODO: The return type should reflect newly selected types.
    /**
     * Create a new jQuery object with elements added to the set of matched elements.
     * @param selector_elements_html_selection _&#x40;param_ `selector_elements_html_selection`
     * <br>
     * * `selector` — A string representing a selector expression to find additional elements to add to the set of matched elements. <br>
     * * `elements` — One or more elements to add to the set of matched elements. <br>
     * * `html` — An HTML fragment to add to the set of matched elements. <br>
     * * `selection` — An existing jQuery object to add to the set of matched elements.
     * @see \`{@link https://api.jquery.com/add/ }\`
     * @since 1.0
     * @since 1.3.2
     * @example ​ ````Finds all divs and makes a border.  Then adds all paragraphs to the jQuery object to set their backgrounds yellow.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>add demo</title>
  <style>
  div {
    width: 60px;
    height: 60px;
    margin: 10px;
    float: left;
  }
  p {
    clear: left;
    font-weight: bold;
    font-size: 16px;
    color: blue;
    margin: 0 10px;
    padding: 2px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
​
<p>Added this... (notice no border)</p>
​
<script>
$( "div" ).css( "border", "2px solid red" )
  .add( "p" )
  .css( "background", "yellow" );
</script>
​
</body>
</html>
```
     * @example ​ ````Adds more elements, matched by the given expression, to the set of matched elements.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>add demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<span>Hello Again</span>
​
<script>
$( "p" ).add( "span" ).css( "background", "yellow" );
</script>
​
</body>
</html>
```
     * @example ​ ````Adds more elements, created on the fly, to the set of matched elements.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>add demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
​
<script>
$( "p" ).clone().add( "<span>Again</span>" ).appendTo( document.body );
</script>
​
</body>
</html>
```
     * @example ​ ````Adds one or more Elements to the set of matched elements.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>add demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<span id="a">Hello Again</span>
​
<script>
$( "p" ).add( document.getElementById( "a" ) ).css( "background", "yellow" );
</script>
​
</body>
</html>
```
     * @example ​ ````Demonstrates how to add (or push) elements to an existing collection
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>add demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<span id="a">Hello Again</span>
​
<script>
var collection = $( "p" );
// Capture the new collection
collection = collection.add( document.getElementById( "a" ) );
collection.css( "background", "yellow" );
</script>
​
</body>
</html>
```
     */
    add(selector_elements_html_selection: JQuery.Selector | JQuery.TypeOrArray<Element> | JQuery.htmlString | JQuery | JQuery.Node): this;
    /**
     * Add the previous set of elements on the stack to the current set, optionally filtered by a selector.
     * @param selector A string containing a selector expression to match the current set of elements against.
     * @see \`{@link https://api.jquery.com/addBack/ }\`
     * @since 1.8
     * @example ​ ````The .addBack() method causes the previous set of DOM elements in the traversal stack to be added to the current set. In the first example, the top stack contains the set resulting from .find(&quot;p&quot;). In the second example, .addBack() adds the previous set of elements on the stack — in this case $(&quot;div.after-addback&quot;) — to the current set, selecting both the div and its enclosed paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>addBack demo</title>
  <style>
  p, div {
    margin: 5px;
    padding: 5px;
  }
  .border {
    border: 2px solid red;
  }
  .background {
    background: yellow;
  }
  .left, .right {
    width: 45%;
    float: left;
  }
  .right {
    margin-left: 3%;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="left">
  <p><strong>Before <code>addBack()</code></strong></p>
  <div class="before-addback">
    <p>First Paragraph</p>
    <p>Second Paragraph</p>
  </div>
</div>
<div class="right">
  <p><strong>After <code>addBack()</code></strong></p>
  <div class="after-addback">
    <p>First Paragraph</p>
    <p>Second Paragraph</p>
  </div>
</div>
​
<script>
$( "div.left, div.right" ).find( "div, div > p" ).addClass( "border" );
​
// First Example
$( "div.before-addback" ).find( "p" ).addClass( "background" );
​
// Second Example
$( "div.after-addback" ).find( "p" ).addBack().addClass( "background" );
</script>
​
</body>
</html>
```
     */
    addBack(selector?: JQuery.Selector): this;
    /**
     * Adds the specified class(es) to each element in the set of matched elements.
     * @param className_function _&#x40;param_ `className_function`
     * <br>
     * * `className` — One or more space-separated classes to be added to the class attribute of each matched element. <br>
     * * `function` — A function returning one or more space-separated class names to be added to the existing class
     *                name(s). Receives the index position of the element in the set and the existing class name(s) as
     *                arguments. Within the function, `this` refers to the current element in the set.
     * @see \`{@link https://api.jquery.com/addClass/ }\`
     * @since 1.0
     * @since 1.4
     * @since 3.3
     * @example ​ ````Add the class &quot;selected&quot; to the matched elements.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>addClass demo</title>
  <style>
  p {
    margin: 8px;
    font-size: 16px;
  }
  .selected {
    color: blue;
  }
  .highlight {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>and</p>
<p>Goodbye</p>
​
<script>
$( "p" ).last().addClass( "selected" );
</script>
​
</body>
</html>
```
     * @example ​ ````Add the classes &quot;selected&quot; and &quot;highlight&quot; to the matched elements.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>addClass demo</title>
  <style>
  p {
    margin: 8px;
    font-size: 16px;
  }
  .selected {
    color: red;
  }
  .highlight {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>and</p>
<p>Goodbye</p>
​
<script>
$( "p:last" ).addClass( "selected highlight" );
</script>
​
</body>
</html>
```
     * @example ​ ````Pass in a function to .addClass() to add the &quot;green&quot; class to a div that already has a &quot;red&quot; class.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>addClass demo</title>
  <style>
  div {
    background: white;
  }
  .red {
    background: red;
  }
  .red.green {
    background: green;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
 <div>This div should be white</div>
 <div class="red">This div will be green because it now has the "green" and "red" classes.
   It would be red if the addClass function failed.</div>
 <div>This div should be white</div>
 <p>There are zero green divs</p>
​
<script>
$( "div" ).addClass(function( index, currentClass ) {
  var addedClass;
​
  if ( currentClass === "red" ) {
    addedClass = "green";
    $( "p" ).text( "There is one green div" );
  }
​
  return addedClass;
});
</script>
​
</body>
</html>
```
     */
    addClass(className_function: JQuery.TypeOrArray<string> | ((this: TElement, index: number, currentClassName: string) => string)): this;
    /**
     * Insert content, specified by the parameter, after each element in the set of matched elements.
     * @param contents One or more additional DOM elements, text nodes, arrays of elements and text nodes, HTML strings, or
     *                 jQuery objects to insert after each element in the set of matched elements.
     * @see \`{@link https://api.jquery.com/after/ }\`
     * @since 1.0
     * @example ​ ````Inserts some HTML after all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>after demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>I would like to say: </p>
​
<script>
$( "p" ).after( "<b>Hello</b>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Inserts a DOM element after all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>after demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>I would like to say: </p>
​
<script>
$( "p" ).after( document.createTextNode( "Hello" ) );
</script>
​
</body>
</html>
```
     * @example ​ ````Inserts a jQuery object (similar to an Array of DOM Elements) after all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>after demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<b>Hello</b>
<p>I would like to say: </p>
​
<script>
$( "p" ).after( $( "b" ) );
</script>
​
</body>
</html>
```
     */
    after(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>>): this;
    /**
     * Insert content, specified by the parameter, after each element in the set of matched elements.
     * @param function_functionｰhtml _&#x40;param_ `function_functionｰhtml`
     * <br>
     * * `function` — A function that returns an HTML string, DOM element(s), text node(s), or jQuery object to insert
     *                after each element in the set of matched elements. Receives the index position of the element in the
     *                set as an argument. Within the function, `this` refers to the current element in the set. <br>
     * * `functionｰhtml` — A function that returns an HTML string, DOM element(s), text node(s), or jQuery object to insert
     *                     after each element in the set of matched elements. Receives the index position of the element in the
     *                     set and the old HTML value of the element as arguments. Within the function, `this` refers to the
     *                     current element in the set.
     * @see \`{@link https://api.jquery.com/after/ }\`
     * @since 1.4
     * @since 1.10
     */
    after(function_functionｰhtml: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>): this;
    /**
     * Register a handler to be called when Ajax requests complete. This is an AjaxEvent.
     * @param handler The function to be invoked.
     * @see \`{@link https://api.jquery.com/ajaxComplete/ }\`
     * @since 1.0
     * @example ​ ````Show a message when an Ajax request completes.
```javascript
$( document ).ajaxComplete(function( event, request, settings ) {
  $( "#msg" ).append( "<li>Request Complete.</li>" );
});
```
     */
    ajaxComplete(handler: (this: Document,
                           event: JQuery.TriggeredEvent<Document, undefined, Document, Document>,
                           jqXHR: JQuery.jqXHR,
                           ajaxOptions: JQuery.AjaxSettings) => void | false): this;
    /**
     * Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.
     * @param handler The function to be invoked.
     * @see \`{@link https://api.jquery.com/ajaxError/ }\`
     * @since 1.0
     * @example ​ ````Show a message when an Ajax request fails.
```javascript
$( document ).ajaxError(function( event, request, settings ) {
  $( "#msg" ).append( "<li>Error requesting page " + settings.url + "</li>" );
});
```
     */
    ajaxError(handler: (this: Document,
                        event: JQuery.TriggeredEvent<Document, undefined, Document, Document>,
                        jqXHR: JQuery.jqXHR,
                        ajaxSettings: JQuery.AjaxSettings,
                        thrownError: string) => void | false): this;
    /**
     * Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.
     * @param handler The function to be invoked.
     * @see \`{@link https://api.jquery.com/ajaxSend/ }\`
     * @since 1.0
     * @example ​ ````Show a message before an Ajax request is sent.
```javascript
$( document ).ajaxSend(function( event, request, settings ) {
  $( "#msg" ).append( "<li>Starting request at " + settings.url + "</li>" );
});
```
     */
    ajaxSend(handler: (this: Document,
                       event: JQuery.TriggeredEvent<Document, undefined, Document, Document>,
                       jqXHR: JQuery.jqXHR,
                       ajaxOptions: JQuery.AjaxSettings) => void | false): this;
    /**
     * Register a handler to be called when the first Ajax request begins. This is an Ajax Event.
     * @param handler The function to be invoked.
     * @see \`{@link https://api.jquery.com/ajaxStart/ }\`
     * @since 1.0
     * @example ​ ````Show a loading message whenever an Ajax request starts (and none is already active).
```javascript
$( document ).ajaxStart(function() {
  $( "#loading" ).show();
});
```
     */
    ajaxStart(handler: (this: Document) => void | false): this;
    /**
     * Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.
     * @param handler The function to be invoked.
     * @see \`{@link https://api.jquery.com/ajaxStop/ }\`
     * @since 1.0
     * @example ​ ````Hide a loading message after all the Ajax requests have stopped.
```javascript
$( document ).ajaxStop(function() {
  $( "#loading" ).hide();
});
```
     */
    ajaxStop(handler: (this: Document) => void | false): this;
    /**
     * Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.
     * @param handler The function to be invoked.
     * @see \`{@link https://api.jquery.com/ajaxSuccess/ }\`
     * @since 1.0
     * @example ​ ````Show a message when an Ajax request completes successfully.
```javascript
$( document ).ajaxSuccess(function( event, request, settings ) {
  $( "#msg" ).append( "<li>Successful Request!</li>" );
});
```
     */
    ajaxSuccess(handler: (this: Document,
                          event: JQuery.TriggeredEvent<Document, undefined, Document, Document>,
                          jqXHR: JQuery.jqXHR,
                          ajaxOptions: JQuery.AjaxSettings,
                          data: JQuery.PlainObject) => void | false): this;
    /**
     * Perform a custom animation of a set of CSS properties.
     * @param properties An object of CSS properties and values that the animation will move toward.
     * @param duration A string or number determining how long the animation will run.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/animate/ }\`
     * @since 1.0
     * @example ​ ````An example of using an &#39;easing&#39; function to provide a different style of animation. This will only work if you have a plugin that provides this easing function.  Note, this code will do nothing unless the paragraph element is hidden.
```javascript
$( "p" ).animate({
  opacity: "show"
}, "slow", "easein" );
```
     * @example ​ ````Animate all paragraphs and execute a callback function when the animation is complete.  The first argument is an object of CSS properties, the second specifies that the animation should take 1000 milliseconds to complete, the third states the easing type, and the fourth argument is an anonymous callback function.
```javascript
$( "p" ).animate({
  height: 200,
  width: 400,
  opacity: 0.5
}, 1000, "linear", function() {
  alert( "all done" );
});
```
     */
    animate(properties: JQuery.PlainObject,
            duration: JQuery.Duration,
            easing: string,
            complete?: (this: TElement) => void): this;
    /**
     * Perform a custom animation of a set of CSS properties.
     * @param properties An object of CSS properties and values that the animation will move toward.
     * @param duration_easing _&#x40;param_ `duration_easing`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/animate/ }\`
     * @since 1.0
     * @example ​ ````Click the button to animate the div with a number of different properties.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>animate demo</title>
  <style>
  div {
    background-color: #bca;
    width: 100px;
    border: 1px solid green;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="go">&raquo; Run</button>
<div id="block">Hello!</div>
​
<script>
// Using multiple unit types within one animation.
​
$( "#go" ).click(function() {
  $( "#block" ).animate({
    width: "70%",
    opacity: 0.4,
    marginLeft: "0.6in",
    fontSize: "3em",
    borderWidth: "10px"
  }, 1500 );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Animates a div&#39;s left property with a relative value. Click several times on the buttons to see the relative animations queued up.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>animate demo</title>
  <style>
  div {
    position: absolute;
    background-color: #abc;
    left: 50px;
    width: 90px;
    height: 90px;
    margin: 5px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="left">&laquo;</button>
<button id="right">&raquo;</button>
<div class="block"></div>
​
<script>
$( "#right" ).click(function() {
  $( ".block" ).animate({ "left": "+=50px" }, "slow" );
});
​
$( "#left" ).click(function(){
  $( ".block" ).animate({ "left": "-=50px" }, "slow" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Animate all paragraphs to toggle both height and opacity, completing the animation within 600 milliseconds.
```javascript
$( "p" ).animate({
  height: "toggle",
  opacity: "toggle"
}, "slow" );
```
     * @example ​ ````Animate all paragraphs to a left style of 50 and opacity of 1 (opaque, visible), completing the animation within 500 milliseconds.
```javascript
$( "p" ).animate({
  left: 50,
  opacity: 1
}, 500 );
```
     */
    animate(properties: JQuery.PlainObject,
            duration_easing: JQuery.Duration | string,
            complete?: (this: TElement) => void): this;
    /**
     * Perform a custom animation of a set of CSS properties.
     * @param properties An object of CSS properties and values that the animation will move toward.
     * @param options A map of additional options to pass to the method.
     * @see \`{@link https://api.jquery.com/animate/ }\`
     * @since 1.0
     * @example ​ ````The first button shows how an unqueued animation works.  It expands the div out to 90% width while the font-size is increasing. Once the font-size change is complete, the border animation will begin.

The second button starts a traditional chained animation, where each animation will start once the previous animation on the element has completed.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>animate demo</title>
  <style>
  div {
    background-color: #bca;
    width: 200px;
    height: 1.1em;
    text-align: center;
    border: 2px solid green;
    margin: 3px;
    font-size: 14px;
  }
  button {
    font-size: 14px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="go1">&raquo; Animate Block1</button>
<button id="go2">&raquo; Animate Block2</button>
<button id="go3">&raquo; Animate Both</button>
<button id="go4">&raquo; Reset</button>
<div id="block1">Block1</div>
<div id="block2">Block2</div>
​
<script>
$( "#go1" ).click(function() {
  $( "#block1" )
    .animate({
      width: "90%"
    }, {
      queue: false,
      duration: 3000
    })
    .animate({ fontSize: "24px" }, 1500 )
    .animate({ borderRightWidth: "15px" }, 1500 );
});
​
$( "#go2" ).click(function() {
  $( "#block2" )
    .animate({ width: "90%" }, 1000 )
    .animate({ fontSize: "24px" }, 1000 )
    .animate({ borderLeftWidth: "15px" }, 1000 );
});
​
$( "#go3" ).click(function() {
  $( "#go1" ).add( "#go2" ).click();
});
​
$( "#go4" ).click(function() {
  $( "div" ).css({
    width: "",
    fontSize: "",
    borderWidth: ""
  });
});
</script>
​
</body>
</html>
```
     * @example ​ ````Animates the first div&#39;s left property and synchronizes the remaining divs, using the step function to set their left properties at each stage of the animation.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>animate demo</title>
  <style>
  div {
    position: relative;
    background-color: #abc;
    width: 40px;
    height: 40px;
    float: left;
    margin: 5px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><button id="go">Run »</button></p>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
​
<script>
$( "#go" ).click(function() {
  $( ".block:first" ).animate({
    left: 100
  }, {
    duration: 1000,
    step: function( now, fx ){
      $( ".block:gt(0)" ).css( "left", now );
    }
  });
});
</script>
​
</body>
</html>
```
     * @example ​ ````Animate the left and opacity style properties of all paragraphs; run the animation outside the queue, so that it will automatically start without waiting for its turn.
```javascript
$( "p" ).animate({
  left: "50px",
  opacity: 1
}, {
  duration: 500,
  queue: false
});
```
     * @example ​ ````Animates all paragraphs to toggle both height and opacity, completing the animation within 600 milliseconds.
```javascript
$( "p" ).animate({
  height: "toggle",
  opacity: "toggle"
}, {
  duration: "slow"
});
```
     * @example ​ ````Use an easing function to provide a different style of animation. This will only work if you have a plugin that provides this easing function.
```javascript
$( "p" ).animate({
  opacity: "show"
}, {
  duration: "slow",
  easing: "easein"
});
```
     */
    animate(properties: JQuery.PlainObject,
            options: JQuery.EffectsOptions<TElement>): this;
    /**
     * Perform a custom animation of a set of CSS properties.
     * @param properties An object of CSS properties and values that the animation will move toward.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/animate/ }\`
     * @since 1.0
     */
    animate(properties: JQuery.PlainObject,
            complete?: (this: TElement) => void): this;
    /**
     * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
     * @param contents One or more additional DOM elements, text nodes, arrays of elements and text nodes, HTML strings, or
     *                 jQuery objects to insert at the end of each element in the set of matched elements.
     * @see \`{@link https://api.jquery.com/append/ }\`
     * @since 1.0
     * @example ​ ````Appends some HTML to all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>append demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>I would like to say: </p>
​
<script>
$( "p" ).append( "<strong>Hello</strong>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Appends an Element to all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>append demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>I would like to say: </p>
​
<script>
$( "p" ).append( document.createTextNode( "Hello" ) );
</script>
​
</body>
</html>
```
     * @example ​ ````Appends a jQuery object (similar to an Array of DOM Elements) to all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>append demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<strong>Hello world!!!</strong>
<p>I would like to say: </p>
​
<script>
$( "p" ).append( $( "strong" ) );
</script>
​
</body>
</html>
```
     */
    append(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>>): this;
    /**
     * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
     * @param funсtion A function that returns an HTML string, DOM element(s), text node(s), or jQuery object to insert at
     *                 the end of each element in the set of matched elements. Receives the index position of the element
     *                 in the set and the old HTML value of the element as arguments. Within the function, `this` refers to
     *                 the current element in the set.
     * @see \`{@link https://api.jquery.com/append/ }\`
     * @since 1.4
     */
    append(funсtion: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>): this;
    /**
     * Insert every element in the set of matched elements to the end of the target.
     * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements
     *               will be inserted at the end of the element(s) specified by this parameter.
     * @see \`{@link https://api.jquery.com/appendTo/ }\`
     * @since 1.0
     * @example ​ ````Append all spans to the element with the ID &quot;foo&quot; (Check append() documentation for more examples)
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>appendTo demo</title>
  <style>
  #foo {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<span>I have nothing more to say... </span>
​
<div id="foo">FOO! </div>
​
<script>
$( "span" ).appendTo( "#foo" );
</script>
​
</body>
</html>
```
     */
    appendTo(target: JQuery.Selector | JQuery.htmlString | JQuery.TypeOrArray<Element | DocumentFragment> | JQuery): this;
    /**
     * Set one or more attributes for the set of matched elements.
     * @param attributeName The name of the attribute to set.
     * @param value_function _&#x40;param_ `value_function`
     * <br>
     * * `value` — A value to set for the attribute. If `null`, the specified attribute will be removed (as in \`{@link removeAttr .removeAttr()}`). <br>
     * * `function` — A function returning the value to set. `this` is the current element. Receives the index position of
     *                the element in the set and the old attribute value as arguments.
     * @see \`{@link https://api.jquery.com/attr/ }\`
     * @since 1.0
     * @since 1.1
     * @example ​ ````Set the id for divs based on the position in the page.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>attr demo</title>
  <style>
  div {
    color: blue;
  }
  span {
    color: red;
  }
  b {
    font-weight: bolder;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>Zero-th <span></span></div>
<div>First <span></span></div>
<div>Second <span></span></div>
​
<script>
$( "div" )
  .attr( "id", function( arr ) {
    return "div-id" + arr;
  })
  .each(function() {
    $( "span", this ).html( "(id = '<b>" + this.id + "</b>')" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Set the src attribute from title attribute on the image.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>attr demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<img title="hat.gif">
​
<script>
$( "img" ).attr( "src", function() {
  return "/resources/" + this.title;
});
</script>
​
</body>
</html>
```
     */
    attr(attributeName: string,
         value_function: string | number | null | ((this: TElement, index: number, attr: string) => string | number | void | undefined)): this;
    /**
     * Set one or more attributes for the set of matched elements.
     * @param attributes An object of attribute-value pairs to set.
     * @see \`{@link https://api.jquery.com/attr/ }\`
     * @since 1.0
     * @example ​ ````Set some attributes for all &lt;img&gt;s in the page.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>attr demo</title>
  <style>
  img {
    padding: 10px;
  }
  div {
    color: red;
    font-size: 24px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<img>
<img>
<img>
​
<div><b>Attribute of Ajax</b></div>
​
<script>
$( "img" ).attr({
  src: "/resources/hat.gif",
  title: "jQuery",
  alt: "jQuery Logo"
});
$( "div" ).text( $( "img" ).attr( "alt" ) );
</script>
​
</body>
</html>
```
     */
    attr(attributes: JQuery.PlainObject): this;
    /**
     * Get the value of an attribute for the first element in the set of matched elements.
     * @param attributeName The name of the attribute to get.
     * @see \`{@link https://api.jquery.com/attr/ }\`
     * @since 1.0
     * @example ​ ````Display the checked attribute and property of a checkbox as it changes.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>attr demo</title>
  <style>
  p {
    margin: 20px 0 0;
  }
  b {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<input id="check1" type="checkbox" checked="checked">
<label for="check1">Check me</label>
<p></p>
​
<script>
$( "input" )
  .change(function() {
    var $input = $( this );
    $( "p" ).html( ".attr( 'checked' ): <b>" + $input.attr( "checked" ) + "</b><br>" +
      ".prop( 'checked' ): <b>" + $input.prop( "checked" ) + "</b><br>" +
      ".is( ':checked' ): <b>" + $input.is( ":checked" ) + "</b>" );
  })
  .change();
</script>
​
</body>
</html>
```
     * @example ​ ````Find the title attribute of the first &lt;em&gt; in the page.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>attr demo</title>
  <style>
  em {
    color: blue;
    font-weight: bold;
  }
  div {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Once there was a <em title="huge, gigantic">large</em> dinosaur...</p>
​
The title of the emphasis is:<div></div>
​
<script>
var title = $( "em" ).attr( "title" );
$( "div" ).text( title );
</script>
​
</body>
</html>
```
     */
    attr(attributeName: string): string | undefined;
    /**
     * Insert content, specified by the parameter, before each element in the set of matched elements.
     * @param contents One or more additional DOM elements, text nodes, arrays of elements and text nodes, HTML strings, or
     *                 jQuery objects to insert before each element in the set of matched elements.
     * @see \`{@link https://api.jquery.com/before/ }\`
     * @since 1.0
     * @example ​ ````Inserts some HTML before all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>before demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p> is what I said...</p>
​
<script>
$( "p" ).before( "<b>Hello</b>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Inserts a DOM element before all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>before demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p> is what I said...</p>
​
<script>
$( "p" ).before( document.createTextNode( "Hello" ) );
</script>
​
</body>
</html>
```
     * @example ​ ````Inserts a jQuery object (similar to an Array of DOM Elements) before all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>before demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p> is what I said...</p><b>Hello</b>
​
<script>
$( "p" ).before( $( "b" ) );
</script>
​
</body>
</html>
```
     */
    before(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>>): this;
    /**
     * Insert content, specified by the parameter, before each element in the set of matched elements.
     * @param function_functionｰhtml _&#x40;param_ `function_functionｰhtml`
     * <br>
     * * `function` — A function that returns an HTML string, DOM element(s), text node(s), or jQuery object to insert
     *                before each element in the set of matched elements. Receives the index position of the element in
     *                the set as an argument. Within the function, `this` refers to the current element in the set. <br>
     * * `functionｰhtml` — A function that returns an HTML string, DOM element(s), text node(s), or jQuery object to insert
     *                     before each element in the set of matched elements. Receives the index position of the element in
     *                     the set and the old HTML value of the element as arguments. Within the function, `this` refers to the
     *                     current element in the set.
     * @see \`{@link https://api.jquery.com/before/ }\`
     * @since 1.4
     * @since 1.10
     */
    before(function_functionｰhtml: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>): this;
    // [bind() overloads] https://github.com/jquery/api.jquery.com/issues/1048
    /**
     * Attach a handler to an event for the elements.
     * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/bind/ }\`
     * @since 1.0
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.0. Use \`{@link on }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     */
    bind<TType extends string,
         TData>(
        eventType: TType,
        eventData: TData,
        handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, TType>
    ): this;
    /**
     * Attach a handler to an event for the elements.
     * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
     * @param handler_preventBubble _&#x40;param_ `handler_preventBubble`
     * <br>
     * * `handler` — A function to execute each time the event is triggered. <br>
     * * `preventBubble` — Setting the third argument to false will attach a function that prevents the default action from
     *                     occurring and stops the event from bubbling. The default is `true`.
     * @see \`{@link https://api.jquery.com/bind/ }\`
     * @since 1.0
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.0. Use \`{@link on }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     * @example ​ ````Handle click and double-click for the paragraph.  Note: the coordinates are window relative, so in this case relative to the demo iframe.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>bind demo</title>
  <style>
  p {
    background: yellow;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
  }
  p.over {
     background: #ccc;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Click or double click here.</p>
<span></span>
​
<script>
$( "p" ).bind( "click", function( event ) {
  var str = "( " + event.pageX + ", " + event.pageY + " )";
  $( "span" ).text( "Click happened! " + str );
});
$( "p" ).bind( "dblclick", function() {
  $( "span" ).text( "Double-click happened in " + this.nodeName );
});
$( "p" ).bind( "mouseenter mouseleave", function( event ) {
  $( this ).toggleClass( "over" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````To display each paragraph&#39;s text in an alert box whenever it is clicked:
```javascript
$( "p" ).bind( "click", function() {
  alert( $( this ).text() );
});
```
     * @example ​ ````Cancel a default action and prevent it from bubbling up by returning false:
```javascript
$( "form" ).bind( "submit", function() {
  return false;
})
```
     * @example ​ ````Cancel only the default action by using the .preventDefault() method.
```javascript
$( "form" ).bind( "submit", function( event ) {
  event.preventDefault();
});
```
     * @example ​ ````Stop an event from bubbling without preventing the default action by using the .stopPropagation() method.
```javascript
$( "form" ).bind( "submit", function( event ) {
  event.stopPropagation();
});
```
     * @example ​ ````Bind custom events.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>bind demo</title>
  <style>
  p {
    color: red;
  }
  span {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Has an attached custom event.</p>
<button>Trigger custom event</button>
<span style="display: none;"></span>
​
<script>
$( "p" ).bind( "myCustomEvent", function( e, myName, myValue ) {
  $( this ).text( myName + ", hi there!" );
  $( "span" )
    .stop()
    .css( "opacity", 1 )
    .text( "myName = " + myName )
    .fadeIn( 30 )
    .fadeOut( 1000 );
  });
$( "button" ).click(function() {
  $( "p" ).trigger( "myCustomEvent", [ "John" ] );
});
</script>
​
</body>
</html>
```
     */
    bind<TType extends string>(
        eventType: TType,
        handler_preventBubble: JQuery.TypeEventHandler<TElement, undefined, TElement, TElement, TType> |
                               false |
                               null |
                               undefined
    ): this;
    /**
     * Attach a handler to an event for the elements.
     * @param events An object containing one or more DOM event types and functions to execute for them.
     * @see \`{@link https://api.jquery.com/bind/ }\`
     * @since 1.4
     * @deprecated ​ Deprecated since 3.0. Use \`{@link on }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     * @example ​ ````Bind multiple events simultaneously.
```javascript
$( "div.test" ).bind({
  click: function() {
    $( this ).addClass( "active" );
  },
  mouseenter: function() {
    $( this ).addClass( "inside" );
  },
  mouseleave: function() {
    $( this ).removeClass( "inside" );
  }
});
```
     */
    bind(events: JQuery.TypeEventHandlers<TElement, undefined, TElement, TElement>): this;
    /**
     * Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/blur/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    blur<TData>(eventData: TData,
                handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'blur'>): this;
    /**
     * Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/blur/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````To trigger the blur event on all paragraphs:
```javascript
$( "p" ).blur();
```
     */
    blur(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'blur'> |
                   false): this;
    /**
     * Bind an event handler to the "change" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/change/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    change<TData>(eventData: TData,
                  handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'change'>): this;
    /**
     * Bind an event handler to the "change" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/change/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Attaches a change event to the select that gets the text for each selected option and writes them in the div.  It then triggers the event for the initial text draw.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>change demo</title>
  <style>
  div {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<select name="sweets" multiple="multiple">
  <option>Chocolate</option>
  <option selected="selected">Candy</option>
  <option>Taffy</option>
  <option selected="selected">Caramel</option>
  <option>Fudge</option>
  <option>Cookie</option>
</select>
<div></div>
​
<script>
$( "select" )
  .change(function () {
    var str = "";
    $( "select option:selected" ).each(function() {
      str += $( this ).text() + " ";
    });
    $( "div" ).text( str );
  })
  .change();
</script>
​
</body>
</html>
```
     * @example ​ ````To add a validity test to all text input elements:
```javascript
$( "input[type='text']" ).change(function() {
  // Check input( $( this ).val() ) for validity here
});
```
     */
    change(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'change'> |
                     false): this;
    /**
     * Get the children of each element in the set of matched elements, optionally filtered by a selector.
     * @param selector A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/children/ }\`
     * @since 1.0
     * @example ​ ````Find all children of the clicked element.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>children demo</title>
  <style>
  body {
    font-size: 16px;
    font-weight: bolder;
  }
  div {
    width: 130px;
    height: 82px;
    margin: 10px;
    float: left;
    border: 1px solid blue;
    padding: 4px;
  }
  #container {
    width: auto;
    height: 105px;
    margin: 0;
    float: none;
    border: none;
  }
  .hilite {
    border-color: red;
  }
  #results {
    display: block;
    color: red;
  }
  p, span, em, a, b, button {
    border: 1px solid transparent;
  }
  p {
    margin: 10px;
  }
  span {
    color: blue;
  }
  input {
    width: 100px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div id="container">
  <div>
    <p>This <span>is the <em>way</em> we</span>
      write <em>the</em> demo,</p>
  </div>
​
  <div>
    <a href="#"><b>w</b>rit<b>e</b></a> the <span>demo,</span> <button>write
    the</button> demo,
  </div>
​
  <div>
    This <span>the way we <em>write</em> the <em>demo</em> so</span>
    <input type="text" value="early"> in
  </div>
​
  <p>
    <span>t</span>he <span>m</span>orning.
    <span id="results">Found <span>0</span> children in <span>TAG</span>.</span>
  </p>
</div>
​
<script>
$( "#container" ).click(function ( event ) {
  $( "*" ).removeClass( "hilite" );
  var kids = $( event.target ).children();
  var len = kids.addClass( "hilite" ).length;
​
  $( "#results span:first" ).text( len );
  $( "#results span:last" ).text( event.target.tagName );
​
  event.preventDefault();
});
</script>
​
</body>
</html>
```
     * @example ​ ````Find all children of each div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>children demo</title>
  <style>
  body {
    font-size: 16px;
    font-weight: bolder;
  }
  span {
    color: blue;
  }
  p {
    margin: 5px 0;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello (this is a paragraph)</p>
​
<div><span>Hello Again (this span is a child of the a div)</span></div>
<p>And <span>Again</span> (in another paragraph)</p>
​
<div>And One Last <span>Time</span> (most text directly in a div)</div>
​
<script>
$( "div" ).children().css( "border-bottom", "3px double red" );
</script>
​
</body>
</html>
```
     * @example ​ ````Find all children with a class &quot;selected&quot; of each div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>children demo</title>
  <style>
  body {
    font-size: 16px;
    font-weight: bolder;
  }
  p {
    margin: 5px 0;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>
  <span>Hello</span>
  <p class="selected">Hello Again</p>
  <div class="selected">And Again</div>
  <p>And One Last Time</p>
</div>
​
<script>
$( "div" ).children( ".selected" ).css( "color", "blue" );
</script>
​
</body>
</html>
```
     */
    children(selector?: JQuery.Selector): this;
    /**
     * Remove from the queue all items that have not yet been run.
     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
     * @see \`{@link https://api.jquery.com/clearQueue/ }\`
     * @since 1.4
     * @example ​ ````Empty the queue.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>clearQueue demo</title>
  <style>
  div {
    margin: 3px;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0px;
    top: 30px;
    background: green;
    display: none;
  }
  div.newcolor {
    background: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="start">Start</button>
<button id="stop">Stop</button>
<div></div>
​
<script>
$( "#start" ).click(function() {
  var myDiv = $( "div" );
  myDiv.show( "slow" );
  myDiv.animate({
    left:"+=200"
  }, 5000 );
​
  myDiv.queue(function() {
    var that = $( this );
    that.addClass( "newcolor" );
    that.dequeue();
  });
​
  myDiv.animate({
    left:"-=200"
  }, 1500 );
  myDiv.queue(function() {
    var that = $( this );
    that.removeClass( "newcolor" );
    that.dequeue();
  });
  myDiv.slideUp();
});
​
$( "#stop" ).click(function() {
  var myDiv = $( "div" );
  myDiv.clearQueue();
  myDiv.stop();
});
</script>
​
</body>
</html>
```
     */
    clearQueue(queueName?: string): this;
    /**
     * Bind an event handler to the "click" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/click/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    click<TData>(eventData: TData,
                 handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'click'>): this;
    /**
     * Bind an event handler to the "click" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/click/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Hide paragraphs on a page when they are clicked:
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>click demo</title>
  <style>
  p {
    color: red;
    margin: 5px;
    cursor: pointer;
  }
  p:hover {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>First Paragraph</p>
<p>Second Paragraph</p>
<p>Yet one more Paragraph</p>
​
<script>
$( "p" ).click(function() {
  $( this ).slideUp();
});
</script>
​
</body>
</html>
```
     * @example ​ ````Trigger the click event on all of the paragraphs on the page:
```javascript
$( "p" ).click();
```
     */
    click(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'click'> |
                    false): this;
    /**
     * Create a deep copy of the set of matched elements.
     * @param withDataAndEvents A Boolean indicating whether event handlers and data should be copied along with the elements. The
     *                          default value is false. *In jQuery 1.5.0 the default value was incorrectly true; it was changed back
     *                          to false in 1.5.1 and up.
     * @param deepWithDataAndEvents A Boolean indicating whether event handlers and data for all children of the cloned element should
     *                              be copied. By default its value matches the first argument's value (which defaults to false).
     * @see \`{@link https://api.jquery.com/clone/ }\`
     * @since 1.0
     * @since 1.5
     * @example ​ ````Clones all b elements (and selects the clones) and prepends them to all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>clone demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<b>Hello</b><p>, how are you?</p>
​
<script>
$( "b" ).clone().prependTo( "p" );
</script>
​
</body>
</html>
```
     */
    clone(withDataAndEvents?: boolean, deepWithDataAndEvents?: boolean): this;
    /**
     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
     * @param selector A string containing a selector expression to match elements against.
     * @param context A DOM element within which a matching element may be found.
     * @see \`{@link https://api.jquery.com/closest/ }\`
     * @since 1.4
     */
    closest(selector: JQuery.Selector, context: Element): this;
    /**
     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
     * @param selector_selection_element _&#x40;param_ `selector_selection_element`
     * <br>
     * * `selector` — A string containing a selector expression to match elements against. <br>
     * * `selection` — A jQuery object to match elements against. <br>
     * * `element` — An element to match elements against.
     * @see \`{@link https://api.jquery.com/closest/ }\`
     * @since 1.3
     * @since 1.6
     * @example ​ ````Show how event delegation can be done with closest. The closest list element toggles a yellow background when it or its descendent is clicked.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>closest demo</title>
  <style>
  li {
    margin: 3px;
    padding: 3px;
    background: #EEEEEE;
  }
  li.highlight {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li><b>Click me!</b></li>
  <li>You can also <b>Click me!</b></li>
</ul>
​
<script>
$( document ).on( "click", function( event ) {
  $( event.target ).closest( "li" ).toggleClass( "highlight" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Pass a jQuery object to closest. The closest list element toggles a yellow background when it or its descendent is clicked.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>closest demo</title>
  <style>
  li {
    margin: 3px;
    padding: 3px;
    background: #EEEEEE;
  }
  li.highlight {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li><b>Click me!</b></li>
  <li>You can also <b>Click me!</b></li>
</ul>
​
<script>
var listElements = $( "li" ).css( "color", "blue" );
$( document ).on( "click", function( event ) {
  $( event.target ).closest( listElements ).toggleClass( "highlight" );
});
</script>
​
</body>
</html>
```
     */
    closest(selector_selection_element: JQuery.Selector | Element | JQuery): this;
    /**
     * Get the children of each element in the set of matched elements, including text and comment nodes.
     * @see \`{@link https://api.jquery.com/contents/ }\`
     * @since 1.2
     * @example ​ ````Find all the text nodes inside a paragraph and wrap them with a bold tag.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>contents demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello <a href="https://johnresig.com/">John</a>, how are you doing?</p>
​
<script>
$( "p" )
  .contents()
  .filter(function(){
    return this.nodeType !== 1;
  })
  .wrap( "<b></b>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Change the background color of links inside of an iframe.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>contents demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<iframe src="https://api.jquery.com/" width="80%" height="600" id="frameDemo"></iframe>
​
<script>
$( "#frameDemo" ).contents().find( "a" ).css( "background-color", "#BADA55" );
</script>
​
</body>
</html>
```
     */
    contents(): JQuery<TElement | Text | Comment | Document>;
    /**
     * Bind an event handler to the "contextmenu" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/contextmenu/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    contextmenu<TData>(eventData: TData,
                       handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'contextmenu'>): this;
    /**
     * Bind an event handler to the "contextmenu" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/contextmenu/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````To show a &quot;Hello World!&quot; alert box when the contextmenu event is triggered on a paragraph on the page:
```javascript
$( "p" ).contextmenu(function() {
  alert( "Hello World!" );
});
```
     * @example ​ ````Right click to toggle background color.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>contextmenu demo</title>
  <style>
  div {
    background: blue;
    color: white;
    height: 100px;
    width: 150px;
 }
  div.contextmenu {
    background: yellow;
    color: black;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<span>Right click the block</span>
​
<script>
var div = $( "div:first" );
div.contextmenu(function() {
  div.toggleClass( "contextmenu" );
});
</script>
​
</body>
</html>
```
     */
    contextmenu(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'contextmenu'> |
                          false): this;
    /**
     * Set one or more CSS properties for the set of matched elements.
     * @param propertyName A CSS property name.
     * @param value_function _&#x40;param_ `value_function`
     * <br>
     * * `value` — A value to set for the property. <br>
     * * `function` — A function returning the value to set. `this` is the current element. Receives the index position of
     *                the element in the set and the old value as arguments.
     * @see \`{@link https://api.jquery.com/css/ }\`
     * @since 1.0
     * @since 1.4
     * @example ​ ````Change the color of any paragraph to red on mouseover event.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>css demo</title>
  <style>
  p {
    color: blue;
    width: 200px;
    font-size: 14px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
  <p>Just roll the mouse over me.</p>
​
  <p>Or me to see a color change.</p>
​
<script>
$( "p" ).on( "mouseover", function() {
  $( this ).css( "color", "red" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Increase the width of #box by 200 pixels the first time it is clicked.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>css demo</title>
  <style>
  #box {
    background: black;
    color: snow;
    width: 100px;
    padding: 10px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div id="box">Click me to grow</div>
​
<script>
$( "#box" ).one( "click", function() {
  $( this ).css( "width", "+=200" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Highlight a clicked word in the paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>css demo</title>
  <style>
  p {
    color: blue;
    font-weight: bold;
    cursor: pointer;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  Once upon a time there was a man
  who lived in a pizza parlor. This
  man just loved pizza and ate it all
  the time.  He went on to be the
  happiest man in the world.  The end.
</p>
​
<script>
var words = $( "p" ).first().text().split( /\s+/ );
var text = words.join( "</span> <span>" );
$( "p" ).first().html( "<span>" + text + "</span>" );
$( "span" ).on( "click", function() {
  $( this ).css( "background-color", "yellow" );
});
</script>
​
</body>
</html>
```
     */
    css(propertyName: string,
        value_function: string | number | ((this: TElement, index: number, value: string) => string | number | void | undefined)): this;
    /**
     * Set one or more CSS properties for the set of matched elements.
     * @param properties An object of property-value pairs to set.
     * @see \`{@link https://api.jquery.com/css/ }\`
     * @since 1.0
     * @example ​ ````Change the font weight and background color on mouseenter and mouseleave.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>css demo</title>
  <style>
  p {
    color: green;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Move the mouse over a paragraph.</p>
<p>Like this one or the one above.</p>
​
<script>
$( "p" )
  .on( "mouseenter", function() {
    $( this ).css({
      "background-color": "yellow",
      "font-weight": "bolder"
    });
  })
  .on( "mouseleave", function() {
    var styles = {
      backgroundColor : "#ddd",
      fontWeight: ""
    };
    $( this ).css( styles );
  });
</script>
​
</body>
</html>
```
     * @example ​ ````Increase the size of a div when you click it.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>css demo</title>
  <style>
  div {
    width: 20px;
    height: 15px;
    background-color: #f33;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>click</div>
<div>click</div>
​
<script>
$( "div" ).on( "click", function() {
  $( this ).css({
    width: function( index, value ) {
      return parseFloat( value ) * 1.2;
    },
    height: function( index, value ) {
      return parseFloat( value ) * 1.2;
    }
  });
});
</script>
​
</body>
</html>
```
     */
    css(properties: JQuery.PlainObject<string | number | ((this: TElement, index: number, value: string) => string | number | void | undefined)>): this;
    /**
     * Get the computed style properties for the first element in the set of matched elements.
     * @param propertyName A CSS property.
     * @see \`{@link https://api.jquery.com/css/ }\`
     * @since 1.0
     * @example ​ ````Get the background color of a clicked div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>css demo</title>
  <style>
  div {
    width: 60px;
    height: 60px;
    margin: 5px;
    float: left;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<span id="result">&nbsp;</span>
<div style="background-color:blue;"></div>
<div style="background-color:rgb(15,99,30);"></div>
<div style="background-color:#123456;"></div>
<div style="background-color:#f11;"></div>
​
<script>
$( "div" ).click(function() {
  var color = $( this ).css( "background-color" );
  $( "#result" ).html( "That div is <span style='color:" +
    color + ";'>" + color + "</span>." );
});
</script>
​
</body>
</html>
```
     */
    css(propertyName: string): string;
    /**
     * Get the computed style properties for the first element in the set of matched elements.
     * @param propertyNames An array of one or more CSS properties.
     * @see \`{@link https://api.jquery.com/css/ }\`
     * @since 1.9
     * @example ​ ````Get the width, height, text color, and background color of a clicked div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>css demo</title>
  <style>
  div {
    height: 50px;
    margin: 5px;
    padding: 5px;
    float: left;
  }
  #box1 {
    width: 50px;
    color: yellow;
    background-color: blue;
  }
  #box2 {
    width: 80px;
    color: rgb(255, 255, 255);
    background-color: rgb(15, 99, 30);
  }
  #box3 {
    width: 40px;
    color: #fcc;
    background-color: #123456;
  }
  #box4 {
    width: 70px;
    background-color: #f11;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p id="result">&nbsp;</p>
<div id="box1">1</div>
<div id="box2">2</div>
<div id="box3">3</div>
<div id="box4">4</div>
​
<script>
$( "div" ).click(function() {
  var html = [ "The clicked div has the following styles:" ];
​
  var styleProps = $( this ).css([
    "width", "height", "color", "background-color"
  ]);
  $.each( styleProps, function( prop, value ) {
    html.push( prop + ": " + value );
  });
​
  $( "#result" ).html( html.join( "<br>" ) );
});
</script>
​
</body>
</html>
```
     */
    css(propertyNames: string[]): JQuery.PlainObject<string>;
    /**
     * Store arbitrary data associated with the matched elements.
     * @param key A string naming the piece of data to set.
     * @param value The new data value; this can be any Javascript type except `undefined`.
     * @see \`{@link https://api.jquery.com/data/ }\`
     * @since 1.2.3
     * @example ​ ````Store then retrieve a value from the div element.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>data demo</title>
  <style>
  div {
    color: blue;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>
  The values stored were
  <span></span>
  and
  <span></span>
</div>
​
<script>
$( "div" ).data( "test", { first: 16, last: "pizza!" } );
$( "span:first" ).text( $( "div" ).data( "test" ).first );
$( "span:last" ).text( $( "div" ).data( "test" ).last );
</script>
​
</body>
</html>
```
     */
    data(key: string, value: string | number | boolean | symbol | object | null): this;
    /**
     * Store arbitrary data associated with the matched elements.
     * @param obj An object of key-value pairs of data to update.
     * @see \`{@link https://api.jquery.com/data/ }\`
     * @since 1.4.3
     */
    data(obj: JQuery.PlainObject): this;
    /**
     * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
     * @param key Name of the data stored.
     * @param value `undefined` is not recognized as a data value. Calls such as `.data( "name", undefined )`
     *              will return the jQuery object that it was called on, allowing for chaining.
     * @see \`{@link https://api.jquery.com/data/ }\`
     * @since 1.2.3
     */
    // `unified-signatures` is disabled so that behavior when passing `undefined` to `value` can be documented. Unifying the signatures
    // results in potential confusion for users from an unexpected parameter.
    // tslint:disable-next-line:unified-signatures
    data(key: string, value: undefined): any;
    /**
     * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
     * @param key Name of the data stored.
     * @see \`{@link https://api.jquery.com/data/ }\`
     * @since 1.2.3
     * @example ​ ````Get the data named &quot;blah&quot; stored at for an element.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>data demo</title>
  <style>
  div {
    margin: 5px;
    background: yellow;
  }
  button {
    margin: 5px;
    font-size: 14px;
  }
  p {
    margin: 5px;
    color: blue;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>A div</div>
<button>Get "blah" from the div</button>
<button>Set "blah" to "hello"</button>
<button>Set "blah" to 86</button>
<button>Remove "blah" from the div</button>
<p>The "blah" value of this div is <span>?</span></p>
​
<script>
$( "button" ).click(function() {
  var value;
​
  switch ( $( "button" ).index( this ) ) {
    case 0 :
      value = $( "div" ).data( "blah" );
      break;
    case 1 :
      $( "div" ).data( "blah", "hello" );
      value = "Stored!";
      break;
    case 2 :
      $( "div" ).data( "blah", 86 );
      value = "Stored!";
      break;
    case 3 :
      $( "div" ).removeData( "blah" );
      value = "Removed!";
      break;
  }
​
  $( "span" ).text( "" + value );
});
</script>
​
</body>
</html>
```
     */
    data(key: string): any;
    /**
     * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
     * @see \`{@link https://api.jquery.com/data/ }\`
     * @since 1.4
     */
    data(): JQuery.PlainObject;
    /**
     * Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/dblclick/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    dblclick<TData>(eventData: TData,
                    handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'dblclick'>): this;
    /**
     * Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/dblclick/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````To bind a &quot;Hello World!&quot; alert box to the dblclick event on every paragraph on the page:
```javascript
$( "p" ).dblclick(function() {
  alert( "Hello World!" );
});
```
     * @example ​ ````Double click to toggle background color.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>dblclick demo</title>
  <style>
  div {
    background: blue;
    color: white;
    height: 100px;
    width: 150px;
 }
  div.dbl {
    background: yellow;
    color: black;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<span>Double click the block</span>
​
<script>
var divdbl = $( "div:first" );
divdbl.dblclick(function() {
  divdbl.toggleClass( "dbl" );
});
</script>
​
</body>
</html>
```
     */
    dblclick(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'dblclick'> |
                       false): this;
    /**
     * Set a timer to delay execution of subsequent items in the queue.
     * @param duration An integer indicating the number of milliseconds to delay execution of the next item in the queue.
     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
     * @see \`{@link https://api.jquery.com/delay/ }\`
     * @since 1.4
     * @example ​ ````Animate the hiding and showing of two divs, delaying the first before showing it.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>delay demo</title>
  <style>
  div {
    position: absolute;
    width: 60px;
    height: 60px;
    float: left;
  }
  .first {
    background-color: #3f3;
    left: 0;
  }
  .second {
    background-color: #33f;
    left: 80px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><button>Run</button></p>
<div class="first"></div>
<div class="second"></div>
​
<script>
$( "button" ).click(function() {
  $( "div.first" ).slideUp( 300 ).delay( 800 ).fadeIn( 400 );
  $( "div.second" ).slideUp( 300 ).fadeIn( 400 );
});
</script>
​
</body>
</html>
```
     */
    delay(duration: JQuery.Duration, queueName?: string): this;
    /**
     * Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.
     * @param selector A selector to filter the elements that trigger the event.
     * @param eventType A string containing one or more space-separated JavaScript event types, such as "click" or
     *                  "keydown," or custom event names.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/delegate/ }\`
     * @since 1.4.2
     * @deprecated ​ Deprecated since 3.0. Use \`{@link on }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     */
    delegate<TType extends string,
             TData>(
        selector: JQuery.Selector,
        eventType: TType,
        eventData: TData,
        handler: JQuery.TypeEventHandler<TElement, TData, any, any, TType>
    ): this;
    /**
     * Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.
     * @param selector A selector to filter the elements that trigger the event.
     * @param eventType A string containing one or more space-separated JavaScript event types, such as "click" or
     *                  "keydown," or custom event names.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/delegate/ }\`
     * @since 1.4.2
     * @deprecated ​ Deprecated since 3.0. Use \`{@link on }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     * @example ​ ````Click a paragraph to add another. Note that .delegate() attaches a click event handler to all paragraphs - even new ones.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>delegate demo</title>
  <style>
  p {
    background: yellow;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
  }
  p.over {
    background: #ccc;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Click me!</p>
​
<span></span>
​
<script>
$( "body" ).delegate( "p", "click", function() {
  $( this ).after( "<p>Another paragraph!</p>" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````To display each paragraph&#39;s text in an alert box whenever it is clicked:
```javascript
$( "body" ).delegate( "p", "click", function() {
  alert( $( this ).text() );
});
```
     * @example ​ ````To cancel a default action and prevent it from bubbling up, return false:
```javascript
$( "body" ).delegate( "a", "click", function() {
  return false;
});
```
     * @example ​ ````To cancel only the default action by using the preventDefault method.
```javascript
$( "body" ).delegate( "a", "click", function( event ) {
  event.preventDefault();
});
```
     * @example ​ ````Can bind custom events too.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>delegate demo</title>
  <style>
  p {
    color: red;
  }
  span {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Has an attached custom event.</p>
<button>Trigger custom event</button>
<span style="display:none;"></span>
​
<script>
$( "body" ).delegate( "p", "myCustomEvent", function( e, myName, myValue ) {
  $( this ).text( "Hi there!" );
  $( "span" )
    .stop()
    .css( "opacity", 1 )
    .text( "myName = " + myName )
    .fadeIn( 30 )
    .fadeOut( 1000 );
});
$( "button" ).click(function() {
  $( "p" ).trigger( "myCustomEvent" );
});
</script>
​
</body>
</html>
```
     */
    delegate<TType extends string>(
        selector: JQuery.Selector,
        eventType: TType,
        handler: JQuery.TypeEventHandler<TElement, undefined, any, any, TType> |
                 false
    ): this;
    /**
     * Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.
     * @param selector A selector to filter the elements that trigger the event.
     * @param events A plain object of one or more event types and functions to execute for them.
     * @see \`{@link https://api.jquery.com/delegate/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.0. Use \`{@link on }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     */
    delegate(selector: JQuery.Selector,
             events: JQuery.TypeEventHandlers<TElement, undefined, any, any>
    ): this;
    /**
     * Execute the next function on the queue for the matched elements.
     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
     * @see \`{@link https://api.jquery.com/dequeue/ }\`
     * @since 1.2
     * @example ​ ````Use dequeue to end a custom queue function which allows the queue to keep going.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>dequeue demo</title>
  <style>
  div {
    margin: 3px;
    width: 50px;
    position: absolute;
    height: 50px;
    left: 10px;
    top: 30px;
    background-color: yellow;
  }
  div.red {
    background-color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Start</button>
<div></div>
​
<script>
$( "button" ).click(function() {
  $( "div" )
    .animate({ left:"+=200px" }, 2000 )
    .animate({ top:"0px" }, 600 )
    .queue(function() {
      $( this ).toggleClass( "red" ).dequeue();
    })
    .animate({ left:"10px", top:"30px" }, 700 );
});
</script>
​
</body>
</html>
```
     */
    dequeue(queueName?: string): this;
    /**
     * Remove the set of matched elements from the DOM.
     * @param selector A selector expression that filters the set of matched elements to be removed.
     * @see \`{@link https://api.jquery.com/detach/ }\`
     * @since 1.4
     * @example ​ ````Detach all paragraphs from the DOM
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>detach demo</title>
  <style>
  p {
    background: yellow;
    margin: 6px 0;
  }
  p.off {
    background: black;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
how are
<p>you?</p>
<button>Attach/detach paragraphs</button>
​
<script>
$( "p" ).click(function() {
  $( this ).toggleClass( "off" );
});
var p;
$( "button" ).click(function() {
  if ( p ) {
    p.appendTo( "body" );
    p = null;
  } else {
    p = $( "p" ).detach();
  }
});
</script>
​
</body>
</html>
```
     */
    detach(selector?: JQuery.Selector): this;
    /**
     * Iterate over a jQuery object, executing a function for each matched element.
     * @param funсtion A function to execute for each matched element.
     * @see \`{@link https://api.jquery.com/each/ }\`
     * @since 1.0
     * @example ​ ````Iterate over three divs and sets their color property.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>each demo</title>
  <style>
  div {
    color: red;
    text-align: center;
    cursor: pointer;
    font-weight: bolder;
    width: 300px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>Click here</div>
<div>to iterate through</div>
<div>these divs.</div>
​
<script>
$( document.body ).click(function() {
  $( "div" ).each(function( i ) {
    if ( this.style.color !== "blue" ) {
      this.style.color = "blue";
    } else {
      this.style.color = "";
    }
  });
});
</script>
​
</body>
</html>
```
     * @example ​ ````To access a jQuery object instead of the regular DOM element, use $( this ). For example:
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>each demo</title>
  <style>
  ul {
    font-size: 18px;
    margin: 0;
  }
  span {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
  }
  .example {
    font-style: italic;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
To do list: <span>(click here to change)</span>
<ul>
  <li>Eat</li>
  <li>Sleep</li>
  <li>Be merry</li>
</ul>
​
<script>
$( "span" ).click(function() {
  $( "li" ).each(function() {
    $( this ).toggleClass( "example" );
  });
});
</script>
​
</body>
</html>
```
     * @example ​ ````Use return false to break out of each() loops early.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>each demo</title>
  <style>
  div {
    width: 40px;
    height: 40px;
    margin: 5px;
    float: left;
    border: 2px blue solid;
    text-align: center;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Change colors</button>
<span></span>
<div></div>
<div></div>
<div></div>
<div></div>
<div id="stop">Stop here</div>
<div></div>
<div></div>
<div></div>
​
<script>
$( "button" ).click(function() {
  $( "div" ).each(function( index, element ) {
    // element == this
    $( element ).css( "backgroundColor", "yellow" );
    if ( $( this ).is( "#stop" ) ) {
      $( "span" ).text( "Stopped at div index #" + index );
      return false;
    }
  });
});
</script>
​
</body>
</html>
```
     */
    each(funсtion: (this: TElement, index: number, element: TElement) => void | false): this;
    /**
     * Remove all child nodes of the set of matched elements from the DOM.
     * @see \`{@link https://api.jquery.com/empty/ }\`
     * @since 1.0
     * @example ​ ````Removes all child nodes (including text nodes) from all paragraphs
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>empty demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  Hello, <span>Person</span> <em>and person</em>.
</p>
​
<button>Call empty() on above paragraph</button>
​
<script>
$( "button" ).click(function() {
  $( "p" ).empty();
});
</script>
​
</body>
</html>
```
     */
    empty(): this;
    /**
     * End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.
     * @see \`{@link https://api.jquery.com/end/ }\`
     * @since 1.0
     * @example ​ ````Selects all paragraphs, finds span elements inside these, and reverts the selection back to the paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>end demo</title>
  <style>
  p, div {
    margin: 1px;
    padding: 1px;
    font-weight: bold;
    font-size: 16px;
  }
  div {
    color: blue;
  }
  b {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  Hi there <span>how</span> are you <span>doing</span>?
</p>
​
<p>
  This <span>span</span> is one of
  several <span>spans</span> in this
  <span>sentence</span>.
</p>
​
<div>
  Tags in jQuery object initially: <b></b>
</div>
​
<div>
  Tags in jQuery object after find: <b></b>
</div>
​
<div>
  Tags in jQuery object after end: <b></b>
</div>
​
<script>
jQuery.fn.showTags = function( n ) {
  var tags = this.map(function() {
    return this.tagName;
  })
  .get()
  .join( ", " );
  $( "b:eq( " + n + " )" ).text( tags );
  return this;
};
​
$( "p" )
  .showTags( 0 )
  .find( "span" )
    .showTags( 1 )
    .css( "background", "yellow" )
  .end()
  .showTags( 2 )
  .css( "font-style", "italic" );
</script>
​
</body>
</html>
```
     * @example ​ ````Selects all paragraphs, finds span elements inside these, and reverts the selection back to the paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>end demo</title>
  <style>
  p {
    margin: 10px;
    padding: 10px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><span>Hello</span>, how are you?</p>
​
<script>
$( "p" )
  .find( "span" )
  .end()
  .css( "border", "2px red solid" );
</script>
​
</body>
</html>
```
     */
    end(): this;
    /**
     * Reduce the set of matched elements to the one at the specified index.
     * @param index An integer indicating the 0-based position of the element.
     *              An integer indicating the position of the element, counting backwards from the last element in the set.
     * @see \`{@link https://api.jquery.com/eq/ }\`
     * @since 1.1.2
     * @since 1.4
     * @example ​ ````Turn the div with index 2 blue by adding an appropriate class.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>eq demo</title>
  <style>
  div {
    width: 60px;
    height: 60px;
    margin: 10px;
    float: left;
    border: 2px solid blue;
  }
  .blue {
    background: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
​
<script>
$( "body" ).find( "div" ).eq( 2 ).addClass( "blue" );
</script>
​
</body>
</html>
```
     */
    eq(index: number): this;
    /**
     * Merge the contents of an object onto the jQuery prototype to provide new jQuery instance methods.
     * @param obj An object to merge onto the jQuery prototype.
     * @see \`{@link https://api.jquery.com/jQuery.fn.extend/ }\`
     * @since 1.0
     * @example ​ ````Add two methods to the jQuery prototype ($.fn) object and then use one of them.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>jQuery.fn.extend demo</title>
  <style>
  label {
    display: block;
    margin: .5em;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<label><input type="checkbox" name="foo"> Foo</label>
<label><input type="checkbox" name="bar"> Bar</label>
​
<script>
jQuery.fn.extend({
  check: function() {
    return this.each(function() {
      this.checked = true;
    });
  },
  uncheck: function() {
    return this.each(function() {
      this.checked = false;
    });
  }
});
​
// Use the newly created .check() method
$( "input[type='checkbox']" ).check();
</script>
​
</body>
</html>
```
     */
    extend(obj: object): this;
    /**
     * Display the matched elements by fading them to opaque.
     * @param duration A string or number determining how long the animation will run.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/fadeIn/ }\`
     * @since 1.4.3
     */
    fadeIn(duration: JQuery.Duration, easing: string, complete?: (this: TElement) => void): this;
    /**
     * Display the matched elements by fading them to opaque.
     * @param duration_easing _&#x40;param_ `duration_easing`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/fadeIn/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Fades a red block in over the text. Once the animation is done, it quickly fades in more text on top.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>fadeIn demo</title>
  <style>
  p {
    position: relative;
    width: 400px;
    height: 90px;
  }
  div {
    position: absolute;
    width: 400px;
    height: 65px;
    font-size: 36px;
    text-align: center;
    color: yellow;
    background: red;
    padding-top: 25px;
    top: 0;
    left: 0;
    display: none;
  }
  span {
    display: none;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  Let it be known that the party of the first part
  and the party of the second part are henceforth
  and hereto directed to assess the allegations
  for factual correctness... (<a href="#">click!</a>)
  <div><span>CENSORED!</span></div>
</p>
​
<script>
$( "a" ).click(function() {
  $( "div" ).fadeIn( 3000, function() {
    $( "span" ).fadeIn( 100 );
  });
  return false;
});
</script>
​
</body>
</html>
```
     */
    fadeIn(duration_easing: JQuery.Duration | string, complete: (this: TElement) => void): this;
    /**
     * Display the matched elements by fading them to opaque.
     * @param duration_easing_complete_options _&#x40;param_ `duration_easing_complete_options`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element. <br>
     * * `options` — A map of additional options to pass to the method.
     * @see \`{@link https://api.jquery.com/fadeIn/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Animates hidden divs to fade in one by one, completing each animation within 600 milliseconds.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>fadeIn demo</title>
  <style>
  span {
    color: red;
    cursor: pointer;
  }
  div {
    margin: 3px;
    width: 80px;
    display: none;
    height: 80px;
    float: left;
  }
  #one {
    background: #f00;
  }
  #two {
    background: #0f0;
  }
  #three {
    background: #00f;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<span>Click here...</span>
<div id="one"></div>
<div id="two"></div>
<div id="three"></div>
​
<script>
$( document.body ).click(function() {
  $( "div:hidden:first" ).fadeIn( "slow" );
});
</script>
​
</body>
</html>
```
     */
    fadeIn(duration_easing_complete_options?: JQuery.Duration | string | ((this: TElement) => void) | JQuery.EffectsOptions<TElement>): this;
    /**
     * Hide the matched elements by fading them to transparent.
     * @param duration A string or number determining how long the animation will run.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/fadeOut/ }\`
     * @since 1.4.3
     * @example ​ ````Fades out two divs, one with a &quot;linear&quot; easing and one with the default, &quot;swing,&quot; easing.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>fadeOut demo</title>
  <style>
  .box,
  button {
    float: left;
    margin: 5px 10px 5px 0;
  }
  .box {
    height: 80px;
    width: 80px;
    background: #090;
  }
  #log {
    clear: left;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="btn1">fade out</button>
<button id="btn2">show</button>
​
<div id="log"></div>
​
<div id="box1" class="box">linear</div>
<div id="box2" class="box">swing</div>
​
<script>
$( "#btn1" ).click(function() {
  function complete() {
    $( "<div>" ).text( this.id ).appendTo( "#log" );
  }
  $( "#box1" ).fadeOut( 1600, "linear", complete );
  $( "#box2" ).fadeOut( 1600, complete );
});
​
$( "#btn2" ).click(function() {
  $( "div" ).show();
  $( "#log" ).empty();
});
</script>
​
</body>
</html>
```
     */
    fadeOut(duration: JQuery.Duration, easing: string, complete?: (this: TElement) => void): this;
    /**
     * Hide the matched elements by fading them to transparent.
     * @param duration_easing _&#x40;param_ `duration_easing`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/fadeOut/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Fades out spans in one section that you click on.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>fadeOut demo</title>
  <style>
  span {
    cursor: pointer;
  }
  span.hilite {
    background: yellow;
  }
  div {
    display: inline;
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<h3>Find the modifiers - <div></div></h3>
<p>
  If you <span>really</span> want to go outside
  <span>in the cold</span> then make sure to wear
  your <span>warm</span> jacket given to you by
  your <span>favorite</span> teacher.
</p>
​
<script>
$( "span" ).click(function() {
  $( this ).fadeOut( 1000, function() {
    $( "div" ).text( "'" + $( this ).text() + "' has faded!" );
    $( this ).remove();
  });
});
$( "span" ).hover(function() {
  $( this ).addClass( "hilite" );
}, function() {
  $( this ).removeClass( "hilite" );
});
</script>
​
</body>
</html>
```
     */
    fadeOut(duration_easing: JQuery.Duration | string, complete: (this: TElement) => void): this;
    /**
     * Hide the matched elements by fading them to transparent.
     * @param duration_easing_complete_options _&#x40;param_ `duration_easing_complete_options`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element. <br>
     * * `options` — A map of additional options to pass to the method.
     * @see \`{@link https://api.jquery.com/fadeOut/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Animates all paragraphs to fade out, completing the animation within 600 milliseconds.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>fadeOut demo</title>
  <style>
  p {
    font-size: 150%;
    cursor: pointer;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  If you click on this paragraph
  you'll see it just fade away.
</p>
​
<script>
$( "p" ).click(function() {
  $( "p" ).fadeOut( "slow" );
});
</script>
​
</body>
</html>
```
     */
    fadeOut(duration_easing_complete_options?: JQuery.Duration | string | ((this: TElement) => void) | JQuery.EffectsOptions<TElement>): this;
    /**
     * Adjust the opacity of the matched elements.
     * @param duration A string or number determining how long the animation will run.
     * @param opacity A number between 0 and 1 denoting the target opacity.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/fadeTo/ }\`
     * @since 1.4.3
     */
    fadeTo(duration: JQuery.Duration, opacity: number, easing: string, complete?: (this: TElement) => void): this;
    /**
     * Adjust the opacity of the matched elements.
     * @param duration A string or number determining how long the animation will run.
     * @param opacity A number between 0 and 1 denoting the target opacity.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/fadeTo/ }\`
     * @since 1.0
     * @example ​ ````Animates first paragraph to fade to an opacity of 0.33 (33%, about one third visible), completing the animation within 600 milliseconds.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>fadeTo demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
Click this paragraph to see it fade.
</p>
​
<p>
Compare to this one that won't fade.
</p>
​
<script>
$( "p:first" ).click(function() {
  $( this ).fadeTo( "slow", 0.33 );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Fade div to a random opacity on each click, completing the animation within 200 milliseconds.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>fadeTo demo</title>
  <style>
  p {
    width: 80px;
    margin: 0;
    padding: 5px;
  }
  div {
    width: 40px;
    height: 40px;
    position: absolute;
  }
  #one {
    top: 0;
    left: 0;
    background: #f00;
  }
  #two {
    top: 20px;
    left: 20px;
    background: #0f0;
  }
  #three {
    top: 40px;
    left:40px;
    background:#00f;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>And this is the library that John built...</p>
​
<div id="one"></div>
<div id="two"></div>
<div id="three"></div>
​
<script>
$( "div" ).click(function() {
  $( this ).fadeTo( "fast", Math.random() );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Find the right answer! The fade will take 250 milliseconds and change various styles when it completes.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>fadeTo demo</title>
  <style>
  div, p {
    width: 80px;
    height: 40px;
    top: 0;
    margin: 0;
    position: absolute;
    padding-top: 8px;
  }
  p {
    background: #fcc;
    text-align: center;
  }
  div {
    background: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Wrong</p>
<div></div>
<p>Wrong</p>
<div></div>
<p>Right!</p>
<div></div>
​
<script>
var getPos = function( n ) {
  return (Math.floor( n ) * 90) + "px";
};
$( "p" ).each(function( n ) {
  var r = Math.floor( Math.random() * 3 );
  var tmp = $( this ).text();
  $( this ).text( $( "p:eq(" + r + ")" ).text() );
  $( "p:eq(" + r + ")" ).text( tmp );
  $( this ).css( "left", getPos( n ) );
});
$( "div" )
  .each(function( n ) {
    $( this ).css( "left", getPos( n ) );
  })
  .css( "cursor", "pointer" )
  .click( function() {
    $( this ).fadeTo( 250, 0.25, function() {
      $( this )
        .css( "cursor", "" )
        .prev()
          .css({
            "font-weight": "bolder",
            "font-style": "italic"
          });
    });
  });
</script>
​
</body>
</html>
```
     */
    fadeTo(duration: JQuery.Duration, opacity: number, complete?: (this: TElement) => void): this;
    /**
     * Display or hide the matched elements by animating their opacity.
     * @param duration A string or number determining how long the animation will run.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/fadeToggle/ }\`
     * @since 1.4.4
     * @example ​ ````Fades first paragraph in or out, completing the animation within 600 milliseconds and using a linear easing. Fades last paragraph in or out for 200 milliseconds, inserting a &quot;finished&quot; message upon completion.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>fadeToggle demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>fadeToggle p1</button>
<button>fadeToggle p2</button>
<p>This paragraph has a slow, linear fade.</p>
<p>This paragraph has a fast animation.</p>
<div id="log"></div>
​
<script>
$( "button:first" ).click(function() {
  $( "p:first" ).fadeToggle( "slow", "linear" );
});
$( "button:last" ).click(function() {
  $( "p:last" ).fadeToggle( "fast", function() {
    $( "#log" ).append( "<div>finished</div>" );
  });
});
</script>
​
</body>
</html>
```
     */
    fadeToggle(duration: JQuery.Duration, easing: string, complete?: (this: TElement) => void): this;
    /**
     * Display or hide the matched elements by animating their opacity.
     * @param duration_easing _&#x40;param_ `duration_easing`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/fadeToggle/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Fades first paragraph in or out, completing the animation within 600 milliseconds and using a linear easing. Fades last paragraph in or out for 200 milliseconds, inserting a &quot;finished&quot; message upon completion.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>fadeToggle demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>fadeToggle p1</button>
<button>fadeToggle p2</button>
<p>This paragraph has a slow, linear fade.</p>
<p>This paragraph has a fast animation.</p>
<div id="log"></div>
​
<script>
$( "button:first" ).click(function() {
  $( "p:first" ).fadeToggle( "slow", "linear" );
});
$( "button:last" ).click(function() {
  $( "p:last" ).fadeToggle( "fast", function() {
    $( "#log" ).append( "<div>finished</div>" );
  });
});
</script>
​
</body>
</html>
```
     */
    fadeToggle(duration_easing: JQuery.Duration | string, complete: (this: TElement) => void): this;
    /**
     * Display or hide the matched elements by animating their opacity.
     * @param duration_easing_complete_options _&#x40;param_ `duration_easing_complete_options`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element. <br>
     * * `options` — A map of additional options to pass to the method.
     * @see \`{@link https://api.jquery.com/fadeToggle/ }\`
     * @since 1.0
     * @since 1.4.3
     */
    fadeToggle(duration_easing_complete_options?: JQuery.Duration | string | ((this: TElement) => void) | JQuery.EffectsOptions<TElement>): this;
    /**
     * Reduce the set of matched elements to those that match the selector or pass the function's test.
     * @param selector_elements_selection_function _&#x40;param_ `selector_elements_selection_function`
     * <br>
     * * `selector` — A string containing a selector expression to match the current set of elements against. <br>
     * * `elements` — One or more DOM elements to match the current set of elements against. <br>
     * * `selection` — An existing jQuery object to match the current set of elements against. <br>
     * * `function` — A function used as a test for each element in the set. this is the current DOM element.
     * @see \`{@link https://api.jquery.com/filter/ }\`
     * @since 1.0
     * @since 1.4
     * @example ​ ````Change the color of all divs; then add a border to those with a &quot;middle&quot; class.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>filter demo</title>
  <style>
  div {
    width: 60px;
    height: 60px;
    margin: 5px;
    float: left;
    border: 2px white solid;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div class="middle"></div>
<div class="middle"></div>
<div class="middle"></div>
<div class="middle"></div>
<div></div>
​
<script>
$( "div" )
  .css( "background", "#c8ebcc" )
  .filter( ".middle" )
    .css( "border-color", "red" );
</script>
​
</body>
</html>
```
     * @example ​ ````Change the color of all divs; then add a border to the second one (index == 1) and the div with an id of &quot;fourth.&quot;
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>filter demo</title>
  <style>
  div {
    width: 60px;
    height: 60px;
    margin: 5px;
    float: left;
    border: 3px white solid;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div id="first"></div>
<div id="second"></div>
<div id="third"></div>
<div id="fourth"></div>
<div id="fifth"></div>
<div id="sixth"></div>
​
<script>
$( "div" )
  .css( "background", "#b4b0da" )
  .filter(function( index ) {
    return index === 1 || $( this ).attr( "id" ) === "fourth";
  })
    .css( "border", "3px double red" );
</script>
​
</body>
</html>
```
     * @example ​ ````Select all divs and filter the selection with a DOM element, keeping only the one with an id of &quot;unique&quot;.
```javascript
$( "div" ).filter( document.getElementById( "unique" ) );
```
     * @example ​ ````Select all divs and filter the selection with a jQuery object, keeping only the one with an id of &quot;unique&quot;.
```javascript
$( "div" ).filter( $( "#unique" ) );
```
     */
    filter(selector_elements_selection_function:
        JQuery.Selector |
        JQuery.TypeOrArray<Element> |
        JQuery |
        ((this: TElement, index: number, element: TElement) => boolean)
    ): this;
    /**
     * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
     * @param selector_element _&#x40;param_ `selector_element`
     * <br>
     * * `selector` — A string containing a selector expression to match elements against. <br>
     * * `element` — An element or a jQuery object to match elements against.
     * @see \`{@link https://api.jquery.com/find/ }\`
     * @since 1.0
     * @since 1.6
     * @example ​ ````Starts with all paragraphs and searches for descendant span elements, same as $( &quot;p span&quot; )
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>find demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><span>Hello</span>, how are you?</p>
<p>Me? I'm <span>good</span>.</p>
​
<script>
$( "p" ).find( "span" ).css( "color", "red" );
</script>
​
</body>
</html>
```
     * @example ​ ````A selection using a jQuery collection of all span tags. Only spans within p tags are changed to red while others are left blue.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>find demo</title>
  <style>
  span {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><span>Hello</span>, how are you?</p>
<p>Me? I'm <span>good</span>.</p>
<div>Did you <span>eat</span> yet?</div>
​
<script>
var spans = $( "span" );
$( "p" ).find( spans ).css( "color", "red" );
</script>
​
</body>
</html>
```
     * @example ​ ````Add spans around each word then add a hover and italicize words with the letter t.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>find demo</title>
  <style>
  p {
    font-size: 20px;
    width: 200px;
    color: blue;
    font-weight: bold;
    margin: 0 10px;
  }
  .hilite {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  When the day is short
  find that which matters to you
  or stop believing
</p>
​
<script>
var newText = $( "p" ).text().split( " " ).join( "</span> <span>" );
newText = "<span>" + newText + "</span>";
​
$( "p" )
  .html( newText )
  .find( "span" )
    .hover(function() {
      $( this ).addClass( "hilite" );
    }, function() {
      $( this ).removeClass( "hilite" );
    })
  .end()
  .find( ":contains('t')" )
    .css({
      "font-style": "italic",
      "font-weight": "bolder"
    });
</script>
​
</body>
</html>
```
     */
    find(selector_element: JQuery.Selector | Element | JQuery): this;
    /**
     * Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.
     * @param queue The name of the queue in which to stop animations.
     * @see \`{@link https://api.jquery.com/finish/ }\`
     * @since 1.9
     * @example ​ ````Click the Go button once to start the animation, and then click the other buttons to see how they affect the current and queued animations.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>finish demo</title>
  <style>
  .box {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 15px;
    height: 15px;
    background: black;
  }
  #path {
    height: 244px;
    font-size: 70%;
    border-left: 2px dashed red;
    border-bottom: 2px dashed green;
    border-right: 2px dashed blue;
  }
  button {
    width: 12em;
    display: block;
    text-align: left;
    margin: 0 auto;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="box"></div>
<div id="path">
  <button id="go">Go</button>
  <br>
  <button id="bstt" class="b">.stop( true,true )</button>
  <button id="bcf" class="b">.clearQueue().finish()</button>
  <br>
  <button id="bstf" class="b">.stop( true, false )</button>
  <button id="bcs" class="b">.clearQueue().stop()</button>
  <br>
  <button id="bsff" class="b">.stop( false, false )</button>
  <button id="bs" class="b">.stop()</button>
  <br>
  <button id="bsft" class="b">.stop( false, true )</button>
  <br>
  <button id="bf" class="b">.finish()</button>
</div>
​
<script>
var horiz = $( "#path" ).width() - 20,
  vert = $( "#path" ).height() - 20;
​
var btns = {
  bstt: function() {
    $( "div.box" ).stop( true, true );
  },
  bs: function() {
    $( "div.box" ).stop();
  },
  bsft: function() {
    $( "div.box" ).stop( false, true );
  },
  bf: function() {
    $( "div.box" ).finish();
  },
  bcf: function() {
    $( "div.box" ).clearQueue().finish();
  },
  bsff: function() {
    $( "div.box" ).stop( false, false );
  },
  bstf: function() {
    $( "div.box" ).stop( true, false );
  },
  bcs: function() {
    $( "div.box" ).clearQueue().stop();
  }
};
​
$( "button.b" ).on( "click", function() {
  btns[ this.id ]();
});
​
$( "#go" ).on( "click", function() {
  $( ".box" )
    .clearQueue()
    .stop()
    .css({
      left: 10,
      top: 10
    })
    .animate({
      top: vert
    }, 3000 )
    .animate({
      left: horiz
    }, 3000 )
    .animate({
      top: 10
    }, 3000 );
});
</script>
​
</body>
</html>
```
     */
    finish(queue?: string): this;
    /**
     * Reduce the set of matched elements to the first in the set.
     * @see \`{@link https://api.jquery.com/first/ }\`
     * @since 1.4
     * @example ​ ````Highlight the first span in a paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>first demo</title>
  <style>
  .highlight{
    background-color: yellow
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  <span>Look:</span>
  <span>This is some text in a paragraph.</span>
  <span>This is a note about it.</span>
</p>
​
<script>
$( "p span" ).first().addClass( "highlight" );
</script>
​
</body>
</html>
```
     */
    first(): this;
    /**
     * Bind an event handler to the "focus" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/focus/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    focus<TData>(eventData: TData,
                 handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'focus'>): this;
    /**
     * Bind an event handler to the "focus" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/focus/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Fire focus.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>focus demo</title>
  <style>
  span {
    display: none;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><input type="text"> <span>focus fire</span></p>
<p><input type="password"> <span>focus fire</span></p>
​
<script>
$( "input" ).focus(function() {
  $( this ).next( "span" ).css( "display", "inline" ).fadeOut( 1000 );
});
</script>
​
</body>
</html>
```
     * @example ​ ````To stop people from writing in text input boxes, try:
```javascript
$( "input[type=text]" ).focus(function() {
  $( this ).blur();
});
```
     * @example ​ ````To focus on a login input box with id &#39;login&#39; on page startup, try:
```javascript
$( document ).ready(function() {
  $( "#login" ).focus();
});
```
     */
    focus(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'focus'> |
                    false): this;
    /**
     * Bind an event handler to the "focusin" event.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/focusin/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    focusin<TData>(eventData: TData,
                   handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'focusin'>): this;
    /**
     * Bind an event handler to the "focusin" event.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/focusin/ }\`
     * @since 1.4
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Watch for a focus to occur within the paragraphs on the page.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>focusin demo</title>
  <style>
  span {
    display: none;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><input type="text"> <span>focusin fire</span></p>
<p><input type="password"> <span>focusin fire</span></p>
​
<script>
$( "p" ).focusin(function() {
  $( this ).find( "span" ).css( "display", "inline" ).fadeOut( 1000 );
});
</script>
​
</body>
</html>
```
     */
    focusin(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'focusin'> |
                      false): this;
    /**
     * Bind an event handler to the "focusout" JavaScript event.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/focusout/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    focusout<TData>(eventData: TData,
                    handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'focusout'>): this;
    /**
     * Bind an event handler to the "focusout" JavaScript event.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/focusout/ }\`
     * @since 1.4
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Watch for a loss of focus to occur inside paragraphs and note the difference between the focusout count and the blur count. (The blur count does not change because those events do not bubble.)
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>focusout demo</title>
  <style>
  .inputs {
    float: left;
    margin-right: 1em;
  }
  .inputs p {
    margin-top: 0;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="inputs">
  <p>
    <input type="text"><br>
    <input type="text">
  </p>
  <p>
    <input type="password">
  </p>
</div>
<div id="focus-count">focusout fire</div>
<div id="blur-count">blur fire</div>
​
<script>
var focus = 0,
  blur = 0;
$( "p" )
  .focusout(function() {
    focus++;
    $( "#focus-count" ).text( "focusout fired: " + focus + "x" );
  })
  .blur(function() {
    blur++;
    $( "#blur-count" ).text( "blur fired: " + blur + "x" );
  });
</script>
​
</body>
</html>
```
     */
    focusout(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'focusout'> |
                       false): this;
    /**
     * Retrieve one of the elements matched by the jQuery object.
     * @param index A zero-based integer indicating which element to retrieve.
     * @see \`{@link https://api.jquery.com/get/ }\`
     * @since 1.0
     * @example ​ ````Display the tag name of the click element.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>get demo</title>
  <style>
  span {
    color: red;
  }
  div {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<span>&nbsp;</span>
<p>In this paragraph is an <span>important</span> section</p>
<div><input type="text"></div>
​
<script>
$( "*", document.body ).click(function( event ) {
  event.stopPropagation();
  var domElement = $( this ).get( 0 );
  $( "span:first" ).text( "Clicked on - " + domElement.nodeName );
});
</script>
​
</body>
</html>
```
     */
    get(index: number): TElement;
    /**
     * Retrieve the elements matched by the jQuery object.
     * @see \`{@link https://api.jquery.com/get/ }\`
     * @since 1.0
     * @example ​ ````Select all divs in the document and return the DOM Elements as an Array; then use the built-in reverse() method to reverse that array.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>get demo</title>
  <style>
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
Reversed - <span></span>
​
<div>One</div>
<div>Two</div>
<div>Three</div>
​
<script>
function display( divs ) {
  var a = [];
  for ( var i = 0; i < divs.length; i++ ) {
    a.push( divs[ i ].innerHTML );
  }
  $( "span" ).text( a.join(" ") );
}
display( $( "div" ).get().reverse() );
</script>
​
</body>
</html>
```
     */
    get(): TElement[];
    /**
     * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.
     * @param selector_contained _&#x40;param_ `selector_contained`
     * <br>
     * * `selector` — A string containing a selector expression to match elements against. <br>
     * * `contained` — A DOM element to match elements against.
     * @see \`{@link https://api.jquery.com/has/ }\`
     * @since 1.4
     * @example ​ ````Check if an element is inside another.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>has demo</title>
  <style>
  .full {
    border: 1px solid red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul><li>Does the UL contain an LI?</li></ul>
​
<script>
$( "ul" ).append( "<li>" +
  ( $( "ul" ).has( "li" ).length ? "Yes" : "No" ) +
  "</li>" );
$( "ul" ).has( "li" ).addClass( "full" );
</script>
​
</body>
</html>
```
     */
    has(selector_contained: string | Element): this;
    /**
     * Determine whether any of the matched elements are assigned the given class.
     * @param className The class name to search for.
     * @see \`{@link https://api.jquery.com/hasClass/ }\`
     * @since 1.2
     * @example ​ ````Looks for the paragraph that contains &#39;selected&#39; as a class.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>hasClass demo</title>
  <style>
  p {
    margin: 8px;
    font-size: 16px;
  }
  .selected {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>This paragraph is black and is the first paragraph.</p>
<p class="selected">This paragraph is red and is the second paragraph.</p>
<div id="result1">First paragraph has selected class: </div>
<div id="result2">Second paragraph has selected class: </div>
<div id="result3">At least one paragraph has selected class: </div>
​
<script>
$( "#result1" ).append( $( "p:first" ).hasClass( "selected" ).toString() );
$( "#result2" ).append( $( "p:last" ).hasClass( "selected" ).toString() );
$( "#result3" ).append( $( "p" ).hasClass( "selected" ).toString() ) ;
</script>
​
</body>
</html>
```
     */
    hasClass(className: string): boolean;
    /**
     * Set the CSS height of every matched element.
     * @param value_function _&#x40;param_ `value_function`
     * <br>
     * * `value` — An integer representing the number of pixels, or an integer with an optional unit of measure
     *             appended (as a string). <br>
     * * `function` — A function returning the height to set. Receives the index position of the element in the set and
     *                the old height as arguments. Within the function, `this` refers to the current element in the set.
     * @see \`{@link https://api.jquery.com/height/ }\`
     * @since 1.0
     * @since 1.4.1
     * @example ​ ````To set the height of each div on click to 30px plus a color change.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>height demo</title>
  <style>
  div {
    width: 50px;
    height: 70px;
    float: left;
    margin: 5px;
    background: rgb(255,140,0);
    cursor: pointer;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
​
<script>
$( "div" ).one( "click", function() {
  $( this ).height( 30 ).css({
    cursor: "auto",
    backgroundColor: "green"
  });
});
</script>
​
</body>
</html>
```
     */
    height(value_function: string | number | ((this: TElement, index: number, height: number) => string | number)): this;
    /**
     * Get the current computed height for the first element in the set of matched elements.
     * @see \`{@link https://api.jquery.com/height/ }\`
     * @since 1.0
     * @example ​ ````Show various heights.  Note the values are from the iframe so might be smaller than you expected.  The yellow highlight shows the iframe body.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>height demo</title>
  <style>
  body {
    background: yellow;
  }
  button {
    font-size: 12px;
    margin: 2px;
  }
  p {
    width: 150px;
    border: 1px red solid;
  }
  div {
    color: red;
    font-weight: bold;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="getp">Get Paragraph Height</button>
<button id="getd">Get Document Height</button>
<button id="getw">Get Window Height</button>
​
<div>&nbsp;</div>
<p>
  Sample paragraph to test height
</p>
​
<script>
function showHeight( element, height ) {
  $( "div" ).text( "The height for the " + element + " is " + height + "px." );
}
$( "#getp" ).click(function() {
  showHeight( "paragraph", $( "p" ).height() );
});
$( "#getd" ).click(function() {
  showHeight( "document", $( document ).height() );
});
$( "#getw" ).click(function() {
  showHeight( "window", $( window ).height() );
});
</script>
​
</body>
</html>
```
     */
    height(): number | undefined;
    /**
     * Hide the matched elements.
     * @param duration A string or number determining how long the animation will run.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/hide/ }\`
     * @since 1.4.3
     */
    hide(duration: JQuery.Duration, easing: string, complete: (this: TElement) => void): this;
    /**
     * Hide the matched elements.
     * @param duration A string or number determining how long the animation will run.
     * @param easing_complete _&#x40;param_ `easing_complete`
     * <br>
     * * `easing` — A string indicating which easing function to use for the transition. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/hide/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Animates all spans (words in this case) to hide fastly, completing each animation within 200 milliseconds. Once each animation is done, it starts the next one.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>hide demo</title>
  <style>
  span {
    background: #def3ca;
    padding: 3px;
    float: left;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="hider">Hide</button>
<button id="shower">Show</button>
<div>
  <span>Once</span> <span>upon</span> <span>a</span>
  <span>time</span> <span>there</span> <span>were</span>
  <span>three</span> <span>programmers...</span>
</div>
​
<script>
$( "#hider" ).click(function() {
  $( "span:last-child" ).hide( "fast", function() {
    // Use arguments.callee so we don't need a named function
    $( this ).prev().hide( "fast", arguments.callee );
  });
});
$( "#shower" ).click(function() {
  $( "span" ).show( 2000 );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Hides the divs when clicked over 2 seconds, then removes the div element when its hidden.  Try clicking on more than one box at a time.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>hide demo</title>
  <style>
  div {
    background: #ece023;
    width: 30px;
    height: 40px;
    margin: 2px;
    float: left;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
​
<script>
for ( var i = 0; i < 5; i++ ) {
  $( "<div>" ).appendTo( document.body );
}
$( "div" ).click(function() {
  $( this ).hide( 2000, function() {
    $( this ).remove();
  });
});
</script>
​
</body>
</html>
```
     */
    hide(duration: JQuery.Duration, easing_complete: string | ((this: TElement) => void)): this;
    /**
     * Hide the matched elements.
     * @param duration_complete_options _&#x40;param_ `duration_complete_options`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element. <br>
     * * `options` — A map of additional options to pass to the method.
     * @see \`{@link https://api.jquery.com/hide/ }\`
     * @since 1.0
     * @example ​ ````Hides all paragraphs then the link on click.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>hide demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<a href="#">Click to hide me too</a>
<p>Here is another paragraph</p>
​
<script>
$( "p" ).hide();
$( "a" ).click(function( event ) {
  event.preventDefault();
  $( this ).hide();
});
</script>
​
</body>
</html>
```
     * @example ​ ````Animates all shown paragraphs to hide slowly, completing the animation within 600 milliseconds.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>hide demo</title>
  <style>
  p {
    background: #dad;
    font-weight: bold;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Hide 'em</button>
<p>Hiya</p>
<p>Such interesting text, eh?</p>
​
<script>
$( "button" ).click(function() {
  $( "p" ).hide( "slow" );
});
</script>
​
</body>
</html>
```
     */
    hide(duration_complete_options?: JQuery.Duration | ((this: TElement) => void) | JQuery.EffectsOptions<TElement>): this;
    /**
     * Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.
     * @param handlerIn A function to execute when the mouse pointer enters the element.
     * @param handlerOut A function to execute when the mouse pointer leaves the element.
     * @see \`{@link https://api.jquery.com/hover/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated.
     *
     * **Cause**: The `.hover()` method is a shorthand for the use of the `mouseover`/`mouseout` events. It is often a poor user interface choice because it does not allow for any small amounts of delay between when the mouse enters or exits an area and when the event fires. This can make it quite difficult to use with UI widgets such as drop-down menus. For more information on the problems of hovering, see the \`{@link http://cherne.net/brian/resources/jquery.hoverIntent.html hoverIntent plugin}\`.
     *
     * **Solution**: Review uses of `.hover()` to determine if they are appropriate, and consider use of plugins such as `hoverIntent` as an alternative. The direct replacement for `.hover(fn1, fn2)`, is `.on("mouseenter", fn1).on("mouseleave", fn2)`.
     * @example ​ ````To add a special style to list items that are being hovered over, try:
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>hover demo</title>
  <style>
  ul {
    margin-left: 20px;
    color: blue;
  }
  li {
    cursor: default;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li>Milk</li>
  <li>Bread</li>
  <li class="fade">Chips</li>
  <li class="fade">Socks</li>
</ul>
​
<script>
$( "li" ).hover(
  function() {
    $( this ).append( $( "<span> ***</span>" ) );
  }, function() {
    $( this ).find( "span:last" ).remove();
  }
);
​
$( "li.fade" ).hover(function() {
  $( this ).fadeOut( 100 );
  $( this ).fadeIn( 500 );
});
</script>
​
</body>
</html>
```
     * @example ​ ````To add a special style to table cells that are being hovered over, try:
```javascript
$( "td" ).hover(
  function() {
    $( this ).addClass( "hover" );
  }, function() {
    $( this ).removeClass( "hover" );
  }
);
```
     * @example ​ ````To unbind the above example use:
```javascript
$( "td" ).off( "mouseenter mouseleave" );
```
     */
    hover(handlerIn: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'mouseenter'> |
                     false,
          handlerOut: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'mouseleave'> |
                      false): this;
    /**
     * Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements.
     * @param handlerInOut A function to execute when the mouse pointer enters or leaves the element.
     * @see \`{@link https://api.jquery.com/hover/ }\`
     * @since 1.4
     * @deprecated ​ Deprecated.
     *
     * **Cause**: The `.hover()` method is a shorthand for the use of the `mouseover`/`mouseout` events. It is often a poor user interface choice because it does not allow for any small amounts of delay between when the mouse enters or exits an area and when the event fires. This can make it quite difficult to use with UI widgets such as drop-down menus. For more information on the problems of hovering, see the \`{@link http://cherne.net/brian/resources/jquery.hoverIntent.html hoverIntent plugin}\`.
     *
     * **Solution**: Review uses of `.hover()` to determine if they are appropriate, and consider use of plugins such as `hoverIntent` as an alternative. The direct replacement for `.hover(fn1, fn2)`, is `.on("mouseenter", fn1).on("mouseleave", fn2)`.
     * @example ​ ````Slide the next sibling LI up or down on hover, and toggle a class.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>hover demo</title>
  <style>
  ul {
    margin-left: 20px;
    color: blue;
  }
  li {
    cursor: default;
  }
  li.active {
    background: black;
    color: white;
  }
  span {
    color:red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li>Milk</li>
  <li>White</li>
  <li>Carrots</li>
  <li>Orange</li>
  <li>Broccoli</li>
  <li>Green</li>
</ul>
​
<script>
$( "li" )
  .filter( ":odd" )
    .hide()
  .end()
  .filter( ":even" )
    .hover(function() {
      $( this )
        .toggleClass( "active" )
        .next()
          .stop( true, true )
          .slideToggle();
    });
</script>
​
</body>
</html>
```
     */
    hover(handlerInOut: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'mouseenter' | 'mouseleave'> |
                        false): this;
    /**
     * Set the HTML contents of each element in the set of matched elements.
     * @param htmlString_function _&#x40;param_ `htmlString_function`
     * <br>
     * * `htmlString` — A string of HTML to set as the content of each matched element. <br>
     * * `function` — A function returning the HTML content to set. Receives the index position of the element in the set
     *                and the old HTML value as arguments. jQuery empties the element before calling the function; use the
     *                oldhtml argument to reference the previous content. Within the function, `this` refers to the current
     *                element in the set.
     * @see \`{@link https://api.jquery.com/html/ }\`
     * @since 1.0
     * @since 1.4
     * @example ​ ````Add some html to each div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>html demo</title>
  <style>
  .red {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<span>Hello</span>
<div></div>
<div></div>
<div></div>
​
<script>
$( "div" ).html( "<span class='red'>Hello <b>Again</b></span>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Add some html to each div then immediately do further manipulations to the inserted html.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>html demo</title>
  <style>
  div {
    color: blue;
    font-size: 18px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div></div>
<div></div>
​
<script>
$( "div" ).html( "<b>Wow!</b> Such excitement..." );
$( "div b" )
  .append( document.createTextNode( "!!!" ) )
  .css( "color", "red" );
</script>
​
</body>
</html>
```
     */
    html(htmlString_function: JQuery.htmlString |
                              JQuery.Node |
                              ((this: TElement, index: number, oldhtml: JQuery.htmlString) => JQuery.htmlString | JQuery.Node)): this;
    /**
     * Get the HTML contents of the first element in the set of matched elements.
     * @see \`{@link https://api.jquery.com/html/ }\`
     * @since 1.0
     * @example ​ ````Click a paragraph to convert it from html to text.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>html demo</title>
  <style>
  p {
    margin: 8px;
    font-size: 20px;
    color: blue;
    cursor: pointer;
  }
  b {
    text-decoration: underline;
  }
  button {
    cursor: pointer;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  <b>Click</b> to change the <span id="tag">html</span>
</p>
<p>
  to a <span id="text">text</span> node.
</p>
<p>
  This <button name="nada">button</button> does nothing.
</p>
​
<script>
$( "p" ).click(function() {
  var htmlString = $( this ).html();
  $( this ).text( htmlString );
});
</script>
​
</body>
</html>
```
     */
    html(): string;
    /**
     * Search for a given element from among the matched elements.
     * @param selector_element _&#x40;param_ `selector_element`
     * <br>
     * * `selector` — A selector representing a jQuery collection in which to look for an element. <br>
     * * `element` — The DOM element or first element within the jQuery object to look for.
     * @see \`{@link https://api.jquery.com/index/ }\`
     * @since 1.0
     * @since 1.4
     * @example ​ ````On click, returns the index (zero-based) of that div in the page.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>index demo</title>
  <style>
  div {
    background: yellow;
    margin: 5px;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<span>Click a div!</span>
<div>First div</div>
<div>Second div</div>
<div>Third div</div>
​
<script>
$( "div" ).click(function() {
  // `this` is the DOM element that was clicked
  var index = $( "div" ).index( this );
  $( "span" ).text( "That was div index #" + index );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Returns the index for the element with ID bar.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>index demo</title>
  <style>
  div {
    font-weight: bold;
    color: #090;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li id="foo">foo</li>
  <li id="bar">bar</li>
  <li id="baz">baz</li>
</ul>
<div></div>
​
<script>
var listItem = $( "#bar" );
$( "div" ).html( "Index: " + $( "li" ).index( listItem ) );
</script>
​
</body>
</html>
```
     * @example ​ ````Returns the index for the first item in the jQuery collection.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>index demo</title>
  <style>
  div {
    font-weight: bold;
    color: #090;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li id="foo">foo</li>
  <li id="bar">bar</li>
  <li id="baz">baz</li>
</ul>
<div></div>
​
<script>
var listItems = $( "li:gt(0)" );
$( "div" ).html( "Index: " + $( "li" ).index( listItems ) );
</script>
​
</body>
</html>
```
     * @example ​ ````Returns the index for the element with ID bar in relation to all &lt;li&gt; elements.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>index demo</title>
  <style>
  div {
    font-weight: bold;
    color: #090;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li id="foo">foo</li>
  <li id="bar">bar</li>
  <li id="baz">baz</li>
</ul>
<div></div>
​
<script>
$( "div" ).html( "Index: " +  $( "#bar" ).index( "li" ) );
</script>
​
</body>
</html>
```
     * @example ​ ````Returns the index for the element with ID bar in relation to its siblings.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>index demo</title>
  <style>
  div {
    font-weight: bold;
    color: #090;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li id="foo">foo</li>
  <li id="bar">bar</li>
  <li id="baz">baz</li>
</ul>
<div></div>
​
<script>
var barIndex = $( "#bar" ).index();
$( "div" ).html( "Index: " +  barIndex );
</script>
​
</body>
</html>
```
     * @example ​ ````Returns -1, as there is no element with ID foobar.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>index demo</title>
  <style>
  div {
    font-weight: bold;
    color: #090;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li id="foo">foo</li>
  <li id="bar">bar</li>
  <li id="baz">baz</li>
</ul>
<div></div>
​
<script>
var foobar = $( "li" ).index( $( "#foobar" ) );
$( "div" ).html( "Index: " + foobar );
</script>
​
</body>
</html>
```
     */
    index(selector_element?: JQuery.Selector | Element | JQuery): number;
    /**
     * Set the CSS inner height of each element in the set of matched elements.
     * @param value_function _&#x40;param_ `value_function`
     * <br>
     * * `value` — A number representing the number of pixels, or a number along with an optional unit of measure
     *             appended (as a string). <br>
     * * `function` — A function returning the inner height (including padding but not border) to set. Receives the index
     *                position of the element in the set and the old inner height as arguments. Within the function, `this`
     *                refers to the current element in the set.
     * @see \`{@link https://api.jquery.com/innerHeight/ }\`
     * @since 1.8.0
     * @example ​ ````Change the inner height of each div the first time it is clicked (and change its color).
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>innerHeight demo</title>
  <style>
div {
  width: 60px;
  padding: 10px;
  height: 70px;
  float: left;
  margin: 5px;
  background: red;
  cursor: pointer;
}
.mod {
  background: blue;
  cursor: default;
}
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>d</div>
<div>d</div>
<div>d</div>
<div>d</div>
<div>d</div>
​
<script>
var modHeight = 70;
$( "div" ).one( "click", function() {
  $( this ).innerHeight( modHeight ).addClass( "mod" );
  modHeight -= 8;
});
</script>
​
</body>
</html>
```
     */
    innerHeight(value_function: string | number | ((this: TElement, index: number, height: number) => string | number)): this;
    /**
     * Get the current computed height for the first element in the set of matched elements, including padding but not border.
     * @see \`{@link https://api.jquery.com/innerHeight/ }\`
     * @since 1.2.6
     * @example ​ ````Get the innerHeight of a paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>innerHeight demo</title>
  <style>
  p {
    margin: 10px;
    padding: 5px;
    border: 2px solid #666;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p></p>
​
<script>
var p = $( "p:first" );
$( "p:last" ).text( "innerHeight:" + p.innerHeight() );
</script>
​
</body>
</html>
```
     */
    innerHeight(): number | undefined;
    /**
     * Set the CSS inner width of each element in the set of matched elements.
     * @param value_function _&#x40;param_ `value_function`
     * <br>
     * * `value` — A number representing the number of pixels, or a number along with an optional unit of measure
     *             appended (as a string). <br>
     * * `function` — A function returning the inner width (including padding but not border) to set. Receives the index
     *                position of the element in the set and the old inner width as arguments. Within the function, `this`
     *                refers to the current element in the set.
     * @see \`{@link https://api.jquery.com/innerWidth/ }\`
     * @since 1.8.0
     * @example ​ ````Change the inner width of each div the first time it is clicked (and change its color).
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>innerWidth demo</title>
  <style>
div {
width: 60px;
padding: 10px;
height: 50px;
float: left;
margin: 5px;
background: red;
cursor: pointer;
}
.mod {
background: blue;
cursor: default;
}
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>d</div>
<div>d</div>
<div>d</div>
<div>d</div>
<div>d</div>
​
<script>
var modWidth = 60;
$( "div" ).one( "click", function() {
$( this ).innerWidth( modWidth ).addClass( "mod" );
modWidth -= 8;
});
</script>
​
</body>
</html>
```
     */
    innerWidth(value_function: string | number | ((this: TElement, index: number, width: number) => string | number)): this;
    /**
     * Get the current computed inner width for the first element in the set of matched elements, including padding but not border.
     * @see \`{@link https://api.jquery.com/innerWidth/ }\`
     * @since 1.2.6
     * @example ​ ````Get the innerWidth of a paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>innerWidth demo</title>
  <style>
  p {
    margin: 10px;
    padding: 5px;
    border: 2px solid #666;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p></p>
​
<script>
var p = $( "p:first" );
$( "p:last" ).text( "innerWidth:" + p.innerWidth() );
</script>
​
</body>
</html>
```
     */
    innerWidth(): number | undefined;
    /**
     * Insert every element in the set of matched elements after the target.
     * @param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements
     *               will be inserted after the element(s) specified by this parameter.
     * @see \`{@link https://api.jquery.com/insertAfter/ }\`
     * @since 1.0
     * @example ​ ````Insert all paragraphs after an element with id of &quot;foo&quot;. Same as $( &quot;#foo&quot; ).after( &quot;p&quot; )
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>insertAfter demo</title>
  <style>
  #foo {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p> is what I said... </p>
<div id="foo">FOO!</div>
​
<script>
$( "p" ).insertAfter( "#foo" );
</script>
​
</body>
</html>
```
     */
    insertAfter(target: JQuery.Selector | JQuery.htmlString | JQuery.TypeOrArray<Node> | JQuery<Node>): this;
    /**
     * Insert every element in the set of matched elements before the target.
     * @param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements
     *               will be inserted before the element(s) specified by this parameter.
     * @see \`{@link https://api.jquery.com/insertBefore/ }\`
     * @since 1.0
     * @example ​ ````Insert all paragraphs before an element with id of &quot;foo&quot;. Same as $( &quot;#foo&quot; ).before( &quot;p&quot; )
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>insertBefore demo</title>
  <style>
  #foo {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div id="foo">FOO!</div>
<p>I would like to say: </p>
​
<script>
$( "p" ).insertBefore( "#foo" );
</script>
​
</body>
</html>
```
     */
    insertBefore(target: JQuery.Selector | JQuery.htmlString | JQuery.TypeOrArray<Node> | JQuery<Node>): this;
    /**
     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
     * @param selector_function_selection_elements _&#x40;param_ `selector_function_selection_elements`
     * <br>
     * * `selector` — A string containing a selector expression to match elements against. <br>
     * * `function` — A function used as a test for every element in the set. It accepts two arguments, `index`, which is
     *                the element's index in the jQuery collection, and `element`, which is the DOM element. Within the
     *                function, `this` refers to the current DOM element. <br>
     * * `selection` — An existing jQuery object to match the current set of elements against. <br>
     * * `elements` — One or more elements to match the current set of elements against.
     * @see \`{@link https://api.jquery.com/is/ }\`
     * @since 1.0
     * @since 1.6
     * @example ​ ````Shows a few ways is() can be used inside an event handler.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>is demo</title>
  <style>
  div {
    width: 60px;
    height: 60px;
    margin: 5px;
    float: left;
    border: 4px outset;
    background: green;
    text-align: center;
    font-weight: bolder;
    cursor: pointer;
  }
  .blue {
    background: blue;
  }
  .red {
    background: red;
  }
  span {
    color: white;
    font-size: 16px;
  }
  p {
    color: red;
    font-weight: bolder;
    background: yellow;
    margin: 3px;
    clear: left;
    display: none;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div class="blue"></div>
<div></div>
<div class="red"></div>
<div><br/><span>Peter</span></div>
<div class="blue"></div>
<p>&nbsp;</p>
​
<script>
$( "div" ).one( "click", function() {
  if ( $( this ).is( ":first-child" ) ) {
    $( "p" ).text( "It's the first div." );
  } else if ( $( this ).is( ".blue,.red" ) ) {
    $( "p" ).text( "It's a blue or red div." );
  } else if ( $( this ).is( ":contains('Peter')" ) ) {
    $( "p" ).text( "It's Peter!" );
  } else {
    $( "p" ).html( "It's nothing <em>special</em>." );
  }
  $( "p" ).hide().slideDown( "slow" );
  $( this ).css({
    "border-style": "inset",
    cursor: "default"
  });
});
</script>
​
</body>
</html>
```
     * @example ​ ````Returns true, because the parent of the input is a form element.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>is demo</title>
  <style>
  div {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<form>
  <input type="checkbox">
</form>
<div></div>
​
<script>
var isFormParent = $( "input[type='checkbox']" ).parent().is( "form" );
$( "div" ).text( "isFormParent = " + isFormParent );
</script>
​
</body>
</html>
```
     * @example ​ ````Returns false, because the parent of the input is a p element.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>is demo</title>
  <style>
  div {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<form>
  <p><input type="checkbox"></p>
</form>
<div></div>
​
<script>
var isFormParent = $( "input[type='checkbox']" ).parent().is( "form" );
$( "div" ).text( "isFormParent = " + isFormParent );
</script>
​
</body>
</html>
```
     * @example ​ ````Checks against an existing collection of alternating list elements. Blue, alternating list elements slide up while others turn red.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>is demo</title>
  <style>
  li {
    cursor: pointer;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul id="browsers">
  <li>Chrome</li>
  <li>Safari</li>
  <li>Firefox</li>
  <li>Opera</li>
</ul>
​
<script>
var alt = $( "#browsers li:nth-child(2n)" ).css( "background", "#0ff" );
$( "li" ).click(function() {
  var li = $( this );
  if ( li.is( alt ) ) {
    li.slideUp();
  } else {
    li.css( "background", "red" );
  }
});
</script>
​
</body>
</html>
```
     * @example ​ ````An alternate way to achieve the above example using an element rather than a jQuery object. Checks against an existing collection of alternating list elements. Blue, alternating list elements slide up while others turn red.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>is demo</title>
  <style>
  li {
    cursor: pointer;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul id="browsers">
  <li>Chrome</li>
  <li>Safari</li>
  <li>Firefox</li>
  <li>Opera</li>
</ul>
​
<script>
var alt = $( "#browsers li:nth-child(2n)" ).css( "background", "#0ff" );
$( "li" ).click(function() {
  if ( alt.is( this ) ) {
    $( this ).slideUp();
  } else {
    $( this ).css( "background", "red" );
  }
});
</script>
​
</body>
</html>
```
     */
    is(selector_function_selection_elements: JQuery.Selector | JQuery.TypeOrArray<Element> | JQuery | ((this: TElement, index: number, element: TElement) => boolean)): boolean;
    /**
     * Bind an event handler to the "keydown" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/keydown/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    keydown<TData>(eventData: TData,
                   handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'keydown'>): this;
    /**
     * Bind an event handler to the "keydown" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/keydown/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Show the event object for the keydown handler when a key is pressed in the input.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>keydown demo</title>
  <style>
  fieldset {
    margin-bottom: 1em;
  }
  input {
    display: block;
    margin-bottom: .25em;
  }
  #print-output {
    width: 100%;
  }
  .print-output-line {
    white-space: pre;
    padding: 5px;
    font-family: monaco, monospace;
    font-size: .7em;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<form>
  <fieldset>
    <label for="target">Type Something:</label>
    <input id="target" type="text">
  </fieldset>
</form>
<button id="other">
  Trigger the handler
</button>
<script type="text/javascript" src="/resources/events.js"></script>
​
<script>
var xTriggered = 0;
$( "#target" ).keydown(function( event ) {
  if ( event.which == 13 ) {
   event.preventDefault();
  }
  xTriggered++;
  var msg = "Handler for .keydown() called " + xTriggered + " time(s).";
  $.print( msg, "html" );
  $.print( event );
});
​
$( "#other" ).click(function() {
  $( "#target" ).keydown();
});
</script>
​
</body>
</html>
```
     */
    keydown(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'keydown'> |
                      false): this;
    /**
     * Bind an event handler to the "keypress" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/keypress/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    keypress<TData>(eventData: TData,
                    handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'keypress'>): this;
    /**
     * Bind an event handler to the "keypress" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/keypress/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Show the event object when a key is pressed in the input. Note: This demo relies on a simple $.print() plugin (https://api.jquery.com/resources/events.js) for the event object&#39;s output.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>keypress demo</title>
  <style>
  fieldset {
    margin-bottom: 1em;
  }
  input {
    display: block;
    margin-bottom: .25em;
  }
  #print-output {
    width: 100%;
  }
  .print-output-line {
    white-space: pre;
    padding: 5px;
    font-family: monaco, monospace;
    font-size: .7em;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<form>
  <fieldset>
    <label for="target">Type Something:</label>
    <input id="target" type="text">
  </fieldset>
</form>
<button id="other">
  Trigger the handler
</button>
<script src="/resources/events.js"></script>
​
<script>
var xTriggered = 0;
$( "#target" ).keypress(function( event ) {
  if ( event.which == 13 ) {
     event.preventDefault();
  }
  xTriggered++;
  var msg = "Handler for .keypress() called " + xTriggered + " time(s).";
  $.print( msg, "html" );
  $.print( event );
});
​
$( "#other" ).click(function() {
  $( "#target" ).keypress();
});
</script>
​
</body>
</html>
```
     */
    keypress(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'keypress'> |
                       false): this;
    /**
     * Bind an event handler to the "keyup" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/keyup/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    keyup<TData>(eventData: TData,
                 handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'keyup'>): this;
    /**
     * Bind an event handler to the "keyup" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/keyup/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Show the event object for the keyup handler (using a simple $.print plugin) when a key is released in the input.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>keyup demo</title>
  <style>
  fieldset {
    margin-bottom: 1em;
  }
  input {
    display: block;
    margin-bottom: .25em;
  }
  #print-output {
    width: 100%;
  }
  .print-output-line {
    white-space: pre;
    padding: 5px;
    font-family: monaco, monospace;
    font-size: .7em;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<form>
  <fieldset>
    <label for="target">Type Something:</label>
    <input id="target" type="text">
  </fieldset>
</form>
<button id="other">
  Trigger the handler
</button>
<script type="text/javascript" src="/resources/events.js"></script>
​
<script>
var xTriggered = 0;
$( "#target" ).keyup(function( event ) {
  xTriggered++;
  var msg = "Handler for .keyup() called " + xTriggered + " time(s).";
  $.print( msg, "html" );
  $.print( event );
}).keydown(function( event ) {
  if ( event.which == 13 ) {
    event.preventDefault();
  }
});
​
$( "#other").click(function() {
  $( "#target" ).keyup();
});
</script>
​
</body>
</html>
```
     */
    keyup(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'keyup'> |
                    false): this;
    /**
     * Reduce the set of matched elements to the final one in the set.
     * @see \`{@link https://api.jquery.com/last/ }\`
     * @since 1.4
     * @example ​ ````Highlight the last span in a paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>last demo</title>
  <style>
  .highlight {
    background-color: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><span>Look:</span> <span>This is some text in a paragraph.</span> <span>This is a note about it.</span></p>
​
<script>
$( "p span" ).last().addClass( "highlight" );
</script>
​
</body>
</html>
```
     */
    last(): this;
    /**
     * Load data from the server and place the returned HTML into the matched element.
     * @param url A string containing the URL to which the request is sent.
     * @param data A plain object or string that is sent to the server with the request.
     * @param complete A callback function that is executed when the request completes.
     * @see \`{@link https://api.jquery.com/load/ }\`
     * @since 1.0
     * @example ​ ````Same as above, but will POST the additional parameters to the server and a callback that is executed when the server is finished responding.
```javascript
$( "#feeds" ).load( "feeds.php", { limit: 25 }, function() {
  alert( "The last 25 entries in the feed have been loaded" );
});
```
     */
    load(url: string,
         data: string | JQuery.PlainObject,
         complete: (this: TElement, responseText: string, textStatus: JQuery.Ajax.TextStatus, jqXHR: JQuery.jqXHR) => void): this;
    /**
     * Load data from the server and place the returned HTML into the matched element.
     * @param url A string containing the URL to which the request is sent.
     * @param complete_data _&#x40;param_ `complete_data`
     * <br>
     * * `complete` — A callback function that is executed when the request completes. <br>
     * * `data` — A plain object or string that is sent to the server with the request.
     * @see \`{@link https://api.jquery.com/load/ }\`
     * @since 1.0
     * @example ​ ````Load another page&#39;s list items into an ordered list.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>load demo</title>
  <style>
  body {
    font-size: 12px;
    font-family: Arial;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<b>Projects:</b>
<ol id="new-projects"></ol>
​
<script>
$( "#new-projects" ).load( "/resources/load.html #projects li" );
</script>
​
</body>
</html>
```
     * @example ​ ````Display a notice if the Ajax request encounters an error.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>load demo</title>
  <style>
  body {
    font-size: 12px;
    font-family: Arial;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<b>Successful Response (should be blank):</b>
<div id="success"></div>
<b>Error Response:</b>
<div id="error"></div>
​
<script>
$( "#success" ).load( "/not-here.php", function( response, status, xhr ) {
  if ( status == "error" ) {
    var msg = "Sorry but there was an error: ";
    $( "#error" ).html( msg + xhr.status + " " + xhr.statusText );
  }
});
</script>
​
</body>
</html>
```
     * @example ​ ````Load the feeds.html file into the div with the ID of feeds.
```javascript
$( "#feeds" ).load( "feeds.html" );
```
     * @example ​ ````pass arrays of data to the server.
```javascript
$( "#objectID" ).load( "test.php", { "choices[]": [ "Jon", "Susan" ] } );
```
     */
    load(url: string,
         complete_data?: ((this: TElement, responseText: string, textStatus: JQuery.Ajax.TextStatus, jqXHR: JQuery.jqXHR) => void) | string | JQuery.PlainObject): this;
    /**
     * Pass each element in the current matched set through a function, producing a new jQuery object containing the return values.
     * @param callback A function object that will be invoked for each element in the current set.
     * @see \`{@link https://api.jquery.com/map/ }\`
     * @since 1.2
     * @example ​ ````Build a list of all the values within a form.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>map demo</title>
  <style>
  p {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><b>Values: </b></p>
<form>
  <input type="text" name="name" value="John">
  <input type="text" name="password" value="password">
  <input type="text" name="url" value="https://johnresig.com/">
</form>
​
<script>
$( "p" )
  .append( $( "input" ).map(function() {
    return $( this ).val();
  })
  .get()
  .join( ", " ) );
</script>
​
</body>
</html>
```
     * @example ​ ````A contrived example to show some functionality.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>map demo</title>
  <style>
  body {
    font-size: 16px;
  }
  ul {
    float: left;
    margin: 0 30px;
    color: blue;
  }
  #results {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li>First</li>
  <li>Second</li>
  <li>Third</li>
  <li>Fourth</li>
  <li>Fifth</li>
</ul>
<ul id="results">
</ul>
​
<script>
var mappedItems = $( "li" ).map(function( index ) {
  var replacement = $( "<li>" ).text( $( this ).text() ).get( 0 );
  if ( index === 0 ) {
​
    // Make the first item all caps
    $( replacement ).text( $( replacement ).text().toUpperCase() );
  } else if ( index === 1 || index === 3 ) {
​
    // Delete the second and fourth items
    replacement = null;
  } else if ( index === 2 ) {
​
    // Make two of the third item and add some text
    replacement = [ replacement, $( "<li>" ).get( 0 ) ];
    $( replacement[ 0 ] ).append( "<b> - A</b>" );
    $( replacement[ 1 ] ).append( "Extra <b> - B</b>" );
  }
​
  // Replacement will be a dom element, null,
  // or an array of dom elements
  return replacement;
});
$( "#results" ).append( mappedItems );
</script>
​
</body>
</html>
```
     * @example ​ ````Equalize the heights of the divs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>map demo</title>
  <style>
  div {
    width: 40px;
    float: left;
  }
  input {
    clear: left;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<input type="button" value="equalize div heights">
<div style="background: red; height: 40px; "></div>
<div style="background: green; height: 70px;"></div>
<div style="background: blue; height: 50px; "></div>
​
<script>
$.fn.equalizeHeights = function() {
  var maxHeight = this.map(function( i, e ) {
    return $( e ).height();
  }).get();
  return this.height( Math.max.apply( this, maxHeight ) );
};
​
$( "input" ).click(function() {
  $( "div" ).equalizeHeights();
});
</script>
​
</body>
</html>
```
     */
    map<TReturn>(callback: (this: TElement, index: number, domElement: TElement) => JQuery.TypeOrArray<TReturn> | null | undefined): JQuery<TReturn>;
    /**
     * Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mousedown/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    mousedown<TData>(eventData: TData,
                     handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'mousedown'>): this;
    /**
     * Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mousedown/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Show texts when mouseup and mousedown event triggering.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>mousedown demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Press mouse and release here.</p>
​
<script>
$( "p" )
  .mouseup(function() {
    $( this ).append( "<span style='color:#f00;'>Mouse up.</span>" );
  })
  .mousedown(function() {
    $( this ).append( "<span style='color:#00f;'>Mouse down.</span>" );
  });
</script>
​
</body>
</html>
```
     */
    mousedown(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'mousedown'> |
                        false): this;
    /**
     * Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mouseenter/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    mouseenter<TData>(eventData: TData,
                      handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'mouseenter'>): this;
    /**
     * Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mouseenter/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Show texts when mouseenter and mouseout event triggering.
    mouseover fires when the pointer moves into the child element as well, while mouseenter fires only when the pointer moves into the bound element.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>mouseenter demo</title>
  <style>
  div.out {
    width: 40%;
    height: 120px;
    margin: 0 15px;
    background-color: #d6edfc;
    float: left;
  }
  div.in {
    width: 60%;
    height: 60%;
    background-color: #fc0;
    margin: 10px auto;
  }
  p {
    line-height: 1em;
    margin: 0;
    padding: 0;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="out overout">
  <p>move your mouse</p>
  <div class="in overout"><p>move your mouse</p><p>0</p></div>
  <p>0</p>
</div>
​
<div class="out enterleave">
  <p>move your mouse</p>
  <div class="in enterleave"><p>move your mouse</p><p>0</p></div>
  <p>0</p>
</div>
​
<script>
var i = 0;
$( "div.overout" )
  .mouseover(function() {
    $( "p:first", this ).text( "mouse over" );
    $( "p:last", this ).text( ++i );
  })
  .mouseout(function() {
    $( "p:first", this ).text( "mouse out" );
  });
​
var n = 0;
$( "div.enterleave" )
  .mouseenter(function() {
    $( "p:first", this ).text( "mouse enter" );
    $( "p:last", this ).text( ++n );
  })
  .mouseleave(function() {
    $( "p:first", this ).text( "mouse leave" );
  });
</script>
​
</body>
</html>
```
     */
    mouseenter(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'mouseenter'> |
                         false): this;
    /**
     * Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mouseleave/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    mouseleave<TData>(eventData: TData,
                      handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'mouseleave'>): this;
    /**
     * Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mouseleave/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Show number of times mouseout and mouseleave events are triggered. mouseout fires when the pointer moves out of child element as well, while mouseleave fires only when the pointer moves out of the bound element.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>mouseleave demo</title>
  <style>
  div.out {
    width: 40%;
    height: 120px;
    margin: 0 15px;
    background-color: #d6edfc;
    float: left;
  }
  div.in {
    width: 60%;
    height: 60%;
    background-color: #fc0;
    margin: 10px auto;
  }
  p {
    line-height: 1em;
    margin: 0;
    padding: 0;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="out overout">
  <p>move your mouse</p>
  <div class="in overout"><p>move your mouse</p><p>0</p></div>
  <p>0</p>
</div>
<div class="out enterleave">
  <p>move your mouse</p>
  <div class="in enterleave"><p>move your mouse</p><p>0</p></div>
  <p>0</p>
</div>
​
<script>
var i = 0;
$( "div.overout" )
  .mouseover(function() {
    $( "p:first", this ).text( "mouse over" );
  })
  .mouseout(function() {
    $( "p:first", this ).text( "mouse out" );
    $( "p:last", this ).text( ++i );
  });
​
var n = 0;
$( "div.enterleave" )
  .mouseenter(function() {
    $( "p:first", this ).text( "mouse enter" );
  })
  .mouseleave(function() {
    $( "p:first", this ).text( "mouse leave" );
    $( "p:last", this ).text( ++n );
  });
</script>
​
</body>
</html>
```
     */
    mouseleave(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'mouseleave'> |
                         false): this;
    /**
     * Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mousemove/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    mousemove<TData>(eventData: TData,
                     handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'mousemove'>): this;
    /**
     * Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mousemove/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Show the mouse coordinates when the mouse is moved over the yellow div.  Coordinates are relative to the window, which in this case is the iframe.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>mousemove demo</title>
  <style>
  div {
    width: 220px;
    height: 170px;
    margin: 10px 50px 10px 10px;
    background: yellow;
    border: 2px groove;
    float: right;
  }
  p {
    margin: 0;
    margin-left: 10px;
    color: red;
    width: 220px;
    height: 120px;
    padding-top: 70px;
    float: left;
    font-size: 14px;
  }
  span {
    display: block;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  <span>Move the mouse over the div.</span>
  <span>&nbsp;</span>
</p>
<div></div>
​
<script>
$( "div" ).mousemove(function( event ) {
  var pageCoords = "( " + event.pageX + ", " + event.pageY + " )";
  var clientCoords = "( " + event.clientX + ", " + event.clientY + " )";
  $( "span:first" ).text( "( event.pageX, event.pageY ) : " + pageCoords );
  $( "span:last" ).text( "( event.clientX, event.clientY ) : " + clientCoords );
});
</script>
​
</body>
</html>
```
     */
    mousemove(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'mousemove'> |
                        false): this;
    /**
     * Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mouseout/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    mouseout<TData>(eventData: TData,
                    handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'mouseout'>): this;
    /**
     * Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mouseout/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Show the number of times mouseout and mouseleave events are triggered.
  mouseout fires when the pointer moves out of the child element as well, while mouseleave fires only when the pointer moves out of the bound element.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>mouseout demo</title>
  <style>
  div.out {
    width: 40%;
    height: 120px;
    margin: 0 15px;
    background-color: #d6edfc;
    float: left;
  }
  div.in {
    width: 60%;
    height: 60%;
    background-color: #fc0;
    margin: 10px auto;
  }
  p {
    line-height: 1em;
    margin: 0;
    padding: 0;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="out overout">
  <p>move your mouse</p>
  <div class="in overout"><p>move your mouse</p><p>0</p></div>
  <p>0</p>
</div>
​
<div class="out enterleave">
  <p>move your mouse</p>
  <div class="in enterleave"><p>move your mouse</p><p>0</p></div>
  <p>0</p>
</div>
​
<script>
var i = 0;
$( "div.overout" )
  .mouseout(function() {
    $( "p:first", this ).text( "mouse out" );
    $( "p:last", this ).text( ++i );
  })
  .mouseover(function() {
    $( "p:first", this ).text( "mouse over" );
  });
​
var n = 0;
$( "div.enterleave" )
  .on( "mouseenter", function() {
    $( "p:first", this ).text( "mouse enter" );
  })
  .on( "mouseleave", function() {
    $( "p:first", this ).text( "mouse leave" );
    $( "p:last", this ).text( ++n );
  });
</script>
​
</body>
</html>
```
     */
    mouseout(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'mouseout'> |
                       false): this;
    /**
     * Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mouseover/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    mouseover<TData>(eventData: TData,
                     handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'mouseover'>): this;
    /**
     * Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mouseover/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Show the number of times mouseover and mouseenter events are triggered.
mouseover fires when the pointer moves into the child element as well, while mouseenter fires only when the pointer moves into the bound element.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>mouseover demo</title>
  <style>
  div.out {
    width: 40%;
    height: 120px;
    margin: 0 15px;
    background-color: #d6edfc;
    float: left;
  }
  div.in {
    width: 60%;
    height: 60%;
    background-color: #fc0;
    margin: 10px auto;
  }
  p {
    line-height: 1em;
    margin: 0;
    padding: 0;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="out overout">
  <span>move your mouse</span>
  <div class="in">
  </div>
</div>
​
<div class="out enterleave">
  <span>move your mouse</span>
  <div class="in">
  </div>
</div>
​
<script>
var i = 0;
$( "div.overout" )
  .mouseover(function() {
    i += 1;
    $( this ).find( "span" ).text( "mouse over x " + i );
  })
  .mouseout(function() {
    $( this ).find( "span" ).text( "mouse out " );
  });
​
var n = 0;
$( "div.enterleave" )
  .mouseenter(function() {
    n += 1;
    $( this ).find( "span" ).text( "mouse enter x " + n );
  })
  .mouseleave(function() {
    $( this ).find( "span" ).text( "mouse leave" );
  });
</script>
​
</body>
</html>
```
     */
    mouseover(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'mouseover'> |
                        false): this;
    /**
     * Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mouseup/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    mouseup<TData>(eventData: TData,
                   handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'mouseup'>): this;
    /**
     * Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/mouseup/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````Show texts when mouseup and mousedown event triggering.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>mouseup demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Press mouse and release here.</p>
​
<script>
$( "p" )
  .mouseup(function() {
    $( this ).append( "<span style='color:#f00;'>Mouse up.</span>" );
  })
  .mousedown(function() {
    $( this ).append( "<span style='color:#00f;'>Mouse down.</span>" );
  });
</script>
​
</body>
</html>
```
     */
    mouseup(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'mouseup'> |
                      false): this;
    /**
     * Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.
     * @param selector A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/next/ }\`
     * @since 1.0
     * @example ​ ````Find the very next sibling of each disabled button and change its text &quot;this button is disabled&quot;.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>next demo</title>
  <style>
  span {
    color: blue;
    font-weight: bold;
  }
  button {
    width: 100px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div><button disabled="disabled">First</button> - <span></span></div>
<div><button>Second</button> - <span></span></div>
<div><button disabled="disabled">Third</button> - <span></span></div>
​
<script>
$( "button[disabled]" ).next().text( "this button is disabled" );
</script>
​
</body>
</html>
```
     * @example ​ ````Find the very next sibling of each paragraph. Keep only the ones with a class &quot;selected&quot;.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>next demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p class="selected">Hello Again</p>
<div><span>And Again</span></div>
​
<script>
$( "p" ).next( ".selected" ).css( "background", "yellow" );
</script>
​
</body>
</html>
```
     */
    next(selector?: JQuery.Selector): this;
    /**
     * Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.
     * @param selector A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/nextAll/ }\`
     * @since 1.2
     * @example ​ ````Locate all the divs after the first and give them a class.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>nextAll demo</title>
  <style>
  div {
    width: 80px;
    height: 80px;
    background: #abc;
    border: 2px solid black;
    margin: 10px;
    float: left;
  }
  div.after {
    border-color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>first</div>
<div>sibling<div>child</div></div>
<div>sibling</div>
<div>sibling</div>​
<script>
$( "div:first" ).nextAll().addClass( "after" );
</script>
​
</body>
</html>
```
     * @example ​ ````Locate all the paragraphs after the second child in the body and give them a class.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>nextAll demo</title>
  <style>
  div, p {
    width: 60px;
    height: 60px;
    background: #abc;
    border: 2px solid black;
    margin: 10px;
    float: left;
  }
  .after {
    border-color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>p</p>
<div>div</div>
<p>p</p>
<p>p</p>
<div>div</div>
<p>p</p>
<div>div</div>
​
<script>
$( ":nth-child(1)" ).nextAll( "p" ).addClass( "after" );
</script>
​
</body>
</html>
```
     */
    nextAll(selector?: string): this;
    /**
     * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
     * @param selector_element _&#x40;param_ `selector_element`
     * <br>
     * * `selector` — A string containing a selector expression to indicate where to stop matching following sibling elements. <br>
     * * `element` — A DOM node or jQuery object indicating where to stop matching following sibling elements.
     * @param filter A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/nextUntil/ }\`
     * @since 1.4
     * @since 1.6
     * @example ​ ````Find the siblings that follow &lt;dt id=&quot;term-2&quot;&gt; up to the next &lt;dt&gt; and give them a red background color. Also, find &lt;dd&gt; siblings that follow &lt;dt id=&quot;term-1&quot;&gt; up to &lt;dt id=&quot;term-3&quot;&gt; and give them a green text color.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>nextUntil demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<dl>
  <dt id="term-1">term 1</dt>
  <dd>definition 1-a</dd>
  <dd>definition 1-b</dd>
  <dd>definition 1-c</dd>
  <dd>definition 1-d</dd>
  <dt id="term-2">term 2</dt>
  <dd>definition 2-a</dd>
  <dd>definition 2-b</dd>
  <dd>definition 2-c</dd>
  <dt id="term-3">term 3</dt>
  <dd>definition 3-a</dd>
  <dd>definition 3-b</dd>
</dl>
​
<script>
$( "#term-2" )
  .nextUntil( "dt" )
    .css( "background-color", "red" );
var term3 = document.getElementById( "term-3" );
$( "#term-1" )
  .nextUntil( term3, "dd" )
    .css( "color", "green" );
</script>
​
</body>
</html>
```
     */
    nextUntil(selector_element?: JQuery.Selector | Element | JQuery, filter?: JQuery.Selector): this;
    /**
     * Remove elements from the set of matched elements.
     * @param selector_function_selection _&#x40;param_ `selector_function_selection`
     * <br>
     * * `selector` — A string containing a selector expression, a DOM element, or an array of elements to match against the set. <br>
     * * `function` — A function used as a test for each element in the set. It accepts two arguments, `index`, which is
     *                the element's index in the jQuery collection, and `element`, which is the DOM element. Within the
     *                function, `this` refers to the current DOM element. <br>
     * * `selection` — An existing jQuery object to match the current set of elements against.
     * @see \`{@link https://api.jquery.com/not/ }\`
     * @since 1.0
     * @since 1.4
     * @example ​ ````Adds a border to divs that are not green or blue.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>not demo</title>
  <style>
  div {
    width: 50px;
    height: 50px;
    margin: 10px;
    float: left;
    background: yellow;
    border: 2px solid white;
  }
  .green {
    background: #8f8;
  }
  .gray {
    background: #ccc;
  }
  #blueone {
    background: #99f;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div id="blueone"></div>
<div></div>
<div class="green"></div>
<div class="green"></div>
<div class="gray"></div>
<div></div>
​
<script>
$( "div" ).not( ".green, #blueone" )
  .css( "border-color", "red" );
</script>
​
</body>
</html>
```
     * @example ​ ````Removes the element with the ID &quot;selected&quot; from the set of all paragraphs.
```javascript
$( "p" ).not( $( "#selected" )[ 0 ] );
```
     * @example ​ ````Removes the element with the ID &quot;selected&quot; from the set of all paragraphs.
```javascript
$( "p" ).not( "#selected" );
```
     * @example ​ ````Removes all elements that match &quot;div p.selected&quot; from the total set of all paragraphs.
```javascript
$( "p" ).not( $( "div p.selected" ) );
```
     */
    not(selector_function_selection: JQuery.Selector | JQuery.TypeOrArray<Element> | JQuery | ((this: TElement, index: number, element: TElement) => boolean)): this;
    /**
     * Remove an event handler.
     * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as
     *               "click", "keydown.myPlugin", or ".myPlugin".
     * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/off/ }\`
     * @since 1.7
     * @example ​ ````Add and remove event handlers on the colored button.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>off demo</title>
  <style>
  button {
    margin: 5px;
  }
  button#theone {
    color: red;
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="theone">Does nothing...</button>
<button id="bind">Add Click</button>
<button id="unbind">Remove Click</button>
<div style="display:none;">Click!</div>
​
<script>
function flash() {
  $( "div" ).show().fadeOut( "slow" );
}
$( "#bind" ).click(function() {
  $( "body" )
    .on( "click", "#theone", flash )
    .find( "#theone" )
      .text( "Can Click!" );
});
$( "#unbind" ).click(function() {
  $( "body" )
    .off( "click", "#theone", flash )
    .find( "#theone" )
      .text( "Does nothing..." );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Remove just one previously bound handler by passing it as the third argument:
```javascript
var foo = function() {
  // Code to handle some kind of event
};
​
// ... Now foo will be called when paragraphs are clicked ...
$( "body" ).on( "click", "p", foo );
​
// ... Foo will no longer be called.
$( "body" ).off( "click", "p", foo );
```
     */
    off<TType extends string>(
        events: TType,
        selector: JQuery.Selector,
        handler: JQuery.TypeEventHandler<TElement, any, any, any, TType> |
                 false
    ): this;
    /**
     * Remove an event handler.
     * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as
     *               "click", "keydown.myPlugin", or ".myPlugin".
     * @param selector_handler _&#x40;param_ `selector_handler`
     * <br>
     * * `selector` — A selector which should match the one originally passed to `.on()` when attaching event handlers. <br>
     * * `handler` — A handler function previously attached for the event(s), or the special value `false`.
     * @see \`{@link https://api.jquery.com/off/ }\`
     * @since 1.7
     * @example ​ ````Remove all delegated click handlers from all paragraphs:
```javascript
$( "p" ).off( "click", "**" );
```
     * @example ​ ````Unbind all delegated event handlers by their namespace:
```javascript
var validate = function() {
  // Code to validate form entries
};
​
// Delegate events under the ".validator" namespace
$( "form" ).on( "click.validator", "button", validate );
​
$( "form" ).on( "keypress.validator", "input[type='text']", validate );
​
// Remove event handlers in the ".validator" namespace
$( "form" ).off( ".validator" );
```
     */
    off<TType extends string>(
        events: TType,
        selector_handler?: JQuery.Selector |
                           JQuery.TypeEventHandler<TElement, any, any, any, TType> |
                           false
    ): this;
    /**
     * Remove an event handler.
     * @param events An object where the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent handler functions previously attached for the event(s).
     * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.
     * @see \`{@link https://api.jquery.com/off/ }\`
     * @since 1.7
     */
    off(events: JQuery.TypeEventHandlers<TElement, any, any, any>,
        selector?: JQuery.Selector): this;
    /**
     * Remove an event handler.
     * @param event A jQuery.Event object.
     * @see \`{@link https://api.jquery.com/off/ }\`
     * @since 1.7
     * @example ​ ````Remove all event handlers from all paragraphs:
```javascript
$( "p" ).off();
```
     */
    off(event?: JQuery.TriggeredEvent<TElement>): this;
    /**
     * Set the current coordinates of every element in the set of matched elements, relative to the document.
     * @param coordinates_function _&#x40;param_ `coordinates_function`
     * <br>
     * * `coordinates` — An object containing the properties `top` and `left`, which are numbers indicating the new top and
     *                   left coordinates for the elements. <br>
     * * `function` — A function to return the coordinates to set. Receives the index of the element in the collection as
     *                the first argument and the current coordinates as the second argument. The function should return an
     *                object with the new `top` and `left` properties.
     * @see \`{@link https://api.jquery.com/offset/ }\`
     * @since 1.4
     * @example ​ ````Set the offset of the second paragraph:
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>offset demo</title>
  <style>
  p {
    margin-left: 10px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p><p>2nd Paragraph</p>
​
<script>
$( "p:last" ).offset({ top: 10, left: 30 });
</script>
​
</body>
</html>
```
     */
    offset(coordinates_function: JQuery.CoordinatesPartial | ((this: TElement, index: number, coords: JQuery.Coordinates) => JQuery.CoordinatesPartial)): this;
    /**
     * Get the current coordinates of the first element in the set of matched elements, relative to the document.
     * @see \`{@link https://api.jquery.com/offset/ }\`
     * @since 1.2
     * @example ​ ````Access the offset of the second paragraph:
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>offset demo</title>
  <style>
  p {
    margin-left: 10px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p><p>2nd Paragraph</p>
​
<script>
var p = $( "p:last" );
var offset = p.offset();
p.html( "left: " + offset.left + ", top: " + offset.top );
</script>
​
</body>
</html>
```
     * @example ​ ````Click to see the offset.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>offset demo</title>
  <style>
  p {
    margin-left: 10px;
    color: blue;
    width: 200px;
    cursor: pointer;
  }
  span {
    color: red;
    cursor: pointer;
  }
  div.abs {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 220px;
    top: 35px;
    background-color: green;
    cursor: pointer;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div id="result">Click an element.</div>
<p>
  This is the best way to <span>find</span> an offset.
</p>
<div class="abs">
</div>
​
<script>
$( "*", document.body ).click(function( event ) {
  var offset = $( this ).offset();
  event.stopPropagation();
  $( "#result" ).text( this.tagName +
    " coords ( " + offset.left + ", " + offset.top + " )" );
});
</script>
​
</body>
</html>
```
     */
    offset(): JQuery.Coordinates | undefined;
    /**
     * Get the closest ancestor element that is positioned.
     * @see \`{@link https://api.jquery.com/offsetParent/ }\`
     * @since 1.2.6
     * @example ​ ````Find the offsetParent of item &quot;A.&quot;
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>offsetParent demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul class="level-1">
  <li class="item-i">I</li>
  <li class="item-ii" style="position: relative;">II
    <ul class="level-2">
      <li class="item-a">A</li>
      <li class="item-b">B
        <ul class="level-3">
          <li class="item-1">1</li>
          <li class="item-2">2</li>
          <li class="item-3">3</li>
        </ul>
      </li>
      <li class="item-c">C</li>
    </ul>
  </li>
  <li class="item-iii">III</li>
</ul>
​
<script>$( "li.item-a" ).offsetParent().css( "background-color", "red" );</script>
​
</body>
</html>
```
     */
    offsetParent(): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the
     *                 selector is null or omitted, the event is always triggered when it reaches the selected element.
     * @param data Data to be passed to the handler in event.data when an event is triggered.
     * @param handler A function to execute when the event is triggered.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     */
    on<TType extends string,
       TData>(
        events: TType,
        selector: JQuery.Selector,
        data: TData,
        handler: JQuery.TypeEventHandler<TElement, TData, any, any, TType>
    ): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the
     *                 selector is null or omitted, the event is always triggered when it reaches the selected element.
     * @param data Data to be passed to the handler in event.data when an event is triggered.
     * @param handler A function to execute when the event is triggered.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     */
    on<TType extends string,
       TData>(
        events: TType,
        selector: null | undefined,
        data: TData,
        handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, TType>
    ): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the
     *                 selector is null or omitted, the event is always triggered when it reaches the selected element.
     * @param data Data to be passed to the handler in event.data when an event is triggered.
     * @param handler A function to execute when the event is triggered.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     * @deprecated ​ Deprecated. Use \`{@link JQuery.Event }\` in place of \`{@link JQueryEventObject }\`.
     */
    on(events: string,
       selector: JQuery.Selector | null | undefined,
       data: any,
       handler: ((event: JQueryEventObject) => void)): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the
     *                 selector is null or omitted, the event is always triggered when it reaches the selected element.
     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand
     *                for a function that simply does return false.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     * @example ​ ````Click any paragraph to add another after it. Note that .on() allows a click event on any paragraph--even new ones--since the event is handled by the ever-present body element after it bubbles to there.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>on demo</title>
  <style>
  p {
    background: yellow;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
  }
  p.over {
    background: #ccc;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Click me!</p>
<span></span>
​
<script>
var count = 0;
$( "body" ).on( "click", "p", function() {
  $( this ).after( "<p>Another paragraph! " + (++count) + "</p>" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Display each paragraph&#39;s text in an alert box whenever it is clicked:
```javascript
$( "body" ).on( "click", "p", function() {
  alert( $( this ).text() );
});
```
     * @example ​ ````Cancel a link&#39;s default action using the .preventDefault() method:
```javascript
$( "body" ).on( "click", "a", function( event ) {
  event.preventDefault();
});
```
     */
    on<TType extends string>(
        events: TType,
        selector: JQuery.Selector,
        handler: JQuery.TypeEventHandler<TElement, undefined, any, any, TType> |
                 false
    ): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param data Data to be passed to the handler in event.data when an event is triggered.
     * @param handler A function to execute when the event is triggered.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     * @example ​ ````Pass data to the event handler, which is specified here by name:
```javascript
function myHandler( event ) {
  alert( event.data.foo );
}
$( "p" ).on( "click", { foo: "bar" }, myHandler );
```
     */
    on<TType extends string,
       TData>(
        events: TType,
        data: TData,
        handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, TType>
    ): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param selector_data _&#x40;param_ `selector_data`
     * <br>
     * * `selector` — A selector string to filter the descendants of the selected elements that trigger the event. If the
     *                selector is null or omitted, the event is always triggered when it reaches the selected element. <br>
     * * `data` — Data to be passed to the handler in event.data when an event is triggered.
     * @param handler A function to execute when the event is triggered.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     * @deprecated ​ Deprecated. Use \`{@link JQuery.Event }\` in place of \`{@link JQueryEventObject }\`.
     * @example ​ ````Click any paragraph to add another after it. Note that .on() allows a click event on any paragraph--even new ones--since the event is handled by the ever-present body element after it bubbles to there.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>on demo</title>
  <style>
  p {
    background: yellow;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
  }
  p.over {
    background: #ccc;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Click me!</p>
<span></span>
​
<script>
var count = 0;
$( "body" ).on( "click", "p", function() {
  $( this ).after( "<p>Another paragraph! " + (++count) + "</p>" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Display each paragraph&#39;s text in an alert box whenever it is clicked:
```javascript
$( "body" ).on( "click", "p", function() {
  alert( $( this ).text() );
});
```
     * @example ​ ````Cancel a link&#39;s default action using the .preventDefault() method:
```javascript
$( "body" ).on( "click", "a", function( event ) {
  event.preventDefault();
});
```
     * @example ​ ````Pass data to the event handler, which is specified here by name:
```javascript
function myHandler( event ) {
  alert( event.data.foo );
}
$( "p" ).on( "click", { foo: "bar" }, myHandler );
```
     */
    on(events: string,
       selector_data: any,
       handler: ((event: JQueryEventObject) => void)): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand
     *                for a function that simply does return false.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     * @example ​ ````Display a paragraph&#39;s text in an alert when it is clicked:
```javascript
$( "p" ).on( "click", function() {
  alert( $( this ).text() );
});
```
     * @example ​ ````Cancel a form submit action and prevent the event from bubbling up by returning false:
```javascript
$( "form" ).on( "submit", false );
```
     * @example ​ ````Cancel only the default action by using .preventDefault().
```javascript
$( "form" ).on( "submit", function( event ) {
  event.preventDefault();
});
```
     * @example ​ ````Stop submit events from bubbling without preventing form submit, using .stopPropagation().
```javascript
$( "form" ).on( "submit", function( event ) {
  event.stopPropagation();
});
```
     * @example ​ ````Pass data to the event handler using the second argument to .trigger()
```javascript
$( "div" ).on( "click", function( event, person ) {
  alert( "Hello, " + person.name );
});
$( "div" ).trigger( "click", { name: "Jim" } );
```
     * @example ​ ````Use the the second argument of .trigger() to pass an array of data to the event handler
```javascript
$( "div" ).on( "click", function( event, salutation, name ) {
  alert( salutation + ", " + name );
});
$( "div" ).trigger( "click", [ "Goodbye", "Jim" ] );
```
     * @example ​ ````Attach and trigger custom (non-browser) events.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>on demo</title>
  <style>
  p {
    color: red;
  }
  span {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Has an attached custom event.</p>
<button>Trigger custom event</button>
<span style="display:none;"></span>
​
<script>
$( "p" ).on( "myCustomEvent", function( event, myName ) {
  $( this ).text( myName + ", hi there!" );
  $( "span" )
    .stop()
    .css( "opacity", 1 )
    .text( "myName = " + myName )
    .fadeIn( 30 )
    .fadeOut( 1000 );
});
$( "button" ).click(function () {
  $( "p" ).trigger( "myCustomEvent", [ "John" ] );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Attach multiple events—one on mouseenter and one on mouseleave to the same element:
```javascript
$( "#cart" ).on( "mouseenter mouseleave", function( event ) {
  $( this ).toggleClass( "active" );
});
```
     */
    on<TType extends string>(
        events: TType,
        handler: JQuery.TypeEventHandler<TElement, undefined, TElement, TElement, TType> |
                 false
    ): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param handler A function to execute when the event is triggered.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     * @deprecated ​ Deprecated. Use \`{@link JQuery.Event }\` in place of \`{@link JQueryEventObject }\`.
     * @example ​ ````Display a paragraph&#39;s text in an alert when it is clicked:
```javascript
$( "p" ).on( "click", function() {
  alert( $( this ).text() );
});
```
     * @example ​ ````Cancel a form submit action and prevent the event from bubbling up by returning false:
```javascript
$( "form" ).on( "submit", false );
```
     * @example ​ ````Cancel only the default action by using .preventDefault().
```javascript
$( "form" ).on( "submit", function( event ) {
  event.preventDefault();
});
```
     * @example ​ ````Stop submit events from bubbling without preventing form submit, using .stopPropagation().
```javascript
$( "form" ).on( "submit", function( event ) {
  event.stopPropagation();
});
```
     * @example ​ ````Pass data to the event handler using the second argument to .trigger()
```javascript
$( "div" ).on( "click", function( event, person ) {
  alert( "Hello, " + person.name );
});
$( "div" ).trigger( "click", { name: "Jim" } );
```
     * @example ​ ````Use the the second argument of .trigger() to pass an array of data to the event handler
```javascript
$( "div" ).on( "click", function( event, salutation, name ) {
  alert( salutation + ", " + name );
});
$( "div" ).trigger( "click", [ "Goodbye", "Jim" ] );
```
     * @example ​ ````Attach and trigger custom (non-browser) events.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>on demo</title>
  <style>
  p {
    color: red;
  }
  span {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Has an attached custom event.</p>
<button>Trigger custom event</button>
<span style="display:none;"></span>
​
<script>
$( "p" ).on( "myCustomEvent", function( event, myName ) {
  $( this ).text( myName + ", hi there!" );
  $( "span" )
    .stop()
    .css( "opacity", 1 )
    .text( "myName = " + myName )
    .fadeIn( 30 )
    .fadeOut( 1000 );
});
$( "button" ).click(function () {
  $( "p" ).trigger( "myCustomEvent", [ "John" ] );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Attach multiple events—one on mouseenter and one on mouseleave to the same element:
```javascript
$( "#cart" ).on( "mouseenter mouseleave", function( event ) {
  $( this ).toggleClass( "active" );
});
```
     */
    on(events: string,
       handler: ((event: JQueryEventObject) => void)): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events An object in which the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent a handler function to be called for the event(s).
     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If
     *                 the selector is null or omitted, the handler is always called when it reaches the selected element.
     * @param data Data to be passed to the handler in event.data when an event occurs.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     */
    on<TData>(
        events: JQuery.TypeEventHandlers<TElement, TData, any, any>,
        selector: JQuery.Selector,
        data: TData
    ): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events An object in which the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent a handler function to be called for the event(s).
     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If
     *                 the selector is null or omitted, the handler is always called when it reaches the selected element.
     * @param data Data to be passed to the handler in event.data when an event occurs.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     */
    on<TData>(
        events: JQuery.TypeEventHandlers<TElement, TData, TElement, TElement>,
        selector: null | undefined,
        data: TData
    ): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events An object in which the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent a handler function to be called for the event(s).
     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If
     *                 the selector is null or omitted, the handler is always called when it reaches the selected element.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     */
    on(events: JQuery.TypeEventHandlers<TElement, undefined, any, any>,
       selector: JQuery.Selector
    ): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events An object in which the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent a handler function to be called for the event(s).
     * @param data Data to be passed to the handler in event.data when an event occurs.
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     */
    on<TData>(
        events: JQuery.TypeEventHandlers<TElement, TData, TElement, TElement>,
        data: TData
    ): this;
    /**
     * Attach an event handler function for one or more events to the selected elements.
     * @param events An object in which the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent a handler function to be called for the event(s).
     * @see \`{@link https://api.jquery.com/on/ }\`
     * @since 1.7
     * @example ​ ````Attach multiple event handlers simultaneously using a plain object.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>on demo</title>
  <style>
  .test {
    color: #000;
    padding: .5em;
    border: 1px solid #444;
  }
  .active {
    color: #900;
  }
  .inside {
    background-color: aqua;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="test">test div</div>
​
<script>
$( "div.test" ).on({
  click: function() {
    $( this ).toggleClass( "active" );
  }, mouseenter: function() {
    $( this ).addClass( "inside" );
  }, mouseleave: function() {
    $( this ).removeClass( "inside" );
  }
});
</script>
​
</body>
</html>
```
     */
    on(events: JQuery.TypeEventHandlers<TElement, undefined, TElement, TElement>): this;
    /**
     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the
     *                 selector is null or omitted, the event is always triggered when it reaches the selected element.
     * @param data Data to be passed to the handler in event.data when an event is triggered.
     * @param handler A function to execute when the event is triggered.
     * @see \`{@link https://api.jquery.com/one/ }\`
     * @since 1.7
     */
    one<TType extends string,
        TData>(
        events: TType,
        selector: JQuery.Selector,
        data: TData,
        handler: JQuery.TypeEventHandler<TElement, TData, any, any, TType>
    ): this;
    /**
     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the
     *                 selector is null or omitted, the event is always triggered when it reaches the selected element.
     * @param data Data to be passed to the handler in event.data when an event is triggered.
     * @param handler A function to execute when the event is triggered.
     * @see \`{@link https://api.jquery.com/one/ }\`
     * @since 1.7
     */
    one<TType extends string,
        TData>(
        events: TType,
        selector: null | undefined,
        data: TData,
        handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, TType>
    ): this;
    /**
     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the
     *                 selector is null or omitted, the event is always triggered when it reaches the selected element.
     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand
     *                for a function that simply does return false.
     * @see \`{@link https://api.jquery.com/one/ }\`
     * @since 1.7
     */
    one<TType extends string>(
        events: TType,
        selector: JQuery.Selector,
        handler: JQuery.TypeEventHandler<TElement, undefined, any, any, TType> |
                 false
    ): this;
    /**
     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param data Data to be passed to the handler in event.data when an event is triggered.
     * @param handler A function to execute when the event is triggered.
     * @see \`{@link https://api.jquery.com/one/ }\`
     * @since 1.7
     */
    one<TType extends string,
        TData>(
        events: TType,
        data: TData,
        handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, TType>
    ): this;
    /**
     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand
     *                for a function that simply does return false.
     * @see \`{@link https://api.jquery.com/one/ }\`
     * @since 1.7
     * @example ​ ````Tie a one-time click to each div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>one demo</title>
  <style>
  div {
    width: 60px;
    height: 60px;
    margin: 5px;
    float: left;
    background: green;
    border: 10px outset;
    cursor:pointer;
  }
  p {
    color: red;
    margin: 0;
    clear: left;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<p>Click a green square...</p>
​
<script>
var n = 0;
$( "div" ).one( "click", function() {
  var index = $( "div" ).index( this );
  $( this ).css({
    borderStyle: "inset",
    cursor: "auto"
  });
  $( "p" ).text( "Div at index #" + index + " clicked." +
    " That's " + (++n) + " total clicks." );
});
</script>
​
</body>
</html>
```
     * @example ​ ````To display the text of all paragraphs in an alert box the first time each of them is clicked:
```javascript
$( "p" ).one( "click", function() {
  alert( $( this ).text() );
});
```
     * @example ​ ````Event handlers will trigger once per element per event type
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>one demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="count">0</div>
<div class="target">Hover/click me</div>
​
<script>
var n = 0;
$(".target").one("click mouseenter", function() {
  $(".count").html(++n);
});
</script>
​
</body>
</html>
```
     */
    one<TType extends string>(
        events: TType,
        handler: JQuery.TypeEventHandler<TElement, undefined, TElement, TElement, TType>|
                 false
    ): this;
    /**
     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
     * @param events An object in which the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent a handler function to be called for the event(s).
     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If
     *                 the selector is null or omitted, the handler is always called when it reaches the selected element.
     * @param data Data to be passed to the handler in event.data when an event occurs.
     * @see \`{@link https://api.jquery.com/one/ }\`
     * @since 1.7
     */
    one<TData>(
        events: JQuery.TypeEventHandlers<TElement, TData, any, any>,
        selector: JQuery.Selector,
        data: TData
    ): this;
    /**
     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
     * @param events An object in which the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent a handler function to be called for the event(s).
     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If
     *                 the selector is null or omitted, the handler is always called when it reaches the selected element.
     * @param data Data to be passed to the handler in event.data when an event occurs.
     * @see \`{@link https://api.jquery.com/one/ }\`
     * @since 1.7
     */
    one<TData>(
        events: JQuery.TypeEventHandlers<TElement, TData, TElement, TElement>,
        selector: null | undefined,
        data: TData
    ): this;
    /**
     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
     * @param events An object in which the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent a handler function to be called for the event(s).
     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If
     *                 the selector is null or omitted, the handler is always called when it reaches the selected element.
     * @see \`{@link https://api.jquery.com/one/ }\`
     * @since 1.7
     */
    one(events: JQuery.TypeEventHandlers<TElement, undefined, any, any>,
        selector: JQuery.Selector): this;
    /**
     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
     * @param events An object in which the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent a handler function to be called for the event(s).
     * @param data Data to be passed to the handler in event.data when an event occurs.
     * @see \`{@link https://api.jquery.com/one/ }\`
     * @since 1.7
     */
    one<TData>(
        events: JQuery.TypeEventHandlers<TElement, TData, TElement, TElement>,
        data: TData
    ): this;
    /**
     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
     * @param events An object in which the string keys represent one or more space-separated event types and optional
     *               namespaces, and the values represent a handler function to be called for the event(s).
     * @see \`{@link https://api.jquery.com/one/ }\`
     * @since 1.7
     */
    one(events: JQuery.TypeEventHandlers<TElement, undefined, TElement, TElement>): this;
    /**
     * Set the CSS outer height of each element in the set of matched elements.
     * @param value_function _&#x40;param_ `value_function`
     * <br>
     * * `value` — A number representing the number of pixels, or a number along with an optional unit of measure
     *             appended (as a string). <br>
     * * `function` — A function returning the outer height to set. Receives the index position of the element in the set
     *                and the old outer height as arguments. Within the function, `this` refers to the current element in
     *                the set.
     * @see \`{@link https://api.jquery.com/outerHeight/ }\`
     * @since 1.8.0
     * @example ​ ````Change the outer height of each div the first time it is clicked (and change its color).
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>outerHeight demo</title>
  <style>
  div {
    width: 50px;
    padding: 10px;
    height: 60px;
    float: left;
    margin: 5px;
    background: red;
    cursor: pointer;
  }
  .mod {
    background: blue;
    cursor: default;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>d</div>
<div>d</div>
<div>d</div>
<div>d</div>
<div>d</div>
​
<script>
var modHeight = 60;
$( "div" ).one( "click", function() {
  $( this ).outerHeight( modHeight ).addClass( "mod" );
  modHeight -= 8;
});
</script>
​
</body>
</html>
```
     */
    outerHeight(value_function: string | number | ((this: TElement, index: number, height: number) => string | number),
                includeMargin?: boolean): this;
    /**
     * Get the current computed outer height (including padding, border, and optionally margin) for the first element in the set of matched elements.
     * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation.
     * @see \`{@link https://api.jquery.com/outerHeight/ }\`
     * @since 1.2.6
     * @example ​ ````Get the outerHeight of a paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>outerHeight demo</title>
  <style>
  p {
    margin: 10px;
    padding: 5px;
    border: 2px solid #666;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p><p></p>
​
<script>
var p = $( "p:first" );
$( "p:last" ).text(
  "outerHeight:" + p.outerHeight() +
  " , outerHeight( true ):" + p.outerHeight( true ) );
</script>
​
</body>
</html>
```
     */
    outerHeight(includeMargin?: boolean): number | undefined;
    /**
     * Set the CSS outer width of each element in the set of matched elements.
     * @param value_function _&#x40;param_ `value_function`
     * <br>
     * * `value` — A number representing the number of pixels, or a number along with an optional unit of measure
     *             appended (as a string). <br>
     * * `function` — A function returning the outer width to set. Receives the index position of the element in the set
     *                and the old outer width as arguments. Within the function, `this` refers to the current element in
     *                the set.
     * @see \`{@link https://api.jquery.com/outerWidth/ }\`
     * @since 1.8.0
     * @example ​ ````Change the outer width of each div the first time it is clicked (and change its color).
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>outerWidth demo</title>
  <style>
  div {
    width: 60px;
    padding: 10px;
    height: 50px;
    float: left;
    margin: 5px;
    background: red;
    cursor: pointer;
  }
  .mod {
    background: blue;
    cursor: default;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>d</div>
<div>d</div>
<div>d</div>
<div>d</div>
<div>d</div>
​
<script>
var modWidth = 60;
$( "div" ).one( "click", function() {
  $( this ).outerWidth( modWidth ).addClass( "mod" );
  modWidth -= 8;
});
</script>
​
</body>
</html>
```
     */
    outerWidth(value_function: string | number | ((this: TElement, index: number, width: number) => string | number),
               includeMargin?: boolean): this;
    /**
     * Get the current computed outer width (including padding, border, and optionally margin) for the first element in the set of matched elements.
     * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation.
     * @see \`{@link https://api.jquery.com/outerWidth/ }\`
     * @since 1.2.6
     * @example ​ ````Get the outerWidth of a paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>outerWidth demo</title>
  <style>
  p {
    margin: 10px;
    padding: 5px;
    border: 2px solid #666;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p><p></p>
​
<script>
var p = $( "p:first" );
$( "p:last" ).text(
  "outerWidth:" + p.outerWidth() +
  " , outerWidth( true ):" + p.outerWidth( true ) );
</script>
​
</body>
</html>
```
     */
    outerWidth(includeMargin?: boolean): number | undefined;
    /**
     * Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
     * @param selector A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/parent/ }\`
     * @since 1.0
     * @example ​ ````Shows the parent of each element as (parent &gt; child).  Check the View Source to see the raw html.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>parent demo</title>
  <style>
  div, p {
    margin: 10px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>div,
  <span>span, </span>
  <b>b </b>
</div>
​
<p>p,
  <span>span,
    <em>em </em>
  </span>
</p>
​
<div>div,
  <strong>strong,
    <span>span, </span>
    <em>em,
      <b>b, </b>
    </em>
  </strong>
  <b>b </b>
</div>
​
<script>
$( "*", document.body ).each(function() {
  var parentTag = $( this ).parent().get( 0 ).tagName;
  $( this ).prepend( document.createTextNode( parentTag + " > " ) );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Find the parent element of each paragraph with a class &quot;selected&quot;.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>parent demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div><p>Hello</p></div>
<div class="selected"><p>Hello Again</p></div>
​
<script>
$( "p" ).parent( ".selected" ).css( "background", "yellow" );
</script>
​
</body>
</html>
```
     */
    parent(selector?: JQuery.Selector): this;
    /**
     * Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.
     * @param selector A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/parents/ }\`
     * @since 1.0
     * @example ​ ````Find all parent elements of each b.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>parents demo</title>
  <style>
  b, span, p, html body {
    padding: .5em;
    border: 1px solid;
  }
  b {
    color: blue;
  }
  strong {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>
  <p>
    <span>
      <b>My parents are: </b>
    </span>
  </p>
</div>
​
<script>
var parentEls = $( "b" ).parents()
  .map(function() {
    return this.tagName;
  })
  .get()
  .join( ", " );
$( "b" ).append( "<strong>" + parentEls + "</strong>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Click to find all unique div parent elements of each span.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>parents demo</title>
  <style>
  p, div, span {
    margin: 2px;
    padding: 1px;
  }
  div {
    border: 2px white solid;
  }
  span {
    cursor: pointer;
    font-size: 12px;
  }
  .selected {
    color: blue;
  }
  b {
    color: red;
    display: block;
    font-size: 14px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  <div>
    <div><span>Hello</span></div>
      <span>Hello Again</span>
    </div>
    <div>
      <span>And Hello Again</span>
    </div>
  </p>
  <b>Click Hellos to toggle their parents.</b>
​
<script>
function showParents() {
  $( "div" ).css( "border-color", "white" );
  var len = $( "span.selected" )
    .parents( "div" )
      .css( "border", "2px red solid" )
      .length;
  $( "b" ).text( "Unique div parents: " + len );
}
$( "span" ).click(function() {
  $( this ).toggleClass( "selected" );
  showParents();
});
</script>
​
</body>
</html>
```
     */
    parents(selector?: JQuery.Selector): this;
    /**
     * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
     * @param selector_element _&#x40;param_ `selector_element`
     * <br>
     * * `selector` — A string containing a selector expression to indicate where to stop matching ancestor elements. <br>
     * * `element` — A DOM node or jQuery object indicating where to stop matching ancestor elements.
     * @param filter A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/parentsUntil/ }\`
     * @since 1.4
     * @since 1.6
     * @example ​ ````Find the ancestors of &lt;li class=&quot;item-a&quot;&gt; up to &lt;ul class=&quot;level-1&quot;&gt; and give them a red background color. Also, find ancestors of &lt;li class=&quot;item-2&quot;&gt; that have a class of &quot;yes&quot; up to &lt;ul class=&quot;level-1&quot;&gt; and give them a green border.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>parentsUntil demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul class="level-1 yes">
  <li class="item-i">I</li>
  <li class="item-ii">II
    <ul class="level-2 yes">
      <li class="item-a">A</li>
      <li class="item-b">B
        <ul class="level-3">
          <li class="item-1">1</li>
          <li class="item-2">2</li>
          <li class="item-3">3</li>
        </ul>
      </li>
      <li class="item-c">C</li>
    </ul>
  </li>
  <li class="item-iii">III</li>
</ul>
​
<script>
$( "li.item-a" )
  .parentsUntil( ".level-1" )
    .css( "background-color", "red" );
​
$( "li.item-2" )
  .parentsUntil( $( "ul.level-1" ), ".yes" )
    .css( "border", "3px solid green" );
</script>
​
</body>
</html>
```
     */
    parentsUntil(selector_element?: JQuery.Selector | Element | JQuery, filter?: JQuery.Selector): this;
    /**
     * Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.
     * @see \`{@link https://api.jquery.com/position/ }\`
     * @since 1.2
     * @example ​ ````Access the position of the second paragraph:
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>position demo</title>
  <style>
  div {
    padding: 15px;
  }
  p {
    margin-left: 10px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>
  <p>Hello</p>
</div>
<p></p>
​
<script>
var p = $( "p:first" );
var position = p.position();
$( "p:last" ).text( "left: " + position.left + ", top: " + position.top );
</script>
​
</body>
</html>
```
     */
    position(): JQuery.Coordinates;
    /**
     * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
     * @param contents One or more additional DOM elements, text nodes, arrays of elements and text nodes, HTML strings, or
     *                 jQuery objects to insert at the beginning of each element in the set of matched elements.
     * @see \`{@link https://api.jquery.com/prepend/ }\`
     * @since 1.0
     * @example ​ ````Prepends some HTML to all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>prepend demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>there, friend!</p>
<p>amigo!</p>
​
<script>
$( "p" ).prepend( "<b>Hello </b>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Prepends a DOM Element to all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>prepend demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>is what I'd say</p>
<p>is what I said</p>
​
<script>
$( "p" ).prepend( document.createTextNode( "Hello " ) );
</script>
​
</body>
</html>
```
     * @example ​ ````Prepends a jQuery object (similar to an Array of DOM Elements) to all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>prepend demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p> is what was said.</p><b>Hello</b>
​
<script>
$( "p" ).prepend( $( "b" ) );
</script>
​
</body>
</html>
```
     */
    prepend(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>>): this;
    /**
     * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
     * @param funсtion A function that returns an HTML string, DOM element(s), text node(s), or jQuery object to insert at
     *                 the beginning of each element in the set of matched elements. Receives the index position of the
     *                 element in the set and the old HTML value of the element as arguments. Within the function, `this`
     *                 refers to the current element in the set.
     * @see \`{@link https://api.jquery.com/prepend/ }\`
     * @since 1.4
     */
    prepend(funсtion: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>): this;
    /**
     * Insert every element in the set of matched elements to the beginning of the target.
     * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements
     *               will be inserted at the beginning of the element(s) specified by this parameter.
     * @see \`{@link https://api.jquery.com/prependTo/ }\`
     * @since 1.0
     * @example ​ ````Prepend all spans to the element with the ID &quot;foo&quot; (Check .prepend() documentation for more examples)
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>prependTo demo</title>
  <style>
  div {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div id="foo">FOO!</div>
<span>I have something to say... </span>
​
<script>
$( "span" ).prependTo( "#foo" );
</script>
​
</body>
</html>
```
     */
    prependTo(target: JQuery.Selector | JQuery.htmlString | JQuery.TypeOrArray<Element | DocumentFragment> | JQuery): this;
    /**
     * Get the immediately preceding sibling of each element in the set of matched elements. If a selector is provided, it retrieves the previous sibling only if it matches that selector.
     * @param selector A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/prev/ }\`
     * @since 1.0
     * @example ​ ````Find the very previous sibling of each div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>prev demo</title>
  <style>
  div {
    width: 40px;
    height: 40px;
    margin: 10px;
    float: left;
    border: 2px blue solid;
    padding: 2px;
  }
  span {
    font-size: 14px;
  }
  p {
    clear: left;
    margin: 10px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div></div>
<div><span>has child</span></div>
<div></div>
<div></div>
<div></div>
<div id="start"></div>
<div></div>
<p><button>Go to Prev</button></p>
​
<script>
var $curr = $( "#start" );
$curr.css( "background", "#f99" );
$( "button" ).click(function() {
  $curr = $curr.prev();
  $( "div" ).css( "background", "" );
  $curr.css( "background", "#f99" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````For each paragraph, find the very previous sibling that has a class &quot;selected&quot;.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>prev demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div><span>Hello</span></div>
<p class="selected">Hello Again</p>
<p>And Again</p>
​
<script>
$( "p" ).prev( ".selected" ).css( "background", "yellow" );
</script>
​
</body>
</html>
```
     */
    prev(selector?: JQuery.Selector): this;
    /**
     * Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.
     * @param selector A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/prevAll/ }\`
     * @since 1.2
     * @example ​ ````Locate all the divs preceding the last div and give them a class.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>prevAll demo</title>
  <style>
  div {
    width: 70px;
    height: 70px;
    background: #abc;
    border: 2px solid black;
    margin: 10px;
    float: left;
  }
  div.before {
    border-color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div></div>
<div></div>
<div></div>
​
<script>
$( "div:last" ).prevAll().addClass( "before" );
</script>
​
</body>
</html>
```
     */
    prevAll(selector?: JQuery.Selector): this;
    /**
     * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
     * @param selector_element _&#x40;param_ `selector_element`
     * <br>
     * * `selector` — A string containing a selector expression to indicate where to stop matching preceding sibling elements. <br>
     * * `element` — A DOM node or jQuery object indicating where to stop matching preceding sibling elements.
     * @param filter A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/prevUntil/ }\`
     * @since 1.4
     * @since 1.6
     * @example ​ ````Find the siblings that precede &lt;dt id=&quot;term-2&quot;&gt; up to the preceding &lt;dt&gt; and give them a red background color. Also, find previous &lt;dd&gt; siblings of &lt;dt id=&quot;term-3&quot;&gt; up to &lt;dt id=&quot;term-1&quot;&gt; and give them a green text color.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>prevUntil demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<dl>
  <dt id="term-1">term 1</dt>
  <dd>definition 1-a</dd>
  <dd>definition 1-b</dd>
  <dd>definition 1-c</dd>
  <dd>definition 1-d</dd>
​
  <dt id="term-2">term 2</dt>
  <dd>definition 2-a</dd>
  <dd>definition 2-b</dd>
  <dd>definition 2-c</dd>
​
  <dt id="term-3">term 3</dt>
  <dd>definition 3-a</dd>
  <dd>definition 3-b</dd>
</dl>
​
<script>
$( "#term-2" ).prevUntil( "dt" )
  .css( "background-color", "red" );
​
var term1 = document.getElementById( "term-1" );
$( "#term-3" ).prevUntil( term1, "dd" )
  .css( "color", "green" );
</script>
​
</body>
</html>
```
     */
    prevUntil(selector_element?: JQuery.Selector | Element | JQuery, filter?: JQuery.Selector): this;
    /**
     * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
     * @param type The type of queue that needs to be observed.
     * @param target Object onto which the promise methods have to be attached
     * @see \`{@link https://api.jquery.com/promise/ }\`
     * @since 1.6
     */
    promise<T extends object>(type: string, target: T): T & JQuery.Promise<this>;
    /**
     * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
     * @param target Object onto which the promise methods have to be attached
     * @see \`{@link https://api.jquery.com/promise/ }\`
     * @since 1.6
     */
    promise<T extends object>(target: T): T & JQuery.Promise<this>;
    /**
     * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
     * @param type The type of queue that needs to be observed.
     * @see \`{@link https://api.jquery.com/promise/ }\`
     * @since 1.6
     * @example ​ ````Using .promise() on a collection with no active animation returns a resolved Promise:
```javascript
var div = $( "<div>" );
​
div.promise().done(function( arg1 ) {
  // Will fire right away and alert "true"
  alert( this === div && arg1 === div );
});
```
     * @example ​ ````Resolve the returned Promise when all animations have ended (including those initiated in the animation callback or added later on):
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>promise demo</title>
  <style>
  div {
    height: 50px;
    width: 50px;
    float: left;
    margin-right: 10px;
    display: none;
    background-color: #090;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Go</button>
<p>Ready...</p>
<div></div>
<div></div>
<div></div>
<div></div>
​
<script>
$( "button" ).on( "click", function() {
  $( "p" ).append( "Started..." );
​
  $( "div" ).each(function( i ) {
    $( this ).fadeIn().fadeOut( 1000 * ( i + 1 ) );
  });
​
  $( "div" ).promise().done(function() {
    $( "p" ).append( " Finished! " );
  });
});
</script>
​
</body>
</html>
```
     * @example ​ ````Resolve the returned Promise using a $.when() statement (the .promise() method makes it possible to do this with jQuery collections):
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>promise demo</title>
  <style>
  div {
    height: 50px;
    width: 50px;
    float: left;
    margin-right: 10px;
    display: none;
    background-color: #090;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Go</button>
<p>Ready...</p>
<div></div>
<div></div>
<div></div>
<div></div>
​
<script>
var effect = function() {
  return $( "div" ).fadeIn( 800 ).delay( 1200 ).fadeOut();
};
​
$( "button" ).on( "click", function() {
  $( "p" ).append( " Started... " );
​
  $.when( effect() ).done(function() {
    $( "p" ).append( " Finished! " );
  });
});
</script>
​
</body>
</html>
```
     */
    promise(type?: string): JQuery.Promise<this>;
    /**
     * Set one or more properties for the set of matched elements.
     * @param propertyName The name of the property to set.
     * @param value_function _&#x40;param_ `value_function`
     * <br>
     * * `value` — A value to set for the property. <br>
     * * `function` — A function returning the value to set. Receives the index position of the element in the set and the
     *                old property value as arguments. Within the function, the keyword `this` refers to the current element.
     * @see \`{@link https://api.jquery.com/prop/ }\`
     * @since 1.6
     */
    prop(propertyName: string,
         value_function: string | number | boolean | symbol | object | null | undefined | ((this: TElement, index: number, oldPropertyValue: any) => any)): this;
    /**
     * Set one or more properties for the set of matched elements.
     * @param properties An object of property-value pairs to set.
     * @see \`{@link https://api.jquery.com/prop/ }\`
     * @since 1.6
     * @example ​ ````Disable all checkboxes on the page.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>prop demo</title>
  <style>
  img {
    padding: 10px;
  }
  div {
    color: red;
    font-size: 24px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
  <input type="checkbox" checked="checked">
  <input type="checkbox">
  <input type="checkbox">
  <input type="checkbox" checked="checked">
​
<script>
$( "input[type='checkbox']" ).prop({
  disabled: true
});
</script>
​
</body>
</html>
```
     */
    prop(properties: JQuery.PlainObject): this;
    /**
     * Get the value of a property for the first element in the set of matched elements.
     * @param propertyName The name of the property to get.
     * @see \`{@link https://api.jquery.com/prop/ }\`
     * @since 1.6
     * @example ​ ````Display the checked property and attribute of a checkbox as it changes.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>prop demo</title>
  <style>
  p {
    margin: 20px 0 0;
  }
  b {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<input id="check1" type="checkbox" checked="checked">
<label for="check1">Check me</label>
<p></p>
​
<script>
$( "input" ).change(function() {
  var $input = $( this );
  $( "p" ).html(
    ".attr( \"checked\" ): <b>" + $input.attr( "checked" ) + "</b><br>" +
    ".prop( \"checked\" ): <b>" + $input.prop( "checked" ) + "</b><br>" +
    ".is( \":checked\" ): <b>" + $input.is( ":checked" ) + "</b>" );
}).change();
</script>
​
</body>
</html>
```
     */
    prop(propertyName: string): any;
    /**
     * Add a collection of DOM elements onto the jQuery stack.
     * @param elements An array of elements to push onto the stack and make into a new jQuery object.
     * @param name The name of a jQuery method that generated the array of elements.
     * @param args The arguments that were passed in to the jQuery method (for serialization).
     * @see \`{@link https://api.jquery.com/pushStack/ }\`
     * @since 1.3
     */
    pushStack(elements: ArrayLike<Element>, name: string, args: any[]): this;
    /**
     * Add a collection of DOM elements onto the jQuery stack.
     * @param elements An array of elements to push onto the stack and make into a new jQuery object.
     * @see \`{@link https://api.jquery.com/pushStack/ }\`
     * @since 1.0
     * @example ​ ````Add some elements onto the jQuery stack, then pop back off again.
```javascript
jQuery([])
  .pushStack( document.getElementsByTagName( "div" ) )
  .remove()
  .end();
```
     */
    pushStack(elements: ArrayLike<Element>): this;
    /**
     * Manipulate the queue of functions to be executed, once for each matched element.
     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
     * @param newQueue The new function to add to the queue, with a function to call that will dequeue the next item.
     *                 An array of functions to replace the current queue contents.
     * @see \`{@link https://api.jquery.com/queue/ }\`
     * @since 1.2
     * @example ​ ````Set a queue array to delete the queue.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>queue demo</title>
  <style>
  div {
    margin: 3px;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0px;
    top: 30px;
    background: green;
    display: none;
  }
  div.newcolor {
    background: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="start">Start</button>
<button id="stop">Stop</button>
<div></div>
​
<script>
$( "#start" ).click(function() {
  $( "div" )
    .show( "slow" )
    .animate({ left: "+=200" }, 5000 )
    .queue(function() {
      $( this ).addClass( "newcolor" ).dequeue();
    })
    .animate({ left: '-=200' }, 1500 )
    .queue(function() {
      $( this ).removeClass( "newcolor" ).dequeue();
    })
    .slideUp();
});
$( "#stop" ).click(function() {
  $( "div" )
    .queue( "fx", [] )
    .stop();
});
</script>
​
</body>
</html>
```
     */
    queue(queueName: string, newQueue: JQuery.TypeOrArray<JQuery.QueueFunction<TElement>>): this;
    /**
     * Manipulate the queue of functions to be executed, once for each matched element.
     * @param newQueue The new function to add to the queue, with a function to call that will dequeue the next item.
     *                 An array of functions to replace the current queue contents.
     * @see \`{@link https://api.jquery.com/queue/ }\`
     * @since 1.2
     * @example ​ ````Queue a custom function.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>queue demo</title>
  <style>
  div {
    margin: 3px;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0px;
    top: 30px;
    background: green;
    display: none;
  }
  div.newcolor {
    background: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
Click here...
<div></div>
​
<script>
$( document.body ).click(function() {
  $( "div" )
    .show( "slow" )
    .animate({ left: "+=200" }, 2000 )
    .queue(function() {
      $( this ).addClass( "newcolor" ).dequeue();
    })
    .animate({ left: "-=200" }, 500 )
    .queue(function() {
      $( this ).removeClass( "newcolor" ).dequeue();
    })
    .slideUp();
});
</script>
​
</body>
</html>
```
     */
    queue(newQueue: JQuery.TypeOrArray<JQuery.QueueFunction<TElement>>): this;
    /**
     * Show the queue of functions to be executed on the matched elements.
     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
     * @see \`{@link https://api.jquery.com/queue/ }\`
     * @since 1.2
     * @example ​ ````Show the length of the queue.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>queue demo</title>
  <style>
  div {
    margin: 3px;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0px;
    top: 60px;
    background: green;
    display: none;
  }
  div.newcolor {
    background: blue;
  }
  p {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>The queue length is: <span></span></p>
<div></div>
​
<script>
var div = $( "div" );
​
function runIt() {
  div
    .show( "slow" )
    .animate({ left: "+=200" }, 2000 )
    .slideToggle( 1000 )
    .slideToggle( "fast" )
    .animate({ left: "-=200" }, 1500 )
    .hide( "slow" )
    .show( 1200 )
    .slideUp( "normal", runIt );
}
​
function showIt() {
  var n = div.queue( "fx" );
  $( "span" ).text( n.length );
  setTimeout( showIt, 100 );
}
​
runIt();
showIt();
</script>
​
</body>
</html>
```
     */
    queue(queueName?: string): JQuery.Queue<Node>;
    /**
     * Specify a function to execute when the DOM is fully loaded.
     * @param handler A function to execute after the DOM is ready.
     * @see \`{@link https://api.jquery.com/ready/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.0. Use `jQuery(function() { })`.
     * @example ​ ````Display a message when the DOM is loaded.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>ready demo</title>
  <style>
  p {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
  <script>
​
  $(function() {
    $( "p" ).text( "The DOM is now loaded and can be manipulated." );
  });
​
  </script>
</head>
<body>
​
<p>Not loaded yet.</p>
​
</body>
</html>
```
     */
    ready(handler: ($: JQueryStatic) => void): this;
    /**
     * Remove the set of matched elements from the DOM.
     * @param selector A selector expression that filters the set of matched elements to be removed.
     * @see \`{@link https://api.jquery.com/remove/ }\`
     * @since 1.0
     * @example ​ ````Removes all paragraphs from the DOM
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>remove demo</title>
  <style>
  p {
    background: yellow;
    margin: 6px 0;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
how are
<p>you?</p>
<button>Call remove() on paragraphs</button>
​
<script>
$( "button" ).click(function() {
  $( "p" ).remove();
});
</script>
​
</body>
</html>
```
     * @example ​ ````Removes all paragraphs that contain &quot;Hello&quot; from the DOM.  Analogous to doing $(&quot;p&quot;).filter(&quot;:contains(&#39;Hello&#39;)&quot;).remove().
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>remove demo</title>
  <style>
  p {
    background: yellow;
    margin: 6px 0;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p class="hello">Hello</p>
how are
<p>you?</p>
<button>Call remove( ":contains('Hello')" ) on paragraphs</button>
​
<script>
$( "button" ).click(function() {
  $( "p" ).remove( ":contains('Hello')" );
});
</script>
​
</body>
</html>
```
     */
    remove(selector?: string): this;
    /**
     * Remove an attribute from each element in the set of matched elements.
     * @param attributeName An attribute to remove; as of version 1.7, it can be a space-separated list of attributes.
     * @see \`{@link https://api.jquery.com/removeAttr/ }\`
     * @since 1.0
     * @example ​ ````Clicking the button changes the title of the input next to it. Move the mouse pointer over the text input to see the effect of adding and removing the title attribute.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>removeAttr demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Change title</button>
<input type="text" title="hello there">
<div id="log"></div>
​
<script>
(function() {
  var inputTitle = $( "input" ).attr( "title" );
  $( "button" ).click(function() {
    var input = $( this ).next();
​
    if ( input.attr( "title" ) === inputTitle ) {
      input.removeAttr( "title" )
    } else {
      input.attr( "title", inputTitle );
    }
​
    $( "#log" ).html( "input title is now " + input.attr( "title" ) );
  });
})();
</script>
​
</body>
</html>
```
     */
    removeAttr(attributeName: string): this;
    /**
     * Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
     * @param className_function _&#x40;param_ `className_function`
     * <br>
     * * `className` — One or more space-separated classes to be removed from the class attribute of each matched element. <br>
     * * `function` — A function returning one or more space-separated class names to be removed. Receives the index
     *                position of the element in the set and the old class value as arguments.
     * @see \`{@link https://api.jquery.com/removeClass/ }\`
     * @since 1.0
     * @since 1.4
     * @since 3.3
     * @example ​ ````Remove the class &#39;blue&#39; from the matched elements.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>removeClass demo</title>
  <style>
  p {
    margin: 4px;
    font-size: 16px;
    font-weight: bolder;
  }
  .blue {
    color: blue;
  }
  .under {
    text-decoration: underline;
  }
  .highlight {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p class="blue under">Hello</p>
<p class="blue under highlight">and</p>
<p class="blue under">then</p>
<p class="blue under">Goodbye</p>
​
<script>
$( "p:even" ).removeClass( "blue" );
</script>
​
</body>
</html>
```
     * @example ​ ````Remove the class &#39;blue&#39; and &#39;under&#39; from the matched elements.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>removeClass demo</title>
  <style>
  p {
    margin: 4px;
    font-size: 16px;
    font-weight: bolder;
  }
  .blue {
    color: blue;
  }
  .under {
    text-decoration: underline;
  }
  .highlight {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p class="blue under">Hello</p>
<p class="blue under highlight">and</p>
<p class="blue under">then</p>
<p class="blue under">Goodbye</p>
​
<script>
$( "p:odd" ).removeClass( "blue under" );
</script>
​
</body>
</html>
```
     * @example ​ ````Remove all the classes from the matched elements.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>removeClass demo</title>
  <style>
  p {
    margin: 4px;
    font-size: 16px;
    font-weight: bolder;
  }
  .blue {
    color: blue;
  }
  .under {
    text-decoration: underline;
  }
  .highlight {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p class="blue under">Hello</p>
<p class="blue under highlight">and</p>
<p class="blue under">then</p>
<p class="blue under">Goodbye</p>
​
<script>
$( "p:eq(1)" ).removeClass();
</script>
​
</body>
</html>
```
     */
    removeClass(className_function?: JQuery.TypeOrArray<string> | ((this: TElement, index: number, className: string) => string)): this;
    /**
     * Remove a previously-stored piece of data.
     * @param name A string naming the piece of data to delete.
     *             An array or space-separated string naming the pieces of data to delete.
     * @see \`{@link https://api.jquery.com/removeData/ }\`
     * @since 1.2.3
     * @since 1.7
     * @example ​ ````Set a data store for 2 names then remove one of them.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>removeData demo</title>
  <style>
  div {
    margin: 2px;
    color: blue;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>value1 before creation: <span></span></div>
<div>value1 after creation: <span></span></div>
<div>value1 after removal: <span></span></div>
<div>value2 after removal: <span></span></div>
​
<script>
$( "span:eq(0)" ).text( "" + $( "div" ).data( "test1" ) );
$( "div" ).data( "test1", "VALUE-1" );
$( "div" ).data( "test2", "VALUE-2" );
$( "span:eq(1)" ).text( "" + $( "div").data( "test1" ) );
$( "div" ).removeData( "test1" );
$( "span:eq(2)" ).text( "" + $( "div" ).data( "test1" ) );
$( "span:eq(3)" ).text( "" + $( "div" ).data( "test2" ) );
</script>
​
</body>
</html>
```
     */
    removeData(name?: JQuery.TypeOrArray<string>): this;
    /**
     * Remove a property for the set of matched elements.
     * @param propertyName The name of the property to remove.
     * @see \`{@link https://api.jquery.com/removeProp/ }\`
     * @since 1.6
     * @example ​ ````Set a numeric property on a paragraph and then remove it.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>removeProp demo</title>
  <style>
  img {
    padding: 10px;
  }
  div {
    color: red;
    font-size: 24px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
  <p></p>
​
<script>
para = $( "p" );
para
  .prop( "luggageCode", 1234 )
  .append( "The secret luggage code is: ", String( para.prop( "luggageCode" ) ), ". " )
  .removeProp( "luggageCode" )
  .append( "Now the secret luggage code is: ", String( para.prop( "luggageCode" ) ), ". " );
</script>
​
</body>
</html>
```
     */
    removeProp(propertyName: string): this;
    /**
     * Replace each target element with the set of matched elements.
     * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.
     * @see \`{@link https://api.jquery.com/replaceAll/ }\`
     * @since 1.2
     * @example ​ ````Replace all the paragraphs with bold words.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>replaceAll demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
​
<script>
$( "<b>Paragraph. </b>" ).replaceAll( "p" );
</script>
​
</body>
</html>
```
     */
    replaceAll(target: JQuery.Selector | JQuery | JQuery.TypeOrArray<Element>): this;
    /**
     * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
     * @param newContent_function _&#x40;param_ `newContent_function`
     * <br>
     * * `newContent` — The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object. <br>
     * * `function` — A function that returns content with which to replace the set of matched elements.
     * @see \`{@link https://api.jquery.com/replaceWith/ }\`
     * @since 1.2
     * @since 1.4
     * @example ​ ````On click, replace the button with a div containing the same word.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>replaceWith demo</title>
  <style>
  button {
    display: block;
    margin: 3px;
    color: red;
    width: 200px;
  }
  div {
    color: red;
    border: 2px solid blue;
    width: 200px;
    margin: 3px;
    text-align: center;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>First</button>
<button>Second</button>
<button>Third</button>
​
<script>
$( "button" ).click(function() {
  $( this ).replaceWith( "<div>" + $( this ).text() + "</div>" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Replace all paragraphs with bold words.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>replaceWith demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
​
<script>
$( "p" ).replaceWith( "<b>Paragraph. </b>" );
</script>
​
</body>
</html>
```
     * @example ​ ````On click, replace each paragraph with a div that is already in the DOM and selected with the $() function. Notice it doesn&#39;t clone the object but rather moves it to replace the paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>replaceWith demo</title>
  <style>
  div {
    border: 2px solid blue;
    color: red;
    margin: 3px;
  }
  p {
    border: 2px solid red;
    color: blue;
    margin: 3px;
    cursor: pointer;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
  <p>Hello</p>
  <p>cruel</p>
  <p>World</p>
  <div>Replaced!</div>
​
<script>
$( "p" ).click(function() {
  $( this ).replaceWith( $( "div" ) );
});
</script>
​
</body>
</html>
```
     * @example ​ ````On button click, replace the containing div with its child divs and append the class name of the selected element to the paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>replaceWith demo</title>
  <style>
  .container {
    background-color: #991;
  }
  .inner {
    color: #911;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>
  <button>Replace!</button>
</p>
<div class="container">
  <div class="inner">Scooby</div>
  <div class="inner">Dooby</div>
  <div class="inner">Doo</div>
</div>
​
<script>
$( "button" ).on( "click", function() {
  var $container = $( "div.container" ).replaceWith(function() {
    return $( this ).contents();
  });
​
  $( "p" ).append( $container.attr( "class" ) );
});
</script>
​
</body>
</html>
```
     */
    replaceWith(newContent_function: JQuery.htmlString |
                                     JQuery<JQuery.Node> |
                                     JQuery.TypeOrArray<Element> |
                                     JQuery.Node |
                                     ((this: TElement, index: number, oldhtml: JQuery.htmlString) => JQuery.htmlString |
                                                                                                     JQuery<JQuery.Node> |
                                                                                                     JQuery.TypeOrArray<Element> |
                                                                                                     JQuery.Node)): this;
    /**
     * Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/resize/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    resize<TData>(eventData: TData,
                  handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'resize'>): this;
    /**
     * Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/resize/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````To see the window width while (or after) it is resized, try:
```javascript
$( window ).resize(function() {
  $( "body" ).prepend( "<div>" + $( window ).width() + "</div>" );
});
```
     */
    resize(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'resize'> |
                     false): this;
    /**
     * Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/scroll/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    scroll<TData>(eventData: TData,
                  handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'scroll'>): this;
    /**
     * Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/scroll/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````To do something when your page is scrolled:
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>scroll demo</title>
  <style>
  div {
    color: blue;
  }
  p {
    color: green;
  }
  span {
    color: red;
    display: none;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>Try scrolling the iframe.</div>
<p>Paragraph - <span>Scroll happened!</span></p>
​
<script>
$( "p" ).clone().appendTo( document.body );
$( "p" ).clone().appendTo( document.body );
$( "p" ).clone().appendTo( document.body );
$( window ).scroll(function() {
  $( "span" ).css( "display", "inline" ).fadeOut( "slow" );
});
</script>
​
</body>
</html>
```
     */
    scroll(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'scroll'> |
                     false): this;
    /**
     * Set the current horizontal position of the scroll bar for each of the set of matched elements.
     * @param value An integer indicating the new position to set the scroll bar to.
     * @see \`{@link https://api.jquery.com/scrollLeft/ }\`
     * @since 1.2.6
     * @example ​ ````Set the scrollLeft of a div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>scrollLeft demo</title>
  <style>
  div.demo {
    background: #ccc none repeat scroll 0 0;
    border: 3px solid #666;
    margin: 5px;
    padding: 5px;
    position: relative;
    width: 200px;
    height: 100px;
    overflow: auto;
  }
  p {
    margin: 10px;
    padding: 5px;
    border: 2px solid #666;
    width: 1000px;
    height: 1000px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="demo"><h1>lalala</h1><p>Hello</p></div>
​
<script>
$( "div.demo" ).scrollLeft( 300 );
</script>
​
</body>
</html>
```
     */
    scrollLeft(value: number): this;
    /**
     * Get the current horizontal position of the scroll bar for the first element in the set of matched elements.
     * @see \`{@link https://api.jquery.com/scrollLeft/ }\`
     * @since 1.2.6
     * @example ​ ````Get the scrollLeft of a paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>scrollLeft demo</title>
  <style>
  p {
    margin: 10px;
    padding: 5px;
    border: 2px solid #666;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p><p></p>
​
<script>
var p = $( "p:first" );
$( "p:last" ).text( "scrollLeft:" + p.scrollLeft() );
</script>
​
</body>
</html>
```
     */
    scrollLeft(): number | undefined;
    /**
     * Set the current vertical position of the scroll bar for each of the set of matched elements.
     * @param value A number indicating the new position to set the scroll bar to.
     * @see \`{@link https://api.jquery.com/scrollTop/ }\`
     * @since 1.2.6
     * @example ​ ````Set the scrollTop of a div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>scrollTop demo</title>
  <style>
  div.demo {
    background: #ccc none repeat scroll 0 0;
    border: 3px solid #666;
    margin: 5px;
    padding: 5px;
    position: relative;
    width: 200px;
    height: 100px;
    overflow: auto;
  }
  p {
    margin: 10px;
    padding: 5px;
    border: 2px solid #666;
    width: 1000px;
    height: 1000px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="demo"><h1>lalala</h1><p>Hello</p></div>
​
<script>
$( "div.demo" ).scrollTop( 300 );
</script>
​
</body>
</html>
```
     */
    scrollTop(value: number): this;
    /**
     * Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element.
     * @see \`{@link https://api.jquery.com/scrollTop/ }\`
     * @since 1.2.6
     * @example ​ ````Get the scrollTop of a paragraph.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>scrollTop demo</title>
  <style>
  p {
    margin: 10px;
    padding: 5px;
    border: 2px solid #666;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p><p></p>
​
<script>
var p = $( "p:first" );
$( "p:last" ).text( "scrollTop:" + p.scrollTop() );
</script>
​
</body>
</html>
```
     */
    scrollTop(): number | undefined;
    /**
     * Bind an event handler to the "select" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/select/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    select<TData>(eventData: TData,
                  handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'select'>): this;
    /**
     * Bind an event handler to the "select" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/select/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````To do something when text in input boxes is selected:
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>select demo</title>
  <style>
  p {
    color: blue;
  }
  div {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
  <p>Click and drag the mouse to select text in the inputs.</p>
  <input type="text" value="Some text">
  <input type="text" value="to test on">
  <div></div>
  ​
<script>
$( ":input" ).select(function() {
  $( "div" ).text( "Something was selected" ).show().fadeOut( 1000 );
});
</script>
​
</body>
</html>
```
     * @example ​ ````To trigger the select event on all input elements, try:
```javascript
$( "input" ).select();
```
     */
    select(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'select'> |
                     false): this;
    /**
     * Encode a set of form elements as a string for submission.
     * @see \`{@link https://api.jquery.com/serialize/ }\`
     * @since 1.0
     * @example ​ ````Serialize a form to a query string that could be sent to a server in an Ajax request.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>serialize demo</title>
  <style>
  body, select {
    font-size: 12px;
  }
  form {
    margin: 5px;
  }
  p {
    color: red;
    margin: 5px;
    font-size: 14px;
  }
  b {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<form>
  <select name="single">
    <option>Single</option>
    <option>Single2</option>
  </select>
​
  <br>
  <select name="multiple" multiple="multiple">
    <option selected="selected">Multiple</option>
    <option>Multiple2</option>
    <option selected="selected">Multiple3</option>
  </select>
​
  <br>
  <input type="checkbox" name="check" value="check1" id="ch1">
  <label for="ch1">check1</label>
  <input type="checkbox" name="check" value="check2" checked="checked" id="ch2">
  <label for="ch2">check2</label>
​
  <br>
  <input type="radio" name="radio" value="radio1" checked="checked" id="r1">
  <label for="r1">radio1</label>
  <input type="radio" name="radio" value="radio2" id="r2">
  <label for="r2">radio2</label>
</form>
​
<p><tt id="results"></tt></p>
​
<script>
  function showValues() {
    var str = $( "form" ).serialize();
    $( "#results" ).text( str );
  }
  $( "input[type='checkbox'], input[type='radio']" ).on( "click", showValues );
  $( "select" ).on( "change", showValues );
  showValues();
</script>
​
</body>
</html>
```
     */
    serialize(): string;
    /**
     * Encode a set of form elements as an array of names and values.
     * @see \`{@link https://api.jquery.com/serializeArray/ }\`
     * @since 1.2
     * @example ​ ````Get the values from a form, iterate through them, and append them to a results display.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>serializeArray demo</title>
  <style>
  body, select {
    font-size: 14px;
  }
  form {
    margin: 5px;
  }
  p {
    color: red;
    margin: 5px;
  }
  b {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><b>Results:</b> <span id="results"></span></p>
<form>
  <select name="single">
    <option>Single</option>
    <option>Single2</option>
  </select>
  <select name="multiple" multiple="multiple">
    <option selected="selected">Multiple</option>
    <option>Multiple2</option>
    <option selected="selected">Multiple3</option>
  </select>
  <br>
  <input type="checkbox" name="check" value="check1" id="ch1">
  <label for="ch1">check1</label>
  <input type="checkbox" name="check" value="check2" checked="checked" id="ch2">
  <label for="ch2">check2</label>
  <input type="radio" name="radio" value="radio1" checked="checked" id="r1">
  <label for="r1">radio1</label>
  <input type="radio" name="radio" value="radio2" id="r2">
  <label for="r2">radio2</label>
</form>
​
<script>
  function showValues() {
    var fields = $( ":input" ).serializeArray();
    $( "#results" ).empty();
    jQuery.each( fields, function( i, field ) {
      $( "#results" ).append( field.value + " " );
    });
  }
​
  $( ":checkbox, :radio" ).click( showValues );
  $( "select" ).change( showValues );
  showValues();
</script>
​
</body>
</html>
```
     */
    serializeArray(): JQuery.NameValuePair[];
    /**
     * Display the matched elements.
     * @param duration A string or number determining how long the animation will run.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/show/ }\`
     * @since 1.4.3
     */
    show(duration: JQuery.Duration, easing: string, complete: (this: TElement) => void): this;
    /**
     * Display the matched elements.
     * @param duration A string or number determining how long the animation will run.
     * @param easing_complete _&#x40;param_ `easing_complete`
     * <br>
     * * `easing` — A string indicating which easing function to use for the transition. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/show/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Show the first div, followed by each next adjacent sibling div in order, with a 200ms animation. Each animation starts when the previous sibling div&#39;s animation ends.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>show demo</title>
  <style>
  div {
    background: #def3ca;
    margin: 3px;
    width: 80px;
    display: none;
    float: left;
    text-align: center;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="showr">Show</button>
<button id="hidr">Hide</button>
<div>Hello 3,</div>
<div>how</div>
<div>are</div>
<div>you?</div>
​
<script>
$( "#showr" ).click(function() {
  $( "div" ).first().show( "fast", function showNext() {
    $( this ).next( "div" ).show( "fast", showNext );
  });
});
​
$( "#hidr" ).click(function() {
  $( "div" ).hide( 1000 );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Show all span and input elements with an animation. Change the text once the animation is done.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>show demo</title>
  <style>
  span {
    display: none;
  }
  div {
    display: none;
  }
  p {
    font-weight: bold;
    background-color: #fcd;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Do it!</button>
<span>Are you sure? (type 'yes' if you are) </span>
<div>
  <form>
    <input type="text"  value="as;ldkfjalsdf">
  </form>
</div>
<p style="display:none;">I'm hidden...</p>
​
<script>
function doIt() {
  $( "span,div" ).show( "slow" );
}
// Can pass in function name
$( "button" ).click( doIt );
​
$( "form" ).submit(function( event ) {
  if ( $( "input" ).val() === "yes" ) {
    $( "p" ).show( 4000, function() {
      $( this ).text( "Ok, DONE! (now showing)" );
    });
  }
  $( "span,div" ).hide( "fast" );
​
  // Prevent form submission
  event.preventDefault();
});
</script>
​
</body>
</html>
```
     */
    show(duration: JQuery.Duration, easing_complete: string | ((this: TElement) => void)): this;
    /**
     * Display the matched elements.
     * @param duration_complete_options _&#x40;param_ `duration_complete_options`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element. <br>
     * * `options` — A map of additional options to pass to the method.
     * @see \`{@link https://api.jquery.com/show/ }\`
     * @since 1.0
     * @example ​ ````Animates all hidden paragraphs to show slowly, completing the animation within 600 milliseconds.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>show demo</title>
  <style>
  p {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Show it</button>
<p style="display: none">Hello  2</p>
​
<script>
$( "button" ).click(function() {
  $( "p" ).show( "slow" );
});
</script>
​
</body>
</html>
```
     */
    show(duration_complete_options?: JQuery.Duration | ((this: TElement) => void) | JQuery.EffectsOptions<TElement>): this;
    /**
     * Get the siblings of each element in the set of matched elements, optionally filtered by a selector.
     * @param selector A string containing a selector expression to match elements against.
     * @see \`{@link https://api.jquery.com/siblings/ }\`
     * @since 1.0
     * @example ​ ````Find the unique siblings of all yellow li elements in the 3 lists (including other yellow li elements if appropriate).
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>siblings demo</title>
  <style>
  ul {
    float: left;
    margin: 5px;
    font-size: 16px;
    font-weight: bold;
  }
  p {
    color: blue;
    margin: 10px 20px;
    font-size: 16px;
    padding: 5px;
    font-weight: bolder;
  }
  .hilite {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<ul>
  <li>One</li>
  <li>Two</li>
  <li class="hilite">Three</li>
  <li>Four</li>
</ul>
​
<ul>
  <li>Five</li>
  <li>Six</li>
  <li>Seven</li>
</ul>
​
<ul>
  <li>Eight</li>
  <li class="hilite">Nine</li>
  <li>Ten</li>
  <li class="hilite">Eleven</li>
</ul>
​
<p>Unique siblings: <b></b></p>
​
<script>
var len = $( ".hilite" ).siblings()
  .css( "color", "red" )
  .length;
$( "b" ).text( len );
</script>
​
</body>
</html>
```
     * @example ​ ````Find all siblings with a class &quot;selected&quot; of each div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>siblings demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div><span>Hello</span></div>
<p class="selected">Hello Again</p>
<p>And Again</p>
​
<script>
$( "p" ).siblings( ".selected" ).css( "background", "yellow" );
</script>
​
</body>
</html>
```
     */
    siblings(selector?: JQuery.Selector): this;
    /**
     * Reduce the set of matched elements to a subset specified by a range of indices.
     * @param start An integer indicating the 0-based position at which the elements begin to be selected. If negative,
     *              it indicates an offset from the end of the set.
     * @param end An integer indicating the 0-based position at which the elements stop being selected. If negative,
     *            it indicates an offset from the end of the set. If omitted, the range continues until the end of the set.
     * @see \`{@link https://api.jquery.com/slice/ }\`
     * @since 1.1.4
     * @example ​ ````Turns divs yellow based on a random slice.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>slice demo</title>
  <style>
  div {
    width: 40px;
    height: 40px;
    margin: 10px;
    float: left;
    border: 2px solid blue;
  }
  span {
    color: red;
    font-weight: bold;
  }
  button {
    margin: 5px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><button>Turn slice yellow</button>
  <span>Click the button!</span></p>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  ​
<script>
function colorEm() {
  var $div = $( "div" );
  var start = Math.floor( Math.random() * $div.length );
  var end = Math.floor( Math.random() * ( $div.length - start ) ) +
    start + 1;
  if ( end === $div.length ) {
    end = undefined;
  }
  $div.css( "background", "" );
  if ( end ) {
    $div.slice( start, end ).css( "background", "yellow" );
  } else {
    $div.slice( start ).css( "background", "yellow" );
  }
  $( "span" ).text( "$( 'div' ).slice( " + start +
    (end ? ", " + end : "") +
    ").css( 'background', 'yellow' );" );
}
​
$( "button" ).click( colorEm );
</script>
​
</body>
</html>
```
     * @example ​ ````Selects all paragraphs, then slices the selection to include only the first element.
```javascript
$( "p" ).slice( 0, 1 ).wrapInner( "<b></b>" );
```
     * @example ​ ````Selects all paragraphs, then slices the selection to include only the first and second element.
```javascript
$( "p" ).slice( 0, 2 ).wrapInner( "<b></b>" );
```
     * @example ​ ````Selects all paragraphs, then slices the selection to include only the second element.
```javascript
$( "p" ).slice( 1, 2 ).wrapInner( "<b></b>" );
```
     * @example ​ ````Selects all paragraphs, then slices the selection to include only the second and third element.
```javascript
$( "p" ).slice( 1 ).wrapInner( "<b></b>" );
```
     * @example ​ ````Selects all paragraphs, then slices the selection to include only the third element.
```javascript
$( "p" ).slice( -1 ).wrapInner( "<b></b>" );
```
     */
    slice(start: number, end?: number): this;
    /**
     * Display the matched elements with a sliding motion.
     * @param duration A string or number determining how long the animation will run.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/slideDown/ }\`
     * @since 1.4.3
     */
    slideDown(duration: JQuery.Duration, easing: string, complete?: (this: TElement) => void): this;
    /**
     * Display the matched elements with a sliding motion.
     * @param duration_easing _&#x40;param_ `duration_easing`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/slideDown/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Animates all inputs to slide down, completing the animation within 1000 milliseconds. Once the animation is done, the input look is changed especially if it is the middle input which gets the focus.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>slideDown demo</title>
  <style>
  div {
    background: #cfd;
    margin: 3px;
    width: 50px;
    text-align: center;
    float: left;
    cursor: pointer;
    border: 2px outset black;
    font-weight: bolder;
  }
  input {
    display: none;
    width: 120px;
    float: left;
    margin: 10px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>Push!</div>
<input type="text">
<input type="text" class="middle">
<input type="text">
  ​
<script>
$( "div" ).click(function() {
  $( this ).css({
    borderStyle: "inset",
    cursor: "wait"
  });
  $( "input" ).slideDown( 1000, function() {
    $( this )
      .css( "border", "2px red inset" )
      .filter( ".middle" )
        .css( "background", "yellow" )
        .focus();
    $( "div" ).css( "visibility", "hidden" );
  });
});
​
</script>
​
</body>
</html>
```
     */
    slideDown(duration_easing: JQuery.Duration | string, complete: (this: TElement) => void): this;
    /**
     * Display the matched elements with a sliding motion.
     * @param duration_easing_complete_options _&#x40;param_ `duration_easing_complete_options`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element. <br>
     * * `options` — A map of additional options to pass to the method.
     * @see \`{@link https://api.jquery.com/slideDown/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Animates all divs to slide down and show themselves over 600 milliseconds.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>slideDown demo</title>
  <style>
  div {
    background: #de9a44;
    margin: 3px;
    width: 80px;
    height: 40px;
    display: none;
    float: left;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
Click me!
<div></div>
<div></div>
<div></div>
​
<script>
$( document.body ).click(function () {
  if ( $( "div:first" ).is( ":hidden" ) ) {
    $( "div" ).slideDown( "slow" );
  } else {
    $( "div" ).hide();
  }
});
</script>
​
</body>
</html>
```
     */
    slideDown(duration_easing_complete_options?: JQuery.Duration | string | ((this: TElement) => void) | JQuery.EffectsOptions<TElement>): this;
    /**
     * Display or hide the matched elements with a sliding motion.
     * @param duration A string or number determining how long the animation will run.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/slideToggle/ }\`
     * @since 1.4.3
     */
    slideToggle(duration: JQuery.Duration, easing: string, complete?: (this: TElement) => void): this;
    /**
     * Display or hide the matched elements with a sliding motion.
     * @param duration_easing _&#x40;param_ `duration_easing`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/slideToggle/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Animates divs between dividers with a toggle that makes some appear and some disappear.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>slideToggle demo</title>
  <style>
  div {
    background: #b977d1;
    margin: 3px;
    width: 60px;
    height: 60px;
    float: left;
  }
  div.still {
    background: #345;
    width: 5px;
  }
  div.hider {
    display: none;
  }
  span {
    color: red;
  }
  p {
    clear: left;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div></div>
<div class="still"></div>
<div style="display:none;">
</div><div class="still"></div>
<div></div>
<div class="still"></div>
<div class="hider"></div>
<div class="still"></div>
<div class="hider"></div>
<div class="still"></div>
<div></div>
<p><button id="aa">Toggle</button> There have been <span>0</span> toggled divs.</p>
​
<script>
$( "#aa" ).click(function() {
  $( "div:not(.still)" ).slideToggle( "slow", function() {
    var n = parseInt( $( "span" ).text(), 10 );
    $( "span" ).text( n + 1 );
  });
});
</script>
​
</body>
</html>
```
     */
    slideToggle(duration_easing: JQuery.Duration | string, complete: (this: TElement) => void): this;
    /**
     * Display or hide the matched elements with a sliding motion.
     * @param duration_easing_complete_options _&#x40;param_ `duration_easing_complete_options`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element. <br>
     * * `options` — A map of additional options to pass to the method.
     * @see \`{@link https://api.jquery.com/slideToggle/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Animates all paragraphs to slide up or down, completing the animation within 600 milliseconds.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>slideToggle demo</title>
  <style>
  p {
    width: 400px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Toggle</button>
<p>
  This is the paragraph to end all paragraphs.  You
  should feel <em>lucky</em> to have seen such a paragraph in
  your life.  Congratulations!
</p>
​
<script>
$( "button" ).click(function() {
  $( "p" ).slideToggle( "slow" );
});
</script>
​
</body>
</html>
```
     */
    slideToggle(duration_easing_complete_options?: JQuery.Duration | string | ((this: TElement) => void) | JQuery.EffectsOptions<TElement>): this;
    /**
     * Hide the matched elements with a sliding motion.
     * @param duration A string or number determining how long the animation will run.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/slideUp/ }\`
     * @since 1.4.3
     */
    slideUp(duration: JQuery.Duration, easing: string, complete?: (this: TElement) => void): this;
    /**
     * Hide the matched elements with a sliding motion.
     * @param duration_easing _&#x40;param_ `duration_easing`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/slideUp/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Animates the parent paragraph to slide up, completing the animation within 200 milliseconds. Once the animation is done, it displays an alert.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>slideUp demo</title>
  <style>
 div {
   margin: 2px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>
  <button>Hide One</button>
  <input type="text" value="One">
</div>
​
<div>
  <button>Hide Two</button>
  <input type="text" value="Two">
</div>
​
<div>
  <button>Hide Three</button>
  <input type="text" value="Three">
</div>
​
<div id="msg"></div>
​
<script>
$( "button" ).click(function() {
  $( this ).parent().slideUp( "slow", function() {
    $( "#msg" ).text( $( "button", this ).text() + " has completed." );
  });
});
</script>
​
</body>
</html>
```
     */
    slideUp(duration_easing: JQuery.Duration | string, complete: (this: TElement) => void): this;
    /**
     * Hide the matched elements with a sliding motion.
     * @param duration_easing_complete_options _&#x40;param_ `duration_easing_complete_options`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `easing` — A string indicating which easing function to use for the transition. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element. <br>
     * * `options` — A map of additional options to pass to the method.
     * @see \`{@link https://api.jquery.com/slideUp/ }\`
     * @since 1.0
     * @since 1.4.3
     * @example ​ ````Animates all divs to slide up, completing the animation within 400 milliseconds.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>slideUp demo</title>
  <style>
  div {
    background: #3d9a44;
    margin: 3px;
    width: 80px;
    height: 40px;
    float: left;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
Click me!
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
​
<script>
$( document.body ).click(function() {
  if ( $( "div:first" ).is( ":hidden" ) ) {
    $( "div" ).show( "slow" );
  } else {
    $( "div" ).slideUp();
  }
});
</script>
​
</body>
</html>
```
     */
    slideUp(duration_easing_complete_options?: JQuery.Duration | string | ((this: TElement) => void) | JQuery.EffectsOptions<TElement>): this;
    /**
     * Stop the currently-running animation on the matched elements.
     * @param queue The name of the queue in which to stop animations.
     * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false.
     * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false.
     * @see \`{@link https://api.jquery.com/stop/ }\`
     * @since 1.7
     */
    stop(queue: string, clearQueue?: boolean, jumpToEnd?: boolean): this;
    /**
     * Stop the currently-running animation on the matched elements.
     * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false.
     * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false.
     * @see \`{@link https://api.jquery.com/stop/ }\`
     * @since 1.2
     * @example ​ ````Click the Go button once to start the animation, then click the STOP button to stop it where it&#39;s currently positioned.  Another option is to click several buttons to queue them up and see that stop just kills the currently playing one.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>stop demo</title>
  <style>
  div {
    position: absolute;
    background-color: #abc;
    left: 0px;
    top: 30px;
    width: 60px;
    height: 60px;
    margin: 5px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="go">Go</button>
<button id="stop">STOP!</button>
<button id="back">Back</button>
<div class="block"></div>
​
<script>
// Start animation
$( "#go" ).click(function() {
  $( ".block" ).animate({ left: "+=100px" }, 2000 );
});
​
// Stop animation when button is clicked
$( "#stop" ).click(function() {
  $( ".block" ).stop();
});
​
// Start animation in the opposite direction
$( "#back" ).click(function() {
  $( ".block" ).animate({ left: "-=100px" }, 2000 );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Click the slideToggle button to start the animation, then click again before the animation is completed. The animation will toggle the other direction from the saved starting point.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>stop demo</title>
  <style>
  .block {
    background-color: #abc;
    border: 2px solid black;
    width: 200px;
    height: 80px;
    margin: 10px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="toggle">slideToggle</button>
<div class="block"></div>
​
<script>
var $block = $( ".block" );
​
// Toggle a sliding animation animation
$( "#toggle" ).on( "click", function() {
  $block.stop().slideToggle( 1000 );
});
</script>
​
</body>
</html>
```
     */
    stop(clearQueue?: boolean, jumpToEnd?: boolean): this;
    /**
     * Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
     * @param eventData An object containing data that will be passed to the event handler.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/submit/ }\`
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     */
    submit<TData>(eventData: TData,
                  handler: JQuery.TypeEventHandler<TElement, TData, TElement, TElement, 'submit'>): this;
    /**
     * Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/submit/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.3. Use \`{@link on }\` or \`{@link trigger }\`.
     *
     * **Cause**: The `.on()` and `.trigger()` methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu.
     *
     * **Solution**: Instead of `.click(fn)` use `.on("click", fn)`. Instead of `.click()` use `.trigger("click")`.
     * @example ​ ````If you&#39;d like to prevent forms from being submitted unless a flag variable is set, try:
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>submit demo</title>
  <style>
  p {
    margin: 0;
    color: blue;
  }
  div,p {
    margin-left: 10px;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Type 'correct' to validate.</p>
<form action="javascript:alert( 'success!' );">
  <div>
    <input type="text">
    <input type="submit">
  </div>
</form>
<span></span>
​
<script>
$( "form" ).submit(function( event ) {
  if ( $( "input:first" ).val() === "correct" ) {
    $( "span" ).text( "Validated..." ).show();
    return;
  }
​
  $( "span" ).text( "Not valid!" ).show().fadeOut( 1000 );
  event.preventDefault();
});
</script>
​
</body>
</html>
```
     * @example ​ ````If you&#39;d like to prevent forms from being submitted unless a flag variable is set, try:
```javascript
$( "form" ).submit(function() {
  return this.some_flag_variable;
});
```
     * @example ​ ````To trigger the submit event on the first form on the page, try:
```javascript
$( "form:first" ).submit();
```
     */
    submit(handler?: JQuery.TypeEventHandler<TElement, null, TElement, TElement, 'submit'> |
                     false): this;
    /**
     * Set the content of each element in the set of matched elements to the specified text.
     * @param text_function _&#x40;param_ `text_function`
     * <br>
     * * `text` — The text to set as the content of each matched element. When Number or Boolean is supplied, it will
     *            be converted to a String representation. <br>
     * * `function` — A function returning the text content to set. Receives the index position of the element in the set
     *                and the old text value as arguments.
     * @see \`{@link https://api.jquery.com/text/ }\`
     * @since 1.0
     * @since 1.4
     * @example ​ ````Add text to the paragraph (notice the bold tag is escaped).
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>text demo</title>
  <style>
  p {
    color: blue;
    margin: 8px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Test Paragraph.</p>
​
<script>
$( "p" ).text( "<b>Some</b> new text." );
</script>
​
</body>
</html>
```
     */
    text(text_function: string | number | boolean | ((this: TElement, index: number, text: string) => string | number | boolean)): this;
    /**
     * Get the combined text contents of each element in the set of matched elements, including their descendants.
     * @see \`{@link https://api.jquery.com/text/ }\`
     * @since 1.0
     * @example ​ ````Find the text in the first paragraph (stripping out the html), then set the html of the last paragraph to show it is just text (the red bold is gone).
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>text demo</title>
  <style>
  p {
    color: blue;
    margin: 8px;
  }
  b {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p><b>Test</b> Paragraph.</p>
<p></p>
​
<script>
var str = $( "p:first" ).text();
$( "p:last" ).html( str );
</script>
​
</body>
</html>
```
     */
    text(): string;
    /**
     * Retrieve all the elements contained in the jQuery set, as an array.
     * @see \`{@link https://api.jquery.com/toArray/ }\`
     * @since 1.4
     * @example ​ ````Select all divs in the document and return the DOM Elements as an Array; then use the built-in reverse() method to reverse that array.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>toArray demo</title>
  <style>
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
Reversed - <span></span>
​
<div>One</div>
<div>Two</div>
<div>Three</div>​
<script>
function disp( divs ) {
  var a = [];
  for ( var i = 0; i < divs.length; i++ ) {
    a.push( divs[ i ].innerHTML );
  }
  $( "span" ).text( a.join( " " ) );
}
​
disp( $( "div" ).toArray().reverse() );
</script>
​
</body>
</html>
```
     */
    toArray(): TElement[];
    /**
     * Display or hide the matched elements.
     * @param duration A string or number determining how long the animation will run.
     * @param easing A string indicating which easing function to use for the transition.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/toggle/ }\`
     * @since 1.4.3
     */
    toggle(duration: JQuery.Duration, easing: string, complete?: (this: TElement) => void): this;
    /**
     * Display or hide the matched elements.
     * @param duration A string or number determining how long the animation will run.
     * @param complete A function to call once the animation is complete, called once per matched element.
     * @see \`{@link https://api.jquery.com/toggle/ }\`
     * @since 1.0
     */
    toggle(duration: JQuery.Duration, complete: (this: TElement) => void): this;
    /**
     * Display or hide the matched elements.
     * @param duration_complete_options_display _&#x40;param_ `duration_complete_options_display`
     * <br>
     * * `duration` — A string or number determining how long the animation will run. <br>
     * * `complete` — A function to call once the animation is complete, called once per matched element. <br>
     * * `options` — A map of additional options to pass to the method. <br>
     * * `display` — Use true to show the element or false to hide it.
     * @see \`{@link https://api.jquery.com/toggle/ }\`
     * @since 1.0
     * @since 1.3
     * @example ​ ````Toggles all paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>toggle demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Toggle</button>
<p>Hello</p>
<p style="display: none">Good Bye</p>
​
<script>
$( "button" ).click(function() {
  $( "p" ).toggle();
});
</script>
​
</body>
</html>
```
     * @example ​ ````Animates all paragraphs to be shown if they are hidden and hidden if they are visible, completing the animation within 600 milliseconds.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>toggle demo</title>
  <style>
  p {
    background: #dad;
    font-weight: bold;
    font-size: 16px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Toggle 'em</button>
<p>Hiya</p>
<p>Such interesting text, eh?</p>
​
<script>
$( "button" ).click(function() {
  $( "p" ).toggle( "slow" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Shows all paragraphs, then hides them all, back and forth.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>toggle demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Toggle</button>
<p>Hello</p>
<p style="display: none">Good Bye</p>
​
<script>
var flip = 0;
$( "button" ).click(function() {
  $( "p" ).toggle( flip++ % 2 === 0 );
});
</script>
​
</body>
</html>
```
     */
    toggle(duration_complete_options_display?: JQuery.Duration | ((this: TElement) => void) | JQuery.EffectsOptions<TElement> | boolean): this;
    /**
     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the state argument.
     * @param className_function _&#x40;param_ `className_function`
     * <br>
     * * `className` — One or more class names (separated by spaces) to be toggled for each element in the matched set. <br>
     * * `function` — A function that returns class names to be toggled in the class attribute of each element in the
     *                matched set. Receives the index position of the element in the set, the old class value, and the state as arguments.
     * @param state A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed.
     * @see \`{@link https://api.jquery.com/toggleClass/ }\`
     * @since 1.0
     * @since 1.3
     * @since 1.4
     * @since 3.3
     * @example ​ ````Toggle the class &#39;highlight&#39; when a paragraph is clicked.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>toggleClass demo</title>
  <style>
  p {
    margin: 4px;
    font-size: 16px;
    font-weight: bolder;
    cursor: pointer;
  }
  .blue {
    color: blue;
  }
  .highlight {
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p class="blue">Click to toggle</p>
<p class="blue highlight">highlight</p>
<p class="blue">on these</p>
<p class="blue">paragraphs</p>
​
<script>
$( "p" ).click(function() {
  $( this ).toggleClass( "highlight" );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Add the &quot;highlight&quot; class to the clicked paragraph on every third click of that paragraph, remove it every first and second click.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>toggleClass demo</title>
  <style>
  p {
    margin: 4px;
    font-size: 16px;
    font-weight: bolder;
    cursor: pointer;
  }
  .blue {
    color: blue;
  }
  .highlight {
    background: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p class="blue">Click to toggle (<span>clicks: 0</span>)</p>
<p class="blue highlight">highlight (<span>clicks: 0</span>)</p>
<p class="blue">on these (<span>clicks: 0</span>)</p>
<p class="blue">paragraphs (<span>clicks: 0</span>)</p>
​
<script>
var count = 0;
$( "p" ).each(function() {
  var $thisParagraph = $( this );
  var count = 0;
  $thisParagraph.click(function() {
    count++;
    $thisParagraph.find( "span" ).text( "clicks: " + count );
    $thisParagraph.toggleClass( "highlight", count % 3 === 0 );
  });
});
</script>
​
</body>
</html>
```
     * @example ​ ````Toggle the class name(s) indicated on the buttons for each div.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>toggleClass demo</title>
  <style>
  .wrap > div {
    float: left;
    width: 100px;
    margin: 1em 1em 0 0;
    padding-left: 3px;
    border: 1px solid #abc;
  }
  div.a {
    background-color: aqua;
  }
  div.b {
    background-color: burlywood;
  }
  div.c {
    background-color: cornsilk;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div class="buttons">
  <button>toggle</button>
  <button class="a">toggle a</button>
  <button class="a b">toggle a b</button>
  <button class="a b c">toggle a b c</button>
  <a href="#">reset</a>
</div>
<div class="wrap">
  <div></div>
  <div class="b"></div>
  <div class="a b"></div>
  <div class="a c"></div>
</div>
​
<script>
var cls = [ "", "a", "a b", "a b c" ];
var divs = $( "div.wrap" ).children();
var appendClass = function() {
  divs.append(function() {
    return "<div>" + ( this.className || "none" ) + "</div>";
  });
};
​
appendClass();
​
$( "button" ).on( "click", function() {
  var tc = this.className || undefined;
  divs.toggleClass( tc );
  appendClass();
});
​
$( "a" ).on( "click", function( event ) {
  event.preventDefault();
  divs.empty().each(function( i ) {
    this.className = cls[ i ];
  });
  appendClass();
});
</script>
​
</body>
</html>
```
     */
    toggleClass<TState extends boolean>(className_function: JQuery.TypeOrArray<string> | ((this: TElement, index: number, className: string, state: TState) => string),
                                        state?: TState): this;
    /**
     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the state argument.
     * @param state A boolean value to determine whether the class should be added or removed.
     * @see \`{@link https://api.jquery.com/toggleClass/ }\`
     * @since 1.4
     * @deprecated ​ Deprecated since 3.0. See \`{@link https://github.com/jquery/jquery/pull/2618 }\`.
     *
     * **Cause**: Calling `.toggleClass()` with no arguments, or with a single Boolean `true` or `false` argument, has been deprecated. Its behavior was poorly documented, but essentially the method saved away the current class value in a data item when the class was removed and restored the saved value when it was toggled back. If you do not believe you are specificially trying to use this form of the method, it is possible you are accidentally doing so via an inadvertent undefined value, as `.toggleClass( undefined )` toggles all classes.
     *
     * **Solution**: If this functionality is still needed, save the current full `.attr( "class" )` value in a data item and restore it when required.
     */
    toggleClass(state?: boolean): this;
    /**
     * Execute all handlers and behaviors attached to the matched elements for the given event type.
     * @param eventType_event _&#x40;param_ `eventType_event`
     * <br>
     * * `eventType` — A string containing a JavaScript event type, such as `click` or `submit`. <br>
     * * `event` — A \`{@link https://api.jquery.com/category/events/event-object/ jQuery.Event}\` object.
     * @param extraParameters Additional parameters to pass along to the event handler.
     * @see \`{@link https://api.jquery.com/trigger/ }\`
     * @since 1.0
     * @since 1.3
     * @example ​ ````Clicks to button #2 also trigger a click for button #1.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>trigger demo</title>
  <style>
  button {
    margin: 10px;
  }
  div {
    color: blue;
    font-weight: bold;
  }
  span {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button>Button #1</button>
<button>Button #2</button>
<div><span>0</span> button #1 clicks.</div>
<div><span>0</span> button #2 clicks.</div>
​
<script>
$( "button:first" ).click(function() {
  update( $( "span:first" ) );
});
​
$( "button:last" ).click(function() {
  $( "button:first" ).trigger( "click" );
  update( $( "span:last" ) );
});
​
function update( j ) {
  var n = parseInt( j.text(), 10 );
  j.text( n + 1 );
}
</script>
​
</body>
</html>
```
     * @example ​ ````To submit the first form without using the submit() function, try:
```javascript
$( "form:first" ).trigger( "submit" );
```
     * @example ​ ````To submit the first form without using the submit() function, try:
```javascript
var event = jQuery.Event( "submit" );
$( "form:first" ).trigger( event );
if ( event.isDefaultPrevented() ) {
  // Perform an action...
}
```
     * @example ​ ````To pass arbitrary data to an event:
```javascript
$( "p" )
  .click(function( event, a, b ) {
    // When a normal click fires, a and b are undefined
    // for a trigger like below a refers to "foo" and b refers to "bar"
  })
  .trigger( "click", [ "foo", "bar" ] );
```
     * @example ​ ````To pass arbitrary data through an event object:
```javascript
var event = jQuery.Event( "logged" );
event.user = "foo";
event.pass = "bar";
$( "body" ).trigger( event );
```
     * @example ​ ````Alternative way to pass data through an event object:
```javascript
$( "body" ).trigger({
  type:"logged",
  user:"foo",
  pass:"bar"
});
```
     */
    trigger(eventType_event: string | JQuery.Event, extraParameters?: any[] | JQuery.PlainObject | string | number | boolean): this;
    /**
     * Execute all handlers attached to an element for an event.
     * @param eventType_event _&#x40;param_ `eventType_event`
     * <br>
     * * `eventType` — A string containing a JavaScript event type, such as `click` or `submit`. <br>
     * * `event` — A \`{@link https://api.jquery.com/category/events/event-object/ jQuery.Event}\` object.
     * @param extraParameters Additional parameters to pass along to the event handler.
     * @see \`{@link https://api.jquery.com/triggerHandler/ }\`
     * @since 1.2
     * @since 1.3
     * @example ​ ````If you called .triggerHandler() on a focus event - the browser&#39;s default focus action would not be triggered, only the event handlers bound to the focus event.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>triggerHandler demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="old">.trigger( "focus" )</button>
<button id="new">.triggerHandler( "focus" )</button><br><br>
​
<input type="text" value="To Be Focused">
​
<script>
$( "#old" ).click(function() {
  $( "input" ).trigger( "focus" );
});
$( "#new" ).click(function() {
  $( "input" ).triggerHandler( "focus" );
});
$( "input" ).focus(function() {
  $( "<span>Focused!</span>" ).appendTo( "body" ).fadeOut( 1000 );
});
</script>
​
</body>
</html>
```
     */
    triggerHandler(eventType_event: string | JQuery.Event, extraParameters?: any[] | JQuery.PlainObject | string | number | boolean): any;
    /**
     * Remove a previously-attached event handler from the elements.
     * @param event A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/unbind/ }\`
     * @since 1.0
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.0. Use \`{@link off }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     * @example ​ ````Can bind and unbind events to the colored button.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>unbind demo</title>
  <style>
  button {
    margin: 5px;
  }
  button#theone {
    color: red;
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="theone">Does nothing...</button>
<button id="bind">Bind Click</button>
<button id="unbind">Unbind Click</button>
<div style="display:none;">Click!</div>
​
<script>
function aClick() {
  $( "div" ).show().fadeOut( "slow" );
}
$( "#bind" ).click(function() {
  $( "#theone" )
    .bind( "click", aClick )
    .text( "Can Click!" );
});
$( "#unbind" ).click(function() {
  $( "#theone" )
    .unbind( "click", aClick )
    .text( "Does nothing..." );
});
</script>
​
</body>
</html>
```
     * @example ​ ````To unbind just one previously bound handler, pass the function in as the second argument:
```javascript
var foo = function() {
  // Code to handle some kind of event
};
​
$( "p" ).bind( "click", foo ); // ... Now foo will be called when paragraphs are clicked ...
​
$( "p" ).unbind( "click", foo ); // ... foo will no longer be called.
```
     */
    unbind<TType extends string>(
        event: TType,
        handler: JQuery.TypeEventHandler<TElement, any, TElement, TElement, TType> |
                 false
    ): this;
    /**
     * Remove a previously-attached event handler from the elements.
     * @param event A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
     *              A jQuery.Event object.
     * @see \`{@link https://api.jquery.com/unbind/ }\`
     * @since 1.0
     * @deprecated ​ Deprecated since 3.0. Use \`{@link off }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     * @example ​ ````To unbind all events from all paragraphs, write:
```javascript
$( "p" ).unbind();
```
     * @example ​ ````To unbind all click events from all paragraphs, write:
```javascript
$( "p" ).unbind( "click" );
```
     */
    unbind(event?: string | JQuery.TriggeredEvent<TElement>): this;
    /**
     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
     * @param selector A selector which will be used to filter the event results.
     * @param eventType A string containing a JavaScript event type, such as "click" or "keydown"
     * @param handler A function to execute each time the event is triggered.
     * @see \`{@link https://api.jquery.com/undelegate/ }\`
     * @since 1.4.2
     * @deprecated ​ Deprecated since 3.0. Use \`{@link off }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     * @example ​ ````Can bind and unbind events to the colored button.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>undelegate demo</title>
  <style>
  button {
    margin: 5px;
  }
  button#theone {
    color: red;
    background: yellow;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="theone">Does nothing...</button>
<button id="bind">Bind Click</button>
<button id="unbind">Unbind Click</button>
<div style="display:none;">Click!</div>
​
<script>
function aClick() {
  $( "div" ).show().fadeOut( "slow" );
}
$( "#bind" ).click(function() {
  $( "body" )
    .delegate( "#theone", "click", aClick )
    .find( "#theone" ).text( "Can Click!" );
});
$( "#unbind" ).click(function() {
  $( "body" )
    .undelegate( "#theone", "click", aClick )
    .find( "#theone" ).text( "Does nothing..." );
});
</script>
​
</body>
</html>
```
     * @example ​ ````To undelegate just one previously bound handler, pass the function in as the third argument:
```javascript
var foo = function () {
  // Code to handle some kind of event
};
​
// ... Now foo will be called when paragraphs are clicked ...
$( "body" ).delegate( "p", "click", foo );
​
// ... foo will no longer be called.
$( "body" ).undelegate( "p", "click", foo );
```
     */
    undelegate<TType extends string>(
        selector: JQuery.Selector,
        eventType: TType,
        handler: JQuery.TypeEventHandler<TElement, any, any, any, TType> |
                 false
    ): this;
    /**
     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
     * @param selector A selector which will be used to filter the event results.
     * @param eventType_events _&#x40;param_ `eventType_events`
     * <br>
     * * `eventType` — A string containing a JavaScript event type, such as "click" or "keydown" <br>
     * * `events` — An object of one or more event types and previously bound functions to unbind from them.
     * @see \`{@link https://api.jquery.com/undelegate/ }\`
     * @since 1.4.2
     * @since 1.4.3
     * @deprecated ​ Deprecated since 3.0. Use \`{@link off }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     */
    undelegate(selector: JQuery.Selector,
               eventType_events: string |
                                 JQuery.TypeEventHandlers<TElement, any, any, any>): this;
    /**
     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
     * @param namespace A selector which will be used to filter the event results.
     * @see \`{@link https://api.jquery.com/undelegate/ }\`
     * @since 1.4.2
     * @since 1.6
     * @deprecated ​ Deprecated since 3.0. Use \`{@link off }\`.
     *
     * **Cause**: These event binding methods have been deprecated in favor of the `.on()` and `.off()` methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.
     *
     * **Solution**: Change the method call to use `.on()` or `.off()`, the documentation for the old methods include specific instructions. In general, the `.bind()` and `.unbind()` methods can be renamed directly to `.on()` and `.off()` respectively since the argument orders are identical.
     * @example ​ ````To unbind all delegated events from all paragraphs, write:
```javascript
$( "p" ).undelegate();
```
     * @example ​ ````To unbind all delegated click events from all paragraphs, write:
```javascript
$( "p" ).undelegate( "click" );
```
     * @example ​ ````To unbind all delegated events by their namespace:
```javascript
var foo = function() {
  // Code to handle some kind of event
};
​
// Delegate events under the ".whatever" namespace
$( "form" ).delegate( ":button", "click.whatever", foo );
​
$( "form" ).delegate( "input[type='text'] ", "keypress.whatever", foo );
​
// Unbind all events delegated under the ".whatever" namespace
$( "form" ).undelegate( ".whatever" );
```
     */
    undelegate(namespace?: string): this;
    /**
     * Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
     * @param selector A selector to check the parent element against. If an element's parent does not match the selector,
     *                 the element won't be unwrapped.
     * @see \`{@link https://api.jquery.com/unwrap/ }\`
     * @since 1.4
     * @since 3.0
     * @example ​ ````Wrap/unwrap a div around each of the paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>unwrap demo</title>
  <style>
  div {
    border: 2px solid blue;
  }
  p {
    background: yellow;
    margin: 4px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​<button>wrap/unwrap</button>
<p>Hello</p>
<p>cruel</p>
<p>World</p>​
<script>
var pTags = $( "p" );
$( "button" ).click(function() {
  if ( pTags.parent().is( "div" ) ) {
    pTags.unwrap();
  } else {
    pTags.wrap( "<div></div>" );
  }
});
</script>
​
</body>
</html>
```
     */
    unwrap(selector?: string): this;
    /**
     * Set the value of each element in the set of matched elements.
     * @param value_function _&#x40;param_ `value_function`
     * <br>
     * * `value` — A string of text, a number, or an array of strings corresponding to the value of each matched
     *             element to set as selected/checked. <br>
     * * `function` — A function returning the value to set. `this` is the current element. Receives the index position of
     *                the element in the set and the old value as arguments.
     * @see \`{@link https://api.jquery.com/val/ }\`
     * @since 1.0
     * @since 1.4
     * @example ​ ````Set the value of an input box.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>val demo</title>
  <style>
  button {
    margin: 4px;
    cursor: pointer;
  }
  input {
    margin: 4px;
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>
  <button>Feed</button>
  <button>the</button>
  <button>Input</button>
</div>
<input type="text" value="click a button">
​
<script>
$( "button" ).click(function() {
  var text = $( this ).text();
  $( "input" ).val( text );
});
</script>
​
</body>
</html>
```
     * @example ​ ````Use the function argument to modify the value of an input box.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>val demo</title>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Type something and then click or tab out of the input.</p>
<input type="text" value="type something">
​
<script>
$( "input" ).on( "blur", function() {
  $( this ).val(function( i, val ) {
    return val.toUpperCase();
  });
});
</script>
​
</body>
</html>
```
     * @example ​ ````Set a single select, a multiple select, checkboxes and a radio button .
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>val demo</title>
  <style>
  body {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<select id="single">
  <option>Single</option>
  <option>Single2</option>
</select>
​
<select id="multiple" multiple="multiple">
  <option selected="selected">Multiple</option>
  <option>Multiple2</option>
  <option selected="selected">Multiple3</option>
</select>
​
<br>
<input type="checkbox" name="checkboxname" value="check1"> check1
<input type="checkbox" name="checkboxname" value="check2"> check2
<input type="radio" name="r" value="radio1"> radio1
<input type="radio" name="r" value="radio2"> radio2
​
<script>
$( "#single" ).val( "Single2" );
$( "#multiple" ).val([ "Multiple2", "Multiple3" ]);
$( "input").val([ "check1", "check2", "radio1" ]);
</script>
​
</body>
</html>
```
     */
    val(value_function: string | number | string[] | ((this: TElement, index: number, value: string) => string)): this;
    /**
     * Get the current value of the first element in the set of matched elements.
     * @see \`{@link https://api.jquery.com/val/ }\`
     * @since 1.0
     * @example ​ ````Get the single value from a single select and an array of values from a multiple select and display their values.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>val demo</title>
  <style>
  p {
    color: red;
    margin: 4px;
  }
  b {
    color: blue;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p></p>
​
<select id="single">
  <option>Single</option>
  <option>Single2</option>
</select>
​
<select id="multiple" multiple="multiple">
  <option selected="selected">Multiple</option>
  <option>Multiple2</option>
  <option selected="selected">Multiple3</option>
</select>
​
<script>
function displayVals() {
  var singleValues = $( "#single" ).val();
  var multipleValues = $( "#multiple" ).val() || [];
  // When using jQuery 3:
  // var multipleValues = $( "#multiple" ).val();
  $( "p" ).html( "<b>Single:</b> " + singleValues +
    " <b>Multiple:</b> " + multipleValues.join( ", " ) );
}
​
$( "select" ).change( displayVals );
displayVals();
</script>
​
</body>
</html>
```
     * @example ​ ````Find the value of an input box.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>val demo</title>
  <style>
  p {
    color: blue;
    margin: 8px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<input type="text" value="some text">
<p></p>
​
<script>
$( "input" )
  .keyup(function() {
    var value = $( this ).val();
    $( "p" ).text( value );
  })
  .keyup();
</script>
​
</body>
</html>
```
     */
    val(): string | number | string[] | undefined;
    /**
     * Set the CSS width of each element in the set of matched elements.
     * @param value_function _&#x40;param_ `value_function`
     * <br>
     * * `value` — An integer representing the number of pixels, or an integer along with an optional unit of measure
     *             appended (as a string). <br>
     * * `function` — A function returning the width to set. Receives the index position of the element in the set and the
     *                old width as arguments. Within the function, `this` refers to the current element in the set.
     * @see \`{@link https://api.jquery.com/width/ }\`
     * @since 1.0
     * @since 1.4.1
     * @example ​ ````Change the width of each div the first time it is clicked (and change its color).
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>width demo</title>
  <style>
  div {
    width: 70px;
    height: 50px;
    float: left;
    margin: 5px;
    background: red;
    cursor: pointer;
  }
  .mod {
    background: blue;
    cursor: default;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<div>d</div>
<div>d</div>
<div>d</div>
<div>d</div>
<div>d</div>
​
<script>
var modWidth = 50;
$( "div" ).one( "click", function() {
  $( this ).width( modWidth ).addClass( "mod" );
  modWidth -= 8;
});
</script>
​
</body>
</html>
```
     */
    width(value_function: string | number | ((this: TElement, index: number, value: number) => string | number)): this;
    /**
     * Get the current computed width for the first element in the set of matched elements.
     * @see \`{@link https://api.jquery.com/width/ }\`
     * @since 1.0
     * @example ​ ````Show various widths.  Note the values are from the iframe so might be smaller than you expected.  The yellow highlight shows the iframe body.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>width demo</title>
  <style>
  body {
    background: yellow;
  }
  button {
    font-size: 12px;
    margin: 2px;
  }
  p {
    width: 150px;
    border: 1px red solid;
  }
  div {
    color: red;
    font-weight: bold;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<button id="getp">Get Paragraph Width</button>
<button id="getd">Get Document Width</button>
<button id="getw">Get Window Width</button>
<div>&nbsp;</div>
<p>
  Sample paragraph to test width
</p>
​
<script>
function showWidth( ele, w ) {
  $( "div" ).text( "The width for the " + ele + " is " + w + "px." );
}
$( "#getp" ).click(function() {
  showWidth( "paragraph", $( "p" ).width() );
});
$( "#getd" ).click(function() {
  showWidth( "document", $( document ).width() );
});
$("#getw").click(function() {
  showWidth( "window", $( window ).width() );
});
</script>
​
</body>
</html>
```
     */
    width(): number | undefined;
    /**
     * Wrap an HTML structure around each element in the set of matched elements.
     * @param wrappingElement_function _&#x40;param_ `wrappingElement_function`
     * <br>
     * * `wrappingElement` — A selector, element, HTML string, or jQuery object specifying the structure to wrap around the
     *                       matched elements. When you pass a jQuery collection containing more than one element, or a selector
     *                       matching more than one element, the first element will be used. <br>
     * * `function` — A callback function returning the HTML content or jQuery object to wrap around the matched elements.
     *                Receives the index position of the element in the set as an argument. Within the function, `this`
     *                refers to the current element in the set.
     * @see \`{@link https://api.jquery.com/wrap/ }\`
     * @since 1.0
     * @since 1.4
     * @example ​ ````Wrap a new div around all of the paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrap demo</title>
  <style>
  div {
    border: 2px solid blue;
  }
  p {
    background: yellow;
    margin: 4px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
​
<script>
$( "p" ).wrap( "<div></div>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Wraps a newly created tree of objects around the spans.  Notice anything in between the spans gets left out like the &lt;strong&gt; (red text) in this example.  Even the white space between spans is left out.  Click View Source to see the original html.&gt;
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrap demo</title>
  <style>
  div {
    border: 2px blue solid;
    margin: 2px;
    padding: 2px;
  }
  p {
    background: yellow;
    margin: 2px;
    padding: 2px;
  }
  strong {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<span>Span Text</span>
<strong>What about me?</strong>
<span>Another One</span>
​
<script>
$( "span" ).wrap( "<div><div><p><em><b></b></em></p></div></div>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Wrap a new div around all of the paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrap demo</title>
  <style>
  div {
    border: 2px solid blue;
  }
  p {
    background: yellow;
    margin: 4px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
​
<script>
$( "p" ).wrap( document.createElement( "div" ) );
</script>
​
</body>
</html>
```
     * @example ​ ````Wrap a jQuery object double depth div around all of the paragraphs.  Notice it doesn&#39;t move the object but just clones it to wrap around its target.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrap demo</title>
  <style>
  div {
    border: 2px solid blue;
    margin: 2px;
    padding: 2px;
  }
  .doublediv {
    border-color: red;
  }
  p {
    background: yellow;
    margin: 4px;
    font-size: 14px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
<div class="doublediv"><div></div></div>
​
<script>
$( "p" ).wrap( $( ".doublediv" ) );
</script>
​
</body>
</html>
```
     */
    wrap(wrappingElement_function: JQuery.Selector | JQuery.htmlString | Element | JQuery | ((this: TElement, index: number) => string | JQuery)): this;
    /**
     * Wrap an HTML structure around all elements in the set of matched elements.
     * @param wrappingElement_function _&#x40;param_ `wrappingElement_function`
     * <br>
     * * `wrappingElement` — A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements. <br>
     * * `function` — A callback function returning the HTML content or jQuery object to wrap around all the matched
     *                elements. Within the function, `this` refers to the first element in the set. **Prior to jQuery
     *                3.0**, the callback was incorrectly called for every element in the set and received the index
     *                position of the element in the set as an argument.
     * @see \`{@link https://api.jquery.com/wrapAll/ }\`
     * @since 1.2
     * @since 1.4
     * @example ​ ````Wrap a new div around all of the paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrapAll demo</title>
  <style>
  div {
    border: 2px solid blue;
  }
  p {
    background: yellow;
    margin: 4px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
​
<script>
$( "p" ).wrapAll( "<div></div>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Wraps a newly created tree of objects around the spans.  Notice anything in between the spans gets left out like the &lt;strong&gt; (red text) in this example.  Even the white space between spans is left out.  Click View Source to see the original html.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrapAll demo</title>
  <style>
  div {
    border: 2px blue solid;
    margin: 2px;
    padding: 2px;
  }
  p {
    background: yellow;
    margin: 2px;
    padding: 2px;
  }
  strong {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<span>Span Text</span>
<strong>What about me?</strong>
<span>Another One</span>
​
<script>
$( "span").wrapAll( "<div><div><p><em><b></b></em></p></div></div>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Wrap a new div around all of the paragraphs.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrapAll demo</title>
  <style>
  div {
    border: 2px solid blue;
  }
  p {
    background: yellow;
    margin: 4px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
​
<script>
$( "p" ).wrapAll( document.createElement( "div" ) );
</script>
​
</body>
</html>
```
     * @example ​ ````Wrap a jQuery object double depth div around all of the paragraphs.  Notice it doesn&#39;t move the object but just clones it to wrap around its target.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrapAll demo</title>
  <style>
  div {
    border: 2px solid blue;
    margin: 2px;
    padding: 2px;
  }
  .doublediv {
    border-color: red;
  }
  p {
    background: yellow;
    margin: 4px;
    font-size: 14px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
<div class="doublediv"><div></div></div>
​
<script>
$( "p" ).wrapAll( $( ".doublediv" ) );
</script>
​
</body>
</html>
```
     */
    wrapAll(wrappingElement_function: JQuery.Selector | JQuery.htmlString | Element | JQuery | ((this: TElement) => string | JQuery)): this;
    /**
     * Wrap an HTML structure around the content of each element in the set of matched elements.
     * @param wrappingElement_function _&#x40;param_ `wrappingElement_function`
     * <br>
     * * `wrappingElement` — An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap
     *                       around the content of the matched elements. <br>
     * * `function` — A callback function which generates a structure to wrap around the content of the matched elements.
     *                Receives the index position of the element in the set as an argument. Within the function, `this`
     *                refers to the current element in the set.
     * @see \`{@link https://api.jquery.com/wrapInner/ }\`
     * @since 1.2
     * @since 1.4
     * @example ​ ````Selects all paragraphs and wraps a bold tag around each of its contents.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrapInner demo</title>
  <style>
  p {
    background: #bbf;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
​
<script>
$( "p" ).wrapInner( "<b></b>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Wraps a newly created tree of objects around the inside of the body.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrapInner demo</title>
  <style>
  div {
    border: 2px green solid;
    margin: 2px;
    padding: 2px;
  }
  p {
    background: yellow;
    margin: 2px;
    padding: 2px;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
Plain old text, or is it?
​
<script>
$( "body" ).wrapInner( "<div><div><p><em><b></b></em></p></div></div>" );
</script>
​
</body>
</html>
```
     * @example ​ ````Selects all paragraphs and wraps a bold tag around each of its contents.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrapInner demo</title>
  <style>
  p {
    background: #9f9;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
​
<script>
$( "p" ).wrapInner( document.createElement( "b" ) );
</script>
​
</body>
</html>
```
     * @example ​ ````Selects all paragraphs and wraps a jQuery object around each of its contents.
```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>wrapInner demo</title>
  <style>
  p {
    background: #9f9;
  }
  .red {
    color: red;
  }
  </style>
  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
​
<p>Hello</p>
<p>cruel</p>
<p>World</p>
​
<script>
$( "p" ).wrapInner( $( "<span class='red'></span>" ) );
</script>
​
</body>
</html>
```
     */
    wrapInner(wrappingElement_function: JQuery.Selector | JQuery.htmlString | Element | JQuery | ((this: TElement, index: number) => string | JQuery | Element)): this;

    [n: number]: TElement;
}
