clickgo 6.4.0 → 6.4.1
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/tool.d.ts +1 -0
- package/doc/clickgo-rag.md +283 -171
- 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)
|
|
18846
18887
|
|
|
18847
|
-
添加监视 Element
|
|
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)
|
|
18934
|
+
|
|
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
|
|
|
@@ -30350,7 +30460,7 @@ lib/tool/enumerations/ESTATE.md
|
|
|
30350
30460
|
|
|
30351
30461
|
# Enumeration: ESTATE
|
|
30352
30462
|
|
|
30353
|
-
Defined in: [lib/tool.ts:
|
|
30463
|
+
Defined in: [lib/tool.ts:1800](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1800)
|
|
30354
30464
|
|
|
30355
30465
|
状态机状态
|
|
30356
30466
|
|
|
@@ -30360,7 +30470,7 @@ Defined in: [lib/tool.ts:1790](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30360
30470
|
|
|
30361
30471
|
> **COMMENT**: `4`
|
|
30362
30472
|
|
|
30363
|
-
Defined in: [lib/tool.ts:
|
|
30473
|
+
Defined in: [lib/tool.ts:1810](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1810)
|
|
30364
30474
|
|
|
30365
30475
|
注释
|
|
30366
30476
|
|
|
@@ -30370,7 +30480,7 @@ Defined in: [lib/tool.ts:1800](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30370
30480
|
|
|
30371
30481
|
> **NORMAL**: `0`
|
|
30372
30482
|
|
|
30373
|
-
Defined in: [lib/tool.ts:
|
|
30483
|
+
Defined in: [lib/tool.ts:1802](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1802)
|
|
30374
30484
|
|
|
30375
30485
|
普通
|
|
30376
30486
|
|
|
@@ -30380,7 +30490,7 @@ Defined in: [lib/tool.ts:1792](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30380
30490
|
|
|
30381
30491
|
> **REG**: `3`
|
|
30382
30492
|
|
|
30383
|
-
Defined in: [lib/tool.ts:
|
|
30493
|
+
Defined in: [lib/tool.ts:1808](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1808)
|
|
30384
30494
|
|
|
30385
30495
|
正则
|
|
30386
30496
|
|
|
@@ -30390,7 +30500,7 @@ Defined in: [lib/tool.ts:1798](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30390
30500
|
|
|
30391
30501
|
> **STRING**: `2`
|
|
30392
30502
|
|
|
30393
|
-
Defined in: [lib/tool.ts:
|
|
30503
|
+
Defined in: [lib/tool.ts:1806](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1806)
|
|
30394
30504
|
|
|
30395
30505
|
字符串
|
|
30396
30506
|
|
|
@@ -30400,7 +30510,7 @@ Defined in: [lib/tool.ts:1796](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30400
30510
|
|
|
30401
30511
|
> **WORD**: `1`
|
|
30402
30512
|
|
|
30403
|
-
Defined in: [lib/tool.ts:
|
|
30513
|
+
Defined in: [lib/tool.ts:1804](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1804)
|
|
30404
30514
|
|
|
30405
30515
|
单词
|
|
30406
30516
|
|
|
@@ -30446,7 +30556,7 @@ lib/tool/functions/blob2DataUrl.md
|
|
|
30446
30556
|
|
|
30447
30557
|
> **blob2DataUrl**(`blob`): `Promise`\<`string`\>
|
|
30448
30558
|
|
|
30449
|
-
Defined in: [lib/tool.ts:
|
|
30559
|
+
Defined in: [lib/tool.ts:1538](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1538)
|
|
30450
30560
|
|
|
30451
30561
|
将 blob 对象转换为 base64 url
|
|
30452
30562
|
|
|
@@ -30477,7 +30587,7 @@ lib/tool/functions/blob2Text.md
|
|
|
30477
30587
|
|
|
30478
30588
|
> **blob2Text**(`blob`): `Promise`\<`string`\>
|
|
30479
30589
|
|
|
30480
|
-
Defined in: [lib/tool.ts:
|
|
30590
|
+
Defined in: [lib/tool.ts:1515](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1515)
|
|
30481
30591
|
|
|
30482
30592
|
将 blob 对象转换为 text
|
|
30483
30593
|
|
|
@@ -30506,7 +30616,7 @@ lib/tool/functions/clone.md
|
|
|
30506
30616
|
|
|
30507
30617
|
> **clone**\<`T`\>(`obj`): `T`
|
|
30508
30618
|
|
|
30509
|
-
Defined in: [lib/tool.ts:
|
|
30619
|
+
Defined in: [lib/tool.ts:251](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L251)
|
|
30510
30620
|
|
|
30511
30621
|
完整的克隆一份数组/对象
|
|
30512
30622
|
|
|
@@ -30528,6 +30638,8 @@ Defined in: [lib/tool.ts:191](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
30528
30638
|
|
|
30529
30639
|
`T`
|
|
30530
30640
|
|
|
30641
|
+
克隆后的对象
|
|
30642
|
+
|
|
30531
30643
|
lib/tool/functions/compar.md
|
|
30532
30644
|
---
|
|
30533
30645
|
|
|
@@ -30541,7 +30653,7 @@ lib/tool/functions/compar.md
|
|
|
30541
30653
|
|
|
30542
30654
|
> **compar**(`before`, `after`): `object`
|
|
30543
30655
|
|
|
30544
|
-
Defined in: [lib/tool.ts:
|
|
30656
|
+
Defined in: [lib/tool.ts:1572](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1572)
|
|
30545
30657
|
|
|
30546
30658
|
- 对比老值和新值,看看新值中哪些移除了,哪些新增了
|
|
30547
30659
|
|
|
@@ -30653,7 +30765,7 @@ lib/tool/functions/escapeHTML.md
|
|
|
30653
30765
|
|
|
30654
30766
|
> **escapeHTML**(`html`): `string`
|
|
30655
30767
|
|
|
30656
|
-
Defined in: [lib/tool.ts:
|
|
30768
|
+
Defined in: [lib/tool.ts:775](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L775)
|
|
30657
30769
|
|
|
30658
30770
|
转义 HTML
|
|
30659
30771
|
|
|
@@ -30682,7 +30794,7 @@ lib/tool/functions/eventsAttrWrap.md
|
|
|
30682
30794
|
|
|
30683
30795
|
> **eventsAttrWrap**(`layout`): `string`
|
|
30684
30796
|
|
|
30685
|
-
Defined in: [lib/tool.ts:
|
|
30797
|
+
Defined in: [lib/tool.ts:538](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L538)
|
|
30686
30798
|
|
|
30687
30799
|
对 layout 的 events 事件进行包裹
|
|
30688
30800
|
|
|
@@ -30711,7 +30823,7 @@ lib/tool/functions/execCommand.md
|
|
|
30711
30823
|
|
|
30712
30824
|
> **execCommand**(`ac`): `void`
|
|
30713
30825
|
|
|
30714
|
-
Defined in: [lib/tool.ts:
|
|
30826
|
+
Defined in: [lib/tool.ts:1559](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1559)
|
|
30715
30827
|
|
|
30716
30828
|
## Parameters
|
|
30717
30829
|
|
|
@@ -30736,7 +30848,7 @@ lib/tool/functions/fetch.md
|
|
|
30736
30848
|
|
|
30737
30849
|
> **fetch**(`url`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
30738
30850
|
|
|
30739
|
-
Defined in: [lib/tool.ts:
|
|
30851
|
+
Defined in: [lib/tool.ts:1152](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1152)
|
|
30740
30852
|
|
|
30741
30853
|
发起 fetch 请求
|
|
30742
30854
|
|
|
@@ -30773,7 +30885,7 @@ lib/tool/functions/formatColor.md
|
|
|
30773
30885
|
|
|
30774
30886
|
> **formatColor**(`color`): `number`[]
|
|
30775
30887
|
|
|
30776
|
-
Defined in: [lib/tool.ts:
|
|
30888
|
+
Defined in: [lib/tool.ts:801](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L801)
|
|
30777
30889
|
|
|
30778
30890
|
将 rgb 或 hsl 等颜色转换为数字数组
|
|
30779
30891
|
|
|
@@ -30802,7 +30914,7 @@ lib/tool/functions/formatSecond.md
|
|
|
30802
30914
|
|
|
30803
30915
|
> **formatSecond**(`second`): `string`
|
|
30804
30916
|
|
|
30805
|
-
Defined in: [lib/tool.ts:
|
|
30917
|
+
Defined in: [lib/tool.ts:1615](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1615)
|
|
30806
30918
|
|
|
30807
30919
|
将秒数格式化为 0:0:0 的字符串
|
|
30808
30920
|
|
|
@@ -30829,7 +30941,7 @@ lib/tool/functions/formatTime.md
|
|
|
30829
30941
|
|
|
30830
30942
|
> **formatTime**(`ts`, `tz?`): `object`
|
|
30831
30943
|
|
|
30832
|
-
Defined in: [lib/tool.ts:
|
|
30944
|
+
Defined in: [lib/tool.ts:1628](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1628)
|
|
30833
30945
|
|
|
30834
30946
|
将日期对象或毫秒级时间戳转换为字符串
|
|
30835
30947
|
|
|
@@ -30876,7 +30988,7 @@ lib/tool/functions/getArray.md
|
|
|
30876
30988
|
|
|
30877
30989
|
> **getArray**(`param`): `any`[]
|
|
30878
30990
|
|
|
30879
|
-
Defined in: [lib/tool.ts:
|
|
30991
|
+
Defined in: [lib/tool.ts:750](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L750)
|
|
30880
30992
|
|
|
30881
30993
|
根据参数获取最终的数组型,可传入类似 [1,2,3] 或 1,2,3
|
|
30882
30994
|
|
|
@@ -30905,7 +31017,7 @@ lib/tool/functions/getBoolean.md
|
|
|
30905
31017
|
|
|
30906
31018
|
> **getBoolean**(`param`): `boolean`
|
|
30907
31019
|
|
|
30908
|
-
Defined in: [lib/tool.ts:
|
|
31020
|
+
Defined in: [lib/tool.ts:724](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L724)
|
|
30909
31021
|
|
|
30910
31022
|
根据参数获取最终的布尔值
|
|
30911
31023
|
|
|
@@ -30975,7 +31087,7 @@ lib/tool/functions/get.md
|
|
|
30975
31087
|
|
|
30976
31088
|
> **get**(`url`, `init?`, `opt?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
30977
31089
|
|
|
30978
|
-
Defined in: [lib/tool.ts:
|
|
31090
|
+
Defined in: [lib/tool.ts:1178](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1178)
|
|
30979
31091
|
|
|
30980
31092
|
发起 GET 请求
|
|
30981
31093
|
|
|
@@ -31022,7 +31134,7 @@ lib/tool/functions/getMimeByPath.md
|
|
|
31022
31134
|
|
|
31023
31135
|
> **getMimeByPath**(`path`): `object`
|
|
31024
31136
|
|
|
31025
|
-
Defined in: [lib/tool.ts:
|
|
31137
|
+
Defined in: [lib/tool.ts:646](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L646)
|
|
31026
31138
|
|
|
31027
31139
|
根据后缀、文件名或路径获取 mime 类型(简单版,完整版请使用 @litert/mime.js)
|
|
31028
31140
|
|
|
@@ -31059,7 +31171,7 @@ lib/tool/functions/getNumber.md
|
|
|
31059
31171
|
|
|
31060
31172
|
> **getNumber**(`param`): `number`
|
|
31061
31173
|
|
|
31062
|
-
Defined in: [lib/tool.ts:
|
|
31174
|
+
Defined in: [lib/tool.ts:739](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L739)
|
|
31063
31175
|
|
|
31064
31176
|
根据参数获取最终的数字型
|
|
31065
31177
|
|
|
@@ -31088,7 +31200,7 @@ lib/tool/functions/getResponseJson.md
|
|
|
31088
31200
|
|
|
31089
31201
|
> **getResponseJson**(`url`, `init?`): `Promise`\<`any`\>
|
|
31090
31202
|
|
|
31091
|
-
Defined in: [lib/tool.ts:
|
|
31203
|
+
Defined in: [lib/tool.ts:1230](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1230)
|
|
31092
31204
|
|
|
31093
31205
|
发起 GET 请求并解析 JSON 响应
|
|
31094
31206
|
|
|
@@ -31125,7 +31237,7 @@ lib/tool/functions/hex2rgb.md
|
|
|
31125
31237
|
|
|
31126
31238
|
> **hex2rgb**(`hex`): `object`
|
|
31127
31239
|
|
|
31128
|
-
Defined in: [lib/tool.ts:
|
|
31240
|
+
Defined in: [lib/tool.ts:850](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L850)
|
|
31129
31241
|
|
|
31130
31242
|
hex 转换为 rgba,#27ae60ff, 27ae60 #fff
|
|
31131
31243
|
|
|
@@ -31174,7 +31286,7 @@ lib/tool/functions/hsl2rgb.md
|
|
|
31174
31286
|
|
|
31175
31287
|
> **hsl2rgb**(`h`, `s?`, `l?`, `a?`, `decimal?`): `object`
|
|
31176
31288
|
|
|
31177
|
-
Defined in: [lib/tool.ts:
|
|
31289
|
+
Defined in: [lib/tool.ts:994](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L994)
|
|
31178
31290
|
|
|
31179
31291
|
hsl 字符串转 rgb 数组
|
|
31180
31292
|
|
|
@@ -31247,7 +31359,7 @@ lib/tool/functions/isEscapeChar.md
|
|
|
31247
31359
|
|
|
31248
31360
|
> **isEscapeChar**(`code`, `index`): `boolean`
|
|
31249
31361
|
|
|
31250
|
-
Defined in: [lib/tool.ts:
|
|
31362
|
+
Defined in: [lib/tool.ts:1790](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1790)
|
|
31251
31363
|
|
|
31252
31364
|
判断字符是否是转义字符
|
|
31253
31365
|
|
|
@@ -31284,7 +31396,7 @@ lib/tool/functions/isEscaped.md
|
|
|
31284
31396
|
|
|
31285
31397
|
> **isEscaped**(`str`, `pos`): `boolean`
|
|
31286
31398
|
|
|
31287
|
-
Defined in: [lib/tool.ts:
|
|
31399
|
+
Defined in: [lib/tool.ts:1719](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1719)
|
|
31288
31400
|
|
|
31289
31401
|
转义字符检查
|
|
31290
31402
|
检查指定位置的字符是否被转义
|
|
@@ -31322,7 +31434,7 @@ lib/tool/functions/isFalsy.md
|
|
|
31322
31434
|
|
|
31323
31435
|
> **isFalsy**(`val`): `val is TFalsy`
|
|
31324
31436
|
|
|
31325
|
-
Defined in: [lib/tool.ts:
|
|
31437
|
+
Defined in: [lib/tool.ts:2553](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2553)
|
|
31326
31438
|
|
|
31327
31439
|
判断一个值是否是虚假的(为 null/undefined/空字符串/false/0)
|
|
31328
31440
|
|
|
@@ -31351,7 +31463,7 @@ lib/tool/functions/isMs.md
|
|
|
31351
31463
|
|
|
31352
31464
|
> **isMs**(`time`): `boolean`
|
|
31353
31465
|
|
|
31354
|
-
Defined in: [lib/tool.ts:
|
|
31466
|
+
Defined in: [lib/tool.ts:1655](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1655)
|
|
31355
31467
|
|
|
31356
31468
|
是否是毫秒
|
|
31357
31469
|
|
|
@@ -31380,7 +31492,7 @@ lib/tool/functions/isTruthy.md
|
|
|
31380
31492
|
|
|
31381
31493
|
> **isTruthy**(`val`): `val is any`
|
|
31382
31494
|
|
|
31383
|
-
Defined in: [lib/tool.ts:
|
|
31495
|
+
Defined in: [lib/tool.ts:2561](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2561)
|
|
31384
31496
|
|
|
31385
31497
|
判断一个值是否是真实的(不为 null/undefined/空字符串/false/0)
|
|
31386
31498
|
|
|
@@ -31409,7 +31521,7 @@ lib/tool/functions/layoutAddTagClassAndReTagName.md
|
|
|
31409
31521
|
|
|
31410
31522
|
> **layoutAddTagClassAndReTagName**(`layout`, `retagname`): `string`
|
|
31411
31523
|
|
|
31412
|
-
Defined in: [lib/tool.ts:
|
|
31524
|
+
Defined in: [lib/tool.ts:364](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L364)
|
|
31413
31525
|
|
|
31414
31526
|
给标签增加 tag-tagname 的 class,同时给标签增加 cg- 前导(仅字符串,不是操作真实 dom)
|
|
31415
31527
|
|
|
@@ -31444,7 +31556,7 @@ lib/tool/functions/layoutClassPrepend.md
|
|
|
31444
31556
|
|
|
31445
31557
|
> **layoutClassPrepend**(`layout`, `preps`): `string`
|
|
31446
31558
|
|
|
31447
|
-
Defined in: [lib/tool.ts:
|
|
31559
|
+
Defined in: [lib/tool.ts:482](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L482)
|
|
31448
31560
|
|
|
31449
31561
|
给 class 增加 scope 的随机前缀,给 id 新增前缀
|
|
31450
31562
|
|
|
@@ -31479,7 +31591,7 @@ lib/tool/functions/layoutInsertAttr.md
|
|
|
31479
31591
|
|
|
31480
31592
|
> **layoutInsertAttr**(`layout`, `insert`, `opt?`): `string`
|
|
31481
31593
|
|
|
31482
|
-
Defined in: [lib/tool.ts:
|
|
31594
|
+
Defined in: [lib/tool.ts:423](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L423)
|
|
31483
31595
|
|
|
31484
31596
|
给标签追加 attr,即使 attr 存在也会追加上一个新的(非真实 DOM 操作,仅仅是对字符串进行处理)
|
|
31485
31597
|
|
|
@@ -31526,7 +31638,7 @@ lib/tool/functions/loadLink.md
|
|
|
31526
31638
|
|
|
31527
31639
|
> **loadLink**(`url`, `pos?`): `Promise`\<`boolean`\>
|
|
31528
31640
|
|
|
31529
|
-
Defined in: [lib/tool.ts:
|
|
31641
|
+
Defined in: [lib/tool.ts:2504](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2504)
|
|
31530
31642
|
|
|
31531
31643
|
加载 css 文件
|
|
31532
31644
|
|
|
@@ -31561,7 +31673,7 @@ lib/tool/functions/loadLinks.md
|
|
|
31561
31673
|
|
|
31562
31674
|
> **loadLinks**(`urls`, `opt?`): `Promise`\<`void`\>
|
|
31563
31675
|
|
|
31564
|
-
Defined in: [lib/tool.ts:
|
|
31676
|
+
Defined in: [lib/tool.ts:2530](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2530)
|
|
31565
31677
|
|
|
31566
31678
|
批量加载 css 文件
|
|
31567
31679
|
|
|
@@ -31598,7 +31710,7 @@ lib/tool/functions/loadScript.md
|
|
|
31598
31710
|
|
|
31599
31711
|
> **loadScript**(`url`): `Promise`\<`boolean`\>
|
|
31600
31712
|
|
|
31601
|
-
Defined in: [lib/tool.ts:
|
|
31713
|
+
Defined in: [lib/tool.ts:2471](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2471)
|
|
31602
31714
|
|
|
31603
31715
|
加载脚本
|
|
31604
31716
|
|
|
@@ -31627,7 +31739,7 @@ lib/tool/functions/loadScripts.md
|
|
|
31627
31739
|
|
|
31628
31740
|
> **loadScripts**(`urls`, `opt?`): `Promise`\<`void`\>
|
|
31629
31741
|
|
|
31630
|
-
Defined in: [lib/tool.ts:
|
|
31742
|
+
Defined in: [lib/tool.ts:2490](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2490)
|
|
31631
31743
|
|
|
31632
31744
|
批量加载 js 文件
|
|
31633
31745
|
|
|
@@ -31664,7 +31776,7 @@ lib/tool/functions/loadStyle.md
|
|
|
31664
31776
|
|
|
31665
31777
|
> **loadStyle**(`style`): `void`
|
|
31666
31778
|
|
|
31667
|
-
Defined in: [lib/tool.ts:
|
|
31779
|
+
Defined in: [lib/tool.ts:2543](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2543)
|
|
31668
31780
|
|
|
31669
31781
|
加载 css 字符串
|
|
31670
31782
|
|
|
@@ -31693,7 +31805,7 @@ lib/tool/functions/logicalOr.md
|
|
|
31693
31805
|
|
|
31694
31806
|
> **logicalOr**\<`T`, `T2`\>(`v1`, `v2`): \[`T`\] *extends* \[[`TFalsy`](../type-aliases/TFalsy.md)\] ? `T2` : `T`
|
|
31695
31807
|
|
|
31696
|
-
Defined in: [lib/tool.ts:
|
|
31808
|
+
Defined in: [lib/tool.ts:2570](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2570)
|
|
31697
31809
|
|
|
31698
31810
|
类似 || 运算符的效果
|
|
31699
31811
|
|
|
@@ -31738,7 +31850,7 @@ lib/tool/functions/match.md
|
|
|
31738
31850
|
|
|
31739
31851
|
> **match**(`str`, `regs`): `boolean`
|
|
31740
31852
|
|
|
31741
|
-
Defined in: [lib/tool.ts:
|
|
31853
|
+
Defined in: [lib/tool.ts:320](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L320)
|
|
31742
31854
|
|
|
31743
31855
|
传入正则进行匹配 str 是否有一项满足
|
|
31744
31856
|
|
|
@@ -31773,7 +31885,7 @@ lib/tool/functions/nextFrame.md
|
|
|
31773
31885
|
|
|
31774
31886
|
> **nextFrame**(): `Promise`\<`void`\>
|
|
31775
31887
|
|
|
31776
|
-
Defined in: [lib/tool.ts:
|
|
31888
|
+
Defined in: [lib/tool.ts:274](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L274)
|
|
31777
31889
|
|
|
31778
31890
|
等待浏览器帧
|
|
31779
31891
|
|
|
@@ -31794,7 +31906,7 @@ lib/tool/functions/parseArrayString.md
|
|
|
31794
31906
|
|
|
31795
31907
|
> **parseArrayString**(`arrayStr`): `string`[]
|
|
31796
31908
|
|
|
31797
|
-
Defined in: [lib/tool.ts:
|
|
31909
|
+
Defined in: [lib/tool.ts:1734](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1734)
|
|
31798
31910
|
|
|
31799
31911
|
数组字符串解析器
|
|
31800
31912
|
解析数组字符串为各元素组成的字符串数组
|
|
@@ -31826,7 +31938,7 @@ lib/tool/functions/parseUrl.md
|
|
|
31826
31938
|
|
|
31827
31939
|
> **parseUrl**(`url`): [`IUrl`](../interfaces/IUrl.md)
|
|
31828
31940
|
|
|
31829
|
-
Defined in: [lib/tool.ts:
|
|
31941
|
+
Defined in: [lib/tool.ts:1356](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1356)
|
|
31830
31942
|
|
|
31831
31943
|
传输 url 并解析为 IUrl 对象
|
|
31832
31944
|
|
|
@@ -31855,7 +31967,7 @@ lib/tool/functions/post.md
|
|
|
31855
31967
|
|
|
31856
31968
|
> **post**(`url`, `data`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
31857
31969
|
|
|
31858
|
-
Defined in: [lib/tool.ts:
|
|
31970
|
+
Defined in: [lib/tool.ts:1205](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1205)
|
|
31859
31971
|
|
|
31860
31972
|
发起 POST 请求(除 FormData 外都会转换为 JSON 提交)
|
|
31861
31973
|
|
|
@@ -31898,7 +32010,7 @@ lib/tool/functions/postResponseEventStream.md
|
|
|
31898
32010
|
|
|
31899
32011
|
> **postResponseEventStream**(`url`, `data`, `opts?`): `AbortController`
|
|
31900
32012
|
|
|
31901
|
-
Defined in: [lib/tool.ts:
|
|
32013
|
+
Defined in: [lib/tool.ts:1253](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1253)
|
|
31902
32014
|
|
|
31903
32015
|
发起 JSON 请求并获得文本 SSE 响应
|
|
31904
32016
|
|
|
@@ -31973,7 +32085,7 @@ lib/tool/functions/postResponseJson.md
|
|
|
31973
32085
|
|
|
31974
32086
|
> **postResponseJson**(`url`, `data`, `init?`): `Promise`\<`any`\>
|
|
31975
32087
|
|
|
31976
|
-
Defined in: [lib/tool.ts:
|
|
32088
|
+
Defined in: [lib/tool.ts:1334](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1334)
|
|
31977
32089
|
|
|
31978
32090
|
发起 POST 请求并解析 JSON 响应
|
|
31979
32091
|
|
|
@@ -32016,7 +32128,7 @@ lib/tool/functions/purify.md
|
|
|
32016
32128
|
|
|
32017
32129
|
> **purify**(`text`): `string`
|
|
32018
32130
|
|
|
32019
|
-
Defined in: [lib/tool.ts:
|
|
32131
|
+
Defined in: [lib/tool.ts:299](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L299)
|
|
32020
32132
|
|
|
32021
32133
|
去除 html 的空白符、换行以及注释
|
|
32022
32134
|
|
|
@@ -32045,7 +32157,7 @@ lib/tool/functions/queryParse.md
|
|
|
32045
32157
|
|
|
32046
32158
|
> **queryParse**(`query`): `Record`\<`string`, `string` \| `string`[]\>
|
|
32047
32159
|
|
|
32048
|
-
Defined in: [lib/tool.ts:
|
|
32160
|
+
Defined in: [lib/tool.ts:1685](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1685)
|
|
32049
32161
|
|
|
32050
32162
|
将 query string 转换为对象
|
|
32051
32163
|
|
|
@@ -32074,7 +32186,7 @@ lib/tool/functions/queryStringify.md
|
|
|
32074
32186
|
|
|
32075
32187
|
> **queryStringify**(`query`, `encode?`): `string`
|
|
32076
32188
|
|
|
32077
|
-
Defined in: [lib/tool.ts:
|
|
32189
|
+
Defined in: [lib/tool.ts:1664](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1664)
|
|
32078
32190
|
|
|
32079
32191
|
将对象转换为 query string
|
|
32080
32192
|
|
|
@@ -32109,7 +32221,7 @@ lib/tool/functions/rand.md
|
|
|
32109
32221
|
|
|
32110
32222
|
> **rand**(`min`, `max`, `prec?`): `number`
|
|
32111
32223
|
|
|
32112
|
-
Defined in: [lib/tool.ts:
|
|
32224
|
+
Defined in: [lib/tool.ts:672](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L672)
|
|
32113
32225
|
|
|
32114
32226
|
生成范围内的随机数
|
|
32115
32227
|
|
|
@@ -32150,7 +32262,7 @@ lib/tool/functions/random.md
|
|
|
32150
32262
|
|
|
32151
32263
|
> **random**(`length?`, `source?`, `block?`): `string`
|
|
32152
32264
|
|
|
32153
|
-
Defined in: [lib/tool.ts:
|
|
32265
|
+
Defined in: [lib/tool.ts:701](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L701)
|
|
32154
32266
|
|
|
32155
32267
|
生成随机字符串
|
|
32156
32268
|
|
|
@@ -32193,7 +32305,7 @@ lib/tool/functions/request.md
|
|
|
32193
32305
|
|
|
32194
32306
|
> **request**(`url`, `opt`): `Promise`\<`any`\>
|
|
32195
32307
|
|
|
32196
|
-
Defined in: [lib/tool.ts:
|
|
32308
|
+
Defined in: [lib/tool.ts:1059](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1059)
|
|
32197
32309
|
|
|
32198
32310
|
发起一个网络请求,若是返回值是 JSON 则自动解析,否则直接返回字符串
|
|
32199
32311
|
|
|
@@ -32228,7 +32340,7 @@ lib/tool/functions/rgb2hex.md
|
|
|
32228
32340
|
|
|
32229
32341
|
> **rgb2hex**(`r`, `g?`, `b?`, `a?`): `string`
|
|
32230
32342
|
|
|
32231
|
-
Defined in: [lib/tool.ts:
|
|
32343
|
+
Defined in: [lib/tool.ts:818](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L818)
|
|
32232
32344
|
|
|
32233
32345
|
将 r, g, b 转换为 hex 字符串,不含 #
|
|
32234
32346
|
|
|
@@ -32273,7 +32385,7 @@ lib/tool/functions/rgb2hsl.md
|
|
|
32273
32385
|
|
|
32274
32386
|
> **rgb2hsl**(`r`, `g?`, `b?`, `a?`, `decimal?`): `object`
|
|
32275
32387
|
|
|
32276
|
-
Defined in: [lib/tool.ts:
|
|
32388
|
+
Defined in: [lib/tool.ts:891](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L891)
|
|
32277
32389
|
|
|
32278
32390
|
rgb 字符串转 hsl 数组
|
|
32279
32391
|
|
|
@@ -32412,7 +32524,7 @@ lib/tool/functions/sleepFrame.md
|
|
|
32412
32524
|
|
|
32413
32525
|
> **sleepFrame**(`count`): `Promise`\<`void`\>
|
|
32414
32526
|
|
|
32415
|
-
Defined in: [lib/tool.ts:
|
|
32527
|
+
Defined in: [lib/tool.ts:286](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L286)
|
|
32416
32528
|
|
|
32417
32529
|
等待浏览器帧
|
|
32418
32530
|
|
|
@@ -32441,7 +32553,7 @@ lib/tool/functions/sleep.md
|
|
|
32441
32553
|
|
|
32442
32554
|
> **sleep**(`ms?`): `Promise`\<`boolean`\>
|
|
32443
32555
|
|
|
32444
|
-
Defined in: [lib/tool.ts:
|
|
32556
|
+
Defined in: [lib/tool.ts:259](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L259)
|
|
32445
32557
|
|
|
32446
32558
|
等待毫秒
|
|
32447
32559
|
|
|
@@ -32470,7 +32582,7 @@ lib/tool/functions/stateMachine.md
|
|
|
32470
32582
|
|
|
32471
32583
|
> **stateMachine**(`code`, `start`, `process`): `void`
|
|
32472
32584
|
|
|
32473
|
-
Defined in: [lib/tool.ts:
|
|
32585
|
+
Defined in: [lib/tool.ts:1820](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1820)
|
|
32474
32586
|
|
|
32475
32587
|
状态机
|
|
32476
32588
|
|
|
@@ -32513,7 +32625,7 @@ lib/tool/functions/stylePrepend.md
|
|
|
32513
32625
|
|
|
32514
32626
|
> **stylePrepend**(`style`, `prep?`): `object`
|
|
32515
32627
|
|
|
32516
|
-
Defined in: [lib/tool.ts:
|
|
32628
|
+
Defined in: [lib/tool.ts:569](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L569)
|
|
32517
32629
|
|
|
32518
32630
|
给 class 前部增加唯一标识符
|
|
32519
32631
|
|
|
@@ -32556,7 +32668,7 @@ lib/tool/functions/styleUrl2DataUrl.md
|
|
|
32556
32668
|
|
|
32557
32669
|
> **styleUrl2DataUrl**(`path`, `style`, `files`): `Promise`\<`string`\>
|
|
32558
32670
|
|
|
32559
|
-
Defined in: [lib/tool.ts:
|
|
32671
|
+
Defined in: [lib/tool.ts:335](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L335)
|
|
32560
32672
|
|
|
32561
32673
|
将 style 中的 url 转换成 base64 data url
|
|
32562
32674
|
|
|
@@ -32597,7 +32709,7 @@ lib/tool/functions/teleportGlue.md
|
|
|
32597
32709
|
|
|
32598
32710
|
> **teleportGlue**(`layout`, `formId`): `string`
|
|
32599
32711
|
|
|
32600
|
-
Defined in: [lib/tool.ts:
|
|
32712
|
+
Defined in: [lib/tool.ts:554](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L554)
|
|
32601
32713
|
|
|
32602
32714
|
对 layout 的 teleport 做转义处理为 vue 识别的内容
|
|
32603
32715
|
|
|
@@ -32632,7 +32744,7 @@ lib/tool/functions/unescapeHTML.md
|
|
|
32632
32744
|
|
|
32633
32745
|
> **unescapeHTML**(`html`): `string`
|
|
32634
32746
|
|
|
32635
|
-
Defined in: [lib/tool.ts:
|
|
32747
|
+
Defined in: [lib/tool.ts:787](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L787)
|
|
32636
32748
|
|
|
32637
32749
|
还原转义后的 HTML
|
|
32638
32750
|
|
|
@@ -32661,7 +32773,7 @@ lib/tool/functions/urlAtom.md
|
|
|
32661
32773
|
|
|
32662
32774
|
> **urlAtom**(`url`): `string`
|
|
32663
32775
|
|
|
32664
|
-
Defined in: [lib/tool.ts:
|
|
32776
|
+
Defined in: [lib/tool.ts:1498](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1498)
|
|
32665
32777
|
|
|
32666
32778
|
处理 URL 中的 .. / . 等
|
|
32667
32779
|
|
|
@@ -32688,7 +32800,7 @@ lib/tool/functions/urlResolve.md
|
|
|
32688
32800
|
|
|
32689
32801
|
> **urlResolve**(`from`, `to`): `string`
|
|
32690
32802
|
|
|
32691
|
-
Defined in: [lib/tool.ts:
|
|
32803
|
+
Defined in: [lib/tool.ts:1439](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1439)
|
|
32692
32804
|
|
|
32693
32805
|
将相对路径根据基准路径进行转换
|
|
32694
32806
|
|
|
@@ -32895,7 +33007,7 @@ lib/tool/interfaces/IRequestOptions.md
|
|
|
32895
33007
|
|
|
32896
33008
|
# Interface: IRequestOptions
|
|
32897
33009
|
|
|
32898
|
-
Defined in: [lib/tool.ts:
|
|
33010
|
+
Defined in: [lib/tool.ts:2648](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2648)
|
|
32899
33011
|
|
|
32900
33012
|
请求选项
|
|
32901
33013
|
|
|
@@ -32905,7 +33017,7 @@ Defined in: [lib/tool.ts:2638](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32905
33017
|
|
|
32906
33018
|
> `optional` **body?**: `FormData`
|
|
32907
33019
|
|
|
32908
|
-
Defined in: [lib/tool.ts:
|
|
33020
|
+
Defined in: [lib/tool.ts:2651](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2651)
|
|
32909
33021
|
|
|
32910
33022
|
***
|
|
32911
33023
|
|
|
@@ -32913,7 +33025,7 @@ Defined in: [lib/tool.ts:2641](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32913
33025
|
|
|
32914
33026
|
> `optional` **credentials?**: `boolean`
|
|
32915
33027
|
|
|
32916
|
-
Defined in: [lib/tool.ts:
|
|
33028
|
+
Defined in: [lib/tool.ts:2649](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2649)
|
|
32917
33029
|
|
|
32918
33030
|
***
|
|
32919
33031
|
|
|
@@ -32921,7 +33033,7 @@ Defined in: [lib/tool.ts:2639](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32921
33033
|
|
|
32922
33034
|
> `optional` **end?**: () => `void` \| `Promise`\<`void`\>
|
|
32923
33035
|
|
|
32924
|
-
Defined in: [lib/tool.ts:
|
|
33036
|
+
Defined in: [lib/tool.ts:2660](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2660)
|
|
32925
33037
|
|
|
32926
33038
|
#### Returns
|
|
32927
33039
|
|
|
@@ -32933,7 +33045,7 @@ Defined in: [lib/tool.ts:2650](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32933
33045
|
|
|
32934
33046
|
> `optional` **error?**: () => `void` \| `Promise`\<`void`\>
|
|
32935
33047
|
|
|
32936
|
-
Defined in: [lib/tool.ts:
|
|
33048
|
+
Defined in: [lib/tool.ts:2663](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2663)
|
|
32937
33049
|
|
|
32938
33050
|
#### Returns
|
|
32939
33051
|
|
|
@@ -32945,7 +33057,7 @@ Defined in: [lib/tool.ts:2653](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32945
33057
|
|
|
32946
33058
|
> `optional` **headers?**: `HeadersInit`
|
|
32947
33059
|
|
|
32948
|
-
Defined in: [lib/tool.ts:
|
|
33060
|
+
Defined in: [lib/tool.ts:2654](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2654)
|
|
32949
33061
|
|
|
32950
33062
|
***
|
|
32951
33063
|
|
|
@@ -32953,7 +33065,7 @@ Defined in: [lib/tool.ts:2644](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32953
33065
|
|
|
32954
33066
|
> `optional` **load?**: (`res`) => `void` \| `Promise`\<`void`\>
|
|
32955
33067
|
|
|
32956
|
-
Defined in: [lib/tool.ts:
|
|
33068
|
+
Defined in: [lib/tool.ts:2662](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2662)
|
|
32957
33069
|
|
|
32958
33070
|
#### Parameters
|
|
32959
33071
|
|
|
@@ -32971,7 +33083,7 @@ Defined in: [lib/tool.ts:2652](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32971
33083
|
|
|
32972
33084
|
> `optional` **method?**: `"GET"` \| `"POST"`
|
|
32973
33085
|
|
|
32974
|
-
Defined in: [lib/tool.ts:
|
|
33086
|
+
Defined in: [lib/tool.ts:2650](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2650)
|
|
32975
33087
|
|
|
32976
33088
|
***
|
|
32977
33089
|
|
|
@@ -32979,7 +33091,7 @@ Defined in: [lib/tool.ts:2640](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32979
33091
|
|
|
32980
33092
|
> `optional` **progress?**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
|
|
32981
33093
|
|
|
32982
|
-
Defined in: [lib/tool.ts:
|
|
33094
|
+
Defined in: [lib/tool.ts:2661](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2661)
|
|
32983
33095
|
|
|
32984
33096
|
#### Parameters
|
|
32985
33097
|
|
|
@@ -33001,7 +33113,7 @@ Defined in: [lib/tool.ts:2651](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33001
33113
|
|
|
33002
33114
|
> `optional` **responseType?**: `XMLHttpRequestResponseType`
|
|
33003
33115
|
|
|
33004
|
-
Defined in: [lib/tool.ts:
|
|
33116
|
+
Defined in: [lib/tool.ts:2653](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2653)
|
|
33005
33117
|
|
|
33006
33118
|
***
|
|
33007
33119
|
|
|
@@ -33009,7 +33121,7 @@ Defined in: [lib/tool.ts:2643](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33009
33121
|
|
|
33010
33122
|
> `optional` **start?**: (`total`) => `void` \| `Promise`\<`void`\>
|
|
33011
33123
|
|
|
33012
|
-
Defined in: [lib/tool.ts:
|
|
33124
|
+
Defined in: [lib/tool.ts:2659](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2659)
|
|
33013
33125
|
|
|
33014
33126
|
#### Parameters
|
|
33015
33127
|
|
|
@@ -33027,7 +33139,7 @@ Defined in: [lib/tool.ts:2649](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33027
33139
|
|
|
33028
33140
|
> `optional` **timeout?**: `number`
|
|
33029
33141
|
|
|
33030
|
-
Defined in: [lib/tool.ts:
|
|
33142
|
+
Defined in: [lib/tool.ts:2652](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2652)
|
|
33031
33143
|
|
|
33032
33144
|
***
|
|
33033
33145
|
|
|
@@ -33035,7 +33147,7 @@ Defined in: [lib/tool.ts:2642](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33035
33147
|
|
|
33036
33148
|
> `optional` **uploadEnd?**: () => `void` \| `Promise`\<`void`\>
|
|
33037
33149
|
|
|
33038
|
-
Defined in: [lib/tool.ts:
|
|
33150
|
+
Defined in: [lib/tool.ts:2658](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2658)
|
|
33039
33151
|
|
|
33040
33152
|
#### Returns
|
|
33041
33153
|
|
|
@@ -33047,7 +33159,7 @@ Defined in: [lib/tool.ts:2648](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33047
33159
|
|
|
33048
33160
|
> `optional` **uploadProgress?**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
|
|
33049
33161
|
|
|
33050
|
-
Defined in: [lib/tool.ts:
|
|
33162
|
+
Defined in: [lib/tool.ts:2657](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2657)
|
|
33051
33163
|
|
|
33052
33164
|
#### Parameters
|
|
33053
33165
|
|
|
@@ -33069,7 +33181,7 @@ Defined in: [lib/tool.ts:2647](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33069
33181
|
|
|
33070
33182
|
> `optional` **uploadStart?**: (`total`) => `void` \| `Promise`\<`void`\>
|
|
33071
33183
|
|
|
33072
|
-
Defined in: [lib/tool.ts:
|
|
33184
|
+
Defined in: [lib/tool.ts:2656](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2656)
|
|
33073
33185
|
|
|
33074
33186
|
#### Parameters
|
|
33075
33187
|
|
|
@@ -33092,7 +33204,7 @@ lib/tool/interfaces/IUrl.md
|
|
|
33092
33204
|
|
|
33093
33205
|
# Interface: IUrl
|
|
33094
33206
|
|
|
33095
|
-
Defined in: [lib/tool.ts:
|
|
33207
|
+
Defined in: [lib/tool.ts:2633](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2633)
|
|
33096
33208
|
|
|
33097
33209
|
网址对象
|
|
33098
33210
|
|
|
@@ -33102,7 +33214,7 @@ Defined in: [lib/tool.ts:2623](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33102
33214
|
|
|
33103
33215
|
> **auth**: `string` \| `null`
|
|
33104
33216
|
|
|
33105
|
-
Defined in: [lib/tool.ts:
|
|
33217
|
+
Defined in: [lib/tool.ts:2634](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2634)
|
|
33106
33218
|
|
|
33107
33219
|
***
|
|
33108
33220
|
|
|
@@ -33110,7 +33222,7 @@ Defined in: [lib/tool.ts:2624](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33110
33222
|
|
|
33111
33223
|
> **hash**: `string` \| `null`
|
|
33112
33224
|
|
|
33113
|
-
Defined in: [lib/tool.ts:
|
|
33225
|
+
Defined in: [lib/tool.ts:2635](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2635)
|
|
33114
33226
|
|
|
33115
33227
|
***
|
|
33116
33228
|
|
|
@@ -33118,7 +33230,7 @@ Defined in: [lib/tool.ts:2625](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33118
33230
|
|
|
33119
33231
|
> **host**: `string` \| `null`
|
|
33120
33232
|
|
|
33121
|
-
Defined in: [lib/tool.ts:
|
|
33233
|
+
Defined in: [lib/tool.ts:2636](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2636)
|
|
33122
33234
|
|
|
33123
33235
|
***
|
|
33124
33236
|
|
|
@@ -33126,7 +33238,7 @@ Defined in: [lib/tool.ts:2626](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33126
33238
|
|
|
33127
33239
|
> **hostname**: `string` \| `null`
|
|
33128
33240
|
|
|
33129
|
-
Defined in: [lib/tool.ts:
|
|
33241
|
+
Defined in: [lib/tool.ts:2637](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2637)
|
|
33130
33242
|
|
|
33131
33243
|
***
|
|
33132
33244
|
|
|
@@ -33134,7 +33246,7 @@ Defined in: [lib/tool.ts:2627](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33134
33246
|
|
|
33135
33247
|
> **pass**: `string` \| `null`
|
|
33136
33248
|
|
|
33137
|
-
Defined in: [lib/tool.ts:
|
|
33249
|
+
Defined in: [lib/tool.ts:2638](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2638)
|
|
33138
33250
|
|
|
33139
33251
|
***
|
|
33140
33252
|
|
|
@@ -33142,7 +33254,7 @@ Defined in: [lib/tool.ts:2628](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33142
33254
|
|
|
33143
33255
|
> **path**: `string` \| `null`
|
|
33144
33256
|
|
|
33145
|
-
Defined in: [lib/tool.ts:
|
|
33257
|
+
Defined in: [lib/tool.ts:2639](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2639)
|
|
33146
33258
|
|
|
33147
33259
|
***
|
|
33148
33260
|
|
|
@@ -33150,7 +33262,7 @@ Defined in: [lib/tool.ts:2629](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33150
33262
|
|
|
33151
33263
|
> **pathname**: `string`
|
|
33152
33264
|
|
|
33153
|
-
Defined in: [lib/tool.ts:
|
|
33265
|
+
Defined in: [lib/tool.ts:2640](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2640)
|
|
33154
33266
|
|
|
33155
33267
|
***
|
|
33156
33268
|
|
|
@@ -33158,7 +33270,7 @@ Defined in: [lib/tool.ts:2630](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33158
33270
|
|
|
33159
33271
|
> **port**: `string` \| `null`
|
|
33160
33272
|
|
|
33161
|
-
Defined in: [lib/tool.ts:
|
|
33273
|
+
Defined in: [lib/tool.ts:2642](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2642)
|
|
33162
33274
|
|
|
33163
33275
|
***
|
|
33164
33276
|
|
|
@@ -33166,7 +33278,7 @@ Defined in: [lib/tool.ts:2632](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33166
33278
|
|
|
33167
33279
|
> **protocol**: `string` \| `null`
|
|
33168
33280
|
|
|
33169
|
-
Defined in: [lib/tool.ts:
|
|
33281
|
+
Defined in: [lib/tool.ts:2641](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2641)
|
|
33170
33282
|
|
|
33171
33283
|
***
|
|
33172
33284
|
|
|
@@ -33174,7 +33286,7 @@ Defined in: [lib/tool.ts:2631](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33174
33286
|
|
|
33175
33287
|
> **query**: `string` \| `null`
|
|
33176
33288
|
|
|
33177
|
-
Defined in: [lib/tool.ts:
|
|
33289
|
+
Defined in: [lib/tool.ts:2643](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2643)
|
|
33178
33290
|
|
|
33179
33291
|
***
|
|
33180
33292
|
|
|
@@ -33182,7 +33294,7 @@ Defined in: [lib/tool.ts:2633](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33182
33294
|
|
|
33183
33295
|
> **user**: `string` \| `null`
|
|
33184
33296
|
|
|
33185
|
-
Defined in: [lib/tool.ts:
|
|
33297
|
+
Defined in: [lib/tool.ts:2644](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2644)
|
|
33186
33298
|
|
|
33187
33299
|
lib/tool/type-aliases/TFalsy.md
|
|
33188
33300
|
---
|
|
@@ -33197,7 +33309,7 @@ lib/tool/type-aliases/TFalsy.md
|
|
|
33197
33309
|
|
|
33198
33310
|
> **TFalsy** = `false` \| `""` \| `0` \| `null` \| `undefined` \| *typeof* `NaN`
|
|
33199
33311
|
|
|
33200
|
-
Defined in: [lib/tool.ts:
|
|
33312
|
+
Defined in: [lib/tool.ts:2667](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2667)
|
|
33201
33313
|
|
|
33202
33314
|
虚假值类型
|
|
33203
33315
|
|
|
@@ -33214,7 +33326,7 @@ lib/tool/variables/lang.md
|
|
|
33214
33326
|
|
|
33215
33327
|
> `const` **lang**: `object`
|
|
33216
33328
|
|
|
33217
|
-
Defined in: [lib/tool.ts:
|
|
33329
|
+
Defined in: [lib/tool.ts:2575](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2575)
|
|
33218
33330
|
|
|
33219
33331
|
语言相关
|
|
33220
33332
|
|
|
@@ -33269,7 +33381,7 @@ lib/tool/variables/RANDOM_L.md
|
|
|
33269
33381
|
|
|
33270
33382
|
> `const` **RANDOM\_L**: `"abcdefghijklmnopqrstuvwxyz"` = `'abcdefghijklmnopqrstuvwxyz'`
|
|
33271
33383
|
|
|
33272
|
-
Defined in: [lib/tool.ts:
|
|
33384
|
+
Defined in: [lib/tool.ts:685](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L685)
|
|
33273
33385
|
|
|
33274
33386
|
lib/tool/variables/RANDOM_LN.md
|
|
33275
33387
|
---
|
|
@@ -33284,7 +33396,7 @@ lib/tool/variables/RANDOM_LN.md
|
|
|
33284
33396
|
|
|
33285
33397
|
> `const` **RANDOM\_LN**: `string`
|
|
33286
33398
|
|
|
33287
|
-
Defined in: [lib/tool.ts:
|
|
33399
|
+
Defined in: [lib/tool.ts:688](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L688)
|
|
33288
33400
|
|
|
33289
33401
|
lib/tool/variables/RANDOM_LU.md
|
|
33290
33402
|
---
|
|
@@ -33299,7 +33411,7 @@ lib/tool/variables/RANDOM_LU.md
|
|
|
33299
33411
|
|
|
33300
33412
|
> `const` **RANDOM\_LU**: `string`
|
|
33301
33413
|
|
|
33302
|
-
Defined in: [lib/tool.ts:
|
|
33414
|
+
Defined in: [lib/tool.ts:689](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L689)
|
|
33303
33415
|
|
|
33304
33416
|
lib/tool/variables/RANDOM_LUN.md
|
|
33305
33417
|
---
|
|
@@ -33314,7 +33426,7 @@ lib/tool/variables/RANDOM_LUN.md
|
|
|
33314
33426
|
|
|
33315
33427
|
> `const` **RANDOM\_LUN**: `string`
|
|
33316
33428
|
|
|
33317
|
-
Defined in: [lib/tool.ts:
|
|
33429
|
+
Defined in: [lib/tool.ts:690](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L690)
|
|
33318
33430
|
|
|
33319
33431
|
lib/tool/variables/RANDOM_LUNS.md
|
|
33320
33432
|
---
|
|
@@ -33329,7 +33441,7 @@ lib/tool/variables/RANDOM_LUNS.md
|
|
|
33329
33441
|
|
|
33330
33442
|
> `const` **RANDOM\_LUNS**: `string`
|
|
33331
33443
|
|
|
33332
|
-
Defined in: [lib/tool.ts:
|
|
33444
|
+
Defined in: [lib/tool.ts:692](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L692)
|
|
33333
33445
|
|
|
33334
33446
|
lib/tool/variables/RANDOM_N.md
|
|
33335
33447
|
---
|
|
@@ -33344,7 +33456,7 @@ lib/tool/variables/RANDOM_N.md
|
|
|
33344
33456
|
|
|
33345
33457
|
> `const` **RANDOM\_N**: `"0123456789"` = `'0123456789'`
|
|
33346
33458
|
|
|
33347
|
-
Defined in: [lib/tool.ts:
|
|
33459
|
+
Defined in: [lib/tool.ts:683](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L683)
|
|
33348
33460
|
|
|
33349
33461
|
lib/tool/variables/RANDOM_U.md
|
|
33350
33462
|
---
|
|
@@ -33359,7 +33471,7 @@ lib/tool/variables/RANDOM_U.md
|
|
|
33359
33471
|
|
|
33360
33472
|
> `const` **RANDOM\_U**: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ"` = `'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
|
33361
33473
|
|
|
33362
|
-
Defined in: [lib/tool.ts:
|
|
33474
|
+
Defined in: [lib/tool.ts:684](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L684)
|
|
33363
33475
|
|
|
33364
33476
|
lib/tool/variables/RANDOM_UN.md
|
|
33365
33477
|
---
|
|
@@ -33374,7 +33486,7 @@ lib/tool/variables/RANDOM_UN.md
|
|
|
33374
33486
|
|
|
33375
33487
|
> `const` **RANDOM\_UN**: `string`
|
|
33376
33488
|
|
|
33377
|
-
Defined in: [lib/tool.ts:
|
|
33489
|
+
Defined in: [lib/tool.ts:687](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L687)
|
|
33378
33490
|
|
|
33379
33491
|
lib/tool/variables/RANDOM_V.md
|
|
33380
33492
|
---
|
|
@@ -33389,7 +33501,7 @@ lib/tool/variables/RANDOM_V.md
|
|
|
33389
33501
|
|
|
33390
33502
|
> `const` **RANDOM\_V**: `"ACEFGHJKLMNPRSTWXY34567"` = `'ACEFGHJKLMNPRSTWXY34567'`
|
|
33391
33503
|
|
|
33392
|
-
Defined in: [lib/tool.ts:
|
|
33504
|
+
Defined in: [lib/tool.ts:691](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L691)
|
|
33393
33505
|
|
|
33394
33506
|
lib/zip/classes/Zip.md
|
|
33395
33507
|
---
|