clickgo 5.18.4 → 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 +38 -38
- 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
|
|