clickgo 6.3.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 +288 -172
- package/package.json +1 -1
- package/test/dock-lifecycle.mjs +93 -0
- package/test/tool-clone.mjs +42 -0
- package/test/web-drag-mask.mjs +96 -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
|
|
|
@@ -7076,7 +7076,7 @@ SVG 内容或 URL 地址。
|
|
|
7076
7076
|
|
|
7077
7077
|
`(event: ISwitchChangeEvent) => void`
|
|
7078
7078
|
|
|
7079
|
-
|
|
7079
|
+
值切换前触发,可调用 `event.preventDefault()` 阻止本次切换。`event.detail.value` 是切换前的当前值;未阻止时,随后更新状态并触发 `update:modelValue`。需要根据新状态执行重绘等操作时,应监听双向绑定的值,不要在此事件中读取尚未更新的值。
|
|
7080
7080
|
|
|
7081
7081
|
### 样式
|
|
7082
7082
|
|
|
@@ -7092,6 +7092,7 @@ SVG 内容或 URL 地址。
|
|
|
7092
7092
|
<switch v-model="val"></switch>
|
|
7093
7093
|
```
|
|
7094
7094
|
|
|
7095
|
+
|
|
7095
7096
|
## tab
|
|
7096
7097
|
---
|
|
7097
7098
|
|
|
@@ -8710,12 +8711,15 @@ TUMS 监控组件。
|
|
|
8710
8711
|
|
|
8711
8712
|
使用 iframe 元素,填满容器空间。无边框显示。
|
|
8712
8713
|
|
|
8714
|
+
拖动或调整窗体大小时,会临时遮住网页以保持拖拽操作连续;结束后恢复网页交互。
|
|
8715
|
+
|
|
8713
8716
|
### 示例
|
|
8714
8717
|
|
|
8715
8718
|
```xml
|
|
8716
8719
|
<web :src="pageUrl"></web>
|
|
8717
8720
|
```
|
|
8718
8721
|
|
|
8722
|
+
|
|
8719
8723
|
## xterm
|
|
8720
8724
|
---
|
|
8721
8725
|
|
|
@@ -17518,7 +17522,7 @@ lib/dom/functions/clearWatch.md
|
|
|
17518
17522
|
|
|
17519
17523
|
> **clearWatch**(`taskId`): `void`
|
|
17520
17524
|
|
|
17521
|
-
Defined in: [lib/dom.ts:
|
|
17525
|
+
Defined in: [lib/dom.ts:913](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L913)
|
|
17522
17526
|
|
|
17523
17527
|
清除某个任务下面的所有 watch 监视
|
|
17524
17528
|
|
|
@@ -17582,7 +17586,7 @@ lib/dom/functions/clearWatchProperty.md
|
|
|
17582
17586
|
|
|
17583
17587
|
> **clearWatchProperty**(`formId`, `panelId?`): `void`
|
|
17584
17588
|
|
|
17585
|
-
Defined in: [lib/dom.ts:
|
|
17589
|
+
Defined in: [lib/dom.ts:1214](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1214)
|
|
17586
17590
|
|
|
17587
17591
|
清除某个窗体的所有 watch property 监视,虽然窗体结束后相关监视永远不会再被执行,但是会形成冗余
|
|
17588
17592
|
|
|
@@ -17617,7 +17621,7 @@ lib/dom/functions/clearWatchSize.md
|
|
|
17617
17621
|
|
|
17618
17622
|
> **clearWatchSize**(`taskId`): `void`
|
|
17619
17623
|
|
|
17620
|
-
Defined in: [lib/dom.ts:
|
|
17624
|
+
Defined in: [lib/dom.ts:728](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L728)
|
|
17621
17625
|
|
|
17622
17626
|
清除某个任务的所有 watch size 监视
|
|
17623
17627
|
|
|
@@ -17646,7 +17650,7 @@ lib/dom/functions/clearWatchStyle.md
|
|
|
17646
17650
|
|
|
17647
17651
|
> **clearWatchStyle**(`formId`, `panelId?`): `void`
|
|
17648
17652
|
|
|
17649
|
-
Defined in: [lib/dom.ts:
|
|
17653
|
+
Defined in: [lib/dom.ts:1075](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1075)
|
|
17650
17654
|
|
|
17651
17655
|
清除某个窗体的所有 watch style 监视
|
|
17652
17656
|
|
|
@@ -17681,7 +17685,7 @@ lib/dom/functions/createElement.md
|
|
|
17681
17685
|
|
|
17682
17686
|
> **createElement**\<`T`\>(`tagName`): `HTMLElementTagNameMap`\[`T`\]
|
|
17683
17687
|
|
|
17684
|
-
Defined in: [lib/dom.ts:
|
|
17688
|
+
Defined in: [lib/dom.ts:1668](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1668)
|
|
17685
17689
|
|
|
17686
17690
|
创建 element
|
|
17687
17691
|
|
|
@@ -17745,7 +17749,7 @@ lib/dom/functions/exitFullscreen.md
|
|
|
17745
17749
|
|
|
17746
17750
|
> **exitFullscreen**(): `Promise`\<`boolean`\>
|
|
17747
17751
|
|
|
17748
|
-
Defined in: [lib/dom.ts:
|
|
17752
|
+
Defined in: [lib/dom.ts:1649](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1649)
|
|
17749
17753
|
|
|
17750
17754
|
退出全屏
|
|
17751
17755
|
|
|
@@ -17766,7 +17770,7 @@ lib/dom/functions/findParentByClass.md
|
|
|
17766
17770
|
|
|
17767
17771
|
> **findParentByClass**(`el`, `name`): `HTMLElement` \| `null`
|
|
17768
17772
|
|
|
17769
|
-
Defined in: [lib/dom.ts:
|
|
17773
|
+
Defined in: [lib/dom.ts:1533](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1533)
|
|
17770
17774
|
|
|
17771
17775
|
通过 class 名查找上层所有标签是否存在
|
|
17772
17776
|
|
|
@@ -17801,7 +17805,7 @@ lib/dom/functions/findParentByData.md
|
|
|
17801
17805
|
|
|
17802
17806
|
> **findParentByData**(`el`, `name`, `value?`): `HTMLElement` \| `null`
|
|
17803
17807
|
|
|
17804
|
-
Defined in: [lib/dom.ts:
|
|
17808
|
+
Defined in: [lib/dom.ts:1503](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1503)
|
|
17805
17809
|
|
|
17806
17810
|
通过 data 名查找上层所有标签是否存在
|
|
17807
17811
|
|
|
@@ -17842,7 +17846,7 @@ lib/dom/functions/findParentByTag.md
|
|
|
17842
17846
|
|
|
17843
17847
|
> **findParentByTag**(`el`, `name`): `HTMLElement` \| `null`
|
|
17844
17848
|
|
|
17845
|
-
Defined in: [lib/dom.ts:
|
|
17849
|
+
Defined in: [lib/dom.ts:1555](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1555)
|
|
17846
17850
|
|
|
17847
17851
|
通过 tagname 查找上层所有标签是否存在
|
|
17848
17852
|
|
|
@@ -17877,7 +17881,7 @@ lib/dom/functions/fullscreen.md
|
|
|
17877
17881
|
|
|
17878
17882
|
> **fullscreen**(): `Promise`\<`boolean`\>
|
|
17879
17883
|
|
|
17880
|
-
Defined in: [lib/dom.ts:
|
|
17884
|
+
Defined in: [lib/dom.ts:1631](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1631)
|
|
17881
17885
|
|
|
17882
17886
|
全屏
|
|
17883
17887
|
|
|
@@ -17898,7 +17902,7 @@ lib/dom/functions/getElementRPosition.md
|
|
|
17898
17902
|
|
|
17899
17903
|
> **getElementRPosition**(`el`, `wrap`): `object`
|
|
17900
17904
|
|
|
17901
|
-
Defined in: [lib/dom.ts:
|
|
17905
|
+
Defined in: [lib/dom.ts:1673](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1673)
|
|
17902
17906
|
|
|
17903
17907
|
获取元素的相对位置信息
|
|
17904
17908
|
|
|
@@ -17945,7 +17949,7 @@ lib/dom/functions/getRectPoint.md
|
|
|
17945
17949
|
|
|
17946
17950
|
> **getRectPoint**(`el`, `wrap`, `pos`): `object`
|
|
17947
17951
|
|
|
17948
|
-
Defined in: [lib/dom.ts:
|
|
17952
|
+
Defined in: [lib/dom.ts:1691](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1691)
|
|
17949
17953
|
|
|
17950
17954
|
根据角位置获取八角坐标
|
|
17951
17955
|
|
|
@@ -18023,7 +18027,7 @@ lib/dom/functions/getWatchCount.md
|
|
|
18023
18027
|
|
|
18024
18028
|
> **getWatchCount**(`taskId?`): `number`
|
|
18025
18029
|
|
|
18026
|
-
Defined in: [lib/dom.ts:
|
|
18030
|
+
Defined in: [lib/dom.ts:758](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L758)
|
|
18027
18031
|
|
|
18028
18032
|
获取当前 watch 中的元素总数
|
|
18029
18033
|
|
|
@@ -18052,7 +18056,7 @@ lib/dom/functions/getWatchInfo.md
|
|
|
18052
18056
|
|
|
18053
18057
|
> **getWatchInfo**(): [`IGetWatchInfoResult`](../interfaces/IGetWatchInfoResult.md)
|
|
18054
18058
|
|
|
18055
|
-
Defined in: [lib/dom.ts:
|
|
18059
|
+
Defined in: [lib/dom.ts:1240](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1240)
|
|
18056
18060
|
|
|
18057
18061
|
## Returns
|
|
18058
18062
|
|
|
@@ -18100,7 +18104,7 @@ lib/dom/functions/index.md
|
|
|
18100
18104
|
|
|
18101
18105
|
> **index**(`el`): `number`
|
|
18102
18106
|
|
|
18103
|
-
Defined in: [lib/dom.ts:
|
|
18107
|
+
Defined in: [lib/dom.ts:1577](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1577)
|
|
18104
18108
|
|
|
18105
18109
|
判断一个元素是当前同级的第几位
|
|
18106
18110
|
|
|
@@ -18129,7 +18133,7 @@ lib/dom/functions/init.md
|
|
|
18129
18133
|
|
|
18130
18134
|
> **init**(): `void`
|
|
18131
18135
|
|
|
18132
|
-
Defined in: [lib/dom.ts:
|
|
18136
|
+
Defined in: [lib/dom.ts:1986](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1986)
|
|
18133
18137
|
|
|
18134
18138
|
## Returns
|
|
18135
18139
|
|
|
@@ -18206,7 +18210,7 @@ lib/dom/functions/isWatch.md
|
|
|
18206
18210
|
|
|
18207
18211
|
> **isWatch**(`el`): `boolean`
|
|
18208
18212
|
|
|
18209
|
-
Defined in: [lib/dom.ts:
|
|
18213
|
+
Defined in: [lib/dom.ts:905](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L905)
|
|
18210
18214
|
|
|
18211
18215
|
检测一个标签是否正在被 watchSize
|
|
18212
18216
|
|
|
@@ -18264,7 +18268,7 @@ lib/dom/functions/isWatchProperty.md
|
|
|
18264
18268
|
|
|
18265
18269
|
> **isWatchProperty**(`el`): `boolean`
|
|
18266
18270
|
|
|
18267
|
-
Defined in: [lib/dom.ts:
|
|
18271
|
+
Defined in: [lib/dom.ts:1205](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1205)
|
|
18268
18272
|
|
|
18269
18273
|
检测一个标签是否正在被 watchProperty
|
|
18270
18274
|
|
|
@@ -18293,7 +18297,7 @@ lib/dom/functions/isWatchSize.md
|
|
|
18293
18297
|
|
|
18294
18298
|
> **isWatchSize**(`el`): `boolean`
|
|
18295
18299
|
|
|
18296
|
-
Defined in: [lib/dom.ts:
|
|
18300
|
+
Defined in: [lib/dom.ts:720](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L720)
|
|
18297
18301
|
|
|
18298
18302
|
检测一个标签是否正在被 watchSize
|
|
18299
18303
|
|
|
@@ -18322,7 +18326,7 @@ lib/dom/functions/isWatchStyle.md
|
|
|
18322
18326
|
|
|
18323
18327
|
> **isWatchStyle**(`el`): `boolean`
|
|
18324
18328
|
|
|
18325
|
-
Defined in: [lib/dom.ts:
|
|
18329
|
+
Defined in: [lib/dom.ts:1066](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1066)
|
|
18326
18330
|
|
|
18327
18331
|
检测一个标签是否正在被 watchStyle
|
|
18328
18332
|
|
|
@@ -18538,7 +18542,7 @@ lib/dom/functions/siblingsData.md
|
|
|
18538
18542
|
|
|
18539
18543
|
> **siblingsData**(`el`, `name`): `HTMLElement`[]
|
|
18540
18544
|
|
|
18541
|
-
Defined in: [lib/dom.ts:
|
|
18545
|
+
Defined in: [lib/dom.ts:1616](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1616)
|
|
18542
18546
|
|
|
18543
18547
|
查找指定 el 的同级的存在 data 的元素
|
|
18544
18548
|
|
|
@@ -18575,7 +18579,7 @@ lib/dom/functions/siblings.md
|
|
|
18575
18579
|
|
|
18576
18580
|
> **siblings**(`el`): `HTMLElement`[]
|
|
18577
18581
|
|
|
18578
|
-
Defined in: [lib/dom.ts:
|
|
18582
|
+
Defined in: [lib/dom.ts:1595](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1595)
|
|
18579
18583
|
|
|
18580
18584
|
查找指定 el 的同级所有元素
|
|
18581
18585
|
|
|
@@ -18606,7 +18610,7 @@ lib/dom/functions/unwatch.md
|
|
|
18606
18610
|
|
|
18607
18611
|
> **unwatch**(`taskId`, `el`): `void`
|
|
18608
18612
|
|
|
18609
|
-
Defined in: [lib/dom.ts:
|
|
18613
|
+
Defined in: [lib/dom.ts:884](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L884)
|
|
18610
18614
|
|
|
18611
18615
|
移除监视 Element 对象变动
|
|
18612
18616
|
|
|
@@ -18670,7 +18674,7 @@ lib/dom/functions/unwatchSize.md
|
|
|
18670
18674
|
|
|
18671
18675
|
> **unwatchSize**(`el`): `void`
|
|
18672
18676
|
|
|
18673
|
-
Defined in: [lib/dom.ts:
|
|
18677
|
+
Defined in: [lib/dom.ts:640](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L640)
|
|
18674
18678
|
|
|
18675
18679
|
移除监视 Element 对象大小
|
|
18676
18680
|
|
|
@@ -18686,6 +18690,47 @@ Defined in: [lib/dom.ts:573](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
18686
18690
|
|
|
18687
18691
|
`void`
|
|
18688
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
|
+
|
|
18689
18734
|
lib/dom/functions/watch.md
|
|
18690
18735
|
---
|
|
18691
18736
|
|
|
@@ -18699,7 +18744,7 @@ lib/dom/functions/watch.md
|
|
|
18699
18744
|
|
|
18700
18745
|
> **watch**(`current`, `el`, `cb`, `mode?`, `immediate?`): `boolean`
|
|
18701
18746
|
|
|
18702
|
-
Defined in: [lib/dom.ts:
|
|
18747
|
+
Defined in: [lib/dom.ts:782](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L782)
|
|
18703
18748
|
|
|
18704
18749
|
添加 DOM 内容变化监视
|
|
18705
18750
|
|
|
@@ -18791,7 +18836,7 @@ lib/dom/functions/watchProperty.md
|
|
|
18791
18836
|
|
|
18792
18837
|
> **watchProperty**(`el`, `name`, `cb`, `immediate?`): `void`
|
|
18793
18838
|
|
|
18794
|
-
Defined in: [lib/dom.ts:
|
|
18839
|
+
Defined in: [lib/dom.ts:1136](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1136)
|
|
18795
18840
|
|
|
18796
18841
|
监听一个对象的属性变化
|
|
18797
18842
|
|
|
@@ -18838,9 +18883,56 @@ lib/dom/functions/watchSize.md
|
|
|
18838
18883
|
|
|
18839
18884
|
> **watchSize**(`current`, `el`, `cb`, `immediate?`): `boolean`
|
|
18840
18885
|
|
|
18841
|
-
Defined in: [lib/dom.ts:
|
|
18886
|
+
Defined in: [lib/dom.ts:603](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L603)
|
|
18842
18887
|
|
|
18843
|
-
添加监视 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 大小监视
|
|
18844
18936
|
|
|
18845
18937
|
## Parameters
|
|
18846
18938
|
|
|
@@ -18885,7 +18977,7 @@ lib/dom/functions/watchStyle.md
|
|
|
18885
18977
|
|
|
18886
18978
|
> **watchStyle**(`el`, `name`, `cb`, `immediate?`): `void`
|
|
18887
18979
|
|
|
18888
|
-
Defined in: [lib/dom.ts:
|
|
18980
|
+
Defined in: [lib/dom.ts:995](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L995)
|
|
18889
18981
|
|
|
18890
18982
|
监听一个标签的计算后样式的变化
|
|
18891
18983
|
|
|
@@ -18989,10 +19081,12 @@ lib/dom/index.md
|
|
|
18989
19081
|
- [unwatch](functions/unwatch.md)
|
|
18990
19082
|
- [unwatchPosition](functions/unwatchPosition.md)
|
|
18991
19083
|
- [unwatchSize](functions/unwatchSize.md)
|
|
19084
|
+
- [unwatchSizeMulti](functions/unwatchSizeMulti.md)
|
|
18992
19085
|
- [watch](functions/watch.md)
|
|
18993
19086
|
- [watchPosition](functions/watchPosition.md)
|
|
18994
19087
|
- [watchProperty](functions/watchProperty.md)
|
|
18995
19088
|
- [watchSize](functions/watchSize.md)
|
|
19089
|
+
- [watchSizeMulti](functions/watchSizeMulti.md)
|
|
18996
19090
|
- [watchStyle](functions/watchStyle.md)
|
|
18997
19091
|
|
|
18998
19092
|
lib/dom/interfaces/IDomSize.md
|
|
@@ -19006,7 +19100,7 @@ lib/dom/interfaces/IDomSize.md
|
|
|
19006
19100
|
|
|
19007
19101
|
# Interface: IDomSize
|
|
19008
19102
|
|
|
19009
|
-
Defined in: [lib/dom.ts:
|
|
19103
|
+
Defined in: [lib/dom.ts:2076](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2076)
|
|
19010
19104
|
|
|
19011
19105
|
Element 的大小
|
|
19012
19106
|
|
|
@@ -19016,7 +19110,7 @@ Element 的大小
|
|
|
19016
19110
|
|
|
19017
19111
|
> **border**: `object`
|
|
19018
19112
|
|
|
19019
|
-
Defined in: [lib/dom.ts:
|
|
19113
|
+
Defined in: [lib/dom.ts:2089](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2089)
|
|
19020
19114
|
|
|
19021
19115
|
#### bottom
|
|
19022
19116
|
|
|
@@ -19040,7 +19134,7 @@ Defined in: [lib/dom.ts:1952](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19040
19134
|
|
|
19041
19135
|
> **bottom**: `number`
|
|
19042
19136
|
|
|
19043
|
-
Defined in: [lib/dom.ts:
|
|
19137
|
+
Defined in: [lib/dom.ts:2079](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2079)
|
|
19044
19138
|
|
|
19045
19139
|
***
|
|
19046
19140
|
|
|
@@ -19048,7 +19142,7 @@ Defined in: [lib/dom.ts:1942](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19048
19142
|
|
|
19049
19143
|
> **clientHeight**: `number`
|
|
19050
19144
|
|
|
19051
|
-
Defined in: [lib/dom.ts:
|
|
19145
|
+
Defined in: [lib/dom.ts:2095](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2095)
|
|
19052
19146
|
|
|
19053
19147
|
***
|
|
19054
19148
|
|
|
@@ -19056,7 +19150,7 @@ Defined in: [lib/dom.ts:1958](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19056
19150
|
|
|
19057
19151
|
> **clientWidth**: `number`
|
|
19058
19152
|
|
|
19059
|
-
Defined in: [lib/dom.ts:
|
|
19153
|
+
Defined in: [lib/dom.ts:2096](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2096)
|
|
19060
19154
|
|
|
19061
19155
|
***
|
|
19062
19156
|
|
|
@@ -19064,7 +19158,7 @@ Defined in: [lib/dom.ts:1959](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19064
19158
|
|
|
19065
19159
|
> **height**: `number`
|
|
19066
19160
|
|
|
19067
|
-
Defined in: [lib/dom.ts:
|
|
19161
|
+
Defined in: [lib/dom.ts:2082](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2082)
|
|
19068
19162
|
|
|
19069
19163
|
***
|
|
19070
19164
|
|
|
@@ -19072,7 +19166,7 @@ Defined in: [lib/dom.ts:1945](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19072
19166
|
|
|
19073
19167
|
> **innerHeight**: `number`
|
|
19074
19168
|
|
|
19075
|
-
Defined in: [lib/dom.ts:
|
|
19169
|
+
Defined in: [lib/dom.ts:2098](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2098)
|
|
19076
19170
|
|
|
19077
19171
|
***
|
|
19078
19172
|
|
|
@@ -19080,7 +19174,7 @@ Defined in: [lib/dom.ts:1961](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19080
19174
|
|
|
19081
19175
|
> **innerWidth**: `number`
|
|
19082
19176
|
|
|
19083
|
-
Defined in: [lib/dom.ts:
|
|
19177
|
+
Defined in: [lib/dom.ts:2097](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2097)
|
|
19084
19178
|
|
|
19085
19179
|
***
|
|
19086
19180
|
|
|
@@ -19088,7 +19182,7 @@ Defined in: [lib/dom.ts:1960](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19088
19182
|
|
|
19089
19183
|
> **left**: `number`
|
|
19090
19184
|
|
|
19091
|
-
Defined in: [lib/dom.ts:
|
|
19185
|
+
Defined in: [lib/dom.ts:2080](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2080)
|
|
19092
19186
|
|
|
19093
19187
|
***
|
|
19094
19188
|
|
|
@@ -19096,7 +19190,7 @@ Defined in: [lib/dom.ts:1943](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19096
19190
|
|
|
19097
19191
|
> **padding**: `object`
|
|
19098
19192
|
|
|
19099
|
-
Defined in: [lib/dom.ts:
|
|
19193
|
+
Defined in: [lib/dom.ts:2083](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2083)
|
|
19100
19194
|
|
|
19101
19195
|
#### bottom
|
|
19102
19196
|
|
|
@@ -19120,7 +19214,7 @@ Defined in: [lib/dom.ts:1946](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19120
19214
|
|
|
19121
19215
|
> **right**: `number`
|
|
19122
19216
|
|
|
19123
|
-
Defined in: [lib/dom.ts:
|
|
19217
|
+
Defined in: [lib/dom.ts:2078](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2078)
|
|
19124
19218
|
|
|
19125
19219
|
***
|
|
19126
19220
|
|
|
@@ -19128,7 +19222,7 @@ Defined in: [lib/dom.ts:1941](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19128
19222
|
|
|
19129
19223
|
> **scrollHeight**: `number`
|
|
19130
19224
|
|
|
19131
|
-
Defined in: [lib/dom.ts:
|
|
19225
|
+
Defined in: [lib/dom.ts:2100](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2100)
|
|
19132
19226
|
|
|
19133
19227
|
***
|
|
19134
19228
|
|
|
@@ -19136,7 +19230,7 @@ Defined in: [lib/dom.ts:1963](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19136
19230
|
|
|
19137
19231
|
> **scrollWidth**: `number`
|
|
19138
19232
|
|
|
19139
|
-
Defined in: [lib/dom.ts:
|
|
19233
|
+
Defined in: [lib/dom.ts:2099](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2099)
|
|
19140
19234
|
|
|
19141
19235
|
***
|
|
19142
19236
|
|
|
@@ -19144,7 +19238,7 @@ Defined in: [lib/dom.ts:1962](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19144
19238
|
|
|
19145
19239
|
> **top**: `number`
|
|
19146
19240
|
|
|
19147
|
-
Defined in: [lib/dom.ts:
|
|
19241
|
+
Defined in: [lib/dom.ts:2077](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2077)
|
|
19148
19242
|
|
|
19149
19243
|
***
|
|
19150
19244
|
|
|
@@ -19152,7 +19246,7 @@ Defined in: [lib/dom.ts:1940](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19152
19246
|
|
|
19153
19247
|
> **width**: `number`
|
|
19154
19248
|
|
|
19155
|
-
Defined in: [lib/dom.ts:
|
|
19249
|
+
Defined in: [lib/dom.ts:2081](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2081)
|
|
19156
19250
|
|
|
19157
19251
|
lib/dom/interfaces/IGetWatchInfoResult.md
|
|
19158
19252
|
---
|
|
@@ -19165,7 +19259,7 @@ lib/dom/interfaces/IGetWatchInfoResult.md
|
|
|
19165
19259
|
|
|
19166
19260
|
# Interface: IGetWatchInfoResult
|
|
19167
19261
|
|
|
19168
|
-
Defined in: [lib/dom.ts:
|
|
19262
|
+
Defined in: [lib/dom.ts:2134](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2134)
|
|
19169
19263
|
|
|
19170
19264
|
获取当前正在监视中的 property、style 和 position 的元素信息
|
|
19171
19265
|
|
|
@@ -19175,7 +19269,7 @@ Defined in: [lib/dom.ts:1991](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19175
19269
|
|
|
19176
19270
|
> **default**: `Record`\<`string`, \{ `position`: \{ `count`: `number`; \}; `property`: \{ `count`: `number`; `list`: `string`[]; \}; `style`: \{ `count`: `number`; `list`: `string`[]; \}; \}\>
|
|
19177
19271
|
|
|
19178
|
-
Defined in: [lib/dom.ts:
|
|
19272
|
+
Defined in: [lib/dom.ts:2136](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2136)
|
|
19179
19273
|
|
|
19180
19274
|
***
|
|
19181
19275
|
|
|
@@ -19183,7 +19277,7 @@ Defined in: [lib/dom.ts:1993](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19183
19277
|
|
|
19184
19278
|
> **formId**: `string`
|
|
19185
19279
|
|
|
19186
|
-
Defined in: [lib/dom.ts:
|
|
19280
|
+
Defined in: [lib/dom.ts:2135](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2135)
|
|
19187
19281
|
|
|
19188
19282
|
***
|
|
19189
19283
|
|
|
@@ -19191,7 +19285,7 @@ Defined in: [lib/dom.ts:1992](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19191
19285
|
|
|
19192
19286
|
> **panels**: `Record`\<`string`, `Record`\<`string`, \{ `position`: \{ `count`: `number`; \}; `property`: \{ `count`: `number`; `list`: `string`[]; \}; `style`: \{ `count`: `number`; `list`: `string`[]; \}; \}\>\>
|
|
19193
19287
|
|
|
19194
|
-
Defined in: [lib/dom.ts:
|
|
19288
|
+
Defined in: [lib/dom.ts:2149](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2149)
|
|
19195
19289
|
|
|
19196
19290
|
lib/dom/interfaces/IWatchItem.md
|
|
19197
19291
|
---
|
|
@@ -19204,7 +19298,7 @@ lib/dom/interfaces/IWatchItem.md
|
|
|
19204
19298
|
|
|
19205
19299
|
# Interface: IWatchItem
|
|
19206
19300
|
|
|
19207
|
-
Defined in: [lib/dom.ts:
|
|
19301
|
+
Defined in: [lib/dom.ts:2127](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2127)
|
|
19208
19302
|
|
|
19209
19303
|
监视变化中的元素
|
|
19210
19304
|
|
|
@@ -19214,7 +19308,7 @@ Defined in: [lib/dom.ts:1984](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19214
19308
|
|
|
19215
19309
|
> **el**: `HTMLElement`
|
|
19216
19310
|
|
|
19217
|
-
Defined in: [lib/dom.ts:
|
|
19311
|
+
Defined in: [lib/dom.ts:2128](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2128)
|
|
19218
19312
|
|
|
19219
19313
|
***
|
|
19220
19314
|
|
|
@@ -19222,7 +19316,7 @@ Defined in: [lib/dom.ts:1985](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19222
19316
|
|
|
19223
19317
|
> **mo**: `MutationObserver`
|
|
19224
19318
|
|
|
19225
|
-
Defined in: [lib/dom.ts:
|
|
19319
|
+
Defined in: [lib/dom.ts:2129](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2129)
|
|
19226
19320
|
|
|
19227
19321
|
***
|
|
19228
19322
|
|
|
@@ -19230,7 +19324,7 @@ Defined in: [lib/dom.ts:1986](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19230
19324
|
|
|
19231
19325
|
> `optional` **taskId?**: `string`
|
|
19232
19326
|
|
|
19233
|
-
Defined in: [lib/dom.ts:
|
|
19327
|
+
Defined in: [lib/dom.ts:2130](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2130)
|
|
19234
19328
|
|
|
19235
19329
|
lib/dom/interfaces/IWatchPositionItem.md
|
|
19236
19330
|
---
|
|
@@ -19243,7 +19337,7 @@ lib/dom/interfaces/IWatchPositionItem.md
|
|
|
19243
19337
|
|
|
19244
19338
|
# Interface: IWatchPositionItem
|
|
19245
19339
|
|
|
19246
|
-
Defined in: [lib/dom.ts:
|
|
19340
|
+
Defined in: [lib/dom.ts:2104](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2104)
|
|
19247
19341
|
|
|
19248
19342
|
监视位置中的元素
|
|
19249
19343
|
|
|
@@ -19253,7 +19347,7 @@ Defined in: [lib/dom.ts:1967](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19253
19347
|
|
|
19254
19348
|
> **el**: `HTMLElement`
|
|
19255
19349
|
|
|
19256
|
-
Defined in: [lib/dom.ts:
|
|
19350
|
+
Defined in: [lib/dom.ts:2105](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2105)
|
|
19257
19351
|
|
|
19258
19352
|
***
|
|
19259
19353
|
|
|
@@ -19261,7 +19355,7 @@ Defined in: [lib/dom.ts:1968](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19261
19355
|
|
|
19262
19356
|
> **handler**: (`state`) => `void` \| `Promise`\<`void`\>
|
|
19263
19357
|
|
|
19264
|
-
Defined in: [lib/dom.ts:
|
|
19358
|
+
Defined in: [lib/dom.ts:2107](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2107)
|
|
19265
19359
|
|
|
19266
19360
|
#### Parameters
|
|
19267
19361
|
|
|
@@ -19285,7 +19379,7 @@ Defined in: [lib/dom.ts:1970](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19285
19379
|
|
|
19286
19380
|
> **rect**: `DOMRect`
|
|
19287
19381
|
|
|
19288
|
-
Defined in: [lib/dom.ts:
|
|
19382
|
+
Defined in: [lib/dom.ts:2106](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2106)
|
|
19289
19383
|
|
|
19290
19384
|
lib/dom/interfaces/IWatchSizeItem.md
|
|
19291
19385
|
---
|
|
@@ -19298,7 +19392,7 @@ lib/dom/interfaces/IWatchSizeItem.md
|
|
|
19298
19392
|
|
|
19299
19393
|
# Interface: IWatchSizeItem
|
|
19300
19394
|
|
|
19301
|
-
Defined in: [lib/dom.ts:
|
|
19395
|
+
Defined in: [lib/dom.ts:2114](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2114)
|
|
19302
19396
|
|
|
19303
19397
|
监视大小中的元素
|
|
19304
19398
|
|
|
@@ -19308,27 +19402,47 @@ Defined in: [lib/dom.ts:1977](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19308
19402
|
|
|
19309
19403
|
> **el**: `HTMLElement`
|
|
19310
19404
|
|
|
19311
|
-
Defined in: [lib/dom.ts:
|
|
19405
|
+
Defined in: [lib/dom.ts:2115](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2115)
|
|
19312
19406
|
|
|
19313
19407
|
***
|
|
19314
19408
|
|
|
19315
|
-
### handler
|
|
19409
|
+
### handler?
|
|
19316
19410
|
|
|
19317
|
-
> **handler
|
|
19411
|
+
> `optional` **handler?**: `object`
|
|
19318
19412
|
|
|
19319
|
-
Defined in: [lib/dom.ts:
|
|
19413
|
+
Defined in: [lib/dom.ts:2116](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2116)
|
|
19320
19414
|
|
|
19321
|
-
####
|
|
19415
|
+
#### handler
|
|
19416
|
+
|
|
19417
|
+
> **handler**: () => `void` \| `Promise`\<`void`\>
|
|
19418
|
+
|
|
19419
|
+
##### Returns
|
|
19322
19420
|
|
|
19323
19421
|
`void` \| `Promise`\<`void`\>
|
|
19324
19422
|
|
|
19423
|
+
#### taskId
|
|
19424
|
+
|
|
19425
|
+
> **taskId**: `string`
|
|
19426
|
+
|
|
19325
19427
|
***
|
|
19326
19428
|
|
|
19327
|
-
###
|
|
19429
|
+
### handlers
|
|
19328
19430
|
|
|
19329
|
-
> **
|
|
19431
|
+
> **handlers**: `object`[]
|
|
19330
19432
|
|
|
19331
|
-
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`
|
|
19332
19446
|
|
|
19333
19447
|
lib/dom/type-aliases/TDomBorderCustom.md
|
|
19334
19448
|
---
|
|
@@ -19343,7 +19457,7 @@ lib/dom/type-aliases/TDomBorderCustom.md
|
|
|
19343
19457
|
|
|
19344
19458
|
> **TDomBorderCustom** = [`TDomBorder`](TDomBorder.md) \| \{ `height?`: `number`; `left`: `number`; `top?`: `number`; `width`: `number`; \}
|
|
19345
19459
|
|
|
19346
|
-
Defined in: [lib/dom.ts:
|
|
19460
|
+
Defined in: [lib/dom.ts:2073](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2073)
|
|
19347
19461
|
|
|
19348
19462
|
lib/dom/type-aliases/TDomBorder.md
|
|
19349
19463
|
---
|
|
@@ -19358,7 +19472,7 @@ lib/dom/type-aliases/TDomBorder.md
|
|
|
19358
19472
|
|
|
19359
19473
|
> **TDomBorder** = `"lt"` \| `"t"` \| `"tr"` \| `"r"` \| `"rb"` \| `"b"` \| `"bl"` \| `"l"` \| `""`
|
|
19360
19474
|
|
|
19361
|
-
Defined in: [lib/dom.ts:
|
|
19475
|
+
Defined in: [lib/dom.ts:2071](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2071)
|
|
19362
19476
|
|
|
19363
19477
|
方向类型,从左上开始
|
|
19364
19478
|
|
|
@@ -19407,7 +19521,7 @@ lib/dom/variables/is.md
|
|
|
19407
19521
|
|
|
19408
19522
|
> **is**: `object`
|
|
19409
19523
|
|
|
19410
|
-
Defined in: [lib/dom.ts:
|
|
19524
|
+
Defined in: [lib/dom.ts:1482](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1482)
|
|
19411
19525
|
|
|
19412
19526
|
相关状态
|
|
19413
19527
|
|
|
@@ -19466,7 +19580,7 @@ lib/dom/variables/mic.md
|
|
|
19466
19580
|
|
|
19467
19581
|
> `const` **mic**: `object`
|
|
19468
19582
|
|
|
19469
|
-
Defined in: [lib/dom.ts:
|
|
19583
|
+
Defined in: [lib/dom.ts:1852](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1852)
|
|
19470
19584
|
|
|
19471
19585
|
麦克风通过 WebSocket 对讲
|
|
19472
19586
|
|
|
@@ -30346,7 +30460,7 @@ lib/tool/enumerations/ESTATE.md
|
|
|
30346
30460
|
|
|
30347
30461
|
# Enumeration: ESTATE
|
|
30348
30462
|
|
|
30349
|
-
Defined in: [lib/tool.ts:
|
|
30463
|
+
Defined in: [lib/tool.ts:1800](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1800)
|
|
30350
30464
|
|
|
30351
30465
|
状态机状态
|
|
30352
30466
|
|
|
@@ -30356,7 +30470,7 @@ Defined in: [lib/tool.ts:1790](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30356
30470
|
|
|
30357
30471
|
> **COMMENT**: `4`
|
|
30358
30472
|
|
|
30359
|
-
Defined in: [lib/tool.ts:
|
|
30473
|
+
Defined in: [lib/tool.ts:1810](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1810)
|
|
30360
30474
|
|
|
30361
30475
|
注释
|
|
30362
30476
|
|
|
@@ -30366,7 +30480,7 @@ Defined in: [lib/tool.ts:1800](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30366
30480
|
|
|
30367
30481
|
> **NORMAL**: `0`
|
|
30368
30482
|
|
|
30369
|
-
Defined in: [lib/tool.ts:
|
|
30483
|
+
Defined in: [lib/tool.ts:1802](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1802)
|
|
30370
30484
|
|
|
30371
30485
|
普通
|
|
30372
30486
|
|
|
@@ -30376,7 +30490,7 @@ Defined in: [lib/tool.ts:1792](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30376
30490
|
|
|
30377
30491
|
> **REG**: `3`
|
|
30378
30492
|
|
|
30379
|
-
Defined in: [lib/tool.ts:
|
|
30493
|
+
Defined in: [lib/tool.ts:1808](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1808)
|
|
30380
30494
|
|
|
30381
30495
|
正则
|
|
30382
30496
|
|
|
@@ -30386,7 +30500,7 @@ Defined in: [lib/tool.ts:1798](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30386
30500
|
|
|
30387
30501
|
> **STRING**: `2`
|
|
30388
30502
|
|
|
30389
|
-
Defined in: [lib/tool.ts:
|
|
30503
|
+
Defined in: [lib/tool.ts:1806](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1806)
|
|
30390
30504
|
|
|
30391
30505
|
字符串
|
|
30392
30506
|
|
|
@@ -30396,7 +30510,7 @@ Defined in: [lib/tool.ts:1796](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30396
30510
|
|
|
30397
30511
|
> **WORD**: `1`
|
|
30398
30512
|
|
|
30399
|
-
Defined in: [lib/tool.ts:
|
|
30513
|
+
Defined in: [lib/tool.ts:1804](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1804)
|
|
30400
30514
|
|
|
30401
30515
|
单词
|
|
30402
30516
|
|
|
@@ -30442,7 +30556,7 @@ lib/tool/functions/blob2DataUrl.md
|
|
|
30442
30556
|
|
|
30443
30557
|
> **blob2DataUrl**(`blob`): `Promise`\<`string`\>
|
|
30444
30558
|
|
|
30445
|
-
Defined in: [lib/tool.ts:
|
|
30559
|
+
Defined in: [lib/tool.ts:1538](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1538)
|
|
30446
30560
|
|
|
30447
30561
|
将 blob 对象转换为 base64 url
|
|
30448
30562
|
|
|
@@ -30473,7 +30587,7 @@ lib/tool/functions/blob2Text.md
|
|
|
30473
30587
|
|
|
30474
30588
|
> **blob2Text**(`blob`): `Promise`\<`string`\>
|
|
30475
30589
|
|
|
30476
|
-
Defined in: [lib/tool.ts:
|
|
30590
|
+
Defined in: [lib/tool.ts:1515](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1515)
|
|
30477
30591
|
|
|
30478
30592
|
将 blob 对象转换为 text
|
|
30479
30593
|
|
|
@@ -30502,7 +30616,7 @@ lib/tool/functions/clone.md
|
|
|
30502
30616
|
|
|
30503
30617
|
> **clone**\<`T`\>(`obj`): `T`
|
|
30504
30618
|
|
|
30505
|
-
Defined in: [lib/tool.ts:
|
|
30619
|
+
Defined in: [lib/tool.ts:251](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L251)
|
|
30506
30620
|
|
|
30507
30621
|
完整的克隆一份数组/对象
|
|
30508
30622
|
|
|
@@ -30524,6 +30638,8 @@ Defined in: [lib/tool.ts:191](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
30524
30638
|
|
|
30525
30639
|
`T`
|
|
30526
30640
|
|
|
30641
|
+
克隆后的对象
|
|
30642
|
+
|
|
30527
30643
|
lib/tool/functions/compar.md
|
|
30528
30644
|
---
|
|
30529
30645
|
|
|
@@ -30537,7 +30653,7 @@ lib/tool/functions/compar.md
|
|
|
30537
30653
|
|
|
30538
30654
|
> **compar**(`before`, `after`): `object`
|
|
30539
30655
|
|
|
30540
|
-
Defined in: [lib/tool.ts:
|
|
30656
|
+
Defined in: [lib/tool.ts:1572](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1572)
|
|
30541
30657
|
|
|
30542
30658
|
- 对比老值和新值,看看新值中哪些移除了,哪些新增了
|
|
30543
30659
|
|
|
@@ -30649,7 +30765,7 @@ lib/tool/functions/escapeHTML.md
|
|
|
30649
30765
|
|
|
30650
30766
|
> **escapeHTML**(`html`): `string`
|
|
30651
30767
|
|
|
30652
|
-
Defined in: [lib/tool.ts:
|
|
30768
|
+
Defined in: [lib/tool.ts:775](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L775)
|
|
30653
30769
|
|
|
30654
30770
|
转义 HTML
|
|
30655
30771
|
|
|
@@ -30678,7 +30794,7 @@ lib/tool/functions/eventsAttrWrap.md
|
|
|
30678
30794
|
|
|
30679
30795
|
> **eventsAttrWrap**(`layout`): `string`
|
|
30680
30796
|
|
|
30681
|
-
Defined in: [lib/tool.ts:
|
|
30797
|
+
Defined in: [lib/tool.ts:538](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L538)
|
|
30682
30798
|
|
|
30683
30799
|
对 layout 的 events 事件进行包裹
|
|
30684
30800
|
|
|
@@ -30707,7 +30823,7 @@ lib/tool/functions/execCommand.md
|
|
|
30707
30823
|
|
|
30708
30824
|
> **execCommand**(`ac`): `void`
|
|
30709
30825
|
|
|
30710
|
-
Defined in: [lib/tool.ts:
|
|
30826
|
+
Defined in: [lib/tool.ts:1559](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1559)
|
|
30711
30827
|
|
|
30712
30828
|
## Parameters
|
|
30713
30829
|
|
|
@@ -30732,7 +30848,7 @@ lib/tool/functions/fetch.md
|
|
|
30732
30848
|
|
|
30733
30849
|
> **fetch**(`url`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
30734
30850
|
|
|
30735
|
-
Defined in: [lib/tool.ts:
|
|
30851
|
+
Defined in: [lib/tool.ts:1152](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1152)
|
|
30736
30852
|
|
|
30737
30853
|
发起 fetch 请求
|
|
30738
30854
|
|
|
@@ -30769,7 +30885,7 @@ lib/tool/functions/formatColor.md
|
|
|
30769
30885
|
|
|
30770
30886
|
> **formatColor**(`color`): `number`[]
|
|
30771
30887
|
|
|
30772
|
-
Defined in: [lib/tool.ts:
|
|
30888
|
+
Defined in: [lib/tool.ts:801](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L801)
|
|
30773
30889
|
|
|
30774
30890
|
将 rgb 或 hsl 等颜色转换为数字数组
|
|
30775
30891
|
|
|
@@ -30798,7 +30914,7 @@ lib/tool/functions/formatSecond.md
|
|
|
30798
30914
|
|
|
30799
30915
|
> **formatSecond**(`second`): `string`
|
|
30800
30916
|
|
|
30801
|
-
Defined in: [lib/tool.ts:
|
|
30917
|
+
Defined in: [lib/tool.ts:1615](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1615)
|
|
30802
30918
|
|
|
30803
30919
|
将秒数格式化为 0:0:0 的字符串
|
|
30804
30920
|
|
|
@@ -30825,7 +30941,7 @@ lib/tool/functions/formatTime.md
|
|
|
30825
30941
|
|
|
30826
30942
|
> **formatTime**(`ts`, `tz?`): `object`
|
|
30827
30943
|
|
|
30828
|
-
Defined in: [lib/tool.ts:
|
|
30944
|
+
Defined in: [lib/tool.ts:1628](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1628)
|
|
30829
30945
|
|
|
30830
30946
|
将日期对象或毫秒级时间戳转换为字符串
|
|
30831
30947
|
|
|
@@ -30872,7 +30988,7 @@ lib/tool/functions/getArray.md
|
|
|
30872
30988
|
|
|
30873
30989
|
> **getArray**(`param`): `any`[]
|
|
30874
30990
|
|
|
30875
|
-
Defined in: [lib/tool.ts:
|
|
30991
|
+
Defined in: [lib/tool.ts:750](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L750)
|
|
30876
30992
|
|
|
30877
30993
|
根据参数获取最终的数组型,可传入类似 [1,2,3] 或 1,2,3
|
|
30878
30994
|
|
|
@@ -30901,7 +31017,7 @@ lib/tool/functions/getBoolean.md
|
|
|
30901
31017
|
|
|
30902
31018
|
> **getBoolean**(`param`): `boolean`
|
|
30903
31019
|
|
|
30904
|
-
Defined in: [lib/tool.ts:
|
|
31020
|
+
Defined in: [lib/tool.ts:724](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L724)
|
|
30905
31021
|
|
|
30906
31022
|
根据参数获取最终的布尔值
|
|
30907
31023
|
|
|
@@ -30971,7 +31087,7 @@ lib/tool/functions/get.md
|
|
|
30971
31087
|
|
|
30972
31088
|
> **get**(`url`, `init?`, `opt?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
30973
31089
|
|
|
30974
|
-
Defined in: [lib/tool.ts:
|
|
31090
|
+
Defined in: [lib/tool.ts:1178](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1178)
|
|
30975
31091
|
|
|
30976
31092
|
发起 GET 请求
|
|
30977
31093
|
|
|
@@ -31018,7 +31134,7 @@ lib/tool/functions/getMimeByPath.md
|
|
|
31018
31134
|
|
|
31019
31135
|
> **getMimeByPath**(`path`): `object`
|
|
31020
31136
|
|
|
31021
|
-
Defined in: [lib/tool.ts:
|
|
31137
|
+
Defined in: [lib/tool.ts:646](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L646)
|
|
31022
31138
|
|
|
31023
31139
|
根据后缀、文件名或路径获取 mime 类型(简单版,完整版请使用 @litert/mime.js)
|
|
31024
31140
|
|
|
@@ -31055,7 +31171,7 @@ lib/tool/functions/getNumber.md
|
|
|
31055
31171
|
|
|
31056
31172
|
> **getNumber**(`param`): `number`
|
|
31057
31173
|
|
|
31058
|
-
Defined in: [lib/tool.ts:
|
|
31174
|
+
Defined in: [lib/tool.ts:739](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L739)
|
|
31059
31175
|
|
|
31060
31176
|
根据参数获取最终的数字型
|
|
31061
31177
|
|
|
@@ -31084,7 +31200,7 @@ lib/tool/functions/getResponseJson.md
|
|
|
31084
31200
|
|
|
31085
31201
|
> **getResponseJson**(`url`, `init?`): `Promise`\<`any`\>
|
|
31086
31202
|
|
|
31087
|
-
Defined in: [lib/tool.ts:
|
|
31203
|
+
Defined in: [lib/tool.ts:1230](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1230)
|
|
31088
31204
|
|
|
31089
31205
|
发起 GET 请求并解析 JSON 响应
|
|
31090
31206
|
|
|
@@ -31121,7 +31237,7 @@ lib/tool/functions/hex2rgb.md
|
|
|
31121
31237
|
|
|
31122
31238
|
> **hex2rgb**(`hex`): `object`
|
|
31123
31239
|
|
|
31124
|
-
Defined in: [lib/tool.ts:
|
|
31240
|
+
Defined in: [lib/tool.ts:850](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L850)
|
|
31125
31241
|
|
|
31126
31242
|
hex 转换为 rgba,#27ae60ff, 27ae60 #fff
|
|
31127
31243
|
|
|
@@ -31170,7 +31286,7 @@ lib/tool/functions/hsl2rgb.md
|
|
|
31170
31286
|
|
|
31171
31287
|
> **hsl2rgb**(`h`, `s?`, `l?`, `a?`, `decimal?`): `object`
|
|
31172
31288
|
|
|
31173
|
-
Defined in: [lib/tool.ts:
|
|
31289
|
+
Defined in: [lib/tool.ts:994](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L994)
|
|
31174
31290
|
|
|
31175
31291
|
hsl 字符串转 rgb 数组
|
|
31176
31292
|
|
|
@@ -31243,7 +31359,7 @@ lib/tool/functions/isEscapeChar.md
|
|
|
31243
31359
|
|
|
31244
31360
|
> **isEscapeChar**(`code`, `index`): `boolean`
|
|
31245
31361
|
|
|
31246
|
-
Defined in: [lib/tool.ts:
|
|
31362
|
+
Defined in: [lib/tool.ts:1790](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1790)
|
|
31247
31363
|
|
|
31248
31364
|
判断字符是否是转义字符
|
|
31249
31365
|
|
|
@@ -31280,7 +31396,7 @@ lib/tool/functions/isEscaped.md
|
|
|
31280
31396
|
|
|
31281
31397
|
> **isEscaped**(`str`, `pos`): `boolean`
|
|
31282
31398
|
|
|
31283
|
-
Defined in: [lib/tool.ts:
|
|
31399
|
+
Defined in: [lib/tool.ts:1719](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1719)
|
|
31284
31400
|
|
|
31285
31401
|
转义字符检查
|
|
31286
31402
|
检查指定位置的字符是否被转义
|
|
@@ -31318,7 +31434,7 @@ lib/tool/functions/isFalsy.md
|
|
|
31318
31434
|
|
|
31319
31435
|
> **isFalsy**(`val`): `val is TFalsy`
|
|
31320
31436
|
|
|
31321
|
-
Defined in: [lib/tool.ts:
|
|
31437
|
+
Defined in: [lib/tool.ts:2553](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2553)
|
|
31322
31438
|
|
|
31323
31439
|
判断一个值是否是虚假的(为 null/undefined/空字符串/false/0)
|
|
31324
31440
|
|
|
@@ -31347,7 +31463,7 @@ lib/tool/functions/isMs.md
|
|
|
31347
31463
|
|
|
31348
31464
|
> **isMs**(`time`): `boolean`
|
|
31349
31465
|
|
|
31350
|
-
Defined in: [lib/tool.ts:
|
|
31466
|
+
Defined in: [lib/tool.ts:1655](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1655)
|
|
31351
31467
|
|
|
31352
31468
|
是否是毫秒
|
|
31353
31469
|
|
|
@@ -31376,7 +31492,7 @@ lib/tool/functions/isTruthy.md
|
|
|
31376
31492
|
|
|
31377
31493
|
> **isTruthy**(`val`): `val is any`
|
|
31378
31494
|
|
|
31379
|
-
Defined in: [lib/tool.ts:
|
|
31495
|
+
Defined in: [lib/tool.ts:2561](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2561)
|
|
31380
31496
|
|
|
31381
31497
|
判断一个值是否是真实的(不为 null/undefined/空字符串/false/0)
|
|
31382
31498
|
|
|
@@ -31405,7 +31521,7 @@ lib/tool/functions/layoutAddTagClassAndReTagName.md
|
|
|
31405
31521
|
|
|
31406
31522
|
> **layoutAddTagClassAndReTagName**(`layout`, `retagname`): `string`
|
|
31407
31523
|
|
|
31408
|
-
Defined in: [lib/tool.ts:
|
|
31524
|
+
Defined in: [lib/tool.ts:364](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L364)
|
|
31409
31525
|
|
|
31410
31526
|
给标签增加 tag-tagname 的 class,同时给标签增加 cg- 前导(仅字符串,不是操作真实 dom)
|
|
31411
31527
|
|
|
@@ -31440,7 +31556,7 @@ lib/tool/functions/layoutClassPrepend.md
|
|
|
31440
31556
|
|
|
31441
31557
|
> **layoutClassPrepend**(`layout`, `preps`): `string`
|
|
31442
31558
|
|
|
31443
|
-
Defined in: [lib/tool.ts:
|
|
31559
|
+
Defined in: [lib/tool.ts:482](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L482)
|
|
31444
31560
|
|
|
31445
31561
|
给 class 增加 scope 的随机前缀,给 id 新增前缀
|
|
31446
31562
|
|
|
@@ -31475,7 +31591,7 @@ lib/tool/functions/layoutInsertAttr.md
|
|
|
31475
31591
|
|
|
31476
31592
|
> **layoutInsertAttr**(`layout`, `insert`, `opt?`): `string`
|
|
31477
31593
|
|
|
31478
|
-
Defined in: [lib/tool.ts:
|
|
31594
|
+
Defined in: [lib/tool.ts:423](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L423)
|
|
31479
31595
|
|
|
31480
31596
|
给标签追加 attr,即使 attr 存在也会追加上一个新的(非真实 DOM 操作,仅仅是对字符串进行处理)
|
|
31481
31597
|
|
|
@@ -31522,7 +31638,7 @@ lib/tool/functions/loadLink.md
|
|
|
31522
31638
|
|
|
31523
31639
|
> **loadLink**(`url`, `pos?`): `Promise`\<`boolean`\>
|
|
31524
31640
|
|
|
31525
|
-
Defined in: [lib/tool.ts:
|
|
31641
|
+
Defined in: [lib/tool.ts:2504](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2504)
|
|
31526
31642
|
|
|
31527
31643
|
加载 css 文件
|
|
31528
31644
|
|
|
@@ -31557,7 +31673,7 @@ lib/tool/functions/loadLinks.md
|
|
|
31557
31673
|
|
|
31558
31674
|
> **loadLinks**(`urls`, `opt?`): `Promise`\<`void`\>
|
|
31559
31675
|
|
|
31560
|
-
Defined in: [lib/tool.ts:
|
|
31676
|
+
Defined in: [lib/tool.ts:2530](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2530)
|
|
31561
31677
|
|
|
31562
31678
|
批量加载 css 文件
|
|
31563
31679
|
|
|
@@ -31594,7 +31710,7 @@ lib/tool/functions/loadScript.md
|
|
|
31594
31710
|
|
|
31595
31711
|
> **loadScript**(`url`): `Promise`\<`boolean`\>
|
|
31596
31712
|
|
|
31597
|
-
Defined in: [lib/tool.ts:
|
|
31713
|
+
Defined in: [lib/tool.ts:2471](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2471)
|
|
31598
31714
|
|
|
31599
31715
|
加载脚本
|
|
31600
31716
|
|
|
@@ -31623,7 +31739,7 @@ lib/tool/functions/loadScripts.md
|
|
|
31623
31739
|
|
|
31624
31740
|
> **loadScripts**(`urls`, `opt?`): `Promise`\<`void`\>
|
|
31625
31741
|
|
|
31626
|
-
Defined in: [lib/tool.ts:
|
|
31742
|
+
Defined in: [lib/tool.ts:2490](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2490)
|
|
31627
31743
|
|
|
31628
31744
|
批量加载 js 文件
|
|
31629
31745
|
|
|
@@ -31660,7 +31776,7 @@ lib/tool/functions/loadStyle.md
|
|
|
31660
31776
|
|
|
31661
31777
|
> **loadStyle**(`style`): `void`
|
|
31662
31778
|
|
|
31663
|
-
Defined in: [lib/tool.ts:
|
|
31779
|
+
Defined in: [lib/tool.ts:2543](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2543)
|
|
31664
31780
|
|
|
31665
31781
|
加载 css 字符串
|
|
31666
31782
|
|
|
@@ -31689,7 +31805,7 @@ lib/tool/functions/logicalOr.md
|
|
|
31689
31805
|
|
|
31690
31806
|
> **logicalOr**\<`T`, `T2`\>(`v1`, `v2`): \[`T`\] *extends* \[[`TFalsy`](../type-aliases/TFalsy.md)\] ? `T2` : `T`
|
|
31691
31807
|
|
|
31692
|
-
Defined in: [lib/tool.ts:
|
|
31808
|
+
Defined in: [lib/tool.ts:2570](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2570)
|
|
31693
31809
|
|
|
31694
31810
|
类似 || 运算符的效果
|
|
31695
31811
|
|
|
@@ -31734,7 +31850,7 @@ lib/tool/functions/match.md
|
|
|
31734
31850
|
|
|
31735
31851
|
> **match**(`str`, `regs`): `boolean`
|
|
31736
31852
|
|
|
31737
|
-
Defined in: [lib/tool.ts:
|
|
31853
|
+
Defined in: [lib/tool.ts:320](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L320)
|
|
31738
31854
|
|
|
31739
31855
|
传入正则进行匹配 str 是否有一项满足
|
|
31740
31856
|
|
|
@@ -31769,7 +31885,7 @@ lib/tool/functions/nextFrame.md
|
|
|
31769
31885
|
|
|
31770
31886
|
> **nextFrame**(): `Promise`\<`void`\>
|
|
31771
31887
|
|
|
31772
|
-
Defined in: [lib/tool.ts:
|
|
31888
|
+
Defined in: [lib/tool.ts:274](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L274)
|
|
31773
31889
|
|
|
31774
31890
|
等待浏览器帧
|
|
31775
31891
|
|
|
@@ -31790,7 +31906,7 @@ lib/tool/functions/parseArrayString.md
|
|
|
31790
31906
|
|
|
31791
31907
|
> **parseArrayString**(`arrayStr`): `string`[]
|
|
31792
31908
|
|
|
31793
|
-
Defined in: [lib/tool.ts:
|
|
31909
|
+
Defined in: [lib/tool.ts:1734](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1734)
|
|
31794
31910
|
|
|
31795
31911
|
数组字符串解析器
|
|
31796
31912
|
解析数组字符串为各元素组成的字符串数组
|
|
@@ -31822,7 +31938,7 @@ lib/tool/functions/parseUrl.md
|
|
|
31822
31938
|
|
|
31823
31939
|
> **parseUrl**(`url`): [`IUrl`](../interfaces/IUrl.md)
|
|
31824
31940
|
|
|
31825
|
-
Defined in: [lib/tool.ts:
|
|
31941
|
+
Defined in: [lib/tool.ts:1356](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1356)
|
|
31826
31942
|
|
|
31827
31943
|
传输 url 并解析为 IUrl 对象
|
|
31828
31944
|
|
|
@@ -31851,7 +31967,7 @@ lib/tool/functions/post.md
|
|
|
31851
31967
|
|
|
31852
31968
|
> **post**(`url`, `data`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
31853
31969
|
|
|
31854
|
-
Defined in: [lib/tool.ts:
|
|
31970
|
+
Defined in: [lib/tool.ts:1205](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1205)
|
|
31855
31971
|
|
|
31856
31972
|
发起 POST 请求(除 FormData 外都会转换为 JSON 提交)
|
|
31857
31973
|
|
|
@@ -31894,7 +32010,7 @@ lib/tool/functions/postResponseEventStream.md
|
|
|
31894
32010
|
|
|
31895
32011
|
> **postResponseEventStream**(`url`, `data`, `opts?`): `AbortController`
|
|
31896
32012
|
|
|
31897
|
-
Defined in: [lib/tool.ts:
|
|
32013
|
+
Defined in: [lib/tool.ts:1253](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1253)
|
|
31898
32014
|
|
|
31899
32015
|
发起 JSON 请求并获得文本 SSE 响应
|
|
31900
32016
|
|
|
@@ -31969,7 +32085,7 @@ lib/tool/functions/postResponseJson.md
|
|
|
31969
32085
|
|
|
31970
32086
|
> **postResponseJson**(`url`, `data`, `init?`): `Promise`\<`any`\>
|
|
31971
32087
|
|
|
31972
|
-
Defined in: [lib/tool.ts:
|
|
32088
|
+
Defined in: [lib/tool.ts:1334](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1334)
|
|
31973
32089
|
|
|
31974
32090
|
发起 POST 请求并解析 JSON 响应
|
|
31975
32091
|
|
|
@@ -32012,7 +32128,7 @@ lib/tool/functions/purify.md
|
|
|
32012
32128
|
|
|
32013
32129
|
> **purify**(`text`): `string`
|
|
32014
32130
|
|
|
32015
|
-
Defined in: [lib/tool.ts:
|
|
32131
|
+
Defined in: [lib/tool.ts:299](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L299)
|
|
32016
32132
|
|
|
32017
32133
|
去除 html 的空白符、换行以及注释
|
|
32018
32134
|
|
|
@@ -32041,7 +32157,7 @@ lib/tool/functions/queryParse.md
|
|
|
32041
32157
|
|
|
32042
32158
|
> **queryParse**(`query`): `Record`\<`string`, `string` \| `string`[]\>
|
|
32043
32159
|
|
|
32044
|
-
Defined in: [lib/tool.ts:
|
|
32160
|
+
Defined in: [lib/tool.ts:1685](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1685)
|
|
32045
32161
|
|
|
32046
32162
|
将 query string 转换为对象
|
|
32047
32163
|
|
|
@@ -32070,7 +32186,7 @@ lib/tool/functions/queryStringify.md
|
|
|
32070
32186
|
|
|
32071
32187
|
> **queryStringify**(`query`, `encode?`): `string`
|
|
32072
32188
|
|
|
32073
|
-
Defined in: [lib/tool.ts:
|
|
32189
|
+
Defined in: [lib/tool.ts:1664](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1664)
|
|
32074
32190
|
|
|
32075
32191
|
将对象转换为 query string
|
|
32076
32192
|
|
|
@@ -32105,7 +32221,7 @@ lib/tool/functions/rand.md
|
|
|
32105
32221
|
|
|
32106
32222
|
> **rand**(`min`, `max`, `prec?`): `number`
|
|
32107
32223
|
|
|
32108
|
-
Defined in: [lib/tool.ts:
|
|
32224
|
+
Defined in: [lib/tool.ts:672](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L672)
|
|
32109
32225
|
|
|
32110
32226
|
生成范围内的随机数
|
|
32111
32227
|
|
|
@@ -32146,7 +32262,7 @@ lib/tool/functions/random.md
|
|
|
32146
32262
|
|
|
32147
32263
|
> **random**(`length?`, `source?`, `block?`): `string`
|
|
32148
32264
|
|
|
32149
|
-
Defined in: [lib/tool.ts:
|
|
32265
|
+
Defined in: [lib/tool.ts:701](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L701)
|
|
32150
32266
|
|
|
32151
32267
|
生成随机字符串
|
|
32152
32268
|
|
|
@@ -32189,7 +32305,7 @@ lib/tool/functions/request.md
|
|
|
32189
32305
|
|
|
32190
32306
|
> **request**(`url`, `opt`): `Promise`\<`any`\>
|
|
32191
32307
|
|
|
32192
|
-
Defined in: [lib/tool.ts:
|
|
32308
|
+
Defined in: [lib/tool.ts:1059](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1059)
|
|
32193
32309
|
|
|
32194
32310
|
发起一个网络请求,若是返回值是 JSON 则自动解析,否则直接返回字符串
|
|
32195
32311
|
|
|
@@ -32224,7 +32340,7 @@ lib/tool/functions/rgb2hex.md
|
|
|
32224
32340
|
|
|
32225
32341
|
> **rgb2hex**(`r`, `g?`, `b?`, `a?`): `string`
|
|
32226
32342
|
|
|
32227
|
-
Defined in: [lib/tool.ts:
|
|
32343
|
+
Defined in: [lib/tool.ts:818](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L818)
|
|
32228
32344
|
|
|
32229
32345
|
将 r, g, b 转换为 hex 字符串,不含 #
|
|
32230
32346
|
|
|
@@ -32269,7 +32385,7 @@ lib/tool/functions/rgb2hsl.md
|
|
|
32269
32385
|
|
|
32270
32386
|
> **rgb2hsl**(`r`, `g?`, `b?`, `a?`, `decimal?`): `object`
|
|
32271
32387
|
|
|
32272
|
-
Defined in: [lib/tool.ts:
|
|
32388
|
+
Defined in: [lib/tool.ts:891](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L891)
|
|
32273
32389
|
|
|
32274
32390
|
rgb 字符串转 hsl 数组
|
|
32275
32391
|
|
|
@@ -32408,7 +32524,7 @@ lib/tool/functions/sleepFrame.md
|
|
|
32408
32524
|
|
|
32409
32525
|
> **sleepFrame**(`count`): `Promise`\<`void`\>
|
|
32410
32526
|
|
|
32411
|
-
Defined in: [lib/tool.ts:
|
|
32527
|
+
Defined in: [lib/tool.ts:286](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L286)
|
|
32412
32528
|
|
|
32413
32529
|
等待浏览器帧
|
|
32414
32530
|
|
|
@@ -32437,7 +32553,7 @@ lib/tool/functions/sleep.md
|
|
|
32437
32553
|
|
|
32438
32554
|
> **sleep**(`ms?`): `Promise`\<`boolean`\>
|
|
32439
32555
|
|
|
32440
|
-
Defined in: [lib/tool.ts:
|
|
32556
|
+
Defined in: [lib/tool.ts:259](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L259)
|
|
32441
32557
|
|
|
32442
32558
|
等待毫秒
|
|
32443
32559
|
|
|
@@ -32466,7 +32582,7 @@ lib/tool/functions/stateMachine.md
|
|
|
32466
32582
|
|
|
32467
32583
|
> **stateMachine**(`code`, `start`, `process`): `void`
|
|
32468
32584
|
|
|
32469
|
-
Defined in: [lib/tool.ts:
|
|
32585
|
+
Defined in: [lib/tool.ts:1820](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1820)
|
|
32470
32586
|
|
|
32471
32587
|
状态机
|
|
32472
32588
|
|
|
@@ -32509,7 +32625,7 @@ lib/tool/functions/stylePrepend.md
|
|
|
32509
32625
|
|
|
32510
32626
|
> **stylePrepend**(`style`, `prep?`): `object`
|
|
32511
32627
|
|
|
32512
|
-
Defined in: [lib/tool.ts:
|
|
32628
|
+
Defined in: [lib/tool.ts:569](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L569)
|
|
32513
32629
|
|
|
32514
32630
|
给 class 前部增加唯一标识符
|
|
32515
32631
|
|
|
@@ -32552,7 +32668,7 @@ lib/tool/functions/styleUrl2DataUrl.md
|
|
|
32552
32668
|
|
|
32553
32669
|
> **styleUrl2DataUrl**(`path`, `style`, `files`): `Promise`\<`string`\>
|
|
32554
32670
|
|
|
32555
|
-
Defined in: [lib/tool.ts:
|
|
32671
|
+
Defined in: [lib/tool.ts:335](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L335)
|
|
32556
32672
|
|
|
32557
32673
|
将 style 中的 url 转换成 base64 data url
|
|
32558
32674
|
|
|
@@ -32593,7 +32709,7 @@ lib/tool/functions/teleportGlue.md
|
|
|
32593
32709
|
|
|
32594
32710
|
> **teleportGlue**(`layout`, `formId`): `string`
|
|
32595
32711
|
|
|
32596
|
-
Defined in: [lib/tool.ts:
|
|
32712
|
+
Defined in: [lib/tool.ts:554](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L554)
|
|
32597
32713
|
|
|
32598
32714
|
对 layout 的 teleport 做转义处理为 vue 识别的内容
|
|
32599
32715
|
|
|
@@ -32628,7 +32744,7 @@ lib/tool/functions/unescapeHTML.md
|
|
|
32628
32744
|
|
|
32629
32745
|
> **unescapeHTML**(`html`): `string`
|
|
32630
32746
|
|
|
32631
|
-
Defined in: [lib/tool.ts:
|
|
32747
|
+
Defined in: [lib/tool.ts:787](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L787)
|
|
32632
32748
|
|
|
32633
32749
|
还原转义后的 HTML
|
|
32634
32750
|
|
|
@@ -32657,7 +32773,7 @@ lib/tool/functions/urlAtom.md
|
|
|
32657
32773
|
|
|
32658
32774
|
> **urlAtom**(`url`): `string`
|
|
32659
32775
|
|
|
32660
|
-
Defined in: [lib/tool.ts:
|
|
32776
|
+
Defined in: [lib/tool.ts:1498](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1498)
|
|
32661
32777
|
|
|
32662
32778
|
处理 URL 中的 .. / . 等
|
|
32663
32779
|
|
|
@@ -32684,7 +32800,7 @@ lib/tool/functions/urlResolve.md
|
|
|
32684
32800
|
|
|
32685
32801
|
> **urlResolve**(`from`, `to`): `string`
|
|
32686
32802
|
|
|
32687
|
-
Defined in: [lib/tool.ts:
|
|
32803
|
+
Defined in: [lib/tool.ts:1439](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1439)
|
|
32688
32804
|
|
|
32689
32805
|
将相对路径根据基准路径进行转换
|
|
32690
32806
|
|
|
@@ -32891,7 +33007,7 @@ lib/tool/interfaces/IRequestOptions.md
|
|
|
32891
33007
|
|
|
32892
33008
|
# Interface: IRequestOptions
|
|
32893
33009
|
|
|
32894
|
-
Defined in: [lib/tool.ts:
|
|
33010
|
+
Defined in: [lib/tool.ts:2648](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2648)
|
|
32895
33011
|
|
|
32896
33012
|
请求选项
|
|
32897
33013
|
|
|
@@ -32901,7 +33017,7 @@ Defined in: [lib/tool.ts:2638](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32901
33017
|
|
|
32902
33018
|
> `optional` **body?**: `FormData`
|
|
32903
33019
|
|
|
32904
|
-
Defined in: [lib/tool.ts:
|
|
33020
|
+
Defined in: [lib/tool.ts:2651](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2651)
|
|
32905
33021
|
|
|
32906
33022
|
***
|
|
32907
33023
|
|
|
@@ -32909,7 +33025,7 @@ Defined in: [lib/tool.ts:2641](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32909
33025
|
|
|
32910
33026
|
> `optional` **credentials?**: `boolean`
|
|
32911
33027
|
|
|
32912
|
-
Defined in: [lib/tool.ts:
|
|
33028
|
+
Defined in: [lib/tool.ts:2649](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2649)
|
|
32913
33029
|
|
|
32914
33030
|
***
|
|
32915
33031
|
|
|
@@ -32917,7 +33033,7 @@ Defined in: [lib/tool.ts:2639](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32917
33033
|
|
|
32918
33034
|
> `optional` **end?**: () => `void` \| `Promise`\<`void`\>
|
|
32919
33035
|
|
|
32920
|
-
Defined in: [lib/tool.ts:
|
|
33036
|
+
Defined in: [lib/tool.ts:2660](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2660)
|
|
32921
33037
|
|
|
32922
33038
|
#### Returns
|
|
32923
33039
|
|
|
@@ -32929,7 +33045,7 @@ Defined in: [lib/tool.ts:2650](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32929
33045
|
|
|
32930
33046
|
> `optional` **error?**: () => `void` \| `Promise`\<`void`\>
|
|
32931
33047
|
|
|
32932
|
-
Defined in: [lib/tool.ts:
|
|
33048
|
+
Defined in: [lib/tool.ts:2663](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2663)
|
|
32933
33049
|
|
|
32934
33050
|
#### Returns
|
|
32935
33051
|
|
|
@@ -32941,7 +33057,7 @@ Defined in: [lib/tool.ts:2653](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32941
33057
|
|
|
32942
33058
|
> `optional` **headers?**: `HeadersInit`
|
|
32943
33059
|
|
|
32944
|
-
Defined in: [lib/tool.ts:
|
|
33060
|
+
Defined in: [lib/tool.ts:2654](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2654)
|
|
32945
33061
|
|
|
32946
33062
|
***
|
|
32947
33063
|
|
|
@@ -32949,7 +33065,7 @@ Defined in: [lib/tool.ts:2644](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32949
33065
|
|
|
32950
33066
|
> `optional` **load?**: (`res`) => `void` \| `Promise`\<`void`\>
|
|
32951
33067
|
|
|
32952
|
-
Defined in: [lib/tool.ts:
|
|
33068
|
+
Defined in: [lib/tool.ts:2662](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2662)
|
|
32953
33069
|
|
|
32954
33070
|
#### Parameters
|
|
32955
33071
|
|
|
@@ -32967,7 +33083,7 @@ Defined in: [lib/tool.ts:2652](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32967
33083
|
|
|
32968
33084
|
> `optional` **method?**: `"GET"` \| `"POST"`
|
|
32969
33085
|
|
|
32970
|
-
Defined in: [lib/tool.ts:
|
|
33086
|
+
Defined in: [lib/tool.ts:2650](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2650)
|
|
32971
33087
|
|
|
32972
33088
|
***
|
|
32973
33089
|
|
|
@@ -32975,7 +33091,7 @@ Defined in: [lib/tool.ts:2640](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32975
33091
|
|
|
32976
33092
|
> `optional` **progress?**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
|
|
32977
33093
|
|
|
32978
|
-
Defined in: [lib/tool.ts:
|
|
33094
|
+
Defined in: [lib/tool.ts:2661](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2661)
|
|
32979
33095
|
|
|
32980
33096
|
#### Parameters
|
|
32981
33097
|
|
|
@@ -32997,7 +33113,7 @@ Defined in: [lib/tool.ts:2651](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
32997
33113
|
|
|
32998
33114
|
> `optional` **responseType?**: `XMLHttpRequestResponseType`
|
|
32999
33115
|
|
|
33000
|
-
Defined in: [lib/tool.ts:
|
|
33116
|
+
Defined in: [lib/tool.ts:2653](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2653)
|
|
33001
33117
|
|
|
33002
33118
|
***
|
|
33003
33119
|
|
|
@@ -33005,7 +33121,7 @@ Defined in: [lib/tool.ts:2643](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33005
33121
|
|
|
33006
33122
|
> `optional` **start?**: (`total`) => `void` \| `Promise`\<`void`\>
|
|
33007
33123
|
|
|
33008
|
-
Defined in: [lib/tool.ts:
|
|
33124
|
+
Defined in: [lib/tool.ts:2659](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2659)
|
|
33009
33125
|
|
|
33010
33126
|
#### Parameters
|
|
33011
33127
|
|
|
@@ -33023,7 +33139,7 @@ Defined in: [lib/tool.ts:2649](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33023
33139
|
|
|
33024
33140
|
> `optional` **timeout?**: `number`
|
|
33025
33141
|
|
|
33026
|
-
Defined in: [lib/tool.ts:
|
|
33142
|
+
Defined in: [lib/tool.ts:2652](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2652)
|
|
33027
33143
|
|
|
33028
33144
|
***
|
|
33029
33145
|
|
|
@@ -33031,7 +33147,7 @@ Defined in: [lib/tool.ts:2642](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33031
33147
|
|
|
33032
33148
|
> `optional` **uploadEnd?**: () => `void` \| `Promise`\<`void`\>
|
|
33033
33149
|
|
|
33034
|
-
Defined in: [lib/tool.ts:
|
|
33150
|
+
Defined in: [lib/tool.ts:2658](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2658)
|
|
33035
33151
|
|
|
33036
33152
|
#### Returns
|
|
33037
33153
|
|
|
@@ -33043,7 +33159,7 @@ Defined in: [lib/tool.ts:2648](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33043
33159
|
|
|
33044
33160
|
> `optional` **uploadProgress?**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
|
|
33045
33161
|
|
|
33046
|
-
Defined in: [lib/tool.ts:
|
|
33162
|
+
Defined in: [lib/tool.ts:2657](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2657)
|
|
33047
33163
|
|
|
33048
33164
|
#### Parameters
|
|
33049
33165
|
|
|
@@ -33065,7 +33181,7 @@ Defined in: [lib/tool.ts:2647](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33065
33181
|
|
|
33066
33182
|
> `optional` **uploadStart?**: (`total`) => `void` \| `Promise`\<`void`\>
|
|
33067
33183
|
|
|
33068
|
-
Defined in: [lib/tool.ts:
|
|
33184
|
+
Defined in: [lib/tool.ts:2656](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2656)
|
|
33069
33185
|
|
|
33070
33186
|
#### Parameters
|
|
33071
33187
|
|
|
@@ -33088,7 +33204,7 @@ lib/tool/interfaces/IUrl.md
|
|
|
33088
33204
|
|
|
33089
33205
|
# Interface: IUrl
|
|
33090
33206
|
|
|
33091
|
-
Defined in: [lib/tool.ts:
|
|
33207
|
+
Defined in: [lib/tool.ts:2633](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2633)
|
|
33092
33208
|
|
|
33093
33209
|
网址对象
|
|
33094
33210
|
|
|
@@ -33098,7 +33214,7 @@ Defined in: [lib/tool.ts:2623](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33098
33214
|
|
|
33099
33215
|
> **auth**: `string` \| `null`
|
|
33100
33216
|
|
|
33101
|
-
Defined in: [lib/tool.ts:
|
|
33217
|
+
Defined in: [lib/tool.ts:2634](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2634)
|
|
33102
33218
|
|
|
33103
33219
|
***
|
|
33104
33220
|
|
|
@@ -33106,7 +33222,7 @@ Defined in: [lib/tool.ts:2624](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33106
33222
|
|
|
33107
33223
|
> **hash**: `string` \| `null`
|
|
33108
33224
|
|
|
33109
|
-
Defined in: [lib/tool.ts:
|
|
33225
|
+
Defined in: [lib/tool.ts:2635](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2635)
|
|
33110
33226
|
|
|
33111
33227
|
***
|
|
33112
33228
|
|
|
@@ -33114,7 +33230,7 @@ Defined in: [lib/tool.ts:2625](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33114
33230
|
|
|
33115
33231
|
> **host**: `string` \| `null`
|
|
33116
33232
|
|
|
33117
|
-
Defined in: [lib/tool.ts:
|
|
33233
|
+
Defined in: [lib/tool.ts:2636](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2636)
|
|
33118
33234
|
|
|
33119
33235
|
***
|
|
33120
33236
|
|
|
@@ -33122,7 +33238,7 @@ Defined in: [lib/tool.ts:2626](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33122
33238
|
|
|
33123
33239
|
> **hostname**: `string` \| `null`
|
|
33124
33240
|
|
|
33125
|
-
Defined in: [lib/tool.ts:
|
|
33241
|
+
Defined in: [lib/tool.ts:2637](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2637)
|
|
33126
33242
|
|
|
33127
33243
|
***
|
|
33128
33244
|
|
|
@@ -33130,7 +33246,7 @@ Defined in: [lib/tool.ts:2627](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33130
33246
|
|
|
33131
33247
|
> **pass**: `string` \| `null`
|
|
33132
33248
|
|
|
33133
|
-
Defined in: [lib/tool.ts:
|
|
33249
|
+
Defined in: [lib/tool.ts:2638](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2638)
|
|
33134
33250
|
|
|
33135
33251
|
***
|
|
33136
33252
|
|
|
@@ -33138,7 +33254,7 @@ Defined in: [lib/tool.ts:2628](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33138
33254
|
|
|
33139
33255
|
> **path**: `string` \| `null`
|
|
33140
33256
|
|
|
33141
|
-
Defined in: [lib/tool.ts:
|
|
33257
|
+
Defined in: [lib/tool.ts:2639](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2639)
|
|
33142
33258
|
|
|
33143
33259
|
***
|
|
33144
33260
|
|
|
@@ -33146,7 +33262,7 @@ Defined in: [lib/tool.ts:2629](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33146
33262
|
|
|
33147
33263
|
> **pathname**: `string`
|
|
33148
33264
|
|
|
33149
|
-
Defined in: [lib/tool.ts:
|
|
33265
|
+
Defined in: [lib/tool.ts:2640](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2640)
|
|
33150
33266
|
|
|
33151
33267
|
***
|
|
33152
33268
|
|
|
@@ -33154,7 +33270,7 @@ Defined in: [lib/tool.ts:2630](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33154
33270
|
|
|
33155
33271
|
> **port**: `string` \| `null`
|
|
33156
33272
|
|
|
33157
|
-
Defined in: [lib/tool.ts:
|
|
33273
|
+
Defined in: [lib/tool.ts:2642](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2642)
|
|
33158
33274
|
|
|
33159
33275
|
***
|
|
33160
33276
|
|
|
@@ -33162,7 +33278,7 @@ Defined in: [lib/tool.ts:2632](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33162
33278
|
|
|
33163
33279
|
> **protocol**: `string` \| `null`
|
|
33164
33280
|
|
|
33165
|
-
Defined in: [lib/tool.ts:
|
|
33281
|
+
Defined in: [lib/tool.ts:2641](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2641)
|
|
33166
33282
|
|
|
33167
33283
|
***
|
|
33168
33284
|
|
|
@@ -33170,7 +33286,7 @@ Defined in: [lib/tool.ts:2631](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33170
33286
|
|
|
33171
33287
|
> **query**: `string` \| `null`
|
|
33172
33288
|
|
|
33173
|
-
Defined in: [lib/tool.ts:
|
|
33289
|
+
Defined in: [lib/tool.ts:2643](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2643)
|
|
33174
33290
|
|
|
33175
33291
|
***
|
|
33176
33292
|
|
|
@@ -33178,7 +33294,7 @@ Defined in: [lib/tool.ts:2633](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
33178
33294
|
|
|
33179
33295
|
> **user**: `string` \| `null`
|
|
33180
33296
|
|
|
33181
|
-
Defined in: [lib/tool.ts:
|
|
33297
|
+
Defined in: [lib/tool.ts:2644](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2644)
|
|
33182
33298
|
|
|
33183
33299
|
lib/tool/type-aliases/TFalsy.md
|
|
33184
33300
|
---
|
|
@@ -33193,7 +33309,7 @@ lib/tool/type-aliases/TFalsy.md
|
|
|
33193
33309
|
|
|
33194
33310
|
> **TFalsy** = `false` \| `""` \| `0` \| `null` \| `undefined` \| *typeof* `NaN`
|
|
33195
33311
|
|
|
33196
|
-
Defined in: [lib/tool.ts:
|
|
33312
|
+
Defined in: [lib/tool.ts:2667](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2667)
|
|
33197
33313
|
|
|
33198
33314
|
虚假值类型
|
|
33199
33315
|
|
|
@@ -33210,7 +33326,7 @@ lib/tool/variables/lang.md
|
|
|
33210
33326
|
|
|
33211
33327
|
> `const` **lang**: `object`
|
|
33212
33328
|
|
|
33213
|
-
Defined in: [lib/tool.ts:
|
|
33329
|
+
Defined in: [lib/tool.ts:2575](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2575)
|
|
33214
33330
|
|
|
33215
33331
|
语言相关
|
|
33216
33332
|
|
|
@@ -33265,7 +33381,7 @@ lib/tool/variables/RANDOM_L.md
|
|
|
33265
33381
|
|
|
33266
33382
|
> `const` **RANDOM\_L**: `"abcdefghijklmnopqrstuvwxyz"` = `'abcdefghijklmnopqrstuvwxyz'`
|
|
33267
33383
|
|
|
33268
|
-
Defined in: [lib/tool.ts:
|
|
33384
|
+
Defined in: [lib/tool.ts:685](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L685)
|
|
33269
33385
|
|
|
33270
33386
|
lib/tool/variables/RANDOM_LN.md
|
|
33271
33387
|
---
|
|
@@ -33280,7 +33396,7 @@ lib/tool/variables/RANDOM_LN.md
|
|
|
33280
33396
|
|
|
33281
33397
|
> `const` **RANDOM\_LN**: `string`
|
|
33282
33398
|
|
|
33283
|
-
Defined in: [lib/tool.ts:
|
|
33399
|
+
Defined in: [lib/tool.ts:688](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L688)
|
|
33284
33400
|
|
|
33285
33401
|
lib/tool/variables/RANDOM_LU.md
|
|
33286
33402
|
---
|
|
@@ -33295,7 +33411,7 @@ lib/tool/variables/RANDOM_LU.md
|
|
|
33295
33411
|
|
|
33296
33412
|
> `const` **RANDOM\_LU**: `string`
|
|
33297
33413
|
|
|
33298
|
-
Defined in: [lib/tool.ts:
|
|
33414
|
+
Defined in: [lib/tool.ts:689](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L689)
|
|
33299
33415
|
|
|
33300
33416
|
lib/tool/variables/RANDOM_LUN.md
|
|
33301
33417
|
---
|
|
@@ -33310,7 +33426,7 @@ lib/tool/variables/RANDOM_LUN.md
|
|
|
33310
33426
|
|
|
33311
33427
|
> `const` **RANDOM\_LUN**: `string`
|
|
33312
33428
|
|
|
33313
|
-
Defined in: [lib/tool.ts:
|
|
33429
|
+
Defined in: [lib/tool.ts:690](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L690)
|
|
33314
33430
|
|
|
33315
33431
|
lib/tool/variables/RANDOM_LUNS.md
|
|
33316
33432
|
---
|
|
@@ -33325,7 +33441,7 @@ lib/tool/variables/RANDOM_LUNS.md
|
|
|
33325
33441
|
|
|
33326
33442
|
> `const` **RANDOM\_LUNS**: `string`
|
|
33327
33443
|
|
|
33328
|
-
Defined in: [lib/tool.ts:
|
|
33444
|
+
Defined in: [lib/tool.ts:692](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L692)
|
|
33329
33445
|
|
|
33330
33446
|
lib/tool/variables/RANDOM_N.md
|
|
33331
33447
|
---
|
|
@@ -33340,7 +33456,7 @@ lib/tool/variables/RANDOM_N.md
|
|
|
33340
33456
|
|
|
33341
33457
|
> `const` **RANDOM\_N**: `"0123456789"` = `'0123456789'`
|
|
33342
33458
|
|
|
33343
|
-
Defined in: [lib/tool.ts:
|
|
33459
|
+
Defined in: [lib/tool.ts:683](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L683)
|
|
33344
33460
|
|
|
33345
33461
|
lib/tool/variables/RANDOM_U.md
|
|
33346
33462
|
---
|
|
@@ -33355,7 +33471,7 @@ lib/tool/variables/RANDOM_U.md
|
|
|
33355
33471
|
|
|
33356
33472
|
> `const` **RANDOM\_U**: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ"` = `'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
|
33357
33473
|
|
|
33358
|
-
Defined in: [lib/tool.ts:
|
|
33474
|
+
Defined in: [lib/tool.ts:684](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L684)
|
|
33359
33475
|
|
|
33360
33476
|
lib/tool/variables/RANDOM_UN.md
|
|
33361
33477
|
---
|
|
@@ -33370,7 +33486,7 @@ lib/tool/variables/RANDOM_UN.md
|
|
|
33370
33486
|
|
|
33371
33487
|
> `const` **RANDOM\_UN**: `string`
|
|
33372
33488
|
|
|
33373
|
-
Defined in: [lib/tool.ts:
|
|
33489
|
+
Defined in: [lib/tool.ts:687](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L687)
|
|
33374
33490
|
|
|
33375
33491
|
lib/tool/variables/RANDOM_V.md
|
|
33376
33492
|
---
|
|
@@ -33385,7 +33501,7 @@ lib/tool/variables/RANDOM_V.md
|
|
|
33385
33501
|
|
|
33386
33502
|
> `const` **RANDOM\_V**: `"ACEFGHJKLMNPRSTWXY34567"` = `'ACEFGHJKLMNPRSTWXY34567'`
|
|
33387
33503
|
|
|
33388
|
-
Defined in: [lib/tool.ts:
|
|
33504
|
+
Defined in: [lib/tool.ts:691](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L691)
|
|
33389
33505
|
|
|
33390
33506
|
lib/zip/classes/Zip.md
|
|
33391
33507
|
---
|