clickgo 5.18.3 → 5.18.5
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/marked.cgc +0 -0
- package/dist/index.js +1 -1
- package/doc/clickgo-rag.md +131 -131
- package/package.json +1 -1
package/doc/clickgo-rag.md
CHANGED
|
@@ -8451,7 +8451,7 @@ clickgo/classes/AbstractBoot.md
|
|
|
8451
8451
|
|
|
8452
8452
|
# Abstract Class: AbstractBoot
|
|
8453
8453
|
|
|
8454
|
-
Defined in: [clickgo.ts:
|
|
8454
|
+
Defined in: [clickgo.ts:164](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L164)
|
|
8455
8455
|
|
|
8456
8456
|
全局类
|
|
8457
8457
|
|
|
@@ -8461,7 +8461,7 @@ Defined in: [clickgo.ts:165](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8461
8461
|
|
|
8462
8462
|
> **new AbstractBoot**(`opt?`): `AbstractBoot`
|
|
8463
8463
|
|
|
8464
|
-
Defined in: [clickgo.ts:
|
|
8464
|
+
Defined in: [clickgo.ts:184](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L184)
|
|
8465
8465
|
|
|
8466
8466
|
#### Parameters
|
|
8467
8467
|
|
|
@@ -8481,7 +8481,7 @@ Defined in: [clickgo.ts:185](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8481
8481
|
|
|
8482
8482
|
> `protected` **\_sysId**: `string` = `''`
|
|
8483
8483
|
|
|
8484
|
-
Defined in: [clickgo.ts:
|
|
8484
|
+
Defined in: [clickgo.ts:170](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L170)
|
|
8485
8485
|
|
|
8486
8486
|
切勿传给 App
|
|
8487
8487
|
|
|
@@ -8491,7 +8491,7 @@ Defined in: [clickgo.ts:171](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8491
8491
|
|
|
8492
8492
|
> **isDebug**(): `boolean`
|
|
8493
8493
|
|
|
8494
|
-
Defined in: [clickgo.ts:
|
|
8494
|
+
Defined in: [clickgo.ts:180](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L180)
|
|
8495
8495
|
|
|
8496
8496
|
判断当前是否是 debug 模式
|
|
8497
8497
|
|
|
@@ -8505,7 +8505,7 @@ Defined in: [clickgo.ts:181](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8505
8505
|
|
|
8506
8506
|
> `abstract` **main**(): `void` \| `Promise`\<`void`\>
|
|
8507
8507
|
|
|
8508
|
-
Defined in: [clickgo.ts:
|
|
8508
|
+
Defined in: [clickgo.ts:193](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L193)
|
|
8509
8509
|
|
|
8510
8510
|
入口方法
|
|
8511
8511
|
|
|
@@ -8519,7 +8519,7 @@ Defined in: [clickgo.ts:194](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8519
8519
|
|
|
8520
8520
|
> **onConfigChanged**\<`T`, `TK`\>(`n`, `v`): `void` \| `Promise`\<`void`\>
|
|
8521
8521
|
|
|
8522
|
-
Defined in: [clickgo.ts:
|
|
8522
|
+
Defined in: [clickgo.ts:208](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L208)
|
|
8523
8523
|
|
|
8524
8524
|
系统配置变更事件
|
|
8525
8525
|
|
|
@@ -8553,7 +8553,7 @@ Defined in: [clickgo.ts:209](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8553
8553
|
|
|
8554
8554
|
> **onError**(`taskId`, `formId`, `error`, `info`): `void` \| `Promise`\<`void`\>
|
|
8555
8555
|
|
|
8556
|
-
Defined in: [clickgo.ts:
|
|
8556
|
+
Defined in: [clickgo.ts:196](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L196)
|
|
8557
8557
|
|
|
8558
8558
|
全局错误事件
|
|
8559
8559
|
|
|
@@ -8585,7 +8585,7 @@ Defined in: [clickgo.ts:197](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8585
8585
|
|
|
8586
8586
|
> **onFormBlurred**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
8587
8587
|
|
|
8588
|
-
Defined in: [clickgo.ts:
|
|
8588
|
+
Defined in: [clickgo.ts:264](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L264)
|
|
8589
8589
|
|
|
8590
8590
|
窗体丢失焦点事件
|
|
8591
8591
|
|
|
@@ -8609,7 +8609,7 @@ Defined in: [clickgo.ts:265](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8609
8609
|
|
|
8610
8610
|
> **onFormCreated**(`taskId`, `formId`, `title`, `icon`, `showInSystemTask`): `void` \| `Promise`\<`void`\>
|
|
8611
8611
|
|
|
8612
|
-
Defined in: [clickgo.ts:
|
|
8612
|
+
Defined in: [clickgo.ts:214](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L214)
|
|
8613
8613
|
|
|
8614
8614
|
窗体创建事件
|
|
8615
8615
|
|
|
@@ -8645,7 +8645,7 @@ Defined in: [clickgo.ts:215](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8645
8645
|
|
|
8646
8646
|
> **onFormFlash**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
8647
8647
|
|
|
8648
|
-
Defined in: [clickgo.ts:
|
|
8648
|
+
Defined in: [clickgo.ts:270](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L270)
|
|
8649
8649
|
|
|
8650
8650
|
窗体闪烁事件
|
|
8651
8651
|
|
|
@@ -8669,7 +8669,7 @@ Defined in: [clickgo.ts:271](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8669
8669
|
|
|
8670
8670
|
> **onFormFocused**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
8671
8671
|
|
|
8672
|
-
Defined in: [clickgo.ts:
|
|
8672
|
+
Defined in: [clickgo.ts:258](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L258)
|
|
8673
8673
|
|
|
8674
8674
|
窗体获得焦点事件
|
|
8675
8675
|
|
|
@@ -8693,7 +8693,7 @@ Defined in: [clickgo.ts:259](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8693
8693
|
|
|
8694
8694
|
> **onFormHashChange**(`taskId`, `formId`, `value`, `data`): `void` \| `Promise`\<`void`\>
|
|
8695
8695
|
|
|
8696
|
-
Defined in: [clickgo.ts:
|
|
8696
|
+
Defined in: [clickgo.ts:282](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L282)
|
|
8697
8697
|
|
|
8698
8698
|
窗体的 formHash 改变事件
|
|
8699
8699
|
|
|
@@ -8725,7 +8725,7 @@ Defined in: [clickgo.ts:283](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8725
8725
|
|
|
8726
8726
|
> **onFormIconChanged**(`taskId`, `formId`, `icon`): `void` \| `Promise`\<`void`\>
|
|
8727
8727
|
|
|
8728
|
-
Defined in: [clickgo.ts:
|
|
8728
|
+
Defined in: [clickgo.ts:234](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L234)
|
|
8729
8729
|
|
|
8730
8730
|
窗体图标改变事件
|
|
8731
8731
|
|
|
@@ -8753,7 +8753,7 @@ Defined in: [clickgo.ts:235](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8753
8753
|
|
|
8754
8754
|
> **onFormRemoved**(`taskId`, `formId`, `title`, `icon`): `void` \| `Promise`\<`void`\>
|
|
8755
8755
|
|
|
8756
|
-
Defined in: [clickgo.ts:
|
|
8756
|
+
Defined in: [clickgo.ts:222](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L222)
|
|
8757
8757
|
|
|
8758
8758
|
窗体销毁事件
|
|
8759
8759
|
|
|
@@ -8785,7 +8785,7 @@ Defined in: [clickgo.ts:223](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8785
8785
|
|
|
8786
8786
|
> **onFormShowChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
8787
8787
|
|
|
8788
|
-
Defined in: [clickgo.ts:
|
|
8788
|
+
Defined in: [clickgo.ts:252](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L252)
|
|
8789
8789
|
|
|
8790
8790
|
窗体显示状态改变事件
|
|
8791
8791
|
|
|
@@ -8813,7 +8813,7 @@ Defined in: [clickgo.ts:253](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8813
8813
|
|
|
8814
8814
|
> **onFormShowInSystemTaskChange**(`taskId`, `formId`, `value`): `void` \| `Promise`\<`void`\>
|
|
8815
8815
|
|
|
8816
|
-
Defined in: [clickgo.ts:
|
|
8816
|
+
Defined in: [clickgo.ts:276](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L276)
|
|
8817
8817
|
|
|
8818
8818
|
窗体是否显示在任务栏属性改变事件
|
|
8819
8819
|
|
|
@@ -8841,7 +8841,7 @@ Defined in: [clickgo.ts:277](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8841
8841
|
|
|
8842
8842
|
> **onFormStateMaxChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
8843
8843
|
|
|
8844
|
-
Defined in: [clickgo.ts:
|
|
8844
|
+
Defined in: [clickgo.ts:246](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L246)
|
|
8845
8845
|
|
|
8846
8846
|
窗体最大化状态改变事件
|
|
8847
8847
|
|
|
@@ -8869,7 +8869,7 @@ Defined in: [clickgo.ts:247](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8869
8869
|
|
|
8870
8870
|
> **onFormStateMinChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
8871
8871
|
|
|
8872
|
-
Defined in: [clickgo.ts:
|
|
8872
|
+
Defined in: [clickgo.ts:240](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L240)
|
|
8873
8873
|
|
|
8874
8874
|
窗体最小化状态改变事件
|
|
8875
8875
|
|
|
@@ -8897,7 +8897,7 @@ Defined in: [clickgo.ts:241](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8897
8897
|
|
|
8898
8898
|
> **onFormTitleChanged**(`taskId`, `formId`, `title`): `void` \| `Promise`\<`void`\>
|
|
8899
8899
|
|
|
8900
|
-
Defined in: [clickgo.ts:
|
|
8900
|
+
Defined in: [clickgo.ts:228](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L228)
|
|
8901
8901
|
|
|
8902
8902
|
窗体标题改变事件
|
|
8903
8903
|
|
|
@@ -8925,7 +8925,7 @@ Defined in: [clickgo.ts:229](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8925
8925
|
|
|
8926
8926
|
> **onHashChanged**(`hash`): `void` \| `Promise`\<`void`\>
|
|
8927
8927
|
|
|
8928
|
-
Defined in: [clickgo.ts:
|
|
8928
|
+
Defined in: [clickgo.ts:308](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L308)
|
|
8929
8929
|
|
|
8930
8930
|
location hash 改变事件
|
|
8931
8931
|
|
|
@@ -8945,7 +8945,7 @@ location hash 改变事件
|
|
|
8945
8945
|
|
|
8946
8946
|
> **onKeydown**(`e`): `void` \| `Promise`\<`void`\>
|
|
8947
8947
|
|
|
8948
|
-
Defined in: [clickgo.ts:
|
|
8948
|
+
Defined in: [clickgo.ts:314](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L314)
|
|
8949
8949
|
|
|
8950
8950
|
键盘按下事件
|
|
8951
8951
|
|
|
@@ -8965,7 +8965,7 @@ Defined in: [clickgo.ts:315](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8965
8965
|
|
|
8966
8966
|
> **onKeyup**(`e`): `void` \| `Promise`\<`void`\>
|
|
8967
8967
|
|
|
8968
|
-
Defined in: [clickgo.ts:
|
|
8968
|
+
Defined in: [clickgo.ts:320](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L320)
|
|
8969
8969
|
|
|
8970
8970
|
键盘弹起事件
|
|
8971
8971
|
|
|
@@ -8985,7 +8985,7 @@ Defined in: [clickgo.ts:321](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
8985
8985
|
|
|
8986
8986
|
> **onLauncherFolderNameChanged**(`id`, `name`): `void` \| `Promise`\<`void`\>
|
|
8987
8987
|
|
|
8988
|
-
Defined in: [clickgo.ts:
|
|
8988
|
+
Defined in: [clickgo.ts:302](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L302)
|
|
8989
8989
|
|
|
8990
8990
|
launcher 文件夹名称修改事件
|
|
8991
8991
|
|
|
@@ -9009,7 +9009,7 @@ launcher 文件夹名称修改事件
|
|
|
9009
9009
|
|
|
9010
9010
|
> **onRuntimeFileLoad**(`url`): `void` \| `Promise`\<`void`\>
|
|
9011
9011
|
|
|
9012
|
-
Defined in: [clickgo.ts:
|
|
9012
|
+
Defined in: [clickgo.ts:326](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L326)
|
|
9013
9013
|
|
|
9014
9014
|
环境文件准备加载时的事件
|
|
9015
9015
|
|
|
@@ -9029,7 +9029,7 @@ Defined in: [clickgo.ts:327](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
9029
9029
|
|
|
9030
9030
|
> **onRuntimeFileLoaded**(`url`, `state`): `void` \| `Promise`\<`void`\>
|
|
9031
9031
|
|
|
9032
|
-
Defined in: [clickgo.ts:
|
|
9032
|
+
Defined in: [clickgo.ts:332](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L332)
|
|
9033
9033
|
|
|
9034
9034
|
环境文件加载完成的事件
|
|
9035
9035
|
|
|
@@ -9053,7 +9053,7 @@ Defined in: [clickgo.ts:333](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
9053
9053
|
|
|
9054
9054
|
> **onScreenResize**(): `void` \| `Promise`\<`void`\>
|
|
9055
9055
|
|
|
9056
|
-
Defined in: [clickgo.ts:
|
|
9056
|
+
Defined in: [clickgo.ts:202](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L202)
|
|
9057
9057
|
|
|
9058
9058
|
屏幕大小改变事件
|
|
9059
9059
|
|
|
@@ -9067,7 +9067,7 @@ Defined in: [clickgo.ts:203](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
9067
9067
|
|
|
9068
9068
|
> **onTaskEnded**(`taskId`): `void` \| `Promise`\<`void`\>
|
|
9069
9069
|
|
|
9070
|
-
Defined in: [clickgo.ts:
|
|
9070
|
+
Defined in: [clickgo.ts:296](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L296)
|
|
9071
9071
|
|
|
9072
9072
|
任务结束事件
|
|
9073
9073
|
|
|
@@ -9087,7 +9087,7 @@ Defined in: [clickgo.ts:297](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
9087
9087
|
|
|
9088
9088
|
> **onTaskStarted**(`taskId`): `void` \| `Promise`\<`void`\>
|
|
9089
9089
|
|
|
9090
|
-
Defined in: [clickgo.ts:
|
|
9090
|
+
Defined in: [clickgo.ts:290](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L290)
|
|
9091
9091
|
|
|
9092
9092
|
任务开始事件
|
|
9093
9093
|
|
|
@@ -9107,7 +9107,7 @@ Defined in: [clickgo.ts:291](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
9107
9107
|
|
|
9108
9108
|
> **setSysId**(`sysId`): `void`
|
|
9109
9109
|
|
|
9110
|
-
Defined in: [clickgo.ts:
|
|
9110
|
+
Defined in: [clickgo.ts:172](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L172)
|
|
9111
9111
|
|
|
9112
9112
|
#### Parameters
|
|
9113
9113
|
|
|
@@ -9132,7 +9132,7 @@ clickgo/functions/getCdn.md
|
|
|
9132
9132
|
|
|
9133
9133
|
> **getCdn**(): `string`
|
|
9134
9134
|
|
|
9135
|
-
Defined in: [clickgo.ts:
|
|
9135
|
+
Defined in: [clickgo.ts:102](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L102)
|
|
9136
9136
|
|
|
9137
9137
|
获取当前 cdn 前缀
|
|
9138
9138
|
|
|
@@ -9153,7 +9153,7 @@ clickgo/functions/getDevice.md
|
|
|
9153
9153
|
|
|
9154
9154
|
> **getDevice**(): `object`
|
|
9155
9155
|
|
|
9156
|
-
Defined in: [clickgo.ts:
|
|
9156
|
+
Defined in: [clickgo.ts:128](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L128)
|
|
9157
9157
|
|
|
9158
9158
|
获取当前设备信息(支持 native 和 web)
|
|
9159
9159
|
|
|
@@ -9182,7 +9182,7 @@ clickgo/functions/getDirname.md
|
|
|
9182
9182
|
|
|
9183
9183
|
> **getDirname**(): `string`
|
|
9184
9184
|
|
|
9185
|
-
Defined in: [clickgo.ts:
|
|
9185
|
+
Defined in: [clickgo.ts:80](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L80)
|
|
9186
9186
|
|
|
9187
9187
|
获取当前 ClickGo 所在的目录,不以 / 结尾
|
|
9188
9188
|
|
|
@@ -9203,7 +9203,7 @@ clickgo/functions/getPlatform.md
|
|
|
9203
9203
|
|
|
9204
9204
|
> **getPlatform**(): `Platform` \| `"web"`
|
|
9205
9205
|
|
|
9206
|
-
Defined in: [clickgo.ts:
|
|
9206
|
+
Defined in: [clickgo.ts:115](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L115)
|
|
9207
9207
|
|
|
9208
9208
|
获取当前平台(web 则只返回 web)
|
|
9209
9209
|
|
|
@@ -9224,7 +9224,7 @@ clickgo/functions/getVersion.md
|
|
|
9224
9224
|
|
|
9225
9225
|
> **getVersion**(): `string`
|
|
9226
9226
|
|
|
9227
|
-
Defined in: [clickgo.ts:
|
|
9227
|
+
Defined in: [clickgo.ts:68](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L68)
|
|
9228
9228
|
|
|
9229
9229
|
获取当前版本
|
|
9230
9230
|
|
|
@@ -9245,7 +9245,7 @@ clickgo/functions/hasFrame.md
|
|
|
9245
9245
|
|
|
9246
9246
|
> **hasFrame**(): `boolean`
|
|
9247
9247
|
|
|
9248
|
-
Defined in: [clickgo.ts:
|
|
9248
|
+
Defined in: [clickgo.ts:159](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L159)
|
|
9249
9249
|
|
|
9250
9250
|
是否含有窗体外边框
|
|
9251
9251
|
|
|
@@ -9266,7 +9266,7 @@ clickgo/functions/isNative.md
|
|
|
9266
9266
|
|
|
9267
9267
|
> **isNative**(): `boolean`
|
|
9268
9268
|
|
|
9269
|
-
Defined in: [clickgo.ts:
|
|
9269
|
+
Defined in: [clickgo.ts:74](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L74)
|
|
9270
9270
|
|
|
9271
9271
|
是否是 native 环境
|
|
9272
9272
|
|
|
@@ -9287,7 +9287,7 @@ clickgo/functions/launcher.md
|
|
|
9287
9287
|
|
|
9288
9288
|
> **launcher**(`boot`): `Promise`\<`void`\>
|
|
9289
9289
|
|
|
9290
|
-
Defined in: [clickgo.ts:
|
|
9290
|
+
Defined in: [clickgo.ts:343](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L343)
|
|
9291
9291
|
|
|
9292
9292
|
启动 ClickGo
|
|
9293
9293
|
|
|
@@ -9413,7 +9413,7 @@ clickgo/variables/global.md
|
|
|
9413
9413
|
|
|
9414
9414
|
> `const` **global**: `any`
|
|
9415
9415
|
|
|
9416
|
-
Defined in: [clickgo.ts:
|
|
9416
|
+
Defined in: [clickgo.ts:97](https://github.com/maiyun/clickgo/blob/master/dist/clickgo.ts#L97)
|
|
9417
9417
|
|
|
9418
9418
|
用户定义的全局对象
|
|
9419
9419
|
|
|
@@ -28648,7 +28648,7 @@ lib/tool/enumerations/ESTATE.md
|
|
|
28648
28648
|
|
|
28649
28649
|
# Enumeration: ESTATE
|
|
28650
28650
|
|
|
28651
|
-
Defined in: [lib/tool.ts:
|
|
28651
|
+
Defined in: [lib/tool.ts:1773](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1773)
|
|
28652
28652
|
|
|
28653
28653
|
状态机状态
|
|
28654
28654
|
|
|
@@ -28658,7 +28658,7 @@ Defined in: [lib/tool.ts:1771](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28658
28658
|
|
|
28659
28659
|
> **COMMENT**: `4`
|
|
28660
28660
|
|
|
28661
|
-
Defined in: [lib/tool.ts:
|
|
28661
|
+
Defined in: [lib/tool.ts:1783](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1783)
|
|
28662
28662
|
|
|
28663
28663
|
注释
|
|
28664
28664
|
|
|
@@ -28668,7 +28668,7 @@ Defined in: [lib/tool.ts:1781](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28668
28668
|
|
|
28669
28669
|
> **NORMAL**: `0`
|
|
28670
28670
|
|
|
28671
|
-
Defined in: [lib/tool.ts:
|
|
28671
|
+
Defined in: [lib/tool.ts:1775](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1775)
|
|
28672
28672
|
|
|
28673
28673
|
普通
|
|
28674
28674
|
|
|
@@ -28678,7 +28678,7 @@ Defined in: [lib/tool.ts:1773](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28678
28678
|
|
|
28679
28679
|
> **REG**: `3`
|
|
28680
28680
|
|
|
28681
|
-
Defined in: [lib/tool.ts:
|
|
28681
|
+
Defined in: [lib/tool.ts:1781](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1781)
|
|
28682
28682
|
|
|
28683
28683
|
正则
|
|
28684
28684
|
|
|
@@ -28688,7 +28688,7 @@ Defined in: [lib/tool.ts:1779](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28688
28688
|
|
|
28689
28689
|
> **STRING**: `2`
|
|
28690
28690
|
|
|
28691
|
-
Defined in: [lib/tool.ts:
|
|
28691
|
+
Defined in: [lib/tool.ts:1779](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1779)
|
|
28692
28692
|
|
|
28693
28693
|
字符串
|
|
28694
28694
|
|
|
@@ -28698,7 +28698,7 @@ Defined in: [lib/tool.ts:1777](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28698
28698
|
|
|
28699
28699
|
> **WORD**: `1`
|
|
28700
28700
|
|
|
28701
|
-
Defined in: [lib/tool.ts:
|
|
28701
|
+
Defined in: [lib/tool.ts:1777](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1777)
|
|
28702
28702
|
|
|
28703
28703
|
单词
|
|
28704
28704
|
|
|
@@ -28744,7 +28744,7 @@ lib/tool/functions/blob2DataUrl.md
|
|
|
28744
28744
|
|
|
28745
28745
|
> **blob2DataUrl**(`blob`): `Promise`\<`string`\>
|
|
28746
28746
|
|
|
28747
|
-
Defined in: [lib/tool.ts:
|
|
28747
|
+
Defined in: [lib/tool.ts:1517](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1517)
|
|
28748
28748
|
|
|
28749
28749
|
将 blob 对象转换为 base64 url
|
|
28750
28750
|
|
|
@@ -28773,7 +28773,7 @@ lib/tool/functions/blob2Text.md
|
|
|
28773
28773
|
|
|
28774
28774
|
> **blob2Text**(`blob`): `Promise`\<`string`\>
|
|
28775
28775
|
|
|
28776
|
-
Defined in: [lib/tool.ts:
|
|
28776
|
+
Defined in: [lib/tool.ts:1498](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1498)
|
|
28777
28777
|
|
|
28778
28778
|
将 blob 对象转换为 text
|
|
28779
28779
|
|
|
@@ -28837,7 +28837,7 @@ lib/tool/functions/compar.md
|
|
|
28837
28837
|
|
|
28838
28838
|
> **compar**(`before`, `after`): `object`
|
|
28839
28839
|
|
|
28840
|
-
Defined in: [lib/tool.ts:
|
|
28840
|
+
Defined in: [lib/tool.ts:1545](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1545)
|
|
28841
28841
|
|
|
28842
28842
|
- 对比老值和新值,看看新值中哪些移除了,哪些新增了
|
|
28843
28843
|
|
|
@@ -28949,7 +28949,7 @@ lib/tool/functions/escapeHTML.md
|
|
|
28949
28949
|
|
|
28950
28950
|
> **escapeHTML**(`html`): `string`
|
|
28951
28951
|
|
|
28952
|
-
Defined in: [lib/tool.ts:
|
|
28952
|
+
Defined in: [lib/tool.ts:764](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L764)
|
|
28953
28953
|
|
|
28954
28954
|
转义 HTML
|
|
28955
28955
|
|
|
@@ -28978,7 +28978,7 @@ lib/tool/functions/eventsAttrWrap.md
|
|
|
28978
28978
|
|
|
28979
28979
|
> **eventsAttrWrap**(`layout`): `string`
|
|
28980
28980
|
|
|
28981
|
-
Defined in: [lib/tool.ts:
|
|
28981
|
+
Defined in: [lib/tool.ts:527](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L527)
|
|
28982
28982
|
|
|
28983
28983
|
对 layout 的 events 事件进行包裹
|
|
28984
28984
|
|
|
@@ -29007,7 +29007,7 @@ lib/tool/functions/execCommand.md
|
|
|
29007
29007
|
|
|
29008
29008
|
> **execCommand**(`ac`): `void`
|
|
29009
29009
|
|
|
29010
|
-
Defined in: [lib/tool.ts:
|
|
29010
|
+
Defined in: [lib/tool.ts:1532](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1532)
|
|
29011
29011
|
|
|
29012
29012
|
## Parameters
|
|
29013
29013
|
|
|
@@ -29032,7 +29032,7 @@ lib/tool/functions/fetch.md
|
|
|
29032
29032
|
|
|
29033
29033
|
> **fetch**(`url`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
29034
29034
|
|
|
29035
|
-
Defined in: [lib/tool.ts:
|
|
29035
|
+
Defined in: [lib/tool.ts:1135](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1135)
|
|
29036
29036
|
|
|
29037
29037
|
发起 fetch 请求
|
|
29038
29038
|
|
|
@@ -29069,7 +29069,7 @@ lib/tool/functions/formatColor.md
|
|
|
29069
29069
|
|
|
29070
29070
|
> **formatColor**(`color`): `number`[]
|
|
29071
29071
|
|
|
29072
|
-
Defined in: [lib/tool.ts:
|
|
29072
|
+
Defined in: [lib/tool.ts:790](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L790)
|
|
29073
29073
|
|
|
29074
29074
|
将 rgb 或 hsl 等颜色转换为数字数组
|
|
29075
29075
|
|
|
@@ -29098,7 +29098,7 @@ lib/tool/functions/formatSecond.md
|
|
|
29098
29098
|
|
|
29099
29099
|
> **formatSecond**(`second`): `string`
|
|
29100
29100
|
|
|
29101
|
-
Defined in: [lib/tool.ts:
|
|
29101
|
+
Defined in: [lib/tool.ts:1588](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1588)
|
|
29102
29102
|
|
|
29103
29103
|
将秒数格式化为 0:0:0 的字符串
|
|
29104
29104
|
|
|
@@ -29125,7 +29125,7 @@ lib/tool/functions/formatTime.md
|
|
|
29125
29125
|
|
|
29126
29126
|
> **formatTime**(`ts`, `tz?`): `object`
|
|
29127
29127
|
|
|
29128
|
-
Defined in: [lib/tool.ts:
|
|
29128
|
+
Defined in: [lib/tool.ts:1601](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1601)
|
|
29129
29129
|
|
|
29130
29130
|
将日期对象或毫秒级时间戳转换为字符串
|
|
29131
29131
|
|
|
@@ -29172,7 +29172,7 @@ lib/tool/functions/getArray.md
|
|
|
29172
29172
|
|
|
29173
29173
|
> **getArray**(`param`): `any`[]
|
|
29174
29174
|
|
|
29175
|
-
Defined in: [lib/tool.ts:
|
|
29175
|
+
Defined in: [lib/tool.ts:739](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L739)
|
|
29176
29176
|
|
|
29177
29177
|
根据参数获取最终的数组型,可传入类似 [1,2,3] 或 1,2,3
|
|
29178
29178
|
|
|
@@ -29201,7 +29201,7 @@ lib/tool/functions/getBoolean.md
|
|
|
29201
29201
|
|
|
29202
29202
|
> **getBoolean**(`param`): `boolean`
|
|
29203
29203
|
|
|
29204
|
-
Defined in: [lib/tool.ts:
|
|
29204
|
+
Defined in: [lib/tool.ts:713](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L713)
|
|
29205
29205
|
|
|
29206
29206
|
根据参数获取最终的布尔值
|
|
29207
29207
|
|
|
@@ -29271,7 +29271,7 @@ lib/tool/functions/get.md
|
|
|
29271
29271
|
|
|
29272
29272
|
> **get**(`url`, `init?`, `opt?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
29273
29273
|
|
|
29274
|
-
Defined in: [lib/tool.ts:
|
|
29274
|
+
Defined in: [lib/tool.ts:1161](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1161)
|
|
29275
29275
|
|
|
29276
29276
|
发起 GET 请求
|
|
29277
29277
|
|
|
@@ -29318,7 +29318,7 @@ lib/tool/functions/getMimeByPath.md
|
|
|
29318
29318
|
|
|
29319
29319
|
> **getMimeByPath**(`path`): `object`
|
|
29320
29320
|
|
|
29321
|
-
Defined in: [lib/tool.ts:
|
|
29321
|
+
Defined in: [lib/tool.ts:635](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L635)
|
|
29322
29322
|
|
|
29323
29323
|
根据后缀、文件名或路径获取 mime 类型(简单版,完整版请使用 @litert/mime.js)
|
|
29324
29324
|
|
|
@@ -29355,7 +29355,7 @@ lib/tool/functions/getNumber.md
|
|
|
29355
29355
|
|
|
29356
29356
|
> **getNumber**(`param`): `number`
|
|
29357
29357
|
|
|
29358
|
-
Defined in: [lib/tool.ts:
|
|
29358
|
+
Defined in: [lib/tool.ts:728](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L728)
|
|
29359
29359
|
|
|
29360
29360
|
根据参数获取最终的数字型
|
|
29361
29361
|
|
|
@@ -29384,7 +29384,7 @@ lib/tool/functions/getResponseJson.md
|
|
|
29384
29384
|
|
|
29385
29385
|
> **getResponseJson**(`url`, `init?`): `Promise`\<`any`\>
|
|
29386
29386
|
|
|
29387
|
-
Defined in: [lib/tool.ts:
|
|
29387
|
+
Defined in: [lib/tool.ts:1213](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1213)
|
|
29388
29388
|
|
|
29389
29389
|
发起 GET 请求并解析 JSON 响应
|
|
29390
29390
|
|
|
@@ -29421,7 +29421,7 @@ lib/tool/functions/hex2rgb.md
|
|
|
29421
29421
|
|
|
29422
29422
|
> **hex2rgb**(`hex`): `object`
|
|
29423
29423
|
|
|
29424
|
-
Defined in: [lib/tool.ts:
|
|
29424
|
+
Defined in: [lib/tool.ts:839](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L839)
|
|
29425
29425
|
|
|
29426
29426
|
hex 转换为 rgba,#27ae60ff, 27ae60 #fff
|
|
29427
29427
|
|
|
@@ -29470,7 +29470,7 @@ lib/tool/functions/hsl2rgb.md
|
|
|
29470
29470
|
|
|
29471
29471
|
> **hsl2rgb**(`h`, `s?`, `l?`, `a?`, `decimal?`): `object`
|
|
29472
29472
|
|
|
29473
|
-
Defined in: [lib/tool.ts:
|
|
29473
|
+
Defined in: [lib/tool.ts:983](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L983)
|
|
29474
29474
|
|
|
29475
29475
|
hsl 字符串转 rgb 数组
|
|
29476
29476
|
|
|
@@ -29543,7 +29543,7 @@ lib/tool/functions/isEscapeChar.md
|
|
|
29543
29543
|
|
|
29544
29544
|
> **isEscapeChar**(`code`, `index`): `boolean`
|
|
29545
29545
|
|
|
29546
|
-
Defined in: [lib/tool.ts:
|
|
29546
|
+
Defined in: [lib/tool.ts:1763](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1763)
|
|
29547
29547
|
|
|
29548
29548
|
判断字符是否是转义字符
|
|
29549
29549
|
|
|
@@ -29580,7 +29580,7 @@ lib/tool/functions/isEscaped.md
|
|
|
29580
29580
|
|
|
29581
29581
|
> **isEscaped**(`str`, `pos`): `boolean`
|
|
29582
29582
|
|
|
29583
|
-
Defined in: [lib/tool.ts:
|
|
29583
|
+
Defined in: [lib/tool.ts:1692](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1692)
|
|
29584
29584
|
|
|
29585
29585
|
转义字符检查
|
|
29586
29586
|
检查指定位置的字符是否被转义
|
|
@@ -29618,7 +29618,7 @@ lib/tool/functions/isFalsy.md
|
|
|
29618
29618
|
|
|
29619
29619
|
> **isFalsy**(`val`): `val is TFalsy`
|
|
29620
29620
|
|
|
29621
|
-
Defined in: [lib/tool.ts:
|
|
29621
|
+
Defined in: [lib/tool.ts:2526](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2526)
|
|
29622
29622
|
|
|
29623
29623
|
判断一个值是否是虚假的(为 null/undefined/空字符串/false/0)
|
|
29624
29624
|
|
|
@@ -29647,7 +29647,7 @@ lib/tool/functions/isMs.md
|
|
|
29647
29647
|
|
|
29648
29648
|
> **isMs**(`time`): `boolean`
|
|
29649
29649
|
|
|
29650
|
-
Defined in: [lib/tool.ts:
|
|
29650
|
+
Defined in: [lib/tool.ts:1628](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1628)
|
|
29651
29651
|
|
|
29652
29652
|
是否是毫秒
|
|
29653
29653
|
|
|
@@ -29676,7 +29676,7 @@ lib/tool/functions/isTruthy.md
|
|
|
29676
29676
|
|
|
29677
29677
|
> **isTruthy**(`val`): `val is any`
|
|
29678
29678
|
|
|
29679
|
-
Defined in: [lib/tool.ts:
|
|
29679
|
+
Defined in: [lib/tool.ts:2534](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2534)
|
|
29680
29680
|
|
|
29681
29681
|
判断一个值是否是真实的(不为 null/undefined/空字符串/false/0)
|
|
29682
29682
|
|
|
@@ -29740,7 +29740,7 @@ lib/tool/functions/layoutClassPrepend.md
|
|
|
29740
29740
|
|
|
29741
29741
|
> **layoutClassPrepend**(`layout`, `preps`): `string`
|
|
29742
29742
|
|
|
29743
|
-
Defined in: [lib/tool.ts:
|
|
29743
|
+
Defined in: [lib/tool.ts:471](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L471)
|
|
29744
29744
|
|
|
29745
29745
|
给 class 增加 scope 的随机前缀,给 id 新增前缀
|
|
29746
29746
|
|
|
@@ -29775,7 +29775,7 @@ lib/tool/functions/layoutInsertAttr.md
|
|
|
29775
29775
|
|
|
29776
29776
|
> **layoutInsertAttr**(`layout`, `insert`, `opt?`): `string`
|
|
29777
29777
|
|
|
29778
|
-
Defined in: [lib/tool.ts:
|
|
29778
|
+
Defined in: [lib/tool.ts:412](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L412)
|
|
29779
29779
|
|
|
29780
29780
|
给标签追加 attr,即使 attr 存在也会追加上一个新的(非真实 DOM 操作,仅仅是对字符串进行处理)
|
|
29781
29781
|
|
|
@@ -29822,7 +29822,7 @@ lib/tool/functions/loadLink.md
|
|
|
29822
29822
|
|
|
29823
29823
|
> **loadLink**(`url`, `pos?`): `Promise`\<`boolean`\>
|
|
29824
29824
|
|
|
29825
|
-
Defined in: [lib/tool.ts:
|
|
29825
|
+
Defined in: [lib/tool.ts:2477](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2477)
|
|
29826
29826
|
|
|
29827
29827
|
加载 css 文件
|
|
29828
29828
|
|
|
@@ -29857,7 +29857,7 @@ lib/tool/functions/loadLinks.md
|
|
|
29857
29857
|
|
|
29858
29858
|
> **loadLinks**(`urls`, `opt?`): `Promise`\<`void`\>
|
|
29859
29859
|
|
|
29860
|
-
Defined in: [lib/tool.ts:
|
|
29860
|
+
Defined in: [lib/tool.ts:2503](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2503)
|
|
29861
29861
|
|
|
29862
29862
|
批量加载 css 文件
|
|
29863
29863
|
|
|
@@ -29894,7 +29894,7 @@ lib/tool/functions/loadScript.md
|
|
|
29894
29894
|
|
|
29895
29895
|
> **loadScript**(`url`): `Promise`\<`boolean`\>
|
|
29896
29896
|
|
|
29897
|
-
Defined in: [lib/tool.ts:
|
|
29897
|
+
Defined in: [lib/tool.ts:2444](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2444)
|
|
29898
29898
|
|
|
29899
29899
|
加载脚本
|
|
29900
29900
|
|
|
@@ -29923,7 +29923,7 @@ lib/tool/functions/loadScripts.md
|
|
|
29923
29923
|
|
|
29924
29924
|
> **loadScripts**(`urls`, `opt?`): `Promise`\<`void`\>
|
|
29925
29925
|
|
|
29926
|
-
Defined in: [lib/tool.ts:
|
|
29926
|
+
Defined in: [lib/tool.ts:2463](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2463)
|
|
29927
29927
|
|
|
29928
29928
|
批量加载 js 文件
|
|
29929
29929
|
|
|
@@ -29960,7 +29960,7 @@ lib/tool/functions/loadStyle.md
|
|
|
29960
29960
|
|
|
29961
29961
|
> **loadStyle**(`style`): `void`
|
|
29962
29962
|
|
|
29963
|
-
Defined in: [lib/tool.ts:
|
|
29963
|
+
Defined in: [lib/tool.ts:2516](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2516)
|
|
29964
29964
|
|
|
29965
29965
|
加载 css 字符串
|
|
29966
29966
|
|
|
@@ -29989,7 +29989,7 @@ lib/tool/functions/logicalOr.md
|
|
|
29989
29989
|
|
|
29990
29990
|
> **logicalOr**\<`T`, `T2`\>(`v1`, `v2`): \[`T`\] *extends* \[[`TFalsy`](../type-aliases/TFalsy.md)\] ? `T2` : `T`
|
|
29991
29991
|
|
|
29992
|
-
Defined in: [lib/tool.ts:
|
|
29992
|
+
Defined in: [lib/tool.ts:2543](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2543)
|
|
29993
29993
|
|
|
29994
29994
|
类似 || 运算符的效果
|
|
29995
29995
|
|
|
@@ -30090,7 +30090,7 @@ lib/tool/functions/parseArrayString.md
|
|
|
30090
30090
|
|
|
30091
30091
|
> **parseArrayString**(`arrayStr`): `string`[]
|
|
30092
30092
|
|
|
30093
|
-
Defined in: [lib/tool.ts:
|
|
30093
|
+
Defined in: [lib/tool.ts:1707](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1707)
|
|
30094
30094
|
|
|
30095
30095
|
数组字符串解析器
|
|
30096
30096
|
解析数组字符串为各元素组成的字符串数组
|
|
@@ -30122,7 +30122,7 @@ lib/tool/functions/parseUrl.md
|
|
|
30122
30122
|
|
|
30123
30123
|
> **parseUrl**(`url`): [`IUrl`](../interfaces/IUrl.md)
|
|
30124
30124
|
|
|
30125
|
-
Defined in: [lib/tool.ts:
|
|
30125
|
+
Defined in: [lib/tool.ts:1339](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1339)
|
|
30126
30126
|
|
|
30127
30127
|
传输 url 并解析为 IUrl 对象
|
|
30128
30128
|
|
|
@@ -30151,7 +30151,7 @@ lib/tool/functions/post.md
|
|
|
30151
30151
|
|
|
30152
30152
|
> **post**(`url`, `data`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
30153
30153
|
|
|
30154
|
-
Defined in: [lib/tool.ts:
|
|
30154
|
+
Defined in: [lib/tool.ts:1188](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1188)
|
|
30155
30155
|
|
|
30156
30156
|
发起 POST 请求(除 FormData 外都会转换为 JSON 提交)
|
|
30157
30157
|
|
|
@@ -30194,7 +30194,7 @@ lib/tool/functions/postResponseEventStream.md
|
|
|
30194
30194
|
|
|
30195
30195
|
> **postResponseEventStream**(`url`, `data`, `opts?`): `AbortController`
|
|
30196
30196
|
|
|
30197
|
-
Defined in: [lib/tool.ts:
|
|
30197
|
+
Defined in: [lib/tool.ts:1236](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1236)
|
|
30198
30198
|
|
|
30199
30199
|
发起 JSON 请求并获得文本 SSE 响应
|
|
30200
30200
|
|
|
@@ -30269,7 +30269,7 @@ lib/tool/functions/postResponseJson.md
|
|
|
30269
30269
|
|
|
30270
30270
|
> **postResponseJson**(`url`, `data`, `init?`): `Promise`\<`any`\>
|
|
30271
30271
|
|
|
30272
|
-
Defined in: [lib/tool.ts:
|
|
30272
|
+
Defined in: [lib/tool.ts:1317](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1317)
|
|
30273
30273
|
|
|
30274
30274
|
发起 POST 请求并解析 JSON 响应
|
|
30275
30275
|
|
|
@@ -30341,7 +30341,7 @@ lib/tool/functions/queryParse.md
|
|
|
30341
30341
|
|
|
30342
30342
|
> **queryParse**(`query`): `Record`\<`string`, `string` \| `string`[]\>
|
|
30343
30343
|
|
|
30344
|
-
Defined in: [lib/tool.ts:
|
|
30344
|
+
Defined in: [lib/tool.ts:1658](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1658)
|
|
30345
30345
|
|
|
30346
30346
|
将 query string 转换为对象
|
|
30347
30347
|
|
|
@@ -30370,7 +30370,7 @@ lib/tool/functions/queryStringify.md
|
|
|
30370
30370
|
|
|
30371
30371
|
> **queryStringify**(`query`, `encode?`): `string`
|
|
30372
30372
|
|
|
30373
|
-
Defined in: [lib/tool.ts:
|
|
30373
|
+
Defined in: [lib/tool.ts:1637](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1637)
|
|
30374
30374
|
|
|
30375
30375
|
将对象转换为 query string
|
|
30376
30376
|
|
|
@@ -30405,7 +30405,7 @@ lib/tool/functions/rand.md
|
|
|
30405
30405
|
|
|
30406
30406
|
> **rand**(`min`, `max`, `prec?`): `number`
|
|
30407
30407
|
|
|
30408
|
-
Defined in: [lib/tool.ts:
|
|
30408
|
+
Defined in: [lib/tool.ts:661](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L661)
|
|
30409
30409
|
|
|
30410
30410
|
生成范围内的随机数
|
|
30411
30411
|
|
|
@@ -30446,7 +30446,7 @@ lib/tool/functions/random.md
|
|
|
30446
30446
|
|
|
30447
30447
|
> **random**(`length?`, `source?`, `block?`): `string`
|
|
30448
30448
|
|
|
30449
|
-
Defined in: [lib/tool.ts:
|
|
30449
|
+
Defined in: [lib/tool.ts:690](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L690)
|
|
30450
30450
|
|
|
30451
30451
|
生成随机字符串
|
|
30452
30452
|
|
|
@@ -30489,7 +30489,7 @@ lib/tool/functions/request.md
|
|
|
30489
30489
|
|
|
30490
30490
|
> **request**(`url`, `opt`): `Promise`\<`any`\>
|
|
30491
30491
|
|
|
30492
|
-
Defined in: [lib/tool.ts:
|
|
30492
|
+
Defined in: [lib/tool.ts:1048](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1048)
|
|
30493
30493
|
|
|
30494
30494
|
发起一个网络请求,若是返回值是 JSON 则自动解析,否则直接返回字符串
|
|
30495
30495
|
|
|
@@ -30524,7 +30524,7 @@ lib/tool/functions/rgb2hex.md
|
|
|
30524
30524
|
|
|
30525
30525
|
> **rgb2hex**(`r`, `g?`, `b?`, `a?`): `string`
|
|
30526
30526
|
|
|
30527
|
-
Defined in: [lib/tool.ts:
|
|
30527
|
+
Defined in: [lib/tool.ts:807](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L807)
|
|
30528
30528
|
|
|
30529
30529
|
将 r, g, b 转换为 hex 字符串,不含 #
|
|
30530
30530
|
|
|
@@ -30569,7 +30569,7 @@ lib/tool/functions/rgb2hsl.md
|
|
|
30569
30569
|
|
|
30570
30570
|
> **rgb2hsl**(`r`, `g?`, `b?`, `a?`, `decimal?`): `object`
|
|
30571
30571
|
|
|
30572
|
-
Defined in: [lib/tool.ts:
|
|
30572
|
+
Defined in: [lib/tool.ts:880](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L880)
|
|
30573
30573
|
|
|
30574
30574
|
rgb 字符串转 hsl 数组
|
|
30575
30575
|
|
|
@@ -30766,7 +30766,7 @@ lib/tool/functions/stateMachine.md
|
|
|
30766
30766
|
|
|
30767
30767
|
> **stateMachine**(`code`, `start`, `process`): `void`
|
|
30768
30768
|
|
|
30769
|
-
Defined in: [lib/tool.ts:
|
|
30769
|
+
Defined in: [lib/tool.ts:1793](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1793)
|
|
30770
30770
|
|
|
30771
30771
|
状态机
|
|
30772
30772
|
|
|
@@ -30809,7 +30809,7 @@ lib/tool/functions/stylePrepend.md
|
|
|
30809
30809
|
|
|
30810
30810
|
> **stylePrepend**(`style`, `prep?`): `object`
|
|
30811
30811
|
|
|
30812
|
-
Defined in: [lib/tool.ts:
|
|
30812
|
+
Defined in: [lib/tool.ts:558](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L558)
|
|
30813
30813
|
|
|
30814
30814
|
给 class 前部增加唯一标识符
|
|
30815
30815
|
|
|
@@ -30893,7 +30893,7 @@ lib/tool/functions/teleportGlue.md
|
|
|
30893
30893
|
|
|
30894
30894
|
> **teleportGlue**(`layout`, `formId`): `string`
|
|
30895
30895
|
|
|
30896
|
-
Defined in: [lib/tool.ts:
|
|
30896
|
+
Defined in: [lib/tool.ts:543](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L543)
|
|
30897
30897
|
|
|
30898
30898
|
对 layout 的 teleport 做转义处理为 vue 识别的内容
|
|
30899
30899
|
|
|
@@ -30928,7 +30928,7 @@ lib/tool/functions/unescapeHTML.md
|
|
|
30928
30928
|
|
|
30929
30929
|
> **unescapeHTML**(`html`): `string`
|
|
30930
30930
|
|
|
30931
|
-
Defined in: [lib/tool.ts:
|
|
30931
|
+
Defined in: [lib/tool.ts:776](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L776)
|
|
30932
30932
|
|
|
30933
30933
|
还原转义后的 HTML
|
|
30934
30934
|
|
|
@@ -30957,7 +30957,7 @@ lib/tool/functions/urlAtom.md
|
|
|
30957
30957
|
|
|
30958
30958
|
> **urlAtom**(`url`): `string`
|
|
30959
30959
|
|
|
30960
|
-
Defined in: [lib/tool.ts:
|
|
30960
|
+
Defined in: [lib/tool.ts:1481](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1481)
|
|
30961
30961
|
|
|
30962
30962
|
处理 URL 中的 .. / . 等
|
|
30963
30963
|
|
|
@@ -30984,7 +30984,7 @@ lib/tool/functions/urlResolve.md
|
|
|
30984
30984
|
|
|
30985
30985
|
> **urlResolve**(`from`, `to`): `string`
|
|
30986
30986
|
|
|
30987
|
-
Defined in: [lib/tool.ts:
|
|
30987
|
+
Defined in: [lib/tool.ts:1422](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L1422)
|
|
30988
30988
|
|
|
30989
30989
|
将相对路径根据基准路径进行转换
|
|
30990
30990
|
|
|
@@ -31191,7 +31191,7 @@ lib/tool/interfaces/IRequestOptions.md
|
|
|
31191
31191
|
|
|
31192
31192
|
# Interface: IRequestOptions
|
|
31193
31193
|
|
|
31194
|
-
Defined in: [lib/tool.ts:
|
|
31194
|
+
Defined in: [lib/tool.ts:2621](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2621)
|
|
31195
31195
|
|
|
31196
31196
|
请求选项
|
|
31197
31197
|
|
|
@@ -31201,7 +31201,7 @@ Defined in: [lib/tool.ts:2619](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31201
31201
|
|
|
31202
31202
|
> `optional` **body?**: `FormData`
|
|
31203
31203
|
|
|
31204
|
-
Defined in: [lib/tool.ts:
|
|
31204
|
+
Defined in: [lib/tool.ts:2624](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2624)
|
|
31205
31205
|
|
|
31206
31206
|
***
|
|
31207
31207
|
|
|
@@ -31209,7 +31209,7 @@ Defined in: [lib/tool.ts:2622](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31209
31209
|
|
|
31210
31210
|
> `optional` **credentials?**: `boolean`
|
|
31211
31211
|
|
|
31212
|
-
Defined in: [lib/tool.ts:
|
|
31212
|
+
Defined in: [lib/tool.ts:2622](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2622)
|
|
31213
31213
|
|
|
31214
31214
|
***
|
|
31215
31215
|
|
|
@@ -31217,7 +31217,7 @@ Defined in: [lib/tool.ts:2620](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31217
31217
|
|
|
31218
31218
|
> `optional` **end?**: () => `void` \| `Promise`\<`void`\>
|
|
31219
31219
|
|
|
31220
|
-
Defined in: [lib/tool.ts:
|
|
31220
|
+
Defined in: [lib/tool.ts:2633](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2633)
|
|
31221
31221
|
|
|
31222
31222
|
#### Returns
|
|
31223
31223
|
|
|
@@ -31229,7 +31229,7 @@ Defined in: [lib/tool.ts:2631](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31229
31229
|
|
|
31230
31230
|
> `optional` **error?**: () => `void` \| `Promise`\<`void`\>
|
|
31231
31231
|
|
|
31232
|
-
Defined in: [lib/tool.ts:
|
|
31232
|
+
Defined in: [lib/tool.ts:2636](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2636)
|
|
31233
31233
|
|
|
31234
31234
|
#### Returns
|
|
31235
31235
|
|
|
@@ -31241,7 +31241,7 @@ Defined in: [lib/tool.ts:2634](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31241
31241
|
|
|
31242
31242
|
> `optional` **headers?**: `HeadersInit`
|
|
31243
31243
|
|
|
31244
|
-
Defined in: [lib/tool.ts:
|
|
31244
|
+
Defined in: [lib/tool.ts:2627](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2627)
|
|
31245
31245
|
|
|
31246
31246
|
***
|
|
31247
31247
|
|
|
@@ -31249,7 +31249,7 @@ Defined in: [lib/tool.ts:2625](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31249
31249
|
|
|
31250
31250
|
> `optional` **load?**: (`res`) => `void` \| `Promise`\<`void`\>
|
|
31251
31251
|
|
|
31252
|
-
Defined in: [lib/tool.ts:
|
|
31252
|
+
Defined in: [lib/tool.ts:2635](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2635)
|
|
31253
31253
|
|
|
31254
31254
|
#### Parameters
|
|
31255
31255
|
|
|
@@ -31267,7 +31267,7 @@ Defined in: [lib/tool.ts:2633](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31267
31267
|
|
|
31268
31268
|
> `optional` **method?**: `"GET"` \| `"POST"`
|
|
31269
31269
|
|
|
31270
|
-
Defined in: [lib/tool.ts:
|
|
31270
|
+
Defined in: [lib/tool.ts:2623](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2623)
|
|
31271
31271
|
|
|
31272
31272
|
***
|
|
31273
31273
|
|
|
@@ -31275,7 +31275,7 @@ Defined in: [lib/tool.ts:2621](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31275
31275
|
|
|
31276
31276
|
> `optional` **progress?**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
|
|
31277
31277
|
|
|
31278
|
-
Defined in: [lib/tool.ts:
|
|
31278
|
+
Defined in: [lib/tool.ts:2634](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2634)
|
|
31279
31279
|
|
|
31280
31280
|
#### Parameters
|
|
31281
31281
|
|
|
@@ -31297,7 +31297,7 @@ Defined in: [lib/tool.ts:2632](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31297
31297
|
|
|
31298
31298
|
> `optional` **responseType?**: `XMLHttpRequestResponseType`
|
|
31299
31299
|
|
|
31300
|
-
Defined in: [lib/tool.ts:
|
|
31300
|
+
Defined in: [lib/tool.ts:2626](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2626)
|
|
31301
31301
|
|
|
31302
31302
|
***
|
|
31303
31303
|
|
|
@@ -31305,7 +31305,7 @@ Defined in: [lib/tool.ts:2624](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31305
31305
|
|
|
31306
31306
|
> `optional` **start?**: (`total`) => `void` \| `Promise`\<`void`\>
|
|
31307
31307
|
|
|
31308
|
-
Defined in: [lib/tool.ts:
|
|
31308
|
+
Defined in: [lib/tool.ts:2632](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2632)
|
|
31309
31309
|
|
|
31310
31310
|
#### Parameters
|
|
31311
31311
|
|
|
@@ -31323,7 +31323,7 @@ Defined in: [lib/tool.ts:2630](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31323
31323
|
|
|
31324
31324
|
> `optional` **timeout?**: `number`
|
|
31325
31325
|
|
|
31326
|
-
Defined in: [lib/tool.ts:
|
|
31326
|
+
Defined in: [lib/tool.ts:2625](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2625)
|
|
31327
31327
|
|
|
31328
31328
|
***
|
|
31329
31329
|
|
|
@@ -31331,7 +31331,7 @@ Defined in: [lib/tool.ts:2623](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31331
31331
|
|
|
31332
31332
|
> `optional` **uploadEnd?**: () => `void` \| `Promise`\<`void`\>
|
|
31333
31333
|
|
|
31334
|
-
Defined in: [lib/tool.ts:
|
|
31334
|
+
Defined in: [lib/tool.ts:2631](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2631)
|
|
31335
31335
|
|
|
31336
31336
|
#### Returns
|
|
31337
31337
|
|
|
@@ -31343,7 +31343,7 @@ Defined in: [lib/tool.ts:2629](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31343
31343
|
|
|
31344
31344
|
> `optional` **uploadProgress?**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
|
|
31345
31345
|
|
|
31346
|
-
Defined in: [lib/tool.ts:
|
|
31346
|
+
Defined in: [lib/tool.ts:2630](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2630)
|
|
31347
31347
|
|
|
31348
31348
|
#### Parameters
|
|
31349
31349
|
|
|
@@ -31365,7 +31365,7 @@ Defined in: [lib/tool.ts:2628](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31365
31365
|
|
|
31366
31366
|
> `optional` **uploadStart?**: (`total`) => `void` \| `Promise`\<`void`\>
|
|
31367
31367
|
|
|
31368
|
-
Defined in: [lib/tool.ts:
|
|
31368
|
+
Defined in: [lib/tool.ts:2629](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2629)
|
|
31369
31369
|
|
|
31370
31370
|
#### Parameters
|
|
31371
31371
|
|
|
@@ -31388,7 +31388,7 @@ lib/tool/interfaces/IUrl.md
|
|
|
31388
31388
|
|
|
31389
31389
|
# Interface: IUrl
|
|
31390
31390
|
|
|
31391
|
-
Defined in: [lib/tool.ts:
|
|
31391
|
+
Defined in: [lib/tool.ts:2606](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2606)
|
|
31392
31392
|
|
|
31393
31393
|
网址对象
|
|
31394
31394
|
|
|
@@ -31398,7 +31398,7 @@ Defined in: [lib/tool.ts:2604](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31398
31398
|
|
|
31399
31399
|
> **auth**: `string` \| `null`
|
|
31400
31400
|
|
|
31401
|
-
Defined in: [lib/tool.ts:
|
|
31401
|
+
Defined in: [lib/tool.ts:2607](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2607)
|
|
31402
31402
|
|
|
31403
31403
|
***
|
|
31404
31404
|
|
|
@@ -31406,7 +31406,7 @@ Defined in: [lib/tool.ts:2605](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31406
31406
|
|
|
31407
31407
|
> **hash**: `string` \| `null`
|
|
31408
31408
|
|
|
31409
|
-
Defined in: [lib/tool.ts:
|
|
31409
|
+
Defined in: [lib/tool.ts:2608](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2608)
|
|
31410
31410
|
|
|
31411
31411
|
***
|
|
31412
31412
|
|
|
@@ -31414,7 +31414,7 @@ Defined in: [lib/tool.ts:2606](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31414
31414
|
|
|
31415
31415
|
> **host**: `string` \| `null`
|
|
31416
31416
|
|
|
31417
|
-
Defined in: [lib/tool.ts:
|
|
31417
|
+
Defined in: [lib/tool.ts:2609](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2609)
|
|
31418
31418
|
|
|
31419
31419
|
***
|
|
31420
31420
|
|
|
@@ -31422,7 +31422,7 @@ Defined in: [lib/tool.ts:2607](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31422
31422
|
|
|
31423
31423
|
> **hostname**: `string` \| `null`
|
|
31424
31424
|
|
|
31425
|
-
Defined in: [lib/tool.ts:
|
|
31425
|
+
Defined in: [lib/tool.ts:2610](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2610)
|
|
31426
31426
|
|
|
31427
31427
|
***
|
|
31428
31428
|
|
|
@@ -31430,7 +31430,7 @@ Defined in: [lib/tool.ts:2608](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31430
31430
|
|
|
31431
31431
|
> **pass**: `string` \| `null`
|
|
31432
31432
|
|
|
31433
|
-
Defined in: [lib/tool.ts:
|
|
31433
|
+
Defined in: [lib/tool.ts:2611](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2611)
|
|
31434
31434
|
|
|
31435
31435
|
***
|
|
31436
31436
|
|
|
@@ -31438,7 +31438,7 @@ Defined in: [lib/tool.ts:2609](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31438
31438
|
|
|
31439
31439
|
> **path**: `string` \| `null`
|
|
31440
31440
|
|
|
31441
|
-
Defined in: [lib/tool.ts:
|
|
31441
|
+
Defined in: [lib/tool.ts:2612](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2612)
|
|
31442
31442
|
|
|
31443
31443
|
***
|
|
31444
31444
|
|
|
@@ -31446,7 +31446,7 @@ Defined in: [lib/tool.ts:2610](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31446
31446
|
|
|
31447
31447
|
> **pathname**: `string`
|
|
31448
31448
|
|
|
31449
|
-
Defined in: [lib/tool.ts:
|
|
31449
|
+
Defined in: [lib/tool.ts:2613](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2613)
|
|
31450
31450
|
|
|
31451
31451
|
***
|
|
31452
31452
|
|
|
@@ -31454,7 +31454,7 @@ Defined in: [lib/tool.ts:2611](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31454
31454
|
|
|
31455
31455
|
> **port**: `string` \| `null`
|
|
31456
31456
|
|
|
31457
|
-
Defined in: [lib/tool.ts:
|
|
31457
|
+
Defined in: [lib/tool.ts:2615](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2615)
|
|
31458
31458
|
|
|
31459
31459
|
***
|
|
31460
31460
|
|
|
@@ -31462,7 +31462,7 @@ Defined in: [lib/tool.ts:2613](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31462
31462
|
|
|
31463
31463
|
> **protocol**: `string` \| `null`
|
|
31464
31464
|
|
|
31465
|
-
Defined in: [lib/tool.ts:
|
|
31465
|
+
Defined in: [lib/tool.ts:2614](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2614)
|
|
31466
31466
|
|
|
31467
31467
|
***
|
|
31468
31468
|
|
|
@@ -31470,7 +31470,7 @@ Defined in: [lib/tool.ts:2612](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31470
31470
|
|
|
31471
31471
|
> **query**: `string` \| `null`
|
|
31472
31472
|
|
|
31473
|
-
Defined in: [lib/tool.ts:
|
|
31473
|
+
Defined in: [lib/tool.ts:2616](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2616)
|
|
31474
31474
|
|
|
31475
31475
|
***
|
|
31476
31476
|
|
|
@@ -31478,7 +31478,7 @@ Defined in: [lib/tool.ts:2614](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
31478
31478
|
|
|
31479
31479
|
> **user**: `string` \| `null`
|
|
31480
31480
|
|
|
31481
|
-
Defined in: [lib/tool.ts:
|
|
31481
|
+
Defined in: [lib/tool.ts:2617](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2617)
|
|
31482
31482
|
|
|
31483
31483
|
lib/tool/type-aliases/TFalsy.md
|
|
31484
31484
|
---
|
|
@@ -31493,7 +31493,7 @@ lib/tool/type-aliases/TFalsy.md
|
|
|
31493
31493
|
|
|
31494
31494
|
> **TFalsy** = `false` \| `""` \| `0` \| `null` \| `undefined` \| *typeof* `NaN`
|
|
31495
31495
|
|
|
31496
|
-
Defined in: [lib/tool.ts:
|
|
31496
|
+
Defined in: [lib/tool.ts:2640](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2640)
|
|
31497
31497
|
|
|
31498
31498
|
虚假值类型
|
|
31499
31499
|
|
|
@@ -31510,7 +31510,7 @@ lib/tool/variables/lang.md
|
|
|
31510
31510
|
|
|
31511
31511
|
> `const` **lang**: `object`
|
|
31512
31512
|
|
|
31513
|
-
Defined in: [lib/tool.ts:
|
|
31513
|
+
Defined in: [lib/tool.ts:2548](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L2548)
|
|
31514
31514
|
|
|
31515
31515
|
语言相关
|
|
31516
31516
|
|
|
@@ -31565,7 +31565,7 @@ lib/tool/variables/RANDOM_L.md
|
|
|
31565
31565
|
|
|
31566
31566
|
> `const` **RANDOM\_L**: `"abcdefghijklmnopqrstuvwxyz"` = `'abcdefghijklmnopqrstuvwxyz'`
|
|
31567
31567
|
|
|
31568
|
-
Defined in: [lib/tool.ts:
|
|
31568
|
+
Defined in: [lib/tool.ts:674](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L674)
|
|
31569
31569
|
|
|
31570
31570
|
lib/tool/variables/RANDOM_LN.md
|
|
31571
31571
|
---
|
|
@@ -31580,7 +31580,7 @@ lib/tool/variables/RANDOM_LN.md
|
|
|
31580
31580
|
|
|
31581
31581
|
> `const` **RANDOM\_LN**: `string`
|
|
31582
31582
|
|
|
31583
|
-
Defined in: [lib/tool.ts:
|
|
31583
|
+
Defined in: [lib/tool.ts:677](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L677)
|
|
31584
31584
|
|
|
31585
31585
|
lib/tool/variables/RANDOM_LU.md
|
|
31586
31586
|
---
|
|
@@ -31595,7 +31595,7 @@ lib/tool/variables/RANDOM_LU.md
|
|
|
31595
31595
|
|
|
31596
31596
|
> `const` **RANDOM\_LU**: `string`
|
|
31597
31597
|
|
|
31598
|
-
Defined in: [lib/tool.ts:
|
|
31598
|
+
Defined in: [lib/tool.ts:678](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L678)
|
|
31599
31599
|
|
|
31600
31600
|
lib/tool/variables/RANDOM_LUN.md
|
|
31601
31601
|
---
|
|
@@ -31610,7 +31610,7 @@ lib/tool/variables/RANDOM_LUN.md
|
|
|
31610
31610
|
|
|
31611
31611
|
> `const` **RANDOM\_LUN**: `string`
|
|
31612
31612
|
|
|
31613
|
-
Defined in: [lib/tool.ts:
|
|
31613
|
+
Defined in: [lib/tool.ts:679](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L679)
|
|
31614
31614
|
|
|
31615
31615
|
lib/tool/variables/RANDOM_LUNS.md
|
|
31616
31616
|
---
|
|
@@ -31625,7 +31625,7 @@ lib/tool/variables/RANDOM_LUNS.md
|
|
|
31625
31625
|
|
|
31626
31626
|
> `const` **RANDOM\_LUNS**: `string`
|
|
31627
31627
|
|
|
31628
|
-
Defined in: [lib/tool.ts:
|
|
31628
|
+
Defined in: [lib/tool.ts:681](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L681)
|
|
31629
31629
|
|
|
31630
31630
|
lib/tool/variables/RANDOM_N.md
|
|
31631
31631
|
---
|
|
@@ -31640,7 +31640,7 @@ lib/tool/variables/RANDOM_N.md
|
|
|
31640
31640
|
|
|
31641
31641
|
> `const` **RANDOM\_N**: `"0123456789"` = `'0123456789'`
|
|
31642
31642
|
|
|
31643
|
-
Defined in: [lib/tool.ts:
|
|
31643
|
+
Defined in: [lib/tool.ts:672](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L672)
|
|
31644
31644
|
|
|
31645
31645
|
lib/tool/variables/RANDOM_U.md
|
|
31646
31646
|
---
|
|
@@ -31655,7 +31655,7 @@ lib/tool/variables/RANDOM_U.md
|
|
|
31655
31655
|
|
|
31656
31656
|
> `const` **RANDOM\_U**: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ"` = `'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
|
31657
31657
|
|
|
31658
|
-
Defined in: [lib/tool.ts:
|
|
31658
|
+
Defined in: [lib/tool.ts:673](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L673)
|
|
31659
31659
|
|
|
31660
31660
|
lib/tool/variables/RANDOM_UN.md
|
|
31661
31661
|
---
|
|
@@ -31670,7 +31670,7 @@ lib/tool/variables/RANDOM_UN.md
|
|
|
31670
31670
|
|
|
31671
31671
|
> `const` **RANDOM\_UN**: `string`
|
|
31672
31672
|
|
|
31673
|
-
Defined in: [lib/tool.ts:
|
|
31673
|
+
Defined in: [lib/tool.ts:676](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L676)
|
|
31674
31674
|
|
|
31675
31675
|
lib/tool/variables/RANDOM_V.md
|
|
31676
31676
|
---
|
|
@@ -31685,7 +31685,7 @@ lib/tool/variables/RANDOM_V.md
|
|
|
31685
31685
|
|
|
31686
31686
|
> `const` **RANDOM\_V**: `"ACEFGHJKLMNPRSTWXY34567"` = `'ACEFGHJKLMNPRSTWXY34567'`
|
|
31687
31687
|
|
|
31688
|
-
Defined in: [lib/tool.ts:
|
|
31688
|
+
Defined in: [lib/tool.ts:680](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L680)
|
|
31689
31689
|
|
|
31690
31690
|
lib/zip/classes/Zip.md
|
|
31691
31691
|
---
|