clickgo 7.8.0 → 7.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/demo.cga +0 -0
- package/dist/app/task.cga +0 -0
- package/dist/control/common.cgc +0 -0
- package/dist/control/form.cgc +0 -0
- package/dist/index.js +1 -1
- package/dist/lib/form/abstract-component.d.ts +49 -0
- package/dist/lib/form/abstract-form.d.ts +195 -0
- package/dist/lib/form/abstract-panel.d.ts +50 -0
- package/dist/lib/form/base.d.ts +79 -0
- package/dist/lib/form/create.d.ts +35 -0
- package/dist/lib/form/dialog.d.ts +28 -0
- package/dist/lib/form/effects.d.ts +45 -0
- package/dist/lib/form/notification.d.ts +51 -0
- package/dist/lib/form/popup.d.ts +78 -0
- package/dist/lib/form/remove.d.ts +28 -0
- package/dist/lib/form/state.d.ts +29 -0
- package/dist/lib/form/system.d.ts +63 -0
- package/dist/lib/form/system.types.d.ts +72 -0
- package/dist/lib/form/types.d.ts +181 -0
- package/dist/lib/form/view.d.ts +55 -0
- package/dist/lib/form/window.d.ts +125 -0
- package/dist/lib/form.d.ts +27 -872
- package/dist/theme/classic-light.cgt +0 -0
- package/dist/theme/cloud-dark.cgt +0 -0
- package/dist/theme/cloud-light.cgt +0 -0
- package/dist/theme/dark.cgt +0 -0
- package/dist/theme/dashboard-light.cgt +0 -0
- package/dist/theme/light.cgt +0 -0
- package/dist/theme/software-dark.cgt +0 -0
- package/dist/theme/software-light.cgt +0 -0
- package/doc/clickgo-rag.md +572 -445
- package/package.json +4 -3
package/doc/clickgo-rag.md
CHANGED
|
@@ -2303,7 +2303,25 @@ Desktop 和 Iconview 共用 `clickgo.modules.pointer.drag()`,它返回取消
|
|
|
2303
2303
|
|
|
2304
2304
|
`number` | `string`
|
|
2305
2305
|
|
|
2306
|
-
展开宽度,默认 `280
|
|
2306
|
+
展开宽度,默认 `280`,兼容数字、数字字符串及 CSS 长度。拖动后保存为像素数,可通过 `v-model:width` 接收。
|
|
2307
|
+
|
|
2308
|
+
#### minWidth
|
|
2309
|
+
|
|
2310
|
+
`number` | `string`
|
|
2311
|
+
|
|
2312
|
+
拖拽调整宽度的下限,单位为像素,默认 `160`。空间不足时以可用空间为上限;不修改初始 `width`。
|
|
2313
|
+
|
|
2314
|
+
#### maxWidth
|
|
2315
|
+
|
|
2316
|
+
`number` | `string`
|
|
2317
|
+
|
|
2318
|
+
拖拽调整宽度的上限,单位为像素,默认 `0`,表示使用可用空间;不修改初始 `width`。
|
|
2319
|
+
|
|
2320
|
+
#### resizable
|
|
2321
|
+
|
|
2322
|
+
`boolean` | `string`
|
|
2323
|
+
|
|
2324
|
+
是否允许在展开模式下拖拽调整侧栏宽度,默认 `true`;同时控制分隔条的键盘调整。聚焦分隔条后,左右方向键每次调整 `10px`。拖拽时按 Escape 可取消,完成后通过 `update:width` 提交;可使用 `v-model:width` 保存,不绑定时控件也会保留调整结果。
|
|
2307
2325
|
|
|
2308
2326
|
#### position
|
|
2309
2327
|
|
|
@@ -2315,7 +2333,7 @@ Desktop 和 Iconview 共用 `clickgo.modules.pointer.drag()`,它返回取消
|
|
|
2315
2333
|
|
|
2316
2334
|
`number` | `string`
|
|
2317
2335
|
|
|
2318
|
-
|
|
2336
|
+
为其他工作区保留的宽度,默认 `320` 像素,用于单列拖拽上限及多列自动收起和拖拽上限;应包含工具箱、其他侧栏及工作区需要的宽度。单列旧用法的初始 `width` 不受此参数强制修正。
|
|
2319
2337
|
|
|
2320
2338
|
### 方法
|
|
2321
2339
|
|
|
@@ -2362,7 +2380,7 @@ Desktop 和 Iconview 共用 `clickgo.modules.pointer.drag()`,它返回取消
|
|
|
2362
2380
|
</dock>
|
|
2363
2381
|
```
|
|
2364
2382
|
|
|
2365
|
-
同一个 Dock 中不要混用直接的 `dock-group` 与 `dock-column`。多列宽度由各列决定,根 Dock 的 `width`
|
|
2383
|
+
同一个 Dock 中不要混用直接的 `dock-group` 与 `dock-column`。多列宽度由各列决定,根 Dock 的 `width`、`minWidth`、`maxWidth` 和 `resizable` 仅控制单列用法;多列时在各 `dock-column` 上设置。
|
|
2366
2384
|
|
|
2367
2385
|
|
|
2368
2386
|
## dock-column
|
|
@@ -2386,6 +2404,24 @@ Dock 的独立列容器,在同一 `dock` 内使用多个 `dock-column` 即可
|
|
|
2386
2404
|
|
|
2387
2405
|
展开时的像素宽度,默认 `280`,最小 `40`。收起宽度由主题决定。
|
|
2388
2406
|
|
|
2407
|
+
#### minWidth
|
|
2408
|
+
|
|
2409
|
+
`number` | `string`
|
|
2410
|
+
|
|
2411
|
+
拖拽调整宽度的下限,单位为像素,默认 `160`。空间不足时以可用空间为上限;不修改初始 `width`。
|
|
2412
|
+
|
|
2413
|
+
#### maxWidth
|
|
2414
|
+
|
|
2415
|
+
`number` | `string`
|
|
2416
|
+
|
|
2417
|
+
拖拽调整宽度的上限,单位为像素,默认 `0`,表示使用可用空间;不修改初始 `width`。
|
|
2418
|
+
|
|
2419
|
+
#### resizable
|
|
2420
|
+
|
|
2421
|
+
`boolean` | `string`
|
|
2422
|
+
|
|
2423
|
+
是否允许在展开模式下拖拽调整列宽,默认 `true`;同时控制分隔条的键盘调整。聚焦分隔条后,左右方向键每次调整 `10px`。拖拽时按 Escape 可取消,完成后通过 `update:width` 提交;可使用 `v-model:width` 保存,不绑定时控件也会保留调整结果。
|
|
2424
|
+
|
|
2389
2425
|
#### label
|
|
2390
2426
|
|
|
2391
2427
|
`string`
|
|
@@ -2418,7 +2454,11 @@ Dock 的独立列容器,在同一 `dock` 内使用多个 `dock-column` 即可
|
|
|
2418
2454
|
|
|
2419
2455
|
Dock 分组控件,使用稳定的字符串 `name` 管理选中项,不依赖子项顺序。
|
|
2420
2456
|
|
|
2421
|
-
展开状态下,普通分组按内容自然高度布局,只有设置 `grow`
|
|
2457
|
+
展开状态下,普通分组按内容自然高度布局,只有设置 `grow` 的分组共享剩余高度;总高度不足时压缩并在内容区滚动。可拖动相邻展开分组之间的横向分隔条,重新分配两组的总高度。手动高度优先于 `grow`,折叠、收起侧栏后仍保留;将 `height` 设为 `0` 可恢复自动布局。可直接放在 `dock` 内,也可放在 `dock-column` 内。
|
|
2458
|
+
|
|
2459
|
+
标题栏保留折叠按钮,提供 `menu` 插槽时另显示省略号菜单。收起侧栏后的浮层标题同样支持菜单。浮层按内容高度显示,`grow` 浮层填充 Form 与视窗内的可用高度。
|
|
2460
|
+
|
|
2461
|
+
标题栏保持单行,空间不足时标签文字省略,悬停通过 Tip 显示完整名称。标签过多时可横向滚动或使用滚轮浏览,不显示浏览器原生滚动条;折叠与菜单按钮保留在滚动区域外。
|
|
2422
2462
|
|
|
2423
2463
|
### 参数
|
|
2424
2464
|
|
|
@@ -2446,6 +2486,47 @@ Dock 分组控件,使用稳定的字符串 `name` 管理选中项,不依赖
|
|
|
2446
2486
|
|
|
2447
2487
|
是否填充所在 Dock 或 DockColumn 的剩余高度,默认 `false`。多个 `grow` 分组均分剩余空间。
|
|
2448
2488
|
|
|
2489
|
+
#### height
|
|
2490
|
+
|
|
2491
|
+
`number` | `string`
|
|
2492
|
+
|
|
2493
|
+
双向绑定,分组包含标题、内容和边框的总高度,单位像素,默认 `0`(自动)。拖拽过程实时预览,完成后发出 `update:height`;Escape、指针取消或卸载撤销未完成调整,不提交事件。窗口空间不足时允许缩小,不覆盖保存值。
|
|
2494
|
+
|
|
2495
|
+
#### minHeight
|
|
2496
|
+
|
|
2497
|
+
`number` | `string`
|
|
2498
|
+
|
|
2499
|
+
拖拽时的总高度下限,默认 `60`,至少保留标题栏。若当前高度已低于下限,拖动不会强制放大分组。初始 `height` 不受此参数强制修正。
|
|
2500
|
+
|
|
2501
|
+
#### resizable
|
|
2502
|
+
|
|
2503
|
+
`boolean` | `string`
|
|
2504
|
+
|
|
2505
|
+
是否允许拖拽调整分组高度,默认 `true`;同时控制分隔条的键盘调整。相邻两组均展开且允许调整时显示分隔条,拖动时一组增高、另一组相应缩小,两组总高度不变。聚焦分隔条后,上下方向键每次调整 `10px`,同时按 Shift 调整 `1px`。
|
|
2506
|
+
|
|
2507
|
+
#### maxFloatHeight
|
|
2508
|
+
|
|
2509
|
+
`number` | `string`
|
|
2510
|
+
|
|
2511
|
+
收起侧栏后的浮层内容容器高度上限,默认 `0`,表示使用 Form 与视窗内的可用高度;正数为像素上限。
|
|
2512
|
+
|
|
2513
|
+
### 插槽
|
|
2514
|
+
|
|
2515
|
+
#### menu
|
|
2516
|
+
|
|
2517
|
+
标题栏省略号弹出的原生菜单内容,可放 `menulist`。作用域参数 `name` 为当前选中的 `dock-item` 名称;切换标签或展开模式时关闭菜单。未提供此插槽时隐藏菜单按钮。
|
|
2518
|
+
|
|
2519
|
+
```xml
|
|
2520
|
+
<dock-group v-model="selected" v-model:height="panelHeight">
|
|
2521
|
+
<dock-item name="layers" label="Layers"></dock-item>
|
|
2522
|
+
<template v-slot:menu="{name}">
|
|
2523
|
+
<menulist>
|
|
2524
|
+
<menulist-item @click="resetPanel(name)">Reset panel</menulist-item>
|
|
2525
|
+
</menulist>
|
|
2526
|
+
</template>
|
|
2527
|
+
</dock-group>
|
|
2528
|
+
```
|
|
2529
|
+
|
|
2449
2530
|
### 方法
|
|
2450
2531
|
|
|
2451
2532
|
#### toggleCollapsed
|
|
@@ -22222,7 +22303,7 @@ Defined in: [lib/dom.ts:1911](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22222
22303
|
|
|
22223
22304
|
### pos
|
|
22224
22305
|
|
|
22225
|
-
`"b"` \| `"tr"` \| `"l"` \| `"rb"` \| `"
|
|
22306
|
+
`"b"` \| `"tr"` \| `"l"` \| `"rb"` \| `"r"` \| `"t"` \| `"lt"` \| `"bl"`
|
|
22226
22307
|
|
|
22227
22308
|
## Returns
|
|
22228
22309
|
|
|
@@ -24182,7 +24263,7 @@ lib/form/classes/AbstractComponent.md
|
|
|
24182
24263
|
|
|
24183
24264
|
# Abstract Class: AbstractComponent
|
|
24184
24265
|
|
|
24185
|
-
Defined in: [lib/form.ts:
|
|
24266
|
+
Defined in: [lib/form/abstract-component.ts:8](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L8)
|
|
24186
24267
|
|
|
24187
24268
|
Form/Panel 内使用的应用局部组件抽象类
|
|
24188
24269
|
|
|
@@ -24210,7 +24291,7 @@ Form/Panel 内使用的应用局部组件抽象类
|
|
|
24210
24291
|
|
|
24211
24292
|
> `readonly` **components**: `Record`\<`string`, () => `AbstractComponent`\> = `{}`
|
|
24212
24293
|
|
|
24213
|
-
Defined in: [lib/form.ts:
|
|
24294
|
+
Defined in: [lib/form/abstract-component.ts:11](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L11)
|
|
24214
24295
|
|
|
24215
24296
|
当前组件内继续局部注册的应用组件
|
|
24216
24297
|
|
|
@@ -24224,7 +24305,7 @@ Defined in: [lib/form.ts:596](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24224
24305
|
|
|
24225
24306
|
> `readonly` **emits**: `Record`\<`string`, `null` \| ((`payload`) => `boolean`)\> = `{}`
|
|
24226
24307
|
|
|
24227
|
-
Defined in: [lib/form.ts:
|
|
24308
|
+
Defined in: [lib/form/abstract-component.ts:74](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L74)
|
|
24228
24309
|
|
|
24229
24310
|
组件事件,由用户定义重写
|
|
24230
24311
|
|
|
@@ -24234,7 +24315,7 @@ Defined in: [lib/form.ts:659](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24234
24315
|
|
|
24235
24316
|
> `readonly` **packageFiles**: `Record`\<`string`, `Blob` \| `string`\> = `{}`
|
|
24236
24317
|
|
|
24237
|
-
Defined in: [lib/form.ts:
|
|
24318
|
+
Defined in: [lib/form/abstract-component.ts:68](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L68)
|
|
24238
24319
|
|
|
24239
24320
|
组件内部文件,由系统重写
|
|
24240
24321
|
|
|
@@ -24244,7 +24325,7 @@ Defined in: [lib/form.ts:653](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24244
24325
|
|
|
24245
24326
|
> `readonly` **props**: `object` = `{}`
|
|
24246
24327
|
|
|
24247
|
-
Defined in: [lib/form.ts:
|
|
24328
|
+
Defined in: [lib/form/abstract-component.ts:71](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L71)
|
|
24248
24329
|
|
|
24249
24330
|
组件参数,由用户定义重写
|
|
24250
24331
|
|
|
@@ -24254,7 +24335,7 @@ Defined in: [lib/form.ts:656](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24254
24335
|
|
|
24255
24336
|
> `readonly` **slots**: `Record`\<`string`, () => `any`[]\> = `{}`
|
|
24256
24337
|
|
|
24257
|
-
Defined in: [lib/form.ts:
|
|
24338
|
+
Defined in: [lib/form/abstract-component.ts:77](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L77)
|
|
24258
24339
|
|
|
24259
24340
|
组件的子插槽
|
|
24260
24341
|
|
|
@@ -24266,7 +24347,7 @@ Defined in: [lib/form.ts:662](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24266
24347
|
|
|
24267
24348
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
24268
24349
|
|
|
24269
|
-
Defined in: [lib/form.ts:
|
|
24350
|
+
Defined in: [lib/form/abstract-component.ts:58](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L58)
|
|
24270
24351
|
|
|
24271
24352
|
应用组件动态 class 的隔离前缀
|
|
24272
24353
|
|
|
@@ -24286,7 +24367,7 @@ Defined in: [lib/form.ts:643](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24286
24367
|
|
|
24287
24368
|
> **get** **controlName**(): `string`
|
|
24288
24369
|
|
|
24289
|
-
Defined in: [lib/form.ts:
|
|
24370
|
+
Defined in: [lib/form/base.ts:23](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L23)
|
|
24290
24371
|
|
|
24291
24372
|
当前控件的名字
|
|
24292
24373
|
|
|
@@ -24298,7 +24379,7 @@ Defined in: [lib/form.ts:282](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24298
24379
|
|
|
24299
24380
|
> **set** **controlName**(`v`): `void`
|
|
24300
24381
|
|
|
24301
|
-
Defined in: [lib/form.ts:
|
|
24382
|
+
Defined in: [lib/form/base.ts:27](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L27)
|
|
24302
24383
|
|
|
24303
24384
|
##### Parameters
|
|
24304
24385
|
|
|
@@ -24322,7 +24403,7 @@ Defined in: [lib/form.ts:286](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24322
24403
|
|
|
24323
24404
|
> **get** **element**(): `HTMLElement`
|
|
24324
24405
|
|
|
24325
|
-
Defined in: [lib/form.ts:
|
|
24406
|
+
Defined in: [lib/form/base.ts:141](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L141)
|
|
24326
24407
|
|
|
24327
24408
|
获取当前的 HTML DOM
|
|
24328
24409
|
|
|
@@ -24342,7 +24423,7 @@ Defined in: [lib/form.ts:400](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24342
24423
|
|
|
24343
24424
|
> **get** **filename**(): `string`
|
|
24344
24425
|
|
|
24345
|
-
Defined in: [lib/form.ts:
|
|
24426
|
+
Defined in: [lib/form/base.ts:17](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L17)
|
|
24346
24427
|
|
|
24347
24428
|
当前文件在包内的路径
|
|
24348
24429
|
|
|
@@ -24362,7 +24443,7 @@ Defined in: [lib/form.ts:276](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24362
24443
|
|
|
24363
24444
|
> **get** **findex**(): `number`
|
|
24364
24445
|
|
|
24365
|
-
Defined in: [lib/form.ts:
|
|
24446
|
+
Defined in: [lib/form/abstract-component.ts:14](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L14)
|
|
24366
24447
|
|
|
24367
24448
|
当前组件所在窗体的创建序号
|
|
24368
24449
|
|
|
@@ -24378,7 +24459,7 @@ Defined in: [lib/form.ts:599](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24378
24459
|
|
|
24379
24460
|
> **get** **fl**(): (`key`, `data?`) => `string`
|
|
24380
24461
|
|
|
24381
|
-
Defined in: [lib/form.ts:
|
|
24462
|
+
Defined in: [lib/form/abstract-component.ts:48](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L48)
|
|
24382
24463
|
|
|
24383
24464
|
获取宿主窗体语言内容
|
|
24384
24465
|
|
|
@@ -24394,7 +24475,7 @@ Defined in: [lib/form.ts:633](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24394
24475
|
|
|
24395
24476
|
> **get** **formFocus**(): `boolean`
|
|
24396
24477
|
|
|
24397
|
-
Defined in: [lib/form.ts:
|
|
24478
|
+
Defined in: [lib/form/abstract-component.ts:36](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L36)
|
|
24398
24479
|
|
|
24399
24480
|
当前组件是否跟随宿主窗体获得焦点
|
|
24400
24481
|
|
|
@@ -24414,7 +24495,7 @@ Defined in: [lib/form.ts:621](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24414
24495
|
|
|
24415
24496
|
> **get** **formId**(): `string`
|
|
24416
24497
|
|
|
24417
|
-
Defined in: [lib/form.ts:
|
|
24498
|
+
Defined in: [lib/form/base.ts:43](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L43)
|
|
24418
24499
|
|
|
24419
24500
|
当前的窗体 ID
|
|
24420
24501
|
|
|
@@ -24434,7 +24515,7 @@ Defined in: [lib/form.ts:302](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24434
24515
|
|
|
24435
24516
|
> **get** **l**(): (`key`, `data?`) => `string`
|
|
24436
24517
|
|
|
24437
|
-
Defined in: [lib/form.ts:
|
|
24518
|
+
Defined in: [lib/form/abstract-component.ts:41](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L41)
|
|
24438
24519
|
|
|
24439
24520
|
获取宿主 Form/Panel 的语言内容
|
|
24440
24521
|
|
|
@@ -24454,7 +24535,7 @@ Defined in: [lib/form.ts:626](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24454
24535
|
|
|
24455
24536
|
> **get** **locale**(): `string`
|
|
24456
24537
|
|
|
24457
|
-
Defined in: [lib/form.ts:
|
|
24538
|
+
Defined in: [lib/form/base.ts:69](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L69)
|
|
24458
24539
|
|
|
24459
24540
|
当前的语言
|
|
24460
24541
|
|
|
@@ -24474,7 +24555,7 @@ Defined in: [lib/form.ts:328](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24474
24555
|
|
|
24475
24556
|
> **get** **localeDirection**(): `"ltr"` \| `"rtl"`
|
|
24476
24557
|
|
|
24477
|
-
Defined in: [lib/form.ts:
|
|
24558
|
+
Defined in: [lib/form/base.ts:80](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L80)
|
|
24478
24559
|
|
|
24479
24560
|
当前语言的书写方向
|
|
24480
24561
|
|
|
@@ -24494,7 +24575,7 @@ Defined in: [lib/form.ts:339](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24494
24575
|
|
|
24495
24576
|
> **get** **localeTag**(): `string`
|
|
24496
24577
|
|
|
24497
|
-
Defined in: [lib/form.ts:
|
|
24578
|
+
Defined in: [lib/form/base.ts:75](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L75)
|
|
24498
24579
|
|
|
24499
24580
|
当前语言的标准 HTML lang 标签
|
|
24500
24581
|
|
|
@@ -24514,7 +24595,7 @@ Defined in: [lib/form.ts:334](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24514
24595
|
|
|
24515
24596
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
24516
24597
|
|
|
24517
|
-
Defined in: [lib/form.ts:
|
|
24598
|
+
Defined in: [lib/form/base.ts:148](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L148)
|
|
24518
24599
|
|
|
24519
24600
|
等待渲染
|
|
24520
24601
|
|
|
@@ -24534,7 +24615,7 @@ Defined in: [lib/form.ts:407](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24534
24615
|
|
|
24535
24616
|
> **get** **parent**(): `never`
|
|
24536
24617
|
|
|
24537
|
-
Defined in: [lib/form.ts:
|
|
24618
|
+
Defined in: [lib/form/abstract-component.ts:125](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L125)
|
|
24538
24619
|
|
|
24539
24620
|
获取上层控件或组件
|
|
24540
24621
|
|
|
@@ -24550,7 +24631,7 @@ Defined in: [lib/form.ts:710](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24550
24631
|
|
|
24551
24632
|
> **get** **parentByAccess**(): (`name`, `val`) => `Record`\<`string`, `any`\> \| `null`
|
|
24552
24633
|
|
|
24553
|
-
Defined in: [lib/form.ts:
|
|
24634
|
+
Defined in: [lib/form/abstract-component.ts:144](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L144)
|
|
24554
24635
|
|
|
24555
24636
|
根据 access 查询上层对象
|
|
24556
24637
|
|
|
@@ -24566,7 +24647,7 @@ Defined in: [lib/form.ts:729](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24566
24647
|
|
|
24567
24648
|
> **get** **parentByName**(): (`controlName`) => `Record`\<`string`, `any`\> \| `null`
|
|
24568
24649
|
|
|
24569
|
-
Defined in: [lib/form.ts:
|
|
24650
|
+
Defined in: [lib/form/abstract-component.ts:130](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L130)
|
|
24570
24651
|
|
|
24571
24652
|
根据 controlName 查询上层对象
|
|
24572
24653
|
|
|
@@ -24582,7 +24663,7 @@ Defined in: [lib/form.ts:715](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24582
24663
|
|
|
24583
24664
|
> **get** **path**(): `string`
|
|
24584
24665
|
|
|
24585
|
-
Defined in: [lib/form.ts:
|
|
24666
|
+
Defined in: [lib/form/base.ts:57](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L57)
|
|
24586
24667
|
|
|
24587
24668
|
当前文件的包内路径不以 / 结尾
|
|
24588
24669
|
|
|
@@ -24602,7 +24683,7 @@ Defined in: [lib/form.ts:316](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24602
24683
|
|
|
24603
24684
|
> **get** **prep**(): `string`
|
|
24604
24685
|
|
|
24605
|
-
Defined in: [lib/form.ts:
|
|
24686
|
+
Defined in: [lib/form/base.ts:63](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L63)
|
|
24606
24687
|
|
|
24607
24688
|
样式独占前缀
|
|
24608
24689
|
|
|
@@ -24622,7 +24703,7 @@ Defined in: [lib/form.ts:322](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24622
24703
|
|
|
24623
24704
|
> **get** **propArray**(): (`name`) => `any`[]
|
|
24624
24705
|
|
|
24625
|
-
Defined in: [lib/form.ts:
|
|
24706
|
+
Defined in: [lib/form/abstract-component.ts:115](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L115)
|
|
24626
24707
|
|
|
24627
24708
|
获取 props 中的 array 类型值
|
|
24628
24709
|
|
|
@@ -24638,7 +24719,7 @@ Defined in: [lib/form.ts:700](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24638
24719
|
|
|
24639
24720
|
> **get** **propBoolean**(): (`name`) => `boolean`
|
|
24640
24721
|
|
|
24641
|
-
Defined in: [lib/form.ts:
|
|
24722
|
+
Defined in: [lib/form/abstract-component.ts:100](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L100)
|
|
24642
24723
|
|
|
24643
24724
|
获取 props 中的 boolean 类型值
|
|
24644
24725
|
|
|
@@ -24654,7 +24735,7 @@ Defined in: [lib/form.ts:685](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24654
24735
|
|
|
24655
24736
|
> **get** **propInt**(): (`name`) => `number`
|
|
24656
24737
|
|
|
24657
|
-
Defined in: [lib/form.ts:
|
|
24738
|
+
Defined in: [lib/form/abstract-component.ts:110](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L110)
|
|
24658
24739
|
|
|
24659
24740
|
获取 props 中的 int 类型值
|
|
24660
24741
|
|
|
@@ -24670,7 +24751,7 @@ Defined in: [lib/form.ts:695](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24670
24751
|
|
|
24671
24752
|
> **get** **propNumber**(): (`name`) => `number`
|
|
24672
24753
|
|
|
24673
|
-
Defined in: [lib/form.ts:
|
|
24754
|
+
Defined in: [lib/form/abstract-component.ts:105](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L105)
|
|
24674
24755
|
|
|
24675
24756
|
获取 props 中的 number 类型值
|
|
24676
24757
|
|
|
@@ -24686,7 +24767,7 @@ Defined in: [lib/form.ts:690](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24686
24767
|
|
|
24687
24768
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
24688
24769
|
|
|
24689
|
-
Defined in: [lib/form.ts:
|
|
24770
|
+
Defined in: [lib/form/base.ts:136](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L136)
|
|
24690
24771
|
|
|
24691
24772
|
获取 refs 情况
|
|
24692
24773
|
|
|
@@ -24706,7 +24787,7 @@ Defined in: [lib/form.ts:395](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24706
24787
|
|
|
24707
24788
|
> **get** **rootForm**(): [`AbstractForm`](AbstractForm.md) & `Record`\<`string`, `any`\>
|
|
24708
24789
|
|
|
24709
|
-
Defined in: [lib/form.ts:
|
|
24790
|
+
Defined in: [lib/form/abstract-component.ts:21](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L21)
|
|
24710
24791
|
|
|
24711
24792
|
##### Returns
|
|
24712
24793
|
|
|
@@ -24720,7 +24801,7 @@ Defined in: [lib/form.ts:606](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24720
24801
|
|
|
24721
24802
|
> **get** **slotsAll**(): (`name`) => `any`[]
|
|
24722
24803
|
|
|
24723
|
-
Defined in: [lib/form.ts:
|
|
24804
|
+
Defined in: [lib/form/abstract-component.ts:80](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L80)
|
|
24724
24805
|
|
|
24725
24806
|
获取某插槽所有子项
|
|
24726
24807
|
|
|
@@ -24736,7 +24817,7 @@ Defined in: [lib/form.ts:665](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24736
24817
|
|
|
24737
24818
|
> **get** **taskId**(): `string`
|
|
24738
24819
|
|
|
24739
|
-
Defined in: [lib/form.ts:
|
|
24820
|
+
Defined in: [lib/form/base.ts:37](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L37)
|
|
24740
24821
|
|
|
24741
24822
|
当前的任务 ID
|
|
24742
24823
|
|
|
@@ -24754,7 +24835,7 @@ Defined in: [lib/form.ts:296](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24754
24835
|
|
|
24755
24836
|
> **allowEvent**(`e`): `boolean`
|
|
24756
24837
|
|
|
24757
|
-
Defined in: [lib/form.ts:
|
|
24838
|
+
Defined in: [lib/form/base.ts:156](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L156)
|
|
24758
24839
|
|
|
24759
24840
|
判断当前事件可否执行
|
|
24760
24841
|
|
|
@@ -24780,7 +24861,7 @@ Defined in: [lib/form.ts:415](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24780
24861
|
|
|
24781
24862
|
> **emit**(`name`, ...`v`): `void`
|
|
24782
24863
|
|
|
24783
|
-
Defined in: [lib/form.ts:
|
|
24864
|
+
Defined in: [lib/form/abstract-component.ts:120](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L120)
|
|
24784
24865
|
|
|
24785
24866
|
向上触发组件事件
|
|
24786
24867
|
|
|
@@ -24804,7 +24885,7 @@ Defined in: [lib/form.ts:705](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24804
24885
|
|
|
24805
24886
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
24806
24887
|
|
|
24807
|
-
Defined in: [lib/form.ts:
|
|
24888
|
+
Defined in: [lib/form/base.ts:186](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L186)
|
|
24808
24889
|
|
|
24809
24890
|
#### Returns
|
|
24810
24891
|
|
|
@@ -24820,7 +24901,7 @@ Defined in: [lib/form.ts:445](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24820
24901
|
|
|
24821
24902
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
24822
24903
|
|
|
24823
|
-
Defined in: [lib/form.ts:
|
|
24904
|
+
Defined in: [lib/form/base.ts:194](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L194)
|
|
24824
24905
|
|
|
24825
24906
|
#### Returns
|
|
24826
24907
|
|
|
@@ -24836,7 +24917,7 @@ Defined in: [lib/form.ts:453](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24836
24917
|
|
|
24837
24918
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
24838
24919
|
|
|
24839
|
-
Defined in: [lib/form.ts:
|
|
24920
|
+
Defined in: [lib/form/base.ts:206](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L206)
|
|
24840
24921
|
|
|
24841
24922
|
#### Returns
|
|
24842
24923
|
|
|
@@ -24852,7 +24933,7 @@ Defined in: [lib/form.ts:465](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24852
24933
|
|
|
24853
24934
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
24854
24935
|
|
|
24855
|
-
Defined in: [lib/form.ts:
|
|
24936
|
+
Defined in: [lib/form/base.ts:198](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L198)
|
|
24856
24937
|
|
|
24857
24938
|
#### Returns
|
|
24858
24939
|
|
|
@@ -24868,7 +24949,7 @@ Defined in: [lib/form.ts:457](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24868
24949
|
|
|
24869
24950
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
24870
24951
|
|
|
24871
|
-
Defined in: [lib/form.ts:
|
|
24952
|
+
Defined in: [lib/form/base.ts:190](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L190)
|
|
24872
24953
|
|
|
24873
24954
|
#### Returns
|
|
24874
24955
|
|
|
@@ -24884,7 +24965,7 @@ Defined in: [lib/form.ts:449](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24884
24965
|
|
|
24885
24966
|
> **onMounted**(): `void` \| `Promise`\<`void`\>
|
|
24886
24967
|
|
|
24887
|
-
Defined in: [lib/form.ts:
|
|
24968
|
+
Defined in: [lib/form/abstract-component.ts:158](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-component.ts#L158)
|
|
24888
24969
|
|
|
24889
24970
|
组件挂载好后触发
|
|
24890
24971
|
|
|
@@ -24898,7 +24979,7 @@ Defined in: [lib/form.ts:743](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24898
24979
|
|
|
24899
24980
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
24900
24981
|
|
|
24901
|
-
Defined in: [lib/form.ts:
|
|
24982
|
+
Defined in: [lib/form/base.ts:210](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L210)
|
|
24902
24983
|
|
|
24903
24984
|
#### Returns
|
|
24904
24985
|
|
|
@@ -24914,7 +24995,7 @@ Defined in: [lib/form.ts:469](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24914
24995
|
|
|
24915
24996
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
24916
24997
|
|
|
24917
|
-
Defined in: [lib/form.ts:
|
|
24998
|
+
Defined in: [lib/form/base.ts:202](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L202)
|
|
24918
24999
|
|
|
24919
25000
|
#### Returns
|
|
24920
25001
|
|
|
@@ -24930,7 +25011,7 @@ Defined in: [lib/form.ts:461](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24930
25011
|
|
|
24931
25012
|
> **send**(`fid`, `obj`): `void`
|
|
24932
25013
|
|
|
24933
|
-
Defined in: [lib/form.ts:
|
|
25014
|
+
Defined in: [lib/form/base.ts:178](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L178)
|
|
24934
25015
|
|
|
24935
25016
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
24936
25017
|
|
|
@@ -24962,7 +25043,7 @@ formId 要接收对象的 form id
|
|
|
24962
25043
|
|
|
24963
25044
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
24964
25045
|
|
|
24965
|
-
Defined in: [lib/form.ts:
|
|
25046
|
+
Defined in: [lib/form/base.ts:166](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L166)
|
|
24966
25047
|
|
|
24967
25048
|
触发系统方法
|
|
24968
25049
|
|
|
@@ -25000,7 +25081,7 @@ Defined in: [lib/form.ts:425](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25000
25081
|
|
|
25001
25082
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
25002
25083
|
|
|
25003
|
-
Defined in: [lib/form.ts:
|
|
25084
|
+
Defined in: [lib/form/base.ts:122](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L122)
|
|
25004
25085
|
|
|
25005
25086
|
监视变动
|
|
25006
25087
|
|
|
@@ -25063,7 +25144,7 @@ lib/form/classes/AbstractForm.md
|
|
|
25063
25144
|
|
|
25064
25145
|
# Abstract Class: AbstractForm
|
|
25065
25146
|
|
|
25066
|
-
Defined in: [lib/form.ts:
|
|
25147
|
+
Defined in: [lib/form/abstract-form.ts:12](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L12)
|
|
25067
25148
|
|
|
25068
25149
|
窗体的抽象类
|
|
25069
25150
|
|
|
@@ -25091,7 +25172,7 @@ Defined in: [lib/form.ts:963](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25091
25172
|
|
|
25092
25173
|
> `readonly` **components**: `Record`\<`string`, () => [`AbstractComponent`](AbstractComponent.md)\> = `{}`
|
|
25093
25174
|
|
|
25094
|
-
Defined in: [lib/form.ts:
|
|
25175
|
+
Defined in: [lib/form/base.ts:14](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L14)
|
|
25095
25176
|
|
|
25096
25177
|
当前视图内局部注册的应用组件
|
|
25097
25178
|
|
|
@@ -25105,7 +25186,7 @@ Defined in: [lib/form.ts:273](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25105
25186
|
|
|
25106
25187
|
> **dialogResult**: `string` = `''`
|
|
25107
25188
|
|
|
25108
|
-
Defined in: [lib/form.ts:
|
|
25189
|
+
Defined in: [lib/form/abstract-form.ts:322](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L322)
|
|
25109
25190
|
|
|
25110
25191
|
dialog mask 窗体返回值,在 close 之后会进行传导
|
|
25111
25192
|
|
|
@@ -25115,7 +25196,7 @@ dialog mask 窗体返回值,在 close 之后会进行传导
|
|
|
25115
25196
|
|
|
25116
25197
|
> **isNativeNoFrameFirst**: `boolean` = `false`
|
|
25117
25198
|
|
|
25118
|
-
Defined in: [lib/form.ts:
|
|
25199
|
+
Defined in: [lib/form/abstract-form.ts:41](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L41)
|
|
25119
25200
|
|
|
25120
25201
|
是否是 native 下无边框的第一个窗体
|
|
25121
25202
|
|
|
@@ -25125,7 +25206,7 @@ Defined in: [lib/form.ts:992](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25125
25206
|
|
|
25126
25207
|
> **isReady**: `boolean` = `false`
|
|
25127
25208
|
|
|
25128
|
-
Defined in: [lib/form.ts:
|
|
25209
|
+
Defined in: [lib/form/abstract-form.ts:38](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L38)
|
|
25129
25210
|
|
|
25130
25211
|
当前是否完全创建完毕
|
|
25131
25212
|
|
|
@@ -25135,7 +25216,7 @@ Defined in: [lib/form.ts:989](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25135
25216
|
|
|
25136
25217
|
> **lockLoading**: `boolean` = `false`
|
|
25137
25218
|
|
|
25138
|
-
Defined in: [lib/form.ts:
|
|
25219
|
+
Defined in: [lib/form/abstract-form.ts:193](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L193)
|
|
25139
25220
|
|
|
25140
25221
|
是否阻止任何人修改 loading
|
|
25141
25222
|
|
|
@@ -25147,7 +25228,7 @@ Defined in: [lib/form.ts:1144](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25147
25228
|
|
|
25148
25229
|
> **get** **bottomMost**(): `boolean`
|
|
25149
25230
|
|
|
25150
|
-
Defined in: [lib/form.ts:
|
|
25231
|
+
Defined in: [lib/form/abstract-form.ts:78](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L78)
|
|
25151
25232
|
|
|
25152
25233
|
是否是置底
|
|
25153
25234
|
|
|
@@ -25159,7 +25240,7 @@ Defined in: [lib/form.ts:1029](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25159
25240
|
|
|
25160
25241
|
> **set** **bottomMost**(`v`): `void`
|
|
25161
25242
|
|
|
25162
|
-
Defined in: [lib/form.ts:
|
|
25243
|
+
Defined in: [lib/form/abstract-form.ts:83](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L83)
|
|
25163
25244
|
|
|
25164
25245
|
##### Parameters
|
|
25165
25246
|
|
|
@@ -25179,7 +25260,7 @@ Defined in: [lib/form.ts:1034](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25179
25260
|
|
|
25180
25261
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
25181
25262
|
|
|
25182
|
-
Defined in: [lib/form.ts:
|
|
25263
|
+
Defined in: [lib/form/base.ts:106](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L106)
|
|
25183
25264
|
|
|
25184
25265
|
layout 中 :class 的转义
|
|
25185
25266
|
|
|
@@ -25199,7 +25280,7 @@ layout 中 :class 的转义
|
|
|
25199
25280
|
|
|
25200
25281
|
> **get** **controlName**(): `string`
|
|
25201
25282
|
|
|
25202
|
-
Defined in: [lib/form.ts:
|
|
25283
|
+
Defined in: [lib/form/base.ts:23](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L23)
|
|
25203
25284
|
|
|
25204
25285
|
当前控件的名字
|
|
25205
25286
|
|
|
@@ -25211,7 +25292,7 @@ Defined in: [lib/form.ts:282](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25211
25292
|
|
|
25212
25293
|
> **set** **controlName**(`v`): `void`
|
|
25213
25294
|
|
|
25214
|
-
Defined in: [lib/form.ts:
|
|
25295
|
+
Defined in: [lib/form/base.ts:27](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L27)
|
|
25215
25296
|
|
|
25216
25297
|
##### Parameters
|
|
25217
25298
|
|
|
@@ -25235,7 +25316,7 @@ Defined in: [lib/form.ts:286](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25235
25316
|
|
|
25236
25317
|
> **get** **element**(): `HTMLElement`
|
|
25237
25318
|
|
|
25238
|
-
Defined in: [lib/form.ts:
|
|
25319
|
+
Defined in: [lib/form/base.ts:141](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L141)
|
|
25239
25320
|
|
|
25240
25321
|
获取当前的 HTML DOM
|
|
25241
25322
|
|
|
@@ -25255,7 +25336,7 @@ Defined in: [lib/form.ts:400](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25255
25336
|
|
|
25256
25337
|
> **get** **filename**(): `string`
|
|
25257
25338
|
|
|
25258
|
-
Defined in: [lib/form.ts:
|
|
25339
|
+
Defined in: [lib/form/base.ts:17](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L17)
|
|
25259
25340
|
|
|
25260
25341
|
当前文件在包内的路径
|
|
25261
25342
|
|
|
@@ -25275,7 +25356,7 @@ Defined in: [lib/form.ts:276](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25275
25356
|
|
|
25276
25357
|
> **get** **findex**(): `number`
|
|
25277
25358
|
|
|
25278
|
-
Defined in: [lib/form.ts:
|
|
25359
|
+
Defined in: [lib/form/abstract-form.ts:44](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L44)
|
|
25279
25360
|
|
|
25280
25361
|
当前的窗体创建的位数
|
|
25281
25362
|
|
|
@@ -25291,7 +25372,7 @@ Defined in: [lib/form.ts:995](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25291
25372
|
|
|
25292
25373
|
> **get** **formFocus**(): `boolean`
|
|
25293
25374
|
|
|
25294
|
-
Defined in: [lib/form.ts:
|
|
25375
|
+
Defined in: [lib/form/abstract-form.ts:108](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L108)
|
|
25295
25376
|
|
|
25296
25377
|
当前窗体是否是焦点
|
|
25297
25378
|
|
|
@@ -25311,7 +25392,7 @@ Defined in: [lib/form.ts:1059](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25311
25392
|
|
|
25312
25393
|
> **get** **formHash**(): `string`
|
|
25313
25394
|
|
|
25314
|
-
Defined in: [lib/form.ts:
|
|
25395
|
+
Defined in: [lib/form/abstract-form.ts:50](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L50)
|
|
25315
25396
|
|
|
25316
25397
|
获取 form 的 hash 值,不是浏览器的 hash
|
|
25317
25398
|
|
|
@@ -25323,7 +25404,7 @@ Defined in: [lib/form.ts:1001](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25323
25404
|
|
|
25324
25405
|
> **set** **formHash**(`v`): `void`
|
|
25325
25406
|
|
|
25326
|
-
Defined in: [lib/form.ts:
|
|
25407
|
+
Defined in: [lib/form/abstract-form.ts:54](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L54)
|
|
25327
25408
|
|
|
25328
25409
|
##### Parameters
|
|
25329
25410
|
|
|
@@ -25343,7 +25424,7 @@ Defined in: [lib/form.ts:1005](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25343
25424
|
|
|
25344
25425
|
> **get** **formHashData**(): `Record`\<`string`, `any`\>
|
|
25345
25426
|
|
|
25346
|
-
Defined in: [lib/form.ts:
|
|
25427
|
+
Defined in: [lib/form/abstract-form.ts:59](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L59)
|
|
25347
25428
|
|
|
25348
25429
|
获取 form 的 formhash with data 值
|
|
25349
25430
|
|
|
@@ -25355,7 +25436,7 @@ Defined in: [lib/form.ts:1010](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25355
25436
|
|
|
25356
25437
|
> **set** **formHashData**(`v`): `void`
|
|
25357
25438
|
|
|
25358
|
-
Defined in: [lib/form.ts:
|
|
25439
|
+
Defined in: [lib/form/abstract-form.ts:63](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L63)
|
|
25359
25440
|
|
|
25360
25441
|
##### Parameters
|
|
25361
25442
|
|
|
@@ -25375,7 +25456,7 @@ Defined in: [lib/form.ts:1014](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25375
25456
|
|
|
25376
25457
|
> **get** **formId**(): `string`
|
|
25377
25458
|
|
|
25378
|
-
Defined in: [lib/form.ts:
|
|
25459
|
+
Defined in: [lib/form/base.ts:43](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L43)
|
|
25379
25460
|
|
|
25380
25461
|
当前的窗体 ID
|
|
25381
25462
|
|
|
@@ -25395,7 +25476,7 @@ Defined in: [lib/form.ts:302](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25395
25476
|
|
|
25396
25477
|
> **get** **inStep**(): `boolean`
|
|
25397
25478
|
|
|
25398
|
-
Defined in: [lib/form.ts:
|
|
25479
|
+
Defined in: [lib/form/abstract-form.ts:200](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L200)
|
|
25399
25480
|
|
|
25400
25481
|
当前是否在 step 环节中
|
|
25401
25482
|
|
|
@@ -25411,7 +25492,7 @@ Defined in: [lib/form.ts:1151](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25411
25492
|
|
|
25412
25493
|
> **get** **isMask**(): `boolean`
|
|
25413
25494
|
|
|
25414
|
-
Defined in: [lib/form.ts:
|
|
25495
|
+
Defined in: [lib/form/abstract-form.ts:90](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L90)
|
|
25415
25496
|
|
|
25416
25497
|
是否在本窗体上显示遮罩层
|
|
25417
25498
|
|
|
@@ -25427,7 +25508,7 @@ Defined in: [lib/form.ts:1041](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25427
25508
|
|
|
25428
25509
|
> **get** **l**(): (`key`, `data?`, `origin?`) => `string`
|
|
25429
25510
|
|
|
25430
|
-
Defined in: [lib/form.ts:
|
|
25511
|
+
Defined in: [lib/form/base.ts:87](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L87)
|
|
25431
25512
|
|
|
25432
25513
|
获取语言内容
|
|
25433
25514
|
|
|
@@ -25447,7 +25528,7 @@ Defined in: [lib/form.ts:346](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25447
25528
|
|
|
25448
25529
|
> **get** **loading**(): `boolean`
|
|
25449
25530
|
|
|
25450
|
-
Defined in: [lib/form.ts:
|
|
25531
|
+
Defined in: [lib/form/abstract-form.ts:181](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L181)
|
|
25451
25532
|
|
|
25452
25533
|
覆盖整个窗体的 loading
|
|
25453
25534
|
|
|
@@ -25459,7 +25540,7 @@ Defined in: [lib/form.ts:1132](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25459
25540
|
|
|
25460
25541
|
> **set** **loading**(`val`): `void`
|
|
25461
25542
|
|
|
25462
|
-
Defined in: [lib/form.ts:
|
|
25543
|
+
Defined in: [lib/form/abstract-form.ts:185](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L185)
|
|
25463
25544
|
|
|
25464
25545
|
##### Parameters
|
|
25465
25546
|
|
|
@@ -25479,7 +25560,7 @@ Defined in: [lib/form.ts:1136](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25479
25560
|
|
|
25480
25561
|
> **get** **locale**(): `string`
|
|
25481
25562
|
|
|
25482
|
-
Defined in: [lib/form.ts:
|
|
25563
|
+
Defined in: [lib/form/base.ts:69](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L69)
|
|
25483
25564
|
|
|
25484
25565
|
当前的语言
|
|
25485
25566
|
|
|
@@ -25499,7 +25580,7 @@ Defined in: [lib/form.ts:328](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25499
25580
|
|
|
25500
25581
|
> **get** **localeDirection**(): `"ltr"` \| `"rtl"`
|
|
25501
25582
|
|
|
25502
|
-
Defined in: [lib/form.ts:
|
|
25583
|
+
Defined in: [lib/form/base.ts:80](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L80)
|
|
25503
25584
|
|
|
25504
25585
|
当前语言的书写方向
|
|
25505
25586
|
|
|
@@ -25519,7 +25600,7 @@ Defined in: [lib/form.ts:339](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25519
25600
|
|
|
25520
25601
|
> **get** **localeTag**(): `string`
|
|
25521
25602
|
|
|
25522
|
-
Defined in: [lib/form.ts:
|
|
25603
|
+
Defined in: [lib/form/base.ts:75](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L75)
|
|
25523
25604
|
|
|
25524
25605
|
当前语言的标准 HTML lang 标签
|
|
25525
25606
|
|
|
@@ -25539,7 +25620,7 @@ Defined in: [lib/form.ts:334](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25539
25620
|
|
|
25540
25621
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
25541
25622
|
|
|
25542
|
-
Defined in: [lib/form.ts:
|
|
25623
|
+
Defined in: [lib/form/base.ts:148](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L148)
|
|
25543
25624
|
|
|
25544
25625
|
等待渲染
|
|
25545
25626
|
|
|
@@ -25559,7 +25640,7 @@ Defined in: [lib/form.ts:407](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25559
25640
|
|
|
25560
25641
|
> **get** **path**(): `string`
|
|
25561
25642
|
|
|
25562
|
-
Defined in: [lib/form.ts:
|
|
25643
|
+
Defined in: [lib/form/base.ts:57](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L57)
|
|
25563
25644
|
|
|
25564
25645
|
当前文件的包内路径不以 / 结尾
|
|
25565
25646
|
|
|
@@ -25579,7 +25660,7 @@ Defined in: [lib/form.ts:316](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25579
25660
|
|
|
25580
25661
|
> **get** **prep**(): `string`
|
|
25581
25662
|
|
|
25582
|
-
Defined in: [lib/form.ts:
|
|
25663
|
+
Defined in: [lib/form/base.ts:63](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L63)
|
|
25583
25664
|
|
|
25584
25665
|
样式独占前缀
|
|
25585
25666
|
|
|
@@ -25599,7 +25680,7 @@ Defined in: [lib/form.ts:322](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25599
25680
|
|
|
25600
25681
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
25601
25682
|
|
|
25602
|
-
Defined in: [lib/form.ts:
|
|
25683
|
+
Defined in: [lib/form/base.ts:136](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L136)
|
|
25603
25684
|
|
|
25604
25685
|
获取 refs 情况
|
|
25605
25686
|
|
|
@@ -25619,7 +25700,7 @@ Defined in: [lib/form.ts:395](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25619
25700
|
|
|
25620
25701
|
> **get** **showInSystemTask**(): `boolean`
|
|
25621
25702
|
|
|
25622
|
-
Defined in: [lib/form.ts:
|
|
25703
|
+
Defined in: [lib/form/abstract-form.ts:114](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L114)
|
|
25623
25704
|
|
|
25624
25705
|
当前窗体是否显示在任务栏
|
|
25625
25706
|
|
|
@@ -25631,7 +25712,7 @@ Defined in: [lib/form.ts:1065](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25631
25712
|
|
|
25632
25713
|
> **set** **showInSystemTask**(`v`): `void`
|
|
25633
25714
|
|
|
25634
|
-
Defined in: [lib/form.ts:
|
|
25715
|
+
Defined in: [lib/form/abstract-form.ts:119](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L119)
|
|
25635
25716
|
|
|
25636
25717
|
##### Parameters
|
|
25637
25718
|
|
|
@@ -25651,7 +25732,7 @@ Defined in: [lib/form.ts:1070](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25651
25732
|
|
|
25652
25733
|
> **get** **taskId**(): `string`
|
|
25653
25734
|
|
|
25654
|
-
Defined in: [lib/form.ts:
|
|
25735
|
+
Defined in: [lib/form/base.ts:37](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L37)
|
|
25655
25736
|
|
|
25656
25737
|
当前的任务 ID
|
|
25657
25738
|
|
|
@@ -25671,7 +25752,7 @@ Defined in: [lib/form.ts:296](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25671
25752
|
|
|
25672
25753
|
> **get** **topMost**(): `boolean`
|
|
25673
25754
|
|
|
25674
|
-
Defined in: [lib/form.ts:
|
|
25755
|
+
Defined in: [lib/form/abstract-form.ts:68](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L68)
|
|
25675
25756
|
|
|
25676
25757
|
是否是置顶
|
|
25677
25758
|
|
|
@@ -25683,7 +25764,7 @@ Defined in: [lib/form.ts:1019](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25683
25764
|
|
|
25684
25765
|
> **set** **topMost**(`v`): `void`
|
|
25685
25766
|
|
|
25686
|
-
Defined in: [lib/form.ts:
|
|
25767
|
+
Defined in: [lib/form/abstract-form.ts:73](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L73)
|
|
25687
25768
|
|
|
25688
25769
|
##### Parameters
|
|
25689
25770
|
|
|
@@ -25701,7 +25782,7 @@ Defined in: [lib/form.ts:1024](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25701
25782
|
|
|
25702
25783
|
> **allowEvent**(`e`): `boolean`
|
|
25703
25784
|
|
|
25704
|
-
Defined in: [lib/form.ts:
|
|
25785
|
+
Defined in: [lib/form/base.ts:156](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L156)
|
|
25705
25786
|
|
|
25706
25787
|
判断当前事件可否执行
|
|
25707
25788
|
|
|
@@ -25727,7 +25808,7 @@ Defined in: [lib/form.ts:415](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25727
25808
|
|
|
25728
25809
|
> **close**(): `void`
|
|
25729
25810
|
|
|
25730
|
-
Defined in: [lib/form.ts:
|
|
25811
|
+
Defined in: [lib/form/abstract-form.ts:315](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L315)
|
|
25731
25812
|
|
|
25732
25813
|
关闭当前窗体
|
|
25733
25814
|
|
|
@@ -25741,7 +25822,7 @@ Defined in: [lib/form.ts:1266](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25741
25822
|
|
|
25742
25823
|
> **doneStep**(): `Promise`\<`void`\>
|
|
25743
25824
|
|
|
25744
|
-
Defined in: [lib/form.ts:
|
|
25825
|
+
Defined in: [lib/form/abstract-form.ts:247](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L247)
|
|
25745
25826
|
|
|
25746
25827
|
完成当前步骤条
|
|
25747
25828
|
|
|
@@ -25755,7 +25836,7 @@ Defined in: [lib/form.ts:1198](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25755
25836
|
|
|
25756
25837
|
> **enterStep**(`list`): `Promise`\<`boolean`\>
|
|
25757
25838
|
|
|
25758
|
-
Defined in: [lib/form.ts:
|
|
25839
|
+
Defined in: [lib/form/abstract-form.ts:208](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L208)
|
|
25759
25840
|
|
|
25760
25841
|
进入 form hash 为源的步进条
|
|
25761
25842
|
|
|
@@ -25775,7 +25856,7 @@ Defined in: [lib/form.ts:1159](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25775
25856
|
|
|
25776
25857
|
> **formHashBack**(): `Promise`\<`void`\>
|
|
25777
25858
|
|
|
25778
|
-
Defined in: [lib/form.ts:
|
|
25859
|
+
Defined in: [lib/form/abstract-form.ts:130](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L130)
|
|
25779
25860
|
|
|
25780
25861
|
form hash 回退
|
|
25781
25862
|
|
|
@@ -25789,7 +25870,7 @@ form hash 回退
|
|
|
25789
25870
|
|
|
25790
25871
|
> **hide**(): `void`
|
|
25791
25872
|
|
|
25792
|
-
Defined in: [lib/form.ts:
|
|
25873
|
+
Defined in: [lib/form/abstract-form.ts:307](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L307)
|
|
25793
25874
|
|
|
25794
25875
|
让窗体隐藏
|
|
25795
25876
|
|
|
@@ -25803,7 +25884,7 @@ Defined in: [lib/form.ts:1258](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25803
25884
|
|
|
25804
25885
|
> **onActiveChanged**(`active`): `void` \| `Promise`\<`void`\>
|
|
25805
25886
|
|
|
25806
|
-
Defined in: [lib/form.ts:
|
|
25887
|
+
Defined in: [lib/form/abstract-form.ts:342](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L342)
|
|
25807
25888
|
|
|
25808
25889
|
宿主活跃状态改变时广播;初始化不通知,内部切换 Form 不触发
|
|
25809
25890
|
|
|
@@ -25827,7 +25908,7 @@ Defined in: [lib/form.ts:1293](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25827
25908
|
|
|
25828
25909
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
25829
25910
|
|
|
25830
|
-
Defined in: [lib/form.ts:
|
|
25911
|
+
Defined in: [lib/form/base.ts:186](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L186)
|
|
25831
25912
|
|
|
25832
25913
|
#### Returns
|
|
25833
25914
|
|
|
@@ -25843,7 +25924,7 @@ Defined in: [lib/form.ts:445](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25843
25924
|
|
|
25844
25925
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
25845
25926
|
|
|
25846
|
-
Defined in: [lib/form.ts:
|
|
25927
|
+
Defined in: [lib/form/base.ts:194](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L194)
|
|
25847
25928
|
|
|
25848
25929
|
#### Returns
|
|
25849
25930
|
|
|
@@ -25859,7 +25940,7 @@ Defined in: [lib/form.ts:453](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25859
25940
|
|
|
25860
25941
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
25861
25942
|
|
|
25862
|
-
Defined in: [lib/form.ts:
|
|
25943
|
+
Defined in: [lib/form/base.ts:206](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L206)
|
|
25863
25944
|
|
|
25864
25945
|
#### Returns
|
|
25865
25946
|
|
|
@@ -25875,7 +25956,7 @@ Defined in: [lib/form.ts:465](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25875
25956
|
|
|
25876
25957
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
25877
25958
|
|
|
25878
|
-
Defined in: [lib/form.ts:
|
|
25959
|
+
Defined in: [lib/form/base.ts:198](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L198)
|
|
25879
25960
|
|
|
25880
25961
|
#### Returns
|
|
25881
25962
|
|
|
@@ -25891,7 +25972,7 @@ Defined in: [lib/form.ts:457](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25891
25972
|
|
|
25892
25973
|
> **onConfigChanged**\<`T`\>(`n`, `v`): `void`
|
|
25893
25974
|
|
|
25894
|
-
Defined in: [lib/form.ts:
|
|
25975
|
+
Defined in: [lib/form/abstract-form.ts:354](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L354)
|
|
25895
25976
|
|
|
25896
25977
|
系统配置变更事件
|
|
25897
25978
|
|
|
@@ -25921,7 +26002,7 @@ keyof [`IConfig`](../../core/interfaces/IConfig.md)
|
|
|
25921
26002
|
|
|
25922
26003
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
25923
26004
|
|
|
25924
|
-
Defined in: [lib/form.ts:
|
|
26005
|
+
Defined in: [lib/form/base.ts:190](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L190)
|
|
25925
26006
|
|
|
25926
26007
|
#### Returns
|
|
25927
26008
|
|
|
@@ -25937,7 +26018,7 @@ Defined in: [lib/form.ts:449](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25937
26018
|
|
|
25938
26019
|
> **onFormBlurred**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
25939
26020
|
|
|
25940
|
-
Defined in: [lib/form.ts:
|
|
26021
|
+
Defined in: [lib/form/abstract-form.ts:410](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L410)
|
|
25941
26022
|
|
|
25942
26023
|
窗体丢失焦点事件
|
|
25943
26024
|
|
|
@@ -25961,7 +26042,7 @@ Defined in: [lib/form.ts:1361](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25961
26042
|
|
|
25962
26043
|
> **onFormCreated**(`taskId`, `formId`, `title`, `icon`, `showInSystemTask`): `void` \| `Promise`\<`void`\>
|
|
25963
26044
|
|
|
25964
|
-
Defined in: [lib/form.ts:
|
|
26045
|
+
Defined in: [lib/form/abstract-form.ts:360](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L360)
|
|
25965
26046
|
|
|
25966
26047
|
窗体创建事件
|
|
25967
26048
|
|
|
@@ -25997,7 +26078,7 @@ Defined in: [lib/form.ts:1311](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25997
26078
|
|
|
25998
26079
|
> **onFormFlash**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
25999
26080
|
|
|
26000
|
-
Defined in: [lib/form.ts:
|
|
26081
|
+
Defined in: [lib/form/abstract-form.ts:416](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L416)
|
|
26001
26082
|
|
|
26002
26083
|
窗体闪烁事件
|
|
26003
26084
|
|
|
@@ -26021,7 +26102,7 @@ Defined in: [lib/form.ts:1367](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26021
26102
|
|
|
26022
26103
|
> **onFormFocused**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
26023
26104
|
|
|
26024
|
-
Defined in: [lib/form.ts:
|
|
26105
|
+
Defined in: [lib/form/abstract-form.ts:404](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L404)
|
|
26025
26106
|
|
|
26026
26107
|
窗体获得焦点事件
|
|
26027
26108
|
|
|
@@ -26045,7 +26126,7 @@ Defined in: [lib/form.ts:1355](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26045
26126
|
|
|
26046
26127
|
> **onFormHashChange**(`taskId`, `formId`, `value`, `data`): `void` \| `Promise`\<`void`\>
|
|
26047
26128
|
|
|
26048
|
-
Defined in: [lib/form.ts:
|
|
26129
|
+
Defined in: [lib/form/abstract-form.ts:428](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L428)
|
|
26049
26130
|
|
|
26050
26131
|
窗体的 formHash 改变事件
|
|
26051
26132
|
|
|
@@ -26077,7 +26158,7 @@ Defined in: [lib/form.ts:1379](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26077
26158
|
|
|
26078
26159
|
> **onFormIconChanged**(`taskId`, `formId`, `icon`): `void` \| `Promise`\<`void`\>
|
|
26079
26160
|
|
|
26080
|
-
Defined in: [lib/form.ts:
|
|
26161
|
+
Defined in: [lib/form/abstract-form.ts:380](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L380)
|
|
26081
26162
|
|
|
26082
26163
|
窗体图标改变事件
|
|
26083
26164
|
|
|
@@ -26105,7 +26186,7 @@ Defined in: [lib/form.ts:1331](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26105
26186
|
|
|
26106
26187
|
> **onFormRemoved**(`taskId`, `formId`, `title`, `icon`): `void` \| `Promise`\<`void`\>
|
|
26107
26188
|
|
|
26108
|
-
Defined in: [lib/form.ts:
|
|
26189
|
+
Defined in: [lib/form/abstract-form.ts:368](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L368)
|
|
26109
26190
|
|
|
26110
26191
|
窗体销毁事件
|
|
26111
26192
|
|
|
@@ -26137,7 +26218,7 @@ Defined in: [lib/form.ts:1319](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26137
26218
|
|
|
26138
26219
|
> **onFormShowChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
26139
26220
|
|
|
26140
|
-
Defined in: [lib/form.ts:
|
|
26221
|
+
Defined in: [lib/form/abstract-form.ts:398](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L398)
|
|
26141
26222
|
|
|
26142
26223
|
窗体显示状态改变事件
|
|
26143
26224
|
|
|
@@ -26165,7 +26246,7 @@ Defined in: [lib/form.ts:1349](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26165
26246
|
|
|
26166
26247
|
> **onFormShowInSystemTaskChange**(`taskId`, `formId`, `value`): `void` \| `Promise`\<`void`\>
|
|
26167
26248
|
|
|
26168
|
-
Defined in: [lib/form.ts:
|
|
26249
|
+
Defined in: [lib/form/abstract-form.ts:422](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L422)
|
|
26169
26250
|
|
|
26170
26251
|
窗体是否显示在任务栏属性改变事件
|
|
26171
26252
|
|
|
@@ -26193,7 +26274,7 @@ Defined in: [lib/form.ts:1373](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26193
26274
|
|
|
26194
26275
|
> **onFormStateMaxChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
26195
26276
|
|
|
26196
|
-
Defined in: [lib/form.ts:
|
|
26277
|
+
Defined in: [lib/form/abstract-form.ts:392](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L392)
|
|
26197
26278
|
|
|
26198
26279
|
窗体最大化状态改变事件
|
|
26199
26280
|
|
|
@@ -26221,7 +26302,7 @@ Defined in: [lib/form.ts:1343](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26221
26302
|
|
|
26222
26303
|
> **onFormStateMinChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
26223
26304
|
|
|
26224
|
-
Defined in: [lib/form.ts:
|
|
26305
|
+
Defined in: [lib/form/abstract-form.ts:386](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L386)
|
|
26225
26306
|
|
|
26226
26307
|
窗体最小化状态改变事件
|
|
26227
26308
|
|
|
@@ -26249,7 +26330,7 @@ Defined in: [lib/form.ts:1337](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26249
26330
|
|
|
26250
26331
|
> **onFormTitleChanged**(`taskId`, `formId`, `title`): `void` \| `Promise`\<`void`\>
|
|
26251
26332
|
|
|
26252
|
-
Defined in: [lib/form.ts:
|
|
26333
|
+
Defined in: [lib/form/abstract-form.ts:374](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L374)
|
|
26253
26334
|
|
|
26254
26335
|
窗体标题改变事件
|
|
26255
26336
|
|
|
@@ -26277,7 +26358,7 @@ Defined in: [lib/form.ts:1325](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26277
26358
|
|
|
26278
26359
|
> **onHashChanged**(`hash`): `void` \| `Promise`\<`void`\>
|
|
26279
26360
|
|
|
26280
|
-
Defined in: [lib/form.ts:
|
|
26361
|
+
Defined in: [lib/form/abstract-form.ts:528](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L528)
|
|
26281
26362
|
|
|
26282
26363
|
location hash 改变事件
|
|
26283
26364
|
|
|
@@ -26297,7 +26378,7 @@ location hash 改变事件
|
|
|
26297
26378
|
|
|
26298
26379
|
> **onKeydown**(`e`): `void` \| `Promise`\<`void`\>
|
|
26299
26380
|
|
|
26300
|
-
Defined in: [lib/form.ts:
|
|
26381
|
+
Defined in: [lib/form/abstract-form.ts:534](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L534)
|
|
26301
26382
|
|
|
26302
26383
|
键盘按下事件
|
|
26303
26384
|
|
|
@@ -26317,7 +26398,7 @@ Defined in: [lib/form.ts:1485](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26317
26398
|
|
|
26318
26399
|
> **onKeyup**(`e`): `void` \| `Promise`\<`void`\>
|
|
26319
26400
|
|
|
26320
|
-
Defined in: [lib/form.ts:
|
|
26401
|
+
Defined in: [lib/form/abstract-form.ts:540](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L540)
|
|
26321
26402
|
|
|
26322
26403
|
键盘弹起事件
|
|
26323
26404
|
|
|
@@ -26337,7 +26418,7 @@ Defined in: [lib/form.ts:1491](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26337
26418
|
|
|
26338
26419
|
> **onLauncherFolderNameChanged**(`id`, `name`): `void` \| `Promise`\<`void`\>
|
|
26339
26420
|
|
|
26340
|
-
Defined in: [lib/form.ts:
|
|
26421
|
+
Defined in: [lib/form/abstract-form.ts:522](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L522)
|
|
26341
26422
|
|
|
26342
26423
|
launcher 文件夹名称修改事件
|
|
26343
26424
|
|
|
@@ -26361,7 +26442,7 @@ launcher 文件夹名称修改事件
|
|
|
26361
26442
|
|
|
26362
26443
|
> **onLauncherShowChanged**(`state`): `void` \| `Promise`\<`void`\>
|
|
26363
26444
|
|
|
26364
|
-
Defined in: [lib/form.ts:
|
|
26445
|
+
Defined in: [lib/form/abstract-form.ts:516](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L516)
|
|
26365
26446
|
|
|
26366
26447
|
Launcher 显示状态改变事件
|
|
26367
26448
|
|
|
@@ -26385,7 +26466,7 @@ Launcher 显示状态改变事件
|
|
|
26385
26466
|
|
|
26386
26467
|
> **onMounted**(`data`): `void` \| `Promise`\<`void`\>
|
|
26387
26468
|
|
|
26388
|
-
Defined in: [lib/form.ts:
|
|
26469
|
+
Defined in: [lib/form/abstract-form.ts:326](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L326)
|
|
26389
26470
|
|
|
26390
26471
|
#### Parameters
|
|
26391
26472
|
|
|
@@ -26403,7 +26484,7 @@ Defined in: [lib/form.ts:1277](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26403
26484
|
|
|
26404
26485
|
> **onNativeLaunch**(`event`): `void` \| `Promise`\<`void`\>
|
|
26405
26486
|
|
|
26406
|
-
Defined in: [lib/form.ts:
|
|
26487
|
+
Defined in: [lib/form/abstract-form.ts:19](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L19)
|
|
26407
26488
|
|
|
26408
26489
|
Native 普通启动及再次启动事件;网页不触发,App/Form 要求 root
|
|
26409
26490
|
|
|
@@ -26427,7 +26508,7 @@ Native 普通启动及再次启动事件;网页不触发,App/Form 要求 roo
|
|
|
26427
26508
|
|
|
26428
26509
|
> **onNativeOpenFiles**(`paths`, `info`): `void` \| `Promise`\<`void`\>
|
|
26429
26510
|
|
|
26430
|
-
Defined in: [lib/form.ts:
|
|
26511
|
+
Defined in: [lib/form/abstract-form.ts:30](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L30)
|
|
26431
26512
|
|
|
26432
26513
|
Native 文件打开全局事件,要求宿主启用 openFiles;App/Form 要求 root
|
|
26433
26514
|
|
|
@@ -26457,7 +26538,7 @@ startup、second-instance、association 或 drop 来源及请求 ID
|
|
|
26457
26538
|
|
|
26458
26539
|
> **onReceive**(`data`): `void` \| `Promise`\<`void`\>
|
|
26459
26540
|
|
|
26460
|
-
Defined in: [lib/form.ts:
|
|
26541
|
+
Defined in: [lib/form/abstract-form.ts:332](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L332)
|
|
26461
26542
|
|
|
26462
26543
|
接收 send 传递过来的 data 数据
|
|
26463
26544
|
|
|
@@ -26477,7 +26558,7 @@ Defined in: [lib/form.ts:1283](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26477
26558
|
|
|
26478
26559
|
> **onScreenResize**(): `void` \| `Promise`\<`void`\>
|
|
26479
26560
|
|
|
26480
|
-
Defined in: [lib/form.ts:
|
|
26561
|
+
Defined in: [lib/form/abstract-form.ts:348](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L348)
|
|
26481
26562
|
|
|
26482
26563
|
屏幕大小改变事件
|
|
26483
26564
|
|
|
@@ -26491,7 +26572,7 @@ Defined in: [lib/form.ts:1299](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26491
26572
|
|
|
26492
26573
|
> **onTaskEnded**(`taskId`): `void` \| `Promise`\<`void`\>
|
|
26493
26574
|
|
|
26494
|
-
Defined in: [lib/form.ts:
|
|
26575
|
+
Defined in: [lib/form/abstract-form.ts:496](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L496)
|
|
26495
26576
|
|
|
26496
26577
|
任务结束事件
|
|
26497
26578
|
|
|
@@ -26511,7 +26592,7 @@ Defined in: [lib/form.ts:1447](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26511
26592
|
|
|
26512
26593
|
> **onTaskStarted**(`taskId`): `void` \| `Promise`\<`void`\>
|
|
26513
26594
|
|
|
26514
|
-
Defined in: [lib/form.ts:
|
|
26595
|
+
Defined in: [lib/form/abstract-form.ts:490](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L490)
|
|
26515
26596
|
|
|
26516
26597
|
任务开始事件
|
|
26517
26598
|
|
|
@@ -26531,7 +26612,7 @@ Defined in: [lib/form.ts:1441](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26531
26612
|
|
|
26532
26613
|
> **onTrayChanged**(`taskId`, `trayId`): `void` \| `Promise`\<`void`\>
|
|
26533
26614
|
|
|
26534
|
-
Defined in: [lib/form.ts:
|
|
26615
|
+
Defined in: [lib/form/abstract-form.ts:452](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L452)
|
|
26535
26616
|
|
|
26536
26617
|
托盘数据变更通知
|
|
26537
26618
|
|
|
@@ -26561,7 +26642,7 @@ Defined in: [lib/form.ts:1403](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26561
26642
|
|
|
26562
26643
|
> **onTrayClick**(`trayId`): `void` \| `Promise`\<`void`\>
|
|
26563
26644
|
|
|
26564
|
-
Defined in: [lib/form.ts:
|
|
26645
|
+
Defined in: [lib/form/abstract-form.ts:473](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L473)
|
|
26565
26646
|
|
|
26566
26647
|
自己的托盘左键点击,只投递到所属任务
|
|
26567
26648
|
|
|
@@ -26585,7 +26666,7 @@ Defined in: [lib/form.ts:1424](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26585
26666
|
|
|
26586
26667
|
> **onTrayCreated**(`taskId`, `trayId`): `void` \| `Promise`\<`void`\>
|
|
26587
26668
|
|
|
26588
|
-
Defined in: [lib/form.ts:
|
|
26669
|
+
Defined in: [lib/form/abstract-form.ts:441](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L441)
|
|
26589
26670
|
|
|
26590
26671
|
托盘注册通知;通过 task.getTrayList(this) 读取快照
|
|
26591
26672
|
|
|
@@ -26615,7 +26696,7 @@ Defined in: [lib/form.ts:1392](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26615
26696
|
|
|
26616
26697
|
> **onTrayMenuClick**(`trayId`, `menuId`): `void` \| `Promise`\<`void`\>
|
|
26617
26698
|
|
|
26618
|
-
Defined in: [lib/form.ts:
|
|
26699
|
+
Defined in: [lib/form/abstract-form.ts:484](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L484)
|
|
26619
26700
|
|
|
26620
26701
|
自己的托盘菜单命令,只投递到所属任务
|
|
26621
26702
|
|
|
@@ -26645,7 +26726,7 @@ Defined in: [lib/form.ts:1435](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26645
26726
|
|
|
26646
26727
|
> **onTrayRemoved**(`taskId`, `trayId`): `void` \| `Promise`\<`void`\>
|
|
26647
26728
|
|
|
26648
|
-
Defined in: [lib/form.ts:
|
|
26729
|
+
Defined in: [lib/form/abstract-form.ts:463](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L463)
|
|
26649
26730
|
|
|
26650
26731
|
托盘删除通知
|
|
26651
26732
|
|
|
@@ -26675,7 +26756,7 @@ Defined in: [lib/form.ts:1414](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26675
26756
|
|
|
26676
26757
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
26677
26758
|
|
|
26678
|
-
Defined in: [lib/form.ts:
|
|
26759
|
+
Defined in: [lib/form/base.ts:210](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L210)
|
|
26679
26760
|
|
|
26680
26761
|
#### Returns
|
|
26681
26762
|
|
|
@@ -26691,7 +26772,7 @@ Defined in: [lib/form.ts:469](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
26691
26772
|
|
|
26692
26773
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
26693
26774
|
|
|
26694
|
-
Defined in: [lib/form.ts:
|
|
26775
|
+
Defined in: [lib/form/base.ts:202](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L202)
|
|
26695
26776
|
|
|
26696
26777
|
#### Returns
|
|
26697
26778
|
|
|
@@ -26707,7 +26788,7 @@ Defined in: [lib/form.ts:461](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
26707
26788
|
|
|
26708
26789
|
> **onWebMcpStatusChanged**(`status`): `void` \| `Promise`\<`void`\>
|
|
26709
26790
|
|
|
26710
|
-
Defined in: [lib/form.ts:
|
|
26791
|
+
Defined in: [lib/form/abstract-form.ts:506](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L506)
|
|
26711
26792
|
|
|
26712
26793
|
页面级 WebMCP 接入状态变化,所有 Form 共用同一状态
|
|
26713
26794
|
|
|
@@ -26731,7 +26812,7 @@ Defined in: [lib/form.ts:1457](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26731
26812
|
|
|
26732
26813
|
> **ready**(`cb`): `void`
|
|
26733
26814
|
|
|
26734
|
-
Defined in: [lib/form.ts:
|
|
26815
|
+
Defined in: [lib/form/abstract-form.ts:124](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L124)
|
|
26735
26816
|
|
|
26736
26817
|
将在 form 完全装载完后执行,如果已经装载完则立即执行
|
|
26737
26818
|
|
|
@@ -26751,7 +26832,7 @@ Defined in: [lib/form.ts:1075](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26751
26832
|
|
|
26752
26833
|
> **send**(`fid`, `obj`): `void`
|
|
26753
26834
|
|
|
26754
|
-
Defined in: [lib/form.ts:
|
|
26835
|
+
Defined in: [lib/form/base.ts:178](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L178)
|
|
26755
26836
|
|
|
26756
26837
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
26757
26838
|
|
|
@@ -26783,7 +26864,7 @@ formId 要接收对象的 form id
|
|
|
26783
26864
|
|
|
26784
26865
|
> **sendToPanel**(`panel`, `data`): `void`
|
|
26785
26866
|
|
|
26786
|
-
Defined in: [lib/form.ts:
|
|
26867
|
+
Defined in: [lib/form/abstract-form.ts:173](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L173)
|
|
26787
26868
|
|
|
26788
26869
|
发送一段数据到 panel 控件,本质上也是调用的 panel 控件的 send 方法
|
|
26789
26870
|
|
|
@@ -26807,7 +26888,7 @@ Defined in: [lib/form.ts:1124](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26807
26888
|
|
|
26808
26889
|
> **show**(): `Promise`\<`void`\>
|
|
26809
26890
|
|
|
26810
|
-
Defined in: [lib/form.ts:
|
|
26891
|
+
Defined in: [lib/form/abstract-form.ts:261](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L261)
|
|
26811
26892
|
|
|
26812
26893
|
显示窗体
|
|
26813
26894
|
|
|
@@ -26821,7 +26902,7 @@ Defined in: [lib/form.ts:1212](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26821
26902
|
|
|
26822
26903
|
> **showDialog**(): `Promise`\<`string`\>
|
|
26823
26904
|
|
|
26824
|
-
Defined in: [lib/form.ts:
|
|
26905
|
+
Defined in: [lib/form/abstract-form.ts:286](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L286)
|
|
26825
26906
|
|
|
26826
26907
|
显示独占的窗体
|
|
26827
26908
|
|
|
@@ -26835,7 +26916,7 @@ Defined in: [lib/form.ts:1237](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26835
26916
|
|
|
26836
26917
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
26837
26918
|
|
|
26838
|
-
Defined in: [lib/form.ts:
|
|
26919
|
+
Defined in: [lib/form/base.ts:166](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L166)
|
|
26839
26920
|
|
|
26840
26921
|
触发系统方法
|
|
26841
26922
|
|
|
@@ -26873,7 +26954,7 @@ Defined in: [lib/form.ts:425](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
26873
26954
|
|
|
26874
26955
|
> **updateStep**(`index`, `value`): `boolean`
|
|
26875
26956
|
|
|
26876
|
-
Defined in: [lib/form.ts:
|
|
26957
|
+
Defined in: [lib/form/abstract-form.ts:235](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-form.ts#L235)
|
|
26877
26958
|
|
|
26878
26959
|
更新步进条,用于动态改变某个项的 hash 值时使用
|
|
26879
26960
|
|
|
@@ -26897,7 +26978,7 @@ Defined in: [lib/form.ts:1186](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26897
26978
|
|
|
26898
26979
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
26899
26980
|
|
|
26900
|
-
Defined in: [lib/form.ts:
|
|
26981
|
+
Defined in: [lib/form/base.ts:122](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L122)
|
|
26901
26982
|
|
|
26902
26983
|
监视变动
|
|
26903
26984
|
|
|
@@ -26960,7 +27041,7 @@ lib/form/classes/AbstractPanel.md
|
|
|
26960
27041
|
|
|
26961
27042
|
# Abstract Class: AbstractPanel
|
|
26962
27043
|
|
|
26963
|
-
Defined in: [lib/form.ts:
|
|
27044
|
+
Defined in: [lib/form/abstract-panel.ts:9](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L9)
|
|
26964
27045
|
|
|
26965
27046
|
Panel 控件抽象类
|
|
26966
27047
|
|
|
@@ -26988,7 +27069,7 @@ Panel 控件抽象类
|
|
|
26988
27069
|
|
|
26989
27070
|
> `readonly` **components**: `Record`\<`string`, () => [`AbstractComponent`](AbstractComponent.md)\> = `{}`
|
|
26990
27071
|
|
|
26991
|
-
Defined in: [lib/form.ts:
|
|
27072
|
+
Defined in: [lib/form/base.ts:14](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L14)
|
|
26992
27073
|
|
|
26993
27074
|
当前视图内局部注册的应用组件
|
|
26994
27075
|
|
|
@@ -27002,7 +27083,7 @@ Defined in: [lib/form.ts:273](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27002
27083
|
|
|
27003
27084
|
> **qs**: `Record`\<`string`, `string`\> = `{}`
|
|
27004
27085
|
|
|
27005
|
-
Defined in: [lib/form.ts:
|
|
27086
|
+
Defined in: [lib/form/abstract-panel.ts:73](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L73)
|
|
27006
27087
|
|
|
27007
27088
|
当前的 nav(若有)传递过来的 qs
|
|
27008
27089
|
|
|
@@ -27014,7 +27095,7 @@ Defined in: [lib/form.ts:540](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27014
27095
|
|
|
27015
27096
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
27016
27097
|
|
|
27017
|
-
Defined in: [lib/form.ts:
|
|
27098
|
+
Defined in: [lib/form/base.ts:106](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L106)
|
|
27018
27099
|
|
|
27019
27100
|
layout 中 :class 的转义
|
|
27020
27101
|
|
|
@@ -27034,7 +27115,7 @@ layout 中 :class 的转义
|
|
|
27034
27115
|
|
|
27035
27116
|
> **get** **controlName**(): `string`
|
|
27036
27117
|
|
|
27037
|
-
Defined in: [lib/form.ts:
|
|
27118
|
+
Defined in: [lib/form/base.ts:23](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L23)
|
|
27038
27119
|
|
|
27039
27120
|
当前控件的名字
|
|
27040
27121
|
|
|
@@ -27046,7 +27127,7 @@ Defined in: [lib/form.ts:282](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27046
27127
|
|
|
27047
27128
|
> **set** **controlName**(`v`): `void`
|
|
27048
27129
|
|
|
27049
|
-
Defined in: [lib/form.ts:
|
|
27130
|
+
Defined in: [lib/form/base.ts:27](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L27)
|
|
27050
27131
|
|
|
27051
27132
|
##### Parameters
|
|
27052
27133
|
|
|
@@ -27070,7 +27151,7 @@ Defined in: [lib/form.ts:286](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27070
27151
|
|
|
27071
27152
|
> **get** **element**(): `HTMLElement`
|
|
27072
27153
|
|
|
27073
|
-
Defined in: [lib/form.ts:
|
|
27154
|
+
Defined in: [lib/form/base.ts:141](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L141)
|
|
27074
27155
|
|
|
27075
27156
|
获取当前的 HTML DOM
|
|
27076
27157
|
|
|
@@ -27090,7 +27171,7 @@ Defined in: [lib/form.ts:400](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27090
27171
|
|
|
27091
27172
|
> **get** **filename**(): `string`
|
|
27092
27173
|
|
|
27093
|
-
Defined in: [lib/form.ts:
|
|
27174
|
+
Defined in: [lib/form/base.ts:17](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L17)
|
|
27094
27175
|
|
|
27095
27176
|
当前文件在包内的路径
|
|
27096
27177
|
|
|
@@ -27110,7 +27191,7 @@ Defined in: [lib/form.ts:276](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27110
27191
|
|
|
27111
27192
|
> **get** **formFocus**(): `boolean`
|
|
27112
27193
|
|
|
27113
|
-
Defined in: [lib/form.ts:
|
|
27194
|
+
Defined in: [lib/form/abstract-panel.ts:81](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L81)
|
|
27114
27195
|
|
|
27115
27196
|
当前窗体是否是焦点
|
|
27116
27197
|
|
|
@@ -27130,7 +27211,7 @@ Defined in: [lib/form.ts:548](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27130
27211
|
|
|
27131
27212
|
> **get** **formHash**(): `string`
|
|
27132
27213
|
|
|
27133
|
-
Defined in: [lib/form.ts:
|
|
27214
|
+
Defined in: [lib/form/abstract-panel.ts:28](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L28)
|
|
27134
27215
|
|
|
27135
27216
|
获取母窗体的 formHash
|
|
27136
27217
|
|
|
@@ -27142,7 +27223,7 @@ Defined in: [lib/form.ts:495](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27142
27223
|
|
|
27143
27224
|
> **set** **formHash**(`fh`): `void`
|
|
27144
27225
|
|
|
27145
|
-
Defined in: [lib/form.ts:
|
|
27226
|
+
Defined in: [lib/form/abstract-panel.ts:33](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L33)
|
|
27146
27227
|
|
|
27147
27228
|
设置母窗体的 formHash
|
|
27148
27229
|
|
|
@@ -27164,7 +27245,7 @@ Defined in: [lib/form.ts:500](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27164
27245
|
|
|
27165
27246
|
> **get** **formHashData**(): `Record`\<`string`, `any`\>
|
|
27166
27247
|
|
|
27167
|
-
Defined in: [lib/form.ts:
|
|
27248
|
+
Defined in: [lib/form/abstract-panel.ts:38](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L38)
|
|
27168
27249
|
|
|
27169
27250
|
获取 form 的 formhash with data 值
|
|
27170
27251
|
|
|
@@ -27176,7 +27257,7 @@ Defined in: [lib/form.ts:505](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27176
27257
|
|
|
27177
27258
|
> **set** **formHashData**(`v`): `void`
|
|
27178
27259
|
|
|
27179
|
-
Defined in: [lib/form.ts:
|
|
27260
|
+
Defined in: [lib/form/abstract-panel.ts:42](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L42)
|
|
27180
27261
|
|
|
27181
27262
|
##### Parameters
|
|
27182
27263
|
|
|
@@ -27196,7 +27277,7 @@ Defined in: [lib/form.ts:509](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27196
27277
|
|
|
27197
27278
|
> **get** **formId**(): `string`
|
|
27198
27279
|
|
|
27199
|
-
Defined in: [lib/form.ts:
|
|
27280
|
+
Defined in: [lib/form/base.ts:43](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L43)
|
|
27200
27281
|
|
|
27201
27282
|
当前的窗体 ID
|
|
27202
27283
|
|
|
@@ -27216,7 +27297,7 @@ Defined in: [lib/form.ts:302](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27216
27297
|
|
|
27217
27298
|
> **get** **l**(): (`key`, `data?`, `origin?`) => `string`
|
|
27218
27299
|
|
|
27219
|
-
Defined in: [lib/form.ts:
|
|
27300
|
+
Defined in: [lib/form/base.ts:87](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L87)
|
|
27220
27301
|
|
|
27221
27302
|
获取语言内容
|
|
27222
27303
|
|
|
@@ -27236,7 +27317,7 @@ Defined in: [lib/form.ts:346](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27236
27317
|
|
|
27237
27318
|
> **get** **locale**(): `string`
|
|
27238
27319
|
|
|
27239
|
-
Defined in: [lib/form.ts:
|
|
27320
|
+
Defined in: [lib/form/base.ts:69](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L69)
|
|
27240
27321
|
|
|
27241
27322
|
当前的语言
|
|
27242
27323
|
|
|
@@ -27256,7 +27337,7 @@ Defined in: [lib/form.ts:328](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27256
27337
|
|
|
27257
27338
|
> **get** **localeDirection**(): `"ltr"` \| `"rtl"`
|
|
27258
27339
|
|
|
27259
|
-
Defined in: [lib/form.ts:
|
|
27340
|
+
Defined in: [lib/form/base.ts:80](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L80)
|
|
27260
27341
|
|
|
27261
27342
|
当前语言的书写方向
|
|
27262
27343
|
|
|
@@ -27276,7 +27357,7 @@ Defined in: [lib/form.ts:339](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27276
27357
|
|
|
27277
27358
|
> **get** **localeTag**(): `string`
|
|
27278
27359
|
|
|
27279
|
-
Defined in: [lib/form.ts:
|
|
27360
|
+
Defined in: [lib/form/base.ts:75](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L75)
|
|
27280
27361
|
|
|
27281
27362
|
当前语言的标准 HTML lang 标签
|
|
27282
27363
|
|
|
@@ -27296,7 +27377,7 @@ Defined in: [lib/form.ts:334](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27296
27377
|
|
|
27297
27378
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
27298
27379
|
|
|
27299
|
-
Defined in: [lib/form.ts:
|
|
27380
|
+
Defined in: [lib/form/base.ts:148](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L148)
|
|
27300
27381
|
|
|
27301
27382
|
等待渲染
|
|
27302
27383
|
|
|
@@ -27316,7 +27397,7 @@ Defined in: [lib/form.ts:407](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27316
27397
|
|
|
27317
27398
|
> **get** **panelId**(): `string`
|
|
27318
27399
|
|
|
27319
|
-
Defined in: [lib/form.ts:
|
|
27400
|
+
Defined in: [lib/form/abstract-panel.ts:12](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L12)
|
|
27320
27401
|
|
|
27321
27402
|
当前的 panel ID
|
|
27322
27403
|
|
|
@@ -27332,7 +27413,7 @@ Defined in: [lib/form.ts:479](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27332
27413
|
|
|
27333
27414
|
> **get** **path**(): `string`
|
|
27334
27415
|
|
|
27335
|
-
Defined in: [lib/form.ts:
|
|
27416
|
+
Defined in: [lib/form/base.ts:57](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L57)
|
|
27336
27417
|
|
|
27337
27418
|
当前文件的包内路径不以 / 结尾
|
|
27338
27419
|
|
|
@@ -27352,7 +27433,7 @@ Defined in: [lib/form.ts:316](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27352
27433
|
|
|
27353
27434
|
> **get** **prep**(): `string`
|
|
27354
27435
|
|
|
27355
|
-
Defined in: [lib/form.ts:
|
|
27436
|
+
Defined in: [lib/form/base.ts:63](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L63)
|
|
27356
27437
|
|
|
27357
27438
|
样式独占前缀
|
|
27358
27439
|
|
|
@@ -27372,7 +27453,7 @@ Defined in: [lib/form.ts:322](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27372
27453
|
|
|
27373
27454
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
27374
27455
|
|
|
27375
|
-
Defined in: [lib/form.ts:
|
|
27456
|
+
Defined in: [lib/form/base.ts:136](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L136)
|
|
27376
27457
|
|
|
27377
27458
|
获取 refs 情况
|
|
27378
27459
|
|
|
@@ -27392,7 +27473,7 @@ Defined in: [lib/form.ts:395](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27392
27473
|
|
|
27393
27474
|
> **get** **rootForm**(): [`AbstractForm`](AbstractForm.md) & `Record`\<`string`, `any`\>
|
|
27394
27475
|
|
|
27395
|
-
Defined in: [lib/form.ts:
|
|
27476
|
+
Defined in: [lib/form/abstract-panel.ts:18](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L18)
|
|
27396
27477
|
|
|
27397
27478
|
当前 panel 所在窗体的窗体对象,系统会在创建时重写本函数
|
|
27398
27479
|
|
|
@@ -27408,7 +27489,7 @@ Defined in: [lib/form.ts:485](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27408
27489
|
|
|
27409
27490
|
> **get** **rootPanel**(): [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>
|
|
27410
27491
|
|
|
27411
|
-
Defined in: [lib/form.ts:
|
|
27492
|
+
Defined in: [lib/form/abstract-panel.ts:23](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L23)
|
|
27412
27493
|
|
|
27413
27494
|
当前 panel 所在的 panel control 对象,系统会在创建时重写本函数
|
|
27414
27495
|
|
|
@@ -27424,7 +27505,7 @@ Defined in: [lib/form.ts:490](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27424
27505
|
|
|
27425
27506
|
> **get** **taskId**(): `string`
|
|
27426
27507
|
|
|
27427
|
-
Defined in: [lib/form.ts:
|
|
27508
|
+
Defined in: [lib/form/base.ts:37](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L37)
|
|
27428
27509
|
|
|
27429
27510
|
当前的任务 ID
|
|
27430
27511
|
|
|
@@ -27442,7 +27523,7 @@ Defined in: [lib/form.ts:296](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27442
27523
|
|
|
27443
27524
|
> **allowEvent**(`e`): `boolean`
|
|
27444
27525
|
|
|
27445
|
-
Defined in: [lib/form.ts:
|
|
27526
|
+
Defined in: [lib/form/base.ts:156](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L156)
|
|
27446
27527
|
|
|
27447
27528
|
判断当前事件可否执行
|
|
27448
27529
|
|
|
@@ -27468,7 +27549,7 @@ Defined in: [lib/form.ts:415](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27468
27549
|
|
|
27469
27550
|
> **clearQs**(): `void`
|
|
27470
27551
|
|
|
27471
|
-
Defined in: [lib/form.ts:
|
|
27552
|
+
Defined in: [lib/form/abstract-panel.ts:76](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L76)
|
|
27472
27553
|
|
|
27473
27554
|
确定不再使用 qs 时可调用此方法清空,这样再次通过相同 qs 进入本 panel 依然会响应 qschange 事件
|
|
27474
27555
|
|
|
@@ -27482,7 +27563,7 @@ Defined in: [lib/form.ts:543](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27482
27563
|
|
|
27483
27564
|
> **doneStep**(): `Promise`\<`void`\>
|
|
27484
27565
|
|
|
27485
|
-
Defined in: [lib/form.ts:
|
|
27566
|
+
Defined in: [lib/form/abstract-panel.ts:68](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L68)
|
|
27486
27567
|
|
|
27487
27568
|
目窗体完成当前步骤
|
|
27488
27569
|
|
|
@@ -27496,7 +27577,7 @@ Defined in: [lib/form.ts:535](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27496
27577
|
|
|
27497
27578
|
> **enterStep**(`list`): `Promise`\<`boolean`\>
|
|
27498
27579
|
|
|
27499
|
-
Defined in: [lib/form.ts:
|
|
27580
|
+
Defined in: [lib/form/abstract-panel.ts:57](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L57)
|
|
27500
27581
|
|
|
27501
27582
|
母窗体进入 form hash 为源的步进条
|
|
27502
27583
|
|
|
@@ -27516,7 +27597,7 @@ Defined in: [lib/form.ts:524](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27516
27597
|
|
|
27517
27598
|
> **formHashBack**(): `Promise`\<`void`\>
|
|
27518
27599
|
|
|
27519
|
-
Defined in: [lib/form.ts:
|
|
27600
|
+
Defined in: [lib/form/abstract-panel.ts:47](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L47)
|
|
27520
27601
|
|
|
27521
27602
|
将母窗体的 form hash 回退
|
|
27522
27603
|
|
|
@@ -27530,7 +27611,7 @@ Defined in: [lib/form.ts:514](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27530
27611
|
|
|
27531
27612
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
27532
27613
|
|
|
27533
|
-
Defined in: [lib/form.ts:
|
|
27614
|
+
Defined in: [lib/form/base.ts:186](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L186)
|
|
27534
27615
|
|
|
27535
27616
|
#### Returns
|
|
27536
27617
|
|
|
@@ -27546,7 +27627,7 @@ Defined in: [lib/form.ts:445](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27546
27627
|
|
|
27547
27628
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
27548
27629
|
|
|
27549
|
-
Defined in: [lib/form.ts:
|
|
27630
|
+
Defined in: [lib/form/base.ts:194](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L194)
|
|
27550
27631
|
|
|
27551
27632
|
#### Returns
|
|
27552
27633
|
|
|
@@ -27562,7 +27643,7 @@ Defined in: [lib/form.ts:453](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27562
27643
|
|
|
27563
27644
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
27564
27645
|
|
|
27565
|
-
Defined in: [lib/form.ts:
|
|
27646
|
+
Defined in: [lib/form/base.ts:206](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L206)
|
|
27566
27647
|
|
|
27567
27648
|
#### Returns
|
|
27568
27649
|
|
|
@@ -27578,7 +27659,7 @@ Defined in: [lib/form.ts:465](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27578
27659
|
|
|
27579
27660
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
27580
27661
|
|
|
27581
|
-
Defined in: [lib/form.ts:
|
|
27662
|
+
Defined in: [lib/form/base.ts:198](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L198)
|
|
27582
27663
|
|
|
27583
27664
|
#### Returns
|
|
27584
27665
|
|
|
@@ -27594,7 +27675,7 @@ Defined in: [lib/form.ts:457](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27594
27675
|
|
|
27595
27676
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
27596
27677
|
|
|
27597
|
-
Defined in: [lib/form.ts:
|
|
27678
|
+
Defined in: [lib/form/base.ts:190](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L190)
|
|
27598
27679
|
|
|
27599
27680
|
#### Returns
|
|
27600
27681
|
|
|
@@ -27610,7 +27691,7 @@ Defined in: [lib/form.ts:449](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27610
27691
|
|
|
27611
27692
|
> **onHide**(): `void` \| `Promise`\<`void`\>
|
|
27612
27693
|
|
|
27613
|
-
Defined in: [lib/form.ts:
|
|
27694
|
+
Defined in: [lib/form/abstract-panel.ts:96](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L96)
|
|
27614
27695
|
|
|
27615
27696
|
#### Returns
|
|
27616
27697
|
|
|
@@ -27622,7 +27703,7 @@ Defined in: [lib/form.ts:563](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27622
27703
|
|
|
27623
27704
|
> **onMounted**(): `void` \| `Promise`\<`void`\>
|
|
27624
27705
|
|
|
27625
|
-
Defined in: [lib/form.ts:
|
|
27706
|
+
Defined in: [lib/form/abstract-panel.ts:101](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L101)
|
|
27626
27707
|
|
|
27627
27708
|
#### Returns
|
|
27628
27709
|
|
|
@@ -27634,7 +27715,7 @@ Defined in: [lib/form.ts:568](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27634
27715
|
|
|
27635
27716
|
> **onQsChange**(): `void` \| `Promise`\<`void`\>
|
|
27636
27717
|
|
|
27637
|
-
Defined in: [lib/form.ts:
|
|
27718
|
+
Defined in: [lib/form/abstract-panel.ts:113](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L113)
|
|
27638
27719
|
|
|
27639
27720
|
qs 变动时调用,如果只是用来做 qs 数据处理,建议用此方法
|
|
27640
27721
|
|
|
@@ -27648,7 +27729,7 @@ qs 变动时调用,如果只是用来做 qs 数据处理,建议用此方法
|
|
|
27648
27729
|
|
|
27649
27730
|
> **onQsChangeShow**(`e`): `void` \| `Promise`\<`void`\>
|
|
27650
27731
|
|
|
27651
|
-
Defined in: [lib/form.ts:
|
|
27732
|
+
Defined in: [lib/form/abstract-panel.ts:118](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L118)
|
|
27652
27733
|
|
|
27653
27734
|
无论是 show 还是 qschange 都会触发,优先触发 show 或 qschange 事件本身,之后触发这个
|
|
27654
27735
|
|
|
@@ -27668,7 +27749,7 @@ Defined in: [lib/form.ts:585](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27668
27749
|
|
|
27669
27750
|
> **onReceive**(`data`): `void` \| `Promise`\<`void`\>
|
|
27670
27751
|
|
|
27671
|
-
Defined in: [lib/form.ts:
|
|
27752
|
+
Defined in: [lib/form/abstract-panel.ts:107](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L107)
|
|
27672
27753
|
|
|
27673
27754
|
接收 send 传递过来的 data 数据(是 panel 控件的 send,不是 form 的 send)
|
|
27674
27755
|
|
|
@@ -27688,7 +27769,7 @@ Defined in: [lib/form.ts:574](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27688
27769
|
|
|
27689
27770
|
> **onShow**(`e`): `void` \| `Promise`\<`void`\>
|
|
27690
27771
|
|
|
27691
|
-
Defined in: [lib/form.ts:
|
|
27772
|
+
Defined in: [lib/form/abstract-panel.ts:85](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L85)
|
|
27692
27773
|
|
|
27693
27774
|
#### Parameters
|
|
27694
27775
|
|
|
@@ -27706,7 +27787,7 @@ Defined in: [lib/form.ts:552](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27706
27787
|
|
|
27707
27788
|
> **onShowed**(): `void` \| `Promise`\<`void`\>
|
|
27708
27789
|
|
|
27709
|
-
Defined in: [lib/form.ts:
|
|
27790
|
+
Defined in: [lib/form/abstract-panel.ts:90](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L90)
|
|
27710
27791
|
|
|
27711
27792
|
panel 已经完全显示后所要执行的
|
|
27712
27793
|
|
|
@@ -27720,7 +27801,7 @@ panel 已经完全显示后所要执行的
|
|
|
27720
27801
|
|
|
27721
27802
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
27722
27803
|
|
|
27723
|
-
Defined in: [lib/form.ts:
|
|
27804
|
+
Defined in: [lib/form/base.ts:210](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L210)
|
|
27724
27805
|
|
|
27725
27806
|
#### Returns
|
|
27726
27807
|
|
|
@@ -27736,7 +27817,7 @@ Defined in: [lib/form.ts:469](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27736
27817
|
|
|
27737
27818
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
27738
27819
|
|
|
27739
|
-
Defined in: [lib/form.ts:
|
|
27820
|
+
Defined in: [lib/form/base.ts:202](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L202)
|
|
27740
27821
|
|
|
27741
27822
|
#### Returns
|
|
27742
27823
|
|
|
@@ -27752,7 +27833,7 @@ Defined in: [lib/form.ts:461](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27752
27833
|
|
|
27753
27834
|
> **send**(`fid`, `obj`): `void`
|
|
27754
27835
|
|
|
27755
|
-
Defined in: [lib/form.ts:
|
|
27836
|
+
Defined in: [lib/form/base.ts:178](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L178)
|
|
27756
27837
|
|
|
27757
27838
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
27758
27839
|
|
|
@@ -27784,7 +27865,7 @@ formId 要接收对象的 form id
|
|
|
27784
27865
|
|
|
27785
27866
|
> **sendToRootPanel**(`data`): `void`
|
|
27786
27867
|
|
|
27787
|
-
Defined in: [lib/form.ts:
|
|
27868
|
+
Defined in: [lib/form/abstract-panel.ts:52](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/abstract-panel.ts#L52)
|
|
27788
27869
|
|
|
27789
27870
|
发送一段数据到自己这个 panel 控件,本质上也是调用的 panel 控件的 send 方法,主要用来实现发送给跳转后的 panel
|
|
27790
27871
|
|
|
@@ -27804,7 +27885,7 @@ Defined in: [lib/form.ts:519](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27804
27885
|
|
|
27805
27886
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
27806
27887
|
|
|
27807
|
-
Defined in: [lib/form.ts:
|
|
27888
|
+
Defined in: [lib/form/base.ts:166](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L166)
|
|
27808
27889
|
|
|
27809
27890
|
触发系统方法
|
|
27810
27891
|
|
|
@@ -27842,7 +27923,7 @@ Defined in: [lib/form.ts:425](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27842
27923
|
|
|
27843
27924
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
27844
27925
|
|
|
27845
|
-
Defined in: [lib/form.ts:
|
|
27926
|
+
Defined in: [lib/form/base.ts:122](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/base.ts#L122)
|
|
27846
27927
|
|
|
27847
27928
|
监视变动
|
|
27848
27929
|
|
|
@@ -27907,7 +27988,7 @@ lib/form/functions/alert.md
|
|
|
27907
27988
|
|
|
27908
27989
|
> **alert**(`content`, `type?`): `number`
|
|
27909
27990
|
|
|
27910
|
-
Defined in: [lib/form.ts:
|
|
27991
|
+
Defined in: [lib/form/notification.ts:25](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/notification.ts#L25)
|
|
27911
27992
|
|
|
27912
27993
|
从下方弹出 alert
|
|
27913
27994
|
|
|
@@ -27929,6 +28010,8 @@ Defined in: [lib/form.ts:2822](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
27929
28010
|
|
|
27930
28011
|
`number`
|
|
27931
28012
|
|
|
28013
|
+
alert id
|
|
28014
|
+
|
|
27932
28015
|
lib/form/functions/appendToPop.md
|
|
27933
28016
|
---
|
|
27934
28017
|
|
|
@@ -27942,7 +28025,7 @@ lib/form/functions/appendToPop.md
|
|
|
27942
28025
|
|
|
27943
28026
|
> **appendToPop**(`el`): `void`
|
|
27944
28027
|
|
|
27945
|
-
Defined in: [lib/form.ts:
|
|
28028
|
+
Defined in: [lib/form/popup.ts:36](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/popup.ts#L36)
|
|
27946
28029
|
|
|
27947
28030
|
将标签追加到 pop 层
|
|
27948
28031
|
|
|
@@ -27958,6 +28041,8 @@ Defined in: [lib/form.ts:3073](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
27958
28041
|
|
|
27959
28042
|
`void`
|
|
27960
28043
|
|
|
28044
|
+
无返回值
|
|
28045
|
+
|
|
27961
28046
|
lib/form/functions/bindDrag.md
|
|
27962
28047
|
---
|
|
27963
28048
|
|
|
@@ -27971,7 +28056,7 @@ lib/form/functions/bindDrag.md
|
|
|
27971
28056
|
|
|
27972
28057
|
> **bindDrag**(`e`): `void`
|
|
27973
28058
|
|
|
27974
|
-
Defined in: [lib/form.ts:
|
|
28059
|
+
Defined in: [lib/form/window.ts:88](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L88)
|
|
27975
28060
|
|
|
27976
28061
|
绑定窗体拖动事件,在 pointerdown 中绑定
|
|
27977
28062
|
|
|
@@ -28000,7 +28085,7 @@ lib/form/functions/bindResize.md
|
|
|
28000
28085
|
|
|
28001
28086
|
> **bindResize**(`e`, `border`): `void`
|
|
28002
28087
|
|
|
28003
|
-
Defined in: [lib/form.ts:
|
|
28088
|
+
Defined in: [lib/form/window.ts:67](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L67)
|
|
28004
28089
|
|
|
28005
28090
|
绑定窗体拖动大小事件,在 pointerdown 中绑定
|
|
28006
28091
|
|
|
@@ -28035,7 +28120,7 @@ lib/form/functions/captcha.md
|
|
|
28035
28120
|
|
|
28036
28121
|
> **captcha**(`current`, `opt`): `Promise`\<`false` \| [`ICaptchaResultEvent`](../../control/interfaces/ICaptchaResultEvent.md)\>
|
|
28037
28122
|
|
|
28038
|
-
Defined in: [lib/form.ts:
|
|
28123
|
+
Defined in: [lib/form/dialog.ts:116](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/dialog.ts#L116)
|
|
28039
28124
|
|
|
28040
28125
|
显示一个验证码窗口
|
|
28041
28126
|
|
|
@@ -28072,7 +28157,7 @@ lib/form/functions/changeFocusMaxZIndex.md
|
|
|
28072
28157
|
|
|
28073
28158
|
> **changeFocusMaxZIndex**(): `Promise`\<`void`\>
|
|
28074
28159
|
|
|
28075
|
-
Defined in: [lib/form.ts:
|
|
28160
|
+
Defined in: [lib/form/window.ts:483](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L483)
|
|
28076
28161
|
|
|
28077
28162
|
让最大的 z index 窗体获取焦点(不含 top 和最小化的)
|
|
28078
28163
|
|
|
@@ -28093,7 +28178,7 @@ lib/form/functions/changeFocus.md
|
|
|
28093
28178
|
|
|
28094
28179
|
> **changeFocus**(`formId?`): `Promise`\<`void`\>
|
|
28095
28180
|
|
|
28096
|
-
Defined in: [lib/form.ts:
|
|
28181
|
+
Defined in: [lib/form/window.ts:364](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L364)
|
|
28097
28182
|
|
|
28098
28183
|
改变 form 的焦点 class
|
|
28099
28184
|
|
|
@@ -28122,7 +28207,7 @@ lib/form/functions/close.md
|
|
|
28122
28207
|
|
|
28123
28208
|
> **close**(`formId`): `boolean`
|
|
28124
28209
|
|
|
28125
|
-
Defined in: [lib/form.ts:
|
|
28210
|
+
Defined in: [lib/form/window.ts:58](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L58)
|
|
28126
28211
|
|
|
28127
28212
|
关闭一个窗体
|
|
28128
28213
|
|
|
@@ -28151,7 +28236,7 @@ lib/form/functions/confirm.md
|
|
|
28151
28236
|
|
|
28152
28237
|
> **confirm**(`current`, `opt`): `Promise`\<`number` \| `boolean`\>
|
|
28153
28238
|
|
|
28154
|
-
Defined in: [lib/form.ts:
|
|
28239
|
+
Defined in: [lib/form/dialog.ts:224](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/dialog.ts#L224)
|
|
28155
28240
|
|
|
28156
28241
|
显示一个 confirm
|
|
28157
28242
|
|
|
@@ -28186,7 +28271,7 @@ lib/form/functions/create.md
|
|
|
28186
28271
|
|
|
28187
28272
|
> **create**\<`T`\>(`current`, `cls`, `data?`, `opt?`): `Promise`\<`T`\>
|
|
28188
28273
|
|
|
28189
|
-
Defined in: [lib/form.ts:
|
|
28274
|
+
Defined in: [lib/form/create.ts:444](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/create.ts#L444)
|
|
28190
28275
|
|
|
28191
28276
|
创建一个窗体
|
|
28192
28277
|
|
|
@@ -28251,7 +28336,7 @@ lib/form/functions/createPanel.md
|
|
|
28251
28336
|
|
|
28252
28337
|
> **createPanel**\<`T`\>(`rootPanel`, `cls`, `opt?`): `Promise`\<\{ `id`: `string`; `vapp`: [`IVApp`](../../core/interfaces/IVApp.md); `vroot`: `T`; \}\>
|
|
28253
28338
|
|
|
28254
|
-
Defined in: [lib/form.ts:
|
|
28339
|
+
Defined in: [lib/form/create.ts:42](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/create.ts#L42)
|
|
28255
28340
|
|
|
28256
28341
|
创建 panel 对象,一般情况下无需使用
|
|
28257
28342
|
|
|
@@ -28314,7 +28399,7 @@ lib/form/functions/dialog.md
|
|
|
28314
28399
|
|
|
28315
28400
|
> **dialog**(`current`, `opt`): `Promise`\<`string`\>
|
|
28316
28401
|
|
|
28317
|
-
Defined in: [lib/form.ts:
|
|
28402
|
+
Defined in: [lib/form/dialog.ts:20](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/dialog.ts#L20)
|
|
28318
28403
|
|
|
28319
28404
|
显示一个 dialog
|
|
28320
28405
|
|
|
@@ -28349,7 +28434,7 @@ lib/form/functions/doFocusAndPopEvent.md
|
|
|
28349
28434
|
|
|
28350
28435
|
> **doFocusAndPopEvent**(`e`): `Promise`\<`void`\>
|
|
28351
28436
|
|
|
28352
|
-
Defined in: [lib/form.ts:
|
|
28437
|
+
Defined in: [lib/form/popup.ts:94](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/popup.ts#L94)
|
|
28353
28438
|
|
|
28354
28439
|
点下 pointerdown 屏幕任意一位置时根据点击处处理隐藏 pop 和焦点丢失事件,鼠标和 touch 只会响应一个
|
|
28355
28440
|
|
|
@@ -28365,6 +28450,8 @@ Defined in: [lib/form.ts:3474](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28365
28450
|
|
|
28366
28451
|
`Promise`\<`void`\>
|
|
28367
28452
|
|
|
28453
|
+
处理完成
|
|
28454
|
+
|
|
28368
28455
|
lib/form/functions/flash.md
|
|
28369
28456
|
---
|
|
28370
28457
|
|
|
@@ -28378,7 +28465,7 @@ lib/form/functions/flash.md
|
|
|
28378
28465
|
|
|
28379
28466
|
> **flash**(`current`, `formId`): `Promise`\<`void`\>
|
|
28380
28467
|
|
|
28381
|
-
Defined in: [lib/form.ts:
|
|
28468
|
+
Defined in: [lib/form/window.ts:514](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L514)
|
|
28382
28469
|
|
|
28383
28470
|
让窗体闪烁
|
|
28384
28471
|
|
|
@@ -28413,7 +28500,7 @@ lib/form/functions/getActivePanel.md
|
|
|
28413
28500
|
|
|
28414
28501
|
> **getActivePanel**(`formId`): `string`[]
|
|
28415
28502
|
|
|
28416
|
-
Defined in: [lib/form.ts:
|
|
28503
|
+
Defined in: [lib/form/window.ts:236](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L236)
|
|
28417
28504
|
|
|
28418
28505
|
获取窗体当前活跃中的 panelId 列表
|
|
28419
28506
|
|
|
@@ -28442,7 +28529,7 @@ lib/form/functions/getFocus.md
|
|
|
28442
28529
|
|
|
28443
28530
|
> **getFocus**(): `string` \| `null`
|
|
28444
28531
|
|
|
28445
|
-
Defined in: [lib/form.ts:
|
|
28532
|
+
Defined in: [lib/form/window.ts:223](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L223)
|
|
28446
28533
|
|
|
28447
28534
|
获取当前有焦点的窗体 form id
|
|
28448
28535
|
|
|
@@ -28463,7 +28550,7 @@ lib/form/functions/getHash.md
|
|
|
28463
28550
|
|
|
28464
28551
|
> **getHash**(`formId`): `string`
|
|
28465
28552
|
|
|
28466
|
-
Defined in: [lib/form.ts:
|
|
28553
|
+
Defined in: [lib/form/window.ts:324](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L324)
|
|
28467
28554
|
|
|
28468
28555
|
获取窗体的 hash
|
|
28469
28556
|
|
|
@@ -28490,7 +28577,7 @@ lib/form/functions/getLauncherShow.md
|
|
|
28490
28577
|
|
|
28491
28578
|
> **getLauncherShow**(): `boolean`
|
|
28492
28579
|
|
|
28493
|
-
Defined in: [lib/form.ts:
|
|
28580
|
+
Defined in: [lib/form/system.ts:80](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L80)
|
|
28494
28581
|
|
|
28495
28582
|
查询 Launcher 当前显示状态,供首次挂载时同步
|
|
28496
28583
|
|
|
@@ -28513,7 +28600,7 @@ lib/form/functions/getList.md
|
|
|
28513
28600
|
|
|
28514
28601
|
> **getList**(`taskId`): `Record`\<`string`, [`IFormInfo`](../interfaces/IFormInfo.md)\>
|
|
28515
28602
|
|
|
28516
|
-
Defined in: [lib/form.ts:
|
|
28603
|
+
Defined in: [lib/form/window.ts:195](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L195)
|
|
28517
28604
|
|
|
28518
28605
|
获取 form list 的简略情况
|
|
28519
28606
|
|
|
@@ -28542,7 +28629,7 @@ lib/form/functions/getMaxZIndexID.md
|
|
|
28542
28629
|
|
|
28543
28630
|
> **getMaxZIndexID**(`current`, `out?`): `Promise`\<`string` \| `null`\>
|
|
28544
28631
|
|
|
28545
|
-
Defined in: [lib/form.ts:
|
|
28632
|
+
Defined in: [lib/form/window.ts:431](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L431)
|
|
28546
28633
|
|
|
28547
28634
|
获取当前 z-index 值最大的 form id(除了 top 模式的窗体和最小化的窗体)
|
|
28548
28635
|
|
|
@@ -28583,7 +28670,7 @@ lib/form/functions/get.md
|
|
|
28583
28670
|
|
|
28584
28671
|
> **get**(`formId`): [`IFormInfo`](../interfaces/IFormInfo.md) \| `null`
|
|
28585
28672
|
|
|
28586
|
-
Defined in: [lib/form.ts:
|
|
28673
|
+
Defined in: [lib/form/window.ts:148](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L148)
|
|
28587
28674
|
|
|
28588
28675
|
获取窗体信息
|
|
28589
28676
|
|
|
@@ -28612,7 +28699,7 @@ lib/form/functions/getRectByBorder.md
|
|
|
28612
28699
|
|
|
28613
28700
|
> **getRectByBorder**(`border`, `area?`): `object`
|
|
28614
28701
|
|
|
28615
|
-
Defined in: [lib/form.ts:
|
|
28702
|
+
Defined in: [lib/form/effects.ts:25](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/effects.ts#L25)
|
|
28616
28703
|
|
|
28617
28704
|
根据 border 方向 获取理论窗体大小
|
|
28618
28705
|
|
|
@@ -28665,7 +28752,7 @@ lib/form/functions/getTaskId.md
|
|
|
28665
28752
|
|
|
28666
28753
|
> **getTaskId**(`formId`): `string`
|
|
28667
28754
|
|
|
28668
|
-
Defined in: [lib/form.ts:
|
|
28755
|
+
Defined in: [lib/form/window.ts:131](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L131)
|
|
28669
28756
|
|
|
28670
28757
|
根据窗体 id 获取 task id
|
|
28671
28758
|
|
|
@@ -28694,7 +28781,7 @@ lib/form/functions/hashBack.md
|
|
|
28694
28781
|
|
|
28695
28782
|
> **hashBack**(`formId`): `Promise`\<`boolean`\>
|
|
28696
28783
|
|
|
28697
|
-
Defined in: [lib/form.ts:
|
|
28784
|
+
Defined in: [lib/form/window.ts:343](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L343)
|
|
28698
28785
|
|
|
28699
28786
|
将窗体的 hash 退回上一个
|
|
28700
28787
|
|
|
@@ -28721,7 +28808,7 @@ lib/form/functions/hash.md
|
|
|
28721
28808
|
|
|
28722
28809
|
> **hash**(`formId`, `hash`): `boolean`
|
|
28723
28810
|
|
|
28724
|
-
Defined in: [lib/form.ts:
|
|
28811
|
+
Defined in: [lib/form/window.ts:304](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L304)
|
|
28725
28812
|
|
|
28726
28813
|
修改窗体 hash
|
|
28727
28814
|
|
|
@@ -28756,7 +28843,7 @@ lib/form/functions/hideKeyboard.md
|
|
|
28756
28843
|
|
|
28757
28844
|
> **hideKeyboard**(): `void`
|
|
28758
28845
|
|
|
28759
|
-
Defined in: [lib/form.ts:
|
|
28846
|
+
Defined in: [lib/form/system.ts:72](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L72)
|
|
28760
28847
|
|
|
28761
28848
|
隐藏系统级虚拟键盘
|
|
28762
28849
|
|
|
@@ -28764,6 +28851,8 @@ Defined in: [lib/form.ts:2113](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28764
28851
|
|
|
28765
28852
|
`void`
|
|
28766
28853
|
|
|
28854
|
+
无返回值
|
|
28855
|
+
|
|
28767
28856
|
lib/form/functions/hideLauncher.md
|
|
28768
28857
|
---
|
|
28769
28858
|
|
|
@@ -28777,7 +28866,7 @@ lib/form/functions/hideLauncher.md
|
|
|
28777
28866
|
|
|
28778
28867
|
> **hideLauncher**(): `void`
|
|
28779
28868
|
|
|
28780
|
-
Defined in: [lib/form.ts:
|
|
28869
|
+
Defined in: [lib/form/system.ts:96](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L96)
|
|
28781
28870
|
|
|
28782
28871
|
隐藏 launcher 界面;重复关闭不重复通知或安排清理
|
|
28783
28872
|
|
|
@@ -28800,7 +28889,7 @@ lib/form/functions/hideNotify.md
|
|
|
28800
28889
|
|
|
28801
28890
|
> **hideNotify**(`notifyId`): `void`
|
|
28802
28891
|
|
|
28803
|
-
Defined in: [lib/form.ts:
|
|
28892
|
+
Defined in: [lib/form/notification.ts:71](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/notification.ts#L71)
|
|
28804
28893
|
|
|
28805
28894
|
隐藏 notify
|
|
28806
28895
|
|
|
@@ -28816,6 +28905,8 @@ Defined in: [lib/form.ts:3054](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28816
28905
|
|
|
28817
28906
|
`void`
|
|
28818
28907
|
|
|
28908
|
+
无返回值
|
|
28909
|
+
|
|
28819
28910
|
lib/form/functions/hidePop.md
|
|
28820
28911
|
---
|
|
28821
28912
|
|
|
@@ -28829,7 +28920,7 @@ lib/form/functions/hidePop.md
|
|
|
28829
28920
|
|
|
28830
28921
|
> **hidePop**(`pop?`): `void`
|
|
28831
28922
|
|
|
28832
|
-
Defined in: [lib/form.ts:
|
|
28923
|
+
Defined in: [lib/form/popup.ts:76](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/popup.ts#L76)
|
|
28833
28924
|
|
|
28834
28925
|
隐藏正在显示中的所有 pop,或指定 pop/el
|
|
28835
28926
|
|
|
@@ -28839,10 +28930,14 @@ Defined in: [lib/form.ts:3373](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28839
28930
|
|
|
28840
28931
|
`HTMLElement` \| [`IVue`](../../core/interfaces/IVue.md)
|
|
28841
28932
|
|
|
28933
|
+
要隐藏的浮层或触发元素;省略时隐藏全部
|
|
28934
|
+
|
|
28842
28935
|
## Returns
|
|
28843
28936
|
|
|
28844
28937
|
`void`
|
|
28845
28938
|
|
|
28939
|
+
无返回值
|
|
28940
|
+
|
|
28846
28941
|
lib/form/functions/hideRectangle.md
|
|
28847
28942
|
---
|
|
28848
28943
|
|
|
@@ -28856,7 +28951,7 @@ lib/form/functions/hideRectangle.md
|
|
|
28856
28951
|
|
|
28857
28952
|
> **hideRectangle**(): `void`
|
|
28858
28953
|
|
|
28859
|
-
Defined in: [lib/form.ts:
|
|
28954
|
+
Defined in: [lib/form/effects.ts:62](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/effects.ts#L62)
|
|
28860
28955
|
|
|
28861
28956
|
结束时请隐藏矩形
|
|
28862
28957
|
|
|
@@ -28877,12 +28972,16 @@ lib/form/functions/init.md
|
|
|
28877
28972
|
|
|
28878
28973
|
> **init**(): `void`
|
|
28879
28974
|
|
|
28880
|
-
Defined in: [lib/form.ts:
|
|
28975
|
+
Defined in: [lib/form/system.ts:104](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L104)
|
|
28976
|
+
|
|
28977
|
+
初始化系统宿主,多次调用仅执行一次
|
|
28881
28978
|
|
|
28882
28979
|
## Returns
|
|
28883
28980
|
|
|
28884
28981
|
`void`
|
|
28885
28982
|
|
|
28983
|
+
无返回值
|
|
28984
|
+
|
|
28886
28985
|
lib/form/functions/initSysId.md
|
|
28887
28986
|
---
|
|
28888
28987
|
|
|
@@ -28896,7 +28995,7 @@ lib/form/functions/initSysId.md
|
|
|
28896
28995
|
|
|
28897
28996
|
> **initSysId**(`id`): `void`
|
|
28898
28997
|
|
|
28899
|
-
Defined in: [lib/form.ts:
|
|
28998
|
+
Defined in: [lib/form/state.ts:165](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/state.ts#L165)
|
|
28900
28999
|
|
|
28901
29000
|
初始化系统级 ID,仅能设置一次
|
|
28902
29001
|
|
|
@@ -28925,7 +29024,7 @@ lib/form/functions/isJustPop.md
|
|
|
28925
29024
|
|
|
28926
29025
|
> **isJustPop**(`el`): `boolean`
|
|
28927
29026
|
|
|
28928
|
-
Defined in: [lib/form.ts:
|
|
29027
|
+
Defined in: [lib/form/popup.ts:85](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/popup.ts#L85)
|
|
28929
29028
|
|
|
28930
29029
|
检测 pop 是不是刚刚显示的
|
|
28931
29030
|
|
|
@@ -28935,10 +29034,14 @@ Defined in: [lib/form.ts:3455](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28935
29034
|
|
|
28936
29035
|
`number` \| `HTMLElement`
|
|
28937
29036
|
|
|
29037
|
+
触发元素或浮层层级
|
|
29038
|
+
|
|
28938
29039
|
## Returns
|
|
28939
29040
|
|
|
28940
29041
|
`boolean`
|
|
28941
29042
|
|
|
29043
|
+
是否在 100 毫秒内显示
|
|
29044
|
+
|
|
28942
29045
|
lib/form/functions/max.md
|
|
28943
29046
|
---
|
|
28944
29047
|
|
|
@@ -28952,7 +29055,7 @@ lib/form/functions/max.md
|
|
|
28952
29055
|
|
|
28953
29056
|
> **max**(`formId`): `boolean`
|
|
28954
29057
|
|
|
28955
|
-
Defined in: [lib/form.ts:
|
|
29058
|
+
Defined in: [lib/form/window.ts:50](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L50)
|
|
28956
29059
|
|
|
28957
29060
|
最大化某个窗体
|
|
28958
29061
|
|
|
@@ -28981,7 +29084,7 @@ lib/form/functions/min.md
|
|
|
28981
29084
|
|
|
28982
29085
|
> **min**(`formId`): `boolean`
|
|
28983
29086
|
|
|
28984
|
-
Defined in: [lib/form.ts:
|
|
29087
|
+
Defined in: [lib/form/window.ts:42](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L42)
|
|
28985
29088
|
|
|
28986
29089
|
最小化某个窗体
|
|
28987
29090
|
|
|
@@ -29010,7 +29113,7 @@ lib/form/functions/moveRectangle.md
|
|
|
29010
29113
|
|
|
29011
29114
|
> **moveRectangle**(`border`): `void`
|
|
29012
29115
|
|
|
29013
|
-
Defined in: [lib/form.ts:
|
|
29116
|
+
Defined in: [lib/form/effects.ts:45](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/effects.ts#L45)
|
|
29014
29117
|
|
|
29015
29118
|
移动矩形到新位置
|
|
29016
29119
|
|
|
@@ -29041,7 +29144,7 @@ lib/form/functions/notifyContent.md
|
|
|
29041
29144
|
|
|
29042
29145
|
> **notifyContent**(`notifyId`, `opt`): `void`
|
|
29043
29146
|
|
|
29044
|
-
Defined in: [lib/form.ts:
|
|
29147
|
+
Defined in: [lib/form/notification.ts:62](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/notification.ts#L62)
|
|
29045
29148
|
|
|
29046
29149
|
修改 notify 的提示信息
|
|
29047
29150
|
|
|
@@ -29057,12 +29160,14 @@ notify id
|
|
|
29057
29160
|
|
|
29058
29161
|
[`INotifyContentOptions`](../interfaces/INotifyContentOptions.md)
|
|
29059
29162
|
|
|
29060
|
-
|
|
29163
|
+
参数,timeout 只能缩短通知存续时间
|
|
29061
29164
|
|
|
29062
29165
|
## Returns
|
|
29063
29166
|
|
|
29064
29167
|
`void`
|
|
29065
29168
|
|
|
29169
|
+
无返回值
|
|
29170
|
+
|
|
29066
29171
|
lib/form/functions/notify.md
|
|
29067
29172
|
---
|
|
29068
29173
|
|
|
@@ -29076,7 +29181,7 @@ lib/form/functions/notify.md
|
|
|
29076
29181
|
|
|
29077
29182
|
> **notify**(`opt`): `number`
|
|
29078
29183
|
|
|
29079
|
-
Defined in: [lib/form.ts:
|
|
29184
|
+
Defined in: [lib/form/notification.ts:42](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/notification.ts#L42)
|
|
29080
29185
|
|
|
29081
29186
|
弹出右下角信息框
|
|
29082
29187
|
|
|
@@ -29107,7 +29212,7 @@ lib/form/functions/notifyProgress.md
|
|
|
29107
29212
|
|
|
29108
29213
|
> **notifyProgress**(`notifyId`, `per`): `void`
|
|
29109
29214
|
|
|
29110
|
-
Defined in: [lib/form.ts:
|
|
29215
|
+
Defined in: [lib/form/notification.ts:52](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/notification.ts#L52)
|
|
29111
29216
|
|
|
29112
29217
|
修改 notify 的进度条进度
|
|
29113
29218
|
|
|
@@ -29129,6 +29234,8 @@ notify id
|
|
|
29129
29234
|
|
|
29130
29235
|
`void`
|
|
29131
29236
|
|
|
29237
|
+
无返回值
|
|
29238
|
+
|
|
29132
29239
|
lib/form/functions/prompt.md
|
|
29133
29240
|
---
|
|
29134
29241
|
|
|
@@ -29142,7 +29249,7 @@ lib/form/functions/prompt.md
|
|
|
29142
29249
|
|
|
29143
29250
|
> **prompt**(`current`, `opt`): `Promise`\<`string`\>
|
|
29144
29251
|
|
|
29145
|
-
Defined in: [lib/form.ts:
|
|
29252
|
+
Defined in: [lib/form/dialog.ts:261](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/dialog.ts#L261)
|
|
29146
29253
|
|
|
29147
29254
|
显示一个输入框 dialog
|
|
29148
29255
|
|
|
@@ -29177,7 +29284,7 @@ lib/form/functions/refreshLocaleDirection.md
|
|
|
29177
29284
|
|
|
29178
29285
|
> **refreshLocaleDirection**(`taskId?`): `void`
|
|
29179
29286
|
|
|
29180
|
-
Defined in: [lib/form.ts:
|
|
29287
|
+
Defined in: [lib/form/system.ts:46](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L46)
|
|
29181
29288
|
|
|
29182
29289
|
刷新系统根节点及任务窗体的语言方向
|
|
29183
29290
|
|
|
@@ -29193,6 +29300,8 @@ Defined in: [lib/form.ts:2057](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29193
29300
|
|
|
29194
29301
|
`void`
|
|
29195
29302
|
|
|
29303
|
+
无返回值
|
|
29304
|
+
|
|
29196
29305
|
lib/form/functions/refreshMaxPosition.md
|
|
29197
29306
|
---
|
|
29198
29307
|
|
|
@@ -29206,7 +29315,7 @@ lib/form/functions/refreshMaxPosition.md
|
|
|
29206
29315
|
|
|
29207
29316
|
> **refreshMaxPosition**(): `void`
|
|
29208
29317
|
|
|
29209
|
-
Defined in: [lib/form.ts:
|
|
29318
|
+
Defined in: [lib/form/window.ts:108](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L108)
|
|
29210
29319
|
|
|
29211
29320
|
重置所有已经最大化的窗体大小和位置
|
|
29212
29321
|
|
|
@@ -29227,7 +29336,7 @@ lib/form/functions/refreshNotifyPosition.md
|
|
|
29227
29336
|
|
|
29228
29337
|
> **refreshNotifyPosition**(): `void`
|
|
29229
29338
|
|
|
29230
|
-
Defined in: [lib/form.ts:
|
|
29339
|
+
Defined in: [lib/form/notification.ts:33](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/notification.ts#L33)
|
|
29231
29340
|
|
|
29232
29341
|
按当前可用区域和实际高度重新排列通知
|
|
29233
29342
|
|
|
@@ -29250,7 +29359,7 @@ lib/form/functions/removeActivePanel.md
|
|
|
29250
29359
|
|
|
29251
29360
|
> **removeActivePanel**(`current`, `formId`, `panelId`): `boolean`
|
|
29252
29361
|
|
|
29253
|
-
Defined in: [lib/form.ts:
|
|
29362
|
+
Defined in: [lib/form/window.ts:246](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L246)
|
|
29254
29363
|
|
|
29255
29364
|
移除 form 中正在活跃中的 panel id (panel 本身被置于隐藏时)
|
|
29256
29365
|
|
|
@@ -29291,7 +29400,7 @@ lib/form/functions/removeFromPop.md
|
|
|
29291
29400
|
|
|
29292
29401
|
> **removeFromPop**(`el`): `void`
|
|
29293
29402
|
|
|
29294
|
-
Defined in: [lib/form.ts:
|
|
29403
|
+
Defined in: [lib/form/popup.ts:45](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/popup.ts#L45)
|
|
29295
29404
|
|
|
29296
29405
|
将标签从 pop 层移除
|
|
29297
29406
|
|
|
@@ -29307,6 +29416,8 @@ Defined in: [lib/form.ts:3081](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29307
29416
|
|
|
29308
29417
|
`void`
|
|
29309
29418
|
|
|
29419
|
+
无返回值
|
|
29420
|
+
|
|
29310
29421
|
lib/form/functions/remove.md
|
|
29311
29422
|
---
|
|
29312
29423
|
|
|
@@ -29320,7 +29431,7 @@ lib/form/functions/remove.md
|
|
|
29320
29431
|
|
|
29321
29432
|
> **remove**(`formId`): `boolean`
|
|
29322
29433
|
|
|
29323
|
-
Defined in: [lib/form.ts:
|
|
29434
|
+
Defined in: [lib/form/remove.ts:31](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/remove.ts#L31)
|
|
29324
29435
|
|
|
29325
29436
|
移除一个 form(关闭窗口)
|
|
29326
29437
|
|
|
@@ -29349,7 +29460,7 @@ lib/form/functions/removePanel.md
|
|
|
29349
29460
|
|
|
29350
29461
|
> **removePanel**(`id`, `vapp`, `el`): `boolean`
|
|
29351
29462
|
|
|
29352
|
-
Defined in: [lib/form.ts:
|
|
29463
|
+
Defined in: [lib/form/remove.ts:117](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/remove.ts#L117)
|
|
29353
29464
|
|
|
29354
29465
|
移除 panel 挂载,通常发生在 panel 控件的 onBeforeUnmount 中
|
|
29355
29466
|
|
|
@@ -29390,7 +29501,7 @@ lib/form/functions/send.md
|
|
|
29390
29501
|
|
|
29391
29502
|
> **send**(`formId`, `obj`): `void`
|
|
29392
29503
|
|
|
29393
|
-
Defined in: [lib/form.ts:
|
|
29504
|
+
Defined in: [lib/form/window.ts:178](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L178)
|
|
29394
29505
|
|
|
29395
29506
|
给一个窗体发送一个对象,不会知道成功与失败状态,用 this.send 替代
|
|
29396
29507
|
|
|
@@ -29425,7 +29536,7 @@ lib/form/functions/setActivePanel.md
|
|
|
29425
29536
|
|
|
29426
29537
|
> **setActivePanel**(`current`, `formId`, `panelId`): `boolean`
|
|
29427
29538
|
|
|
29428
|
-
Defined in: [lib/form.ts:
|
|
29539
|
+
Defined in: [lib/form/window.ts:277](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L277)
|
|
29429
29540
|
|
|
29430
29541
|
将 form 中某个 panel 设置为活动的
|
|
29431
29542
|
|
|
@@ -29466,7 +29577,7 @@ lib/form/functions/showCircular.md
|
|
|
29466
29577
|
|
|
29467
29578
|
> **showCircular**(`x`, `y`): `void`
|
|
29468
29579
|
|
|
29469
|
-
Defined in: [lib/form.ts:
|
|
29580
|
+
Defined in: [lib/form/effects.ts:36](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/effects.ts#L36)
|
|
29470
29581
|
|
|
29471
29582
|
显示从小到大的圆圈动画特效对象
|
|
29472
29583
|
|
|
@@ -29501,7 +29612,7 @@ lib/form/functions/showKeyboard.md
|
|
|
29501
29612
|
|
|
29502
29613
|
> **showKeyboard**(): `void`
|
|
29503
29614
|
|
|
29504
|
-
Defined in: [lib/form.ts:
|
|
29615
|
+
Defined in: [lib/form/system.ts:64](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L64)
|
|
29505
29616
|
|
|
29506
29617
|
显示系统级虚拟键盘
|
|
29507
29618
|
|
|
@@ -29509,6 +29620,8 @@ Defined in: [lib/form.ts:2096](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29509
29620
|
|
|
29510
29621
|
`void`
|
|
29511
29622
|
|
|
29623
|
+
无返回值
|
|
29624
|
+
|
|
29512
29625
|
lib/form/functions/showLauncher.md
|
|
29513
29626
|
---
|
|
29514
29627
|
|
|
@@ -29522,7 +29635,7 @@ lib/form/functions/showLauncher.md
|
|
|
29522
29635
|
|
|
29523
29636
|
> **showLauncher**(): `void`
|
|
29524
29637
|
|
|
29525
|
-
Defined in: [lib/form.ts:
|
|
29638
|
+
Defined in: [lib/form/system.ts:88](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L88)
|
|
29526
29639
|
|
|
29527
29640
|
显示 launcher 界面;状态变化时通知所有应用与窗体
|
|
29528
29641
|
|
|
@@ -29545,7 +29658,7 @@ lib/form/functions/showPop.md
|
|
|
29545
29658
|
|
|
29546
29659
|
> **showPop**(`el`, `pop`, `direction`, `opt?`): `void`
|
|
29547
29660
|
|
|
29548
|
-
Defined in: [lib/form.ts:
|
|
29661
|
+
Defined in: [lib/form/popup.ts:57](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/popup.ts#L57)
|
|
29549
29662
|
|
|
29550
29663
|
获取 pop 显示出来的坐标并报系统全局记录
|
|
29551
29664
|
|
|
@@ -29565,13 +29678,13 @@ Defined in: [lib/form.ts:3257](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29565
29678
|
|
|
29566
29679
|
### direction
|
|
29567
29680
|
|
|
29568
|
-
`"v"` \| `PointerEvent` \| `"
|
|
29681
|
+
`"v"` \| `PointerEvent` \| `"h"` \| `"t"` \| \{ `x`: `number`; `y`: `number`; \}
|
|
29569
29682
|
|
|
29570
29683
|
要显示方向(以 $el 为准的 h 水平 v 垂直 t 垂直水平居中)或坐标
|
|
29571
29684
|
|
|
29572
29685
|
### opt?
|
|
29573
29686
|
|
|
29574
|
-
|
|
29687
|
+
size 自定义宽高;null 为 true 时为空也显示;autoPosition 随内容尺寸更新位置;autoScroll 随原元素位置更新;flow 默认加入 pop 流,不加入则不会自动隐藏;overflow 控制内容溢出;way 为托管方式
|
|
29575
29688
|
|
|
29576
29689
|
#### autoPosition?
|
|
29577
29690
|
|
|
@@ -29617,6 +29730,8 @@ width / height 显示的 pop 定义自定义宽/高度,可省略;null,true
|
|
|
29617
29730
|
|
|
29618
29731
|
`void`
|
|
29619
29732
|
|
|
29733
|
+
无返回值
|
|
29734
|
+
|
|
29620
29735
|
lib/form/functions/showRectangle.md
|
|
29621
29736
|
---
|
|
29622
29737
|
|
|
@@ -29630,7 +29745,7 @@ lib/form/functions/showRectangle.md
|
|
|
29630
29745
|
|
|
29631
29746
|
> **showRectangle**(`x`, `y`, `border`): `void`
|
|
29632
29747
|
|
|
29633
|
-
Defined in: [lib/form.ts:
|
|
29748
|
+
Defined in: [lib/form/effects.ts:55](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/effects.ts#L55)
|
|
29634
29749
|
|
|
29635
29750
|
显示从小到大的矩形动画特效对象
|
|
29636
29751
|
|
|
@@ -29671,7 +29786,7 @@ lib/form/functions/superConfirm.md
|
|
|
29671
29786
|
|
|
29672
29787
|
> **superConfirm**(`current`, `html`): `Promise`\<`boolean`\>
|
|
29673
29788
|
|
|
29674
|
-
Defined in: [lib/form.ts:
|
|
29789
|
+
Defined in: [lib/form/system.ts:56](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L56)
|
|
29675
29790
|
|
|
29676
29791
|
显示系统级询问框
|
|
29677
29792
|
|
|
@@ -29681,14 +29796,20 @@ Defined in: [lib/form.ts:2075](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29681
29796
|
|
|
29682
29797
|
`string`
|
|
29683
29798
|
|
|
29799
|
+
系统级 ID
|
|
29800
|
+
|
|
29684
29801
|
### html
|
|
29685
29802
|
|
|
29686
29803
|
`string`
|
|
29687
29804
|
|
|
29805
|
+
询问框内容
|
|
29806
|
+
|
|
29688
29807
|
## Returns
|
|
29689
29808
|
|
|
29690
29809
|
`Promise`\<`boolean`\>
|
|
29691
29810
|
|
|
29811
|
+
用户选择;ID 不匹配或已有询问框时返回 false
|
|
29812
|
+
|
|
29692
29813
|
lib/form/index.md
|
|
29693
29814
|
---
|
|
29694
29815
|
|
|
@@ -29798,7 +29919,7 @@ lib/form/interfaces/IAbstractPanelQsChangeShowEvent.md
|
|
|
29798
29919
|
|
|
29799
29920
|
# Interface: IAbstractPanelQsChangeShowEvent
|
|
29800
29921
|
|
|
29801
|
-
Defined in: [lib/form.ts:
|
|
29922
|
+
Defined in: [lib/form/types.ts:36](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L36)
|
|
29802
29923
|
|
|
29803
29924
|
AbstractPanel qsChange 显示事件
|
|
29804
29925
|
|
|
@@ -29808,7 +29929,7 @@ AbstractPanel qsChange 显示事件
|
|
|
29808
29929
|
|
|
29809
29930
|
> **detail**: `object`
|
|
29810
29931
|
|
|
29811
|
-
Defined in: [lib/form.ts:
|
|
29932
|
+
Defined in: [lib/form/types.ts:37](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L37)
|
|
29812
29933
|
|
|
29813
29934
|
#### action
|
|
29814
29935
|
|
|
@@ -29849,7 +29970,7 @@ lib/form/interfaces/IAbstractPanelShowEvent.md
|
|
|
29849
29970
|
|
|
29850
29971
|
# Interface: IAbstractPanelShowEvent
|
|
29851
29972
|
|
|
29852
|
-
Defined in: [lib/form.ts:
|
|
29973
|
+
Defined in: [lib/form/types.ts:21](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L21)
|
|
29853
29974
|
|
|
29854
29975
|
AbstractPanel 显示事件
|
|
29855
29976
|
|
|
@@ -29859,7 +29980,7 @@ AbstractPanel 显示事件
|
|
|
29859
29980
|
|
|
29860
29981
|
> **detail**: `object`
|
|
29861
29982
|
|
|
29862
|
-
Defined in: [lib/form.ts:
|
|
29983
|
+
Defined in: [lib/form/types.ts:22](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L22)
|
|
29863
29984
|
|
|
29864
29985
|
#### action
|
|
29865
29986
|
|
|
@@ -29900,7 +30021,7 @@ lib/form/interfaces/IFormCaptchaOptions.md
|
|
|
29900
30021
|
|
|
29901
30022
|
# Interface: IFormCaptchaOptions
|
|
29902
30023
|
|
|
29903
|
-
Defined in: [lib/form.ts:
|
|
30024
|
+
Defined in: [lib/form/types.ts:166](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L166)
|
|
29904
30025
|
|
|
29905
30026
|
显示验证码选项
|
|
29906
30027
|
|
|
@@ -29910,7 +30031,7 @@ Defined in: [lib/form.ts:5053](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29910
30031
|
|
|
29911
30032
|
> **akey**: `string`
|
|
29912
30033
|
|
|
29913
|
-
Defined in: [lib/form.ts:
|
|
30034
|
+
Defined in: [lib/form/types.ts:170](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L170)
|
|
29914
30035
|
|
|
29915
30036
|
验证码 key
|
|
29916
30037
|
|
|
@@ -29920,7 +30041,7 @@ Defined in: [lib/form.ts:5057](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29920
30041
|
|
|
29921
30042
|
> **factory**: `"tc"` \| `"cf"`
|
|
29922
30043
|
|
|
29923
|
-
Defined in: [lib/form.ts:
|
|
30044
|
+
Defined in: [lib/form/types.ts:168](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L168)
|
|
29924
30045
|
|
|
29925
30046
|
验证码服务商
|
|
29926
30047
|
|
|
@@ -29935,7 +30056,7 @@ lib/form/interfaces/IFormConfirmOptions.md
|
|
|
29935
30056
|
|
|
29936
30057
|
# Interface: IFormConfirmOptions
|
|
29937
30058
|
|
|
29938
|
-
Defined in: [lib/form.ts:
|
|
30059
|
+
Defined in: [lib/form/types.ts:159](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L159)
|
|
29939
30060
|
|
|
29940
30061
|
Confirm 选项
|
|
29941
30062
|
|
|
@@ -29945,7 +30066,7 @@ Confirm 选项
|
|
|
29945
30066
|
|
|
29946
30067
|
> `optional` **cancel?**: `boolean`
|
|
29947
30068
|
|
|
29948
|
-
Defined in: [lib/form.ts:
|
|
30069
|
+
Defined in: [lib/form/types.ts:162](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L162)
|
|
29949
30070
|
|
|
29950
30071
|
***
|
|
29951
30072
|
|
|
@@ -29953,7 +30074,7 @@ Defined in: [lib/form.ts:5049](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29953
30074
|
|
|
29954
30075
|
> **content**: `string`
|
|
29955
30076
|
|
|
29956
|
-
Defined in: [lib/form.ts:
|
|
30077
|
+
Defined in: [lib/form/types.ts:161](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L161)
|
|
29957
30078
|
|
|
29958
30079
|
***
|
|
29959
30080
|
|
|
@@ -29961,7 +30082,7 @@ Defined in: [lib/form.ts:5048](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29961
30082
|
|
|
29962
30083
|
> `optional` **title?**: `string`
|
|
29963
30084
|
|
|
29964
|
-
Defined in: [lib/form.ts:
|
|
30085
|
+
Defined in: [lib/form/types.ts:160](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L160)
|
|
29965
30086
|
|
|
29966
30087
|
lib/form/interfaces/IFormDialogOptions.md
|
|
29967
30088
|
---
|
|
@@ -29974,7 +30095,7 @@ lib/form/interfaces/IFormDialogOptions.md
|
|
|
29974
30095
|
|
|
29975
30096
|
# Interface: IFormDialogOptions
|
|
29976
30097
|
|
|
29977
|
-
Defined in: [lib/form.ts:
|
|
30098
|
+
Defined in: [lib/form/types.ts:105](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L105)
|
|
29978
30099
|
|
|
29979
30100
|
Dialog 选项
|
|
29980
30101
|
|
|
@@ -29984,7 +30105,7 @@ Dialog 选项
|
|
|
29984
30105
|
|
|
29985
30106
|
> `optional` **autoDialogResult?**: `boolean`
|
|
29986
30107
|
|
|
29987
|
-
Defined in: [lib/form.ts:
|
|
30108
|
+
Defined in: [lib/form/types.ts:113](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L113)
|
|
29988
30109
|
|
|
29989
30110
|
点击按钮后是否自动将按钮文本写入 dialogResult,默认 true
|
|
29990
30111
|
|
|
@@ -29994,7 +30115,7 @@ Defined in: [lib/form.ts:5000](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29994
30115
|
|
|
29995
30116
|
> `optional` **buttons?**: `string`[]
|
|
29996
30117
|
|
|
29997
|
-
Defined in: [lib/form.ts:
|
|
30118
|
+
Defined in: [lib/form/types.ts:111](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L111)
|
|
29998
30119
|
|
|
29999
30120
|
底部按钮文本列表,默认使用当前语言的确定按钮文本
|
|
30000
30121
|
|
|
@@ -30004,7 +30125,7 @@ Defined in: [lib/form.ts:4998](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30004
30125
|
|
|
30005
30126
|
> **content**: `string`
|
|
30006
30127
|
|
|
30007
|
-
Defined in: [lib/form.ts:
|
|
30128
|
+
Defined in: [lib/form/types.ts:109](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L109)
|
|
30008
30129
|
|
|
30009
30130
|
dialog 内容,支持直接传布局字符串
|
|
30010
30131
|
|
|
@@ -30014,7 +30135,7 @@ dialog 内容,支持直接传布局字符串
|
|
|
30014
30135
|
|
|
30015
30136
|
> `optional` **data?**: `Record`\<`string`, `any`\>
|
|
30016
30137
|
|
|
30017
|
-
Defined in: [lib/form.ts:
|
|
30138
|
+
Defined in: [lib/form/types.ts:127](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L127)
|
|
30018
30139
|
|
|
30019
30140
|
传值,需要用 data.x 读取
|
|
30020
30141
|
|
|
@@ -30024,7 +30145,7 @@ Defined in: [lib/form.ts:5014](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30024
30145
|
|
|
30025
30146
|
> `optional` **direction?**: `"v"` \| `"h"`
|
|
30026
30147
|
|
|
30027
|
-
Defined in: [lib/form.ts:
|
|
30148
|
+
Defined in: [lib/form/types.ts:116](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L116)
|
|
30028
30149
|
|
|
30029
30150
|
dialog 控件内容布局方向,h 为横向,v 为纵向
|
|
30030
30151
|
|
|
@@ -30034,7 +30155,7 @@ dialog 控件内容布局方向,h 为横向,v 为纵向
|
|
|
30034
30155
|
|
|
30035
30156
|
> `optional` **gutter?**: `string` \| `number`
|
|
30036
30157
|
|
|
30037
|
-
Defined in: [lib/form.ts:
|
|
30158
|
+
Defined in: [lib/form/types.ts:118](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L118)
|
|
30038
30159
|
|
|
30039
30160
|
dialog 控件内容区项目间距,会透传给 dialog 控件
|
|
30040
30161
|
|
|
@@ -30044,7 +30165,7 @@ dialog 控件内容区项目间距,会透传给 dialog 控件
|
|
|
30044
30165
|
|
|
30045
30166
|
> `optional` **height?**: `string` \| `number`
|
|
30046
30167
|
|
|
30047
|
-
Defined in: [lib/form.ts:
|
|
30168
|
+
Defined in: [lib/form/types.ts:122](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L122)
|
|
30048
30169
|
|
|
30049
30170
|
dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用高度
|
|
30050
30171
|
|
|
@@ -30054,7 +30175,7 @@ dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用
|
|
|
30054
30175
|
|
|
30055
30176
|
> `optional` **methods?**: `Record`\<`string`, (...`param`) => `any`\>
|
|
30056
30177
|
|
|
30057
|
-
Defined in: [lib/form.ts:
|
|
30178
|
+
Defined in: [lib/form/types.ts:129](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L129)
|
|
30058
30179
|
|
|
30059
30180
|
传值,需要用 methods.x 读取
|
|
30060
30181
|
|
|
@@ -30064,7 +30185,7 @@ Defined in: [lib/form.ts:5016](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30064
30185
|
|
|
30065
30186
|
> `optional` **onMounted?**: () => `void` \| `Promise`\<`void`\>
|
|
30066
30187
|
|
|
30067
|
-
Defined in: [lib/form.ts:
|
|
30188
|
+
Defined in: [lib/form/types.ts:149](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L149)
|
|
30068
30189
|
|
|
30069
30190
|
窗体挂载完成事件
|
|
30070
30191
|
|
|
@@ -30078,7 +30199,7 @@ Defined in: [lib/form.ts:5036](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30078
30199
|
|
|
30079
30200
|
> `optional` **padding?**: `string` \| `boolean`
|
|
30080
30201
|
|
|
30081
|
-
Defined in: [lib/form.ts:
|
|
30202
|
+
Defined in: [lib/form/types.ts:124](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L124)
|
|
30082
30203
|
|
|
30083
30204
|
dialog 控件内容区是否显示内边距,默认表现与控件自身一致
|
|
30084
30205
|
|
|
@@ -30088,7 +30209,7 @@ dialog 控件内容区是否显示内边距,默认表现与控件自身一致
|
|
|
30088
30209
|
|
|
30089
30210
|
> `optional` **path?**: `string`
|
|
30090
30211
|
|
|
30091
|
-
Defined in: [lib/form.ts:
|
|
30212
|
+
Defined in: [lib/form/types.ts:133](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L133)
|
|
30092
30213
|
|
|
30093
30214
|
路径基,以 / 结束或文件路径则以文件的基路径为准,可留空
|
|
30094
30215
|
|
|
@@ -30098,7 +30219,7 @@ Defined in: [lib/form.ts:5020](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30098
30219
|
|
|
30099
30220
|
> `optional` **select?**: (`this`, `e`, `button`) => `void`
|
|
30100
30221
|
|
|
30101
|
-
Defined in: [lib/form.ts:
|
|
30222
|
+
Defined in: [lib/form/types.ts:140](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L140)
|
|
30102
30223
|
|
|
30103
30224
|
点击按钮触发事件,不能用 Promise
|
|
30104
30225
|
|
|
@@ -30130,7 +30251,7 @@ Defined in: [lib/form.ts:5027](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30130
30251
|
|
|
30131
30252
|
> `optional` **style?**: `string`
|
|
30132
30253
|
|
|
30133
|
-
Defined in: [lib/form.ts:
|
|
30254
|
+
Defined in: [lib/form/types.ts:131](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L131)
|
|
30134
30255
|
|
|
30135
30256
|
样式表
|
|
30136
30257
|
|
|
@@ -30140,7 +30261,7 @@ Defined in: [lib/form.ts:5018](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30140
30261
|
|
|
30141
30262
|
> `optional` **title?**: `string`
|
|
30142
30263
|
|
|
30143
|
-
Defined in: [lib/form.ts:
|
|
30264
|
+
Defined in: [lib/form/types.ts:107](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L107)
|
|
30144
30265
|
|
|
30145
30266
|
dialog 窗体标题,不传则使用默认标题 dialog
|
|
30146
30267
|
|
|
@@ -30150,7 +30271,7 @@ dialog 窗体标题,不传则使用默认标题 dialog
|
|
|
30150
30271
|
|
|
30151
30272
|
> `optional` **width?**: `string` \| `number`
|
|
30152
30273
|
|
|
30153
|
-
Defined in: [lib/form.ts:
|
|
30274
|
+
Defined in: [lib/form/types.ts:120](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L120)
|
|
30154
30275
|
|
|
30155
30276
|
dialog 控件宽度,传数字时为像素值,传 fill 时代表填充可用宽度
|
|
30156
30277
|
|
|
@@ -30165,7 +30286,7 @@ lib/form/interfaces/IFormDialogSelectEvent.md
|
|
|
30165
30286
|
|
|
30166
30287
|
# Interface: IFormDialogSelectEvent
|
|
30167
30288
|
|
|
30168
|
-
Defined in: [lib/form.ts:
|
|
30289
|
+
Defined in: [lib/form/types.ts:152](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L152)
|
|
30169
30290
|
|
|
30170
30291
|
Custom Event
|
|
30171
30292
|
|
|
@@ -30179,7 +30300,7 @@ Custom Event
|
|
|
30179
30300
|
|
|
30180
30301
|
> **detail**: `object`
|
|
30181
30302
|
|
|
30182
|
-
Defined in: [lib/form.ts:
|
|
30303
|
+
Defined in: [lib/form/types.ts:153](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L153)
|
|
30183
30304
|
|
|
30184
30305
|
#### button
|
|
30185
30306
|
|
|
@@ -30224,7 +30345,7 @@ lib/form/interfaces/IFormInfo.md
|
|
|
30224
30345
|
|
|
30225
30346
|
# Interface: IFormInfo
|
|
30226
30347
|
|
|
30227
|
-
Defined in: [lib/form.ts:
|
|
30348
|
+
Defined in: [lib/form/types.ts:60](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L60)
|
|
30228
30349
|
|
|
30229
30350
|
Form 的简略情况,通常在 list 当中
|
|
30230
30351
|
|
|
@@ -30234,7 +30355,7 @@ Form 的简略情况,通常在 list 当中
|
|
|
30234
30355
|
|
|
30235
30356
|
> **focus**: `boolean`
|
|
30236
30357
|
|
|
30237
|
-
Defined in: [lib/form.ts:
|
|
30358
|
+
Defined in: [lib/form/types.ts:67](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L67)
|
|
30238
30359
|
|
|
30239
30360
|
***
|
|
30240
30361
|
|
|
@@ -30242,7 +30363,7 @@ Defined in: [lib/form.ts:4954](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30242
30363
|
|
|
30243
30364
|
> **icon**: `string`
|
|
30244
30365
|
|
|
30245
|
-
Defined in: [lib/form.ts:
|
|
30366
|
+
Defined in: [lib/form/types.ts:63](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L63)
|
|
30246
30367
|
|
|
30247
30368
|
***
|
|
30248
30369
|
|
|
@@ -30250,7 +30371,7 @@ Defined in: [lib/form.ts:4950](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30250
30371
|
|
|
30251
30372
|
> **show**: `boolean`
|
|
30252
30373
|
|
|
30253
|
-
Defined in: [lib/form.ts:
|
|
30374
|
+
Defined in: [lib/form/types.ts:66](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L66)
|
|
30254
30375
|
|
|
30255
30376
|
***
|
|
30256
30377
|
|
|
@@ -30258,7 +30379,7 @@ Defined in: [lib/form.ts:4953](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30258
30379
|
|
|
30259
30380
|
> **showInSystemTask**: `boolean`
|
|
30260
30381
|
|
|
30261
|
-
Defined in: [lib/form.ts:
|
|
30382
|
+
Defined in: [lib/form/types.ts:68](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L68)
|
|
30262
30383
|
|
|
30263
30384
|
***
|
|
30264
30385
|
|
|
@@ -30266,7 +30387,7 @@ Defined in: [lib/form.ts:4955](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30266
30387
|
|
|
30267
30388
|
> **stateMax**: `boolean`
|
|
30268
30389
|
|
|
30269
|
-
Defined in: [lib/form.ts:
|
|
30390
|
+
Defined in: [lib/form/types.ts:64](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L64)
|
|
30270
30391
|
|
|
30271
30392
|
***
|
|
30272
30393
|
|
|
@@ -30274,7 +30395,7 @@ Defined in: [lib/form.ts:4951](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30274
30395
|
|
|
30275
30396
|
> **stateMin**: `boolean`
|
|
30276
30397
|
|
|
30277
|
-
Defined in: [lib/form.ts:
|
|
30398
|
+
Defined in: [lib/form/types.ts:65](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L65)
|
|
30278
30399
|
|
|
30279
30400
|
***
|
|
30280
30401
|
|
|
@@ -30282,7 +30403,7 @@ Defined in: [lib/form.ts:4952](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30282
30403
|
|
|
30283
30404
|
> **taskId**: `string`
|
|
30284
30405
|
|
|
30285
|
-
Defined in: [lib/form.ts:
|
|
30406
|
+
Defined in: [lib/form/types.ts:61](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L61)
|
|
30286
30407
|
|
|
30287
30408
|
***
|
|
30288
30409
|
|
|
@@ -30290,7 +30411,7 @@ Defined in: [lib/form.ts:4948](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30290
30411
|
|
|
30291
30412
|
> **title**: `string`
|
|
30292
30413
|
|
|
30293
|
-
Defined in: [lib/form.ts:
|
|
30414
|
+
Defined in: [lib/form/types.ts:62](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L62)
|
|
30294
30415
|
|
|
30295
30416
|
lib/form/interfaces/IForm.md
|
|
30296
30417
|
---
|
|
@@ -30303,7 +30424,7 @@ lib/form/interfaces/IForm.md
|
|
|
30303
30424
|
|
|
30304
30425
|
# Interface: IForm
|
|
30305
30426
|
|
|
30306
|
-
Defined in: [lib/form.ts:
|
|
30427
|
+
Defined in: [lib/form/types.ts:51](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L51)
|
|
30307
30428
|
|
|
30308
30429
|
运行时 task 中的 form 对象
|
|
30309
30430
|
|
|
@@ -30313,7 +30434,7 @@ Defined in: [lib/form.ts:4938](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30313
30434
|
|
|
30314
30435
|
> **closed**: `boolean`
|
|
30315
30436
|
|
|
30316
|
-
Defined in: [lib/form.ts:
|
|
30437
|
+
Defined in: [lib/form/types.ts:56](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L56)
|
|
30317
30438
|
|
|
30318
30439
|
是否已经执行过了关闭窗体方法,此处加判断为了防止重复执行 close 导致的 bug
|
|
30319
30440
|
|
|
@@ -30323,7 +30444,7 @@ Defined in: [lib/form.ts:4943](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30323
30444
|
|
|
30324
30445
|
> **id**: `string`
|
|
30325
30446
|
|
|
30326
|
-
Defined in: [lib/form.ts:
|
|
30447
|
+
Defined in: [lib/form/types.ts:52](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L52)
|
|
30327
30448
|
|
|
30328
30449
|
***
|
|
30329
30450
|
|
|
@@ -30331,7 +30452,7 @@ Defined in: [lib/form.ts:4939](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30331
30452
|
|
|
30332
30453
|
> **vapp**: [`IVApp`](../../core/interfaces/IVApp.md)
|
|
30333
30454
|
|
|
30334
|
-
Defined in: [lib/form.ts:
|
|
30455
|
+
Defined in: [lib/form/types.ts:53](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L53)
|
|
30335
30456
|
|
|
30336
30457
|
***
|
|
30337
30458
|
|
|
@@ -30339,7 +30460,7 @@ Defined in: [lib/form.ts:4940](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30339
30460
|
|
|
30340
30461
|
> **vroot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
30341
30462
|
|
|
30342
|
-
Defined in: [lib/form.ts:
|
|
30463
|
+
Defined in: [lib/form/types.ts:54](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L54)
|
|
30343
30464
|
|
|
30344
30465
|
lib/form/interfaces/IFormPromptOptions.md
|
|
30345
30466
|
---
|
|
@@ -30352,7 +30473,7 @@ lib/form/interfaces/IFormPromptOptions.md
|
|
|
30352
30473
|
|
|
30353
30474
|
# Interface: IFormPromptOptions
|
|
30354
30475
|
|
|
30355
|
-
Defined in: [lib/form.ts:
|
|
30476
|
+
Defined in: [lib/form/types.ts:174](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L174)
|
|
30356
30477
|
|
|
30357
30478
|
Prompt 选项
|
|
30358
30479
|
|
|
@@ -30362,7 +30483,7 @@ Prompt 选项
|
|
|
30362
30483
|
|
|
30363
30484
|
> `optional` **cancel?**: `boolean`
|
|
30364
30485
|
|
|
30365
|
-
Defined in: [lib/form.ts:
|
|
30486
|
+
Defined in: [lib/form/types.ts:182](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L182)
|
|
30366
30487
|
|
|
30367
30488
|
是否显示取消按钮,默认显示
|
|
30368
30489
|
|
|
@@ -30372,7 +30493,7 @@ Defined in: [lib/form.ts:5069](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30372
30493
|
|
|
30373
30494
|
> **content**: `string`
|
|
30374
30495
|
|
|
30375
|
-
Defined in: [lib/form.ts:
|
|
30496
|
+
Defined in: [lib/form/types.ts:178](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L178)
|
|
30376
30497
|
|
|
30377
30498
|
内容说明
|
|
30378
30499
|
|
|
@@ -30382,7 +30503,7 @@ Defined in: [lib/form.ts:5065](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30382
30503
|
|
|
30383
30504
|
> `optional` **select?**: (`this`, `e`, `button`) => `void`
|
|
30384
30505
|
|
|
30385
|
-
Defined in: [lib/form.ts:
|
|
30506
|
+
Defined in: [lib/form/types.ts:189](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L189)
|
|
30386
30507
|
|
|
30387
30508
|
点击按钮触发事件
|
|
30388
30509
|
|
|
@@ -30414,7 +30535,7 @@ true 代表确定,false 代表取消
|
|
|
30414
30535
|
|
|
30415
30536
|
> `optional` **text?**: `string`
|
|
30416
30537
|
|
|
30417
|
-
Defined in: [lib/form.ts:
|
|
30538
|
+
Defined in: [lib/form/types.ts:180](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L180)
|
|
30418
30539
|
|
|
30419
30540
|
文本默认值
|
|
30420
30541
|
|
|
@@ -30424,7 +30545,7 @@ Defined in: [lib/form.ts:5067](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30424
30545
|
|
|
30425
30546
|
> `optional` **title?**: `string`
|
|
30426
30547
|
|
|
30427
|
-
Defined in: [lib/form.ts:
|
|
30548
|
+
Defined in: [lib/form/types.ts:176](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L176)
|
|
30428
30549
|
|
|
30429
30550
|
标题
|
|
30430
30551
|
|
|
@@ -30439,7 +30560,7 @@ lib/form/interfaces/IFormPromptSelectEvent.md
|
|
|
30439
30560
|
|
|
30440
30561
|
# Interface: IFormPromptSelectEvent
|
|
30441
30562
|
|
|
30442
|
-
Defined in: [lib/form.ts:
|
|
30563
|
+
Defined in: [lib/form/types.ts:196](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L196)
|
|
30443
30564
|
|
|
30444
30565
|
Custom Event
|
|
30445
30566
|
|
|
@@ -30453,7 +30574,7 @@ Custom Event
|
|
|
30453
30574
|
|
|
30454
30575
|
> **detail**: `object`
|
|
30455
30576
|
|
|
30456
|
-
Defined in: [lib/form.ts:
|
|
30577
|
+
Defined in: [lib/form/types.ts:197](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L197)
|
|
30457
30578
|
|
|
30458
30579
|
#### button
|
|
30459
30580
|
|
|
@@ -30504,7 +30625,7 @@ lib/form/interfaces/IMoveDragOptions.md
|
|
|
30504
30625
|
|
|
30505
30626
|
# Interface: IMoveDragOptions
|
|
30506
30627
|
|
|
30507
|
-
Defined in: [lib/form.ts:
|
|
30628
|
+
Defined in: [lib/form/types.ts:72](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L72)
|
|
30508
30629
|
|
|
30509
30630
|
移动 drag 到新位置函数的选项
|
|
30510
30631
|
|
|
@@ -30514,7 +30635,7 @@ Defined in: [lib/form.ts:4959](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30514
30635
|
|
|
30515
30636
|
> `optional` **height?**: `number`
|
|
30516
30637
|
|
|
30517
|
-
Defined in: [lib/form.ts:
|
|
30638
|
+
Defined in: [lib/form/types.ts:76](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L76)
|
|
30518
30639
|
|
|
30519
30640
|
***
|
|
30520
30641
|
|
|
@@ -30522,7 +30643,7 @@ Defined in: [lib/form.ts:4963](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30522
30643
|
|
|
30523
30644
|
> `optional` **icon?**: `boolean`
|
|
30524
30645
|
|
|
30525
|
-
Defined in: [lib/form.ts:
|
|
30646
|
+
Defined in: [lib/form/types.ts:77](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L77)
|
|
30526
30647
|
|
|
30527
30648
|
***
|
|
30528
30649
|
|
|
@@ -30530,7 +30651,7 @@ Defined in: [lib/form.ts:4964](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30530
30651
|
|
|
30531
30652
|
> `optional` **left?**: `number`
|
|
30532
30653
|
|
|
30533
|
-
Defined in: [lib/form.ts:
|
|
30654
|
+
Defined in: [lib/form/types.ts:74](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L74)
|
|
30534
30655
|
|
|
30535
30656
|
***
|
|
30536
30657
|
|
|
@@ -30538,7 +30659,7 @@ Defined in: [lib/form.ts:4961](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30538
30659
|
|
|
30539
30660
|
> `optional` **top?**: `number`
|
|
30540
30661
|
|
|
30541
|
-
Defined in: [lib/form.ts:
|
|
30662
|
+
Defined in: [lib/form/types.ts:73](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L73)
|
|
30542
30663
|
|
|
30543
30664
|
***
|
|
30544
30665
|
|
|
@@ -30546,7 +30667,7 @@ Defined in: [lib/form.ts:4960](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30546
30667
|
|
|
30547
30668
|
> `optional` **width?**: `number`
|
|
30548
30669
|
|
|
30549
|
-
Defined in: [lib/form.ts:
|
|
30670
|
+
Defined in: [lib/form/types.ts:75](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L75)
|
|
30550
30671
|
|
|
30551
30672
|
lib/form/interfaces/INotifyContentOptions.md
|
|
30552
30673
|
---
|
|
@@ -30559,7 +30680,7 @@ lib/form/interfaces/INotifyContentOptions.md
|
|
|
30559
30680
|
|
|
30560
30681
|
# Interface: INotifyContentOptions
|
|
30561
30682
|
|
|
30562
|
-
Defined in: [lib/form.ts:
|
|
30683
|
+
Defined in: [lib/form/types.ts:94](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L94)
|
|
30563
30684
|
|
|
30564
30685
|
notify 信息框的修改选项
|
|
30565
30686
|
|
|
@@ -30569,7 +30690,7 @@ notify 信息框的修改选项
|
|
|
30569
30690
|
|
|
30570
30691
|
> `optional` **content?**: `string`
|
|
30571
30692
|
|
|
30572
|
-
Defined in: [lib/form.ts:
|
|
30693
|
+
Defined in: [lib/form/types.ts:96](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L96)
|
|
30573
30694
|
|
|
30574
30695
|
***
|
|
30575
30696
|
|
|
@@ -30577,7 +30698,7 @@ Defined in: [lib/form.ts:4983](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30577
30698
|
|
|
30578
30699
|
> `optional` **note?**: `string`
|
|
30579
30700
|
|
|
30580
|
-
Defined in: [lib/form.ts:
|
|
30701
|
+
Defined in: [lib/form/types.ts:97](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L97)
|
|
30581
30702
|
|
|
30582
30703
|
***
|
|
30583
30704
|
|
|
@@ -30585,7 +30706,7 @@ Defined in: [lib/form.ts:4984](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30585
30706
|
|
|
30586
30707
|
> `optional` **progress?**: `number`
|
|
30587
30708
|
|
|
30588
|
-
Defined in: [lib/form.ts:
|
|
30709
|
+
Defined in: [lib/form/types.ts:99](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L99)
|
|
30589
30710
|
|
|
30590
30711
|
可顺便修改进度
|
|
30591
30712
|
|
|
@@ -30595,7 +30716,7 @@ Defined in: [lib/form.ts:4986](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30595
30716
|
|
|
30596
30717
|
> `optional` **timeout?**: `number`
|
|
30597
30718
|
|
|
30598
|
-
Defined in: [lib/form.ts:
|
|
30719
|
+
Defined in: [lib/form/types.ts:101](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L101)
|
|
30599
30720
|
|
|
30600
30721
|
设置后将在 x 毫秒后隐藏,这不会大于创建时的设置的总时长
|
|
30601
30722
|
|
|
@@ -30605,7 +30726,7 @@ Defined in: [lib/form.ts:4988](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30605
30726
|
|
|
30606
30727
|
> `optional` **title?**: `string`
|
|
30607
30728
|
|
|
30608
|
-
Defined in: [lib/form.ts:
|
|
30729
|
+
Defined in: [lib/form/types.ts:95](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L95)
|
|
30609
30730
|
|
|
30610
30731
|
lib/form/interfaces/INotifyOptions.md
|
|
30611
30732
|
---
|
|
@@ -30618,7 +30739,7 @@ lib/form/interfaces/INotifyOptions.md
|
|
|
30618
30739
|
|
|
30619
30740
|
# Interface: INotifyOptions
|
|
30620
30741
|
|
|
30621
|
-
Defined in: [lib/form.ts:
|
|
30742
|
+
Defined in: [lib/form/types.ts:81](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L81)
|
|
30622
30743
|
|
|
30623
30744
|
弹出 notify 信息框的选项
|
|
30624
30745
|
|
|
@@ -30628,7 +30749,7 @@ Defined in: [lib/form.ts:4968](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30628
30749
|
|
|
30629
30750
|
> `optional` **content?**: `string`
|
|
30630
30751
|
|
|
30631
|
-
Defined in: [lib/form.ts:
|
|
30752
|
+
Defined in: [lib/form/types.ts:84](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L84)
|
|
30632
30753
|
|
|
30633
30754
|
正文
|
|
30634
30755
|
|
|
@@ -30638,7 +30759,7 @@ Defined in: [lib/form.ts:4971](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30638
30759
|
|
|
30639
30760
|
> `optional` **icon?**: `string` \| `null`
|
|
30640
30761
|
|
|
30641
|
-
Defined in: [lib/form.ts:
|
|
30762
|
+
Defined in: [lib/form/types.ts:87](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L87)
|
|
30642
30763
|
|
|
30643
30764
|
***
|
|
30644
30765
|
|
|
@@ -30646,7 +30767,7 @@ Defined in: [lib/form.ts:4974](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30646
30767
|
|
|
30647
30768
|
> `optional` **note?**: `string`
|
|
30648
30769
|
|
|
30649
|
-
Defined in: [lib/form.ts:
|
|
30770
|
+
Defined in: [lib/form/types.ts:86](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L86)
|
|
30650
30771
|
|
|
30651
30772
|
浅色描述
|
|
30652
30773
|
|
|
@@ -30656,7 +30777,7 @@ Defined in: [lib/form.ts:4973](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30656
30777
|
|
|
30657
30778
|
> `optional` **progress?**: `boolean`
|
|
30658
30779
|
|
|
30659
|
-
Defined in: [lib/form.ts:
|
|
30780
|
+
Defined in: [lib/form/types.ts:90](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L90)
|
|
30660
30781
|
|
|
30661
30782
|
***
|
|
30662
30783
|
|
|
@@ -30664,7 +30785,7 @@ Defined in: [lib/form.ts:4977](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30664
30785
|
|
|
30665
30786
|
> `optional` **timeout?**: `number`
|
|
30666
30787
|
|
|
30667
|
-
Defined in: [lib/form.ts:
|
|
30788
|
+
Defined in: [lib/form/types.ts:88](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L88)
|
|
30668
30789
|
|
|
30669
30790
|
***
|
|
30670
30791
|
|
|
@@ -30672,7 +30793,7 @@ Defined in: [lib/form.ts:4975](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30672
30793
|
|
|
30673
30794
|
> `optional` **title?**: `string`
|
|
30674
30795
|
|
|
30675
|
-
Defined in: [lib/form.ts:
|
|
30796
|
+
Defined in: [lib/form/types.ts:82](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L82)
|
|
30676
30797
|
|
|
30677
30798
|
***
|
|
30678
30799
|
|
|
@@ -30680,7 +30801,7 @@ Defined in: [lib/form.ts:4969](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30680
30801
|
|
|
30681
30802
|
> `optional` **type?**: `"progress"` \| `"danger"` \| `"primary"` \| `"info"` \| `"warning"`
|
|
30682
30803
|
|
|
30683
|
-
Defined in: [lib/form.ts:
|
|
30804
|
+
Defined in: [lib/form/types.ts:89](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/types.ts#L89)
|
|
30684
30805
|
|
|
30685
30806
|
lib/form/variables/activePanels.md
|
|
30686
30807
|
---
|
|
@@ -30695,7 +30816,7 @@ lib/form/variables/activePanels.md
|
|
|
30695
30816
|
|
|
30696
30817
|
> `const` **activePanels**: `Record`\<`string`, `string`[]\> = `{}`
|
|
30697
30818
|
|
|
30698
|
-
Defined in: [lib/form.ts:
|
|
30819
|
+
Defined in: [lib/form/window.ts:230](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/window.ts#L230)
|
|
30699
30820
|
|
|
30700
30821
|
当前活跃中的 panelId 列表
|
|
30701
30822
|
|
|
@@ -30710,9 +30831,11 @@ lib/form/variables/elements.md
|
|
|
30710
30831
|
|
|
30711
30832
|
# Variable: elements
|
|
30712
30833
|
|
|
30713
|
-
> `const` **elements**: `object`
|
|
30834
|
+
> `const` **elements**: `object` = `system.elements`
|
|
30835
|
+
|
|
30836
|
+
Defined in: [lib/form/system.ts:26](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L26)
|
|
30714
30837
|
|
|
30715
|
-
|
|
30838
|
+
系统宿主 DOM 节点
|
|
30716
30839
|
|
|
30717
30840
|
## Type Declaration
|
|
30718
30841
|
|
|
@@ -30781,7 +30904,9 @@ lib/form/variables/launcherRoot.md
|
|
|
30781
30904
|
|
|
30782
30905
|
> **launcherRoot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
30783
30906
|
|
|
30784
|
-
Defined in: [lib/form.ts:
|
|
30907
|
+
Defined in: [lib/form/system.ts:16](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L16)
|
|
30908
|
+
|
|
30909
|
+
启动器的 Vue 根实例
|
|
30785
30910
|
|
|
30786
30911
|
lib/form/variables/simpleSystemTaskRoot.md
|
|
30787
30912
|
---
|
|
@@ -30796,7 +30921,9 @@ lib/form/variables/simpleSystemTaskRoot.md
|
|
|
30796
30921
|
|
|
30797
30922
|
> **simpleSystemTaskRoot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
30798
30923
|
|
|
30799
|
-
Defined in: [lib/form.ts:
|
|
30924
|
+
Defined in: [lib/form/system.ts:13](https://github.com/maiyun/clickgo/blob/master/dist/lib/form/system.ts#L13)
|
|
30925
|
+
|
|
30926
|
+
系统任务栏的 Vue 根实例
|
|
30800
30927
|
|
|
30801
30928
|
lib/fs/functions/chmod.md
|
|
30802
30929
|
---
|
|
@@ -34202,7 +34329,7 @@ lib/task/classes/AbstractThread.md
|
|
|
34202
34329
|
|
|
34203
34330
|
# Abstract Class: AbstractThread
|
|
34204
34331
|
|
|
34205
|
-
Defined in: [lib/task.ts:
|
|
34332
|
+
Defined in: [lib/task.ts:1874](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1874)
|
|
34206
34333
|
|
|
34207
34334
|
线程抽象类
|
|
34208
34335
|
|
|
@@ -34222,7 +34349,7 @@ Defined in: [lib/task.ts:1868](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34222
34349
|
|
|
34223
34350
|
> **taskId**: `string` = `''`
|
|
34224
34351
|
|
|
34225
|
-
Defined in: [lib/task.ts:
|
|
34352
|
+
Defined in: [lib/task.ts:1883](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1883)
|
|
34226
34353
|
|
|
34227
34354
|
系统会自动设置本项
|
|
34228
34355
|
|
|
@@ -34234,7 +34361,7 @@ Defined in: [lib/task.ts:1877](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34234
34361
|
|
|
34235
34362
|
> **get** **filename**(): `string`
|
|
34236
34363
|
|
|
34237
|
-
Defined in: [lib/task.ts:
|
|
34364
|
+
Defined in: [lib/task.ts:1877](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1877)
|
|
34238
34365
|
|
|
34239
34366
|
当前文件在包内的路径
|
|
34240
34367
|
|
|
@@ -34248,7 +34375,7 @@ Defined in: [lib/task.ts:1871](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34248
34375
|
|
|
34249
34376
|
> **close**(): `void`
|
|
34250
34377
|
|
|
34251
|
-
Defined in: [lib/task.ts:
|
|
34378
|
+
Defined in: [lib/task.ts:1912](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1912)
|
|
34252
34379
|
|
|
34253
34380
|
关闭线程
|
|
34254
34381
|
|
|
@@ -34262,7 +34389,7 @@ Defined in: [lib/task.ts:1906](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34262
34389
|
|
|
34263
34390
|
> `abstract` **main**(`data`): `void` \| `Promise`\<`void`\>
|
|
34264
34391
|
|
|
34265
|
-
Defined in: [lib/task.ts:
|
|
34392
|
+
Defined in: [lib/task.ts:1886](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1886)
|
|
34266
34393
|
|
|
34267
34394
|
线程入口
|
|
34268
34395
|
|
|
@@ -34282,7 +34409,7 @@ Defined in: [lib/task.ts:1880](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34282
34409
|
|
|
34283
34410
|
> **onEnded**(): `void` \| `Promise`\<`void`\>
|
|
34284
34411
|
|
|
34285
|
-
Defined in: [lib/task.ts:
|
|
34412
|
+
Defined in: [lib/task.ts:1895](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1895)
|
|
34286
34413
|
|
|
34287
34414
|
线程结束事件
|
|
34288
34415
|
|
|
@@ -34296,7 +34423,7 @@ Defined in: [lib/task.ts:1889](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34296
34423
|
|
|
34297
34424
|
> **onError**(`e`): `void` \| `Promise`\<`void`\>
|
|
34298
34425
|
|
|
34299
|
-
Defined in: [lib/task.ts:
|
|
34426
|
+
Defined in: [lib/task.ts:1901](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1901)
|
|
34300
34427
|
|
|
34301
34428
|
报错
|
|
34302
34429
|
|
|
@@ -34316,7 +34443,7 @@ Defined in: [lib/task.ts:1895](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34316
34443
|
|
|
34317
34444
|
> **onMessage**(`e`): `void` \| `Promise`\<`void`\>
|
|
34318
34445
|
|
|
34319
|
-
Defined in: [lib/task.ts:
|
|
34446
|
+
Defined in: [lib/task.ts:1889](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1889)
|
|
34320
34447
|
|
|
34321
34448
|
线程接收事件
|
|
34322
34449
|
|
|
@@ -34336,7 +34463,7 @@ Defined in: [lib/task.ts:1883](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34336
34463
|
|
|
34337
34464
|
> **send**(`data`): `void`
|
|
34338
34465
|
|
|
34339
|
-
Defined in: [lib/task.ts:
|
|
34466
|
+
Defined in: [lib/task.ts:1907](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1907)
|
|
34340
34467
|
|
|
34341
34468
|
发送数据
|
|
34342
34469
|
|
|
@@ -34361,7 +34488,7 @@ lib/task/enumerations/EIPTYPE.md
|
|
|
34361
34488
|
|
|
34362
34489
|
# Enumeration: EIPTYPE
|
|
34363
34490
|
|
|
34364
|
-
Defined in: [lib/task.ts:
|
|
34491
|
+
Defined in: [lib/task.ts:624](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L624)
|
|
34365
34492
|
|
|
34366
34493
|
initProgress 的 type
|
|
34367
34494
|
|
|
@@ -34371,7 +34498,7 @@ initProgress 的 type
|
|
|
34371
34498
|
|
|
34372
34499
|
> **APP**: `0`
|
|
34373
34500
|
|
|
34374
|
-
Defined in: [lib/task.ts:
|
|
34501
|
+
Defined in: [lib/task.ts:625](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L625)
|
|
34375
34502
|
|
|
34376
34503
|
***
|
|
34377
34504
|
|
|
@@ -34379,7 +34506,7 @@ Defined in: [lib/task.ts:624](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34379
34506
|
|
|
34380
34507
|
> **CONTROL**: `2`
|
|
34381
34508
|
|
|
34382
|
-
Defined in: [lib/task.ts:
|
|
34509
|
+
Defined in: [lib/task.ts:627](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L627)
|
|
34383
34510
|
|
|
34384
34511
|
***
|
|
34385
34512
|
|
|
@@ -34387,7 +34514,7 @@ Defined in: [lib/task.ts:626](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34387
34514
|
|
|
34388
34515
|
> **DONE**: `7`
|
|
34389
34516
|
|
|
34390
|
-
Defined in: [lib/task.ts:
|
|
34517
|
+
Defined in: [lib/task.ts:632](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L632)
|
|
34391
34518
|
|
|
34392
34519
|
***
|
|
34393
34520
|
|
|
@@ -34395,7 +34522,7 @@ Defined in: [lib/task.ts:631](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34395
34522
|
|
|
34396
34523
|
> **LOCAL**: `1`
|
|
34397
34524
|
|
|
34398
|
-
Defined in: [lib/task.ts:
|
|
34525
|
+
Defined in: [lib/task.ts:626](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L626)
|
|
34399
34526
|
|
|
34400
34527
|
***
|
|
34401
34528
|
|
|
@@ -34403,7 +34530,7 @@ Defined in: [lib/task.ts:625](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34403
34530
|
|
|
34404
34531
|
> **PERMISSION**: `5`
|
|
34405
34532
|
|
|
34406
|
-
Defined in: [lib/task.ts:
|
|
34533
|
+
Defined in: [lib/task.ts:630](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L630)
|
|
34407
34534
|
|
|
34408
34535
|
***
|
|
34409
34536
|
|
|
@@ -34411,7 +34538,7 @@ Defined in: [lib/task.ts:629](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34411
34538
|
|
|
34412
34539
|
> **START**: `6`
|
|
34413
34540
|
|
|
34414
|
-
Defined in: [lib/task.ts:
|
|
34541
|
+
Defined in: [lib/task.ts:631](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L631)
|
|
34415
34542
|
|
|
34416
34543
|
***
|
|
34417
34544
|
|
|
@@ -34419,7 +34546,7 @@ Defined in: [lib/task.ts:630](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34419
34546
|
|
|
34420
34547
|
> **STYLE**: `4`
|
|
34421
34548
|
|
|
34422
|
-
Defined in: [lib/task.ts:
|
|
34549
|
+
Defined in: [lib/task.ts:629](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L629)
|
|
34423
34550
|
|
|
34424
34551
|
***
|
|
34425
34552
|
|
|
@@ -34427,7 +34554,7 @@ Defined in: [lib/task.ts:628](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34427
34554
|
|
|
34428
34555
|
> **THEME**: `3`
|
|
34429
34556
|
|
|
34430
|
-
Defined in: [lib/task.ts:
|
|
34557
|
+
Defined in: [lib/task.ts:628](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L628)
|
|
34431
34558
|
|
|
34432
34559
|
lib/task/functions/activateTray.md
|
|
34433
34560
|
---
|
|
@@ -34442,7 +34569,7 @@ lib/task/functions/activateTray.md
|
|
|
34442
34569
|
|
|
34443
34570
|
> **activateTray**(`current`, `id`, `menuId?`): `Promise`\<`boolean`\>
|
|
34444
34571
|
|
|
34445
|
-
Defined in: [lib/task.ts:
|
|
34572
|
+
Defined in: [lib/task.ts:227](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L227)
|
|
34446
34573
|
|
|
34447
34574
|
当前系统任务栏投递点击/菜单命令到托盘所属 App 和 Form
|
|
34448
34575
|
|
|
@@ -34485,7 +34612,7 @@ lib/task/functions/checkPermission.md
|
|
|
34485
34612
|
|
|
34486
34613
|
> **checkPermission**(`taskId`, `vals`, `apply?`, `applyHandler?`): `Promise`\<`boolean`[]\>
|
|
34487
34614
|
|
|
34488
|
-
Defined in: [lib/task.ts:
|
|
34615
|
+
Defined in: [lib/task.ts:1224](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1224)
|
|
34489
34616
|
|
|
34490
34617
|
检测应用是否有相应的权限(如果 taskId 是 sysId 则直接成功)
|
|
34491
34618
|
|
|
@@ -34532,7 +34659,7 @@ lib/task/functions/clearLocaleLang.md
|
|
|
34532
34659
|
|
|
34533
34660
|
> **clearLocaleLang**(`current`): `void`
|
|
34534
34661
|
|
|
34535
|
-
Defined in: [lib/task.ts:
|
|
34662
|
+
Defined in: [lib/task.ts:1536](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1536)
|
|
34536
34663
|
|
|
34537
34664
|
清除 task 的语言设置
|
|
34538
34665
|
|
|
@@ -34561,7 +34688,7 @@ lib/task/functions/clearLocale.md
|
|
|
34561
34688
|
|
|
34562
34689
|
> **clearLocale**(`taskId`): `void`
|
|
34563
34690
|
|
|
34564
|
-
Defined in: [lib/task.ts:
|
|
34691
|
+
Defined in: [lib/task.ts:1493](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1493)
|
|
34565
34692
|
|
|
34566
34693
|
清除任务的所有加载的语言包
|
|
34567
34694
|
|
|
@@ -34590,7 +34717,7 @@ lib/task/functions/clearSystem.md
|
|
|
34590
34717
|
|
|
34591
34718
|
> **clearSystem**(`taskId`): `Promise`\<`boolean`\>
|
|
34592
34719
|
|
|
34593
|
-
Defined in: [lib/task.ts:
|
|
34720
|
+
Defined in: [lib/task.ts:1705](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1705)
|
|
34594
34721
|
|
|
34595
34722
|
清除系统任务设定
|
|
34596
34723
|
|
|
@@ -34619,7 +34746,7 @@ lib/task/functions/createTimer.md
|
|
|
34619
34746
|
|
|
34620
34747
|
> **createTimer**(`current`, `fun`, `delay`, `opt?`): `number`
|
|
34621
34748
|
|
|
34622
|
-
Defined in: [lib/task.ts:
|
|
34749
|
+
Defined in: [lib/task.ts:1555](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1555)
|
|
34623
34750
|
|
|
34624
34751
|
创建 timer
|
|
34625
34752
|
|
|
@@ -34666,7 +34793,7 @@ lib/task/functions/createTray.md
|
|
|
34666
34793
|
|
|
34667
34794
|
> **createTray**(`current`, `options`): `Promise`\<`string` \| `false`\>
|
|
34668
34795
|
|
|
34669
|
-
Defined in: [lib/task.ts:
|
|
34796
|
+
Defined in: [lib/task.ts:135](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L135)
|
|
34670
34797
|
|
|
34671
34798
|
注册托盘;不依赖当前是否存在任务栏
|
|
34672
34799
|
|
|
@@ -34703,7 +34830,7 @@ lib/task/functions/end.md
|
|
|
34703
34830
|
|
|
34704
34831
|
> **end**(`taskId`): `Promise`\<`boolean`\>
|
|
34705
34832
|
|
|
34706
|
-
Defined in: [lib/task.ts:
|
|
34833
|
+
Defined in: [lib/task.ts:1339](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1339)
|
|
34707
34834
|
|
|
34708
34835
|
完全结束任务
|
|
34709
34836
|
|
|
@@ -34732,7 +34859,7 @@ lib/task/functions/getFocus.md
|
|
|
34732
34859
|
|
|
34733
34860
|
> **getFocus**(`current`): `Promise`\<`string` \| `null`\>
|
|
34734
34861
|
|
|
34735
|
-
Defined in: [lib/task.ts:
|
|
34862
|
+
Defined in: [lib/task.ts:381](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L381)
|
|
34736
34863
|
|
|
34737
34864
|
获取当前有焦点的任务 ID
|
|
34738
34865
|
|
|
@@ -34759,7 +34886,7 @@ lib/task/functions/getList.md
|
|
|
34759
34886
|
|
|
34760
34887
|
> **getList**(): [`ITaskInfo`](../interfaces/ITaskInfo.md)[]
|
|
34761
34888
|
|
|
34762
|
-
Defined in: [lib/task.ts:
|
|
34889
|
+
Defined in: [lib/task.ts:612](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L612)
|
|
34763
34890
|
|
|
34764
34891
|
获取 task list 的简略情况
|
|
34765
34892
|
|
|
@@ -34780,7 +34907,7 @@ lib/task/functions/get.md
|
|
|
34780
34907
|
|
|
34781
34908
|
> **get**(`taskId`): [`ITaskInfo`](../interfaces/ITaskInfo.md) \| `null`
|
|
34782
34909
|
|
|
34783
|
-
Defined in: [lib/task.ts:
|
|
34910
|
+
Defined in: [lib/task.ts:310](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L310)
|
|
34784
34911
|
|
|
34785
34912
|
获取任务及其应用包简略信息
|
|
34786
34913
|
|
|
@@ -34809,7 +34936,7 @@ lib/task/functions/getOriginList.md
|
|
|
34809
34936
|
|
|
34810
34937
|
> **getOriginList**(`current`): `Promise`\<`Record`\<`string`, [`ITask`](../interfaces/ITask.md)\>\>
|
|
34811
34938
|
|
|
34812
|
-
Defined in: [lib/task.ts:
|
|
34939
|
+
Defined in: [lib/task.ts:280](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L280)
|
|
34813
34940
|
|
|
34814
34941
|
获取原始 list
|
|
34815
34942
|
|
|
@@ -34836,7 +34963,7 @@ lib/task/functions/getOrigin.md
|
|
|
34836
34963
|
|
|
34837
34964
|
> **getOrigin**(`taskId`): [`ITask`](../interfaces/ITask.md) \| `null`
|
|
34838
34965
|
|
|
34839
|
-
Defined in: [lib/task.ts:
|
|
34966
|
+
Defined in: [lib/task.ts:337](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L337)
|
|
34840
34967
|
|
|
34841
34968
|
获取任务对象
|
|
34842
34969
|
|
|
@@ -34865,7 +34992,7 @@ lib/task/functions/getPermissions.md
|
|
|
34865
34992
|
|
|
34866
34993
|
> **getPermissions**(`current`): `string`[]
|
|
34867
34994
|
|
|
34868
|
-
Defined in: [lib/task.ts:
|
|
34995
|
+
Defined in: [lib/task.ts:599](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L599)
|
|
34869
34996
|
|
|
34870
34997
|
获取某个任务的已授权权限列表
|
|
34871
34998
|
|
|
@@ -34894,7 +35021,7 @@ lib/task/functions/getRuntime.md
|
|
|
34894
35021
|
|
|
34895
35022
|
> **getRuntime**(`current`, `taskId`): [`IRuntime`](../interfaces/IRuntime.md) \| `null`
|
|
34896
35023
|
|
|
34897
|
-
Defined in: [lib/task.ts:
|
|
35024
|
+
Defined in: [lib/task.ts:269](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L269)
|
|
34898
35025
|
|
|
34899
35026
|
获取任务的 runtime 数据,仅系统可以获取
|
|
34900
35027
|
|
|
@@ -34929,7 +35056,7 @@ lib/task/functions/getTrayList.md
|
|
|
34929
35056
|
|
|
34930
35057
|
> **getTrayList**(`current`): `Record`\<`string`, [`ITrayInfo`](../interfaces/ITrayInfo.md)\>
|
|
34931
35058
|
|
|
34932
|
-
Defined in: [lib/task.ts:
|
|
35059
|
+
Defined in: [lib/task.ts:213](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L213)
|
|
34933
35060
|
|
|
34934
35061
|
获取托盘快照;系统任务栏/root 可读全部,普通任务只能读自己的
|
|
34935
35062
|
|
|
@@ -34960,7 +35087,7 @@ lib/task/functions/init.md
|
|
|
34960
35087
|
|
|
34961
35088
|
> **init**(): `void`
|
|
34962
35089
|
|
|
34963
|
-
Defined in: [lib/task.ts:
|
|
35090
|
+
Defined in: [lib/task.ts:1824](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1824)
|
|
34964
35091
|
|
|
34965
35092
|
## Returns
|
|
34966
35093
|
|
|
@@ -34979,7 +35106,7 @@ lib/task/functions/initSysId.md
|
|
|
34979
35106
|
|
|
34980
35107
|
> **initSysId**(`id`): `void`
|
|
34981
35108
|
|
|
34982
|
-
Defined in: [lib/task.ts:
|
|
35109
|
+
Defined in: [lib/task.ts:35](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L35)
|
|
34983
35110
|
|
|
34984
35111
|
初始化系统级 ID,仅能设置一次
|
|
34985
35112
|
|
|
@@ -35008,7 +35135,7 @@ lib/task/functions/loadLocaleData.md
|
|
|
35008
35135
|
|
|
35009
35136
|
> **loadLocaleData**(`taskId`, `lang`, `data`, `pre?`): `void`
|
|
35010
35137
|
|
|
35011
|
-
Defined in: [lib/task.ts:
|
|
35138
|
+
Defined in: [lib/task.ts:1437](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1437)
|
|
35012
35139
|
|
|
35013
35140
|
加载 locale data 对象到 task
|
|
35014
35141
|
|
|
@@ -35055,7 +35182,7 @@ lib/task/functions/loadLocale.md
|
|
|
35055
35182
|
|
|
35056
35183
|
> **loadLocale**(`taskId`, `lang`, `path`): `Promise`\<`boolean`\>
|
|
35057
35184
|
|
|
35058
|
-
Defined in: [lib/task.ts:
|
|
35185
|
+
Defined in: [lib/task.ts:1464](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1464)
|
|
35059
35186
|
|
|
35060
35187
|
加载 locale 文件 json
|
|
35061
35188
|
|
|
@@ -35096,7 +35223,7 @@ lib/task/functions/offFrame.md
|
|
|
35096
35223
|
|
|
35097
35224
|
> **offFrame**(`current`, `ft`): `void`
|
|
35098
35225
|
|
|
35099
|
-
Defined in: [lib/task.ts:
|
|
35226
|
+
Defined in: [lib/task.ts:579](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L579)
|
|
35100
35227
|
|
|
35101
35228
|
移除 frame 监听
|
|
35102
35229
|
|
|
@@ -35131,7 +35258,7 @@ lib/task/functions/onFrame.md
|
|
|
35131
35258
|
|
|
35132
35259
|
> **onFrame**(`current`, `fun`, `opt?`): `number`
|
|
35133
35260
|
|
|
35134
|
-
Defined in: [lib/task.ts:
|
|
35261
|
+
Defined in: [lib/task.ts:498](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L498)
|
|
35135
35262
|
|
|
35136
35263
|
创建 frame 监听,formId 存在则为窗体范围,否则为任务级范围
|
|
35137
35264
|
|
|
@@ -35178,7 +35305,7 @@ lib/task/functions/refreshSystemPosition.md
|
|
|
35178
35305
|
|
|
35179
35306
|
> **refreshSystemPosition**(): `void`
|
|
35180
35307
|
|
|
35181
|
-
Defined in: [lib/task.ts:
|
|
35308
|
+
Defined in: [lib/task.ts:1738](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1738)
|
|
35182
35309
|
|
|
35183
35310
|
刷新系统任务的 form 的位置以及 length
|
|
35184
35311
|
|
|
@@ -35199,7 +35326,7 @@ lib/task/functions/removeTimer.md
|
|
|
35199
35326
|
|
|
35200
35327
|
> **removeTimer**(`current`, `timer`): `void`
|
|
35201
35328
|
|
|
35202
|
-
Defined in: [lib/task.ts:
|
|
35329
|
+
Defined in: [lib/task.ts:1622](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1622)
|
|
35203
35330
|
|
|
35204
35331
|
移除 timer
|
|
35205
35332
|
|
|
@@ -35234,7 +35361,7 @@ lib/task/functions/removeTray.md
|
|
|
35234
35361
|
|
|
35235
35362
|
> **removeTray**(`current`, `id`): `boolean`
|
|
35236
35363
|
|
|
35237
|
-
Defined in: [lib/task.ts:
|
|
35364
|
+
Defined in: [lib/task.ts:198](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L198)
|
|
35238
35365
|
|
|
35239
35366
|
删除自己的托盘
|
|
35240
35367
|
|
|
@@ -35271,7 +35398,7 @@ lib/task/functions/run.md
|
|
|
35271
35398
|
|
|
35272
35399
|
> **run**(`current`, `url`, `opt?`): `Promise`\<`string` \| `number`\>
|
|
35273
35400
|
|
|
35274
|
-
Defined in: [lib/task.ts:
|
|
35401
|
+
Defined in: [lib/task.ts:642](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L642)
|
|
35275
35402
|
|
|
35276
35403
|
运行一个应用
|
|
35277
35404
|
|
|
@@ -35314,7 +35441,7 @@ lib/task/functions/runThread.md
|
|
|
35314
35441
|
|
|
35315
35442
|
> **runThread**(`current`, `cls`, `data?`): [`IThread`](../interfaces/IThread.md)
|
|
35316
35443
|
|
|
35317
|
-
Defined in: [lib/task.ts:
|
|
35444
|
+
Defined in: [lib/task.ts:1926](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1926)
|
|
35318
35445
|
|
|
35319
35446
|
运行线程(同一个线程文件只能运行一个)
|
|
35320
35447
|
|
|
@@ -35355,7 +35482,7 @@ lib/task/functions/setFocus.md
|
|
|
35355
35482
|
|
|
35356
35483
|
> **setFocus**(`id?`): `boolean`
|
|
35357
35484
|
|
|
35358
|
-
Defined in: [lib/task.ts:
|
|
35485
|
+
Defined in: [lib/task.ts:368](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L368)
|
|
35359
35486
|
|
|
35360
35487
|
设置 task focus id
|
|
35361
35488
|
|
|
@@ -35384,7 +35511,7 @@ lib/task/functions/setLocaleLang.md
|
|
|
35384
35511
|
|
|
35385
35512
|
> **setLocaleLang**(`current`, `lang`): `void`
|
|
35386
35513
|
|
|
35387
|
-
Defined in: [lib/task.ts:
|
|
35514
|
+
Defined in: [lib/task.ts:1520](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1520)
|
|
35388
35515
|
|
|
35389
35516
|
设置本 task 的语言 name
|
|
35390
35517
|
|
|
@@ -35419,7 +35546,7 @@ lib/task/functions/setLocale.md
|
|
|
35419
35546
|
|
|
35420
35547
|
> **setLocale**(`taskId`, `lang`, `path`): `Promise`\<`boolean`\>
|
|
35421
35548
|
|
|
35422
|
-
Defined in: [lib/task.ts:
|
|
35549
|
+
Defined in: [lib/task.ts:1510](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1510)
|
|
35423
35550
|
|
|
35424
35551
|
加载全新 locale(老 locale 的所有语言的缓存会被卸载)
|
|
35425
35552
|
|
|
@@ -35460,7 +35587,7 @@ lib/task/functions/setSystem.md
|
|
|
35460
35587
|
|
|
35461
35588
|
> **setSystem**(`taskId`, `formId`): `boolean`
|
|
35462
35589
|
|
|
35463
|
-
Defined in: [lib/task.ts:
|
|
35590
|
+
Defined in: [lib/task.ts:1663](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1663)
|
|
35464
35591
|
|
|
35465
35592
|
将任务注册为系统 task
|
|
35466
35593
|
|
|
@@ -35495,7 +35622,7 @@ lib/task/functions/sleep.md
|
|
|
35495
35622
|
|
|
35496
35623
|
> **sleep**(`current`, `fun`, `delay`): `number`
|
|
35497
35624
|
|
|
35498
|
-
Defined in: [lib/task.ts:
|
|
35625
|
+
Defined in: [lib/task.ts:1645](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1645)
|
|
35499
35626
|
|
|
35500
35627
|
暂停一小段时间
|
|
35501
35628
|
|
|
@@ -35536,7 +35663,7 @@ lib/task/functions/updateTray.md
|
|
|
35536
35663
|
|
|
35537
35664
|
> **updateTray**(`current`, `id`, `options`): `Promise`\<`boolean`\>
|
|
35538
35665
|
|
|
35539
|
-
Defined in: [lib/task.ts:
|
|
35666
|
+
Defined in: [lib/task.ts:161](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L161)
|
|
35540
35667
|
|
|
35541
35668
|
更新自己的托盘;并发图标更新以最后发起的一次为准
|
|
35542
35669
|
|
|
@@ -35649,7 +35776,7 @@ lib/task/interfaces/ICreateTimerOptions.md
|
|
|
35649
35776
|
|
|
35650
35777
|
# Interface: ICreateTimerOptions
|
|
35651
35778
|
|
|
35652
|
-
Defined in: [lib/task.ts:
|
|
35779
|
+
Defined in: [lib/task.ts:2127](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2127)
|
|
35653
35780
|
|
|
35654
35781
|
## Properties
|
|
35655
35782
|
|
|
@@ -35657,7 +35784,7 @@ Defined in: [lib/task.ts:2121](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35657
35784
|
|
|
35658
35785
|
> `optional` **count?**: `number`
|
|
35659
35786
|
|
|
35660
|
-
Defined in: [lib/task.ts:
|
|
35787
|
+
Defined in: [lib/task.ts:2131](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2131)
|
|
35661
35788
|
|
|
35662
35789
|
***
|
|
35663
35790
|
|
|
@@ -35665,7 +35792,7 @@ Defined in: [lib/task.ts:2125](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35665
35792
|
|
|
35666
35793
|
> `optional` **formId?**: `string`
|
|
35667
35794
|
|
|
35668
|
-
Defined in: [lib/task.ts:
|
|
35795
|
+
Defined in: [lib/task.ts:2128](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2128)
|
|
35669
35796
|
|
|
35670
35797
|
***
|
|
35671
35798
|
|
|
@@ -35673,7 +35800,7 @@ Defined in: [lib/task.ts:2122](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35673
35800
|
|
|
35674
35801
|
> `optional` **immediate?**: `boolean`
|
|
35675
35802
|
|
|
35676
|
-
Defined in: [lib/task.ts:
|
|
35803
|
+
Defined in: [lib/task.ts:2130](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2130)
|
|
35677
35804
|
|
|
35678
35805
|
lib/task/interfaces/IRuntime.md
|
|
35679
35806
|
---
|
|
@@ -35686,7 +35813,7 @@ lib/task/interfaces/IRuntime.md
|
|
|
35686
35813
|
|
|
35687
35814
|
# Interface: IRuntime
|
|
35688
35815
|
|
|
35689
|
-
Defined in: [lib/task.ts:
|
|
35816
|
+
Defined in: [lib/task.ts:2092](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2092)
|
|
35690
35817
|
|
|
35691
35818
|
## Properties
|
|
35692
35819
|
|
|
@@ -35694,7 +35821,7 @@ Defined in: [lib/task.ts:2086](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35694
35821
|
|
|
35695
35822
|
> **dialogCreating**: `number`
|
|
35696
35823
|
|
|
35697
|
-
Defined in: [lib/task.ts:
|
|
35824
|
+
Defined in: [lib/task.ts:2095](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2095)
|
|
35698
35825
|
|
|
35699
35826
|
正在异步创建 dialog 的数量,用于防止快速重复调用产生多个 dialog
|
|
35700
35827
|
|
|
@@ -35704,7 +35831,7 @@ Defined in: [lib/task.ts:2089](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35704
35831
|
|
|
35705
35832
|
> **dialogFormIds**: `string`[]
|
|
35706
35833
|
|
|
35707
|
-
Defined in: [lib/task.ts:
|
|
35834
|
+
Defined in: [lib/task.ts:2093](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2093)
|
|
35708
35835
|
|
|
35709
35836
|
***
|
|
35710
35837
|
|
|
@@ -35712,7 +35839,7 @@ Defined in: [lib/task.ts:2087](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35712
35839
|
|
|
35713
35840
|
> **index**: `number`
|
|
35714
35841
|
|
|
35715
|
-
Defined in: [lib/task.ts:
|
|
35842
|
+
Defined in: [lib/task.ts:2097](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2097)
|
|
35716
35843
|
|
|
35717
35844
|
***
|
|
35718
35845
|
|
|
@@ -35720,7 +35847,7 @@ Defined in: [lib/task.ts:2091](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35720
35847
|
|
|
35721
35848
|
> **permissions**: `string`[]
|
|
35722
35849
|
|
|
35723
|
-
Defined in: [lib/task.ts:
|
|
35850
|
+
Defined in: [lib/task.ts:2096](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2096)
|
|
35724
35851
|
|
|
35725
35852
|
lib/task/interfaces/ISystemTaskInfo.md
|
|
35726
35853
|
---
|
|
@@ -35733,7 +35860,7 @@ lib/task/interfaces/ISystemTaskInfo.md
|
|
|
35733
35860
|
|
|
35734
35861
|
# Interface: ISystemTaskInfo
|
|
35735
35862
|
|
|
35736
|
-
Defined in: [lib/task.ts:
|
|
35863
|
+
Defined in: [lib/task.ts:2101](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2101)
|
|
35737
35864
|
|
|
35738
35865
|
系统任务信息
|
|
35739
35866
|
|
|
@@ -35743,7 +35870,7 @@ Defined in: [lib/task.ts:2095](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35743
35870
|
|
|
35744
35871
|
> **formId**: `string`
|
|
35745
35872
|
|
|
35746
|
-
Defined in: [lib/task.ts:
|
|
35873
|
+
Defined in: [lib/task.ts:2103](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2103)
|
|
35747
35874
|
|
|
35748
35875
|
***
|
|
35749
35876
|
|
|
@@ -35751,7 +35878,7 @@ Defined in: [lib/task.ts:2097](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35751
35878
|
|
|
35752
35879
|
> **length**: `number`
|
|
35753
35880
|
|
|
35754
|
-
Defined in: [lib/task.ts:
|
|
35881
|
+
Defined in: [lib/task.ts:2104](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2104)
|
|
35755
35882
|
|
|
35756
35883
|
***
|
|
35757
35884
|
|
|
@@ -35759,7 +35886,7 @@ Defined in: [lib/task.ts:2098](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35759
35886
|
|
|
35760
35887
|
> **taskId**: `string`
|
|
35761
35888
|
|
|
35762
|
-
Defined in: [lib/task.ts:
|
|
35889
|
+
Defined in: [lib/task.ts:2102](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2102)
|
|
35763
35890
|
|
|
35764
35891
|
lib/task/interfaces/ITaskInfo.md
|
|
35765
35892
|
---
|
|
@@ -35772,7 +35899,7 @@ lib/task/interfaces/ITaskInfo.md
|
|
|
35772
35899
|
|
|
35773
35900
|
# Interface: ITaskInfo
|
|
35774
35901
|
|
|
35775
|
-
Defined in: [lib/task.ts:
|
|
35902
|
+
Defined in: [lib/task.ts:2135](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2135)
|
|
35776
35903
|
|
|
35777
35904
|
Task 及其应用包的简略信息,通常在 list 当中
|
|
35778
35905
|
|
|
@@ -35782,7 +35909,7 @@ Task 及其应用包的简略信息,通常在 list 当中
|
|
|
35782
35909
|
|
|
35783
35910
|
> **author**: `string`
|
|
35784
35911
|
|
|
35785
|
-
Defined in: [lib/task.ts:
|
|
35912
|
+
Defined in: [lib/task.ts:2145](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2145)
|
|
35786
35913
|
|
|
35787
35914
|
作者
|
|
35788
35915
|
|
|
@@ -35792,7 +35919,7 @@ Defined in: [lib/task.ts:2139](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35792
35919
|
|
|
35793
35920
|
> **current**: `string`
|
|
35794
35921
|
|
|
35795
|
-
Defined in: [lib/task.ts:
|
|
35922
|
+
Defined in: [lib/task.ts:2151](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2151)
|
|
35796
35923
|
|
|
35797
35924
|
***
|
|
35798
35925
|
|
|
@@ -35800,7 +35927,7 @@ Defined in: [lib/task.ts:2145](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35800
35927
|
|
|
35801
35928
|
> **customTheme**: `boolean`
|
|
35802
35929
|
|
|
35803
|
-
Defined in: [lib/task.ts:
|
|
35930
|
+
Defined in: [lib/task.ts:2147](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2147)
|
|
35804
35931
|
|
|
35805
35932
|
***
|
|
35806
35933
|
|
|
@@ -35808,7 +35935,7 @@ Defined in: [lib/task.ts:2141](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35808
35935
|
|
|
35809
35936
|
> **formCount**: `number`
|
|
35810
35937
|
|
|
35811
|
-
Defined in: [lib/task.ts:
|
|
35938
|
+
Defined in: [lib/task.ts:2148](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2148)
|
|
35812
35939
|
|
|
35813
35940
|
***
|
|
35814
35941
|
|
|
@@ -35816,7 +35943,7 @@ Defined in: [lib/task.ts:2142](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35816
35943
|
|
|
35817
35944
|
> **icon**: `string`
|
|
35818
35945
|
|
|
35819
|
-
Defined in: [lib/task.ts:
|
|
35946
|
+
Defined in: [lib/task.ts:2149](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2149)
|
|
35820
35947
|
|
|
35821
35948
|
***
|
|
35822
35949
|
|
|
@@ -35824,7 +35951,7 @@ Defined in: [lib/task.ts:2143](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35824
35951
|
|
|
35825
35952
|
> **id**: `string`
|
|
35826
35953
|
|
|
35827
|
-
Defined in: [lib/task.ts:
|
|
35954
|
+
Defined in: [lib/task.ts:2137](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2137)
|
|
35828
35955
|
|
|
35829
35956
|
任务 ID
|
|
35830
35957
|
|
|
@@ -35834,7 +35961,7 @@ Defined in: [lib/task.ts:2131](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35834
35961
|
|
|
35835
35962
|
> **locale**: `string`
|
|
35836
35963
|
|
|
35837
|
-
Defined in: [lib/task.ts:
|
|
35964
|
+
Defined in: [lib/task.ts:2146](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2146)
|
|
35838
35965
|
|
|
35839
35966
|
***
|
|
35840
35967
|
|
|
@@ -35842,7 +35969,7 @@ Defined in: [lib/task.ts:2140](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35842
35969
|
|
|
35843
35970
|
> **name**: `string`
|
|
35844
35971
|
|
|
35845
|
-
Defined in: [lib/task.ts:
|
|
35972
|
+
Defined in: [lib/task.ts:2139](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2139)
|
|
35846
35973
|
|
|
35847
35974
|
应用名
|
|
35848
35975
|
|
|
@@ -35852,7 +35979,7 @@ Defined in: [lib/task.ts:2133](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35852
35979
|
|
|
35853
35980
|
> **path**: `string`
|
|
35854
35981
|
|
|
35855
|
-
Defined in: [lib/task.ts:
|
|
35982
|
+
Defined in: [lib/task.ts:2150](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2150)
|
|
35856
35983
|
|
|
35857
35984
|
***
|
|
35858
35985
|
|
|
@@ -35860,7 +35987,7 @@ Defined in: [lib/task.ts:2144](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35860
35987
|
|
|
35861
35988
|
> **ver**: `number`
|
|
35862
35989
|
|
|
35863
|
-
Defined in: [lib/task.ts:
|
|
35990
|
+
Defined in: [lib/task.ts:2141](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2141)
|
|
35864
35991
|
|
|
35865
35992
|
发行版本
|
|
35866
35993
|
|
|
@@ -35870,7 +35997,7 @@ Defined in: [lib/task.ts:2135](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35870
35997
|
|
|
35871
35998
|
> **version**: `string`
|
|
35872
35999
|
|
|
35873
|
-
Defined in: [lib/task.ts:
|
|
36000
|
+
Defined in: [lib/task.ts:2143](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2143)
|
|
35874
36001
|
|
|
35875
36002
|
发行版本字符串
|
|
35876
36003
|
|
|
@@ -35885,7 +36012,7 @@ lib/task/interfaces/ITask.md
|
|
|
35885
36012
|
|
|
35886
36013
|
# Interface: ITask
|
|
35887
36014
|
|
|
35888
|
-
Defined in: [lib/task.ts:
|
|
36015
|
+
Defined in: [lib/task.ts:2051](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2051)
|
|
35889
36016
|
|
|
35890
36017
|
运行中的任务对象
|
|
35891
36018
|
|
|
@@ -35895,7 +36022,7 @@ Defined in: [lib/task.ts:2045](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35895
36022
|
|
|
35896
36023
|
> **app**: [`IApp`](../../core/interfaces/IApp.md)
|
|
35897
36024
|
|
|
35898
|
-
Defined in: [lib/task.ts:
|
|
36025
|
+
Defined in: [lib/task.ts:2057](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2057)
|
|
35899
36026
|
|
|
35900
36027
|
***
|
|
35901
36028
|
|
|
@@ -35903,7 +36030,7 @@ Defined in: [lib/task.ts:2051](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35903
36030
|
|
|
35904
36031
|
> `readonly` `optional` **appId?**: `string`
|
|
35905
36032
|
|
|
35906
|
-
Defined in: [lib/task.ts:
|
|
36033
|
+
Defined in: [lib/task.ts:2056](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2056)
|
|
35907
36034
|
|
|
35908
36035
|
启动时确定的固定 App ID,与运行实例 ID 和加载路径无关
|
|
35909
36036
|
|
|
@@ -35913,7 +36040,7 @@ Defined in: [lib/task.ts:2050](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35913
36040
|
|
|
35914
36041
|
> **class**: [`AbstractApp`](../../core/classes/AbstractApp.md)
|
|
35915
36042
|
|
|
35916
|
-
Defined in: [lib/task.ts:
|
|
36043
|
+
Defined in: [lib/task.ts:2058](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2058)
|
|
35917
36044
|
|
|
35918
36045
|
***
|
|
35919
36046
|
|
|
@@ -35921,7 +36048,7 @@ Defined in: [lib/task.ts:2052](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35921
36048
|
|
|
35922
36049
|
> **controls**: `Record`\<`string`, \{ `access`: `Record`\<`string`, `any`\>; `computed`: `Record`\<`string`, `any`\>; `config`: [`IControlConfig`](../../control/interfaces/IControlConfig.md); `data`: `Record`\<`string`, `any`\>; `emits`: `Record`\<`string`, `any`\>; `files`: `Record`\<`string`, `Blob` \| `string`\>; `layout`: `string`; `methods`: `Record`\<`string`, `any`\>; `props`: `Record`\<`string`, `any`\>; \}\>
|
|
35923
36050
|
|
|
35924
|
-
Defined in: [lib/task.ts:
|
|
36051
|
+
Defined in: [lib/task.ts:2072](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2072)
|
|
35925
36052
|
|
|
35926
36053
|
已解析的控件处理后的对象,任务启动时解析,窗体创建时部分复用
|
|
35927
36054
|
|
|
@@ -35931,7 +36058,7 @@ Defined in: [lib/task.ts:2066](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35931
36058
|
|
|
35932
36059
|
> **current**: `string`
|
|
35933
36060
|
|
|
35934
|
-
Defined in: [lib/task.ts:
|
|
36061
|
+
Defined in: [lib/task.ts:2067](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2067)
|
|
35935
36062
|
|
|
35936
36063
|
当前 app 运行路径,末尾不含 /
|
|
35937
36064
|
|
|
@@ -35941,7 +36068,7 @@ Defined in: [lib/task.ts:2061](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35941
36068
|
|
|
35942
36069
|
> **customTheme**: `boolean`
|
|
35943
36070
|
|
|
35944
|
-
Defined in: [lib/task.ts:
|
|
36071
|
+
Defined in: [lib/task.ts:2059](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2059)
|
|
35945
36072
|
|
|
35946
36073
|
***
|
|
35947
36074
|
|
|
@@ -35949,7 +36076,7 @@ Defined in: [lib/task.ts:2053](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35949
36076
|
|
|
35950
36077
|
> `optional` **ending?**: `boolean`
|
|
35951
36078
|
|
|
35952
|
-
Defined in: [lib/task.ts:
|
|
36079
|
+
Defined in: [lib/task.ts:2053](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2053)
|
|
35953
36080
|
|
|
35954
36081
|
已开始退出;框架释放异步资源期间拒绝新命令
|
|
35955
36082
|
|
|
@@ -35959,7 +36086,7 @@ Defined in: [lib/task.ts:2047](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35959
36086
|
|
|
35960
36087
|
> **forms**: `Record`\<`string`, [`IForm`](../../form/interfaces/IForm.md)\>
|
|
35961
36088
|
|
|
35962
|
-
Defined in: [lib/task.ts:
|
|
36089
|
+
Defined in: [lib/task.ts:2070](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2070)
|
|
35963
36090
|
|
|
35964
36091
|
窗体对象列表
|
|
35965
36092
|
|
|
@@ -35969,7 +36096,7 @@ Defined in: [lib/task.ts:2064](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35969
36096
|
|
|
35970
36097
|
> **id**: `string`
|
|
35971
36098
|
|
|
35972
|
-
Defined in: [lib/task.ts:
|
|
36099
|
+
Defined in: [lib/task.ts:2054](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2054)
|
|
35973
36100
|
|
|
35974
36101
|
***
|
|
35975
36102
|
|
|
@@ -35977,7 +36104,7 @@ Defined in: [lib/task.ts:2048](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35977
36104
|
|
|
35978
36105
|
> **locale**: `object`
|
|
35979
36106
|
|
|
35980
|
-
Defined in: [lib/task.ts:
|
|
36107
|
+
Defined in: [lib/task.ts:2060](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2060)
|
|
35981
36108
|
|
|
35982
36109
|
#### data
|
|
35983
36110
|
|
|
@@ -35993,7 +36120,7 @@ Defined in: [lib/task.ts:2054](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35993
36120
|
|
|
35994
36121
|
> **path**: `string`
|
|
35995
36122
|
|
|
35996
|
-
Defined in: [lib/task.ts:
|
|
36123
|
+
Defined in: [lib/task.ts:2065](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2065)
|
|
35997
36124
|
|
|
35998
36125
|
当前 app 自己的完整路径,如 /x/xx.cga,或 /x/x,末尾不含 /
|
|
35999
36126
|
|
|
@@ -36003,7 +36130,7 @@ Defined in: [lib/task.ts:2059](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36003
36130
|
|
|
36004
36131
|
> **threads**: `Record`\<`string`, [`IThread`](IThread.md)\>
|
|
36005
36132
|
|
|
36006
|
-
Defined in: [lib/task.ts:
|
|
36133
|
+
Defined in: [lib/task.ts:2089](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2089)
|
|
36007
36134
|
|
|
36008
36135
|
文件名 -> thread 控制对象
|
|
36009
36136
|
|
|
@@ -36013,7 +36140,7 @@ Defined in: [lib/task.ts:2083](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36013
36140
|
|
|
36014
36141
|
> **timers**: `Record`\<`string`, `string`\>
|
|
36015
36142
|
|
|
36016
|
-
Defined in: [lib/task.ts:
|
|
36143
|
+
Defined in: [lib/task.ts:2087](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2087)
|
|
36017
36144
|
|
|
36018
36145
|
任务中的 timer 列表
|
|
36019
36146
|
|
|
@@ -36028,7 +36155,7 @@ lib/task/interfaces/ITaskRunOptions.md
|
|
|
36028
36155
|
|
|
36029
36156
|
# Interface: ITaskRunOptions
|
|
36030
36157
|
|
|
36031
|
-
Defined in: [lib/task.ts:
|
|
36158
|
+
Defined in: [lib/task.ts:2107](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2107)
|
|
36032
36159
|
|
|
36033
36160
|
## Properties
|
|
36034
36161
|
|
|
@@ -36036,7 +36163,7 @@ Defined in: [lib/task.ts:2101](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36036
36163
|
|
|
36037
36164
|
> `optional` **after?**: `string`
|
|
36038
36165
|
|
|
36039
|
-
Defined in: [lib/task.ts:
|
|
36166
|
+
Defined in: [lib/task.ts:2120](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2120)
|
|
36040
36167
|
|
|
36041
36168
|
如果是网络加载 cga,则网址后面会附带,如 ?123
|
|
36042
36169
|
|
|
@@ -36046,7 +36173,7 @@ Defined in: [lib/task.ts:2114](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36046
36173
|
|
|
36047
36174
|
> `optional` **data?**: `Record`\<`string`, `any`\>
|
|
36048
36175
|
|
|
36049
|
-
Defined in: [lib/task.ts:
|
|
36176
|
+
Defined in: [lib/task.ts:2122](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2122)
|
|
36050
36177
|
|
|
36051
36178
|
给 task 传值
|
|
36052
36179
|
|
|
@@ -36056,7 +36183,7 @@ Defined in: [lib/task.ts:2116](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36056
36183
|
|
|
36057
36184
|
> `optional` **icon?**: `string`
|
|
36058
36185
|
|
|
36059
|
-
Defined in: [lib/task.ts:
|
|
36186
|
+
Defined in: [lib/task.ts:2108](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2108)
|
|
36060
36187
|
|
|
36061
36188
|
***
|
|
36062
36189
|
|
|
@@ -36064,7 +36191,7 @@ Defined in: [lib/task.ts:2102](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36064
36191
|
|
|
36065
36192
|
> `optional` **initProgress?**: (`loaded`, `total`, `type`, `msg`) => `void` \| `Promise`\<`void`\>
|
|
36066
36193
|
|
|
36067
|
-
Defined in: [lib/task.ts:
|
|
36194
|
+
Defined in: [lib/task.ts:2110](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2110)
|
|
36068
36195
|
|
|
36069
36196
|
初始化进度回调
|
|
36070
36197
|
|
|
@@ -36096,7 +36223,7 @@ Defined in: [lib/task.ts:2104](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36096
36223
|
|
|
36097
36224
|
> `optional` **notify?**: `boolean`
|
|
36098
36225
|
|
|
36099
|
-
Defined in: [lib/task.ts:
|
|
36226
|
+
Defined in: [lib/task.ts:2116](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2116)
|
|
36100
36227
|
|
|
36101
36228
|
显示 notify 窗口
|
|
36102
36229
|
|
|
@@ -36106,7 +36233,7 @@ Defined in: [lib/task.ts:2110](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36106
36233
|
|
|
36107
36234
|
> `optional` **path?**: `string`
|
|
36108
36235
|
|
|
36109
|
-
Defined in: [lib/task.ts:
|
|
36236
|
+
Defined in: [lib/task.ts:2124](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2124)
|
|
36110
36237
|
|
|
36111
36238
|
执行文件的基路径,一般在传入 APP 包时使用,以 .cga 结尾
|
|
36112
36239
|
|
|
@@ -36116,7 +36243,7 @@ Defined in: [lib/task.ts:2118](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36116
36243
|
|
|
36117
36244
|
> `optional` **permissions?**: `string`[]
|
|
36118
36245
|
|
|
36119
|
-
Defined in: [lib/task.ts:
|
|
36246
|
+
Defined in: [lib/task.ts:2118](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2118)
|
|
36120
36247
|
|
|
36121
36248
|
直接赋予此任务相应权限,有 "root" 权限的应用才能设置
|
|
36122
36249
|
|
|
@@ -36126,7 +36253,7 @@ Defined in: [lib/task.ts:2112](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36126
36253
|
|
|
36127
36254
|
> `optional` **perProgress?**: (`per`) => `void` \| `Promise`\<`void`\>
|
|
36128
36255
|
|
|
36129
|
-
Defined in: [lib/task.ts:
|
|
36256
|
+
Defined in: [lib/task.ts:2114](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2114)
|
|
36130
36257
|
|
|
36131
36258
|
返回总加载进度百分比(0 - 1)
|
|
36132
36259
|
|
|
@@ -36146,7 +36273,7 @@ Defined in: [lib/task.ts:2108](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36146
36273
|
|
|
36147
36274
|
> `optional` **progress?**: (`loaded`, `total`, `type`, `path`) => `void` \| `Promise`\<`void`\>
|
|
36148
36275
|
|
|
36149
|
-
Defined in: [lib/task.ts:
|
|
36276
|
+
Defined in: [lib/task.ts:2112](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2112)
|
|
36150
36277
|
|
|
36151
36278
|
加载进度回调(根据 type 分为不同阶段)
|
|
36152
36279
|
|
|
@@ -36183,7 +36310,7 @@ lib/task/interfaces/IThread.md
|
|
|
36183
36310
|
|
|
36184
36311
|
# Interface: IThread
|
|
36185
36312
|
|
|
36186
|
-
Defined in: [lib/task.ts:
|
|
36313
|
+
Defined in: [lib/task.ts:2039](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2039)
|
|
36187
36314
|
|
|
36188
36315
|
## Properties
|
|
36189
36316
|
|
|
@@ -36191,7 +36318,7 @@ Defined in: [lib/task.ts:2033](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36191
36318
|
|
|
36192
36319
|
> **end**: () => `Promise`\<`void`\>
|
|
36193
36320
|
|
|
36194
|
-
Defined in: [lib/task.ts:
|
|
36321
|
+
Defined in: [lib/task.ts:2047](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2047)
|
|
36195
36322
|
|
|
36196
36323
|
结束线程
|
|
36197
36324
|
|
|
@@ -36205,7 +36332,7 @@ Defined in: [lib/task.ts:2041](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36205
36332
|
|
|
36206
36333
|
> **off**: (`name`, `handler`) => `void`
|
|
36207
36334
|
|
|
36208
|
-
Defined in: [lib/task.ts:
|
|
36335
|
+
Defined in: [lib/task.ts:2043](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2043)
|
|
36209
36336
|
|
|
36210
36337
|
移除事件
|
|
36211
36338
|
|
|
@@ -36229,7 +36356,7 @@ Defined in: [lib/task.ts:2037](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36229
36356
|
|
|
36230
36357
|
> **on**: (`name`, `handler`) => `void`
|
|
36231
36358
|
|
|
36232
|
-
Defined in: [lib/task.ts:
|
|
36359
|
+
Defined in: [lib/task.ts:2041](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2041)
|
|
36233
36360
|
|
|
36234
36361
|
绑定事件
|
|
36235
36362
|
|
|
@@ -36253,7 +36380,7 @@ Defined in: [lib/task.ts:2035](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36253
36380
|
|
|
36254
36381
|
> **send**: (`data`) => `void`
|
|
36255
36382
|
|
|
36256
|
-
Defined in: [lib/task.ts:
|
|
36383
|
+
Defined in: [lib/task.ts:2045](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2045)
|
|
36257
36384
|
|
|
36258
36385
|
发送数据
|
|
36259
36386
|
|
|
@@ -36278,7 +36405,7 @@ lib/task/interfaces/ITrayInfo.md
|
|
|
36278
36405
|
|
|
36279
36406
|
# Interface: ITrayInfo
|
|
36280
36407
|
|
|
36281
|
-
Defined in: [lib/task.ts:
|
|
36408
|
+
Defined in: [lib/task.ts:89](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L89)
|
|
36282
36409
|
|
|
36283
36410
|
提供给任务栏的托盘快照,icon 已解析为跨任务可用的 URL
|
|
36284
36411
|
|
|
@@ -36288,7 +36415,7 @@ Defined in: [lib/task.ts:88](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36288
36415
|
|
|
36289
36416
|
> **icon**: `string`
|
|
36290
36417
|
|
|
36291
|
-
Defined in: [lib/task.ts:
|
|
36418
|
+
Defined in: [lib/task.ts:92](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L92)
|
|
36292
36419
|
|
|
36293
36420
|
***
|
|
36294
36421
|
|
|
@@ -36296,7 +36423,7 @@ Defined in: [lib/task.ts:91](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36296
36423
|
|
|
36297
36424
|
> **id**: `string`
|
|
36298
36425
|
|
|
36299
|
-
Defined in: [lib/task.ts:
|
|
36426
|
+
Defined in: [lib/task.ts:90](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L90)
|
|
36300
36427
|
|
|
36301
36428
|
***
|
|
36302
36429
|
|
|
@@ -36304,7 +36431,7 @@ Defined in: [lib/task.ts:89](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36304
36431
|
|
|
36305
36432
|
> **menu**: [`ITrayMenuItem`](ITrayMenuItem.md)[]
|
|
36306
36433
|
|
|
36307
|
-
Defined in: [lib/task.ts:
|
|
36434
|
+
Defined in: [lib/task.ts:94](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L94)
|
|
36308
36435
|
|
|
36309
36436
|
***
|
|
36310
36437
|
|
|
@@ -36312,7 +36439,7 @@ Defined in: [lib/task.ts:93](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36312
36439
|
|
|
36313
36440
|
> **taskId**: `string`
|
|
36314
36441
|
|
|
36315
|
-
Defined in: [lib/task.ts:
|
|
36442
|
+
Defined in: [lib/task.ts:91](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L91)
|
|
36316
36443
|
|
|
36317
36444
|
***
|
|
36318
36445
|
|
|
@@ -36320,7 +36447,7 @@ Defined in: [lib/task.ts:90](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36320
36447
|
|
|
36321
36448
|
> **tip**: `string`
|
|
36322
36449
|
|
|
36323
|
-
Defined in: [lib/task.ts:
|
|
36450
|
+
Defined in: [lib/task.ts:93](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L93)
|
|
36324
36451
|
|
|
36325
36452
|
lib/task/interfaces/ITrayMenuItem.md
|
|
36326
36453
|
---
|
|
@@ -36333,7 +36460,7 @@ lib/task/interfaces/ITrayMenuItem.md
|
|
|
36333
36460
|
|
|
36334
36461
|
# Interface: ITrayMenuItem
|
|
36335
36462
|
|
|
36336
|
-
Defined in: [lib/task.ts:
|
|
36463
|
+
Defined in: [lib/task.ts:74](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L74)
|
|
36337
36464
|
|
|
36338
36465
|
托盘菜单命令;separator 项只显示分隔线
|
|
36339
36466
|
|
|
@@ -36343,7 +36470,7 @@ Defined in: [lib/task.ts:73](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36343
36470
|
|
|
36344
36471
|
> `optional` **disabled?**: `boolean`
|
|
36345
36472
|
|
|
36346
|
-
Defined in: [lib/task.ts:
|
|
36473
|
+
Defined in: [lib/task.ts:77](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L77)
|
|
36347
36474
|
|
|
36348
36475
|
***
|
|
36349
36476
|
|
|
@@ -36351,7 +36478,7 @@ Defined in: [lib/task.ts:76](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36351
36478
|
|
|
36352
36479
|
> **id**: `string`
|
|
36353
36480
|
|
|
36354
|
-
Defined in: [lib/task.ts:
|
|
36481
|
+
Defined in: [lib/task.ts:75](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L75)
|
|
36355
36482
|
|
|
36356
36483
|
***
|
|
36357
36484
|
|
|
@@ -36359,7 +36486,7 @@ Defined in: [lib/task.ts:74](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36359
36486
|
|
|
36360
36487
|
> **label**: `string`
|
|
36361
36488
|
|
|
36362
|
-
Defined in: [lib/task.ts:
|
|
36489
|
+
Defined in: [lib/task.ts:76](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L76)
|
|
36363
36490
|
|
|
36364
36491
|
***
|
|
36365
36492
|
|
|
@@ -36367,7 +36494,7 @@ Defined in: [lib/task.ts:75](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36367
36494
|
|
|
36368
36495
|
> `optional` **separator?**: `boolean`
|
|
36369
36496
|
|
|
36370
|
-
Defined in: [lib/task.ts:
|
|
36497
|
+
Defined in: [lib/task.ts:78](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L78)
|
|
36371
36498
|
|
|
36372
36499
|
lib/task/interfaces/ITrayOptions.md
|
|
36373
36500
|
---
|
|
@@ -36380,7 +36507,7 @@ lib/task/interfaces/ITrayOptions.md
|
|
|
36380
36507
|
|
|
36381
36508
|
# Interface: ITrayOptions
|
|
36382
36509
|
|
|
36383
|
-
Defined in: [lib/task.ts:
|
|
36510
|
+
Defined in: [lib/task.ts:82](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L82)
|
|
36384
36511
|
|
|
36385
36512
|
托盘注册数据;包内图标请用 /package/ 开头的路径
|
|
36386
36513
|
|
|
@@ -36390,7 +36517,7 @@ Defined in: [lib/task.ts:81](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36390
36517
|
|
|
36391
36518
|
> **icon**: `string`
|
|
36392
36519
|
|
|
36393
|
-
Defined in: [lib/task.ts:
|
|
36520
|
+
Defined in: [lib/task.ts:83](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L83)
|
|
36394
36521
|
|
|
36395
36522
|
***
|
|
36396
36523
|
|
|
@@ -36398,7 +36525,7 @@ Defined in: [lib/task.ts:82](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36398
36525
|
|
|
36399
36526
|
> `optional` **menu?**: [`ITrayMenuItem`](ITrayMenuItem.md)[]
|
|
36400
36527
|
|
|
36401
|
-
Defined in: [lib/task.ts:
|
|
36528
|
+
Defined in: [lib/task.ts:85](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L85)
|
|
36402
36529
|
|
|
36403
36530
|
***
|
|
36404
36531
|
|
|
@@ -36406,7 +36533,7 @@ Defined in: [lib/task.ts:84](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36406
36533
|
|
|
36407
36534
|
> `optional` **tip?**: `string`
|
|
36408
36535
|
|
|
36409
|
-
Defined in: [lib/task.ts:
|
|
36536
|
+
Defined in: [lib/task.ts:84](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L84)
|
|
36410
36537
|
|
|
36411
36538
|
lib/task/variables/systemTaskInfo.md
|
|
36412
36539
|
---
|
|
@@ -36421,7 +36548,7 @@ lib/task/variables/systemTaskInfo.md
|
|
|
36421
36548
|
|
|
36422
36549
|
> **systemTaskInfo**: [`ISystemTaskInfo`](../interfaces/ISystemTaskInfo.md)
|
|
36423
36550
|
|
|
36424
|
-
Defined in: [lib/task.ts:
|
|
36551
|
+
Defined in: [lib/task.ts:60](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L60)
|
|
36425
36552
|
|
|
36426
36553
|
当前注册的系统任务栏
|
|
36427
36554
|
|