urit-qf-ui 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "urit-qf-ui",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",