clickgo 7.7.4 → 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 +593 -453
- package/package.json +5 -3
package/doc/clickgo-rag.md
CHANGED
|
@@ -1677,7 +1677,13 @@ month 模式归一到所选时区的当月 1 日 00:00:00.000;外部传入日
|
|
|
1677
1677
|
|
|
1678
1678
|
`boolean` | `string`
|
|
1679
1679
|
|
|
1680
|
-
|
|
1680
|
+
是否显示返回当前选中年月的按钮,默认 true。
|
|
1681
|
+
|
|
1682
|
+
#### todaybtn
|
|
1683
|
+
|
|
1684
|
+
`boolean` | `string`
|
|
1685
|
+
|
|
1686
|
+
是否显示今天按钮,默认 true。按 tz 对应的日期选择今天,遵循 start/end 和 disabledList;range 模式下设置起点。
|
|
1681
1687
|
|
|
1682
1688
|
### 事件
|
|
1683
1689
|
|
|
@@ -1738,7 +1744,7 @@ month 模式归一到所选时区的当月 1 日 00:00:00.000;外部传入日
|
|
|
1738
1744
|
|
|
1739
1745
|
`Array<number | string>` | `string`
|
|
1740
1746
|
|
|
1741
|
-
|
|
1747
|
+
双向绑定,毫秒时间戳数组 [开始, 结束]。空数组表示未选择。外部同时设置 modelValue 和 tz 时以传入时间戳为准;单独切换 tz 保留所选墙上日期和时间。外部赋值直接同步,不裁剪范围。
|
|
1742
1748
|
|
|
1743
1749
|
#### tz
|
|
1744
1750
|
|
|
@@ -1750,19 +1756,19 @@ month 模式归一到所选时区的当月 1 日 00:00:00.000;外部传入日
|
|
|
1750
1756
|
|
|
1751
1757
|
`number` | `string`
|
|
1752
1758
|
|
|
1753
|
-
|
|
1759
|
+
可选开始时间限制(秒/毫秒),手动选择、快捷范围和面板内切换时区均裁到允许区间。
|
|
1754
1760
|
|
|
1755
1761
|
#### end
|
|
1756
1762
|
|
|
1757
1763
|
`number` | `string`
|
|
1758
1764
|
|
|
1759
|
-
|
|
1765
|
+
可选结束时间限制(秒/毫秒),完全无交集的快捷范围禁用。
|
|
1760
1766
|
|
|
1761
1767
|
#### time
|
|
1762
1768
|
|
|
1763
1769
|
`boolean` | `string`
|
|
1764
1770
|
|
|
1765
|
-
是否显示时间选择,默认 true
|
|
1771
|
+
是否显示时间选择,默认 true。开始和结束时间独立设置,窄屏同样可用;关闭时手动选择完整日期。
|
|
1766
1772
|
|
|
1767
1773
|
#### zone
|
|
1768
1774
|
|
|
@@ -1774,7 +1780,7 @@ month 模式归一到所选时区的当月 1 日 00:00:00.000;外部传入日
|
|
|
1774
1780
|
|
|
1775
1781
|
`boolean` | `string`
|
|
1776
1782
|
|
|
1777
|
-
|
|
1783
|
+
是否显示清除已选范围的按钮,默认 true。完成范围选择后面板自动关闭。
|
|
1778
1784
|
|
|
1779
1785
|
### 事件
|
|
1780
1786
|
|
|
@@ -1788,7 +1794,11 @@ month 模式归一到所选时区的当月 1 日 00:00:00.000;外部传入日
|
|
|
1788
1794
|
|
|
1789
1795
|
使用 flex 布局,包含开始和结束两个日期选择框。点击选择框弹出日期范围选择面板。
|
|
1790
1796
|
|
|
1791
|
-
|
|
1797
|
+
宽屏显示两个月份,窄屏显示一个月。日历上方的快捷按钮自动换行,包含今天、近 3 天、近 7 天、本月、近 1 个月、近 3 个月和近 6 个月。
|
|
1798
|
+
|
|
1799
|
+
快捷范围按 tz 计算并包含今天,开始为 00:00:00,结束为今天 23:59:59(毫秒为 0,与日历精度一致)。本月从当月 1 日开始;近 N 个月先回退 N 个自然月,日号超出目标月时取月末,再从次日开始。例如 11 月 5 日的近 1 个月为 10 月 6 日至 11 月 5 日;3 月 31 日的近 1 个月为 3 月 1 日至 3 月 31 日。
|
|
1800
|
+
|
|
1801
|
+
点击快捷按钮一次提交两端并关闭面板,值有变化时触发一次 changed。手动选择允许在同一天完成范围,按独立设置的起止时间提交;结束早于开始或范围与边界无交集时不提交。未完成的选择在重新打开或清空时重置。取消时区选择后,再打开会恢复当前时区。
|
|
1792
1802
|
|
|
1793
1803
|
支持时间和时区选择。禁用日期呈现灰色不可选。
|
|
1794
1804
|
|
|
@@ -1798,6 +1808,7 @@ month 模式归一到所选时区的当月 1 日 00:00:00.000;外部传入日
|
|
|
1798
1808
|
<daterange v-model="range" v-model:tz="tz"></daterange>
|
|
1799
1809
|
```
|
|
1800
1810
|
|
|
1811
|
+
|
|
1801
1812
|
## delete
|
|
1802
1813
|
---
|
|
1803
1814
|
|
|
@@ -2292,7 +2303,25 @@ Desktop 和 Iconview 共用 `clickgo.modules.pointer.drag()`,它返回取消
|
|
|
2292
2303
|
|
|
2293
2304
|
`number` | `string`
|
|
2294
2305
|
|
|
2295
|
-
展开宽度,默认 `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` 保存,不绑定时控件也会保留调整结果。
|
|
2296
2325
|
|
|
2297
2326
|
#### position
|
|
2298
2327
|
|
|
@@ -2304,7 +2333,7 @@ Desktop 和 Iconview 共用 `clickgo.modules.pointer.drag()`,它返回取消
|
|
|
2304
2333
|
|
|
2305
2334
|
`number` | `string`
|
|
2306
2335
|
|
|
2307
|
-
|
|
2336
|
+
为其他工作区保留的宽度,默认 `320` 像素,用于单列拖拽上限及多列自动收起和拖拽上限;应包含工具箱、其他侧栏及工作区需要的宽度。单列旧用法的初始 `width` 不受此参数强制修正。
|
|
2308
2337
|
|
|
2309
2338
|
### 方法
|
|
2310
2339
|
|
|
@@ -2351,7 +2380,7 @@ Desktop 和 Iconview 共用 `clickgo.modules.pointer.drag()`,它返回取消
|
|
|
2351
2380
|
</dock>
|
|
2352
2381
|
```
|
|
2353
2382
|
|
|
2354
|
-
同一个 Dock 中不要混用直接的 `dock-group` 与 `dock-column`。多列宽度由各列决定,根 Dock 的 `width`
|
|
2383
|
+
同一个 Dock 中不要混用直接的 `dock-group` 与 `dock-column`。多列宽度由各列决定,根 Dock 的 `width`、`minWidth`、`maxWidth` 和 `resizable` 仅控制单列用法;多列时在各 `dock-column` 上设置。
|
|
2355
2384
|
|
|
2356
2385
|
|
|
2357
2386
|
## dock-column
|
|
@@ -2375,6 +2404,24 @@ Dock 的独立列容器,在同一 `dock` 内使用多个 `dock-column` 即可
|
|
|
2375
2404
|
|
|
2376
2405
|
展开时的像素宽度,默认 `280`,最小 `40`。收起宽度由主题决定。
|
|
2377
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
|
+
|
|
2378
2425
|
#### label
|
|
2379
2426
|
|
|
2380
2427
|
`string`
|
|
@@ -2407,7 +2454,11 @@ Dock 的独立列容器,在同一 `dock` 内使用多个 `dock-column` 即可
|
|
|
2407
2454
|
|
|
2408
2455
|
Dock 分组控件,使用稳定的字符串 `name` 管理选中项,不依赖子项顺序。
|
|
2409
2456
|
|
|
2410
|
-
展开状态下,普通分组按内容自然高度布局,只有设置 `grow`
|
|
2457
|
+
展开状态下,普通分组按内容自然高度布局,只有设置 `grow` 的分组共享剩余高度;总高度不足时压缩并在内容区滚动。可拖动相邻展开分组之间的横向分隔条,重新分配两组的总高度。手动高度优先于 `grow`,折叠、收起侧栏后仍保留;将 `height` 设为 `0` 可恢复自动布局。可直接放在 `dock` 内,也可放在 `dock-column` 内。
|
|
2458
|
+
|
|
2459
|
+
标题栏保留折叠按钮,提供 `menu` 插槽时另显示省略号菜单。收起侧栏后的浮层标题同样支持菜单。浮层按内容高度显示,`grow` 浮层填充 Form 与视窗内的可用高度。
|
|
2460
|
+
|
|
2461
|
+
标题栏保持单行,空间不足时标签文字省略,悬停通过 Tip 显示完整名称。标签过多时可横向滚动或使用滚轮浏览,不显示浏览器原生滚动条;折叠与菜单按钮保留在滚动区域外。
|
|
2411
2462
|
|
|
2412
2463
|
### 参数
|
|
2413
2464
|
|
|
@@ -2435,6 +2486,47 @@ Dock 分组控件,使用稳定的字符串 `name` 管理选中项,不依赖
|
|
|
2435
2486
|
|
|
2436
2487
|
是否填充所在 Dock 或 DockColumn 的剩余高度,默认 `false`。多个 `grow` 分组均分剩余空间。
|
|
2437
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
|
+
|
|
2438
2530
|
### 方法
|
|
2439
2531
|
|
|
2440
2532
|
#### toggleCollapsed
|
|
@@ -7160,7 +7252,9 @@ QR 码组件,用于生成二维码。
|
|
|
7160
7252
|
|
|
7161
7253
|
`string`
|
|
7162
7254
|
|
|
7163
|
-
|
|
7255
|
+
占位文字,默认空字符串。不可编辑模式下,单选和多选均在没有选中值时显示;多选取消全部选项后恢复显示。已选项的标签为空时不显示占位文字。
|
|
7256
|
+
|
|
7257
|
+
可编辑模式沿用输入框行为,输入为空时显示,多选已有标签时也可继续提示输入。普通单选(未启用 `editable`、`search`、`multi`)有可选数据时自动选中首项,此时显示选项标签。
|
|
7164
7258
|
|
|
7165
7259
|
#### data
|
|
7166
7260
|
|
|
@@ -22209,7 +22303,7 @@ Defined in: [lib/dom.ts:1911](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
22209
22303
|
|
|
22210
22304
|
### pos
|
|
22211
22305
|
|
|
22212
|
-
`"b"` \| `"tr"` \| `"l"` \| `"rb"` \| `"
|
|
22306
|
+
`"b"` \| `"tr"` \| `"l"` \| `"rb"` \| `"r"` \| `"t"` \| `"lt"` \| `"bl"`
|
|
22213
22307
|
|
|
22214
22308
|
## Returns
|
|
22215
22309
|
|
|
@@ -24169,7 +24263,7 @@ lib/form/classes/AbstractComponent.md
|
|
|
24169
24263
|
|
|
24170
24264
|
# Abstract Class: AbstractComponent
|
|
24171
24265
|
|
|
24172
|
-
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)
|
|
24173
24267
|
|
|
24174
24268
|
Form/Panel 内使用的应用局部组件抽象类
|
|
24175
24269
|
|
|
@@ -24197,7 +24291,7 @@ Form/Panel 内使用的应用局部组件抽象类
|
|
|
24197
24291
|
|
|
24198
24292
|
> `readonly` **components**: `Record`\<`string`, () => `AbstractComponent`\> = `{}`
|
|
24199
24293
|
|
|
24200
|
-
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)
|
|
24201
24295
|
|
|
24202
24296
|
当前组件内继续局部注册的应用组件
|
|
24203
24297
|
|
|
@@ -24211,7 +24305,7 @@ Defined in: [lib/form.ts:596](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24211
24305
|
|
|
24212
24306
|
> `readonly` **emits**: `Record`\<`string`, `null` \| ((`payload`) => `boolean`)\> = `{}`
|
|
24213
24307
|
|
|
24214
|
-
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)
|
|
24215
24309
|
|
|
24216
24310
|
组件事件,由用户定义重写
|
|
24217
24311
|
|
|
@@ -24221,7 +24315,7 @@ Defined in: [lib/form.ts:659](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24221
24315
|
|
|
24222
24316
|
> `readonly` **packageFiles**: `Record`\<`string`, `Blob` \| `string`\> = `{}`
|
|
24223
24317
|
|
|
24224
|
-
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)
|
|
24225
24319
|
|
|
24226
24320
|
组件内部文件,由系统重写
|
|
24227
24321
|
|
|
@@ -24231,7 +24325,7 @@ Defined in: [lib/form.ts:653](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24231
24325
|
|
|
24232
24326
|
> `readonly` **props**: `object` = `{}`
|
|
24233
24327
|
|
|
24234
|
-
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)
|
|
24235
24329
|
|
|
24236
24330
|
组件参数,由用户定义重写
|
|
24237
24331
|
|
|
@@ -24241,7 +24335,7 @@ Defined in: [lib/form.ts:656](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24241
24335
|
|
|
24242
24336
|
> `readonly` **slots**: `Record`\<`string`, () => `any`[]\> = `{}`
|
|
24243
24337
|
|
|
24244
|
-
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)
|
|
24245
24339
|
|
|
24246
24340
|
组件的子插槽
|
|
24247
24341
|
|
|
@@ -24253,7 +24347,7 @@ Defined in: [lib/form.ts:662](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24253
24347
|
|
|
24254
24348
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
24255
24349
|
|
|
24256
|
-
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)
|
|
24257
24351
|
|
|
24258
24352
|
应用组件动态 class 的隔离前缀
|
|
24259
24353
|
|
|
@@ -24273,7 +24367,7 @@ Defined in: [lib/form.ts:643](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24273
24367
|
|
|
24274
24368
|
> **get** **controlName**(): `string`
|
|
24275
24369
|
|
|
24276
|
-
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)
|
|
24277
24371
|
|
|
24278
24372
|
当前控件的名字
|
|
24279
24373
|
|
|
@@ -24285,7 +24379,7 @@ Defined in: [lib/form.ts:282](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24285
24379
|
|
|
24286
24380
|
> **set** **controlName**(`v`): `void`
|
|
24287
24381
|
|
|
24288
|
-
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)
|
|
24289
24383
|
|
|
24290
24384
|
##### Parameters
|
|
24291
24385
|
|
|
@@ -24309,7 +24403,7 @@ Defined in: [lib/form.ts:286](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24309
24403
|
|
|
24310
24404
|
> **get** **element**(): `HTMLElement`
|
|
24311
24405
|
|
|
24312
|
-
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)
|
|
24313
24407
|
|
|
24314
24408
|
获取当前的 HTML DOM
|
|
24315
24409
|
|
|
@@ -24329,7 +24423,7 @@ Defined in: [lib/form.ts:400](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24329
24423
|
|
|
24330
24424
|
> **get** **filename**(): `string`
|
|
24331
24425
|
|
|
24332
|
-
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)
|
|
24333
24427
|
|
|
24334
24428
|
当前文件在包内的路径
|
|
24335
24429
|
|
|
@@ -24349,7 +24443,7 @@ Defined in: [lib/form.ts:276](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24349
24443
|
|
|
24350
24444
|
> **get** **findex**(): `number`
|
|
24351
24445
|
|
|
24352
|
-
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)
|
|
24353
24447
|
|
|
24354
24448
|
当前组件所在窗体的创建序号
|
|
24355
24449
|
|
|
@@ -24365,7 +24459,7 @@ Defined in: [lib/form.ts:599](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24365
24459
|
|
|
24366
24460
|
> **get** **fl**(): (`key`, `data?`) => `string`
|
|
24367
24461
|
|
|
24368
|
-
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)
|
|
24369
24463
|
|
|
24370
24464
|
获取宿主窗体语言内容
|
|
24371
24465
|
|
|
@@ -24381,7 +24475,7 @@ Defined in: [lib/form.ts:633](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24381
24475
|
|
|
24382
24476
|
> **get** **formFocus**(): `boolean`
|
|
24383
24477
|
|
|
24384
|
-
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)
|
|
24385
24479
|
|
|
24386
24480
|
当前组件是否跟随宿主窗体获得焦点
|
|
24387
24481
|
|
|
@@ -24401,7 +24495,7 @@ Defined in: [lib/form.ts:621](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24401
24495
|
|
|
24402
24496
|
> **get** **formId**(): `string`
|
|
24403
24497
|
|
|
24404
|
-
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)
|
|
24405
24499
|
|
|
24406
24500
|
当前的窗体 ID
|
|
24407
24501
|
|
|
@@ -24421,7 +24515,7 @@ Defined in: [lib/form.ts:302](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24421
24515
|
|
|
24422
24516
|
> **get** **l**(): (`key`, `data?`) => `string`
|
|
24423
24517
|
|
|
24424
|
-
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)
|
|
24425
24519
|
|
|
24426
24520
|
获取宿主 Form/Panel 的语言内容
|
|
24427
24521
|
|
|
@@ -24441,7 +24535,7 @@ Defined in: [lib/form.ts:626](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24441
24535
|
|
|
24442
24536
|
> **get** **locale**(): `string`
|
|
24443
24537
|
|
|
24444
|
-
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)
|
|
24445
24539
|
|
|
24446
24540
|
当前的语言
|
|
24447
24541
|
|
|
@@ -24461,7 +24555,7 @@ Defined in: [lib/form.ts:328](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24461
24555
|
|
|
24462
24556
|
> **get** **localeDirection**(): `"ltr"` \| `"rtl"`
|
|
24463
24557
|
|
|
24464
|
-
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)
|
|
24465
24559
|
|
|
24466
24560
|
当前语言的书写方向
|
|
24467
24561
|
|
|
@@ -24481,7 +24575,7 @@ Defined in: [lib/form.ts:339](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24481
24575
|
|
|
24482
24576
|
> **get** **localeTag**(): `string`
|
|
24483
24577
|
|
|
24484
|
-
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)
|
|
24485
24579
|
|
|
24486
24580
|
当前语言的标准 HTML lang 标签
|
|
24487
24581
|
|
|
@@ -24501,7 +24595,7 @@ Defined in: [lib/form.ts:334](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24501
24595
|
|
|
24502
24596
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
24503
24597
|
|
|
24504
|
-
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)
|
|
24505
24599
|
|
|
24506
24600
|
等待渲染
|
|
24507
24601
|
|
|
@@ -24521,7 +24615,7 @@ Defined in: [lib/form.ts:407](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24521
24615
|
|
|
24522
24616
|
> **get** **parent**(): `never`
|
|
24523
24617
|
|
|
24524
|
-
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)
|
|
24525
24619
|
|
|
24526
24620
|
获取上层控件或组件
|
|
24527
24621
|
|
|
@@ -24537,7 +24631,7 @@ Defined in: [lib/form.ts:710](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24537
24631
|
|
|
24538
24632
|
> **get** **parentByAccess**(): (`name`, `val`) => `Record`\<`string`, `any`\> \| `null`
|
|
24539
24633
|
|
|
24540
|
-
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)
|
|
24541
24635
|
|
|
24542
24636
|
根据 access 查询上层对象
|
|
24543
24637
|
|
|
@@ -24553,7 +24647,7 @@ Defined in: [lib/form.ts:729](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24553
24647
|
|
|
24554
24648
|
> **get** **parentByName**(): (`controlName`) => `Record`\<`string`, `any`\> \| `null`
|
|
24555
24649
|
|
|
24556
|
-
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)
|
|
24557
24651
|
|
|
24558
24652
|
根据 controlName 查询上层对象
|
|
24559
24653
|
|
|
@@ -24569,7 +24663,7 @@ Defined in: [lib/form.ts:715](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24569
24663
|
|
|
24570
24664
|
> **get** **path**(): `string`
|
|
24571
24665
|
|
|
24572
|
-
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)
|
|
24573
24667
|
|
|
24574
24668
|
当前文件的包内路径不以 / 结尾
|
|
24575
24669
|
|
|
@@ -24589,7 +24683,7 @@ Defined in: [lib/form.ts:316](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24589
24683
|
|
|
24590
24684
|
> **get** **prep**(): `string`
|
|
24591
24685
|
|
|
24592
|
-
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)
|
|
24593
24687
|
|
|
24594
24688
|
样式独占前缀
|
|
24595
24689
|
|
|
@@ -24609,7 +24703,7 @@ Defined in: [lib/form.ts:322](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24609
24703
|
|
|
24610
24704
|
> **get** **propArray**(): (`name`) => `any`[]
|
|
24611
24705
|
|
|
24612
|
-
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)
|
|
24613
24707
|
|
|
24614
24708
|
获取 props 中的 array 类型值
|
|
24615
24709
|
|
|
@@ -24625,7 +24719,7 @@ Defined in: [lib/form.ts:700](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24625
24719
|
|
|
24626
24720
|
> **get** **propBoolean**(): (`name`) => `boolean`
|
|
24627
24721
|
|
|
24628
|
-
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)
|
|
24629
24723
|
|
|
24630
24724
|
获取 props 中的 boolean 类型值
|
|
24631
24725
|
|
|
@@ -24641,7 +24735,7 @@ Defined in: [lib/form.ts:685](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24641
24735
|
|
|
24642
24736
|
> **get** **propInt**(): (`name`) => `number`
|
|
24643
24737
|
|
|
24644
|
-
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)
|
|
24645
24739
|
|
|
24646
24740
|
获取 props 中的 int 类型值
|
|
24647
24741
|
|
|
@@ -24657,7 +24751,7 @@ Defined in: [lib/form.ts:695](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24657
24751
|
|
|
24658
24752
|
> **get** **propNumber**(): (`name`) => `number`
|
|
24659
24753
|
|
|
24660
|
-
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)
|
|
24661
24755
|
|
|
24662
24756
|
获取 props 中的 number 类型值
|
|
24663
24757
|
|
|
@@ -24673,7 +24767,7 @@ Defined in: [lib/form.ts:690](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24673
24767
|
|
|
24674
24768
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
24675
24769
|
|
|
24676
|
-
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)
|
|
24677
24771
|
|
|
24678
24772
|
获取 refs 情况
|
|
24679
24773
|
|
|
@@ -24693,7 +24787,7 @@ Defined in: [lib/form.ts:395](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24693
24787
|
|
|
24694
24788
|
> **get** **rootForm**(): [`AbstractForm`](AbstractForm.md) & `Record`\<`string`, `any`\>
|
|
24695
24789
|
|
|
24696
|
-
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)
|
|
24697
24791
|
|
|
24698
24792
|
##### Returns
|
|
24699
24793
|
|
|
@@ -24707,7 +24801,7 @@ Defined in: [lib/form.ts:606](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24707
24801
|
|
|
24708
24802
|
> **get** **slotsAll**(): (`name`) => `any`[]
|
|
24709
24803
|
|
|
24710
|
-
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)
|
|
24711
24805
|
|
|
24712
24806
|
获取某插槽所有子项
|
|
24713
24807
|
|
|
@@ -24723,7 +24817,7 @@ Defined in: [lib/form.ts:665](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24723
24817
|
|
|
24724
24818
|
> **get** **taskId**(): `string`
|
|
24725
24819
|
|
|
24726
|
-
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)
|
|
24727
24821
|
|
|
24728
24822
|
当前的任务 ID
|
|
24729
24823
|
|
|
@@ -24741,7 +24835,7 @@ Defined in: [lib/form.ts:296](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24741
24835
|
|
|
24742
24836
|
> **allowEvent**(`e`): `boolean`
|
|
24743
24837
|
|
|
24744
|
-
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)
|
|
24745
24839
|
|
|
24746
24840
|
判断当前事件可否执行
|
|
24747
24841
|
|
|
@@ -24767,7 +24861,7 @@ Defined in: [lib/form.ts:415](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24767
24861
|
|
|
24768
24862
|
> **emit**(`name`, ...`v`): `void`
|
|
24769
24863
|
|
|
24770
|
-
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)
|
|
24771
24865
|
|
|
24772
24866
|
向上触发组件事件
|
|
24773
24867
|
|
|
@@ -24791,7 +24885,7 @@ Defined in: [lib/form.ts:705](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24791
24885
|
|
|
24792
24886
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
24793
24887
|
|
|
24794
|
-
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)
|
|
24795
24889
|
|
|
24796
24890
|
#### Returns
|
|
24797
24891
|
|
|
@@ -24807,7 +24901,7 @@ Defined in: [lib/form.ts:445](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24807
24901
|
|
|
24808
24902
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
24809
24903
|
|
|
24810
|
-
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)
|
|
24811
24905
|
|
|
24812
24906
|
#### Returns
|
|
24813
24907
|
|
|
@@ -24823,7 +24917,7 @@ Defined in: [lib/form.ts:453](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24823
24917
|
|
|
24824
24918
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
24825
24919
|
|
|
24826
|
-
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)
|
|
24827
24921
|
|
|
24828
24922
|
#### Returns
|
|
24829
24923
|
|
|
@@ -24839,7 +24933,7 @@ Defined in: [lib/form.ts:465](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24839
24933
|
|
|
24840
24934
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
24841
24935
|
|
|
24842
|
-
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)
|
|
24843
24937
|
|
|
24844
24938
|
#### Returns
|
|
24845
24939
|
|
|
@@ -24855,7 +24949,7 @@ Defined in: [lib/form.ts:457](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24855
24949
|
|
|
24856
24950
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
24857
24951
|
|
|
24858
|
-
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)
|
|
24859
24953
|
|
|
24860
24954
|
#### Returns
|
|
24861
24955
|
|
|
@@ -24871,7 +24965,7 @@ Defined in: [lib/form.ts:449](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24871
24965
|
|
|
24872
24966
|
> **onMounted**(): `void` \| `Promise`\<`void`\>
|
|
24873
24967
|
|
|
24874
|
-
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)
|
|
24875
24969
|
|
|
24876
24970
|
组件挂载好后触发
|
|
24877
24971
|
|
|
@@ -24885,7 +24979,7 @@ Defined in: [lib/form.ts:743](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24885
24979
|
|
|
24886
24980
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
24887
24981
|
|
|
24888
|
-
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)
|
|
24889
24983
|
|
|
24890
24984
|
#### Returns
|
|
24891
24985
|
|
|
@@ -24901,7 +24995,7 @@ Defined in: [lib/form.ts:469](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24901
24995
|
|
|
24902
24996
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
24903
24997
|
|
|
24904
|
-
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)
|
|
24905
24999
|
|
|
24906
25000
|
#### Returns
|
|
24907
25001
|
|
|
@@ -24917,7 +25011,7 @@ Defined in: [lib/form.ts:461](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24917
25011
|
|
|
24918
25012
|
> **send**(`fid`, `obj`): `void`
|
|
24919
25013
|
|
|
24920
|
-
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)
|
|
24921
25015
|
|
|
24922
25016
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
24923
25017
|
|
|
@@ -24949,7 +25043,7 @@ formId 要接收对象的 form id
|
|
|
24949
25043
|
|
|
24950
25044
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
24951
25045
|
|
|
24952
|
-
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)
|
|
24953
25047
|
|
|
24954
25048
|
触发系统方法
|
|
24955
25049
|
|
|
@@ -24987,7 +25081,7 @@ Defined in: [lib/form.ts:425](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
24987
25081
|
|
|
24988
25082
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
24989
25083
|
|
|
24990
|
-
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)
|
|
24991
25085
|
|
|
24992
25086
|
监视变动
|
|
24993
25087
|
|
|
@@ -25050,7 +25144,7 @@ lib/form/classes/AbstractForm.md
|
|
|
25050
25144
|
|
|
25051
25145
|
# Abstract Class: AbstractForm
|
|
25052
25146
|
|
|
25053
|
-
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)
|
|
25054
25148
|
|
|
25055
25149
|
窗体的抽象类
|
|
25056
25150
|
|
|
@@ -25078,7 +25172,7 @@ Defined in: [lib/form.ts:963](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25078
25172
|
|
|
25079
25173
|
> `readonly` **components**: `Record`\<`string`, () => [`AbstractComponent`](AbstractComponent.md)\> = `{}`
|
|
25080
25174
|
|
|
25081
|
-
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)
|
|
25082
25176
|
|
|
25083
25177
|
当前视图内局部注册的应用组件
|
|
25084
25178
|
|
|
@@ -25092,7 +25186,7 @@ Defined in: [lib/form.ts:273](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25092
25186
|
|
|
25093
25187
|
> **dialogResult**: `string` = `''`
|
|
25094
25188
|
|
|
25095
|
-
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)
|
|
25096
25190
|
|
|
25097
25191
|
dialog mask 窗体返回值,在 close 之后会进行传导
|
|
25098
25192
|
|
|
@@ -25102,7 +25196,7 @@ dialog mask 窗体返回值,在 close 之后会进行传导
|
|
|
25102
25196
|
|
|
25103
25197
|
> **isNativeNoFrameFirst**: `boolean` = `false`
|
|
25104
25198
|
|
|
25105
|
-
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)
|
|
25106
25200
|
|
|
25107
25201
|
是否是 native 下无边框的第一个窗体
|
|
25108
25202
|
|
|
@@ -25112,7 +25206,7 @@ Defined in: [lib/form.ts:992](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25112
25206
|
|
|
25113
25207
|
> **isReady**: `boolean` = `false`
|
|
25114
25208
|
|
|
25115
|
-
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)
|
|
25116
25210
|
|
|
25117
25211
|
当前是否完全创建完毕
|
|
25118
25212
|
|
|
@@ -25122,7 +25216,7 @@ Defined in: [lib/form.ts:989](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25122
25216
|
|
|
25123
25217
|
> **lockLoading**: `boolean` = `false`
|
|
25124
25218
|
|
|
25125
|
-
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)
|
|
25126
25220
|
|
|
25127
25221
|
是否阻止任何人修改 loading
|
|
25128
25222
|
|
|
@@ -25134,7 +25228,7 @@ Defined in: [lib/form.ts:1144](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25134
25228
|
|
|
25135
25229
|
> **get** **bottomMost**(): `boolean`
|
|
25136
25230
|
|
|
25137
|
-
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)
|
|
25138
25232
|
|
|
25139
25233
|
是否是置底
|
|
25140
25234
|
|
|
@@ -25146,7 +25240,7 @@ Defined in: [lib/form.ts:1029](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25146
25240
|
|
|
25147
25241
|
> **set** **bottomMost**(`v`): `void`
|
|
25148
25242
|
|
|
25149
|
-
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)
|
|
25150
25244
|
|
|
25151
25245
|
##### Parameters
|
|
25152
25246
|
|
|
@@ -25166,7 +25260,7 @@ Defined in: [lib/form.ts:1034](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25166
25260
|
|
|
25167
25261
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
25168
25262
|
|
|
25169
|
-
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)
|
|
25170
25264
|
|
|
25171
25265
|
layout 中 :class 的转义
|
|
25172
25266
|
|
|
@@ -25186,7 +25280,7 @@ layout 中 :class 的转义
|
|
|
25186
25280
|
|
|
25187
25281
|
> **get** **controlName**(): `string`
|
|
25188
25282
|
|
|
25189
|
-
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)
|
|
25190
25284
|
|
|
25191
25285
|
当前控件的名字
|
|
25192
25286
|
|
|
@@ -25198,7 +25292,7 @@ Defined in: [lib/form.ts:282](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25198
25292
|
|
|
25199
25293
|
> **set** **controlName**(`v`): `void`
|
|
25200
25294
|
|
|
25201
|
-
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)
|
|
25202
25296
|
|
|
25203
25297
|
##### Parameters
|
|
25204
25298
|
|
|
@@ -25222,7 +25316,7 @@ Defined in: [lib/form.ts:286](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25222
25316
|
|
|
25223
25317
|
> **get** **element**(): `HTMLElement`
|
|
25224
25318
|
|
|
25225
|
-
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)
|
|
25226
25320
|
|
|
25227
25321
|
获取当前的 HTML DOM
|
|
25228
25322
|
|
|
@@ -25242,7 +25336,7 @@ Defined in: [lib/form.ts:400](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25242
25336
|
|
|
25243
25337
|
> **get** **filename**(): `string`
|
|
25244
25338
|
|
|
25245
|
-
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)
|
|
25246
25340
|
|
|
25247
25341
|
当前文件在包内的路径
|
|
25248
25342
|
|
|
@@ -25262,7 +25356,7 @@ Defined in: [lib/form.ts:276](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25262
25356
|
|
|
25263
25357
|
> **get** **findex**(): `number`
|
|
25264
25358
|
|
|
25265
|
-
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)
|
|
25266
25360
|
|
|
25267
25361
|
当前的窗体创建的位数
|
|
25268
25362
|
|
|
@@ -25278,7 +25372,7 @@ Defined in: [lib/form.ts:995](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25278
25372
|
|
|
25279
25373
|
> **get** **formFocus**(): `boolean`
|
|
25280
25374
|
|
|
25281
|
-
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)
|
|
25282
25376
|
|
|
25283
25377
|
当前窗体是否是焦点
|
|
25284
25378
|
|
|
@@ -25298,7 +25392,7 @@ Defined in: [lib/form.ts:1059](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25298
25392
|
|
|
25299
25393
|
> **get** **formHash**(): `string`
|
|
25300
25394
|
|
|
25301
|
-
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)
|
|
25302
25396
|
|
|
25303
25397
|
获取 form 的 hash 值,不是浏览器的 hash
|
|
25304
25398
|
|
|
@@ -25310,7 +25404,7 @@ Defined in: [lib/form.ts:1001](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25310
25404
|
|
|
25311
25405
|
> **set** **formHash**(`v`): `void`
|
|
25312
25406
|
|
|
25313
|
-
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)
|
|
25314
25408
|
|
|
25315
25409
|
##### Parameters
|
|
25316
25410
|
|
|
@@ -25330,7 +25424,7 @@ Defined in: [lib/form.ts:1005](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25330
25424
|
|
|
25331
25425
|
> **get** **formHashData**(): `Record`\<`string`, `any`\>
|
|
25332
25426
|
|
|
25333
|
-
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)
|
|
25334
25428
|
|
|
25335
25429
|
获取 form 的 formhash with data 值
|
|
25336
25430
|
|
|
@@ -25342,7 +25436,7 @@ Defined in: [lib/form.ts:1010](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25342
25436
|
|
|
25343
25437
|
> **set** **formHashData**(`v`): `void`
|
|
25344
25438
|
|
|
25345
|
-
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)
|
|
25346
25440
|
|
|
25347
25441
|
##### Parameters
|
|
25348
25442
|
|
|
@@ -25362,7 +25456,7 @@ Defined in: [lib/form.ts:1014](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25362
25456
|
|
|
25363
25457
|
> **get** **formId**(): `string`
|
|
25364
25458
|
|
|
25365
|
-
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)
|
|
25366
25460
|
|
|
25367
25461
|
当前的窗体 ID
|
|
25368
25462
|
|
|
@@ -25382,7 +25476,7 @@ Defined in: [lib/form.ts:302](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25382
25476
|
|
|
25383
25477
|
> **get** **inStep**(): `boolean`
|
|
25384
25478
|
|
|
25385
|
-
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)
|
|
25386
25480
|
|
|
25387
25481
|
当前是否在 step 环节中
|
|
25388
25482
|
|
|
@@ -25398,7 +25492,7 @@ Defined in: [lib/form.ts:1151](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25398
25492
|
|
|
25399
25493
|
> **get** **isMask**(): `boolean`
|
|
25400
25494
|
|
|
25401
|
-
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)
|
|
25402
25496
|
|
|
25403
25497
|
是否在本窗体上显示遮罩层
|
|
25404
25498
|
|
|
@@ -25414,7 +25508,7 @@ Defined in: [lib/form.ts:1041](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25414
25508
|
|
|
25415
25509
|
> **get** **l**(): (`key`, `data?`, `origin?`) => `string`
|
|
25416
25510
|
|
|
25417
|
-
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)
|
|
25418
25512
|
|
|
25419
25513
|
获取语言内容
|
|
25420
25514
|
|
|
@@ -25434,7 +25528,7 @@ Defined in: [lib/form.ts:346](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25434
25528
|
|
|
25435
25529
|
> **get** **loading**(): `boolean`
|
|
25436
25530
|
|
|
25437
|
-
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)
|
|
25438
25532
|
|
|
25439
25533
|
覆盖整个窗体的 loading
|
|
25440
25534
|
|
|
@@ -25446,7 +25540,7 @@ Defined in: [lib/form.ts:1132](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25446
25540
|
|
|
25447
25541
|
> **set** **loading**(`val`): `void`
|
|
25448
25542
|
|
|
25449
|
-
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)
|
|
25450
25544
|
|
|
25451
25545
|
##### Parameters
|
|
25452
25546
|
|
|
@@ -25466,7 +25560,7 @@ Defined in: [lib/form.ts:1136](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25466
25560
|
|
|
25467
25561
|
> **get** **locale**(): `string`
|
|
25468
25562
|
|
|
25469
|
-
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)
|
|
25470
25564
|
|
|
25471
25565
|
当前的语言
|
|
25472
25566
|
|
|
@@ -25486,7 +25580,7 @@ Defined in: [lib/form.ts:328](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25486
25580
|
|
|
25487
25581
|
> **get** **localeDirection**(): `"ltr"` \| `"rtl"`
|
|
25488
25582
|
|
|
25489
|
-
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)
|
|
25490
25584
|
|
|
25491
25585
|
当前语言的书写方向
|
|
25492
25586
|
|
|
@@ -25506,7 +25600,7 @@ Defined in: [lib/form.ts:339](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25506
25600
|
|
|
25507
25601
|
> **get** **localeTag**(): `string`
|
|
25508
25602
|
|
|
25509
|
-
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)
|
|
25510
25604
|
|
|
25511
25605
|
当前语言的标准 HTML lang 标签
|
|
25512
25606
|
|
|
@@ -25526,7 +25620,7 @@ Defined in: [lib/form.ts:334](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25526
25620
|
|
|
25527
25621
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
25528
25622
|
|
|
25529
|
-
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)
|
|
25530
25624
|
|
|
25531
25625
|
等待渲染
|
|
25532
25626
|
|
|
@@ -25546,7 +25640,7 @@ Defined in: [lib/form.ts:407](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25546
25640
|
|
|
25547
25641
|
> **get** **path**(): `string`
|
|
25548
25642
|
|
|
25549
|
-
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)
|
|
25550
25644
|
|
|
25551
25645
|
当前文件的包内路径不以 / 结尾
|
|
25552
25646
|
|
|
@@ -25566,7 +25660,7 @@ Defined in: [lib/form.ts:316](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25566
25660
|
|
|
25567
25661
|
> **get** **prep**(): `string`
|
|
25568
25662
|
|
|
25569
|
-
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)
|
|
25570
25664
|
|
|
25571
25665
|
样式独占前缀
|
|
25572
25666
|
|
|
@@ -25586,7 +25680,7 @@ Defined in: [lib/form.ts:322](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25586
25680
|
|
|
25587
25681
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
25588
25682
|
|
|
25589
|
-
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)
|
|
25590
25684
|
|
|
25591
25685
|
获取 refs 情况
|
|
25592
25686
|
|
|
@@ -25606,7 +25700,7 @@ Defined in: [lib/form.ts:395](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25606
25700
|
|
|
25607
25701
|
> **get** **showInSystemTask**(): `boolean`
|
|
25608
25702
|
|
|
25609
|
-
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)
|
|
25610
25704
|
|
|
25611
25705
|
当前窗体是否显示在任务栏
|
|
25612
25706
|
|
|
@@ -25618,7 +25712,7 @@ Defined in: [lib/form.ts:1065](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25618
25712
|
|
|
25619
25713
|
> **set** **showInSystemTask**(`v`): `void`
|
|
25620
25714
|
|
|
25621
|
-
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)
|
|
25622
25716
|
|
|
25623
25717
|
##### Parameters
|
|
25624
25718
|
|
|
@@ -25638,7 +25732,7 @@ Defined in: [lib/form.ts:1070](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25638
25732
|
|
|
25639
25733
|
> **get** **taskId**(): `string`
|
|
25640
25734
|
|
|
25641
|
-
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)
|
|
25642
25736
|
|
|
25643
25737
|
当前的任务 ID
|
|
25644
25738
|
|
|
@@ -25658,7 +25752,7 @@ Defined in: [lib/form.ts:296](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25658
25752
|
|
|
25659
25753
|
> **get** **topMost**(): `boolean`
|
|
25660
25754
|
|
|
25661
|
-
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)
|
|
25662
25756
|
|
|
25663
25757
|
是否是置顶
|
|
25664
25758
|
|
|
@@ -25670,7 +25764,7 @@ Defined in: [lib/form.ts:1019](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25670
25764
|
|
|
25671
25765
|
> **set** **topMost**(`v`): `void`
|
|
25672
25766
|
|
|
25673
|
-
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)
|
|
25674
25768
|
|
|
25675
25769
|
##### Parameters
|
|
25676
25770
|
|
|
@@ -25688,7 +25782,7 @@ Defined in: [lib/form.ts:1024](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25688
25782
|
|
|
25689
25783
|
> **allowEvent**(`e`): `boolean`
|
|
25690
25784
|
|
|
25691
|
-
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)
|
|
25692
25786
|
|
|
25693
25787
|
判断当前事件可否执行
|
|
25694
25788
|
|
|
@@ -25714,7 +25808,7 @@ Defined in: [lib/form.ts:415](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25714
25808
|
|
|
25715
25809
|
> **close**(): `void`
|
|
25716
25810
|
|
|
25717
|
-
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)
|
|
25718
25812
|
|
|
25719
25813
|
关闭当前窗体
|
|
25720
25814
|
|
|
@@ -25728,7 +25822,7 @@ Defined in: [lib/form.ts:1266](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25728
25822
|
|
|
25729
25823
|
> **doneStep**(): `Promise`\<`void`\>
|
|
25730
25824
|
|
|
25731
|
-
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)
|
|
25732
25826
|
|
|
25733
25827
|
完成当前步骤条
|
|
25734
25828
|
|
|
@@ -25742,7 +25836,7 @@ Defined in: [lib/form.ts:1198](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25742
25836
|
|
|
25743
25837
|
> **enterStep**(`list`): `Promise`\<`boolean`\>
|
|
25744
25838
|
|
|
25745
|
-
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)
|
|
25746
25840
|
|
|
25747
25841
|
进入 form hash 为源的步进条
|
|
25748
25842
|
|
|
@@ -25762,7 +25856,7 @@ Defined in: [lib/form.ts:1159](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25762
25856
|
|
|
25763
25857
|
> **formHashBack**(): `Promise`\<`void`\>
|
|
25764
25858
|
|
|
25765
|
-
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)
|
|
25766
25860
|
|
|
25767
25861
|
form hash 回退
|
|
25768
25862
|
|
|
@@ -25776,7 +25870,7 @@ form hash 回退
|
|
|
25776
25870
|
|
|
25777
25871
|
> **hide**(): `void`
|
|
25778
25872
|
|
|
25779
|
-
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)
|
|
25780
25874
|
|
|
25781
25875
|
让窗体隐藏
|
|
25782
25876
|
|
|
@@ -25790,7 +25884,7 @@ Defined in: [lib/form.ts:1258](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25790
25884
|
|
|
25791
25885
|
> **onActiveChanged**(`active`): `void` \| `Promise`\<`void`\>
|
|
25792
25886
|
|
|
25793
|
-
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)
|
|
25794
25888
|
|
|
25795
25889
|
宿主活跃状态改变时广播;初始化不通知,内部切换 Form 不触发
|
|
25796
25890
|
|
|
@@ -25814,7 +25908,7 @@ Defined in: [lib/form.ts:1293](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25814
25908
|
|
|
25815
25909
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
25816
25910
|
|
|
25817
|
-
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)
|
|
25818
25912
|
|
|
25819
25913
|
#### Returns
|
|
25820
25914
|
|
|
@@ -25830,7 +25924,7 @@ Defined in: [lib/form.ts:445](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25830
25924
|
|
|
25831
25925
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
25832
25926
|
|
|
25833
|
-
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)
|
|
25834
25928
|
|
|
25835
25929
|
#### Returns
|
|
25836
25930
|
|
|
@@ -25846,7 +25940,7 @@ Defined in: [lib/form.ts:453](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25846
25940
|
|
|
25847
25941
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
25848
25942
|
|
|
25849
|
-
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)
|
|
25850
25944
|
|
|
25851
25945
|
#### Returns
|
|
25852
25946
|
|
|
@@ -25862,7 +25956,7 @@ Defined in: [lib/form.ts:465](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25862
25956
|
|
|
25863
25957
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
25864
25958
|
|
|
25865
|
-
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)
|
|
25866
25960
|
|
|
25867
25961
|
#### Returns
|
|
25868
25962
|
|
|
@@ -25878,7 +25972,7 @@ Defined in: [lib/form.ts:457](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25878
25972
|
|
|
25879
25973
|
> **onConfigChanged**\<`T`\>(`n`, `v`): `void`
|
|
25880
25974
|
|
|
25881
|
-
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)
|
|
25882
25976
|
|
|
25883
25977
|
系统配置变更事件
|
|
25884
25978
|
|
|
@@ -25908,7 +26002,7 @@ keyof [`IConfig`](../../core/interfaces/IConfig.md)
|
|
|
25908
26002
|
|
|
25909
26003
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
25910
26004
|
|
|
25911
|
-
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)
|
|
25912
26006
|
|
|
25913
26007
|
#### Returns
|
|
25914
26008
|
|
|
@@ -25924,7 +26018,7 @@ Defined in: [lib/form.ts:449](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
25924
26018
|
|
|
25925
26019
|
> **onFormBlurred**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
25926
26020
|
|
|
25927
|
-
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)
|
|
25928
26022
|
|
|
25929
26023
|
窗体丢失焦点事件
|
|
25930
26024
|
|
|
@@ -25948,7 +26042,7 @@ Defined in: [lib/form.ts:1361](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25948
26042
|
|
|
25949
26043
|
> **onFormCreated**(`taskId`, `formId`, `title`, `icon`, `showInSystemTask`): `void` \| `Promise`\<`void`\>
|
|
25950
26044
|
|
|
25951
|
-
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)
|
|
25952
26046
|
|
|
25953
26047
|
窗体创建事件
|
|
25954
26048
|
|
|
@@ -25984,7 +26078,7 @@ Defined in: [lib/form.ts:1311](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
25984
26078
|
|
|
25985
26079
|
> **onFormFlash**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
25986
26080
|
|
|
25987
|
-
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)
|
|
25988
26082
|
|
|
25989
26083
|
窗体闪烁事件
|
|
25990
26084
|
|
|
@@ -26008,7 +26102,7 @@ Defined in: [lib/form.ts:1367](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26008
26102
|
|
|
26009
26103
|
> **onFormFocused**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
26010
26104
|
|
|
26011
|
-
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)
|
|
26012
26106
|
|
|
26013
26107
|
窗体获得焦点事件
|
|
26014
26108
|
|
|
@@ -26032,7 +26126,7 @@ Defined in: [lib/form.ts:1355](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26032
26126
|
|
|
26033
26127
|
> **onFormHashChange**(`taskId`, `formId`, `value`, `data`): `void` \| `Promise`\<`void`\>
|
|
26034
26128
|
|
|
26035
|
-
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)
|
|
26036
26130
|
|
|
26037
26131
|
窗体的 formHash 改变事件
|
|
26038
26132
|
|
|
@@ -26064,7 +26158,7 @@ Defined in: [lib/form.ts:1379](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26064
26158
|
|
|
26065
26159
|
> **onFormIconChanged**(`taskId`, `formId`, `icon`): `void` \| `Promise`\<`void`\>
|
|
26066
26160
|
|
|
26067
|
-
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)
|
|
26068
26162
|
|
|
26069
26163
|
窗体图标改变事件
|
|
26070
26164
|
|
|
@@ -26092,7 +26186,7 @@ Defined in: [lib/form.ts:1331](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26092
26186
|
|
|
26093
26187
|
> **onFormRemoved**(`taskId`, `formId`, `title`, `icon`): `void` \| `Promise`\<`void`\>
|
|
26094
26188
|
|
|
26095
|
-
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)
|
|
26096
26190
|
|
|
26097
26191
|
窗体销毁事件
|
|
26098
26192
|
|
|
@@ -26124,7 +26218,7 @@ Defined in: [lib/form.ts:1319](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26124
26218
|
|
|
26125
26219
|
> **onFormShowChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
26126
26220
|
|
|
26127
|
-
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)
|
|
26128
26222
|
|
|
26129
26223
|
窗体显示状态改变事件
|
|
26130
26224
|
|
|
@@ -26152,7 +26246,7 @@ Defined in: [lib/form.ts:1349](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26152
26246
|
|
|
26153
26247
|
> **onFormShowInSystemTaskChange**(`taskId`, `formId`, `value`): `void` \| `Promise`\<`void`\>
|
|
26154
26248
|
|
|
26155
|
-
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)
|
|
26156
26250
|
|
|
26157
26251
|
窗体是否显示在任务栏属性改变事件
|
|
26158
26252
|
|
|
@@ -26180,7 +26274,7 @@ Defined in: [lib/form.ts:1373](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26180
26274
|
|
|
26181
26275
|
> **onFormStateMaxChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
26182
26276
|
|
|
26183
|
-
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)
|
|
26184
26278
|
|
|
26185
26279
|
窗体最大化状态改变事件
|
|
26186
26280
|
|
|
@@ -26208,7 +26302,7 @@ Defined in: [lib/form.ts:1343](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26208
26302
|
|
|
26209
26303
|
> **onFormStateMinChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
26210
26304
|
|
|
26211
|
-
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)
|
|
26212
26306
|
|
|
26213
26307
|
窗体最小化状态改变事件
|
|
26214
26308
|
|
|
@@ -26236,7 +26330,7 @@ Defined in: [lib/form.ts:1337](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26236
26330
|
|
|
26237
26331
|
> **onFormTitleChanged**(`taskId`, `formId`, `title`): `void` \| `Promise`\<`void`\>
|
|
26238
26332
|
|
|
26239
|
-
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)
|
|
26240
26334
|
|
|
26241
26335
|
窗体标题改变事件
|
|
26242
26336
|
|
|
@@ -26264,7 +26358,7 @@ Defined in: [lib/form.ts:1325](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26264
26358
|
|
|
26265
26359
|
> **onHashChanged**(`hash`): `void` \| `Promise`\<`void`\>
|
|
26266
26360
|
|
|
26267
|
-
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)
|
|
26268
26362
|
|
|
26269
26363
|
location hash 改变事件
|
|
26270
26364
|
|
|
@@ -26284,7 +26378,7 @@ location hash 改变事件
|
|
|
26284
26378
|
|
|
26285
26379
|
> **onKeydown**(`e`): `void` \| `Promise`\<`void`\>
|
|
26286
26380
|
|
|
26287
|
-
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)
|
|
26288
26382
|
|
|
26289
26383
|
键盘按下事件
|
|
26290
26384
|
|
|
@@ -26304,7 +26398,7 @@ Defined in: [lib/form.ts:1485](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26304
26398
|
|
|
26305
26399
|
> **onKeyup**(`e`): `void` \| `Promise`\<`void`\>
|
|
26306
26400
|
|
|
26307
|
-
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)
|
|
26308
26402
|
|
|
26309
26403
|
键盘弹起事件
|
|
26310
26404
|
|
|
@@ -26324,7 +26418,7 @@ Defined in: [lib/form.ts:1491](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26324
26418
|
|
|
26325
26419
|
> **onLauncherFolderNameChanged**(`id`, `name`): `void` \| `Promise`\<`void`\>
|
|
26326
26420
|
|
|
26327
|
-
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)
|
|
26328
26422
|
|
|
26329
26423
|
launcher 文件夹名称修改事件
|
|
26330
26424
|
|
|
@@ -26348,7 +26442,7 @@ launcher 文件夹名称修改事件
|
|
|
26348
26442
|
|
|
26349
26443
|
> **onLauncherShowChanged**(`state`): `void` \| `Promise`\<`void`\>
|
|
26350
26444
|
|
|
26351
|
-
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)
|
|
26352
26446
|
|
|
26353
26447
|
Launcher 显示状态改变事件
|
|
26354
26448
|
|
|
@@ -26372,7 +26466,7 @@ Launcher 显示状态改变事件
|
|
|
26372
26466
|
|
|
26373
26467
|
> **onMounted**(`data`): `void` \| `Promise`\<`void`\>
|
|
26374
26468
|
|
|
26375
|
-
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)
|
|
26376
26470
|
|
|
26377
26471
|
#### Parameters
|
|
26378
26472
|
|
|
@@ -26390,7 +26484,7 @@ Defined in: [lib/form.ts:1277](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26390
26484
|
|
|
26391
26485
|
> **onNativeLaunch**(`event`): `void` \| `Promise`\<`void`\>
|
|
26392
26486
|
|
|
26393
|
-
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)
|
|
26394
26488
|
|
|
26395
26489
|
Native 普通启动及再次启动事件;网页不触发,App/Form 要求 root
|
|
26396
26490
|
|
|
@@ -26414,7 +26508,7 @@ Native 普通启动及再次启动事件;网页不触发,App/Form 要求 roo
|
|
|
26414
26508
|
|
|
26415
26509
|
> **onNativeOpenFiles**(`paths`, `info`): `void` \| `Promise`\<`void`\>
|
|
26416
26510
|
|
|
26417
|
-
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)
|
|
26418
26512
|
|
|
26419
26513
|
Native 文件打开全局事件,要求宿主启用 openFiles;App/Form 要求 root
|
|
26420
26514
|
|
|
@@ -26444,7 +26538,7 @@ startup、second-instance、association 或 drop 来源及请求 ID
|
|
|
26444
26538
|
|
|
26445
26539
|
> **onReceive**(`data`): `void` \| `Promise`\<`void`\>
|
|
26446
26540
|
|
|
26447
|
-
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)
|
|
26448
26542
|
|
|
26449
26543
|
接收 send 传递过来的 data 数据
|
|
26450
26544
|
|
|
@@ -26464,7 +26558,7 @@ Defined in: [lib/form.ts:1283](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26464
26558
|
|
|
26465
26559
|
> **onScreenResize**(): `void` \| `Promise`\<`void`\>
|
|
26466
26560
|
|
|
26467
|
-
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)
|
|
26468
26562
|
|
|
26469
26563
|
屏幕大小改变事件
|
|
26470
26564
|
|
|
@@ -26478,7 +26572,7 @@ Defined in: [lib/form.ts:1299](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26478
26572
|
|
|
26479
26573
|
> **onTaskEnded**(`taskId`): `void` \| `Promise`\<`void`\>
|
|
26480
26574
|
|
|
26481
|
-
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)
|
|
26482
26576
|
|
|
26483
26577
|
任务结束事件
|
|
26484
26578
|
|
|
@@ -26498,7 +26592,7 @@ Defined in: [lib/form.ts:1447](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26498
26592
|
|
|
26499
26593
|
> **onTaskStarted**(`taskId`): `void` \| `Promise`\<`void`\>
|
|
26500
26594
|
|
|
26501
|
-
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)
|
|
26502
26596
|
|
|
26503
26597
|
任务开始事件
|
|
26504
26598
|
|
|
@@ -26518,7 +26612,7 @@ Defined in: [lib/form.ts:1441](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26518
26612
|
|
|
26519
26613
|
> **onTrayChanged**(`taskId`, `trayId`): `void` \| `Promise`\<`void`\>
|
|
26520
26614
|
|
|
26521
|
-
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)
|
|
26522
26616
|
|
|
26523
26617
|
托盘数据变更通知
|
|
26524
26618
|
|
|
@@ -26548,7 +26642,7 @@ Defined in: [lib/form.ts:1403](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26548
26642
|
|
|
26549
26643
|
> **onTrayClick**(`trayId`): `void` \| `Promise`\<`void`\>
|
|
26550
26644
|
|
|
26551
|
-
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)
|
|
26552
26646
|
|
|
26553
26647
|
自己的托盘左键点击,只投递到所属任务
|
|
26554
26648
|
|
|
@@ -26572,7 +26666,7 @@ Defined in: [lib/form.ts:1424](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26572
26666
|
|
|
26573
26667
|
> **onTrayCreated**(`taskId`, `trayId`): `void` \| `Promise`\<`void`\>
|
|
26574
26668
|
|
|
26575
|
-
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)
|
|
26576
26670
|
|
|
26577
26671
|
托盘注册通知;通过 task.getTrayList(this) 读取快照
|
|
26578
26672
|
|
|
@@ -26602,7 +26696,7 @@ Defined in: [lib/form.ts:1392](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26602
26696
|
|
|
26603
26697
|
> **onTrayMenuClick**(`trayId`, `menuId`): `void` \| `Promise`\<`void`\>
|
|
26604
26698
|
|
|
26605
|
-
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)
|
|
26606
26700
|
|
|
26607
26701
|
自己的托盘菜单命令,只投递到所属任务
|
|
26608
26702
|
|
|
@@ -26632,7 +26726,7 @@ Defined in: [lib/form.ts:1435](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26632
26726
|
|
|
26633
26727
|
> **onTrayRemoved**(`taskId`, `trayId`): `void` \| `Promise`\<`void`\>
|
|
26634
26728
|
|
|
26635
|
-
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)
|
|
26636
26730
|
|
|
26637
26731
|
托盘删除通知
|
|
26638
26732
|
|
|
@@ -26662,7 +26756,7 @@ Defined in: [lib/form.ts:1414](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26662
26756
|
|
|
26663
26757
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
26664
26758
|
|
|
26665
|
-
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)
|
|
26666
26760
|
|
|
26667
26761
|
#### Returns
|
|
26668
26762
|
|
|
@@ -26678,7 +26772,7 @@ Defined in: [lib/form.ts:469](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
26678
26772
|
|
|
26679
26773
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
26680
26774
|
|
|
26681
|
-
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)
|
|
26682
26776
|
|
|
26683
26777
|
#### Returns
|
|
26684
26778
|
|
|
@@ -26694,7 +26788,7 @@ Defined in: [lib/form.ts:461](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
26694
26788
|
|
|
26695
26789
|
> **onWebMcpStatusChanged**(`status`): `void` \| `Promise`\<`void`\>
|
|
26696
26790
|
|
|
26697
|
-
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)
|
|
26698
26792
|
|
|
26699
26793
|
页面级 WebMCP 接入状态变化,所有 Form 共用同一状态
|
|
26700
26794
|
|
|
@@ -26718,7 +26812,7 @@ Defined in: [lib/form.ts:1457](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26718
26812
|
|
|
26719
26813
|
> **ready**(`cb`): `void`
|
|
26720
26814
|
|
|
26721
|
-
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)
|
|
26722
26816
|
|
|
26723
26817
|
将在 form 完全装载完后执行,如果已经装载完则立即执行
|
|
26724
26818
|
|
|
@@ -26738,7 +26832,7 @@ Defined in: [lib/form.ts:1075](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26738
26832
|
|
|
26739
26833
|
> **send**(`fid`, `obj`): `void`
|
|
26740
26834
|
|
|
26741
|
-
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)
|
|
26742
26836
|
|
|
26743
26837
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
26744
26838
|
|
|
@@ -26770,7 +26864,7 @@ formId 要接收对象的 form id
|
|
|
26770
26864
|
|
|
26771
26865
|
> **sendToPanel**(`panel`, `data`): `void`
|
|
26772
26866
|
|
|
26773
|
-
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)
|
|
26774
26868
|
|
|
26775
26869
|
发送一段数据到 panel 控件,本质上也是调用的 panel 控件的 send 方法
|
|
26776
26870
|
|
|
@@ -26794,7 +26888,7 @@ Defined in: [lib/form.ts:1124](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26794
26888
|
|
|
26795
26889
|
> **show**(): `Promise`\<`void`\>
|
|
26796
26890
|
|
|
26797
|
-
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)
|
|
26798
26892
|
|
|
26799
26893
|
显示窗体
|
|
26800
26894
|
|
|
@@ -26808,7 +26902,7 @@ Defined in: [lib/form.ts:1212](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26808
26902
|
|
|
26809
26903
|
> **showDialog**(): `Promise`\<`string`\>
|
|
26810
26904
|
|
|
26811
|
-
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)
|
|
26812
26906
|
|
|
26813
26907
|
显示独占的窗体
|
|
26814
26908
|
|
|
@@ -26822,7 +26916,7 @@ Defined in: [lib/form.ts:1237](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26822
26916
|
|
|
26823
26917
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
26824
26918
|
|
|
26825
|
-
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)
|
|
26826
26920
|
|
|
26827
26921
|
触发系统方法
|
|
26828
26922
|
|
|
@@ -26860,7 +26954,7 @@ Defined in: [lib/form.ts:425](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
26860
26954
|
|
|
26861
26955
|
> **updateStep**(`index`, `value`): `boolean`
|
|
26862
26956
|
|
|
26863
|
-
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)
|
|
26864
26958
|
|
|
26865
26959
|
更新步进条,用于动态改变某个项的 hash 值时使用
|
|
26866
26960
|
|
|
@@ -26884,7 +26978,7 @@ Defined in: [lib/form.ts:1186](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
26884
26978
|
|
|
26885
26979
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
26886
26980
|
|
|
26887
|
-
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)
|
|
26888
26982
|
|
|
26889
26983
|
监视变动
|
|
26890
26984
|
|
|
@@ -26947,7 +27041,7 @@ lib/form/classes/AbstractPanel.md
|
|
|
26947
27041
|
|
|
26948
27042
|
# Abstract Class: AbstractPanel
|
|
26949
27043
|
|
|
26950
|
-
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)
|
|
26951
27045
|
|
|
26952
27046
|
Panel 控件抽象类
|
|
26953
27047
|
|
|
@@ -26975,7 +27069,7 @@ Panel 控件抽象类
|
|
|
26975
27069
|
|
|
26976
27070
|
> `readonly` **components**: `Record`\<`string`, () => [`AbstractComponent`](AbstractComponent.md)\> = `{}`
|
|
26977
27071
|
|
|
26978
|
-
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)
|
|
26979
27073
|
|
|
26980
27074
|
当前视图内局部注册的应用组件
|
|
26981
27075
|
|
|
@@ -26989,7 +27083,7 @@ Defined in: [lib/form.ts:273](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
26989
27083
|
|
|
26990
27084
|
> **qs**: `Record`\<`string`, `string`\> = `{}`
|
|
26991
27085
|
|
|
26992
|
-
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)
|
|
26993
27087
|
|
|
26994
27088
|
当前的 nav(若有)传递过来的 qs
|
|
26995
27089
|
|
|
@@ -27001,7 +27095,7 @@ Defined in: [lib/form.ts:540](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27001
27095
|
|
|
27002
27096
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
27003
27097
|
|
|
27004
|
-
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)
|
|
27005
27099
|
|
|
27006
27100
|
layout 中 :class 的转义
|
|
27007
27101
|
|
|
@@ -27021,7 +27115,7 @@ layout 中 :class 的转义
|
|
|
27021
27115
|
|
|
27022
27116
|
> **get** **controlName**(): `string`
|
|
27023
27117
|
|
|
27024
|
-
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)
|
|
27025
27119
|
|
|
27026
27120
|
当前控件的名字
|
|
27027
27121
|
|
|
@@ -27033,7 +27127,7 @@ Defined in: [lib/form.ts:282](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27033
27127
|
|
|
27034
27128
|
> **set** **controlName**(`v`): `void`
|
|
27035
27129
|
|
|
27036
|
-
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)
|
|
27037
27131
|
|
|
27038
27132
|
##### Parameters
|
|
27039
27133
|
|
|
@@ -27057,7 +27151,7 @@ Defined in: [lib/form.ts:286](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27057
27151
|
|
|
27058
27152
|
> **get** **element**(): `HTMLElement`
|
|
27059
27153
|
|
|
27060
|
-
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)
|
|
27061
27155
|
|
|
27062
27156
|
获取当前的 HTML DOM
|
|
27063
27157
|
|
|
@@ -27077,7 +27171,7 @@ Defined in: [lib/form.ts:400](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27077
27171
|
|
|
27078
27172
|
> **get** **filename**(): `string`
|
|
27079
27173
|
|
|
27080
|
-
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)
|
|
27081
27175
|
|
|
27082
27176
|
当前文件在包内的路径
|
|
27083
27177
|
|
|
@@ -27097,7 +27191,7 @@ Defined in: [lib/form.ts:276](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27097
27191
|
|
|
27098
27192
|
> **get** **formFocus**(): `boolean`
|
|
27099
27193
|
|
|
27100
|
-
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)
|
|
27101
27195
|
|
|
27102
27196
|
当前窗体是否是焦点
|
|
27103
27197
|
|
|
@@ -27117,7 +27211,7 @@ Defined in: [lib/form.ts:548](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27117
27211
|
|
|
27118
27212
|
> **get** **formHash**(): `string`
|
|
27119
27213
|
|
|
27120
|
-
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)
|
|
27121
27215
|
|
|
27122
27216
|
获取母窗体的 formHash
|
|
27123
27217
|
|
|
@@ -27129,7 +27223,7 @@ Defined in: [lib/form.ts:495](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27129
27223
|
|
|
27130
27224
|
> **set** **formHash**(`fh`): `void`
|
|
27131
27225
|
|
|
27132
|
-
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)
|
|
27133
27227
|
|
|
27134
27228
|
设置母窗体的 formHash
|
|
27135
27229
|
|
|
@@ -27151,7 +27245,7 @@ Defined in: [lib/form.ts:500](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27151
27245
|
|
|
27152
27246
|
> **get** **formHashData**(): `Record`\<`string`, `any`\>
|
|
27153
27247
|
|
|
27154
|
-
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)
|
|
27155
27249
|
|
|
27156
27250
|
获取 form 的 formhash with data 值
|
|
27157
27251
|
|
|
@@ -27163,7 +27257,7 @@ Defined in: [lib/form.ts:505](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27163
27257
|
|
|
27164
27258
|
> **set** **formHashData**(`v`): `void`
|
|
27165
27259
|
|
|
27166
|
-
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)
|
|
27167
27261
|
|
|
27168
27262
|
##### Parameters
|
|
27169
27263
|
|
|
@@ -27183,7 +27277,7 @@ Defined in: [lib/form.ts:509](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27183
27277
|
|
|
27184
27278
|
> **get** **formId**(): `string`
|
|
27185
27279
|
|
|
27186
|
-
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)
|
|
27187
27281
|
|
|
27188
27282
|
当前的窗体 ID
|
|
27189
27283
|
|
|
@@ -27203,7 +27297,7 @@ Defined in: [lib/form.ts:302](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27203
27297
|
|
|
27204
27298
|
> **get** **l**(): (`key`, `data?`, `origin?`) => `string`
|
|
27205
27299
|
|
|
27206
|
-
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)
|
|
27207
27301
|
|
|
27208
27302
|
获取语言内容
|
|
27209
27303
|
|
|
@@ -27223,7 +27317,7 @@ Defined in: [lib/form.ts:346](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27223
27317
|
|
|
27224
27318
|
> **get** **locale**(): `string`
|
|
27225
27319
|
|
|
27226
|
-
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)
|
|
27227
27321
|
|
|
27228
27322
|
当前的语言
|
|
27229
27323
|
|
|
@@ -27243,7 +27337,7 @@ Defined in: [lib/form.ts:328](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27243
27337
|
|
|
27244
27338
|
> **get** **localeDirection**(): `"ltr"` \| `"rtl"`
|
|
27245
27339
|
|
|
27246
|
-
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)
|
|
27247
27341
|
|
|
27248
27342
|
当前语言的书写方向
|
|
27249
27343
|
|
|
@@ -27263,7 +27357,7 @@ Defined in: [lib/form.ts:339](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27263
27357
|
|
|
27264
27358
|
> **get** **localeTag**(): `string`
|
|
27265
27359
|
|
|
27266
|
-
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)
|
|
27267
27361
|
|
|
27268
27362
|
当前语言的标准 HTML lang 标签
|
|
27269
27363
|
|
|
@@ -27283,7 +27377,7 @@ Defined in: [lib/form.ts:334](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27283
27377
|
|
|
27284
27378
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
27285
27379
|
|
|
27286
|
-
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)
|
|
27287
27381
|
|
|
27288
27382
|
等待渲染
|
|
27289
27383
|
|
|
@@ -27303,7 +27397,7 @@ Defined in: [lib/form.ts:407](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27303
27397
|
|
|
27304
27398
|
> **get** **panelId**(): `string`
|
|
27305
27399
|
|
|
27306
|
-
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)
|
|
27307
27401
|
|
|
27308
27402
|
当前的 panel ID
|
|
27309
27403
|
|
|
@@ -27319,7 +27413,7 @@ Defined in: [lib/form.ts:479](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27319
27413
|
|
|
27320
27414
|
> **get** **path**(): `string`
|
|
27321
27415
|
|
|
27322
|
-
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)
|
|
27323
27417
|
|
|
27324
27418
|
当前文件的包内路径不以 / 结尾
|
|
27325
27419
|
|
|
@@ -27339,7 +27433,7 @@ Defined in: [lib/form.ts:316](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27339
27433
|
|
|
27340
27434
|
> **get** **prep**(): `string`
|
|
27341
27435
|
|
|
27342
|
-
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)
|
|
27343
27437
|
|
|
27344
27438
|
样式独占前缀
|
|
27345
27439
|
|
|
@@ -27359,7 +27453,7 @@ Defined in: [lib/form.ts:322](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27359
27453
|
|
|
27360
27454
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
27361
27455
|
|
|
27362
|
-
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)
|
|
27363
27457
|
|
|
27364
27458
|
获取 refs 情况
|
|
27365
27459
|
|
|
@@ -27379,7 +27473,7 @@ Defined in: [lib/form.ts:395](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27379
27473
|
|
|
27380
27474
|
> **get** **rootForm**(): [`AbstractForm`](AbstractForm.md) & `Record`\<`string`, `any`\>
|
|
27381
27475
|
|
|
27382
|
-
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)
|
|
27383
27477
|
|
|
27384
27478
|
当前 panel 所在窗体的窗体对象,系统会在创建时重写本函数
|
|
27385
27479
|
|
|
@@ -27395,7 +27489,7 @@ Defined in: [lib/form.ts:485](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27395
27489
|
|
|
27396
27490
|
> **get** **rootPanel**(): [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>
|
|
27397
27491
|
|
|
27398
|
-
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)
|
|
27399
27493
|
|
|
27400
27494
|
当前 panel 所在的 panel control 对象,系统会在创建时重写本函数
|
|
27401
27495
|
|
|
@@ -27411,7 +27505,7 @@ Defined in: [lib/form.ts:490](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27411
27505
|
|
|
27412
27506
|
> **get** **taskId**(): `string`
|
|
27413
27507
|
|
|
27414
|
-
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)
|
|
27415
27509
|
|
|
27416
27510
|
当前的任务 ID
|
|
27417
27511
|
|
|
@@ -27429,7 +27523,7 @@ Defined in: [lib/form.ts:296](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27429
27523
|
|
|
27430
27524
|
> **allowEvent**(`e`): `boolean`
|
|
27431
27525
|
|
|
27432
|
-
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)
|
|
27433
27527
|
|
|
27434
27528
|
判断当前事件可否执行
|
|
27435
27529
|
|
|
@@ -27455,7 +27549,7 @@ Defined in: [lib/form.ts:415](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27455
27549
|
|
|
27456
27550
|
> **clearQs**(): `void`
|
|
27457
27551
|
|
|
27458
|
-
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)
|
|
27459
27553
|
|
|
27460
27554
|
确定不再使用 qs 时可调用此方法清空,这样再次通过相同 qs 进入本 panel 依然会响应 qschange 事件
|
|
27461
27555
|
|
|
@@ -27469,7 +27563,7 @@ Defined in: [lib/form.ts:543](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27469
27563
|
|
|
27470
27564
|
> **doneStep**(): `Promise`\<`void`\>
|
|
27471
27565
|
|
|
27472
|
-
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)
|
|
27473
27567
|
|
|
27474
27568
|
目窗体完成当前步骤
|
|
27475
27569
|
|
|
@@ -27483,7 +27577,7 @@ Defined in: [lib/form.ts:535](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27483
27577
|
|
|
27484
27578
|
> **enterStep**(`list`): `Promise`\<`boolean`\>
|
|
27485
27579
|
|
|
27486
|
-
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)
|
|
27487
27581
|
|
|
27488
27582
|
母窗体进入 form hash 为源的步进条
|
|
27489
27583
|
|
|
@@ -27503,7 +27597,7 @@ Defined in: [lib/form.ts:524](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27503
27597
|
|
|
27504
27598
|
> **formHashBack**(): `Promise`\<`void`\>
|
|
27505
27599
|
|
|
27506
|
-
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)
|
|
27507
27601
|
|
|
27508
27602
|
将母窗体的 form hash 回退
|
|
27509
27603
|
|
|
@@ -27517,7 +27611,7 @@ Defined in: [lib/form.ts:514](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27517
27611
|
|
|
27518
27612
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
27519
27613
|
|
|
27520
|
-
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)
|
|
27521
27615
|
|
|
27522
27616
|
#### Returns
|
|
27523
27617
|
|
|
@@ -27533,7 +27627,7 @@ Defined in: [lib/form.ts:445](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27533
27627
|
|
|
27534
27628
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
27535
27629
|
|
|
27536
|
-
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)
|
|
27537
27631
|
|
|
27538
27632
|
#### Returns
|
|
27539
27633
|
|
|
@@ -27549,7 +27643,7 @@ Defined in: [lib/form.ts:453](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27549
27643
|
|
|
27550
27644
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
27551
27645
|
|
|
27552
|
-
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)
|
|
27553
27647
|
|
|
27554
27648
|
#### Returns
|
|
27555
27649
|
|
|
@@ -27565,7 +27659,7 @@ Defined in: [lib/form.ts:465](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27565
27659
|
|
|
27566
27660
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
27567
27661
|
|
|
27568
|
-
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)
|
|
27569
27663
|
|
|
27570
27664
|
#### Returns
|
|
27571
27665
|
|
|
@@ -27581,7 +27675,7 @@ Defined in: [lib/form.ts:457](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27581
27675
|
|
|
27582
27676
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
27583
27677
|
|
|
27584
|
-
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)
|
|
27585
27679
|
|
|
27586
27680
|
#### Returns
|
|
27587
27681
|
|
|
@@ -27597,7 +27691,7 @@ Defined in: [lib/form.ts:449](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27597
27691
|
|
|
27598
27692
|
> **onHide**(): `void` \| `Promise`\<`void`\>
|
|
27599
27693
|
|
|
27600
|
-
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)
|
|
27601
27695
|
|
|
27602
27696
|
#### Returns
|
|
27603
27697
|
|
|
@@ -27609,7 +27703,7 @@ Defined in: [lib/form.ts:563](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27609
27703
|
|
|
27610
27704
|
> **onMounted**(): `void` \| `Promise`\<`void`\>
|
|
27611
27705
|
|
|
27612
|
-
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)
|
|
27613
27707
|
|
|
27614
27708
|
#### Returns
|
|
27615
27709
|
|
|
@@ -27621,7 +27715,7 @@ Defined in: [lib/form.ts:568](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27621
27715
|
|
|
27622
27716
|
> **onQsChange**(): `void` \| `Promise`\<`void`\>
|
|
27623
27717
|
|
|
27624
|
-
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)
|
|
27625
27719
|
|
|
27626
27720
|
qs 变动时调用,如果只是用来做 qs 数据处理,建议用此方法
|
|
27627
27721
|
|
|
@@ -27635,7 +27729,7 @@ qs 变动时调用,如果只是用来做 qs 数据处理,建议用此方法
|
|
|
27635
27729
|
|
|
27636
27730
|
> **onQsChangeShow**(`e`): `void` \| `Promise`\<`void`\>
|
|
27637
27731
|
|
|
27638
|
-
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)
|
|
27639
27733
|
|
|
27640
27734
|
无论是 show 还是 qschange 都会触发,优先触发 show 或 qschange 事件本身,之后触发这个
|
|
27641
27735
|
|
|
@@ -27655,7 +27749,7 @@ Defined in: [lib/form.ts:585](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27655
27749
|
|
|
27656
27750
|
> **onReceive**(`data`): `void` \| `Promise`\<`void`\>
|
|
27657
27751
|
|
|
27658
|
-
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)
|
|
27659
27753
|
|
|
27660
27754
|
接收 send 传递过来的 data 数据(是 panel 控件的 send,不是 form 的 send)
|
|
27661
27755
|
|
|
@@ -27675,7 +27769,7 @@ Defined in: [lib/form.ts:574](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27675
27769
|
|
|
27676
27770
|
> **onShow**(`e`): `void` \| `Promise`\<`void`\>
|
|
27677
27771
|
|
|
27678
|
-
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)
|
|
27679
27773
|
|
|
27680
27774
|
#### Parameters
|
|
27681
27775
|
|
|
@@ -27693,7 +27787,7 @@ Defined in: [lib/form.ts:552](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27693
27787
|
|
|
27694
27788
|
> **onShowed**(): `void` \| `Promise`\<`void`\>
|
|
27695
27789
|
|
|
27696
|
-
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)
|
|
27697
27791
|
|
|
27698
27792
|
panel 已经完全显示后所要执行的
|
|
27699
27793
|
|
|
@@ -27707,7 +27801,7 @@ panel 已经完全显示后所要执行的
|
|
|
27707
27801
|
|
|
27708
27802
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
27709
27803
|
|
|
27710
|
-
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)
|
|
27711
27805
|
|
|
27712
27806
|
#### Returns
|
|
27713
27807
|
|
|
@@ -27723,7 +27817,7 @@ Defined in: [lib/form.ts:469](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27723
27817
|
|
|
27724
27818
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
27725
27819
|
|
|
27726
|
-
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)
|
|
27727
27821
|
|
|
27728
27822
|
#### Returns
|
|
27729
27823
|
|
|
@@ -27739,7 +27833,7 @@ Defined in: [lib/form.ts:461](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27739
27833
|
|
|
27740
27834
|
> **send**(`fid`, `obj`): `void`
|
|
27741
27835
|
|
|
27742
|
-
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)
|
|
27743
27837
|
|
|
27744
27838
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
27745
27839
|
|
|
@@ -27771,7 +27865,7 @@ formId 要接收对象的 form id
|
|
|
27771
27865
|
|
|
27772
27866
|
> **sendToRootPanel**(`data`): `void`
|
|
27773
27867
|
|
|
27774
|
-
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)
|
|
27775
27869
|
|
|
27776
27870
|
发送一段数据到自己这个 panel 控件,本质上也是调用的 panel 控件的 send 方法,主要用来实现发送给跳转后的 panel
|
|
27777
27871
|
|
|
@@ -27791,7 +27885,7 @@ Defined in: [lib/form.ts:519](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27791
27885
|
|
|
27792
27886
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
27793
27887
|
|
|
27794
|
-
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)
|
|
27795
27889
|
|
|
27796
27890
|
触发系统方法
|
|
27797
27891
|
|
|
@@ -27829,7 +27923,7 @@ Defined in: [lib/form.ts:425](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
27829
27923
|
|
|
27830
27924
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
27831
27925
|
|
|
27832
|
-
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)
|
|
27833
27927
|
|
|
27834
27928
|
监视变动
|
|
27835
27929
|
|
|
@@ -27894,7 +27988,7 @@ lib/form/functions/alert.md
|
|
|
27894
27988
|
|
|
27895
27989
|
> **alert**(`content`, `type?`): `number`
|
|
27896
27990
|
|
|
27897
|
-
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)
|
|
27898
27992
|
|
|
27899
27993
|
从下方弹出 alert
|
|
27900
27994
|
|
|
@@ -27916,6 +28010,8 @@ Defined in: [lib/form.ts:2822](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
27916
28010
|
|
|
27917
28011
|
`number`
|
|
27918
28012
|
|
|
28013
|
+
alert id
|
|
28014
|
+
|
|
27919
28015
|
lib/form/functions/appendToPop.md
|
|
27920
28016
|
---
|
|
27921
28017
|
|
|
@@ -27929,7 +28025,7 @@ lib/form/functions/appendToPop.md
|
|
|
27929
28025
|
|
|
27930
28026
|
> **appendToPop**(`el`): `void`
|
|
27931
28027
|
|
|
27932
|
-
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)
|
|
27933
28029
|
|
|
27934
28030
|
将标签追加到 pop 层
|
|
27935
28031
|
|
|
@@ -27945,6 +28041,8 @@ Defined in: [lib/form.ts:3073](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
27945
28041
|
|
|
27946
28042
|
`void`
|
|
27947
28043
|
|
|
28044
|
+
无返回值
|
|
28045
|
+
|
|
27948
28046
|
lib/form/functions/bindDrag.md
|
|
27949
28047
|
---
|
|
27950
28048
|
|
|
@@ -27958,7 +28056,7 @@ lib/form/functions/bindDrag.md
|
|
|
27958
28056
|
|
|
27959
28057
|
> **bindDrag**(`e`): `void`
|
|
27960
28058
|
|
|
27961
|
-
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)
|
|
27962
28060
|
|
|
27963
28061
|
绑定窗体拖动事件,在 pointerdown 中绑定
|
|
27964
28062
|
|
|
@@ -27987,7 +28085,7 @@ lib/form/functions/bindResize.md
|
|
|
27987
28085
|
|
|
27988
28086
|
> **bindResize**(`e`, `border`): `void`
|
|
27989
28087
|
|
|
27990
|
-
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)
|
|
27991
28089
|
|
|
27992
28090
|
绑定窗体拖动大小事件,在 pointerdown 中绑定
|
|
27993
28091
|
|
|
@@ -28022,7 +28120,7 @@ lib/form/functions/captcha.md
|
|
|
28022
28120
|
|
|
28023
28121
|
> **captcha**(`current`, `opt`): `Promise`\<`false` \| [`ICaptchaResultEvent`](../../control/interfaces/ICaptchaResultEvent.md)\>
|
|
28024
28122
|
|
|
28025
|
-
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)
|
|
28026
28124
|
|
|
28027
28125
|
显示一个验证码窗口
|
|
28028
28126
|
|
|
@@ -28059,7 +28157,7 @@ lib/form/functions/changeFocusMaxZIndex.md
|
|
|
28059
28157
|
|
|
28060
28158
|
> **changeFocusMaxZIndex**(): `Promise`\<`void`\>
|
|
28061
28159
|
|
|
28062
|
-
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)
|
|
28063
28161
|
|
|
28064
28162
|
让最大的 z index 窗体获取焦点(不含 top 和最小化的)
|
|
28065
28163
|
|
|
@@ -28080,7 +28178,7 @@ lib/form/functions/changeFocus.md
|
|
|
28080
28178
|
|
|
28081
28179
|
> **changeFocus**(`formId?`): `Promise`\<`void`\>
|
|
28082
28180
|
|
|
28083
|
-
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)
|
|
28084
28182
|
|
|
28085
28183
|
改变 form 的焦点 class
|
|
28086
28184
|
|
|
@@ -28109,7 +28207,7 @@ lib/form/functions/close.md
|
|
|
28109
28207
|
|
|
28110
28208
|
> **close**(`formId`): `boolean`
|
|
28111
28209
|
|
|
28112
|
-
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)
|
|
28113
28211
|
|
|
28114
28212
|
关闭一个窗体
|
|
28115
28213
|
|
|
@@ -28138,7 +28236,7 @@ lib/form/functions/confirm.md
|
|
|
28138
28236
|
|
|
28139
28237
|
> **confirm**(`current`, `opt`): `Promise`\<`number` \| `boolean`\>
|
|
28140
28238
|
|
|
28141
|
-
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)
|
|
28142
28240
|
|
|
28143
28241
|
显示一个 confirm
|
|
28144
28242
|
|
|
@@ -28173,7 +28271,7 @@ lib/form/functions/create.md
|
|
|
28173
28271
|
|
|
28174
28272
|
> **create**\<`T`\>(`current`, `cls`, `data?`, `opt?`): `Promise`\<`T`\>
|
|
28175
28273
|
|
|
28176
|
-
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)
|
|
28177
28275
|
|
|
28178
28276
|
创建一个窗体
|
|
28179
28277
|
|
|
@@ -28238,7 +28336,7 @@ lib/form/functions/createPanel.md
|
|
|
28238
28336
|
|
|
28239
28337
|
> **createPanel**\<`T`\>(`rootPanel`, `cls`, `opt?`): `Promise`\<\{ `id`: `string`; `vapp`: [`IVApp`](../../core/interfaces/IVApp.md); `vroot`: `T`; \}\>
|
|
28240
28338
|
|
|
28241
|
-
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)
|
|
28242
28340
|
|
|
28243
28341
|
创建 panel 对象,一般情况下无需使用
|
|
28244
28342
|
|
|
@@ -28301,7 +28399,7 @@ lib/form/functions/dialog.md
|
|
|
28301
28399
|
|
|
28302
28400
|
> **dialog**(`current`, `opt`): `Promise`\<`string`\>
|
|
28303
28401
|
|
|
28304
|
-
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)
|
|
28305
28403
|
|
|
28306
28404
|
显示一个 dialog
|
|
28307
28405
|
|
|
@@ -28336,7 +28434,7 @@ lib/form/functions/doFocusAndPopEvent.md
|
|
|
28336
28434
|
|
|
28337
28435
|
> **doFocusAndPopEvent**(`e`): `Promise`\<`void`\>
|
|
28338
28436
|
|
|
28339
|
-
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)
|
|
28340
28438
|
|
|
28341
28439
|
点下 pointerdown 屏幕任意一位置时根据点击处处理隐藏 pop 和焦点丢失事件,鼠标和 touch 只会响应一个
|
|
28342
28440
|
|
|
@@ -28352,6 +28450,8 @@ Defined in: [lib/form.ts:3474](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28352
28450
|
|
|
28353
28451
|
`Promise`\<`void`\>
|
|
28354
28452
|
|
|
28453
|
+
处理完成
|
|
28454
|
+
|
|
28355
28455
|
lib/form/functions/flash.md
|
|
28356
28456
|
---
|
|
28357
28457
|
|
|
@@ -28365,7 +28465,7 @@ lib/form/functions/flash.md
|
|
|
28365
28465
|
|
|
28366
28466
|
> **flash**(`current`, `formId`): `Promise`\<`void`\>
|
|
28367
28467
|
|
|
28368
|
-
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)
|
|
28369
28469
|
|
|
28370
28470
|
让窗体闪烁
|
|
28371
28471
|
|
|
@@ -28400,7 +28500,7 @@ lib/form/functions/getActivePanel.md
|
|
|
28400
28500
|
|
|
28401
28501
|
> **getActivePanel**(`formId`): `string`[]
|
|
28402
28502
|
|
|
28403
|
-
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)
|
|
28404
28504
|
|
|
28405
28505
|
获取窗体当前活跃中的 panelId 列表
|
|
28406
28506
|
|
|
@@ -28429,7 +28529,7 @@ lib/form/functions/getFocus.md
|
|
|
28429
28529
|
|
|
28430
28530
|
> **getFocus**(): `string` \| `null`
|
|
28431
28531
|
|
|
28432
|
-
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)
|
|
28433
28533
|
|
|
28434
28534
|
获取当前有焦点的窗体 form id
|
|
28435
28535
|
|
|
@@ -28450,7 +28550,7 @@ lib/form/functions/getHash.md
|
|
|
28450
28550
|
|
|
28451
28551
|
> **getHash**(`formId`): `string`
|
|
28452
28552
|
|
|
28453
|
-
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)
|
|
28454
28554
|
|
|
28455
28555
|
获取窗体的 hash
|
|
28456
28556
|
|
|
@@ -28477,7 +28577,7 @@ lib/form/functions/getLauncherShow.md
|
|
|
28477
28577
|
|
|
28478
28578
|
> **getLauncherShow**(): `boolean`
|
|
28479
28579
|
|
|
28480
|
-
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)
|
|
28481
28581
|
|
|
28482
28582
|
查询 Launcher 当前显示状态,供首次挂载时同步
|
|
28483
28583
|
|
|
@@ -28500,7 +28600,7 @@ lib/form/functions/getList.md
|
|
|
28500
28600
|
|
|
28501
28601
|
> **getList**(`taskId`): `Record`\<`string`, [`IFormInfo`](../interfaces/IFormInfo.md)\>
|
|
28502
28602
|
|
|
28503
|
-
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)
|
|
28504
28604
|
|
|
28505
28605
|
获取 form list 的简略情况
|
|
28506
28606
|
|
|
@@ -28529,7 +28629,7 @@ lib/form/functions/getMaxZIndexID.md
|
|
|
28529
28629
|
|
|
28530
28630
|
> **getMaxZIndexID**(`current`, `out?`): `Promise`\<`string` \| `null`\>
|
|
28531
28631
|
|
|
28532
|
-
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)
|
|
28533
28633
|
|
|
28534
28634
|
获取当前 z-index 值最大的 form id(除了 top 模式的窗体和最小化的窗体)
|
|
28535
28635
|
|
|
@@ -28570,7 +28670,7 @@ lib/form/functions/get.md
|
|
|
28570
28670
|
|
|
28571
28671
|
> **get**(`formId`): [`IFormInfo`](../interfaces/IFormInfo.md) \| `null`
|
|
28572
28672
|
|
|
28573
|
-
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)
|
|
28574
28674
|
|
|
28575
28675
|
获取窗体信息
|
|
28576
28676
|
|
|
@@ -28599,7 +28699,7 @@ lib/form/functions/getRectByBorder.md
|
|
|
28599
28699
|
|
|
28600
28700
|
> **getRectByBorder**(`border`, `area?`): `object`
|
|
28601
28701
|
|
|
28602
|
-
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)
|
|
28603
28703
|
|
|
28604
28704
|
根据 border 方向 获取理论窗体大小
|
|
28605
28705
|
|
|
@@ -28652,7 +28752,7 @@ lib/form/functions/getTaskId.md
|
|
|
28652
28752
|
|
|
28653
28753
|
> **getTaskId**(`formId`): `string`
|
|
28654
28754
|
|
|
28655
|
-
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)
|
|
28656
28756
|
|
|
28657
28757
|
根据窗体 id 获取 task id
|
|
28658
28758
|
|
|
@@ -28681,7 +28781,7 @@ lib/form/functions/hashBack.md
|
|
|
28681
28781
|
|
|
28682
28782
|
> **hashBack**(`formId`): `Promise`\<`boolean`\>
|
|
28683
28783
|
|
|
28684
|
-
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)
|
|
28685
28785
|
|
|
28686
28786
|
将窗体的 hash 退回上一个
|
|
28687
28787
|
|
|
@@ -28708,7 +28808,7 @@ lib/form/functions/hash.md
|
|
|
28708
28808
|
|
|
28709
28809
|
> **hash**(`formId`, `hash`): `boolean`
|
|
28710
28810
|
|
|
28711
|
-
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)
|
|
28712
28812
|
|
|
28713
28813
|
修改窗体 hash
|
|
28714
28814
|
|
|
@@ -28743,7 +28843,7 @@ lib/form/functions/hideKeyboard.md
|
|
|
28743
28843
|
|
|
28744
28844
|
> **hideKeyboard**(): `void`
|
|
28745
28845
|
|
|
28746
|
-
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)
|
|
28747
28847
|
|
|
28748
28848
|
隐藏系统级虚拟键盘
|
|
28749
28849
|
|
|
@@ -28751,6 +28851,8 @@ Defined in: [lib/form.ts:2113](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28751
28851
|
|
|
28752
28852
|
`void`
|
|
28753
28853
|
|
|
28854
|
+
无返回值
|
|
28855
|
+
|
|
28754
28856
|
lib/form/functions/hideLauncher.md
|
|
28755
28857
|
---
|
|
28756
28858
|
|
|
@@ -28764,7 +28866,7 @@ lib/form/functions/hideLauncher.md
|
|
|
28764
28866
|
|
|
28765
28867
|
> **hideLauncher**(): `void`
|
|
28766
28868
|
|
|
28767
|
-
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)
|
|
28768
28870
|
|
|
28769
28871
|
隐藏 launcher 界面;重复关闭不重复通知或安排清理
|
|
28770
28872
|
|
|
@@ -28787,7 +28889,7 @@ lib/form/functions/hideNotify.md
|
|
|
28787
28889
|
|
|
28788
28890
|
> **hideNotify**(`notifyId`): `void`
|
|
28789
28891
|
|
|
28790
|
-
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)
|
|
28791
28893
|
|
|
28792
28894
|
隐藏 notify
|
|
28793
28895
|
|
|
@@ -28803,6 +28905,8 @@ Defined in: [lib/form.ts:3054](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28803
28905
|
|
|
28804
28906
|
`void`
|
|
28805
28907
|
|
|
28908
|
+
无返回值
|
|
28909
|
+
|
|
28806
28910
|
lib/form/functions/hidePop.md
|
|
28807
28911
|
---
|
|
28808
28912
|
|
|
@@ -28816,7 +28920,7 @@ lib/form/functions/hidePop.md
|
|
|
28816
28920
|
|
|
28817
28921
|
> **hidePop**(`pop?`): `void`
|
|
28818
28922
|
|
|
28819
|
-
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)
|
|
28820
28924
|
|
|
28821
28925
|
隐藏正在显示中的所有 pop,或指定 pop/el
|
|
28822
28926
|
|
|
@@ -28826,10 +28930,14 @@ Defined in: [lib/form.ts:3373](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28826
28930
|
|
|
28827
28931
|
`HTMLElement` \| [`IVue`](../../core/interfaces/IVue.md)
|
|
28828
28932
|
|
|
28933
|
+
要隐藏的浮层或触发元素;省略时隐藏全部
|
|
28934
|
+
|
|
28829
28935
|
## Returns
|
|
28830
28936
|
|
|
28831
28937
|
`void`
|
|
28832
28938
|
|
|
28939
|
+
无返回值
|
|
28940
|
+
|
|
28833
28941
|
lib/form/functions/hideRectangle.md
|
|
28834
28942
|
---
|
|
28835
28943
|
|
|
@@ -28843,7 +28951,7 @@ lib/form/functions/hideRectangle.md
|
|
|
28843
28951
|
|
|
28844
28952
|
> **hideRectangle**(): `void`
|
|
28845
28953
|
|
|
28846
|
-
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)
|
|
28847
28955
|
|
|
28848
28956
|
结束时请隐藏矩形
|
|
28849
28957
|
|
|
@@ -28864,12 +28972,16 @@ lib/form/functions/init.md
|
|
|
28864
28972
|
|
|
28865
28973
|
> **init**(): `void`
|
|
28866
28974
|
|
|
28867
|
-
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
|
+
初始化系统宿主,多次调用仅执行一次
|
|
28868
28978
|
|
|
28869
28979
|
## Returns
|
|
28870
28980
|
|
|
28871
28981
|
`void`
|
|
28872
28982
|
|
|
28983
|
+
无返回值
|
|
28984
|
+
|
|
28873
28985
|
lib/form/functions/initSysId.md
|
|
28874
28986
|
---
|
|
28875
28987
|
|
|
@@ -28883,7 +28995,7 @@ lib/form/functions/initSysId.md
|
|
|
28883
28995
|
|
|
28884
28996
|
> **initSysId**(`id`): `void`
|
|
28885
28997
|
|
|
28886
|
-
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)
|
|
28887
28999
|
|
|
28888
29000
|
初始化系统级 ID,仅能设置一次
|
|
28889
29001
|
|
|
@@ -28912,7 +29024,7 @@ lib/form/functions/isJustPop.md
|
|
|
28912
29024
|
|
|
28913
29025
|
> **isJustPop**(`el`): `boolean`
|
|
28914
29026
|
|
|
28915
|
-
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)
|
|
28916
29028
|
|
|
28917
29029
|
检测 pop 是不是刚刚显示的
|
|
28918
29030
|
|
|
@@ -28922,10 +29034,14 @@ Defined in: [lib/form.ts:3455](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
28922
29034
|
|
|
28923
29035
|
`number` \| `HTMLElement`
|
|
28924
29036
|
|
|
29037
|
+
触发元素或浮层层级
|
|
29038
|
+
|
|
28925
29039
|
## Returns
|
|
28926
29040
|
|
|
28927
29041
|
`boolean`
|
|
28928
29042
|
|
|
29043
|
+
是否在 100 毫秒内显示
|
|
29044
|
+
|
|
28929
29045
|
lib/form/functions/max.md
|
|
28930
29046
|
---
|
|
28931
29047
|
|
|
@@ -28939,7 +29055,7 @@ lib/form/functions/max.md
|
|
|
28939
29055
|
|
|
28940
29056
|
> **max**(`formId`): `boolean`
|
|
28941
29057
|
|
|
28942
|
-
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)
|
|
28943
29059
|
|
|
28944
29060
|
最大化某个窗体
|
|
28945
29061
|
|
|
@@ -28968,7 +29084,7 @@ lib/form/functions/min.md
|
|
|
28968
29084
|
|
|
28969
29085
|
> **min**(`formId`): `boolean`
|
|
28970
29086
|
|
|
28971
|
-
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)
|
|
28972
29088
|
|
|
28973
29089
|
最小化某个窗体
|
|
28974
29090
|
|
|
@@ -28997,7 +29113,7 @@ lib/form/functions/moveRectangle.md
|
|
|
28997
29113
|
|
|
28998
29114
|
> **moveRectangle**(`border`): `void`
|
|
28999
29115
|
|
|
29000
|
-
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)
|
|
29001
29117
|
|
|
29002
29118
|
移动矩形到新位置
|
|
29003
29119
|
|
|
@@ -29028,7 +29144,7 @@ lib/form/functions/notifyContent.md
|
|
|
29028
29144
|
|
|
29029
29145
|
> **notifyContent**(`notifyId`, `opt`): `void`
|
|
29030
29146
|
|
|
29031
|
-
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)
|
|
29032
29148
|
|
|
29033
29149
|
修改 notify 的提示信息
|
|
29034
29150
|
|
|
@@ -29044,12 +29160,14 @@ notify id
|
|
|
29044
29160
|
|
|
29045
29161
|
[`INotifyContentOptions`](../interfaces/INotifyContentOptions.md)
|
|
29046
29162
|
|
|
29047
|
-
|
|
29163
|
+
参数,timeout 只能缩短通知存续时间
|
|
29048
29164
|
|
|
29049
29165
|
## Returns
|
|
29050
29166
|
|
|
29051
29167
|
`void`
|
|
29052
29168
|
|
|
29169
|
+
无返回值
|
|
29170
|
+
|
|
29053
29171
|
lib/form/functions/notify.md
|
|
29054
29172
|
---
|
|
29055
29173
|
|
|
@@ -29063,7 +29181,7 @@ lib/form/functions/notify.md
|
|
|
29063
29181
|
|
|
29064
29182
|
> **notify**(`opt`): `number`
|
|
29065
29183
|
|
|
29066
|
-
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)
|
|
29067
29185
|
|
|
29068
29186
|
弹出右下角信息框
|
|
29069
29187
|
|
|
@@ -29094,7 +29212,7 @@ lib/form/functions/notifyProgress.md
|
|
|
29094
29212
|
|
|
29095
29213
|
> **notifyProgress**(`notifyId`, `per`): `void`
|
|
29096
29214
|
|
|
29097
|
-
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)
|
|
29098
29216
|
|
|
29099
29217
|
修改 notify 的进度条进度
|
|
29100
29218
|
|
|
@@ -29116,6 +29234,8 @@ notify id
|
|
|
29116
29234
|
|
|
29117
29235
|
`void`
|
|
29118
29236
|
|
|
29237
|
+
无返回值
|
|
29238
|
+
|
|
29119
29239
|
lib/form/functions/prompt.md
|
|
29120
29240
|
---
|
|
29121
29241
|
|
|
@@ -29129,7 +29249,7 @@ lib/form/functions/prompt.md
|
|
|
29129
29249
|
|
|
29130
29250
|
> **prompt**(`current`, `opt`): `Promise`\<`string`\>
|
|
29131
29251
|
|
|
29132
|
-
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)
|
|
29133
29253
|
|
|
29134
29254
|
显示一个输入框 dialog
|
|
29135
29255
|
|
|
@@ -29164,7 +29284,7 @@ lib/form/functions/refreshLocaleDirection.md
|
|
|
29164
29284
|
|
|
29165
29285
|
> **refreshLocaleDirection**(`taskId?`): `void`
|
|
29166
29286
|
|
|
29167
|
-
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)
|
|
29168
29288
|
|
|
29169
29289
|
刷新系统根节点及任务窗体的语言方向
|
|
29170
29290
|
|
|
@@ -29180,6 +29300,8 @@ Defined in: [lib/form.ts:2057](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29180
29300
|
|
|
29181
29301
|
`void`
|
|
29182
29302
|
|
|
29303
|
+
无返回值
|
|
29304
|
+
|
|
29183
29305
|
lib/form/functions/refreshMaxPosition.md
|
|
29184
29306
|
---
|
|
29185
29307
|
|
|
@@ -29193,7 +29315,7 @@ lib/form/functions/refreshMaxPosition.md
|
|
|
29193
29315
|
|
|
29194
29316
|
> **refreshMaxPosition**(): `void`
|
|
29195
29317
|
|
|
29196
|
-
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)
|
|
29197
29319
|
|
|
29198
29320
|
重置所有已经最大化的窗体大小和位置
|
|
29199
29321
|
|
|
@@ -29214,7 +29336,7 @@ lib/form/functions/refreshNotifyPosition.md
|
|
|
29214
29336
|
|
|
29215
29337
|
> **refreshNotifyPosition**(): `void`
|
|
29216
29338
|
|
|
29217
|
-
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)
|
|
29218
29340
|
|
|
29219
29341
|
按当前可用区域和实际高度重新排列通知
|
|
29220
29342
|
|
|
@@ -29237,7 +29359,7 @@ lib/form/functions/removeActivePanel.md
|
|
|
29237
29359
|
|
|
29238
29360
|
> **removeActivePanel**(`current`, `formId`, `panelId`): `boolean`
|
|
29239
29361
|
|
|
29240
|
-
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)
|
|
29241
29363
|
|
|
29242
29364
|
移除 form 中正在活跃中的 panel id (panel 本身被置于隐藏时)
|
|
29243
29365
|
|
|
@@ -29278,7 +29400,7 @@ lib/form/functions/removeFromPop.md
|
|
|
29278
29400
|
|
|
29279
29401
|
> **removeFromPop**(`el`): `void`
|
|
29280
29402
|
|
|
29281
|
-
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)
|
|
29282
29404
|
|
|
29283
29405
|
将标签从 pop 层移除
|
|
29284
29406
|
|
|
@@ -29294,6 +29416,8 @@ Defined in: [lib/form.ts:3081](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29294
29416
|
|
|
29295
29417
|
`void`
|
|
29296
29418
|
|
|
29419
|
+
无返回值
|
|
29420
|
+
|
|
29297
29421
|
lib/form/functions/remove.md
|
|
29298
29422
|
---
|
|
29299
29423
|
|
|
@@ -29307,7 +29431,7 @@ lib/form/functions/remove.md
|
|
|
29307
29431
|
|
|
29308
29432
|
> **remove**(`formId`): `boolean`
|
|
29309
29433
|
|
|
29310
|
-
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)
|
|
29311
29435
|
|
|
29312
29436
|
移除一个 form(关闭窗口)
|
|
29313
29437
|
|
|
@@ -29336,7 +29460,7 @@ lib/form/functions/removePanel.md
|
|
|
29336
29460
|
|
|
29337
29461
|
> **removePanel**(`id`, `vapp`, `el`): `boolean`
|
|
29338
29462
|
|
|
29339
|
-
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)
|
|
29340
29464
|
|
|
29341
29465
|
移除 panel 挂载,通常发生在 panel 控件的 onBeforeUnmount 中
|
|
29342
29466
|
|
|
@@ -29377,7 +29501,7 @@ lib/form/functions/send.md
|
|
|
29377
29501
|
|
|
29378
29502
|
> **send**(`formId`, `obj`): `void`
|
|
29379
29503
|
|
|
29380
|
-
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)
|
|
29381
29505
|
|
|
29382
29506
|
给一个窗体发送一个对象,不会知道成功与失败状态,用 this.send 替代
|
|
29383
29507
|
|
|
@@ -29412,7 +29536,7 @@ lib/form/functions/setActivePanel.md
|
|
|
29412
29536
|
|
|
29413
29537
|
> **setActivePanel**(`current`, `formId`, `panelId`): `boolean`
|
|
29414
29538
|
|
|
29415
|
-
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)
|
|
29416
29540
|
|
|
29417
29541
|
将 form 中某个 panel 设置为活动的
|
|
29418
29542
|
|
|
@@ -29453,7 +29577,7 @@ lib/form/functions/showCircular.md
|
|
|
29453
29577
|
|
|
29454
29578
|
> **showCircular**(`x`, `y`): `void`
|
|
29455
29579
|
|
|
29456
|
-
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)
|
|
29457
29581
|
|
|
29458
29582
|
显示从小到大的圆圈动画特效对象
|
|
29459
29583
|
|
|
@@ -29488,7 +29612,7 @@ lib/form/functions/showKeyboard.md
|
|
|
29488
29612
|
|
|
29489
29613
|
> **showKeyboard**(): `void`
|
|
29490
29614
|
|
|
29491
|
-
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)
|
|
29492
29616
|
|
|
29493
29617
|
显示系统级虚拟键盘
|
|
29494
29618
|
|
|
@@ -29496,6 +29620,8 @@ Defined in: [lib/form.ts:2096](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29496
29620
|
|
|
29497
29621
|
`void`
|
|
29498
29622
|
|
|
29623
|
+
无返回值
|
|
29624
|
+
|
|
29499
29625
|
lib/form/functions/showLauncher.md
|
|
29500
29626
|
---
|
|
29501
29627
|
|
|
@@ -29509,7 +29635,7 @@ lib/form/functions/showLauncher.md
|
|
|
29509
29635
|
|
|
29510
29636
|
> **showLauncher**(): `void`
|
|
29511
29637
|
|
|
29512
|
-
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)
|
|
29513
29639
|
|
|
29514
29640
|
显示 launcher 界面;状态变化时通知所有应用与窗体
|
|
29515
29641
|
|
|
@@ -29532,7 +29658,7 @@ lib/form/functions/showPop.md
|
|
|
29532
29658
|
|
|
29533
29659
|
> **showPop**(`el`, `pop`, `direction`, `opt?`): `void`
|
|
29534
29660
|
|
|
29535
|
-
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)
|
|
29536
29662
|
|
|
29537
29663
|
获取 pop 显示出来的坐标并报系统全局记录
|
|
29538
29664
|
|
|
@@ -29552,13 +29678,13 @@ Defined in: [lib/form.ts:3257](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29552
29678
|
|
|
29553
29679
|
### direction
|
|
29554
29680
|
|
|
29555
|
-
`"v"` \| `PointerEvent` \| `"
|
|
29681
|
+
`"v"` \| `PointerEvent` \| `"h"` \| `"t"` \| \{ `x`: `number`; `y`: `number`; \}
|
|
29556
29682
|
|
|
29557
29683
|
要显示方向(以 $el 为准的 h 水平 v 垂直 t 垂直水平居中)或坐标
|
|
29558
29684
|
|
|
29559
29685
|
### opt?
|
|
29560
29686
|
|
|
29561
|
-
|
|
29687
|
+
size 自定义宽高;null 为 true 时为空也显示;autoPosition 随内容尺寸更新位置;autoScroll 随原元素位置更新;flow 默认加入 pop 流,不加入则不会自动隐藏;overflow 控制内容溢出;way 为托管方式
|
|
29562
29688
|
|
|
29563
29689
|
#### autoPosition?
|
|
29564
29690
|
|
|
@@ -29604,6 +29730,8 @@ width / height 显示的 pop 定义自定义宽/高度,可省略;null,true
|
|
|
29604
29730
|
|
|
29605
29731
|
`void`
|
|
29606
29732
|
|
|
29733
|
+
无返回值
|
|
29734
|
+
|
|
29607
29735
|
lib/form/functions/showRectangle.md
|
|
29608
29736
|
---
|
|
29609
29737
|
|
|
@@ -29617,7 +29745,7 @@ lib/form/functions/showRectangle.md
|
|
|
29617
29745
|
|
|
29618
29746
|
> **showRectangle**(`x`, `y`, `border`): `void`
|
|
29619
29747
|
|
|
29620
|
-
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)
|
|
29621
29749
|
|
|
29622
29750
|
显示从小到大的矩形动画特效对象
|
|
29623
29751
|
|
|
@@ -29658,7 +29786,7 @@ lib/form/functions/superConfirm.md
|
|
|
29658
29786
|
|
|
29659
29787
|
> **superConfirm**(`current`, `html`): `Promise`\<`boolean`\>
|
|
29660
29788
|
|
|
29661
|
-
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)
|
|
29662
29790
|
|
|
29663
29791
|
显示系统级询问框
|
|
29664
29792
|
|
|
@@ -29668,14 +29796,20 @@ Defined in: [lib/form.ts:2075](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29668
29796
|
|
|
29669
29797
|
`string`
|
|
29670
29798
|
|
|
29799
|
+
系统级 ID
|
|
29800
|
+
|
|
29671
29801
|
### html
|
|
29672
29802
|
|
|
29673
29803
|
`string`
|
|
29674
29804
|
|
|
29805
|
+
询问框内容
|
|
29806
|
+
|
|
29675
29807
|
## Returns
|
|
29676
29808
|
|
|
29677
29809
|
`Promise`\<`boolean`\>
|
|
29678
29810
|
|
|
29811
|
+
用户选择;ID 不匹配或已有询问框时返回 false
|
|
29812
|
+
|
|
29679
29813
|
lib/form/index.md
|
|
29680
29814
|
---
|
|
29681
29815
|
|
|
@@ -29785,7 +29919,7 @@ lib/form/interfaces/IAbstractPanelQsChangeShowEvent.md
|
|
|
29785
29919
|
|
|
29786
29920
|
# Interface: IAbstractPanelQsChangeShowEvent
|
|
29787
29921
|
|
|
29788
|
-
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)
|
|
29789
29923
|
|
|
29790
29924
|
AbstractPanel qsChange 显示事件
|
|
29791
29925
|
|
|
@@ -29795,7 +29929,7 @@ AbstractPanel qsChange 显示事件
|
|
|
29795
29929
|
|
|
29796
29930
|
> **detail**: `object`
|
|
29797
29931
|
|
|
29798
|
-
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)
|
|
29799
29933
|
|
|
29800
29934
|
#### action
|
|
29801
29935
|
|
|
@@ -29836,7 +29970,7 @@ lib/form/interfaces/IAbstractPanelShowEvent.md
|
|
|
29836
29970
|
|
|
29837
29971
|
# Interface: IAbstractPanelShowEvent
|
|
29838
29972
|
|
|
29839
|
-
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)
|
|
29840
29974
|
|
|
29841
29975
|
AbstractPanel 显示事件
|
|
29842
29976
|
|
|
@@ -29846,7 +29980,7 @@ AbstractPanel 显示事件
|
|
|
29846
29980
|
|
|
29847
29981
|
> **detail**: `object`
|
|
29848
29982
|
|
|
29849
|
-
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)
|
|
29850
29984
|
|
|
29851
29985
|
#### action
|
|
29852
29986
|
|
|
@@ -29887,7 +30021,7 @@ lib/form/interfaces/IFormCaptchaOptions.md
|
|
|
29887
30021
|
|
|
29888
30022
|
# Interface: IFormCaptchaOptions
|
|
29889
30023
|
|
|
29890
|
-
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)
|
|
29891
30025
|
|
|
29892
30026
|
显示验证码选项
|
|
29893
30027
|
|
|
@@ -29897,7 +30031,7 @@ Defined in: [lib/form.ts:5053](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29897
30031
|
|
|
29898
30032
|
> **akey**: `string`
|
|
29899
30033
|
|
|
29900
|
-
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)
|
|
29901
30035
|
|
|
29902
30036
|
验证码 key
|
|
29903
30037
|
|
|
@@ -29907,7 +30041,7 @@ Defined in: [lib/form.ts:5057](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29907
30041
|
|
|
29908
30042
|
> **factory**: `"tc"` \| `"cf"`
|
|
29909
30043
|
|
|
29910
|
-
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)
|
|
29911
30045
|
|
|
29912
30046
|
验证码服务商
|
|
29913
30047
|
|
|
@@ -29922,7 +30056,7 @@ lib/form/interfaces/IFormConfirmOptions.md
|
|
|
29922
30056
|
|
|
29923
30057
|
# Interface: IFormConfirmOptions
|
|
29924
30058
|
|
|
29925
|
-
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)
|
|
29926
30060
|
|
|
29927
30061
|
Confirm 选项
|
|
29928
30062
|
|
|
@@ -29932,7 +30066,7 @@ Confirm 选项
|
|
|
29932
30066
|
|
|
29933
30067
|
> `optional` **cancel?**: `boolean`
|
|
29934
30068
|
|
|
29935
|
-
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)
|
|
29936
30070
|
|
|
29937
30071
|
***
|
|
29938
30072
|
|
|
@@ -29940,7 +30074,7 @@ Defined in: [lib/form.ts:5049](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29940
30074
|
|
|
29941
30075
|
> **content**: `string`
|
|
29942
30076
|
|
|
29943
|
-
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)
|
|
29944
30078
|
|
|
29945
30079
|
***
|
|
29946
30080
|
|
|
@@ -29948,7 +30082,7 @@ Defined in: [lib/form.ts:5048](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29948
30082
|
|
|
29949
30083
|
> `optional` **title?**: `string`
|
|
29950
30084
|
|
|
29951
|
-
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)
|
|
29952
30086
|
|
|
29953
30087
|
lib/form/interfaces/IFormDialogOptions.md
|
|
29954
30088
|
---
|
|
@@ -29961,7 +30095,7 @@ lib/form/interfaces/IFormDialogOptions.md
|
|
|
29961
30095
|
|
|
29962
30096
|
# Interface: IFormDialogOptions
|
|
29963
30097
|
|
|
29964
|
-
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)
|
|
29965
30099
|
|
|
29966
30100
|
Dialog 选项
|
|
29967
30101
|
|
|
@@ -29971,7 +30105,7 @@ Dialog 选项
|
|
|
29971
30105
|
|
|
29972
30106
|
> `optional` **autoDialogResult?**: `boolean`
|
|
29973
30107
|
|
|
29974
|
-
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)
|
|
29975
30109
|
|
|
29976
30110
|
点击按钮后是否自动将按钮文本写入 dialogResult,默认 true
|
|
29977
30111
|
|
|
@@ -29981,7 +30115,7 @@ Defined in: [lib/form.ts:5000](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29981
30115
|
|
|
29982
30116
|
> `optional` **buttons?**: `string`[]
|
|
29983
30117
|
|
|
29984
|
-
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)
|
|
29985
30119
|
|
|
29986
30120
|
底部按钮文本列表,默认使用当前语言的确定按钮文本
|
|
29987
30121
|
|
|
@@ -29991,7 +30125,7 @@ Defined in: [lib/form.ts:4998](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
29991
30125
|
|
|
29992
30126
|
> **content**: `string`
|
|
29993
30127
|
|
|
29994
|
-
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)
|
|
29995
30129
|
|
|
29996
30130
|
dialog 内容,支持直接传布局字符串
|
|
29997
30131
|
|
|
@@ -30001,7 +30135,7 @@ dialog 内容,支持直接传布局字符串
|
|
|
30001
30135
|
|
|
30002
30136
|
> `optional` **data?**: `Record`\<`string`, `any`\>
|
|
30003
30137
|
|
|
30004
|
-
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)
|
|
30005
30139
|
|
|
30006
30140
|
传值,需要用 data.x 读取
|
|
30007
30141
|
|
|
@@ -30011,7 +30145,7 @@ Defined in: [lib/form.ts:5014](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30011
30145
|
|
|
30012
30146
|
> `optional` **direction?**: `"v"` \| `"h"`
|
|
30013
30147
|
|
|
30014
|
-
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)
|
|
30015
30149
|
|
|
30016
30150
|
dialog 控件内容布局方向,h 为横向,v 为纵向
|
|
30017
30151
|
|
|
@@ -30021,7 +30155,7 @@ dialog 控件内容布局方向,h 为横向,v 为纵向
|
|
|
30021
30155
|
|
|
30022
30156
|
> `optional` **gutter?**: `string` \| `number`
|
|
30023
30157
|
|
|
30024
|
-
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)
|
|
30025
30159
|
|
|
30026
30160
|
dialog 控件内容区项目间距,会透传给 dialog 控件
|
|
30027
30161
|
|
|
@@ -30031,7 +30165,7 @@ dialog 控件内容区项目间距,会透传给 dialog 控件
|
|
|
30031
30165
|
|
|
30032
30166
|
> `optional` **height?**: `string` \| `number`
|
|
30033
30167
|
|
|
30034
|
-
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)
|
|
30035
30169
|
|
|
30036
30170
|
dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用高度
|
|
30037
30171
|
|
|
@@ -30041,7 +30175,7 @@ dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用
|
|
|
30041
30175
|
|
|
30042
30176
|
> `optional` **methods?**: `Record`\<`string`, (...`param`) => `any`\>
|
|
30043
30177
|
|
|
30044
|
-
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)
|
|
30045
30179
|
|
|
30046
30180
|
传值,需要用 methods.x 读取
|
|
30047
30181
|
|
|
@@ -30051,7 +30185,7 @@ Defined in: [lib/form.ts:5016](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30051
30185
|
|
|
30052
30186
|
> `optional` **onMounted?**: () => `void` \| `Promise`\<`void`\>
|
|
30053
30187
|
|
|
30054
|
-
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)
|
|
30055
30189
|
|
|
30056
30190
|
窗体挂载完成事件
|
|
30057
30191
|
|
|
@@ -30065,7 +30199,7 @@ Defined in: [lib/form.ts:5036](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30065
30199
|
|
|
30066
30200
|
> `optional` **padding?**: `string` \| `boolean`
|
|
30067
30201
|
|
|
30068
|
-
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)
|
|
30069
30203
|
|
|
30070
30204
|
dialog 控件内容区是否显示内边距,默认表现与控件自身一致
|
|
30071
30205
|
|
|
@@ -30075,7 +30209,7 @@ dialog 控件内容区是否显示内边距,默认表现与控件自身一致
|
|
|
30075
30209
|
|
|
30076
30210
|
> `optional` **path?**: `string`
|
|
30077
30211
|
|
|
30078
|
-
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)
|
|
30079
30213
|
|
|
30080
30214
|
路径基,以 / 结束或文件路径则以文件的基路径为准,可留空
|
|
30081
30215
|
|
|
@@ -30085,7 +30219,7 @@ Defined in: [lib/form.ts:5020](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30085
30219
|
|
|
30086
30220
|
> `optional` **select?**: (`this`, `e`, `button`) => `void`
|
|
30087
30221
|
|
|
30088
|
-
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)
|
|
30089
30223
|
|
|
30090
30224
|
点击按钮触发事件,不能用 Promise
|
|
30091
30225
|
|
|
@@ -30117,7 +30251,7 @@ Defined in: [lib/form.ts:5027](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30117
30251
|
|
|
30118
30252
|
> `optional` **style?**: `string`
|
|
30119
30253
|
|
|
30120
|
-
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)
|
|
30121
30255
|
|
|
30122
30256
|
样式表
|
|
30123
30257
|
|
|
@@ -30127,7 +30261,7 @@ Defined in: [lib/form.ts:5018](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30127
30261
|
|
|
30128
30262
|
> `optional` **title?**: `string`
|
|
30129
30263
|
|
|
30130
|
-
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)
|
|
30131
30265
|
|
|
30132
30266
|
dialog 窗体标题,不传则使用默认标题 dialog
|
|
30133
30267
|
|
|
@@ -30137,7 +30271,7 @@ dialog 窗体标题,不传则使用默认标题 dialog
|
|
|
30137
30271
|
|
|
30138
30272
|
> `optional` **width?**: `string` \| `number`
|
|
30139
30273
|
|
|
30140
|
-
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)
|
|
30141
30275
|
|
|
30142
30276
|
dialog 控件宽度,传数字时为像素值,传 fill 时代表填充可用宽度
|
|
30143
30277
|
|
|
@@ -30152,7 +30286,7 @@ lib/form/interfaces/IFormDialogSelectEvent.md
|
|
|
30152
30286
|
|
|
30153
30287
|
# Interface: IFormDialogSelectEvent
|
|
30154
30288
|
|
|
30155
|
-
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)
|
|
30156
30290
|
|
|
30157
30291
|
Custom Event
|
|
30158
30292
|
|
|
@@ -30166,7 +30300,7 @@ Custom Event
|
|
|
30166
30300
|
|
|
30167
30301
|
> **detail**: `object`
|
|
30168
30302
|
|
|
30169
|
-
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)
|
|
30170
30304
|
|
|
30171
30305
|
#### button
|
|
30172
30306
|
|
|
@@ -30211,7 +30345,7 @@ lib/form/interfaces/IFormInfo.md
|
|
|
30211
30345
|
|
|
30212
30346
|
# Interface: IFormInfo
|
|
30213
30347
|
|
|
30214
|
-
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)
|
|
30215
30349
|
|
|
30216
30350
|
Form 的简略情况,通常在 list 当中
|
|
30217
30351
|
|
|
@@ -30221,7 +30355,7 @@ Form 的简略情况,通常在 list 当中
|
|
|
30221
30355
|
|
|
30222
30356
|
> **focus**: `boolean`
|
|
30223
30357
|
|
|
30224
|
-
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)
|
|
30225
30359
|
|
|
30226
30360
|
***
|
|
30227
30361
|
|
|
@@ -30229,7 +30363,7 @@ Defined in: [lib/form.ts:4954](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30229
30363
|
|
|
30230
30364
|
> **icon**: `string`
|
|
30231
30365
|
|
|
30232
|
-
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)
|
|
30233
30367
|
|
|
30234
30368
|
***
|
|
30235
30369
|
|
|
@@ -30237,7 +30371,7 @@ Defined in: [lib/form.ts:4950](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30237
30371
|
|
|
30238
30372
|
> **show**: `boolean`
|
|
30239
30373
|
|
|
30240
|
-
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)
|
|
30241
30375
|
|
|
30242
30376
|
***
|
|
30243
30377
|
|
|
@@ -30245,7 +30379,7 @@ Defined in: [lib/form.ts:4953](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30245
30379
|
|
|
30246
30380
|
> **showInSystemTask**: `boolean`
|
|
30247
30381
|
|
|
30248
|
-
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)
|
|
30249
30383
|
|
|
30250
30384
|
***
|
|
30251
30385
|
|
|
@@ -30253,7 +30387,7 @@ Defined in: [lib/form.ts:4955](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30253
30387
|
|
|
30254
30388
|
> **stateMax**: `boolean`
|
|
30255
30389
|
|
|
30256
|
-
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)
|
|
30257
30391
|
|
|
30258
30392
|
***
|
|
30259
30393
|
|
|
@@ -30261,7 +30395,7 @@ Defined in: [lib/form.ts:4951](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30261
30395
|
|
|
30262
30396
|
> **stateMin**: `boolean`
|
|
30263
30397
|
|
|
30264
|
-
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)
|
|
30265
30399
|
|
|
30266
30400
|
***
|
|
30267
30401
|
|
|
@@ -30269,7 +30403,7 @@ Defined in: [lib/form.ts:4952](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30269
30403
|
|
|
30270
30404
|
> **taskId**: `string`
|
|
30271
30405
|
|
|
30272
|
-
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)
|
|
30273
30407
|
|
|
30274
30408
|
***
|
|
30275
30409
|
|
|
@@ -30277,7 +30411,7 @@ Defined in: [lib/form.ts:4948](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30277
30411
|
|
|
30278
30412
|
> **title**: `string`
|
|
30279
30413
|
|
|
30280
|
-
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)
|
|
30281
30415
|
|
|
30282
30416
|
lib/form/interfaces/IForm.md
|
|
30283
30417
|
---
|
|
@@ -30290,7 +30424,7 @@ lib/form/interfaces/IForm.md
|
|
|
30290
30424
|
|
|
30291
30425
|
# Interface: IForm
|
|
30292
30426
|
|
|
30293
|
-
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)
|
|
30294
30428
|
|
|
30295
30429
|
运行时 task 中的 form 对象
|
|
30296
30430
|
|
|
@@ -30300,7 +30434,7 @@ Defined in: [lib/form.ts:4938](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30300
30434
|
|
|
30301
30435
|
> **closed**: `boolean`
|
|
30302
30436
|
|
|
30303
|
-
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)
|
|
30304
30438
|
|
|
30305
30439
|
是否已经执行过了关闭窗体方法,此处加判断为了防止重复执行 close 导致的 bug
|
|
30306
30440
|
|
|
@@ -30310,7 +30444,7 @@ Defined in: [lib/form.ts:4943](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30310
30444
|
|
|
30311
30445
|
> **id**: `string`
|
|
30312
30446
|
|
|
30313
|
-
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)
|
|
30314
30448
|
|
|
30315
30449
|
***
|
|
30316
30450
|
|
|
@@ -30318,7 +30452,7 @@ Defined in: [lib/form.ts:4939](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30318
30452
|
|
|
30319
30453
|
> **vapp**: [`IVApp`](../../core/interfaces/IVApp.md)
|
|
30320
30454
|
|
|
30321
|
-
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)
|
|
30322
30456
|
|
|
30323
30457
|
***
|
|
30324
30458
|
|
|
@@ -30326,7 +30460,7 @@ Defined in: [lib/form.ts:4940](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30326
30460
|
|
|
30327
30461
|
> **vroot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
30328
30462
|
|
|
30329
|
-
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)
|
|
30330
30464
|
|
|
30331
30465
|
lib/form/interfaces/IFormPromptOptions.md
|
|
30332
30466
|
---
|
|
@@ -30339,7 +30473,7 @@ lib/form/interfaces/IFormPromptOptions.md
|
|
|
30339
30473
|
|
|
30340
30474
|
# Interface: IFormPromptOptions
|
|
30341
30475
|
|
|
30342
|
-
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)
|
|
30343
30477
|
|
|
30344
30478
|
Prompt 选项
|
|
30345
30479
|
|
|
@@ -30349,7 +30483,7 @@ Prompt 选项
|
|
|
30349
30483
|
|
|
30350
30484
|
> `optional` **cancel?**: `boolean`
|
|
30351
30485
|
|
|
30352
|
-
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)
|
|
30353
30487
|
|
|
30354
30488
|
是否显示取消按钮,默认显示
|
|
30355
30489
|
|
|
@@ -30359,7 +30493,7 @@ Defined in: [lib/form.ts:5069](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30359
30493
|
|
|
30360
30494
|
> **content**: `string`
|
|
30361
30495
|
|
|
30362
|
-
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)
|
|
30363
30497
|
|
|
30364
30498
|
内容说明
|
|
30365
30499
|
|
|
@@ -30369,7 +30503,7 @@ Defined in: [lib/form.ts:5065](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30369
30503
|
|
|
30370
30504
|
> `optional` **select?**: (`this`, `e`, `button`) => `void`
|
|
30371
30505
|
|
|
30372
|
-
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)
|
|
30373
30507
|
|
|
30374
30508
|
点击按钮触发事件
|
|
30375
30509
|
|
|
@@ -30401,7 +30535,7 @@ true 代表确定,false 代表取消
|
|
|
30401
30535
|
|
|
30402
30536
|
> `optional` **text?**: `string`
|
|
30403
30537
|
|
|
30404
|
-
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)
|
|
30405
30539
|
|
|
30406
30540
|
文本默认值
|
|
30407
30541
|
|
|
@@ -30411,7 +30545,7 @@ Defined in: [lib/form.ts:5067](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30411
30545
|
|
|
30412
30546
|
> `optional` **title?**: `string`
|
|
30413
30547
|
|
|
30414
|
-
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)
|
|
30415
30549
|
|
|
30416
30550
|
标题
|
|
30417
30551
|
|
|
@@ -30426,7 +30560,7 @@ lib/form/interfaces/IFormPromptSelectEvent.md
|
|
|
30426
30560
|
|
|
30427
30561
|
# Interface: IFormPromptSelectEvent
|
|
30428
30562
|
|
|
30429
|
-
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)
|
|
30430
30564
|
|
|
30431
30565
|
Custom Event
|
|
30432
30566
|
|
|
@@ -30440,7 +30574,7 @@ Custom Event
|
|
|
30440
30574
|
|
|
30441
30575
|
> **detail**: `object`
|
|
30442
30576
|
|
|
30443
|
-
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)
|
|
30444
30578
|
|
|
30445
30579
|
#### button
|
|
30446
30580
|
|
|
@@ -30491,7 +30625,7 @@ lib/form/interfaces/IMoveDragOptions.md
|
|
|
30491
30625
|
|
|
30492
30626
|
# Interface: IMoveDragOptions
|
|
30493
30627
|
|
|
30494
|
-
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)
|
|
30495
30629
|
|
|
30496
30630
|
移动 drag 到新位置函数的选项
|
|
30497
30631
|
|
|
@@ -30501,7 +30635,7 @@ Defined in: [lib/form.ts:4959](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30501
30635
|
|
|
30502
30636
|
> `optional` **height?**: `number`
|
|
30503
30637
|
|
|
30504
|
-
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)
|
|
30505
30639
|
|
|
30506
30640
|
***
|
|
30507
30641
|
|
|
@@ -30509,7 +30643,7 @@ Defined in: [lib/form.ts:4963](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30509
30643
|
|
|
30510
30644
|
> `optional` **icon?**: `boolean`
|
|
30511
30645
|
|
|
30512
|
-
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)
|
|
30513
30647
|
|
|
30514
30648
|
***
|
|
30515
30649
|
|
|
@@ -30517,7 +30651,7 @@ Defined in: [lib/form.ts:4964](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30517
30651
|
|
|
30518
30652
|
> `optional` **left?**: `number`
|
|
30519
30653
|
|
|
30520
|
-
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)
|
|
30521
30655
|
|
|
30522
30656
|
***
|
|
30523
30657
|
|
|
@@ -30525,7 +30659,7 @@ Defined in: [lib/form.ts:4961](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30525
30659
|
|
|
30526
30660
|
> `optional` **top?**: `number`
|
|
30527
30661
|
|
|
30528
|
-
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)
|
|
30529
30663
|
|
|
30530
30664
|
***
|
|
30531
30665
|
|
|
@@ -30533,7 +30667,7 @@ Defined in: [lib/form.ts:4960](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30533
30667
|
|
|
30534
30668
|
> `optional` **width?**: `number`
|
|
30535
30669
|
|
|
30536
|
-
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)
|
|
30537
30671
|
|
|
30538
30672
|
lib/form/interfaces/INotifyContentOptions.md
|
|
30539
30673
|
---
|
|
@@ -30546,7 +30680,7 @@ lib/form/interfaces/INotifyContentOptions.md
|
|
|
30546
30680
|
|
|
30547
30681
|
# Interface: INotifyContentOptions
|
|
30548
30682
|
|
|
30549
|
-
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)
|
|
30550
30684
|
|
|
30551
30685
|
notify 信息框的修改选项
|
|
30552
30686
|
|
|
@@ -30556,7 +30690,7 @@ notify 信息框的修改选项
|
|
|
30556
30690
|
|
|
30557
30691
|
> `optional` **content?**: `string`
|
|
30558
30692
|
|
|
30559
|
-
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)
|
|
30560
30694
|
|
|
30561
30695
|
***
|
|
30562
30696
|
|
|
@@ -30564,7 +30698,7 @@ Defined in: [lib/form.ts:4983](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30564
30698
|
|
|
30565
30699
|
> `optional` **note?**: `string`
|
|
30566
30700
|
|
|
30567
|
-
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)
|
|
30568
30702
|
|
|
30569
30703
|
***
|
|
30570
30704
|
|
|
@@ -30572,7 +30706,7 @@ Defined in: [lib/form.ts:4984](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30572
30706
|
|
|
30573
30707
|
> `optional` **progress?**: `number`
|
|
30574
30708
|
|
|
30575
|
-
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)
|
|
30576
30710
|
|
|
30577
30711
|
可顺便修改进度
|
|
30578
30712
|
|
|
@@ -30582,7 +30716,7 @@ Defined in: [lib/form.ts:4986](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30582
30716
|
|
|
30583
30717
|
> `optional` **timeout?**: `number`
|
|
30584
30718
|
|
|
30585
|
-
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)
|
|
30586
30720
|
|
|
30587
30721
|
设置后将在 x 毫秒后隐藏,这不会大于创建时的设置的总时长
|
|
30588
30722
|
|
|
@@ -30592,7 +30726,7 @@ Defined in: [lib/form.ts:4988](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30592
30726
|
|
|
30593
30727
|
> `optional` **title?**: `string`
|
|
30594
30728
|
|
|
30595
|
-
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)
|
|
30596
30730
|
|
|
30597
30731
|
lib/form/interfaces/INotifyOptions.md
|
|
30598
30732
|
---
|
|
@@ -30605,7 +30739,7 @@ lib/form/interfaces/INotifyOptions.md
|
|
|
30605
30739
|
|
|
30606
30740
|
# Interface: INotifyOptions
|
|
30607
30741
|
|
|
30608
|
-
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)
|
|
30609
30743
|
|
|
30610
30744
|
弹出 notify 信息框的选项
|
|
30611
30745
|
|
|
@@ -30615,7 +30749,7 @@ Defined in: [lib/form.ts:4968](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30615
30749
|
|
|
30616
30750
|
> `optional` **content?**: `string`
|
|
30617
30751
|
|
|
30618
|
-
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)
|
|
30619
30753
|
|
|
30620
30754
|
正文
|
|
30621
30755
|
|
|
@@ -30625,7 +30759,7 @@ Defined in: [lib/form.ts:4971](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30625
30759
|
|
|
30626
30760
|
> `optional` **icon?**: `string` \| `null`
|
|
30627
30761
|
|
|
30628
|
-
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)
|
|
30629
30763
|
|
|
30630
30764
|
***
|
|
30631
30765
|
|
|
@@ -30633,7 +30767,7 @@ Defined in: [lib/form.ts:4974](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30633
30767
|
|
|
30634
30768
|
> `optional` **note?**: `string`
|
|
30635
30769
|
|
|
30636
|
-
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)
|
|
30637
30771
|
|
|
30638
30772
|
浅色描述
|
|
30639
30773
|
|
|
@@ -30643,7 +30777,7 @@ Defined in: [lib/form.ts:4973](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30643
30777
|
|
|
30644
30778
|
> `optional` **progress?**: `boolean`
|
|
30645
30779
|
|
|
30646
|
-
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)
|
|
30647
30781
|
|
|
30648
30782
|
***
|
|
30649
30783
|
|
|
@@ -30651,7 +30785,7 @@ Defined in: [lib/form.ts:4977](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30651
30785
|
|
|
30652
30786
|
> `optional` **timeout?**: `number`
|
|
30653
30787
|
|
|
30654
|
-
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)
|
|
30655
30789
|
|
|
30656
30790
|
***
|
|
30657
30791
|
|
|
@@ -30659,7 +30793,7 @@ Defined in: [lib/form.ts:4975](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30659
30793
|
|
|
30660
30794
|
> `optional` **title?**: `string`
|
|
30661
30795
|
|
|
30662
|
-
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)
|
|
30663
30797
|
|
|
30664
30798
|
***
|
|
30665
30799
|
|
|
@@ -30667,7 +30801,7 @@ Defined in: [lib/form.ts:4969](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
30667
30801
|
|
|
30668
30802
|
> `optional` **type?**: `"progress"` \| `"danger"` \| `"primary"` \| `"info"` \| `"warning"`
|
|
30669
30803
|
|
|
30670
|
-
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)
|
|
30671
30805
|
|
|
30672
30806
|
lib/form/variables/activePanels.md
|
|
30673
30807
|
---
|
|
@@ -30682,7 +30816,7 @@ lib/form/variables/activePanels.md
|
|
|
30682
30816
|
|
|
30683
30817
|
> `const` **activePanels**: `Record`\<`string`, `string`[]\> = `{}`
|
|
30684
30818
|
|
|
30685
|
-
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)
|
|
30686
30820
|
|
|
30687
30821
|
当前活跃中的 panelId 列表
|
|
30688
30822
|
|
|
@@ -30697,9 +30831,11 @@ lib/form/variables/elements.md
|
|
|
30697
30831
|
|
|
30698
30832
|
# Variable: elements
|
|
30699
30833
|
|
|
30700
|
-
> `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)
|
|
30701
30837
|
|
|
30702
|
-
|
|
30838
|
+
系统宿主 DOM 节点
|
|
30703
30839
|
|
|
30704
30840
|
## Type Declaration
|
|
30705
30841
|
|
|
@@ -30768,7 +30904,9 @@ lib/form/variables/launcherRoot.md
|
|
|
30768
30904
|
|
|
30769
30905
|
> **launcherRoot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
30770
30906
|
|
|
30771
|
-
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 根实例
|
|
30772
30910
|
|
|
30773
30911
|
lib/form/variables/simpleSystemTaskRoot.md
|
|
30774
30912
|
---
|
|
@@ -30783,7 +30921,9 @@ lib/form/variables/simpleSystemTaskRoot.md
|
|
|
30783
30921
|
|
|
30784
30922
|
> **simpleSystemTaskRoot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
30785
30923
|
|
|
30786
|
-
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 根实例
|
|
30787
30927
|
|
|
30788
30928
|
lib/fs/functions/chmod.md
|
|
30789
30929
|
---
|
|
@@ -34189,7 +34329,7 @@ lib/task/classes/AbstractThread.md
|
|
|
34189
34329
|
|
|
34190
34330
|
# Abstract Class: AbstractThread
|
|
34191
34331
|
|
|
34192
|
-
Defined in: [lib/task.ts:
|
|
34332
|
+
Defined in: [lib/task.ts:1874](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1874)
|
|
34193
34333
|
|
|
34194
34334
|
线程抽象类
|
|
34195
34335
|
|
|
@@ -34209,7 +34349,7 @@ Defined in: [lib/task.ts:1868](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34209
34349
|
|
|
34210
34350
|
> **taskId**: `string` = `''`
|
|
34211
34351
|
|
|
34212
|
-
Defined in: [lib/task.ts:
|
|
34352
|
+
Defined in: [lib/task.ts:1883](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1883)
|
|
34213
34353
|
|
|
34214
34354
|
系统会自动设置本项
|
|
34215
34355
|
|
|
@@ -34221,7 +34361,7 @@ Defined in: [lib/task.ts:1877](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34221
34361
|
|
|
34222
34362
|
> **get** **filename**(): `string`
|
|
34223
34363
|
|
|
34224
|
-
Defined in: [lib/task.ts:
|
|
34364
|
+
Defined in: [lib/task.ts:1877](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1877)
|
|
34225
34365
|
|
|
34226
34366
|
当前文件在包内的路径
|
|
34227
34367
|
|
|
@@ -34235,7 +34375,7 @@ Defined in: [lib/task.ts:1871](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34235
34375
|
|
|
34236
34376
|
> **close**(): `void`
|
|
34237
34377
|
|
|
34238
|
-
Defined in: [lib/task.ts:
|
|
34378
|
+
Defined in: [lib/task.ts:1912](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1912)
|
|
34239
34379
|
|
|
34240
34380
|
关闭线程
|
|
34241
34381
|
|
|
@@ -34249,7 +34389,7 @@ Defined in: [lib/task.ts:1906](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34249
34389
|
|
|
34250
34390
|
> `abstract` **main**(`data`): `void` \| `Promise`\<`void`\>
|
|
34251
34391
|
|
|
34252
|
-
Defined in: [lib/task.ts:
|
|
34392
|
+
Defined in: [lib/task.ts:1886](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1886)
|
|
34253
34393
|
|
|
34254
34394
|
线程入口
|
|
34255
34395
|
|
|
@@ -34269,7 +34409,7 @@ Defined in: [lib/task.ts:1880](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34269
34409
|
|
|
34270
34410
|
> **onEnded**(): `void` \| `Promise`\<`void`\>
|
|
34271
34411
|
|
|
34272
|
-
Defined in: [lib/task.ts:
|
|
34412
|
+
Defined in: [lib/task.ts:1895](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1895)
|
|
34273
34413
|
|
|
34274
34414
|
线程结束事件
|
|
34275
34415
|
|
|
@@ -34283,7 +34423,7 @@ Defined in: [lib/task.ts:1889](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34283
34423
|
|
|
34284
34424
|
> **onError**(`e`): `void` \| `Promise`\<`void`\>
|
|
34285
34425
|
|
|
34286
|
-
Defined in: [lib/task.ts:
|
|
34426
|
+
Defined in: [lib/task.ts:1901](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1901)
|
|
34287
34427
|
|
|
34288
34428
|
报错
|
|
34289
34429
|
|
|
@@ -34303,7 +34443,7 @@ Defined in: [lib/task.ts:1895](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34303
34443
|
|
|
34304
34444
|
> **onMessage**(`e`): `void` \| `Promise`\<`void`\>
|
|
34305
34445
|
|
|
34306
|
-
Defined in: [lib/task.ts:
|
|
34446
|
+
Defined in: [lib/task.ts:1889](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1889)
|
|
34307
34447
|
|
|
34308
34448
|
线程接收事件
|
|
34309
34449
|
|
|
@@ -34323,7 +34463,7 @@ Defined in: [lib/task.ts:1883](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
34323
34463
|
|
|
34324
34464
|
> **send**(`data`): `void`
|
|
34325
34465
|
|
|
34326
|
-
Defined in: [lib/task.ts:
|
|
34466
|
+
Defined in: [lib/task.ts:1907](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1907)
|
|
34327
34467
|
|
|
34328
34468
|
发送数据
|
|
34329
34469
|
|
|
@@ -34348,7 +34488,7 @@ lib/task/enumerations/EIPTYPE.md
|
|
|
34348
34488
|
|
|
34349
34489
|
# Enumeration: EIPTYPE
|
|
34350
34490
|
|
|
34351
|
-
Defined in: [lib/task.ts:
|
|
34491
|
+
Defined in: [lib/task.ts:624](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L624)
|
|
34352
34492
|
|
|
34353
34493
|
initProgress 的 type
|
|
34354
34494
|
|
|
@@ -34358,7 +34498,7 @@ initProgress 的 type
|
|
|
34358
34498
|
|
|
34359
34499
|
> **APP**: `0`
|
|
34360
34500
|
|
|
34361
|
-
Defined in: [lib/task.ts:
|
|
34501
|
+
Defined in: [lib/task.ts:625](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L625)
|
|
34362
34502
|
|
|
34363
34503
|
***
|
|
34364
34504
|
|
|
@@ -34366,7 +34506,7 @@ Defined in: [lib/task.ts:624](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34366
34506
|
|
|
34367
34507
|
> **CONTROL**: `2`
|
|
34368
34508
|
|
|
34369
|
-
Defined in: [lib/task.ts:
|
|
34509
|
+
Defined in: [lib/task.ts:627](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L627)
|
|
34370
34510
|
|
|
34371
34511
|
***
|
|
34372
34512
|
|
|
@@ -34374,7 +34514,7 @@ Defined in: [lib/task.ts:626](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34374
34514
|
|
|
34375
34515
|
> **DONE**: `7`
|
|
34376
34516
|
|
|
34377
|
-
Defined in: [lib/task.ts:
|
|
34517
|
+
Defined in: [lib/task.ts:632](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L632)
|
|
34378
34518
|
|
|
34379
34519
|
***
|
|
34380
34520
|
|
|
@@ -34382,7 +34522,7 @@ Defined in: [lib/task.ts:631](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34382
34522
|
|
|
34383
34523
|
> **LOCAL**: `1`
|
|
34384
34524
|
|
|
34385
|
-
Defined in: [lib/task.ts:
|
|
34525
|
+
Defined in: [lib/task.ts:626](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L626)
|
|
34386
34526
|
|
|
34387
34527
|
***
|
|
34388
34528
|
|
|
@@ -34390,7 +34530,7 @@ Defined in: [lib/task.ts:625](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34390
34530
|
|
|
34391
34531
|
> **PERMISSION**: `5`
|
|
34392
34532
|
|
|
34393
|
-
Defined in: [lib/task.ts:
|
|
34533
|
+
Defined in: [lib/task.ts:630](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L630)
|
|
34394
34534
|
|
|
34395
34535
|
***
|
|
34396
34536
|
|
|
@@ -34398,7 +34538,7 @@ Defined in: [lib/task.ts:629](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34398
34538
|
|
|
34399
34539
|
> **START**: `6`
|
|
34400
34540
|
|
|
34401
|
-
Defined in: [lib/task.ts:
|
|
34541
|
+
Defined in: [lib/task.ts:631](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L631)
|
|
34402
34542
|
|
|
34403
34543
|
***
|
|
34404
34544
|
|
|
@@ -34406,7 +34546,7 @@ Defined in: [lib/task.ts:630](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34406
34546
|
|
|
34407
34547
|
> **STYLE**: `4`
|
|
34408
34548
|
|
|
34409
|
-
Defined in: [lib/task.ts:
|
|
34549
|
+
Defined in: [lib/task.ts:629](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L629)
|
|
34410
34550
|
|
|
34411
34551
|
***
|
|
34412
34552
|
|
|
@@ -34414,7 +34554,7 @@ Defined in: [lib/task.ts:628](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
34414
34554
|
|
|
34415
34555
|
> **THEME**: `3`
|
|
34416
34556
|
|
|
34417
|
-
Defined in: [lib/task.ts:
|
|
34557
|
+
Defined in: [lib/task.ts:628](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L628)
|
|
34418
34558
|
|
|
34419
34559
|
lib/task/functions/activateTray.md
|
|
34420
34560
|
---
|
|
@@ -34429,7 +34569,7 @@ lib/task/functions/activateTray.md
|
|
|
34429
34569
|
|
|
34430
34570
|
> **activateTray**(`current`, `id`, `menuId?`): `Promise`\<`boolean`\>
|
|
34431
34571
|
|
|
34432
|
-
Defined in: [lib/task.ts:
|
|
34572
|
+
Defined in: [lib/task.ts:227](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L227)
|
|
34433
34573
|
|
|
34434
34574
|
当前系统任务栏投递点击/菜单命令到托盘所属 App 和 Form
|
|
34435
34575
|
|
|
@@ -34472,7 +34612,7 @@ lib/task/functions/checkPermission.md
|
|
|
34472
34612
|
|
|
34473
34613
|
> **checkPermission**(`taskId`, `vals`, `apply?`, `applyHandler?`): `Promise`\<`boolean`[]\>
|
|
34474
34614
|
|
|
34475
|
-
Defined in: [lib/task.ts:
|
|
34615
|
+
Defined in: [lib/task.ts:1224](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1224)
|
|
34476
34616
|
|
|
34477
34617
|
检测应用是否有相应的权限(如果 taskId 是 sysId 则直接成功)
|
|
34478
34618
|
|
|
@@ -34519,7 +34659,7 @@ lib/task/functions/clearLocaleLang.md
|
|
|
34519
34659
|
|
|
34520
34660
|
> **clearLocaleLang**(`current`): `void`
|
|
34521
34661
|
|
|
34522
|
-
Defined in: [lib/task.ts:
|
|
34662
|
+
Defined in: [lib/task.ts:1536](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1536)
|
|
34523
34663
|
|
|
34524
34664
|
清除 task 的语言设置
|
|
34525
34665
|
|
|
@@ -34548,7 +34688,7 @@ lib/task/functions/clearLocale.md
|
|
|
34548
34688
|
|
|
34549
34689
|
> **clearLocale**(`taskId`): `void`
|
|
34550
34690
|
|
|
34551
|
-
Defined in: [lib/task.ts:
|
|
34691
|
+
Defined in: [lib/task.ts:1493](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1493)
|
|
34552
34692
|
|
|
34553
34693
|
清除任务的所有加载的语言包
|
|
34554
34694
|
|
|
@@ -34577,7 +34717,7 @@ lib/task/functions/clearSystem.md
|
|
|
34577
34717
|
|
|
34578
34718
|
> **clearSystem**(`taskId`): `Promise`\<`boolean`\>
|
|
34579
34719
|
|
|
34580
|
-
Defined in: [lib/task.ts:
|
|
34720
|
+
Defined in: [lib/task.ts:1705](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1705)
|
|
34581
34721
|
|
|
34582
34722
|
清除系统任务设定
|
|
34583
34723
|
|
|
@@ -34606,7 +34746,7 @@ lib/task/functions/createTimer.md
|
|
|
34606
34746
|
|
|
34607
34747
|
> **createTimer**(`current`, `fun`, `delay`, `opt?`): `number`
|
|
34608
34748
|
|
|
34609
|
-
Defined in: [lib/task.ts:
|
|
34749
|
+
Defined in: [lib/task.ts:1555](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1555)
|
|
34610
34750
|
|
|
34611
34751
|
创建 timer
|
|
34612
34752
|
|
|
@@ -34653,7 +34793,7 @@ lib/task/functions/createTray.md
|
|
|
34653
34793
|
|
|
34654
34794
|
> **createTray**(`current`, `options`): `Promise`\<`string` \| `false`\>
|
|
34655
34795
|
|
|
34656
|
-
Defined in: [lib/task.ts:
|
|
34796
|
+
Defined in: [lib/task.ts:135](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L135)
|
|
34657
34797
|
|
|
34658
34798
|
注册托盘;不依赖当前是否存在任务栏
|
|
34659
34799
|
|
|
@@ -34690,7 +34830,7 @@ lib/task/functions/end.md
|
|
|
34690
34830
|
|
|
34691
34831
|
> **end**(`taskId`): `Promise`\<`boolean`\>
|
|
34692
34832
|
|
|
34693
|
-
Defined in: [lib/task.ts:
|
|
34833
|
+
Defined in: [lib/task.ts:1339](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1339)
|
|
34694
34834
|
|
|
34695
34835
|
完全结束任务
|
|
34696
34836
|
|
|
@@ -34719,7 +34859,7 @@ lib/task/functions/getFocus.md
|
|
|
34719
34859
|
|
|
34720
34860
|
> **getFocus**(`current`): `Promise`\<`string` \| `null`\>
|
|
34721
34861
|
|
|
34722
|
-
Defined in: [lib/task.ts:
|
|
34862
|
+
Defined in: [lib/task.ts:381](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L381)
|
|
34723
34863
|
|
|
34724
34864
|
获取当前有焦点的任务 ID
|
|
34725
34865
|
|
|
@@ -34746,7 +34886,7 @@ lib/task/functions/getList.md
|
|
|
34746
34886
|
|
|
34747
34887
|
> **getList**(): [`ITaskInfo`](../interfaces/ITaskInfo.md)[]
|
|
34748
34888
|
|
|
34749
|
-
Defined in: [lib/task.ts:
|
|
34889
|
+
Defined in: [lib/task.ts:612](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L612)
|
|
34750
34890
|
|
|
34751
34891
|
获取 task list 的简略情况
|
|
34752
34892
|
|
|
@@ -34767,7 +34907,7 @@ lib/task/functions/get.md
|
|
|
34767
34907
|
|
|
34768
34908
|
> **get**(`taskId`): [`ITaskInfo`](../interfaces/ITaskInfo.md) \| `null`
|
|
34769
34909
|
|
|
34770
|
-
Defined in: [lib/task.ts:
|
|
34910
|
+
Defined in: [lib/task.ts:310](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L310)
|
|
34771
34911
|
|
|
34772
34912
|
获取任务及其应用包简略信息
|
|
34773
34913
|
|
|
@@ -34796,7 +34936,7 @@ lib/task/functions/getOriginList.md
|
|
|
34796
34936
|
|
|
34797
34937
|
> **getOriginList**(`current`): `Promise`\<`Record`\<`string`, [`ITask`](../interfaces/ITask.md)\>\>
|
|
34798
34938
|
|
|
34799
|
-
Defined in: [lib/task.ts:
|
|
34939
|
+
Defined in: [lib/task.ts:280](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L280)
|
|
34800
34940
|
|
|
34801
34941
|
获取原始 list
|
|
34802
34942
|
|
|
@@ -34823,7 +34963,7 @@ lib/task/functions/getOrigin.md
|
|
|
34823
34963
|
|
|
34824
34964
|
> **getOrigin**(`taskId`): [`ITask`](../interfaces/ITask.md) \| `null`
|
|
34825
34965
|
|
|
34826
|
-
Defined in: [lib/task.ts:
|
|
34966
|
+
Defined in: [lib/task.ts:337](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L337)
|
|
34827
34967
|
|
|
34828
34968
|
获取任务对象
|
|
34829
34969
|
|
|
@@ -34852,7 +34992,7 @@ lib/task/functions/getPermissions.md
|
|
|
34852
34992
|
|
|
34853
34993
|
> **getPermissions**(`current`): `string`[]
|
|
34854
34994
|
|
|
34855
|
-
Defined in: [lib/task.ts:
|
|
34995
|
+
Defined in: [lib/task.ts:599](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L599)
|
|
34856
34996
|
|
|
34857
34997
|
获取某个任务的已授权权限列表
|
|
34858
34998
|
|
|
@@ -34881,7 +35021,7 @@ lib/task/functions/getRuntime.md
|
|
|
34881
35021
|
|
|
34882
35022
|
> **getRuntime**(`current`, `taskId`): [`IRuntime`](../interfaces/IRuntime.md) \| `null`
|
|
34883
35023
|
|
|
34884
|
-
Defined in: [lib/task.ts:
|
|
35024
|
+
Defined in: [lib/task.ts:269](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L269)
|
|
34885
35025
|
|
|
34886
35026
|
获取任务的 runtime 数据,仅系统可以获取
|
|
34887
35027
|
|
|
@@ -34916,7 +35056,7 @@ lib/task/functions/getTrayList.md
|
|
|
34916
35056
|
|
|
34917
35057
|
> **getTrayList**(`current`): `Record`\<`string`, [`ITrayInfo`](../interfaces/ITrayInfo.md)\>
|
|
34918
35058
|
|
|
34919
|
-
Defined in: [lib/task.ts:
|
|
35059
|
+
Defined in: [lib/task.ts:213](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L213)
|
|
34920
35060
|
|
|
34921
35061
|
获取托盘快照;系统任务栏/root 可读全部,普通任务只能读自己的
|
|
34922
35062
|
|
|
@@ -34947,7 +35087,7 @@ lib/task/functions/init.md
|
|
|
34947
35087
|
|
|
34948
35088
|
> **init**(): `void`
|
|
34949
35089
|
|
|
34950
|
-
Defined in: [lib/task.ts:
|
|
35090
|
+
Defined in: [lib/task.ts:1824](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1824)
|
|
34951
35091
|
|
|
34952
35092
|
## Returns
|
|
34953
35093
|
|
|
@@ -34966,7 +35106,7 @@ lib/task/functions/initSysId.md
|
|
|
34966
35106
|
|
|
34967
35107
|
> **initSysId**(`id`): `void`
|
|
34968
35108
|
|
|
34969
|
-
Defined in: [lib/task.ts:
|
|
35109
|
+
Defined in: [lib/task.ts:35](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L35)
|
|
34970
35110
|
|
|
34971
35111
|
初始化系统级 ID,仅能设置一次
|
|
34972
35112
|
|
|
@@ -34995,7 +35135,7 @@ lib/task/functions/loadLocaleData.md
|
|
|
34995
35135
|
|
|
34996
35136
|
> **loadLocaleData**(`taskId`, `lang`, `data`, `pre?`): `void`
|
|
34997
35137
|
|
|
34998
|
-
Defined in: [lib/task.ts:
|
|
35138
|
+
Defined in: [lib/task.ts:1437](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1437)
|
|
34999
35139
|
|
|
35000
35140
|
加载 locale data 对象到 task
|
|
35001
35141
|
|
|
@@ -35042,7 +35182,7 @@ lib/task/functions/loadLocale.md
|
|
|
35042
35182
|
|
|
35043
35183
|
> **loadLocale**(`taskId`, `lang`, `path`): `Promise`\<`boolean`\>
|
|
35044
35184
|
|
|
35045
|
-
Defined in: [lib/task.ts:
|
|
35185
|
+
Defined in: [lib/task.ts:1464](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1464)
|
|
35046
35186
|
|
|
35047
35187
|
加载 locale 文件 json
|
|
35048
35188
|
|
|
@@ -35083,7 +35223,7 @@ lib/task/functions/offFrame.md
|
|
|
35083
35223
|
|
|
35084
35224
|
> **offFrame**(`current`, `ft`): `void`
|
|
35085
35225
|
|
|
35086
|
-
Defined in: [lib/task.ts:
|
|
35226
|
+
Defined in: [lib/task.ts:579](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L579)
|
|
35087
35227
|
|
|
35088
35228
|
移除 frame 监听
|
|
35089
35229
|
|
|
@@ -35118,7 +35258,7 @@ lib/task/functions/onFrame.md
|
|
|
35118
35258
|
|
|
35119
35259
|
> **onFrame**(`current`, `fun`, `opt?`): `number`
|
|
35120
35260
|
|
|
35121
|
-
Defined in: [lib/task.ts:
|
|
35261
|
+
Defined in: [lib/task.ts:498](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L498)
|
|
35122
35262
|
|
|
35123
35263
|
创建 frame 监听,formId 存在则为窗体范围,否则为任务级范围
|
|
35124
35264
|
|
|
@@ -35165,7 +35305,7 @@ lib/task/functions/refreshSystemPosition.md
|
|
|
35165
35305
|
|
|
35166
35306
|
> **refreshSystemPosition**(): `void`
|
|
35167
35307
|
|
|
35168
|
-
Defined in: [lib/task.ts:
|
|
35308
|
+
Defined in: [lib/task.ts:1738](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1738)
|
|
35169
35309
|
|
|
35170
35310
|
刷新系统任务的 form 的位置以及 length
|
|
35171
35311
|
|
|
@@ -35186,7 +35326,7 @@ lib/task/functions/removeTimer.md
|
|
|
35186
35326
|
|
|
35187
35327
|
> **removeTimer**(`current`, `timer`): `void`
|
|
35188
35328
|
|
|
35189
|
-
Defined in: [lib/task.ts:
|
|
35329
|
+
Defined in: [lib/task.ts:1622](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1622)
|
|
35190
35330
|
|
|
35191
35331
|
移除 timer
|
|
35192
35332
|
|
|
@@ -35221,7 +35361,7 @@ lib/task/functions/removeTray.md
|
|
|
35221
35361
|
|
|
35222
35362
|
> **removeTray**(`current`, `id`): `boolean`
|
|
35223
35363
|
|
|
35224
|
-
Defined in: [lib/task.ts:
|
|
35364
|
+
Defined in: [lib/task.ts:198](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L198)
|
|
35225
35365
|
|
|
35226
35366
|
删除自己的托盘
|
|
35227
35367
|
|
|
@@ -35258,7 +35398,7 @@ lib/task/functions/run.md
|
|
|
35258
35398
|
|
|
35259
35399
|
> **run**(`current`, `url`, `opt?`): `Promise`\<`string` \| `number`\>
|
|
35260
35400
|
|
|
35261
|
-
Defined in: [lib/task.ts:
|
|
35401
|
+
Defined in: [lib/task.ts:642](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L642)
|
|
35262
35402
|
|
|
35263
35403
|
运行一个应用
|
|
35264
35404
|
|
|
@@ -35301,7 +35441,7 @@ lib/task/functions/runThread.md
|
|
|
35301
35441
|
|
|
35302
35442
|
> **runThread**(`current`, `cls`, `data?`): [`IThread`](../interfaces/IThread.md)
|
|
35303
35443
|
|
|
35304
|
-
Defined in: [lib/task.ts:
|
|
35444
|
+
Defined in: [lib/task.ts:1926](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1926)
|
|
35305
35445
|
|
|
35306
35446
|
运行线程(同一个线程文件只能运行一个)
|
|
35307
35447
|
|
|
@@ -35342,7 +35482,7 @@ lib/task/functions/setFocus.md
|
|
|
35342
35482
|
|
|
35343
35483
|
> **setFocus**(`id?`): `boolean`
|
|
35344
35484
|
|
|
35345
|
-
Defined in: [lib/task.ts:
|
|
35485
|
+
Defined in: [lib/task.ts:368](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L368)
|
|
35346
35486
|
|
|
35347
35487
|
设置 task focus id
|
|
35348
35488
|
|
|
@@ -35371,7 +35511,7 @@ lib/task/functions/setLocaleLang.md
|
|
|
35371
35511
|
|
|
35372
35512
|
> **setLocaleLang**(`current`, `lang`): `void`
|
|
35373
35513
|
|
|
35374
|
-
Defined in: [lib/task.ts:
|
|
35514
|
+
Defined in: [lib/task.ts:1520](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1520)
|
|
35375
35515
|
|
|
35376
35516
|
设置本 task 的语言 name
|
|
35377
35517
|
|
|
@@ -35406,7 +35546,7 @@ lib/task/functions/setLocale.md
|
|
|
35406
35546
|
|
|
35407
35547
|
> **setLocale**(`taskId`, `lang`, `path`): `Promise`\<`boolean`\>
|
|
35408
35548
|
|
|
35409
|
-
Defined in: [lib/task.ts:
|
|
35549
|
+
Defined in: [lib/task.ts:1510](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1510)
|
|
35410
35550
|
|
|
35411
35551
|
加载全新 locale(老 locale 的所有语言的缓存会被卸载)
|
|
35412
35552
|
|
|
@@ -35447,7 +35587,7 @@ lib/task/functions/setSystem.md
|
|
|
35447
35587
|
|
|
35448
35588
|
> **setSystem**(`taskId`, `formId`): `boolean`
|
|
35449
35589
|
|
|
35450
|
-
Defined in: [lib/task.ts:
|
|
35590
|
+
Defined in: [lib/task.ts:1663](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1663)
|
|
35451
35591
|
|
|
35452
35592
|
将任务注册为系统 task
|
|
35453
35593
|
|
|
@@ -35482,7 +35622,7 @@ lib/task/functions/sleep.md
|
|
|
35482
35622
|
|
|
35483
35623
|
> **sleep**(`current`, `fun`, `delay`): `number`
|
|
35484
35624
|
|
|
35485
|
-
Defined in: [lib/task.ts:
|
|
35625
|
+
Defined in: [lib/task.ts:1645](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L1645)
|
|
35486
35626
|
|
|
35487
35627
|
暂停一小段时间
|
|
35488
35628
|
|
|
@@ -35523,7 +35663,7 @@ lib/task/functions/updateTray.md
|
|
|
35523
35663
|
|
|
35524
35664
|
> **updateTray**(`current`, `id`, `options`): `Promise`\<`boolean`\>
|
|
35525
35665
|
|
|
35526
|
-
Defined in: [lib/task.ts:
|
|
35666
|
+
Defined in: [lib/task.ts:161](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L161)
|
|
35527
35667
|
|
|
35528
35668
|
更新自己的托盘;并发图标更新以最后发起的一次为准
|
|
35529
35669
|
|
|
@@ -35636,7 +35776,7 @@ lib/task/interfaces/ICreateTimerOptions.md
|
|
|
35636
35776
|
|
|
35637
35777
|
# Interface: ICreateTimerOptions
|
|
35638
35778
|
|
|
35639
|
-
Defined in: [lib/task.ts:
|
|
35779
|
+
Defined in: [lib/task.ts:2127](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2127)
|
|
35640
35780
|
|
|
35641
35781
|
## Properties
|
|
35642
35782
|
|
|
@@ -35644,7 +35784,7 @@ Defined in: [lib/task.ts:2121](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35644
35784
|
|
|
35645
35785
|
> `optional` **count?**: `number`
|
|
35646
35786
|
|
|
35647
|
-
Defined in: [lib/task.ts:
|
|
35787
|
+
Defined in: [lib/task.ts:2131](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2131)
|
|
35648
35788
|
|
|
35649
35789
|
***
|
|
35650
35790
|
|
|
@@ -35652,7 +35792,7 @@ Defined in: [lib/task.ts:2125](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35652
35792
|
|
|
35653
35793
|
> `optional` **formId?**: `string`
|
|
35654
35794
|
|
|
35655
|
-
Defined in: [lib/task.ts:
|
|
35795
|
+
Defined in: [lib/task.ts:2128](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2128)
|
|
35656
35796
|
|
|
35657
35797
|
***
|
|
35658
35798
|
|
|
@@ -35660,7 +35800,7 @@ Defined in: [lib/task.ts:2122](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35660
35800
|
|
|
35661
35801
|
> `optional` **immediate?**: `boolean`
|
|
35662
35802
|
|
|
35663
|
-
Defined in: [lib/task.ts:
|
|
35803
|
+
Defined in: [lib/task.ts:2130](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2130)
|
|
35664
35804
|
|
|
35665
35805
|
lib/task/interfaces/IRuntime.md
|
|
35666
35806
|
---
|
|
@@ -35673,7 +35813,7 @@ lib/task/interfaces/IRuntime.md
|
|
|
35673
35813
|
|
|
35674
35814
|
# Interface: IRuntime
|
|
35675
35815
|
|
|
35676
|
-
Defined in: [lib/task.ts:
|
|
35816
|
+
Defined in: [lib/task.ts:2092](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2092)
|
|
35677
35817
|
|
|
35678
35818
|
## Properties
|
|
35679
35819
|
|
|
@@ -35681,7 +35821,7 @@ Defined in: [lib/task.ts:2086](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35681
35821
|
|
|
35682
35822
|
> **dialogCreating**: `number`
|
|
35683
35823
|
|
|
35684
|
-
Defined in: [lib/task.ts:
|
|
35824
|
+
Defined in: [lib/task.ts:2095](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2095)
|
|
35685
35825
|
|
|
35686
35826
|
正在异步创建 dialog 的数量,用于防止快速重复调用产生多个 dialog
|
|
35687
35827
|
|
|
@@ -35691,7 +35831,7 @@ Defined in: [lib/task.ts:2089](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35691
35831
|
|
|
35692
35832
|
> **dialogFormIds**: `string`[]
|
|
35693
35833
|
|
|
35694
|
-
Defined in: [lib/task.ts:
|
|
35834
|
+
Defined in: [lib/task.ts:2093](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2093)
|
|
35695
35835
|
|
|
35696
35836
|
***
|
|
35697
35837
|
|
|
@@ -35699,7 +35839,7 @@ Defined in: [lib/task.ts:2087](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35699
35839
|
|
|
35700
35840
|
> **index**: `number`
|
|
35701
35841
|
|
|
35702
|
-
Defined in: [lib/task.ts:
|
|
35842
|
+
Defined in: [lib/task.ts:2097](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2097)
|
|
35703
35843
|
|
|
35704
35844
|
***
|
|
35705
35845
|
|
|
@@ -35707,7 +35847,7 @@ Defined in: [lib/task.ts:2091](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35707
35847
|
|
|
35708
35848
|
> **permissions**: `string`[]
|
|
35709
35849
|
|
|
35710
|
-
Defined in: [lib/task.ts:
|
|
35850
|
+
Defined in: [lib/task.ts:2096](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2096)
|
|
35711
35851
|
|
|
35712
35852
|
lib/task/interfaces/ISystemTaskInfo.md
|
|
35713
35853
|
---
|
|
@@ -35720,7 +35860,7 @@ lib/task/interfaces/ISystemTaskInfo.md
|
|
|
35720
35860
|
|
|
35721
35861
|
# Interface: ISystemTaskInfo
|
|
35722
35862
|
|
|
35723
|
-
Defined in: [lib/task.ts:
|
|
35863
|
+
Defined in: [lib/task.ts:2101](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2101)
|
|
35724
35864
|
|
|
35725
35865
|
系统任务信息
|
|
35726
35866
|
|
|
@@ -35730,7 +35870,7 @@ Defined in: [lib/task.ts:2095](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35730
35870
|
|
|
35731
35871
|
> **formId**: `string`
|
|
35732
35872
|
|
|
35733
|
-
Defined in: [lib/task.ts:
|
|
35873
|
+
Defined in: [lib/task.ts:2103](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2103)
|
|
35734
35874
|
|
|
35735
35875
|
***
|
|
35736
35876
|
|
|
@@ -35738,7 +35878,7 @@ Defined in: [lib/task.ts:2097](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35738
35878
|
|
|
35739
35879
|
> **length**: `number`
|
|
35740
35880
|
|
|
35741
|
-
Defined in: [lib/task.ts:
|
|
35881
|
+
Defined in: [lib/task.ts:2104](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2104)
|
|
35742
35882
|
|
|
35743
35883
|
***
|
|
35744
35884
|
|
|
@@ -35746,7 +35886,7 @@ Defined in: [lib/task.ts:2098](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35746
35886
|
|
|
35747
35887
|
> **taskId**: `string`
|
|
35748
35888
|
|
|
35749
|
-
Defined in: [lib/task.ts:
|
|
35889
|
+
Defined in: [lib/task.ts:2102](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2102)
|
|
35750
35890
|
|
|
35751
35891
|
lib/task/interfaces/ITaskInfo.md
|
|
35752
35892
|
---
|
|
@@ -35759,7 +35899,7 @@ lib/task/interfaces/ITaskInfo.md
|
|
|
35759
35899
|
|
|
35760
35900
|
# Interface: ITaskInfo
|
|
35761
35901
|
|
|
35762
|
-
Defined in: [lib/task.ts:
|
|
35902
|
+
Defined in: [lib/task.ts:2135](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2135)
|
|
35763
35903
|
|
|
35764
35904
|
Task 及其应用包的简略信息,通常在 list 当中
|
|
35765
35905
|
|
|
@@ -35769,7 +35909,7 @@ Task 及其应用包的简略信息,通常在 list 当中
|
|
|
35769
35909
|
|
|
35770
35910
|
> **author**: `string`
|
|
35771
35911
|
|
|
35772
|
-
Defined in: [lib/task.ts:
|
|
35912
|
+
Defined in: [lib/task.ts:2145](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2145)
|
|
35773
35913
|
|
|
35774
35914
|
作者
|
|
35775
35915
|
|
|
@@ -35779,7 +35919,7 @@ Defined in: [lib/task.ts:2139](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35779
35919
|
|
|
35780
35920
|
> **current**: `string`
|
|
35781
35921
|
|
|
35782
|
-
Defined in: [lib/task.ts:
|
|
35922
|
+
Defined in: [lib/task.ts:2151](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2151)
|
|
35783
35923
|
|
|
35784
35924
|
***
|
|
35785
35925
|
|
|
@@ -35787,7 +35927,7 @@ Defined in: [lib/task.ts:2145](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35787
35927
|
|
|
35788
35928
|
> **customTheme**: `boolean`
|
|
35789
35929
|
|
|
35790
|
-
Defined in: [lib/task.ts:
|
|
35930
|
+
Defined in: [lib/task.ts:2147](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2147)
|
|
35791
35931
|
|
|
35792
35932
|
***
|
|
35793
35933
|
|
|
@@ -35795,7 +35935,7 @@ Defined in: [lib/task.ts:2141](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35795
35935
|
|
|
35796
35936
|
> **formCount**: `number`
|
|
35797
35937
|
|
|
35798
|
-
Defined in: [lib/task.ts:
|
|
35938
|
+
Defined in: [lib/task.ts:2148](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2148)
|
|
35799
35939
|
|
|
35800
35940
|
***
|
|
35801
35941
|
|
|
@@ -35803,7 +35943,7 @@ Defined in: [lib/task.ts:2142](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35803
35943
|
|
|
35804
35944
|
> **icon**: `string`
|
|
35805
35945
|
|
|
35806
|
-
Defined in: [lib/task.ts:
|
|
35946
|
+
Defined in: [lib/task.ts:2149](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2149)
|
|
35807
35947
|
|
|
35808
35948
|
***
|
|
35809
35949
|
|
|
@@ -35811,7 +35951,7 @@ Defined in: [lib/task.ts:2143](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35811
35951
|
|
|
35812
35952
|
> **id**: `string`
|
|
35813
35953
|
|
|
35814
|
-
Defined in: [lib/task.ts:
|
|
35954
|
+
Defined in: [lib/task.ts:2137](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2137)
|
|
35815
35955
|
|
|
35816
35956
|
任务 ID
|
|
35817
35957
|
|
|
@@ -35821,7 +35961,7 @@ Defined in: [lib/task.ts:2131](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35821
35961
|
|
|
35822
35962
|
> **locale**: `string`
|
|
35823
35963
|
|
|
35824
|
-
Defined in: [lib/task.ts:
|
|
35964
|
+
Defined in: [lib/task.ts:2146](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2146)
|
|
35825
35965
|
|
|
35826
35966
|
***
|
|
35827
35967
|
|
|
@@ -35829,7 +35969,7 @@ Defined in: [lib/task.ts:2140](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35829
35969
|
|
|
35830
35970
|
> **name**: `string`
|
|
35831
35971
|
|
|
35832
|
-
Defined in: [lib/task.ts:
|
|
35972
|
+
Defined in: [lib/task.ts:2139](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2139)
|
|
35833
35973
|
|
|
35834
35974
|
应用名
|
|
35835
35975
|
|
|
@@ -35839,7 +35979,7 @@ Defined in: [lib/task.ts:2133](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35839
35979
|
|
|
35840
35980
|
> **path**: `string`
|
|
35841
35981
|
|
|
35842
|
-
Defined in: [lib/task.ts:
|
|
35982
|
+
Defined in: [lib/task.ts:2150](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2150)
|
|
35843
35983
|
|
|
35844
35984
|
***
|
|
35845
35985
|
|
|
@@ -35847,7 +35987,7 @@ Defined in: [lib/task.ts:2144](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35847
35987
|
|
|
35848
35988
|
> **ver**: `number`
|
|
35849
35989
|
|
|
35850
|
-
Defined in: [lib/task.ts:
|
|
35990
|
+
Defined in: [lib/task.ts:2141](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2141)
|
|
35851
35991
|
|
|
35852
35992
|
发行版本
|
|
35853
35993
|
|
|
@@ -35857,7 +35997,7 @@ Defined in: [lib/task.ts:2135](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35857
35997
|
|
|
35858
35998
|
> **version**: `string`
|
|
35859
35999
|
|
|
35860
|
-
Defined in: [lib/task.ts:
|
|
36000
|
+
Defined in: [lib/task.ts:2143](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2143)
|
|
35861
36001
|
|
|
35862
36002
|
发行版本字符串
|
|
35863
36003
|
|
|
@@ -35872,7 +36012,7 @@ lib/task/interfaces/ITask.md
|
|
|
35872
36012
|
|
|
35873
36013
|
# Interface: ITask
|
|
35874
36014
|
|
|
35875
|
-
Defined in: [lib/task.ts:
|
|
36015
|
+
Defined in: [lib/task.ts:2051](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2051)
|
|
35876
36016
|
|
|
35877
36017
|
运行中的任务对象
|
|
35878
36018
|
|
|
@@ -35882,7 +36022,7 @@ Defined in: [lib/task.ts:2045](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35882
36022
|
|
|
35883
36023
|
> **app**: [`IApp`](../../core/interfaces/IApp.md)
|
|
35884
36024
|
|
|
35885
|
-
Defined in: [lib/task.ts:
|
|
36025
|
+
Defined in: [lib/task.ts:2057](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2057)
|
|
35886
36026
|
|
|
35887
36027
|
***
|
|
35888
36028
|
|
|
@@ -35890,7 +36030,7 @@ Defined in: [lib/task.ts:2051](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35890
36030
|
|
|
35891
36031
|
> `readonly` `optional` **appId?**: `string`
|
|
35892
36032
|
|
|
35893
|
-
Defined in: [lib/task.ts:
|
|
36033
|
+
Defined in: [lib/task.ts:2056](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2056)
|
|
35894
36034
|
|
|
35895
36035
|
启动时确定的固定 App ID,与运行实例 ID 和加载路径无关
|
|
35896
36036
|
|
|
@@ -35900,7 +36040,7 @@ Defined in: [lib/task.ts:2050](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35900
36040
|
|
|
35901
36041
|
> **class**: [`AbstractApp`](../../core/classes/AbstractApp.md)
|
|
35902
36042
|
|
|
35903
|
-
Defined in: [lib/task.ts:
|
|
36043
|
+
Defined in: [lib/task.ts:2058](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2058)
|
|
35904
36044
|
|
|
35905
36045
|
***
|
|
35906
36046
|
|
|
@@ -35908,7 +36048,7 @@ Defined in: [lib/task.ts:2052](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35908
36048
|
|
|
35909
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`\>; \}\>
|
|
35910
36050
|
|
|
35911
|
-
Defined in: [lib/task.ts:
|
|
36051
|
+
Defined in: [lib/task.ts:2072](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2072)
|
|
35912
36052
|
|
|
35913
36053
|
已解析的控件处理后的对象,任务启动时解析,窗体创建时部分复用
|
|
35914
36054
|
|
|
@@ -35918,7 +36058,7 @@ Defined in: [lib/task.ts:2066](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35918
36058
|
|
|
35919
36059
|
> **current**: `string`
|
|
35920
36060
|
|
|
35921
|
-
Defined in: [lib/task.ts:
|
|
36061
|
+
Defined in: [lib/task.ts:2067](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2067)
|
|
35922
36062
|
|
|
35923
36063
|
当前 app 运行路径,末尾不含 /
|
|
35924
36064
|
|
|
@@ -35928,7 +36068,7 @@ Defined in: [lib/task.ts:2061](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35928
36068
|
|
|
35929
36069
|
> **customTheme**: `boolean`
|
|
35930
36070
|
|
|
35931
|
-
Defined in: [lib/task.ts:
|
|
36071
|
+
Defined in: [lib/task.ts:2059](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2059)
|
|
35932
36072
|
|
|
35933
36073
|
***
|
|
35934
36074
|
|
|
@@ -35936,7 +36076,7 @@ Defined in: [lib/task.ts:2053](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35936
36076
|
|
|
35937
36077
|
> `optional` **ending?**: `boolean`
|
|
35938
36078
|
|
|
35939
|
-
Defined in: [lib/task.ts:
|
|
36079
|
+
Defined in: [lib/task.ts:2053](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2053)
|
|
35940
36080
|
|
|
35941
36081
|
已开始退出;框架释放异步资源期间拒绝新命令
|
|
35942
36082
|
|
|
@@ -35946,7 +36086,7 @@ Defined in: [lib/task.ts:2047](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35946
36086
|
|
|
35947
36087
|
> **forms**: `Record`\<`string`, [`IForm`](../../form/interfaces/IForm.md)\>
|
|
35948
36088
|
|
|
35949
|
-
Defined in: [lib/task.ts:
|
|
36089
|
+
Defined in: [lib/task.ts:2070](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2070)
|
|
35950
36090
|
|
|
35951
36091
|
窗体对象列表
|
|
35952
36092
|
|
|
@@ -35956,7 +36096,7 @@ Defined in: [lib/task.ts:2064](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35956
36096
|
|
|
35957
36097
|
> **id**: `string`
|
|
35958
36098
|
|
|
35959
|
-
Defined in: [lib/task.ts:
|
|
36099
|
+
Defined in: [lib/task.ts:2054](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2054)
|
|
35960
36100
|
|
|
35961
36101
|
***
|
|
35962
36102
|
|
|
@@ -35964,7 +36104,7 @@ Defined in: [lib/task.ts:2048](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35964
36104
|
|
|
35965
36105
|
> **locale**: `object`
|
|
35966
36106
|
|
|
35967
|
-
Defined in: [lib/task.ts:
|
|
36107
|
+
Defined in: [lib/task.ts:2060](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2060)
|
|
35968
36108
|
|
|
35969
36109
|
#### data
|
|
35970
36110
|
|
|
@@ -35980,7 +36120,7 @@ Defined in: [lib/task.ts:2054](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35980
36120
|
|
|
35981
36121
|
> **path**: `string`
|
|
35982
36122
|
|
|
35983
|
-
Defined in: [lib/task.ts:
|
|
36123
|
+
Defined in: [lib/task.ts:2065](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2065)
|
|
35984
36124
|
|
|
35985
36125
|
当前 app 自己的完整路径,如 /x/xx.cga,或 /x/x,末尾不含 /
|
|
35986
36126
|
|
|
@@ -35990,7 +36130,7 @@ Defined in: [lib/task.ts:2059](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
35990
36130
|
|
|
35991
36131
|
> **threads**: `Record`\<`string`, [`IThread`](IThread.md)\>
|
|
35992
36132
|
|
|
35993
|
-
Defined in: [lib/task.ts:
|
|
36133
|
+
Defined in: [lib/task.ts:2089](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2089)
|
|
35994
36134
|
|
|
35995
36135
|
文件名 -> thread 控制对象
|
|
35996
36136
|
|
|
@@ -36000,7 +36140,7 @@ Defined in: [lib/task.ts:2083](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36000
36140
|
|
|
36001
36141
|
> **timers**: `Record`\<`string`, `string`\>
|
|
36002
36142
|
|
|
36003
|
-
Defined in: [lib/task.ts:
|
|
36143
|
+
Defined in: [lib/task.ts:2087](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2087)
|
|
36004
36144
|
|
|
36005
36145
|
任务中的 timer 列表
|
|
36006
36146
|
|
|
@@ -36015,7 +36155,7 @@ lib/task/interfaces/ITaskRunOptions.md
|
|
|
36015
36155
|
|
|
36016
36156
|
# Interface: ITaskRunOptions
|
|
36017
36157
|
|
|
36018
|
-
Defined in: [lib/task.ts:
|
|
36158
|
+
Defined in: [lib/task.ts:2107](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2107)
|
|
36019
36159
|
|
|
36020
36160
|
## Properties
|
|
36021
36161
|
|
|
@@ -36023,7 +36163,7 @@ Defined in: [lib/task.ts:2101](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36023
36163
|
|
|
36024
36164
|
> `optional` **after?**: `string`
|
|
36025
36165
|
|
|
36026
|
-
Defined in: [lib/task.ts:
|
|
36166
|
+
Defined in: [lib/task.ts:2120](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2120)
|
|
36027
36167
|
|
|
36028
36168
|
如果是网络加载 cga,则网址后面会附带,如 ?123
|
|
36029
36169
|
|
|
@@ -36033,7 +36173,7 @@ Defined in: [lib/task.ts:2114](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36033
36173
|
|
|
36034
36174
|
> `optional` **data?**: `Record`\<`string`, `any`\>
|
|
36035
36175
|
|
|
36036
|
-
Defined in: [lib/task.ts:
|
|
36176
|
+
Defined in: [lib/task.ts:2122](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2122)
|
|
36037
36177
|
|
|
36038
36178
|
给 task 传值
|
|
36039
36179
|
|
|
@@ -36043,7 +36183,7 @@ Defined in: [lib/task.ts:2116](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36043
36183
|
|
|
36044
36184
|
> `optional` **icon?**: `string`
|
|
36045
36185
|
|
|
36046
|
-
Defined in: [lib/task.ts:
|
|
36186
|
+
Defined in: [lib/task.ts:2108](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2108)
|
|
36047
36187
|
|
|
36048
36188
|
***
|
|
36049
36189
|
|
|
@@ -36051,7 +36191,7 @@ Defined in: [lib/task.ts:2102](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36051
36191
|
|
|
36052
36192
|
> `optional` **initProgress?**: (`loaded`, `total`, `type`, `msg`) => `void` \| `Promise`\<`void`\>
|
|
36053
36193
|
|
|
36054
|
-
Defined in: [lib/task.ts:
|
|
36194
|
+
Defined in: [lib/task.ts:2110](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2110)
|
|
36055
36195
|
|
|
36056
36196
|
初始化进度回调
|
|
36057
36197
|
|
|
@@ -36083,7 +36223,7 @@ Defined in: [lib/task.ts:2104](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36083
36223
|
|
|
36084
36224
|
> `optional` **notify?**: `boolean`
|
|
36085
36225
|
|
|
36086
|
-
Defined in: [lib/task.ts:
|
|
36226
|
+
Defined in: [lib/task.ts:2116](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2116)
|
|
36087
36227
|
|
|
36088
36228
|
显示 notify 窗口
|
|
36089
36229
|
|
|
@@ -36093,7 +36233,7 @@ Defined in: [lib/task.ts:2110](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36093
36233
|
|
|
36094
36234
|
> `optional` **path?**: `string`
|
|
36095
36235
|
|
|
36096
|
-
Defined in: [lib/task.ts:
|
|
36236
|
+
Defined in: [lib/task.ts:2124](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2124)
|
|
36097
36237
|
|
|
36098
36238
|
执行文件的基路径,一般在传入 APP 包时使用,以 .cga 结尾
|
|
36099
36239
|
|
|
@@ -36103,7 +36243,7 @@ Defined in: [lib/task.ts:2118](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36103
36243
|
|
|
36104
36244
|
> `optional` **permissions?**: `string`[]
|
|
36105
36245
|
|
|
36106
|
-
Defined in: [lib/task.ts:
|
|
36246
|
+
Defined in: [lib/task.ts:2118](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2118)
|
|
36107
36247
|
|
|
36108
36248
|
直接赋予此任务相应权限,有 "root" 权限的应用才能设置
|
|
36109
36249
|
|
|
@@ -36113,7 +36253,7 @@ Defined in: [lib/task.ts:2112](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36113
36253
|
|
|
36114
36254
|
> `optional` **perProgress?**: (`per`) => `void` \| `Promise`\<`void`\>
|
|
36115
36255
|
|
|
36116
|
-
Defined in: [lib/task.ts:
|
|
36256
|
+
Defined in: [lib/task.ts:2114](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2114)
|
|
36117
36257
|
|
|
36118
36258
|
返回总加载进度百分比(0 - 1)
|
|
36119
36259
|
|
|
@@ -36133,7 +36273,7 @@ Defined in: [lib/task.ts:2108](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36133
36273
|
|
|
36134
36274
|
> `optional` **progress?**: (`loaded`, `total`, `type`, `path`) => `void` \| `Promise`\<`void`\>
|
|
36135
36275
|
|
|
36136
|
-
Defined in: [lib/task.ts:
|
|
36276
|
+
Defined in: [lib/task.ts:2112](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2112)
|
|
36137
36277
|
|
|
36138
36278
|
加载进度回调(根据 type 分为不同阶段)
|
|
36139
36279
|
|
|
@@ -36170,7 +36310,7 @@ lib/task/interfaces/IThread.md
|
|
|
36170
36310
|
|
|
36171
36311
|
# Interface: IThread
|
|
36172
36312
|
|
|
36173
|
-
Defined in: [lib/task.ts:
|
|
36313
|
+
Defined in: [lib/task.ts:2039](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2039)
|
|
36174
36314
|
|
|
36175
36315
|
## Properties
|
|
36176
36316
|
|
|
@@ -36178,7 +36318,7 @@ Defined in: [lib/task.ts:2033](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36178
36318
|
|
|
36179
36319
|
> **end**: () => `Promise`\<`void`\>
|
|
36180
36320
|
|
|
36181
|
-
Defined in: [lib/task.ts:
|
|
36321
|
+
Defined in: [lib/task.ts:2047](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2047)
|
|
36182
36322
|
|
|
36183
36323
|
结束线程
|
|
36184
36324
|
|
|
@@ -36192,7 +36332,7 @@ Defined in: [lib/task.ts:2041](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36192
36332
|
|
|
36193
36333
|
> **off**: (`name`, `handler`) => `void`
|
|
36194
36334
|
|
|
36195
|
-
Defined in: [lib/task.ts:
|
|
36335
|
+
Defined in: [lib/task.ts:2043](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2043)
|
|
36196
36336
|
|
|
36197
36337
|
移除事件
|
|
36198
36338
|
|
|
@@ -36216,7 +36356,7 @@ Defined in: [lib/task.ts:2037](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36216
36356
|
|
|
36217
36357
|
> **on**: (`name`, `handler`) => `void`
|
|
36218
36358
|
|
|
36219
|
-
Defined in: [lib/task.ts:
|
|
36359
|
+
Defined in: [lib/task.ts:2041](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2041)
|
|
36220
36360
|
|
|
36221
36361
|
绑定事件
|
|
36222
36362
|
|
|
@@ -36240,7 +36380,7 @@ Defined in: [lib/task.ts:2035](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
36240
36380
|
|
|
36241
36381
|
> **send**: (`data`) => `void`
|
|
36242
36382
|
|
|
36243
|
-
Defined in: [lib/task.ts:
|
|
36383
|
+
Defined in: [lib/task.ts:2045](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L2045)
|
|
36244
36384
|
|
|
36245
36385
|
发送数据
|
|
36246
36386
|
|
|
@@ -36265,7 +36405,7 @@ lib/task/interfaces/ITrayInfo.md
|
|
|
36265
36405
|
|
|
36266
36406
|
# Interface: ITrayInfo
|
|
36267
36407
|
|
|
36268
|
-
Defined in: [lib/task.ts:
|
|
36408
|
+
Defined in: [lib/task.ts:89](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L89)
|
|
36269
36409
|
|
|
36270
36410
|
提供给任务栏的托盘快照,icon 已解析为跨任务可用的 URL
|
|
36271
36411
|
|
|
@@ -36275,7 +36415,7 @@ Defined in: [lib/task.ts:88](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36275
36415
|
|
|
36276
36416
|
> **icon**: `string`
|
|
36277
36417
|
|
|
36278
|
-
Defined in: [lib/task.ts:
|
|
36418
|
+
Defined in: [lib/task.ts:92](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L92)
|
|
36279
36419
|
|
|
36280
36420
|
***
|
|
36281
36421
|
|
|
@@ -36283,7 +36423,7 @@ Defined in: [lib/task.ts:91](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36283
36423
|
|
|
36284
36424
|
> **id**: `string`
|
|
36285
36425
|
|
|
36286
|
-
Defined in: [lib/task.ts:
|
|
36426
|
+
Defined in: [lib/task.ts:90](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L90)
|
|
36287
36427
|
|
|
36288
36428
|
***
|
|
36289
36429
|
|
|
@@ -36291,7 +36431,7 @@ Defined in: [lib/task.ts:89](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36291
36431
|
|
|
36292
36432
|
> **menu**: [`ITrayMenuItem`](ITrayMenuItem.md)[]
|
|
36293
36433
|
|
|
36294
|
-
Defined in: [lib/task.ts:
|
|
36434
|
+
Defined in: [lib/task.ts:94](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L94)
|
|
36295
36435
|
|
|
36296
36436
|
***
|
|
36297
36437
|
|
|
@@ -36299,7 +36439,7 @@ Defined in: [lib/task.ts:93](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36299
36439
|
|
|
36300
36440
|
> **taskId**: `string`
|
|
36301
36441
|
|
|
36302
|
-
Defined in: [lib/task.ts:
|
|
36442
|
+
Defined in: [lib/task.ts:91](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L91)
|
|
36303
36443
|
|
|
36304
36444
|
***
|
|
36305
36445
|
|
|
@@ -36307,7 +36447,7 @@ Defined in: [lib/task.ts:90](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36307
36447
|
|
|
36308
36448
|
> **tip**: `string`
|
|
36309
36449
|
|
|
36310
|
-
Defined in: [lib/task.ts:
|
|
36450
|
+
Defined in: [lib/task.ts:93](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L93)
|
|
36311
36451
|
|
|
36312
36452
|
lib/task/interfaces/ITrayMenuItem.md
|
|
36313
36453
|
---
|
|
@@ -36320,7 +36460,7 @@ lib/task/interfaces/ITrayMenuItem.md
|
|
|
36320
36460
|
|
|
36321
36461
|
# Interface: ITrayMenuItem
|
|
36322
36462
|
|
|
36323
|
-
Defined in: [lib/task.ts:
|
|
36463
|
+
Defined in: [lib/task.ts:74](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L74)
|
|
36324
36464
|
|
|
36325
36465
|
托盘菜单命令;separator 项只显示分隔线
|
|
36326
36466
|
|
|
@@ -36330,7 +36470,7 @@ Defined in: [lib/task.ts:73](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36330
36470
|
|
|
36331
36471
|
> `optional` **disabled?**: `boolean`
|
|
36332
36472
|
|
|
36333
|
-
Defined in: [lib/task.ts:
|
|
36473
|
+
Defined in: [lib/task.ts:77](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L77)
|
|
36334
36474
|
|
|
36335
36475
|
***
|
|
36336
36476
|
|
|
@@ -36338,7 +36478,7 @@ Defined in: [lib/task.ts:76](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36338
36478
|
|
|
36339
36479
|
> **id**: `string`
|
|
36340
36480
|
|
|
36341
|
-
Defined in: [lib/task.ts:
|
|
36481
|
+
Defined in: [lib/task.ts:75](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L75)
|
|
36342
36482
|
|
|
36343
36483
|
***
|
|
36344
36484
|
|
|
@@ -36346,7 +36486,7 @@ Defined in: [lib/task.ts:74](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36346
36486
|
|
|
36347
36487
|
> **label**: `string`
|
|
36348
36488
|
|
|
36349
|
-
Defined in: [lib/task.ts:
|
|
36489
|
+
Defined in: [lib/task.ts:76](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L76)
|
|
36350
36490
|
|
|
36351
36491
|
***
|
|
36352
36492
|
|
|
@@ -36354,7 +36494,7 @@ Defined in: [lib/task.ts:75](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36354
36494
|
|
|
36355
36495
|
> `optional` **separator?**: `boolean`
|
|
36356
36496
|
|
|
36357
|
-
Defined in: [lib/task.ts:
|
|
36497
|
+
Defined in: [lib/task.ts:78](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L78)
|
|
36358
36498
|
|
|
36359
36499
|
lib/task/interfaces/ITrayOptions.md
|
|
36360
36500
|
---
|
|
@@ -36367,7 +36507,7 @@ lib/task/interfaces/ITrayOptions.md
|
|
|
36367
36507
|
|
|
36368
36508
|
# Interface: ITrayOptions
|
|
36369
36509
|
|
|
36370
|
-
Defined in: [lib/task.ts:
|
|
36510
|
+
Defined in: [lib/task.ts:82](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L82)
|
|
36371
36511
|
|
|
36372
36512
|
托盘注册数据;包内图标请用 /package/ 开头的路径
|
|
36373
36513
|
|
|
@@ -36377,7 +36517,7 @@ Defined in: [lib/task.ts:81](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36377
36517
|
|
|
36378
36518
|
> **icon**: `string`
|
|
36379
36519
|
|
|
36380
|
-
Defined in: [lib/task.ts:
|
|
36520
|
+
Defined in: [lib/task.ts:83](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L83)
|
|
36381
36521
|
|
|
36382
36522
|
***
|
|
36383
36523
|
|
|
@@ -36385,7 +36525,7 @@ Defined in: [lib/task.ts:82](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36385
36525
|
|
|
36386
36526
|
> `optional` **menu?**: [`ITrayMenuItem`](ITrayMenuItem.md)[]
|
|
36387
36527
|
|
|
36388
|
-
Defined in: [lib/task.ts:
|
|
36528
|
+
Defined in: [lib/task.ts:85](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L85)
|
|
36389
36529
|
|
|
36390
36530
|
***
|
|
36391
36531
|
|
|
@@ -36393,7 +36533,7 @@ Defined in: [lib/task.ts:84](https://github.com/maiyun/clickgo/blob/master/dist/
|
|
|
36393
36533
|
|
|
36394
36534
|
> `optional` **tip?**: `string`
|
|
36395
36535
|
|
|
36396
|
-
Defined in: [lib/task.ts:
|
|
36536
|
+
Defined in: [lib/task.ts:84](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L84)
|
|
36397
36537
|
|
|
36398
36538
|
lib/task/variables/systemTaskInfo.md
|
|
36399
36539
|
---
|
|
@@ -36408,7 +36548,7 @@ lib/task/variables/systemTaskInfo.md
|
|
|
36408
36548
|
|
|
36409
36549
|
> **systemTaskInfo**: [`ISystemTaskInfo`](../interfaces/ISystemTaskInfo.md)
|
|
36410
36550
|
|
|
36411
|
-
Defined in: [lib/task.ts:
|
|
36551
|
+
Defined in: [lib/task.ts:60](https://github.com/maiyun/clickgo/blob/master/dist/lib/task.ts#L60)
|
|
36412
36552
|
|
|
36413
36553
|
当前注册的系统任务栏
|
|
36414
36554
|
|