clickgo 5.19.2 → 5.20.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/control/common.cgc +0 -0
- package/dist/control/fabric.cgc +0 -0
- package/dist/index.js +1 -1
- package/dist/lib/form.d.ts +48 -0
- package/doc/clickgo-rag.md +1295 -463
- package/package.json +1 -1
- package/dist/control/sform.cgc +0 -0
package/doc/clickgo-rag.md
CHANGED
|
@@ -1701,6 +1701,141 @@ cell 之间的间距,默认 0。
|
|
|
1701
1701
|
<dialog :buttons="['Yes', 'No']" @select="onSelect">Content</dialog>
|
|
1702
1702
|
```
|
|
1703
1703
|
|
|
1704
|
+
## dock
|
|
1705
|
+
---
|
|
1706
|
+
|
|
1707
|
+
桌面软件侧栏停靠容器。负责展开、收起和浮动显示,与 `dock-group`、`dock-item` 搭配使用;业务内容由 Form/Panel 的局部应用组件提供。
|
|
1708
|
+
|
|
1709
|
+
### 参数
|
|
1710
|
+
|
|
1711
|
+
#### expanded
|
|
1712
|
+
|
|
1713
|
+
`boolean` | `string`
|
|
1714
|
+
|
|
1715
|
+
双向绑定,是否展开,默认 `true`。
|
|
1716
|
+
|
|
1717
|
+
#### width
|
|
1718
|
+
|
|
1719
|
+
`number` | `string`
|
|
1720
|
+
|
|
1721
|
+
展开宽度,默认 `280`。
|
|
1722
|
+
|
|
1723
|
+
### 方法
|
|
1724
|
+
|
|
1725
|
+
#### toggle
|
|
1726
|
+
|
|
1727
|
+
`() => void`
|
|
1728
|
+
|
|
1729
|
+
切换展开状态。
|
|
1730
|
+
|
|
1731
|
+
#### closeFloat
|
|
1732
|
+
|
|
1733
|
+
`() => void`
|
|
1734
|
+
|
|
1735
|
+
关闭当前浮动面板。
|
|
1736
|
+
|
|
1737
|
+
### 示例
|
|
1738
|
+
|
|
1739
|
+
```xml
|
|
1740
|
+
<dock v-model:expanded="expanded">
|
|
1741
|
+
<dock-group v-model="selected">
|
|
1742
|
+
<dock-item name="layers" label="Layers" lazy cache>
|
|
1743
|
+
<layer-list></layer-list>
|
|
1744
|
+
</dock-item>
|
|
1745
|
+
</dock-group>
|
|
1746
|
+
</dock>
|
|
1747
|
+
```
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
## dock-group
|
|
1751
|
+
---
|
|
1752
|
+
|
|
1753
|
+
Dock 分组控件,使用稳定的字符串 `name` 管理选中项,不依赖子项顺序。
|
|
1754
|
+
|
|
1755
|
+
展开状态下,各分组先按内容自然高度布局,再共享剩余高度;总高度不足时才按内容高度压缩并在内容区滚动。`grow` 可提高某个分组分配剩余高度的权重。分组标题栏右侧可折叠内容,折叠后其他分组自动接管空间。
|
|
1756
|
+
|
|
1757
|
+
### 参数
|
|
1758
|
+
|
|
1759
|
+
#### modelValue
|
|
1760
|
+
|
|
1761
|
+
`string`
|
|
1762
|
+
|
|
1763
|
+
双向绑定,当前选中的 `dock-item` name。
|
|
1764
|
+
|
|
1765
|
+
#### collapsed
|
|
1766
|
+
|
|
1767
|
+
`boolean` | `string`
|
|
1768
|
+
|
|
1769
|
+
双向绑定,当前分组是否折叠,默认 `false`。
|
|
1770
|
+
|
|
1771
|
+
#### collapsible
|
|
1772
|
+
|
|
1773
|
+
`boolean` | `string`
|
|
1774
|
+
|
|
1775
|
+
是否显示分组折叠按钮,默认 `true`。
|
|
1776
|
+
|
|
1777
|
+
#### grow
|
|
1778
|
+
|
|
1779
|
+
`boolean` | `string`
|
|
1780
|
+
|
|
1781
|
+
是否提高占用 Dock 剩余高度的权重,默认 `false`。
|
|
1782
|
+
|
|
1783
|
+
### 方法
|
|
1784
|
+
|
|
1785
|
+
#### toggleCollapsed
|
|
1786
|
+
|
|
1787
|
+
`() => void`
|
|
1788
|
+
|
|
1789
|
+
切换分组折叠状态。
|
|
1790
|
+
|
|
1791
|
+
### 示例
|
|
1792
|
+
|
|
1793
|
+
```xml
|
|
1794
|
+
<dock-group v-model="selected" v-model:collapsed="collapsed" grow>
|
|
1795
|
+
<dock-item name="brush" label="Brush"></dock-item>
|
|
1796
|
+
<dock-item name="layers" label="Layers"></dock-item>
|
|
1797
|
+
</dock-group>
|
|
1798
|
+
```
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
## dock-item
|
|
1802
|
+
---
|
|
1803
|
+
|
|
1804
|
+
Dock 内容项。首次激活时才挂载 slot 内容,并可在切换后保留组件状态。
|
|
1805
|
+
|
|
1806
|
+
### 参数
|
|
1807
|
+
|
|
1808
|
+
#### name
|
|
1809
|
+
|
|
1810
|
+
`string`
|
|
1811
|
+
|
|
1812
|
+
必填,当前项的稳定标识。
|
|
1813
|
+
|
|
1814
|
+
#### label
|
|
1815
|
+
|
|
1816
|
+
`string`
|
|
1817
|
+
|
|
1818
|
+
显示名称。
|
|
1819
|
+
|
|
1820
|
+
#### icon
|
|
1821
|
+
|
|
1822
|
+
`string`
|
|
1823
|
+
|
|
1824
|
+
收起模式图标。
|
|
1825
|
+
|
|
1826
|
+
#### lazy
|
|
1827
|
+
|
|
1828
|
+
`boolean` | `string`
|
|
1829
|
+
|
|
1830
|
+
是否首次激活时才挂载,默认 `true`。
|
|
1831
|
+
|
|
1832
|
+
#### cache
|
|
1833
|
+
|
|
1834
|
+
`boolean` | `string`
|
|
1835
|
+
|
|
1836
|
+
激活后是否保留内容实例,默认 `true`。
|
|
1837
|
+
|
|
1838
|
+
|
|
1704
1839
|
## drawer
|
|
1705
1840
|
---
|
|
1706
1841
|
|
|
@@ -2109,7 +2244,7 @@ public async onLoad(): Promise<void> {
|
|
|
2109
2244
|
|
|
2110
2245
|
fabric.js Canvas 对象,在 `init` 事件触发后可用。可通过此对象调用所有 fabric.js 原生 API,如添加/移除对象、获取图层列表、设置视图变换等。
|
|
2111
2246
|
|
|
2112
|
-
####
|
|
2247
|
+
#### artboard
|
|
2113
2248
|
|
|
2114
2249
|
`{ left: number; top: number; width: number; height: number; } | null`
|
|
2115
2250
|
|
|
@@ -2119,7 +2254,7 @@ fabric.js Canvas 对象,在 `init` 事件触发后可用。可通过此对象
|
|
|
2119
2254
|
- `width` — 画板宽度
|
|
2120
2255
|
- `height` — 画板高度
|
|
2121
2256
|
|
|
2122
|
-
未启用画板模式时为 `null
|
|
2257
|
+
未启用画板模式时为 `null`。用户可通过控件引用读取此属性,并据此计算对象相对于画板的坐标(如 `objLeft - this.refs.fabric.artboard.left`)。
|
|
2123
2258
|
|
|
2124
2259
|
#### access.marquee
|
|
2125
2260
|
|
|
@@ -2236,7 +2371,7 @@ setMarqueeRect(x: number, y: number, width: number, height: number): void
|
|
|
2236
2371
|
addLayer(name: string, title?: string): boolean
|
|
2237
2372
|
```
|
|
2238
2373
|
|
|
2239
|
-
新建一个空图层。若 `name`
|
|
2374
|
+
新建一个空图层。若 `name` 为空、使用控件内部保留名称或已在图层树中,则返回 `false`;否则将新图层添加到根列表末尾并触发 `layerlistchange` 事件,返回 `true`。
|
|
2240
2375
|
|
|
2241
2376
|
**参数**:
|
|
2242
2377
|
- `name` — 图层唯一标识,须与树中其他层级的名称不重复
|
|
@@ -2248,7 +2383,7 @@ addLayer(name: string, title?: string): boolean
|
|
|
2248
2383
|
removeLayer(name: string): void
|
|
2249
2384
|
```
|
|
2250
2385
|
|
|
2251
|
-
移除图层及其下属的所有 fabric 对象,并触发 `layerlistchange`
|
|
2386
|
+
移除图层及其下属的所有 fabric 对象,并触发 `layerlistchange` 事件。删除文件夹时会递归删除所有子图层对象。若当前激活范围包含该文件夹或任一子图层,会同时从 `layer` prop 中移除并触发 `update:layer`。`name` 不存在时不做任何操作。
|
|
2252
2387
|
|
|
2253
2388
|
**参数**:
|
|
2254
2389
|
- `name` — 要移除的图层 name
|
|
@@ -2304,7 +2439,7 @@ setLayerLocked(name: string, locked: boolean): boolean
|
|
|
2304
2439
|
addFolder(name: string, title?: string): boolean
|
|
2305
2440
|
```
|
|
2306
2441
|
|
|
2307
|
-
新建一个文件夹图层。若 `name`
|
|
2442
|
+
新建一个文件夹图层。若 `name` 为空、使用控件内部保留名称或已在图层树中,则返回 `false`;否则将新文件夹添加到根列表末尾并触发 `layerlistchange` 事件,返回 `true`。文件夹内可嵌套其他图层和文件夹。
|
|
2308
2443
|
|
|
2309
2444
|
**参数**:
|
|
2310
2445
|
- `name` — 文件夹唯一标识,须与树中其他层级的名称不重复
|
|
@@ -2333,7 +2468,10 @@ moveLayer(names: string | string[], refName: string | null, position: 'before' |
|
|
|
2333
2468
|
|
|
2334
2469
|
**安全校验**:
|
|
2335
2470
|
- `refName` 不能在被移动项中(避免自身参考自身)
|
|
2336
|
-
-
|
|
2471
|
+
- 参考目标必须在移动前存在,`position='inside'` 时目标必须是文件夹
|
|
2472
|
+
- 参考目标不能是被移动文件夹的子孙(避免循环嵌套)
|
|
2473
|
+
- 不允许重复传入同一名称,也不允许同时移动父文件夹及其子项
|
|
2474
|
+
- 所有校验均在修改图层树之前完成,失败时原结构保持不变
|
|
2337
2475
|
|
|
2338
2476
|
#### layerGetNames
|
|
2339
2477
|
|
|
@@ -2363,7 +2501,7 @@ const names = this.refs.fabric.layerGetNames();
|
|
|
2363
2501
|
snapApply(target: fabric.FabricObject, rawLeft?: number, rawTop?: number): void
|
|
2364
2502
|
```
|
|
2365
2503
|
|
|
2366
|
-
|
|
2504
|
+
对目标对象应用吸附调整(`snap` 开启时)。通常由控件内部在 `object:moving` 事件中自动调用,外部一般无需直接使用。但如果通过编程方式移动对象后希望应用吸附效果,可以手动调用此方法。
|
|
2367
2505
|
|
|
2368
2506
|
**参数**:
|
|
2369
2507
|
- `target` — 要调整的 fabric 对象或 ActiveSelection
|
|
@@ -2406,18 +2544,9 @@ snapApply(target: fabric.FabricObject, rawLeft?: number, rawTop?: number): void
|
|
|
2406
2544
|
<!-- 透明画板:透过到背景 -->
|
|
2407
2545
|
<fabric :artboard-width="800" :artboard-height="600" :artboard-bg="''" :artboard-fill="''" @init="init"></fabric>
|
|
2408
2546
|
|
|
2409
|
-
<!-- 开启像素模式:逐像素移动,放大后显示像素网格 -->
|
|
2410
|
-
<fabric :pixel="true" :artboard-width="800" :artboard-height="600" @init="init"></fabric>
|
|
2411
|
-
|
|
2412
|
-
<!-- 开启像素渲染:放大后图像以像素块显示 -->
|
|
2413
|
-
<fabric :pixel-render="true" :artboard-width="800" :artboard-height="600" @init="init"></fabric>
|
|
2414
|
-
|
|
2415
2547
|
<!-- 开启吸附模式:移动时显示对齐辅助线 -->
|
|
2416
2548
|
<fabric :snap="true" @init="init"></fabric>
|
|
2417
2549
|
|
|
2418
|
-
<!-- 同时开启像素和吸附:先吸附再取整 -->
|
|
2419
|
-
<fabric :pixel="true" :snap="true" :snap-threshold="8" :artboard-width="800" :artboard-height="600" @init="init"></fabric>
|
|
2420
|
-
|
|
2421
2550
|
<!-- 开启平移模式(类似 PS 空格键) -->
|
|
2422
2551
|
<fabric mode="pan" @init="init"></fabric>
|
|
2423
2552
|
|
|
@@ -2529,15 +2658,16 @@ public init(canvas: fabric.Canvas): void {
|
|
|
2529
2658
|
}));
|
|
2530
2659
|
|
|
2531
2660
|
// 访问画板位置信息
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
console.log(
|
|
2661
|
+
const artboard = this.refs.fabric.artboard;
|
|
2662
|
+
if (artboard) {
|
|
2663
|
+
console.log(`画板位置: (${artboard.left}, ${artboard.top})`);
|
|
2664
|
+
console.log(`画板尺寸: ${artboard.width} × ${artboard.height}`);
|
|
2535
2665
|
|
|
2536
2666
|
// 计算对象相对于画板的坐标
|
|
2537
2667
|
const allObjs = canvas.getObjects();
|
|
2538
2668
|
allObjs.forEach(obj => {
|
|
2539
|
-
const relX = obj.left -
|
|
2540
|
-
const relY = obj.top -
|
|
2669
|
+
const relX = obj.left - artboard.left;
|
|
2670
|
+
const relY = obj.top - artboard.top;
|
|
2541
2671
|
console.log(`对象在画板中的相对位置: (${relX}, ${relY})`);
|
|
2542
2672
|
});
|
|
2543
2673
|
}
|
|
@@ -6233,174 +6363,6 @@ QR 码组件,用于生成二维码。
|
|
|
6233
6363
|
</setting-item>
|
|
6234
6364
|
```
|
|
6235
6365
|
|
|
6236
|
-
## sform
|
|
6237
|
-
---
|
|
6238
|
-
|
|
6239
|
-
侧栏面板容器控件,类似 Adobe Photoshop 右侧面板区域。支持展开和收起两种模式,与 `sform-group` 和 `sform-item` 搭配使用。展开模式下显示分组面板,收起模式下显示图标栏并支持浮动面板弹出。
|
|
6240
|
-
|
|
6241
|
-
### 参数
|
|
6242
|
-
|
|
6243
|
-
#### expanded
|
|
6244
|
-
|
|
6245
|
-
`boolean` | `string`
|
|
6246
|
-
|
|
6247
|
-
双向绑定,是否展开,默认 `true`。
|
|
6248
|
-
|
|
6249
|
-
#### width
|
|
6250
|
-
|
|
6251
|
-
`number` | `string`
|
|
6252
|
-
|
|
6253
|
-
展开模式下的面板宽度,默认 `280`。
|
|
6254
|
-
|
|
6255
|
-
### 事件
|
|
6256
|
-
|
|
6257
|
-
无。
|
|
6258
|
-
|
|
6259
|
-
### 方法
|
|
6260
|
-
|
|
6261
|
-
#### toggle
|
|
6262
|
-
|
|
6263
|
-
`() => void`
|
|
6264
|
-
|
|
6265
|
-
切换展开/收起状态。
|
|
6266
|
-
|
|
6267
|
-
#### toggleFloat
|
|
6268
|
-
|
|
6269
|
-
`(groupIndex: number, itemIndex: number) => void`
|
|
6270
|
-
|
|
6271
|
-
收起模式下打开或关闭指定分组的浮动面板。
|
|
6272
|
-
|
|
6273
|
-
#### closeFloat
|
|
6274
|
-
|
|
6275
|
-
`() => void`
|
|
6276
|
-
|
|
6277
|
-
关闭当前浮动面板。
|
|
6278
|
-
|
|
6279
|
-
### 样式
|
|
6280
|
-
|
|
6281
|
-
**布局结构**:垂直 flex 容器,顶部为展开/收起切换按钮,下方为内容区域。展开时显示完整面板宽度,收起时压缩为 40px 图标栏。
|
|
6282
|
-
|
|
6283
|
-
**视觉特征**:左侧带边框分隔,背景使用 `--g-plain-background`。切换按钮悬停时显示背景色变化。
|
|
6284
|
-
|
|
6285
|
-
**交互响应**:点击顶部按钮切换展开/收起状态;收起模式下点击分组图标弹出浮动面板。
|
|
6286
|
-
|
|
6287
|
-
### 示例
|
|
6288
|
-
|
|
6289
|
-
```xml
|
|
6290
|
-
<sform :expanded="expanded" @update:expanded="expanded = $event">
|
|
6291
|
-
<sform-group>
|
|
6292
|
-
<sform-item label="Colors" icon="/package/res/color.svg">
|
|
6293
|
-
<label>Color settings</label>
|
|
6294
|
-
</sform-item>
|
|
6295
|
-
<sform-item label="Layers" icon="/package/res/layer.svg">
|
|
6296
|
-
<label>Layer list</label>
|
|
6297
|
-
</sform-item>
|
|
6298
|
-
</sform-group>
|
|
6299
|
-
</sform>
|
|
6300
|
-
```
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
## sform-group
|
|
6304
|
-
---
|
|
6305
|
-
|
|
6306
|
-
侧栏面板分组控件,与 `sform` 和 `sform-item` 搭配使用。在展开模式下作为选项卡面板显示,在收起模式下作为图标按钮列显示。
|
|
6307
|
-
|
|
6308
|
-
### 参数
|
|
6309
|
-
|
|
6310
|
-
#### modelValue
|
|
6311
|
-
|
|
6312
|
-
`number`
|
|
6313
|
-
|
|
6314
|
-
双向绑定,当前选中的子项索引,从 0 开始,默认 `0`。
|
|
6315
|
-
|
|
6316
|
-
### 事件
|
|
6317
|
-
|
|
6318
|
-
无。
|
|
6319
|
-
|
|
6320
|
-
### 方法
|
|
6321
|
-
|
|
6322
|
-
#### select
|
|
6323
|
-
|
|
6324
|
-
`(index: number) => void`
|
|
6325
|
-
|
|
6326
|
-
选中指定索引的子项。
|
|
6327
|
-
|
|
6328
|
-
#### iconClick
|
|
6329
|
-
|
|
6330
|
-
`(index: number) => void`
|
|
6331
|
-
|
|
6332
|
-
收起模式下触发,通知父级 `sform` 打开浮动面板。
|
|
6333
|
-
|
|
6334
|
-
### 样式
|
|
6335
|
-
|
|
6336
|
-
**布局结构**:垂直 flex 容器。展开模式下上方为选项卡栏、下方为内容区域;收起模式下为垂直排列的图标按钮。
|
|
6337
|
-
|
|
6338
|
-
**视觉特征**:展开模式选项卡选中态显示主题色文字与底部指示线;收起模式图标按钮激活态显示主题色淡背景。
|
|
6339
|
-
|
|
6340
|
-
**交互响应**:展开模式下点击 tab 切换内容;收起模式下点击图标按钮弹出浮动面板。
|
|
6341
|
-
|
|
6342
|
-
### 示例
|
|
6343
|
-
|
|
6344
|
-
```xml
|
|
6345
|
-
<sform>
|
|
6346
|
-
<sform-group>
|
|
6347
|
-
<sform-item label="Colors" icon="/package/res/color.svg">
|
|
6348
|
-
<label>Color content</label>
|
|
6349
|
-
</sform-item>
|
|
6350
|
-
</sform-group>
|
|
6351
|
-
</sform>
|
|
6352
|
-
```
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
## sform-item
|
|
6356
|
-
---
|
|
6357
|
-
|
|
6358
|
-
侧栏面板子项控件,与 `sform-group` 搭配使用。每个子项在展开模式下作为选项卡页面显示内容,在收起模式下显示为图标按钮。
|
|
6359
|
-
|
|
6360
|
-
### 参数
|
|
6361
|
-
|
|
6362
|
-
#### label
|
|
6363
|
-
|
|
6364
|
-
`string`
|
|
6365
|
-
|
|
6366
|
-
选项卡显示文本。
|
|
6367
|
-
|
|
6368
|
-
#### icon
|
|
6369
|
-
|
|
6370
|
-
`string`
|
|
6371
|
-
|
|
6372
|
-
收起模式下显示的图标路径,支持 svg、图片或 Data URL。
|
|
6373
|
-
|
|
6374
|
-
### 事件
|
|
6375
|
-
|
|
6376
|
-
无。
|
|
6377
|
-
|
|
6378
|
-
### 方法
|
|
6379
|
-
|
|
6380
|
-
无。
|
|
6381
|
-
|
|
6382
|
-
### 样式
|
|
6383
|
-
|
|
6384
|
-
**布局结构**:flex 容器,默认隐藏,选中时显示,内容占满可用空间。
|
|
6385
|
-
|
|
6386
|
-
**视觉特征**:选中态通过 `display: flex` 切换显示,支持内容溢出滚动。
|
|
6387
|
-
|
|
6388
|
-
**交互响应**:由父级 `sform-group` 控制选中状态切换,无自身交互。
|
|
6389
|
-
|
|
6390
|
-
### 示例
|
|
6391
|
-
|
|
6392
|
-
```xml
|
|
6393
|
-
<sform-group>
|
|
6394
|
-
<sform-item label="Colors" icon="/package/res/color.svg">
|
|
6395
|
-
<label>Color settings</label>
|
|
6396
|
-
</sform-item>
|
|
6397
|
-
<sform-item label="Layers" icon="/package/res/layer.svg">
|
|
6398
|
-
<label>Layer list</label>
|
|
6399
|
-
</sform-item>
|
|
6400
|
-
</sform-group>
|
|
6401
|
-
```
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
6366
|
## sgroup
|
|
6405
6367
|
---
|
|
6406
6368
|
|
|
@@ -12843,7 +12805,7 @@ Defined in: [lib/control.ts:1612](https://github.com/maiyun/clickgo/blob/master/
|
|
|
12843
12805
|
|
|
12844
12806
|
### pos
|
|
12845
12807
|
|
|
12846
|
-
> **pos**: `"b"` \| `"tr"` \| `"
|
|
12808
|
+
> **pos**: `"b"` \| `"tr"` \| `"l"` \| `"lt"` \| `"t"` \| `"r"` \| `"rb"` \| `"bl"`
|
|
12847
12809
|
|
|
12848
12810
|
Defined in: [lib/control.ts:1613](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1613)
|
|
12849
12811
|
|
|
@@ -17230,7 +17192,7 @@ Defined in: [lib/dom.ts:1554](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
17230
17192
|
|
|
17231
17193
|
### pos
|
|
17232
17194
|
|
|
17233
|
-
`"b"` \| `"tr"` \| `"
|
|
17195
|
+
`"b"` \| `"tr"` \| `"l"` \| `"lt"` \| `"t"` \| `"r"` \| `"rb"` \| `"bl"`
|
|
17234
17196
|
|
|
17235
17197
|
## Returns
|
|
17236
17198
|
|
|
@@ -18809,20 +18771,20 @@ rms 音量回调
|
|
|
18809
18771
|
|
|
18810
18772
|
`void`
|
|
18811
18773
|
|
|
18812
|
-
lib/form/classes/
|
|
18774
|
+
lib/form/classes/AbstractComponent.md
|
|
18813
18775
|
---
|
|
18814
18776
|
|
|
18815
18777
|
[**Documents for clickgo**](../../../index.md)
|
|
18816
18778
|
|
|
18817
18779
|
***
|
|
18818
18780
|
|
|
18819
|
-
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) /
|
|
18781
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / AbstractComponent
|
|
18820
18782
|
|
|
18821
|
-
# Abstract Class:
|
|
18783
|
+
# Abstract Class: AbstractComponent
|
|
18822
18784
|
|
|
18823
|
-
Defined in: [lib/form.ts:
|
|
18785
|
+
Defined in: [lib/form.ts:547](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L547)
|
|
18824
18786
|
|
|
18825
|
-
|
|
18787
|
+
Form/Panel 内使用的应用局部组件抽象类
|
|
18826
18788
|
|
|
18827
18789
|
## Extends
|
|
18828
18790
|
|
|
@@ -18832,11 +18794,11 @@ Defined in: [lib/form.ts:544](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
18832
18794
|
|
|
18833
18795
|
### Constructor
|
|
18834
18796
|
|
|
18835
|
-
> **new
|
|
18797
|
+
> **new AbstractComponent**(): `AbstractComponent`
|
|
18836
18798
|
|
|
18837
18799
|
#### Returns
|
|
18838
18800
|
|
|
18839
|
-
`
|
|
18801
|
+
`AbstractComponent`
|
|
18840
18802
|
|
|
18841
18803
|
#### Inherited from
|
|
18842
18804
|
|
|
@@ -18844,55 +18806,910 @@ Defined in: [lib/form.ts:544](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
18844
18806
|
|
|
18845
18807
|
## Properties
|
|
18846
18808
|
|
|
18847
|
-
###
|
|
18809
|
+
### components
|
|
18848
18810
|
|
|
18849
|
-
> **
|
|
18811
|
+
> `readonly` **components**: `Record`\<`string`, () => `AbstractComponent`\> = `{}`
|
|
18850
18812
|
|
|
18851
|
-
Defined in: [lib/form.ts:
|
|
18813
|
+
Defined in: [lib/form.ts:550](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L550)
|
|
18852
18814
|
|
|
18853
|
-
|
|
18815
|
+
当前组件内继续局部注册的应用组件
|
|
18816
|
+
|
|
18817
|
+
#### Overrides
|
|
18818
|
+
|
|
18819
|
+
`AbstractCommon.components`
|
|
18854
18820
|
|
|
18855
18821
|
***
|
|
18856
18822
|
|
|
18857
|
-
###
|
|
18823
|
+
### emits
|
|
18858
18824
|
|
|
18859
|
-
> **
|
|
18825
|
+
> `readonly` **emits**: `Record`\<`string`, `null` \| ((`payload`) => `boolean`)\> = `{}`
|
|
18860
18826
|
|
|
18861
|
-
Defined in: [lib/form.ts:
|
|
18827
|
+
Defined in: [lib/form.ts:613](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L613)
|
|
18862
18828
|
|
|
18863
|
-
|
|
18829
|
+
组件事件,由用户定义重写
|
|
18864
18830
|
|
|
18865
18831
|
***
|
|
18866
18832
|
|
|
18867
|
-
###
|
|
18833
|
+
### packageFiles
|
|
18868
18834
|
|
|
18869
|
-
> **
|
|
18835
|
+
> `readonly` **packageFiles**: `Record`\<`string`, `Blob` \| `string`\> = `{}`
|
|
18870
18836
|
|
|
18871
|
-
Defined in: [lib/form.ts:
|
|
18837
|
+
Defined in: [lib/form.ts:607](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L607)
|
|
18872
18838
|
|
|
18873
|
-
|
|
18839
|
+
组件内部文件,由系统重写
|
|
18874
18840
|
|
|
18875
18841
|
***
|
|
18876
18842
|
|
|
18877
|
-
###
|
|
18843
|
+
### props
|
|
18878
18844
|
|
|
18879
|
-
> **
|
|
18845
|
+
> `readonly` **props**: `object` = `{}`
|
|
18880
18846
|
|
|
18881
|
-
Defined in: [lib/form.ts:
|
|
18847
|
+
Defined in: [lib/form.ts:610](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L610)
|
|
18882
18848
|
|
|
18883
|
-
|
|
18849
|
+
组件参数,由用户定义重写
|
|
18884
18850
|
|
|
18885
|
-
|
|
18851
|
+
***
|
|
18886
18852
|
|
|
18887
|
-
###
|
|
18853
|
+
### slots
|
|
18888
18854
|
|
|
18889
|
-
|
|
18855
|
+
> `readonly` **slots**: `Record`\<`string`, () => `any`[]\> = `{}`
|
|
18890
18856
|
|
|
18891
|
-
|
|
18857
|
+
Defined in: [lib/form.ts:616](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L616)
|
|
18892
18858
|
|
|
18893
|
-
|
|
18859
|
+
组件的子插槽
|
|
18894
18860
|
|
|
18895
|
-
|
|
18861
|
+
## Accessors
|
|
18862
|
+
|
|
18863
|
+
### classPrepend
|
|
18864
|
+
|
|
18865
|
+
#### Get Signature
|
|
18866
|
+
|
|
18867
|
+
> **get** **classPrepend**(): (`cla`) => `string`
|
|
18868
|
+
|
|
18869
|
+
Defined in: [lib/form.ts:597](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L597)
|
|
18870
|
+
|
|
18871
|
+
应用组件动态 class 的隔离前缀
|
|
18872
|
+
|
|
18873
|
+
##### Returns
|
|
18874
|
+
|
|
18875
|
+
(`cla`) => `string`
|
|
18876
|
+
|
|
18877
|
+
#### Overrides
|
|
18878
|
+
|
|
18879
|
+
`AbstractCommon.classPrepend`
|
|
18880
|
+
|
|
18881
|
+
***
|
|
18882
|
+
|
|
18883
|
+
### controlName
|
|
18884
|
+
|
|
18885
|
+
#### Get Signature
|
|
18886
|
+
|
|
18887
|
+
> **get** **controlName**(): `string`
|
|
18888
|
+
|
|
18889
|
+
Defined in: [lib/form.ts:246](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L246)
|
|
18890
|
+
|
|
18891
|
+
当前控件的名字
|
|
18892
|
+
|
|
18893
|
+
##### Returns
|
|
18894
|
+
|
|
18895
|
+
`string`
|
|
18896
|
+
|
|
18897
|
+
#### Set Signature
|
|
18898
|
+
|
|
18899
|
+
> **set** **controlName**(`v`): `void`
|
|
18900
|
+
|
|
18901
|
+
Defined in: [lib/form.ts:250](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L250)
|
|
18902
|
+
|
|
18903
|
+
##### Parameters
|
|
18904
|
+
|
|
18905
|
+
###### v
|
|
18906
|
+
|
|
18907
|
+
`string`
|
|
18908
|
+
|
|
18909
|
+
##### Returns
|
|
18910
|
+
|
|
18911
|
+
`void`
|
|
18912
|
+
|
|
18913
|
+
#### Inherited from
|
|
18914
|
+
|
|
18915
|
+
`AbstractCommon.controlName`
|
|
18916
|
+
|
|
18917
|
+
***
|
|
18918
|
+
|
|
18919
|
+
### element
|
|
18920
|
+
|
|
18921
|
+
#### Get Signature
|
|
18922
|
+
|
|
18923
|
+
> **get** **element**(): `HTMLElement`
|
|
18924
|
+
|
|
18925
|
+
Defined in: [lib/form.ts:354](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L354)
|
|
18926
|
+
|
|
18927
|
+
获取当前的 HTML DOM
|
|
18928
|
+
|
|
18929
|
+
##### Returns
|
|
18930
|
+
|
|
18931
|
+
`HTMLElement`
|
|
18932
|
+
|
|
18933
|
+
#### Inherited from
|
|
18934
|
+
|
|
18935
|
+
`AbstractCommon.element`
|
|
18936
|
+
|
|
18937
|
+
***
|
|
18938
|
+
|
|
18939
|
+
### filename
|
|
18940
|
+
|
|
18941
|
+
#### Get Signature
|
|
18942
|
+
|
|
18943
|
+
> **get** **filename**(): `string`
|
|
18944
|
+
|
|
18945
|
+
Defined in: [lib/form.ts:240](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L240)
|
|
18946
|
+
|
|
18947
|
+
当前文件在包内的路径
|
|
18948
|
+
|
|
18949
|
+
##### Returns
|
|
18950
|
+
|
|
18951
|
+
`string`
|
|
18952
|
+
|
|
18953
|
+
#### Inherited from
|
|
18954
|
+
|
|
18955
|
+
`AbstractCommon.filename`
|
|
18956
|
+
|
|
18957
|
+
***
|
|
18958
|
+
|
|
18959
|
+
### findex
|
|
18960
|
+
|
|
18961
|
+
#### Get Signature
|
|
18962
|
+
|
|
18963
|
+
> **get** **findex**(): `number`
|
|
18964
|
+
|
|
18965
|
+
Defined in: [lib/form.ts:553](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L553)
|
|
18966
|
+
|
|
18967
|
+
当前组件所在窗体的创建序号
|
|
18968
|
+
|
|
18969
|
+
##### Returns
|
|
18970
|
+
|
|
18971
|
+
`number`
|
|
18972
|
+
|
|
18973
|
+
***
|
|
18974
|
+
|
|
18975
|
+
### fl
|
|
18976
|
+
|
|
18977
|
+
#### Get Signature
|
|
18978
|
+
|
|
18979
|
+
> **get** **fl**(): (`key`, `data?`) => `string`
|
|
18980
|
+
|
|
18981
|
+
Defined in: [lib/form.ts:587](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L587)
|
|
18982
|
+
|
|
18983
|
+
获取宿主窗体语言内容
|
|
18984
|
+
|
|
18985
|
+
##### Returns
|
|
18986
|
+
|
|
18987
|
+
(`key`, `data?`) => `string`
|
|
18988
|
+
|
|
18989
|
+
***
|
|
18990
|
+
|
|
18991
|
+
### formFocus
|
|
18992
|
+
|
|
18993
|
+
#### Get Signature
|
|
18994
|
+
|
|
18995
|
+
> **get** **formFocus**(): `boolean`
|
|
18996
|
+
|
|
18997
|
+
Defined in: [lib/form.ts:575](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L575)
|
|
18998
|
+
|
|
18999
|
+
当前组件是否跟随宿主窗体获得焦点
|
|
19000
|
+
|
|
19001
|
+
##### Returns
|
|
19002
|
+
|
|
19003
|
+
`boolean`
|
|
19004
|
+
|
|
19005
|
+
#### Overrides
|
|
19006
|
+
|
|
19007
|
+
`AbstractCommon.formFocus`
|
|
19008
|
+
|
|
19009
|
+
***
|
|
19010
|
+
|
|
19011
|
+
### formId
|
|
19012
|
+
|
|
19013
|
+
#### Get Signature
|
|
19014
|
+
|
|
19015
|
+
> **get** **formId**(): `string`
|
|
19016
|
+
|
|
19017
|
+
Defined in: [lib/form.ts:266](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L266)
|
|
19018
|
+
|
|
19019
|
+
当前的窗体 ID
|
|
19020
|
+
|
|
19021
|
+
##### Returns
|
|
19022
|
+
|
|
19023
|
+
`string`
|
|
19024
|
+
|
|
19025
|
+
#### Inherited from
|
|
19026
|
+
|
|
19027
|
+
`AbstractCommon.formId`
|
|
19028
|
+
|
|
19029
|
+
***
|
|
19030
|
+
|
|
19031
|
+
### l
|
|
19032
|
+
|
|
19033
|
+
#### Get Signature
|
|
19034
|
+
|
|
19035
|
+
> **get** **l**(): (`key`, `data?`) => `string`
|
|
19036
|
+
|
|
19037
|
+
Defined in: [lib/form.ts:580](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L580)
|
|
19038
|
+
|
|
19039
|
+
获取宿主 Form/Panel 的语言内容
|
|
19040
|
+
|
|
19041
|
+
##### Returns
|
|
19042
|
+
|
|
19043
|
+
(`key`, `data?`) => `string`
|
|
19044
|
+
|
|
19045
|
+
#### Overrides
|
|
19046
|
+
|
|
19047
|
+
`AbstractCommon.l`
|
|
19048
|
+
|
|
19049
|
+
***
|
|
19050
|
+
|
|
19051
|
+
### locale
|
|
19052
|
+
|
|
19053
|
+
#### Get Signature
|
|
19054
|
+
|
|
19055
|
+
> **get** **locale**(): `string`
|
|
19056
|
+
|
|
19057
|
+
Defined in: [lib/form.ts:292](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L292)
|
|
19058
|
+
|
|
19059
|
+
当前的语言
|
|
19060
|
+
|
|
19061
|
+
##### Returns
|
|
19062
|
+
|
|
19063
|
+
`string`
|
|
19064
|
+
|
|
19065
|
+
#### Inherited from
|
|
19066
|
+
|
|
19067
|
+
`AbstractCommon.locale`
|
|
19068
|
+
|
|
19069
|
+
***
|
|
19070
|
+
|
|
19071
|
+
### nextTick
|
|
19072
|
+
|
|
19073
|
+
#### Get Signature
|
|
19074
|
+
|
|
19075
|
+
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
19076
|
+
|
|
19077
|
+
Defined in: [lib/form.ts:361](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L361)
|
|
19078
|
+
|
|
19079
|
+
等待渲染
|
|
19080
|
+
|
|
19081
|
+
##### Returns
|
|
19082
|
+
|
|
19083
|
+
() => `Promise`\<`void`\>
|
|
19084
|
+
|
|
19085
|
+
#### Inherited from
|
|
19086
|
+
|
|
19087
|
+
`AbstractCommon.nextTick`
|
|
19088
|
+
|
|
19089
|
+
***
|
|
19090
|
+
|
|
19091
|
+
### parent
|
|
19092
|
+
|
|
19093
|
+
#### Get Signature
|
|
19094
|
+
|
|
19095
|
+
> **get** **parent**(): `never`
|
|
19096
|
+
|
|
19097
|
+
Defined in: [lib/form.ts:664](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L664)
|
|
19098
|
+
|
|
19099
|
+
获取上层控件或组件
|
|
19100
|
+
|
|
19101
|
+
##### Returns
|
|
19102
|
+
|
|
19103
|
+
`never`
|
|
19104
|
+
|
|
19105
|
+
***
|
|
19106
|
+
|
|
19107
|
+
### parentByAccess
|
|
19108
|
+
|
|
19109
|
+
#### Get Signature
|
|
19110
|
+
|
|
19111
|
+
> **get** **parentByAccess**(): (`name`, `val`) => `Record`\<`string`, `any`\> \| `null`
|
|
19112
|
+
|
|
19113
|
+
Defined in: [lib/form.ts:683](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L683)
|
|
19114
|
+
|
|
19115
|
+
根据 access 查询上层对象
|
|
19116
|
+
|
|
19117
|
+
##### Returns
|
|
19118
|
+
|
|
19119
|
+
(`name`, `val`) => `Record`\<`string`, `any`\> \| `null`
|
|
19120
|
+
|
|
19121
|
+
***
|
|
19122
|
+
|
|
19123
|
+
### parentByName
|
|
19124
|
+
|
|
19125
|
+
#### Get Signature
|
|
19126
|
+
|
|
19127
|
+
> **get** **parentByName**(): (`controlName`) => `Record`\<`string`, `any`\> \| `null`
|
|
19128
|
+
|
|
19129
|
+
Defined in: [lib/form.ts:669](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L669)
|
|
19130
|
+
|
|
19131
|
+
根据 controlName 查询上层对象
|
|
19132
|
+
|
|
19133
|
+
##### Returns
|
|
19134
|
+
|
|
19135
|
+
(`controlName`) => `Record`\<`string`, `any`\> \| `null`
|
|
19136
|
+
|
|
19137
|
+
***
|
|
19138
|
+
|
|
19139
|
+
### path
|
|
19140
|
+
|
|
19141
|
+
#### Get Signature
|
|
19142
|
+
|
|
19143
|
+
> **get** **path**(): `string`
|
|
19144
|
+
|
|
19145
|
+
Defined in: [lib/form.ts:280](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L280)
|
|
19146
|
+
|
|
19147
|
+
当前文件的包内路径不以 / 结尾
|
|
19148
|
+
|
|
19149
|
+
##### Returns
|
|
19150
|
+
|
|
19151
|
+
`string`
|
|
19152
|
+
|
|
19153
|
+
#### Inherited from
|
|
19154
|
+
|
|
19155
|
+
`AbstractCommon.path`
|
|
19156
|
+
|
|
19157
|
+
***
|
|
19158
|
+
|
|
19159
|
+
### prep
|
|
19160
|
+
|
|
19161
|
+
#### Get Signature
|
|
19162
|
+
|
|
19163
|
+
> **get** **prep**(): `string`
|
|
19164
|
+
|
|
19165
|
+
Defined in: [lib/form.ts:286](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L286)
|
|
19166
|
+
|
|
19167
|
+
样式独占前缀
|
|
19168
|
+
|
|
19169
|
+
##### Returns
|
|
19170
|
+
|
|
19171
|
+
`string`
|
|
19172
|
+
|
|
19173
|
+
#### Inherited from
|
|
19174
|
+
|
|
19175
|
+
`AbstractCommon.prep`
|
|
19176
|
+
|
|
19177
|
+
***
|
|
19178
|
+
|
|
19179
|
+
### propArray
|
|
19180
|
+
|
|
19181
|
+
#### Get Signature
|
|
19182
|
+
|
|
19183
|
+
> **get** **propArray**(): (`name`) => `any`[]
|
|
19184
|
+
|
|
19185
|
+
Defined in: [lib/form.ts:654](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L654)
|
|
19186
|
+
|
|
19187
|
+
获取 props 中的 array 类型值
|
|
19188
|
+
|
|
19189
|
+
##### Returns
|
|
19190
|
+
|
|
19191
|
+
(`name`) => `any`[]
|
|
19192
|
+
|
|
19193
|
+
***
|
|
19194
|
+
|
|
19195
|
+
### propBoolean
|
|
19196
|
+
|
|
19197
|
+
#### Get Signature
|
|
19198
|
+
|
|
19199
|
+
> **get** **propBoolean**(): (`name`) => `boolean`
|
|
19200
|
+
|
|
19201
|
+
Defined in: [lib/form.ts:639](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L639)
|
|
19202
|
+
|
|
19203
|
+
获取 props 中的 boolean 类型值
|
|
19204
|
+
|
|
19205
|
+
##### Returns
|
|
19206
|
+
|
|
19207
|
+
(`name`) => `boolean`
|
|
19208
|
+
|
|
19209
|
+
***
|
|
19210
|
+
|
|
19211
|
+
### propInt
|
|
19212
|
+
|
|
19213
|
+
#### Get Signature
|
|
19214
|
+
|
|
19215
|
+
> **get** **propInt**(): (`name`) => `number`
|
|
19216
|
+
|
|
19217
|
+
Defined in: [lib/form.ts:649](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L649)
|
|
19218
|
+
|
|
19219
|
+
获取 props 中的 int 类型值
|
|
19220
|
+
|
|
19221
|
+
##### Returns
|
|
19222
|
+
|
|
19223
|
+
(`name`) => `number`
|
|
19224
|
+
|
|
19225
|
+
***
|
|
19226
|
+
|
|
19227
|
+
### propNumber
|
|
19228
|
+
|
|
19229
|
+
#### Get Signature
|
|
19230
|
+
|
|
19231
|
+
> **get** **propNumber**(): (`name`) => `number`
|
|
19232
|
+
|
|
19233
|
+
Defined in: [lib/form.ts:644](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L644)
|
|
19234
|
+
|
|
19235
|
+
获取 props 中的 number 类型值
|
|
19236
|
+
|
|
19237
|
+
##### Returns
|
|
19238
|
+
|
|
19239
|
+
(`name`) => `number`
|
|
19240
|
+
|
|
19241
|
+
***
|
|
19242
|
+
|
|
19243
|
+
### refs
|
|
19244
|
+
|
|
19245
|
+
#### Get Signature
|
|
19246
|
+
|
|
19247
|
+
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
19248
|
+
|
|
19249
|
+
Defined in: [lib/form.ts:349](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L349)
|
|
19250
|
+
|
|
19251
|
+
获取 refs 情况
|
|
19252
|
+
|
|
19253
|
+
##### Returns
|
|
19254
|
+
|
|
19255
|
+
`Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
19256
|
+
|
|
19257
|
+
#### Inherited from
|
|
19258
|
+
|
|
19259
|
+
`AbstractCommon.refs`
|
|
19260
|
+
|
|
19261
|
+
***
|
|
19262
|
+
|
|
19263
|
+
### rootForm
|
|
19264
|
+
|
|
19265
|
+
#### Get Signature
|
|
19266
|
+
|
|
19267
|
+
> **get** **rootForm**(): [`AbstractForm`](AbstractForm.md) & `Record`\<`string`, `any`\>
|
|
19268
|
+
|
|
19269
|
+
Defined in: [lib/form.ts:560](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L560)
|
|
19270
|
+
|
|
19271
|
+
##### Returns
|
|
19272
|
+
|
|
19273
|
+
[`AbstractForm`](AbstractForm.md) & `Record`\<`string`, `any`\>
|
|
19274
|
+
|
|
19275
|
+
***
|
|
19276
|
+
|
|
19277
|
+
### slotsAll
|
|
19278
|
+
|
|
19279
|
+
#### Get Signature
|
|
19280
|
+
|
|
19281
|
+
> **get** **slotsAll**(): (`name`) => `any`[]
|
|
19282
|
+
|
|
19283
|
+
Defined in: [lib/form.ts:619](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L619)
|
|
19284
|
+
|
|
19285
|
+
获取某插槽所有子项
|
|
19286
|
+
|
|
19287
|
+
##### Returns
|
|
19288
|
+
|
|
19289
|
+
(`name`) => `any`[]
|
|
19290
|
+
|
|
19291
|
+
***
|
|
19292
|
+
|
|
19293
|
+
### taskId
|
|
19294
|
+
|
|
19295
|
+
#### Get Signature
|
|
19296
|
+
|
|
19297
|
+
> **get** **taskId**(): `string`
|
|
19298
|
+
|
|
19299
|
+
Defined in: [lib/form.ts:260](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L260)
|
|
19300
|
+
|
|
19301
|
+
当前的任务 ID
|
|
19302
|
+
|
|
19303
|
+
##### Returns
|
|
19304
|
+
|
|
19305
|
+
`string`
|
|
19306
|
+
|
|
19307
|
+
#### Inherited from
|
|
19308
|
+
|
|
19309
|
+
`AbstractCommon.taskId`
|
|
19310
|
+
|
|
19311
|
+
## Methods
|
|
19312
|
+
|
|
19313
|
+
### allowEvent()
|
|
19314
|
+
|
|
19315
|
+
> **allowEvent**(`e`): `boolean`
|
|
19316
|
+
|
|
19317
|
+
Defined in: [lib/form.ts:369](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L369)
|
|
19318
|
+
|
|
19319
|
+
判断当前事件可否执行
|
|
19320
|
+
|
|
19321
|
+
#### Parameters
|
|
19322
|
+
|
|
19323
|
+
##### e
|
|
19324
|
+
|
|
19325
|
+
`PointerEvent` \| `KeyboardEvent`
|
|
19326
|
+
|
|
19327
|
+
鼠标、触摸、键盘事件
|
|
19328
|
+
|
|
19329
|
+
#### Returns
|
|
19330
|
+
|
|
19331
|
+
`boolean`
|
|
19332
|
+
|
|
19333
|
+
#### Inherited from
|
|
19334
|
+
|
|
19335
|
+
`AbstractCommon.allowEvent`
|
|
19336
|
+
|
|
19337
|
+
***
|
|
19338
|
+
|
|
19339
|
+
### emit()
|
|
19340
|
+
|
|
19341
|
+
> **emit**(`name`, ...`v`): `void`
|
|
19342
|
+
|
|
19343
|
+
Defined in: [lib/form.ts:659](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L659)
|
|
19344
|
+
|
|
19345
|
+
向上触发组件事件
|
|
19346
|
+
|
|
19347
|
+
#### Parameters
|
|
19348
|
+
|
|
19349
|
+
##### name
|
|
19350
|
+
|
|
19351
|
+
`string`
|
|
19352
|
+
|
|
19353
|
+
##### v
|
|
19354
|
+
|
|
19355
|
+
...`any`[]
|
|
19356
|
+
|
|
19357
|
+
#### Returns
|
|
19358
|
+
|
|
19359
|
+
`void`
|
|
19360
|
+
|
|
19361
|
+
***
|
|
19362
|
+
|
|
19363
|
+
### onBeforeCreate()
|
|
19364
|
+
|
|
19365
|
+
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
19366
|
+
|
|
19367
|
+
Defined in: [lib/form.ts:399](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L399)
|
|
19368
|
+
|
|
19369
|
+
#### Returns
|
|
19370
|
+
|
|
19371
|
+
`void` \| `Promise`\<`void`\>
|
|
19372
|
+
|
|
19373
|
+
#### Inherited from
|
|
19374
|
+
|
|
19375
|
+
`AbstractCommon.onBeforeCreate`
|
|
19376
|
+
|
|
19377
|
+
***
|
|
19378
|
+
|
|
19379
|
+
### onBeforeMount()
|
|
19380
|
+
|
|
19381
|
+
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
19382
|
+
|
|
19383
|
+
Defined in: [lib/form.ts:407](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L407)
|
|
19384
|
+
|
|
19385
|
+
#### Returns
|
|
19386
|
+
|
|
19387
|
+
`void` \| `Promise`\<`void`\>
|
|
19388
|
+
|
|
19389
|
+
#### Inherited from
|
|
19390
|
+
|
|
19391
|
+
`AbstractCommon.onBeforeMount`
|
|
19392
|
+
|
|
19393
|
+
***
|
|
19394
|
+
|
|
19395
|
+
### onBeforeUnmount()
|
|
19396
|
+
|
|
19397
|
+
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
19398
|
+
|
|
19399
|
+
Defined in: [lib/form.ts:419](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L419)
|
|
19400
|
+
|
|
19401
|
+
#### Returns
|
|
19402
|
+
|
|
19403
|
+
`void` \| `Promise`\<`void`\>
|
|
19404
|
+
|
|
19405
|
+
#### Inherited from
|
|
19406
|
+
|
|
19407
|
+
`AbstractCommon.onBeforeUnmount`
|
|
19408
|
+
|
|
19409
|
+
***
|
|
19410
|
+
|
|
19411
|
+
### onBeforeUpdate()
|
|
19412
|
+
|
|
19413
|
+
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
19414
|
+
|
|
19415
|
+
Defined in: [lib/form.ts:411](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L411)
|
|
19416
|
+
|
|
19417
|
+
#### Returns
|
|
19418
|
+
|
|
19419
|
+
`void` \| `Promise`\<`void`\>
|
|
19420
|
+
|
|
19421
|
+
#### Inherited from
|
|
19422
|
+
|
|
19423
|
+
`AbstractCommon.onBeforeUpdate`
|
|
19424
|
+
|
|
19425
|
+
***
|
|
19426
|
+
|
|
19427
|
+
### onCreated()
|
|
19428
|
+
|
|
19429
|
+
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
19430
|
+
|
|
19431
|
+
Defined in: [lib/form.ts:403](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L403)
|
|
19432
|
+
|
|
19433
|
+
#### Returns
|
|
19434
|
+
|
|
19435
|
+
`void` \| `Promise`\<`void`\>
|
|
19436
|
+
|
|
19437
|
+
#### Inherited from
|
|
19438
|
+
|
|
19439
|
+
`AbstractCommon.onCreated`
|
|
19440
|
+
|
|
19441
|
+
***
|
|
19442
|
+
|
|
19443
|
+
### onMounted()
|
|
19444
|
+
|
|
19445
|
+
> **onMounted**(): `void` \| `Promise`\<`void`\>
|
|
19446
|
+
|
|
19447
|
+
Defined in: [lib/form.ts:697](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L697)
|
|
19448
|
+
|
|
19449
|
+
组件挂载好后触发
|
|
19450
|
+
|
|
19451
|
+
#### Returns
|
|
19452
|
+
|
|
19453
|
+
`void` \| `Promise`\<`void`\>
|
|
19454
|
+
|
|
19455
|
+
***
|
|
19456
|
+
|
|
19457
|
+
### onUnmounted()
|
|
19458
|
+
|
|
19459
|
+
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
19460
|
+
|
|
19461
|
+
Defined in: [lib/form.ts:423](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L423)
|
|
19462
|
+
|
|
19463
|
+
#### Returns
|
|
19464
|
+
|
|
19465
|
+
`void` \| `Promise`\<`void`\>
|
|
19466
|
+
|
|
19467
|
+
#### Inherited from
|
|
19468
|
+
|
|
19469
|
+
`AbstractCommon.onUnmounted`
|
|
19470
|
+
|
|
19471
|
+
***
|
|
19472
|
+
|
|
19473
|
+
### onUpdated()
|
|
19474
|
+
|
|
19475
|
+
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
19476
|
+
|
|
19477
|
+
Defined in: [lib/form.ts:415](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L415)
|
|
19478
|
+
|
|
19479
|
+
#### Returns
|
|
19480
|
+
|
|
19481
|
+
`void` \| `Promise`\<`void`\>
|
|
19482
|
+
|
|
19483
|
+
#### Inherited from
|
|
19484
|
+
|
|
19485
|
+
`AbstractCommon.onUpdated`
|
|
19486
|
+
|
|
19487
|
+
***
|
|
19488
|
+
|
|
19489
|
+
### send()
|
|
19490
|
+
|
|
19491
|
+
> **send**(`fid`, `obj`): `void`
|
|
19492
|
+
|
|
19493
|
+
Defined in: [lib/form.ts:391](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L391)
|
|
19494
|
+
|
|
19495
|
+
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
19496
|
+
|
|
19497
|
+
#### Parameters
|
|
19498
|
+
|
|
19499
|
+
##### fid
|
|
19500
|
+
|
|
19501
|
+
`string`
|
|
19502
|
+
|
|
19503
|
+
formId 要接收对象的 form id
|
|
19504
|
+
|
|
19505
|
+
##### obj
|
|
19506
|
+
|
|
19507
|
+
`Record`\<`string`, `any`\>
|
|
19508
|
+
|
|
19509
|
+
要发送的对象
|
|
19510
|
+
|
|
19511
|
+
#### Returns
|
|
19512
|
+
|
|
19513
|
+
`void`
|
|
19514
|
+
|
|
19515
|
+
#### Inherited from
|
|
19516
|
+
|
|
19517
|
+
`AbstractCommon.send`
|
|
19518
|
+
|
|
19519
|
+
***
|
|
19520
|
+
|
|
19521
|
+
### trigger()
|
|
19522
|
+
|
|
19523
|
+
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
19524
|
+
|
|
19525
|
+
Defined in: [lib/form.ts:379](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L379)
|
|
19526
|
+
|
|
19527
|
+
触发系统方法
|
|
19528
|
+
|
|
19529
|
+
#### Parameters
|
|
19530
|
+
|
|
19531
|
+
##### name
|
|
19532
|
+
|
|
19533
|
+
[`TGlobalEvent`](../../core/type-aliases/TGlobalEvent.md)
|
|
19534
|
+
|
|
19535
|
+
方法名
|
|
19536
|
+
|
|
19537
|
+
##### param1?
|
|
19538
|
+
|
|
19539
|
+
`string` \| `boolean` \| `Error`
|
|
19540
|
+
|
|
19541
|
+
参数1
|
|
19542
|
+
|
|
19543
|
+
##### param2?
|
|
19544
|
+
|
|
19545
|
+
`string` = `''`
|
|
19546
|
+
|
|
19547
|
+
参数2
|
|
19548
|
+
|
|
19549
|
+
#### Returns
|
|
19550
|
+
|
|
19551
|
+
`Promise`\<`void`\>
|
|
19552
|
+
|
|
19553
|
+
#### Inherited from
|
|
19554
|
+
|
|
19555
|
+
`AbstractCommon.trigger`
|
|
19556
|
+
|
|
19557
|
+
***
|
|
19558
|
+
|
|
19559
|
+
### watch()
|
|
19560
|
+
|
|
19561
|
+
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
19562
|
+
|
|
19563
|
+
Defined in: [lib/form.ts:335](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L335)
|
|
19564
|
+
|
|
19565
|
+
监视变动
|
|
19566
|
+
|
|
19567
|
+
#### Type Parameters
|
|
19568
|
+
|
|
19569
|
+
##### T
|
|
19570
|
+
|
|
19571
|
+
`T` *extends* `AbstractComponent`
|
|
19572
|
+
|
|
19573
|
+
##### TK
|
|
19574
|
+
|
|
19575
|
+
`TK` *extends* `string` \| `number` \| `symbol`
|
|
19576
|
+
|
|
19577
|
+
##### TR
|
|
19578
|
+
|
|
19579
|
+
`TR`
|
|
19580
|
+
|
|
19581
|
+
#### Parameters
|
|
19582
|
+
|
|
19583
|
+
##### name
|
|
19584
|
+
|
|
19585
|
+
`TK` \| (() => `TR`)
|
|
19586
|
+
|
|
19587
|
+
监视的属性
|
|
19588
|
+
|
|
19589
|
+
##### cb
|
|
19590
|
+
|
|
19591
|
+
(`val`, `old`) => `void` \| `Promise`\<`void`\>
|
|
19592
|
+
|
|
19593
|
+
回调
|
|
19594
|
+
|
|
19595
|
+
##### opt?
|
|
19596
|
+
|
|
19597
|
+
参数
|
|
19598
|
+
|
|
19599
|
+
###### deep?
|
|
19600
|
+
|
|
19601
|
+
`boolean`
|
|
19602
|
+
|
|
19603
|
+
###### immediate?
|
|
19604
|
+
|
|
19605
|
+
`boolean`
|
|
19606
|
+
|
|
19607
|
+
#### Returns
|
|
19608
|
+
|
|
19609
|
+
() => `void`
|
|
19610
|
+
|
|
19611
|
+
#### Inherited from
|
|
19612
|
+
|
|
19613
|
+
`AbstractCommon.watch`
|
|
19614
|
+
|
|
19615
|
+
lib/form/classes/AbstractForm.md
|
|
19616
|
+
---
|
|
19617
|
+
|
|
19618
|
+
[**Documents for clickgo**](../../../index.md)
|
|
19619
|
+
|
|
19620
|
+
***
|
|
19621
|
+
|
|
19622
|
+
[Documents for clickgo](../../../index.md) / [lib/form](../index.md) / AbstractForm
|
|
19623
|
+
|
|
19624
|
+
# Abstract Class: AbstractForm
|
|
19625
|
+
|
|
19626
|
+
Defined in: [lib/form.ts:917](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L917)
|
|
19627
|
+
|
|
19628
|
+
窗体的抽象类
|
|
19629
|
+
|
|
19630
|
+
## Extends
|
|
19631
|
+
|
|
19632
|
+
- `AbstractCommon`
|
|
19633
|
+
|
|
19634
|
+
## Constructors
|
|
19635
|
+
|
|
19636
|
+
### Constructor
|
|
19637
|
+
|
|
19638
|
+
> **new AbstractForm**(): `AbstractForm`
|
|
19639
|
+
|
|
19640
|
+
#### Returns
|
|
19641
|
+
|
|
19642
|
+
`AbstractForm`
|
|
19643
|
+
|
|
19644
|
+
#### Inherited from
|
|
19645
|
+
|
|
19646
|
+
`AbstractCommon.constructor`
|
|
19647
|
+
|
|
19648
|
+
## Properties
|
|
19649
|
+
|
|
19650
|
+
### components
|
|
19651
|
+
|
|
19652
|
+
> `readonly` **components**: `Record`\<`string`, () => [`AbstractComponent`](AbstractComponent.md)\> = `{}`
|
|
19653
|
+
|
|
19654
|
+
Defined in: [lib/form.ts:237](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L237)
|
|
19655
|
+
|
|
19656
|
+
当前视图内局部注册的应用组件
|
|
19657
|
+
|
|
19658
|
+
#### Inherited from
|
|
19659
|
+
|
|
19660
|
+
`AbstractCommon.components`
|
|
19661
|
+
|
|
19662
|
+
***
|
|
19663
|
+
|
|
19664
|
+
### dialogResult
|
|
19665
|
+
|
|
19666
|
+
> **dialogResult**: `string` = `''`
|
|
19667
|
+
|
|
19668
|
+
Defined in: [lib/form.ts:1206](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1206)
|
|
19669
|
+
|
|
19670
|
+
dialog mask 窗体返回值,在 close 之后会进行传导
|
|
19671
|
+
|
|
19672
|
+
***
|
|
19673
|
+
|
|
19674
|
+
### isNativeNoFrameFirst
|
|
19675
|
+
|
|
19676
|
+
> **isNativeNoFrameFirst**: `boolean` = `false`
|
|
19677
|
+
|
|
19678
|
+
Defined in: [lib/form.ts:925](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L925)
|
|
19679
|
+
|
|
19680
|
+
是否是 native 下无边框的第一个窗体
|
|
19681
|
+
|
|
19682
|
+
***
|
|
19683
|
+
|
|
19684
|
+
### isReady
|
|
19685
|
+
|
|
19686
|
+
> **isReady**: `boolean` = `false`
|
|
19687
|
+
|
|
19688
|
+
Defined in: [lib/form.ts:922](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L922)
|
|
19689
|
+
|
|
19690
|
+
当前是否完全创建完毕
|
|
19691
|
+
|
|
19692
|
+
***
|
|
19693
|
+
|
|
19694
|
+
### lockLoading
|
|
19695
|
+
|
|
19696
|
+
> **lockLoading**: `boolean` = `false`
|
|
19697
|
+
|
|
19698
|
+
Defined in: [lib/form.ts:1077](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1077)
|
|
19699
|
+
|
|
19700
|
+
是否阻止任何人修改 loading
|
|
19701
|
+
|
|
19702
|
+
## Accessors
|
|
19703
|
+
|
|
19704
|
+
### bottomMost
|
|
19705
|
+
|
|
19706
|
+
#### Get Signature
|
|
19707
|
+
|
|
19708
|
+
> **get** **bottomMost**(): `boolean`
|
|
19709
|
+
|
|
19710
|
+
Defined in: [lib/form.ts:962](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L962)
|
|
19711
|
+
|
|
19712
|
+
是否是置底
|
|
18896
19713
|
|
|
18897
19714
|
##### Returns
|
|
18898
19715
|
|
|
@@ -18902,7 +19719,7 @@ Defined in: [lib/form.ts:589](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
18902
19719
|
|
|
18903
19720
|
> **set** **bottomMost**(`v`): `void`
|
|
18904
19721
|
|
|
18905
|
-
Defined in: [lib/form.ts:
|
|
19722
|
+
Defined in: [lib/form.ts:967](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L967)
|
|
18906
19723
|
|
|
18907
19724
|
##### Parameters
|
|
18908
19725
|
|
|
@@ -18922,7 +19739,7 @@ Defined in: [lib/form.ts:594](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
18922
19739
|
|
|
18923
19740
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
18924
19741
|
|
|
18925
|
-
Defined in: [lib/form.ts:
|
|
19742
|
+
Defined in: [lib/form.ts:319](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L319)
|
|
18926
19743
|
|
|
18927
19744
|
layout 中 :class 的转义
|
|
18928
19745
|
|
|
@@ -18942,7 +19759,7 @@ layout 中 :class 的转义
|
|
|
18942
19759
|
|
|
18943
19760
|
> **get** **controlName**(): `string`
|
|
18944
19761
|
|
|
18945
|
-
Defined in: [lib/form.ts:
|
|
19762
|
+
Defined in: [lib/form.ts:246](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L246)
|
|
18946
19763
|
|
|
18947
19764
|
当前控件的名字
|
|
18948
19765
|
|
|
@@ -18954,7 +19771,7 @@ Defined in: [lib/form.ts:243](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
18954
19771
|
|
|
18955
19772
|
> **set** **controlName**(`v`): `void`
|
|
18956
19773
|
|
|
18957
|
-
Defined in: [lib/form.ts:
|
|
19774
|
+
Defined in: [lib/form.ts:250](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L250)
|
|
18958
19775
|
|
|
18959
19776
|
##### Parameters
|
|
18960
19777
|
|
|
@@ -18978,7 +19795,7 @@ Defined in: [lib/form.ts:247](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
18978
19795
|
|
|
18979
19796
|
> **get** **element**(): `HTMLElement`
|
|
18980
19797
|
|
|
18981
|
-
Defined in: [lib/form.ts:
|
|
19798
|
+
Defined in: [lib/form.ts:354](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L354)
|
|
18982
19799
|
|
|
18983
19800
|
获取当前的 HTML DOM
|
|
18984
19801
|
|
|
@@ -18998,7 +19815,7 @@ Defined in: [lib/form.ts:351](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
18998
19815
|
|
|
18999
19816
|
> **get** **filename**(): `string`
|
|
19000
19817
|
|
|
19001
|
-
Defined in: [lib/form.ts:
|
|
19818
|
+
Defined in: [lib/form.ts:240](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L240)
|
|
19002
19819
|
|
|
19003
19820
|
当前文件在包内的路径
|
|
19004
19821
|
|
|
@@ -19018,7 +19835,7 @@ Defined in: [lib/form.ts:237](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19018
19835
|
|
|
19019
19836
|
> **get** **findex**(): `number`
|
|
19020
19837
|
|
|
19021
|
-
Defined in: [lib/form.ts:
|
|
19838
|
+
Defined in: [lib/form.ts:928](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L928)
|
|
19022
19839
|
|
|
19023
19840
|
当前的窗体创建的位数
|
|
19024
19841
|
|
|
@@ -19034,7 +19851,7 @@ Defined in: [lib/form.ts:555](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19034
19851
|
|
|
19035
19852
|
> **get** **formFocus**(): `boolean`
|
|
19036
19853
|
|
|
19037
|
-
Defined in: [lib/form.ts:
|
|
19854
|
+
Defined in: [lib/form.ts:992](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L992)
|
|
19038
19855
|
|
|
19039
19856
|
当前窗体是否是焦点
|
|
19040
19857
|
|
|
@@ -19054,7 +19871,7 @@ Defined in: [lib/form.ts:619](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19054
19871
|
|
|
19055
19872
|
> **get** **formHash**(): `string`
|
|
19056
19873
|
|
|
19057
|
-
Defined in: [lib/form.ts:
|
|
19874
|
+
Defined in: [lib/form.ts:934](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L934)
|
|
19058
19875
|
|
|
19059
19876
|
获取 form 的 hash 值,不是浏览器的 hash
|
|
19060
19877
|
|
|
@@ -19066,7 +19883,7 @@ Defined in: [lib/form.ts:561](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19066
19883
|
|
|
19067
19884
|
> **set** **formHash**(`v`): `void`
|
|
19068
19885
|
|
|
19069
|
-
Defined in: [lib/form.ts:
|
|
19886
|
+
Defined in: [lib/form.ts:938](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L938)
|
|
19070
19887
|
|
|
19071
19888
|
##### Parameters
|
|
19072
19889
|
|
|
@@ -19086,7 +19903,7 @@ Defined in: [lib/form.ts:565](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19086
19903
|
|
|
19087
19904
|
> **get** **formHashData**(): `Record`\<`string`, `any`\>
|
|
19088
19905
|
|
|
19089
|
-
Defined in: [lib/form.ts:
|
|
19906
|
+
Defined in: [lib/form.ts:943](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L943)
|
|
19090
19907
|
|
|
19091
19908
|
获取 form 的 formhash with data 值
|
|
19092
19909
|
|
|
@@ -19098,7 +19915,7 @@ Defined in: [lib/form.ts:570](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19098
19915
|
|
|
19099
19916
|
> **set** **formHashData**(`v`): `void`
|
|
19100
19917
|
|
|
19101
|
-
Defined in: [lib/form.ts:
|
|
19918
|
+
Defined in: [lib/form.ts:947](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L947)
|
|
19102
19919
|
|
|
19103
19920
|
##### Parameters
|
|
19104
19921
|
|
|
@@ -19118,7 +19935,7 @@ Defined in: [lib/form.ts:574](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19118
19935
|
|
|
19119
19936
|
> **get** **formId**(): `string`
|
|
19120
19937
|
|
|
19121
|
-
Defined in: [lib/form.ts:
|
|
19938
|
+
Defined in: [lib/form.ts:266](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L266)
|
|
19122
19939
|
|
|
19123
19940
|
当前的窗体 ID
|
|
19124
19941
|
|
|
@@ -19138,7 +19955,7 @@ Defined in: [lib/form.ts:263](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19138
19955
|
|
|
19139
19956
|
> **get** **inStep**(): `boolean`
|
|
19140
19957
|
|
|
19141
|
-
Defined in: [lib/form.ts:
|
|
19958
|
+
Defined in: [lib/form.ts:1084](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1084)
|
|
19142
19959
|
|
|
19143
19960
|
当前是否在 step 环节中
|
|
19144
19961
|
|
|
@@ -19154,7 +19971,7 @@ Defined in: [lib/form.ts:711](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19154
19971
|
|
|
19155
19972
|
> **get** **isMask**(): `boolean`
|
|
19156
19973
|
|
|
19157
|
-
Defined in: [lib/form.ts:
|
|
19974
|
+
Defined in: [lib/form.ts:974](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L974)
|
|
19158
19975
|
|
|
19159
19976
|
是否在本窗体上显示遮罩层
|
|
19160
19977
|
|
|
@@ -19170,7 +19987,7 @@ Defined in: [lib/form.ts:601](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19170
19987
|
|
|
19171
19988
|
> **get** **l**(): (`key`, `data?`, `origin?`) => `string`
|
|
19172
19989
|
|
|
19173
|
-
Defined in: [lib/form.ts:
|
|
19990
|
+
Defined in: [lib/form.ts:300](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L300)
|
|
19174
19991
|
|
|
19175
19992
|
获取语言内容
|
|
19176
19993
|
|
|
@@ -19190,7 +20007,7 @@ Defined in: [lib/form.ts:297](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19190
20007
|
|
|
19191
20008
|
> **get** **loading**(): `boolean`
|
|
19192
20009
|
|
|
19193
|
-
Defined in: [lib/form.ts:
|
|
20010
|
+
Defined in: [lib/form.ts:1065](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1065)
|
|
19194
20011
|
|
|
19195
20012
|
覆盖整个窗体的 loading
|
|
19196
20013
|
|
|
@@ -19202,7 +20019,7 @@ Defined in: [lib/form.ts:692](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19202
20019
|
|
|
19203
20020
|
> **set** **loading**(`val`): `void`
|
|
19204
20021
|
|
|
19205
|
-
Defined in: [lib/form.ts:
|
|
20022
|
+
Defined in: [lib/form.ts:1069](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1069)
|
|
19206
20023
|
|
|
19207
20024
|
##### Parameters
|
|
19208
20025
|
|
|
@@ -19222,7 +20039,7 @@ Defined in: [lib/form.ts:696](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19222
20039
|
|
|
19223
20040
|
> **get** **locale**(): `string`
|
|
19224
20041
|
|
|
19225
|
-
Defined in: [lib/form.ts:
|
|
20042
|
+
Defined in: [lib/form.ts:292](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L292)
|
|
19226
20043
|
|
|
19227
20044
|
当前的语言
|
|
19228
20045
|
|
|
@@ -19242,7 +20059,7 @@ Defined in: [lib/form.ts:289](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19242
20059
|
|
|
19243
20060
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
19244
20061
|
|
|
19245
|
-
Defined in: [lib/form.ts:
|
|
20062
|
+
Defined in: [lib/form.ts:361](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L361)
|
|
19246
20063
|
|
|
19247
20064
|
等待渲染
|
|
19248
20065
|
|
|
@@ -19262,7 +20079,7 @@ Defined in: [lib/form.ts:358](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19262
20079
|
|
|
19263
20080
|
> **get** **path**(): `string`
|
|
19264
20081
|
|
|
19265
|
-
Defined in: [lib/form.ts:
|
|
20082
|
+
Defined in: [lib/form.ts:280](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L280)
|
|
19266
20083
|
|
|
19267
20084
|
当前文件的包内路径不以 / 结尾
|
|
19268
20085
|
|
|
@@ -19282,7 +20099,7 @@ Defined in: [lib/form.ts:277](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19282
20099
|
|
|
19283
20100
|
> **get** **prep**(): `string`
|
|
19284
20101
|
|
|
19285
|
-
Defined in: [lib/form.ts:
|
|
20102
|
+
Defined in: [lib/form.ts:286](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L286)
|
|
19286
20103
|
|
|
19287
20104
|
样式独占前缀
|
|
19288
20105
|
|
|
@@ -19302,7 +20119,7 @@ Defined in: [lib/form.ts:283](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19302
20119
|
|
|
19303
20120
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
19304
20121
|
|
|
19305
|
-
Defined in: [lib/form.ts:
|
|
20122
|
+
Defined in: [lib/form.ts:349](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L349)
|
|
19306
20123
|
|
|
19307
20124
|
获取 refs 情况
|
|
19308
20125
|
|
|
@@ -19322,7 +20139,7 @@ Defined in: [lib/form.ts:346](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19322
20139
|
|
|
19323
20140
|
> **get** **showInSystemTask**(): `boolean`
|
|
19324
20141
|
|
|
19325
|
-
Defined in: [lib/form.ts:
|
|
20142
|
+
Defined in: [lib/form.ts:998](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L998)
|
|
19326
20143
|
|
|
19327
20144
|
当前窗体是否显示在任务栏
|
|
19328
20145
|
|
|
@@ -19334,7 +20151,7 @@ Defined in: [lib/form.ts:625](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19334
20151
|
|
|
19335
20152
|
> **set** **showInSystemTask**(`v`): `void`
|
|
19336
20153
|
|
|
19337
|
-
Defined in: [lib/form.ts:
|
|
20154
|
+
Defined in: [lib/form.ts:1003](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1003)
|
|
19338
20155
|
|
|
19339
20156
|
##### Parameters
|
|
19340
20157
|
|
|
@@ -19354,7 +20171,7 @@ Defined in: [lib/form.ts:630](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19354
20171
|
|
|
19355
20172
|
> **get** **taskId**(): `string`
|
|
19356
20173
|
|
|
19357
|
-
Defined in: [lib/form.ts:
|
|
20174
|
+
Defined in: [lib/form.ts:260](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L260)
|
|
19358
20175
|
|
|
19359
20176
|
当前的任务 ID
|
|
19360
20177
|
|
|
@@ -19374,7 +20191,7 @@ Defined in: [lib/form.ts:257](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19374
20191
|
|
|
19375
20192
|
> **get** **topMost**(): `boolean`
|
|
19376
20193
|
|
|
19377
|
-
Defined in: [lib/form.ts:
|
|
20194
|
+
Defined in: [lib/form.ts:952](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L952)
|
|
19378
20195
|
|
|
19379
20196
|
是否是置顶
|
|
19380
20197
|
|
|
@@ -19386,7 +20203,7 @@ Defined in: [lib/form.ts:579](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19386
20203
|
|
|
19387
20204
|
> **set** **topMost**(`v`): `void`
|
|
19388
20205
|
|
|
19389
|
-
Defined in: [lib/form.ts:
|
|
20206
|
+
Defined in: [lib/form.ts:957](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L957)
|
|
19390
20207
|
|
|
19391
20208
|
##### Parameters
|
|
19392
20209
|
|
|
@@ -19404,7 +20221,7 @@ Defined in: [lib/form.ts:584](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19404
20221
|
|
|
19405
20222
|
> **allowEvent**(`e`): `boolean`
|
|
19406
20223
|
|
|
19407
|
-
Defined in: [lib/form.ts:
|
|
20224
|
+
Defined in: [lib/form.ts:369](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L369)
|
|
19408
20225
|
|
|
19409
20226
|
判断当前事件可否执行
|
|
19410
20227
|
|
|
@@ -19430,7 +20247,7 @@ Defined in: [lib/form.ts:366](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19430
20247
|
|
|
19431
20248
|
> **close**(): `void`
|
|
19432
20249
|
|
|
19433
|
-
Defined in: [lib/form.ts:
|
|
20250
|
+
Defined in: [lib/form.ts:1199](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1199)
|
|
19434
20251
|
|
|
19435
20252
|
关闭当前窗体
|
|
19436
20253
|
|
|
@@ -19444,7 +20261,7 @@ Defined in: [lib/form.ts:826](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19444
20261
|
|
|
19445
20262
|
> **doneStep**(): `Promise`\<`void`\>
|
|
19446
20263
|
|
|
19447
|
-
Defined in: [lib/form.ts:
|
|
20264
|
+
Defined in: [lib/form.ts:1131](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1131)
|
|
19448
20265
|
|
|
19449
20266
|
完成当前步骤条
|
|
19450
20267
|
|
|
@@ -19458,7 +20275,7 @@ Defined in: [lib/form.ts:758](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19458
20275
|
|
|
19459
20276
|
> **enterStep**(`list`): `Promise`\<`boolean`\>
|
|
19460
20277
|
|
|
19461
|
-
Defined in: [lib/form.ts:
|
|
20278
|
+
Defined in: [lib/form.ts:1092](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1092)
|
|
19462
20279
|
|
|
19463
20280
|
进入 form hash 为源的步进条
|
|
19464
20281
|
|
|
@@ -19478,7 +20295,7 @@ Defined in: [lib/form.ts:719](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19478
20295
|
|
|
19479
20296
|
> **formHashBack**(): `Promise`\<`void`\>
|
|
19480
20297
|
|
|
19481
|
-
Defined in: [lib/form.ts:
|
|
20298
|
+
Defined in: [lib/form.ts:1014](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1014)
|
|
19482
20299
|
|
|
19483
20300
|
form hash 回退
|
|
19484
20301
|
|
|
@@ -19492,7 +20309,7 @@ form hash 回退
|
|
|
19492
20309
|
|
|
19493
20310
|
> **hide**(): `void`
|
|
19494
20311
|
|
|
19495
|
-
Defined in: [lib/form.ts:
|
|
20312
|
+
Defined in: [lib/form.ts:1191](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1191)
|
|
19496
20313
|
|
|
19497
20314
|
让窗体隐藏
|
|
19498
20315
|
|
|
@@ -19506,7 +20323,7 @@ Defined in: [lib/form.ts:818](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19506
20323
|
|
|
19507
20324
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
19508
20325
|
|
|
19509
|
-
Defined in: [lib/form.ts:
|
|
20326
|
+
Defined in: [lib/form.ts:399](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L399)
|
|
19510
20327
|
|
|
19511
20328
|
#### Returns
|
|
19512
20329
|
|
|
@@ -19522,7 +20339,7 @@ Defined in: [lib/form.ts:396](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19522
20339
|
|
|
19523
20340
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
19524
20341
|
|
|
19525
|
-
Defined in: [lib/form.ts:
|
|
20342
|
+
Defined in: [lib/form.ts:407](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L407)
|
|
19526
20343
|
|
|
19527
20344
|
#### Returns
|
|
19528
20345
|
|
|
@@ -19538,7 +20355,7 @@ Defined in: [lib/form.ts:404](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19538
20355
|
|
|
19539
20356
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
19540
20357
|
|
|
19541
|
-
Defined in: [lib/form.ts:
|
|
20358
|
+
Defined in: [lib/form.ts:419](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L419)
|
|
19542
20359
|
|
|
19543
20360
|
#### Returns
|
|
19544
20361
|
|
|
@@ -19554,7 +20371,7 @@ Defined in: [lib/form.ts:416](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19554
20371
|
|
|
19555
20372
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
19556
20373
|
|
|
19557
|
-
Defined in: [lib/form.ts:
|
|
20374
|
+
Defined in: [lib/form.ts:411](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L411)
|
|
19558
20375
|
|
|
19559
20376
|
#### Returns
|
|
19560
20377
|
|
|
@@ -19570,7 +20387,7 @@ Defined in: [lib/form.ts:408](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19570
20387
|
|
|
19571
20388
|
> **onConfigChanged**\<`T`\>(`n`, `v`): `void`
|
|
19572
20389
|
|
|
19573
|
-
Defined in: [lib/form.ts:
|
|
20390
|
+
Defined in: [lib/form.ts:1228](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1228)
|
|
19574
20391
|
|
|
19575
20392
|
系统配置变更事件
|
|
19576
20393
|
|
|
@@ -19600,7 +20417,7 @@ keyof [`IConfig`](../../core/interfaces/IConfig.md)
|
|
|
19600
20417
|
|
|
19601
20418
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
19602
20419
|
|
|
19603
|
-
Defined in: [lib/form.ts:
|
|
20420
|
+
Defined in: [lib/form.ts:403](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L403)
|
|
19604
20421
|
|
|
19605
20422
|
#### Returns
|
|
19606
20423
|
|
|
@@ -19616,7 +20433,7 @@ Defined in: [lib/form.ts:400](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19616
20433
|
|
|
19617
20434
|
> **onFormBlurred**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
19618
20435
|
|
|
19619
|
-
Defined in: [lib/form.ts:
|
|
20436
|
+
Defined in: [lib/form.ts:1284](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1284)
|
|
19620
20437
|
|
|
19621
20438
|
窗体丢失焦点事件
|
|
19622
20439
|
|
|
@@ -19640,7 +20457,7 @@ Defined in: [lib/form.ts:911](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19640
20457
|
|
|
19641
20458
|
> **onFormCreated**(`taskId`, `formId`, `title`, `icon`, `showInSystemTask`): `void` \| `Promise`\<`void`\>
|
|
19642
20459
|
|
|
19643
|
-
Defined in: [lib/form.ts:
|
|
20460
|
+
Defined in: [lib/form.ts:1234](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1234)
|
|
19644
20461
|
|
|
19645
20462
|
窗体创建事件
|
|
19646
20463
|
|
|
@@ -19676,7 +20493,7 @@ Defined in: [lib/form.ts:861](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19676
20493
|
|
|
19677
20494
|
> **onFormFlash**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
19678
20495
|
|
|
19679
|
-
Defined in: [lib/form.ts:
|
|
20496
|
+
Defined in: [lib/form.ts:1290](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1290)
|
|
19680
20497
|
|
|
19681
20498
|
窗体闪烁事件
|
|
19682
20499
|
|
|
@@ -19700,7 +20517,7 @@ Defined in: [lib/form.ts:917](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19700
20517
|
|
|
19701
20518
|
> **onFormFocused**(`taskId`, `formId`): `void` \| `Promise`\<`void`\>
|
|
19702
20519
|
|
|
19703
|
-
Defined in: [lib/form.ts:
|
|
20520
|
+
Defined in: [lib/form.ts:1278](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1278)
|
|
19704
20521
|
|
|
19705
20522
|
窗体获得焦点事件
|
|
19706
20523
|
|
|
@@ -19724,7 +20541,7 @@ Defined in: [lib/form.ts:905](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19724
20541
|
|
|
19725
20542
|
> **onFormHashChange**(`taskId`, `formId`, `value`, `data`): `void` \| `Promise`\<`void`\>
|
|
19726
20543
|
|
|
19727
|
-
Defined in: [lib/form.ts:
|
|
20544
|
+
Defined in: [lib/form.ts:1302](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1302)
|
|
19728
20545
|
|
|
19729
20546
|
窗体的 formHash 改变事件
|
|
19730
20547
|
|
|
@@ -19756,7 +20573,7 @@ Defined in: [lib/form.ts:929](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19756
20573
|
|
|
19757
20574
|
> **onFormIconChanged**(`taskId`, `formId`, `icon`): `void` \| `Promise`\<`void`\>
|
|
19758
20575
|
|
|
19759
|
-
Defined in: [lib/form.ts:
|
|
20576
|
+
Defined in: [lib/form.ts:1254](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1254)
|
|
19760
20577
|
|
|
19761
20578
|
窗体图标改变事件
|
|
19762
20579
|
|
|
@@ -19784,7 +20601,7 @@ Defined in: [lib/form.ts:881](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19784
20601
|
|
|
19785
20602
|
> **onFormRemoved**(`taskId`, `formId`, `title`, `icon`): `void` \| `Promise`\<`void`\>
|
|
19786
20603
|
|
|
19787
|
-
Defined in: [lib/form.ts:
|
|
20604
|
+
Defined in: [lib/form.ts:1242](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1242)
|
|
19788
20605
|
|
|
19789
20606
|
窗体销毁事件
|
|
19790
20607
|
|
|
@@ -19816,7 +20633,7 @@ Defined in: [lib/form.ts:869](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19816
20633
|
|
|
19817
20634
|
> **onFormShowChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
19818
20635
|
|
|
19819
|
-
Defined in: [lib/form.ts:
|
|
20636
|
+
Defined in: [lib/form.ts:1272](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1272)
|
|
19820
20637
|
|
|
19821
20638
|
窗体显示状态改变事件
|
|
19822
20639
|
|
|
@@ -19844,7 +20661,7 @@ Defined in: [lib/form.ts:899](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19844
20661
|
|
|
19845
20662
|
> **onFormShowInSystemTaskChange**(`taskId`, `formId`, `value`): `void` \| `Promise`\<`void`\>
|
|
19846
20663
|
|
|
19847
|
-
Defined in: [lib/form.ts:
|
|
20664
|
+
Defined in: [lib/form.ts:1296](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1296)
|
|
19848
20665
|
|
|
19849
20666
|
窗体是否显示在任务栏属性改变事件
|
|
19850
20667
|
|
|
@@ -19872,7 +20689,7 @@ Defined in: [lib/form.ts:923](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19872
20689
|
|
|
19873
20690
|
> **onFormStateMaxChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
19874
20691
|
|
|
19875
|
-
Defined in: [lib/form.ts:
|
|
20692
|
+
Defined in: [lib/form.ts:1266](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1266)
|
|
19876
20693
|
|
|
19877
20694
|
窗体最大化状态改变事件
|
|
19878
20695
|
|
|
@@ -19900,7 +20717,7 @@ Defined in: [lib/form.ts:893](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19900
20717
|
|
|
19901
20718
|
> **onFormStateMinChanged**(`taskId`, `formId`, `state`): `void` \| `Promise`\<`void`\>
|
|
19902
20719
|
|
|
19903
|
-
Defined in: [lib/form.ts:
|
|
20720
|
+
Defined in: [lib/form.ts:1260](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1260)
|
|
19904
20721
|
|
|
19905
20722
|
窗体最小化状态改变事件
|
|
19906
20723
|
|
|
@@ -19928,7 +20745,7 @@ Defined in: [lib/form.ts:887](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19928
20745
|
|
|
19929
20746
|
> **onFormTitleChanged**(`taskId`, `formId`, `title`): `void` \| `Promise`\<`void`\>
|
|
19930
20747
|
|
|
19931
|
-
Defined in: [lib/form.ts:
|
|
20748
|
+
Defined in: [lib/form.ts:1248](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1248)
|
|
19932
20749
|
|
|
19933
20750
|
窗体标题改变事件
|
|
19934
20751
|
|
|
@@ -19956,7 +20773,7 @@ Defined in: [lib/form.ts:875](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19956
20773
|
|
|
19957
20774
|
> **onHashChanged**(`hash`): `void` \| `Promise`\<`void`\>
|
|
19958
20775
|
|
|
19959
|
-
Defined in: [lib/form.ts:
|
|
20776
|
+
Defined in: [lib/form.ts:1328](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1328)
|
|
19960
20777
|
|
|
19961
20778
|
location hash 改变事件
|
|
19962
20779
|
|
|
@@ -19976,7 +20793,7 @@ location hash 改变事件
|
|
|
19976
20793
|
|
|
19977
20794
|
> **onKeydown**(`e`): `void` \| `Promise`\<`void`\>
|
|
19978
20795
|
|
|
19979
|
-
Defined in: [lib/form.ts:
|
|
20796
|
+
Defined in: [lib/form.ts:1334](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1334)
|
|
19980
20797
|
|
|
19981
20798
|
键盘按下事件
|
|
19982
20799
|
|
|
@@ -19996,7 +20813,7 @@ Defined in: [lib/form.ts:961](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
19996
20813
|
|
|
19997
20814
|
> **onKeyup**(`e`): `void` \| `Promise`\<`void`\>
|
|
19998
20815
|
|
|
19999
|
-
Defined in: [lib/form.ts:
|
|
20816
|
+
Defined in: [lib/form.ts:1340](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1340)
|
|
20000
20817
|
|
|
20001
20818
|
键盘弹起事件
|
|
20002
20819
|
|
|
@@ -20016,7 +20833,7 @@ Defined in: [lib/form.ts:967](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20016
20833
|
|
|
20017
20834
|
> **onLauncherFolderNameChanged**(`id`, `name`): `void` \| `Promise`\<`void`\>
|
|
20018
20835
|
|
|
20019
|
-
Defined in: [lib/form.ts:
|
|
20836
|
+
Defined in: [lib/form.ts:1322](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1322)
|
|
20020
20837
|
|
|
20021
20838
|
launcher 文件夹名称修改事件
|
|
20022
20839
|
|
|
@@ -20040,7 +20857,7 @@ launcher 文件夹名称修改事件
|
|
|
20040
20857
|
|
|
20041
20858
|
> **onMounted**(`data`): `void` \| `Promise`\<`void`\>
|
|
20042
20859
|
|
|
20043
|
-
Defined in: [lib/form.ts:
|
|
20860
|
+
Defined in: [lib/form.ts:1210](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1210)
|
|
20044
20861
|
|
|
20045
20862
|
#### Parameters
|
|
20046
20863
|
|
|
@@ -20058,7 +20875,7 @@ Defined in: [lib/form.ts:837](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20058
20875
|
|
|
20059
20876
|
> **onReceive**(`data`): `void` \| `Promise`\<`void`\>
|
|
20060
20877
|
|
|
20061
|
-
Defined in: [lib/form.ts:
|
|
20878
|
+
Defined in: [lib/form.ts:1216](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1216)
|
|
20062
20879
|
|
|
20063
20880
|
接收 send 传递过来的 data 数据
|
|
20064
20881
|
|
|
@@ -20078,7 +20895,7 @@ Defined in: [lib/form.ts:843](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20078
20895
|
|
|
20079
20896
|
> **onScreenResize**(): `void` \| `Promise`\<`void`\>
|
|
20080
20897
|
|
|
20081
|
-
Defined in: [lib/form.ts:
|
|
20898
|
+
Defined in: [lib/form.ts:1222](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1222)
|
|
20082
20899
|
|
|
20083
20900
|
屏幕大小改变事件
|
|
20084
20901
|
|
|
@@ -20092,7 +20909,7 @@ Defined in: [lib/form.ts:849](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20092
20909
|
|
|
20093
20910
|
> **onTaskEnded**(`taskId`): `void` \| `Promise`\<`void`\>
|
|
20094
20911
|
|
|
20095
|
-
Defined in: [lib/form.ts:
|
|
20912
|
+
Defined in: [lib/form.ts:1316](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1316)
|
|
20096
20913
|
|
|
20097
20914
|
任务结束事件
|
|
20098
20915
|
|
|
@@ -20112,7 +20929,7 @@ Defined in: [lib/form.ts:943](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20112
20929
|
|
|
20113
20930
|
> **onTaskStarted**(`taskId`): `void` \| `Promise`\<`void`\>
|
|
20114
20931
|
|
|
20115
|
-
Defined in: [lib/form.ts:
|
|
20932
|
+
Defined in: [lib/form.ts:1310](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1310)
|
|
20116
20933
|
|
|
20117
20934
|
任务开始事件
|
|
20118
20935
|
|
|
@@ -20132,7 +20949,7 @@ Defined in: [lib/form.ts:937](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20132
20949
|
|
|
20133
20950
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
20134
20951
|
|
|
20135
|
-
Defined in: [lib/form.ts:
|
|
20952
|
+
Defined in: [lib/form.ts:423](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L423)
|
|
20136
20953
|
|
|
20137
20954
|
#### Returns
|
|
20138
20955
|
|
|
@@ -20148,7 +20965,7 @@ Defined in: [lib/form.ts:420](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20148
20965
|
|
|
20149
20966
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
20150
20967
|
|
|
20151
|
-
Defined in: [lib/form.ts:
|
|
20968
|
+
Defined in: [lib/form.ts:415](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L415)
|
|
20152
20969
|
|
|
20153
20970
|
#### Returns
|
|
20154
20971
|
|
|
@@ -20164,7 +20981,7 @@ Defined in: [lib/form.ts:412](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20164
20981
|
|
|
20165
20982
|
> **ready**(`cb`): `void`
|
|
20166
20983
|
|
|
20167
|
-
Defined in: [lib/form.ts:
|
|
20984
|
+
Defined in: [lib/form.ts:1008](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1008)
|
|
20168
20985
|
|
|
20169
20986
|
将在 form 完全装载完后执行,如果已经装载完则立即执行
|
|
20170
20987
|
|
|
@@ -20184,7 +21001,7 @@ Defined in: [lib/form.ts:635](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20184
21001
|
|
|
20185
21002
|
> **send**(`fid`, `obj`): `void`
|
|
20186
21003
|
|
|
20187
|
-
Defined in: [lib/form.ts:
|
|
21004
|
+
Defined in: [lib/form.ts:391](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L391)
|
|
20188
21005
|
|
|
20189
21006
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
20190
21007
|
|
|
@@ -20216,7 +21033,7 @@ formId 要接收对象的 form id
|
|
|
20216
21033
|
|
|
20217
21034
|
> **sendToPanel**(`panel`, `data`): `void`
|
|
20218
21035
|
|
|
20219
|
-
Defined in: [lib/form.ts:
|
|
21036
|
+
Defined in: [lib/form.ts:1057](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1057)
|
|
20220
21037
|
|
|
20221
21038
|
发送一段数据到 panel 控件,本质上也是调用的 panel 控件的 send 方法
|
|
20222
21039
|
|
|
@@ -20240,7 +21057,7 @@ Defined in: [lib/form.ts:684](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20240
21057
|
|
|
20241
21058
|
> **show**(): `Promise`\<`void`\>
|
|
20242
21059
|
|
|
20243
|
-
Defined in: [lib/form.ts:
|
|
21060
|
+
Defined in: [lib/form.ts:1145](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1145)
|
|
20244
21061
|
|
|
20245
21062
|
显示窗体
|
|
20246
21063
|
|
|
@@ -20254,7 +21071,7 @@ Defined in: [lib/form.ts:772](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20254
21071
|
|
|
20255
21072
|
> **showDialog**(): `Promise`\<`string`\>
|
|
20256
21073
|
|
|
20257
|
-
Defined in: [lib/form.ts:
|
|
21074
|
+
Defined in: [lib/form.ts:1170](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1170)
|
|
20258
21075
|
|
|
20259
21076
|
显示独占的窗体
|
|
20260
21077
|
|
|
@@ -20268,7 +21085,7 @@ Defined in: [lib/form.ts:797](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20268
21085
|
|
|
20269
21086
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
20270
21087
|
|
|
20271
|
-
Defined in: [lib/form.ts:
|
|
21088
|
+
Defined in: [lib/form.ts:379](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L379)
|
|
20272
21089
|
|
|
20273
21090
|
触发系统方法
|
|
20274
21091
|
|
|
@@ -20306,7 +21123,7 @@ Defined in: [lib/form.ts:376](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20306
21123
|
|
|
20307
21124
|
> **updateStep**(`index`, `value`): `boolean`
|
|
20308
21125
|
|
|
20309
|
-
Defined in: [lib/form.ts:
|
|
21126
|
+
Defined in: [lib/form.ts:1119](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1119)
|
|
20310
21127
|
|
|
20311
21128
|
更新步进条,用于动态改变某个项的 hash 值时使用
|
|
20312
21129
|
|
|
@@ -20330,7 +21147,7 @@ Defined in: [lib/form.ts:746](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20330
21147
|
|
|
20331
21148
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
20332
21149
|
|
|
20333
|
-
Defined in: [lib/form.ts:
|
|
21150
|
+
Defined in: [lib/form.ts:335](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L335)
|
|
20334
21151
|
|
|
20335
21152
|
监视变动
|
|
20336
21153
|
|
|
@@ -20393,7 +21210,7 @@ lib/form/classes/AbstractPanel.md
|
|
|
20393
21210
|
|
|
20394
21211
|
# Abstract Class: AbstractPanel
|
|
20395
21212
|
|
|
20396
|
-
Defined in: [lib/form.ts:
|
|
21213
|
+
Defined in: [lib/form.ts:430](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L430)
|
|
20397
21214
|
|
|
20398
21215
|
Panel 控件抽象类
|
|
20399
21216
|
|
|
@@ -20417,11 +21234,25 @@ Panel 控件抽象类
|
|
|
20417
21234
|
|
|
20418
21235
|
## Properties
|
|
20419
21236
|
|
|
21237
|
+
### components
|
|
21238
|
+
|
|
21239
|
+
> `readonly` **components**: `Record`\<`string`, () => [`AbstractComponent`](AbstractComponent.md)\> = `{}`
|
|
21240
|
+
|
|
21241
|
+
Defined in: [lib/form.ts:237](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L237)
|
|
21242
|
+
|
|
21243
|
+
当前视图内局部注册的应用组件
|
|
21244
|
+
|
|
21245
|
+
#### Inherited from
|
|
21246
|
+
|
|
21247
|
+
`AbstractCommon.components`
|
|
21248
|
+
|
|
21249
|
+
***
|
|
21250
|
+
|
|
20420
21251
|
### qs
|
|
20421
21252
|
|
|
20422
21253
|
> **qs**: `Record`\<`string`, `string`\> = `{}`
|
|
20423
21254
|
|
|
20424
|
-
Defined in: [lib/form.ts:
|
|
21255
|
+
Defined in: [lib/form.ts:494](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L494)
|
|
20425
21256
|
|
|
20426
21257
|
当前的 nav(若有)传递过来的 qs
|
|
20427
21258
|
|
|
@@ -20433,7 +21264,7 @@ Defined in: [lib/form.ts:491](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20433
21264
|
|
|
20434
21265
|
> **get** **classPrepend**(): (`cla`) => `string`
|
|
20435
21266
|
|
|
20436
|
-
Defined in: [lib/form.ts:
|
|
21267
|
+
Defined in: [lib/form.ts:319](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L319)
|
|
20437
21268
|
|
|
20438
21269
|
layout 中 :class 的转义
|
|
20439
21270
|
|
|
@@ -20453,7 +21284,7 @@ layout 中 :class 的转义
|
|
|
20453
21284
|
|
|
20454
21285
|
> **get** **controlName**(): `string`
|
|
20455
21286
|
|
|
20456
|
-
Defined in: [lib/form.ts:
|
|
21287
|
+
Defined in: [lib/form.ts:246](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L246)
|
|
20457
21288
|
|
|
20458
21289
|
当前控件的名字
|
|
20459
21290
|
|
|
@@ -20465,7 +21296,7 @@ Defined in: [lib/form.ts:243](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20465
21296
|
|
|
20466
21297
|
> **set** **controlName**(`v`): `void`
|
|
20467
21298
|
|
|
20468
|
-
Defined in: [lib/form.ts:
|
|
21299
|
+
Defined in: [lib/form.ts:250](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L250)
|
|
20469
21300
|
|
|
20470
21301
|
##### Parameters
|
|
20471
21302
|
|
|
@@ -20489,7 +21320,7 @@ Defined in: [lib/form.ts:247](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20489
21320
|
|
|
20490
21321
|
> **get** **element**(): `HTMLElement`
|
|
20491
21322
|
|
|
20492
|
-
Defined in: [lib/form.ts:
|
|
21323
|
+
Defined in: [lib/form.ts:354](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L354)
|
|
20493
21324
|
|
|
20494
21325
|
获取当前的 HTML DOM
|
|
20495
21326
|
|
|
@@ -20509,7 +21340,7 @@ Defined in: [lib/form.ts:351](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20509
21340
|
|
|
20510
21341
|
> **get** **filename**(): `string`
|
|
20511
21342
|
|
|
20512
|
-
Defined in: [lib/form.ts:
|
|
21343
|
+
Defined in: [lib/form.ts:240](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L240)
|
|
20513
21344
|
|
|
20514
21345
|
当前文件在包内的路径
|
|
20515
21346
|
|
|
@@ -20529,7 +21360,7 @@ Defined in: [lib/form.ts:237](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20529
21360
|
|
|
20530
21361
|
> **get** **formFocus**(): `boolean`
|
|
20531
21362
|
|
|
20532
|
-
Defined in: [lib/form.ts:
|
|
21363
|
+
Defined in: [lib/form.ts:502](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L502)
|
|
20533
21364
|
|
|
20534
21365
|
当前窗体是否是焦点
|
|
20535
21366
|
|
|
@@ -20549,7 +21380,7 @@ Defined in: [lib/form.ts:499](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20549
21380
|
|
|
20550
21381
|
> **get** **formHash**(): `string`
|
|
20551
21382
|
|
|
20552
|
-
Defined in: [lib/form.ts:
|
|
21383
|
+
Defined in: [lib/form.ts:449](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L449)
|
|
20553
21384
|
|
|
20554
21385
|
获取母窗体的 formHash
|
|
20555
21386
|
|
|
@@ -20561,7 +21392,7 @@ Defined in: [lib/form.ts:446](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20561
21392
|
|
|
20562
21393
|
> **set** **formHash**(`fh`): `void`
|
|
20563
21394
|
|
|
20564
|
-
Defined in: [lib/form.ts:
|
|
21395
|
+
Defined in: [lib/form.ts:454](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L454)
|
|
20565
21396
|
|
|
20566
21397
|
设置母窗体的 formHash
|
|
20567
21398
|
|
|
@@ -20583,7 +21414,7 @@ Defined in: [lib/form.ts:451](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20583
21414
|
|
|
20584
21415
|
> **get** **formHashData**(): `Record`\<`string`, `any`\>
|
|
20585
21416
|
|
|
20586
|
-
Defined in: [lib/form.ts:
|
|
21417
|
+
Defined in: [lib/form.ts:459](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L459)
|
|
20587
21418
|
|
|
20588
21419
|
获取 form 的 formhash with data 值
|
|
20589
21420
|
|
|
@@ -20595,7 +21426,7 @@ Defined in: [lib/form.ts:456](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20595
21426
|
|
|
20596
21427
|
> **set** **formHashData**(`v`): `void`
|
|
20597
21428
|
|
|
20598
|
-
Defined in: [lib/form.ts:
|
|
21429
|
+
Defined in: [lib/form.ts:463](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L463)
|
|
20599
21430
|
|
|
20600
21431
|
##### Parameters
|
|
20601
21432
|
|
|
@@ -20615,7 +21446,7 @@ Defined in: [lib/form.ts:460](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20615
21446
|
|
|
20616
21447
|
> **get** **formId**(): `string`
|
|
20617
21448
|
|
|
20618
|
-
Defined in: [lib/form.ts:
|
|
21449
|
+
Defined in: [lib/form.ts:266](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L266)
|
|
20619
21450
|
|
|
20620
21451
|
当前的窗体 ID
|
|
20621
21452
|
|
|
@@ -20635,7 +21466,7 @@ Defined in: [lib/form.ts:263](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20635
21466
|
|
|
20636
21467
|
> **get** **l**(): (`key`, `data?`, `origin?`) => `string`
|
|
20637
21468
|
|
|
20638
|
-
Defined in: [lib/form.ts:
|
|
21469
|
+
Defined in: [lib/form.ts:300](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L300)
|
|
20639
21470
|
|
|
20640
21471
|
获取语言内容
|
|
20641
21472
|
|
|
@@ -20655,7 +21486,7 @@ Defined in: [lib/form.ts:297](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20655
21486
|
|
|
20656
21487
|
> **get** **locale**(): `string`
|
|
20657
21488
|
|
|
20658
|
-
Defined in: [lib/form.ts:
|
|
21489
|
+
Defined in: [lib/form.ts:292](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L292)
|
|
20659
21490
|
|
|
20660
21491
|
当前的语言
|
|
20661
21492
|
|
|
@@ -20675,7 +21506,7 @@ Defined in: [lib/form.ts:289](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20675
21506
|
|
|
20676
21507
|
> **get** **nextTick**(): () => `Promise`\<`void`\>
|
|
20677
21508
|
|
|
20678
|
-
Defined in: [lib/form.ts:
|
|
21509
|
+
Defined in: [lib/form.ts:361](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L361)
|
|
20679
21510
|
|
|
20680
21511
|
等待渲染
|
|
20681
21512
|
|
|
@@ -20695,7 +21526,7 @@ Defined in: [lib/form.ts:358](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20695
21526
|
|
|
20696
21527
|
> **get** **panelId**(): `string`
|
|
20697
21528
|
|
|
20698
|
-
Defined in: [lib/form.ts:
|
|
21529
|
+
Defined in: [lib/form.ts:433](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L433)
|
|
20699
21530
|
|
|
20700
21531
|
当前的 panel ID
|
|
20701
21532
|
|
|
@@ -20711,7 +21542,7 @@ Defined in: [lib/form.ts:430](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20711
21542
|
|
|
20712
21543
|
> **get** **path**(): `string`
|
|
20713
21544
|
|
|
20714
|
-
Defined in: [lib/form.ts:
|
|
21545
|
+
Defined in: [lib/form.ts:280](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L280)
|
|
20715
21546
|
|
|
20716
21547
|
当前文件的包内路径不以 / 结尾
|
|
20717
21548
|
|
|
@@ -20731,7 +21562,7 @@ Defined in: [lib/form.ts:277](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20731
21562
|
|
|
20732
21563
|
> **get** **prep**(): `string`
|
|
20733
21564
|
|
|
20734
|
-
Defined in: [lib/form.ts:
|
|
21565
|
+
Defined in: [lib/form.ts:286](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L286)
|
|
20735
21566
|
|
|
20736
21567
|
样式独占前缀
|
|
20737
21568
|
|
|
@@ -20751,7 +21582,7 @@ Defined in: [lib/form.ts:283](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20751
21582
|
|
|
20752
21583
|
> **get** **refs**(): `Record`\<`string`, `HTMLElement` & [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>\>
|
|
20753
21584
|
|
|
20754
|
-
Defined in: [lib/form.ts:
|
|
21585
|
+
Defined in: [lib/form.ts:349](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L349)
|
|
20755
21586
|
|
|
20756
21587
|
获取 refs 情况
|
|
20757
21588
|
|
|
@@ -20771,7 +21602,7 @@ Defined in: [lib/form.ts:346](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20771
21602
|
|
|
20772
21603
|
> **get** **rootForm**(): [`AbstractForm`](AbstractForm.md) & `Record`\<`string`, `any`\>
|
|
20773
21604
|
|
|
20774
|
-
Defined in: [lib/form.ts:
|
|
21605
|
+
Defined in: [lib/form.ts:439](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L439)
|
|
20775
21606
|
|
|
20776
21607
|
当前 panel 所在窗体的窗体对象,系统会在创建时重写本函数
|
|
20777
21608
|
|
|
@@ -20787,7 +21618,7 @@ Defined in: [lib/form.ts:436](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20787
21618
|
|
|
20788
21619
|
> **get** **rootPanel**(): [`AbstractControl`](../../control/classes/AbstractControl.md) & `Record`\<`string`, `any`\>
|
|
20789
21620
|
|
|
20790
|
-
Defined in: [lib/form.ts:
|
|
21621
|
+
Defined in: [lib/form.ts:444](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L444)
|
|
20791
21622
|
|
|
20792
21623
|
当前 panel 所在的 panel control 对象,系统会在创建时重写本函数
|
|
20793
21624
|
|
|
@@ -20803,7 +21634,7 @@ Defined in: [lib/form.ts:441](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20803
21634
|
|
|
20804
21635
|
> **get** **taskId**(): `string`
|
|
20805
21636
|
|
|
20806
|
-
Defined in: [lib/form.ts:
|
|
21637
|
+
Defined in: [lib/form.ts:260](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L260)
|
|
20807
21638
|
|
|
20808
21639
|
当前的任务 ID
|
|
20809
21640
|
|
|
@@ -20821,7 +21652,7 @@ Defined in: [lib/form.ts:257](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20821
21652
|
|
|
20822
21653
|
> **allowEvent**(`e`): `boolean`
|
|
20823
21654
|
|
|
20824
|
-
Defined in: [lib/form.ts:
|
|
21655
|
+
Defined in: [lib/form.ts:369](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L369)
|
|
20825
21656
|
|
|
20826
21657
|
判断当前事件可否执行
|
|
20827
21658
|
|
|
@@ -20847,7 +21678,7 @@ Defined in: [lib/form.ts:366](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20847
21678
|
|
|
20848
21679
|
> **clearQs**(): `void`
|
|
20849
21680
|
|
|
20850
|
-
Defined in: [lib/form.ts:
|
|
21681
|
+
Defined in: [lib/form.ts:497](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L497)
|
|
20851
21682
|
|
|
20852
21683
|
确定不再使用 qs 时可调用此方法清空,这样再次通过相同 qs 进入本 panel 依然会响应 qschange 事件
|
|
20853
21684
|
|
|
@@ -20861,7 +21692,7 @@ Defined in: [lib/form.ts:494](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20861
21692
|
|
|
20862
21693
|
> **doneStep**(): `Promise`\<`void`\>
|
|
20863
21694
|
|
|
20864
|
-
Defined in: [lib/form.ts:
|
|
21695
|
+
Defined in: [lib/form.ts:489](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L489)
|
|
20865
21696
|
|
|
20866
21697
|
目窗体完成当前步骤
|
|
20867
21698
|
|
|
@@ -20875,7 +21706,7 @@ Defined in: [lib/form.ts:486](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20875
21706
|
|
|
20876
21707
|
> **enterStep**(`list`): `Promise`\<`boolean`\>
|
|
20877
21708
|
|
|
20878
|
-
Defined in: [lib/form.ts:
|
|
21709
|
+
Defined in: [lib/form.ts:478](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L478)
|
|
20879
21710
|
|
|
20880
21711
|
母窗体进入 form hash 为源的步进条
|
|
20881
21712
|
|
|
@@ -20895,7 +21726,7 @@ Defined in: [lib/form.ts:475](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20895
21726
|
|
|
20896
21727
|
> **formHashBack**(): `Promise`\<`void`\>
|
|
20897
21728
|
|
|
20898
|
-
Defined in: [lib/form.ts:
|
|
21729
|
+
Defined in: [lib/form.ts:468](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L468)
|
|
20899
21730
|
|
|
20900
21731
|
将母窗体的 form hash 回退
|
|
20901
21732
|
|
|
@@ -20909,7 +21740,7 @@ Defined in: [lib/form.ts:465](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20909
21740
|
|
|
20910
21741
|
> **onBeforeCreate**(): `void` \| `Promise`\<`void`\>
|
|
20911
21742
|
|
|
20912
|
-
Defined in: [lib/form.ts:
|
|
21743
|
+
Defined in: [lib/form.ts:399](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L399)
|
|
20913
21744
|
|
|
20914
21745
|
#### Returns
|
|
20915
21746
|
|
|
@@ -20925,7 +21756,7 @@ Defined in: [lib/form.ts:396](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20925
21756
|
|
|
20926
21757
|
> **onBeforeMount**(): `void` \| `Promise`\<`void`\>
|
|
20927
21758
|
|
|
20928
|
-
Defined in: [lib/form.ts:
|
|
21759
|
+
Defined in: [lib/form.ts:407](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L407)
|
|
20929
21760
|
|
|
20930
21761
|
#### Returns
|
|
20931
21762
|
|
|
@@ -20941,7 +21772,7 @@ Defined in: [lib/form.ts:404](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20941
21772
|
|
|
20942
21773
|
> **onBeforeUnmount**(): `void` \| `Promise`\<`void`\>
|
|
20943
21774
|
|
|
20944
|
-
Defined in: [lib/form.ts:
|
|
21775
|
+
Defined in: [lib/form.ts:419](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L419)
|
|
20945
21776
|
|
|
20946
21777
|
#### Returns
|
|
20947
21778
|
|
|
@@ -20957,7 +21788,7 @@ Defined in: [lib/form.ts:416](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20957
21788
|
|
|
20958
21789
|
> **onBeforeUpdate**(): `void` \| `Promise`\<`void`\>
|
|
20959
21790
|
|
|
20960
|
-
Defined in: [lib/form.ts:
|
|
21791
|
+
Defined in: [lib/form.ts:411](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L411)
|
|
20961
21792
|
|
|
20962
21793
|
#### Returns
|
|
20963
21794
|
|
|
@@ -20973,7 +21804,7 @@ Defined in: [lib/form.ts:408](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20973
21804
|
|
|
20974
21805
|
> **onCreated**(): `void` \| `Promise`\<`void`\>
|
|
20975
21806
|
|
|
20976
|
-
Defined in: [lib/form.ts:
|
|
21807
|
+
Defined in: [lib/form.ts:403](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L403)
|
|
20977
21808
|
|
|
20978
21809
|
#### Returns
|
|
20979
21810
|
|
|
@@ -20989,7 +21820,7 @@ Defined in: [lib/form.ts:400](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
20989
21820
|
|
|
20990
21821
|
> **onHide**(): `void` \| `Promise`\<`void`\>
|
|
20991
21822
|
|
|
20992
|
-
Defined in: [lib/form.ts:
|
|
21823
|
+
Defined in: [lib/form.ts:517](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L517)
|
|
20993
21824
|
|
|
20994
21825
|
#### Returns
|
|
20995
21826
|
|
|
@@ -21001,7 +21832,7 @@ Defined in: [lib/form.ts:514](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21001
21832
|
|
|
21002
21833
|
> **onMounted**(): `void` \| `Promise`\<`void`\>
|
|
21003
21834
|
|
|
21004
|
-
Defined in: [lib/form.ts:
|
|
21835
|
+
Defined in: [lib/form.ts:522](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L522)
|
|
21005
21836
|
|
|
21006
21837
|
#### Returns
|
|
21007
21838
|
|
|
@@ -21013,7 +21844,7 @@ Defined in: [lib/form.ts:519](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21013
21844
|
|
|
21014
21845
|
> **onQsChange**(): `void` \| `Promise`\<`void`\>
|
|
21015
21846
|
|
|
21016
|
-
Defined in: [lib/form.ts:
|
|
21847
|
+
Defined in: [lib/form.ts:534](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L534)
|
|
21017
21848
|
|
|
21018
21849
|
qs 变动时调用,如果只是用来做 qs 数据处理,建议用此方法
|
|
21019
21850
|
|
|
@@ -21027,7 +21858,7 @@ qs 变动时调用,如果只是用来做 qs 数据处理,建议用此方法
|
|
|
21027
21858
|
|
|
21028
21859
|
> **onQsChangeShow**(`e`): `void` \| `Promise`\<`void`\>
|
|
21029
21860
|
|
|
21030
|
-
Defined in: [lib/form.ts:
|
|
21861
|
+
Defined in: [lib/form.ts:539](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L539)
|
|
21031
21862
|
|
|
21032
21863
|
无论是 show 还是 qschange 都会触发,优先触发 show 或 qschange 事件本身,之后触发这个
|
|
21033
21864
|
|
|
@@ -21047,7 +21878,7 @@ Defined in: [lib/form.ts:536](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21047
21878
|
|
|
21048
21879
|
> **onReceive**(`data`): `void` \| `Promise`\<`void`\>
|
|
21049
21880
|
|
|
21050
|
-
Defined in: [lib/form.ts:
|
|
21881
|
+
Defined in: [lib/form.ts:528](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L528)
|
|
21051
21882
|
|
|
21052
21883
|
接收 send 传递过来的 data 数据(是 panel 控件的 send,不是 form 的 send)
|
|
21053
21884
|
|
|
@@ -21067,7 +21898,7 @@ Defined in: [lib/form.ts:525](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21067
21898
|
|
|
21068
21899
|
> **onShow**(`e`): `void` \| `Promise`\<`void`\>
|
|
21069
21900
|
|
|
21070
|
-
Defined in: [lib/form.ts:
|
|
21901
|
+
Defined in: [lib/form.ts:506](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L506)
|
|
21071
21902
|
|
|
21072
21903
|
#### Parameters
|
|
21073
21904
|
|
|
@@ -21085,7 +21916,7 @@ Defined in: [lib/form.ts:503](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21085
21916
|
|
|
21086
21917
|
> **onShowed**(): `void` \| `Promise`\<`void`\>
|
|
21087
21918
|
|
|
21088
|
-
Defined in: [lib/form.ts:
|
|
21919
|
+
Defined in: [lib/form.ts:511](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L511)
|
|
21089
21920
|
|
|
21090
21921
|
panel 已经完全显示后所要执行的
|
|
21091
21922
|
|
|
@@ -21099,7 +21930,7 @@ panel 已经完全显示后所要执行的
|
|
|
21099
21930
|
|
|
21100
21931
|
> **onUnmounted**(): `void` \| `Promise`\<`void`\>
|
|
21101
21932
|
|
|
21102
|
-
Defined in: [lib/form.ts:
|
|
21933
|
+
Defined in: [lib/form.ts:423](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L423)
|
|
21103
21934
|
|
|
21104
21935
|
#### Returns
|
|
21105
21936
|
|
|
@@ -21115,7 +21946,7 @@ Defined in: [lib/form.ts:420](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21115
21946
|
|
|
21116
21947
|
> **onUpdated**(): `void` \| `Promise`\<`void`\>
|
|
21117
21948
|
|
|
21118
|
-
Defined in: [lib/form.ts:
|
|
21949
|
+
Defined in: [lib/form.ts:415](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L415)
|
|
21119
21950
|
|
|
21120
21951
|
#### Returns
|
|
21121
21952
|
|
|
@@ -21131,7 +21962,7 @@ Defined in: [lib/form.ts:412](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21131
21962
|
|
|
21132
21963
|
> **send**(`fid`, `obj`): `void`
|
|
21133
21964
|
|
|
21134
|
-
Defined in: [lib/form.ts:
|
|
21965
|
+
Defined in: [lib/form.ts:391](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L391)
|
|
21135
21966
|
|
|
21136
21967
|
给一个窗体发送一个对象,不会知道成功与失败状态
|
|
21137
21968
|
|
|
@@ -21163,7 +21994,7 @@ formId 要接收对象的 form id
|
|
|
21163
21994
|
|
|
21164
21995
|
> **sendToRootPanel**(`data`): `void`
|
|
21165
21996
|
|
|
21166
|
-
Defined in: [lib/form.ts:
|
|
21997
|
+
Defined in: [lib/form.ts:473](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L473)
|
|
21167
21998
|
|
|
21168
21999
|
发送一段数据到自己这个 panel 控件,本质上也是调用的 panel 控件的 send 方法,主要用来实现发送给跳转后的 panel
|
|
21169
22000
|
|
|
@@ -21183,7 +22014,7 @@ Defined in: [lib/form.ts:470](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21183
22014
|
|
|
21184
22015
|
> **trigger**(`name`, `param1?`, `param2?`): `Promise`\<`void`\>
|
|
21185
22016
|
|
|
21186
|
-
Defined in: [lib/form.ts:
|
|
22017
|
+
Defined in: [lib/form.ts:379](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L379)
|
|
21187
22018
|
|
|
21188
22019
|
触发系统方法
|
|
21189
22020
|
|
|
@@ -21221,7 +22052,7 @@ Defined in: [lib/form.ts:376](https://github.com/maiyun/clickgo/blob/master/dist
|
|
|
21221
22052
|
|
|
21222
22053
|
> **watch**\<`T`, `TK`, `TR`\>(`name`, `cb`, `opt?`): () => `void`
|
|
21223
22054
|
|
|
21224
|
-
Defined in: [lib/form.ts:
|
|
22055
|
+
Defined in: [lib/form.ts:335](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L335)
|
|
21225
22056
|
|
|
21226
22057
|
监视变动
|
|
21227
22058
|
|
|
@@ -21286,7 +22117,7 @@ lib/form/functions/alert.md
|
|
|
21286
22117
|
|
|
21287
22118
|
> **alert**(`content`, `type?`): `number`
|
|
21288
22119
|
|
|
21289
|
-
Defined in: [lib/form.ts:
|
|
22120
|
+
Defined in: [lib/form.ts:2622](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2622)
|
|
21290
22121
|
|
|
21291
22122
|
从下方弹出 alert
|
|
21292
22123
|
|
|
@@ -21321,7 +22152,7 @@ lib/form/functions/appendToPop.md
|
|
|
21321
22152
|
|
|
21322
22153
|
> **appendToPop**(`el`): `void`
|
|
21323
22154
|
|
|
21324
|
-
Defined in: [lib/form.ts:
|
|
22155
|
+
Defined in: [lib/form.ts:2871](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2871)
|
|
21325
22156
|
|
|
21326
22157
|
将标签追加到 pop 层
|
|
21327
22158
|
|
|
@@ -21350,7 +22181,7 @@ lib/form/functions/bindDrag.md
|
|
|
21350
22181
|
|
|
21351
22182
|
> **bindDrag**(`e`): `void`
|
|
21352
22183
|
|
|
21353
|
-
Defined in: [lib/form.ts:
|
|
22184
|
+
Defined in: [lib/form.ts:1991](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1991)
|
|
21354
22185
|
|
|
21355
22186
|
绑定窗体拖动事件,在 pointerdown 中绑定
|
|
21356
22187
|
|
|
@@ -21379,7 +22210,7 @@ lib/form/functions/bindResize.md
|
|
|
21379
22210
|
|
|
21380
22211
|
> **bindResize**(`e`, `border`): `void`
|
|
21381
22212
|
|
|
21382
|
-
Defined in: [lib/form.ts:
|
|
22213
|
+
Defined in: [lib/form.ts:1970](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1970)
|
|
21383
22214
|
|
|
21384
22215
|
绑定窗体拖动大小事件,在 pointerdown 中绑定
|
|
21385
22216
|
|
|
@@ -21414,7 +22245,7 @@ lib/form/functions/captcha.md
|
|
|
21414
22245
|
|
|
21415
22246
|
> **captcha**(`current`, `opt`): `Promise`\<`false` \| [`ICaptchaResultEvent`](../../control/interfaces/ICaptchaResultEvent.md)\>
|
|
21416
22247
|
|
|
21417
|
-
Defined in: [lib/form.ts:
|
|
22248
|
+
Defined in: [lib/form.ts:4354](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4354)
|
|
21418
22249
|
|
|
21419
22250
|
显示一个验证码窗口
|
|
21420
22251
|
|
|
@@ -21451,7 +22282,7 @@ lib/form/functions/changeFocusMaxZIndex.md
|
|
|
21451
22282
|
|
|
21452
22283
|
> **changeFocusMaxZIndex**(): `Promise`\<`void`\>
|
|
21453
22284
|
|
|
21454
|
-
Defined in: [lib/form.ts:
|
|
22285
|
+
Defined in: [lib/form.ts:2433](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2433)
|
|
21455
22286
|
|
|
21456
22287
|
让最大的 z index 窗体获取焦点(不含 top 和最小化的)
|
|
21457
22288
|
|
|
@@ -21472,7 +22303,7 @@ lib/form/functions/changeFocus.md
|
|
|
21472
22303
|
|
|
21473
22304
|
> **changeFocus**(`formId?`): `Promise`\<`void`\>
|
|
21474
22305
|
|
|
21475
|
-
Defined in: [lib/form.ts:
|
|
22306
|
+
Defined in: [lib/form.ts:2278](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2278)
|
|
21476
22307
|
|
|
21477
22308
|
改变 form 的焦点 class
|
|
21478
22309
|
|
|
@@ -21501,7 +22332,7 @@ lib/form/functions/close.md
|
|
|
21501
22332
|
|
|
21502
22333
|
> **close**(`formId`): `boolean`
|
|
21503
22334
|
|
|
21504
|
-
Defined in: [lib/form.ts:
|
|
22335
|
+
Defined in: [lib/form.ts:1961](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1961)
|
|
21505
22336
|
|
|
21506
22337
|
关闭一个窗体
|
|
21507
22338
|
|
|
@@ -21530,7 +22361,7 @@ lib/form/functions/confirm.md
|
|
|
21530
22361
|
|
|
21531
22362
|
> **confirm**(`current`, `opt`): `Promise`\<`number` \| `boolean`\>
|
|
21532
22363
|
|
|
21533
|
-
Defined in: [lib/form.ts:
|
|
22364
|
+
Defined in: [lib/form.ts:4425](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4425)
|
|
21534
22365
|
|
|
21535
22366
|
显示一个 confirm
|
|
21536
22367
|
|
|
@@ -21565,7 +22396,7 @@ lib/form/functions/create.md
|
|
|
21565
22396
|
|
|
21566
22397
|
> **create**\<`T`\>(`current`, `cls`, `data?`, `opt?`): `Promise`\<`T`\>
|
|
21567
22398
|
|
|
21568
|
-
Defined in: [lib/form.ts:
|
|
22399
|
+
Defined in: [lib/form.ts:3773](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3773)
|
|
21569
22400
|
|
|
21570
22401
|
创建一个窗体
|
|
21571
22402
|
|
|
@@ -21630,7 +22461,7 @@ lib/form/functions/createPanel.md
|
|
|
21630
22461
|
|
|
21631
22462
|
> **createPanel**\<`T`\>(`rootPanel`, `cls`, `opt?`): `Promise`\<\{ `id`: `string`; `vapp`: [`IVApp`](../../core/interfaces/IVApp.md); `vroot`: `T`; \}\>
|
|
21632
22463
|
|
|
21633
|
-
Defined in: [lib/form.ts:
|
|
22464
|
+
Defined in: [lib/form.ts:3406](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3406)
|
|
21634
22465
|
|
|
21635
22466
|
创建 panel 对象,一般情况下无需使用
|
|
21636
22467
|
|
|
@@ -21693,7 +22524,7 @@ lib/form/functions/dialog.md
|
|
|
21693
22524
|
|
|
21694
22525
|
> **dialog**(`current`, `opt`): `Promise`\<`string`\>
|
|
21695
22526
|
|
|
21696
|
-
Defined in: [lib/form.ts:
|
|
22527
|
+
Defined in: [lib/form.ts:4258](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4258)
|
|
21697
22528
|
|
|
21698
22529
|
显示一个 dialog
|
|
21699
22530
|
|
|
@@ -21728,7 +22559,7 @@ lib/form/functions/doFocusAndPopEvent.md
|
|
|
21728
22559
|
|
|
21729
22560
|
> **doFocusAndPopEvent**(`e`): `Promise`\<`void`\>
|
|
21730
22561
|
|
|
21731
|
-
Defined in: [lib/form.ts:
|
|
22562
|
+
Defined in: [lib/form.ts:3207](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3207)
|
|
21732
22563
|
|
|
21733
22564
|
点下 pointerdown 屏幕任意一位置时根据点击处处理隐藏 pop 和焦点丢失事件,鼠标和 touch 只会响应一个
|
|
21734
22565
|
|
|
@@ -21757,7 +22588,7 @@ lib/form/functions/flash.md
|
|
|
21757
22588
|
|
|
21758
22589
|
> **flash**(`current`, `formId`): `Promise`\<`void`\>
|
|
21759
22590
|
|
|
21760
|
-
Defined in: [lib/form.ts:
|
|
22591
|
+
Defined in: [lib/form.ts:4522](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4522)
|
|
21761
22592
|
|
|
21762
22593
|
让窗体闪烁
|
|
21763
22594
|
|
|
@@ -21792,7 +22623,7 @@ lib/form/functions/getActivePanel.md
|
|
|
21792
22623
|
|
|
21793
22624
|
> **getActivePanel**(`formId`): `string`[]
|
|
21794
22625
|
|
|
21795
|
-
Defined in: [lib/form.ts:
|
|
22626
|
+
Defined in: [lib/form.ts:2150](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2150)
|
|
21796
22627
|
|
|
21797
22628
|
获取窗体当前活跃中的 panelId 列表
|
|
21798
22629
|
|
|
@@ -21821,7 +22652,7 @@ lib/form/functions/getFocus.md
|
|
|
21821
22652
|
|
|
21822
22653
|
> **getFocus**(): `string` \| `null`
|
|
21823
22654
|
|
|
21824
|
-
Defined in: [lib/form.ts:
|
|
22655
|
+
Defined in: [lib/form.ts:2137](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2137)
|
|
21825
22656
|
|
|
21826
22657
|
获取当前有焦点的窗体 form id
|
|
21827
22658
|
|
|
@@ -21842,7 +22673,7 @@ lib/form/functions/getHash.md
|
|
|
21842
22673
|
|
|
21843
22674
|
> **getHash**(`formId`): `string`
|
|
21844
22675
|
|
|
21845
|
-
Defined in: [lib/form.ts:
|
|
22676
|
+
Defined in: [lib/form.ts:2238](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2238)
|
|
21846
22677
|
|
|
21847
22678
|
获取窗体的 hash
|
|
21848
22679
|
|
|
@@ -21869,7 +22700,7 @@ lib/form/functions/getList.md
|
|
|
21869
22700
|
|
|
21870
22701
|
> **getList**(`taskId`): `Record`\<`string`, [`IFormInfo`](../interfaces/IFormInfo.md)\>
|
|
21871
22702
|
|
|
21872
|
-
Defined in: [lib/form.ts:
|
|
22703
|
+
Defined in: [lib/form.ts:2109](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2109)
|
|
21873
22704
|
|
|
21874
22705
|
获取 form list 的简略情况
|
|
21875
22706
|
|
|
@@ -21898,7 +22729,7 @@ lib/form/functions/getMaxZIndexID.md
|
|
|
21898
22729
|
|
|
21899
22730
|
> **getMaxZIndexID**(`current`, `out?`): `Promise`\<`string` \| `null`\>
|
|
21900
22731
|
|
|
21901
|
-
Defined in: [lib/form.ts:
|
|
22732
|
+
Defined in: [lib/form.ts:2381](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2381)
|
|
21902
22733
|
|
|
21903
22734
|
获取当前 z-index 值最大的 form id(除了 top 模式的窗体和最小化的窗体)
|
|
21904
22735
|
|
|
@@ -21939,7 +22770,7 @@ lib/form/functions/get.md
|
|
|
21939
22770
|
|
|
21940
22771
|
> **get**(`formId`): [`IFormInfo`](../interfaces/IFormInfo.md) \| `null`
|
|
21941
22772
|
|
|
21942
|
-
Defined in: [lib/form.ts:
|
|
22773
|
+
Defined in: [lib/form.ts:2062](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2062)
|
|
21943
22774
|
|
|
21944
22775
|
获取窗体信息
|
|
21945
22776
|
|
|
@@ -21968,7 +22799,7 @@ lib/form/functions/getRectByBorder.md
|
|
|
21968
22799
|
|
|
21969
22800
|
> **getRectByBorder**(`border`): `object`
|
|
21970
22801
|
|
|
21971
|
-
Defined in: [lib/form.ts:
|
|
22802
|
+
Defined in: [lib/form.ts:2445](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2445)
|
|
21972
22803
|
|
|
21973
22804
|
根据 border 方向 获取理论窗体大小
|
|
21974
22805
|
|
|
@@ -22013,7 +22844,7 @@ lib/form/functions/getTaskId.md
|
|
|
22013
22844
|
|
|
22014
22845
|
> **getTaskId**(`formId`): `string`
|
|
22015
22846
|
|
|
22016
|
-
Defined in: [lib/form.ts:
|
|
22847
|
+
Defined in: [lib/form.ts:2045](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2045)
|
|
22017
22848
|
|
|
22018
22849
|
根据窗体 id 获取 task id
|
|
22019
22850
|
|
|
@@ -22042,7 +22873,7 @@ lib/form/functions/hashBack.md
|
|
|
22042
22873
|
|
|
22043
22874
|
> **hashBack**(`formId`): `Promise`\<`boolean`\>
|
|
22044
22875
|
|
|
22045
|
-
Defined in: [lib/form.ts:
|
|
22876
|
+
Defined in: [lib/form.ts:2257](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2257)
|
|
22046
22877
|
|
|
22047
22878
|
将窗体的 hash 退回上一个
|
|
22048
22879
|
|
|
@@ -22069,7 +22900,7 @@ lib/form/functions/hash.md
|
|
|
22069
22900
|
|
|
22070
22901
|
> **hash**(`formId`, `hash`): `boolean`
|
|
22071
22902
|
|
|
22072
|
-
Defined in: [lib/form.ts:
|
|
22903
|
+
Defined in: [lib/form.ts:2218](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2218)
|
|
22073
22904
|
|
|
22074
22905
|
修改窗体 hash
|
|
22075
22906
|
|
|
@@ -22104,7 +22935,7 @@ lib/form/functions/hideKeyboard.md
|
|
|
22104
22935
|
|
|
22105
22936
|
> **hideKeyboard**(): `void`
|
|
22106
22937
|
|
|
22107
|
-
Defined in: [lib/form.ts:
|
|
22938
|
+
Defined in: [lib/form.ts:1905](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1905)
|
|
22108
22939
|
|
|
22109
22940
|
隐藏系统级虚拟键盘
|
|
22110
22941
|
|
|
@@ -22125,7 +22956,7 @@ lib/form/functions/hideLauncher.md
|
|
|
22125
22956
|
|
|
22126
22957
|
> **hideLauncher**(): `void`
|
|
22127
22958
|
|
|
22128
|
-
Defined in: [lib/form.ts:
|
|
22959
|
+
Defined in: [lib/form.ts:4559](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4559)
|
|
22129
22960
|
|
|
22130
22961
|
隐藏 launcher 界面
|
|
22131
22962
|
|
|
@@ -22146,7 +22977,7 @@ lib/form/functions/hideNotify.md
|
|
|
22146
22977
|
|
|
22147
22978
|
> **hideNotify**(`notifyId`): `void`
|
|
22148
22979
|
|
|
22149
|
-
Defined in: [lib/form.ts:
|
|
22980
|
+
Defined in: [lib/form.ts:2837](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2837)
|
|
22150
22981
|
|
|
22151
22982
|
隐藏 notify
|
|
22152
22983
|
|
|
@@ -22175,7 +23006,7 @@ lib/form/functions/hidePop.md
|
|
|
22175
23006
|
|
|
22176
23007
|
> **hidePop**(`pop?`): `void`
|
|
22177
23008
|
|
|
22178
|
-
Defined in: [lib/form.ts:
|
|
23009
|
+
Defined in: [lib/form.ts:3106](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3106)
|
|
22179
23010
|
|
|
22180
23011
|
隐藏正在显示中的所有 pop,或指定 pop/el
|
|
22181
23012
|
|
|
@@ -22202,7 +23033,7 @@ lib/form/functions/hideRectangle.md
|
|
|
22202
23033
|
|
|
22203
23034
|
> **hideRectangle**(): `void`
|
|
22204
23035
|
|
|
22205
|
-
Defined in: [lib/form.ts:
|
|
23036
|
+
Defined in: [lib/form.ts:2608](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2608)
|
|
22206
23037
|
|
|
22207
23038
|
结束时请隐藏矩形
|
|
22208
23039
|
|
|
@@ -22223,7 +23054,7 @@ lib/form/functions/init.md
|
|
|
22223
23054
|
|
|
22224
23055
|
> **init**(): `void`
|
|
22225
23056
|
|
|
22226
|
-
Defined in: [lib/form.ts:
|
|
23057
|
+
Defined in: [lib/form.ts:4573](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4573)
|
|
22227
23058
|
|
|
22228
23059
|
## Returns
|
|
22229
23060
|
|
|
@@ -22271,7 +23102,7 @@ lib/form/functions/isJustPop.md
|
|
|
22271
23102
|
|
|
22272
23103
|
> **isJustPop**(`el`): `boolean`
|
|
22273
23104
|
|
|
22274
|
-
Defined in: [lib/form.ts:
|
|
23105
|
+
Defined in: [lib/form.ts:3188](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3188)
|
|
22275
23106
|
|
|
22276
23107
|
检测 pop 是不是刚刚显示的
|
|
22277
23108
|
|
|
@@ -22298,7 +23129,7 @@ lib/form/functions/max.md
|
|
|
22298
23129
|
|
|
22299
23130
|
> **max**(`formId`): `boolean`
|
|
22300
23131
|
|
|
22301
|
-
Defined in: [lib/form.ts:
|
|
23132
|
+
Defined in: [lib/form.ts:1953](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1953)
|
|
22302
23133
|
|
|
22303
23134
|
最大化某个窗体
|
|
22304
23135
|
|
|
@@ -22327,7 +23158,7 @@ lib/form/functions/min.md
|
|
|
22327
23158
|
|
|
22328
23159
|
> **min**(`formId`): `boolean`
|
|
22329
23160
|
|
|
22330
|
-
Defined in: [lib/form.ts:
|
|
23161
|
+
Defined in: [lib/form.ts:1945](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1945)
|
|
22331
23162
|
|
|
22332
23163
|
最小化某个窗体
|
|
22333
23164
|
|
|
@@ -22356,7 +23187,7 @@ lib/form/functions/moveRectangle.md
|
|
|
22356
23187
|
|
|
22357
23188
|
> **moveRectangle**(`border`): `void`
|
|
22358
23189
|
|
|
22359
|
-
Defined in: [lib/form.ts:
|
|
23190
|
+
Defined in: [lib/form.ts:2555](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2555)
|
|
22360
23191
|
|
|
22361
23192
|
移动矩形到新位置
|
|
22362
23193
|
|
|
@@ -22385,7 +23216,7 @@ lib/form/functions/notifyContent.md
|
|
|
22385
23216
|
|
|
22386
23217
|
> **notifyContent**(`notifyId`, `opt`): `void`
|
|
22387
23218
|
|
|
22388
|
-
Defined in: [lib/form.ts:
|
|
23219
|
+
Defined in: [lib/form.ts:2797](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2797)
|
|
22389
23220
|
|
|
22390
23221
|
修改 notify 的提示信息
|
|
22391
23222
|
|
|
@@ -22420,7 +23251,7 @@ lib/form/functions/notify.md
|
|
|
22420
23251
|
|
|
22421
23252
|
> **notify**(`opt`): `number`
|
|
22422
23253
|
|
|
22423
|
-
Defined in: [lib/form.ts:
|
|
23254
|
+
Defined in: [lib/form.ts:2683](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2683)
|
|
22424
23255
|
|
|
22425
23256
|
弹出右下角信息框
|
|
22426
23257
|
|
|
@@ -22451,7 +23282,7 @@ lib/form/functions/notifyProgress.md
|
|
|
22451
23282
|
|
|
22452
23283
|
> **notifyProgress**(`notifyId`, `per`): `void`
|
|
22453
23284
|
|
|
22454
|
-
Defined in: [lib/form.ts:
|
|
23285
|
+
Defined in: [lib/form.ts:2766](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2766)
|
|
22455
23286
|
|
|
22456
23287
|
修改 notify 的进度条进度
|
|
22457
23288
|
|
|
@@ -22486,7 +23317,7 @@ lib/form/functions/prompt.md
|
|
|
22486
23317
|
|
|
22487
23318
|
> **prompt**(`current`, `opt`): `Promise`\<`string`\>
|
|
22488
23319
|
|
|
22489
|
-
Defined in: [lib/form.ts:
|
|
23320
|
+
Defined in: [lib/form.ts:4462](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4462)
|
|
22490
23321
|
|
|
22491
23322
|
显示一个输入框 dialog
|
|
22492
23323
|
|
|
@@ -22521,7 +23352,7 @@ lib/form/functions/refreshMaxPosition.md
|
|
|
22521
23352
|
|
|
22522
23353
|
> **refreshMaxPosition**(): `void`
|
|
22523
23354
|
|
|
22524
|
-
Defined in: [lib/form.ts:
|
|
23355
|
+
Defined in: [lib/form.ts:2011](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2011)
|
|
22525
23356
|
|
|
22526
23357
|
重置所有已经最大化的窗体大小和位置
|
|
22527
23358
|
|
|
@@ -22542,7 +23373,7 @@ lib/form/functions/removeActivePanel.md
|
|
|
22542
23373
|
|
|
22543
23374
|
> **removeActivePanel**(`current`, `formId`, `panelId`): `boolean`
|
|
22544
23375
|
|
|
22545
|
-
Defined in: [lib/form.ts:
|
|
23376
|
+
Defined in: [lib/form.ts:2160](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2160)
|
|
22546
23377
|
|
|
22547
23378
|
移除 form 中正在活跃中的 panel id (panel 本身被置于隐藏时)
|
|
22548
23379
|
|
|
@@ -22583,7 +23414,7 @@ lib/form/functions/removeFromPop.md
|
|
|
22583
23414
|
|
|
22584
23415
|
> **removeFromPop**(`el`): `void`
|
|
22585
23416
|
|
|
22586
|
-
Defined in: [lib/form.ts:
|
|
23417
|
+
Defined in: [lib/form.ts:2879](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2879)
|
|
22587
23418
|
|
|
22588
23419
|
将标签从 pop 层移除
|
|
22589
23420
|
|
|
@@ -22612,7 +23443,7 @@ lib/form/functions/remove.md
|
|
|
22612
23443
|
|
|
22613
23444
|
> **remove**(`formId`): `boolean`
|
|
22614
23445
|
|
|
22615
|
-
Defined in: [lib/form.ts:
|
|
23446
|
+
Defined in: [lib/form.ts:3276](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3276)
|
|
22616
23447
|
|
|
22617
23448
|
移除一个 form(关闭窗口)
|
|
22618
23449
|
|
|
@@ -22641,7 +23472,7 @@ lib/form/functions/removePanel.md
|
|
|
22641
23472
|
|
|
22642
23473
|
> **removePanel**(`id`, `vapp`, `el`): `boolean`
|
|
22643
23474
|
|
|
22644
|
-
Defined in: [lib/form.ts:
|
|
23475
|
+
Defined in: [lib/form.ts:3349](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L3349)
|
|
22645
23476
|
|
|
22646
23477
|
移除 panel 挂载,通常发生在 panel 控件的 onBeforeUnmount 中
|
|
22647
23478
|
|
|
@@ -22682,7 +23513,7 @@ lib/form/functions/send.md
|
|
|
22682
23513
|
|
|
22683
23514
|
> **send**(`formId`, `obj`): `void`
|
|
22684
23515
|
|
|
22685
|
-
Defined in: [lib/form.ts:
|
|
23516
|
+
Defined in: [lib/form.ts:2092](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2092)
|
|
22686
23517
|
|
|
22687
23518
|
给一个窗体发送一个对象,不会知道成功与失败状态,用 this.send 替代
|
|
22688
23519
|
|
|
@@ -22717,7 +23548,7 @@ lib/form/functions/setActivePanel.md
|
|
|
22717
23548
|
|
|
22718
23549
|
> **setActivePanel**(`current`, `formId`, `panelId`): `boolean`
|
|
22719
23550
|
|
|
22720
|
-
Defined in: [lib/form.ts:
|
|
23551
|
+
Defined in: [lib/form.ts:2191](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2191)
|
|
22721
23552
|
|
|
22722
23553
|
将 form 中某个 panel 设置为活动的
|
|
22723
23554
|
|
|
@@ -22758,7 +23589,7 @@ lib/form/functions/showCircular.md
|
|
|
22758
23589
|
|
|
22759
23590
|
> **showCircular**(`x`, `y`): `void`
|
|
22760
23591
|
|
|
22761
|
-
Defined in: [lib/form.ts:
|
|
23592
|
+
Defined in: [lib/form.ts:2530](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2530)
|
|
22762
23593
|
|
|
22763
23594
|
显示从小到大的圆圈动画特效对象
|
|
22764
23595
|
|
|
@@ -22793,7 +23624,7 @@ lib/form/functions/showKeyboard.md
|
|
|
22793
23624
|
|
|
22794
23625
|
> **showKeyboard**(): `void`
|
|
22795
23626
|
|
|
22796
|
-
Defined in: [lib/form.ts:
|
|
23627
|
+
Defined in: [lib/form.ts:1888](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1888)
|
|
22797
23628
|
|
|
22798
23629
|
显示系统级虚拟键盘
|
|
22799
23630
|
|
|
@@ -22814,7 +23645,7 @@ lib/form/functions/showLauncher.md
|
|
|
22814
23645
|
|
|
22815
23646
|
> **showLauncher**(): `void`
|
|
22816
23647
|
|
|
22817
|
-
Defined in: [lib/form.ts:
|
|
23648
|
+
Defined in: [lib/form.ts:4549](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4549)
|
|
22818
23649
|
|
|
22819
23650
|
显示 launcher 界面
|
|
22820
23651
|
|
|
@@ -22835,7 +23666,7 @@ lib/form/functions/showPop.md
|
|
|
22835
23666
|
|
|
22836
23667
|
> **showPop**(`el`, `pop`, `direction`, `opt?`): `void`
|
|
22837
23668
|
|
|
22838
|
-
Defined in: [lib/form.ts:
|
|
23669
|
+
Defined in: [lib/form.ts:2992](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2992)
|
|
22839
23670
|
|
|
22840
23671
|
获取 pop 显示出来的坐标并报系统全局记录
|
|
22841
23672
|
|
|
@@ -22914,7 +23745,7 @@ lib/form/functions/showRectangle.md
|
|
|
22914
23745
|
|
|
22915
23746
|
> **showRectangle**(`x`, `y`, `border`): `void`
|
|
22916
23747
|
|
|
22917
|
-
Defined in: [lib/form.ts:
|
|
23748
|
+
Defined in: [lib/form.ts:2585](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2585)
|
|
22918
23749
|
|
|
22919
23750
|
显示从小到大的矩形动画特效对象
|
|
22920
23751
|
|
|
@@ -22955,7 +23786,7 @@ lib/form/functions/superConfirm.md
|
|
|
22955
23786
|
|
|
22956
23787
|
> **superConfirm**(`current`, `html`): `Promise`\<`boolean`\>
|
|
22957
23788
|
|
|
22958
|
-
Defined in: [lib/form.ts:
|
|
23789
|
+
Defined in: [lib/form.ts:1867](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1867)
|
|
22959
23790
|
|
|
22960
23791
|
显示系统级询问框
|
|
22961
23792
|
|
|
@@ -22986,6 +23817,7 @@ lib/form/index.md
|
|
|
22986
23817
|
|
|
22987
23818
|
## Classes
|
|
22988
23819
|
|
|
23820
|
+
- [AbstractComponent](classes/AbstractComponent.md)
|
|
22989
23821
|
- [AbstractForm](classes/AbstractForm.md)
|
|
22990
23822
|
- [AbstractPanel](classes/AbstractPanel.md)
|
|
22991
23823
|
|
|
@@ -23078,7 +23910,7 @@ lib/form/interfaces/IAbstractPanelQsChangeShowEvent.md
|
|
|
23078
23910
|
|
|
23079
23911
|
# Interface: IAbstractPanelQsChangeShowEvent
|
|
23080
23912
|
|
|
23081
|
-
Defined in: [lib/form.ts:
|
|
23913
|
+
Defined in: [lib/form.ts:4599](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4599)
|
|
23082
23914
|
|
|
23083
23915
|
AbstractPanel qsChange 显示事件
|
|
23084
23916
|
|
|
@@ -23088,7 +23920,7 @@ AbstractPanel qsChange 显示事件
|
|
|
23088
23920
|
|
|
23089
23921
|
> **detail**: `object`
|
|
23090
23922
|
|
|
23091
|
-
Defined in: [lib/form.ts:
|
|
23923
|
+
Defined in: [lib/form.ts:4600](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4600)
|
|
23092
23924
|
|
|
23093
23925
|
#### action
|
|
23094
23926
|
|
|
@@ -23129,7 +23961,7 @@ lib/form/interfaces/IAbstractPanelShowEvent.md
|
|
|
23129
23961
|
|
|
23130
23962
|
# Interface: IAbstractPanelShowEvent
|
|
23131
23963
|
|
|
23132
|
-
Defined in: [lib/form.ts:
|
|
23964
|
+
Defined in: [lib/form.ts:4584](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4584)
|
|
23133
23965
|
|
|
23134
23966
|
AbstractPanel 显示事件
|
|
23135
23967
|
|
|
@@ -23139,7 +23971,7 @@ AbstractPanel 显示事件
|
|
|
23139
23971
|
|
|
23140
23972
|
> **detail**: `object`
|
|
23141
23973
|
|
|
23142
|
-
Defined in: [lib/form.ts:
|
|
23974
|
+
Defined in: [lib/form.ts:4585](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4585)
|
|
23143
23975
|
|
|
23144
23976
|
#### action
|
|
23145
23977
|
|
|
@@ -23180,7 +24012,7 @@ lib/form/interfaces/IFormCaptchaOptions.md
|
|
|
23180
24012
|
|
|
23181
24013
|
# Interface: IFormCaptchaOptions
|
|
23182
24014
|
|
|
23183
|
-
Defined in: [lib/form.ts:
|
|
24015
|
+
Defined in: [lib/form.ts:4729](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4729)
|
|
23184
24016
|
|
|
23185
24017
|
显示验证码选项
|
|
23186
24018
|
|
|
@@ -23190,7 +24022,7 @@ Defined in: [lib/form.ts:4334](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23190
24022
|
|
|
23191
24023
|
> **akey**: `string`
|
|
23192
24024
|
|
|
23193
|
-
Defined in: [lib/form.ts:
|
|
24025
|
+
Defined in: [lib/form.ts:4733](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4733)
|
|
23194
24026
|
|
|
23195
24027
|
验证码 key
|
|
23196
24028
|
|
|
@@ -23200,7 +24032,7 @@ Defined in: [lib/form.ts:4338](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23200
24032
|
|
|
23201
24033
|
> **factory**: `"tc"` \| `"cf"`
|
|
23202
24034
|
|
|
23203
|
-
Defined in: [lib/form.ts:
|
|
24035
|
+
Defined in: [lib/form.ts:4731](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4731)
|
|
23204
24036
|
|
|
23205
24037
|
验证码服务商
|
|
23206
24038
|
|
|
@@ -23215,7 +24047,7 @@ lib/form/interfaces/IFormConfirmOptions.md
|
|
|
23215
24047
|
|
|
23216
24048
|
# Interface: IFormConfirmOptions
|
|
23217
24049
|
|
|
23218
|
-
Defined in: [lib/form.ts:
|
|
24050
|
+
Defined in: [lib/form.ts:4722](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4722)
|
|
23219
24051
|
|
|
23220
24052
|
Confirm 选项
|
|
23221
24053
|
|
|
@@ -23225,7 +24057,7 @@ Confirm 选项
|
|
|
23225
24057
|
|
|
23226
24058
|
> `optional` **cancel?**: `boolean`
|
|
23227
24059
|
|
|
23228
|
-
Defined in: [lib/form.ts:
|
|
24060
|
+
Defined in: [lib/form.ts:4725](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4725)
|
|
23229
24061
|
|
|
23230
24062
|
***
|
|
23231
24063
|
|
|
@@ -23233,7 +24065,7 @@ Defined in: [lib/form.ts:4330](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23233
24065
|
|
|
23234
24066
|
> **content**: `string`
|
|
23235
24067
|
|
|
23236
|
-
Defined in: [lib/form.ts:
|
|
24068
|
+
Defined in: [lib/form.ts:4724](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4724)
|
|
23237
24069
|
|
|
23238
24070
|
***
|
|
23239
24071
|
|
|
@@ -23241,7 +24073,7 @@ Defined in: [lib/form.ts:4329](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23241
24073
|
|
|
23242
24074
|
> `optional` **title?**: `string`
|
|
23243
24075
|
|
|
23244
|
-
Defined in: [lib/form.ts:
|
|
24076
|
+
Defined in: [lib/form.ts:4723](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4723)
|
|
23245
24077
|
|
|
23246
24078
|
lib/form/interfaces/IFormDialogOptions.md
|
|
23247
24079
|
---
|
|
@@ -23254,7 +24086,7 @@ lib/form/interfaces/IFormDialogOptions.md
|
|
|
23254
24086
|
|
|
23255
24087
|
# Interface: IFormDialogOptions
|
|
23256
24088
|
|
|
23257
|
-
Defined in: [lib/form.ts:
|
|
24089
|
+
Defined in: [lib/form.ts:4668](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4668)
|
|
23258
24090
|
|
|
23259
24091
|
Dialog 选项
|
|
23260
24092
|
|
|
@@ -23264,7 +24096,7 @@ Dialog 选项
|
|
|
23264
24096
|
|
|
23265
24097
|
> `optional` **autoDialogResult?**: `boolean`
|
|
23266
24098
|
|
|
23267
|
-
Defined in: [lib/form.ts:
|
|
24099
|
+
Defined in: [lib/form.ts:4676](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4676)
|
|
23268
24100
|
|
|
23269
24101
|
点击按钮后是否自动将按钮文本写入 dialogResult,默认 true
|
|
23270
24102
|
|
|
@@ -23274,7 +24106,7 @@ Defined in: [lib/form.ts:4281](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23274
24106
|
|
|
23275
24107
|
> `optional` **buttons?**: `string`[]
|
|
23276
24108
|
|
|
23277
|
-
Defined in: [lib/form.ts:
|
|
24109
|
+
Defined in: [lib/form.ts:4674](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4674)
|
|
23278
24110
|
|
|
23279
24111
|
底部按钮文本列表,默认使用当前语言的确定按钮文本
|
|
23280
24112
|
|
|
@@ -23284,7 +24116,7 @@ Defined in: [lib/form.ts:4279](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23284
24116
|
|
|
23285
24117
|
> **content**: `string`
|
|
23286
24118
|
|
|
23287
|
-
Defined in: [lib/form.ts:
|
|
24119
|
+
Defined in: [lib/form.ts:4672](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4672)
|
|
23288
24120
|
|
|
23289
24121
|
dialog 内容,支持直接传布局字符串
|
|
23290
24122
|
|
|
@@ -23294,7 +24126,7 @@ dialog 内容,支持直接传布局字符串
|
|
|
23294
24126
|
|
|
23295
24127
|
> `optional` **data?**: `Record`\<`string`, `any`\>
|
|
23296
24128
|
|
|
23297
|
-
Defined in: [lib/form.ts:
|
|
24129
|
+
Defined in: [lib/form.ts:4690](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4690)
|
|
23298
24130
|
|
|
23299
24131
|
传值,需要用 data.x 读取
|
|
23300
24132
|
|
|
@@ -23304,7 +24136,7 @@ Defined in: [lib/form.ts:4295](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23304
24136
|
|
|
23305
24137
|
> `optional` **direction?**: `"v"` \| `"h"`
|
|
23306
24138
|
|
|
23307
|
-
Defined in: [lib/form.ts:
|
|
24139
|
+
Defined in: [lib/form.ts:4679](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4679)
|
|
23308
24140
|
|
|
23309
24141
|
dialog 控件内容布局方向,h 为横向,v 为纵向
|
|
23310
24142
|
|
|
@@ -23314,7 +24146,7 @@ dialog 控件内容布局方向,h 为横向,v 为纵向
|
|
|
23314
24146
|
|
|
23315
24147
|
> `optional` **gutter?**: `string` \| `number`
|
|
23316
24148
|
|
|
23317
|
-
Defined in: [lib/form.ts:
|
|
24149
|
+
Defined in: [lib/form.ts:4681](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4681)
|
|
23318
24150
|
|
|
23319
24151
|
dialog 控件内容区项目间距,会透传给 dialog 控件
|
|
23320
24152
|
|
|
@@ -23324,7 +24156,7 @@ dialog 控件内容区项目间距,会透传给 dialog 控件
|
|
|
23324
24156
|
|
|
23325
24157
|
> `optional` **height?**: `string` \| `number`
|
|
23326
24158
|
|
|
23327
|
-
Defined in: [lib/form.ts:
|
|
24159
|
+
Defined in: [lib/form.ts:4685](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4685)
|
|
23328
24160
|
|
|
23329
24161
|
dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用高度
|
|
23330
24162
|
|
|
@@ -23334,7 +24166,7 @@ dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用
|
|
|
23334
24166
|
|
|
23335
24167
|
> `optional` **methods?**: `Record`\<`string`, (...`param`) => `any`\>
|
|
23336
24168
|
|
|
23337
|
-
Defined in: [lib/form.ts:
|
|
24169
|
+
Defined in: [lib/form.ts:4692](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4692)
|
|
23338
24170
|
|
|
23339
24171
|
传值,需要用 methods.x 读取
|
|
23340
24172
|
|
|
@@ -23344,7 +24176,7 @@ Defined in: [lib/form.ts:4297](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23344
24176
|
|
|
23345
24177
|
> `optional` **onMounted?**: () => `void` \| `Promise`\<`void`\>
|
|
23346
24178
|
|
|
23347
|
-
Defined in: [lib/form.ts:
|
|
24179
|
+
Defined in: [lib/form.ts:4712](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4712)
|
|
23348
24180
|
|
|
23349
24181
|
窗体挂载完成事件
|
|
23350
24182
|
|
|
@@ -23358,7 +24190,7 @@ Defined in: [lib/form.ts:4317](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23358
24190
|
|
|
23359
24191
|
> `optional` **padding?**: `string` \| `boolean`
|
|
23360
24192
|
|
|
23361
|
-
Defined in: [lib/form.ts:
|
|
24193
|
+
Defined in: [lib/form.ts:4687](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4687)
|
|
23362
24194
|
|
|
23363
24195
|
dialog 控件内容区是否显示内边距,默认表现与控件自身一致
|
|
23364
24196
|
|
|
@@ -23368,7 +24200,7 @@ dialog 控件内容区是否显示内边距,默认表现与控件自身一致
|
|
|
23368
24200
|
|
|
23369
24201
|
> `optional` **path?**: `string`
|
|
23370
24202
|
|
|
23371
|
-
Defined in: [lib/form.ts:
|
|
24203
|
+
Defined in: [lib/form.ts:4696](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4696)
|
|
23372
24204
|
|
|
23373
24205
|
路径基,以 / 结束或文件路径则以文件的基路径为准,可留空
|
|
23374
24206
|
|
|
@@ -23378,7 +24210,7 @@ Defined in: [lib/form.ts:4301](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23378
24210
|
|
|
23379
24211
|
> `optional` **select?**: (`this`, `e`, `button`) => `void`
|
|
23380
24212
|
|
|
23381
|
-
Defined in: [lib/form.ts:
|
|
24213
|
+
Defined in: [lib/form.ts:4703](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4703)
|
|
23382
24214
|
|
|
23383
24215
|
点击按钮触发事件,不能用 Promise
|
|
23384
24216
|
|
|
@@ -23410,7 +24242,7 @@ Defined in: [lib/form.ts:4308](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23410
24242
|
|
|
23411
24243
|
> `optional` **style?**: `string`
|
|
23412
24244
|
|
|
23413
|
-
Defined in: [lib/form.ts:
|
|
24245
|
+
Defined in: [lib/form.ts:4694](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4694)
|
|
23414
24246
|
|
|
23415
24247
|
样式表
|
|
23416
24248
|
|
|
@@ -23420,7 +24252,7 @@ Defined in: [lib/form.ts:4299](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23420
24252
|
|
|
23421
24253
|
> `optional` **title?**: `string`
|
|
23422
24254
|
|
|
23423
|
-
Defined in: [lib/form.ts:
|
|
24255
|
+
Defined in: [lib/form.ts:4670](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4670)
|
|
23424
24256
|
|
|
23425
24257
|
dialog 窗体标题,不传则使用默认标题 dialog
|
|
23426
24258
|
|
|
@@ -23430,7 +24262,7 @@ dialog 窗体标题,不传则使用默认标题 dialog
|
|
|
23430
24262
|
|
|
23431
24263
|
> `optional` **width?**: `string` \| `number`
|
|
23432
24264
|
|
|
23433
|
-
Defined in: [lib/form.ts:
|
|
24265
|
+
Defined in: [lib/form.ts:4683](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4683)
|
|
23434
24266
|
|
|
23435
24267
|
dialog 控件宽度,传数字时为像素值,传 fill 时代表填充可用宽度
|
|
23436
24268
|
|
|
@@ -23445,7 +24277,7 @@ lib/form/interfaces/IFormDialogSelectEvent.md
|
|
|
23445
24277
|
|
|
23446
24278
|
# Interface: IFormDialogSelectEvent
|
|
23447
24279
|
|
|
23448
|
-
Defined in: [lib/form.ts:
|
|
24280
|
+
Defined in: [lib/form.ts:4715](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4715)
|
|
23449
24281
|
|
|
23450
24282
|
Custom Event
|
|
23451
24283
|
|
|
@@ -23459,7 +24291,7 @@ Custom Event
|
|
|
23459
24291
|
|
|
23460
24292
|
> **detail**: `object`
|
|
23461
24293
|
|
|
23462
|
-
Defined in: [lib/form.ts:
|
|
24294
|
+
Defined in: [lib/form.ts:4716](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4716)
|
|
23463
24295
|
|
|
23464
24296
|
#### button
|
|
23465
24297
|
|
|
@@ -23504,7 +24336,7 @@ lib/form/interfaces/IFormInfo.md
|
|
|
23504
24336
|
|
|
23505
24337
|
# Interface: IFormInfo
|
|
23506
24338
|
|
|
23507
|
-
Defined in: [lib/form.ts:
|
|
24339
|
+
Defined in: [lib/form.ts:4623](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4623)
|
|
23508
24340
|
|
|
23509
24341
|
Form 的简略情况,通常在 list 当中
|
|
23510
24342
|
|
|
@@ -23514,7 +24346,7 @@ Form 的简略情况,通常在 list 当中
|
|
|
23514
24346
|
|
|
23515
24347
|
> **focus**: `boolean`
|
|
23516
24348
|
|
|
23517
|
-
Defined in: [lib/form.ts:
|
|
24349
|
+
Defined in: [lib/form.ts:4630](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4630)
|
|
23518
24350
|
|
|
23519
24351
|
***
|
|
23520
24352
|
|
|
@@ -23522,7 +24354,7 @@ Defined in: [lib/form.ts:4235](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23522
24354
|
|
|
23523
24355
|
> **icon**: `string`
|
|
23524
24356
|
|
|
23525
|
-
Defined in: [lib/form.ts:
|
|
24357
|
+
Defined in: [lib/form.ts:4626](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4626)
|
|
23526
24358
|
|
|
23527
24359
|
***
|
|
23528
24360
|
|
|
@@ -23530,7 +24362,7 @@ Defined in: [lib/form.ts:4231](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23530
24362
|
|
|
23531
24363
|
> **show**: `boolean`
|
|
23532
24364
|
|
|
23533
|
-
Defined in: [lib/form.ts:
|
|
24365
|
+
Defined in: [lib/form.ts:4629](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4629)
|
|
23534
24366
|
|
|
23535
24367
|
***
|
|
23536
24368
|
|
|
@@ -23538,7 +24370,7 @@ Defined in: [lib/form.ts:4234](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23538
24370
|
|
|
23539
24371
|
> **showInSystemTask**: `boolean`
|
|
23540
24372
|
|
|
23541
|
-
Defined in: [lib/form.ts:
|
|
24373
|
+
Defined in: [lib/form.ts:4631](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4631)
|
|
23542
24374
|
|
|
23543
24375
|
***
|
|
23544
24376
|
|
|
@@ -23546,7 +24378,7 @@ Defined in: [lib/form.ts:4236](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23546
24378
|
|
|
23547
24379
|
> **stateMax**: `boolean`
|
|
23548
24380
|
|
|
23549
|
-
Defined in: [lib/form.ts:
|
|
24381
|
+
Defined in: [lib/form.ts:4627](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4627)
|
|
23550
24382
|
|
|
23551
24383
|
***
|
|
23552
24384
|
|
|
@@ -23554,7 +24386,7 @@ Defined in: [lib/form.ts:4232](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23554
24386
|
|
|
23555
24387
|
> **stateMin**: `boolean`
|
|
23556
24388
|
|
|
23557
|
-
Defined in: [lib/form.ts:
|
|
24389
|
+
Defined in: [lib/form.ts:4628](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4628)
|
|
23558
24390
|
|
|
23559
24391
|
***
|
|
23560
24392
|
|
|
@@ -23562,7 +24394,7 @@ Defined in: [lib/form.ts:4233](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23562
24394
|
|
|
23563
24395
|
> **taskId**: `string`
|
|
23564
24396
|
|
|
23565
|
-
Defined in: [lib/form.ts:
|
|
24397
|
+
Defined in: [lib/form.ts:4624](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4624)
|
|
23566
24398
|
|
|
23567
24399
|
***
|
|
23568
24400
|
|
|
@@ -23570,7 +24402,7 @@ Defined in: [lib/form.ts:4229](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23570
24402
|
|
|
23571
24403
|
> **title**: `string`
|
|
23572
24404
|
|
|
23573
|
-
Defined in: [lib/form.ts:
|
|
24405
|
+
Defined in: [lib/form.ts:4625](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4625)
|
|
23574
24406
|
|
|
23575
24407
|
lib/form/interfaces/IForm.md
|
|
23576
24408
|
---
|
|
@@ -23583,7 +24415,7 @@ lib/form/interfaces/IForm.md
|
|
|
23583
24415
|
|
|
23584
24416
|
# Interface: IForm
|
|
23585
24417
|
|
|
23586
|
-
Defined in: [lib/form.ts:
|
|
24418
|
+
Defined in: [lib/form.ts:4614](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4614)
|
|
23587
24419
|
|
|
23588
24420
|
运行时 task 中的 form 对象
|
|
23589
24421
|
|
|
@@ -23593,7 +24425,7 @@ Defined in: [lib/form.ts:4219](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23593
24425
|
|
|
23594
24426
|
> **closed**: `boolean`
|
|
23595
24427
|
|
|
23596
|
-
Defined in: [lib/form.ts:
|
|
24428
|
+
Defined in: [lib/form.ts:4619](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4619)
|
|
23597
24429
|
|
|
23598
24430
|
是否已经执行过了关闭窗体方法,此处加判断为了防止重复执行 close 导致的 bug
|
|
23599
24431
|
|
|
@@ -23603,7 +24435,7 @@ Defined in: [lib/form.ts:4224](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23603
24435
|
|
|
23604
24436
|
> **id**: `string`
|
|
23605
24437
|
|
|
23606
|
-
Defined in: [lib/form.ts:
|
|
24438
|
+
Defined in: [lib/form.ts:4615](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4615)
|
|
23607
24439
|
|
|
23608
24440
|
***
|
|
23609
24441
|
|
|
@@ -23611,7 +24443,7 @@ Defined in: [lib/form.ts:4220](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23611
24443
|
|
|
23612
24444
|
> **vapp**: [`IVApp`](../../core/interfaces/IVApp.md)
|
|
23613
24445
|
|
|
23614
|
-
Defined in: [lib/form.ts:
|
|
24446
|
+
Defined in: [lib/form.ts:4616](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4616)
|
|
23615
24447
|
|
|
23616
24448
|
***
|
|
23617
24449
|
|
|
@@ -23619,7 +24451,7 @@ Defined in: [lib/form.ts:4221](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23619
24451
|
|
|
23620
24452
|
> **vroot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
23621
24453
|
|
|
23622
|
-
Defined in: [lib/form.ts:
|
|
24454
|
+
Defined in: [lib/form.ts:4617](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4617)
|
|
23623
24455
|
|
|
23624
24456
|
lib/form/interfaces/IFormPromptOptions.md
|
|
23625
24457
|
---
|
|
@@ -23632,7 +24464,7 @@ lib/form/interfaces/IFormPromptOptions.md
|
|
|
23632
24464
|
|
|
23633
24465
|
# Interface: IFormPromptOptions
|
|
23634
24466
|
|
|
23635
|
-
Defined in: [lib/form.ts:
|
|
24467
|
+
Defined in: [lib/form.ts:4737](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4737)
|
|
23636
24468
|
|
|
23637
24469
|
Prompt 选项
|
|
23638
24470
|
|
|
@@ -23642,7 +24474,7 @@ Prompt 选项
|
|
|
23642
24474
|
|
|
23643
24475
|
> `optional` **cancel?**: `boolean`
|
|
23644
24476
|
|
|
23645
|
-
Defined in: [lib/form.ts:
|
|
24477
|
+
Defined in: [lib/form.ts:4745](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4745)
|
|
23646
24478
|
|
|
23647
24479
|
是否显示取消按钮,默认显示
|
|
23648
24480
|
|
|
@@ -23652,7 +24484,7 @@ Defined in: [lib/form.ts:4350](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23652
24484
|
|
|
23653
24485
|
> **content**: `string`
|
|
23654
24486
|
|
|
23655
|
-
Defined in: [lib/form.ts:
|
|
24487
|
+
Defined in: [lib/form.ts:4741](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4741)
|
|
23656
24488
|
|
|
23657
24489
|
内容说明
|
|
23658
24490
|
|
|
@@ -23662,7 +24494,7 @@ Defined in: [lib/form.ts:4346](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23662
24494
|
|
|
23663
24495
|
> `optional` **select?**: (`this`, `e`, `button`) => `void`
|
|
23664
24496
|
|
|
23665
|
-
Defined in: [lib/form.ts:
|
|
24497
|
+
Defined in: [lib/form.ts:4752](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4752)
|
|
23666
24498
|
|
|
23667
24499
|
点击按钮触发事件
|
|
23668
24500
|
|
|
@@ -23694,7 +24526,7 @@ true 代表确定,false 代表取消
|
|
|
23694
24526
|
|
|
23695
24527
|
> `optional` **text?**: `string`
|
|
23696
24528
|
|
|
23697
|
-
Defined in: [lib/form.ts:
|
|
24529
|
+
Defined in: [lib/form.ts:4743](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4743)
|
|
23698
24530
|
|
|
23699
24531
|
文本默认值
|
|
23700
24532
|
|
|
@@ -23704,7 +24536,7 @@ Defined in: [lib/form.ts:4348](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23704
24536
|
|
|
23705
24537
|
> `optional` **title?**: `string`
|
|
23706
24538
|
|
|
23707
|
-
Defined in: [lib/form.ts:
|
|
24539
|
+
Defined in: [lib/form.ts:4739](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4739)
|
|
23708
24540
|
|
|
23709
24541
|
标题
|
|
23710
24542
|
|
|
@@ -23719,7 +24551,7 @@ lib/form/interfaces/IFormPromptSelectEvent.md
|
|
|
23719
24551
|
|
|
23720
24552
|
# Interface: IFormPromptSelectEvent
|
|
23721
24553
|
|
|
23722
|
-
Defined in: [lib/form.ts:
|
|
24554
|
+
Defined in: [lib/form.ts:4759](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4759)
|
|
23723
24555
|
|
|
23724
24556
|
Custom Event
|
|
23725
24557
|
|
|
@@ -23733,7 +24565,7 @@ Custom Event
|
|
|
23733
24565
|
|
|
23734
24566
|
> **detail**: `object`
|
|
23735
24567
|
|
|
23736
|
-
Defined in: [lib/form.ts:
|
|
24568
|
+
Defined in: [lib/form.ts:4760](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4760)
|
|
23737
24569
|
|
|
23738
24570
|
#### button
|
|
23739
24571
|
|
|
@@ -23784,7 +24616,7 @@ lib/form/interfaces/IMoveDragOptions.md
|
|
|
23784
24616
|
|
|
23785
24617
|
# Interface: IMoveDragOptions
|
|
23786
24618
|
|
|
23787
|
-
Defined in: [lib/form.ts:
|
|
24619
|
+
Defined in: [lib/form.ts:4635](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4635)
|
|
23788
24620
|
|
|
23789
24621
|
移动 drag 到新位置函数的选项
|
|
23790
24622
|
|
|
@@ -23794,7 +24626,7 @@ Defined in: [lib/form.ts:4240](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23794
24626
|
|
|
23795
24627
|
> `optional` **height?**: `number`
|
|
23796
24628
|
|
|
23797
|
-
Defined in: [lib/form.ts:
|
|
24629
|
+
Defined in: [lib/form.ts:4639](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4639)
|
|
23798
24630
|
|
|
23799
24631
|
***
|
|
23800
24632
|
|
|
@@ -23802,7 +24634,7 @@ Defined in: [lib/form.ts:4244](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23802
24634
|
|
|
23803
24635
|
> `optional` **icon?**: `boolean`
|
|
23804
24636
|
|
|
23805
|
-
Defined in: [lib/form.ts:
|
|
24637
|
+
Defined in: [lib/form.ts:4640](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4640)
|
|
23806
24638
|
|
|
23807
24639
|
***
|
|
23808
24640
|
|
|
@@ -23810,7 +24642,7 @@ Defined in: [lib/form.ts:4245](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23810
24642
|
|
|
23811
24643
|
> `optional` **left?**: `number`
|
|
23812
24644
|
|
|
23813
|
-
Defined in: [lib/form.ts:
|
|
24645
|
+
Defined in: [lib/form.ts:4637](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4637)
|
|
23814
24646
|
|
|
23815
24647
|
***
|
|
23816
24648
|
|
|
@@ -23818,7 +24650,7 @@ Defined in: [lib/form.ts:4242](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23818
24650
|
|
|
23819
24651
|
> `optional` **top?**: `number`
|
|
23820
24652
|
|
|
23821
|
-
Defined in: [lib/form.ts:
|
|
24653
|
+
Defined in: [lib/form.ts:4636](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4636)
|
|
23822
24654
|
|
|
23823
24655
|
***
|
|
23824
24656
|
|
|
@@ -23826,7 +24658,7 @@ Defined in: [lib/form.ts:4241](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23826
24658
|
|
|
23827
24659
|
> `optional` **width?**: `number`
|
|
23828
24660
|
|
|
23829
|
-
Defined in: [lib/form.ts:
|
|
24661
|
+
Defined in: [lib/form.ts:4638](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4638)
|
|
23830
24662
|
|
|
23831
24663
|
lib/form/interfaces/INotifyContentOptions.md
|
|
23832
24664
|
---
|
|
@@ -23839,7 +24671,7 @@ lib/form/interfaces/INotifyContentOptions.md
|
|
|
23839
24671
|
|
|
23840
24672
|
# Interface: INotifyContentOptions
|
|
23841
24673
|
|
|
23842
|
-
Defined in: [lib/form.ts:
|
|
24674
|
+
Defined in: [lib/form.ts:4657](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4657)
|
|
23843
24675
|
|
|
23844
24676
|
notify 信息框的修改选项
|
|
23845
24677
|
|
|
@@ -23849,7 +24681,7 @@ notify 信息框的修改选项
|
|
|
23849
24681
|
|
|
23850
24682
|
> `optional` **content?**: `string`
|
|
23851
24683
|
|
|
23852
|
-
Defined in: [lib/form.ts:
|
|
24684
|
+
Defined in: [lib/form.ts:4659](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4659)
|
|
23853
24685
|
|
|
23854
24686
|
***
|
|
23855
24687
|
|
|
@@ -23857,7 +24689,7 @@ Defined in: [lib/form.ts:4264](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23857
24689
|
|
|
23858
24690
|
> `optional` **note?**: `string`
|
|
23859
24691
|
|
|
23860
|
-
Defined in: [lib/form.ts:
|
|
24692
|
+
Defined in: [lib/form.ts:4660](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4660)
|
|
23861
24693
|
|
|
23862
24694
|
***
|
|
23863
24695
|
|
|
@@ -23865,7 +24697,7 @@ Defined in: [lib/form.ts:4265](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23865
24697
|
|
|
23866
24698
|
> `optional` **progress?**: `number`
|
|
23867
24699
|
|
|
23868
|
-
Defined in: [lib/form.ts:
|
|
24700
|
+
Defined in: [lib/form.ts:4662](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4662)
|
|
23869
24701
|
|
|
23870
24702
|
可顺便修改进度
|
|
23871
24703
|
|
|
@@ -23875,7 +24707,7 @@ Defined in: [lib/form.ts:4267](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23875
24707
|
|
|
23876
24708
|
> `optional` **timeout?**: `number`
|
|
23877
24709
|
|
|
23878
|
-
Defined in: [lib/form.ts:
|
|
24710
|
+
Defined in: [lib/form.ts:4664](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4664)
|
|
23879
24711
|
|
|
23880
24712
|
设置后将在 x 毫秒后隐藏,这不会大于创建时的设置的总时长
|
|
23881
24713
|
|
|
@@ -23885,7 +24717,7 @@ Defined in: [lib/form.ts:4269](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23885
24717
|
|
|
23886
24718
|
> `optional` **title?**: `string`
|
|
23887
24719
|
|
|
23888
|
-
Defined in: [lib/form.ts:
|
|
24720
|
+
Defined in: [lib/form.ts:4658](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4658)
|
|
23889
24721
|
|
|
23890
24722
|
lib/form/interfaces/INotifyOptions.md
|
|
23891
24723
|
---
|
|
@@ -23898,7 +24730,7 @@ lib/form/interfaces/INotifyOptions.md
|
|
|
23898
24730
|
|
|
23899
24731
|
# Interface: INotifyOptions
|
|
23900
24732
|
|
|
23901
|
-
Defined in: [lib/form.ts:
|
|
24733
|
+
Defined in: [lib/form.ts:4644](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4644)
|
|
23902
24734
|
|
|
23903
24735
|
弹出 notify 信息框的选项
|
|
23904
24736
|
|
|
@@ -23908,7 +24740,7 @@ Defined in: [lib/form.ts:4249](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23908
24740
|
|
|
23909
24741
|
> `optional` **content?**: `string`
|
|
23910
24742
|
|
|
23911
|
-
Defined in: [lib/form.ts:
|
|
24743
|
+
Defined in: [lib/form.ts:4647](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4647)
|
|
23912
24744
|
|
|
23913
24745
|
正文
|
|
23914
24746
|
|
|
@@ -23918,7 +24750,7 @@ Defined in: [lib/form.ts:4252](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23918
24750
|
|
|
23919
24751
|
> `optional` **icon?**: `string` \| `null`
|
|
23920
24752
|
|
|
23921
|
-
Defined in: [lib/form.ts:
|
|
24753
|
+
Defined in: [lib/form.ts:4650](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4650)
|
|
23922
24754
|
|
|
23923
24755
|
***
|
|
23924
24756
|
|
|
@@ -23926,7 +24758,7 @@ Defined in: [lib/form.ts:4255](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23926
24758
|
|
|
23927
24759
|
> `optional` **note?**: `string`
|
|
23928
24760
|
|
|
23929
|
-
Defined in: [lib/form.ts:
|
|
24761
|
+
Defined in: [lib/form.ts:4649](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4649)
|
|
23930
24762
|
|
|
23931
24763
|
浅色描述
|
|
23932
24764
|
|
|
@@ -23936,7 +24768,7 @@ Defined in: [lib/form.ts:4254](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23936
24768
|
|
|
23937
24769
|
> `optional` **progress?**: `boolean`
|
|
23938
24770
|
|
|
23939
|
-
Defined in: [lib/form.ts:
|
|
24771
|
+
Defined in: [lib/form.ts:4653](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4653)
|
|
23940
24772
|
|
|
23941
24773
|
***
|
|
23942
24774
|
|
|
@@ -23944,7 +24776,7 @@ Defined in: [lib/form.ts:4258](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23944
24776
|
|
|
23945
24777
|
> `optional` **timeout?**: `number`
|
|
23946
24778
|
|
|
23947
|
-
Defined in: [lib/form.ts:
|
|
24779
|
+
Defined in: [lib/form.ts:4651](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4651)
|
|
23948
24780
|
|
|
23949
24781
|
***
|
|
23950
24782
|
|
|
@@ -23952,7 +24784,7 @@ Defined in: [lib/form.ts:4256](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23952
24784
|
|
|
23953
24785
|
> `optional` **title?**: `string`
|
|
23954
24786
|
|
|
23955
|
-
Defined in: [lib/form.ts:
|
|
24787
|
+
Defined in: [lib/form.ts:4645](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4645)
|
|
23956
24788
|
|
|
23957
24789
|
***
|
|
23958
24790
|
|
|
@@ -23960,7 +24792,7 @@ Defined in: [lib/form.ts:4250](https://github.com/maiyun/clickgo/blob/master/dis
|
|
|
23960
24792
|
|
|
23961
24793
|
> `optional` **type?**: `"progress"` \| `"info"` \| `"warning"` \| `"danger"` \| `"primary"`
|
|
23962
24794
|
|
|
23963
|
-
Defined in: [lib/form.ts:
|
|
24795
|
+
Defined in: [lib/form.ts:4652](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4652)
|
|
23964
24796
|
|
|
23965
24797
|
lib/form/variables/activePanels.md
|
|
23966
24798
|
---
|
|
@@ -23975,7 +24807,7 @@ lib/form/variables/activePanels.md
|
|
|
23975
24807
|
|
|
23976
24808
|
> `const` **activePanels**: `Record`\<`string`, `string`[]\> = `{}`
|
|
23977
24809
|
|
|
23978
|
-
Defined in: [lib/form.ts:
|
|
24810
|
+
Defined in: [lib/form.ts:2144](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L2144)
|
|
23979
24811
|
|
|
23980
24812
|
当前活跃中的 panelId 列表
|
|
23981
24813
|
|
|
@@ -23992,7 +24824,7 @@ lib/form/variables/elements.md
|
|
|
23992
24824
|
|
|
23993
24825
|
> `const` **elements**: `object`
|
|
23994
24826
|
|
|
23995
|
-
Defined in: [lib/form.ts:
|
|
24827
|
+
Defined in: [lib/form.ts:1373](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1373)
|
|
23996
24828
|
|
|
23997
24829
|
## Type Declaration
|
|
23998
24830
|
|
|
@@ -24061,7 +24893,7 @@ lib/form/variables/launcherRoot.md
|
|
|
24061
24893
|
|
|
24062
24894
|
> **launcherRoot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
24063
24895
|
|
|
24064
|
-
Defined in: [lib/form.ts:
|
|
24896
|
+
Defined in: [lib/form.ts:1368](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1368)
|
|
24065
24897
|
|
|
24066
24898
|
lib/form/variables/simpleSystemTaskRoot.md
|
|
24067
24899
|
---
|
|
@@ -24076,7 +24908,7 @@ lib/form/variables/simpleSystemTaskRoot.md
|
|
|
24076
24908
|
|
|
24077
24909
|
> **simpleSystemTaskRoot**: [`IVue`](../../core/interfaces/IVue.md)
|
|
24078
24910
|
|
|
24079
|
-
Defined in: [lib/form.ts:
|
|
24911
|
+
Defined in: [lib/form.ts:1367](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L1367)
|
|
24080
24912
|
|
|
24081
24913
|
lib/fs/functions/chmod.md
|
|
24082
24914
|
---
|