clickgo 6.1.3 → 6.1.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/form.cgc +0 -0
- package/dist/index.js +1 -1
- package/dist/lib/control.d.ts +1 -1
- package/dist/lib/native.d.ts +7 -0
- package/doc/clickgo-rag.md +365 -321
- package/package.json +1 -1
- package/test/form-native-style.mjs +70 -0
- package/test/form-native.mjs +68 -0
package/doc/clickgo-rag.md
CHANGED
|
@@ -2852,6 +2852,8 @@ public init(canvas: fabric.Canvas): void {
|
|
|
2852
2852
|
|
|
2853
2853
|
标准的窗体组件,支持拖拽、缩放、最大化、最小化等。
|
|
2854
2854
|
|
|
2855
|
+
沉浸式 Native 的首个窗体不绘制外层圆角、边框和阴影,由系统负责实体窗口外形;不受主题和 `border` 参数影响。标题栏仍按 `border` 参数显示,窗体内其他控件的圆角和边框不受影响。网页、带系统标题栏的 Native 和后续窗体保持原有样式。
|
|
2856
|
+
|
|
2855
2857
|
### 参数
|
|
2856
2858
|
|
|
2857
2859
|
#### icon
|
|
@@ -2906,13 +2908,13 @@ public init(canvas: fabric.Canvas): void {
|
|
|
2906
2908
|
|
|
2907
2909
|
`number` | `string`
|
|
2908
2910
|
|
|
2909
|
-
最小宽度,默认 200
|
|
2911
|
+
最小宽度,默认 200。沉浸式 Native 首个窗体会同步到实体窗口,后续修改也会同步。
|
|
2910
2912
|
|
|
2911
2913
|
#### minHeight
|
|
2912
2914
|
|
|
2913
2915
|
`number` | `string`
|
|
2914
2916
|
|
|
2915
|
-
最小高度,默认 100
|
|
2917
|
+
最小高度,默认 100。沉浸式 Native 首个窗体会同步到实体窗口,后续修改也会同步。
|
|
2916
2918
|
|
|
2917
2919
|
#### border
|
|
2918
2920
|
|
|
@@ -2992,7 +2994,7 @@ public init(canvas: fabric.Canvas): void {
|
|
|
2992
2994
|
|
|
2993
2995
|
`() => void`
|
|
2994
2996
|
|
|
2995
|
-
|
|
2997
|
+
关闭时触发,参数为 `IFormCloseEvent`,可调用 `event.preventDefault()` 阻止默认关闭。沉浸式 Native 首个窗体的系统关闭(如 Alt+F4)也会触发,此时 `event.detail.event` 为 `null`。程序调用 `form.close()` 不触发此事件,确认完成后可用它关闭窗体。
|
|
2996
2998
|
|
|
2997
2999
|
#### size
|
|
2998
3000
|
|
|
@@ -11601,7 +11603,7 @@ Defined in: [lib/control.ts:1061](https://github.com/maiyun/clickgo/blob/master/
|
|
|
11601
11603
|
|
|
11602
11604
|
#### event
|
|
11603
11605
|
|
|
11604
|
-
> **event**: `MouseEvent`
|
|
11606
|
+
> **event**: `MouseEvent` \| `null`
|
|
11605
11607
|
|
|
11606
11608
|
***
|
|
11607
11609
|
|
|
@@ -19147,7 +19149,7 @@ lib/form/classes/AbstractComponent.md
|
|
|
19147
19149
|
|
|
19148
19150
|
# Abstract Class: AbstractComponent
|
|
19149
19151
|
|
|
19150
|
-
Defined in: [lib/form.ts:
|
|
19152
|
+
Defined in: [lib/form.ts:552](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L552)
|
|
19151
19153
|
|
|
19152
19154
|
Form/Panel 内使用的应用局部组件抽象类
|
|
19153
19155
|
|
|
@@ -19175,7 +19177,7 @@ Form/Panel 内使用的应用局部组件抽象类
|
|
|
19175
19177
|
|
|
19176
19178
|
> `readonly` **components**: `Record`\<`string`, () => `AbstractComponent`\> = `{}`
|
|
19177
19179
|
|
|
19178
|
-
Defined in: [lib/form.ts:
|
|
19180
|
+
Defined in: [lib/form.ts:555](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L555)
|
|
19179
19181
|
|
|
19180
19182
|
当前组件内继续局部注册的应用组件
|
|
19181
19183
|
|
|
@@ -19189,7 +19191,7 @@ Defined in: [lib/form.ts:552](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19189
19191
|
|
|
19190
19192
|
> `readonly` **emits**: `Record`\<`string`, `null` \| ((`payload`) => `boolean`)\> = `{}`
|
|
19191
19193
|
|
|
19192
|
-
Defined in: [lib/form.ts:
|
|
19194
|
+
Defined in: [lib/form.ts:618](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L618)
|
|
19193
19195
|
|
|
19194
19196
|
组件事件,由用户定义重写
|
|
19195
19197
|
|
|
@@ -19199,7 +19201,7 @@ Defined in: [lib/form.ts:615](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19199
19201
|
|
|
19200
19202
|
> `readonly` **packageFiles**: `Record`\<`string`, `Blob` \| `string`\> = `{}`
|
|
19201
19203
|
|
|
19202
|
-
Defined in: [lib/form.ts:
|
|
19204
|
+
Defined in: [lib/form.ts:612](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L612)
|
|
19203
19205
|
|
|
19204
19206
|
组件内部文件,由系统重写
|
|
19205
19207
|
|
|
@@ -19209,7 +19211,7 @@ Defined in: [lib/form.ts:609](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19209
19211
|
|
|
19210
19212
|
> `readonly` **props**: `object` = `{}`
|
|
19211
19213
|
|
|
19212
|
-
Defined in: [lib/form.ts:
|
|
19214
|
+
Defined in: [lib/form.ts:615](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L615)
|
|
19213
19215
|
|
|
19214
19216
|
组件参数,由用户定义重写
|
|
19215
19217
|
|
|
@@ -19219,7 +19221,7 @@ Defined in: [lib/form.ts:612](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19219
19221
|
|
|
19220
19222
|
> `readonly` **slots**: `Record`\<`string`, () => `any`[]\> = `{}`
|
|
19221
19223
|
|
|
19222
|
-
Defined in: [lib/form.ts:
|
|
19224
|
+
Defined in: [lib/form.ts:621](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L621)
|
|
19223
19225
|
|
|
19224
19226
|
组件的子插槽
|
|
19225
19227
|
|
|
@@ -19231,7 +19233,7 @@ Defined in: [lib/form.ts:618](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19231
19233
|
|
|
19232
19234
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
19233
19235
|
|
|
19234
|
-
Defined in: [lib/form.ts:
|
|
19236
|
+
Defined in: [lib/form.ts:602](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L602)
|
|
19235
19237
|
|
|
19236
19238
|
应用组件动态 class 的隔离前缀
|
|
19237
19239
|
|
|
@@ -19251,7 +19253,7 @@ Defined in: [lib/form.ts:599](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19251
19253
|
|
|
19252
19254
|
> **get** **controlName**(): `string`
|
|
19253
19255
|
|
|
19254
|
-
Defined in: [lib/form.ts:
|
|
19256
|
+
Defined in: [lib/form.ts:251](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L251)
|
|
19255
19257
|
|
|
19256
19258
|
当前控件的名字
|
|
19257
19259
|
|
|
@@ -19263,7 +19265,7 @@ Defined in: [lib/form.ts:248](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19263
19265
|
|
|
19264
19266
|
> **set** **controlName**(`v`): `void`
|
|
19265
19267
|
|
|
19266
|
-
Defined in: [lib/form.ts:
|
|
19268
|
+
Defined in: [lib/form.ts:255](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L255)
|
|
19267
19269
|
|
|
19268
19270
|
##### Parameters
|
|
19269
19271
|
|
|
@@ -19287,7 +19289,7 @@ Defined in: [lib/form.ts:252](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19287
19289
|
|
|
19288
19290
|
> **get** **element**(): `HTMLElement`
|
|
19289
19291
|
|
|
19290
|
-
Defined in: [lib/form.ts:
|
|
19292
|
+
Defined in: [lib/form.ts:359](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L359)
|
|
19291
19293
|
|
|
19292
19294
|
获取当前的 HTML DOM
|
|
19293
19295
|
|
|
@@ -19307,7 +19309,7 @@ Defined in: [lib/form.ts:356](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19307
19309
|
|
|
19308
19310
|
> **get** **filename**(): `string`
|
|
19309
19311
|
|
|
19310
|
-
Defined in: [lib/form.ts:
|
|
19312
|
+
Defined in: [lib/form.ts:245](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L245)
|
|
19311
19313
|
|
|
19312
19314
|
当前文件在包内的路径
|
|
19313
19315
|
|
|
@@ -19327,7 +19329,7 @@ Defined in: [lib/form.ts:242](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19327
19329
|
|
|
19328
19330
|
> **get** **findex**(): `number`
|
|
19329
19331
|
|
|
19330
|
-
Defined in: [lib/form.ts:
|
|
19332
|
+
Defined in: [lib/form.ts:558](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L558)
|
|
19331
19333
|
|
|
19332
19334
|
当前组件所在窗体的创建序号
|
|
19333
19335
|
|
|
@@ -19343,7 +19345,7 @@ Defined in: [lib/form.ts:555](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19343
19345
|
|
|
19344
19346
|
> **get** **fl**(): (`key`, `data?`) => `string`
|
|
19345
19347
|
|
|
19346
|
-
Defined in: [lib/form.ts:
|
|
19348
|
+
Defined in: [lib/form.ts:592](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L592)
|
|
19347
19349
|
|
|
19348
19350
|
获取宿主窗体语言内容
|
|
19349
19351
|
|
|
@@ -19359,7 +19361,7 @@ Defined in: [lib/form.ts:589](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19359
19361
|
|
|
19360
19362
|
> **get** **formFocus**(): `boolean`
|
|
19361
19363
|
|
|
19362
|
-
Defined in: [lib/form.ts:
|
|
19364
|
+
Defined in: [lib/form.ts:580](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L580)
|
|
19363
19365
|
|
|
19364
19366
|
当前组件是否跟随宿主窗体获得焦点
|
|
19365
19367
|
|
|
@@ -19379,7 +19381,7 @@ Defined in: [lib/form.ts:577](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19379
19381
|
|
|
19380
19382
|
> **get** **formId**(): `string`
|
|
19381
19383
|
|
|
19382
|
-
Defined in: [lib/form.ts:
|
|
19384
|
+
Defined in: [lib/form.ts:271](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L271)
|
|
19383
19385
|
|
|
19384
19386
|
当前的窗体 ID
|
|
19385
19387
|
|
|
@@ -19399,7 +19401,7 @@ Defined in: [lib/form.ts:268](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19399
19401
|
|
|
19400
19402
|
> **get** **l**(): (`key`, `data?`) => `string`
|
|
19401
19403
|
|
|
19402
|
-
Defined in: [lib/form.ts:
|
|
19404
|
+
Defined in: [lib/form.ts:585](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L585)
|
|
19403
19405
|
|
|
19404
19406
|
获取宿主 Form/Panel 的语言内容
|
|
19405
19407
|
|
|
@@ -19419,7 +19421,7 @@ Defined in: [lib/form.ts:582](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19419
19421
|
|
|
19420
19422
|
> **get** **locale**(): `string`
|
|
19421
19423
|
|
|
19422
|
-
Defined in: [lib/form.ts:
|
|
19424
|
+
Defined in: [lib/form.ts:297](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L297)
|
|
19423
19425
|
|
|
19424
19426
|
当前的语言
|
|
19425
19427
|
|
|
@@ -19439,7 +19441,7 @@ Defined in: [lib/form.ts:294](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19439
19441
|
|
|
19440
19442
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
19441
19443
|
|
|
19442
|
-
Defined in: [lib/form.ts:
|
|
19444
|
+
Defined in: [lib/form.ts:366](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L366)
|
|
19443
19445
|
|
|
19444
19446
|
等待渲染
|
|
19445
19447
|
|
|
@@ -19459,7 +19461,7 @@ Defined in: [lib/form.ts:363](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19459
19461
|
|
|
19460
19462
|
> **get** **parent**(): `never`
|
|
19461
19463
|
|
|
19462
|
-
Defined in: [lib/form.ts:
|
|
19464
|
+
Defined in: [lib/form.ts:669](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L669)
|
|
19463
19465
|
|
|
19464
19466
|
获取上层控件或组件
|
|
19465
19467
|
|
|
@@ -19475,7 +19477,7 @@ Defined in: [lib/form.ts:666](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19475
19477
|
|
|
19476
19478
|
> **get** **parentByAccess**(): (`name`, `val`) => `Record`\<`string`, `any`\> \| `null`
|
|
19477
19479
|
|
|
19478
|
-
Defined in: [lib/form.ts:
|
|
19480
|
+
Defined in: [lib/form.ts:688](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L688)
|
|
19479
19481
|
|
|
19480
19482
|
根据 access 查询上层对象
|
|
19481
19483
|
|
|
@@ -19491,7 +19493,7 @@ Defined in: [lib/form.ts:685](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19491
19493
|
|
|
19492
19494
|
> **get** **parentByName**(): (`controlName`) => `Record`\<`string`, `any`\> \| `null`
|
|
19493
19495
|
|
|
19494
|
-
Defined in: [lib/form.ts:
|
|
19496
|
+
Defined in: [lib/form.ts:674](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L674)
|
|
19495
19497
|
|
|
19496
19498
|
根据 controlName 查询上层对象
|
|
19497
19499
|
|
|
@@ -19507,7 +19509,7 @@ Defined in: [lib/form.ts:671](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19507
19509
|
|
|
19508
19510
|
> **get** **path**(): `string`
|
|
19509
19511
|
|
|
19510
|
-
Defined in: [lib/form.ts:
|
|
19512
|
+
Defined in: [lib/form.ts:285](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L285)
|
|
19511
19513
|
|
|
19512
19514
|
当前文件的包内路径不以 / 结尾
|
|
19513
19515
|
|
|
@@ -19527,7 +19529,7 @@ Defined in: [lib/form.ts:282](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19527
19529
|
|
|
19528
19530
|
> **get** **prep**(): `string`
|
|
19529
19531
|
|
|
19530
|
-
Defined in: [lib/form.ts:
|
|
19532
|
+
Defined in: [lib/form.ts:291](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L291)
|
|
19531
19533
|
|
|
19532
19534
|
样式独占前缀
|
|
19533
19535
|
|
|
@@ -19547,7 +19549,7 @@ Defined in: [lib/form.ts:288](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19547
19549
|
|
|
19548
19550
|
> **get** **propArray**(): (`name`) => `any`[]
|
|
19549
19551
|
|
|
19550
|
-
Defined in: [lib/form.ts:
|
|
19552
|
+
Defined in: [lib/form.ts:659](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L659)
|
|
19551
19553
|
|
|
19552
19554
|
获取 props 中的 array 类型值
|
|
19553
19555
|
|
|
@@ -19563,7 +19565,7 @@ Defined in: [lib/form.ts:656](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19563
19565
|
|
|
19564
19566
|
> **get** **propBoolean**(): (`name`) => `boolean`
|
|
19565
19567
|
|
|
19566
|
-
Defined in: [lib/form.ts:
|
|
19568
|
+
Defined in: [lib/form.ts:644](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L644)
|
|
19567
19569
|
|
|
19568
19570
|
获取 props 中的 boolean 类型值
|
|
19569
19571
|
|
|
@@ -19579,7 +19581,7 @@ Defined in: [lib/form.ts:641](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19579
19581
|
|
|
19580
19582
|
> **get** **propInt**(): (`name`) => `number`
|
|
19581
19583
|
|
|
19582
|
-
Defined in: [lib/form.ts:
|
|
19584
|
+
Defined in: [lib/form.ts:654](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L654)
|
|
19583
19585
|
|
|
19584
19586
|
获取 props 中的 int 类型值
|
|
19585
19587
|
|
|
@@ -19595,7 +19597,7 @@ Defined in: [lib/form.ts:651](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19595
19597
|
|
|
19596
19598
|
> **get** **propNumber**(): (`name`) => `number`
|
|
19597
19599
|
|
|
19598
|
-
Defined in: [lib/form.ts:
|
|
19600
|
+
Defined in: [lib/form.ts:649](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L649)
|
|
19599
19601
|
|
|
19600
19602
|
获取 props 中的 number 类型值
|
|
19601
19603
|
|
|
@@ -19611,7 +19613,7 @@ Defined in: [lib/form.ts:646](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19611
19613
|
|
|
19612
19614
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
19613
19615
|
|
|
19614
|
-
Defined in: [lib/form.ts:
|
|
19616
|
+
Defined in: [lib/form.ts:354](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L354)
|
|
19615
19617
|
|
|
19616
19618
|
获取 refs 情况
|
|
19617
19619
|
|
|
@@ -19631,7 +19633,7 @@ Defined in: [lib/form.ts:351](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19631
19633
|
|
|
19632
19634
|
> **get** **rootForm**(): [`AbstractForm`](AbstractForm.md) & `Record`\<`string`, `any`\>
|
|
19633
19635
|
|
|
19634
|
-
Defined in: [lib/form.ts:
|
|
19636
|
+
Defined in: [lib/form.ts:565](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L565)
|
|
19635
19637
|
|
|
19636
19638
|
##### Returns
|
|
19637
19639
|
|
|
@@ -19645,7 +19647,7 @@ Defined in: [lib/form.ts:562](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19645
19647
|
|
|
19646
19648
|
> **get** **slotsAll**(): (`name`) => `any`[]
|
|
19647
19649
|
|
|
19648
|
-
Defined in: [lib/form.ts:
|
|
19650
|
+
Defined in: [lib/form.ts:624](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L624)
|
|
19649
19651
|
|
|
19650
19652
|
获取某插槽所有子项
|
|
19651
19653
|
|
|
@@ -19661,7 +19663,7 @@ Defined in: [lib/form.ts:621](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19661
19663
|
|
|
19662
19664
|
> **get** **taskId**(): `string`
|
|
19663
19665
|
|
|
19664
|
-
Defined in: [lib/form.ts:
|
|
19666
|
+
Defined in: [lib/form.ts:265](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L265)
|
|
19665
19667
|
|
|
19666
19668
|
当前的任务 ID
|
|
19667
19669
|
|
|
@@ -19679,7 +19681,7 @@ Defined in: [lib/form.ts:262](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19679
19681
|
|
|
19680
19682
|
> **allowEvent**(`e`): `boolean`
|
|
19681
19683
|
|
|
19682
|
-
Defined in: [lib/form.ts:
|
|
19684
|
+
Defined in: [lib/form.ts:374](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L374)
|
|
19683
19685
|
|
|
19684
19686
|
判断当前事件可否执行
|
|
19685
19687
|
|
|
@@ -19705,7 +19707,7 @@ Defined in: [lib/form.ts:371](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19705
19707
|
|
|
19706
19708
|
> **emit**(`name`, ...`v`): `void`
|
|
19707
19709
|
|
|
19708
|
-
Defined in: [lib/form.ts:
|
|
19710
|
+
Defined in: [lib/form.ts:664](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L664)
|
|
19709
19711
|
|
|
19710
19712
|
向上触发组件事件
|
|
19711
19713
|
|
|
@@ -19729,7 +19731,7 @@ Defined in: [lib/form.ts:661](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19729
19731
|
|
|
19730
19732
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
19731
19733
|
|
|
19732
|
-
Defined in: [lib/form.ts:
|
|
19734
|
+
Defined in: [lib/form.ts:404](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L404)
|
|
19733
19735
|
|
|
19734
19736
|
#### Returns
|
|
19735
19737
|
|
|
@@ -19745,7 +19747,7 @@ Defined in: [lib/form.ts:401](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19745
19747
|
|
|
19746
19748
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
19747
19749
|
|
|
19748
|
-
Defined in: [lib/form.ts:
|
|
19750
|
+
Defined in: [lib/form.ts:412](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L412)
|
|
19749
19751
|
|
|
19750
19752
|
#### Returns
|
|
19751
19753
|
|
|
@@ -19761,7 +19763,7 @@ Defined in: [lib/form.ts:409](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19761
19763
|
|
|
19762
19764
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
19763
19765
|
|
|
19764
|
-
Defined in: [lib/form.ts:
|
|
19766
|
+
Defined in: [lib/form.ts:424](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L424)
|
|
19765
19767
|
|
|
19766
19768
|
#### Returns
|
|
19767
19769
|
|
|
@@ -19777,7 +19779,7 @@ Defined in: [lib/form.ts:421](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19777
19779
|
|
|
19778
19780
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
19779
19781
|
|
|
19780
|
-
Defined in: [lib/form.ts:
|
|
19782
|
+
Defined in: [lib/form.ts:416](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L416)
|
|
19781
19783
|
|
|
19782
19784
|
#### Returns
|
|
19783
19785
|
|
|
@@ -19793,7 +19795,7 @@ Defined in: [lib/form.ts:413](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19793
19795
|
|
|
19794
19796
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
19795
19797
|
|
|
19796
|
-
Defined in: [lib/form.ts:
|
|
19798
|
+
Defined in: [lib/form.ts:408](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L408)
|
|
19797
19799
|
|
|
19798
19800
|
#### Returns
|
|
19799
19801
|
|
|
@@ -19809,7 +19811,7 @@ Defined in: [lib/form.ts:405](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19809
19811
|
|
|
19810
19812
|
> **onMounted**(): `void` \| `Promise`\<`void`\>
|
|
19811
19813
|
|
|
19812
|
-
Defined in: [lib/form.ts:
|
|
19814
|
+
Defined in: [lib/form.ts:702](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L702)
|
|
19813
19815
|
|
|
19814
19816
|
组件挂载好后触发
|
|
19815
19817
|
|
|
@@ -19823,7 +19825,7 @@ Defined in: [lib/form.ts:699](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19823
19825
|
|
|
19824
19826
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
19825
19827
|
|
|
19826
|
-
Defined in: [lib/form.ts:
|
|
19828
|
+
Defined in: [lib/form.ts:428](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L428)
|
|
19827
19829
|
|
|
19828
19830
|
#### Returns
|
|
19829
19831
|
|
|
@@ -19839,7 +19841,7 @@ Defined in: [lib/form.ts:425](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19839
19841
|
|
|
19840
19842
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
19841
19843
|
|
|
19842
|
-
Defined in: [lib/form.ts:
|
|
19844
|
+
Defined in: [lib/form.ts:420](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L420)
|
|
19843
19845
|
|
|
19844
19846
|
#### Returns
|
|
19845
19847
|
|
|
@@ -19855,7 +19857,7 @@ Defined in: [lib/form.ts:417](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19855
19857
|
|
|
19856
19858
|
> **send**(`fid`, `obj`): `void`
|
|
19857
19859
|
|
|
19858
|
-
Defined in: [lib/form.ts:
|
|
19860
|
+
Defined in: [lib/form.ts:396](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L396)
|
|
19859
19861
|
|
|
19860
19862
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
19861
19863
|
|
|
@@ -19887,7 +19889,7 @@ formId 要接收对象的 form id
|
|
|
19887
19889
|
|
|
19888
19890
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
19889
19891
|
|
|
19890
|
-
Defined in: [lib/form.ts:
|
|
19892
|
+
Defined in: [lib/form.ts:384](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L384)
|
|
19891
19893
|
|
|
19892
19894
|
触发系统方法
|
|
19893
19895
|
|
|
@@ -19925,7 +19927,7 @@ Defined in: [lib/form.ts:381](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19925
19927
|
|
|
19926
19928
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
19927
19929
|
|
|
19928
|
-
Defined in: [lib/form.ts:
|
|
19930
|
+
Defined in: [lib/form.ts:340](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L340)
|
|
19929
19931
|
|
|
19930
19932
|
监视变动
|
|
19931
19933
|
|
|
@@ -19988,7 +19990,7 @@ lib/form/classes/AbstractForm.md
|
|
|
19988
19990
|
|
|
19989
19991
|
# Abstract Class: AbstractForm
|
|
19990
19992
|
|
|
19991
|
-
Defined in: [lib/form.ts:
|
|
19993
|
+
Defined in: [lib/form.ts:922](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L922)
|
|
19992
19994
|
|
|
19993
19995
|
窗体的抽象类
|
|
19994
19996
|
|
|
@@ -20016,7 +20018,7 @@ Defined in: [lib/form.ts:919](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20016
20018
|
|
|
20017
20019
|
> `readonly` **components**: `Record`\<`string`, () => [`AbstractComponent`](AbstractComponent.md)\> = `{}`
|
|
20018
20020
|
|
|
20019
|
-
Defined in: [lib/form.ts:
|
|
20021
|
+
Defined in: [lib/form.ts:242](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L242)
|
|
20020
20022
|
|
|
20021
20023
|
当前视图内局部注册的应用组件
|
|
20022
20024
|
|
|
@@ -20030,7 +20032,7 @@ Defined in: [lib/form.ts:239](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20030
20032
|
|
|
20031
20033
|
> **dialogResult**: `string` = `''`
|
|
20032
20034
|
|
|
20033
|
-
Defined in: [lib/form.ts:
|
|
20035
|
+
Defined in: [lib/form.ts:1211](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1211)
|
|
20034
20036
|
|
|
20035
20037
|
dialog mask 窗体返回值,在 close 之后会进行传导
|
|
20036
20038
|
|
|
@@ -20040,7 +20042,7 @@ dialog mask 窗体返回值,在 close 之后会进行传导
|
|
|
20040
20042
|
|
|
20041
20043
|
> **isNativeNoFrameFirst**: `boolean` = `false`
|
|
20042
20044
|
|
|
20043
|
-
Defined in: [lib/form.ts:
|
|
20045
|
+
Defined in: [lib/form.ts:930](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L930)
|
|
20044
20046
|
|
|
20045
20047
|
是否是 native 下无边框的第一个窗体
|
|
20046
20048
|
|
|
@@ -20050,7 +20052,7 @@ Defined in: [lib/form.ts:927](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20050
20052
|
|
|
20051
20053
|
> **isReady**: `boolean` = `false`
|
|
20052
20054
|
|
|
20053
|
-
Defined in: [lib/form.ts:
|
|
20055
|
+
Defined in: [lib/form.ts:927](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L927)
|
|
20054
20056
|
|
|
20055
20057
|
当前是否完全创建完毕
|
|
20056
20058
|
|
|
@@ -20060,7 +20062,7 @@ Defined in: [lib/form.ts:924](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20060
20062
|
|
|
20061
20063
|
> **lockLoading**: `boolean` = `false`
|
|
20062
20064
|
|
|
20063
|
-
Defined in: [lib/form.ts:
|
|
20065
|
+
Defined in: [lib/form.ts:1082](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1082)
|
|
20064
20066
|
|
|
20065
20067
|
是否阻止任何人修改 loading
|
|
20066
20068
|
|
|
@@ -20072,7 +20074,7 @@ Defined in: [lib/form.ts:1079](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20072
20074
|
|
|
20073
20075
|
> **get** **bottomMost**(): `boolean`
|
|
20074
20076
|
|
|
20075
|
-
Defined in: [lib/form.ts:
|
|
20077
|
+
Defined in: [lib/form.ts:967](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L967)
|
|
20076
20078
|
|
|
20077
20079
|
是否是置底
|
|
20078
20080
|
|
|
@@ -20084,7 +20086,7 @@ Defined in: [lib/form.ts:964](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20084
20086
|
|
|
20085
20087
|
> **set** **bottomMost**(`v`): `void`
|
|
20086
20088
|
|
|
20087
|
-
Defined in: [lib/form.ts:
|
|
20089
|
+
Defined in: [lib/form.ts:972](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L972)
|
|
20088
20090
|
|
|
20089
20091
|
##### Parameters
|
|
20090
20092
|
|
|
@@ -20104,7 +20106,7 @@ Defined in: [lib/form.ts:969](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20104
20106
|
|
|
20105
20107
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
20106
20108
|
|
|
20107
|
-
Defined in: [lib/form.ts:
|
|
20109
|
+
Defined in: [lib/form.ts:324](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L324)
|
|
20108
20110
|
|
|
20109
20111
|
layout 中 :class 的转义
|
|
20110
20112
|
|
|
@@ -20124,7 +20126,7 @@ layout 中 :class 的转义
|
|
|
20124
20126
|
|
|
20125
20127
|
> **get** **controlName**(): `string`
|
|
20126
20128
|
|
|
20127
|
-
Defined in: [lib/form.ts:
|
|
20129
|
+
Defined in: [lib/form.ts:251](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L251)
|
|
20128
20130
|
|
|
20129
20131
|
当前控件的名字
|
|
20130
20132
|
|
|
@@ -20136,7 +20138,7 @@ Defined in: [lib/form.ts:248](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20136
20138
|
|
|
20137
20139
|
> **set** **controlName**(`v`): `void`
|
|
20138
20140
|
|
|
20139
|
-
Defined in: [lib/form.ts:
|
|
20141
|
+
Defined in: [lib/form.ts:255](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L255)
|
|
20140
20142
|
|
|
20141
20143
|
##### Parameters
|
|
20142
20144
|
|
|
@@ -20160,7 +20162,7 @@ Defined in: [lib/form.ts:252](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20160
20162
|
|
|
20161
20163
|
> **get** **element**(): `HTMLElement`
|
|
20162
20164
|
|
|
20163
|
-
Defined in: [lib/form.ts:
|
|
20165
|
+
Defined in: [lib/form.ts:359](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L359)
|
|
20164
20166
|
|
|
20165
20167
|
获取当前的 HTML DOM
|
|
20166
20168
|
|
|
@@ -20180,7 +20182,7 @@ Defined in: [lib/form.ts:356](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20180
20182
|
|
|
20181
20183
|
> **get** **filename**(): `string`
|
|
20182
20184
|
|
|
20183
|
-
Defined in: [lib/form.ts:
|
|
20185
|
+
Defined in: [lib/form.ts:245](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L245)
|
|
20184
20186
|
|
|
20185
20187
|
当前文件在包内的路径
|
|
20186
20188
|
|
|
@@ -20200,7 +20202,7 @@ Defined in: [lib/form.ts:242](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20200
20202
|
|
|
20201
20203
|
> **get** **findex**(): `number`
|
|
20202
20204
|
|
|
20203
|
-
Defined in: [lib/form.ts:
|
|
20205
|
+
Defined in: [lib/form.ts:933](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L933)
|
|
20204
20206
|
|
|
20205
20207
|
当前的窗体创建的位数
|
|
20206
20208
|
|
|
@@ -20216,7 +20218,7 @@ Defined in: [lib/form.ts:930](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20216
20218
|
|
|
20217
20219
|
> **get** **formFocus**(): `boolean`
|
|
20218
20220
|
|
|
20219
|
-
Defined in: [lib/form.ts:
|
|
20221
|
+
Defined in: [lib/form.ts:997](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L997)
|
|
20220
20222
|
|
|
20221
20223
|
当前窗体是否是焦点
|
|
20222
20224
|
|
|
@@ -20236,7 +20238,7 @@ Defined in: [lib/form.ts:994](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20236
20238
|
|
|
20237
20239
|
> **get** **formHash**(): `string`
|
|
20238
20240
|
|
|
20239
|
-
Defined in: [lib/form.ts:
|
|
20241
|
+
Defined in: [lib/form.ts:939](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L939)
|
|
20240
20242
|
|
|
20241
20243
|
获取 form 的 hash 值,不是浏览器的 hash
|
|
20242
20244
|
|
|
@@ -20248,7 +20250,7 @@ Defined in: [lib/form.ts:936](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20248
20250
|
|
|
20249
20251
|
> **set** **formHash**(`v`): `void`
|
|
20250
20252
|
|
|
20251
|
-
Defined in: [lib/form.ts:
|
|
20253
|
+
Defined in: [lib/form.ts:943](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L943)
|
|
20252
20254
|
|
|
20253
20255
|
##### Parameters
|
|
20254
20256
|
|
|
@@ -20268,7 +20270,7 @@ Defined in: [lib/form.ts:940](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20268
20270
|
|
|
20269
20271
|
> **get** **formHashData**(): `Record`\<`string`, `any`\>
|
|
20270
20272
|
|
|
20271
|
-
Defined in: [lib/form.ts:
|
|
20273
|
+
Defined in: [lib/form.ts:948](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L948)
|
|
20272
20274
|
|
|
20273
20275
|
获取 form 的 formhash with data 值
|
|
20274
20276
|
|
|
@@ -20280,7 +20282,7 @@ Defined in: [lib/form.ts:945](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20280
20282
|
|
|
20281
20283
|
> **set** **formHashData**(`v`): `void`
|
|
20282
20284
|
|
|
20283
|
-
Defined in: [lib/form.ts:
|
|
20285
|
+
Defined in: [lib/form.ts:952](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L952)
|
|
20284
20286
|
|
|
20285
20287
|
##### Parameters
|
|
20286
20288
|
|
|
@@ -20300,7 +20302,7 @@ Defined in: [lib/form.ts:949](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20300
20302
|
|
|
20301
20303
|
> **get** **formId**(): `string`
|
|
20302
20304
|
|
|
20303
|
-
Defined in: [lib/form.ts:
|
|
20305
|
+
Defined in: [lib/form.ts:271](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L271)
|
|
20304
20306
|
|
|
20305
20307
|
当前的窗体 ID
|
|
20306
20308
|
|
|
@@ -20320,7 +20322,7 @@ Defined in: [lib/form.ts:268](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20320
20322
|
|
|
20321
20323
|
> **get** **inStep**(): `boolean`
|
|
20322
20324
|
|
|
20323
|
-
Defined in: [lib/form.ts:
|
|
20325
|
+
Defined in: [lib/form.ts:1089](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1089)
|
|
20324
20326
|
|
|
20325
20327
|
当前是否在 step 环节中
|
|
20326
20328
|
|
|
@@ -20336,7 +20338,7 @@ Defined in: [lib/form.ts:1086](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20336
20338
|
|
|
20337
20339
|
> **get** **isMask**(): `boolean`
|
|
20338
20340
|
|
|
20339
|
-
Defined in: [lib/form.ts:
|
|
20341
|
+
Defined in: [lib/form.ts:979](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L979)
|
|
20340
20342
|
|
|
20341
20343
|
是否在本窗体上显示遮罩层
|
|
20342
20344
|
|
|
@@ -20352,7 +20354,7 @@ Defined in: [lib/form.ts:976](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20352
20354
|
|
|
20353
20355
|
> **get** **l**(): (`key`, `data?`, `origin?`) => `string`
|
|
20354
20356
|
|
|
20355
|
-
Defined in: [lib/form.ts:
|
|
20357
|
+
Defined in: [lib/form.ts:305](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L305)
|
|
20356
20358
|
|
|
20357
20359
|
获取语言内容
|
|
20358
20360
|
|
|
@@ -20372,7 +20374,7 @@ Defined in: [lib/form.ts:302](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20372
20374
|
|
|
20373
20375
|
> **get** **loading**(): `boolean`
|
|
20374
20376
|
|
|
20375
|
-
Defined in: [lib/form.ts:
|
|
20377
|
+
Defined in: [lib/form.ts:1070](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1070)
|
|
20376
20378
|
|
|
20377
20379
|
覆盖整个窗体的 loading
|
|
20378
20380
|
|
|
@@ -20384,7 +20386,7 @@ Defined in: [lib/form.ts:1067](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20384
20386
|
|
|
20385
20387
|
> **set** **loading**(`val`): `void`
|
|
20386
20388
|
|
|
20387
|
-
Defined in: [lib/form.ts:
|
|
20389
|
+
Defined in: [lib/form.ts:1074](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1074)
|
|
20388
20390
|
|
|
20389
20391
|
##### Parameters
|
|
20390
20392
|
|
|
@@ -20404,7 +20406,7 @@ Defined in: [lib/form.ts:1071](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20404
20406
|
|
|
20405
20407
|
> **get** **locale**(): `string`
|
|
20406
20408
|
|
|
20407
|
-
Defined in: [lib/form.ts:
|
|
20409
|
+
Defined in: [lib/form.ts:297](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L297)
|
|
20408
20410
|
|
|
20409
20411
|
当前的语言
|
|
20410
20412
|
|
|
@@ -20424,7 +20426,7 @@ Defined in: [lib/form.ts:294](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20424
20426
|
|
|
20425
20427
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
20426
20428
|
|
|
20427
|
-
Defined in: [lib/form.ts:
|
|
20429
|
+
Defined in: [lib/form.ts:366](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L366)
|
|
20428
20430
|
|
|
20429
20431
|
等待渲染
|
|
20430
20432
|
|
|
@@ -20444,7 +20446,7 @@ Defined in: [lib/form.ts:363](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20444
20446
|
|
|
20445
20447
|
> **get** **path**(): `string`
|
|
20446
20448
|
|
|
20447
|
-
Defined in: [lib/form.ts:
|
|
20449
|
+
Defined in: [lib/form.ts:285](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L285)
|
|
20448
20450
|
|
|
20449
20451
|
当前文件的包内路径不以 / 结尾
|
|
20450
20452
|
|
|
@@ -20464,7 +20466,7 @@ Defined in: [lib/form.ts:282](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20464
20466
|
|
|
20465
20467
|
> **get** **prep**(): `string`
|
|
20466
20468
|
|
|
20467
|
-
Defined in: [lib/form.ts:
|
|
20469
|
+
Defined in: [lib/form.ts:291](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L291)
|
|
20468
20470
|
|
|
20469
20471
|
样式独占前缀
|
|
20470
20472
|
|
|
@@ -20484,7 +20486,7 @@ Defined in: [lib/form.ts:288](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20484
20486
|
|
|
20485
20487
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
20486
20488
|
|
|
20487
|
-
Defined in: [lib/form.ts:
|
|
20489
|
+
Defined in: [lib/form.ts:354](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L354)
|
|
20488
20490
|
|
|
20489
20491
|
获取 refs 情况
|
|
20490
20492
|
|
|
@@ -20504,7 +20506,7 @@ Defined in: [lib/form.ts:351](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20504
20506
|
|
|
20505
20507
|
> **get** **showInSystemTask**(): `boolean`
|
|
20506
20508
|
|
|
20507
|
-
Defined in: [lib/form.ts:
|
|
20509
|
+
Defined in: [lib/form.ts:1003](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1003)
|
|
20508
20510
|
|
|
20509
20511
|
当前窗体是否显示在任务栏
|
|
20510
20512
|
|
|
@@ -20516,7 +20518,7 @@ Defined in: [lib/form.ts:1000](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20516
20518
|
|
|
20517
20519
|
> **set** **showInSystemTask**(`v`): `void`
|
|
20518
20520
|
|
|
20519
|
-
Defined in: [lib/form.ts:
|
|
20521
|
+
Defined in: [lib/form.ts:1008](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1008)
|
|
20520
20522
|
|
|
20521
20523
|
##### Parameters
|
|
20522
20524
|
|
|
@@ -20536,7 +20538,7 @@ Defined in: [lib/form.ts:1005](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20536
20538
|
|
|
20537
20539
|
> **get** **taskId**(): `string`
|
|
20538
20540
|
|
|
20539
|
-
Defined in: [lib/form.ts:
|
|
20541
|
+
Defined in: [lib/form.ts:265](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L265)
|
|
20540
20542
|
|
|
20541
20543
|
当前的任务 ID
|
|
20542
20544
|
|
|
@@ -20556,7 +20558,7 @@ Defined in: [lib/form.ts:262](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20556
20558
|
|
|
20557
20559
|
> **get** **topMost**(): `boolean`
|
|
20558
20560
|
|
|
20559
|
-
Defined in: [lib/form.ts:
|
|
20561
|
+
Defined in: [lib/form.ts:957](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L957)
|
|
20560
20562
|
|
|
20561
20563
|
是否是置顶
|
|
20562
20564
|
|
|
@@ -20568,7 +20570,7 @@ Defined in: [lib/form.ts:954](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20568
20570
|
|
|
20569
20571
|
> **set** **topMost**(`v`): `void`
|
|
20570
20572
|
|
|
20571
|
-
Defined in: [lib/form.ts:
|
|
20573
|
+
Defined in: [lib/form.ts:962](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L962)
|
|
20572
20574
|
|
|
20573
20575
|
##### Parameters
|
|
20574
20576
|
|
|
@@ -20586,7 +20588,7 @@ Defined in: [lib/form.ts:959](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20586
20588
|
|
|
20587
20589
|
> **allowEvent**(`e`): `boolean`
|
|
20588
20590
|
|
|
20589
|
-
Defined in: [lib/form.ts:
|
|
20591
|
+
Defined in: [lib/form.ts:374](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L374)
|
|
20590
20592
|
|
|
20591
20593
|
判断当前事件可否执行
|
|
20592
20594
|
|
|
@@ -20612,7 +20614,7 @@ Defined in: [lib/form.ts:371](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20612
20614
|
|
|
20613
20615
|
> **close**(): `void`
|
|
20614
20616
|
|
|
20615
|
-
Defined in: [lib/form.ts:
|
|
20617
|
+
Defined in: [lib/form.ts:1204](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1204)
|
|
20616
20618
|
|
|
20617
20619
|
关闭当前窗体
|
|
20618
20620
|
|
|
@@ -20626,7 +20628,7 @@ Defined in: [lib/form.ts:1201](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20626
20628
|
|
|
20627
20629
|
> **doneStep**(): `Promise`\<`void`\>
|
|
20628
20630
|
|
|
20629
|
-
Defined in: [lib/form.ts:
|
|
20631
|
+
Defined in: [lib/form.ts:1136](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1136)
|
|
20630
20632
|
|
|
20631
20633
|
完成当前步骤条
|
|
20632
20634
|
|
|
@@ -20640,7 +20642,7 @@ Defined in: [lib/form.ts:1133](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20640
20642
|
|
|
20641
20643
|
> **enterStep**(`list`): `Promise`\<`boolean`\>
|
|
20642
20644
|
|
|
20643
|
-
Defined in: [lib/form.ts:
|
|
20645
|
+
Defined in: [lib/form.ts:1097](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1097)
|
|
20644
20646
|
|
|
20645
20647
|
进入 form hash 为源的步进条
|
|
20646
20648
|
|
|
@@ -20660,7 +20662,7 @@ Defined in: [lib/form.ts:1094](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20660
20662
|
|
|
20661
20663
|
> **formHashBack**(): `Promise`\<`void`\>
|
|
20662
20664
|
|
|
20663
|
-
Defined in: [lib/form.ts:
|
|
20665
|
+
Defined in: [lib/form.ts:1019](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1019)
|
|
20664
20666
|
|
|
20665
20667
|
form hash 回退
|
|
20666
20668
|
|
|
@@ -20674,7 +20676,7 @@ form hash 回退
|
|
|
20674
20676
|
|
|
20675
20677
|
> **hide**(): `void`
|
|
20676
20678
|
|
|
20677
|
-
Defined in: [lib/form.ts:
|
|
20679
|
+
Defined in: [lib/form.ts:1196](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1196)
|
|
20678
20680
|
|
|
20679
20681
|
让窗体隐藏
|
|
20680
20682
|
|
|
@@ -20688,7 +20690,7 @@ Defined in: [lib/form.ts:1193](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20688
20690
|
|
|
20689
20691
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
20690
20692
|
|
|
20691
|
-
Defined in: [lib/form.ts:
|
|
20693
|
+
Defined in: [lib/form.ts:404](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L404)
|
|
20692
20694
|
|
|
20693
20695
|
#### Returns
|
|
20694
20696
|
|
|
@@ -20704,7 +20706,7 @@ Defined in: [lib/form.ts:401](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20704
20706
|
|
|
20705
20707
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
20706
20708
|
|
|
20707
|
-
Defined in: [lib/form.ts:
|
|
20709
|
+
Defined in: [lib/form.ts:412](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L412)
|
|
20708
20710
|
|
|
20709
20711
|
#### Returns
|
|
20710
20712
|
|
|
@@ -20720,7 +20722,7 @@ Defined in: [lib/form.ts:409](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20720
20722
|
|
|
20721
20723
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
20722
20724
|
|
|
20723
|
-
Defined in: [lib/form.ts:
|
|
20725
|
+
Defined in: [lib/form.ts:424](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L424)
|
|
20724
20726
|
|
|
20725
20727
|
#### Returns
|
|
20726
20728
|
|
|
@@ -20736,7 +20738,7 @@ Defined in: [lib/form.ts:421](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20736
20738
|
|
|
20737
20739
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
20738
20740
|
|
|
20739
|
-
Defined in: [lib/form.ts:
|
|
20741
|
+
Defined in: [lib/form.ts:416](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L416)
|
|
20740
20742
|
|
|
20741
20743
|
#### Returns
|
|
20742
20744
|
|
|
@@ -20752,7 +20754,7 @@ Defined in: [lib/form.ts:413](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20752
20754
|
|
|
20753
20755
|
> **onConfigChanged**\<`T`\>(`n`, `v`): `void`
|
|
20754
20756
|
|
|
20755
|
-
Defined in: [lib/form.ts:
|
|
20757
|
+
Defined in: [lib/form.ts:1233](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1233)
|
|
20756
20758
|
|
|
20757
20759
|
系统配置变更事件
|
|
20758
20760
|
|
|
@@ -20782,7 +20784,7 @@ keyof [`IConfig`](../../core/interfaces/IConfig.md)
|
|
|
20782
20784
|
|
|
20783
20785
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
20784
20786
|
|
|
20785
|
-
Defined in: [lib/form.ts:
|
|
20787
|
+
Defined in: [lib/form.ts:408](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L408)
|
|
20786
20788
|
|
|
20787
20789
|
#### Returns
|
|
20788
20790
|
|
|
@@ -20798,7 +20800,7 @@ Defined in: [lib/form.ts:405](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20798
20800
|
|
|
20799
20801
|
> **onFormBlurred**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
20800
20802
|
|
|
20801
|
-
Defined in: [lib/form.ts:
|
|
20803
|
+
Defined in: [lib/form.ts:1289](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1289)
|
|
20802
20804
|
|
|
20803
20805
|
窗体丢失焦点事件
|
|
20804
20806
|
|
|
@@ -20822,7 +20824,7 @@ Defined in: [lib/form.ts:1286](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20822
20824
|
|
|
20823
20825
|
> **onFormCreated**(`taskId`, `formId`, `title`, `icon`, `showInSystemTask`): `void` \| `Promise`\<`void`\>
|
|
20824
20826
|
|
|
20825
|
-
Defined in: [lib/form.ts:
|
|
20827
|
+
Defined in: [lib/form.ts:1239](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1239)
|
|
20826
20828
|
|
|
20827
20829
|
窗体创建事件
|
|
20828
20830
|
|
|
@@ -20858,7 +20860,7 @@ Defined in: [lib/form.ts:1236](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20858
20860
|
|
|
20859
20861
|
> **onFormFlash**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
20860
20862
|
|
|
20861
|
-
Defined in: [lib/form.ts:
|
|
20863
|
+
Defined in: [lib/form.ts:1295](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1295)
|
|
20862
20864
|
|
|
20863
20865
|
窗体闪烁事件
|
|
20864
20866
|
|
|
@@ -20882,7 +20884,7 @@ Defined in: [lib/form.ts:1292](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20882
20884
|
|
|
20883
20885
|
> **onFormFocused**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
20884
20886
|
|
|
20885
|
-
Defined in: [lib/form.ts:
|
|
20887
|
+
Defined in: [lib/form.ts:1283](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1283)
|
|
20886
20888
|
|
|
20887
20889
|
窗体获得焦点事件
|
|
20888
20890
|
|
|
@@ -20906,7 +20908,7 @@ Defined in: [lib/form.ts:1280](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20906
20908
|
|
|
20907
20909
|
> **onFormHashChange**(`taskId`, `formId`, `value`, `data`): `void` \| `Promise`\<`void`\>
|
|
20908
20910
|
|
|
20909
|
-
Defined in: [lib/form.ts:
|
|
20911
|
+
Defined in: [lib/form.ts:1307](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1307)
|
|
20910
20912
|
|
|
20911
20913
|
窗体的 formHash 改变事件
|
|
20912
20914
|
|
|
@@ -20938,7 +20940,7 @@ Defined in: [lib/form.ts:1304](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20938
20940
|
|
|
20939
20941
|
> **onFormIconChanged**(`taskId`, `formId`, `icon`): `void` \| `Promise`\<`void`\>
|
|
20940
20942
|
|
|
20941
|
-
Defined in: [lib/form.ts:
|
|
20943
|
+
Defined in: [lib/form.ts:1259](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1259)
|
|
20942
20944
|
|
|
20943
20945
|
窗体图标改变事件
|
|
20944
20946
|
|
|
@@ -20966,7 +20968,7 @@ Defined in: [lib/form.ts:1256](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20966
20968
|
|
|
20967
20969
|
> **onFormRemoved**(`taskId`, `formId`, `title`, `icon`): `void` \| `Promise`\<`void`\>
|
|
20968
20970
|
|
|
20969
|
-
Defined in: [lib/form.ts:
|
|
20971
|
+
Defined in: [lib/form.ts:1247](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1247)
|
|
20970
20972
|
|
|
20971
20973
|
窗体销毁事件
|
|
20972
20974
|
|
|
@@ -20998,7 +21000,7 @@ Defined in: [lib/form.ts:1244](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
20998
21000
|
|
|
20999
21001
|
> **onFormShowChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
21000
21002
|
|
|
21001
|
-
Defined in: [lib/form.ts:
|
|
21003
|
+
Defined in: [lib/form.ts:1277](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1277)
|
|
21002
21004
|
|
|
21003
21005
|
窗体显示状态改变事件
|
|
21004
21006
|
|
|
@@ -21026,7 +21028,7 @@ Defined in: [lib/form.ts:1274](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21026
21028
|
|
|
21027
21029
|
> **onFormShowInSystemTaskChange**(`taskId`, `formId`, `value`): `void` \| `Promise`\<`void`\>
|
|
21028
21030
|
|
|
21029
|
-
Defined in: [lib/form.ts:
|
|
21031
|
+
Defined in: [lib/form.ts:1301](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1301)
|
|
21030
21032
|
|
|
21031
21033
|
窗体是否显示在任务栏属性改变事件
|
|
21032
21034
|
|
|
@@ -21054,7 +21056,7 @@ Defined in: [lib/form.ts:1298](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21054
21056
|
|
|
21055
21057
|
> **onFormStateMaxChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
21056
21058
|
|
|
21057
|
-
Defined in: [lib/form.ts:
|
|
21059
|
+
Defined in: [lib/form.ts:1271](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1271)
|
|
21058
21060
|
|
|
21059
21061
|
窗体最大化状态改变事件
|
|
21060
21062
|
|
|
@@ -21082,7 +21084,7 @@ Defined in: [lib/form.ts:1268](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21082
21084
|
|
|
21083
21085
|
> **onFormStateMinChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
21084
21086
|
|
|
21085
|
-
Defined in: [lib/form.ts:
|
|
21087
|
+
Defined in: [lib/form.ts:1265](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1265)
|
|
21086
21088
|
|
|
21087
21089
|
窗体最小化状态改变事件
|
|
21088
21090
|
|
|
@@ -21110,7 +21112,7 @@ Defined in: [lib/form.ts:1262](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21110
21112
|
|
|
21111
21113
|
> **onFormTitleChanged**(`taskId`, `formId`, `title`): `void` \| `Promise`\<`void`\>
|
|
21112
21114
|
|
|
21113
|
-
Defined in: [lib/form.ts:
|
|
21115
|
+
Defined in: [lib/form.ts:1253](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1253)
|
|
21114
21116
|
|
|
21115
21117
|
窗体标题改变事件
|
|
21116
21118
|
|
|
@@ -21138,7 +21140,7 @@ Defined in: [lib/form.ts:1250](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21138
21140
|
|
|
21139
21141
|
> **onHashChanged**(`hash`): `void` \| `Promise`\<`void`\>
|
|
21140
21142
|
|
|
21141
|
-
Defined in: [lib/form.ts:
|
|
21143
|
+
Defined in: [lib/form.ts:1333](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1333)
|
|
21142
21144
|
|
|
21143
21145
|
location hash 改变事件
|
|
21144
21146
|
|
|
@@ -21158,7 +21160,7 @@ location hash 改变事件
|
|
|
21158
21160
|
|
|
21159
21161
|
> **onKeydown**(`e`): `void` \| `Promise`\<`void`\>
|
|
21160
21162
|
|
|
21161
|
-
Defined in: [lib/form.ts:
|
|
21163
|
+
Defined in: [lib/form.ts:1339](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1339)
|
|
21162
21164
|
|
|
21163
21165
|
键盘按下事件
|
|
21164
21166
|
|
|
@@ -21178,7 +21180,7 @@ Defined in: [lib/form.ts:1336](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21178
21180
|
|
|
21179
21181
|
> **onKeyup**(`e`): `void` \| `Promise`\<`void`\>
|
|
21180
21182
|
|
|
21181
|
-
Defined in: [lib/form.ts:
|
|
21183
|
+
Defined in: [lib/form.ts:1345](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1345)
|
|
21182
21184
|
|
|
21183
21185
|
键盘弹起事件
|
|
21184
21186
|
|
|
@@ -21198,7 +21200,7 @@ Defined in: [lib/form.ts:1342](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21198
21200
|
|
|
21199
21201
|
> **onLauncherFolderNameChanged**(`id`, `name`): `void` \| `Promise`\<`void`\>
|
|
21200
21202
|
|
|
21201
|
-
Defined in: [lib/form.ts:
|
|
21203
|
+
Defined in: [lib/form.ts:1327](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1327)
|
|
21202
21204
|
|
|
21203
21205
|
launcher 文件夹名称修改事件
|
|
21204
21206
|
|
|
@@ -21222,7 +21224,7 @@ launcher 文件夹名称修改事件
|
|
|
21222
21224
|
|
|
21223
21225
|
> **onMounted**(`data`): `void` \| `Promise`\<`void`\>
|
|
21224
21226
|
|
|
21225
|
-
Defined in: [lib/form.ts:
|
|
21227
|
+
Defined in: [lib/form.ts:1215](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1215)
|
|
21226
21228
|
|
|
21227
21229
|
#### Parameters
|
|
21228
21230
|
|
|
@@ -21240,7 +21242,7 @@ Defined in: [lib/form.ts:1212](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21240
21242
|
|
|
21241
21243
|
> **onReceive**(`data`): `void` \| `Promise`\<`void`\>
|
|
21242
21244
|
|
|
21243
|
-
Defined in: [lib/form.ts:
|
|
21245
|
+
Defined in: [lib/form.ts:1221](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1221)
|
|
21244
21246
|
|
|
21245
21247
|
接收 send 传递过来的 data 数据
|
|
21246
21248
|
|
|
@@ -21260,7 +21262,7 @@ Defined in: [lib/form.ts:1218](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21260
21262
|
|
|
21261
21263
|
> **onScreenResize**(): `void` \| `Promise`\<`void`\>
|
|
21262
21264
|
|
|
21263
|
-
Defined in: [lib/form.ts:
|
|
21265
|
+
Defined in: [lib/form.ts:1227](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1227)
|
|
21264
21266
|
|
|
21265
21267
|
屏幕大小改变事件
|
|
21266
21268
|
|
|
@@ -21274,7 +21276,7 @@ Defined in: [lib/form.ts:1224](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21274
21276
|
|
|
21275
21277
|
> **onTaskEnded**(`taskId`): `void` \| `Promise`\<`void`\>
|
|
21276
21278
|
|
|
21277
|
-
Defined in: [lib/form.ts:
|
|
21279
|
+
Defined in: [lib/form.ts:1321](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1321)
|
|
21278
21280
|
|
|
21279
21281
|
任务结束事件
|
|
21280
21282
|
|
|
@@ -21294,7 +21296,7 @@ Defined in: [lib/form.ts:1318](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21294
21296
|
|
|
21295
21297
|
> **onTaskStarted**(`taskId`): `void` \| `Promise`\<`void`\>
|
|
21296
21298
|
|
|
21297
|
-
Defined in: [lib/form.ts:
|
|
21299
|
+
Defined in: [lib/form.ts:1315](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1315)
|
|
21298
21300
|
|
|
21299
21301
|
任务开始事件
|
|
21300
21302
|
|
|
@@ -21314,7 +21316,7 @@ Defined in: [lib/form.ts:1312](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21314
21316
|
|
|
21315
21317
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
21316
21318
|
|
|
21317
|
-
Defined in: [lib/form.ts:
|
|
21319
|
+
Defined in: [lib/form.ts:428](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L428)
|
|
21318
21320
|
|
|
21319
21321
|
#### Returns
|
|
21320
21322
|
|
|
@@ -21330,7 +21332,7 @@ Defined in: [lib/form.ts:425](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21330
21332
|
|
|
21331
21333
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
21332
21334
|
|
|
21333
|
-
Defined in: [lib/form.ts:
|
|
21335
|
+
Defined in: [lib/form.ts:420](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L420)
|
|
21334
21336
|
|
|
21335
21337
|
#### Returns
|
|
21336
21338
|
|
|
@@ -21346,7 +21348,7 @@ Defined in: [lib/form.ts:417](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21346
21348
|
|
|
21347
21349
|
> **ready**(`cb`): `void`
|
|
21348
21350
|
|
|
21349
|
-
Defined in: [lib/form.ts:
|
|
21351
|
+
Defined in: [lib/form.ts:1013](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1013)
|
|
21350
21352
|
|
|
21351
21353
|
将在 form 完全装载完后执行,如果已经装载完则立即执行
|
|
21352
21354
|
|
|
@@ -21366,7 +21368,7 @@ Defined in: [lib/form.ts:1010](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21366
21368
|
|
|
21367
21369
|
> **send**(`fid`, `obj`): `void`
|
|
21368
21370
|
|
|
21369
|
-
Defined in: [lib/form.ts:
|
|
21371
|
+
Defined in: [lib/form.ts:396](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L396)
|
|
21370
21372
|
|
|
21371
21373
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
21372
21374
|
|
|
@@ -21398,7 +21400,7 @@ formId 要接收对象的 form id
|
|
|
21398
21400
|
|
|
21399
21401
|
> **sendToPanel**(`panel`, `data`): `void`
|
|
21400
21402
|
|
|
21401
|
-
Defined in: [lib/form.ts:
|
|
21403
|
+
Defined in: [lib/form.ts:1062](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1062)
|
|
21402
21404
|
|
|
21403
21405
|
发送一段数据到 panel 控件,本质上也是调用的 panel 控件的 send 方法
|
|
21404
21406
|
|
|
@@ -21422,7 +21424,7 @@ Defined in: [lib/form.ts:1059](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21422
21424
|
|
|
21423
21425
|
> **show**(): `Promise`\<`void`\>
|
|
21424
21426
|
|
|
21425
|
-
Defined in: [lib/form.ts:
|
|
21427
|
+
Defined in: [lib/form.ts:1150](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1150)
|
|
21426
21428
|
|
|
21427
21429
|
显示窗体
|
|
21428
21430
|
|
|
@@ -21436,7 +21438,7 @@ Defined in: [lib/form.ts:1147](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21436
21438
|
|
|
21437
21439
|
> **showDialog**(): `Promise`\<`string`\>
|
|
21438
21440
|
|
|
21439
|
-
Defined in: [lib/form.ts:
|
|
21441
|
+
Defined in: [lib/form.ts:1175](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1175)
|
|
21440
21442
|
|
|
21441
21443
|
显示独占的窗体
|
|
21442
21444
|
|
|
@@ -21450,7 +21452,7 @@ Defined in: [lib/form.ts:1172](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21450
21452
|
|
|
21451
21453
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
21452
21454
|
|
|
21453
|
-
Defined in: [lib/form.ts:
|
|
21455
|
+
Defined in: [lib/form.ts:384](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L384)
|
|
21454
21456
|
|
|
21455
21457
|
触发系统方法
|
|
21456
21458
|
|
|
@@ -21488,7 +21490,7 @@ Defined in: [lib/form.ts:381](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21488
21490
|
|
|
21489
21491
|
> **updateStep**(`index`, `value`): `boolean`
|
|
21490
21492
|
|
|
21491
|
-
Defined in: [lib/form.ts:
|
|
21493
|
+
Defined in: [lib/form.ts:1124](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1124)
|
|
21492
21494
|
|
|
21493
21495
|
更新步进条,用于动态改变某个项的 hash 值时使用
|
|
21494
21496
|
|
|
@@ -21512,7 +21514,7 @@ Defined in: [lib/form.ts:1121](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
21512
21514
|
|
|
21513
21515
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
21514
21516
|
|
|
21515
|
-
Defined in: [lib/form.ts:
|
|
21517
|
+
Defined in: [lib/form.ts:340](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L340)
|
|
21516
21518
|
|
|
21517
21519
|
监视变动
|
|
21518
21520
|
|
|
@@ -21575,7 +21577,7 @@ lib/form/classes/AbstractPanel.md
|
|
|
21575
21577
|
|
|
21576
21578
|
# Abstract Class: AbstractPanel
|
|
21577
21579
|
|
|
21578
|
-
Defined in: [lib/form.ts:
|
|
21580
|
+
Defined in: [lib/form.ts:435](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L435)
|
|
21579
21581
|
|
|
21580
21582
|
Panel 控件抽象类
|
|
21581
21583
|
|
|
@@ -21603,7 +21605,7 @@ Panel 控件抽象类
|
|
|
21603
21605
|
|
|
21604
21606
|
> `readonly` **components**: `Record`\<`string`, () => [`AbstractComponent`](AbstractComponent.md)\> = `{}`
|
|
21605
21607
|
|
|
21606
|
-
Defined in: [lib/form.ts:
|
|
21608
|
+
Defined in: [lib/form.ts:242](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L242)
|
|
21607
21609
|
|
|
21608
21610
|
当前视图内局部注册的应用组件
|
|
21609
21611
|
|
|
@@ -21617,7 +21619,7 @@ Defined in: [lib/form.ts:239](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21617
21619
|
|
|
21618
21620
|
> **qs**: `Record`\<`string`, `string`\> = `{}`
|
|
21619
21621
|
|
|
21620
|
-
Defined in: [lib/form.ts:
|
|
21622
|
+
Defined in: [lib/form.ts:499](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L499)
|
|
21621
21623
|
|
|
21622
21624
|
当前的 nav(若有)传递过来的 qs
|
|
21623
21625
|
|
|
@@ -21629,7 +21631,7 @@ Defined in: [lib/form.ts:496](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21629
21631
|
|
|
21630
21632
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
21631
21633
|
|
|
21632
|
-
Defined in: [lib/form.ts:
|
|
21634
|
+
Defined in: [lib/form.ts:324](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L324)
|
|
21633
21635
|
|
|
21634
21636
|
layout 中 :class 的转义
|
|
21635
21637
|
|
|
@@ -21649,7 +21651,7 @@ layout 中 :class 的转义
|
|
|
21649
21651
|
|
|
21650
21652
|
> **get** **controlName**(): `string`
|
|
21651
21653
|
|
|
21652
|
-
Defined in: [lib/form.ts:
|
|
21654
|
+
Defined in: [lib/form.ts:251](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L251)
|
|
21653
21655
|
|
|
21654
21656
|
当前控件的名字
|
|
21655
21657
|
|
|
@@ -21661,7 +21663,7 @@ Defined in: [lib/form.ts:248](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21661
21663
|
|
|
21662
21664
|
> **set** **controlName**(`v`): `void`
|
|
21663
21665
|
|
|
21664
|
-
Defined in: [lib/form.ts:
|
|
21666
|
+
Defined in: [lib/form.ts:255](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L255)
|
|
21665
21667
|
|
|
21666
21668
|
##### Parameters
|
|
21667
21669
|
|
|
@@ -21685,7 +21687,7 @@ Defined in: [lib/form.ts:252](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21685
21687
|
|
|
21686
21688
|
> **get** **element**(): `HTMLElement`
|
|
21687
21689
|
|
|
21688
|
-
Defined in: [lib/form.ts:
|
|
21690
|
+
Defined in: [lib/form.ts:359](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L359)
|
|
21689
21691
|
|
|
21690
21692
|
获取当前的 HTML DOM
|
|
21691
21693
|
|
|
@@ -21705,7 +21707,7 @@ Defined in: [lib/form.ts:356](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21705
21707
|
|
|
21706
21708
|
> **get** **filename**(): `string`
|
|
21707
21709
|
|
|
21708
|
-
Defined in: [lib/form.ts:
|
|
21710
|
+
Defined in: [lib/form.ts:245](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L245)
|
|
21709
21711
|
|
|
21710
21712
|
当前文件在包内的路径
|
|
21711
21713
|
|
|
@@ -21725,7 +21727,7 @@ Defined in: [lib/form.ts:242](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21725
21727
|
|
|
21726
21728
|
> **get** **formFocus**(): `boolean`
|
|
21727
21729
|
|
|
21728
|
-
Defined in: [lib/form.ts:
|
|
21730
|
+
Defined in: [lib/form.ts:507](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L507)
|
|
21729
21731
|
|
|
21730
21732
|
当前窗体是否是焦点
|
|
21731
21733
|
|
|
@@ -21745,7 +21747,7 @@ Defined in: [lib/form.ts:504](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21745
21747
|
|
|
21746
21748
|
> **get** **formHash**(): `string`
|
|
21747
21749
|
|
|
21748
|
-
Defined in: [lib/form.ts:
|
|
21750
|
+
Defined in: [lib/form.ts:454](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L454)
|
|
21749
21751
|
|
|
21750
21752
|
获取母窗体的 formHash
|
|
21751
21753
|
|
|
@@ -21757,7 +21759,7 @@ Defined in: [lib/form.ts:451](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21757
21759
|
|
|
21758
21760
|
> **set** **formHash**(`fh`): `void`
|
|
21759
21761
|
|
|
21760
|
-
Defined in: [lib/form.ts:
|
|
21762
|
+
Defined in: [lib/form.ts:459](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L459)
|
|
21761
21763
|
|
|
21762
21764
|
设置母窗体的 formHash
|
|
21763
21765
|
|
|
@@ -21779,7 +21781,7 @@ Defined in: [lib/form.ts:456](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21779
21781
|
|
|
21780
21782
|
> **get** **formHashData**(): `Record`\<`string`, `any`\>
|
|
21781
21783
|
|
|
21782
|
-
Defined in: [lib/form.ts:
|
|
21784
|
+
Defined in: [lib/form.ts:464](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L464)
|
|
21783
21785
|
|
|
21784
21786
|
获取 form 的 formhash with data 值
|
|
21785
21787
|
|
|
@@ -21791,7 +21793,7 @@ Defined in: [lib/form.ts:461](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21791
21793
|
|
|
21792
21794
|
> **set** **formHashData**(`v`): `void`
|
|
21793
21795
|
|
|
21794
|
-
Defined in: [lib/form.ts:
|
|
21796
|
+
Defined in: [lib/form.ts:468](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L468)
|
|
21795
21797
|
|
|
21796
21798
|
##### Parameters
|
|
21797
21799
|
|
|
@@ -21811,7 +21813,7 @@ Defined in: [lib/form.ts:465](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21811
21813
|
|
|
21812
21814
|
> **get** **formId**(): `string`
|
|
21813
21815
|
|
|
21814
|
-
Defined in: [lib/form.ts:
|
|
21816
|
+
Defined in: [lib/form.ts:271](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L271)
|
|
21815
21817
|
|
|
21816
21818
|
当前的窗体 ID
|
|
21817
21819
|
|
|
@@ -21831,7 +21833,7 @@ Defined in: [lib/form.ts:268](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21831
21833
|
|
|
21832
21834
|
> **get** **l**(): (`key`, `data?`, `origin?`) => `string`
|
|
21833
21835
|
|
|
21834
|
-
Defined in: [lib/form.ts:
|
|
21836
|
+
Defined in: [lib/form.ts:305](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L305)
|
|
21835
21837
|
|
|
21836
21838
|
获取语言内容
|
|
21837
21839
|
|
|
@@ -21851,7 +21853,7 @@ Defined in: [lib/form.ts:302](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21851
21853
|
|
|
21852
21854
|
> **get** **locale**(): `string`
|
|
21853
21855
|
|
|
21854
|
-
Defined in: [lib/form.ts:
|
|
21856
|
+
Defined in: [lib/form.ts:297](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L297)
|
|
21855
21857
|
|
|
21856
21858
|
当前的语言
|
|
21857
21859
|
|
|
@@ -21871,7 +21873,7 @@ Defined in: [lib/form.ts:294](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21871
21873
|
|
|
21872
21874
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
21873
21875
|
|
|
21874
|
-
Defined in: [lib/form.ts:
|
|
21876
|
+
Defined in: [lib/form.ts:366](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L366)
|
|
21875
21877
|
|
|
21876
21878
|
等待渲染
|
|
21877
21879
|
|
|
@@ -21891,7 +21893,7 @@ Defined in: [lib/form.ts:363](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21891
21893
|
|
|
21892
21894
|
> **get** **panelId**(): `string`
|
|
21893
21895
|
|
|
21894
|
-
Defined in: [lib/form.ts:
|
|
21896
|
+
Defined in: [lib/form.ts:438](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L438)
|
|
21895
21897
|
|
|
21896
21898
|
当前的 panel ID
|
|
21897
21899
|
|
|
@@ -21907,7 +21909,7 @@ Defined in: [lib/form.ts:435](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21907
21909
|
|
|
21908
21910
|
> **get** **path**(): `string`
|
|
21909
21911
|
|
|
21910
|
-
Defined in: [lib/form.ts:
|
|
21912
|
+
Defined in: [lib/form.ts:285](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L285)
|
|
21911
21913
|
|
|
21912
21914
|
当前文件的包内路径不以 / 结尾
|
|
21913
21915
|
|
|
@@ -21927,7 +21929,7 @@ Defined in: [lib/form.ts:282](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21927
21929
|
|
|
21928
21930
|
> **get** **prep**(): `string`
|
|
21929
21931
|
|
|
21930
|
-
Defined in: [lib/form.ts:
|
|
21932
|
+
Defined in: [lib/form.ts:291](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L291)
|
|
21931
21933
|
|
|
21932
21934
|
样式独占前缀
|
|
21933
21935
|
|
|
@@ -21947,7 +21949,7 @@ Defined in: [lib/form.ts:288](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21947
21949
|
|
|
21948
21950
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
21949
21951
|
|
|
21950
|
-
Defined in: [lib/form.ts:
|
|
21952
|
+
Defined in: [lib/form.ts:354](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L354)
|
|
21951
21953
|
|
|
21952
21954
|
获取 refs 情况
|
|
21953
21955
|
|
|
@@ -21967,7 +21969,7 @@ Defined in: [lib/form.ts:351](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21967
21969
|
|
|
21968
21970
|
> **get** **rootForm**(): [`AbstractForm`](AbstractForm.md) & `Record`\<`string`, `any`\>
|
|
21969
21971
|
|
|
21970
|
-
Defined in: [lib/form.ts:
|
|
21972
|
+
Defined in: [lib/form.ts:444](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L444)
|
|
21971
21973
|
|
|
21972
21974
|
当前 panel 所在窗体的窗体对象,系统会在创建时重写本函数
|
|
21973
21975
|
|
|
@@ -21983,7 +21985,7 @@ Defined in: [lib/form.ts:441](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21983
21985
|
|
|
21984
21986
|
> **get** **rootPanel**(): [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>
|
|
21985
21987
|
|
|
21986
|
-
Defined in: [lib/form.ts:
|
|
21988
|
+
Defined in: [lib/form.ts:449](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L449)
|
|
21987
21989
|
|
|
21988
21990
|
当前 panel 所在的 panel control 对象,系统会在创建时重写本函数
|
|
21989
21991
|
|
|
@@ -21999,7 +22001,7 @@ Defined in: [lib/form.ts:446](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21999
22001
|
|
|
22000
22002
|
> **get** **taskId**(): `string`
|
|
22001
22003
|
|
|
22002
|
-
Defined in: [lib/form.ts:
|
|
22004
|
+
Defined in: [lib/form.ts:265](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L265)
|
|
22003
22005
|
|
|
22004
22006
|
当前的任务 ID
|
|
22005
22007
|
|
|
@@ -22017,7 +22019,7 @@ Defined in: [lib/form.ts:262](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22017
22019
|
|
|
22018
22020
|
> **allowEvent**(`e`): `boolean`
|
|
22019
22021
|
|
|
22020
|
-
Defined in: [lib/form.ts:
|
|
22022
|
+
Defined in: [lib/form.ts:374](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L374)
|
|
22021
22023
|
|
|
22022
22024
|
判断当前事件可否执行
|
|
22023
22025
|
|
|
@@ -22043,7 +22045,7 @@ Defined in: [lib/form.ts:371](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22043
22045
|
|
|
22044
22046
|
> **clearQs**(): `void`
|
|
22045
22047
|
|
|
22046
|
-
Defined in: [lib/form.ts:
|
|
22048
|
+
Defined in: [lib/form.ts:502](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L502)
|
|
22047
22049
|
|
|
22048
22050
|
确定不再使用 qs 时可调用此方法清空,这样再次通过相同 qs 进入本 panel 依然会响应 qschange 事件
|
|
22049
22051
|
|
|
@@ -22057,7 +22059,7 @@ Defined in: [lib/form.ts:499](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22057
22059
|
|
|
22058
22060
|
> **doneStep**(): `Promise`\<`void`\>
|
|
22059
22061
|
|
|
22060
|
-
Defined in: [lib/form.ts:
|
|
22062
|
+
Defined in: [lib/form.ts:494](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L494)
|
|
22061
22063
|
|
|
22062
22064
|
目窗体完成当前步骤
|
|
22063
22065
|
|
|
@@ -22071,7 +22073,7 @@ Defined in: [lib/form.ts:491](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22071
22073
|
|
|
22072
22074
|
> **enterStep**(`list`): `Promise`\<`boolean`\>
|
|
22073
22075
|
|
|
22074
|
-
Defined in: [lib/form.ts:
|
|
22076
|
+
Defined in: [lib/form.ts:483](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L483)
|
|
22075
22077
|
|
|
22076
22078
|
母窗体进入 form hash 为源的步进条
|
|
22077
22079
|
|
|
@@ -22091,7 +22093,7 @@ Defined in: [lib/form.ts:480](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22091
22093
|
|
|
22092
22094
|
> **formHashBack**(): `Promise`\<`void`\>
|
|
22093
22095
|
|
|
22094
|
-
Defined in: [lib/form.ts:
|
|
22096
|
+
Defined in: [lib/form.ts:473](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L473)
|
|
22095
22097
|
|
|
22096
22098
|
将母窗体的 form hash 回退
|
|
22097
22099
|
|
|
@@ -22105,7 +22107,7 @@ Defined in: [lib/form.ts:470](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22105
22107
|
|
|
22106
22108
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
22107
22109
|
|
|
22108
|
-
Defined in: [lib/form.ts:
|
|
22110
|
+
Defined in: [lib/form.ts:404](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L404)
|
|
22109
22111
|
|
|
22110
22112
|
#### Returns
|
|
22111
22113
|
|
|
@@ -22121,7 +22123,7 @@ Defined in: [lib/form.ts:401](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22121
22123
|
|
|
22122
22124
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
22123
22125
|
|
|
22124
|
-
Defined in: [lib/form.ts:
|
|
22126
|
+
Defined in: [lib/form.ts:412](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L412)
|
|
22125
22127
|
|
|
22126
22128
|
#### Returns
|
|
22127
22129
|
|
|
@@ -22137,7 +22139,7 @@ Defined in: [lib/form.ts:409](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22137
22139
|
|
|
22138
22140
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
22139
22141
|
|
|
22140
|
-
Defined in: [lib/form.ts:
|
|
22142
|
+
Defined in: [lib/form.ts:424](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L424)
|
|
22141
22143
|
|
|
22142
22144
|
#### Returns
|
|
22143
22145
|
|
|
@@ -22153,7 +22155,7 @@ Defined in: [lib/form.ts:421](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22153
22155
|
|
|
22154
22156
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
22155
22157
|
|
|
22156
|
-
Defined in: [lib/form.ts:
|
|
22158
|
+
Defined in: [lib/form.ts:416](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L416)
|
|
22157
22159
|
|
|
22158
22160
|
#### Returns
|
|
22159
22161
|
|
|
@@ -22169,7 +22171,7 @@ Defined in: [lib/form.ts:413](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22169
22171
|
|
|
22170
22172
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
22171
22173
|
|
|
22172
|
-
Defined in: [lib/form.ts:
|
|
22174
|
+
Defined in: [lib/form.ts:408](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L408)
|
|
22173
22175
|
|
|
22174
22176
|
#### Returns
|
|
22175
22177
|
|
|
@@ -22185,7 +22187,7 @@ Defined in: [lib/form.ts:405](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22185
22187
|
|
|
22186
22188
|
> **onHide**(): `void` \| `Promise`\<`void`\>
|
|
22187
22189
|
|
|
22188
|
-
Defined in: [lib/form.ts:
|
|
22190
|
+
Defined in: [lib/form.ts:522](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L522)
|
|
22189
22191
|
|
|
22190
22192
|
#### Returns
|
|
22191
22193
|
|
|
@@ -22197,7 +22199,7 @@ Defined in: [lib/form.ts:519](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22197
22199
|
|
|
22198
22200
|
> **onMounted**(): `void` \| `Promise`\<`void`\>
|
|
22199
22201
|
|
|
22200
|
-
Defined in: [lib/form.ts:
|
|
22202
|
+
Defined in: [lib/form.ts:527](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L527)
|
|
22201
22203
|
|
|
22202
22204
|
#### Returns
|
|
22203
22205
|
|
|
@@ -22209,7 +22211,7 @@ Defined in: [lib/form.ts:524](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22209
22211
|
|
|
22210
22212
|
> **onQsChange**(): `void` \| `Promise`\<`void`\>
|
|
22211
22213
|
|
|
22212
|
-
Defined in: [lib/form.ts:
|
|
22214
|
+
Defined in: [lib/form.ts:539](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L539)
|
|
22213
22215
|
|
|
22214
22216
|
qs 变动时调用,如果只是用来做 qs 数据处理,建议用此方法
|
|
22215
22217
|
|
|
@@ -22223,7 +22225,7 @@ qs 变动时调用,如果只是用来做 qs 数据处理,建议用此方法
|
|
|
22223
22225
|
|
|
22224
22226
|
> **onQsChangeShow**(`e`): `void` \| `Promise`\<`void`\>
|
|
22225
22227
|
|
|
22226
|
-
Defined in: [lib/form.ts:
|
|
22228
|
+
Defined in: [lib/form.ts:544](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L544)
|
|
22227
22229
|
|
|
22228
22230
|
无论是 show 还是 qschange 都会触发,优先触发 show 或 qschange 事件本身,之后触发这个
|
|
22229
22231
|
|
|
@@ -22243,7 +22245,7 @@ Defined in: [lib/form.ts:541](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22243
22245
|
|
|
22244
22246
|
> **onReceive**(`data`): `void` \| `Promise`\<`void`\>
|
|
22245
22247
|
|
|
22246
|
-
Defined in: [lib/form.ts:
|
|
22248
|
+
Defined in: [lib/form.ts:533](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L533)
|
|
22247
22249
|
|
|
22248
22250
|
接收 send 传递过来的 data 数据(是 panel 控件的 send,不是 form 的 send)
|
|
22249
22251
|
|
|
@@ -22263,7 +22265,7 @@ Defined in: [lib/form.ts:530](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22263
22265
|
|
|
22264
22266
|
> **onShow**(`e`): `void` \| `Promise`\<`void`\>
|
|
22265
22267
|
|
|
22266
|
-
Defined in: [lib/form.ts:
|
|
22268
|
+
Defined in: [lib/form.ts:511](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L511)
|
|
22267
22269
|
|
|
22268
22270
|
#### Parameters
|
|
22269
22271
|
|
|
@@ -22281,7 +22283,7 @@ Defined in: [lib/form.ts:508](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22281
22283
|
|
|
22282
22284
|
> **onShowed**(): `void` \| `Promise`\<`void`\>
|
|
22283
22285
|
|
|
22284
|
-
Defined in: [lib/form.ts:
|
|
22286
|
+
Defined in: [lib/form.ts:516](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L516)
|
|
22285
22287
|
|
|
22286
22288
|
panel 已经完全显示后所要执行的
|
|
22287
22289
|
|
|
@@ -22295,7 +22297,7 @@ panel 已经完全显示后所要执行的
|
|
|
22295
22297
|
|
|
22296
22298
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
22297
22299
|
|
|
22298
|
-
Defined in: [lib/form.ts:
|
|
22300
|
+
Defined in: [lib/form.ts:428](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L428)
|
|
22299
22301
|
|
|
22300
22302
|
#### Returns
|
|
22301
22303
|
|
|
@@ -22311,7 +22313,7 @@ Defined in: [lib/form.ts:425](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22311
22313
|
|
|
22312
22314
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
22313
22315
|
|
|
22314
|
-
Defined in: [lib/form.ts:
|
|
22316
|
+
Defined in: [lib/form.ts:420](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L420)
|
|
22315
22317
|
|
|
22316
22318
|
#### Returns
|
|
22317
22319
|
|
|
@@ -22327,7 +22329,7 @@ Defined in: [lib/form.ts:417](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22327
22329
|
|
|
22328
22330
|
> **send**(`fid`, `obj`): `void`
|
|
22329
22331
|
|
|
22330
|
-
Defined in: [lib/form.ts:
|
|
22332
|
+
Defined in: [lib/form.ts:396](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L396)
|
|
22331
22333
|
|
|
22332
22334
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
22333
22335
|
|
|
@@ -22359,7 +22361,7 @@ formId 要接收对象的 form id
|
|
|
22359
22361
|
|
|
22360
22362
|
> **sendToRootPanel**(`data`): `void`
|
|
22361
22363
|
|
|
22362
|
-
Defined in: [lib/form.ts:
|
|
22364
|
+
Defined in: [lib/form.ts:478](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L478)
|
|
22363
22365
|
|
|
22364
22366
|
发送一段数据到自己这个 panel 控件,本质上也是调用的 panel 控件的 send 方法,主要用来实现发送给跳转后的 panel
|
|
22365
22367
|
|
|
@@ -22379,7 +22381,7 @@ Defined in: [lib/form.ts:475](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22379
22381
|
|
|
22380
22382
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
22381
22383
|
|
|
22382
|
-
Defined in: [lib/form.ts:
|
|
22384
|
+
Defined in: [lib/form.ts:384](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L384)
|
|
22383
22385
|
|
|
22384
22386
|
触发系统方法
|
|
22385
22387
|
|
|
@@ -22417,7 +22419,7 @@ Defined in: [lib/form.ts:381](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22417
22419
|
|
|
22418
22420
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
22419
22421
|
|
|
22420
|
-
Defined in: [lib/form.ts:
|
|
22422
|
+
Defined in: [lib/form.ts:340](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L340)
|
|
22421
22423
|
|
|
22422
22424
|
监视变动
|
|
22423
22425
|
|
|
@@ -22482,7 +22484,7 @@ lib/form/functions/alert.md
|
|
|
22482
22484
|
|
|
22483
22485
|
> **alert**(`content`, `type?`): `number`
|
|
22484
22486
|
|
|
22485
|
-
Defined in: [lib/form.ts:
|
|
22487
|
+
Defined in: [lib/form.ts:2635](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2635)
|
|
22486
22488
|
|
|
22487
22489
|
从下方弹出 alert
|
|
22488
22490
|
|
|
@@ -22517,7 +22519,7 @@ lib/form/functions/appendToPop.md
|
|
|
22517
22519
|
|
|
22518
22520
|
> **appendToPop**(`el`): `void`
|
|
22519
22521
|
|
|
22520
|
-
Defined in: [lib/form.ts:
|
|
22522
|
+
Defined in: [lib/form.ts:2884](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2884)
|
|
22521
22523
|
|
|
22522
22524
|
将标签追加到 pop 层
|
|
22523
22525
|
|
|
@@ -22546,7 +22548,7 @@ lib/form/functions/bindDrag.md
|
|
|
22546
22548
|
|
|
22547
22549
|
> **bindDrag**(`e`): `void`
|
|
22548
22550
|
|
|
22549
|
-
Defined in: [lib/form.ts:
|
|
22551
|
+
Defined in: [lib/form.ts:1996](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1996)
|
|
22550
22552
|
|
|
22551
22553
|
绑定窗体拖动事件,在 pointerdown 中绑定
|
|
22552
22554
|
|
|
@@ -22575,7 +22577,7 @@ lib/form/functions/bindResize.md
|
|
|
22575
22577
|
|
|
22576
22578
|
> **bindResize**(`e`, `border`): `void`
|
|
22577
22579
|
|
|
22578
|
-
Defined in: [lib/form.ts:
|
|
22580
|
+
Defined in: [lib/form.ts:1975](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1975)
|
|
22579
22581
|
|
|
22580
22582
|
绑定窗体拖动大小事件,在 pointerdown 中绑定
|
|
22581
22583
|
|
|
@@ -22610,7 +22612,7 @@ lib/form/functions/captcha.md
|
|
|
22610
22612
|
|
|
22611
22613
|
> **captcha**(`current`, `opt`): `Promise`\<`false` \| [`ICaptchaResultEvent`](../../control/interfaces/ICaptchaResultEvent.md)\>
|
|
22612
22614
|
|
|
22613
|
-
Defined in: [lib/form.ts:
|
|
22615
|
+
Defined in: [lib/form.ts:4403](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4403)
|
|
22614
22616
|
|
|
22615
22617
|
显示一个验证码窗口
|
|
22616
22618
|
|
|
@@ -22647,7 +22649,7 @@ lib/form/functions/changeFocusMaxZIndex.md
|
|
|
22647
22649
|
|
|
22648
22650
|
> **changeFocusMaxZIndex**(): `Promise`\<`void`\>
|
|
22649
22651
|
|
|
22650
|
-
Defined in: [lib/form.ts:
|
|
22652
|
+
Defined in: [lib/form.ts:2446](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2446)
|
|
22651
22653
|
|
|
22652
22654
|
让最大的 z index 窗体获取焦点(不含 top 和最小化的)
|
|
22653
22655
|
|
|
@@ -22668,7 +22670,7 @@ lib/form/functions/changeFocus.md
|
|
|
22668
22670
|
|
|
22669
22671
|
> **changeFocus**(`formId?`): `Promise`\<`void`\>
|
|
22670
22672
|
|
|
22671
|
-
Defined in: [lib/form.ts:
|
|
22673
|
+
Defined in: [lib/form.ts:2283](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2283)
|
|
22672
22674
|
|
|
22673
22675
|
改变 form 的焦点 class
|
|
22674
22676
|
|
|
@@ -22697,7 +22699,7 @@ lib/form/functions/close.md
|
|
|
22697
22699
|
|
|
22698
22700
|
> **close**(`formId`): `boolean`
|
|
22699
22701
|
|
|
22700
|
-
Defined in: [lib/form.ts:
|
|
22702
|
+
Defined in: [lib/form.ts:1966](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1966)
|
|
22701
22703
|
|
|
22702
22704
|
关闭一个窗体
|
|
22703
22705
|
|
|
@@ -22726,7 +22728,7 @@ lib/form/functions/confirm.md
|
|
|
22726
22728
|
|
|
22727
22729
|
> **confirm**(`current`, `opt`): `Promise`\<`number` \| `boolean`\>
|
|
22728
22730
|
|
|
22729
|
-
Defined in: [lib/form.ts:
|
|
22731
|
+
Defined in: [lib/form.ts:4474](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4474)
|
|
22730
22732
|
|
|
22731
22733
|
显示一个 confirm
|
|
22732
22734
|
|
|
@@ -22761,7 +22763,7 @@ lib/form/functions/create.md
|
|
|
22761
22763
|
|
|
22762
22764
|
> **create**\<`T`\>(`current`, `cls`, `data?`, `opt?`): `Promise`\<`T`\>
|
|
22763
22765
|
|
|
22764
|
-
Defined in: [lib/form.ts:
|
|
22766
|
+
Defined in: [lib/form.ts:3822](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3822)
|
|
22765
22767
|
|
|
22766
22768
|
创建一个窗体
|
|
22767
22769
|
|
|
@@ -22826,7 +22828,7 @@ lib/form/functions/createPanel.md
|
|
|
22826
22828
|
|
|
22827
22829
|
> **createPanel**\<`T`\>(`rootPanel`, `cls`, `opt?`): `Promise`\<\{ `id`: `string`; `vapp`: [`IVApp`](../../core/interfaces/IVApp.md); `vroot`: `T`; \}\>
|
|
22828
22830
|
|
|
22829
|
-
Defined in: [lib/form.ts:
|
|
22831
|
+
Defined in: [lib/form.ts:3455](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3455)
|
|
22830
22832
|
|
|
22831
22833
|
创建 panel 对象,一般情况下无需使用
|
|
22832
22834
|
|
|
@@ -22889,7 +22891,7 @@ lib/form/functions/dialog.md
|
|
|
22889
22891
|
|
|
22890
22892
|
> **dialog**(`current`, `opt`): `Promise`\<`string`\>
|
|
22891
22893
|
|
|
22892
|
-
Defined in: [lib/form.ts:
|
|
22894
|
+
Defined in: [lib/form.ts:4307](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4307)
|
|
22893
22895
|
|
|
22894
22896
|
显示一个 dialog
|
|
22895
22897
|
|
|
@@ -22924,7 +22926,7 @@ lib/form/functions/doFocusAndPopEvent.md
|
|
|
22924
22926
|
|
|
22925
22927
|
> **doFocusAndPopEvent**(`e`): `Promise`\<`void`\>
|
|
22926
22928
|
|
|
22927
|
-
Defined in: [lib/form.ts:
|
|
22929
|
+
Defined in: [lib/form.ts:3256](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3256)
|
|
22928
22930
|
|
|
22929
22931
|
点下 pointerdown 屏幕任意一位置时根据点击处处理隐藏 pop 和焦点丢失事件,鼠标和 touch 只会响应一个
|
|
22930
22932
|
|
|
@@ -22953,7 +22955,7 @@ lib/form/functions/flash.md
|
|
|
22953
22955
|
|
|
22954
22956
|
> **flash**(`current`, `formId`): `Promise`\<`void`\>
|
|
22955
22957
|
|
|
22956
|
-
Defined in: [lib/form.ts:
|
|
22958
|
+
Defined in: [lib/form.ts:4571](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4571)
|
|
22957
22959
|
|
|
22958
22960
|
让窗体闪烁
|
|
22959
22961
|
|
|
@@ -22988,7 +22990,7 @@ lib/form/functions/getActivePanel.md
|
|
|
22988
22990
|
|
|
22989
22991
|
> **getActivePanel**(`formId`): `string`[]
|
|
22990
22992
|
|
|
22991
|
-
Defined in: [lib/form.ts:
|
|
22993
|
+
Defined in: [lib/form.ts:2155](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2155)
|
|
22992
22994
|
|
|
22993
22995
|
获取窗体当前活跃中的 panelId 列表
|
|
22994
22996
|
|
|
@@ -23017,7 +23019,7 @@ lib/form/functions/getFocus.md
|
|
|
23017
23019
|
|
|
23018
23020
|
> **getFocus**(): `string` \| `null`
|
|
23019
23021
|
|
|
23020
|
-
Defined in: [lib/form.ts:
|
|
23022
|
+
Defined in: [lib/form.ts:2142](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2142)
|
|
23021
23023
|
|
|
23022
23024
|
获取当前有焦点的窗体 form id
|
|
23023
23025
|
|
|
@@ -23038,7 +23040,7 @@ lib/form/functions/getHash.md
|
|
|
23038
23040
|
|
|
23039
23041
|
> **getHash**(`formId`): `string`
|
|
23040
23042
|
|
|
23041
|
-
Defined in: [lib/form.ts:
|
|
23043
|
+
Defined in: [lib/form.ts:2243](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2243)
|
|
23042
23044
|
|
|
23043
23045
|
获取窗体的 hash
|
|
23044
23046
|
|
|
@@ -23065,7 +23067,7 @@ lib/form/functions/getList.md
|
|
|
23065
23067
|
|
|
23066
23068
|
> **getList**(`taskId`): `Record`\<`string`, [`IFormInfo`](../interfaces/IFormInfo.md)\>
|
|
23067
23069
|
|
|
23068
|
-
Defined in: [lib/form.ts:
|
|
23070
|
+
Defined in: [lib/form.ts:2114](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2114)
|
|
23069
23071
|
|
|
23070
23072
|
获取 form list 的简略情况
|
|
23071
23073
|
|
|
@@ -23094,7 +23096,7 @@ lib/form/functions/getMaxZIndexID.md
|
|
|
23094
23096
|
|
|
23095
23097
|
> **getMaxZIndexID**(`current`, `out?`): `Promise`\<`string` \| `null`\>
|
|
23096
23098
|
|
|
23097
|
-
Defined in: [lib/form.ts:
|
|
23099
|
+
Defined in: [lib/form.ts:2394](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2394)
|
|
23098
23100
|
|
|
23099
23101
|
获取当前 z-index 值最大的 form id(除了 top 模式的窗体和最小化的窗体)
|
|
23100
23102
|
|
|
@@ -23135,7 +23137,7 @@ lib/form/functions/get.md
|
|
|
23135
23137
|
|
|
23136
23138
|
> **get**(`formId`): [`IFormInfo`](../interfaces/IFormInfo.md) \| `null`
|
|
23137
23139
|
|
|
23138
|
-
Defined in: [lib/form.ts:
|
|
23140
|
+
Defined in: [lib/form.ts:2067](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2067)
|
|
23139
23141
|
|
|
23140
23142
|
获取窗体信息
|
|
23141
23143
|
|
|
@@ -23164,7 +23166,7 @@ lib/form/functions/getRectByBorder.md
|
|
|
23164
23166
|
|
|
23165
23167
|
> **getRectByBorder**(`border`): `object`
|
|
23166
23168
|
|
|
23167
|
-
Defined in: [lib/form.ts:
|
|
23169
|
+
Defined in: [lib/form.ts:2458](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2458)
|
|
23168
23170
|
|
|
23169
23171
|
根据 border 方向 获取理论窗体大小
|
|
23170
23172
|
|
|
@@ -23209,7 +23211,7 @@ lib/form/functions/getTaskId.md
|
|
|
23209
23211
|
|
|
23210
23212
|
> **getTaskId**(`formId`): `string`
|
|
23211
23213
|
|
|
23212
|
-
Defined in: [lib/form.ts:
|
|
23214
|
+
Defined in: [lib/form.ts:2050](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2050)
|
|
23213
23215
|
|
|
23214
23216
|
根据窗体 id 获取 task id
|
|
23215
23217
|
|
|
@@ -23238,7 +23240,7 @@ lib/form/functions/hashBack.md
|
|
|
23238
23240
|
|
|
23239
23241
|
> **hashBack**(`formId`): `Promise`\<`boolean`\>
|
|
23240
23242
|
|
|
23241
|
-
Defined in: [lib/form.ts:
|
|
23243
|
+
Defined in: [lib/form.ts:2262](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2262)
|
|
23242
23244
|
|
|
23243
23245
|
将窗体的 hash 退回上一个
|
|
23244
23246
|
|
|
@@ -23265,7 +23267,7 @@ lib/form/functions/hash.md
|
|
|
23265
23267
|
|
|
23266
23268
|
> **hash**(`formId`, `hash`): `boolean`
|
|
23267
23269
|
|
|
23268
|
-
Defined in: [lib/form.ts:
|
|
23270
|
+
Defined in: [lib/form.ts:2223](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2223)
|
|
23269
23271
|
|
|
23270
23272
|
修改窗体 hash
|
|
23271
23273
|
|
|
@@ -23300,7 +23302,7 @@ lib/form/functions/hideKeyboard.md
|
|
|
23300
23302
|
|
|
23301
23303
|
> **hideKeyboard**(): `void`
|
|
23302
23304
|
|
|
23303
|
-
Defined in: [lib/form.ts:
|
|
23305
|
+
Defined in: [lib/form.ts:1910](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1910)
|
|
23304
23306
|
|
|
23305
23307
|
隐藏系统级虚拟键盘
|
|
23306
23308
|
|
|
@@ -23321,7 +23323,7 @@ lib/form/functions/hideLauncher.md
|
|
|
23321
23323
|
|
|
23322
23324
|
> **hideLauncher**(): `void`
|
|
23323
23325
|
|
|
23324
|
-
Defined in: [lib/form.ts:
|
|
23326
|
+
Defined in: [lib/form.ts:4608](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4608)
|
|
23325
23327
|
|
|
23326
23328
|
隐藏 launcher 界面
|
|
23327
23329
|
|
|
@@ -23342,7 +23344,7 @@ lib/form/functions/hideNotify.md
|
|
|
23342
23344
|
|
|
23343
23345
|
> **hideNotify**(`notifyId`): `void`
|
|
23344
23346
|
|
|
23345
|
-
Defined in: [lib/form.ts:
|
|
23347
|
+
Defined in: [lib/form.ts:2850](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2850)
|
|
23346
23348
|
|
|
23347
23349
|
隐藏 notify
|
|
23348
23350
|
|
|
@@ -23371,7 +23373,7 @@ lib/form/functions/hidePop.md
|
|
|
23371
23373
|
|
|
23372
23374
|
> **hidePop**(`pop?`): `void`
|
|
23373
23375
|
|
|
23374
|
-
Defined in: [lib/form.ts:
|
|
23376
|
+
Defined in: [lib/form.ts:3155](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3155)
|
|
23375
23377
|
|
|
23376
23378
|
隐藏正在显示中的所有 pop,或指定 pop/el
|
|
23377
23379
|
|
|
@@ -23398,7 +23400,7 @@ lib/form/functions/hideRectangle.md
|
|
|
23398
23400
|
|
|
23399
23401
|
> **hideRectangle**(): `void`
|
|
23400
23402
|
|
|
23401
|
-
Defined in: [lib/form.ts:
|
|
23403
|
+
Defined in: [lib/form.ts:2621](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2621)
|
|
23402
23404
|
|
|
23403
23405
|
结束时请隐藏矩形
|
|
23404
23406
|
|
|
@@ -23419,7 +23421,7 @@ lib/form/functions/init.md
|
|
|
23419
23421
|
|
|
23420
23422
|
> **init**(): `void`
|
|
23421
23423
|
|
|
23422
|
-
Defined in: [lib/form.ts:
|
|
23424
|
+
Defined in: [lib/form.ts:4622](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4622)
|
|
23423
23425
|
|
|
23424
23426
|
## Returns
|
|
23425
23427
|
|
|
@@ -23467,7 +23469,7 @@ lib/form/functions/isJustPop.md
|
|
|
23467
23469
|
|
|
23468
23470
|
> **isJustPop**(`el`): `boolean`
|
|
23469
23471
|
|
|
23470
|
-
Defined in: [lib/form.ts:
|
|
23472
|
+
Defined in: [lib/form.ts:3237](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3237)
|
|
23471
23473
|
|
|
23472
23474
|
检测 pop 是不是刚刚显示的
|
|
23473
23475
|
|
|
@@ -23494,7 +23496,7 @@ lib/form/functions/max.md
|
|
|
23494
23496
|
|
|
23495
23497
|
> **max**(`formId`): `boolean`
|
|
23496
23498
|
|
|
23497
|
-
Defined in: [lib/form.ts:
|
|
23499
|
+
Defined in: [lib/form.ts:1958](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1958)
|
|
23498
23500
|
|
|
23499
23501
|
最大化某个窗体
|
|
23500
23502
|
|
|
@@ -23523,7 +23525,7 @@ lib/form/functions/min.md
|
|
|
23523
23525
|
|
|
23524
23526
|
> **min**(`formId`): `boolean`
|
|
23525
23527
|
|
|
23526
|
-
Defined in: [lib/form.ts:
|
|
23528
|
+
Defined in: [lib/form.ts:1950](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1950)
|
|
23527
23529
|
|
|
23528
23530
|
最小化某个窗体
|
|
23529
23531
|
|
|
@@ -23552,7 +23554,7 @@ lib/form/functions/moveRectangle.md
|
|
|
23552
23554
|
|
|
23553
23555
|
> **moveRectangle**(`border`): `void`
|
|
23554
23556
|
|
|
23555
|
-
Defined in: [lib/form.ts:
|
|
23557
|
+
Defined in: [lib/form.ts:2568](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2568)
|
|
23556
23558
|
|
|
23557
23559
|
移动矩形到新位置
|
|
23558
23560
|
|
|
@@ -23581,7 +23583,7 @@ lib/form/functions/notifyContent.md
|
|
|
23581
23583
|
|
|
23582
23584
|
> **notifyContent**(`notifyId`, `opt`): `void`
|
|
23583
23585
|
|
|
23584
|
-
Defined in: [lib/form.ts:
|
|
23586
|
+
Defined in: [lib/form.ts:2810](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2810)
|
|
23585
23587
|
|
|
23586
23588
|
修改 notify 的提示信息
|
|
23587
23589
|
|
|
@@ -23616,7 +23618,7 @@ lib/form/functions/notify.md
|
|
|
23616
23618
|
|
|
23617
23619
|
> **notify**(`opt`): `number`
|
|
23618
23620
|
|
|
23619
|
-
Defined in: [lib/form.ts:
|
|
23621
|
+
Defined in: [lib/form.ts:2696](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2696)
|
|
23620
23622
|
|
|
23621
23623
|
弹出右下角信息框
|
|
23622
23624
|
|
|
@@ -23647,7 +23649,7 @@ lib/form/functions/notifyProgress.md
|
|
|
23647
23649
|
|
|
23648
23650
|
> **notifyProgress**(`notifyId`, `per`): `void`
|
|
23649
23651
|
|
|
23650
|
-
Defined in: [lib/form.ts:
|
|
23652
|
+
Defined in: [lib/form.ts:2779](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2779)
|
|
23651
23653
|
|
|
23652
23654
|
修改 notify 的进度条进度
|
|
23653
23655
|
|
|
@@ -23682,7 +23684,7 @@ lib/form/functions/prompt.md
|
|
|
23682
23684
|
|
|
23683
23685
|
> **prompt**(`current`, `opt`): `Promise`\<`string`\>
|
|
23684
23686
|
|
|
23685
|
-
Defined in: [lib/form.ts:
|
|
23687
|
+
Defined in: [lib/form.ts:4511](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4511)
|
|
23686
23688
|
|
|
23687
23689
|
显示一个输入框 dialog
|
|
23688
23690
|
|
|
@@ -23717,7 +23719,7 @@ lib/form/functions/refreshMaxPosition.md
|
|
|
23717
23719
|
|
|
23718
23720
|
> **refreshMaxPosition**(): `void`
|
|
23719
23721
|
|
|
23720
|
-
Defined in: [lib/form.ts:
|
|
23722
|
+
Defined in: [lib/form.ts:2016](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2016)
|
|
23721
23723
|
|
|
23722
23724
|
重置所有已经最大化的窗体大小和位置
|
|
23723
23725
|
|
|
@@ -23738,7 +23740,7 @@ lib/form/functions/removeActivePanel.md
|
|
|
23738
23740
|
|
|
23739
23741
|
> **removeActivePanel**(`current`, `formId`, `panelId`): `boolean`
|
|
23740
23742
|
|
|
23741
|
-
Defined in: [lib/form.ts:
|
|
23743
|
+
Defined in: [lib/form.ts:2165](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2165)
|
|
23742
23744
|
|
|
23743
23745
|
移除 form 中正在活跃中的 panel id (panel 本身被置于隐藏时)
|
|
23744
23746
|
|
|
@@ -23779,7 +23781,7 @@ lib/form/functions/removeFromPop.md
|
|
|
23779
23781
|
|
|
23780
23782
|
> **removeFromPop**(`el`): `void`
|
|
23781
23783
|
|
|
23782
|
-
Defined in: [lib/form.ts:
|
|
23784
|
+
Defined in: [lib/form.ts:2892](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2892)
|
|
23783
23785
|
|
|
23784
23786
|
将标签从 pop 层移除
|
|
23785
23787
|
|
|
@@ -23808,7 +23810,7 @@ lib/form/functions/remove.md
|
|
|
23808
23810
|
|
|
23809
23811
|
> **remove**(`formId`): `boolean`
|
|
23810
23812
|
|
|
23811
|
-
Defined in: [lib/form.ts:
|
|
23813
|
+
Defined in: [lib/form.ts:3325](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3325)
|
|
23812
23814
|
|
|
23813
23815
|
移除一个 form(关闭窗口)
|
|
23814
23816
|
|
|
@@ -23837,7 +23839,7 @@ lib/form/functions/removePanel.md
|
|
|
23837
23839
|
|
|
23838
23840
|
> **removePanel**(`id`, `vapp`, `el`): `boolean`
|
|
23839
23841
|
|
|
23840
|
-
Defined in: [lib/form.ts:
|
|
23842
|
+
Defined in: [lib/form.ts:3398](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3398)
|
|
23841
23843
|
|
|
23842
23844
|
移除 panel 挂载,通常发生在 panel 控件的 onBeforeUnmount 中
|
|
23843
23845
|
|
|
@@ -23878,7 +23880,7 @@ lib/form/functions/send.md
|
|
|
23878
23880
|
|
|
23879
23881
|
> **send**(`formId`, `obj`): `void`
|
|
23880
23882
|
|
|
23881
|
-
Defined in: [lib/form.ts:
|
|
23883
|
+
Defined in: [lib/form.ts:2097](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2097)
|
|
23882
23884
|
|
|
23883
23885
|
给一个窗体发送一个对象,不会知道成功与失败状态,用 this.send 替代
|
|
23884
23886
|
|
|
@@ -23913,7 +23915,7 @@ lib/form/functions/setActivePanel.md
|
|
|
23913
23915
|
|
|
23914
23916
|
> **setActivePanel**(`current`, `formId`, `panelId`): `boolean`
|
|
23915
23917
|
|
|
23916
|
-
Defined in: [lib/form.ts:
|
|
23918
|
+
Defined in: [lib/form.ts:2196](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2196)
|
|
23917
23919
|
|
|
23918
23920
|
将 form 中某个 panel 设置为活动的
|
|
23919
23921
|
|
|
@@ -23954,7 +23956,7 @@ lib/form/functions/showCircular.md
|
|
|
23954
23956
|
|
|
23955
23957
|
> **showCircular**(`x`, `y`): `void`
|
|
23956
23958
|
|
|
23957
|
-
Defined in: [lib/form.ts:
|
|
23959
|
+
Defined in: [lib/form.ts:2543](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2543)
|
|
23958
23960
|
|
|
23959
23961
|
显示从小到大的圆圈动画特效对象
|
|
23960
23962
|
|
|
@@ -23989,7 +23991,7 @@ lib/form/functions/showKeyboard.md
|
|
|
23989
23991
|
|
|
23990
23992
|
> **showKeyboard**(): `void`
|
|
23991
23993
|
|
|
23992
|
-
Defined in: [lib/form.ts:
|
|
23994
|
+
Defined in: [lib/form.ts:1893](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1893)
|
|
23993
23995
|
|
|
23994
23996
|
显示系统级虚拟键盘
|
|
23995
23997
|
|
|
@@ -24010,7 +24012,7 @@ lib/form/functions/showLauncher.md
|
|
|
24010
24012
|
|
|
24011
24013
|
> **showLauncher**(): `void`
|
|
24012
24014
|
|
|
24013
|
-
Defined in: [lib/form.ts:
|
|
24015
|
+
Defined in: [lib/form.ts:4598](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4598)
|
|
24014
24016
|
|
|
24015
24017
|
显示 launcher 界面
|
|
24016
24018
|
|
|
@@ -24031,7 +24033,7 @@ lib/form/functions/showPop.md
|
|
|
24031
24033
|
|
|
24032
24034
|
> **showPop**(`el`, `pop`, `direction`, `opt?`): `void`
|
|
24033
24035
|
|
|
24034
|
-
Defined in: [lib/form.ts:
|
|
24036
|
+
Defined in: [lib/form.ts:3041](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3041)
|
|
24035
24037
|
|
|
24036
24038
|
获取 pop 显示出来的坐标并报系统全局记录
|
|
24037
24039
|
|
|
@@ -24110,7 +24112,7 @@ lib/form/functions/showRectangle.md
|
|
|
24110
24112
|
|
|
24111
24113
|
> **showRectangle**(`x`, `y`, `border`): `void`
|
|
24112
24114
|
|
|
24113
|
-
Defined in: [lib/form.ts:
|
|
24115
|
+
Defined in: [lib/form.ts:2598](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2598)
|
|
24114
24116
|
|
|
24115
24117
|
显示从小到大的矩形动画特效对象
|
|
24116
24118
|
|
|
@@ -24151,7 +24153,7 @@ lib/form/functions/superConfirm.md
|
|
|
24151
24153
|
|
|
24152
24154
|
> **superConfirm**(`current`, `html`): `Promise`\<`boolean`\>
|
|
24153
24155
|
|
|
24154
|
-
Defined in: [lib/form.ts:
|
|
24156
|
+
Defined in: [lib/form.ts:1872](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1872)
|
|
24155
24157
|
|
|
24156
24158
|
显示系统级询问框
|
|
24157
24159
|
|
|
@@ -24275,7 +24277,7 @@ lib/form/interfaces/IAbstractPanelQsChangeShowEvent.md
|
|
|
24275
24277
|
|
|
24276
24278
|
# Interface: IAbstractPanelQsChangeShowEvent
|
|
24277
24279
|
|
|
24278
|
-
Defined in: [lib/form.ts:
|
|
24280
|
+
Defined in: [lib/form.ts:4667](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4667)
|
|
24279
24281
|
|
|
24280
24282
|
AbstractPanel qsChange 显示事件
|
|
24281
24283
|
|
|
@@ -24285,7 +24287,7 @@ AbstractPanel qsChange 显示事件
|
|
|
24285
24287
|
|
|
24286
24288
|
> **detail**: `object`
|
|
24287
24289
|
|
|
24288
|
-
Defined in: [lib/form.ts:
|
|
24290
|
+
Defined in: [lib/form.ts:4668](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4668)
|
|
24289
24291
|
|
|
24290
24292
|
#### action
|
|
24291
24293
|
|
|
@@ -24326,7 +24328,7 @@ lib/form/interfaces/IAbstractPanelShowEvent.md
|
|
|
24326
24328
|
|
|
24327
24329
|
# Interface: IAbstractPanelShowEvent
|
|
24328
24330
|
|
|
24329
|
-
Defined in: [lib/form.ts:
|
|
24331
|
+
Defined in: [lib/form.ts:4652](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4652)
|
|
24330
24332
|
|
|
24331
24333
|
AbstractPanel 显示事件
|
|
24332
24334
|
|
|
@@ -24336,7 +24338,7 @@ AbstractPanel 显示事件
|
|
|
24336
24338
|
|
|
24337
24339
|
> **detail**: `object`
|
|
24338
24340
|
|
|
24339
|
-
Defined in: [lib/form.ts:
|
|
24341
|
+
Defined in: [lib/form.ts:4653](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4653)
|
|
24340
24342
|
|
|
24341
24343
|
#### action
|
|
24342
24344
|
|
|
@@ -24377,7 +24379,7 @@ lib/form/interfaces/IFormCaptchaOptions.md
|
|
|
24377
24379
|
|
|
24378
24380
|
# Interface: IFormCaptchaOptions
|
|
24379
24381
|
|
|
24380
|
-
Defined in: [lib/form.ts:
|
|
24382
|
+
Defined in: [lib/form.ts:4797](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4797)
|
|
24381
24383
|
|
|
24382
24384
|
显示验证码选项
|
|
24383
24385
|
|
|
@@ -24387,7 +24389,7 @@ Defined in: [lib/form.ts:4767](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24387
24389
|
|
|
24388
24390
|
> **akey**: `string`
|
|
24389
24391
|
|
|
24390
|
-
Defined in: [lib/form.ts:
|
|
24392
|
+
Defined in: [lib/form.ts:4801](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4801)
|
|
24391
24393
|
|
|
24392
24394
|
验证码 key
|
|
24393
24395
|
|
|
@@ -24397,7 +24399,7 @@ Defined in: [lib/form.ts:4771](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24397
24399
|
|
|
24398
24400
|
> **factory**: `"tc"` \| `"cf"`
|
|
24399
24401
|
|
|
24400
|
-
Defined in: [lib/form.ts:
|
|
24402
|
+
Defined in: [lib/form.ts:4799](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4799)
|
|
24401
24403
|
|
|
24402
24404
|
验证码服务商
|
|
24403
24405
|
|
|
@@ -24412,7 +24414,7 @@ lib/form/interfaces/IFormConfirmOptions.md
|
|
|
24412
24414
|
|
|
24413
24415
|
# Interface: IFormConfirmOptions
|
|
24414
24416
|
|
|
24415
|
-
Defined in: [lib/form.ts:
|
|
24417
|
+
Defined in: [lib/form.ts:4790](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4790)
|
|
24416
24418
|
|
|
24417
24419
|
Confirm 选项
|
|
24418
24420
|
|
|
@@ -24422,7 +24424,7 @@ Confirm 选项
|
|
|
24422
24424
|
|
|
24423
24425
|
> `optional` **cancel?**: `boolean`
|
|
24424
24426
|
|
|
24425
|
-
Defined in: [lib/form.ts:
|
|
24427
|
+
Defined in: [lib/form.ts:4793](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4793)
|
|
24426
24428
|
|
|
24427
24429
|
***
|
|
24428
24430
|
|
|
@@ -24430,7 +24432,7 @@ Defined in: [lib/form.ts:4763](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24430
24432
|
|
|
24431
24433
|
> **content**: `string`
|
|
24432
24434
|
|
|
24433
|
-
Defined in: [lib/form.ts:
|
|
24435
|
+
Defined in: [lib/form.ts:4792](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4792)
|
|
24434
24436
|
|
|
24435
24437
|
***
|
|
24436
24438
|
|
|
@@ -24438,7 +24440,7 @@ Defined in: [lib/form.ts:4762](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24438
24440
|
|
|
24439
24441
|
> `optional` **title?**: `string`
|
|
24440
24442
|
|
|
24441
|
-
Defined in: [lib/form.ts:
|
|
24443
|
+
Defined in: [lib/form.ts:4791](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4791)
|
|
24442
24444
|
|
|
24443
24445
|
lib/form/interfaces/IFormDialogOptions.md
|
|
24444
24446
|
---
|
|
@@ -24451,7 +24453,7 @@ lib/form/interfaces/IFormDialogOptions.md
|
|
|
24451
24453
|
|
|
24452
24454
|
# Interface: IFormDialogOptions
|
|
24453
24455
|
|
|
24454
|
-
Defined in: [lib/form.ts:
|
|
24456
|
+
Defined in: [lib/form.ts:4736](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4736)
|
|
24455
24457
|
|
|
24456
24458
|
Dialog 选项
|
|
24457
24459
|
|
|
@@ -24461,7 +24463,7 @@ Dialog 选项
|
|
|
24461
24463
|
|
|
24462
24464
|
> `optional` **autoDialogResult?**: `boolean`
|
|
24463
24465
|
|
|
24464
|
-
Defined in: [lib/form.ts:
|
|
24466
|
+
Defined in: [lib/form.ts:4744](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4744)
|
|
24465
24467
|
|
|
24466
24468
|
点击按钮后是否自动将按钮文本写入 dialogResult,默认 true
|
|
24467
24469
|
|
|
@@ -24471,7 +24473,7 @@ Defined in: [lib/form.ts:4714](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24471
24473
|
|
|
24472
24474
|
> `optional` **buttons?**: `string`[]
|
|
24473
24475
|
|
|
24474
|
-
Defined in: [lib/form.ts:
|
|
24476
|
+
Defined in: [lib/form.ts:4742](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4742)
|
|
24475
24477
|
|
|
24476
24478
|
底部按钮文本列表,默认使用当前语言的确定按钮文本
|
|
24477
24479
|
|
|
@@ -24481,7 +24483,7 @@ Defined in: [lib/form.ts:4712](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24481
24483
|
|
|
24482
24484
|
> **content**: `string`
|
|
24483
24485
|
|
|
24484
|
-
Defined in: [lib/form.ts:
|
|
24486
|
+
Defined in: [lib/form.ts:4740](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4740)
|
|
24485
24487
|
|
|
24486
24488
|
dialog 内容,支持直接传布局字符串
|
|
24487
24489
|
|
|
@@ -24491,7 +24493,7 @@ dialog 内容,支持直接传布局字符串
|
|
|
24491
24493
|
|
|
24492
24494
|
> `optional` **data?**: `Record`\<`string`, `any`\>
|
|
24493
24495
|
|
|
24494
|
-
Defined in: [lib/form.ts:
|
|
24496
|
+
Defined in: [lib/form.ts:4758](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4758)
|
|
24495
24497
|
|
|
24496
24498
|
传值,需要用 data.x 读取
|
|
24497
24499
|
|
|
@@ -24501,7 +24503,7 @@ Defined in: [lib/form.ts:4728](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24501
24503
|
|
|
24502
24504
|
> `optional` **direction?**: `"v"` \| `"h"`
|
|
24503
24505
|
|
|
24504
|
-
Defined in: [lib/form.ts:
|
|
24506
|
+
Defined in: [lib/form.ts:4747](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4747)
|
|
24505
24507
|
|
|
24506
24508
|
dialog 控件内容布局方向,h 为横向,v 为纵向
|
|
24507
24509
|
|
|
@@ -24511,7 +24513,7 @@ dialog 控件内容布局方向,h 为横向,v 为纵向
|
|
|
24511
24513
|
|
|
24512
24514
|
> `optional` **gutter?**: `string` \| `number`
|
|
24513
24515
|
|
|
24514
|
-
Defined in: [lib/form.ts:
|
|
24516
|
+
Defined in: [lib/form.ts:4749](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4749)
|
|
24515
24517
|
|
|
24516
24518
|
dialog 控件内容区项目间距,会透传给 dialog 控件
|
|
24517
24519
|
|
|
@@ -24521,7 +24523,7 @@ dialog 控件内容区项目间距,会透传给 dialog 控件
|
|
|
24521
24523
|
|
|
24522
24524
|
> `optional` **height?**: `string` \| `number`
|
|
24523
24525
|
|
|
24524
|
-
Defined in: [lib/form.ts:
|
|
24526
|
+
Defined in: [lib/form.ts:4753](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4753)
|
|
24525
24527
|
|
|
24526
24528
|
dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用高度
|
|
24527
24529
|
|
|
@@ -24531,7 +24533,7 @@ dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用
|
|
|
24531
24533
|
|
|
24532
24534
|
> `optional` **methods?**: `Record`\<`string`, (...`param`) => `any`\>
|
|
24533
24535
|
|
|
24534
|
-
Defined in: [lib/form.ts:
|
|
24536
|
+
Defined in: [lib/form.ts:4760](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4760)
|
|
24535
24537
|
|
|
24536
24538
|
传值,需要用 methods.x 读取
|
|
24537
24539
|
|
|
@@ -24541,7 +24543,7 @@ Defined in: [lib/form.ts:4730](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24541
24543
|
|
|
24542
24544
|
> `optional` **onMounted?**: () => `void` \| `Promise`\<`void`\>
|
|
24543
24545
|
|
|
24544
|
-
Defined in: [lib/form.ts:
|
|
24546
|
+
Defined in: [lib/form.ts:4780](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4780)
|
|
24545
24547
|
|
|
24546
24548
|
窗体挂载完成事件
|
|
24547
24549
|
|
|
@@ -24555,7 +24557,7 @@ Defined in: [lib/form.ts:4750](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24555
24557
|
|
|
24556
24558
|
> `optional` **padding?**: `string` \| `boolean`
|
|
24557
24559
|
|
|
24558
|
-
Defined in: [lib/form.ts:
|
|
24560
|
+
Defined in: [lib/form.ts:4755](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4755)
|
|
24559
24561
|
|
|
24560
24562
|
dialog 控件内容区是否显示内边距,默认表现与控件自身一致
|
|
24561
24563
|
|
|
@@ -24565,7 +24567,7 @@ dialog 控件内容区是否显示内边距,默认表现与控件自身一致
|
|
|
24565
24567
|
|
|
24566
24568
|
> `optional` **path?**: `string`
|
|
24567
24569
|
|
|
24568
|
-
Defined in: [lib/form.ts:
|
|
24570
|
+
Defined in: [lib/form.ts:4764](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4764)
|
|
24569
24571
|
|
|
24570
24572
|
路径基,以 / 结束或文件路径则以文件的基路径为准,可留空
|
|
24571
24573
|
|
|
@@ -24575,7 +24577,7 @@ Defined in: [lib/form.ts:4734](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24575
24577
|
|
|
24576
24578
|
> `optional` **select?**: (`this`, `e`, `button`) => `void`
|
|
24577
24579
|
|
|
24578
|
-
Defined in: [lib/form.ts:
|
|
24580
|
+
Defined in: [lib/form.ts:4771](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4771)
|
|
24579
24581
|
|
|
24580
24582
|
点击按钮触发事件,不能用 Promise
|
|
24581
24583
|
|
|
@@ -24607,7 +24609,7 @@ Defined in: [lib/form.ts:4741](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24607
24609
|
|
|
24608
24610
|
> `optional` **style?**: `string`
|
|
24609
24611
|
|
|
24610
|
-
Defined in: [lib/form.ts:
|
|
24612
|
+
Defined in: [lib/form.ts:4762](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4762)
|
|
24611
24613
|
|
|
24612
24614
|
样式表
|
|
24613
24615
|
|
|
@@ -24617,7 +24619,7 @@ Defined in: [lib/form.ts:4732](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24617
24619
|
|
|
24618
24620
|
> `optional` **title?**: `string`
|
|
24619
24621
|
|
|
24620
|
-
Defined in: [lib/form.ts:
|
|
24622
|
+
Defined in: [lib/form.ts:4738](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4738)
|
|
24621
24623
|
|
|
24622
24624
|
dialog 窗体标题,不传则使用默认标题 dialog
|
|
24623
24625
|
|
|
@@ -24627,7 +24629,7 @@ dialog 窗体标题,不传则使用默认标题 dialog
|
|
|
24627
24629
|
|
|
24628
24630
|
> `optional` **width?**: `string` \| `number`
|
|
24629
24631
|
|
|
24630
|
-
Defined in: [lib/form.ts:
|
|
24632
|
+
Defined in: [lib/form.ts:4751](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4751)
|
|
24631
24633
|
|
|
24632
24634
|
dialog 控件宽度,传数字时为像素值,传 fill 时代表填充可用宽度
|
|
24633
24635
|
|
|
@@ -24642,7 +24644,7 @@ lib/form/interfaces/IFormDialogSelectEvent.md
|
|
|
24642
24644
|
|
|
24643
24645
|
# Interface: IFormDialogSelectEvent
|
|
24644
24646
|
|
|
24645
|
-
Defined in: [lib/form.ts:
|
|
24647
|
+
Defined in: [lib/form.ts:4783](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4783)
|
|
24646
24648
|
|
|
24647
24649
|
Custom Event
|
|
24648
24650
|
|
|
@@ -24656,7 +24658,7 @@ Custom Event
|
|
|
24656
24658
|
|
|
24657
24659
|
> **detail**: `object`
|
|
24658
24660
|
|
|
24659
|
-
Defined in: [lib/form.ts:
|
|
24661
|
+
Defined in: [lib/form.ts:4784](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4784)
|
|
24660
24662
|
|
|
24661
24663
|
#### button
|
|
24662
24664
|
|
|
@@ -24701,7 +24703,7 @@ lib/form/interfaces/IFormInfo.md
|
|
|
24701
24703
|
|
|
24702
24704
|
# Interface: IFormInfo
|
|
24703
24705
|
|
|
24704
|
-
Defined in: [lib/form.ts:
|
|
24706
|
+
Defined in: [lib/form.ts:4691](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4691)
|
|
24705
24707
|
|
|
24706
24708
|
Form 的简略情况,通常在 list 当中
|
|
24707
24709
|
|
|
@@ -24711,7 +24713,7 @@ Form 的简略情况,通常在 list 当中
|
|
|
24711
24713
|
|
|
24712
24714
|
> **focus**: `boolean`
|
|
24713
24715
|
|
|
24714
|
-
Defined in: [lib/form.ts:
|
|
24716
|
+
Defined in: [lib/form.ts:4698](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4698)
|
|
24715
24717
|
|
|
24716
24718
|
***
|
|
24717
24719
|
|
|
@@ -24719,7 +24721,7 @@ Defined in: [lib/form.ts:4668](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24719
24721
|
|
|
24720
24722
|
> **icon**: `string`
|
|
24721
24723
|
|
|
24722
|
-
Defined in: [lib/form.ts:
|
|
24724
|
+
Defined in: [lib/form.ts:4694](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4694)
|
|
24723
24725
|
|
|
24724
24726
|
***
|
|
24725
24727
|
|
|
@@ -24727,7 +24729,7 @@ Defined in: [lib/form.ts:4664](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24727
24729
|
|
|
24728
24730
|
> **show**: `boolean`
|
|
24729
24731
|
|
|
24730
|
-
Defined in: [lib/form.ts:
|
|
24732
|
+
Defined in: [lib/form.ts:4697](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4697)
|
|
24731
24733
|
|
|
24732
24734
|
***
|
|
24733
24735
|
|
|
@@ -24735,7 +24737,7 @@ Defined in: [lib/form.ts:4667](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24735
24737
|
|
|
24736
24738
|
> **showInSystemTask**: `boolean`
|
|
24737
24739
|
|
|
24738
|
-
Defined in: [lib/form.ts:
|
|
24740
|
+
Defined in: [lib/form.ts:4699](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4699)
|
|
24739
24741
|
|
|
24740
24742
|
***
|
|
24741
24743
|
|
|
@@ -24743,7 +24745,7 @@ Defined in: [lib/form.ts:4669](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24743
24745
|
|
|
24744
24746
|
> **stateMax**: `boolean`
|
|
24745
24747
|
|
|
24746
|
-
Defined in: [lib/form.ts:
|
|
24748
|
+
Defined in: [lib/form.ts:4695](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4695)
|
|
24747
24749
|
|
|
24748
24750
|
***
|
|
24749
24751
|
|
|
@@ -24751,7 +24753,7 @@ Defined in: [lib/form.ts:4665](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24751
24753
|
|
|
24752
24754
|
> **stateMin**: `boolean`
|
|
24753
24755
|
|
|
24754
|
-
Defined in: [lib/form.ts:
|
|
24756
|
+
Defined in: [lib/form.ts:4696](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4696)
|
|
24755
24757
|
|
|
24756
24758
|
***
|
|
24757
24759
|
|
|
@@ -24759,7 +24761,7 @@ Defined in: [lib/form.ts:4666](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24759
24761
|
|
|
24760
24762
|
> **taskId**: `string`
|
|
24761
24763
|
|
|
24762
|
-
Defined in: [lib/form.ts:
|
|
24764
|
+
Defined in: [lib/form.ts:4692](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4692)
|
|
24763
24765
|
|
|
24764
24766
|
***
|
|
24765
24767
|
|
|
@@ -24767,7 +24769,7 @@ Defined in: [lib/form.ts:4662](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24767
24769
|
|
|
24768
24770
|
> **title**: `string`
|
|
24769
24771
|
|
|
24770
|
-
Defined in: [lib/form.ts:
|
|
24772
|
+
Defined in: [lib/form.ts:4693](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4693)
|
|
24771
24773
|
|
|
24772
24774
|
lib/form/interfaces/IForm.md
|
|
24773
24775
|
---
|
|
@@ -24780,7 +24782,7 @@ lib/form/interfaces/IForm.md
|
|
|
24780
24782
|
|
|
24781
24783
|
# Interface: IForm
|
|
24782
24784
|
|
|
24783
|
-
Defined in: [lib/form.ts:
|
|
24785
|
+
Defined in: [lib/form.ts:4682](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4682)
|
|
24784
24786
|
|
|
24785
24787
|
运行时 task 中的 form 对象
|
|
24786
24788
|
|
|
@@ -24790,7 +24792,7 @@ Defined in: [lib/form.ts:4652](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24790
24792
|
|
|
24791
24793
|
> **closed**: `boolean`
|
|
24792
24794
|
|
|
24793
|
-
Defined in: [lib/form.ts:
|
|
24795
|
+
Defined in: [lib/form.ts:4687](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4687)
|
|
24794
24796
|
|
|
24795
24797
|
是否已经执行过了关闭窗体方法,此处加判断为了防止重复执行 close 导致的 bug
|
|
24796
24798
|
|
|
@@ -24800,7 +24802,7 @@ Defined in: [lib/form.ts:4657](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24800
24802
|
|
|
24801
24803
|
> **id**: `string`
|
|
24802
24804
|
|
|
24803
|
-
Defined in: [lib/form.ts:
|
|
24805
|
+
Defined in: [lib/form.ts:4683](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4683)
|
|
24804
24806
|
|
|
24805
24807
|
***
|
|
24806
24808
|
|
|
@@ -24808,7 +24810,7 @@ Defined in: [lib/form.ts:4653](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24808
24810
|
|
|
24809
24811
|
> **vapp**: [`IVApp`](../../core/interfaces/IVApp.md)
|
|
24810
24812
|
|
|
24811
|
-
Defined in: [lib/form.ts:
|
|
24813
|
+
Defined in: [lib/form.ts:4684](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4684)
|
|
24812
24814
|
|
|
24813
24815
|
***
|
|
24814
24816
|
|
|
@@ -24816,7 +24818,7 @@ Defined in: [lib/form.ts:4654](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24816
24818
|
|
|
24817
24819
|
> **vroot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
24818
24820
|
|
|
24819
|
-
Defined in: [lib/form.ts:
|
|
24821
|
+
Defined in: [lib/form.ts:4685](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4685)
|
|
24820
24822
|
|
|
24821
24823
|
lib/form/interfaces/IFormPromptOptions.md
|
|
24822
24824
|
---
|
|
@@ -24829,7 +24831,7 @@ lib/form/interfaces/IFormPromptOptions.md
|
|
|
24829
24831
|
|
|
24830
24832
|
# Interface: IFormPromptOptions
|
|
24831
24833
|
|
|
24832
|
-
Defined in: [lib/form.ts:
|
|
24834
|
+
Defined in: [lib/form.ts:4805](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4805)
|
|
24833
24835
|
|
|
24834
24836
|
Prompt 选项
|
|
24835
24837
|
|
|
@@ -24839,7 +24841,7 @@ Prompt 选项
|
|
|
24839
24841
|
|
|
24840
24842
|
> `optional` **cancel?**: `boolean`
|
|
24841
24843
|
|
|
24842
|
-
Defined in: [lib/form.ts:
|
|
24844
|
+
Defined in: [lib/form.ts:4813](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4813)
|
|
24843
24845
|
|
|
24844
24846
|
是否显示取消按钮,默认显示
|
|
24845
24847
|
|
|
@@ -24849,7 +24851,7 @@ Defined in: [lib/form.ts:4783](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24849
24851
|
|
|
24850
24852
|
> **content**: `string`
|
|
24851
24853
|
|
|
24852
|
-
Defined in: [lib/form.ts:
|
|
24854
|
+
Defined in: [lib/form.ts:4809](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4809)
|
|
24853
24855
|
|
|
24854
24856
|
内容说明
|
|
24855
24857
|
|
|
@@ -24859,7 +24861,7 @@ Defined in: [lib/form.ts:4779](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24859
24861
|
|
|
24860
24862
|
> `optional` **select?**: (`this`, `e`, `button`) => `void`
|
|
24861
24863
|
|
|
24862
|
-
Defined in: [lib/form.ts:
|
|
24864
|
+
Defined in: [lib/form.ts:4820](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4820)
|
|
24863
24865
|
|
|
24864
24866
|
点击按钮触发事件
|
|
24865
24867
|
|
|
@@ -24891,7 +24893,7 @@ true 代表确定,false 代表取消
|
|
|
24891
24893
|
|
|
24892
24894
|
> `optional` **text?**: `string`
|
|
24893
24895
|
|
|
24894
|
-
Defined in: [lib/form.ts:
|
|
24896
|
+
Defined in: [lib/form.ts:4811](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4811)
|
|
24895
24897
|
|
|
24896
24898
|
文本默认值
|
|
24897
24899
|
|
|
@@ -24901,7 +24903,7 @@ Defined in: [lib/form.ts:4781](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24901
24903
|
|
|
24902
24904
|
> `optional` **title?**: `string`
|
|
24903
24905
|
|
|
24904
|
-
Defined in: [lib/form.ts:
|
|
24906
|
+
Defined in: [lib/form.ts:4807](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4807)
|
|
24905
24907
|
|
|
24906
24908
|
标题
|
|
24907
24909
|
|
|
@@ -24916,7 +24918,7 @@ lib/form/interfaces/IFormPromptSelectEvent.md
|
|
|
24916
24918
|
|
|
24917
24919
|
# Interface: IFormPromptSelectEvent
|
|
24918
24920
|
|
|
24919
|
-
Defined in: [lib/form.ts:
|
|
24921
|
+
Defined in: [lib/form.ts:4827](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4827)
|
|
24920
24922
|
|
|
24921
24923
|
Custom Event
|
|
24922
24924
|
|
|
@@ -24930,7 +24932,7 @@ Custom Event
|
|
|
24930
24932
|
|
|
24931
24933
|
> **detail**: `object`
|
|
24932
24934
|
|
|
24933
|
-
Defined in: [lib/form.ts:
|
|
24935
|
+
Defined in: [lib/form.ts:4828](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4828)
|
|
24934
24936
|
|
|
24935
24937
|
#### button
|
|
24936
24938
|
|
|
@@ -24981,7 +24983,7 @@ lib/form/interfaces/IMoveDragOptions.md
|
|
|
24981
24983
|
|
|
24982
24984
|
# Interface: IMoveDragOptions
|
|
24983
24985
|
|
|
24984
|
-
Defined in: [lib/form.ts:
|
|
24986
|
+
Defined in: [lib/form.ts:4703](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4703)
|
|
24985
24987
|
|
|
24986
24988
|
移动 drag 到新位置函数的选项
|
|
24987
24989
|
|
|
@@ -24991,7 +24993,7 @@ Defined in: [lib/form.ts:4673](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24991
24993
|
|
|
24992
24994
|
> `optional` **height?**: `number`
|
|
24993
24995
|
|
|
24994
|
-
Defined in: [lib/form.ts:
|
|
24996
|
+
Defined in: [lib/form.ts:4707](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4707)
|
|
24995
24997
|
|
|
24996
24998
|
***
|
|
24997
24999
|
|
|
@@ -24999,7 +25001,7 @@ Defined in: [lib/form.ts:4677](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
24999
25001
|
|
|
25000
25002
|
> `optional` **icon?**: `boolean`
|
|
25001
25003
|
|
|
25002
|
-
Defined in: [lib/form.ts:
|
|
25004
|
+
Defined in: [lib/form.ts:4708](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4708)
|
|
25003
25005
|
|
|
25004
25006
|
***
|
|
25005
25007
|
|
|
@@ -25007,7 +25009,7 @@ Defined in: [lib/form.ts:4678](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25007
25009
|
|
|
25008
25010
|
> `optional` **left?**: `number`
|
|
25009
25011
|
|
|
25010
|
-
Defined in: [lib/form.ts:
|
|
25012
|
+
Defined in: [lib/form.ts:4705](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4705)
|
|
25011
25013
|
|
|
25012
25014
|
***
|
|
25013
25015
|
|
|
@@ -25015,7 +25017,7 @@ Defined in: [lib/form.ts:4675](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25015
25017
|
|
|
25016
25018
|
> `optional` **top?**: `number`
|
|
25017
25019
|
|
|
25018
|
-
Defined in: [lib/form.ts:
|
|
25020
|
+
Defined in: [lib/form.ts:4704](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4704)
|
|
25019
25021
|
|
|
25020
25022
|
***
|
|
25021
25023
|
|
|
@@ -25023,7 +25025,7 @@ Defined in: [lib/form.ts:4674](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25023
25025
|
|
|
25024
25026
|
> `optional` **width?**: `number`
|
|
25025
25027
|
|
|
25026
|
-
Defined in: [lib/form.ts:
|
|
25028
|
+
Defined in: [lib/form.ts:4706](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4706)
|
|
25027
25029
|
|
|
25028
25030
|
lib/form/interfaces/INotifyContentOptions.md
|
|
25029
25031
|
---
|
|
@@ -25036,7 +25038,7 @@ lib/form/interfaces/INotifyContentOptions.md
|
|
|
25036
25038
|
|
|
25037
25039
|
# Interface: INotifyContentOptions
|
|
25038
25040
|
|
|
25039
|
-
Defined in: [lib/form.ts:
|
|
25041
|
+
Defined in: [lib/form.ts:4725](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4725)
|
|
25040
25042
|
|
|
25041
25043
|
notify 信息框的修改选项
|
|
25042
25044
|
|
|
@@ -25046,7 +25048,7 @@ notify 信息框的修改选项
|
|
|
25046
25048
|
|
|
25047
25049
|
> `optional` **content?**: `string`
|
|
25048
25050
|
|
|
25049
|
-
Defined in: [lib/form.ts:
|
|
25051
|
+
Defined in: [lib/form.ts:4727](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4727)
|
|
25050
25052
|
|
|
25051
25053
|
***
|
|
25052
25054
|
|
|
@@ -25054,7 +25056,7 @@ Defined in: [lib/form.ts:4697](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25054
25056
|
|
|
25055
25057
|
> `optional` **note?**: `string`
|
|
25056
25058
|
|
|
25057
|
-
Defined in: [lib/form.ts:
|
|
25059
|
+
Defined in: [lib/form.ts:4728](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4728)
|
|
25058
25060
|
|
|
25059
25061
|
***
|
|
25060
25062
|
|
|
@@ -25062,7 +25064,7 @@ Defined in: [lib/form.ts:4698](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25062
25064
|
|
|
25063
25065
|
> `optional` **progress?**: `number`
|
|
25064
25066
|
|
|
25065
|
-
Defined in: [lib/form.ts:
|
|
25067
|
+
Defined in: [lib/form.ts:4730](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4730)
|
|
25066
25068
|
|
|
25067
25069
|
可顺便修改进度
|
|
25068
25070
|
|
|
@@ -25072,7 +25074,7 @@ Defined in: [lib/form.ts:4700](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25072
25074
|
|
|
25073
25075
|
> `optional` **timeout?**: `number`
|
|
25074
25076
|
|
|
25075
|
-
Defined in: [lib/form.ts:
|
|
25077
|
+
Defined in: [lib/form.ts:4732](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4732)
|
|
25076
25078
|
|
|
25077
25079
|
设置后将在 x 毫秒后隐藏,这不会大于创建时的设置的总时长
|
|
25078
25080
|
|
|
@@ -25082,7 +25084,7 @@ Defined in: [lib/form.ts:4702](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25082
25084
|
|
|
25083
25085
|
> `optional` **title?**: `string`
|
|
25084
25086
|
|
|
25085
|
-
Defined in: [lib/form.ts:
|
|
25087
|
+
Defined in: [lib/form.ts:4726](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4726)
|
|
25086
25088
|
|
|
25087
25089
|
lib/form/interfaces/INotifyOptions.md
|
|
25088
25090
|
---
|
|
@@ -25095,7 +25097,7 @@ lib/form/interfaces/INotifyOptions.md
|
|
|
25095
25097
|
|
|
25096
25098
|
# Interface: INotifyOptions
|
|
25097
25099
|
|
|
25098
|
-
Defined in: [lib/form.ts:
|
|
25100
|
+
Defined in: [lib/form.ts:4712](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4712)
|
|
25099
25101
|
|
|
25100
25102
|
弹出 notify 信息框的选项
|
|
25101
25103
|
|
|
@@ -25105,7 +25107,7 @@ Defined in: [lib/form.ts:4682](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25105
25107
|
|
|
25106
25108
|
> `optional` **content?**: `string`
|
|
25107
25109
|
|
|
25108
|
-
Defined in: [lib/form.ts:
|
|
25110
|
+
Defined in: [lib/form.ts:4715](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4715)
|
|
25109
25111
|
|
|
25110
25112
|
正文
|
|
25111
25113
|
|
|
@@ -25115,7 +25117,7 @@ Defined in: [lib/form.ts:4685](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25115
25117
|
|
|
25116
25118
|
> `optional` **icon?**: `string` \| `null`
|
|
25117
25119
|
|
|
25118
|
-
Defined in: [lib/form.ts:
|
|
25120
|
+
Defined in: [lib/form.ts:4718](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4718)
|
|
25119
25121
|
|
|
25120
25122
|
***
|
|
25121
25123
|
|
|
@@ -25123,7 +25125,7 @@ Defined in: [lib/form.ts:4688](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25123
25125
|
|
|
25124
25126
|
> `optional` **note?**: `string`
|
|
25125
25127
|
|
|
25126
|
-
Defined in: [lib/form.ts:
|
|
25128
|
+
Defined in: [lib/form.ts:4717](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4717)
|
|
25127
25129
|
|
|
25128
25130
|
浅色描述
|
|
25129
25131
|
|
|
@@ -25133,7 +25135,7 @@ Defined in: [lib/form.ts:4687](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25133
25135
|
|
|
25134
25136
|
> `optional` **progress?**: `boolean`
|
|
25135
25137
|
|
|
25136
|
-
Defined in: [lib/form.ts:
|
|
25138
|
+
Defined in: [lib/form.ts:4721](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4721)
|
|
25137
25139
|
|
|
25138
25140
|
***
|
|
25139
25141
|
|
|
@@ -25141,7 +25143,7 @@ Defined in: [lib/form.ts:4691](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25141
25143
|
|
|
25142
25144
|
> `optional` **timeout?**: `number`
|
|
25143
25145
|
|
|
25144
|
-
Defined in: [lib/form.ts:
|
|
25146
|
+
Defined in: [lib/form.ts:4719](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4719)
|
|
25145
25147
|
|
|
25146
25148
|
***
|
|
25147
25149
|
|
|
@@ -25149,7 +25151,7 @@ Defined in: [lib/form.ts:4689](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25149
25151
|
|
|
25150
25152
|
> `optional` **title?**: `string`
|
|
25151
25153
|
|
|
25152
|
-
Defined in: [lib/form.ts:
|
|
25154
|
+
Defined in: [lib/form.ts:4713](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4713)
|
|
25153
25155
|
|
|
25154
25156
|
***
|
|
25155
25157
|
|
|
@@ -25157,7 +25159,7 @@ Defined in: [lib/form.ts:4683](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25157
25159
|
|
|
25158
25160
|
> `optional` **type?**: `"progress"` \| `"info"` \| `"warning"` \| `"danger"` \| `"primary"`
|
|
25159
25161
|
|
|
25160
|
-
Defined in: [lib/form.ts:
|
|
25162
|
+
Defined in: [lib/form.ts:4720](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4720)
|
|
25161
25163
|
|
|
25162
25164
|
lib/form/variables/activePanels.md
|
|
25163
25165
|
---
|
|
@@ -25172,7 +25174,7 @@ lib/form/variables/activePanels.md
|
|
|
25172
25174
|
|
|
25173
25175
|
> `const` **activePanels**: `Record`\<`string`, `string`[]\> = `{}`
|
|
25174
25176
|
|
|
25175
|
-
Defined in: [lib/form.ts:
|
|
25177
|
+
Defined in: [lib/form.ts:2149](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2149)
|
|
25176
25178
|
|
|
25177
25179
|
当前活跃中的 panelId 列表
|
|
25178
25180
|
|
|
@@ -25189,7 +25191,7 @@ lib/form/variables/elements.md
|
|
|
25189
25191
|
|
|
25190
25192
|
> `const` **elements**: `object`
|
|
25191
25193
|
|
|
25192
|
-
Defined in: [lib/form.ts:
|
|
25194
|
+
Defined in: [lib/form.ts:1378](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1378)
|
|
25193
25195
|
|
|
25194
25196
|
## Type Declaration
|
|
25195
25197
|
|
|
@@ -25258,7 +25260,7 @@ lib/form/variables/launcherRoot.md
|
|
|
25258
25260
|
|
|
25259
25261
|
> **launcherRoot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
25260
25262
|
|
|
25261
|
-
Defined in: [lib/form.ts:
|
|
25263
|
+
Defined in: [lib/form.ts:1373](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1373)
|
|
25262
25264
|
|
|
25263
25265
|
lib/form/variables/simpleSystemTaskRoot.md
|
|
25264
25266
|
---
|
|
@@ -25273,7 +25275,7 @@ lib/form/variables/simpleSystemTaskRoot.md
|
|
|
25273
25275
|
|
|
25274
25276
|
> **simpleSystemTaskRoot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
25275
25277
|
|
|
25276
|
-
Defined in: [lib/form.ts:
|
|
25278
|
+
Defined in: [lib/form.ts:1372](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1372)
|
|
25277
25279
|
|
|
25278
25280
|
lib/fs/functions/chmod.md
|
|
25279
25281
|
---
|
|
@@ -26606,7 +26608,7 @@ lib/native/functions/activate.md
|
|
|
26606
26608
|
|
|
26607
26609
|
> **activate**(`current`): `Promise`\<`boolean`\>
|
|
26608
26610
|
|
|
26609
|
-
Defined in: [lib/native.ts:
|
|
26611
|
+
Defined in: [lib/native.ts:301](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L301)
|
|
26610
26612
|
|
|
26611
26613
|
## Parameters
|
|
26612
26614
|
|
|
@@ -26631,7 +26633,7 @@ lib/native/functions/clear.md
|
|
|
26631
26633
|
|
|
26632
26634
|
> **clear**(`taskId`, `formId?`): `void`
|
|
26633
26635
|
|
|
26634
|
-
Defined in: [lib/native.ts:
|
|
26636
|
+
Defined in: [lib/native.ts:144](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L144)
|
|
26635
26637
|
|
|
26636
26638
|
清除某个窗体或某个任务的所有事件监听
|
|
26637
26639
|
|
|
@@ -26666,7 +26668,7 @@ lib/native/functions/close.md
|
|
|
26666
26668
|
|
|
26667
26669
|
> **close**(`current`): `Promise`\<`boolean`\>
|
|
26668
26670
|
|
|
26669
|
-
Defined in: [lib/native.ts:
|
|
26671
|
+
Defined in: [lib/native.ts:313](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L313)
|
|
26670
26672
|
|
|
26671
26673
|
关闭当前 native 真实窗体,根据配置整个 native 任务可能结束也可能保留 node 不结束
|
|
26672
26674
|
|
|
@@ -26695,7 +26697,7 @@ lib/native/functions/dialog.md
|
|
|
26695
26697
|
|
|
26696
26698
|
> **dialog**(`options?`): `Promise`\<`number`\>
|
|
26697
26699
|
|
|
26698
|
-
Defined in: [lib/native.ts:
|
|
26700
|
+
Defined in: [lib/native.ts:380](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L380)
|
|
26699
26701
|
|
|
26700
26702
|
弹出消息框
|
|
26701
26703
|
|
|
@@ -26726,7 +26728,7 @@ lib/native/functions/getListenerList.md
|
|
|
26726
26728
|
|
|
26727
26729
|
> **getListenerList**(`taskId?`): `Record`\<`string`, `Record`\<`string`, `Record`\<`string`, `number`\>\>\>
|
|
26728
26730
|
|
|
26729
|
-
Defined in: [lib/native.ts:
|
|
26731
|
+
Defined in: [lib/native.ts:167](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L167)
|
|
26730
26732
|
|
|
26731
26733
|
获取监听 native 事件的监听统计信息列表
|
|
26732
26734
|
|
|
@@ -26755,7 +26757,7 @@ lib/native/functions/init.md
|
|
|
26755
26757
|
|
|
26756
26758
|
> **init**(): `void`
|
|
26757
26759
|
|
|
26758
|
-
Defined in: [lib/native.ts:
|
|
26760
|
+
Defined in: [lib/native.ts:411](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L411)
|
|
26759
26761
|
|
|
26760
26762
|
## Returns
|
|
26761
26763
|
|
|
@@ -26803,7 +26805,7 @@ lib/native/functions/invoke.md
|
|
|
26803
26805
|
|
|
26804
26806
|
> **invoke**(`name`, ...`param`): `Promise`\<`any`\>
|
|
26805
26807
|
|
|
26806
|
-
Defined in: [lib/native.ts:
|
|
26808
|
+
Defined in: [lib/native.ts:208](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L208)
|
|
26807
26809
|
|
|
26808
26810
|
向 native 发送指令
|
|
26809
26811
|
|
|
@@ -26838,7 +26840,7 @@ lib/native/functions/invokeSys.md
|
|
|
26838
26840
|
|
|
26839
26841
|
> **invokeSys**(`current`, `name`, ...`param`): `Promise`\<`any`\>
|
|
26840
26842
|
|
|
26841
|
-
Defined in: [lib/native.ts:
|
|
26843
|
+
Defined in: [lib/native.ts:221](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L221)
|
|
26842
26844
|
|
|
26843
26845
|
向 native 发送指令(系统级)
|
|
26844
26846
|
|
|
@@ -26879,7 +26881,7 @@ lib/native/functions/isMax.md
|
|
|
26879
26881
|
|
|
26880
26882
|
> **isMax**(): `Promise`\<`boolean`\>
|
|
26881
26883
|
|
|
26882
|
-
Defined in: [lib/native.ts:
|
|
26884
|
+
Defined in: [lib/native.ts:404](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L404)
|
|
26883
26885
|
|
|
26884
26886
|
判断窗体是否是最大化状态
|
|
26885
26887
|
|
|
@@ -26900,7 +26902,7 @@ lib/native/functions/maximizable.md
|
|
|
26900
26902
|
|
|
26901
26903
|
> **maximizable**(`current`, `val`): `Promise`\<`boolean`\>
|
|
26902
26904
|
|
|
26903
|
-
Defined in: [lib/native.ts:
|
|
26905
|
+
Defined in: [lib/native.ts:321](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L321)
|
|
26904
26906
|
|
|
26905
26907
|
## Parameters
|
|
26906
26908
|
|
|
@@ -26929,7 +26931,7 @@ lib/native/functions/max.md
|
|
|
26929
26931
|
|
|
26930
26932
|
> **max**(`current`): `Promise`\<`boolean`\>
|
|
26931
26933
|
|
|
26932
|
-
Defined in: [lib/native.ts:
|
|
26934
|
+
Defined in: [lib/native.ts:267](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L267)
|
|
26933
26935
|
|
|
26934
26936
|
## Parameters
|
|
26935
26937
|
|
|
@@ -26954,7 +26956,34 @@ lib/native/functions/min.md
|
|
|
26954
26956
|
|
|
26955
26957
|
> **min**(`current`): `Promise`\<`boolean`\>
|
|
26956
26958
|
|
|
26957
|
-
Defined in: [lib/native.ts:
|
|
26959
|
+
Defined in: [lib/native.ts:275](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L275)
|
|
26960
|
+
|
|
26961
|
+
## Parameters
|
|
26962
|
+
|
|
26963
|
+
### current
|
|
26964
|
+
|
|
26965
|
+
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
26966
|
+
|
|
26967
|
+
## Returns
|
|
26968
|
+
|
|
26969
|
+
`Promise`\<`boolean`\>
|
|
26970
|
+
|
|
26971
|
+
lib/native/functions/minSize.md
|
|
26972
|
+
---
|
|
26973
|
+
|
|
26974
|
+
[**Documents for clickgo**](../../../index.md)
|
|
26975
|
+
|
|
26976
|
+
***
|
|
26977
|
+
|
|
26978
|
+
[Documents for clickgo](../../../index.md) / [lib/native](../index.md) / minSize
|
|
26979
|
+
|
|
26980
|
+
# Function: minSize()
|
|
26981
|
+
|
|
26982
|
+
> **minSize**(`current`, `width`, `height`): `Promise`\<`boolean`\>
|
|
26983
|
+
|
|
26984
|
+
Defined in: [lib/native.ts:256](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L256)
|
|
26985
|
+
|
|
26986
|
+
设置实体窗体的最小尺寸,0 表示不限制对应方向
|
|
26958
26987
|
|
|
26959
26988
|
## Parameters
|
|
26960
26989
|
|
|
@@ -26962,6 +26991,20 @@ Defined in: [lib/native.ts:255](https://github.com/maiyun/clickgo/blob/master/di
|
|
|
26962
26991
|
|
|
26963
26992
|
[`TCurrent`](../../core/type-aliases/TCurrent.md)
|
|
26964
26993
|
|
|
26994
|
+
当前任务
|
|
26995
|
+
|
|
26996
|
+
### width
|
|
26997
|
+
|
|
26998
|
+
`number`
|
|
26999
|
+
|
|
27000
|
+
最小宽度
|
|
27001
|
+
|
|
27002
|
+
### height
|
|
27003
|
+
|
|
27004
|
+
`number`
|
|
27005
|
+
|
|
27006
|
+
最小高度
|
|
27007
|
+
|
|
26965
27008
|
## Returns
|
|
26966
27009
|
|
|
26967
27010
|
`Promise`\<`boolean`\>
|
|
@@ -26979,7 +27022,7 @@ lib/native/functions/off.md
|
|
|
26979
27022
|
|
|
26980
27023
|
> **off**(`current`, `name`, `formId?`): `void`
|
|
26981
27024
|
|
|
26982
|
-
Defined in: [lib/native.ts:
|
|
27025
|
+
Defined in: [lib/native.ts:125](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L125)
|
|
26983
27026
|
|
|
26984
27027
|
解绑监听的方法
|
|
26985
27028
|
|
|
@@ -27020,7 +27063,7 @@ lib/native/functions/once.md
|
|
|
27020
27063
|
|
|
27021
27064
|
> **once**(`current`, `name`, `handler`, `formId?`): `void`
|
|
27022
27065
|
|
|
27023
|
-
Defined in: [lib/native.ts:
|
|
27066
|
+
Defined in: [lib/native.ts:110](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L110)
|
|
27024
27067
|
|
|
27025
27068
|
监听 native 传输过来的事件(仅一次)
|
|
27026
27069
|
|
|
@@ -27067,7 +27110,7 @@ lib/native/functions/on.md
|
|
|
27067
27110
|
|
|
27068
27111
|
> **on**(`current`, `name`, `handler`, `once?`, `formId?`): `void`
|
|
27069
27112
|
|
|
27070
|
-
Defined in: [lib/native.ts:
|
|
27113
|
+
Defined in: [lib/native.ts:81](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L81)
|
|
27071
27114
|
|
|
27072
27115
|
监听 native 传输过来的事件
|
|
27073
27116
|
|
|
@@ -27120,7 +27163,7 @@ lib/native/functions/open.md
|
|
|
27120
27163
|
|
|
27121
27164
|
> **open**(`options?`): `Promise`\<`string`[] \| `null`\>
|
|
27122
27165
|
|
|
27123
|
-
Defined in: [lib/native.ts:
|
|
27166
|
+
Defined in: [lib/native.ts:336](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L336)
|
|
27124
27167
|
|
|
27125
27168
|
弹出文件选择框
|
|
27126
27169
|
|
|
@@ -27183,7 +27226,7 @@ lib/native/functions/ping.md
|
|
|
27183
27226
|
|
|
27184
27227
|
> **ping**(`val`): `Promise`\<`string`\>
|
|
27185
27228
|
|
|
27186
|
-
Defined in: [lib/native.ts:
|
|
27229
|
+
Defined in: [lib/native.ts:397](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L397)
|
|
27187
27230
|
|
|
27188
27231
|
测试与 native 的连通性
|
|
27189
27232
|
|
|
@@ -27214,7 +27257,7 @@ lib/native/functions/quit.md
|
|
|
27214
27257
|
|
|
27215
27258
|
> **quit**(`current`): `Promise`\<`boolean`\>
|
|
27216
27259
|
|
|
27217
|
-
Defined in: [lib/native.ts:
|
|
27260
|
+
Defined in: [lib/native.ts:234](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L234)
|
|
27218
27261
|
|
|
27219
27262
|
直接让整个 native 进程退出
|
|
27220
27263
|
|
|
@@ -27243,7 +27286,7 @@ lib/native/functions/restore.md
|
|
|
27243
27286
|
|
|
27244
27287
|
> **restore**(`current`): `Promise`\<`boolean`\>
|
|
27245
27288
|
|
|
27246
|
-
Defined in: [lib/native.ts:
|
|
27289
|
+
Defined in: [lib/native.ts:293](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L293)
|
|
27247
27290
|
|
|
27248
27291
|
从最小化还原
|
|
27249
27292
|
|
|
@@ -27270,7 +27313,7 @@ lib/native/functions/save.md
|
|
|
27270
27313
|
|
|
27271
27314
|
> **save**(`options?`): `Promise`\<`string` \| `null`\>
|
|
27272
27315
|
|
|
27273
|
-
Defined in: [lib/native.ts:
|
|
27316
|
+
Defined in: [lib/native.ts:362](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L362)
|
|
27274
27317
|
|
|
27275
27318
|
弹出文件保存框
|
|
27276
27319
|
|
|
@@ -27311,7 +27354,7 @@ lib/native/functions/size.md
|
|
|
27311
27354
|
|
|
27312
27355
|
> **size**(`current`, `width`, `height`): `Promise`\<`boolean`\>
|
|
27313
27356
|
|
|
27314
|
-
Defined in: [lib/native.ts:
|
|
27357
|
+
Defined in: [lib/native.ts:242](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L242)
|
|
27315
27358
|
|
|
27316
27359
|
## Parameters
|
|
27317
27360
|
|
|
@@ -27344,7 +27387,7 @@ lib/native/functions/unmaximize.md
|
|
|
27344
27387
|
|
|
27345
27388
|
> **unmaximize**(`current`): `Promise`\<`boolean`\>
|
|
27346
27389
|
|
|
27347
|
-
Defined in: [lib/native.ts:
|
|
27390
|
+
Defined in: [lib/native.ts:284](https://github.com/maiyun/clickgo/blob/master/dist/lib/native.ts#L284)
|
|
27348
27391
|
|
|
27349
27392
|
从最大化还原
|
|
27350
27393
|
|
|
@@ -27384,6 +27427,7 @@ lib/native/index.md
|
|
|
27384
27427
|
- [max](functions/max.md)
|
|
27385
27428
|
- [maximizable](functions/maximizable.md)
|
|
27386
27429
|
- [min](functions/min.md)
|
|
27430
|
+
- [minSize](functions/minSize.md)
|
|
27387
27431
|
- [off](functions/off.md)
|
|
27388
27432
|
- [on](functions/on.md)
|
|
27389
27433
|
- [once](functions/once.md)
|