clickgo 5.6.1 → 5.6.3
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/control/form.cgc +0 -0
- package/dist/control/map.cgc +0 -0
- package/dist/index.js +1 -1
- package/dist/lib/tool.d.ts +11 -5
- package/doc/clickgo-rag.md +212 -176
- package/package.json +1 -1
package/doc/clickgo-rag.md
CHANGED
|
@@ -20135,7 +20135,7 @@ lib/form/functions/confirm.md
|
|
|
20135
20135
|
|
|
20136
20136
|
> **confirm**(`current`, `opt`): `Promise`\<`number` \| `boolean`\>
|
|
20137
20137
|
|
|
20138
|
-
Defined in: [dist/lib/form.ts:
|
|
20138
|
+
Defined in: [dist/lib/form.ts:3938](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3938)
|
|
20139
20139
|
|
|
20140
20140
|
显示一个 confirm
|
|
20141
20141
|
|
|
@@ -20170,7 +20170,7 @@ lib/form/functions/create.md
|
|
|
20170
20170
|
|
|
20171
20171
|
> **create**\<`T`\>(`current`, `cls`, `data?`, `opt?`): `Promise`\<`T`\>
|
|
20172
20172
|
|
|
20173
|
-
Defined in: [dist/lib/form.ts:
|
|
20173
|
+
Defined in: [dist/lib/form.ts:3341](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3341)
|
|
20174
20174
|
|
|
20175
20175
|
创建一个窗体
|
|
20176
20176
|
|
|
@@ -20298,7 +20298,7 @@ lib/form/functions/dialog.md
|
|
|
20298
20298
|
|
|
20299
20299
|
> **dialog**(`current`, `opt`): `Promise`\<`string`\>
|
|
20300
20300
|
|
|
20301
|
-
Defined in: [dist/lib/form.ts:
|
|
20301
|
+
Defined in: [dist/lib/form.ts:3863](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3863)
|
|
20302
20302
|
|
|
20303
20303
|
显示一个 dialog
|
|
20304
20304
|
|
|
@@ -20362,7 +20362,7 @@ lib/form/functions/flash.md
|
|
|
20362
20362
|
|
|
20363
20363
|
> **flash**(`current`, `formId`): `Promise`\<`void`\>
|
|
20364
20364
|
|
|
20365
|
-
Defined in: [dist/lib/form.ts:
|
|
20365
|
+
Defined in: [dist/lib/form.ts:4035](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4035)
|
|
20366
20366
|
|
|
20367
20367
|
让窗体闪烁
|
|
20368
20368
|
|
|
@@ -20730,7 +20730,7 @@ lib/form/functions/hideLauncher.md
|
|
|
20730
20730
|
|
|
20731
20731
|
> **hideLauncher**(): `void`
|
|
20732
20732
|
|
|
20733
|
-
Defined in: [dist/lib/form.ts:
|
|
20733
|
+
Defined in: [dist/lib/form.ts:4072](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4072)
|
|
20734
20734
|
|
|
20735
20735
|
隐藏 launcher 界面
|
|
20736
20736
|
|
|
@@ -20828,7 +20828,7 @@ lib/form/functions/init.md
|
|
|
20828
20828
|
|
|
20829
20829
|
> **init**(): `void`
|
|
20830
20830
|
|
|
20831
|
-
Defined in: [dist/lib/form.ts:
|
|
20831
|
+
Defined in: [dist/lib/form.ts:4086](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4086)
|
|
20832
20832
|
|
|
20833
20833
|
## Returns
|
|
20834
20834
|
|
|
@@ -21091,7 +21091,7 @@ lib/form/functions/prompt.md
|
|
|
21091
21091
|
|
|
21092
21092
|
> **prompt**(`current`, `opt`): `Promise`\<`string`\>
|
|
21093
21093
|
|
|
21094
|
-
Defined in: [dist/lib/form.ts:
|
|
21094
|
+
Defined in: [dist/lib/form.ts:3975](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3975)
|
|
21095
21095
|
|
|
21096
21096
|
显示一个输入框 dialog
|
|
21097
21097
|
|
|
@@ -21419,7 +21419,7 @@ lib/form/functions/showLauncher.md
|
|
|
21419
21419
|
|
|
21420
21420
|
> **showLauncher**(): `void`
|
|
21421
21421
|
|
|
21422
|
-
Defined in: [dist/lib/form.ts:
|
|
21422
|
+
Defined in: [dist/lib/form.ts:4062](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4062)
|
|
21423
21423
|
|
|
21424
21424
|
显示 launcher 界面
|
|
21425
21425
|
|
|
@@ -21681,7 +21681,7 @@ lib/form/interfaces/IAbstractPanelQsChangeShowEvent.md
|
|
|
21681
21681
|
|
|
21682
21682
|
# Interface: IAbstractPanelQsChangeShowEvent
|
|
21683
21683
|
|
|
21684
|
-
Defined in: [dist/lib/form.ts:
|
|
21684
|
+
Defined in: [dist/lib/form.ts:4112](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4112)
|
|
21685
21685
|
|
|
21686
21686
|
AbstractPanel qsChange 显示事件
|
|
21687
21687
|
|
|
@@ -21691,7 +21691,7 @@ AbstractPanel qsChange 显示事件
|
|
|
21691
21691
|
|
|
21692
21692
|
> **detail**: `object`
|
|
21693
21693
|
|
|
21694
|
-
Defined in: [dist/lib/form.ts:
|
|
21694
|
+
Defined in: [dist/lib/form.ts:4113](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4113)
|
|
21695
21695
|
|
|
21696
21696
|
#### action
|
|
21697
21697
|
|
|
@@ -21732,7 +21732,7 @@ lib/form/interfaces/IAbstractPanelShowEvent.md
|
|
|
21732
21732
|
|
|
21733
21733
|
# Interface: IAbstractPanelShowEvent
|
|
21734
21734
|
|
|
21735
|
-
Defined in: [dist/lib/form.ts:
|
|
21735
|
+
Defined in: [dist/lib/form.ts:4097](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4097)
|
|
21736
21736
|
|
|
21737
21737
|
AbstractPanel 显示事件
|
|
21738
21738
|
|
|
@@ -21742,7 +21742,7 @@ AbstractPanel 显示事件
|
|
|
21742
21742
|
|
|
21743
21743
|
> **detail**: `object`
|
|
21744
21744
|
|
|
21745
|
-
Defined in: [dist/lib/form.ts:
|
|
21745
|
+
Defined in: [dist/lib/form.ts:4098](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4098)
|
|
21746
21746
|
|
|
21747
21747
|
#### action
|
|
21748
21748
|
|
|
@@ -21783,7 +21783,7 @@ lib/form/interfaces/IForm.md
|
|
|
21783
21783
|
|
|
21784
21784
|
# Interface: IForm
|
|
21785
21785
|
|
|
21786
|
-
Defined in: [dist/lib/form.ts:
|
|
21786
|
+
Defined in: [dist/lib/form.ts:4127](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4127)
|
|
21787
21787
|
|
|
21788
21788
|
运行时 task 中的 form 对象
|
|
21789
21789
|
|
|
@@ -21793,7 +21793,7 @@ Defined in: [dist/lib/form.ts:4101](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21793
21793
|
|
|
21794
21794
|
> **closed**: `boolean`
|
|
21795
21795
|
|
|
21796
|
-
Defined in: [dist/lib/form.ts:
|
|
21796
|
+
Defined in: [dist/lib/form.ts:4132](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4132)
|
|
21797
21797
|
|
|
21798
21798
|
是否已经执行过了关闭窗体方法,此处加判断为了防止重复执行 close 导致的 bug
|
|
21799
21799
|
|
|
@@ -21803,7 +21803,7 @@ Defined in: [dist/lib/form.ts:4106](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21803
21803
|
|
|
21804
21804
|
> **id**: `string`
|
|
21805
21805
|
|
|
21806
|
-
Defined in: [dist/lib/form.ts:
|
|
21806
|
+
Defined in: [dist/lib/form.ts:4128](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4128)
|
|
21807
21807
|
|
|
21808
21808
|
***
|
|
21809
21809
|
|
|
@@ -21811,7 +21811,7 @@ Defined in: [dist/lib/form.ts:4102](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21811
21811
|
|
|
21812
21812
|
> **vapp**: [`IVApp`](../../core/interfaces/IVApp.md)
|
|
21813
21813
|
|
|
21814
|
-
Defined in: [dist/lib/form.ts:
|
|
21814
|
+
Defined in: [dist/lib/form.ts:4129](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4129)
|
|
21815
21815
|
|
|
21816
21816
|
***
|
|
21817
21817
|
|
|
@@ -21819,7 +21819,7 @@ Defined in: [dist/lib/form.ts:4103](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21819
21819
|
|
|
21820
21820
|
> **vroot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
21821
21821
|
|
|
21822
|
-
Defined in: [dist/lib/form.ts:
|
|
21822
|
+
Defined in: [dist/lib/form.ts:4130](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4130)
|
|
21823
21823
|
|
|
21824
21824
|
lib/form/interfaces/IFormConfirmOptions.md
|
|
21825
21825
|
---
|
|
@@ -21832,7 +21832,7 @@ lib/form/interfaces/IFormConfirmOptions.md
|
|
|
21832
21832
|
|
|
21833
21833
|
# Interface: IFormConfirmOptions
|
|
21834
21834
|
|
|
21835
|
-
Defined in: [dist/lib/form.ts:
|
|
21835
|
+
Defined in: [dist/lib/form.ts:4218](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4218)
|
|
21836
21836
|
|
|
21837
21837
|
Confirm 选项
|
|
21838
21838
|
|
|
@@ -21842,7 +21842,7 @@ Confirm 选项
|
|
|
21842
21842
|
|
|
21843
21843
|
> `optional` **cancel**: `boolean`
|
|
21844
21844
|
|
|
21845
|
-
Defined in: [dist/lib/form.ts:
|
|
21845
|
+
Defined in: [dist/lib/form.ts:4221](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4221)
|
|
21846
21846
|
|
|
21847
21847
|
***
|
|
21848
21848
|
|
|
@@ -21850,7 +21850,7 @@ Defined in: [dist/lib/form.ts:4195](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21850
21850
|
|
|
21851
21851
|
> **content**: `string`
|
|
21852
21852
|
|
|
21853
|
-
Defined in: [dist/lib/form.ts:
|
|
21853
|
+
Defined in: [dist/lib/form.ts:4220](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4220)
|
|
21854
21854
|
|
|
21855
21855
|
***
|
|
21856
21856
|
|
|
@@ -21858,7 +21858,7 @@ Defined in: [dist/lib/form.ts:4194](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21858
21858
|
|
|
21859
21859
|
> `optional` **title**: `string`
|
|
21860
21860
|
|
|
21861
|
-
Defined in: [dist/lib/form.ts:
|
|
21861
|
+
Defined in: [dist/lib/form.ts:4219](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4219)
|
|
21862
21862
|
|
|
21863
21863
|
lib/form/interfaces/IFormDialogOptions.md
|
|
21864
21864
|
---
|
|
@@ -21871,7 +21871,7 @@ lib/form/interfaces/IFormDialogOptions.md
|
|
|
21871
21871
|
|
|
21872
21872
|
# Interface: IFormDialogOptions
|
|
21873
21873
|
|
|
21874
|
-
Defined in: [dist/lib/form.ts:
|
|
21874
|
+
Defined in: [dist/lib/form.ts:4181](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4181)
|
|
21875
21875
|
|
|
21876
21876
|
Dialog 选项
|
|
21877
21877
|
|
|
@@ -21881,7 +21881,7 @@ Dialog 选项
|
|
|
21881
21881
|
|
|
21882
21882
|
> `optional` **autoDialogResult**: `boolean`
|
|
21883
21883
|
|
|
21884
|
-
Defined in: [dist/lib/form.ts:
|
|
21884
|
+
Defined in: [dist/lib/form.ts:4185](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4185)
|
|
21885
21885
|
|
|
21886
21886
|
***
|
|
21887
21887
|
|
|
@@ -21889,7 +21889,7 @@ Defined in: [dist/lib/form.ts:4159](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21889
21889
|
|
|
21890
21890
|
> `optional` **buttons**: `string`[]
|
|
21891
21891
|
|
|
21892
|
-
Defined in: [dist/lib/form.ts:
|
|
21892
|
+
Defined in: [dist/lib/form.ts:4184](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4184)
|
|
21893
21893
|
|
|
21894
21894
|
***
|
|
21895
21895
|
|
|
@@ -21897,7 +21897,7 @@ Defined in: [dist/lib/form.ts:4158](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21897
21897
|
|
|
21898
21898
|
> **content**: `string`
|
|
21899
21899
|
|
|
21900
|
-
Defined in: [dist/lib/form.ts:
|
|
21900
|
+
Defined in: [dist/lib/form.ts:4183](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4183)
|
|
21901
21901
|
|
|
21902
21902
|
***
|
|
21903
21903
|
|
|
@@ -21905,7 +21905,7 @@ Defined in: [dist/lib/form.ts:4157](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21905
21905
|
|
|
21906
21906
|
> `optional` **data**: `Record`\<`string`, `any`\>
|
|
21907
21907
|
|
|
21908
|
-
Defined in: [dist/lib/form.ts:
|
|
21908
|
+
Defined in: [dist/lib/form.ts:4191](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4191)
|
|
21909
21909
|
|
|
21910
21910
|
传值,需要用 data.x 读取
|
|
21911
21911
|
|
|
@@ -21915,7 +21915,7 @@ Defined in: [dist/lib/form.ts:4165](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21915
21915
|
|
|
21916
21916
|
> `optional` **direction**: `"v"` \| `"h"`
|
|
21917
21917
|
|
|
21918
|
-
Defined in: [dist/lib/form.ts:
|
|
21918
|
+
Defined in: [dist/lib/form.ts:4187](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4187)
|
|
21919
21919
|
|
|
21920
21920
|
***
|
|
21921
21921
|
|
|
@@ -21923,7 +21923,7 @@ Defined in: [dist/lib/form.ts:4161](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21923
21923
|
|
|
21924
21924
|
> `optional` **gutter**: `string` \| `number`
|
|
21925
21925
|
|
|
21926
|
-
Defined in: [dist/lib/form.ts:
|
|
21926
|
+
Defined in: [dist/lib/form.ts:4188](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4188)
|
|
21927
21927
|
|
|
21928
21928
|
***
|
|
21929
21929
|
|
|
@@ -21931,7 +21931,7 @@ Defined in: [dist/lib/form.ts:4162](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21931
21931
|
|
|
21932
21932
|
> `optional` **methods**: `Record`\<`string`, (...`param`) => `any`\>
|
|
21933
21933
|
|
|
21934
|
-
Defined in: [dist/lib/form.ts:
|
|
21934
|
+
Defined in: [dist/lib/form.ts:4193](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4193)
|
|
21935
21935
|
|
|
21936
21936
|
传值,需要用 methods.x 读取
|
|
21937
21937
|
|
|
@@ -21941,7 +21941,7 @@ Defined in: [dist/lib/form.ts:4167](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21941
21941
|
|
|
21942
21942
|
> `optional` **path**: `string`
|
|
21943
21943
|
|
|
21944
|
-
Defined in: [dist/lib/form.ts:
|
|
21944
|
+
Defined in: [dist/lib/form.ts:4197](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4197)
|
|
21945
21945
|
|
|
21946
21946
|
路径基,以 / 结束或文件路径则以文件的基路径为准,可留空
|
|
21947
21947
|
|
|
@@ -21951,7 +21951,7 @@ Defined in: [dist/lib/form.ts:4171](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21951
21951
|
|
|
21952
21952
|
> `optional` **select**: (`this`, `e`, `button`) => `void`
|
|
21953
21953
|
|
|
21954
|
-
Defined in: [dist/lib/form.ts:
|
|
21954
|
+
Defined in: [dist/lib/form.ts:4204](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4204)
|
|
21955
21955
|
|
|
21956
21956
|
点击按钮触发事件
|
|
21957
21957
|
|
|
@@ -21983,7 +21983,7 @@ Defined in: [dist/lib/form.ts:4178](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21983
21983
|
|
|
21984
21984
|
> `optional` **style**: `string`
|
|
21985
21985
|
|
|
21986
|
-
Defined in: [dist/lib/form.ts:
|
|
21986
|
+
Defined in: [dist/lib/form.ts:4195](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4195)
|
|
21987
21987
|
|
|
21988
21988
|
样式表
|
|
21989
21989
|
|
|
@@ -21993,7 +21993,7 @@ Defined in: [dist/lib/form.ts:4169](https://github.com/maiyun/clickgo/blob/maste
|
|
|
21993
21993
|
|
|
21994
21994
|
> `optional` **title**: `string`
|
|
21995
21995
|
|
|
21996
|
-
Defined in: [dist/lib/form.ts:
|
|
21996
|
+
Defined in: [dist/lib/form.ts:4182](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4182)
|
|
21997
21997
|
|
|
21998
21998
|
lib/form/interfaces/IFormDialogSelectEvent.md
|
|
21999
21999
|
---
|
|
@@ -22006,7 +22006,7 @@ lib/form/interfaces/IFormDialogSelectEvent.md
|
|
|
22006
22006
|
|
|
22007
22007
|
# Interface: IFormDialogSelectEvent
|
|
22008
22008
|
|
|
22009
|
-
Defined in: [dist/lib/form.ts:
|
|
22009
|
+
Defined in: [dist/lib/form.ts:4211](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4211)
|
|
22010
22010
|
|
|
22011
22011
|
Custom Event
|
|
22012
22012
|
|
|
@@ -22020,7 +22020,7 @@ Custom Event
|
|
|
22020
22020
|
|
|
22021
22021
|
> **detail**: `object`
|
|
22022
22022
|
|
|
22023
|
-
Defined in: [dist/lib/form.ts:
|
|
22023
|
+
Defined in: [dist/lib/form.ts:4212](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4212)
|
|
22024
22024
|
|
|
22025
22025
|
#### button
|
|
22026
22026
|
|
|
@@ -22065,7 +22065,7 @@ lib/form/interfaces/IFormInfo.md
|
|
|
22065
22065
|
|
|
22066
22066
|
# Interface: IFormInfo
|
|
22067
22067
|
|
|
22068
|
-
Defined in: [dist/lib/form.ts:
|
|
22068
|
+
Defined in: [dist/lib/form.ts:4136](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4136)
|
|
22069
22069
|
|
|
22070
22070
|
Form 的简略情况,通常在 list 当中
|
|
22071
22071
|
|
|
@@ -22075,7 +22075,7 @@ Form 的简略情况,通常在 list 当中
|
|
|
22075
22075
|
|
|
22076
22076
|
> **focus**: `boolean`
|
|
22077
22077
|
|
|
22078
|
-
Defined in: [dist/lib/form.ts:
|
|
22078
|
+
Defined in: [dist/lib/form.ts:4143](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4143)
|
|
22079
22079
|
|
|
22080
22080
|
***
|
|
22081
22081
|
|
|
@@ -22083,7 +22083,7 @@ Defined in: [dist/lib/form.ts:4117](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22083
22083
|
|
|
22084
22084
|
> **icon**: `string`
|
|
22085
22085
|
|
|
22086
|
-
Defined in: [dist/lib/form.ts:
|
|
22086
|
+
Defined in: [dist/lib/form.ts:4139](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4139)
|
|
22087
22087
|
|
|
22088
22088
|
***
|
|
22089
22089
|
|
|
@@ -22091,7 +22091,7 @@ Defined in: [dist/lib/form.ts:4113](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22091
22091
|
|
|
22092
22092
|
> **show**: `boolean`
|
|
22093
22093
|
|
|
22094
|
-
Defined in: [dist/lib/form.ts:
|
|
22094
|
+
Defined in: [dist/lib/form.ts:4142](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4142)
|
|
22095
22095
|
|
|
22096
22096
|
***
|
|
22097
22097
|
|
|
@@ -22099,7 +22099,7 @@ Defined in: [dist/lib/form.ts:4116](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22099
22099
|
|
|
22100
22100
|
> **showInSystemTask**: `boolean`
|
|
22101
22101
|
|
|
22102
|
-
Defined in: [dist/lib/form.ts:
|
|
22102
|
+
Defined in: [dist/lib/form.ts:4144](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4144)
|
|
22103
22103
|
|
|
22104
22104
|
***
|
|
22105
22105
|
|
|
@@ -22107,7 +22107,7 @@ Defined in: [dist/lib/form.ts:4118](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22107
22107
|
|
|
22108
22108
|
> **stateMax**: `boolean`
|
|
22109
22109
|
|
|
22110
|
-
Defined in: [dist/lib/form.ts:
|
|
22110
|
+
Defined in: [dist/lib/form.ts:4140](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4140)
|
|
22111
22111
|
|
|
22112
22112
|
***
|
|
22113
22113
|
|
|
@@ -22115,7 +22115,7 @@ Defined in: [dist/lib/form.ts:4114](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22115
22115
|
|
|
22116
22116
|
> **stateMin**: `boolean`
|
|
22117
22117
|
|
|
22118
|
-
Defined in: [dist/lib/form.ts:
|
|
22118
|
+
Defined in: [dist/lib/form.ts:4141](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4141)
|
|
22119
22119
|
|
|
22120
22120
|
***
|
|
22121
22121
|
|
|
@@ -22123,7 +22123,7 @@ Defined in: [dist/lib/form.ts:4115](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22123
22123
|
|
|
22124
22124
|
> **taskId**: `string`
|
|
22125
22125
|
|
|
22126
|
-
Defined in: [dist/lib/form.ts:
|
|
22126
|
+
Defined in: [dist/lib/form.ts:4137](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4137)
|
|
22127
22127
|
|
|
22128
22128
|
***
|
|
22129
22129
|
|
|
@@ -22131,7 +22131,7 @@ Defined in: [dist/lib/form.ts:4111](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22131
22131
|
|
|
22132
22132
|
> **title**: `string`
|
|
22133
22133
|
|
|
22134
|
-
Defined in: [dist/lib/form.ts:
|
|
22134
|
+
Defined in: [dist/lib/form.ts:4138](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4138)
|
|
22135
22135
|
|
|
22136
22136
|
lib/form/interfaces/IFormPromptOptions.md
|
|
22137
22137
|
---
|
|
@@ -22144,7 +22144,7 @@ lib/form/interfaces/IFormPromptOptions.md
|
|
|
22144
22144
|
|
|
22145
22145
|
# Interface: IFormPromptOptions
|
|
22146
22146
|
|
|
22147
|
-
Defined in: [dist/lib/form.ts:
|
|
22147
|
+
Defined in: [dist/lib/form.ts:4225](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4225)
|
|
22148
22148
|
|
|
22149
22149
|
Prompt 选项
|
|
22150
22150
|
|
|
@@ -22154,7 +22154,7 @@ Prompt 选项
|
|
|
22154
22154
|
|
|
22155
22155
|
> `optional` **cancel**: `boolean`
|
|
22156
22156
|
|
|
22157
|
-
Defined in: [dist/lib/form.ts:
|
|
22157
|
+
Defined in: [dist/lib/form.ts:4233](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4233)
|
|
22158
22158
|
|
|
22159
22159
|
是否显示取消按钮,默认显示
|
|
22160
22160
|
|
|
@@ -22164,7 +22164,7 @@ Defined in: [dist/lib/form.ts:4207](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22164
22164
|
|
|
22165
22165
|
> **content**: `string`
|
|
22166
22166
|
|
|
22167
|
-
Defined in: [dist/lib/form.ts:
|
|
22167
|
+
Defined in: [dist/lib/form.ts:4229](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4229)
|
|
22168
22168
|
|
|
22169
22169
|
内容说明
|
|
22170
22170
|
|
|
@@ -22174,7 +22174,7 @@ Defined in: [dist/lib/form.ts:4203](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22174
22174
|
|
|
22175
22175
|
> `optional` **select**: (`this`, `e`, `button`) => `void`
|
|
22176
22176
|
|
|
22177
|
-
Defined in: [dist/lib/form.ts:
|
|
22177
|
+
Defined in: [dist/lib/form.ts:4240](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4240)
|
|
22178
22178
|
|
|
22179
22179
|
点击按钮触发事件
|
|
22180
22180
|
|
|
@@ -22206,7 +22206,7 @@ true 代表确定,false 代表取消
|
|
|
22206
22206
|
|
|
22207
22207
|
> `optional` **text**: `string`
|
|
22208
22208
|
|
|
22209
|
-
Defined in: [dist/lib/form.ts:
|
|
22209
|
+
Defined in: [dist/lib/form.ts:4231](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4231)
|
|
22210
22210
|
|
|
22211
22211
|
文本默认值
|
|
22212
22212
|
|
|
@@ -22216,7 +22216,7 @@ Defined in: [dist/lib/form.ts:4205](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22216
22216
|
|
|
22217
22217
|
> `optional` **title**: `string`
|
|
22218
22218
|
|
|
22219
|
-
Defined in: [dist/lib/form.ts:
|
|
22219
|
+
Defined in: [dist/lib/form.ts:4227](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4227)
|
|
22220
22220
|
|
|
22221
22221
|
标题
|
|
22222
22222
|
|
|
@@ -22231,7 +22231,7 @@ lib/form/interfaces/IFormPromptSelectEvent.md
|
|
|
22231
22231
|
|
|
22232
22232
|
# Interface: IFormPromptSelectEvent
|
|
22233
22233
|
|
|
22234
|
-
Defined in: [dist/lib/form.ts:
|
|
22234
|
+
Defined in: [dist/lib/form.ts:4247](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4247)
|
|
22235
22235
|
|
|
22236
22236
|
Custom Event
|
|
22237
22237
|
|
|
@@ -22245,7 +22245,7 @@ Custom Event
|
|
|
22245
22245
|
|
|
22246
22246
|
> **detail**: `object`
|
|
22247
22247
|
|
|
22248
|
-
Defined in: [dist/lib/form.ts:
|
|
22248
|
+
Defined in: [dist/lib/form.ts:4248](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4248)
|
|
22249
22249
|
|
|
22250
22250
|
#### button
|
|
22251
22251
|
|
|
@@ -22296,7 +22296,7 @@ lib/form/interfaces/IMoveDragOptions.md
|
|
|
22296
22296
|
|
|
22297
22297
|
# Interface: IMoveDragOptions
|
|
22298
22298
|
|
|
22299
|
-
Defined in: [dist/lib/form.ts:
|
|
22299
|
+
Defined in: [dist/lib/form.ts:4148](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4148)
|
|
22300
22300
|
|
|
22301
22301
|
移动 drag 到新位置函数的选项
|
|
22302
22302
|
|
|
@@ -22306,7 +22306,7 @@ Defined in: [dist/lib/form.ts:4122](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22306
22306
|
|
|
22307
22307
|
> `optional` **height**: `number`
|
|
22308
22308
|
|
|
22309
|
-
Defined in: [dist/lib/form.ts:
|
|
22309
|
+
Defined in: [dist/lib/form.ts:4152](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4152)
|
|
22310
22310
|
|
|
22311
22311
|
***
|
|
22312
22312
|
|
|
@@ -22314,7 +22314,7 @@ Defined in: [dist/lib/form.ts:4126](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22314
22314
|
|
|
22315
22315
|
> `optional` **icon**: `boolean`
|
|
22316
22316
|
|
|
22317
|
-
Defined in: [dist/lib/form.ts:
|
|
22317
|
+
Defined in: [dist/lib/form.ts:4153](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4153)
|
|
22318
22318
|
|
|
22319
22319
|
***
|
|
22320
22320
|
|
|
@@ -22322,7 +22322,7 @@ Defined in: [dist/lib/form.ts:4127](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22322
22322
|
|
|
22323
22323
|
> `optional` **left**: `number`
|
|
22324
22324
|
|
|
22325
|
-
Defined in: [dist/lib/form.ts:
|
|
22325
|
+
Defined in: [dist/lib/form.ts:4150](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4150)
|
|
22326
22326
|
|
|
22327
22327
|
***
|
|
22328
22328
|
|
|
@@ -22330,7 +22330,7 @@ Defined in: [dist/lib/form.ts:4124](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22330
22330
|
|
|
22331
22331
|
> `optional` **top**: `number`
|
|
22332
22332
|
|
|
22333
|
-
Defined in: [dist/lib/form.ts:
|
|
22333
|
+
Defined in: [dist/lib/form.ts:4149](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4149)
|
|
22334
22334
|
|
|
22335
22335
|
***
|
|
22336
22336
|
|
|
@@ -22338,7 +22338,7 @@ Defined in: [dist/lib/form.ts:4123](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22338
22338
|
|
|
22339
22339
|
> `optional` **width**: `number`
|
|
22340
22340
|
|
|
22341
|
-
Defined in: [dist/lib/form.ts:
|
|
22341
|
+
Defined in: [dist/lib/form.ts:4151](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4151)
|
|
22342
22342
|
|
|
22343
22343
|
lib/form/interfaces/INotifyContentOptions.md
|
|
22344
22344
|
---
|
|
@@ -22351,7 +22351,7 @@ lib/form/interfaces/INotifyContentOptions.md
|
|
|
22351
22351
|
|
|
22352
22352
|
# Interface: INotifyContentOptions
|
|
22353
22353
|
|
|
22354
|
-
Defined in: [dist/lib/form.ts:
|
|
22354
|
+
Defined in: [dist/lib/form.ts:4170](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4170)
|
|
22355
22355
|
|
|
22356
22356
|
notify 信息框的修改选项
|
|
22357
22357
|
|
|
@@ -22361,7 +22361,7 @@ notify 信息框的修改选项
|
|
|
22361
22361
|
|
|
22362
22362
|
> `optional` **content**: `string`
|
|
22363
22363
|
|
|
22364
|
-
Defined in: [dist/lib/form.ts:
|
|
22364
|
+
Defined in: [dist/lib/form.ts:4172](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4172)
|
|
22365
22365
|
|
|
22366
22366
|
***
|
|
22367
22367
|
|
|
@@ -22369,7 +22369,7 @@ Defined in: [dist/lib/form.ts:4146](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22369
22369
|
|
|
22370
22370
|
> `optional` **note**: `string`
|
|
22371
22371
|
|
|
22372
|
-
Defined in: [dist/lib/form.ts:
|
|
22372
|
+
Defined in: [dist/lib/form.ts:4173](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4173)
|
|
22373
22373
|
|
|
22374
22374
|
***
|
|
22375
22375
|
|
|
@@ -22377,7 +22377,7 @@ Defined in: [dist/lib/form.ts:4147](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22377
22377
|
|
|
22378
22378
|
> `optional` **progress**: `number`
|
|
22379
22379
|
|
|
22380
|
-
Defined in: [dist/lib/form.ts:
|
|
22380
|
+
Defined in: [dist/lib/form.ts:4175](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4175)
|
|
22381
22381
|
|
|
22382
22382
|
可顺便修改进度
|
|
22383
22383
|
|
|
@@ -22387,7 +22387,7 @@ Defined in: [dist/lib/form.ts:4149](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22387
22387
|
|
|
22388
22388
|
> `optional` **timeout**: `number`
|
|
22389
22389
|
|
|
22390
|
-
Defined in: [dist/lib/form.ts:
|
|
22390
|
+
Defined in: [dist/lib/form.ts:4177](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4177)
|
|
22391
22391
|
|
|
22392
22392
|
设置后将在 x 毫秒后隐藏,这不会大于创建时的设置的总时长
|
|
22393
22393
|
|
|
@@ -22397,7 +22397,7 @@ Defined in: [dist/lib/form.ts:4151](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22397
22397
|
|
|
22398
22398
|
> `optional` **title**: `string`
|
|
22399
22399
|
|
|
22400
|
-
Defined in: [dist/lib/form.ts:
|
|
22400
|
+
Defined in: [dist/lib/form.ts:4171](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4171)
|
|
22401
22401
|
|
|
22402
22402
|
lib/form/interfaces/INotifyOptions.md
|
|
22403
22403
|
---
|
|
@@ -22410,7 +22410,7 @@ lib/form/interfaces/INotifyOptions.md
|
|
|
22410
22410
|
|
|
22411
22411
|
# Interface: INotifyOptions
|
|
22412
22412
|
|
|
22413
|
-
Defined in: [dist/lib/form.ts:
|
|
22413
|
+
Defined in: [dist/lib/form.ts:4157](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4157)
|
|
22414
22414
|
|
|
22415
22415
|
弹出 notify 信息框的选项
|
|
22416
22416
|
|
|
@@ -22420,7 +22420,7 @@ Defined in: [dist/lib/form.ts:4131](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22420
22420
|
|
|
22421
22421
|
> `optional` **content**: `string`
|
|
22422
22422
|
|
|
22423
|
-
Defined in: [dist/lib/form.ts:
|
|
22423
|
+
Defined in: [dist/lib/form.ts:4160](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4160)
|
|
22424
22424
|
|
|
22425
22425
|
正文
|
|
22426
22426
|
|
|
@@ -22430,7 +22430,7 @@ Defined in: [dist/lib/form.ts:4134](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22430
22430
|
|
|
22431
22431
|
> `optional` **icon**: `string` \| `null`
|
|
22432
22432
|
|
|
22433
|
-
Defined in: [dist/lib/form.ts:
|
|
22433
|
+
Defined in: [dist/lib/form.ts:4163](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4163)
|
|
22434
22434
|
|
|
22435
22435
|
***
|
|
22436
22436
|
|
|
@@ -22438,7 +22438,7 @@ Defined in: [dist/lib/form.ts:4137](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22438
22438
|
|
|
22439
22439
|
> `optional` **note**: `string`
|
|
22440
22440
|
|
|
22441
|
-
Defined in: [dist/lib/form.ts:
|
|
22441
|
+
Defined in: [dist/lib/form.ts:4162](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4162)
|
|
22442
22442
|
|
|
22443
22443
|
浅色描述
|
|
22444
22444
|
|
|
@@ -22448,7 +22448,7 @@ Defined in: [dist/lib/form.ts:4136](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22448
22448
|
|
|
22449
22449
|
> `optional` **progress**: `boolean`
|
|
22450
22450
|
|
|
22451
|
-
Defined in: [dist/lib/form.ts:
|
|
22451
|
+
Defined in: [dist/lib/form.ts:4166](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4166)
|
|
22452
22452
|
|
|
22453
22453
|
***
|
|
22454
22454
|
|
|
@@ -22456,7 +22456,7 @@ Defined in: [dist/lib/form.ts:4140](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22456
22456
|
|
|
22457
22457
|
> `optional` **timeout**: `number`
|
|
22458
22458
|
|
|
22459
|
-
Defined in: [dist/lib/form.ts:
|
|
22459
|
+
Defined in: [dist/lib/form.ts:4164](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4164)
|
|
22460
22460
|
|
|
22461
22461
|
***
|
|
22462
22462
|
|
|
@@ -22464,7 +22464,7 @@ Defined in: [dist/lib/form.ts:4138](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22464
22464
|
|
|
22465
22465
|
> `optional` **title**: `string`
|
|
22466
22466
|
|
|
22467
|
-
Defined in: [dist/lib/form.ts:
|
|
22467
|
+
Defined in: [dist/lib/form.ts:4158](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4158)
|
|
22468
22468
|
|
|
22469
22469
|
***
|
|
22470
22470
|
|
|
@@ -22472,7 +22472,7 @@ Defined in: [dist/lib/form.ts:4132](https://github.com/maiyun/clickgo/blob/maste
|
|
|
22472
22472
|
|
|
22473
22473
|
> `optional` **type**: `"progress"` \| `"info"` \| `"warning"` \| `"danger"` \| `"primary"`
|
|
22474
22474
|
|
|
22475
|
-
Defined in: [dist/lib/form.ts:
|
|
22475
|
+
Defined in: [dist/lib/form.ts:4165](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4165)
|
|
22476
22476
|
|
|
22477
22477
|
lib/form/variables/activePanels.md
|
|
22478
22478
|
---
|
|
@@ -27189,7 +27189,7 @@ lib/tool/enumerations/ESTATE.md
|
|
|
27189
27189
|
|
|
27190
27190
|
# Enumeration: ESTATE
|
|
27191
27191
|
|
|
27192
|
-
Defined in: [dist/lib/tool.ts:
|
|
27192
|
+
Defined in: [dist/lib/tool.ts:1765](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1765)
|
|
27193
27193
|
|
|
27194
27194
|
状态机状态
|
|
27195
27195
|
|
|
@@ -27199,7 +27199,7 @@ Defined in: [dist/lib/tool.ts:1741](https://github.com/maiyun/clickgo/blob/maste
|
|
|
27199
27199
|
|
|
27200
27200
|
> **COMMENT**: `4`
|
|
27201
27201
|
|
|
27202
|
-
Defined in: [dist/lib/tool.ts:
|
|
27202
|
+
Defined in: [dist/lib/tool.ts:1775](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1775)
|
|
27203
27203
|
|
|
27204
27204
|
注释
|
|
27205
27205
|
|
|
@@ -27209,7 +27209,7 @@ Defined in: [dist/lib/tool.ts:1751](https://github.com/maiyun/clickgo/blob/maste
|
|
|
27209
27209
|
|
|
27210
27210
|
> **NORMAL**: `0`
|
|
27211
27211
|
|
|
27212
|
-
Defined in: [dist/lib/tool.ts:
|
|
27212
|
+
Defined in: [dist/lib/tool.ts:1767](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1767)
|
|
27213
27213
|
|
|
27214
27214
|
普通
|
|
27215
27215
|
|
|
@@ -27219,7 +27219,7 @@ Defined in: [dist/lib/tool.ts:1743](https://github.com/maiyun/clickgo/blob/maste
|
|
|
27219
27219
|
|
|
27220
27220
|
> **REG**: `3`
|
|
27221
27221
|
|
|
27222
|
-
Defined in: [dist/lib/tool.ts:
|
|
27222
|
+
Defined in: [dist/lib/tool.ts:1773](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1773)
|
|
27223
27223
|
|
|
27224
27224
|
正则
|
|
27225
27225
|
|
|
@@ -27229,7 +27229,7 @@ Defined in: [dist/lib/tool.ts:1749](https://github.com/maiyun/clickgo/blob/maste
|
|
|
27229
27229
|
|
|
27230
27230
|
> **STRING**: `2`
|
|
27231
27231
|
|
|
27232
|
-
Defined in: [dist/lib/tool.ts:
|
|
27232
|
+
Defined in: [dist/lib/tool.ts:1771](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1771)
|
|
27233
27233
|
|
|
27234
27234
|
字符串
|
|
27235
27235
|
|
|
@@ -27239,7 +27239,7 @@ Defined in: [dist/lib/tool.ts:1747](https://github.com/maiyun/clickgo/blob/maste
|
|
|
27239
27239
|
|
|
27240
27240
|
> **WORD**: `1`
|
|
27241
27241
|
|
|
27242
|
-
Defined in: [dist/lib/tool.ts:
|
|
27242
|
+
Defined in: [dist/lib/tool.ts:1769](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1769)
|
|
27243
27243
|
|
|
27244
27244
|
单词
|
|
27245
27245
|
|
|
@@ -27285,7 +27285,7 @@ lib/tool/functions/blob2DataUrl.md
|
|
|
27285
27285
|
|
|
27286
27286
|
> **blob2DataUrl**(`blob`): `Promise`\<`string`\>
|
|
27287
27287
|
|
|
27288
|
-
Defined in: [dist/lib/tool.ts:
|
|
27288
|
+
Defined in: [dist/lib/tool.ts:1509](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1509)
|
|
27289
27289
|
|
|
27290
27290
|
将 blob 对象转换为 base64 url
|
|
27291
27291
|
|
|
@@ -27314,7 +27314,7 @@ lib/tool/functions/blob2Text.md
|
|
|
27314
27314
|
|
|
27315
27315
|
> **blob2Text**(`blob`): `Promise`\<`string`\>
|
|
27316
27316
|
|
|
27317
|
-
Defined in: [dist/lib/tool.ts:
|
|
27317
|
+
Defined in: [dist/lib/tool.ts:1490](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1490)
|
|
27318
27318
|
|
|
27319
27319
|
将 blob 对象转换为 text
|
|
27320
27320
|
|
|
@@ -27343,7 +27343,7 @@ lib/tool/functions/clone.md
|
|
|
27343
27343
|
|
|
27344
27344
|
> **clone**\<`T`\>(`obj`): `T`
|
|
27345
27345
|
|
|
27346
|
-
Defined in: [dist/lib/tool.ts:
|
|
27346
|
+
Defined in: [dist/lib/tool.ts:191](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L191)
|
|
27347
27347
|
|
|
27348
27348
|
完整的克隆一份数组/对象
|
|
27349
27349
|
|
|
@@ -27378,7 +27378,7 @@ lib/tool/functions/compar.md
|
|
|
27378
27378
|
|
|
27379
27379
|
> **compar**(`before`, `after`): `object`
|
|
27380
27380
|
|
|
27381
|
-
Defined in: [dist/lib/tool.ts:
|
|
27381
|
+
Defined in: [dist/lib/tool.ts:1537](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1537)
|
|
27382
27382
|
|
|
27383
27383
|
- 对比老值和新值,看看新值中哪些移除了,哪些新增了
|
|
27384
27384
|
|
|
@@ -27490,7 +27490,7 @@ lib/tool/functions/escapeHTML.md
|
|
|
27490
27490
|
|
|
27491
27491
|
> **escapeHTML**(`html`): `string`
|
|
27492
27492
|
|
|
27493
|
-
Defined in: [dist/lib/tool.ts:
|
|
27493
|
+
Defined in: [dist/lib/tool.ts:756](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L756)
|
|
27494
27494
|
|
|
27495
27495
|
转义 HTML
|
|
27496
27496
|
|
|
@@ -27519,7 +27519,7 @@ lib/tool/functions/eventsAttrWrap.md
|
|
|
27519
27519
|
|
|
27520
27520
|
> **eventsAttrWrap**(`layout`): `string`
|
|
27521
27521
|
|
|
27522
|
-
Defined in: [dist/lib/tool.ts:
|
|
27522
|
+
Defined in: [dist/lib/tool.ts:519](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L519)
|
|
27523
27523
|
|
|
27524
27524
|
对 layout 的 events 事件进行包裹
|
|
27525
27525
|
|
|
@@ -27548,7 +27548,7 @@ lib/tool/functions/execCommand.md
|
|
|
27548
27548
|
|
|
27549
27549
|
> **execCommand**(`ac`): `void`
|
|
27550
27550
|
|
|
27551
|
-
Defined in: [dist/lib/tool.ts:
|
|
27551
|
+
Defined in: [dist/lib/tool.ts:1524](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1524)
|
|
27552
27552
|
|
|
27553
27553
|
## Parameters
|
|
27554
27554
|
|
|
@@ -27573,7 +27573,7 @@ lib/tool/functions/fetch.md
|
|
|
27573
27573
|
|
|
27574
27574
|
> **fetch**(`url`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
27575
27575
|
|
|
27576
|
-
Defined in: [dist/lib/tool.ts:
|
|
27576
|
+
Defined in: [dist/lib/tool.ts:1127](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1127)
|
|
27577
27577
|
|
|
27578
27578
|
发起 fetch 请求
|
|
27579
27579
|
|
|
@@ -27610,7 +27610,7 @@ lib/tool/functions/formatColor.md
|
|
|
27610
27610
|
|
|
27611
27611
|
> **formatColor**(`color`): `number`[]
|
|
27612
27612
|
|
|
27613
|
-
Defined in: [dist/lib/tool.ts:
|
|
27613
|
+
Defined in: [dist/lib/tool.ts:782](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L782)
|
|
27614
27614
|
|
|
27615
27615
|
将 rgb 或 hsl 等颜色转换为数字数组
|
|
27616
27616
|
|
|
@@ -27639,7 +27639,7 @@ lib/tool/functions/formatSecond.md
|
|
|
27639
27639
|
|
|
27640
27640
|
> **formatSecond**(`second`): `string`
|
|
27641
27641
|
|
|
27642
|
-
Defined in: [dist/lib/tool.ts:
|
|
27642
|
+
Defined in: [dist/lib/tool.ts:1580](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1580)
|
|
27643
27643
|
|
|
27644
27644
|
将秒数格式化为 0:0:0 的字符串
|
|
27645
27645
|
|
|
@@ -27666,7 +27666,7 @@ lib/tool/functions/formatTime.md
|
|
|
27666
27666
|
|
|
27667
27667
|
> **formatTime**(`ts`, `tz?`): `object`
|
|
27668
27668
|
|
|
27669
|
-
Defined in: [dist/lib/tool.ts:
|
|
27669
|
+
Defined in: [dist/lib/tool.ts:1593](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1593)
|
|
27670
27670
|
|
|
27671
27671
|
将日期对象或毫秒级时间戳转换为字符串
|
|
27672
27672
|
|
|
@@ -27713,7 +27713,7 @@ lib/tool/functions/get.md
|
|
|
27713
27713
|
|
|
27714
27714
|
> **get**(`url`, `init?`, `opt?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
27715
27715
|
|
|
27716
|
-
Defined in: [dist/lib/tool.ts:
|
|
27716
|
+
Defined in: [dist/lib/tool.ts:1153](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1153)
|
|
27717
27717
|
|
|
27718
27718
|
发起 GET 请求
|
|
27719
27719
|
|
|
@@ -27760,7 +27760,7 @@ lib/tool/functions/getArray.md
|
|
|
27760
27760
|
|
|
27761
27761
|
> **getArray**(`param`): `any`[]
|
|
27762
27762
|
|
|
27763
|
-
Defined in: [dist/lib/tool.ts:
|
|
27763
|
+
Defined in: [dist/lib/tool.ts:731](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L731)
|
|
27764
27764
|
|
|
27765
27765
|
根据参数获取最终的数组型,可传入类似 [1,2,3] 或 1,2,3
|
|
27766
27766
|
|
|
@@ -27789,7 +27789,7 @@ lib/tool/functions/getBoolean.md
|
|
|
27789
27789
|
|
|
27790
27790
|
> **getBoolean**(`param`): `boolean`
|
|
27791
27791
|
|
|
27792
|
-
Defined in: [dist/lib/tool.ts:
|
|
27792
|
+
Defined in: [dist/lib/tool.ts:705](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L705)
|
|
27793
27793
|
|
|
27794
27794
|
根据参数获取最终的布尔值
|
|
27795
27795
|
|
|
@@ -27859,7 +27859,7 @@ lib/tool/functions/getMimeByPath.md
|
|
|
27859
27859
|
|
|
27860
27860
|
> **getMimeByPath**(`path`): `object`
|
|
27861
27861
|
|
|
27862
|
-
Defined in: [dist/lib/tool.ts:
|
|
27862
|
+
Defined in: [dist/lib/tool.ts:627](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L627)
|
|
27863
27863
|
|
|
27864
27864
|
根据后缀、文件名或路径获取 mime 类型(简单版,完整版请使用 @litert/mime.js)
|
|
27865
27865
|
|
|
@@ -27896,7 +27896,7 @@ lib/tool/functions/getNumber.md
|
|
|
27896
27896
|
|
|
27897
27897
|
> **getNumber**(`param`): `number`
|
|
27898
27898
|
|
|
27899
|
-
Defined in: [dist/lib/tool.ts:
|
|
27899
|
+
Defined in: [dist/lib/tool.ts:720](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L720)
|
|
27900
27900
|
|
|
27901
27901
|
根据参数获取最终的数字型
|
|
27902
27902
|
|
|
@@ -27925,7 +27925,7 @@ lib/tool/functions/getResponseJson.md
|
|
|
27925
27925
|
|
|
27926
27926
|
> **getResponseJson**(`url`, `init?`): `Promise`\<`any`\>
|
|
27927
27927
|
|
|
27928
|
-
Defined in: [dist/lib/tool.ts:
|
|
27928
|
+
Defined in: [dist/lib/tool.ts:1205](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1205)
|
|
27929
27929
|
|
|
27930
27930
|
发起 GET 请求并解析 JSON 响应
|
|
27931
27931
|
|
|
@@ -27962,7 +27962,7 @@ lib/tool/functions/hex2rgb.md
|
|
|
27962
27962
|
|
|
27963
27963
|
> **hex2rgb**(`hex`): `object`
|
|
27964
27964
|
|
|
27965
|
-
Defined in: [dist/lib/tool.ts:
|
|
27965
|
+
Defined in: [dist/lib/tool.ts:831](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L831)
|
|
27966
27966
|
|
|
27967
27967
|
hex 转换为 rgba,#27ae60ff, 27ae60 #fff
|
|
27968
27968
|
|
|
@@ -28011,7 +28011,7 @@ lib/tool/functions/hsl2rgb.md
|
|
|
28011
28011
|
|
|
28012
28012
|
> **hsl2rgb**(`h`, `s?`, `l?`, `a?`, `decimal?`): `object`
|
|
28013
28013
|
|
|
28014
|
-
Defined in: [dist/lib/tool.ts:
|
|
28014
|
+
Defined in: [dist/lib/tool.ts:975](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L975)
|
|
28015
28015
|
|
|
28016
28016
|
hsl 字符串转 rgb 数组
|
|
28017
28017
|
|
|
@@ -28084,7 +28084,7 @@ lib/tool/functions/isEscapeChar.md
|
|
|
28084
28084
|
|
|
28085
28085
|
> **isEscapeChar**(`code`, `index`): `boolean`
|
|
28086
28086
|
|
|
28087
|
-
Defined in: [dist/lib/tool.ts:
|
|
28087
|
+
Defined in: [dist/lib/tool.ts:1755](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1755)
|
|
28088
28088
|
|
|
28089
28089
|
判断字符是否是转义字符
|
|
28090
28090
|
|
|
@@ -28121,7 +28121,7 @@ lib/tool/functions/isEscaped.md
|
|
|
28121
28121
|
|
|
28122
28122
|
> **isEscaped**(`str`, `pos`): `boolean`
|
|
28123
28123
|
|
|
28124
|
-
Defined in: [dist/lib/tool.ts:
|
|
28124
|
+
Defined in: [dist/lib/tool.ts:1684](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1684)
|
|
28125
28125
|
|
|
28126
28126
|
转义字符检查
|
|
28127
28127
|
检查指定位置的字符是否被转义
|
|
@@ -28159,7 +28159,7 @@ lib/tool/functions/isFalsy.md
|
|
|
28159
28159
|
|
|
28160
28160
|
> **isFalsy**(`val`): `val is TFalsy`
|
|
28161
28161
|
|
|
28162
|
-
Defined in: [dist/lib/tool.ts:
|
|
28162
|
+
Defined in: [dist/lib/tool.ts:2518](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2518)
|
|
28163
28163
|
|
|
28164
28164
|
判断一个值是否是虚假的(为 null/undefined/空字符串/false/0)
|
|
28165
28165
|
|
|
@@ -28188,7 +28188,7 @@ lib/tool/functions/isMs.md
|
|
|
28188
28188
|
|
|
28189
28189
|
> **isMs**(`time`): `boolean`
|
|
28190
28190
|
|
|
28191
|
-
Defined in: [dist/lib/tool.ts:
|
|
28191
|
+
Defined in: [dist/lib/tool.ts:1620](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1620)
|
|
28192
28192
|
|
|
28193
28193
|
是否是毫秒
|
|
28194
28194
|
|
|
@@ -28217,7 +28217,7 @@ lib/tool/functions/isTruthy.md
|
|
|
28217
28217
|
|
|
28218
28218
|
> **isTruthy**(`val`): `val is any`
|
|
28219
28219
|
|
|
28220
|
-
Defined in: [dist/lib/tool.ts:
|
|
28220
|
+
Defined in: [dist/lib/tool.ts:2526](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2526)
|
|
28221
28221
|
|
|
28222
28222
|
判断一个值是否是真实的(不为 null/undefined/空字符串/false/0)
|
|
28223
28223
|
|
|
@@ -28246,7 +28246,7 @@ lib/tool/functions/layoutAddTagClassAndReTagName.md
|
|
|
28246
28246
|
|
|
28247
28247
|
> **layoutAddTagClassAndReTagName**(`layout`, `retagname`): `string`
|
|
28248
28248
|
|
|
28249
|
-
Defined in: [dist/lib/tool.ts:
|
|
28249
|
+
Defined in: [dist/lib/tool.ts:353](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L353)
|
|
28250
28250
|
|
|
28251
28251
|
给标签增加 tag-tagname 的 class,同时给标签增加 cg- 前导(仅字符串,不是操作真实 dom)
|
|
28252
28252
|
|
|
@@ -28281,7 +28281,7 @@ lib/tool/functions/layoutClassPrepend.md
|
|
|
28281
28281
|
|
|
28282
28282
|
> **layoutClassPrepend**(`layout`, `preps`): `string`
|
|
28283
28283
|
|
|
28284
|
-
Defined in: [dist/lib/tool.ts:
|
|
28284
|
+
Defined in: [dist/lib/tool.ts:468](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L468)
|
|
28285
28285
|
|
|
28286
28286
|
给 class 增加 scope 的随机前缀,给 id 新增前缀
|
|
28287
28287
|
|
|
@@ -28316,7 +28316,7 @@ lib/tool/functions/layoutInsertAttr.md
|
|
|
28316
28316
|
|
|
28317
28317
|
> **layoutInsertAttr**(`layout`, `insert`, `opt`): `string`
|
|
28318
28318
|
|
|
28319
|
-
Defined in: [dist/lib/tool.ts:
|
|
28319
|
+
Defined in: [dist/lib/tool.ts:409](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L409)
|
|
28320
28320
|
|
|
28321
28321
|
给标签追加 attr,即使 attr 存在也会追加上一个新的(非真实 DOM 操作,仅仅是对字符串进行处理)
|
|
28322
28322
|
|
|
@@ -28363,7 +28363,7 @@ lib/tool/functions/loadLink.md
|
|
|
28363
28363
|
|
|
28364
28364
|
> **loadLink**(`url`, `pos`): `Promise`\<`boolean`\>
|
|
28365
28365
|
|
|
28366
|
-
Defined in: [dist/lib/tool.ts:
|
|
28366
|
+
Defined in: [dist/lib/tool.ts:2469](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2469)
|
|
28367
28367
|
|
|
28368
28368
|
加载 css 文件
|
|
28369
28369
|
|
|
@@ -28398,7 +28398,7 @@ lib/tool/functions/loadLinks.md
|
|
|
28398
28398
|
|
|
28399
28399
|
> **loadLinks**(`urls`, `opt`): `Promise`\<`void`\>
|
|
28400
28400
|
|
|
28401
|
-
Defined in: [dist/lib/tool.ts:
|
|
28401
|
+
Defined in: [dist/lib/tool.ts:2495](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2495)
|
|
28402
28402
|
|
|
28403
28403
|
批量加载 css 文件
|
|
28404
28404
|
|
|
@@ -28435,7 +28435,7 @@ lib/tool/functions/loadScript.md
|
|
|
28435
28435
|
|
|
28436
28436
|
> **loadScript**(`url`): `Promise`\<`boolean`\>
|
|
28437
28437
|
|
|
28438
|
-
Defined in: [dist/lib/tool.ts:
|
|
28438
|
+
Defined in: [dist/lib/tool.ts:2436](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2436)
|
|
28439
28439
|
|
|
28440
28440
|
加载脚本
|
|
28441
28441
|
|
|
@@ -28464,7 +28464,7 @@ lib/tool/functions/loadScripts.md
|
|
|
28464
28464
|
|
|
28465
28465
|
> **loadScripts**(`urls`, `opt`): `Promise`\<`void`\>
|
|
28466
28466
|
|
|
28467
|
-
Defined in: [dist/lib/tool.ts:
|
|
28467
|
+
Defined in: [dist/lib/tool.ts:2455](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2455)
|
|
28468
28468
|
|
|
28469
28469
|
批量加载 js 文件
|
|
28470
28470
|
|
|
@@ -28501,7 +28501,7 @@ lib/tool/functions/loadStyle.md
|
|
|
28501
28501
|
|
|
28502
28502
|
> **loadStyle**(`style`): `void`
|
|
28503
28503
|
|
|
28504
|
-
Defined in: [dist/lib/tool.ts:
|
|
28504
|
+
Defined in: [dist/lib/tool.ts:2508](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2508)
|
|
28505
28505
|
|
|
28506
28506
|
加载 css 字符串
|
|
28507
28507
|
|
|
@@ -28530,7 +28530,7 @@ lib/tool/functions/logicalOr.md
|
|
|
28530
28530
|
|
|
28531
28531
|
> **logicalOr**\<`T`, `T2`\>(`v1`, `v2`): \[`T`\] *extends* \[[`TFalsy`](../type-aliases/TFalsy.md)\] ? `T2` : `T`
|
|
28532
28532
|
|
|
28533
|
-
Defined in: [dist/lib/tool.ts:
|
|
28533
|
+
Defined in: [dist/lib/tool.ts:2535](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2535)
|
|
28534
28534
|
|
|
28535
28535
|
类似 || 运算符的效果
|
|
28536
28536
|
|
|
@@ -28575,7 +28575,7 @@ lib/tool/functions/match.md
|
|
|
28575
28575
|
|
|
28576
28576
|
> **match**(`str`, `regs`): `boolean`
|
|
28577
28577
|
|
|
28578
|
-
Defined in: [dist/lib/tool.ts:
|
|
28578
|
+
Defined in: [dist/lib/tool.ts:310](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L310)
|
|
28579
28579
|
|
|
28580
28580
|
传入正则进行匹配 str 是否有一项满足
|
|
28581
28581
|
|
|
@@ -28610,7 +28610,7 @@ lib/tool/functions/nextFrame.md
|
|
|
28610
28610
|
|
|
28611
28611
|
> **nextFrame**(): `Promise`\<`void`\>
|
|
28612
28612
|
|
|
28613
|
-
Defined in: [dist/lib/tool.ts:
|
|
28613
|
+
Defined in: [dist/lib/tool.ts:264](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L264)
|
|
28614
28614
|
|
|
28615
28615
|
等待浏览器帧
|
|
28616
28616
|
|
|
@@ -28631,7 +28631,7 @@ lib/tool/functions/parseArrayString.md
|
|
|
28631
28631
|
|
|
28632
28632
|
> **parseArrayString**(`arrayStr`): `string`[]
|
|
28633
28633
|
|
|
28634
|
-
Defined in: [dist/lib/tool.ts:
|
|
28634
|
+
Defined in: [dist/lib/tool.ts:1699](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1699)
|
|
28635
28635
|
|
|
28636
28636
|
数组字符串解析器
|
|
28637
28637
|
解析数组字符串为各元素组成的字符串数组
|
|
@@ -28663,7 +28663,7 @@ lib/tool/functions/parseUrl.md
|
|
|
28663
28663
|
|
|
28664
28664
|
> **parseUrl**(`url`): [`IUrl`](../interfaces/IUrl.md)
|
|
28665
28665
|
|
|
28666
|
-
Defined in: [dist/lib/tool.ts:
|
|
28666
|
+
Defined in: [dist/lib/tool.ts:1331](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1331)
|
|
28667
28667
|
|
|
28668
28668
|
传输 url 并解析为 IUrl 对象
|
|
28669
28669
|
|
|
@@ -28692,7 +28692,7 @@ lib/tool/functions/post.md
|
|
|
28692
28692
|
|
|
28693
28693
|
> **post**(`url`, `data`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
28694
28694
|
|
|
28695
|
-
Defined in: [dist/lib/tool.ts:
|
|
28695
|
+
Defined in: [dist/lib/tool.ts:1180](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1180)
|
|
28696
28696
|
|
|
28697
28697
|
发起 POST 请求(除 FormData 外都会转换为 JSON 提交)
|
|
28698
28698
|
|
|
@@ -28735,7 +28735,7 @@ lib/tool/functions/postResponseEventStream.md
|
|
|
28735
28735
|
|
|
28736
28736
|
> **postResponseEventStream**(`url`, `data`, `opts`): `AbortController`
|
|
28737
28737
|
|
|
28738
|
-
Defined in: [dist/lib/tool.ts:
|
|
28738
|
+
Defined in: [dist/lib/tool.ts:1228](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1228)
|
|
28739
28739
|
|
|
28740
28740
|
发起 JSON 请求并获得文本 SSE 响应
|
|
28741
28741
|
|
|
@@ -28810,7 +28810,7 @@ lib/tool/functions/postResponseJson.md
|
|
|
28810
28810
|
|
|
28811
28811
|
> **postResponseJson**(`url`, `data`, `init?`): `Promise`\<`any`\>
|
|
28812
28812
|
|
|
28813
|
-
Defined in: [dist/lib/tool.ts:
|
|
28813
|
+
Defined in: [dist/lib/tool.ts:1309](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1309)
|
|
28814
28814
|
|
|
28815
28815
|
发起 POST 请求并解析 JSON 响应
|
|
28816
28816
|
|
|
@@ -28853,7 +28853,7 @@ lib/tool/functions/purify.md
|
|
|
28853
28853
|
|
|
28854
28854
|
> **purify**(`text`): `string`
|
|
28855
28855
|
|
|
28856
|
-
Defined in: [dist/lib/tool.ts:
|
|
28856
|
+
Defined in: [dist/lib/tool.ts:289](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L289)
|
|
28857
28857
|
|
|
28858
28858
|
去除 html 的空白符、换行以及注释
|
|
28859
28859
|
|
|
@@ -28882,7 +28882,7 @@ lib/tool/functions/queryParse.md
|
|
|
28882
28882
|
|
|
28883
28883
|
> **queryParse**(`query`): `Record`\<`string`, `string` \| `string`[]\>
|
|
28884
28884
|
|
|
28885
|
-
Defined in: [dist/lib/tool.ts:
|
|
28885
|
+
Defined in: [dist/lib/tool.ts:1650](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1650)
|
|
28886
28886
|
|
|
28887
28887
|
将 query string 转换为对象
|
|
28888
28888
|
|
|
@@ -28911,7 +28911,7 @@ lib/tool/functions/queryStringify.md
|
|
|
28911
28911
|
|
|
28912
28912
|
> **queryStringify**(`query`, `encode`): `string`
|
|
28913
28913
|
|
|
28914
|
-
Defined in: [dist/lib/tool.ts:
|
|
28914
|
+
Defined in: [dist/lib/tool.ts:1629](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1629)
|
|
28915
28915
|
|
|
28916
28916
|
将对象转换为 query string
|
|
28917
28917
|
|
|
@@ -28944,9 +28944,9 @@ lib/tool/functions/rand.md
|
|
|
28944
28944
|
|
|
28945
28945
|
# Function: rand()
|
|
28946
28946
|
|
|
28947
|
-
> **rand**(`min`, `max`): `number`
|
|
28947
|
+
> **rand**(`min`, `max`, `prec`): `number`
|
|
28948
28948
|
|
|
28949
|
-
Defined in: [dist/lib/tool.ts:
|
|
28949
|
+
Defined in: [dist/lib/tool.ts:653](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L653)
|
|
28950
28950
|
|
|
28951
28951
|
生成范围内的随机数
|
|
28952
28952
|
|
|
@@ -28956,13 +28956,19 @@ Defined in: [dist/lib/tool.ts:651](https://github.com/maiyun/clickgo/blob/master
|
|
|
28956
28956
|
|
|
28957
28957
|
`number`
|
|
28958
28958
|
|
|
28959
|
-
|
|
28959
|
+
>= 最小值
|
|
28960
28960
|
|
|
28961
28961
|
### max
|
|
28962
28962
|
|
|
28963
28963
|
`number`
|
|
28964
28964
|
|
|
28965
|
-
|
|
28965
|
+
<= 最大值
|
|
28966
|
+
|
|
28967
|
+
### prec
|
|
28968
|
+
|
|
28969
|
+
`number` = `0`
|
|
28970
|
+
|
|
28971
|
+
保留几位小数
|
|
28966
28972
|
|
|
28967
28973
|
## Returns
|
|
28968
28974
|
|
|
@@ -28981,7 +28987,7 @@ lib/tool/functions/random.md
|
|
|
28981
28987
|
|
|
28982
28988
|
> **random**(`length`, `source`, `block`): `string`
|
|
28983
28989
|
|
|
28984
|
-
Defined in: [dist/lib/tool.ts:
|
|
28990
|
+
Defined in: [dist/lib/tool.ts:682](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L682)
|
|
28985
28991
|
|
|
28986
28992
|
生成随机字符串
|
|
28987
28993
|
|
|
@@ -29024,7 +29030,7 @@ lib/tool/functions/request.md
|
|
|
29024
29030
|
|
|
29025
29031
|
> **request**(`url`, `opt`): `Promise`\<`any`\>
|
|
29026
29032
|
|
|
29027
|
-
Defined in: [dist/lib/tool.ts:
|
|
29033
|
+
Defined in: [dist/lib/tool.ts:1040](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1040)
|
|
29028
29034
|
|
|
29029
29035
|
发起一个网络请求,若是返回值是 JSON 则自动解析,否则直接返回字符串
|
|
29030
29036
|
|
|
@@ -29059,7 +29065,7 @@ lib/tool/functions/rgb2hex.md
|
|
|
29059
29065
|
|
|
29060
29066
|
> **rgb2hex**(`r`, `g?`, `b?`, `a?`): `string`
|
|
29061
29067
|
|
|
29062
|
-
Defined in: [dist/lib/tool.ts:
|
|
29068
|
+
Defined in: [dist/lib/tool.ts:799](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L799)
|
|
29063
29069
|
|
|
29064
29070
|
将 r, g, b 转换为 hex 字符串,不含 #
|
|
29065
29071
|
|
|
@@ -29104,7 +29110,7 @@ lib/tool/functions/rgb2hsl.md
|
|
|
29104
29110
|
|
|
29105
29111
|
> **rgb2hsl**(`r`, `g?`, `b?`, `a?`, `decimal?`): `object`
|
|
29106
29112
|
|
|
29107
|
-
Defined in: [dist/lib/tool.ts:
|
|
29113
|
+
Defined in: [dist/lib/tool.ts:872](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L872)
|
|
29108
29114
|
|
|
29109
29115
|
rgb 字符串转 hsl 数组
|
|
29110
29116
|
|
|
@@ -29243,7 +29249,7 @@ lib/tool/functions/sleep.md
|
|
|
29243
29249
|
|
|
29244
29250
|
> **sleep**(`ms`): `Promise`\<`boolean`\>
|
|
29245
29251
|
|
|
29246
|
-
Defined in: [dist/lib/tool.ts:
|
|
29252
|
+
Defined in: [dist/lib/tool.ts:249](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L249)
|
|
29247
29253
|
|
|
29248
29254
|
等待毫秒
|
|
29249
29255
|
|
|
@@ -29272,7 +29278,7 @@ lib/tool/functions/sleepFrame.md
|
|
|
29272
29278
|
|
|
29273
29279
|
> **sleepFrame**(`count`): `Promise`\<`void`\>
|
|
29274
29280
|
|
|
29275
|
-
Defined in: [dist/lib/tool.ts:
|
|
29281
|
+
Defined in: [dist/lib/tool.ts:276](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L276)
|
|
29276
29282
|
|
|
29277
29283
|
等待浏览器帧
|
|
29278
29284
|
|
|
@@ -29301,7 +29307,7 @@ lib/tool/functions/stateMachine.md
|
|
|
29301
29307
|
|
|
29302
29308
|
> **stateMachine**(`code`, `start`, `process`): `void`
|
|
29303
29309
|
|
|
29304
|
-
Defined in: [dist/lib/tool.ts:
|
|
29310
|
+
Defined in: [dist/lib/tool.ts:1785](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1785)
|
|
29305
29311
|
|
|
29306
29312
|
状态机
|
|
29307
29313
|
|
|
@@ -29344,7 +29350,7 @@ lib/tool/functions/stylePrepend.md
|
|
|
29344
29350
|
|
|
29345
29351
|
> **stylePrepend**(`style`, `prep`): `object`
|
|
29346
29352
|
|
|
29347
|
-
Defined in: [dist/lib/tool.ts:
|
|
29353
|
+
Defined in: [dist/lib/tool.ts:550](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L550)
|
|
29348
29354
|
|
|
29349
29355
|
给 class 前部增加唯一标识符
|
|
29350
29356
|
|
|
@@ -29387,7 +29393,7 @@ lib/tool/functions/styleUrl2DataUrl.md
|
|
|
29387
29393
|
|
|
29388
29394
|
> **styleUrl2DataUrl**(`path`, `style`, `files`): `Promise`\<`string`\>
|
|
29389
29395
|
|
|
29390
|
-
Defined in: [dist/lib/tool.ts:
|
|
29396
|
+
Defined in: [dist/lib/tool.ts:325](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L325)
|
|
29391
29397
|
|
|
29392
29398
|
将 style 中的 url 转换成 base64 data url
|
|
29393
29399
|
|
|
@@ -29428,7 +29434,7 @@ lib/tool/functions/teleportGlue.md
|
|
|
29428
29434
|
|
|
29429
29435
|
> **teleportGlue**(`layout`, `formId`): `string`
|
|
29430
29436
|
|
|
29431
|
-
Defined in: [dist/lib/tool.ts:
|
|
29437
|
+
Defined in: [dist/lib/tool.ts:535](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L535)
|
|
29432
29438
|
|
|
29433
29439
|
对 layout 的 teleport 做转义处理为 vue 识别的内容
|
|
29434
29440
|
|
|
@@ -29450,6 +29456,35 @@ Defined in: [dist/lib/tool.ts:534](https://github.com/maiyun/clickgo/blob/master
|
|
|
29450
29456
|
|
|
29451
29457
|
`string`
|
|
29452
29458
|
|
|
29459
|
+
lib/tool/functions/unescapeHTML.md
|
|
29460
|
+
---
|
|
29461
|
+
|
|
29462
|
+
[**Documents for clickgo**](../../../index.md)
|
|
29463
|
+
|
|
29464
|
+
***
|
|
29465
|
+
|
|
29466
|
+
[Documents for clickgo](../../../index.md) / [lib/tool](../index.md) / unescapeHTML
|
|
29467
|
+
|
|
29468
|
+
# Function: unescapeHTML()
|
|
29469
|
+
|
|
29470
|
+
> **unescapeHTML**(`html`): `string`
|
|
29471
|
+
|
|
29472
|
+
Defined in: [dist/lib/tool.ts:768](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L768)
|
|
29473
|
+
|
|
29474
|
+
还原转义后的 HTML
|
|
29475
|
+
|
|
29476
|
+
## Parameters
|
|
29477
|
+
|
|
29478
|
+
### html
|
|
29479
|
+
|
|
29480
|
+
`string`
|
|
29481
|
+
|
|
29482
|
+
已转义的 HTML 字符
|
|
29483
|
+
|
|
29484
|
+
## Returns
|
|
29485
|
+
|
|
29486
|
+
`string`
|
|
29487
|
+
|
|
29453
29488
|
lib/tool/functions/urlAtom.md
|
|
29454
29489
|
---
|
|
29455
29490
|
|
|
@@ -29463,7 +29498,7 @@ lib/tool/functions/urlAtom.md
|
|
|
29463
29498
|
|
|
29464
29499
|
> **urlAtom**(`url`): `string`
|
|
29465
29500
|
|
|
29466
|
-
Defined in: [dist/lib/tool.ts:
|
|
29501
|
+
Defined in: [dist/lib/tool.ts:1473](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1473)
|
|
29467
29502
|
|
|
29468
29503
|
处理 URL 中的 .. / . 等
|
|
29469
29504
|
|
|
@@ -29490,7 +29525,7 @@ lib/tool/functions/urlResolve.md
|
|
|
29490
29525
|
|
|
29491
29526
|
> **urlResolve**(`from`, `to`): `string`
|
|
29492
29527
|
|
|
29493
|
-
Defined in: [dist/lib/tool.ts:
|
|
29528
|
+
Defined in: [dist/lib/tool.ts:1414](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1414)
|
|
29494
29529
|
|
|
29495
29530
|
将相对路径根据基准路径进行转换
|
|
29496
29531
|
|
|
@@ -29525,7 +29560,7 @@ lib/tool/functions/weightFormat.md
|
|
|
29525
29560
|
|
|
29526
29561
|
> **weightFormat**(`weight`, `spliter`): `string`
|
|
29527
29562
|
|
|
29528
|
-
Defined in: [dist/lib/tool.ts:
|
|
29563
|
+
Defined in: [dist/lib/tool.ts:178](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L178)
|
|
29529
29564
|
|
|
29530
29565
|
将毫克重量格式化为带单位的字符串
|
|
29531
29566
|
|
|
@@ -29646,6 +29681,7 @@ lib/tool/index.md
|
|
|
29646
29681
|
- [stylePrepend](functions/stylePrepend.md)
|
|
29647
29682
|
- [styleUrl2DataUrl](functions/styleUrl2DataUrl.md)
|
|
29648
29683
|
- [teleportGlue](functions/teleportGlue.md)
|
|
29684
|
+
- [unescapeHTML](functions/unescapeHTML.md)
|
|
29649
29685
|
- [urlAtom](functions/urlAtom.md)
|
|
29650
29686
|
- [urlResolve](functions/urlResolve.md)
|
|
29651
29687
|
- [weightFormat](functions/weightFormat.md)
|
|
@@ -29696,7 +29732,7 @@ lib/tool/interfaces/IRequestOptions.md
|
|
|
29696
29732
|
|
|
29697
29733
|
# Interface: IRequestOptions
|
|
29698
29734
|
|
|
29699
|
-
Defined in: [dist/lib/tool.ts:
|
|
29735
|
+
Defined in: [dist/lib/tool.ts:2613](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2613)
|
|
29700
29736
|
|
|
29701
29737
|
请求选项
|
|
29702
29738
|
|
|
@@ -29706,7 +29742,7 @@ Defined in: [dist/lib/tool.ts:2627](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29706
29742
|
|
|
29707
29743
|
> `optional` **body**: `FormData`
|
|
29708
29744
|
|
|
29709
|
-
Defined in: [dist/lib/tool.ts:
|
|
29745
|
+
Defined in: [dist/lib/tool.ts:2616](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2616)
|
|
29710
29746
|
|
|
29711
29747
|
***
|
|
29712
29748
|
|
|
@@ -29714,7 +29750,7 @@ Defined in: [dist/lib/tool.ts:2630](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29714
29750
|
|
|
29715
29751
|
> `optional` **credentials**: `boolean`
|
|
29716
29752
|
|
|
29717
|
-
Defined in: [dist/lib/tool.ts:
|
|
29753
|
+
Defined in: [dist/lib/tool.ts:2614](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2614)
|
|
29718
29754
|
|
|
29719
29755
|
***
|
|
29720
29756
|
|
|
@@ -29722,7 +29758,7 @@ Defined in: [dist/lib/tool.ts:2628](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29722
29758
|
|
|
29723
29759
|
> `optional` **end**: () => `void` \| `Promise`\<`void`\>
|
|
29724
29760
|
|
|
29725
|
-
Defined in: [dist/lib/tool.ts:
|
|
29761
|
+
Defined in: [dist/lib/tool.ts:2625](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2625)
|
|
29726
29762
|
|
|
29727
29763
|
#### Returns
|
|
29728
29764
|
|
|
@@ -29734,7 +29770,7 @@ Defined in: [dist/lib/tool.ts:2639](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29734
29770
|
|
|
29735
29771
|
> `optional` **error**: () => `void` \| `Promise`\<`void`\>
|
|
29736
29772
|
|
|
29737
|
-
Defined in: [dist/lib/tool.ts:
|
|
29773
|
+
Defined in: [dist/lib/tool.ts:2628](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2628)
|
|
29738
29774
|
|
|
29739
29775
|
#### Returns
|
|
29740
29776
|
|
|
@@ -29746,7 +29782,7 @@ Defined in: [dist/lib/tool.ts:2642](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29746
29782
|
|
|
29747
29783
|
> `optional` **headers**: `HeadersInit`
|
|
29748
29784
|
|
|
29749
|
-
Defined in: [dist/lib/tool.ts:
|
|
29785
|
+
Defined in: [dist/lib/tool.ts:2619](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2619)
|
|
29750
29786
|
|
|
29751
29787
|
***
|
|
29752
29788
|
|
|
@@ -29754,7 +29790,7 @@ Defined in: [dist/lib/tool.ts:2633](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29754
29790
|
|
|
29755
29791
|
> `optional` **load**: (`res`) => `void` \| `Promise`\<`void`\>
|
|
29756
29792
|
|
|
29757
|
-
Defined in: [dist/lib/tool.ts:
|
|
29793
|
+
Defined in: [dist/lib/tool.ts:2627](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2627)
|
|
29758
29794
|
|
|
29759
29795
|
#### Parameters
|
|
29760
29796
|
|
|
@@ -29772,7 +29808,7 @@ Defined in: [dist/lib/tool.ts:2641](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29772
29808
|
|
|
29773
29809
|
> `optional` **method**: `"GET"` \| `"POST"`
|
|
29774
29810
|
|
|
29775
|
-
Defined in: [dist/lib/tool.ts:
|
|
29811
|
+
Defined in: [dist/lib/tool.ts:2615](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2615)
|
|
29776
29812
|
|
|
29777
29813
|
***
|
|
29778
29814
|
|
|
@@ -29780,7 +29816,7 @@ Defined in: [dist/lib/tool.ts:2629](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29780
29816
|
|
|
29781
29817
|
> `optional` **progress**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
|
|
29782
29818
|
|
|
29783
|
-
Defined in: [dist/lib/tool.ts:
|
|
29819
|
+
Defined in: [dist/lib/tool.ts:2626](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2626)
|
|
29784
29820
|
|
|
29785
29821
|
#### Parameters
|
|
29786
29822
|
|
|
@@ -29802,7 +29838,7 @@ Defined in: [dist/lib/tool.ts:2640](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29802
29838
|
|
|
29803
29839
|
> `optional` **responseType**: `XMLHttpRequestResponseType`
|
|
29804
29840
|
|
|
29805
|
-
Defined in: [dist/lib/tool.ts:
|
|
29841
|
+
Defined in: [dist/lib/tool.ts:2618](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2618)
|
|
29806
29842
|
|
|
29807
29843
|
***
|
|
29808
29844
|
|
|
@@ -29810,7 +29846,7 @@ Defined in: [dist/lib/tool.ts:2632](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29810
29846
|
|
|
29811
29847
|
> `optional` **start**: (`total`) => `void` \| `Promise`\<`void`\>
|
|
29812
29848
|
|
|
29813
|
-
Defined in: [dist/lib/tool.ts:
|
|
29849
|
+
Defined in: [dist/lib/tool.ts:2624](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2624)
|
|
29814
29850
|
|
|
29815
29851
|
#### Parameters
|
|
29816
29852
|
|
|
@@ -29828,7 +29864,7 @@ Defined in: [dist/lib/tool.ts:2638](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29828
29864
|
|
|
29829
29865
|
> `optional` **timeout**: `number`
|
|
29830
29866
|
|
|
29831
|
-
Defined in: [dist/lib/tool.ts:
|
|
29867
|
+
Defined in: [dist/lib/tool.ts:2617](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2617)
|
|
29832
29868
|
|
|
29833
29869
|
***
|
|
29834
29870
|
|
|
@@ -29836,7 +29872,7 @@ Defined in: [dist/lib/tool.ts:2631](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29836
29872
|
|
|
29837
29873
|
> `optional` **uploadEnd**: () => `void` \| `Promise`\<`void`\>
|
|
29838
29874
|
|
|
29839
|
-
Defined in: [dist/lib/tool.ts:
|
|
29875
|
+
Defined in: [dist/lib/tool.ts:2623](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2623)
|
|
29840
29876
|
|
|
29841
29877
|
#### Returns
|
|
29842
29878
|
|
|
@@ -29848,7 +29884,7 @@ Defined in: [dist/lib/tool.ts:2637](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29848
29884
|
|
|
29849
29885
|
> `optional` **uploadProgress**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
|
|
29850
29886
|
|
|
29851
|
-
Defined in: [dist/lib/tool.ts:
|
|
29887
|
+
Defined in: [dist/lib/tool.ts:2622](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2622)
|
|
29852
29888
|
|
|
29853
29889
|
#### Parameters
|
|
29854
29890
|
|
|
@@ -29870,7 +29906,7 @@ Defined in: [dist/lib/tool.ts:2636](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29870
29906
|
|
|
29871
29907
|
> `optional` **uploadStart**: (`total`) => `void` \| `Promise`\<`void`\>
|
|
29872
29908
|
|
|
29873
|
-
Defined in: [dist/lib/tool.ts:
|
|
29909
|
+
Defined in: [dist/lib/tool.ts:2621](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2621)
|
|
29874
29910
|
|
|
29875
29911
|
#### Parameters
|
|
29876
29912
|
|
|
@@ -29893,7 +29929,7 @@ lib/tool/interfaces/IUrl.md
|
|
|
29893
29929
|
|
|
29894
29930
|
# Interface: IUrl
|
|
29895
29931
|
|
|
29896
|
-
Defined in: [dist/lib/tool.ts:
|
|
29932
|
+
Defined in: [dist/lib/tool.ts:2598](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2598)
|
|
29897
29933
|
|
|
29898
29934
|
网址对象
|
|
29899
29935
|
|
|
@@ -29903,7 +29939,7 @@ Defined in: [dist/lib/tool.ts:2612](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29903
29939
|
|
|
29904
29940
|
> **auth**: `string` \| `null`
|
|
29905
29941
|
|
|
29906
|
-
Defined in: [dist/lib/tool.ts:
|
|
29942
|
+
Defined in: [dist/lib/tool.ts:2599](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2599)
|
|
29907
29943
|
|
|
29908
29944
|
***
|
|
29909
29945
|
|
|
@@ -29911,7 +29947,7 @@ Defined in: [dist/lib/tool.ts:2613](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29911
29947
|
|
|
29912
29948
|
> **hash**: `string` \| `null`
|
|
29913
29949
|
|
|
29914
|
-
Defined in: [dist/lib/tool.ts:
|
|
29950
|
+
Defined in: [dist/lib/tool.ts:2600](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2600)
|
|
29915
29951
|
|
|
29916
29952
|
***
|
|
29917
29953
|
|
|
@@ -29919,7 +29955,7 @@ Defined in: [dist/lib/tool.ts:2614](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29919
29955
|
|
|
29920
29956
|
> **host**: `string` \| `null`
|
|
29921
29957
|
|
|
29922
|
-
Defined in: [dist/lib/tool.ts:
|
|
29958
|
+
Defined in: [dist/lib/tool.ts:2601](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2601)
|
|
29923
29959
|
|
|
29924
29960
|
***
|
|
29925
29961
|
|
|
@@ -29927,7 +29963,7 @@ Defined in: [dist/lib/tool.ts:2615](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29927
29963
|
|
|
29928
29964
|
> **hostname**: `string` \| `null`
|
|
29929
29965
|
|
|
29930
|
-
Defined in: [dist/lib/tool.ts:
|
|
29966
|
+
Defined in: [dist/lib/tool.ts:2602](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2602)
|
|
29931
29967
|
|
|
29932
29968
|
***
|
|
29933
29969
|
|
|
@@ -29935,7 +29971,7 @@ Defined in: [dist/lib/tool.ts:2616](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29935
29971
|
|
|
29936
29972
|
> **pass**: `string` \| `null`
|
|
29937
29973
|
|
|
29938
|
-
Defined in: [dist/lib/tool.ts:
|
|
29974
|
+
Defined in: [dist/lib/tool.ts:2603](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2603)
|
|
29939
29975
|
|
|
29940
29976
|
***
|
|
29941
29977
|
|
|
@@ -29943,7 +29979,7 @@ Defined in: [dist/lib/tool.ts:2617](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29943
29979
|
|
|
29944
29980
|
> **path**: `string` \| `null`
|
|
29945
29981
|
|
|
29946
|
-
Defined in: [dist/lib/tool.ts:
|
|
29982
|
+
Defined in: [dist/lib/tool.ts:2604](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2604)
|
|
29947
29983
|
|
|
29948
29984
|
***
|
|
29949
29985
|
|
|
@@ -29951,7 +29987,7 @@ Defined in: [dist/lib/tool.ts:2618](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29951
29987
|
|
|
29952
29988
|
> **pathname**: `string`
|
|
29953
29989
|
|
|
29954
|
-
Defined in: [dist/lib/tool.ts:
|
|
29990
|
+
Defined in: [dist/lib/tool.ts:2605](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2605)
|
|
29955
29991
|
|
|
29956
29992
|
***
|
|
29957
29993
|
|
|
@@ -29959,7 +29995,7 @@ Defined in: [dist/lib/tool.ts:2619](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29959
29995
|
|
|
29960
29996
|
> **port**: `string` \| `null`
|
|
29961
29997
|
|
|
29962
|
-
Defined in: [dist/lib/tool.ts:
|
|
29998
|
+
Defined in: [dist/lib/tool.ts:2607](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2607)
|
|
29963
29999
|
|
|
29964
30000
|
***
|
|
29965
30001
|
|
|
@@ -29967,7 +30003,7 @@ Defined in: [dist/lib/tool.ts:2621](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29967
30003
|
|
|
29968
30004
|
> **protocol**: `string` \| `null`
|
|
29969
30005
|
|
|
29970
|
-
Defined in: [dist/lib/tool.ts:
|
|
30006
|
+
Defined in: [dist/lib/tool.ts:2606](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2606)
|
|
29971
30007
|
|
|
29972
30008
|
***
|
|
29973
30009
|
|
|
@@ -29975,7 +30011,7 @@ Defined in: [dist/lib/tool.ts:2620](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29975
30011
|
|
|
29976
30012
|
> **query**: `string` \| `null`
|
|
29977
30013
|
|
|
29978
|
-
Defined in: [dist/lib/tool.ts:
|
|
30014
|
+
Defined in: [dist/lib/tool.ts:2608](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2608)
|
|
29979
30015
|
|
|
29980
30016
|
***
|
|
29981
30017
|
|
|
@@ -29983,7 +30019,7 @@ Defined in: [dist/lib/tool.ts:2622](https://github.com/maiyun/clickgo/blob/maste
|
|
|
29983
30019
|
|
|
29984
30020
|
> **user**: `string` \| `null`
|
|
29985
30021
|
|
|
29986
|
-
Defined in: [dist/lib/tool.ts:
|
|
30022
|
+
Defined in: [dist/lib/tool.ts:2609](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2609)
|
|
29987
30023
|
|
|
29988
30024
|
lib/tool/type-aliases/TFalsy.md
|
|
29989
30025
|
---
|
|
@@ -29998,7 +30034,7 @@ lib/tool/type-aliases/TFalsy.md
|
|
|
29998
30034
|
|
|
29999
30035
|
> **TFalsy** = `false` \| `""` \| `0` \| `null` \| `undefined` \| *typeof* `NaN`
|
|
30000
30036
|
|
|
30001
|
-
Defined in: [dist/lib/tool.ts:
|
|
30037
|
+
Defined in: [dist/lib/tool.ts:2632](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2632)
|
|
30002
30038
|
|
|
30003
30039
|
虚假值类型
|
|
30004
30040
|
|
|
@@ -30015,7 +30051,7 @@ lib/tool/variables/lang.md
|
|
|
30015
30051
|
|
|
30016
30052
|
> `const` **lang**: `object`
|
|
30017
30053
|
|
|
30018
|
-
Defined in: [dist/lib/tool.ts:
|
|
30054
|
+
Defined in: [dist/lib/tool.ts:2540](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2540)
|
|
30019
30055
|
|
|
30020
30056
|
语言相关
|
|
30021
30057
|
|
|
@@ -30070,7 +30106,7 @@ lib/tool/variables/RANDOM_L.md
|
|
|
30070
30106
|
|
|
30071
30107
|
> `const` **RANDOM\_L**: `"abcdefghijklmnopqrstuvwxyz"` = `'abcdefghijklmnopqrstuvwxyz'`
|
|
30072
30108
|
|
|
30073
|
-
Defined in: [dist/lib/tool.ts:
|
|
30109
|
+
Defined in: [dist/lib/tool.ts:666](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L666)
|
|
30074
30110
|
|
|
30075
30111
|
lib/tool/variables/RANDOM_LN.md
|
|
30076
30112
|
---
|
|
@@ -30085,7 +30121,7 @@ lib/tool/variables/RANDOM_LN.md
|
|
|
30085
30121
|
|
|
30086
30122
|
> `const` **RANDOM\_LN**: `string`
|
|
30087
30123
|
|
|
30088
|
-
Defined in: [dist/lib/tool.ts:
|
|
30124
|
+
Defined in: [dist/lib/tool.ts:669](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L669)
|
|
30089
30125
|
|
|
30090
30126
|
lib/tool/variables/RANDOM_LU.md
|
|
30091
30127
|
---
|
|
@@ -30100,7 +30136,7 @@ lib/tool/variables/RANDOM_LU.md
|
|
|
30100
30136
|
|
|
30101
30137
|
> `const` **RANDOM\_LU**: `string`
|
|
30102
30138
|
|
|
30103
|
-
Defined in: [dist/lib/tool.ts:
|
|
30139
|
+
Defined in: [dist/lib/tool.ts:670](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L670)
|
|
30104
30140
|
|
|
30105
30141
|
lib/tool/variables/RANDOM_LUN.md
|
|
30106
30142
|
---
|
|
@@ -30115,7 +30151,7 @@ lib/tool/variables/RANDOM_LUN.md
|
|
|
30115
30151
|
|
|
30116
30152
|
> `const` **RANDOM\_LUN**: `string`
|
|
30117
30153
|
|
|
30118
|
-
Defined in: [dist/lib/tool.ts:
|
|
30154
|
+
Defined in: [dist/lib/tool.ts:671](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L671)
|
|
30119
30155
|
|
|
30120
30156
|
lib/tool/variables/RANDOM_LUNS.md
|
|
30121
30157
|
---
|
|
@@ -30130,7 +30166,7 @@ lib/tool/variables/RANDOM_LUNS.md
|
|
|
30130
30166
|
|
|
30131
30167
|
> `const` **RANDOM\_LUNS**: `string`
|
|
30132
30168
|
|
|
30133
|
-
Defined in: [dist/lib/tool.ts:
|
|
30169
|
+
Defined in: [dist/lib/tool.ts:673](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L673)
|
|
30134
30170
|
|
|
30135
30171
|
lib/tool/variables/RANDOM_N.md
|
|
30136
30172
|
---
|
|
@@ -30145,7 +30181,7 @@ lib/tool/variables/RANDOM_N.md
|
|
|
30145
30181
|
|
|
30146
30182
|
> `const` **RANDOM\_N**: `"0123456789"` = `'0123456789'`
|
|
30147
30183
|
|
|
30148
|
-
Defined in: [dist/lib/tool.ts:
|
|
30184
|
+
Defined in: [dist/lib/tool.ts:664](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L664)
|
|
30149
30185
|
|
|
30150
30186
|
lib/tool/variables/RANDOM_U.md
|
|
30151
30187
|
---
|
|
@@ -30160,7 +30196,7 @@ lib/tool/variables/RANDOM_U.md
|
|
|
30160
30196
|
|
|
30161
30197
|
> `const` **RANDOM\_U**: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ"` = `'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
|
30162
30198
|
|
|
30163
|
-
Defined in: [dist/lib/tool.ts:
|
|
30199
|
+
Defined in: [dist/lib/tool.ts:665](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L665)
|
|
30164
30200
|
|
|
30165
30201
|
lib/tool/variables/RANDOM_UN.md
|
|
30166
30202
|
---
|
|
@@ -30175,7 +30211,7 @@ lib/tool/variables/RANDOM_UN.md
|
|
|
30175
30211
|
|
|
30176
30212
|
> `const` **RANDOM\_UN**: `string`
|
|
30177
30213
|
|
|
30178
|
-
Defined in: [dist/lib/tool.ts:
|
|
30214
|
+
Defined in: [dist/lib/tool.ts:668](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L668)
|
|
30179
30215
|
|
|
30180
30216
|
lib/tool/variables/RANDOM_V.md
|
|
30181
30217
|
---
|
|
@@ -30190,7 +30226,7 @@ lib/tool/variables/RANDOM_V.md
|
|
|
30190
30226
|
|
|
30191
30227
|
> `const` **RANDOM\_V**: `"ACEFGHJKLMNPRSTWXY34567"` = `'ACEFGHJKLMNPRSTWXY34567'`
|
|
30192
30228
|
|
|
30193
|
-
Defined in: [dist/lib/tool.ts:
|
|
30229
|
+
Defined in: [dist/lib/tool.ts:672](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L672)
|
|
30194
30230
|
|
|
30195
30231
|
lib/zip/classes/Zip.md
|
|
30196
30232
|
---
|