urit-qf-ui 0.2.4 → 0.2.6
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/README.md +242 -145
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1536 -1398
- package/dist/index.umd.cjs +2 -2
- package/dist/qf/http.d.ts +22 -0
- package/dist/style.css +1 -1
- package/dist/ts/form-render.d.ts +1 -0
- package/dist/ts/model.d.ts +1 -0
- package/dist/ts/table-render.d.ts +21 -0
- package/dist/uform/FormContainer.vue.d.ts +2 -0
- package/dist/uform/TableDetail.vue.d.ts +8 -0
- package/dist/uform/TableGrid.vue.d.ts +13 -1
- package/dist/uform/TableRender.vue.d.ts +148 -13
- package/package.json +1 -1
|
@@ -6,6 +6,14 @@ type __VLS_Props = {
|
|
|
6
6
|
rowData?: Record<string, any>;
|
|
7
7
|
columns?: TableColumn[];
|
|
8
8
|
emptyText?: string;
|
|
9
|
+
/**
|
|
10
|
+
* `detail-extra` 插槽与默认字段列表的关系:
|
|
11
|
+
* replace(默认)—— **二选一**:给了插槽就只渲染插槽,一个默认字段都不渲染
|
|
12
|
+
* append —— 旧行为:默认字段列表 + 插槽内容上下共存
|
|
13
|
+
*
|
|
14
|
+
* 页面上通过 TableRender 的 `detail-extra-mode` 传进来,一般不用直接设置。
|
|
15
|
+
*/
|
|
16
|
+
extraMode?: 'replace' | 'append';
|
|
9
17
|
};
|
|
10
18
|
declare function __VLS_template(): {
|
|
11
19
|
attrs: Partial<{}>;
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
columns: TableColumn[];
|
|
5
5
|
loading: boolean;
|
|
6
6
|
actions?: TableButton[];
|
|
7
|
+
actionsWidth?: number;
|
|
7
8
|
keyField?: string;
|
|
8
9
|
selection?: 'single' | 'multiple' | boolean;
|
|
9
10
|
dictData?: Record<string, Array<{
|
|
@@ -14,7 +15,18 @@ type __VLS_Props = {
|
|
|
14
15
|
};
|
|
15
16
|
declare function __VLS_template(): {
|
|
16
17
|
attrs: Partial<{}>;
|
|
17
|
-
slots: Partial<Record<string, (_:
|
|
18
|
+
slots: Partial<Record<string, (_: {
|
|
19
|
+
row: import('element-plus/es/components/table/src/table/defaults.mjs').DefaultRow;
|
|
20
|
+
value: any;
|
|
21
|
+
column: any;
|
|
22
|
+
}) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
23
|
+
actions?(_: {
|
|
24
|
+
row: import('element-plus/es/components/table/src/table/defaults.mjs').DefaultRow;
|
|
25
|
+
actions: TableButton[];
|
|
26
|
+
}): any;
|
|
27
|
+
'actions-extra'?(_: {
|
|
28
|
+
row: import('element-plus/es/components/table/src/table/defaults.mjs').DefaultRow;
|
|
29
|
+
}): any;
|
|
18
30
|
default?(_: {}): any;
|
|
19
31
|
};
|
|
20
32
|
refs: {};
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { TableActionPayload } from '../ts/model';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
formId?: string;
|
|
4
|
+
/**
|
|
5
|
+
* 详情区的 `detail-extra` 插槽与默认字段列表的关系:
|
|
6
|
+
* replace(默认)—— **二选一**:页面给了 detail-extra 插槽,就只渲染插槽内容,
|
|
7
|
+
* 默认字段列表一个都不渲染(想完全接管详情区时用)
|
|
8
|
+
* append —— 追加:默认字段列表 + 插槽内容上下共存(旧行为)
|
|
9
|
+
*/
|
|
10
|
+
detailExtraMode?: 'replace' | 'append';
|
|
4
11
|
};
|
|
5
12
|
declare function __VLS_template(): {
|
|
6
13
|
attrs: Partial<{}>;
|
|
7
|
-
slots: Partial<Record<string, (_: any) => any>> & {
|
|
14
|
+
slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
8
15
|
'search-extra'?(_: {
|
|
9
16
|
params: Record<string, any>;
|
|
10
17
|
update: (field: string, value: any) => void;
|
|
@@ -14,18 +21,6 @@ declare function __VLS_template(): {
|
|
|
14
21
|
search: () => void;
|
|
15
22
|
reset: () => void;
|
|
16
23
|
}): any;
|
|
17
|
-
'detail-extra'?(_: {
|
|
18
|
-
rowData: Record<string, any> | undefined;
|
|
19
|
-
columns: import('..').TableColumn[] | undefined;
|
|
20
|
-
}): any;
|
|
21
|
-
'detail-extra'?(_: {
|
|
22
|
-
rowData: Record<string, any> | undefined;
|
|
23
|
-
columns: import('..').TableColumn[] | undefined;
|
|
24
|
-
}): any;
|
|
25
|
-
'detail-extra'?(_: {
|
|
26
|
-
rowData: Record<string, any> | undefined;
|
|
27
|
-
columns: import('..').TableColumn[] | undefined;
|
|
28
|
-
}): any;
|
|
29
24
|
'toolbar-left'?(_: {
|
|
30
25
|
currentRow: any;
|
|
31
26
|
}): any;
|
|
@@ -83,6 +78,13 @@ declare function __VLS_template(): {
|
|
|
83
78
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
84
79
|
*
|
|
85
80
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
81
|
+
*
|
|
82
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
83
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
84
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
85
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
86
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
87
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
86
88
|
*/
|
|
87
89
|
?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
88
90
|
validateField: (props
|
|
@@ -94,6 +96,13 @@ declare function __VLS_template(): {
|
|
|
94
96
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
95
97
|
*
|
|
96
98
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
99
|
+
*
|
|
100
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
101
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
102
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
103
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
104
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
105
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
97
106
|
*/
|
|
98
107
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback
|
|
99
108
|
/**
|
|
@@ -104,6 +113,13 @@ declare function __VLS_template(): {
|
|
|
104
113
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
105
114
|
*
|
|
106
115
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
116
|
+
*
|
|
117
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
118
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
119
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
120
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
121
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
122
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
107
123
|
*/
|
|
108
124
|
?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
109
125
|
resetFields: (props
|
|
@@ -115,6 +131,13 @@ declare function __VLS_template(): {
|
|
|
115
131
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
116
132
|
*
|
|
117
133
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
134
|
+
*
|
|
135
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
136
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
137
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
138
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
139
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
140
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
118
141
|
*/
|
|
119
142
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
120
143
|
clearValidate: (props
|
|
@@ -126,6 +149,13 @@ declare function __VLS_template(): {
|
|
|
126
149
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
127
150
|
*
|
|
128
151
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
152
|
+
*
|
|
153
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
154
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
155
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
156
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
157
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
158
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
129
159
|
*/
|
|
130
160
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
131
161
|
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
@@ -182,6 +212,13 @@ declare function __VLS_template(): {
|
|
|
182
212
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
183
213
|
*
|
|
184
214
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
215
|
+
*
|
|
216
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
217
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
218
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
219
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
220
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
221
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
185
222
|
*/
|
|
186
223
|
?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
187
224
|
validateField: (props
|
|
@@ -193,6 +230,13 @@ declare function __VLS_template(): {
|
|
|
193
230
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
194
231
|
*
|
|
195
232
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
233
|
+
*
|
|
234
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
235
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
236
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
237
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
238
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
239
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
196
240
|
*/
|
|
197
241
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback
|
|
198
242
|
/**
|
|
@@ -203,6 +247,13 @@ declare function __VLS_template(): {
|
|
|
203
247
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
204
248
|
*
|
|
205
249
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
250
|
+
*
|
|
251
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
252
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
253
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
254
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
255
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
256
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
206
257
|
*/
|
|
207
258
|
?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
208
259
|
resetFields: (props
|
|
@@ -214,6 +265,13 @@ declare function __VLS_template(): {
|
|
|
214
265
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
215
266
|
*
|
|
216
267
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
268
|
+
*
|
|
269
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
270
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
271
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
272
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
273
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
274
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
217
275
|
*/
|
|
218
276
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
219
277
|
clearValidate: (props
|
|
@@ -225,6 +283,13 @@ declare function __VLS_template(): {
|
|
|
225
283
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
226
284
|
*
|
|
227
285
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
286
|
+
*
|
|
287
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
288
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
289
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
290
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
291
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
292
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
228
293
|
*/
|
|
229
294
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
230
295
|
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
@@ -310,6 +375,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
310
375
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
311
376
|
*
|
|
312
377
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
378
|
+
*
|
|
379
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
380
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
381
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
382
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
383
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
384
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
313
385
|
*/
|
|
314
386
|
?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
315
387
|
validateField: (props
|
|
@@ -321,6 +393,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
321
393
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
322
394
|
*
|
|
323
395
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
396
|
+
*
|
|
397
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
398
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
399
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
400
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
401
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
402
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
324
403
|
*/
|
|
325
404
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback
|
|
326
405
|
/**
|
|
@@ -331,6 +410,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
331
410
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
332
411
|
*
|
|
333
412
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
413
|
+
*
|
|
414
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
415
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
416
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
417
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
418
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
419
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
334
420
|
*/
|
|
335
421
|
?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
336
422
|
resetFields: (props
|
|
@@ -342,6 +428,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
342
428
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
343
429
|
*
|
|
344
430
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
431
|
+
*
|
|
432
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
433
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
434
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
435
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
436
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
437
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
345
438
|
*/
|
|
346
439
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
347
440
|
clearValidate: (props
|
|
@@ -353,6 +446,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
353
446
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
354
447
|
*
|
|
355
448
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
449
|
+
*
|
|
450
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
451
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
452
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
453
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
454
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
455
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
356
456
|
*/
|
|
357
457
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
358
458
|
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
@@ -409,6 +509,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
409
509
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
410
510
|
*
|
|
411
511
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
512
|
+
*
|
|
513
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
514
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
515
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
516
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
517
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
518
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
412
519
|
*/
|
|
413
520
|
?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
414
521
|
validateField: (props
|
|
@@ -420,6 +527,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
420
527
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
421
528
|
*
|
|
422
529
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
530
|
+
*
|
|
531
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
532
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
533
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
534
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
535
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
536
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
423
537
|
*/
|
|
424
538
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback
|
|
425
539
|
/**
|
|
@@ -430,6 +544,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
430
544
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
431
545
|
*
|
|
432
546
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
547
|
+
*
|
|
548
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
549
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
550
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
551
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
552
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
553
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
433
554
|
*/
|
|
434
555
|
?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
435
556
|
resetFields: (props
|
|
@@ -441,6 +562,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
441
562
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
442
563
|
*
|
|
443
564
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
565
|
+
*
|
|
566
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
567
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
568
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
569
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
570
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
571
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
444
572
|
*/
|
|
445
573
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
446
574
|
clearValidate: (props
|
|
@@ -452,6 +580,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
452
580
|
* 未识别的属性/事件($attrs)直接绑到 el-table 上);各封装组件另外提供「追加型」插槽
|
|
453
581
|
*
|
|
454
582
|
* 配置驱动:yaml 里没有 search / toolbar / detail / actions 节点就不渲染对应功能
|
|
583
|
+
*
|
|
584
|
+
* 列插槽(透传给 TableGrid,用法见 TableGrid.vue 文件头):
|
|
585
|
+
* · `#col-<field>` 覆盖任意一列的单元格内容(作用域 { row, value, column })
|
|
586
|
+
* · `#actions` 接管操作列(作用域 { row, actions })—— **替换** yaml 的按钮
|
|
587
|
+
* · `#actions-extra` 在 yaml 的按钮后面**追加**按钮(作用域 { row })
|
|
588
|
+
* 只开插槽不配 yaml actions 也能建出操作列,宽度用 yaml 的 `actionsWidth` 指定。
|
|
589
|
+
* 这类插槽由 `methods.getTableSlots()` 一并转发(它们不在 RENDER_SLOTS 里)。
|
|
455
590
|
*/
|
|
456
591
|
?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
457
592
|
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|