clickgo 6.4.0 → 6.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/demo.cga +0 -0
- package/dist/app/task.cga +0 -0
- package/dist/control/common.cgc +0 -0
- package/dist/control/monaco.cgc +0 -0
- package/dist/control/objviewer.cgc +0 -0
- package/dist/index.js +1 -1
- package/dist/lib/dom.d.ts +24 -3
- package/dist/lib/task.d.ts +9 -2
- package/dist/lib/tool.d.ts +1 -0
- package/doc/clickgo-rag.md +409 -265
- package/package.json +1 -1
- package/test/dock-lifecycle.mjs +93 -0
- package/test/tool-clone.mjs +42 -0
package/doc/clickgo-rag.md
CHANGED
|
@@ -1711,7 +1711,7 @@ cell 之间的间距,默认 0。
|
|
|
1711
1711
|
## dock
|
|
1712
1712
|
---
|
|
1713
1713
|
|
|
1714
|
-
桌面软件侧栏停靠容器。负责展开、收起和浮动显示,与 `dock-group`、`dock-item` 搭配使用;业务内容由 Form/Panel
|
|
1714
|
+
桌面软件侧栏停靠容器。负责展开、收起和浮动显示,与 `dock-group`、`dock-item` 搭配使用;业务内容由 Form/Panel 的局部应用组件提供。当所属 Form 宽度小于 `600px` 时,Dock 会自动进入不可展开的收起模式,并在空间恢复后回到 `expanded` 指定的状态。
|
|
1715
1715
|
|
|
1716
1716
|
### 参数
|
|
1717
1717
|
|
|
@@ -17522,7 +17522,7 @@ lib/dom/functions/clearWatch.md
|
|
|
17522
17522
|
|
|
17523
17523
|
> **clearWatch**(`taskId`): `void`
|
|
17524
17524
|
|
|
17525
|
-
Defined in: [lib/dom.ts:
|
|
17525
|
+
Defined in: [lib/dom.ts:913](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L913)
|
|
17526
17526
|
|
|
17527
17527
|
清除某个任务下面的所有 watch 监视
|
|
17528
17528
|
|
|
@@ -17586,7 +17586,7 @@ lib/dom/functions/clearWatchProperty.md
|
|
|
17586
17586
|
|
|
17587
17587
|
> **clearWatchProperty**(`formId`, `panelId?`): `void`
|
|
17588
17588
|
|
|
17589
|
-
Defined in: [lib/dom.ts:
|
|
17589
|
+
Defined in: [lib/dom.ts:1214](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1214)
|
|
17590
17590
|
|
|
17591
17591
|
清除某个窗体的所有 watch property 监视,虽然窗体结束后相关监视永远不会再被执行,但是会形成冗余
|
|
17592
17592
|
|
|
@@ -17621,7 +17621,7 @@ lib/dom/functions/clearWatchSize.md
|
|
|
17621
17621
|
|
|
17622
17622
|
> **clearWatchSize**(`taskId`): `void`
|
|
17623
17623
|
|
|
17624
|
-
Defined in: [lib/dom.ts:
|
|
17624
|
+
Defined in: [lib/dom.ts:728](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L728)
|
|
17625
17625
|
|
|
17626
17626
|
清除某个任务的所有 watch size 监视
|
|
17627
17627
|
|
|
@@ -17650,7 +17650,7 @@ lib/dom/functions/clearWatchStyle.md
|
|
|
17650
17650
|
|
|
17651
17651
|
> **clearWatchStyle**(`formId`, `panelId?`): `void`
|
|
17652
17652
|
|
|
17653
|
-
Defined in: [lib/dom.ts:
|
|
17653
|
+
Defined in: [lib/dom.ts:1075](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1075)
|
|
17654
17654
|
|
|
17655
17655
|
清除某个窗体的所有 watch style 监视
|
|
17656
17656
|
|
|
@@ -17685,7 +17685,7 @@ lib/dom/functions/createElement.md
|
|
|
17685
17685
|
|
|
17686
17686
|
> **createElement**\<`T`\>(`tagName`): `HTMLElementTagNameMap`\[`T`\]
|
|
17687
17687
|
|
|
17688
|
-
Defined in: [lib/dom.ts:
|
|
17688
|
+
Defined in: [lib/dom.ts:1668](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1668)
|
|
17689
17689
|
|
|
17690
17690
|
创建 element
|
|
17691
17691
|
|
|
@@ -17749,7 +17749,7 @@ lib/dom/functions/exitFullscreen.md
|
|
|
17749
17749
|
|
|
17750
17750
|
> **exitFullscreen**(): `Promise`\<`boolean`\>
|
|
17751
17751
|
|
|
17752
|
-
Defined in: [lib/dom.ts:
|
|
17752
|
+
Defined in: [lib/dom.ts:1649](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1649)
|
|
17753
17753
|
|
|
17754
17754
|
退出全屏
|
|
17755
17755
|
|
|
@@ -17770,7 +17770,7 @@ lib/dom/functions/findParentByClass.md
|
|
|
17770
17770
|
|
|
17771
17771
|
> **findParentByClass**(`el`, `name`): `HTMLElement` \| `null`
|
|
17772
17772
|
|
|
17773
|
-
Defined in: [lib/dom.ts:
|
|
17773
|
+
Defined in: [lib/dom.ts:1533](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1533)
|
|
17774
17774
|
|
|
17775
17775
|
通过 class 名查找上层所有标签是否存在
|
|
17776
17776
|
|
|
@@ -17805,7 +17805,7 @@ lib/dom/functions/findParentByData.md
|
|
|
17805
17805
|
|
|
17806
17806
|
> **findParentByData**(`el`, `name`, `value?`): `HTMLElement` \| `null`
|
|
17807
17807
|
|
|
17808
|
-
Defined in: [lib/dom.ts:
|
|
17808
|
+
Defined in: [lib/dom.ts:1503](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1503)
|
|
17809
17809
|
|
|
17810
17810
|
通过 data 名查找上层所有标签是否存在
|
|
17811
17811
|
|
|
@@ -17846,7 +17846,7 @@ lib/dom/functions/findParentByTag.md
|
|
|
17846
17846
|
|
|
17847
17847
|
> **findParentByTag**(`el`, `name`): `HTMLElement` \| `null`
|
|
17848
17848
|
|
|
17849
|
-
Defined in: [lib/dom.ts:
|
|
17849
|
+
Defined in: [lib/dom.ts:1555](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1555)
|
|
17850
17850
|
|
|
17851
17851
|
通过 tagname 查找上层所有标签是否存在
|
|
17852
17852
|
|
|
@@ -17881,7 +17881,7 @@ lib/dom/functions/fullscreen.md
|
|
|
17881
17881
|
|
|
17882
17882
|
> **fullscreen**(): `Promise`\<`boolean`\>
|
|
17883
17883
|
|
|
17884
|
-
Defined in: [lib/dom.ts:
|
|
17884
|
+
Defined in: [lib/dom.ts:1631](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1631)
|
|
17885
17885
|
|
|
17886
17886
|
全屏
|
|
17887
17887
|
|
|
@@ -17902,7 +17902,7 @@ lib/dom/functions/getElementRPosition.md
|
|
|
17902
17902
|
|
|
17903
17903
|
> **getElementRPosition**(`el`, `wrap`): `object`
|
|
17904
17904
|
|
|
17905
|
-
Defined in: [lib/dom.ts:
|
|
17905
|
+
Defined in: [lib/dom.ts:1673](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1673)
|
|
17906
17906
|
|
|
17907
17907
|
获取元素的相对位置信息
|
|
17908
17908
|
|
|
@@ -17949,7 +17949,7 @@ lib/dom/functions/getRectPoint.md
|
|
|
17949
17949
|
|
|
17950
17950
|
> **getRectPoint**(`el`, `wrap`, `pos`): `object`
|
|
17951
17951
|
|
|
17952
|
-
Defined in: [lib/dom.ts:
|
|
17952
|
+
Defined in: [lib/dom.ts:1691](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1691)
|
|
17953
17953
|
|
|
17954
17954
|
根据角位置获取八角坐标
|
|
17955
17955
|
|
|
@@ -18027,7 +18027,7 @@ lib/dom/functions/getWatchCount.md
|
|
|
18027
18027
|
|
|
18028
18028
|
> **getWatchCount**(`taskId?`): `number`
|
|
18029
18029
|
|
|
18030
|
-
Defined in: [lib/dom.ts:
|
|
18030
|
+
Defined in: [lib/dom.ts:758](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L758)
|
|
18031
18031
|
|
|
18032
18032
|
获取当前 watch 中的元素总数
|
|
18033
18033
|
|
|
@@ -18056,7 +18056,7 @@ lib/dom/functions/getWatchInfo.md
|
|
|
18056
18056
|
|
|
18057
18057
|
> **getWatchInfo**(): [`IGetWatchInfoResult`](../interfaces/IGetWatchInfoResult.md)
|
|
18058
18058
|
|
|
18059
|
-
Defined in: [lib/dom.ts:
|
|
18059
|
+
Defined in: [lib/dom.ts:1240](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1240)
|
|
18060
18060
|
|
|
18061
18061
|
## Returns
|
|
18062
18062
|
|
|
@@ -18104,7 +18104,7 @@ lib/dom/functions/index.md
|
|
|
18104
18104
|
|
|
18105
18105
|
> **index**(`el`): `number`
|
|
18106
18106
|
|
|
18107
|
-
Defined in: [lib/dom.ts:
|
|
18107
|
+
Defined in: [lib/dom.ts:1577](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1577)
|
|
18108
18108
|
|
|
18109
18109
|
判断一个元素是当前同级的第几位
|
|
18110
18110
|
|
|
@@ -18133,7 +18133,7 @@ lib/dom/functions/init.md
|
|
|
18133
18133
|
|
|
18134
18134
|
> **init**(): `void`
|
|
18135
18135
|
|
|
18136
|
-
Defined in: [lib/dom.ts:
|
|
18136
|
+
Defined in: [lib/dom.ts:1986](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1986)
|
|
18137
18137
|
|
|
18138
18138
|
## Returns
|
|
18139
18139
|
|
|
@@ -18210,7 +18210,7 @@ lib/dom/functions/isWatch.md
|
|
|
18210
18210
|
|
|
18211
18211
|
> **isWatch**(`el`): `boolean`
|
|
18212
18212
|
|
|
18213
|
-
Defined in: [lib/dom.ts:
|
|
18213
|
+
Defined in: [lib/dom.ts:905](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L905)
|
|
18214
18214
|
|
|
18215
18215
|
检测一个标签是否正在被 watchSize
|
|
18216
18216
|
|
|
@@ -18268,7 +18268,7 @@ lib/dom/functions/isWatchProperty.md
|
|
|
18268
18268
|
|
|
18269
18269
|
> **isWatchProperty**(`el`): `boolean`
|
|
18270
18270
|
|
|
18271
|
-
Defined in: [lib/dom.ts:
|
|
18271
|
+
Defined in: [lib/dom.ts:1205](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1205)
|
|
18272
18272
|
|
|
18273
18273
|
检测一个标签是否正在被 watchProperty
|
|
18274
18274
|
|
|
@@ -18297,7 +18297,7 @@ lib/dom/functions/isWatchSize.md
|
|
|
18297
18297
|
|
|
18298
18298
|
> **isWatchSize**(`el`): `boolean`
|
|
18299
18299
|
|
|
18300
|
-
Defined in: [lib/dom.ts:
|
|
18300
|
+
Defined in: [lib/dom.ts:720](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L720)
|
|
18301
18301
|
|
|
18302
18302
|
检测一个标签是否正在被 watchSize
|
|
18303
18303
|
|
|
@@ -18326,7 +18326,7 @@ lib/dom/functions/isWatchStyle.md
|
|
|
18326
18326
|
|
|
18327
18327
|
> **isWatchStyle**(`el`): `boolean`
|
|
18328
18328
|
|
|
18329
|
-
Defined in: [lib/dom.ts:
|
|
18329
|
+
Defined in: [lib/dom.ts:1066](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1066)
|
|
18330
18330
|
|
|
18331
18331
|
检测一个标签是否正在被 watchStyle
|
|
18332
18332
|
|
|
@@ -18542,7 +18542,7 @@ lib/dom/functions/siblingsData.md
|
|
|
18542
18542
|
|
|
18543
18543
|
> **siblingsData**(`el`, `name`): `HTMLElement`[]
|
|
18544
18544
|
|
|
18545
|
-
Defined in: [lib/dom.ts:
|
|
18545
|
+
Defined in: [lib/dom.ts:1616](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1616)
|
|
18546
18546
|
|
|
18547
18547
|
查找指定 el 的同级的存在 data 的元素
|
|
18548
18548
|
|
|
@@ -18579,7 +18579,7 @@ lib/dom/functions/siblings.md
|
|
|
18579
18579
|
|
|
18580
18580
|
> **siblings**(`el`): `HTMLElement`[]
|
|
18581
18581
|
|
|
18582
|
-
Defined in: [lib/dom.ts:
|
|
18582
|
+
Defined in: [lib/dom.ts:1595](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1595)
|
|
18583
18583
|
|
|
18584
18584
|
查找指定 el 的同级所有元素
|
|
18585
18585
|
|
|
@@ -18610,7 +18610,7 @@ lib/dom/functions/unwatch.md
|
|
|
18610
18610
|
|
|
18611
18611
|
> **unwatch**(`taskId`, `el`): `void`
|
|
18612
18612
|
|
|
18613
|
-
Defined in: [lib/dom.ts:
|
|
18613
|
+
Defined in: [lib/dom.ts:884](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L884)
|
|
18614
18614
|
|
|
18615
18615
|
移除监视 Element 对象变动
|
|
18616
18616
|
|
|
@@ -18674,7 +18674,7 @@ lib/dom/functions/unwatchSize.md
|
|
|
18674
18674
|
|
|
18675
18675
|
> **unwatchSize**(`el`): `void`
|
|
18676
18676
|
|
|
18677
|
-
Defined in: [lib/dom.ts:
|
|
18677
|
+
Defined in: [lib/dom.ts:640](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L640)
|
|
18678
18678
|
|
|
18679
18679
|
移除监视 Element 对象大小
|
|
18680
18680
|
|
|
@@ -18690,6 +18690,47 @@ Defined in: [lib/dom.ts:573](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
18690
18690
|
|
|
18691
18691
|
`void`
|
|
18692
18692
|
|
|
18693
|
+
lib/dom/functions/unwatchSizeMulti.md
|
|
18694
|
+
---
|
|
18695
|
+
|
|
18696
|
+
[**Documents for clickgo**](../../../index.md)
|
|
18697
|
+
|
|
18698
|
+
***
|
|
18699
|
+
|
|
18700
|
+
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) / unwatchSizeMulti
|
|
18701
|
+
|
|
18702
|
+
# Function: unwatchSizeMulti()
|
|
18703
|
+
|
|
18704
|
+
> **unwatchSizeMulti**(`current`, `el`, `cb?`): `void`
|
|
18705
|
+
|
|
18706
|
+
Defined in: [lib/dom.ts:695](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L695)
|
|
18707
|
+
|
|
18708
|
+
移除当前任务的可共存 Element 大小监视
|
|
18709
|
+
|
|
18710
|
+
## Parameters
|
|
18711
|
+
|
|
18712
|
+
### current
|
|
18713
|
+
|
|
18714
|
+
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
18715
|
+
|
|
18716
|
+
当前执行的任务
|
|
18717
|
+
|
|
18718
|
+
### el
|
|
18719
|
+
|
|
18720
|
+
`HTMLElement`
|
|
18721
|
+
|
|
18722
|
+
要移除监视的元素
|
|
18723
|
+
|
|
18724
|
+
### cb?
|
|
18725
|
+
|
|
18726
|
+
() => `void` \| `Promise`\<`void`\>
|
|
18727
|
+
|
|
18728
|
+
只移除此回调,留空则移除当前任务在本元素上的全部可共存回调
|
|
18729
|
+
|
|
18730
|
+
## Returns
|
|
18731
|
+
|
|
18732
|
+
`void`
|
|
18733
|
+
|
|
18693
18734
|
lib/dom/functions/watch.md
|
|
18694
18735
|
---
|
|
18695
18736
|
|
|
@@ -18703,7 +18744,7 @@ lib/dom/functions/watch.md
|
|
|
18703
18744
|
|
|
18704
18745
|
> **watch**(`current`, `el`, `cb`, `mode?`, `immediate?`): `boolean`
|
|
18705
18746
|
|
|
18706
|
-
Defined in: [lib/dom.ts:
|
|
18747
|
+
Defined in: [lib/dom.ts:782](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L782)
|
|
18707
18748
|
|
|
18708
18749
|
添加 DOM 内容变化监视
|
|
18709
18750
|
|
|
@@ -18795,7 +18836,7 @@ lib/dom/functions/watchProperty.md
|
|
|
18795
18836
|
|
|
18796
18837
|
> **watchProperty**(`el`, `name`, `cb`, `immediate?`): `void`
|
|
18797
18838
|
|
|
18798
|
-
Defined in: [lib/dom.ts:
|
|
18839
|
+
Defined in: [lib/dom.ts:1136](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1136)
|
|
18799
18840
|
|
|
18800
18841
|
监听一个对象的属性变化
|
|
18801
18842
|
|
|
@@ -18842,9 +18883,56 @@ lib/dom/functions/watchSize.md
|
|
|
18842
18883
|
|
|
18843
18884
|
> **watchSize**(`current`, `el`, `cb`, `immediate?`): `boolean`
|
|
18844
18885
|
|
|
18845
|
-
Defined in: [lib/dom.ts:
|
|
18886
|
+
Defined in: [lib/dom.ts:603](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L603)
|
|
18887
|
+
|
|
18888
|
+
添加监视 Element 对象大小,元素移除后自动停止监视,已经通过本方法监视的不会再次监视
|
|
18889
|
+
|
|
18890
|
+
## Parameters
|
|
18891
|
+
|
|
18892
|
+
### current
|
|
18893
|
+
|
|
18894
|
+
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
18895
|
+
|
|
18896
|
+
当前执行的任务
|
|
18897
|
+
|
|
18898
|
+
### el
|
|
18899
|
+
|
|
18900
|
+
`HTMLElement`
|
|
18901
|
+
|
|
18902
|
+
要监视的大小
|
|
18903
|
+
|
|
18904
|
+
### cb
|
|
18905
|
+
|
|
18906
|
+
() => `void` \| `Promise`\<`void`\>
|
|
18907
|
+
|
|
18908
|
+
回调函数
|
|
18909
|
+
|
|
18910
|
+
### immediate?
|
|
18911
|
+
|
|
18912
|
+
`boolean` = `false`
|
|
18913
|
+
|
|
18914
|
+
立刻先执行一次回调
|
|
18915
|
+
|
|
18916
|
+
## Returns
|
|
18917
|
+
|
|
18918
|
+
`boolean`
|
|
18919
|
+
|
|
18920
|
+
lib/dom/functions/watchSizeMulti.md
|
|
18921
|
+
---
|
|
18922
|
+
|
|
18923
|
+
[**Documents for clickgo**](../../../index.md)
|
|
18924
|
+
|
|
18925
|
+
***
|
|
18926
|
+
|
|
18927
|
+
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) / watchSizeMulti
|
|
18928
|
+
|
|
18929
|
+
# Function: watchSizeMulti()
|
|
18930
|
+
|
|
18931
|
+
> **watchSizeMulti**(`current`, `el`, `cb`, `immediate?`): `boolean`
|
|
18932
|
+
|
|
18933
|
+
Defined in: [lib/dom.ts:656](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L656)
|
|
18846
18934
|
|
|
18847
|
-
|
|
18935
|
+
添加可与其他订阅者共存的 Element 大小监视
|
|
18848
18936
|
|
|
18849
18937
|
## Parameters
|
|
18850
18938
|
|
|
@@ -18889,7 +18977,7 @@ lib/dom/functions/watchStyle.md
|
|
|
18889
18977
|
|
|
18890
18978
|
> **watchStyle**(`el`, `name`, `cb`, `immediate?`): `void`
|
|
18891
18979
|
|
|
18892
|
-
Defined in: [lib/dom.ts:
|
|
18980
|
+
Defined in: [lib/dom.ts:995](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L995)
|
|
18893
18981
|
|
|
18894
18982
|
监听一个标签的计算后样式的变化
|
|
18895
18983
|
|
|
@@ -18993,10 +19081,12 @@ lib/dom/index.md
|
|
|
18993
19081
|
- [unwatch](functions/unwatch.md)
|
|
18994
19082
|
- [unwatchPosition](functions/unwatchPosition.md)
|
|
18995
19083
|
- [unwatchSize](functions/unwatchSize.md)
|
|
19084
|
+
- [unwatchSizeMulti](functions/unwatchSizeMulti.md)
|
|
18996
19085
|
- [watch](functions/watch.md)
|
|
18997
19086
|
- [watchPosition](functions/watchPosition.md)
|
|
18998
19087
|
- [watchProperty](functions/watchProperty.md)
|
|
18999
19088
|
- [watchSize](functions/watchSize.md)
|
|
19089
|
+
- [watchSizeMulti](functions/watchSizeMulti.md)
|
|
19000
19090
|
- [watchStyle](functions/watchStyle.md)
|
|
19001
19091
|
|
|
19002
19092
|
lib/dom/interfaces/IDomSize.md
|
|
@@ -19010,7 +19100,7 @@ lib/dom/interfaces/IDomSize.md
|
|
|
19010
19100
|
|
|
19011
19101
|
# Interface: IDomSize
|
|
19012
19102
|
|
|
19013
|
-
Defined in: [lib/dom.ts:
|
|
19103
|
+
Defined in: [lib/dom.ts:2076](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2076)
|
|
19014
19104
|
|
|
19015
19105
|
Element 的大小
|
|
19016
19106
|
|
|
@@ -19020,7 +19110,7 @@ Element 的大小
|
|
|
19020
19110
|
|
|
19021
19111
|
> **border**: `object`
|
|
19022
19112
|
|
|
19023
|
-
Defined in: [lib/dom.ts:
|
|
19113
|
+
Defined in: [lib/dom.ts:2089](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2089)
|
|
19024
19114
|
|
|
19025
19115
|
#### bottom
|
|
19026
19116
|
|
|
@@ -19044,7 +19134,7 @@ Defined in: [lib/dom.ts:1952](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19044
19134
|
|
|
19045
19135
|
> **bottom**: `number`
|
|
19046
19136
|
|
|
19047
|
-
Defined in: [lib/dom.ts:
|
|
19137
|
+
Defined in: [lib/dom.ts:2079](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2079)
|
|
19048
19138
|
|
|
19049
19139
|
***
|
|
19050
19140
|
|
|
@@ -19052,7 +19142,7 @@ Defined in: [lib/dom.ts:1942](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19052
19142
|
|
|
19053
19143
|
> **clientHeight**: `number`
|
|
19054
19144
|
|
|
19055
|
-
Defined in: [lib/dom.ts:
|
|
19145
|
+
Defined in: [lib/dom.ts:2095](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2095)
|
|
19056
19146
|
|
|
19057
19147
|
***
|
|
19058
19148
|
|
|
@@ -19060,7 +19150,7 @@ Defined in: [lib/dom.ts:1958](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19060
19150
|
|
|
19061
19151
|
> **clientWidth**: `number`
|
|
19062
19152
|
|
|
19063
|
-
Defined in: [lib/dom.ts:
|
|
19153
|
+
Defined in: [lib/dom.ts:2096](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2096)
|
|
19064
19154
|
|
|
19065
19155
|
***
|
|
19066
19156
|
|
|
@@ -19068,7 +19158,7 @@ Defined in: [lib/dom.ts:1959](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19068
19158
|
|
|
19069
19159
|
> **height**: `number`
|
|
19070
19160
|
|
|
19071
|
-
Defined in: [lib/dom.ts:
|
|
19161
|
+
Defined in: [lib/dom.ts:2082](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2082)
|
|
19072
19162
|
|
|
19073
19163
|
***
|
|
19074
19164
|
|
|
@@ -19076,7 +19166,7 @@ Defined in: [lib/dom.ts:1945](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19076
19166
|
|
|
19077
19167
|
> **innerHeight**: `number`
|
|
19078
19168
|
|
|
19079
|
-
Defined in: [lib/dom.ts:
|
|
19169
|
+
Defined in: [lib/dom.ts:2098](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2098)
|
|
19080
19170
|
|
|
19081
19171
|
***
|
|
19082
19172
|
|
|
@@ -19084,7 +19174,7 @@ Defined in: [lib/dom.ts:1961](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19084
19174
|
|
|
19085
19175
|
> **innerWidth**: `number`
|
|
19086
19176
|
|
|
19087
|
-
Defined in: [lib/dom.ts:
|
|
19177
|
+
Defined in: [lib/dom.ts:2097](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2097)
|
|
19088
19178
|
|
|
19089
19179
|
***
|
|
19090
19180
|
|
|
@@ -19092,7 +19182,7 @@ Defined in: [lib/dom.ts:1960](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19092
19182
|
|
|
19093
19183
|
> **left**: `number`
|
|
19094
19184
|
|
|
19095
|
-
Defined in: [lib/dom.ts:
|
|
19185
|
+
Defined in: [lib/dom.ts:2080](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2080)
|
|
19096
19186
|
|
|
19097
19187
|
***
|
|
19098
19188
|
|
|
@@ -19100,7 +19190,7 @@ Defined in: [lib/dom.ts:1943](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19100
19190
|
|
|
19101
19191
|
> **padding**: `object`
|
|
19102
19192
|
|
|
19103
|
-
Defined in: [lib/dom.ts:
|
|
19193
|
+
Defined in: [lib/dom.ts:2083](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2083)
|
|
19104
19194
|
|
|
19105
19195
|
#### bottom
|
|
19106
19196
|
|
|
@@ -19124,7 +19214,7 @@ Defined in: [lib/dom.ts:1946](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19124
19214
|
|
|
19125
19215
|
> **right**: `number`
|
|
19126
19216
|
|
|
19127
|
-
Defined in: [lib/dom.ts:
|
|
19217
|
+
Defined in: [lib/dom.ts:2078](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2078)
|
|
19128
19218
|
|
|
19129
19219
|
***
|
|
19130
19220
|
|
|
@@ -19132,7 +19222,7 @@ Defined in: [lib/dom.ts:1941](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19132
19222
|
|
|
19133
19223
|
> **scrollHeight**: `number`
|
|
19134
19224
|
|
|
19135
|
-
Defined in: [lib/dom.ts:
|
|
19225
|
+
Defined in: [lib/dom.ts:2100](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2100)
|
|
19136
19226
|
|
|
19137
19227
|
***
|
|
19138
19228
|
|
|
@@ -19140,7 +19230,7 @@ Defined in: [lib/dom.ts:1963](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19140
19230
|
|
|
19141
19231
|
> **scrollWidth**: `number`
|
|
19142
19232
|
|
|
19143
|
-
Defined in: [lib/dom.ts:
|
|
19233
|
+
Defined in: [lib/dom.ts:2099](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2099)
|
|
19144
19234
|
|
|
19145
19235
|
***
|
|
19146
19236
|
|
|
@@ -19148,7 +19238,7 @@ Defined in: [lib/dom.ts:1962](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19148
19238
|
|
|
19149
19239
|
> **top**: `number`
|
|
19150
19240
|
|
|
19151
|
-
Defined in: [lib/dom.ts:
|
|
19241
|
+
Defined in: [lib/dom.ts:2077](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2077)
|
|
19152
19242
|
|
|
19153
19243
|
***
|
|
19154
19244
|
|
|
@@ -19156,7 +19246,7 @@ Defined in: [lib/dom.ts:1940](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19156
19246
|
|
|
19157
19247
|
> **width**: `number`
|
|
19158
19248
|
|
|
19159
|
-
Defined in: [lib/dom.ts:
|
|
19249
|
+
Defined in: [lib/dom.ts:2081](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2081)
|
|
19160
19250
|
|
|
19161
19251
|
lib/dom/interfaces/IGetWatchInfoResult.md
|
|
19162
19252
|
---
|
|
@@ -19169,7 +19259,7 @@ lib/dom/interfaces/IGetWatchInfoResult.md
|
|
|
19169
19259
|
|
|
19170
19260
|
# Interface: IGetWatchInfoResult
|
|
19171
19261
|
|
|
19172
|
-
Defined in: [lib/dom.ts:
|
|
19262
|
+
Defined in: [lib/dom.ts:2134](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2134)
|
|
19173
19263
|
|
|
19174
19264
|
获取当前正在监视中的 property、style 和 position 的元素信息
|
|
19175
19265
|
|
|
@@ -19179,7 +19269,7 @@ Defined in: [lib/dom.ts:1991](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19179
19269
|
|
|
19180
19270
|
> **default**: `Record`\<`string`, \{ `position`: \{ `count`: `number`; \}; `property`: \{ `count`: `number`; `list`: `string`[]; \}; `style`: \{ `count`: `number`; `list`: `string`[]; \}; \}\>
|
|
19181
19271
|
|
|
19182
|
-
Defined in: [lib/dom.ts:
|
|
19272
|
+
Defined in: [lib/dom.ts:2136](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2136)
|
|
19183
19273
|
|
|
19184
19274
|
***
|
|
19185
19275
|
|
|
@@ -19187,7 +19277,7 @@ Defined in: [lib/dom.ts:1993](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19187
19277
|
|
|
19188
19278
|
> **formId**: `string`
|
|
19189
19279
|
|
|
19190
|
-
Defined in: [lib/dom.ts:
|
|
19280
|
+
Defined in: [lib/dom.ts:2135](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2135)
|
|
19191
19281
|
|
|
19192
19282
|
***
|
|
19193
19283
|
|
|
@@ -19195,7 +19285,7 @@ Defined in: [lib/dom.ts:1992](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19195
19285
|
|
|
19196
19286
|
> **panels**: `Record`\<`string`, `Record`\<`string`, \{ `position`: \{ `count`: `number`; \}; `property`: \{ `count`: `number`; `list`: `string`[]; \}; `style`: \{ `count`: `number`; `list`: `string`[]; \}; \}\>\>
|
|
19197
19287
|
|
|
19198
|
-
Defined in: [lib/dom.ts:
|
|
19288
|
+
Defined in: [lib/dom.ts:2149](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2149)
|
|
19199
19289
|
|
|
19200
19290
|
lib/dom/interfaces/IWatchItem.md
|
|
19201
19291
|
---
|
|
@@ -19208,7 +19298,7 @@ lib/dom/interfaces/IWatchItem.md
|
|
|
19208
19298
|
|
|
19209
19299
|
# Interface: IWatchItem
|
|
19210
19300
|
|
|
19211
|
-
Defined in: [lib/dom.ts:
|
|
19301
|
+
Defined in: [lib/dom.ts:2127](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2127)
|
|
19212
19302
|
|
|
19213
19303
|
监视变化中的元素
|
|
19214
19304
|
|
|
@@ -19218,7 +19308,7 @@ Defined in: [lib/dom.ts:1984](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19218
19308
|
|
|
19219
19309
|
> **el**: `HTMLElement`
|
|
19220
19310
|
|
|
19221
|
-
Defined in: [lib/dom.ts:
|
|
19311
|
+
Defined in: [lib/dom.ts:2128](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2128)
|
|
19222
19312
|
|
|
19223
19313
|
***
|
|
19224
19314
|
|
|
@@ -19226,7 +19316,7 @@ Defined in: [lib/dom.ts:1985](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19226
19316
|
|
|
19227
19317
|
> **mo**: `MutationObserver`
|
|
19228
19318
|
|
|
19229
|
-
Defined in: [lib/dom.ts:
|
|
19319
|
+
Defined in: [lib/dom.ts:2129](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2129)
|
|
19230
19320
|
|
|
19231
19321
|
***
|
|
19232
19322
|
|
|
@@ -19234,7 +19324,7 @@ Defined in: [lib/dom.ts:1986](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19234
19324
|
|
|
19235
19325
|
> `optional` **taskId?**: `string`
|
|
19236
19326
|
|
|
19237
|
-
Defined in: [lib/dom.ts:
|
|
19327
|
+
Defined in: [lib/dom.ts:2130](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2130)
|
|
19238
19328
|
|
|
19239
19329
|
lib/dom/interfaces/IWatchPositionItem.md
|
|
19240
19330
|
---
|
|
@@ -19247,7 +19337,7 @@ lib/dom/interfaces/IWatchPositionItem.md
|
|
|
19247
19337
|
|
|
19248
19338
|
# Interface: IWatchPositionItem
|
|
19249
19339
|
|
|
19250
|
-
Defined in: [lib/dom.ts:
|
|
19340
|
+
Defined in: [lib/dom.ts:2104](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2104)
|
|
19251
19341
|
|
|
19252
19342
|
监视位置中的元素
|
|
19253
19343
|
|
|
@@ -19257,7 +19347,7 @@ Defined in: [lib/dom.ts:1967](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19257
19347
|
|
|
19258
19348
|
> **el**: `HTMLElement`
|
|
19259
19349
|
|
|
19260
|
-
Defined in: [lib/dom.ts:
|
|
19350
|
+
Defined in: [lib/dom.ts:2105](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2105)
|
|
19261
19351
|
|
|
19262
19352
|
***
|
|
19263
19353
|
|
|
@@ -19265,7 +19355,7 @@ Defined in: [lib/dom.ts:1968](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19265
19355
|
|
|
19266
19356
|
> **handler**: (`state`) => `void` \| `Promise`\<`void`\>
|
|
19267
19357
|
|
|
19268
|
-
Defined in: [lib/dom.ts:
|
|
19358
|
+
Defined in: [lib/dom.ts:2107](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2107)
|
|
19269
19359
|
|
|
19270
19360
|
#### Parameters
|
|
19271
19361
|
|
|
@@ -19289,7 +19379,7 @@ Defined in: [lib/dom.ts:1970](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19289
19379
|
|
|
19290
19380
|
> **rect**: `DOMRect`
|
|
19291
19381
|
|
|
19292
|
-
Defined in: [lib/dom.ts:
|
|
19382
|
+
Defined in: [lib/dom.ts:2106](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2106)
|
|
19293
19383
|
|
|
19294
19384
|
lib/dom/interfaces/IWatchSizeItem.md
|
|
19295
19385
|
---
|
|
@@ -19302,7 +19392,7 @@ lib/dom/interfaces/IWatchSizeItem.md
|
|
|
19302
19392
|
|
|
19303
19393
|
# Interface: IWatchSizeItem
|
|
19304
19394
|
|
|
19305
|
-
Defined in: [lib/dom.ts:
|
|
19395
|
+
Defined in: [lib/dom.ts:2114](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2114)
|
|
19306
19396
|
|
|
19307
19397
|
监视大小中的元素
|
|
19308
19398
|
|
|
@@ -19312,27 +19402,47 @@ Defined in: [lib/dom.ts:1977](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19312
19402
|
|
|
19313
19403
|
> **el**: `HTMLElement`
|
|
19314
19404
|
|
|
19315
|
-
Defined in: [lib/dom.ts:
|
|
19405
|
+
Defined in: [lib/dom.ts:2115](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2115)
|
|
19316
19406
|
|
|
19317
19407
|
***
|
|
19318
19408
|
|
|
19319
|
-
### handler
|
|
19409
|
+
### handler?
|
|
19320
19410
|
|
|
19321
|
-
> **handler
|
|
19411
|
+
> `optional` **handler?**: `object`
|
|
19322
19412
|
|
|
19323
|
-
Defined in: [lib/dom.ts:
|
|
19413
|
+
Defined in: [lib/dom.ts:2116](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2116)
|
|
19324
19414
|
|
|
19325
|
-
####
|
|
19415
|
+
#### handler
|
|
19416
|
+
|
|
19417
|
+
> **handler**: () => `void` \| `Promise`\<`void`\>
|
|
19418
|
+
|
|
19419
|
+
##### Returns
|
|
19326
19420
|
|
|
19327
19421
|
`void` \| `Promise`\<`void`\>
|
|
19328
19422
|
|
|
19423
|
+
#### taskId
|
|
19424
|
+
|
|
19425
|
+
> **taskId**: `string`
|
|
19426
|
+
|
|
19329
19427
|
***
|
|
19330
19428
|
|
|
19331
|
-
###
|
|
19429
|
+
### handlers
|
|
19332
19430
|
|
|
19333
|
-
> **
|
|
19431
|
+
> **handlers**: `object`[]
|
|
19334
19432
|
|
|
19335
|
-
Defined in: [lib/dom.ts:
|
|
19433
|
+
Defined in: [lib/dom.ts:2120](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2120)
|
|
19434
|
+
|
|
19435
|
+
#### handler
|
|
19436
|
+
|
|
19437
|
+
> **handler**: () => `void` \| `Promise`\<`void`\>
|
|
19438
|
+
|
|
19439
|
+
##### Returns
|
|
19440
|
+
|
|
19441
|
+
`void` \| `Promise`\<`void`\>
|
|
19442
|
+
|
|
19443
|
+
#### taskId
|
|
19444
|
+
|
|
19445
|
+
> **taskId**: `string`
|
|
19336
19446
|
|
|
19337
19447
|
lib/dom/type-aliases/TDomBorderCustom.md
|
|
19338
19448
|
---
|
|
@@ -19347,7 +19457,7 @@ lib/dom/type-aliases/TDomBorderCustom.md
|
|
|
19347
19457
|
|
|
19348
19458
|
> **TDomBorderCustom** = [`TDomBorder`](TDomBorder.md) \| \{ `height?`: `number`; `left`: `number`; `top?`: `number`; `width`: `number`; \}
|
|
19349
19459
|
|
|
19350
|
-
Defined in: [lib/dom.ts:
|
|
19460
|
+
Defined in: [lib/dom.ts:2073](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2073)
|
|
19351
19461
|
|
|
19352
19462
|
lib/dom/type-aliases/TDomBorder.md
|
|
19353
19463
|
---
|
|
@@ -19362,7 +19472,7 @@ lib/dom/type-aliases/TDomBorder.md
|
|
|
19362
19472
|
|
|
19363
19473
|
> **TDomBorder** = `"lt"` \| `"t"` \| `"tr"` \| `"r"` \| `"rb"` \| `"b"` \| `"bl"` \| `"l"` \| `""`
|
|
19364
19474
|
|
|
19365
|
-
Defined in: [lib/dom.ts:
|
|
19475
|
+
Defined in: [lib/dom.ts:2071](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2071)
|
|
19366
19476
|
|
|
19367
19477
|
方向类型,从左上开始
|
|
19368
19478
|
|
|
@@ -19411,7 +19521,7 @@ lib/dom/variables/is.md
|
|
|
19411
19521
|
|
|
19412
19522
|
> **is**: `object`
|
|
19413
19523
|
|
|
19414
|
-
Defined in: [lib/dom.ts:
|
|
19524
|
+
Defined in: [lib/dom.ts:1482](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1482)
|
|
19415
19525
|
|
|
19416
19526
|
相关状态
|
|
19417
19527
|
|
|
@@ -19470,7 +19580,7 @@ lib/dom/variables/mic.md
|
|
|
19470
19580
|
|
|
19471
19581
|
> `const` **mic**: `object`
|
|
19472
19582
|
|
|
19473
|
-
Defined in: [lib/dom.ts:
|
|
19583
|
+
Defined in: [lib/dom.ts:1852](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1852)
|
|
19474
19584
|
|
|
19475
19585
|
麦克风通过 WebSocket 对讲
|
|
19476
19586
|
|
|
@@ -28102,7 +28212,7 @@ lib/task/classes/AbstractThread.md
|
|
|
28102
28212
|
|
|
28103
28213
|
# Abstract Class: AbstractThread
|
|
28104
28214
|
|
|
28105
|
-
Defined in: [lib/task.ts:
|
|
28215
|
+
Defined in: [lib/task.ts:1557](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1557)
|
|
28106
28216
|
|
|
28107
28217
|
线程抽象类
|
|
28108
28218
|
|
|
@@ -28122,7 +28232,7 @@ Defined in: [lib/task.ts:1561](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28122
28232
|
|
|
28123
28233
|
> **taskId**: `string` = `''`
|
|
28124
28234
|
|
|
28125
|
-
Defined in: [lib/task.ts:
|
|
28235
|
+
Defined in: [lib/task.ts:1566](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1566)
|
|
28126
28236
|
|
|
28127
28237
|
系统会自动设置本项
|
|
28128
28238
|
|
|
@@ -28134,7 +28244,7 @@ Defined in: [lib/task.ts:1570](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28134
28244
|
|
|
28135
28245
|
> **get** **filename**(): `string`
|
|
28136
28246
|
|
|
28137
|
-
Defined in: [lib/task.ts:
|
|
28247
|
+
Defined in: [lib/task.ts:1560](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1560)
|
|
28138
28248
|
|
|
28139
28249
|
当前文件在包内的路径
|
|
28140
28250
|
|
|
@@ -28148,7 +28258,7 @@ Defined in: [lib/task.ts:1564](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28148
28258
|
|
|
28149
28259
|
> **close**(): `void`
|
|
28150
28260
|
|
|
28151
|
-
Defined in: [lib/task.ts:
|
|
28261
|
+
Defined in: [lib/task.ts:1595](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1595)
|
|
28152
28262
|
|
|
28153
28263
|
关闭线程
|
|
28154
28264
|
|
|
@@ -28162,7 +28272,7 @@ Defined in: [lib/task.ts:1599](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28162
28272
|
|
|
28163
28273
|
> `abstract` **main**(`data`): `void` \| `Promise`\<`void`\>
|
|
28164
28274
|
|
|
28165
|
-
Defined in: [lib/task.ts:
|
|
28275
|
+
Defined in: [lib/task.ts:1569](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1569)
|
|
28166
28276
|
|
|
28167
28277
|
线程入口
|
|
28168
28278
|
|
|
@@ -28182,7 +28292,7 @@ Defined in: [lib/task.ts:1573](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28182
28292
|
|
|
28183
28293
|
> **onEnded**(): `void` \| `Promise`\<`void`\>
|
|
28184
28294
|
|
|
28185
|
-
Defined in: [lib/task.ts:
|
|
28295
|
+
Defined in: [lib/task.ts:1578](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1578)
|
|
28186
28296
|
|
|
28187
28297
|
线程结束事件
|
|
28188
28298
|
|
|
@@ -28196,7 +28306,7 @@ Defined in: [lib/task.ts:1582](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28196
28306
|
|
|
28197
28307
|
> **onError**(`e`): `void` \| `Promise`\<`void`\>
|
|
28198
28308
|
|
|
28199
|
-
Defined in: [lib/task.ts:
|
|
28309
|
+
Defined in: [lib/task.ts:1584](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1584)
|
|
28200
28310
|
|
|
28201
28311
|
报错
|
|
28202
28312
|
|
|
@@ -28216,7 +28326,7 @@ Defined in: [lib/task.ts:1588](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28216
28326
|
|
|
28217
28327
|
> **onMessage**(`e`): `void` \| `Promise`\<`void`\>
|
|
28218
28328
|
|
|
28219
|
-
Defined in: [lib/task.ts:
|
|
28329
|
+
Defined in: [lib/task.ts:1572](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1572)
|
|
28220
28330
|
|
|
28221
28331
|
线程接收事件
|
|
28222
28332
|
|
|
@@ -28236,7 +28346,7 @@ Defined in: [lib/task.ts:1576](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28236
28346
|
|
|
28237
28347
|
> **send**(`data`): `void`
|
|
28238
28348
|
|
|
28239
|
-
Defined in: [lib/task.ts:
|
|
28349
|
+
Defined in: [lib/task.ts:1590](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1590)
|
|
28240
28350
|
|
|
28241
28351
|
发送数据
|
|
28242
28352
|
|
|
@@ -28261,7 +28371,7 @@ lib/task/enumerations/EIPTYPE.md
|
|
|
28261
28371
|
|
|
28262
28372
|
# Enumeration: EIPTYPE
|
|
28263
28373
|
|
|
28264
|
-
Defined in: [lib/task.ts:
|
|
28374
|
+
Defined in: [lib/task.ts:401](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L401)
|
|
28265
28375
|
|
|
28266
28376
|
initProgress 的 type
|
|
28267
28377
|
|
|
@@ -28271,7 +28381,7 @@ initProgress 的 type
|
|
|
28271
28381
|
|
|
28272
28382
|
> **APP**: `0`
|
|
28273
28383
|
|
|
28274
|
-
Defined in: [lib/task.ts:
|
|
28384
|
+
Defined in: [lib/task.ts:402](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L402)
|
|
28275
28385
|
|
|
28276
28386
|
***
|
|
28277
28387
|
|
|
@@ -28279,7 +28389,7 @@ Defined in: [lib/task.ts:406](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
28279
28389
|
|
|
28280
28390
|
> **CONTROL**: `2`
|
|
28281
28391
|
|
|
28282
|
-
Defined in: [lib/task.ts:
|
|
28392
|
+
Defined in: [lib/task.ts:404](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L404)
|
|
28283
28393
|
|
|
28284
28394
|
***
|
|
28285
28395
|
|
|
@@ -28287,7 +28397,7 @@ Defined in: [lib/task.ts:408](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
28287
28397
|
|
|
28288
28398
|
> **DONE**: `7`
|
|
28289
28399
|
|
|
28290
|
-
Defined in: [lib/task.ts:
|
|
28400
|
+
Defined in: [lib/task.ts:409](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L409)
|
|
28291
28401
|
|
|
28292
28402
|
***
|
|
28293
28403
|
|
|
@@ -28295,7 +28405,7 @@ Defined in: [lib/task.ts:413](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
28295
28405
|
|
|
28296
28406
|
> **LOCAL**: `1`
|
|
28297
28407
|
|
|
28298
|
-
Defined in: [lib/task.ts:
|
|
28408
|
+
Defined in: [lib/task.ts:403](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L403)
|
|
28299
28409
|
|
|
28300
28410
|
***
|
|
28301
28411
|
|
|
@@ -28303,7 +28413,7 @@ Defined in: [lib/task.ts:407](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
28303
28413
|
|
|
28304
28414
|
> **PERMISSION**: `5`
|
|
28305
28415
|
|
|
28306
|
-
Defined in: [lib/task.ts:
|
|
28416
|
+
Defined in: [lib/task.ts:407](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L407)
|
|
28307
28417
|
|
|
28308
28418
|
***
|
|
28309
28419
|
|
|
@@ -28311,7 +28421,7 @@ Defined in: [lib/task.ts:411](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
28311
28421
|
|
|
28312
28422
|
> **START**: `6`
|
|
28313
28423
|
|
|
28314
|
-
Defined in: [lib/task.ts:
|
|
28424
|
+
Defined in: [lib/task.ts:408](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L408)
|
|
28315
28425
|
|
|
28316
28426
|
***
|
|
28317
28427
|
|
|
@@ -28319,7 +28429,7 @@ Defined in: [lib/task.ts:412](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
28319
28429
|
|
|
28320
28430
|
> **STYLE**: `4`
|
|
28321
28431
|
|
|
28322
|
-
Defined in: [lib/task.ts:
|
|
28432
|
+
Defined in: [lib/task.ts:406](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L406)
|
|
28323
28433
|
|
|
28324
28434
|
***
|
|
28325
28435
|
|
|
@@ -28327,7 +28437,7 @@ Defined in: [lib/task.ts:410](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
28327
28437
|
|
|
28328
28438
|
> **THEME**: `3`
|
|
28329
28439
|
|
|
28330
|
-
Defined in: [lib/task.ts:
|
|
28440
|
+
Defined in: [lib/task.ts:405](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L405)
|
|
28331
28441
|
|
|
28332
28442
|
lib/task/functions/checkPermission.md
|
|
28333
28443
|
---
|
|
@@ -28342,7 +28452,7 @@ lib/task/functions/checkPermission.md
|
|
|
28342
28452
|
|
|
28343
28453
|
> **checkPermission**(`taskId`, `vals`, `apply?`, `applyHandler?`): `Promise`\<`boolean`[]\>
|
|
28344
28454
|
|
|
28345
|
-
Defined in: [lib/task.ts:
|
|
28455
|
+
Defined in: [lib/task.ts:954](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L954)
|
|
28346
28456
|
|
|
28347
28457
|
检测应用是否有相应的权限(如果 taskId 是 sysId 则直接成功)
|
|
28348
28458
|
|
|
@@ -28389,7 +28499,7 @@ lib/task/functions/clearLocaleLang.md
|
|
|
28389
28499
|
|
|
28390
28500
|
> **clearLocaleLang**(`current`): `void`
|
|
28391
28501
|
|
|
28392
|
-
Defined in: [lib/task.ts:
|
|
28502
|
+
Defined in: [lib/task.ts:1252](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1252)
|
|
28393
28503
|
|
|
28394
28504
|
清除 task 的语言设置
|
|
28395
28505
|
|
|
@@ -28418,7 +28528,7 @@ lib/task/functions/clearLocale.md
|
|
|
28418
28528
|
|
|
28419
28529
|
> **clearLocale**(`taskId`): `void`
|
|
28420
28530
|
|
|
28421
|
-
Defined in: [lib/task.ts:
|
|
28531
|
+
Defined in: [lib/task.ts:1210](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1210)
|
|
28422
28532
|
|
|
28423
28533
|
清除任务的所有加载的语言包
|
|
28424
28534
|
|
|
@@ -28447,7 +28557,7 @@ lib/task/functions/clearSystem.md
|
|
|
28447
28557
|
|
|
28448
28558
|
> **clearSystem**(`taskId`): `Promise`\<`boolean`\>
|
|
28449
28559
|
|
|
28450
|
-
Defined in: [lib/task.ts:
|
|
28560
|
+
Defined in: [lib/task.ts:1419](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1419)
|
|
28451
28561
|
|
|
28452
28562
|
清除系统任务设定
|
|
28453
28563
|
|
|
@@ -28476,7 +28586,7 @@ lib/task/functions/createTimer.md
|
|
|
28476
28586
|
|
|
28477
28587
|
> **createTimer**(`current`, `fun`, `delay`, `opt?`): `number`
|
|
28478
28588
|
|
|
28479
|
-
Defined in: [lib/task.ts:
|
|
28589
|
+
Defined in: [lib/task.ts:1270](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1270)
|
|
28480
28590
|
|
|
28481
28591
|
创建 timer
|
|
28482
28592
|
|
|
@@ -28523,7 +28633,7 @@ lib/task/functions/end.md
|
|
|
28523
28633
|
|
|
28524
28634
|
> **end**(`taskId`): `Promise`\<`boolean`\>
|
|
28525
28635
|
|
|
28526
|
-
Defined in: [lib/task.ts:
|
|
28636
|
+
Defined in: [lib/task.ts:1069](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1069)
|
|
28527
28637
|
|
|
28528
28638
|
完全结束任务
|
|
28529
28639
|
|
|
@@ -28552,7 +28662,7 @@ lib/task/functions/getFocus.md
|
|
|
28552
28662
|
|
|
28553
28663
|
> **getFocus**(`current`): `Promise`\<`string` \| `null`\>
|
|
28554
28664
|
|
|
28555
|
-
Defined in: [lib/task.ts:
|
|
28665
|
+
Defined in: [lib/task.ts:174](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L174)
|
|
28556
28666
|
|
|
28557
28667
|
获取当前有焦点的任务 ID
|
|
28558
28668
|
|
|
@@ -28579,7 +28689,7 @@ lib/task/functions/getList.md
|
|
|
28579
28689
|
|
|
28580
28690
|
> **getList**(): [`ITaskInfo`](../interfaces/ITaskInfo.md)[]
|
|
28581
28691
|
|
|
28582
|
-
Defined in: [lib/task.ts:
|
|
28692
|
+
Defined in: [lib/task.ts:389](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L389)
|
|
28583
28693
|
|
|
28584
28694
|
获取 task list 的简略情况
|
|
28585
28695
|
|
|
@@ -28602,7 +28712,7 @@ lib/task/functions/get.md
|
|
|
28602
28712
|
|
|
28603
28713
|
Defined in: [lib/task.ts:103](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L103)
|
|
28604
28714
|
|
|
28605
|
-
|
|
28715
|
+
获取任务及其应用包简略信息
|
|
28606
28716
|
|
|
28607
28717
|
## Parameters
|
|
28608
28718
|
|
|
@@ -28656,7 +28766,7 @@ lib/task/functions/getOrigin.md
|
|
|
28656
28766
|
|
|
28657
28767
|
> **getOrigin**(`taskId`): [`ITask`](../interfaces/ITask.md) \| `null`
|
|
28658
28768
|
|
|
28659
|
-
Defined in: [lib/task.ts:
|
|
28769
|
+
Defined in: [lib/task.ts:130](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L130)
|
|
28660
28770
|
|
|
28661
28771
|
获取任务对象
|
|
28662
28772
|
|
|
@@ -28685,7 +28795,7 @@ lib/task/functions/getPermissions.md
|
|
|
28685
28795
|
|
|
28686
28796
|
> **getPermissions**(`current`): `string`[]
|
|
28687
28797
|
|
|
28688
|
-
Defined in: [lib/task.ts:
|
|
28798
|
+
Defined in: [lib/task.ts:376](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L376)
|
|
28689
28799
|
|
|
28690
28800
|
获取某个任务的已授权权限列表
|
|
28691
28801
|
|
|
@@ -28749,7 +28859,7 @@ lib/task/functions/init.md
|
|
|
28749
28859
|
|
|
28750
28860
|
> **init**(): `void`
|
|
28751
28861
|
|
|
28752
|
-
Defined in: [lib/task.ts:
|
|
28862
|
+
Defined in: [lib/task.ts:1507](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1507)
|
|
28753
28863
|
|
|
28754
28864
|
## Returns
|
|
28755
28865
|
|
|
@@ -28797,7 +28907,7 @@ lib/task/functions/loadLocaleData.md
|
|
|
28797
28907
|
|
|
28798
28908
|
> **loadLocaleData**(`taskId`, `lang`, `data`, `pre?`): `void`
|
|
28799
28909
|
|
|
28800
|
-
Defined in: [lib/task.ts:
|
|
28910
|
+
Defined in: [lib/task.ts:1154](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1154)
|
|
28801
28911
|
|
|
28802
28912
|
加载 locale data 对象到 task
|
|
28803
28913
|
|
|
@@ -28844,7 +28954,7 @@ lib/task/functions/loadLocale.md
|
|
|
28844
28954
|
|
|
28845
28955
|
> **loadLocale**(`taskId`, `lang`, `path`): `Promise`\<`boolean`\>
|
|
28846
28956
|
|
|
28847
|
-
Defined in: [lib/task.ts:
|
|
28957
|
+
Defined in: [lib/task.ts:1181](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1181)
|
|
28848
28958
|
|
|
28849
28959
|
加载 locale 文件 json
|
|
28850
28960
|
|
|
@@ -28885,7 +28995,7 @@ lib/task/functions/offFrame.md
|
|
|
28885
28995
|
|
|
28886
28996
|
> **offFrame**(`current`, `ft`): `void`
|
|
28887
28997
|
|
|
28888
|
-
Defined in: [lib/task.ts:
|
|
28998
|
+
Defined in: [lib/task.ts:356](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L356)
|
|
28889
28999
|
|
|
28890
29000
|
移除 frame 监听
|
|
28891
29001
|
|
|
@@ -28920,7 +29030,7 @@ lib/task/functions/onFrame.md
|
|
|
28920
29030
|
|
|
28921
29031
|
> **onFrame**(`current`, `fun`, `opt?`): `number`
|
|
28922
29032
|
|
|
28923
|
-
Defined in: [lib/task.ts:
|
|
29033
|
+
Defined in: [lib/task.ts:275](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L275)
|
|
28924
29034
|
|
|
28925
29035
|
创建 frame 监听,formId 存在则为窗体范围,否则为任务级范围
|
|
28926
29036
|
|
|
@@ -28967,7 +29077,7 @@ lib/task/functions/refreshSystemPosition.md
|
|
|
28967
29077
|
|
|
28968
29078
|
> **refreshSystemPosition**(): `void`
|
|
28969
29079
|
|
|
28970
|
-
Defined in: [lib/task.ts:
|
|
29080
|
+
Defined in: [lib/task.ts:1451](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1451)
|
|
28971
29081
|
|
|
28972
29082
|
刷新系统任务的 form 的位置以及 length
|
|
28973
29083
|
|
|
@@ -28988,7 +29098,7 @@ lib/task/functions/removeTimer.md
|
|
|
28988
29098
|
|
|
28989
29099
|
> **removeTimer**(`current`, `timer`): `void`
|
|
28990
29100
|
|
|
28991
|
-
Defined in: [lib/task.ts:
|
|
29101
|
+
Defined in: [lib/task.ts:1337](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1337)
|
|
28992
29102
|
|
|
28993
29103
|
移除 timer
|
|
28994
29104
|
|
|
@@ -29023,7 +29133,7 @@ lib/task/functions/run.md
|
|
|
29023
29133
|
|
|
29024
29134
|
> **run**(`current`, `url`, `opt?`): `Promise`\<`string` \| `number`\>
|
|
29025
29135
|
|
|
29026
|
-
Defined in: [lib/task.ts:
|
|
29136
|
+
Defined in: [lib/task.ts:419](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L419)
|
|
29027
29137
|
|
|
29028
29138
|
运行一个应用
|
|
29029
29139
|
|
|
@@ -29066,7 +29176,7 @@ lib/task/functions/runThread.md
|
|
|
29066
29176
|
|
|
29067
29177
|
> **runThread**(`current`, `cls`, `data?`): [`IThread`](../interfaces/IThread.md)
|
|
29068
29178
|
|
|
29069
|
-
Defined in: [lib/task.ts:
|
|
29179
|
+
Defined in: [lib/task.ts:1609](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1609)
|
|
29070
29180
|
|
|
29071
29181
|
运行线程(同一个线程文件只能运行一个)
|
|
29072
29182
|
|
|
@@ -29107,7 +29217,7 @@ lib/task/functions/setFocus.md
|
|
|
29107
29217
|
|
|
29108
29218
|
> **setFocus**(`id?`): `boolean`
|
|
29109
29219
|
|
|
29110
|
-
Defined in: [lib/task.ts:
|
|
29220
|
+
Defined in: [lib/task.ts:161](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L161)
|
|
29111
29221
|
|
|
29112
29222
|
设置 task focus id
|
|
29113
29223
|
|
|
@@ -29136,7 +29246,7 @@ lib/task/functions/setLocaleLang.md
|
|
|
29136
29246
|
|
|
29137
29247
|
> **setLocaleLang**(`current`, `lang`): `void`
|
|
29138
29248
|
|
|
29139
|
-
Defined in: [lib/task.ts:
|
|
29249
|
+
Defined in: [lib/task.ts:1237](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1237)
|
|
29140
29250
|
|
|
29141
29251
|
设置本 task 的语言 name
|
|
29142
29252
|
|
|
@@ -29171,7 +29281,7 @@ lib/task/functions/setLocale.md
|
|
|
29171
29281
|
|
|
29172
29282
|
> **setLocale**(`taskId`, `lang`, `path`): `Promise`\<`boolean`\>
|
|
29173
29283
|
|
|
29174
|
-
Defined in: [lib/task.ts:
|
|
29284
|
+
Defined in: [lib/task.ts:1227](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1227)
|
|
29175
29285
|
|
|
29176
29286
|
加载全新 locale(老 locale 的所有语言的缓存会被卸载)
|
|
29177
29287
|
|
|
@@ -29212,7 +29322,7 @@ lib/task/functions/setSystem.md
|
|
|
29212
29322
|
|
|
29213
29323
|
> **setSystem**(`taskId`, `formId`): `boolean`
|
|
29214
29324
|
|
|
29215
|
-
Defined in: [lib/task.ts:
|
|
29325
|
+
Defined in: [lib/task.ts:1381](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1381)
|
|
29216
29326
|
|
|
29217
29327
|
将任务注册为系统 task
|
|
29218
29328
|
|
|
@@ -29247,7 +29357,7 @@ lib/task/functions/sleep.md
|
|
|
29247
29357
|
|
|
29248
29358
|
> **sleep**(`current`, `fun`, `delay`): `number`
|
|
29249
29359
|
|
|
29250
|
-
Defined in: [lib/task.ts:
|
|
29360
|
+
Defined in: [lib/task.ts:1360](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1360)
|
|
29251
29361
|
|
|
29252
29362
|
暂停一小段时间
|
|
29253
29363
|
|
|
@@ -29350,7 +29460,7 @@ lib/task/interfaces/ICreateTimerOptions.md
|
|
|
29350
29460
|
|
|
29351
29461
|
# Interface: ICreateTimerOptions
|
|
29352
29462
|
|
|
29353
|
-
Defined in: [lib/task.ts:
|
|
29463
|
+
Defined in: [lib/task.ts:1806](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1806)
|
|
29354
29464
|
|
|
29355
29465
|
## Properties
|
|
29356
29466
|
|
|
@@ -29358,7 +29468,7 @@ Defined in: [lib/task.ts:1810](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29358
29468
|
|
|
29359
29469
|
> `optional` **count?**: `number`
|
|
29360
29470
|
|
|
29361
|
-
Defined in: [lib/task.ts:
|
|
29471
|
+
Defined in: [lib/task.ts:1810](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1810)
|
|
29362
29472
|
|
|
29363
29473
|
***
|
|
29364
29474
|
|
|
@@ -29366,7 +29476,7 @@ Defined in: [lib/task.ts:1814](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29366
29476
|
|
|
29367
29477
|
> `optional` **formId?**: `string`
|
|
29368
29478
|
|
|
29369
|
-
Defined in: [lib/task.ts:
|
|
29479
|
+
Defined in: [lib/task.ts:1807](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1807)
|
|
29370
29480
|
|
|
29371
29481
|
***
|
|
29372
29482
|
|
|
@@ -29374,7 +29484,7 @@ Defined in: [lib/task.ts:1811](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29374
29484
|
|
|
29375
29485
|
> `optional` **immediate?**: `boolean`
|
|
29376
29486
|
|
|
29377
|
-
Defined in: [lib/task.ts:
|
|
29487
|
+
Defined in: [lib/task.ts:1809](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1809)
|
|
29378
29488
|
|
|
29379
29489
|
lib/task/interfaces/IRuntime.md
|
|
29380
29490
|
---
|
|
@@ -29387,7 +29497,7 @@ lib/task/interfaces/IRuntime.md
|
|
|
29387
29497
|
|
|
29388
29498
|
# Interface: IRuntime
|
|
29389
29499
|
|
|
29390
|
-
Defined in: [lib/task.ts:
|
|
29500
|
+
Defined in: [lib/task.ts:1771](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1771)
|
|
29391
29501
|
|
|
29392
29502
|
## Properties
|
|
29393
29503
|
|
|
@@ -29395,7 +29505,7 @@ Defined in: [lib/task.ts:1775](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29395
29505
|
|
|
29396
29506
|
> **dialogCreating**: `number`
|
|
29397
29507
|
|
|
29398
|
-
Defined in: [lib/task.ts:
|
|
29508
|
+
Defined in: [lib/task.ts:1774](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1774)
|
|
29399
29509
|
|
|
29400
29510
|
正在异步创建 dialog 的数量,用于防止快速重复调用产生多个 dialog
|
|
29401
29511
|
|
|
@@ -29405,7 +29515,7 @@ Defined in: [lib/task.ts:1778](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29405
29515
|
|
|
29406
29516
|
> **dialogFormIds**: `string`[]
|
|
29407
29517
|
|
|
29408
|
-
Defined in: [lib/task.ts:
|
|
29518
|
+
Defined in: [lib/task.ts:1772](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1772)
|
|
29409
29519
|
|
|
29410
29520
|
***
|
|
29411
29521
|
|
|
@@ -29413,7 +29523,7 @@ Defined in: [lib/task.ts:1776](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29413
29523
|
|
|
29414
29524
|
> **index**: `number`
|
|
29415
29525
|
|
|
29416
|
-
Defined in: [lib/task.ts:
|
|
29526
|
+
Defined in: [lib/task.ts:1776](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1776)
|
|
29417
29527
|
|
|
29418
29528
|
***
|
|
29419
29529
|
|
|
@@ -29421,7 +29531,7 @@ Defined in: [lib/task.ts:1780](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29421
29531
|
|
|
29422
29532
|
> **permissions**: `string`[]
|
|
29423
29533
|
|
|
29424
|
-
Defined in: [lib/task.ts:
|
|
29534
|
+
Defined in: [lib/task.ts:1775](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1775)
|
|
29425
29535
|
|
|
29426
29536
|
lib/task/interfaces/ISystemTaskInfo.md
|
|
29427
29537
|
---
|
|
@@ -29434,7 +29544,7 @@ lib/task/interfaces/ISystemTaskInfo.md
|
|
|
29434
29544
|
|
|
29435
29545
|
# Interface: ISystemTaskInfo
|
|
29436
29546
|
|
|
29437
|
-
Defined in: [lib/task.ts:
|
|
29547
|
+
Defined in: [lib/task.ts:1780](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1780)
|
|
29438
29548
|
|
|
29439
29549
|
系统任务信息
|
|
29440
29550
|
|
|
@@ -29444,7 +29554,7 @@ Defined in: [lib/task.ts:1784](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29444
29554
|
|
|
29445
29555
|
> **formId**: `string`
|
|
29446
29556
|
|
|
29447
|
-
Defined in: [lib/task.ts:
|
|
29557
|
+
Defined in: [lib/task.ts:1782](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1782)
|
|
29448
29558
|
|
|
29449
29559
|
***
|
|
29450
29560
|
|
|
@@ -29452,7 +29562,7 @@ Defined in: [lib/task.ts:1786](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29452
29562
|
|
|
29453
29563
|
> **length**: `number`
|
|
29454
29564
|
|
|
29455
|
-
Defined in: [lib/task.ts:
|
|
29565
|
+
Defined in: [lib/task.ts:1783](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1783)
|
|
29456
29566
|
|
|
29457
29567
|
***
|
|
29458
29568
|
|
|
@@ -29460,7 +29570,7 @@ Defined in: [lib/task.ts:1787](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29460
29570
|
|
|
29461
29571
|
> **taskId**: `string`
|
|
29462
29572
|
|
|
29463
|
-
Defined in: [lib/task.ts:
|
|
29573
|
+
Defined in: [lib/task.ts:1781](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1781)
|
|
29464
29574
|
|
|
29465
29575
|
lib/task/interfaces/ITaskInfo.md
|
|
29466
29576
|
---
|
|
@@ -29473,17 +29583,27 @@ lib/task/interfaces/ITaskInfo.md
|
|
|
29473
29583
|
|
|
29474
29584
|
# Interface: ITaskInfo
|
|
29475
29585
|
|
|
29476
|
-
Defined in: [lib/task.ts:
|
|
29586
|
+
Defined in: [lib/task.ts:1814](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1814)
|
|
29477
29587
|
|
|
29478
|
-
Task
|
|
29588
|
+
Task 及其应用包的简略信息,通常在 list 当中
|
|
29479
29589
|
|
|
29480
29590
|
## Properties
|
|
29481
29591
|
|
|
29592
|
+
### author
|
|
29593
|
+
|
|
29594
|
+
> **author**: `string`
|
|
29595
|
+
|
|
29596
|
+
Defined in: [lib/task.ts:1824](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1824)
|
|
29597
|
+
|
|
29598
|
+
作者
|
|
29599
|
+
|
|
29600
|
+
***
|
|
29601
|
+
|
|
29482
29602
|
### current
|
|
29483
29603
|
|
|
29484
29604
|
> **current**: `string`
|
|
29485
29605
|
|
|
29486
|
-
Defined in: [lib/task.ts:
|
|
29606
|
+
Defined in: [lib/task.ts:1830](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1830)
|
|
29487
29607
|
|
|
29488
29608
|
***
|
|
29489
29609
|
|
|
@@ -29491,7 +29611,7 @@ Defined in: [lib/task.ts:1827](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29491
29611
|
|
|
29492
29612
|
> **customTheme**: `boolean`
|
|
29493
29613
|
|
|
29494
|
-
Defined in: [lib/task.ts:
|
|
29614
|
+
Defined in: [lib/task.ts:1826](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1826)
|
|
29495
29615
|
|
|
29496
29616
|
***
|
|
29497
29617
|
|
|
@@ -29499,7 +29619,7 @@ Defined in: [lib/task.ts:1823](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29499
29619
|
|
|
29500
29620
|
> **formCount**: `number`
|
|
29501
29621
|
|
|
29502
|
-
Defined in: [lib/task.ts:
|
|
29622
|
+
Defined in: [lib/task.ts:1827](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1827)
|
|
29503
29623
|
|
|
29504
29624
|
***
|
|
29505
29625
|
|
|
@@ -29507,7 +29627,7 @@ Defined in: [lib/task.ts:1824](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29507
29627
|
|
|
29508
29628
|
> **icon**: `string`
|
|
29509
29629
|
|
|
29510
|
-
Defined in: [lib/task.ts:
|
|
29630
|
+
Defined in: [lib/task.ts:1828](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1828)
|
|
29511
29631
|
|
|
29512
29632
|
***
|
|
29513
29633
|
|
|
@@ -29515,7 +29635,7 @@ Defined in: [lib/task.ts:1825](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29515
29635
|
|
|
29516
29636
|
> **id**: `string`
|
|
29517
29637
|
|
|
29518
|
-
Defined in: [lib/task.ts:
|
|
29638
|
+
Defined in: [lib/task.ts:1816](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1816)
|
|
29519
29639
|
|
|
29520
29640
|
任务 ID
|
|
29521
29641
|
|
|
@@ -29525,7 +29645,7 @@ Defined in: [lib/task.ts:1820](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29525
29645
|
|
|
29526
29646
|
> **locale**: `string`
|
|
29527
29647
|
|
|
29528
|
-
Defined in: [lib/task.ts:
|
|
29648
|
+
Defined in: [lib/task.ts:1825](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1825)
|
|
29529
29649
|
|
|
29530
29650
|
***
|
|
29531
29651
|
|
|
@@ -29533,7 +29653,9 @@ Defined in: [lib/task.ts:1822](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29533
29653
|
|
|
29534
29654
|
> **name**: `string`
|
|
29535
29655
|
|
|
29536
|
-
Defined in: [lib/task.ts:
|
|
29656
|
+
Defined in: [lib/task.ts:1818](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1818)
|
|
29657
|
+
|
|
29658
|
+
应用名
|
|
29537
29659
|
|
|
29538
29660
|
***
|
|
29539
29661
|
|
|
@@ -29541,7 +29663,27 @@ Defined in: [lib/task.ts:1821](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29541
29663
|
|
|
29542
29664
|
> **path**: `string`
|
|
29543
29665
|
|
|
29544
|
-
Defined in: [lib/task.ts:
|
|
29666
|
+
Defined in: [lib/task.ts:1829](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1829)
|
|
29667
|
+
|
|
29668
|
+
***
|
|
29669
|
+
|
|
29670
|
+
### ver
|
|
29671
|
+
|
|
29672
|
+
> **ver**: `number`
|
|
29673
|
+
|
|
29674
|
+
Defined in: [lib/task.ts:1820](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1820)
|
|
29675
|
+
|
|
29676
|
+
发行版本
|
|
29677
|
+
|
|
29678
|
+
***
|
|
29679
|
+
|
|
29680
|
+
### version
|
|
29681
|
+
|
|
29682
|
+
> **version**: `string`
|
|
29683
|
+
|
|
29684
|
+
Defined in: [lib/task.ts:1822](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1822)
|
|
29685
|
+
|
|
29686
|
+
发行版本字符串
|
|
29545
29687
|
|
|
29546
29688
|
lib/task/interfaces/ITask.md
|
|
29547
29689
|
---
|
|
@@ -29554,7 +29696,7 @@ lib/task/interfaces/ITask.md
|
|
|
29554
29696
|
|
|
29555
29697
|
# Interface: ITask
|
|
29556
29698
|
|
|
29557
|
-
Defined in: [lib/task.ts:
|
|
29699
|
+
Defined in: [lib/task.ts:1734](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1734)
|
|
29558
29700
|
|
|
29559
29701
|
运行中的任务对象
|
|
29560
29702
|
|
|
@@ -29564,7 +29706,7 @@ Defined in: [lib/task.ts:1738](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29564
29706
|
|
|
29565
29707
|
> **app**: [`IApp`](../../core/interfaces/IApp.md)
|
|
29566
29708
|
|
|
29567
|
-
Defined in: [lib/task.ts:
|
|
29709
|
+
Defined in: [lib/task.ts:1736](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1736)
|
|
29568
29710
|
|
|
29569
29711
|
***
|
|
29570
29712
|
|
|
@@ -29572,7 +29714,7 @@ Defined in: [lib/task.ts:1740](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29572
29714
|
|
|
29573
29715
|
> **class**: [`AbstractApp`](../../core/classes/AbstractApp.md)
|
|
29574
29716
|
|
|
29575
|
-
Defined in: [lib/task.ts:
|
|
29717
|
+
Defined in: [lib/task.ts:1737](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1737)
|
|
29576
29718
|
|
|
29577
29719
|
***
|
|
29578
29720
|
|
|
@@ -29580,7 +29722,7 @@ Defined in: [lib/task.ts:1741](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29580
29722
|
|
|
29581
29723
|
> **controls**: `Record`\<`string`, \{ `access`: `Record`\<`string`, `any`\>; `computed`: `Record`\<`string`, `any`\>; `config`: [`IControlConfig`](../../control/interfaces/IControlConfig.md); `data`: `Record`\<`string`, `any`\>; `emits`: `Record`\<`string`, `any`\>; `files`: `Record`\<`string`, `Blob` \| `string`\>; `layout`: `string`; `methods`: `Record`\<`string`, `any`\>; `props`: `Record`\<`string`, `any`\>; \}\>
|
|
29582
29724
|
|
|
29583
|
-
Defined in: [lib/task.ts:
|
|
29725
|
+
Defined in: [lib/task.ts:1751](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1751)
|
|
29584
29726
|
|
|
29585
29727
|
已解析的控件处理后的对象,任务启动时解析,窗体创建时部分复用
|
|
29586
29728
|
|
|
@@ -29590,7 +29732,7 @@ Defined in: [lib/task.ts:1755](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29590
29732
|
|
|
29591
29733
|
> **current**: `string`
|
|
29592
29734
|
|
|
29593
|
-
Defined in: [lib/task.ts:
|
|
29735
|
+
Defined in: [lib/task.ts:1746](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1746)
|
|
29594
29736
|
|
|
29595
29737
|
当前 app 运行路径,末尾不含 /
|
|
29596
29738
|
|
|
@@ -29600,7 +29742,7 @@ Defined in: [lib/task.ts:1750](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29600
29742
|
|
|
29601
29743
|
> **customTheme**: `boolean`
|
|
29602
29744
|
|
|
29603
|
-
Defined in: [lib/task.ts:
|
|
29745
|
+
Defined in: [lib/task.ts:1738](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1738)
|
|
29604
29746
|
|
|
29605
29747
|
***
|
|
29606
29748
|
|
|
@@ -29608,7 +29750,7 @@ Defined in: [lib/task.ts:1742](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29608
29750
|
|
|
29609
29751
|
> **forms**: `Record`\<`string`, [`IForm`](../../form/interfaces/IForm.md)\>
|
|
29610
29752
|
|
|
29611
|
-
Defined in: [lib/task.ts:
|
|
29753
|
+
Defined in: [lib/task.ts:1749](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1749)
|
|
29612
29754
|
|
|
29613
29755
|
窗体对象列表
|
|
29614
29756
|
|
|
@@ -29618,7 +29760,7 @@ Defined in: [lib/task.ts:1753](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29618
29760
|
|
|
29619
29761
|
> **id**: `string`
|
|
29620
29762
|
|
|
29621
|
-
Defined in: [lib/task.ts:
|
|
29763
|
+
Defined in: [lib/task.ts:1735](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1735)
|
|
29622
29764
|
|
|
29623
29765
|
***
|
|
29624
29766
|
|
|
@@ -29626,7 +29768,7 @@ Defined in: [lib/task.ts:1739](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29626
29768
|
|
|
29627
29769
|
> **locale**: `object`
|
|
29628
29770
|
|
|
29629
|
-
Defined in: [lib/task.ts:
|
|
29771
|
+
Defined in: [lib/task.ts:1739](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1739)
|
|
29630
29772
|
|
|
29631
29773
|
#### data
|
|
29632
29774
|
|
|
@@ -29642,7 +29784,7 @@ Defined in: [lib/task.ts:1743](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29642
29784
|
|
|
29643
29785
|
> **path**: `string`
|
|
29644
29786
|
|
|
29645
|
-
Defined in: [lib/task.ts:
|
|
29787
|
+
Defined in: [lib/task.ts:1744](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1744)
|
|
29646
29788
|
|
|
29647
29789
|
当前 app 自己的完整路径,如 /x/xx.cga,或 /x/x,末尾不含 /
|
|
29648
29790
|
|
|
@@ -29652,7 +29794,7 @@ Defined in: [lib/task.ts:1748](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29652
29794
|
|
|
29653
29795
|
> **threads**: `Record`\<`string`, [`IThread`](IThread.md)\>
|
|
29654
29796
|
|
|
29655
|
-
Defined in: [lib/task.ts:
|
|
29797
|
+
Defined in: [lib/task.ts:1768](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1768)
|
|
29656
29798
|
|
|
29657
29799
|
文件名 -> thread 控制对象
|
|
29658
29800
|
|
|
@@ -29662,7 +29804,7 @@ Defined in: [lib/task.ts:1772](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29662
29804
|
|
|
29663
29805
|
> **timers**: `Record`\<`string`, `string`\>
|
|
29664
29806
|
|
|
29665
|
-
Defined in: [lib/task.ts:
|
|
29807
|
+
Defined in: [lib/task.ts:1766](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1766)
|
|
29666
29808
|
|
|
29667
29809
|
任务中的 timer 列表
|
|
29668
29810
|
|
|
@@ -29677,7 +29819,7 @@ lib/task/interfaces/ITaskRunOptions.md
|
|
|
29677
29819
|
|
|
29678
29820
|
# Interface: ITaskRunOptions
|
|
29679
29821
|
|
|
29680
|
-
Defined in: [lib/task.ts:
|
|
29822
|
+
Defined in: [lib/task.ts:1786](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1786)
|
|
29681
29823
|
|
|
29682
29824
|
## Properties
|
|
29683
29825
|
|
|
@@ -29685,7 +29827,7 @@ Defined in: [lib/task.ts:1790](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29685
29827
|
|
|
29686
29828
|
> `optional` **after?**: `string`
|
|
29687
29829
|
|
|
29688
|
-
Defined in: [lib/task.ts:
|
|
29830
|
+
Defined in: [lib/task.ts:1799](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1799)
|
|
29689
29831
|
|
|
29690
29832
|
如果是网络加载 cga,则网址后面会附带,如 ?123
|
|
29691
29833
|
|
|
@@ -29695,7 +29837,7 @@ Defined in: [lib/task.ts:1803](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29695
29837
|
|
|
29696
29838
|
> `optional` **data?**: `Record`\<`string`, `any`\>
|
|
29697
29839
|
|
|
29698
|
-
Defined in: [lib/task.ts:
|
|
29840
|
+
Defined in: [lib/task.ts:1801](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1801)
|
|
29699
29841
|
|
|
29700
29842
|
给 task 传值
|
|
29701
29843
|
|
|
@@ -29705,7 +29847,7 @@ Defined in: [lib/task.ts:1805](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29705
29847
|
|
|
29706
29848
|
> `optional` **icon?**: `string`
|
|
29707
29849
|
|
|
29708
|
-
Defined in: [lib/task.ts:
|
|
29850
|
+
Defined in: [lib/task.ts:1787](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1787)
|
|
29709
29851
|
|
|
29710
29852
|
***
|
|
29711
29853
|
|
|
@@ -29713,7 +29855,7 @@ Defined in: [lib/task.ts:1791](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29713
29855
|
|
|
29714
29856
|
> `optional` **initProgress?**: (`loaded`, `total`, `type`, `msg`) => `void` \| `Promise`\<`void`\>
|
|
29715
29857
|
|
|
29716
|
-
Defined in: [lib/task.ts:
|
|
29858
|
+
Defined in: [lib/task.ts:1789](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1789)
|
|
29717
29859
|
|
|
29718
29860
|
初始化进度回调
|
|
29719
29861
|
|
|
@@ -29745,7 +29887,7 @@ Defined in: [lib/task.ts:1793](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29745
29887
|
|
|
29746
29888
|
> `optional` **notify?**: `boolean`
|
|
29747
29889
|
|
|
29748
|
-
Defined in: [lib/task.ts:
|
|
29890
|
+
Defined in: [lib/task.ts:1795](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1795)
|
|
29749
29891
|
|
|
29750
29892
|
显示 notify 窗口
|
|
29751
29893
|
|
|
@@ -29755,7 +29897,7 @@ Defined in: [lib/task.ts:1799](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29755
29897
|
|
|
29756
29898
|
> `optional` **path?**: `string`
|
|
29757
29899
|
|
|
29758
|
-
Defined in: [lib/task.ts:
|
|
29900
|
+
Defined in: [lib/task.ts:1803](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1803)
|
|
29759
29901
|
|
|
29760
29902
|
执行文件的基路径,一般在传入 APP 包时使用,以 .cga 结尾
|
|
29761
29903
|
|
|
@@ -29765,7 +29907,7 @@ Defined in: [lib/task.ts:1807](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29765
29907
|
|
|
29766
29908
|
> `optional` **permissions?**: `string`[]
|
|
29767
29909
|
|
|
29768
|
-
Defined in: [lib/task.ts:
|
|
29910
|
+
Defined in: [lib/task.ts:1797](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1797)
|
|
29769
29911
|
|
|
29770
29912
|
直接赋予此任务相应权限,有 "root" 权限的应用才能设置
|
|
29771
29913
|
|
|
@@ -29775,7 +29917,7 @@ Defined in: [lib/task.ts:1801](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29775
29917
|
|
|
29776
29918
|
> `optional` **perProgress?**: (`per`) => `void` \| `Promise`\<`void`\>
|
|
29777
29919
|
|
|
29778
|
-
Defined in: [lib/task.ts:
|
|
29920
|
+
Defined in: [lib/task.ts:1793](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1793)
|
|
29779
29921
|
|
|
29780
29922
|
返回总加载进度百分比(0 - 1)
|
|
29781
29923
|
|
|
@@ -29795,7 +29937,7 @@ Defined in: [lib/task.ts:1797](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29795
29937
|
|
|
29796
29938
|
> `optional` **progress?**: (`loaded`, `total`, `type`, `path`) => `void` \| `Promise`\<`void`\>
|
|
29797
29939
|
|
|
29798
|
-
Defined in: [lib/task.ts:
|
|
29940
|
+
Defined in: [lib/task.ts:1791](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1791)
|
|
29799
29941
|
|
|
29800
29942
|
加载进度回调(根据 type 分为不同阶段)
|
|
29801
29943
|
|
|
@@ -29832,7 +29974,7 @@ lib/task/interfaces/IThread.md
|
|
|
29832
29974
|
|
|
29833
29975
|
# Interface: IThread
|
|
29834
29976
|
|
|
29835
|
-
Defined in: [lib/task.ts:
|
|
29977
|
+
Defined in: [lib/task.ts:1722](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1722)
|
|
29836
29978
|
|
|
29837
29979
|
## Properties
|
|
29838
29980
|
|
|
@@ -29840,7 +29982,7 @@ Defined in: [lib/task.ts:1726](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29840
29982
|
|
|
29841
29983
|
> **end**: () => `Promise`\<`void`\>
|
|
29842
29984
|
|
|
29843
|
-
Defined in: [lib/task.ts:
|
|
29985
|
+
Defined in: [lib/task.ts:1730](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1730)
|
|
29844
29986
|
|
|
29845
29987
|
结束线程
|
|
29846
29988
|
|
|
@@ -29854,7 +29996,7 @@ Defined in: [lib/task.ts:1734](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29854
29996
|
|
|
29855
29997
|
> **off**: (`name`, `handler`) => `void`
|
|
29856
29998
|
|
|
29857
|
-
Defined in: [lib/task.ts:
|
|
29999
|
+
Defined in: [lib/task.ts:1726](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1726)
|
|
29858
30000
|
|
|
29859
30001
|
移除事件
|
|
29860
30002
|
|
|
@@ -29878,7 +30020,7 @@ Defined in: [lib/task.ts:1730](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29878
30020
|
|
|
29879
30021
|
> **on**: (`name`, `handler`) => `void`
|
|
29880
30022
|
|
|
29881
|
-
Defined in: [lib/task.ts:
|
|
30023
|
+
Defined in: [lib/task.ts:1724](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1724)
|
|
29882
30024
|
|
|
29883
30025
|
绑定事件
|
|
29884
30026
|
|
|
@@ -29902,7 +30044,7 @@ Defined in: [lib/task.ts:1728](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29902
30044
|
|
|
29903
30045
|
> **send**: (`data`) => `void`
|
|
29904
30046
|
|
|
29905
|
-
Defined in: [lib/task.ts:
|
|
30047
|
+
Defined in: [lib/task.ts:1728](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1728)
|
|
29906
30048
|
|
|
29907
30049
|
发送数据
|
|
29908
30050
|
|
|
@@ -29929,7 +30071,7 @@ lib/task/variables/systemTaskInfo.md
|
|
|
29929
30071
|
|
|
29930
30072
|
> **systemTaskInfo**: [`ISystemTaskInfo`](../interfaces/ISystemTaskInfo.md)
|
|
29931
30073
|
|
|
29932
|
-
Defined in: [lib/task.ts:
|
|
30074
|
+
Defined in: [lib/task.ts:1374](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1374)
|
|
29933
30075
|
|
|
29934
30076
|
task 的信息
|
|
29935
30077
|
|
|
@@ -30350,7 +30492,7 @@ lib/tool/enumerations/ESTATE.md
|
|
|
30350
30492
|
|
|
30351
30493
|
# Enumeration: ESTATE
|
|
30352
30494
|
|
|
30353
|
-
Defined in: [lib/tool.ts:
|
|
30495
|
+
Defined in: [lib/tool.ts:1800](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1800)
|
|
30354
30496
|
|
|
30355
30497
|
状态机状态
|
|
30356
30498
|
|
|
@@ -30360,7 +30502,7 @@ Defined in: [lib/tool.ts:1790](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30360
30502
|
|
|
30361
30503
|
> **COMMENT**: `4`
|
|
30362
30504
|
|
|
30363
|
-
Defined in: [lib/tool.ts:
|
|
30505
|
+
Defined in: [lib/tool.ts:1810](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1810)
|
|
30364
30506
|
|
|
30365
30507
|
注释
|
|
30366
30508
|
|
|
@@ -30370,7 +30512,7 @@ Defined in: [lib/tool.ts:1800](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30370
30512
|
|
|
30371
30513
|
> **NORMAL**: `0`
|
|
30372
30514
|
|
|
30373
|
-
Defined in: [lib/tool.ts:
|
|
30515
|
+
Defined in: [lib/tool.ts:1802](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1802)
|
|
30374
30516
|
|
|
30375
30517
|
普通
|
|
30376
30518
|
|
|
@@ -30380,7 +30522,7 @@ Defined in: [lib/tool.ts:1792](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30380
30522
|
|
|
30381
30523
|
> **REG**: `3`
|
|
30382
30524
|
|
|
30383
|
-
Defined in: [lib/tool.ts:
|
|
30525
|
+
Defined in: [lib/tool.ts:1808](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1808)
|
|
30384
30526
|
|
|
30385
30527
|
正则
|
|
30386
30528
|
|
|
@@ -30390,7 +30532,7 @@ Defined in: [lib/tool.ts:1798](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30390
30532
|
|
|
30391
30533
|
> **STRING**: `2`
|
|
30392
30534
|
|
|
30393
|
-
Defined in: [lib/tool.ts:
|
|
30535
|
+
Defined in: [lib/tool.ts:1806](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1806)
|
|
30394
30536
|
|
|
30395
30537
|
字符串
|
|
30396
30538
|
|
|
@@ -30400,7 +30542,7 @@ Defined in: [lib/tool.ts:1796](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30400
30542
|
|
|
30401
30543
|
> **WORD**: `1`
|
|
30402
30544
|
|
|
30403
|
-
Defined in: [lib/tool.ts:
|
|
30545
|
+
Defined in: [lib/tool.ts:1804](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1804)
|
|
30404
30546
|
|
|
30405
30547
|
单词
|
|
30406
30548
|
|
|
@@ -30446,7 +30588,7 @@ lib/tool/functions/blob2DataUrl.md
|
|
|
30446
30588
|
|
|
30447
30589
|
> **blob2DataUrl**(`blob`): `Promise`\<`string`\>
|
|
30448
30590
|
|
|
30449
|
-
Defined in: [lib/tool.ts:
|
|
30591
|
+
Defined in: [lib/tool.ts:1538](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1538)
|
|
30450
30592
|
|
|
30451
30593
|
将 blob 对象转换为 base64 url
|
|
30452
30594
|
|
|
@@ -30477,7 +30619,7 @@ lib/tool/functions/blob2Text.md
|
|
|
30477
30619
|
|
|
30478
30620
|
> **blob2Text**(`blob`): `Promise`\<`string`\>
|
|
30479
30621
|
|
|
30480
|
-
Defined in: [lib/tool.ts:
|
|
30622
|
+
Defined in: [lib/tool.ts:1515](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1515)
|
|
30481
30623
|
|
|
30482
30624
|
将 blob 对象转换为 text
|
|
30483
30625
|
|
|
@@ -30506,7 +30648,7 @@ lib/tool/functions/clone.md
|
|
|
30506
30648
|
|
|
30507
30649
|
> **clone**\<`T`\>(`obj`): `T`
|
|
30508
30650
|
|
|
30509
|
-
Defined in: [lib/tool.ts:
|
|
30651
|
+
Defined in: [lib/tool.ts:251](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L251)
|
|
30510
30652
|
|
|
30511
30653
|
完整的克隆一份数组/对象
|
|
30512
30654
|
|
|
@@ -30528,6 +30670,8 @@ Defined in: [lib/tool.ts:191](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
30528
30670
|
|
|
30529
30671
|
`T`
|
|
30530
30672
|
|
|
30673
|
+
克隆后的对象
|
|
30674
|
+
|
|
30531
30675
|
lib/tool/functions/compar.md
|
|
30532
30676
|
---
|
|
30533
30677
|
|
|
@@ -30541,7 +30685,7 @@ lib/tool/functions/compar.md
|
|
|
30541
30685
|
|
|
30542
30686
|
> **compar**(`before`, `after`): `object`
|
|
30543
30687
|
|
|
30544
|
-
Defined in: [lib/tool.ts:
|
|
30688
|
+
Defined in: [lib/tool.ts:1572](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1572)
|
|
30545
30689
|
|
|
30546
30690
|
- 对比老值和新值,看看新值中哪些移除了,哪些新增了
|
|
30547
30691
|
|
|
@@ -30653,7 +30797,7 @@ lib/tool/functions/escapeHTML.md
|
|
|
30653
30797
|
|
|
30654
30798
|
> **escapeHTML**(`html`): `string`
|
|
30655
30799
|
|
|
30656
|
-
Defined in: [lib/tool.ts:
|
|
30800
|
+
Defined in: [lib/tool.ts:775](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L775)
|
|
30657
30801
|
|
|
30658
30802
|
转义 HTML
|
|
30659
30803
|
|
|
@@ -30682,7 +30826,7 @@ lib/tool/functions/eventsAttrWrap.md
|
|
|
30682
30826
|
|
|
30683
30827
|
> **eventsAttrWrap**(`layout`): `string`
|
|
30684
30828
|
|
|
30685
|
-
Defined in: [lib/tool.ts:
|
|
30829
|
+
Defined in: [lib/tool.ts:538](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L538)
|
|
30686
30830
|
|
|
30687
30831
|
对 layout 的 events 事件进行包裹
|
|
30688
30832
|
|
|
@@ -30711,7 +30855,7 @@ lib/tool/functions/execCommand.md
|
|
|
30711
30855
|
|
|
30712
30856
|
> **execCommand**(`ac`): `void`
|
|
30713
30857
|
|
|
30714
|
-
Defined in: [lib/tool.ts:
|
|
30858
|
+
Defined in: [lib/tool.ts:1559](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1559)
|
|
30715
30859
|
|
|
30716
30860
|
## Parameters
|
|
30717
30861
|
|
|
@@ -30736,7 +30880,7 @@ lib/tool/functions/fetch.md
|
|
|
30736
30880
|
|
|
30737
30881
|
> **fetch**(`url`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
30738
30882
|
|
|
30739
|
-
Defined in: [lib/tool.ts:
|
|
30883
|
+
Defined in: [lib/tool.ts:1152](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1152)
|
|
30740
30884
|
|
|
30741
30885
|
发起 fetch 请求
|
|
30742
30886
|
|
|
@@ -30773,7 +30917,7 @@ lib/tool/functions/formatColor.md
|
|
|
30773
30917
|
|
|
30774
30918
|
> **formatColor**(`color`): `number`[]
|
|
30775
30919
|
|
|
30776
|
-
Defined in: [lib/tool.ts:
|
|
30920
|
+
Defined in: [lib/tool.ts:801](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L801)
|
|
30777
30921
|
|
|
30778
30922
|
将 rgb 或 hsl 等颜色转换为数字数组
|
|
30779
30923
|
|
|
@@ -30802,7 +30946,7 @@ lib/tool/functions/formatSecond.md
|
|
|
30802
30946
|
|
|
30803
30947
|
> **formatSecond**(`second`): `string`
|
|
30804
30948
|
|
|
30805
|
-
Defined in: [lib/tool.ts:
|
|
30949
|
+
Defined in: [lib/tool.ts:1615](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1615)
|
|
30806
30950
|
|
|
30807
30951
|
将秒数格式化为 0:0:0 的字符串
|
|
30808
30952
|
|
|
@@ -30829,7 +30973,7 @@ lib/tool/functions/formatTime.md
|
|
|
30829
30973
|
|
|
30830
30974
|
> **formatTime**(`ts`, `tz?`): `object`
|
|
30831
30975
|
|
|
30832
|
-
Defined in: [lib/tool.ts:
|
|
30976
|
+
Defined in: [lib/tool.ts:1628](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1628)
|
|
30833
30977
|
|
|
30834
30978
|
将日期对象或毫秒级时间戳转换为字符串
|
|
30835
30979
|
|
|
@@ -30876,7 +31020,7 @@ lib/tool/functions/getArray.md
|
|
|
30876
31020
|
|
|
30877
31021
|
> **getArray**(`param`): `any`[]
|
|
30878
31022
|
|
|
30879
|
-
Defined in: [lib/tool.ts:
|
|
31023
|
+
Defined in: [lib/tool.ts:750](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L750)
|
|
30880
31024
|
|
|
30881
31025
|
根据参数获取最终的数组型,可传入类似 [1,2,3] 或 1,2,3
|
|
30882
31026
|
|
|
@@ -30905,7 +31049,7 @@ lib/tool/functions/getBoolean.md
|
|
|
30905
31049
|
|
|
30906
31050
|
> **getBoolean**(`param`): `boolean`
|
|
30907
31051
|
|
|
30908
|
-
Defined in: [lib/tool.ts:
|
|
31052
|
+
Defined in: [lib/tool.ts:724](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L724)
|
|
30909
31053
|
|
|
30910
31054
|
根据参数获取最终的布尔值
|
|
30911
31055
|
|
|
@@ -30975,7 +31119,7 @@ lib/tool/functions/get.md
|
|
|
30975
31119
|
|
|
30976
31120
|
> **get**(`url`, `init?`, `opt?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
30977
31121
|
|
|
30978
|
-
Defined in: [lib/tool.ts:
|
|
31122
|
+
Defined in: [lib/tool.ts:1178](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1178)
|
|
30979
31123
|
|
|
30980
31124
|
发起 GET 请求
|
|
30981
31125
|
|
|
@@ -31022,7 +31166,7 @@ lib/tool/functions/getMimeByPath.md
|
|
|
31022
31166
|
|
|
31023
31167
|
> **getMimeByPath**(`path`): `object`
|
|
31024
31168
|
|
|
31025
|
-
Defined in: [lib/tool.ts:
|
|
31169
|
+
Defined in: [lib/tool.ts:646](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L646)
|
|
31026
31170
|
|
|
31027
31171
|
根据后缀、文件名或路径获取 mime 类型(简单版,完整版请使用 @litert/mime.js)
|
|
31028
31172
|
|
|
@@ -31059,7 +31203,7 @@ lib/tool/functions/getNumber.md
|
|
|
31059
31203
|
|
|
31060
31204
|
> **getNumber**(`param`): `number`
|
|
31061
31205
|
|
|
31062
|
-
Defined in: [lib/tool.ts:
|
|
31206
|
+
Defined in: [lib/tool.ts:739](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L739)
|
|
31063
31207
|
|
|
31064
31208
|
根据参数获取最终的数字型
|
|
31065
31209
|
|
|
@@ -31088,7 +31232,7 @@ lib/tool/functions/getResponseJson.md
|
|
|
31088
31232
|
|
|
31089
31233
|
> **getResponseJson**(`url`, `init?`): `Promise`\<`any`\>
|
|
31090
31234
|
|
|
31091
|
-
Defined in: [lib/tool.ts:
|
|
31235
|
+
Defined in: [lib/tool.ts:1230](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1230)
|
|
31092
31236
|
|
|
31093
31237
|
发起 GET 请求并解析 JSON 响应
|
|
31094
31238
|
|
|
@@ -31125,7 +31269,7 @@ lib/tool/functions/hex2rgb.md
|
|
|
31125
31269
|
|
|
31126
31270
|
> **hex2rgb**(`hex`): `object`
|
|
31127
31271
|
|
|
31128
|
-
Defined in: [lib/tool.ts:
|
|
31272
|
+
Defined in: [lib/tool.ts:850](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L850)
|
|
31129
31273
|
|
|
31130
31274
|
hex 转换为 rgba,#27ae60ff, 27ae60 #fff
|
|
31131
31275
|
|
|
@@ -31174,7 +31318,7 @@ lib/tool/functions/hsl2rgb.md
|
|
|
31174
31318
|
|
|
31175
31319
|
> **hsl2rgb**(`h`, `s?`, `l?`, `a?`, `decimal?`): `object`
|
|
31176
31320
|
|
|
31177
|
-
Defined in: [lib/tool.ts:
|
|
31321
|
+
Defined in: [lib/tool.ts:994](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L994)
|
|
31178
31322
|
|
|
31179
31323
|
hsl 字符串转 rgb 数组
|
|
31180
31324
|
|
|
@@ -31247,7 +31391,7 @@ lib/tool/functions/isEscapeChar.md
|
|
|
31247
31391
|
|
|
31248
31392
|
> **isEscapeChar**(`code`, `index`): `boolean`
|
|
31249
31393
|
|
|
31250
|
-
Defined in: [lib/tool.ts:
|
|
31394
|
+
Defined in: [lib/tool.ts:1790](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1790)
|
|
31251
31395
|
|
|
31252
31396
|
判断字符是否是转义字符
|
|
31253
31397
|
|
|
@@ -31284,7 +31428,7 @@ lib/tool/functions/isEscaped.md
|
|
|
31284
31428
|
|
|
31285
31429
|
> **isEscaped**(`str`, `pos`): `boolean`
|
|
31286
31430
|
|
|
31287
|
-
Defined in: [lib/tool.ts:
|
|
31431
|
+
Defined in: [lib/tool.ts:1719](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1719)
|
|
31288
31432
|
|
|
31289
31433
|
转义字符检查
|
|
31290
31434
|
检查指定位置的字符是否被转义
|
|
@@ -31322,7 +31466,7 @@ lib/tool/functions/isFalsy.md
|
|
|
31322
31466
|
|
|
31323
31467
|
> **isFalsy**(`val`): `val is TFalsy`
|
|
31324
31468
|
|
|
31325
|
-
Defined in: [lib/tool.ts:
|
|
31469
|
+
Defined in: [lib/tool.ts:2553](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2553)
|
|
31326
31470
|
|
|
31327
31471
|
判断一个值是否是虚假的(为 null/undefined/空字符串/false/0)
|
|
31328
31472
|
|
|
@@ -31351,7 +31495,7 @@ lib/tool/functions/isMs.md
|
|
|
31351
31495
|
|
|
31352
31496
|
> **isMs**(`time`): `boolean`
|
|
31353
31497
|
|
|
31354
|
-
Defined in: [lib/tool.ts:
|
|
31498
|
+
Defined in: [lib/tool.ts:1655](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1655)
|
|
31355
31499
|
|
|
31356
31500
|
是否是毫秒
|
|
31357
31501
|
|
|
@@ -31380,7 +31524,7 @@ lib/tool/functions/isTruthy.md
|
|
|
31380
31524
|
|
|
31381
31525
|
> **isTruthy**(`val`): `val is any`
|
|
31382
31526
|
|
|
31383
|
-
Defined in: [lib/tool.ts:
|
|
31527
|
+
Defined in: [lib/tool.ts:2561](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2561)
|
|
31384
31528
|
|
|
31385
31529
|
判断一个值是否是真实的(不为 null/undefined/空字符串/false/0)
|
|
31386
31530
|
|
|
@@ -31409,7 +31553,7 @@ lib/tool/functions/layoutAddTagClassAndReTagName.md
|
|
|
31409
31553
|
|
|
31410
31554
|
> **layoutAddTagClassAndReTagName**(`layout`, `retagname`): `string`
|
|
31411
31555
|
|
|
31412
|
-
Defined in: [lib/tool.ts:
|
|
31556
|
+
Defined in: [lib/tool.ts:364](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L364)
|
|
31413
31557
|
|
|
31414
31558
|
给标签增加 tag-tagname 的 class,同时给标签增加 cg- 前导(仅字符串,不是操作真实 dom)
|
|
31415
31559
|
|
|
@@ -31444,7 +31588,7 @@ lib/tool/functions/layoutClassPrepend.md
|
|
|
31444
31588
|
|
|
31445
31589
|
> **layoutClassPrepend**(`layout`, `preps`): `string`
|
|
31446
31590
|
|
|
31447
|
-
Defined in: [lib/tool.ts:
|
|
31591
|
+
Defined in: [lib/tool.ts:482](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L482)
|
|
31448
31592
|
|
|
31449
31593
|
给 class 增加 scope 的随机前缀,给 id 新增前缀
|
|
31450
31594
|
|
|
@@ -31479,7 +31623,7 @@ lib/tool/functions/layoutInsertAttr.md
|
|
|
31479
31623
|
|
|
31480
31624
|
> **layoutInsertAttr**(`layout`, `insert`, `opt?`): `string`
|
|
31481
31625
|
|
|
31482
|
-
Defined in: [lib/tool.ts:
|
|
31626
|
+
Defined in: [lib/tool.ts:423](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L423)
|
|
31483
31627
|
|
|
31484
31628
|
给标签追加 attr,即使 attr 存在也会追加上一个新的(非真实 DOM 操作,仅仅是对字符串进行处理)
|
|
31485
31629
|
|
|
@@ -31526,7 +31670,7 @@ lib/tool/functions/loadLink.md
|
|
|
31526
31670
|
|
|
31527
31671
|
> **loadLink**(`url`, `pos?`): `Promise`\<`boolean`\>
|
|
31528
31672
|
|
|
31529
|
-
Defined in: [lib/tool.ts:
|
|
31673
|
+
Defined in: [lib/tool.ts:2504](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2504)
|
|
31530
31674
|
|
|
31531
31675
|
加载 css 文件
|
|
31532
31676
|
|
|
@@ -31561,7 +31705,7 @@ lib/tool/functions/loadLinks.md
|
|
|
31561
31705
|
|
|
31562
31706
|
> **loadLinks**(`urls`, `opt?`): `Promise`\<`void`\>
|
|
31563
31707
|
|
|
31564
|
-
Defined in: [lib/tool.ts:
|
|
31708
|
+
Defined in: [lib/tool.ts:2530](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2530)
|
|
31565
31709
|
|
|
31566
31710
|
批量加载 css 文件
|
|
31567
31711
|
|
|
@@ -31598,7 +31742,7 @@ lib/tool/functions/loadScript.md
|
|
|
31598
31742
|
|
|
31599
31743
|
> **loadScript**(`url`): `Promise`\<`boolean`\>
|
|
31600
31744
|
|
|
31601
|
-
Defined in: [lib/tool.ts:
|
|
31745
|
+
Defined in: [lib/tool.ts:2471](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2471)
|
|
31602
31746
|
|
|
31603
31747
|
加载脚本
|
|
31604
31748
|
|
|
@@ -31627,7 +31771,7 @@ lib/tool/functions/loadScripts.md
|
|
|
31627
31771
|
|
|
31628
31772
|
> **loadScripts**(`urls`, `opt?`): `Promise`\<`void`\>
|
|
31629
31773
|
|
|
31630
|
-
Defined in: [lib/tool.ts:
|
|
31774
|
+
Defined in: [lib/tool.ts:2490](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2490)
|
|
31631
31775
|
|
|
31632
31776
|
批量加载 js 文件
|
|
31633
31777
|
|
|
@@ -31664,7 +31808,7 @@ lib/tool/functions/loadStyle.md
|
|
|
31664
31808
|
|
|
31665
31809
|
> **loadStyle**(`style`): `void`
|
|
31666
31810
|
|
|
31667
|
-
Defined in: [lib/tool.ts:
|
|
31811
|
+
Defined in: [lib/tool.ts:2543](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2543)
|
|
31668
31812
|
|
|
31669
31813
|
加载 css 字符串
|
|
31670
31814
|
|
|
@@ -31693,7 +31837,7 @@ lib/tool/functions/logicalOr.md
|
|
|
31693
31837
|
|
|
31694
31838
|
> **logicalOr**\<`T`, `T2`\>(`v1`, `v2`): \[`T`\] *extends* \[[`TFalsy`](../type-aliases/TFalsy.md)\] ? `T2` : `T`
|
|
31695
31839
|
|
|
31696
|
-
Defined in: [lib/tool.ts:
|
|
31840
|
+
Defined in: [lib/tool.ts:2570](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2570)
|
|
31697
31841
|
|
|
31698
31842
|
类似 || 运算符的效果
|
|
31699
31843
|
|
|
@@ -31738,7 +31882,7 @@ lib/tool/functions/match.md
|
|
|
31738
31882
|
|
|
31739
31883
|
> **match**(`str`, `regs`): `boolean`
|
|
31740
31884
|
|
|
31741
|
-
Defined in: [lib/tool.ts:
|
|
31885
|
+
Defined in: [lib/tool.ts:320](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L320)
|
|
31742
31886
|
|
|
31743
31887
|
传入正则进行匹配 str 是否有一项满足
|
|
31744
31888
|
|
|
@@ -31773,7 +31917,7 @@ lib/tool/functions/nextFrame.md
|
|
|
31773
31917
|
|
|
31774
31918
|
> **nextFrame**(): `Promise`\<`void`\>
|
|
31775
31919
|
|
|
31776
|
-
Defined in: [lib/tool.ts:
|
|
31920
|
+
Defined in: [lib/tool.ts:274](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L274)
|
|
31777
31921
|
|
|
31778
31922
|
等待浏览器帧
|
|
31779
31923
|
|
|
@@ -31794,7 +31938,7 @@ lib/tool/functions/parseArrayString.md
|
|
|
31794
31938
|
|
|
31795
31939
|
> **parseArrayString**(`arrayStr`): `string`[]
|
|
31796
31940
|
|
|
31797
|
-
Defined in: [lib/tool.ts:
|
|
31941
|
+
Defined in: [lib/tool.ts:1734](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1734)
|
|
31798
31942
|
|
|
31799
31943
|
数组字符串解析器
|
|
31800
31944
|
解析数组字符串为各元素组成的字符串数组
|
|
@@ -31826,7 +31970,7 @@ lib/tool/functions/parseUrl.md
|
|
|
31826
31970
|
|
|
31827
31971
|
> **parseUrl**(`url`): [`IUrl`](../interfaces/IUrl.md)
|
|
31828
31972
|
|
|
31829
|
-
Defined in: [lib/tool.ts:
|
|
31973
|
+
Defined in: [lib/tool.ts:1356](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1356)
|
|
31830
31974
|
|
|
31831
31975
|
传输 url 并解析为 IUrl 对象
|
|
31832
31976
|
|
|
@@ -31855,7 +31999,7 @@ lib/tool/functions/post.md
|
|
|
31855
31999
|
|
|
31856
32000
|
> **post**(`url`, `data`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
31857
32001
|
|
|
31858
|
-
Defined in: [lib/tool.ts:
|
|
32002
|
+
Defined in: [lib/tool.ts:1205](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1205)
|
|
31859
32003
|
|
|
31860
32004
|
发起 POST 请求(除 FormData 外都会转换为 JSON 提交)
|
|
31861
32005
|
|
|
@@ -31898,7 +32042,7 @@ lib/tool/functions/postResponseEventStream.md
|
|
|
31898
32042
|
|
|
31899
32043
|
> **postResponseEventStream**(`url`, `data`, `opts?`): `AbortController`
|
|
31900
32044
|
|
|
31901
|
-
Defined in: [lib/tool.ts:
|
|
32045
|
+
Defined in: [lib/tool.ts:1253](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1253)
|
|
31902
32046
|
|
|
31903
32047
|
发起 JSON 请求并获得文本 SSE 响应
|
|
31904
32048
|
|
|
@@ -31973,7 +32117,7 @@ lib/tool/functions/postResponseJson.md
|
|
|
31973
32117
|
|
|
31974
32118
|
> **postResponseJson**(`url`, `data`, `init?`): `Promise`\<`any`\>
|
|
31975
32119
|
|
|
31976
|
-
Defined in: [lib/tool.ts:
|
|
32120
|
+
Defined in: [lib/tool.ts:1334](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1334)
|
|
31977
32121
|
|
|
31978
32122
|
发起 POST 请求并解析 JSON 响应
|
|
31979
32123
|
|
|
@@ -32016,7 +32160,7 @@ lib/tool/functions/purify.md
|
|
|
32016
32160
|
|
|
32017
32161
|
> **purify**(`text`): `string`
|
|
32018
32162
|
|
|
32019
|
-
Defined in: [lib/tool.ts:
|
|
32163
|
+
Defined in: [lib/tool.ts:299](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L299)
|
|
32020
32164
|
|
|
32021
32165
|
去除 html 的空白符、换行以及注释
|
|
32022
32166
|
|
|
@@ -32045,7 +32189,7 @@ lib/tool/functions/queryParse.md
|
|
|
32045
32189
|
|
|
32046
32190
|
> **queryParse**(`query`): `Record`\<`string`, `string` \| `string`[]\>
|
|
32047
32191
|
|
|
32048
|
-
Defined in: [lib/tool.ts:
|
|
32192
|
+
Defined in: [lib/tool.ts:1685](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1685)
|
|
32049
32193
|
|
|
32050
32194
|
将 query string 转换为对象
|
|
32051
32195
|
|
|
@@ -32074,7 +32218,7 @@ lib/tool/functions/queryStringify.md
|
|
|
32074
32218
|
|
|
32075
32219
|
> **queryStringify**(`query`, `encode?`): `string`
|
|
32076
32220
|
|
|
32077
|
-
Defined in: [lib/tool.ts:
|
|
32221
|
+
Defined in: [lib/tool.ts:1664](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1664)
|
|
32078
32222
|
|
|
32079
32223
|
将对象转换为 query string
|
|
32080
32224
|
|
|
@@ -32109,7 +32253,7 @@ lib/tool/functions/rand.md
|
|
|
32109
32253
|
|
|
32110
32254
|
> **rand**(`min`, `max`, `prec?`): `number`
|
|
32111
32255
|
|
|
32112
|
-
Defined in: [lib/tool.ts:
|
|
32256
|
+
Defined in: [lib/tool.ts:672](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L672)
|
|
32113
32257
|
|
|
32114
32258
|
生成范围内的随机数
|
|
32115
32259
|
|
|
@@ -32150,7 +32294,7 @@ lib/tool/functions/random.md
|
|
|
32150
32294
|
|
|
32151
32295
|
> **random**(`length?`, `source?`, `block?`): `string`
|
|
32152
32296
|
|
|
32153
|
-
Defined in: [lib/tool.ts:
|
|
32297
|
+
Defined in: [lib/tool.ts:701](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L701)
|
|
32154
32298
|
|
|
32155
32299
|
生成随机字符串
|
|
32156
32300
|
|
|
@@ -32193,7 +32337,7 @@ lib/tool/functions/request.md
|
|
|
32193
32337
|
|
|
32194
32338
|
> **request**(`url`, `opt`): `Promise`\<`any`\>
|
|
32195
32339
|
|
|
32196
|
-
Defined in: [lib/tool.ts:
|
|
32340
|
+
Defined in: [lib/tool.ts:1059](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1059)
|
|
32197
32341
|
|
|
32198
32342
|
发起一个网络请求,若是返回值是 JSON 则自动解析,否则直接返回字符串
|
|
32199
32343
|
|
|
@@ -32228,7 +32372,7 @@ lib/tool/functions/rgb2hex.md
|
|
|
32228
32372
|
|
|
32229
32373
|
> **rgb2hex**(`r`, `g?`, `b?`, `a?`): `string`
|
|
32230
32374
|
|
|
32231
|
-
Defined in: [lib/tool.ts:
|
|
32375
|
+
Defined in: [lib/tool.ts:818](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L818)
|
|
32232
32376
|
|
|
32233
32377
|
将 r, g, b 转换为 hex 字符串,不含 #
|
|
32234
32378
|
|
|
@@ -32273,7 +32417,7 @@ lib/tool/functions/rgb2hsl.md
|
|
|
32273
32417
|
|
|
32274
32418
|
> **rgb2hsl**(`r`, `g?`, `b?`, `a?`, `decimal?`): `object`
|
|
32275
32419
|
|
|
32276
|
-
Defined in: [lib/tool.ts:
|
|
32420
|
+
Defined in: [lib/tool.ts:891](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L891)
|
|
32277
32421
|
|
|
32278
32422
|
rgb 字符串转 hsl 数组
|
|
32279
32423
|
|
|
@@ -32412,7 +32556,7 @@ lib/tool/functions/sleepFrame.md
|
|
|
32412
32556
|
|
|
32413
32557
|
> **sleepFrame**(`count`): `Promise`\<`void`\>
|
|
32414
32558
|
|
|
32415
|
-
Defined in: [lib/tool.ts:
|
|
32559
|
+
Defined in: [lib/tool.ts:286](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L286)
|
|
32416
32560
|
|
|
32417
32561
|
等待浏览器帧
|
|
32418
32562
|
|
|
@@ -32441,7 +32585,7 @@ lib/tool/functions/sleep.md
|
|
|
32441
32585
|
|
|
32442
32586
|
> **sleep**(`ms?`): `Promise`\<`boolean`\>
|
|
32443
32587
|
|
|
32444
|
-
Defined in: [lib/tool.ts:
|
|
32588
|
+
Defined in: [lib/tool.ts:259](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L259)
|
|
32445
32589
|
|
|
32446
32590
|
等待毫秒
|
|
32447
32591
|
|
|
@@ -32470,7 +32614,7 @@ lib/tool/functions/stateMachine.md
|
|
|
32470
32614
|
|
|
32471
32615
|
> **stateMachine**(`code`, `start`, `process`): `void`
|
|
32472
32616
|
|
|
32473
|
-
Defined in: [lib/tool.ts:
|
|
32617
|
+
Defined in: [lib/tool.ts:1820](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1820)
|
|
32474
32618
|
|
|
32475
32619
|
状态机
|
|
32476
32620
|
|
|
@@ -32513,7 +32657,7 @@ lib/tool/functions/stylePrepend.md
|
|
|
32513
32657
|
|
|
32514
32658
|
> **stylePrepend**(`style`, `prep?`): `object`
|
|
32515
32659
|
|
|
32516
|
-
Defined in: [lib/tool.ts:
|
|
32660
|
+
Defined in: [lib/tool.ts:569](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L569)
|
|
32517
32661
|
|
|
32518
32662
|
给 class 前部增加唯一标识符
|
|
32519
32663
|
|
|
@@ -32556,7 +32700,7 @@ lib/tool/functions/styleUrl2DataUrl.md
|
|
|
32556
32700
|
|
|
32557
32701
|
> **styleUrl2DataUrl**(`path`, `style`, `files`): `Promise`\<`string`\>
|
|
32558
32702
|
|
|
32559
|
-
Defined in: [lib/tool.ts:
|
|
32703
|
+
Defined in: [lib/tool.ts:335](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L335)
|
|
32560
32704
|
|
|
32561
32705
|
将 style 中的 url 转换成 base64 data url
|
|
32562
32706
|
|
|
@@ -32597,7 +32741,7 @@ lib/tool/functions/teleportGlue.md
|
|
|
32597
32741
|
|
|
32598
32742
|
> **teleportGlue**(`layout`, `formId`): `string`
|
|
32599
32743
|
|
|
32600
|
-
Defined in: [lib/tool.ts:
|
|
32744
|
+
Defined in: [lib/tool.ts:554](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L554)
|
|
32601
32745
|
|
|
32602
32746
|
对 layout 的 teleport 做转义处理为 vue 识别的内容
|
|
32603
32747
|
|
|
@@ -32632,7 +32776,7 @@ lib/tool/functions/unescapeHTML.md
|
|
|
32632
32776
|
|
|
32633
32777
|
> **unescapeHTML**(`html`): `string`
|
|
32634
32778
|
|
|
32635
|
-
Defined in: [lib/tool.ts:
|
|
32779
|
+
Defined in: [lib/tool.ts:787](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L787)
|
|
32636
32780
|
|
|
32637
32781
|
还原转义后的 HTML
|
|
32638
32782
|
|
|
@@ -32661,7 +32805,7 @@ lib/tool/functions/urlAtom.md
|
|
|
32661
32805
|
|
|
32662
32806
|
> **urlAtom**(`url`): `string`
|
|
32663
32807
|
|
|
32664
|
-
Defined in: [lib/tool.ts:
|
|
32808
|
+
Defined in: [lib/tool.ts:1498](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1498)
|
|
32665
32809
|
|
|
32666
32810
|
处理 URL 中的 .. / . 等
|
|
32667
32811
|
|
|
@@ -32688,7 +32832,7 @@ lib/tool/functions/urlResolve.md
|
|
|
32688
32832
|
|
|
32689
32833
|
> **urlResolve**(`from`, `to`): `string`
|
|
32690
32834
|
|
|
32691
|
-
Defined in: [lib/tool.ts:
|
|
32835
|
+
Defined in: [lib/tool.ts:1439](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1439)
|
|
32692
32836
|
|
|
32693
32837
|
将相对路径根据基准路径进行转换
|
|
32694
32838
|
|
|
@@ -32895,7 +33039,7 @@ lib/tool/interfaces/IRequestOptions.md
|
|
|
32895
33039
|
|
|
32896
33040
|
# Interface: IRequestOptions
|
|
32897
33041
|
|
|
32898
|
-
Defined in: [lib/tool.ts:
|
|
33042
|
+
Defined in: [lib/tool.ts:2648](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2648)
|
|
32899
33043
|
|
|
32900
33044
|
请求选项
|
|
32901
33045
|
|
|
@@ -32905,7 +33049,7 @@ Defined in: [lib/tool.ts:2638](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32905
33049
|
|
|
32906
33050
|
> `optional` **body?**: `FormData`
|
|
32907
33051
|
|
|
32908
|
-
Defined in: [lib/tool.ts:
|
|
33052
|
+
Defined in: [lib/tool.ts:2651](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2651)
|
|
32909
33053
|
|
|
32910
33054
|
***
|
|
32911
33055
|
|
|
@@ -32913,7 +33057,7 @@ Defined in: [lib/tool.ts:2641](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32913
33057
|
|
|
32914
33058
|
> `optional` **credentials?**: `boolean`
|
|
32915
33059
|
|
|
32916
|
-
Defined in: [lib/tool.ts:
|
|
33060
|
+
Defined in: [lib/tool.ts:2649](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2649)
|
|
32917
33061
|
|
|
32918
33062
|
***
|
|
32919
33063
|
|
|
@@ -32921,7 +33065,7 @@ Defined in: [lib/tool.ts:2639](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32921
33065
|
|
|
32922
33066
|
> `optional` **end?**: () => `void` \| `Promise`\<`void`\>
|
|
32923
33067
|
|
|
32924
|
-
Defined in: [lib/tool.ts:
|
|
33068
|
+
Defined in: [lib/tool.ts:2660](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2660)
|
|
32925
33069
|
|
|
32926
33070
|
#### Returns
|
|
32927
33071
|
|
|
@@ -32933,7 +33077,7 @@ Defined in: [lib/tool.ts:2650](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32933
33077
|
|
|
32934
33078
|
> `optional` **error?**: () => `void` \| `Promise`\<`void`\>
|
|
32935
33079
|
|
|
32936
|
-
Defined in: [lib/tool.ts:
|
|
33080
|
+
Defined in: [lib/tool.ts:2663](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2663)
|
|
32937
33081
|
|
|
32938
33082
|
#### Returns
|
|
32939
33083
|
|
|
@@ -32945,7 +33089,7 @@ Defined in: [lib/tool.ts:2653](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32945
33089
|
|
|
32946
33090
|
> `optional` **headers?**: `HeadersInit`
|
|
32947
33091
|
|
|
32948
|
-
Defined in: [lib/tool.ts:
|
|
33092
|
+
Defined in: [lib/tool.ts:2654](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2654)
|
|
32949
33093
|
|
|
32950
33094
|
***
|
|
32951
33095
|
|
|
@@ -32953,7 +33097,7 @@ Defined in: [lib/tool.ts:2644](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32953
33097
|
|
|
32954
33098
|
> `optional` **load?**: (`res`) => `void` \| `Promise`\<`void`\>
|
|
32955
33099
|
|
|
32956
|
-
Defined in: [lib/tool.ts:
|
|
33100
|
+
Defined in: [lib/tool.ts:2662](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2662)
|
|
32957
33101
|
|
|
32958
33102
|
#### Parameters
|
|
32959
33103
|
|
|
@@ -32971,7 +33115,7 @@ Defined in: [lib/tool.ts:2652](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32971
33115
|
|
|
32972
33116
|
> `optional` **method?**: `"GET"` \| `"POST"`
|
|
32973
33117
|
|
|
32974
|
-
Defined in: [lib/tool.ts:
|
|
33118
|
+
Defined in: [lib/tool.ts:2650](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2650)
|
|
32975
33119
|
|
|
32976
33120
|
***
|
|
32977
33121
|
|
|
@@ -32979,7 +33123,7 @@ Defined in: [lib/tool.ts:2640](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32979
33123
|
|
|
32980
33124
|
> `optional` **progress?**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
|
|
32981
33125
|
|
|
32982
|
-
Defined in: [lib/tool.ts:
|
|
33126
|
+
Defined in: [lib/tool.ts:2661](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2661)
|
|
32983
33127
|
|
|
32984
33128
|
#### Parameters
|
|
32985
33129
|
|
|
@@ -33001,7 +33145,7 @@ Defined in: [lib/tool.ts:2651](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33001
33145
|
|
|
33002
33146
|
> `optional` **responseType?**: `XMLHttpRequestResponseType`
|
|
33003
33147
|
|
|
33004
|
-
Defined in: [lib/tool.ts:
|
|
33148
|
+
Defined in: [lib/tool.ts:2653](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2653)
|
|
33005
33149
|
|
|
33006
33150
|
***
|
|
33007
33151
|
|
|
@@ -33009,7 +33153,7 @@ Defined in: [lib/tool.ts:2643](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33009
33153
|
|
|
33010
33154
|
> `optional` **start?**: (`total`) => `void` \| `Promise`\<`void`\>
|
|
33011
33155
|
|
|
33012
|
-
Defined in: [lib/tool.ts:
|
|
33156
|
+
Defined in: [lib/tool.ts:2659](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2659)
|
|
33013
33157
|
|
|
33014
33158
|
#### Parameters
|
|
33015
33159
|
|
|
@@ -33027,7 +33171,7 @@ Defined in: [lib/tool.ts:2649](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33027
33171
|
|
|
33028
33172
|
> `optional` **timeout?**: `number`
|
|
33029
33173
|
|
|
33030
|
-
Defined in: [lib/tool.ts:
|
|
33174
|
+
Defined in: [lib/tool.ts:2652](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2652)
|
|
33031
33175
|
|
|
33032
33176
|
***
|
|
33033
33177
|
|
|
@@ -33035,7 +33179,7 @@ Defined in: [lib/tool.ts:2642](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33035
33179
|
|
|
33036
33180
|
> `optional` **uploadEnd?**: () => `void` \| `Promise`\<`void`\>
|
|
33037
33181
|
|
|
33038
|
-
Defined in: [lib/tool.ts:
|
|
33182
|
+
Defined in: [lib/tool.ts:2658](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2658)
|
|
33039
33183
|
|
|
33040
33184
|
#### Returns
|
|
33041
33185
|
|
|
@@ -33047,7 +33191,7 @@ Defined in: [lib/tool.ts:2648](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33047
33191
|
|
|
33048
33192
|
> `optional` **uploadProgress?**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
|
|
33049
33193
|
|
|
33050
|
-
Defined in: [lib/tool.ts:
|
|
33194
|
+
Defined in: [lib/tool.ts:2657](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2657)
|
|
33051
33195
|
|
|
33052
33196
|
#### Parameters
|
|
33053
33197
|
|
|
@@ -33069,7 +33213,7 @@ Defined in: [lib/tool.ts:2647](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33069
33213
|
|
|
33070
33214
|
> `optional` **uploadStart?**: (`total`) => `void` \| `Promise`\<`void`\>
|
|
33071
33215
|
|
|
33072
|
-
Defined in: [lib/tool.ts:
|
|
33216
|
+
Defined in: [lib/tool.ts:2656](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2656)
|
|
33073
33217
|
|
|
33074
33218
|
#### Parameters
|
|
33075
33219
|
|
|
@@ -33092,7 +33236,7 @@ lib/tool/interfaces/IUrl.md
|
|
|
33092
33236
|
|
|
33093
33237
|
# Interface: IUrl
|
|
33094
33238
|
|
|
33095
|
-
Defined in: [lib/tool.ts:
|
|
33239
|
+
Defined in: [lib/tool.ts:2633](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2633)
|
|
33096
33240
|
|
|
33097
33241
|
网址对象
|
|
33098
33242
|
|
|
@@ -33102,7 +33246,7 @@ Defined in: [lib/tool.ts:2623](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33102
33246
|
|
|
33103
33247
|
> **auth**: `string` \| `null`
|
|
33104
33248
|
|
|
33105
|
-
Defined in: [lib/tool.ts:
|
|
33249
|
+
Defined in: [lib/tool.ts:2634](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2634)
|
|
33106
33250
|
|
|
33107
33251
|
***
|
|
33108
33252
|
|
|
@@ -33110,7 +33254,7 @@ Defined in: [lib/tool.ts:2624](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33110
33254
|
|
|
33111
33255
|
> **hash**: `string` \| `null`
|
|
33112
33256
|
|
|
33113
|
-
Defined in: [lib/tool.ts:
|
|
33257
|
+
Defined in: [lib/tool.ts:2635](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2635)
|
|
33114
33258
|
|
|
33115
33259
|
***
|
|
33116
33260
|
|
|
@@ -33118,7 +33262,7 @@ Defined in: [lib/tool.ts:2625](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33118
33262
|
|
|
33119
33263
|
> **host**: `string` \| `null`
|
|
33120
33264
|
|
|
33121
|
-
Defined in: [lib/tool.ts:
|
|
33265
|
+
Defined in: [lib/tool.ts:2636](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2636)
|
|
33122
33266
|
|
|
33123
33267
|
***
|
|
33124
33268
|
|
|
@@ -33126,7 +33270,7 @@ Defined in: [lib/tool.ts:2626](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33126
33270
|
|
|
33127
33271
|
> **hostname**: `string` \| `null`
|
|
33128
33272
|
|
|
33129
|
-
Defined in: [lib/tool.ts:
|
|
33273
|
+
Defined in: [lib/tool.ts:2637](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2637)
|
|
33130
33274
|
|
|
33131
33275
|
***
|
|
33132
33276
|
|
|
@@ -33134,7 +33278,7 @@ Defined in: [lib/tool.ts:2627](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33134
33278
|
|
|
33135
33279
|
> **pass**: `string` \| `null`
|
|
33136
33280
|
|
|
33137
|
-
Defined in: [lib/tool.ts:
|
|
33281
|
+
Defined in: [lib/tool.ts:2638](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2638)
|
|
33138
33282
|
|
|
33139
33283
|
***
|
|
33140
33284
|
|
|
@@ -33142,7 +33286,7 @@ Defined in: [lib/tool.ts:2628](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33142
33286
|
|
|
33143
33287
|
> **path**: `string` \| `null`
|
|
33144
33288
|
|
|
33145
|
-
Defined in: [lib/tool.ts:
|
|
33289
|
+
Defined in: [lib/tool.ts:2639](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2639)
|
|
33146
33290
|
|
|
33147
33291
|
***
|
|
33148
33292
|
|
|
@@ -33150,7 +33294,7 @@ Defined in: [lib/tool.ts:2629](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33150
33294
|
|
|
33151
33295
|
> **pathname**: `string`
|
|
33152
33296
|
|
|
33153
|
-
Defined in: [lib/tool.ts:
|
|
33297
|
+
Defined in: [lib/tool.ts:2640](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2640)
|
|
33154
33298
|
|
|
33155
33299
|
***
|
|
33156
33300
|
|
|
@@ -33158,7 +33302,7 @@ Defined in: [lib/tool.ts:2630](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33158
33302
|
|
|
33159
33303
|
> **port**: `string` \| `null`
|
|
33160
33304
|
|
|
33161
|
-
Defined in: [lib/tool.ts:
|
|
33305
|
+
Defined in: [lib/tool.ts:2642](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2642)
|
|
33162
33306
|
|
|
33163
33307
|
***
|
|
33164
33308
|
|
|
@@ -33166,7 +33310,7 @@ Defined in: [lib/tool.ts:2632](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33166
33310
|
|
|
33167
33311
|
> **protocol**: `string` \| `null`
|
|
33168
33312
|
|
|
33169
|
-
Defined in: [lib/tool.ts:
|
|
33313
|
+
Defined in: [lib/tool.ts:2641](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2641)
|
|
33170
33314
|
|
|
33171
33315
|
***
|
|
33172
33316
|
|
|
@@ -33174,7 +33318,7 @@ Defined in: [lib/tool.ts:2631](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33174
33318
|
|
|
33175
33319
|
> **query**: `string` \| `null`
|
|
33176
33320
|
|
|
33177
|
-
Defined in: [lib/tool.ts:
|
|
33321
|
+
Defined in: [lib/tool.ts:2643](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2643)
|
|
33178
33322
|
|
|
33179
33323
|
***
|
|
33180
33324
|
|
|
@@ -33182,7 +33326,7 @@ Defined in: [lib/tool.ts:2633](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33182
33326
|
|
|
33183
33327
|
> **user**: `string` \| `null`
|
|
33184
33328
|
|
|
33185
|
-
Defined in: [lib/tool.ts:
|
|
33329
|
+
Defined in: [lib/tool.ts:2644](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2644)
|
|
33186
33330
|
|
|
33187
33331
|
lib/tool/type-aliases/TFalsy.md
|
|
33188
33332
|
---
|
|
@@ -33197,7 +33341,7 @@ lib/tool/type-aliases/TFalsy.md
|
|
|
33197
33341
|
|
|
33198
33342
|
> **TFalsy** = `false` \| `""` \| `0` \| `null` \| `undefined` \| *typeof* `NaN`
|
|
33199
33343
|
|
|
33200
|
-
Defined in: [lib/tool.ts:
|
|
33344
|
+
Defined in: [lib/tool.ts:2667](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2667)
|
|
33201
33345
|
|
|
33202
33346
|
虚假值类型
|
|
33203
33347
|
|
|
@@ -33214,7 +33358,7 @@ lib/tool/variables/lang.md
|
|
|
33214
33358
|
|
|
33215
33359
|
> `const` **lang**: `object`
|
|
33216
33360
|
|
|
33217
|
-
Defined in: [lib/tool.ts:
|
|
33361
|
+
Defined in: [lib/tool.ts:2575](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2575)
|
|
33218
33362
|
|
|
33219
33363
|
语言相关
|
|
33220
33364
|
|
|
@@ -33269,7 +33413,7 @@ lib/tool/variables/RANDOM_L.md
|
|
|
33269
33413
|
|
|
33270
33414
|
> `const` **RANDOM\_L**: `"abcdefghijklmnopqrstuvwxyz"` = `'abcdefghijklmnopqrstuvwxyz'`
|
|
33271
33415
|
|
|
33272
|
-
Defined in: [lib/tool.ts:
|
|
33416
|
+
Defined in: [lib/tool.ts:685](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L685)
|
|
33273
33417
|
|
|
33274
33418
|
lib/tool/variables/RANDOM_LN.md
|
|
33275
33419
|
---
|
|
@@ -33284,7 +33428,7 @@ lib/tool/variables/RANDOM_LN.md
|
|
|
33284
33428
|
|
|
33285
33429
|
> `const` **RANDOM\_LN**: `string`
|
|
33286
33430
|
|
|
33287
|
-
Defined in: [lib/tool.ts:
|
|
33431
|
+
Defined in: [lib/tool.ts:688](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L688)
|
|
33288
33432
|
|
|
33289
33433
|
lib/tool/variables/RANDOM_LU.md
|
|
33290
33434
|
---
|
|
@@ -33299,7 +33443,7 @@ lib/tool/variables/RANDOM_LU.md
|
|
|
33299
33443
|
|
|
33300
33444
|
> `const` **RANDOM\_LU**: `string`
|
|
33301
33445
|
|
|
33302
|
-
Defined in: [lib/tool.ts:
|
|
33446
|
+
Defined in: [lib/tool.ts:689](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L689)
|
|
33303
33447
|
|
|
33304
33448
|
lib/tool/variables/RANDOM_LUN.md
|
|
33305
33449
|
---
|
|
@@ -33314,7 +33458,7 @@ lib/tool/variables/RANDOM_LUN.md
|
|
|
33314
33458
|
|
|
33315
33459
|
> `const` **RANDOM\_LUN**: `string`
|
|
33316
33460
|
|
|
33317
|
-
Defined in: [lib/tool.ts:
|
|
33461
|
+
Defined in: [lib/tool.ts:690](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L690)
|
|
33318
33462
|
|
|
33319
33463
|
lib/tool/variables/RANDOM_LUNS.md
|
|
33320
33464
|
---
|
|
@@ -33329,7 +33473,7 @@ lib/tool/variables/RANDOM_LUNS.md
|
|
|
33329
33473
|
|
|
33330
33474
|
> `const` **RANDOM\_LUNS**: `string`
|
|
33331
33475
|
|
|
33332
|
-
Defined in: [lib/tool.ts:
|
|
33476
|
+
Defined in: [lib/tool.ts:692](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L692)
|
|
33333
33477
|
|
|
33334
33478
|
lib/tool/variables/RANDOM_N.md
|
|
33335
33479
|
---
|
|
@@ -33344,7 +33488,7 @@ lib/tool/variables/RANDOM_N.md
|
|
|
33344
33488
|
|
|
33345
33489
|
> `const` **RANDOM\_N**: `"0123456789"` = `'0123456789'`
|
|
33346
33490
|
|
|
33347
|
-
Defined in: [lib/tool.ts:
|
|
33491
|
+
Defined in: [lib/tool.ts:683](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L683)
|
|
33348
33492
|
|
|
33349
33493
|
lib/tool/variables/RANDOM_U.md
|
|
33350
33494
|
---
|
|
@@ -33359,7 +33503,7 @@ lib/tool/variables/RANDOM_U.md
|
|
|
33359
33503
|
|
|
33360
33504
|
> `const` **RANDOM\_U**: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ"` = `'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
|
33361
33505
|
|
|
33362
|
-
Defined in: [lib/tool.ts:
|
|
33506
|
+
Defined in: [lib/tool.ts:684](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L684)
|
|
33363
33507
|
|
|
33364
33508
|
lib/tool/variables/RANDOM_UN.md
|
|
33365
33509
|
---
|
|
@@ -33374,7 +33518,7 @@ lib/tool/variables/RANDOM_UN.md
|
|
|
33374
33518
|
|
|
33375
33519
|
> `const` **RANDOM\_UN**: `string`
|
|
33376
33520
|
|
|
33377
|
-
Defined in: [lib/tool.ts:
|
|
33521
|
+
Defined in: [lib/tool.ts:687](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L687)
|
|
33378
33522
|
|
|
33379
33523
|
lib/tool/variables/RANDOM_V.md
|
|
33380
33524
|
---
|
|
@@ -33389,7 +33533,7 @@ lib/tool/variables/RANDOM_V.md
|
|
|
33389
33533
|
|
|
33390
33534
|
> `const` **RANDOM\_V**: `"ACEFGHJKLMNPRSTWXY34567"` = `'ACEFGHJKLMNPRSTWXY34567'`
|
|
33391
33535
|
|
|
33392
|
-
Defined in: [lib/tool.ts:
|
|
33536
|
+
Defined in: [lib/tool.ts:691](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L691)
|
|
33393
33537
|
|
|
33394
33538
|
lib/zip/classes/Zip.md
|
|
33395
33539
|
---
|