clickgo 7.9.4 → 7.9.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/app/demo.cga +0 -0
- package/dist/app/task.cga +0 -0
- package/dist/control/common.cgc +0 -0
- package/dist/control/task.cgc +0 -0
- package/dist/index.js +1 -1
- package/dist/lib/task.d.ts +2 -1
- package/dist/theme/classic-light.cgt +0 -0
- package/dist/theme/cloud-dark.cgt +0 -0
- package/dist/theme/cloud-light.cgt +0 -0
- package/dist/theme/software-dark.cgt +0 -0
- package/dist/theme/software-light.cgt +0 -0
- package/doc/clickgo-rag.md +1391 -1368
- package/package.json +2 -2
package/doc/clickgo-rag.md
CHANGED
|
@@ -461,6 +461,62 @@ cell 之间的间距,默认 0。
|
|
|
461
461
|
</alayout>
|
|
462
462
|
```
|
|
463
463
|
|
|
464
|
+
## alayout-cell
|
|
465
|
+
---
|
|
466
|
+
|
|
467
|
+
自适应布局单元格组件。
|
|
468
|
+
|
|
469
|
+
### 参数
|
|
470
|
+
|
|
471
|
+
#### span
|
|
472
|
+
|
|
473
|
+
`number` | `string`
|
|
474
|
+
|
|
475
|
+
占据列数,默认 1。
|
|
476
|
+
|
|
477
|
+
#### alignH
|
|
478
|
+
|
|
479
|
+
`string` | `undefined`
|
|
480
|
+
|
|
481
|
+
水平对齐方式。
|
|
482
|
+
|
|
483
|
+
#### alignV
|
|
484
|
+
|
|
485
|
+
`string` | `undefined`
|
|
486
|
+
|
|
487
|
+
垂直对齐方式。
|
|
488
|
+
|
|
489
|
+
### 样式
|
|
490
|
+
|
|
491
|
+
作为 alayout-row 的子组件,显示单元格内容。使用 flex 布局。
|
|
492
|
+
|
|
493
|
+
根据 span 设置占据的列数,支持对齐方式配置。内容区域支持通过 slot 自定义。
|
|
494
|
+
|
|
495
|
+
### 示例
|
|
496
|
+
|
|
497
|
+
```xml
|
|
498
|
+
<alayout-cell :span="2">Content</alayout-cell>
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
## alayout-row
|
|
502
|
+
---
|
|
503
|
+
|
|
504
|
+
自适应布局行组件。
|
|
505
|
+
|
|
506
|
+
### 样式
|
|
507
|
+
|
|
508
|
+
作为 alayout 的子组件,包含 alayout-cell 单元格。使用 flex 布局。
|
|
509
|
+
|
|
510
|
+
行间距由父组件 alayout 的 gutter 控制。子单元格水平排列。
|
|
511
|
+
|
|
512
|
+
### 示例
|
|
513
|
+
|
|
514
|
+
```xml
|
|
515
|
+
<alayout-row>
|
|
516
|
+
<alayout-cell>Content</alayout-cell>
|
|
517
|
+
</alayout-row>
|
|
518
|
+
```
|
|
519
|
+
|
|
464
520
|
## alayout2
|
|
465
521
|
---
|
|
466
522
|
|
|
@@ -553,62 +609,6 @@ cell 之间的间距,默认 0。
|
|
|
553
609
|
<alayout2-cell direction="v" :gutter="10">Content</alayout2-cell>
|
|
554
610
|
```
|
|
555
611
|
|
|
556
|
-
## alayout-cell
|
|
557
|
-
---
|
|
558
|
-
|
|
559
|
-
自适应布局单元格组件。
|
|
560
|
-
|
|
561
|
-
### 参数
|
|
562
|
-
|
|
563
|
-
#### span
|
|
564
|
-
|
|
565
|
-
`number` | `string`
|
|
566
|
-
|
|
567
|
-
占据列数,默认 1。
|
|
568
|
-
|
|
569
|
-
#### alignH
|
|
570
|
-
|
|
571
|
-
`string` | `undefined`
|
|
572
|
-
|
|
573
|
-
水平对齐方式。
|
|
574
|
-
|
|
575
|
-
#### alignV
|
|
576
|
-
|
|
577
|
-
`string` | `undefined`
|
|
578
|
-
|
|
579
|
-
垂直对齐方式。
|
|
580
|
-
|
|
581
|
-
### 样式
|
|
582
|
-
|
|
583
|
-
作为 alayout-row 的子组件,显示单元格内容。使用 flex 布局。
|
|
584
|
-
|
|
585
|
-
根据 span 设置占据的列数,支持对齐方式配置。内容区域支持通过 slot 自定义。
|
|
586
|
-
|
|
587
|
-
### 示例
|
|
588
|
-
|
|
589
|
-
```xml
|
|
590
|
-
<alayout-cell :span="2">Content</alayout-cell>
|
|
591
|
-
```
|
|
592
|
-
|
|
593
|
-
## alayout-row
|
|
594
|
-
---
|
|
595
|
-
|
|
596
|
-
自适应布局行组件。
|
|
597
|
-
|
|
598
|
-
### 样式
|
|
599
|
-
|
|
600
|
-
作为 alayout 的子组件,包含 alayout-cell 单元格。使用 flex 布局。
|
|
601
|
-
|
|
602
|
-
行间距由父组件 alayout 的 gutter 控制。子单元格水平排列。
|
|
603
|
-
|
|
604
|
-
### 示例
|
|
605
|
-
|
|
606
|
-
```xml
|
|
607
|
-
<alayout-row>
|
|
608
|
-
<alayout-cell>Content</alayout-cell>
|
|
609
|
-
</alayout-row>
|
|
610
|
-
```
|
|
611
|
-
|
|
612
612
|
## alert
|
|
613
613
|
---
|
|
614
614
|
|
|
@@ -4159,6 +4159,12 @@ CSS `background` 简写,默认 `''`,使用主题背景。可设置颜色、
|
|
|
4159
4159
|
|
|
4160
4160
|
弹出层显示时触发。
|
|
4161
4161
|
|
|
4162
|
+
### 插槽
|
|
4163
|
+
|
|
4164
|
+
#### suffix
|
|
4165
|
+
|
|
4166
|
+
内容区与下拉箭头之间的尾部操作区,垂直居中且不参与内容区的 padding。交互元素自行处理禁用,并阻止指针、点击及按键事件冒泡到选择器。
|
|
4167
|
+
|
|
4162
4168
|
### 样式
|
|
4163
4169
|
|
|
4164
4170
|
使用 flex 布局,支持复杂的选项展示。下拉面板可显示图标、描述等额外信息。
|
|
@@ -7144,6 +7150,14 @@ QR 码组件,用于生成二维码。
|
|
|
7144
7150
|
|
|
7145
7151
|
是否禁用,默认 false。
|
|
7146
7152
|
|
|
7153
|
+
#### clearbtn
|
|
7154
|
+
|
|
7155
|
+
`boolean` | `string`
|
|
7156
|
+
|
|
7157
|
+
是否显示原生清除按钮,默认 false。开启后普通单选允许空选,不再自动选中首项;搜索、编辑和多选模式同样支持。清除后 `modelValue`、标签和候选高亮归空,输入及未完成的搜索失效,恢复 placeholder;禁用时不执行。
|
|
7158
|
+
|
|
7159
|
+
整次清除先触发可取消的 `change`,候选值为 `[]`;通过后同步 `update:modelValue`、`label` 并触发一次 `changed`。不逐项触发 `remove/removed`,只有待输入文本被清空而已选值未变化时不触发选择事件。
|
|
7160
|
+
|
|
7147
7161
|
#### editable
|
|
7148
7162
|
|
|
7149
7163
|
`boolean` | `string`
|
|
@@ -7254,7 +7268,7 @@ QR 码组件,用于生成二维码。
|
|
|
7254
7268
|
|
|
7255
7269
|
占位文字,默认空字符串。不可编辑模式下,单选和多选均在没有选中值时显示;多选取消全部选项后恢复显示。已选项的标签为空时不显示占位文字。
|
|
7256
7270
|
|
|
7257
|
-
可编辑模式沿用输入框行为,输入为空时显示,多选已有标签时也可继续提示输入。普通单选(未启用 `editable`、`search`、`multi`)有可选数据时自动选中首项,此时显示选项标签。
|
|
7271
|
+
可编辑模式沿用输入框行为,输入为空时显示,多选已有标签时也可继续提示输入。普通单选(未启用 `clearbtn`、`editable`、`search`、`multi`)有可选数据时自动选中首项,此时显示选项标签。
|
|
7258
7272
|
|
|
7259
7273
|
#### data
|
|
7260
7274
|
|
|
@@ -7358,6 +7372,14 @@ QR 码组件,用于生成二维码。
|
|
|
7358
7372
|
<select :data="options" v-model="selected"></select>
|
|
7359
7373
|
```
|
|
7360
7374
|
|
|
7375
|
+
### 方法
|
|
7376
|
+
|
|
7377
|
+
#### clear
|
|
7378
|
+
|
|
7379
|
+
`(): void`
|
|
7380
|
+
|
|
7381
|
+
清空全部选择和输入,事件与清除按钮相同。普通单选须开启 `clearbtn` 才允许空选;禁用或已卸载时不执行。
|
|
7382
|
+
|
|
7361
7383
|
|
|
7362
7384
|
## setting
|
|
7363
7385
|
---
|
|
@@ -11464,30 +11486,30 @@ Defined in: [lib/command.ts:204](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
11464
11486
|
|
|
11465
11487
|
无返回值
|
|
11466
11488
|
|
|
11467
|
-
lib/command/functions/
|
|
11489
|
+
lib/command/functions/execute.md
|
|
11468
11490
|
---
|
|
11469
11491
|
|
|
11470
11492
|
[**Documents for clickgo**](../../../index.md)
|
|
11471
11493
|
|
|
11472
11494
|
***
|
|
11473
11495
|
|
|
11474
|
-
[Documents for clickgo](../../../index.md) / [lib/command](../index.md) /
|
|
11496
|
+
[Documents for clickgo](../../../index.md) / [lib/command](../index.md) / execute
|
|
11475
11497
|
|
|
11476
|
-
# Function:
|
|
11498
|
+
# Function: execute()
|
|
11477
11499
|
|
|
11478
|
-
> **
|
|
11500
|
+
> **execute**(`current`, `name`, `args?`, `options?`): `Promise`\<[`TResult`](../type-aliases/TResult.md)\>
|
|
11479
11501
|
|
|
11480
|
-
Defined in: [lib/command.ts:
|
|
11502
|
+
Defined in: [lib/command.ts:152](https://github.com/maiyun/clickgo/blob/master/dist/lib/command.ts#L152)
|
|
11481
11503
|
|
|
11482
|
-
|
|
11504
|
+
应用界面直接执行已注册的业务命令
|
|
11483
11505
|
|
|
11484
11506
|
## Parameters
|
|
11485
11507
|
|
|
11486
|
-
###
|
|
11508
|
+
### current
|
|
11487
11509
|
|
|
11488
|
-
`
|
|
11510
|
+
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
11489
11511
|
|
|
11490
|
-
|
|
11512
|
+
所属任务/Form
|
|
11491
11513
|
|
|
11492
11514
|
### name
|
|
11493
11515
|
|
|
@@ -11513,32 +11535,32 @@ Defined in: [lib/command.ts:165](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
11513
11535
|
|
|
11514
11536
|
`Promise`\<[`TResult`](../type-aliases/TResult.md)\>
|
|
11515
11537
|
|
|
11516
|
-
|
|
11538
|
+
业务结果
|
|
11517
11539
|
|
|
11518
|
-
lib/command/functions/
|
|
11540
|
+
lib/command/functions/executeAgent.md
|
|
11519
11541
|
---
|
|
11520
11542
|
|
|
11521
11543
|
[**Documents for clickgo**](../../../index.md)
|
|
11522
11544
|
|
|
11523
11545
|
***
|
|
11524
11546
|
|
|
11525
|
-
[Documents for clickgo](../../../index.md) / [lib/command](../index.md) /
|
|
11547
|
+
[Documents for clickgo](../../../index.md) / [lib/command](../index.md) / executeAgent
|
|
11526
11548
|
|
|
11527
|
-
# Function:
|
|
11549
|
+
# Function: executeAgent()
|
|
11528
11550
|
|
|
11529
|
-
> **
|
|
11551
|
+
> **executeAgent**(`taskId`, `name`, `args?`, `options?`): `Promise`\<[`TResult`](../type-aliases/TResult.md)\>
|
|
11530
11552
|
|
|
11531
|
-
Defined in: [lib/command.ts:
|
|
11553
|
+
Defined in: [lib/command.ts:165](https://github.com/maiyun/clickgo/blob/master/dist/lib/command.ts#L165)
|
|
11532
11554
|
|
|
11533
|
-
|
|
11555
|
+
代理直接按 taskId 执行公开命令,与界面共用校验和业务执行器
|
|
11534
11556
|
|
|
11535
11557
|
## Parameters
|
|
11536
11558
|
|
|
11537
|
-
###
|
|
11559
|
+
### taskId
|
|
11538
11560
|
|
|
11539
|
-
|
|
11561
|
+
`string`
|
|
11540
11562
|
|
|
11541
|
-
|
|
11563
|
+
目标 App
|
|
11542
11564
|
|
|
11543
11565
|
### name
|
|
11544
11566
|
|
|
@@ -11564,7 +11586,7 @@ Defined in: [lib/command.ts:152](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
11564
11586
|
|
|
11565
11587
|
`Promise`\<[`TResult`](../type-aliases/TResult.md)\>
|
|
11566
11588
|
|
|
11567
|
-
|
|
11589
|
+
结构化结果;未公开或不存在的命令返回 not-found
|
|
11568
11590
|
|
|
11569
11591
|
lib/command/functions/failure.md
|
|
11570
11592
|
---
|
|
@@ -14649,39 +14671,6 @@ Defined in: [lib/control.ts:1196](https://github.com/maiyun/clickgo/blob/master/
|
|
|
14649
14671
|
|
|
14650
14672
|
> **token**: `string`
|
|
14651
14673
|
|
|
14652
|
-
lib/control/interfaces/ICheckChangedEvent.md
|
|
14653
|
-
---
|
|
14654
|
-
|
|
14655
|
-
[**Documents for clickgo**](../../../index.md)
|
|
14656
|
-
|
|
14657
|
-
***
|
|
14658
|
-
|
|
14659
|
-
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / ICheckChangedEvent
|
|
14660
|
-
|
|
14661
|
-
# Interface: ICheckChangedEvent
|
|
14662
|
-
|
|
14663
|
-
Defined in: [lib/control.ts:984](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L984)
|
|
14664
|
-
|
|
14665
|
-
## Properties
|
|
14666
|
-
|
|
14667
|
-
### detail
|
|
14668
|
-
|
|
14669
|
-
> **detail**: `object`
|
|
14670
|
-
|
|
14671
|
-
Defined in: [lib/control.ts:985](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L985)
|
|
14672
|
-
|
|
14673
|
-
#### indeterminate
|
|
14674
|
-
|
|
14675
|
-
> **indeterminate**: `boolean`
|
|
14676
|
-
|
|
14677
|
-
#### name
|
|
14678
|
-
|
|
14679
|
-
> **name**: `string`
|
|
14680
|
-
|
|
14681
|
-
#### value
|
|
14682
|
-
|
|
14683
|
-
> **value**: `boolean`
|
|
14684
|
-
|
|
14685
14674
|
lib/control/interfaces/ICheckChangeEvent.md
|
|
14686
14675
|
---
|
|
14687
14676
|
|
|
@@ -14749,6 +14738,39 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
14749
14738
|
|
|
14750
14739
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
14751
14740
|
|
|
14741
|
+
lib/control/interfaces/ICheckChangedEvent.md
|
|
14742
|
+
---
|
|
14743
|
+
|
|
14744
|
+
[**Documents for clickgo**](../../../index.md)
|
|
14745
|
+
|
|
14746
|
+
***
|
|
14747
|
+
|
|
14748
|
+
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / ICheckChangedEvent
|
|
14749
|
+
|
|
14750
|
+
# Interface: ICheckChangedEvent
|
|
14751
|
+
|
|
14752
|
+
Defined in: [lib/control.ts:984](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L984)
|
|
14753
|
+
|
|
14754
|
+
## Properties
|
|
14755
|
+
|
|
14756
|
+
### detail
|
|
14757
|
+
|
|
14758
|
+
> **detail**: `object`
|
|
14759
|
+
|
|
14760
|
+
Defined in: [lib/control.ts:985](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L985)
|
|
14761
|
+
|
|
14762
|
+
#### indeterminate
|
|
14763
|
+
|
|
14764
|
+
> **indeterminate**: `boolean`
|
|
14765
|
+
|
|
14766
|
+
#### name
|
|
14767
|
+
|
|
14768
|
+
> **name**: `string`
|
|
14769
|
+
|
|
14770
|
+
#### value
|
|
14771
|
+
|
|
14772
|
+
> **value**: `boolean`
|
|
14773
|
+
|
|
14752
14774
|
lib/control/interfaces/IChecklistAddEvent.md
|
|
14753
14775
|
---
|
|
14754
14776
|
|
|
@@ -14977,6 +14999,49 @@ Defined in: [lib/control.ts:1532](https://github.com/maiyun/clickgo/blob/master/
|
|
|
14977
14999
|
|
|
14978
15000
|
颜色值
|
|
14979
15001
|
|
|
15002
|
+
lib/control/interfaces/IControl.md
|
|
15003
|
+
---
|
|
15004
|
+
|
|
15005
|
+
[**Documents for clickgo**](../../../index.md)
|
|
15006
|
+
|
|
15007
|
+
***
|
|
15008
|
+
|
|
15009
|
+
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IControl
|
|
15010
|
+
|
|
15011
|
+
# Interface: IControl
|
|
15012
|
+
|
|
15013
|
+
Defined in: [lib/control.ts:953](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L953)
|
|
15014
|
+
|
|
15015
|
+
控件对象
|
|
15016
|
+
|
|
15017
|
+
## Properties
|
|
15018
|
+
|
|
15019
|
+
### config
|
|
15020
|
+
|
|
15021
|
+
> **config**: [`IControlConfig`](IControlConfig.md)
|
|
15022
|
+
|
|
15023
|
+
Defined in: [lib/control.ts:956](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L956)
|
|
15024
|
+
|
|
15025
|
+
控件对象配置文件
|
|
15026
|
+
|
|
15027
|
+
***
|
|
15028
|
+
|
|
15029
|
+
### files
|
|
15030
|
+
|
|
15031
|
+
> **files**: `Record`\<`string`, `Blob` \| `string`\>
|
|
15032
|
+
|
|
15033
|
+
Defined in: [lib/control.ts:958](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L958)
|
|
15034
|
+
|
|
15035
|
+
所有已加载的文件内容
|
|
15036
|
+
|
|
15037
|
+
***
|
|
15038
|
+
|
|
15039
|
+
### type
|
|
15040
|
+
|
|
15041
|
+
> **type**: `"control"`
|
|
15042
|
+
|
|
15043
|
+
Defined in: [lib/control.ts:954](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L954)
|
|
15044
|
+
|
|
14980
15045
|
lib/control/interfaces/IControlConfig.md
|
|
14981
15046
|
---
|
|
14982
15047
|
|
|
@@ -15064,49 +15129,6 @@ Defined in: [lib/control.ts:937](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
15064
15129
|
|
|
15065
15130
|
Defined in: [lib/control.ts:938](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L938)
|
|
15066
15131
|
|
|
15067
|
-
lib/control/interfaces/IControl.md
|
|
15068
|
-
---
|
|
15069
|
-
|
|
15070
|
-
[**Documents for clickgo**](../../../index.md)
|
|
15071
|
-
|
|
15072
|
-
***
|
|
15073
|
-
|
|
15074
|
-
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IControl
|
|
15075
|
-
|
|
15076
|
-
# Interface: IControl
|
|
15077
|
-
|
|
15078
|
-
Defined in: [lib/control.ts:953](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L953)
|
|
15079
|
-
|
|
15080
|
-
控件对象
|
|
15081
|
-
|
|
15082
|
-
## Properties
|
|
15083
|
-
|
|
15084
|
-
### config
|
|
15085
|
-
|
|
15086
|
-
> **config**: [`IControlConfig`](IControlConfig.md)
|
|
15087
|
-
|
|
15088
|
-
Defined in: [lib/control.ts:956](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L956)
|
|
15089
|
-
|
|
15090
|
-
控件对象配置文件
|
|
15091
|
-
|
|
15092
|
-
***
|
|
15093
|
-
|
|
15094
|
-
### files
|
|
15095
|
-
|
|
15096
|
-
> **files**: `Record`\<`string`, `Blob` \| `string`\>
|
|
15097
|
-
|
|
15098
|
-
Defined in: [lib/control.ts:958](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L958)
|
|
15099
|
-
|
|
15100
|
-
所有已加载的文件内容
|
|
15101
|
-
|
|
15102
|
-
***
|
|
15103
|
-
|
|
15104
|
-
### type
|
|
15105
|
-
|
|
15106
|
-
> **type**: `"control"`
|
|
15107
|
-
|
|
15108
|
-
Defined in: [lib/control.ts:954](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L954)
|
|
15109
|
-
|
|
15110
15132
|
lib/control/interfaces/ICustomEvent.md
|
|
15111
15133
|
---
|
|
15112
15134
|
|
|
@@ -15943,31 +15965,6 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
15943
15965
|
|
|
15944
15966
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
15945
15967
|
|
|
15946
|
-
lib/control/interfaces/IGreatlistChangedEvent.md
|
|
15947
|
-
---
|
|
15948
|
-
|
|
15949
|
-
[**Documents for clickgo**](../../../index.md)
|
|
15950
|
-
|
|
15951
|
-
***
|
|
15952
|
-
|
|
15953
|
-
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IGreatlistChangedEvent
|
|
15954
|
-
|
|
15955
|
-
# Interface: IGreatlistChangedEvent
|
|
15956
|
-
|
|
15957
|
-
Defined in: [lib/control.ts:1131](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1131)
|
|
15958
|
-
|
|
15959
|
-
## Properties
|
|
15960
|
-
|
|
15961
|
-
### detail
|
|
15962
|
-
|
|
15963
|
-
> **detail**: `object`
|
|
15964
|
-
|
|
15965
|
-
Defined in: [lib/control.ts:1132](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1132)
|
|
15966
|
-
|
|
15967
|
-
#### value
|
|
15968
|
-
|
|
15969
|
-
> **value**: `number`[]
|
|
15970
|
-
|
|
15971
15968
|
lib/control/interfaces/IGreatlistChangeEvent.md
|
|
15972
15969
|
---
|
|
15973
15970
|
|
|
@@ -16027,6 +16024,31 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
16027
16024
|
|
|
16028
16025
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
16029
16026
|
|
|
16027
|
+
lib/control/interfaces/IGreatlistChangedEvent.md
|
|
16028
|
+
---
|
|
16029
|
+
|
|
16030
|
+
[**Documents for clickgo**](../../../index.md)
|
|
16031
|
+
|
|
16032
|
+
***
|
|
16033
|
+
|
|
16034
|
+
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IGreatlistChangedEvent
|
|
16035
|
+
|
|
16036
|
+
# Interface: IGreatlistChangedEvent
|
|
16037
|
+
|
|
16038
|
+
Defined in: [lib/control.ts:1131](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1131)
|
|
16039
|
+
|
|
16040
|
+
## Properties
|
|
16041
|
+
|
|
16042
|
+
### detail
|
|
16043
|
+
|
|
16044
|
+
> **detail**: `object`
|
|
16045
|
+
|
|
16046
|
+
Defined in: [lib/control.ts:1132](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1132)
|
|
16047
|
+
|
|
16048
|
+
#### value
|
|
16049
|
+
|
|
16050
|
+
> **value**: `number`[]
|
|
16051
|
+
|
|
16030
16052
|
lib/control/interfaces/IGreatlistItemclickedEvent.md
|
|
16031
16053
|
---
|
|
16032
16054
|
|
|
@@ -16215,31 +16237,6 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
16215
16237
|
|
|
16216
16238
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
16217
16239
|
|
|
16218
|
-
lib/control/interfaces/IGreatselectChangedEvent.md
|
|
16219
|
-
---
|
|
16220
|
-
|
|
16221
|
-
[**Documents for clickgo**](../../../index.md)
|
|
16222
|
-
|
|
16223
|
-
***
|
|
16224
|
-
|
|
16225
|
-
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IGreatselectChangedEvent
|
|
16226
|
-
|
|
16227
|
-
# Interface: IGreatselectChangedEvent
|
|
16228
|
-
|
|
16229
|
-
Defined in: [lib/control.ts:1175](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1175)
|
|
16230
|
-
|
|
16231
|
-
## Properties
|
|
16232
|
-
|
|
16233
|
-
### detail
|
|
16234
|
-
|
|
16235
|
-
> **detail**: `object`
|
|
16236
|
-
|
|
16237
|
-
Defined in: [lib/control.ts:1176](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1176)
|
|
16238
|
-
|
|
16239
|
-
#### value
|
|
16240
|
-
|
|
16241
|
-
> **value**: `number`[]
|
|
16242
|
-
|
|
16243
16240
|
lib/control/interfaces/IGreatselectChangeEvent.md
|
|
16244
16241
|
---
|
|
16245
16242
|
|
|
@@ -16299,6 +16296,31 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
16299
16296
|
|
|
16300
16297
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
16301
16298
|
|
|
16299
|
+
lib/control/interfaces/IGreatselectChangedEvent.md
|
|
16300
|
+
---
|
|
16301
|
+
|
|
16302
|
+
[**Documents for clickgo**](../../../index.md)
|
|
16303
|
+
|
|
16304
|
+
***
|
|
16305
|
+
|
|
16306
|
+
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IGreatselectChangedEvent
|
|
16307
|
+
|
|
16308
|
+
# Interface: IGreatselectChangedEvent
|
|
16309
|
+
|
|
16310
|
+
Defined in: [lib/control.ts:1175](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1175)
|
|
16311
|
+
|
|
16312
|
+
## Properties
|
|
16313
|
+
|
|
16314
|
+
### detail
|
|
16315
|
+
|
|
16316
|
+
> **detail**: `object`
|
|
16317
|
+
|
|
16318
|
+
Defined in: [lib/control.ts:1176](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1176)
|
|
16319
|
+
|
|
16320
|
+
#### value
|
|
16321
|
+
|
|
16322
|
+
> **value**: `number`[]
|
|
16323
|
+
|
|
16302
16324
|
lib/control/interfaces/IGreatselectRemoveEvent.md
|
|
16303
16325
|
---
|
|
16304
16326
|
|
|
@@ -16620,31 +16642,6 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
16620
16642
|
|
|
16621
16643
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
16622
16644
|
|
|
16623
|
-
lib/control/interfaces/IListChangedEvent.md
|
|
16624
|
-
---
|
|
16625
|
-
|
|
16626
|
-
[**Documents for clickgo**](../../../index.md)
|
|
16627
|
-
|
|
16628
|
-
***
|
|
16629
|
-
|
|
16630
|
-
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IListChangedEvent
|
|
16631
|
-
|
|
16632
|
-
# Interface: IListChangedEvent
|
|
16633
|
-
|
|
16634
|
-
Defined in: [lib/control.ts:1422](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1422)
|
|
16635
|
-
|
|
16636
|
-
## Properties
|
|
16637
|
-
|
|
16638
|
-
### detail
|
|
16639
|
-
|
|
16640
|
-
> **detail**: `object`
|
|
16641
|
-
|
|
16642
|
-
Defined in: [lib/control.ts:1423](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1423)
|
|
16643
|
-
|
|
16644
|
-
#### value
|
|
16645
|
-
|
|
16646
|
-
> **value**: `string`[]
|
|
16647
|
-
|
|
16648
16645
|
lib/control/interfaces/IListChangeEvent.md
|
|
16649
16646
|
---
|
|
16650
16647
|
|
|
@@ -16704,6 +16701,31 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
16704
16701
|
|
|
16705
16702
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
16706
16703
|
|
|
16704
|
+
lib/control/interfaces/IListChangedEvent.md
|
|
16705
|
+
---
|
|
16706
|
+
|
|
16707
|
+
[**Documents for clickgo**](../../../index.md)
|
|
16708
|
+
|
|
16709
|
+
***
|
|
16710
|
+
|
|
16711
|
+
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IListChangedEvent
|
|
16712
|
+
|
|
16713
|
+
# Interface: IListChangedEvent
|
|
16714
|
+
|
|
16715
|
+
Defined in: [lib/control.ts:1422](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1422)
|
|
16716
|
+
|
|
16717
|
+
## Properties
|
|
16718
|
+
|
|
16719
|
+
### detail
|
|
16720
|
+
|
|
16721
|
+
> **detail**: `object`
|
|
16722
|
+
|
|
16723
|
+
Defined in: [lib/control.ts:1423](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1423)
|
|
16724
|
+
|
|
16725
|
+
#### value
|
|
16726
|
+
|
|
16727
|
+
> **value**: `string`[]
|
|
16728
|
+
|
|
16707
16729
|
lib/control/interfaces/IListItemclickedEvent.md
|
|
16708
16730
|
---
|
|
16709
16731
|
|
|
@@ -17643,35 +17665,6 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
17643
17665
|
|
|
17644
17666
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
17645
17667
|
|
|
17646
|
-
lib/control/interfaces/ISelectAddedEvent.md
|
|
17647
|
-
---
|
|
17648
|
-
|
|
17649
|
-
[**Documents for clickgo**](../../../index.md)
|
|
17650
|
-
|
|
17651
|
-
***
|
|
17652
|
-
|
|
17653
|
-
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / ISelectAddedEvent
|
|
17654
|
-
|
|
17655
|
-
# Interface: ISelectAddedEvent
|
|
17656
|
-
|
|
17657
|
-
Defined in: [lib/control.ts:1568](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1568)
|
|
17658
|
-
|
|
17659
|
-
## Properties
|
|
17660
|
-
|
|
17661
|
-
### detail
|
|
17662
|
-
|
|
17663
|
-
> **detail**: `object`
|
|
17664
|
-
|
|
17665
|
-
Defined in: [lib/control.ts:1569](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1569)
|
|
17666
|
-
|
|
17667
|
-
#### index
|
|
17668
|
-
|
|
17669
|
-
> **index**: `number`
|
|
17670
|
-
|
|
17671
|
-
#### value
|
|
17672
|
-
|
|
17673
|
-
> **value**: `string`
|
|
17674
|
-
|
|
17675
17668
|
lib/control/interfaces/ISelectAddEvent.md
|
|
17676
17669
|
---
|
|
17677
17670
|
|
|
@@ -17735,18 +17728,18 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
17735
17728
|
|
|
17736
17729
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
17737
17730
|
|
|
17738
|
-
lib/control/interfaces/
|
|
17731
|
+
lib/control/interfaces/ISelectAddedEvent.md
|
|
17739
17732
|
---
|
|
17740
17733
|
|
|
17741
17734
|
[**Documents for clickgo**](../../../index.md)
|
|
17742
17735
|
|
|
17743
17736
|
***
|
|
17744
17737
|
|
|
17745
|
-
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) /
|
|
17738
|
+
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / ISelectAddedEvent
|
|
17746
17739
|
|
|
17747
|
-
# Interface:
|
|
17740
|
+
# Interface: ISelectAddedEvent
|
|
17748
17741
|
|
|
17749
|
-
Defined in: [lib/control.ts:
|
|
17742
|
+
Defined in: [lib/control.ts:1568](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1568)
|
|
17750
17743
|
|
|
17751
17744
|
## Properties
|
|
17752
17745
|
|
|
@@ -17754,15 +17747,15 @@ Defined in: [lib/control.ts:1589](https://github.com/maiyun/clickgo/blob/master/
|
|
|
17754
17747
|
|
|
17755
17748
|
> **detail**: `object`
|
|
17756
17749
|
|
|
17757
|
-
Defined in: [lib/control.ts:
|
|
17750
|
+
Defined in: [lib/control.ts:1569](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1569)
|
|
17758
17751
|
|
|
17759
|
-
####
|
|
17752
|
+
#### index
|
|
17760
17753
|
|
|
17761
|
-
> **
|
|
17754
|
+
> **index**: `number`
|
|
17762
17755
|
|
|
17763
17756
|
#### value
|
|
17764
17757
|
|
|
17765
|
-
> **value**: `string`
|
|
17758
|
+
> **value**: `string`
|
|
17766
17759
|
|
|
17767
17760
|
lib/control/interfaces/ISelectChangeEvent.md
|
|
17768
17761
|
---
|
|
@@ -17823,6 +17816,35 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
17823
17816
|
|
|
17824
17817
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
17825
17818
|
|
|
17819
|
+
lib/control/interfaces/ISelectChangedEvent.md
|
|
17820
|
+
---
|
|
17821
|
+
|
|
17822
|
+
[**Documents for clickgo**](../../../index.md)
|
|
17823
|
+
|
|
17824
|
+
***
|
|
17825
|
+
|
|
17826
|
+
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / ISelectChangedEvent
|
|
17827
|
+
|
|
17828
|
+
# Interface: ISelectChangedEvent
|
|
17829
|
+
|
|
17830
|
+
Defined in: [lib/control.ts:1589](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1589)
|
|
17831
|
+
|
|
17832
|
+
## Properties
|
|
17833
|
+
|
|
17834
|
+
### detail
|
|
17835
|
+
|
|
17836
|
+
> **detail**: `object`
|
|
17837
|
+
|
|
17838
|
+
Defined in: [lib/control.ts:1590](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1590)
|
|
17839
|
+
|
|
17840
|
+
#### before
|
|
17841
|
+
|
|
17842
|
+
> **before**: `string`[]
|
|
17843
|
+
|
|
17844
|
+
#### value
|
|
17845
|
+
|
|
17846
|
+
> **value**: `string`[]
|
|
17847
|
+
|
|
17826
17848
|
lib/control/interfaces/ISelectItemclickedEvent.md
|
|
17827
17849
|
---
|
|
17828
17850
|
|
|
@@ -17897,39 +17919,6 @@ Defined in: [lib/control.ts:1604](https://github.com/maiyun/clickgo/blob/master/
|
|
|
17897
17919
|
|
|
17898
17920
|
> **value**: `string`
|
|
17899
17921
|
|
|
17900
|
-
lib/control/interfaces/ISelectRemovedEvent.md
|
|
17901
|
-
---
|
|
17902
|
-
|
|
17903
|
-
[**Documents for clickgo**](../../../index.md)
|
|
17904
|
-
|
|
17905
|
-
***
|
|
17906
|
-
|
|
17907
|
-
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / ISelectRemovedEvent
|
|
17908
|
-
|
|
17909
|
-
# Interface: ISelectRemovedEvent
|
|
17910
|
-
|
|
17911
|
-
Defined in: [lib/control.ts:1575](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1575)
|
|
17912
|
-
|
|
17913
|
-
## Properties
|
|
17914
|
-
|
|
17915
|
-
### detail
|
|
17916
|
-
|
|
17917
|
-
> **detail**: `object`
|
|
17918
|
-
|
|
17919
|
-
Defined in: [lib/control.ts:1576](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1576)
|
|
17920
|
-
|
|
17921
|
-
#### index
|
|
17922
|
-
|
|
17923
|
-
> **index**: `number`
|
|
17924
|
-
|
|
17925
|
-
#### mode
|
|
17926
|
-
|
|
17927
|
-
> **mode**: `"backspace"` \| `"tag"` \| `"list"`
|
|
17928
|
-
|
|
17929
|
-
#### value
|
|
17930
|
-
|
|
17931
|
-
> **value**: `string`
|
|
17932
|
-
|
|
17933
17922
|
lib/control/interfaces/ISelectRemoveEvent.md
|
|
17934
17923
|
---
|
|
17935
17924
|
|
|
@@ -17997,6 +17986,39 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
17997
17986
|
|
|
17998
17987
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
17999
17988
|
|
|
17989
|
+
lib/control/interfaces/ISelectRemovedEvent.md
|
|
17990
|
+
---
|
|
17991
|
+
|
|
17992
|
+
[**Documents for clickgo**](../../../index.md)
|
|
17993
|
+
|
|
17994
|
+
***
|
|
17995
|
+
|
|
17996
|
+
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / ISelectRemovedEvent
|
|
17997
|
+
|
|
17998
|
+
# Interface: ISelectRemovedEvent
|
|
17999
|
+
|
|
18000
|
+
Defined in: [lib/control.ts:1575](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1575)
|
|
18001
|
+
|
|
18002
|
+
## Properties
|
|
18003
|
+
|
|
18004
|
+
### detail
|
|
18005
|
+
|
|
18006
|
+
> **detail**: `object`
|
|
18007
|
+
|
|
18008
|
+
Defined in: [lib/control.ts:1576](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1576)
|
|
18009
|
+
|
|
18010
|
+
#### index
|
|
18011
|
+
|
|
18012
|
+
> **index**: `number`
|
|
18013
|
+
|
|
18014
|
+
#### mode
|
|
18015
|
+
|
|
18016
|
+
> **mode**: `"backspace"` \| `"tag"` \| `"list"`
|
|
18017
|
+
|
|
18018
|
+
#### value
|
|
18019
|
+
|
|
18020
|
+
> **value**: `string`
|
|
18021
|
+
|
|
18000
18022
|
lib/control/interfaces/ISelectTagclickEvent.md
|
|
18001
18023
|
---
|
|
18002
18024
|
|
|
@@ -18177,31 +18199,6 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
18177
18199
|
|
|
18178
18200
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
18179
18201
|
|
|
18180
|
-
lib/control/interfaces/ITabChangedEvent.md
|
|
18181
|
-
---
|
|
18182
|
-
|
|
18183
|
-
[**Documents for clickgo**](../../../index.md)
|
|
18184
|
-
|
|
18185
|
-
***
|
|
18186
|
-
|
|
18187
|
-
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / ITabChangedEvent
|
|
18188
|
-
|
|
18189
|
-
# Interface: ITabChangedEvent
|
|
18190
|
-
|
|
18191
|
-
Defined in: [lib/control.ts:1643](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1643)
|
|
18192
|
-
|
|
18193
|
-
## Properties
|
|
18194
|
-
|
|
18195
|
-
### detail
|
|
18196
|
-
|
|
18197
|
-
> **detail**: `object`
|
|
18198
|
-
|
|
18199
|
-
Defined in: [lib/control.ts:1644](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1644)
|
|
18200
|
-
|
|
18201
|
-
#### value
|
|
18202
|
-
|
|
18203
|
-
> **value**: `string`
|
|
18204
|
-
|
|
18205
18202
|
lib/control/interfaces/ITabChangeEvent.md
|
|
18206
18203
|
---
|
|
18207
18204
|
|
|
@@ -18261,6 +18258,31 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
|
|
|
18261
18258
|
|
|
18262
18259
|
[`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
|
|
18263
18260
|
|
|
18261
|
+
lib/control/interfaces/ITabChangedEvent.md
|
|
18262
|
+
---
|
|
18263
|
+
|
|
18264
|
+
[**Documents for clickgo**](../../../index.md)
|
|
18265
|
+
|
|
18266
|
+
***
|
|
18267
|
+
|
|
18268
|
+
[Documents for clickgo](../../../index.md) / [lib/control](../index.md) / ITabChangedEvent
|
|
18269
|
+
|
|
18270
|
+
# Interface: ITabChangedEvent
|
|
18271
|
+
|
|
18272
|
+
Defined in: [lib/control.ts:1643](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1643)
|
|
18273
|
+
|
|
18274
|
+
## Properties
|
|
18275
|
+
|
|
18276
|
+
### detail
|
|
18277
|
+
|
|
18278
|
+
> **detail**: `object`
|
|
18279
|
+
|
|
18280
|
+
Defined in: [lib/control.ts:1644](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1644)
|
|
18281
|
+
|
|
18282
|
+
#### value
|
|
18283
|
+
|
|
18284
|
+
> **value**: `string`
|
|
18285
|
+
|
|
18264
18286
|
lib/control/interfaces/ITabCloseEvent.md
|
|
18265
18287
|
---
|
|
18266
18288
|
|
|
@@ -20306,6 +20328,59 @@ lib/core/index.md
|
|
|
20306
20328
|
- [setBoot](functions/setBoot.md)
|
|
20307
20329
|
- [trigger](functions/trigger.md)
|
|
20308
20330
|
|
|
20331
|
+
lib/core/interfaces/IApp.md
|
|
20332
|
+
---
|
|
20333
|
+
|
|
20334
|
+
[**Documents for clickgo**](../../../index.md)
|
|
20335
|
+
|
|
20336
|
+
***
|
|
20337
|
+
|
|
20338
|
+
[Documents for clickgo](../../../index.md) / [lib/core](../index.md) / IApp
|
|
20339
|
+
|
|
20340
|
+
# Interface: IApp
|
|
20341
|
+
|
|
20342
|
+
Defined in: [lib/core.ts:1545](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1545)
|
|
20343
|
+
|
|
20344
|
+
应用包解包后对象
|
|
20345
|
+
|
|
20346
|
+
## Properties
|
|
20347
|
+
|
|
20348
|
+
### config
|
|
20349
|
+
|
|
20350
|
+
> **config**: [`IAppConfig`](IAppConfig.md)
|
|
20351
|
+
|
|
20352
|
+
Defined in: [lib/core.ts:1548](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1548)
|
|
20353
|
+
|
|
20354
|
+
控件对象配置文件
|
|
20355
|
+
|
|
20356
|
+
***
|
|
20357
|
+
|
|
20358
|
+
### icon
|
|
20359
|
+
|
|
20360
|
+
> **icon**: `string`
|
|
20361
|
+
|
|
20362
|
+
Defined in: [lib/core.ts:1550](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1550)
|
|
20363
|
+
|
|
20364
|
+
应用图标
|
|
20365
|
+
|
|
20366
|
+
***
|
|
20367
|
+
|
|
20368
|
+
### package
|
|
20369
|
+
|
|
20370
|
+
> **package**: [`IAppPackage`](IAppPackage.md)
|
|
20371
|
+
|
|
20372
|
+
Defined in: [lib/core.ts:1552](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1552)
|
|
20373
|
+
|
|
20374
|
+
新 CGA 的按需解密包读取器
|
|
20375
|
+
|
|
20376
|
+
***
|
|
20377
|
+
|
|
20378
|
+
### type
|
|
20379
|
+
|
|
20380
|
+
> **type**: `"app"`
|
|
20381
|
+
|
|
20382
|
+
Defined in: [lib/core.ts:1546](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1546)
|
|
20383
|
+
|
|
20309
20384
|
lib/core/interfaces/IAppConfig.md
|
|
20310
20385
|
---
|
|
20311
20386
|
|
|
@@ -20452,98 +20527,6 @@ Defined in: [lib/core.ts:1589](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20452
20527
|
|
|
20453
20528
|
发行版本字符串
|
|
20454
20529
|
|
|
20455
|
-
lib/core/interfaces/IApp.md
|
|
20456
|
-
---
|
|
20457
|
-
|
|
20458
|
-
[**Documents for clickgo**](../../../index.md)
|
|
20459
|
-
|
|
20460
|
-
***
|
|
20461
|
-
|
|
20462
|
-
[Documents for clickgo](../../../index.md) / [lib/core](../index.md) / IApp
|
|
20463
|
-
|
|
20464
|
-
# Interface: IApp
|
|
20465
|
-
|
|
20466
|
-
Defined in: [lib/core.ts:1545](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1545)
|
|
20467
|
-
|
|
20468
|
-
应用包解包后对象
|
|
20469
|
-
|
|
20470
|
-
## Properties
|
|
20471
|
-
|
|
20472
|
-
### config
|
|
20473
|
-
|
|
20474
|
-
> **config**: [`IAppConfig`](IAppConfig.md)
|
|
20475
|
-
|
|
20476
|
-
Defined in: [lib/core.ts:1548](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1548)
|
|
20477
|
-
|
|
20478
|
-
控件对象配置文件
|
|
20479
|
-
|
|
20480
|
-
***
|
|
20481
|
-
|
|
20482
|
-
### icon
|
|
20483
|
-
|
|
20484
|
-
> **icon**: `string`
|
|
20485
|
-
|
|
20486
|
-
Defined in: [lib/core.ts:1550](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1550)
|
|
20487
|
-
|
|
20488
|
-
应用图标
|
|
20489
|
-
|
|
20490
|
-
***
|
|
20491
|
-
|
|
20492
|
-
### package
|
|
20493
|
-
|
|
20494
|
-
> **package**: [`IAppPackage`](IAppPackage.md)
|
|
20495
|
-
|
|
20496
|
-
Defined in: [lib/core.ts:1552](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1552)
|
|
20497
|
-
|
|
20498
|
-
新 CGA 的按需解密包读取器
|
|
20499
|
-
|
|
20500
|
-
***
|
|
20501
|
-
|
|
20502
|
-
### type
|
|
20503
|
-
|
|
20504
|
-
> **type**: `"app"`
|
|
20505
|
-
|
|
20506
|
-
Defined in: [lib/core.ts:1546](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1546)
|
|
20507
|
-
|
|
20508
|
-
lib/core/interfaces/IAppPackageEntry.md
|
|
20509
|
-
---
|
|
20510
|
-
|
|
20511
|
-
[**Documents for clickgo**](../../../index.md)
|
|
20512
|
-
|
|
20513
|
-
***
|
|
20514
|
-
|
|
20515
|
-
[Documents for clickgo](../../../index.md) / [lib/core](../index.md) / IAppPackageEntry
|
|
20516
|
-
|
|
20517
|
-
# Interface: IAppPackageEntry
|
|
20518
|
-
|
|
20519
|
-
Defined in: [lib/core.ts:1556](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1556)
|
|
20520
|
-
|
|
20521
|
-
CGA 包内项目
|
|
20522
|
-
|
|
20523
|
-
## Properties
|
|
20524
|
-
|
|
20525
|
-
### isDirectory
|
|
20526
|
-
|
|
20527
|
-
> **isDirectory**: `boolean`
|
|
20528
|
-
|
|
20529
|
-
Defined in: [lib/core.ts:1557](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1557)
|
|
20530
|
-
|
|
20531
|
-
***
|
|
20532
|
-
|
|
20533
|
-
### isFile
|
|
20534
|
-
|
|
20535
|
-
> **isFile**: `boolean`
|
|
20536
|
-
|
|
20537
|
-
Defined in: [lib/core.ts:1558](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1558)
|
|
20538
|
-
|
|
20539
|
-
***
|
|
20540
|
-
|
|
20541
|
-
### name
|
|
20542
|
-
|
|
20543
|
-
> **name**: `string`
|
|
20544
|
-
|
|
20545
|
-
Defined in: [lib/core.ts:1559](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1559)
|
|
20546
|
-
|
|
20547
20530
|
lib/core/interfaces/IAppPackage.md
|
|
20548
20531
|
---
|
|
20549
20532
|
|
|
@@ -20625,6 +20608,45 @@ Defined in: [lib/core.ts:1572](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20625
20608
|
|
|
20626
20609
|
[`IAppPackageStats`](IAppPackageStats.md) \| `null`
|
|
20627
20610
|
|
|
20611
|
+
lib/core/interfaces/IAppPackageEntry.md
|
|
20612
|
+
---
|
|
20613
|
+
|
|
20614
|
+
[**Documents for clickgo**](../../../index.md)
|
|
20615
|
+
|
|
20616
|
+
***
|
|
20617
|
+
|
|
20618
|
+
[Documents for clickgo](../../../index.md) / [lib/core](../index.md) / IAppPackageEntry
|
|
20619
|
+
|
|
20620
|
+
# Interface: IAppPackageEntry
|
|
20621
|
+
|
|
20622
|
+
Defined in: [lib/core.ts:1556](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1556)
|
|
20623
|
+
|
|
20624
|
+
CGA 包内项目
|
|
20625
|
+
|
|
20626
|
+
## Properties
|
|
20627
|
+
|
|
20628
|
+
### isDirectory
|
|
20629
|
+
|
|
20630
|
+
> **isDirectory**: `boolean`
|
|
20631
|
+
|
|
20632
|
+
Defined in: [lib/core.ts:1557](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1557)
|
|
20633
|
+
|
|
20634
|
+
***
|
|
20635
|
+
|
|
20636
|
+
### isFile
|
|
20637
|
+
|
|
20638
|
+
> **isFile**: `boolean`
|
|
20639
|
+
|
|
20640
|
+
Defined in: [lib/core.ts:1558](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1558)
|
|
20641
|
+
|
|
20642
|
+
***
|
|
20643
|
+
|
|
20644
|
+
### name
|
|
20645
|
+
|
|
20646
|
+
> **name**: `string`
|
|
20647
|
+
|
|
20648
|
+
Defined in: [lib/core.ts:1559](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1559)
|
|
20649
|
+
|
|
20628
20650
|
lib/core/interfaces/IAppPackageStats.md
|
|
20629
20651
|
---
|
|
20630
20652
|
|
|
@@ -20727,77 +20749,6 @@ Defined in: [lib/core.ts:1513](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20727
20749
|
|
|
20728
20750
|
Defined in: [lib/core.ts:1514](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1514)
|
|
20729
20751
|
|
|
20730
|
-
lib/core/interfaces/IConfigLauncherItem.md
|
|
20731
|
-
---
|
|
20732
|
-
|
|
20733
|
-
[**Documents for clickgo**](../../../index.md)
|
|
20734
|
-
|
|
20735
|
-
***
|
|
20736
|
-
|
|
20737
|
-
[Documents for clickgo](../../../index.md) / [lib/core](../index.md) / IConfigLauncherItem
|
|
20738
|
-
|
|
20739
|
-
# Interface: IConfigLauncherItem
|
|
20740
|
-
|
|
20741
|
-
Defined in: [lib/core.ts:1502](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1502)
|
|
20742
|
-
|
|
20743
|
-
Launcher 的 item 对象
|
|
20744
|
-
|
|
20745
|
-
## Properties
|
|
20746
|
-
|
|
20747
|
-
### icon?
|
|
20748
|
-
|
|
20749
|
-
> `optional` **icon?**: `string`
|
|
20750
|
-
|
|
20751
|
-
Defined in: [lib/core.ts:1506](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1506)
|
|
20752
|
-
|
|
20753
|
-
***
|
|
20754
|
-
|
|
20755
|
-
### id?
|
|
20756
|
-
|
|
20757
|
-
> `optional` **id?**: `string`
|
|
20758
|
-
|
|
20759
|
-
Defined in: [lib/core.ts:1503](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1503)
|
|
20760
|
-
|
|
20761
|
-
***
|
|
20762
|
-
|
|
20763
|
-
### list?
|
|
20764
|
-
|
|
20765
|
-
> `optional` **list?**: `object`[]
|
|
20766
|
-
|
|
20767
|
-
Defined in: [lib/core.ts:1507](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1507)
|
|
20768
|
-
|
|
20769
|
-
#### icon
|
|
20770
|
-
|
|
20771
|
-
> **icon**: `string`
|
|
20772
|
-
|
|
20773
|
-
#### id?
|
|
20774
|
-
|
|
20775
|
-
> `optional` **id?**: `string`
|
|
20776
|
-
|
|
20777
|
-
#### name
|
|
20778
|
-
|
|
20779
|
-
> **name**: `string`
|
|
20780
|
-
|
|
20781
|
-
#### path
|
|
20782
|
-
|
|
20783
|
-
> **path**: `string`
|
|
20784
|
-
|
|
20785
|
-
***
|
|
20786
|
-
|
|
20787
|
-
### name
|
|
20788
|
-
|
|
20789
|
-
> **name**: `string`
|
|
20790
|
-
|
|
20791
|
-
Defined in: [lib/core.ts:1504](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1504)
|
|
20792
|
-
|
|
20793
|
-
***
|
|
20794
|
-
|
|
20795
|
-
### path?
|
|
20796
|
-
|
|
20797
|
-
> `optional` **path?**: `string`
|
|
20798
|
-
|
|
20799
|
-
Defined in: [lib/core.ts:1505](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1505)
|
|
20800
|
-
|
|
20801
20752
|
lib/core/interfaces/IConfig.md
|
|
20802
20753
|
---
|
|
20803
20754
|
|
|
@@ -20893,6 +20844,77 @@ Defined in: [lib/core.ts:1493](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20893
20844
|
|
|
20894
20845
|
Defined in: [lib/core.ts:1490](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1490)
|
|
20895
20846
|
|
|
20847
|
+
lib/core/interfaces/IConfigLauncherItem.md
|
|
20848
|
+
---
|
|
20849
|
+
|
|
20850
|
+
[**Documents for clickgo**](../../../index.md)
|
|
20851
|
+
|
|
20852
|
+
***
|
|
20853
|
+
|
|
20854
|
+
[Documents for clickgo](../../../index.md) / [lib/core](../index.md) / IConfigLauncherItem
|
|
20855
|
+
|
|
20856
|
+
# Interface: IConfigLauncherItem
|
|
20857
|
+
|
|
20858
|
+
Defined in: [lib/core.ts:1502](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1502)
|
|
20859
|
+
|
|
20860
|
+
Launcher 的 item 对象
|
|
20861
|
+
|
|
20862
|
+
## Properties
|
|
20863
|
+
|
|
20864
|
+
### icon?
|
|
20865
|
+
|
|
20866
|
+
> `optional` **icon?**: `string`
|
|
20867
|
+
|
|
20868
|
+
Defined in: [lib/core.ts:1506](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1506)
|
|
20869
|
+
|
|
20870
|
+
***
|
|
20871
|
+
|
|
20872
|
+
### id?
|
|
20873
|
+
|
|
20874
|
+
> `optional` **id?**: `string`
|
|
20875
|
+
|
|
20876
|
+
Defined in: [lib/core.ts:1503](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1503)
|
|
20877
|
+
|
|
20878
|
+
***
|
|
20879
|
+
|
|
20880
|
+
### list?
|
|
20881
|
+
|
|
20882
|
+
> `optional` **list?**: `object`[]
|
|
20883
|
+
|
|
20884
|
+
Defined in: [lib/core.ts:1507](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1507)
|
|
20885
|
+
|
|
20886
|
+
#### icon
|
|
20887
|
+
|
|
20888
|
+
> **icon**: `string`
|
|
20889
|
+
|
|
20890
|
+
#### id?
|
|
20891
|
+
|
|
20892
|
+
> `optional` **id?**: `string`
|
|
20893
|
+
|
|
20894
|
+
#### name
|
|
20895
|
+
|
|
20896
|
+
> **name**: `string`
|
|
20897
|
+
|
|
20898
|
+
#### path
|
|
20899
|
+
|
|
20900
|
+
> **path**: `string`
|
|
20901
|
+
|
|
20902
|
+
***
|
|
20903
|
+
|
|
20904
|
+
### name
|
|
20905
|
+
|
|
20906
|
+
> **name**: `string`
|
|
20907
|
+
|
|
20908
|
+
Defined in: [lib/core.ts:1504](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1504)
|
|
20909
|
+
|
|
20910
|
+
***
|
|
20911
|
+
|
|
20912
|
+
### path?
|
|
20913
|
+
|
|
20914
|
+
> `optional` **path?**: `string`
|
|
20915
|
+
|
|
20916
|
+
Defined in: [lib/core.ts:1505](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1505)
|
|
20917
|
+
|
|
20896
20918
|
lib/core/interfaces/ICoreFetchAppOptions.md
|
|
20897
20919
|
---
|
|
20898
20920
|
|
|
@@ -21340,115 +21362,6 @@ Defined in: [lib/core.ts:1643](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21340
21362
|
|
|
21341
21363
|
Defined in: [lib/core.ts:1644](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1644)
|
|
21342
21364
|
|
|
21343
|
-
lib/core/interfaces/IVueConfig.md
|
|
21344
|
-
---
|
|
21345
|
-
|
|
21346
|
-
[**Documents for clickgo**](../../../index.md)
|
|
21347
|
-
|
|
21348
|
-
***
|
|
21349
|
-
|
|
21350
|
-
[Documents for clickgo](../../../index.md) / [lib/core](../index.md) / IVueConfig
|
|
21351
|
-
|
|
21352
|
-
# Interface: IVueConfig
|
|
21353
|
-
|
|
21354
|
-
Defined in: [lib/core.ts:1665](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1665)
|
|
21355
|
-
|
|
21356
|
-
Vue 配置
|
|
21357
|
-
|
|
21358
|
-
## Properties
|
|
21359
|
-
|
|
21360
|
-
### globalProperties
|
|
21361
|
-
|
|
21362
|
-
> **globalProperties**: `Record`\<`string`, `any`\>
|
|
21363
|
-
|
|
21364
|
-
Defined in: [lib/core.ts:1667](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1667)
|
|
21365
|
-
|
|
21366
|
-
***
|
|
21367
|
-
|
|
21368
|
-
### optionMergeStrategies
|
|
21369
|
-
|
|
21370
|
-
> **optionMergeStrategies**: `Record`\<`string`, [`IVueOptionMergeFunction`](../type-aliases/IVueOptionMergeFunction.md)\>
|
|
21371
|
-
|
|
21372
|
-
Defined in: [lib/core.ts:1669](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1669)
|
|
21373
|
-
|
|
21374
|
-
***
|
|
21375
|
-
|
|
21376
|
-
### performance
|
|
21377
|
-
|
|
21378
|
-
> **performance**: `boolean`
|
|
21379
|
-
|
|
21380
|
-
Defined in: [lib/core.ts:1670](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1670)
|
|
21381
|
-
|
|
21382
|
-
## Methods
|
|
21383
|
-
|
|
21384
|
-
### errorHandler()?
|
|
21385
|
-
|
|
21386
|
-
> `optional` **errorHandler**(`err`, `instance`, `info`): `void`
|
|
21387
|
-
|
|
21388
|
-
Defined in: [lib/core.ts:1666](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1666)
|
|
21389
|
-
|
|
21390
|
-
#### Parameters
|
|
21391
|
-
|
|
21392
|
-
##### err
|
|
21393
|
-
|
|
21394
|
-
`unknown`
|
|
21395
|
-
|
|
21396
|
-
##### instance
|
|
21397
|
-
|
|
21398
|
-
[`IVue`](IVue.md) \| `null`
|
|
21399
|
-
|
|
21400
|
-
##### info
|
|
21401
|
-
|
|
21402
|
-
`string`
|
|
21403
|
-
|
|
21404
|
-
#### Returns
|
|
21405
|
-
|
|
21406
|
-
`void`
|
|
21407
|
-
|
|
21408
|
-
***
|
|
21409
|
-
|
|
21410
|
-
### isCustomElement()
|
|
21411
|
-
|
|
21412
|
-
> **isCustomElement**(`tag`): `boolean`
|
|
21413
|
-
|
|
21414
|
-
Defined in: [lib/core.ts:1668](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1668)
|
|
21415
|
-
|
|
21416
|
-
#### Parameters
|
|
21417
|
-
|
|
21418
|
-
##### tag
|
|
21419
|
-
|
|
21420
|
-
`string`
|
|
21421
|
-
|
|
21422
|
-
#### Returns
|
|
21423
|
-
|
|
21424
|
-
`boolean`
|
|
21425
|
-
|
|
21426
|
-
***
|
|
21427
|
-
|
|
21428
|
-
### warnHandler()?
|
|
21429
|
-
|
|
21430
|
-
> `optional` **warnHandler**(`msg`, `instance`, `trace`): `void`
|
|
21431
|
-
|
|
21432
|
-
Defined in: [lib/core.ts:1671](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1671)
|
|
21433
|
-
|
|
21434
|
-
#### Parameters
|
|
21435
|
-
|
|
21436
|
-
##### msg
|
|
21437
|
-
|
|
21438
|
-
`string`
|
|
21439
|
-
|
|
21440
|
-
##### instance
|
|
21441
|
-
|
|
21442
|
-
[`IVue`](IVue.md) \| `null`
|
|
21443
|
-
|
|
21444
|
-
##### trace
|
|
21445
|
-
|
|
21446
|
-
`string`
|
|
21447
|
-
|
|
21448
|
-
#### Returns
|
|
21449
|
-
|
|
21450
|
-
`void`
|
|
21451
|
-
|
|
21452
21365
|
lib/core/interfaces/IVue.md
|
|
21453
21366
|
---
|
|
21454
21367
|
|
|
@@ -21626,6 +21539,115 @@ Defined in: [lib/core.ts:1619](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21626
21539
|
|
|
21627
21540
|
`Promise`\<`void`\>
|
|
21628
21541
|
|
|
21542
|
+
lib/core/interfaces/IVueConfig.md
|
|
21543
|
+
---
|
|
21544
|
+
|
|
21545
|
+
[**Documents for clickgo**](../../../index.md)
|
|
21546
|
+
|
|
21547
|
+
***
|
|
21548
|
+
|
|
21549
|
+
[Documents for clickgo](../../../index.md) / [lib/core](../index.md) / IVueConfig
|
|
21550
|
+
|
|
21551
|
+
# Interface: IVueConfig
|
|
21552
|
+
|
|
21553
|
+
Defined in: [lib/core.ts:1665](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1665)
|
|
21554
|
+
|
|
21555
|
+
Vue 配置
|
|
21556
|
+
|
|
21557
|
+
## Properties
|
|
21558
|
+
|
|
21559
|
+
### globalProperties
|
|
21560
|
+
|
|
21561
|
+
> **globalProperties**: `Record`\<`string`, `any`\>
|
|
21562
|
+
|
|
21563
|
+
Defined in: [lib/core.ts:1667](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1667)
|
|
21564
|
+
|
|
21565
|
+
***
|
|
21566
|
+
|
|
21567
|
+
### optionMergeStrategies
|
|
21568
|
+
|
|
21569
|
+
> **optionMergeStrategies**: `Record`\<`string`, [`IVueOptionMergeFunction`](../type-aliases/IVueOptionMergeFunction.md)\>
|
|
21570
|
+
|
|
21571
|
+
Defined in: [lib/core.ts:1669](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1669)
|
|
21572
|
+
|
|
21573
|
+
***
|
|
21574
|
+
|
|
21575
|
+
### performance
|
|
21576
|
+
|
|
21577
|
+
> **performance**: `boolean`
|
|
21578
|
+
|
|
21579
|
+
Defined in: [lib/core.ts:1670](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1670)
|
|
21580
|
+
|
|
21581
|
+
## Methods
|
|
21582
|
+
|
|
21583
|
+
### errorHandler()?
|
|
21584
|
+
|
|
21585
|
+
> `optional` **errorHandler**(`err`, `instance`, `info`): `void`
|
|
21586
|
+
|
|
21587
|
+
Defined in: [lib/core.ts:1666](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1666)
|
|
21588
|
+
|
|
21589
|
+
#### Parameters
|
|
21590
|
+
|
|
21591
|
+
##### err
|
|
21592
|
+
|
|
21593
|
+
`unknown`
|
|
21594
|
+
|
|
21595
|
+
##### instance
|
|
21596
|
+
|
|
21597
|
+
[`IVue`](IVue.md) \| `null`
|
|
21598
|
+
|
|
21599
|
+
##### info
|
|
21600
|
+
|
|
21601
|
+
`string`
|
|
21602
|
+
|
|
21603
|
+
#### Returns
|
|
21604
|
+
|
|
21605
|
+
`void`
|
|
21606
|
+
|
|
21607
|
+
***
|
|
21608
|
+
|
|
21609
|
+
### isCustomElement()
|
|
21610
|
+
|
|
21611
|
+
> **isCustomElement**(`tag`): `boolean`
|
|
21612
|
+
|
|
21613
|
+
Defined in: [lib/core.ts:1668](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1668)
|
|
21614
|
+
|
|
21615
|
+
#### Parameters
|
|
21616
|
+
|
|
21617
|
+
##### tag
|
|
21618
|
+
|
|
21619
|
+
`string`
|
|
21620
|
+
|
|
21621
|
+
#### Returns
|
|
21622
|
+
|
|
21623
|
+
`boolean`
|
|
21624
|
+
|
|
21625
|
+
***
|
|
21626
|
+
|
|
21627
|
+
### warnHandler()?
|
|
21628
|
+
|
|
21629
|
+
> `optional` **warnHandler**(`msg`, `instance`, `trace`): `void`
|
|
21630
|
+
|
|
21631
|
+
Defined in: [lib/core.ts:1671](https://github.com/maiyun/clickgo/blob/master/dist/lib/core.ts#L1671)
|
|
21632
|
+
|
|
21633
|
+
#### Parameters
|
|
21634
|
+
|
|
21635
|
+
##### msg
|
|
21636
|
+
|
|
21637
|
+
`string`
|
|
21638
|
+
|
|
21639
|
+
##### instance
|
|
21640
|
+
|
|
21641
|
+
[`IVue`](IVue.md) \| `null`
|
|
21642
|
+
|
|
21643
|
+
##### trace
|
|
21644
|
+
|
|
21645
|
+
`string`
|
|
21646
|
+
|
|
21647
|
+
#### Returns
|
|
21648
|
+
|
|
21649
|
+
`void`
|
|
21650
|
+
|
|
21629
21651
|
lib/core/interfaces/IVueObject.md
|
|
21630
21652
|
---
|
|
21631
21653
|
|
|
@@ -22491,6 +22513,35 @@ Defined in: [lib/dom.ts:598](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
22491
22513
|
|
|
22492
22514
|
`number`
|
|
22493
22515
|
|
|
22516
|
+
lib/dom/functions/inPage.md
|
|
22517
|
+
---
|
|
22518
|
+
|
|
22519
|
+
[**Documents for clickgo**](../../../index.md)
|
|
22520
|
+
|
|
22521
|
+
***
|
|
22522
|
+
|
|
22523
|
+
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) / inPage
|
|
22524
|
+
|
|
22525
|
+
# Function: inPage()
|
|
22526
|
+
|
|
22527
|
+
> **inPage**(`el`): `boolean`
|
|
22528
|
+
|
|
22529
|
+
Defined in: [lib/dom.ts:78](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L78)
|
|
22530
|
+
|
|
22531
|
+
判断一个元素是否还存在于页面当中
|
|
22532
|
+
|
|
22533
|
+
## Parameters
|
|
22534
|
+
|
|
22535
|
+
### el
|
|
22536
|
+
|
|
22537
|
+
`HTMLElement`
|
|
22538
|
+
|
|
22539
|
+
要判断的元素
|
|
22540
|
+
|
|
22541
|
+
## Returns
|
|
22542
|
+
|
|
22543
|
+
`boolean`
|
|
22544
|
+
|
|
22494
22545
|
lib/dom/functions/index.md
|
|
22495
22546
|
---
|
|
22496
22547
|
|
|
@@ -22568,35 +22619,6 @@ Defined in: [lib/dom.ts:29](https://github.com/maiyun/clickgo/blob/master/dist/l
|
|
|
22568
22619
|
|
|
22569
22620
|
`void`
|
|
22570
22621
|
|
|
22571
|
-
lib/dom/functions/inPage.md
|
|
22572
|
-
---
|
|
22573
|
-
|
|
22574
|
-
[**Documents for clickgo**](../../../index.md)
|
|
22575
|
-
|
|
22576
|
-
***
|
|
22577
|
-
|
|
22578
|
-
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) / inPage
|
|
22579
|
-
|
|
22580
|
-
# Function: inPage()
|
|
22581
|
-
|
|
22582
|
-
> **inPage**(`el`): `boolean`
|
|
22583
|
-
|
|
22584
|
-
Defined in: [lib/dom.ts:78](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L78)
|
|
22585
|
-
|
|
22586
|
-
判断一个元素是否还存在于页面当中
|
|
22587
|
-
|
|
22588
|
-
## Parameters
|
|
22589
|
-
|
|
22590
|
-
### el
|
|
22591
|
-
|
|
22592
|
-
`HTMLElement`
|
|
22593
|
-
|
|
22594
|
-
要判断的元素
|
|
22595
|
-
|
|
22596
|
-
## Returns
|
|
22597
|
-
|
|
22598
|
-
`boolean`
|
|
22599
|
-
|
|
22600
22622
|
lib/dom/functions/isRtl.md
|
|
22601
22623
|
---
|
|
22602
22624
|
|
|
@@ -23032,22 +23054,22 @@ Defined in: [lib/dom.ts:154](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
23032
23054
|
|
|
23033
23055
|
`void`
|
|
23034
23056
|
|
|
23035
|
-
lib/dom/functions/
|
|
23057
|
+
lib/dom/functions/siblings.md
|
|
23036
23058
|
---
|
|
23037
23059
|
|
|
23038
23060
|
[**Documents for clickgo**](../../../index.md)
|
|
23039
23061
|
|
|
23040
23062
|
***
|
|
23041
23063
|
|
|
23042
|
-
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) /
|
|
23064
|
+
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) / siblings
|
|
23043
23065
|
|
|
23044
|
-
# Function:
|
|
23066
|
+
# Function: siblings()
|
|
23045
23067
|
|
|
23046
|
-
> **
|
|
23068
|
+
> **siblings**(`el`): `HTMLElement`[]
|
|
23047
23069
|
|
|
23048
|
-
Defined in: [lib/dom.ts:
|
|
23070
|
+
Defined in: [lib/dom.ts:1815](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1815)
|
|
23049
23071
|
|
|
23050
|
-
查找指定 el
|
|
23072
|
+
查找指定 el 的同级所有元素
|
|
23051
23073
|
|
|
23052
23074
|
## Parameters
|
|
23053
23075
|
|
|
@@ -23057,34 +23079,28 @@ Defined in: [lib/dom.ts:1836](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
23057
23079
|
|
|
23058
23080
|
基准
|
|
23059
23081
|
|
|
23060
|
-
### name
|
|
23061
|
-
|
|
23062
|
-
`string`
|
|
23063
|
-
|
|
23064
|
-
data 名,不含 data-
|
|
23065
|
-
|
|
23066
23082
|
## Returns
|
|
23067
23083
|
|
|
23068
23084
|
`HTMLElement`[]
|
|
23069
23085
|
|
|
23070
23086
|
HTMLElement[]
|
|
23071
23087
|
|
|
23072
|
-
lib/dom/functions/
|
|
23088
|
+
lib/dom/functions/siblingsData.md
|
|
23073
23089
|
---
|
|
23074
23090
|
|
|
23075
23091
|
[**Documents for clickgo**](../../../index.md)
|
|
23076
23092
|
|
|
23077
23093
|
***
|
|
23078
23094
|
|
|
23079
|
-
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) /
|
|
23095
|
+
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) / siblingsData
|
|
23080
23096
|
|
|
23081
|
-
# Function:
|
|
23097
|
+
# Function: siblingsData()
|
|
23082
23098
|
|
|
23083
|
-
> **
|
|
23099
|
+
> **siblingsData**(`el`, `name`): `HTMLElement`[]
|
|
23084
23100
|
|
|
23085
|
-
Defined in: [lib/dom.ts:
|
|
23101
|
+
Defined in: [lib/dom.ts:1836](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L1836)
|
|
23086
23102
|
|
|
23087
|
-
查找指定 el
|
|
23103
|
+
查找指定 el 的同级的存在 data 的元素
|
|
23088
23104
|
|
|
23089
23105
|
## Parameters
|
|
23090
23106
|
|
|
@@ -23094,6 +23110,12 @@ Defined in: [lib/dom.ts:1815](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
23094
23110
|
|
|
23095
23111
|
基准
|
|
23096
23112
|
|
|
23113
|
+
### name
|
|
23114
|
+
|
|
23115
|
+
`string`
|
|
23116
|
+
|
|
23117
|
+
data 名,不含 data-
|
|
23118
|
+
|
|
23097
23119
|
## Returns
|
|
23098
23120
|
|
|
23099
23121
|
`HTMLElement`[]
|
|
@@ -23999,37 +24021,37 @@ Defined in: [lib/dom.ts:2344](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
23999
24021
|
|
|
24000
24022
|
> **taskId**: `string`
|
|
24001
24023
|
|
|
24002
|
-
lib/dom/type-aliases/
|
|
24024
|
+
lib/dom/type-aliases/TDomBorder.md
|
|
24003
24025
|
---
|
|
24004
24026
|
|
|
24005
24027
|
[**Documents for clickgo**](../../../index.md)
|
|
24006
24028
|
|
|
24007
24029
|
***
|
|
24008
24030
|
|
|
24009
|
-
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) /
|
|
24031
|
+
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) / TDomBorder
|
|
24010
24032
|
|
|
24011
|
-
# Type Alias:
|
|
24033
|
+
# Type Alias: TDomBorder
|
|
24012
24034
|
|
|
24013
|
-
> **
|
|
24035
|
+
> **TDomBorder** = `"lt"` \| `"t"` \| `"tr"` \| `"r"` \| `"rb"` \| `"b"` \| `"bl"` \| `"l"` \| `""`
|
|
24014
24036
|
|
|
24015
|
-
Defined in: [lib/dom.ts:
|
|
24037
|
+
Defined in: [lib/dom.ts:2295](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2295)
|
|
24016
24038
|
|
|
24017
|
-
|
|
24039
|
+
方向类型,从左上开始
|
|
24040
|
+
|
|
24041
|
+
lib/dom/type-aliases/TDomBorderCustom.md
|
|
24018
24042
|
---
|
|
24019
24043
|
|
|
24020
24044
|
[**Documents for clickgo**](../../../index.md)
|
|
24021
24045
|
|
|
24022
24046
|
***
|
|
24023
24047
|
|
|
24024
|
-
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) /
|
|
24025
|
-
|
|
24026
|
-
# Type Alias: TDomBorder
|
|
24048
|
+
[Documents for clickgo](../../../index.md) / [lib/dom](../index.md) / TDomBorderCustom
|
|
24027
24049
|
|
|
24028
|
-
|
|
24050
|
+
# Type Alias: TDomBorderCustom
|
|
24029
24051
|
|
|
24030
|
-
|
|
24052
|
+
> **TDomBorderCustom** = [`TDomBorder`](TDomBorder.md) \| \{ `height?`: `number`; `left`: `number`; `top?`: `number`; `width`: `number`; \}
|
|
24031
24053
|
|
|
24032
|
-
|
|
24054
|
+
Defined in: [lib/dom.ts:2297](https://github.com/maiyun/clickgo/blob/master/dist/lib/dom.ts#L2297)
|
|
24033
24055
|
|
|
24034
24056
|
lib/dom/type-aliases/TWatchStyleCallback.md
|
|
24035
24057
|
---
|
|
@@ -28144,51 +28166,51 @@ Defined in: [lib/form/dialog.ts:116](https://github.com/maiyun/clickgo/blob/mast
|
|
|
28144
28166
|
|
|
28145
28167
|
验证是否通过
|
|
28146
28168
|
|
|
28147
|
-
lib/form/functions/
|
|
28169
|
+
lib/form/functions/changeFocus.md
|
|
28148
28170
|
---
|
|
28149
28171
|
|
|
28150
28172
|
[**Documents for clickgo**](../../../index.md)
|
|
28151
28173
|
|
|
28152
28174
|
***
|
|
28153
28175
|
|
|
28154
|
-
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) /
|
|
28176
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / changeFocus
|
|
28155
28177
|
|
|
28156
|
-
# Function:
|
|
28178
|
+
# Function: changeFocus()
|
|
28157
28179
|
|
|
28158
|
-
> **
|
|
28180
|
+
> **changeFocus**(`formId?`): `Promise`\<`void`\>
|
|
28159
28181
|
|
|
28160
|
-
Defined in: [lib/form/window.ts:
|
|
28182
|
+
Defined in: [lib/form/window.ts:364](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L364)
|
|
28161
28183
|
|
|
28162
|
-
|
|
28184
|
+
改变 form 的焦点 class
|
|
28185
|
+
|
|
28186
|
+
## Parameters
|
|
28187
|
+
|
|
28188
|
+
### formId?
|
|
28189
|
+
|
|
28190
|
+
`string` = `''`
|
|
28191
|
+
|
|
28192
|
+
变更后的 form id
|
|
28163
28193
|
|
|
28164
28194
|
## Returns
|
|
28165
28195
|
|
|
28166
28196
|
`Promise`\<`void`\>
|
|
28167
28197
|
|
|
28168
|
-
lib/form/functions/
|
|
28198
|
+
lib/form/functions/changeFocusMaxZIndex.md
|
|
28169
28199
|
---
|
|
28170
28200
|
|
|
28171
28201
|
[**Documents for clickgo**](../../../index.md)
|
|
28172
28202
|
|
|
28173
28203
|
***
|
|
28174
28204
|
|
|
28175
|
-
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) /
|
|
28176
|
-
|
|
28177
|
-
# Function: changeFocus()
|
|
28178
|
-
|
|
28179
|
-
> **changeFocus**(`formId?`): `Promise`\<`void`\>
|
|
28180
|
-
|
|
28181
|
-
Defined in: [lib/form/window.ts:364](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L364)
|
|
28182
|
-
|
|
28183
|
-
改变 form 的焦点 class
|
|
28205
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / changeFocusMaxZIndex
|
|
28184
28206
|
|
|
28185
|
-
|
|
28207
|
+
# Function: changeFocusMaxZIndex()
|
|
28186
28208
|
|
|
28187
|
-
|
|
28209
|
+
> **changeFocusMaxZIndex**(): `Promise`\<`void`\>
|
|
28188
28210
|
|
|
28189
|
-
|
|
28211
|
+
Defined in: [lib/form/window.ts:483](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L483)
|
|
28190
28212
|
|
|
28191
|
-
|
|
28213
|
+
让最大的 z index 窗体获取焦点(不含 top 和最小化的)
|
|
28192
28214
|
|
|
28193
28215
|
## Returns
|
|
28194
28216
|
|
|
@@ -28487,6 +28509,35 @@ Defined in: [lib/form/window.ts:514](https://github.com/maiyun/clickgo/blob/mast
|
|
|
28487
28509
|
|
|
28488
28510
|
`Promise`\<`void`\>
|
|
28489
28511
|
|
|
28512
|
+
lib/form/functions/get.md
|
|
28513
|
+
---
|
|
28514
|
+
|
|
28515
|
+
[**Documents for clickgo**](../../../index.md)
|
|
28516
|
+
|
|
28517
|
+
***
|
|
28518
|
+
|
|
28519
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / get
|
|
28520
|
+
|
|
28521
|
+
# Function: get()
|
|
28522
|
+
|
|
28523
|
+
> **get**(`formId`): [`IFormInfo`](../interfaces/IFormInfo.md) \| `null`
|
|
28524
|
+
|
|
28525
|
+
Defined in: [lib/form/window.ts:148](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L148)
|
|
28526
|
+
|
|
28527
|
+
获取窗体信息
|
|
28528
|
+
|
|
28529
|
+
## Parameters
|
|
28530
|
+
|
|
28531
|
+
### formId
|
|
28532
|
+
|
|
28533
|
+
`string`
|
|
28534
|
+
|
|
28535
|
+
窗体 id
|
|
28536
|
+
|
|
28537
|
+
## Returns
|
|
28538
|
+
|
|
28539
|
+
[`IFormInfo`](../interfaces/IFormInfo.md) \| `null`
|
|
28540
|
+
|
|
28490
28541
|
lib/form/functions/getActivePanel.md
|
|
28491
28542
|
---
|
|
28492
28543
|
|
|
@@ -28657,35 +28708,6 @@ Defined in: [lib/form/window.ts:431](https://github.com/maiyun/clickgo/blob/mast
|
|
|
28657
28708
|
|
|
28658
28709
|
`Promise`\<`string` \| `null`\>
|
|
28659
28710
|
|
|
28660
|
-
lib/form/functions/get.md
|
|
28661
|
-
---
|
|
28662
|
-
|
|
28663
|
-
[**Documents for clickgo**](../../../index.md)
|
|
28664
|
-
|
|
28665
|
-
***
|
|
28666
|
-
|
|
28667
|
-
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / get
|
|
28668
|
-
|
|
28669
|
-
# Function: get()
|
|
28670
|
-
|
|
28671
|
-
> **get**(`formId`): [`IFormInfo`](../interfaces/IFormInfo.md) \| `null`
|
|
28672
|
-
|
|
28673
|
-
Defined in: [lib/form/window.ts:148](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L148)
|
|
28674
|
-
|
|
28675
|
-
获取窗体信息
|
|
28676
|
-
|
|
28677
|
-
## Parameters
|
|
28678
|
-
|
|
28679
|
-
### formId
|
|
28680
|
-
|
|
28681
|
-
`string`
|
|
28682
|
-
|
|
28683
|
-
窗体 id
|
|
28684
|
-
|
|
28685
|
-
## Returns
|
|
28686
|
-
|
|
28687
|
-
[`IFormInfo`](../interfaces/IFormInfo.md) \| `null`
|
|
28688
|
-
|
|
28689
28711
|
lib/form/functions/getRectByBorder.md
|
|
28690
28712
|
---
|
|
28691
28713
|
|
|
@@ -28768,22 +28790,22 @@ Defined in: [lib/form/window.ts:131](https://github.com/maiyun/clickgo/blob/mast
|
|
|
28768
28790
|
|
|
28769
28791
|
`string`
|
|
28770
28792
|
|
|
28771
|
-
lib/form/functions/
|
|
28793
|
+
lib/form/functions/hash.md
|
|
28772
28794
|
---
|
|
28773
28795
|
|
|
28774
28796
|
[**Documents for clickgo**](../../../index.md)
|
|
28775
28797
|
|
|
28776
28798
|
***
|
|
28777
28799
|
|
|
28778
|
-
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) /
|
|
28800
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / hash
|
|
28779
28801
|
|
|
28780
|
-
# Function:
|
|
28802
|
+
# Function: hash()
|
|
28781
28803
|
|
|
28782
|
-
> **
|
|
28804
|
+
> **hash**(`formId`, `hash`): `boolean`
|
|
28783
28805
|
|
|
28784
|
-
Defined in: [lib/form/window.ts:
|
|
28806
|
+
Defined in: [lib/form/window.ts:304](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L304)
|
|
28785
28807
|
|
|
28786
|
-
|
|
28808
|
+
修改窗体 hash
|
|
28787
28809
|
|
|
28788
28810
|
## Parameters
|
|
28789
28811
|
|
|
@@ -28791,26 +28813,34 @@ Defined in: [lib/form/window.ts:343](https://github.com/maiyun/clickgo/blob/mast
|
|
|
28791
28813
|
|
|
28792
28814
|
`string`
|
|
28793
28815
|
|
|
28816
|
+
要修改的窗体 ID
|
|
28817
|
+
|
|
28818
|
+
### hash
|
|
28819
|
+
|
|
28820
|
+
`string`
|
|
28821
|
+
|
|
28822
|
+
修改的值,不含 #
|
|
28823
|
+
|
|
28794
28824
|
## Returns
|
|
28795
28825
|
|
|
28796
|
-
`
|
|
28826
|
+
`boolean`
|
|
28797
28827
|
|
|
28798
|
-
lib/form/functions/
|
|
28828
|
+
lib/form/functions/hashBack.md
|
|
28799
28829
|
---
|
|
28800
28830
|
|
|
28801
28831
|
[**Documents for clickgo**](../../../index.md)
|
|
28802
28832
|
|
|
28803
28833
|
***
|
|
28804
28834
|
|
|
28805
|
-
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) /
|
|
28835
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / hashBack
|
|
28806
28836
|
|
|
28807
|
-
# Function:
|
|
28837
|
+
# Function: hashBack()
|
|
28808
28838
|
|
|
28809
|
-
> **
|
|
28839
|
+
> **hashBack**(`formId`): `Promise`\<`boolean`\>
|
|
28810
28840
|
|
|
28811
|
-
Defined in: [lib/form/window.ts:
|
|
28841
|
+
Defined in: [lib/form/window.ts:343](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L343)
|
|
28812
28842
|
|
|
28813
|
-
|
|
28843
|
+
将窗体的 hash 退回上一个
|
|
28814
28844
|
|
|
28815
28845
|
## Parameters
|
|
28816
28846
|
|
|
@@ -28818,17 +28848,9 @@ Defined in: [lib/form/window.ts:304](https://github.com/maiyun/clickgo/blob/mast
|
|
|
28818
28848
|
|
|
28819
28849
|
`string`
|
|
28820
28850
|
|
|
28821
|
-
要修改的窗体 ID
|
|
28822
|
-
|
|
28823
|
-
### hash
|
|
28824
|
-
|
|
28825
|
-
`string`
|
|
28826
|
-
|
|
28827
|
-
修改的值,不含 #
|
|
28828
|
-
|
|
28829
28851
|
## Returns
|
|
28830
28852
|
|
|
28831
|
-
`boolean
|
|
28853
|
+
`Promise`\<`boolean`\>
|
|
28832
28854
|
|
|
28833
28855
|
lib/form/functions/hideKeyboard.md
|
|
28834
28856
|
---
|
|
@@ -29131,73 +29153,73 @@ Defined in: [lib/form/effects.ts:45](https://github.com/maiyun/clickgo/blob/mast
|
|
|
29131
29153
|
|
|
29132
29154
|
无返回值
|
|
29133
29155
|
|
|
29134
|
-
lib/form/functions/
|
|
29156
|
+
lib/form/functions/notify.md
|
|
29135
29157
|
---
|
|
29136
29158
|
|
|
29137
29159
|
[**Documents for clickgo**](../../../index.md)
|
|
29138
29160
|
|
|
29139
29161
|
***
|
|
29140
29162
|
|
|
29141
|
-
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) /
|
|
29163
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / notify
|
|
29142
29164
|
|
|
29143
|
-
# Function:
|
|
29165
|
+
# Function: notify()
|
|
29144
29166
|
|
|
29145
|
-
> **
|
|
29167
|
+
> **notify**(`opt`): `number`
|
|
29146
29168
|
|
|
29147
|
-
Defined in: [lib/form/notification.ts:
|
|
29169
|
+
Defined in: [lib/form/notification.ts:42](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/notification.ts#L42)
|
|
29148
29170
|
|
|
29149
|
-
|
|
29171
|
+
弹出右下角信息框
|
|
29150
29172
|
|
|
29151
29173
|
## Parameters
|
|
29152
29174
|
|
|
29153
|
-
### notifyId
|
|
29154
|
-
|
|
29155
|
-
`number`
|
|
29156
|
-
|
|
29157
|
-
notify id
|
|
29158
|
-
|
|
29159
29175
|
### opt
|
|
29160
29176
|
|
|
29161
|
-
[`
|
|
29177
|
+
[`INotifyOptions`](../interfaces/INotifyOptions.md)
|
|
29162
29178
|
|
|
29163
|
-
|
|
29179
|
+
timeout 默认 5 秒,最大 10 分钟
|
|
29164
29180
|
|
|
29165
29181
|
## Returns
|
|
29166
29182
|
|
|
29167
|
-
`
|
|
29183
|
+
`number`
|
|
29168
29184
|
|
|
29169
|
-
|
|
29185
|
+
notify id,一定大于 0
|
|
29170
29186
|
|
|
29171
|
-
lib/form/functions/
|
|
29187
|
+
lib/form/functions/notifyContent.md
|
|
29172
29188
|
---
|
|
29173
29189
|
|
|
29174
29190
|
[**Documents for clickgo**](../../../index.md)
|
|
29175
29191
|
|
|
29176
29192
|
***
|
|
29177
29193
|
|
|
29178
|
-
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) /
|
|
29194
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / notifyContent
|
|
29179
29195
|
|
|
29180
|
-
# Function:
|
|
29196
|
+
# Function: notifyContent()
|
|
29181
29197
|
|
|
29182
|
-
> **
|
|
29198
|
+
> **notifyContent**(`notifyId`, `opt`): `void`
|
|
29183
29199
|
|
|
29184
|
-
Defined in: [lib/form/notification.ts:
|
|
29200
|
+
Defined in: [lib/form/notification.ts:62](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/notification.ts#L62)
|
|
29185
29201
|
|
|
29186
|
-
|
|
29202
|
+
修改 notify 的提示信息
|
|
29187
29203
|
|
|
29188
29204
|
## Parameters
|
|
29189
29205
|
|
|
29206
|
+
### notifyId
|
|
29207
|
+
|
|
29208
|
+
`number`
|
|
29209
|
+
|
|
29210
|
+
notify id
|
|
29211
|
+
|
|
29190
29212
|
### opt
|
|
29191
29213
|
|
|
29192
|
-
[`
|
|
29214
|
+
[`INotifyContentOptions`](../interfaces/INotifyContentOptions.md)
|
|
29193
29215
|
|
|
29194
|
-
timeout
|
|
29216
|
+
参数,timeout 只能缩短通知存续时间
|
|
29195
29217
|
|
|
29196
29218
|
## Returns
|
|
29197
29219
|
|
|
29198
|
-
`
|
|
29220
|
+
`void`
|
|
29199
29221
|
|
|
29200
|
-
|
|
29222
|
+
无返回值
|
|
29201
29223
|
|
|
29202
29224
|
lib/form/functions/notifyProgress.md
|
|
29203
29225
|
---
|
|
@@ -29346,6 +29368,35 @@ Defined in: [lib/form/notification.ts:33](https://github.com/maiyun/clickgo/blob
|
|
|
29346
29368
|
|
|
29347
29369
|
无返回值
|
|
29348
29370
|
|
|
29371
|
+
lib/form/functions/remove.md
|
|
29372
|
+
---
|
|
29373
|
+
|
|
29374
|
+
[**Documents for clickgo**](../../../index.md)
|
|
29375
|
+
|
|
29376
|
+
***
|
|
29377
|
+
|
|
29378
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / remove
|
|
29379
|
+
|
|
29380
|
+
# Function: remove()
|
|
29381
|
+
|
|
29382
|
+
> **remove**(`formId`): `boolean`
|
|
29383
|
+
|
|
29384
|
+
Defined in: [lib/form/remove.ts:31](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/remove.ts#L31)
|
|
29385
|
+
|
|
29386
|
+
移除一个 form(关闭窗口)
|
|
29387
|
+
|
|
29388
|
+
## Parameters
|
|
29389
|
+
|
|
29390
|
+
### formId
|
|
29391
|
+
|
|
29392
|
+
`string`
|
|
29393
|
+
|
|
29394
|
+
要移除的 form id
|
|
29395
|
+
|
|
29396
|
+
## Returns
|
|
29397
|
+
|
|
29398
|
+
`boolean`
|
|
29399
|
+
|
|
29349
29400
|
lib/form/functions/removeActivePanel.md
|
|
29350
29401
|
---
|
|
29351
29402
|
|
|
@@ -29418,35 +29469,6 @@ Defined in: [lib/form/popup.ts:45](https://github.com/maiyun/clickgo/blob/master
|
|
|
29418
29469
|
|
|
29419
29470
|
无返回值
|
|
29420
29471
|
|
|
29421
|
-
lib/form/functions/remove.md
|
|
29422
|
-
---
|
|
29423
|
-
|
|
29424
|
-
[**Documents for clickgo**](../../../index.md)
|
|
29425
|
-
|
|
29426
|
-
***
|
|
29427
|
-
|
|
29428
|
-
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / remove
|
|
29429
|
-
|
|
29430
|
-
# Function: remove()
|
|
29431
|
-
|
|
29432
|
-
> **remove**(`formId`): `boolean`
|
|
29433
|
-
|
|
29434
|
-
Defined in: [lib/form/remove.ts:31](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/remove.ts#L31)
|
|
29435
|
-
|
|
29436
|
-
移除一个 form(关闭窗口)
|
|
29437
|
-
|
|
29438
|
-
## Parameters
|
|
29439
|
-
|
|
29440
|
-
### formId
|
|
29441
|
-
|
|
29442
|
-
`string`
|
|
29443
|
-
|
|
29444
|
-
要移除的 form id
|
|
29445
|
-
|
|
29446
|
-
## Returns
|
|
29447
|
-
|
|
29448
|
-
`boolean`
|
|
29449
|
-
|
|
29450
29472
|
lib/form/functions/removePanel.md
|
|
29451
29473
|
---
|
|
29452
29474
|
|
|
@@ -30010,6 +30032,55 @@ Defined in: [lib/form/types.ts:22](https://github.com/maiyun/clickgo/blob/master
|
|
|
30010
30032
|
|
|
30011
30033
|
仅 nav 联动时有效,代表本次 show 的时候 qs 是否发生了变化
|
|
30012
30034
|
|
|
30035
|
+
lib/form/interfaces/IForm.md
|
|
30036
|
+
---
|
|
30037
|
+
|
|
30038
|
+
[**Documents for clickgo**](../../../index.md)
|
|
30039
|
+
|
|
30040
|
+
***
|
|
30041
|
+
|
|
30042
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / IForm
|
|
30043
|
+
|
|
30044
|
+
# Interface: IForm
|
|
30045
|
+
|
|
30046
|
+
Defined in: [lib/form/types.ts:51](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L51)
|
|
30047
|
+
|
|
30048
|
+
运行时 task 中的 form 对象
|
|
30049
|
+
|
|
30050
|
+
## Properties
|
|
30051
|
+
|
|
30052
|
+
### closed
|
|
30053
|
+
|
|
30054
|
+
> **closed**: `boolean`
|
|
30055
|
+
|
|
30056
|
+
Defined in: [lib/form/types.ts:56](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L56)
|
|
30057
|
+
|
|
30058
|
+
是否已经执行过了关闭窗体方法,此处加判断为了防止重复执行 close 导致的 bug
|
|
30059
|
+
|
|
30060
|
+
***
|
|
30061
|
+
|
|
30062
|
+
### id
|
|
30063
|
+
|
|
30064
|
+
> **id**: `string`
|
|
30065
|
+
|
|
30066
|
+
Defined in: [lib/form/types.ts:52](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L52)
|
|
30067
|
+
|
|
30068
|
+
***
|
|
30069
|
+
|
|
30070
|
+
### vapp
|
|
30071
|
+
|
|
30072
|
+
> **vapp**: [`IVApp`](../../core/interfaces/IVApp.md)
|
|
30073
|
+
|
|
30074
|
+
Defined in: [lib/form/types.ts:53](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L53)
|
|
30075
|
+
|
|
30076
|
+
***
|
|
30077
|
+
|
|
30078
|
+
### vroot
|
|
30079
|
+
|
|
30080
|
+
> **vroot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
30081
|
+
|
|
30082
|
+
Defined in: [lib/form/types.ts:54](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L54)
|
|
30083
|
+
|
|
30013
30084
|
lib/form/interfaces/IFormCaptchaOptions.md
|
|
30014
30085
|
---
|
|
30015
30086
|
|
|
@@ -30413,55 +30484,6 @@ Defined in: [lib/form/types.ts:61](https://github.com/maiyun/clickgo/blob/master
|
|
|
30413
30484
|
|
|
30414
30485
|
Defined in: [lib/form/types.ts:62](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L62)
|
|
30415
30486
|
|
|
30416
|
-
lib/form/interfaces/IForm.md
|
|
30417
|
-
---
|
|
30418
|
-
|
|
30419
|
-
[**Documents for clickgo**](../../../index.md)
|
|
30420
|
-
|
|
30421
|
-
***
|
|
30422
|
-
|
|
30423
|
-
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / IForm
|
|
30424
|
-
|
|
30425
|
-
# Interface: IForm
|
|
30426
|
-
|
|
30427
|
-
Defined in: [lib/form/types.ts:51](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L51)
|
|
30428
|
-
|
|
30429
|
-
运行时 task 中的 form 对象
|
|
30430
|
-
|
|
30431
|
-
## Properties
|
|
30432
|
-
|
|
30433
|
-
### closed
|
|
30434
|
-
|
|
30435
|
-
> **closed**: `boolean`
|
|
30436
|
-
|
|
30437
|
-
Defined in: [lib/form/types.ts:56](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L56)
|
|
30438
|
-
|
|
30439
|
-
是否已经执行过了关闭窗体方法,此处加判断为了防止重复执行 close 导致的 bug
|
|
30440
|
-
|
|
30441
|
-
***
|
|
30442
|
-
|
|
30443
|
-
### id
|
|
30444
|
-
|
|
30445
|
-
> **id**: `string`
|
|
30446
|
-
|
|
30447
|
-
Defined in: [lib/form/types.ts:52](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L52)
|
|
30448
|
-
|
|
30449
|
-
***
|
|
30450
|
-
|
|
30451
|
-
### vapp
|
|
30452
|
-
|
|
30453
|
-
> **vapp**: [`IVApp`](../../core/interfaces/IVApp.md)
|
|
30454
|
-
|
|
30455
|
-
Defined in: [lib/form/types.ts:53](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L53)
|
|
30456
|
-
|
|
30457
|
-
***
|
|
30458
|
-
|
|
30459
|
-
### vroot
|
|
30460
|
-
|
|
30461
|
-
> **vroot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
30462
|
-
|
|
30463
|
-
Defined in: [lib/form/types.ts:54](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L54)
|
|
30464
|
-
|
|
30465
30487
|
lib/form/interfaces/IFormPromptOptions.md
|
|
30466
30488
|
---
|
|
30467
30489
|
|
|
@@ -31504,23 +31526,22 @@ Defined in: [lib/fs.ts:975](https://github.com/maiyun/clickgo/blob/master/dist/l
|
|
|
31504
31526
|
|
|
31505
31527
|
`Promise`\<`boolean`\>
|
|
31506
31528
|
|
|
31507
|
-
lib/fs/functions/
|
|
31529
|
+
lib/fs/functions/rmdir.md
|
|
31508
31530
|
---
|
|
31509
31531
|
|
|
31510
31532
|
[**Documents for clickgo**](../../../index.md)
|
|
31511
31533
|
|
|
31512
31534
|
***
|
|
31513
31535
|
|
|
31514
|
-
[Documents for clickgo](../../../index.md) / [lib/fs](../index.md) /
|
|
31536
|
+
[Documents for clickgo](../../../index.md) / [lib/fs](../index.md) / rmdir
|
|
31515
31537
|
|
|
31516
|
-
# Function:
|
|
31538
|
+
# Function: rmdir()
|
|
31517
31539
|
|
|
31518
|
-
> **
|
|
31540
|
+
> **rmdir**(`current`, `path`): `Promise`\<`boolean`\>
|
|
31519
31541
|
|
|
31520
|
-
Defined in: [lib/fs.ts:
|
|
31542
|
+
Defined in: [lib/fs.ts:846](https://github.com/maiyun/clickgo/blob/master/dist/lib/fs.ts#L846)
|
|
31521
31543
|
|
|
31522
|
-
|
|
31523
|
-
[ Danger ] [ 危险 ]
|
|
31544
|
+
删除空目录
|
|
31524
31545
|
|
|
31525
31546
|
## Parameters
|
|
31526
31547
|
|
|
@@ -31534,28 +31555,29 @@ Defined in: [lib/fs.ts:892](https://github.com/maiyun/clickgo/blob/master/dist/l
|
|
|
31534
31555
|
|
|
31535
31556
|
`string`
|
|
31536
31557
|
|
|
31537
|
-
|
|
31558
|
+
要删除的目录
|
|
31538
31559
|
|
|
31539
31560
|
## Returns
|
|
31540
31561
|
|
|
31541
31562
|
`Promise`\<`boolean`\>
|
|
31542
31563
|
|
|
31543
|
-
lib/fs/functions/
|
|
31564
|
+
lib/fs/functions/rmdirDeep.md
|
|
31544
31565
|
---
|
|
31545
31566
|
|
|
31546
31567
|
[**Documents for clickgo**](../../../index.md)
|
|
31547
31568
|
|
|
31548
31569
|
***
|
|
31549
31570
|
|
|
31550
|
-
[Documents for clickgo](../../../index.md) / [lib/fs](../index.md) /
|
|
31571
|
+
[Documents for clickgo](../../../index.md) / [lib/fs](../index.md) / rmdirDeep
|
|
31551
31572
|
|
|
31552
|
-
# Function:
|
|
31573
|
+
# Function: rmdirDeep()
|
|
31553
31574
|
|
|
31554
|
-
> **
|
|
31575
|
+
> **rmdirDeep**(`current`, `path`): `Promise`\<`boolean`\>
|
|
31555
31576
|
|
|
31556
|
-
Defined in: [lib/fs.ts:
|
|
31577
|
+
Defined in: [lib/fs.ts:892](https://github.com/maiyun/clickgo/blob/master/dist/lib/fs.ts#L892)
|
|
31557
31578
|
|
|
31558
|
-
|
|
31579
|
+
删除一个非空目录
|
|
31580
|
+
[ Danger ] [ 危险 ]
|
|
31559
31581
|
|
|
31560
31582
|
## Parameters
|
|
31561
31583
|
|
|
@@ -31569,7 +31591,7 @@ Defined in: [lib/fs.ts:846](https://github.com/maiyun/clickgo/blob/master/dist/l
|
|
|
31569
31591
|
|
|
31570
31592
|
`string`
|
|
31571
31593
|
|
|
31572
|
-
|
|
31594
|
+
目录路径
|
|
31573
31595
|
|
|
31574
31596
|
## Returns
|
|
31575
31597
|
|
|
@@ -32752,20 +32774,20 @@ Defined in: [lib/native.ts:548](https://github.com/maiyun/clickgo/blob/master/di
|
|
|
32752
32774
|
|
|
32753
32775
|
`Promise`\<`boolean`\>
|
|
32754
32776
|
|
|
32755
|
-
lib/native/functions/
|
|
32777
|
+
lib/native/functions/max.md
|
|
32756
32778
|
---
|
|
32757
32779
|
|
|
32758
32780
|
[**Documents for clickgo**](../../../index.md)
|
|
32759
32781
|
|
|
32760
32782
|
***
|
|
32761
32783
|
|
|
32762
|
-
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) /
|
|
32784
|
+
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) / max
|
|
32763
32785
|
|
|
32764
|
-
# Function:
|
|
32786
|
+
# Function: max()
|
|
32765
32787
|
|
|
32766
|
-
> **
|
|
32788
|
+
> **max**(`current`): `Promise`\<`boolean`\>
|
|
32767
32789
|
|
|
32768
|
-
Defined in: [lib/native.ts:
|
|
32790
|
+
Defined in: [lib/native.ts:411](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L411)
|
|
32769
32791
|
|
|
32770
32792
|
## Parameters
|
|
32771
32793
|
|
|
@@ -32773,28 +32795,24 @@ Defined in: [lib/native.ts:465](https://github.com/maiyun/clickgo/blob/master/di
|
|
|
32773
32795
|
|
|
32774
32796
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
32775
32797
|
|
|
32776
|
-
### val
|
|
32777
|
-
|
|
32778
|
-
`boolean`
|
|
32779
|
-
|
|
32780
32798
|
## Returns
|
|
32781
32799
|
|
|
32782
32800
|
`Promise`\<`boolean`\>
|
|
32783
32801
|
|
|
32784
|
-
lib/native/functions/
|
|
32802
|
+
lib/native/functions/maximizable.md
|
|
32785
32803
|
---
|
|
32786
32804
|
|
|
32787
32805
|
[**Documents for clickgo**](../../../index.md)
|
|
32788
32806
|
|
|
32789
32807
|
***
|
|
32790
32808
|
|
|
32791
|
-
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) /
|
|
32809
|
+
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) / maximizable
|
|
32792
32810
|
|
|
32793
|
-
# Function:
|
|
32811
|
+
# Function: maximizable()
|
|
32794
32812
|
|
|
32795
|
-
> **
|
|
32813
|
+
> **maximizable**(`current`, `val`): `Promise`\<`boolean`\>
|
|
32796
32814
|
|
|
32797
|
-
Defined in: [lib/native.ts:
|
|
32815
|
+
Defined in: [lib/native.ts:465](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L465)
|
|
32798
32816
|
|
|
32799
32817
|
## Parameters
|
|
32800
32818
|
|
|
@@ -32802,6 +32820,10 @@ Defined in: [lib/native.ts:411](https://github.com/maiyun/clickgo/blob/master/di
|
|
|
32802
32820
|
|
|
32803
32821
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
32804
32822
|
|
|
32823
|
+
### val
|
|
32824
|
+
|
|
32825
|
+
`boolean`
|
|
32826
|
+
|
|
32805
32827
|
## Returns
|
|
32806
32828
|
|
|
32807
32829
|
`Promise`\<`boolean`\>
|
|
@@ -32913,22 +32935,22 @@ Defined in: [lib/native.ts:269](https://github.com/maiyun/clickgo/blob/master/di
|
|
|
32913
32935
|
|
|
32914
32936
|
`void`
|
|
32915
32937
|
|
|
32916
|
-
lib/native/functions/
|
|
32938
|
+
lib/native/functions/on.md
|
|
32917
32939
|
---
|
|
32918
32940
|
|
|
32919
32941
|
[**Documents for clickgo**](../../../index.md)
|
|
32920
32942
|
|
|
32921
32943
|
***
|
|
32922
32944
|
|
|
32923
|
-
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) /
|
|
32945
|
+
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) / on
|
|
32924
32946
|
|
|
32925
|
-
# Function:
|
|
32947
|
+
# Function: on()
|
|
32926
32948
|
|
|
32927
|
-
> **
|
|
32949
|
+
> **on**(`current`, `name`, `handler`, `once?`, `formId?`): `void`
|
|
32928
32950
|
|
|
32929
|
-
Defined in: [lib/native.ts:
|
|
32951
|
+
Defined in: [lib/native.ts:225](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L225)
|
|
32930
32952
|
|
|
32931
|
-
监听 native
|
|
32953
|
+
监听 native 传输过来的事件
|
|
32932
32954
|
|
|
32933
32955
|
## Parameters
|
|
32934
32956
|
|
|
@@ -32950,6 +32972,12 @@ Defined in: [lib/native.ts:254](https://github.com/maiyun/clickgo/blob/master/di
|
|
|
32950
32972
|
|
|
32951
32973
|
回调函数
|
|
32952
32974
|
|
|
32975
|
+
### once?
|
|
32976
|
+
|
|
32977
|
+
`boolean` = `false`
|
|
32978
|
+
|
|
32979
|
+
是否只监听一次
|
|
32980
|
+
|
|
32953
32981
|
### formId?
|
|
32954
32982
|
|
|
32955
32983
|
`string`
|
|
@@ -32960,22 +32988,22 @@ Defined in: [lib/native.ts:254](https://github.com/maiyun/clickgo/blob/master/di
|
|
|
32960
32988
|
|
|
32961
32989
|
`void`
|
|
32962
32990
|
|
|
32963
|
-
lib/native/functions/
|
|
32991
|
+
lib/native/functions/onUpdateState.md
|
|
32964
32992
|
---
|
|
32965
32993
|
|
|
32966
32994
|
[**Documents for clickgo**](../../../index.md)
|
|
32967
32995
|
|
|
32968
32996
|
***
|
|
32969
32997
|
|
|
32970
|
-
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) /
|
|
32998
|
+
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) / onUpdateState
|
|
32971
32999
|
|
|
32972
|
-
# Function:
|
|
33000
|
+
# Function: onUpdateState()
|
|
32973
33001
|
|
|
32974
|
-
> **
|
|
33002
|
+
> **onUpdateState**(`current`, `handler`): `void`
|
|
32975
33003
|
|
|
32976
|
-
Defined in: [lib/native.ts:
|
|
33004
|
+
Defined in: [lib/native/update.ts:65](https://github.com/maiyun/clickgo/blob/master/dist/lib/native/update.ts#L65)
|
|
32977
33005
|
|
|
32978
|
-
|
|
33006
|
+
监听软件级公开状态及下载进度;不包含 URL、凭据或文件路径
|
|
32979
33007
|
|
|
32980
33008
|
## Parameters
|
|
32981
33009
|
|
|
@@ -32983,52 +33011,36 @@ Defined in: [lib/native.ts:225](https://github.com/maiyun/clickgo/blob/master/di
|
|
|
32983
33011
|
|
|
32984
33012
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
32985
33013
|
|
|
32986
|
-
|
|
32987
|
-
|
|
32988
|
-
### name
|
|
32989
|
-
|
|
32990
|
-
`string`
|
|
32991
|
-
|
|
32992
|
-
事件名
|
|
33014
|
+
当前 App 或窗体,不要求 root;控制更新仍须 root
|
|
32993
33015
|
|
|
32994
33016
|
### handler
|
|
32995
33017
|
|
|
32996
|
-
(
|
|
32997
|
-
|
|
32998
|
-
回调函数
|
|
32999
|
-
|
|
33000
|
-
### once?
|
|
33001
|
-
|
|
33002
|
-
`boolean` = `false`
|
|
33003
|
-
|
|
33004
|
-
是否只监听一次
|
|
33005
|
-
|
|
33006
|
-
### formId?
|
|
33007
|
-
|
|
33008
|
-
`string`
|
|
33018
|
+
(`state`) => `void` \| `Promise`\<`void`\>
|
|
33009
33019
|
|
|
33010
|
-
|
|
33020
|
+
状态回调,业务不需要定义 Native 事件名
|
|
33011
33021
|
|
|
33012
33022
|
## Returns
|
|
33013
33023
|
|
|
33014
33024
|
`void`
|
|
33015
33025
|
|
|
33016
|
-
|
|
33026
|
+
无返回值;窗体或任务销毁时自动解除,网页/旧宿主不会投递
|
|
33027
|
+
|
|
33028
|
+
lib/native/functions/once.md
|
|
33017
33029
|
---
|
|
33018
33030
|
|
|
33019
33031
|
[**Documents for clickgo**](../../../index.md)
|
|
33020
33032
|
|
|
33021
33033
|
***
|
|
33022
33034
|
|
|
33023
|
-
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) /
|
|
33035
|
+
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) / once
|
|
33024
33036
|
|
|
33025
|
-
# Function:
|
|
33037
|
+
# Function: once()
|
|
33026
33038
|
|
|
33027
|
-
> **
|
|
33039
|
+
> **once**(`current`, `name`, `handler`, `formId?`): `void`
|
|
33028
33040
|
|
|
33029
|
-
Defined in: [lib/native
|
|
33041
|
+
Defined in: [lib/native.ts:254](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L254)
|
|
33030
33042
|
|
|
33031
|
-
|
|
33043
|
+
监听 native 传输过来的事件(仅一次)
|
|
33032
33044
|
|
|
33033
33045
|
## Parameters
|
|
33034
33046
|
|
|
@@ -33036,20 +33048,30 @@ Defined in: [lib/native/update.ts:65](https://github.com/maiyun/clickgo/blob/mas
|
|
|
33036
33048
|
|
|
33037
33049
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
33038
33050
|
|
|
33039
|
-
|
|
33051
|
+
当前任务 ID
|
|
33052
|
+
|
|
33053
|
+
### name
|
|
33054
|
+
|
|
33055
|
+
`string`
|
|
33056
|
+
|
|
33057
|
+
事件名
|
|
33040
33058
|
|
|
33041
33059
|
### handler
|
|
33042
33060
|
|
|
33043
|
-
(`
|
|
33061
|
+
(...`param`) => `any`
|
|
33044
33062
|
|
|
33045
|
-
|
|
33063
|
+
回调函数
|
|
33064
|
+
|
|
33065
|
+
### formId?
|
|
33066
|
+
|
|
33067
|
+
`string`
|
|
33068
|
+
|
|
33069
|
+
限定某个窗体
|
|
33046
33070
|
|
|
33047
33071
|
## Returns
|
|
33048
33072
|
|
|
33049
33073
|
`void`
|
|
33050
33074
|
|
|
33051
|
-
无返回值;窗体或任务销毁时自动解除,网页/旧宿主不会投递
|
|
33052
|
-
|
|
33053
33075
|
lib/native/functions/open.md
|
|
33054
33076
|
---
|
|
33055
33077
|
|
|
@@ -34646,59 +34668,59 @@ Defined in: [lib/task.ts:1224](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34646
34668
|
|
|
34647
34669
|
`Promise`\<`boolean`[]\>
|
|
34648
34670
|
|
|
34649
|
-
lib/task/functions/
|
|
34671
|
+
lib/task/functions/clearLocale.md
|
|
34650
34672
|
---
|
|
34651
34673
|
|
|
34652
34674
|
[**Documents for clickgo**](../../../index.md)
|
|
34653
34675
|
|
|
34654
34676
|
***
|
|
34655
34677
|
|
|
34656
|
-
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) /
|
|
34678
|
+
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / clearLocale
|
|
34657
34679
|
|
|
34658
|
-
# Function:
|
|
34680
|
+
# Function: clearLocale()
|
|
34659
34681
|
|
|
34660
|
-
> **
|
|
34682
|
+
> **clearLocale**(`taskId`): `void`
|
|
34661
34683
|
|
|
34662
|
-
Defined in: [lib/task.ts:
|
|
34684
|
+
Defined in: [lib/task.ts:1493](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1493)
|
|
34663
34685
|
|
|
34664
|
-
|
|
34686
|
+
清除任务的所有加载的语言包
|
|
34665
34687
|
|
|
34666
34688
|
## Parameters
|
|
34667
34689
|
|
|
34668
|
-
###
|
|
34690
|
+
### taskId
|
|
34669
34691
|
|
|
34670
34692
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
34671
34693
|
|
|
34672
|
-
|
|
34694
|
+
要清除的任务 id
|
|
34673
34695
|
|
|
34674
34696
|
## Returns
|
|
34675
34697
|
|
|
34676
34698
|
`void`
|
|
34677
34699
|
|
|
34678
|
-
lib/task/functions/
|
|
34700
|
+
lib/task/functions/clearLocaleLang.md
|
|
34679
34701
|
---
|
|
34680
34702
|
|
|
34681
34703
|
[**Documents for clickgo**](../../../index.md)
|
|
34682
34704
|
|
|
34683
34705
|
***
|
|
34684
34706
|
|
|
34685
|
-
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) /
|
|
34707
|
+
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / clearLocaleLang
|
|
34686
34708
|
|
|
34687
|
-
# Function:
|
|
34709
|
+
# Function: clearLocaleLang()
|
|
34688
34710
|
|
|
34689
|
-
> **
|
|
34711
|
+
> **clearLocaleLang**(`current`): `void`
|
|
34690
34712
|
|
|
34691
|
-
Defined in: [lib/task.ts:
|
|
34713
|
+
Defined in: [lib/task.ts:1536](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1536)
|
|
34692
34714
|
|
|
34693
|
-
|
|
34715
|
+
清除 task 的语言设置
|
|
34694
34716
|
|
|
34695
34717
|
## Parameters
|
|
34696
34718
|
|
|
34697
|
-
###
|
|
34719
|
+
### current
|
|
34698
34720
|
|
|
34699
34721
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
34700
34722
|
|
|
34701
|
-
|
|
34723
|
+
当前任务 id
|
|
34702
34724
|
|
|
34703
34725
|
## Returns
|
|
34704
34726
|
|
|
@@ -34846,6 +34868,35 @@ Defined in: [lib/task.ts:1339](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34846
34868
|
|
|
34847
34869
|
`Promise`\<`boolean`\>
|
|
34848
34870
|
|
|
34871
|
+
lib/task/functions/get.md
|
|
34872
|
+
---
|
|
34873
|
+
|
|
34874
|
+
[**Documents for clickgo**](../../../index.md)
|
|
34875
|
+
|
|
34876
|
+
***
|
|
34877
|
+
|
|
34878
|
+
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / get
|
|
34879
|
+
|
|
34880
|
+
# Function: get()
|
|
34881
|
+
|
|
34882
|
+
> **get**(`taskId`): [`ITaskInfo`](../interfaces/ITaskInfo.md) \| `null`
|
|
34883
|
+
|
|
34884
|
+
Defined in: [lib/task.ts:310](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L310)
|
|
34885
|
+
|
|
34886
|
+
获取任务及其应用包简略信息
|
|
34887
|
+
|
|
34888
|
+
## Parameters
|
|
34889
|
+
|
|
34890
|
+
### taskId
|
|
34891
|
+
|
|
34892
|
+
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
34893
|
+
|
|
34894
|
+
任务 id
|
|
34895
|
+
|
|
34896
|
+
## Returns
|
|
34897
|
+
|
|
34898
|
+
[`ITaskInfo`](../interfaces/ITaskInfo.md) \| `null`
|
|
34899
|
+
|
|
34849
34900
|
lib/task/functions/getFocus.md
|
|
34850
34901
|
---
|
|
34851
34902
|
|
|
@@ -34894,22 +34945,22 @@ Defined in: [lib/task.ts:612](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34894
34945
|
|
|
34895
34946
|
[`ITaskInfo`](../interfaces/ITaskInfo.md)[]
|
|
34896
34947
|
|
|
34897
|
-
lib/task/functions/
|
|
34948
|
+
lib/task/functions/getOrigin.md
|
|
34898
34949
|
---
|
|
34899
34950
|
|
|
34900
34951
|
[**Documents for clickgo**](../../../index.md)
|
|
34901
34952
|
|
|
34902
34953
|
***
|
|
34903
34954
|
|
|
34904
|
-
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) /
|
|
34955
|
+
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / getOrigin
|
|
34905
34956
|
|
|
34906
|
-
# Function:
|
|
34957
|
+
# Function: getOrigin()
|
|
34907
34958
|
|
|
34908
|
-
> **
|
|
34959
|
+
> **getOrigin**(`taskId`): [`ITask`](../interfaces/ITask.md) \| `null`
|
|
34909
34960
|
|
|
34910
|
-
Defined in: [lib/task.ts:
|
|
34961
|
+
Defined in: [lib/task.ts:337](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L337)
|
|
34911
34962
|
|
|
34912
|
-
|
|
34963
|
+
获取任务对象
|
|
34913
34964
|
|
|
34914
34965
|
## Parameters
|
|
34915
34966
|
|
|
@@ -34917,11 +34968,11 @@ Defined in: [lib/task.ts:310](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34917
34968
|
|
|
34918
34969
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
34919
34970
|
|
|
34920
|
-
任务
|
|
34971
|
+
任务 ID
|
|
34921
34972
|
|
|
34922
34973
|
## Returns
|
|
34923
34974
|
|
|
34924
|
-
[`
|
|
34975
|
+
[`ITask`](../interfaces/ITask.md) \| `null`
|
|
34925
34976
|
|
|
34926
34977
|
lib/task/functions/getOriginList.md
|
|
34927
34978
|
---
|
|
@@ -34950,35 +35001,6 @@ Defined in: [lib/task.ts:280](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34950
35001
|
|
|
34951
35002
|
`Promise`\<`Record`\<`string`, [`ITask`](../interfaces/ITask.md)\>\>
|
|
34952
35003
|
|
|
34953
|
-
lib/task/functions/getOrigin.md
|
|
34954
|
-
---
|
|
34955
|
-
|
|
34956
|
-
[**Documents for clickgo**](../../../index.md)
|
|
34957
|
-
|
|
34958
|
-
***
|
|
34959
|
-
|
|
34960
|
-
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / getOrigin
|
|
34961
|
-
|
|
34962
|
-
# Function: getOrigin()
|
|
34963
|
-
|
|
34964
|
-
> **getOrigin**(`taskId`): [`ITask`](../interfaces/ITask.md) \| `null`
|
|
34965
|
-
|
|
34966
|
-
Defined in: [lib/task.ts:337](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L337)
|
|
34967
|
-
|
|
34968
|
-
获取任务对象
|
|
34969
|
-
|
|
34970
|
-
## Parameters
|
|
34971
|
-
|
|
34972
|
-
### taskId
|
|
34973
|
-
|
|
34974
|
-
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
34975
|
-
|
|
34976
|
-
任务 ID
|
|
34977
|
-
|
|
34978
|
-
## Returns
|
|
34979
|
-
|
|
34980
|
-
[`ITask`](../interfaces/ITask.md) \| `null`
|
|
34981
|
-
|
|
34982
35004
|
lib/task/functions/getPermissions.md
|
|
34983
35005
|
---
|
|
34984
35006
|
|
|
@@ -35122,22 +35144,22 @@ Defined in: [lib/task.ts:35](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
35122
35144
|
|
|
35123
35145
|
`void`
|
|
35124
35146
|
|
|
35125
|
-
lib/task/functions/
|
|
35147
|
+
lib/task/functions/loadLocale.md
|
|
35126
35148
|
---
|
|
35127
35149
|
|
|
35128
35150
|
[**Documents for clickgo**](../../../index.md)
|
|
35129
35151
|
|
|
35130
35152
|
***
|
|
35131
35153
|
|
|
35132
|
-
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) /
|
|
35154
|
+
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / loadLocale
|
|
35133
35155
|
|
|
35134
|
-
# Function:
|
|
35156
|
+
# Function: loadLocale()
|
|
35135
35157
|
|
|
35136
|
-
> **
|
|
35158
|
+
> **loadLocale**(`taskId`, `lang`, `path`): `Promise`\<`boolean`\>
|
|
35137
35159
|
|
|
35138
|
-
Defined in: [lib/task.ts:
|
|
35160
|
+
Defined in: [lib/task.ts:1464](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1464)
|
|
35139
35161
|
|
|
35140
|
-
加载 locale
|
|
35162
|
+
加载 locale 文件 json
|
|
35141
35163
|
|
|
35142
35164
|
## Parameters
|
|
35143
35165
|
|
|
@@ -35145,7 +35167,7 @@ Defined in: [lib/task.ts:1437](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35145
35167
|
|
|
35146
35168
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
35147
35169
|
|
|
35148
|
-
|
|
35170
|
+
所属的 taskId
|
|
35149
35171
|
|
|
35150
35172
|
### lang
|
|
35151
35173
|
|
|
@@ -35153,38 +35175,32 @@ Defined in: [lib/task.ts:1437](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35153
35175
|
|
|
35154
35176
|
语言名,如 sc
|
|
35155
35177
|
|
|
35156
|
-
###
|
|
35157
|
-
|
|
35158
|
-
`Record`\<`string`, `any`\>
|
|
35159
|
-
|
|
35160
|
-
数据
|
|
35161
|
-
|
|
35162
|
-
### pre?
|
|
35178
|
+
### path
|
|
35163
35179
|
|
|
35164
|
-
`string`
|
|
35180
|
+
`string`
|
|
35165
35181
|
|
|
35166
|
-
|
|
35182
|
+
绝对或者相对 app 路径的地址
|
|
35167
35183
|
|
|
35168
35184
|
## Returns
|
|
35169
35185
|
|
|
35170
|
-
`
|
|
35186
|
+
`Promise`\<`boolean`\>
|
|
35171
35187
|
|
|
35172
|
-
lib/task/functions/
|
|
35188
|
+
lib/task/functions/loadLocaleData.md
|
|
35173
35189
|
---
|
|
35174
35190
|
|
|
35175
35191
|
[**Documents for clickgo**](../../../index.md)
|
|
35176
35192
|
|
|
35177
35193
|
***
|
|
35178
35194
|
|
|
35179
|
-
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) /
|
|
35195
|
+
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / loadLocaleData
|
|
35180
35196
|
|
|
35181
|
-
# Function:
|
|
35197
|
+
# Function: loadLocaleData()
|
|
35182
35198
|
|
|
35183
|
-
> **
|
|
35199
|
+
> **loadLocaleData**(`taskId`, `lang`, `data`, `pre?`): `void`
|
|
35184
35200
|
|
|
35185
|
-
Defined in: [lib/task.ts:
|
|
35201
|
+
Defined in: [lib/task.ts:1437](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1437)
|
|
35186
35202
|
|
|
35187
|
-
加载 locale
|
|
35203
|
+
加载 locale data 对象到 task
|
|
35188
35204
|
|
|
35189
35205
|
## Parameters
|
|
35190
35206
|
|
|
@@ -35192,7 +35208,7 @@ Defined in: [lib/task.ts:1464](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35192
35208
|
|
|
35193
35209
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
35194
35210
|
|
|
35195
|
-
|
|
35211
|
+
任务 ID
|
|
35196
35212
|
|
|
35197
35213
|
### lang
|
|
35198
35214
|
|
|
@@ -35200,15 +35216,21 @@ Defined in: [lib/task.ts:1464](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35200
35216
|
|
|
35201
35217
|
语言名,如 sc
|
|
35202
35218
|
|
|
35203
|
-
###
|
|
35219
|
+
### data
|
|
35204
35220
|
|
|
35205
|
-
`string`
|
|
35221
|
+
`Record`\<`string`, `any`\>
|
|
35206
35222
|
|
|
35207
|
-
|
|
35223
|
+
数据
|
|
35224
|
+
|
|
35225
|
+
### pre?
|
|
35226
|
+
|
|
35227
|
+
`string` = `''`
|
|
35228
|
+
|
|
35229
|
+
前置
|
|
35208
35230
|
|
|
35209
35231
|
## Returns
|
|
35210
35232
|
|
|
35211
|
-
`
|
|
35233
|
+
`void`
|
|
35212
35234
|
|
|
35213
35235
|
lib/task/functions/offFrame.md
|
|
35214
35236
|
---
|
|
@@ -35441,9 +35463,10 @@ lib/task/functions/runThread.md
|
|
|
35441
35463
|
|
|
35442
35464
|
> **runThread**(`current`, `cls`, `data?`): [`IThread`](../interfaces/IThread.md)
|
|
35443
35465
|
|
|
35444
|
-
Defined in: [lib/task.ts:
|
|
35466
|
+
Defined in: [lib/task.ts:1932](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1932)
|
|
35445
35467
|
|
|
35446
|
-
|
|
35468
|
+
运行线程(同一个线程类只能运行一个)
|
|
35469
|
+
线程类在独立的 Worker 中执行,不能使用主线程中的外部变量或模块。
|
|
35447
35470
|
|
|
35448
35471
|
## Parameters
|
|
35449
35472
|
|
|
@@ -35498,30 +35521,30 @@ task id 或 null
|
|
|
35498
35521
|
|
|
35499
35522
|
`boolean`
|
|
35500
35523
|
|
|
35501
|
-
lib/task/functions/
|
|
35524
|
+
lib/task/functions/setLocale.md
|
|
35502
35525
|
---
|
|
35503
35526
|
|
|
35504
35527
|
[**Documents for clickgo**](../../../index.md)
|
|
35505
35528
|
|
|
35506
35529
|
***
|
|
35507
35530
|
|
|
35508
|
-
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) /
|
|
35531
|
+
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / setLocale
|
|
35509
35532
|
|
|
35510
|
-
# Function:
|
|
35533
|
+
# Function: setLocale()
|
|
35511
35534
|
|
|
35512
|
-
> **
|
|
35535
|
+
> **setLocale**(`taskId`, `lang`, `path`): `Promise`\<`boolean`\>
|
|
35513
35536
|
|
|
35514
|
-
Defined in: [lib/task.ts:
|
|
35537
|
+
Defined in: [lib/task.ts:1510](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1510)
|
|
35515
35538
|
|
|
35516
|
-
|
|
35539
|
+
加载全新 locale(老 locale 的所有语言的缓存会被卸载)
|
|
35517
35540
|
|
|
35518
35541
|
## Parameters
|
|
35519
35542
|
|
|
35520
|
-
###
|
|
35543
|
+
### taskId
|
|
35521
35544
|
|
|
35522
35545
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
35523
35546
|
|
|
35524
|
-
|
|
35547
|
+
要加载的任务 id
|
|
35525
35548
|
|
|
35526
35549
|
### lang
|
|
35527
35550
|
|
|
@@ -35529,34 +35552,40 @@ Defined in: [lib/task.ts:1520](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35529
35552
|
|
|
35530
35553
|
语言名,如 sc
|
|
35531
35554
|
|
|
35555
|
+
### path
|
|
35556
|
+
|
|
35557
|
+
`string`
|
|
35558
|
+
|
|
35559
|
+
绝对或者相对 app 路径的地址
|
|
35560
|
+
|
|
35532
35561
|
## Returns
|
|
35533
35562
|
|
|
35534
|
-
`
|
|
35563
|
+
`Promise`\<`boolean`\>
|
|
35535
35564
|
|
|
35536
|
-
lib/task/functions/
|
|
35565
|
+
lib/task/functions/setLocaleLang.md
|
|
35537
35566
|
---
|
|
35538
35567
|
|
|
35539
35568
|
[**Documents for clickgo**](../../../index.md)
|
|
35540
35569
|
|
|
35541
35570
|
***
|
|
35542
35571
|
|
|
35543
|
-
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) /
|
|
35572
|
+
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / setLocaleLang
|
|
35544
35573
|
|
|
35545
|
-
# Function:
|
|
35574
|
+
# Function: setLocaleLang()
|
|
35546
35575
|
|
|
35547
|
-
> **
|
|
35576
|
+
> **setLocaleLang**(`current`, `lang`): `void`
|
|
35548
35577
|
|
|
35549
|
-
Defined in: [lib/task.ts:
|
|
35578
|
+
Defined in: [lib/task.ts:1520](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1520)
|
|
35550
35579
|
|
|
35551
|
-
|
|
35580
|
+
设置本 task 的语言 name
|
|
35552
35581
|
|
|
35553
35582
|
## Parameters
|
|
35554
35583
|
|
|
35555
|
-
###
|
|
35584
|
+
### current
|
|
35556
35585
|
|
|
35557
35586
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
35558
35587
|
|
|
35559
|
-
|
|
35588
|
+
当前任务 id
|
|
35560
35589
|
|
|
35561
35590
|
### lang
|
|
35562
35591
|
|
|
@@ -35564,15 +35593,9 @@ Defined in: [lib/task.ts:1510](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35564
35593
|
|
|
35565
35594
|
语言名,如 sc
|
|
35566
35595
|
|
|
35567
|
-
### path
|
|
35568
|
-
|
|
35569
|
-
`string`
|
|
35570
|
-
|
|
35571
|
-
绝对或者相对 app 路径的地址
|
|
35572
|
-
|
|
35573
35596
|
## Returns
|
|
35574
35597
|
|
|
35575
|
-
`
|
|
35598
|
+
`void`
|
|
35576
35599
|
|
|
35577
35600
|
lib/task/functions/setSystem.md
|
|
35578
35601
|
---
|
|
@@ -35776,7 +35799,7 @@ lib/task/interfaces/ICreateTimerOptions.md
|
|
|
35776
35799
|
|
|
35777
35800
|
# Interface: ICreateTimerOptions
|
|
35778
35801
|
|
|
35779
|
-
Defined in: [lib/task.ts:
|
|
35802
|
+
Defined in: [lib/task.ts:2129](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2129)
|
|
35780
35803
|
|
|
35781
35804
|
## Properties
|
|
35782
35805
|
|
|
@@ -35784,7 +35807,7 @@ Defined in: [lib/task.ts:2127](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35784
35807
|
|
|
35785
35808
|
> `optional` **count?**: `number`
|
|
35786
35809
|
|
|
35787
|
-
Defined in: [lib/task.ts:
|
|
35810
|
+
Defined in: [lib/task.ts:2133](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2133)
|
|
35788
35811
|
|
|
35789
35812
|
***
|
|
35790
35813
|
|
|
@@ -35792,7 +35815,7 @@ Defined in: [lib/task.ts:2131](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35792
35815
|
|
|
35793
35816
|
> `optional` **formId?**: `string`
|
|
35794
35817
|
|
|
35795
|
-
Defined in: [lib/task.ts:
|
|
35818
|
+
Defined in: [lib/task.ts:2130](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2130)
|
|
35796
35819
|
|
|
35797
35820
|
***
|
|
35798
35821
|
|
|
@@ -35800,7 +35823,7 @@ Defined in: [lib/task.ts:2128](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35800
35823
|
|
|
35801
35824
|
> `optional` **immediate?**: `boolean`
|
|
35802
35825
|
|
|
35803
|
-
Defined in: [lib/task.ts:
|
|
35826
|
+
Defined in: [lib/task.ts:2132](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2132)
|
|
35804
35827
|
|
|
35805
35828
|
lib/task/interfaces/IRuntime.md
|
|
35806
35829
|
---
|
|
@@ -35813,7 +35836,7 @@ lib/task/interfaces/IRuntime.md
|
|
|
35813
35836
|
|
|
35814
35837
|
# Interface: IRuntime
|
|
35815
35838
|
|
|
35816
|
-
Defined in: [lib/task.ts:
|
|
35839
|
+
Defined in: [lib/task.ts:2094](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2094)
|
|
35817
35840
|
|
|
35818
35841
|
## Properties
|
|
35819
35842
|
|
|
@@ -35821,7 +35844,7 @@ Defined in: [lib/task.ts:2092](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35821
35844
|
|
|
35822
35845
|
> **dialogCreating**: `number`
|
|
35823
35846
|
|
|
35824
|
-
Defined in: [lib/task.ts:
|
|
35847
|
+
Defined in: [lib/task.ts:2097](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2097)
|
|
35825
35848
|
|
|
35826
35849
|
正在异步创建 dialog 的数量,用于防止快速重复调用产生多个 dialog
|
|
35827
35850
|
|
|
@@ -35831,7 +35854,7 @@ Defined in: [lib/task.ts:2095](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35831
35854
|
|
|
35832
35855
|
> **dialogFormIds**: `string`[]
|
|
35833
35856
|
|
|
35834
|
-
Defined in: [lib/task.ts:
|
|
35857
|
+
Defined in: [lib/task.ts:2095](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2095)
|
|
35835
35858
|
|
|
35836
35859
|
***
|
|
35837
35860
|
|
|
@@ -35839,7 +35862,7 @@ Defined in: [lib/task.ts:2093](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35839
35862
|
|
|
35840
35863
|
> **index**: `number`
|
|
35841
35864
|
|
|
35842
|
-
Defined in: [lib/task.ts:
|
|
35865
|
+
Defined in: [lib/task.ts:2099](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2099)
|
|
35843
35866
|
|
|
35844
35867
|
***
|
|
35845
35868
|
|
|
@@ -35847,7 +35870,7 @@ Defined in: [lib/task.ts:2097](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35847
35870
|
|
|
35848
35871
|
> **permissions**: `string`[]
|
|
35849
35872
|
|
|
35850
|
-
Defined in: [lib/task.ts:
|
|
35873
|
+
Defined in: [lib/task.ts:2098](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2098)
|
|
35851
35874
|
|
|
35852
35875
|
lib/task/interfaces/ISystemTaskInfo.md
|
|
35853
35876
|
---
|
|
@@ -35860,7 +35883,7 @@ lib/task/interfaces/ISystemTaskInfo.md
|
|
|
35860
35883
|
|
|
35861
35884
|
# Interface: ISystemTaskInfo
|
|
35862
35885
|
|
|
35863
|
-
Defined in: [lib/task.ts:
|
|
35886
|
+
Defined in: [lib/task.ts:2103](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2103)
|
|
35864
35887
|
|
|
35865
35888
|
系统任务信息
|
|
35866
35889
|
|
|
@@ -35870,7 +35893,7 @@ Defined in: [lib/task.ts:2101](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35870
35893
|
|
|
35871
35894
|
> **formId**: `string`
|
|
35872
35895
|
|
|
35873
|
-
Defined in: [lib/task.ts:
|
|
35896
|
+
Defined in: [lib/task.ts:2105](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2105)
|
|
35874
35897
|
|
|
35875
35898
|
***
|
|
35876
35899
|
|
|
@@ -35878,7 +35901,7 @@ Defined in: [lib/task.ts:2103](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35878
35901
|
|
|
35879
35902
|
> **length**: `number`
|
|
35880
35903
|
|
|
35881
|
-
Defined in: [lib/task.ts:
|
|
35904
|
+
Defined in: [lib/task.ts:2106](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2106)
|
|
35882
35905
|
|
|
35883
35906
|
***
|
|
35884
35907
|
|
|
@@ -35886,171 +35909,175 @@ Defined in: [lib/task.ts:2104](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35886
35909
|
|
|
35887
35910
|
> **taskId**: `string`
|
|
35888
35911
|
|
|
35889
|
-
Defined in: [lib/task.ts:
|
|
35912
|
+
Defined in: [lib/task.ts:2104](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2104)
|
|
35890
35913
|
|
|
35891
|
-
lib/task/interfaces/
|
|
35914
|
+
lib/task/interfaces/ITask.md
|
|
35892
35915
|
---
|
|
35893
35916
|
|
|
35894
35917
|
[**Documents for clickgo**](../../../index.md)
|
|
35895
35918
|
|
|
35896
35919
|
***
|
|
35897
35920
|
|
|
35898
|
-
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) /
|
|
35921
|
+
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / ITask
|
|
35899
35922
|
|
|
35900
|
-
# Interface:
|
|
35923
|
+
# Interface: ITask
|
|
35901
35924
|
|
|
35902
|
-
Defined in: [lib/task.ts:
|
|
35925
|
+
Defined in: [lib/task.ts:2053](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2053)
|
|
35903
35926
|
|
|
35904
|
-
|
|
35927
|
+
运行中的任务对象
|
|
35905
35928
|
|
|
35906
35929
|
## Properties
|
|
35907
35930
|
|
|
35908
|
-
###
|
|
35909
|
-
|
|
35910
|
-
> **author**: `string`
|
|
35931
|
+
### app
|
|
35911
35932
|
|
|
35912
|
-
|
|
35933
|
+
> **app**: [`IApp`](../../core/interfaces/IApp.md)
|
|
35913
35934
|
|
|
35914
|
-
|
|
35935
|
+
Defined in: [lib/task.ts:2059](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2059)
|
|
35915
35936
|
|
|
35916
35937
|
***
|
|
35917
35938
|
|
|
35918
|
-
###
|
|
35919
|
-
|
|
35920
|
-
> **current**: `string`
|
|
35921
|
-
|
|
35922
|
-
Defined in: [lib/task.ts:2151](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2151)
|
|
35923
|
-
|
|
35924
|
-
***
|
|
35939
|
+
### appId?
|
|
35925
35940
|
|
|
35926
|
-
|
|
35941
|
+
> `readonly` `optional` **appId?**: `string`
|
|
35927
35942
|
|
|
35928
|
-
|
|
35943
|
+
Defined in: [lib/task.ts:2058](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2058)
|
|
35929
35944
|
|
|
35930
|
-
|
|
35945
|
+
启动时确定的固定 App ID,与运行实例 ID 和加载路径无关
|
|
35931
35946
|
|
|
35932
35947
|
***
|
|
35933
35948
|
|
|
35934
|
-
###
|
|
35949
|
+
### class
|
|
35935
35950
|
|
|
35936
|
-
> **
|
|
35951
|
+
> **class**: [`AbstractApp`](../../core/classes/AbstractApp.md)
|
|
35937
35952
|
|
|
35938
|
-
Defined in: [lib/task.ts:
|
|
35953
|
+
Defined in: [lib/task.ts:2060](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2060)
|
|
35939
35954
|
|
|
35940
35955
|
***
|
|
35941
35956
|
|
|
35942
|
-
###
|
|
35957
|
+
### controls
|
|
35943
35958
|
|
|
35944
|
-
> **
|
|
35959
|
+
> **controls**: `Record`\<`string`, \{ `access`: `Record`\<`string`, `any`\>; `computed`: `Record`\<`string`, `any`\>; `config`: [`IControlConfig`](../../control/interfaces/IControlConfig.md); `data`: `Record`\<`string`, `any`\>; `emits`: `Record`\<`string`, `any`\>; `files`: `Record`\<`string`, `Blob` \| `string`\>; `layout`: `string`; `methods`: `Record`\<`string`, `any`\>; `props`: `Record`\<`string`, `any`\>; \}\>
|
|
35945
35960
|
|
|
35946
|
-
Defined in: [lib/task.ts:
|
|
35961
|
+
Defined in: [lib/task.ts:2074](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2074)
|
|
35962
|
+
|
|
35963
|
+
已解析的控件处理后的对象,任务启动时解析,窗体创建时部分复用
|
|
35947
35964
|
|
|
35948
35965
|
***
|
|
35949
35966
|
|
|
35950
|
-
###
|
|
35967
|
+
### current
|
|
35951
35968
|
|
|
35952
|
-
> **
|
|
35969
|
+
> **current**: `string`
|
|
35953
35970
|
|
|
35954
|
-
Defined in: [lib/task.ts:
|
|
35971
|
+
Defined in: [lib/task.ts:2069](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2069)
|
|
35955
35972
|
|
|
35956
|
-
|
|
35973
|
+
当前 app 运行路径,末尾不含 /
|
|
35957
35974
|
|
|
35958
35975
|
***
|
|
35959
35976
|
|
|
35960
|
-
###
|
|
35977
|
+
### customTheme
|
|
35961
35978
|
|
|
35962
|
-
> **
|
|
35979
|
+
> **customTheme**: `boolean`
|
|
35963
35980
|
|
|
35964
|
-
Defined in: [lib/task.ts:
|
|
35981
|
+
Defined in: [lib/task.ts:2061](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2061)
|
|
35965
35982
|
|
|
35966
35983
|
***
|
|
35967
35984
|
|
|
35968
|
-
###
|
|
35985
|
+
### ending?
|
|
35969
35986
|
|
|
35970
|
-
> **
|
|
35987
|
+
> `optional` **ending?**: `boolean`
|
|
35971
35988
|
|
|
35972
|
-
Defined in: [lib/task.ts:
|
|
35989
|
+
Defined in: [lib/task.ts:2055](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2055)
|
|
35973
35990
|
|
|
35974
|
-
|
|
35991
|
+
已开始退出;框架释放异步资源期间拒绝新命令
|
|
35975
35992
|
|
|
35976
35993
|
***
|
|
35977
35994
|
|
|
35978
|
-
###
|
|
35995
|
+
### forms
|
|
35979
35996
|
|
|
35980
|
-
> **
|
|
35997
|
+
> **forms**: `Record`\<`string`, [`IForm`](../../form/interfaces/IForm.md)\>
|
|
35981
35998
|
|
|
35982
|
-
Defined in: [lib/task.ts:
|
|
35999
|
+
Defined in: [lib/task.ts:2072](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2072)
|
|
35983
36000
|
|
|
35984
|
-
|
|
36001
|
+
窗体对象列表
|
|
35985
36002
|
|
|
35986
|
-
|
|
36003
|
+
***
|
|
35987
36004
|
|
|
35988
|
-
|
|
36005
|
+
### id
|
|
35989
36006
|
|
|
35990
|
-
|
|
36007
|
+
> **id**: `string`
|
|
35991
36008
|
|
|
35992
|
-
|
|
36009
|
+
Defined in: [lib/task.ts:2056](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2056)
|
|
35993
36010
|
|
|
35994
36011
|
***
|
|
35995
36012
|
|
|
35996
|
-
###
|
|
36013
|
+
### locale
|
|
35997
36014
|
|
|
35998
|
-
> **
|
|
36015
|
+
> **locale**: `object`
|
|
35999
36016
|
|
|
36000
|
-
Defined in: [lib/task.ts:
|
|
36017
|
+
Defined in: [lib/task.ts:2062](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2062)
|
|
36001
36018
|
|
|
36002
|
-
|
|
36019
|
+
#### data
|
|
36003
36020
|
|
|
36004
|
-
|
|
36005
|
-
---
|
|
36021
|
+
> **data**: `Record`\<`string`, `Record`\<`string`, `string`\>\>
|
|
36006
36022
|
|
|
36007
|
-
|
|
36023
|
+
#### lang
|
|
36024
|
+
|
|
36025
|
+
> **lang**: `string`
|
|
36008
36026
|
|
|
36009
36027
|
***
|
|
36010
36028
|
|
|
36011
|
-
|
|
36029
|
+
### path
|
|
36012
36030
|
|
|
36013
|
-
|
|
36031
|
+
> **path**: `string`
|
|
36014
36032
|
|
|
36015
|
-
Defined in: [lib/task.ts:
|
|
36033
|
+
Defined in: [lib/task.ts:2067](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2067)
|
|
36016
36034
|
|
|
36017
|
-
|
|
36035
|
+
当前 app 自己的完整路径,如 /x/xx.cga,或 /x/x,末尾不含 /
|
|
36018
36036
|
|
|
36019
|
-
|
|
36037
|
+
***
|
|
36020
36038
|
|
|
36021
|
-
###
|
|
36039
|
+
### threads
|
|
36022
36040
|
|
|
36023
|
-
> **
|
|
36041
|
+
> **threads**: `Record`\<`string`, [`IThread`](IThread.md)\>
|
|
36024
36042
|
|
|
36025
|
-
Defined in: [lib/task.ts:
|
|
36043
|
+
Defined in: [lib/task.ts:2091](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2091)
|
|
36044
|
+
|
|
36045
|
+
文件名 -> thread 控制对象
|
|
36026
36046
|
|
|
36027
36047
|
***
|
|
36028
36048
|
|
|
36029
|
-
###
|
|
36049
|
+
### timers
|
|
36030
36050
|
|
|
36031
|
-
>
|
|
36051
|
+
> **timers**: `Record`\<`string`, `string`\>
|
|
36032
36052
|
|
|
36033
|
-
Defined in: [lib/task.ts:
|
|
36053
|
+
Defined in: [lib/task.ts:2089](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2089)
|
|
36034
36054
|
|
|
36035
|
-
|
|
36055
|
+
任务中的 timer 列表
|
|
36056
|
+
|
|
36057
|
+
lib/task/interfaces/ITaskInfo.md
|
|
36058
|
+
---
|
|
36059
|
+
|
|
36060
|
+
[**Documents for clickgo**](../../../index.md)
|
|
36036
36061
|
|
|
36037
36062
|
***
|
|
36038
36063
|
|
|
36039
|
-
|
|
36064
|
+
[Documents for clickgo](../../../index.md) / [lib/task](../index.md) / ITaskInfo
|
|
36040
36065
|
|
|
36041
|
-
|
|
36066
|
+
# Interface: ITaskInfo
|
|
36042
36067
|
|
|
36043
|
-
Defined in: [lib/task.ts:
|
|
36068
|
+
Defined in: [lib/task.ts:2137](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2137)
|
|
36044
36069
|
|
|
36045
|
-
|
|
36070
|
+
Task 及其应用包的简略信息,通常在 list 当中
|
|
36046
36071
|
|
|
36047
|
-
|
|
36072
|
+
## Properties
|
|
36048
36073
|
|
|
36049
|
-
|
|
36074
|
+
### author
|
|
36050
36075
|
|
|
36051
|
-
|
|
36076
|
+
> **author**: `string`
|
|
36052
36077
|
|
|
36053
|
-
|
|
36078
|
+
Defined in: [lib/task.ts:2147](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2147)
|
|
36079
|
+
|
|
36080
|
+
作者
|
|
36054
36081
|
|
|
36055
36082
|
***
|
|
36056
36083
|
|
|
@@ -36058,9 +36085,7 @@ Defined in: [lib/task.ts:2072](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36058
36085
|
|
|
36059
36086
|
> **current**: `string`
|
|
36060
36087
|
|
|
36061
|
-
Defined in: [lib/task.ts:
|
|
36062
|
-
|
|
36063
|
-
当前 app 运行路径,末尾不含 /
|
|
36088
|
+
Defined in: [lib/task.ts:2153](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2153)
|
|
36064
36089
|
|
|
36065
36090
|
***
|
|
36066
36091
|
|
|
@@ -36068,27 +36093,23 @@ Defined in: [lib/task.ts:2067](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36068
36093
|
|
|
36069
36094
|
> **customTheme**: `boolean`
|
|
36070
36095
|
|
|
36071
|
-
Defined in: [lib/task.ts:
|
|
36096
|
+
Defined in: [lib/task.ts:2149](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2149)
|
|
36072
36097
|
|
|
36073
36098
|
***
|
|
36074
36099
|
|
|
36075
|
-
###
|
|
36076
|
-
|
|
36077
|
-
> `optional` **ending?**: `boolean`
|
|
36100
|
+
### formCount
|
|
36078
36101
|
|
|
36079
|
-
|
|
36102
|
+
> **formCount**: `number`
|
|
36080
36103
|
|
|
36081
|
-
|
|
36104
|
+
Defined in: [lib/task.ts:2150](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2150)
|
|
36082
36105
|
|
|
36083
36106
|
***
|
|
36084
36107
|
|
|
36085
|
-
###
|
|
36086
|
-
|
|
36087
|
-
> **forms**: `Record`\<`string`, [`IForm`](../../form/interfaces/IForm.md)\>
|
|
36108
|
+
### icon
|
|
36088
36109
|
|
|
36089
|
-
|
|
36110
|
+
> **icon**: `string`
|
|
36090
36111
|
|
|
36091
|
-
|
|
36112
|
+
Defined in: [lib/task.ts:2151](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2151)
|
|
36092
36113
|
|
|
36093
36114
|
***
|
|
36094
36115
|
|
|
@@ -36096,23 +36117,27 @@ Defined in: [lib/task.ts:2070](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36096
36117
|
|
|
36097
36118
|
> **id**: `string`
|
|
36098
36119
|
|
|
36099
|
-
Defined in: [lib/task.ts:
|
|
36120
|
+
Defined in: [lib/task.ts:2139](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2139)
|
|
36121
|
+
|
|
36122
|
+
任务 ID
|
|
36100
36123
|
|
|
36101
36124
|
***
|
|
36102
36125
|
|
|
36103
36126
|
### locale
|
|
36104
36127
|
|
|
36105
|
-
> **locale**: `
|
|
36128
|
+
> **locale**: `string`
|
|
36106
36129
|
|
|
36107
|
-
Defined in: [lib/task.ts:
|
|
36130
|
+
Defined in: [lib/task.ts:2148](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2148)
|
|
36108
36131
|
|
|
36109
|
-
|
|
36132
|
+
***
|
|
36110
36133
|
|
|
36111
|
-
|
|
36134
|
+
### name
|
|
36112
36135
|
|
|
36113
|
-
|
|
36136
|
+
> **name**: `string`
|
|
36114
36137
|
|
|
36115
|
-
|
|
36138
|
+
Defined in: [lib/task.ts:2141](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2141)
|
|
36139
|
+
|
|
36140
|
+
应用名
|
|
36116
36141
|
|
|
36117
36142
|
***
|
|
36118
36143
|
|
|
@@ -36120,29 +36145,27 @@ Defined in: [lib/task.ts:2060](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36120
36145
|
|
|
36121
36146
|
> **path**: `string`
|
|
36122
36147
|
|
|
36123
|
-
Defined in: [lib/task.ts:
|
|
36124
|
-
|
|
36125
|
-
当前 app 自己的完整路径,如 /x/xx.cga,或 /x/x,末尾不含 /
|
|
36148
|
+
Defined in: [lib/task.ts:2152](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2152)
|
|
36126
36149
|
|
|
36127
36150
|
***
|
|
36128
36151
|
|
|
36129
|
-
###
|
|
36152
|
+
### ver
|
|
36130
36153
|
|
|
36131
|
-
> **
|
|
36154
|
+
> **ver**: `number`
|
|
36132
36155
|
|
|
36133
|
-
Defined in: [lib/task.ts:
|
|
36156
|
+
Defined in: [lib/task.ts:2143](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2143)
|
|
36134
36157
|
|
|
36135
|
-
|
|
36158
|
+
发行版本
|
|
36136
36159
|
|
|
36137
36160
|
***
|
|
36138
36161
|
|
|
36139
|
-
###
|
|
36162
|
+
### version
|
|
36140
36163
|
|
|
36141
|
-
> **
|
|
36164
|
+
> **version**: `string`
|
|
36142
36165
|
|
|
36143
|
-
Defined in: [lib/task.ts:
|
|
36166
|
+
Defined in: [lib/task.ts:2145](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2145)
|
|
36144
36167
|
|
|
36145
|
-
|
|
36168
|
+
发行版本字符串
|
|
36146
36169
|
|
|
36147
36170
|
lib/task/interfaces/ITaskRunOptions.md
|
|
36148
36171
|
---
|
|
@@ -36155,7 +36178,7 @@ lib/task/interfaces/ITaskRunOptions.md
|
|
|
36155
36178
|
|
|
36156
36179
|
# Interface: ITaskRunOptions
|
|
36157
36180
|
|
|
36158
|
-
Defined in: [lib/task.ts:
|
|
36181
|
+
Defined in: [lib/task.ts:2109](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2109)
|
|
36159
36182
|
|
|
36160
36183
|
## Properties
|
|
36161
36184
|
|
|
@@ -36163,7 +36186,7 @@ Defined in: [lib/task.ts:2107](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36163
36186
|
|
|
36164
36187
|
> `optional` **after?**: `string`
|
|
36165
36188
|
|
|
36166
|
-
Defined in: [lib/task.ts:
|
|
36189
|
+
Defined in: [lib/task.ts:2122](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2122)
|
|
36167
36190
|
|
|
36168
36191
|
如果是网络加载 cga,则网址后面会附带,如 ?123
|
|
36169
36192
|
|
|
@@ -36173,7 +36196,7 @@ Defined in: [lib/task.ts:2120](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36173
36196
|
|
|
36174
36197
|
> `optional` **data?**: `Record`\<`string`, `any`\>
|
|
36175
36198
|
|
|
36176
|
-
Defined in: [lib/task.ts:
|
|
36199
|
+
Defined in: [lib/task.ts:2124](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2124)
|
|
36177
36200
|
|
|
36178
36201
|
给 task 传值
|
|
36179
36202
|
|
|
@@ -36183,7 +36206,7 @@ Defined in: [lib/task.ts:2122](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36183
36206
|
|
|
36184
36207
|
> `optional` **icon?**: `string`
|
|
36185
36208
|
|
|
36186
|
-
Defined in: [lib/task.ts:
|
|
36209
|
+
Defined in: [lib/task.ts:2110](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2110)
|
|
36187
36210
|
|
|
36188
36211
|
***
|
|
36189
36212
|
|
|
@@ -36191,7 +36214,7 @@ Defined in: [lib/task.ts:2108](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36191
36214
|
|
|
36192
36215
|
> `optional` **initProgress?**: (`loaded`, `total`, `type`, `msg`) => `void` \| `Promise`\<`void`\>
|
|
36193
36216
|
|
|
36194
|
-
Defined in: [lib/task.ts:
|
|
36217
|
+
Defined in: [lib/task.ts:2112](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2112)
|
|
36195
36218
|
|
|
36196
36219
|
初始化进度回调
|
|
36197
36220
|
|
|
@@ -36223,7 +36246,7 @@ Defined in: [lib/task.ts:2110](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36223
36246
|
|
|
36224
36247
|
> `optional` **notify?**: `boolean`
|
|
36225
36248
|
|
|
36226
|
-
Defined in: [lib/task.ts:
|
|
36249
|
+
Defined in: [lib/task.ts:2118](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2118)
|
|
36227
36250
|
|
|
36228
36251
|
显示 notify 窗口
|
|
36229
36252
|
|
|
@@ -36233,7 +36256,7 @@ Defined in: [lib/task.ts:2116](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36233
36256
|
|
|
36234
36257
|
> `optional` **path?**: `string`
|
|
36235
36258
|
|
|
36236
|
-
Defined in: [lib/task.ts:
|
|
36259
|
+
Defined in: [lib/task.ts:2126](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2126)
|
|
36237
36260
|
|
|
36238
36261
|
执行文件的基路径,一般在传入 APP 包时使用,以 .cga 结尾
|
|
36239
36262
|
|
|
@@ -36243,7 +36266,7 @@ Defined in: [lib/task.ts:2124](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36243
36266
|
|
|
36244
36267
|
> `optional` **permissions?**: `string`[]
|
|
36245
36268
|
|
|
36246
|
-
Defined in: [lib/task.ts:
|
|
36269
|
+
Defined in: [lib/task.ts:2120](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2120)
|
|
36247
36270
|
|
|
36248
36271
|
直接赋予此任务相应权限,有 "root" 权限的应用才能设置
|
|
36249
36272
|
|
|
@@ -36253,7 +36276,7 @@ Defined in: [lib/task.ts:2118](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36253
36276
|
|
|
36254
36277
|
> `optional` **perProgress?**: (`per`) => `void` \| `Promise`\<`void`\>
|
|
36255
36278
|
|
|
36256
|
-
Defined in: [lib/task.ts:
|
|
36279
|
+
Defined in: [lib/task.ts:2116](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2116)
|
|
36257
36280
|
|
|
36258
36281
|
返回总加载进度百分比(0 - 1)
|
|
36259
36282
|
|
|
@@ -36273,7 +36296,7 @@ Defined in: [lib/task.ts:2114](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36273
36296
|
|
|
36274
36297
|
> `optional` **progress?**: (`loaded`, `total`, `type`, `path`) => `void` \| `Promise`\<`void`\>
|
|
36275
36298
|
|
|
36276
|
-
Defined in: [lib/task.ts:
|
|
36299
|
+
Defined in: [lib/task.ts:2114](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2114)
|
|
36277
36300
|
|
|
36278
36301
|
加载进度回调(根据 type 分为不同阶段)
|
|
36279
36302
|
|
|
@@ -36310,7 +36333,7 @@ lib/task/interfaces/IThread.md
|
|
|
36310
36333
|
|
|
36311
36334
|
# Interface: IThread
|
|
36312
36335
|
|
|
36313
|
-
Defined in: [lib/task.ts:
|
|
36336
|
+
Defined in: [lib/task.ts:2041](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2041)
|
|
36314
36337
|
|
|
36315
36338
|
## Properties
|
|
36316
36339
|
|
|
@@ -36318,7 +36341,7 @@ Defined in: [lib/task.ts:2039](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36318
36341
|
|
|
36319
36342
|
> **end**: () => `Promise`\<`void`\>
|
|
36320
36343
|
|
|
36321
|
-
Defined in: [lib/task.ts:
|
|
36344
|
+
Defined in: [lib/task.ts:2049](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2049)
|
|
36322
36345
|
|
|
36323
36346
|
结束线程
|
|
36324
36347
|
|
|
@@ -36332,7 +36355,7 @@ Defined in: [lib/task.ts:2047](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36332
36355
|
|
|
36333
36356
|
> **off**: (`name`, `handler`) => `void`
|
|
36334
36357
|
|
|
36335
|
-
Defined in: [lib/task.ts:
|
|
36358
|
+
Defined in: [lib/task.ts:2045](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2045)
|
|
36336
36359
|
|
|
36337
36360
|
移除事件
|
|
36338
36361
|
|
|
@@ -36356,7 +36379,7 @@ Defined in: [lib/task.ts:2043](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36356
36379
|
|
|
36357
36380
|
> **on**: (`name`, `handler`) => `void`
|
|
36358
36381
|
|
|
36359
|
-
Defined in: [lib/task.ts:
|
|
36382
|
+
Defined in: [lib/task.ts:2043](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2043)
|
|
36360
36383
|
|
|
36361
36384
|
绑定事件
|
|
36362
36385
|
|
|
@@ -36380,7 +36403,7 @@ Defined in: [lib/task.ts:2041](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36380
36403
|
|
|
36381
36404
|
> **send**: (`data`) => `void`
|
|
36382
36405
|
|
|
36383
|
-
Defined in: [lib/task.ts:
|
|
36406
|
+
Defined in: [lib/task.ts:2047](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2047)
|
|
36384
36407
|
|
|
36385
36408
|
发送数据
|
|
36386
36409
|
|
|
@@ -36552,51 +36575,51 @@ Defined in: [lib/task.ts:60](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36552
36575
|
|
|
36553
36576
|
当前注册的系统任务栏
|
|
36554
36577
|
|
|
36555
|
-
lib/theme/functions/
|
|
36578
|
+
lib/theme/functions/clear.md
|
|
36556
36579
|
---
|
|
36557
36580
|
|
|
36558
36581
|
[**Documents for clickgo**](../../../index.md)
|
|
36559
36582
|
|
|
36560
36583
|
***
|
|
36561
36584
|
|
|
36562
|
-
[Documents for clickgo](../../../index.md) / [lib/theme](../index.md) /
|
|
36585
|
+
[Documents for clickgo](../../../index.md) / [lib/theme](../index.md) / clear
|
|
36563
36586
|
|
|
36564
|
-
# Function:
|
|
36587
|
+
# Function: clear()
|
|
36565
36588
|
|
|
36566
|
-
> **
|
|
36589
|
+
> **clear**(`taskId`): `Promise`\<`void`\>
|
|
36567
36590
|
|
|
36568
|
-
Defined in: [lib/theme.ts:
|
|
36591
|
+
Defined in: [lib/theme.ts:196](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L196)
|
|
36569
36592
|
|
|
36570
|
-
|
|
36593
|
+
清除一个 task 中所有加载的 theme(只能清除自定)
|
|
36594
|
+
|
|
36595
|
+
## Parameters
|
|
36596
|
+
|
|
36597
|
+
### taskId
|
|
36598
|
+
|
|
36599
|
+
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
36600
|
+
|
|
36601
|
+
要清除的任务 id
|
|
36571
36602
|
|
|
36572
36603
|
## Returns
|
|
36573
36604
|
|
|
36574
36605
|
`Promise`\<`void`\>
|
|
36575
36606
|
|
|
36576
|
-
lib/theme/functions/
|
|
36607
|
+
lib/theme/functions/clearGlobal.md
|
|
36577
36608
|
---
|
|
36578
36609
|
|
|
36579
36610
|
[**Documents for clickgo**](../../../index.md)
|
|
36580
36611
|
|
|
36581
36612
|
***
|
|
36582
36613
|
|
|
36583
|
-
[Documents for clickgo](../../../index.md) / [lib/theme](../index.md) /
|
|
36584
|
-
|
|
36585
|
-
# Function: clear()
|
|
36586
|
-
|
|
36587
|
-
> **clear**(`taskId`): `Promise`\<`void`\>
|
|
36588
|
-
|
|
36589
|
-
Defined in: [lib/theme.ts:196](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L196)
|
|
36590
|
-
|
|
36591
|
-
清除一个 task 中所有加载的 theme(只能清除自定)
|
|
36614
|
+
[Documents for clickgo](../../../index.md) / [lib/theme](../index.md) / clearGlobal
|
|
36592
36615
|
|
|
36593
|
-
|
|
36616
|
+
# Function: clearGlobal()
|
|
36594
36617
|
|
|
36595
|
-
|
|
36618
|
+
> **clearGlobal**(): `Promise`\<`void`\>
|
|
36596
36619
|
|
|
36597
|
-
[
|
|
36620
|
+
Defined in: [lib/theme.ts:246](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L246)
|
|
36598
36621
|
|
|
36599
|
-
|
|
36622
|
+
清除全局主题
|
|
36600
36623
|
|
|
36601
36624
|
## Returns
|
|
36602
36625
|
|
|
@@ -36831,6 +36854,49 @@ lib/theme/index.md
|
|
|
36831
36854
|
- [setGlobal](functions/setGlobal.md)
|
|
36832
36855
|
- [setMain](functions/setMain.md)
|
|
36833
36856
|
|
|
36857
|
+
lib/theme/interfaces/ITheme.md
|
|
36858
|
+
---
|
|
36859
|
+
|
|
36860
|
+
[**Documents for clickgo**](../../../index.md)
|
|
36861
|
+
|
|
36862
|
+
***
|
|
36863
|
+
|
|
36864
|
+
[Documents for clickgo](../../../index.md) / [lib/theme](../index.md) / ITheme
|
|
36865
|
+
|
|
36866
|
+
# Interface: ITheme
|
|
36867
|
+
|
|
36868
|
+
Defined in: [lib/theme.ts:284](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L284)
|
|
36869
|
+
|
|
36870
|
+
主题对象
|
|
36871
|
+
|
|
36872
|
+
## Properties
|
|
36873
|
+
|
|
36874
|
+
### config
|
|
36875
|
+
|
|
36876
|
+
> **config**: [`IThemeConfig`](IThemeConfig.md)
|
|
36877
|
+
|
|
36878
|
+
Defined in: [lib/theme.ts:287](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L287)
|
|
36879
|
+
|
|
36880
|
+
主题对象配置文件
|
|
36881
|
+
|
|
36882
|
+
***
|
|
36883
|
+
|
|
36884
|
+
### files
|
|
36885
|
+
|
|
36886
|
+
> **files**: `Record`\<`string`, `Blob` \| `string`\>
|
|
36887
|
+
|
|
36888
|
+
Defined in: [lib/theme.ts:289](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L289)
|
|
36889
|
+
|
|
36890
|
+
所有已加载的文件内容
|
|
36891
|
+
|
|
36892
|
+
***
|
|
36893
|
+
|
|
36894
|
+
### type
|
|
36895
|
+
|
|
36896
|
+
> **type**: `"theme"`
|
|
36897
|
+
|
|
36898
|
+
Defined in: [lib/theme.ts:285](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L285)
|
|
36899
|
+
|
|
36834
36900
|
lib/theme/interfaces/IThemeConfig.md
|
|
36835
36901
|
---
|
|
36836
36902
|
|
|
@@ -36898,49 +36964,6 @@ Defined in: [lib/theme.ts:295](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36898
36964
|
|
|
36899
36965
|
Defined in: [lib/theme.ts:296](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L296)
|
|
36900
36966
|
|
|
36901
|
-
lib/theme/interfaces/ITheme.md
|
|
36902
|
-
---
|
|
36903
|
-
|
|
36904
|
-
[**Documents for clickgo**](../../../index.md)
|
|
36905
|
-
|
|
36906
|
-
***
|
|
36907
|
-
|
|
36908
|
-
[Documents for clickgo](../../../index.md) / [lib/theme](../index.md) / ITheme
|
|
36909
|
-
|
|
36910
|
-
# Interface: ITheme
|
|
36911
|
-
|
|
36912
|
-
Defined in: [lib/theme.ts:284](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L284)
|
|
36913
|
-
|
|
36914
|
-
主题对象
|
|
36915
|
-
|
|
36916
|
-
## Properties
|
|
36917
|
-
|
|
36918
|
-
### config
|
|
36919
|
-
|
|
36920
|
-
> **config**: [`IThemeConfig`](IThemeConfig.md)
|
|
36921
|
-
|
|
36922
|
-
Defined in: [lib/theme.ts:287](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L287)
|
|
36923
|
-
|
|
36924
|
-
主题对象配置文件
|
|
36925
|
-
|
|
36926
|
-
***
|
|
36927
|
-
|
|
36928
|
-
### files
|
|
36929
|
-
|
|
36930
|
-
> **files**: `Record`\<`string`, `Blob` \| `string`\>
|
|
36931
|
-
|
|
36932
|
-
Defined in: [lib/theme.ts:289](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L289)
|
|
36933
|
-
|
|
36934
|
-
所有已加载的文件内容
|
|
36935
|
-
|
|
36936
|
-
***
|
|
36937
|
-
|
|
36938
|
-
### type
|
|
36939
|
-
|
|
36940
|
-
> **type**: `"theme"`
|
|
36941
|
-
|
|
36942
|
-
Defined in: [lib/theme.ts:285](https://github.com/maiyun/clickgo/blob/master/dist/lib/theme.ts#L285)
|
|
36943
|
-
|
|
36944
36967
|
lib/theme/variables/global.md
|
|
36945
36968
|
---
|
|
36946
36969
|
|
|
@@ -37555,6 +37578,53 @@ Defined in: [lib/tool.ts:543](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
37555
37578
|
|
|
37556
37579
|
> **zone**: `string`
|
|
37557
37580
|
|
|
37581
|
+
lib/tool/functions/get.md
|
|
37582
|
+
---
|
|
37583
|
+
|
|
37584
|
+
[**Documents for clickgo**](../../../index.md)
|
|
37585
|
+
|
|
37586
|
+
***
|
|
37587
|
+
|
|
37588
|
+
[Documents for clickgo](../../../index.md) / [lib/tool](../index.md) / get
|
|
37589
|
+
|
|
37590
|
+
# Function: get()
|
|
37591
|
+
|
|
37592
|
+
> **get**(`url`, `init?`, `opt?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
37593
|
+
|
|
37594
|
+
Defined in: [lib/tool.ts:403](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L403)
|
|
37595
|
+
|
|
37596
|
+
发起 GET 请求
|
|
37597
|
+
|
|
37598
|
+
## Parameters
|
|
37599
|
+
|
|
37600
|
+
### url
|
|
37601
|
+
|
|
37602
|
+
`string`
|
|
37603
|
+
|
|
37604
|
+
网址
|
|
37605
|
+
|
|
37606
|
+
### init?
|
|
37607
|
+
|
|
37608
|
+
`RequestInit`
|
|
37609
|
+
|
|
37610
|
+
选项
|
|
37611
|
+
|
|
37612
|
+
### opt?
|
|
37613
|
+
|
|
37614
|
+
选项
|
|
37615
|
+
|
|
37616
|
+
#### retry?
|
|
37617
|
+
|
|
37618
|
+
`number`
|
|
37619
|
+
|
|
37620
|
+
重试次数,默认 3 次
|
|
37621
|
+
|
|
37622
|
+
## Returns
|
|
37623
|
+
|
|
37624
|
+
`Promise`\<`string` \| `Blob` \| `null`\>
|
|
37625
|
+
|
|
37626
|
+
文本或二进制数据,失败时返回 null
|
|
37627
|
+
|
|
37558
37628
|
lib/tool/functions/getArray.md
|
|
37559
37629
|
---
|
|
37560
37630
|
|
|
@@ -37654,53 +37724,6 @@ Defined in: [lib/tool.ts:78](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
37654
37724
|
|
|
37655
37725
|
[`IClassPrototype`](../interfaces/IClassPrototype.md)
|
|
37656
37726
|
|
|
37657
|
-
lib/tool/functions/get.md
|
|
37658
|
-
---
|
|
37659
|
-
|
|
37660
|
-
[**Documents for clickgo**](../../../index.md)
|
|
37661
|
-
|
|
37662
|
-
***
|
|
37663
|
-
|
|
37664
|
-
[Documents for clickgo](../../../index.md) / [lib/tool](../index.md) / get
|
|
37665
|
-
|
|
37666
|
-
# Function: get()
|
|
37667
|
-
|
|
37668
|
-
> **get**(`url`, `init?`, `opt?`): `Promise`\<`string` \| `Blob` \| `null`\>
|
|
37669
|
-
|
|
37670
|
-
Defined in: [lib/tool.ts:403](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L403)
|
|
37671
|
-
|
|
37672
|
-
发起 GET 请求
|
|
37673
|
-
|
|
37674
|
-
## Parameters
|
|
37675
|
-
|
|
37676
|
-
### url
|
|
37677
|
-
|
|
37678
|
-
`string`
|
|
37679
|
-
|
|
37680
|
-
网址
|
|
37681
|
-
|
|
37682
|
-
### init?
|
|
37683
|
-
|
|
37684
|
-
`RequestInit`
|
|
37685
|
-
|
|
37686
|
-
选项
|
|
37687
|
-
|
|
37688
|
-
### opt?
|
|
37689
|
-
|
|
37690
|
-
选项
|
|
37691
|
-
|
|
37692
|
-
#### retry?
|
|
37693
|
-
|
|
37694
|
-
`number`
|
|
37695
|
-
|
|
37696
|
-
重试次数,默认 3 次
|
|
37697
|
-
|
|
37698
|
-
## Returns
|
|
37699
|
-
|
|
37700
|
-
`Promise`\<`string` \| `Blob` \| `null`\>
|
|
37701
|
-
|
|
37702
|
-
文本或二进制数据,失败时返回 null
|
|
37703
|
-
|
|
37704
37727
|
lib/tool/functions/getMimeByPath.md
|
|
37705
37728
|
---
|
|
37706
37729
|
|
|
@@ -39175,63 +39198,63 @@ Defined in: [lib/tool.ts:95](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
39175
39198
|
|
|
39176
39199
|
`string`
|
|
39177
39200
|
|
|
39178
|
-
lib/tool/functions/
|
|
39201
|
+
lib/tool/functions/sleep.md
|
|
39179
39202
|
---
|
|
39180
39203
|
|
|
39181
39204
|
[**Documents for clickgo**](../../../index.md)
|
|
39182
39205
|
|
|
39183
39206
|
***
|
|
39184
39207
|
|
|
39185
|
-
[Documents for clickgo](../../../index.md) / [lib/tool](../index.md) /
|
|
39208
|
+
[Documents for clickgo](../../../index.md) / [lib/tool](../index.md) / sleep
|
|
39186
39209
|
|
|
39187
|
-
# Function:
|
|
39210
|
+
# Function: sleep()
|
|
39188
39211
|
|
|
39189
|
-
> **
|
|
39212
|
+
> **sleep**(`ms?`): `Promise`\<`boolean`\>
|
|
39190
39213
|
|
|
39191
|
-
Defined in: [lib/tool.ts:
|
|
39214
|
+
Defined in: [lib/tool.ts:121](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L121)
|
|
39192
39215
|
|
|
39193
|
-
|
|
39216
|
+
等待毫秒
|
|
39194
39217
|
|
|
39195
39218
|
## Parameters
|
|
39196
39219
|
|
|
39197
|
-
###
|
|
39220
|
+
### ms?
|
|
39198
39221
|
|
|
39199
|
-
`number`
|
|
39222
|
+
`number` = `0`
|
|
39200
39223
|
|
|
39201
|
-
|
|
39224
|
+
等待的毫秒,默认 0,最大 30 秒
|
|
39202
39225
|
|
|
39203
39226
|
## Returns
|
|
39204
39227
|
|
|
39205
|
-
`Promise`\<`
|
|
39228
|
+
`Promise`\<`boolean`\>
|
|
39206
39229
|
|
|
39207
|
-
lib/tool/functions/
|
|
39230
|
+
lib/tool/functions/sleepFrame.md
|
|
39208
39231
|
---
|
|
39209
39232
|
|
|
39210
39233
|
[**Documents for clickgo**](../../../index.md)
|
|
39211
39234
|
|
|
39212
39235
|
***
|
|
39213
39236
|
|
|
39214
|
-
[Documents for clickgo](../../../index.md) / [lib/tool](../index.md) /
|
|
39237
|
+
[Documents for clickgo](../../../index.md) / [lib/tool](../index.md) / sleepFrame
|
|
39215
39238
|
|
|
39216
|
-
# Function:
|
|
39239
|
+
# Function: sleepFrame()
|
|
39217
39240
|
|
|
39218
|
-
> **
|
|
39241
|
+
> **sleepFrame**(`count`): `Promise`\<`void`\>
|
|
39219
39242
|
|
|
39220
|
-
Defined in: [lib/tool.ts:
|
|
39243
|
+
Defined in: [lib/tool.ts:136](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L136)
|
|
39221
39244
|
|
|
39222
|
-
|
|
39245
|
+
等待浏览器帧
|
|
39223
39246
|
|
|
39224
39247
|
## Parameters
|
|
39225
39248
|
|
|
39226
|
-
###
|
|
39249
|
+
### count
|
|
39227
39250
|
|
|
39228
|
-
`number`
|
|
39251
|
+
`number`
|
|
39229
39252
|
|
|
39230
|
-
|
|
39253
|
+
等待帧数最高 10 帧
|
|
39231
39254
|
|
|
39232
39255
|
## Returns
|
|
39233
39256
|
|
|
39234
|
-
`Promise`\<`
|
|
39257
|
+
`Promise`\<`void`\>
|
|
39235
39258
|
|
|
39236
39259
|
lib/tool/functions/stateMachine.md
|
|
39237
39260
|
---
|
|
@@ -40171,103 +40194,6 @@ Defined in: [lib/tool/encoding.ts:4](https://github.com/maiyun/clickgo/blob/mast
|
|
|
40171
40194
|
|
|
40172
40195
|
共享文本编码;GB18030 不使用 BOM
|
|
40173
40196
|
|
|
40174
|
-
lib/tool/variables/lang.md
|
|
40175
|
-
---
|
|
40176
|
-
|
|
40177
|
-
[**Documents for clickgo**](../../../index.md)
|
|
40178
|
-
|
|
40179
|
-
***
|
|
40180
|
-
|
|
40181
|
-
[Documents for clickgo](../../../index.md) / [lib/tool](../index.md) / lang
|
|
40182
|
-
|
|
40183
|
-
# Variable: lang
|
|
40184
|
-
|
|
40185
|
-
> `const` **lang**: `object`
|
|
40186
|
-
|
|
40187
|
-
Defined in: [lib/tool.ts:750](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L750)
|
|
40188
|
-
|
|
40189
|
-
语言相关
|
|
40190
|
-
|
|
40191
|
-
## Type Declaration
|
|
40192
|
-
|
|
40193
|
-
### codes
|
|
40194
|
-
|
|
40195
|
-
> **codes**: `string`[]
|
|
40196
|
-
|
|
40197
|
-
语言代号
|
|
40198
|
-
|
|
40199
|
-
### getCodeByAccept
|
|
40200
|
-
|
|
40201
|
-
> **getCodeByAccept**: (`accept?`) => `string`
|
|
40202
|
-
|
|
40203
|
-
根据常用语言字符串获取语言 code
|
|
40204
|
-
|
|
40205
|
-
#### Parameters
|
|
40206
|
-
|
|
40207
|
-
##### accept?
|
|
40208
|
-
|
|
40209
|
-
`string`
|
|
40210
|
-
|
|
40211
|
-
常用字符串,如 zh-cn,或包含 zh-cn 的字符串,默认取浏览器的语言
|
|
40212
|
-
|
|
40213
|
-
#### Returns
|
|
40214
|
-
|
|
40215
|
-
`string`
|
|
40216
|
-
|
|
40217
|
-
### getDirection
|
|
40218
|
-
|
|
40219
|
-
> **getDirection**: (`locale`) => `"ltr"` \| `"rtl"`
|
|
40220
|
-
|
|
40221
|
-
获取语言书写方向
|
|
40222
|
-
|
|
40223
|
-
#### Parameters
|
|
40224
|
-
|
|
40225
|
-
##### locale
|
|
40226
|
-
|
|
40227
|
-
`string`
|
|
40228
|
-
|
|
40229
|
-
ClickGo 语言代号或浏览器语言字符串
|
|
40230
|
-
|
|
40231
|
-
#### Returns
|
|
40232
|
-
|
|
40233
|
-
`"ltr"` \| `"rtl"`
|
|
40234
|
-
|
|
40235
|
-
### getTag
|
|
40236
|
-
|
|
40237
|
-
> **getTag**: (`locale`) => `string`
|
|
40238
|
-
|
|
40239
|
-
获取标准 HTML lang 标签
|
|
40240
|
-
|
|
40241
|
-
#### Parameters
|
|
40242
|
-
|
|
40243
|
-
##### locale
|
|
40244
|
-
|
|
40245
|
-
`string`
|
|
40246
|
-
|
|
40247
|
-
ClickGo 语言代号或浏览器语言字符串
|
|
40248
|
-
|
|
40249
|
-
#### Returns
|
|
40250
|
-
|
|
40251
|
-
`string`
|
|
40252
|
-
|
|
40253
|
-
### map
|
|
40254
|
-
|
|
40255
|
-
> **map**: `Record`\<`string`, `string`\>
|
|
40256
|
-
|
|
40257
|
-
浏览器常用映射为本语言
|
|
40258
|
-
|
|
40259
|
-
### names
|
|
40260
|
-
|
|
40261
|
-
> **names**: `string`[]
|
|
40262
|
-
|
|
40263
|
-
语言名称
|
|
40264
|
-
|
|
40265
|
-
### tags
|
|
40266
|
-
|
|
40267
|
-
> **tags**: `Record`\<`string`, `string`\>
|
|
40268
|
-
|
|
40269
|
-
语言代号对应的标准 HTML lang 标签
|
|
40270
|
-
|
|
40271
40197
|
lib/tool/variables/RANDOM_L.md
|
|
40272
40198
|
---
|
|
40273
40199
|
|
|
@@ -40403,6 +40329,103 @@ lib/tool/variables/RANDOM_V.md
|
|
|
40403
40329
|
|
|
40404
40330
|
Defined in: [lib/tool.ts:251](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L251)
|
|
40405
40331
|
|
|
40332
|
+
lib/tool/variables/lang.md
|
|
40333
|
+
---
|
|
40334
|
+
|
|
40335
|
+
[**Documents for clickgo**](../../../index.md)
|
|
40336
|
+
|
|
40337
|
+
***
|
|
40338
|
+
|
|
40339
|
+
[Documents for clickgo](../../../index.md) / [lib/tool](../index.md) / lang
|
|
40340
|
+
|
|
40341
|
+
# Variable: lang
|
|
40342
|
+
|
|
40343
|
+
> `const` **lang**: `object`
|
|
40344
|
+
|
|
40345
|
+
Defined in: [lib/tool.ts:750](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L750)
|
|
40346
|
+
|
|
40347
|
+
语言相关
|
|
40348
|
+
|
|
40349
|
+
## Type Declaration
|
|
40350
|
+
|
|
40351
|
+
### codes
|
|
40352
|
+
|
|
40353
|
+
> **codes**: `string`[]
|
|
40354
|
+
|
|
40355
|
+
语言代号
|
|
40356
|
+
|
|
40357
|
+
### getCodeByAccept
|
|
40358
|
+
|
|
40359
|
+
> **getCodeByAccept**: (`accept?`) => `string`
|
|
40360
|
+
|
|
40361
|
+
根据常用语言字符串获取语言 code
|
|
40362
|
+
|
|
40363
|
+
#### Parameters
|
|
40364
|
+
|
|
40365
|
+
##### accept?
|
|
40366
|
+
|
|
40367
|
+
`string`
|
|
40368
|
+
|
|
40369
|
+
常用字符串,如 zh-cn,或包含 zh-cn 的字符串,默认取浏览器的语言
|
|
40370
|
+
|
|
40371
|
+
#### Returns
|
|
40372
|
+
|
|
40373
|
+
`string`
|
|
40374
|
+
|
|
40375
|
+
### getDirection
|
|
40376
|
+
|
|
40377
|
+
> **getDirection**: (`locale`) => `"ltr"` \| `"rtl"`
|
|
40378
|
+
|
|
40379
|
+
获取语言书写方向
|
|
40380
|
+
|
|
40381
|
+
#### Parameters
|
|
40382
|
+
|
|
40383
|
+
##### locale
|
|
40384
|
+
|
|
40385
|
+
`string`
|
|
40386
|
+
|
|
40387
|
+
ClickGo 语言代号或浏览器语言字符串
|
|
40388
|
+
|
|
40389
|
+
#### Returns
|
|
40390
|
+
|
|
40391
|
+
`"ltr"` \| `"rtl"`
|
|
40392
|
+
|
|
40393
|
+
### getTag
|
|
40394
|
+
|
|
40395
|
+
> **getTag**: (`locale`) => `string`
|
|
40396
|
+
|
|
40397
|
+
获取标准 HTML lang 标签
|
|
40398
|
+
|
|
40399
|
+
#### Parameters
|
|
40400
|
+
|
|
40401
|
+
##### locale
|
|
40402
|
+
|
|
40403
|
+
`string`
|
|
40404
|
+
|
|
40405
|
+
ClickGo 语言代号或浏览器语言字符串
|
|
40406
|
+
|
|
40407
|
+
#### Returns
|
|
40408
|
+
|
|
40409
|
+
`string`
|
|
40410
|
+
|
|
40411
|
+
### map
|
|
40412
|
+
|
|
40413
|
+
> **map**: `Record`\<`string`, `string`\>
|
|
40414
|
+
|
|
40415
|
+
浏览器常用映射为本语言
|
|
40416
|
+
|
|
40417
|
+
### names
|
|
40418
|
+
|
|
40419
|
+
> **names**: `string`[]
|
|
40420
|
+
|
|
40421
|
+
语言名称
|
|
40422
|
+
|
|
40423
|
+
### tags
|
|
40424
|
+
|
|
40425
|
+
> **tags**: `Record`\<`string`, `string`\>
|
|
40426
|
+
|
|
40427
|
+
语言代号对应的标准 HTML lang 标签
|
|
40428
|
+
|
|
40406
40429
|
lib/zip/classes/Zip.md
|
|
40407
40430
|
---
|
|
40408
40431
|
|