@kengic/vue 0.10.8 → 0.10.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -253,6 +253,8 @@ export declare class VarGridDetail {
253
253
  display_type_properties?: string | null;
254
254
  /** 是否显示省略号(EllipsisFlag). */
255
255
  ellipsis_flg?: number | null;
256
+ /** 是否支持过滤. */
257
+ filter_flag?: number | null;
256
258
  /** 是否固定到左侧(FixToLeftFlag). */
257
259
  fix_left_flg?: number | null;
258
260
  /** 是否固定到右侧(FixToRightFlag). */
@@ -1,10 +1,17 @@
1
1
  import { ColumnsType } from 'ant-design-vue/es/table';
2
- import { ComputedRef, Ref, UnwrapRef } from 'vue';
3
- import { IKgTableRow } from './index.vm';
2
+ import { ComputedRef, Ref, UnwrapRef, VNode } from 'vue';
3
+ import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from './index.vm';
4
4
  import { IKgTableProps } from './KgTable';
5
+ export declare type IUseRenderBodyCell = {
6
+ /** 表格的列. */
7
+ renderBodyCell: (args: any, context?: KG_TABLE_CELL_CONTEXT) => VNode;
8
+ };
9
+ export declare function _useRenderBodyCell(): IUseRenderBodyCell;
5
10
  export declare type IUseColumns = {
6
11
  /** 表格的列. */
7
12
  columns: ComputedRef<ColumnsType<IKgTableRow>>;
13
+ /** 当前过滤状态(哪些列有过滤, 哪些列没过滤). */
14
+ filteredInfo: Ref<Record<string, any>>;
8
15
  /** 横向滚动宽度. */
9
16
  scrollX: ComputedRef<string>;
10
17
  };
@@ -18,3 +25,16 @@ export declare type IUseResizeObserver = {};
18
25
  export declare function _useResizeObserver(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>): IUseResizeObserver;
19
26
  export declare type IUseDragColumn = {};
20
27
  export declare function _useDragColumn(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>, columns: ComputedRef<ColumnsType<IKgTableRow>>): IUseDragColumn;
28
+ export interface IUseDatas {
29
+ /** 表格数据. */
30
+ datas: ComputedRef<Array<IKgTableRow>>;
31
+ /**
32
+ * 处理表格数据.
33
+ * @param response 查询接口返回数据.
34
+ */
35
+ transformDatas(response: Ref<any>): {
36
+ datas: Ref<Array<IKgTableRow>>;
37
+ total: Ref<number>;
38
+ };
39
+ }
40
+ export declare function _useDatas(): IUseDatas;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IKgTableRow } from '../index.vm';
2
+ import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from '../index.vm';
3
3
  import './KgTable.Cell.less';
4
4
  export declare const getProps: () => {
5
5
  /** 行. */
@@ -8,6 +8,14 @@ export declare const getProps: () => {
8
8
  kgValue: PropType<any>;
9
9
  /** 变量名称. */
10
10
  kgVarName: PropType<string | null>;
11
+ /**
12
+ * 所处环境.
13
+ * @default {@link KG_TABLE_CELL_CONTEXT.TABLE_CELL}
14
+ */
15
+ kgContext: {
16
+ type: PropType<string>;
17
+ default: KG_TABLE_CELL_CONTEXT;
18
+ };
11
19
  /** 点击链接, 打开更新弹窗. */
12
20
  onKgUpdateLinkClick: PropType<() => void>;
13
21
  };
@@ -18,6 +26,14 @@ declare const _default: import("vue").DefineComponent<{
18
26
  kgValue: PropType<any>;
19
27
  /** 变量名称. */
20
28
  kgVarName: PropType<string | null>;
29
+ /**
30
+ * 所处环境.
31
+ * @default {@link KG_TABLE_CELL_CONTEXT.TABLE_CELL}
32
+ */
33
+ kgContext: {
34
+ type: PropType<string>;
35
+ default: KG_TABLE_CELL_CONTEXT;
36
+ };
21
37
  /** 点击链接, 打开更新弹窗. */
22
38
  onKgUpdateLinkClick: PropType<() => void>;
23
39
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgUpdateLinkClick"[], "kgUpdateLinkClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -27,9 +43,19 @@ declare const _default: import("vue").DefineComponent<{
27
43
  kgValue: PropType<any>;
28
44
  /** 变量名称. */
29
45
  kgVarName: PropType<string | null>;
46
+ /**
47
+ * 所处环境.
48
+ * @default {@link KG_TABLE_CELL_CONTEXT.TABLE_CELL}
49
+ */
50
+ kgContext: {
51
+ type: PropType<string>;
52
+ default: KG_TABLE_CELL_CONTEXT;
53
+ };
30
54
  /** 点击链接, 打开更新弹窗. */
31
55
  onKgUpdateLinkClick: PropType<() => void>;
32
56
  }>> & {
33
57
  onKgUpdateLinkClick?: ((...args: any[]) => any) | undefined;
34
- }, {}>;
58
+ }, {
59
+ kgContext: string;
60
+ }>;
35
61
  export default _default;
@@ -135,6 +135,13 @@ export interface IKgFormItemTypeProperties {
135
135
  span?: number;
136
136
  };
137
137
  }
138
+ /** 表格的单元格所处环境. */
139
+ export declare const enum KG_TABLE_CELL_CONTEXT {
140
+ /** 表格的单元格. */
141
+ TABLE_CELL = "TABLE_CELL",
142
+ /** 表头的过滤器. */
143
+ TABLE_FILTER = "TABLE_FILTER"
144
+ }
138
145
  /** 列的默认宽度. 如果 VarGridDetail 没有配置宽度, 则使用该宽度. */
139
146
  export declare const KG_TABLE_TD_DEFAULT_WIDTH = 120;
140
147
  /** 列的最小宽度. 拖动修改列的宽度时, 不允许超过该最小宽度. */
@@ -81,119 +81,119 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
81
81
  /** 获取最顶层的界面标识, 即 level 最大的界面, 可能包含多个. */
82
82
  getTopFormIDs(): Array<string>;
83
83
  /** 获取界面层级. */
84
- getFormLevel(): (frm_id?: string | null) => number;
84
+ getFormLevel(): (frm_id: string | null | undefined) => number;
85
85
  /**
86
86
  * 翻译变量.
87
87
  */
88
- t(): (frm_id?: string | null, var_nam?: string | null) => string;
89
- isRetrieving(): (frm_id?: string | null) => boolean | null;
90
- isRetrievingVarProfileMaster(): (frm_id?: string | null) => boolean | null;
91
- isRetrievingVarGridMaster(): (frm_id?: string | null) => boolean | null;
88
+ t(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => string;
89
+ isRetrieving(): (frm_id: string | null | undefined) => boolean | null;
90
+ isRetrievingVarProfileMaster(): (frm_id: string | null | undefined) => boolean | null;
91
+ isRetrievingVarGridMaster(): (frm_id: string | null | undefined) => boolean | null;
92
92
  /** 变量配置查询完成. */
93
- isRetrieved(): (frm_id?: string | null) => boolean;
94
- isCreating(): (frm_id?: string | null) => boolean | null;
95
- isUpdating(): (frm_id?: string | null) => boolean | null;
96
- isCopying(): (frm_id?: string | null) => boolean | null;
97
- isDeleting(): (frm_id?: string | null) => boolean | null;
98
- isCreatingRequesting(): (frm_id?: string | null) => boolean | null;
99
- isUpdatingRequesting(): (frm_id?: string | null) => boolean | null;
100
- isCopyingRequesting(): (frm_id?: string | null) => boolean | null;
101
- isDeletingRequesting(): (frm_id?: string | null) => boolean | null;
102
- isOtherRequesting(): (frm_id?: string | null) => boolean | null;
103
- getVarCatalogs(): (frm_id?: string | null) => Array<VarCatalog> | null;
93
+ isRetrieved(): (frm_id: string | null | undefined) => boolean;
94
+ isCreating(): (frm_id: string | null | undefined) => boolean | null;
95
+ isUpdating(): (frm_id: string | null | undefined) => boolean | null;
96
+ isCopying(): (frm_id: string | null | undefined) => boolean | null;
97
+ isDeleting(): (frm_id: string | null | undefined) => boolean | null;
98
+ isCreatingRequesting(): (frm_id: string | null | undefined) => boolean | null;
99
+ isUpdatingRequesting(): (frm_id: string | null | undefined) => boolean | null;
100
+ isCopyingRequesting(): (frm_id: string | null | undefined) => boolean | null;
101
+ isDeletingRequesting(): (frm_id: string | null | undefined) => boolean | null;
102
+ isOtherRequesting(): (frm_id: string | null | undefined) => boolean | null;
103
+ getVarCatalogs(): (frm_id: string | null | undefined) => Array<VarCatalog> | null;
104
104
  /**
105
105
  * 根据 frm_id 和 var_nam 获取 VarCatalog.
106
106
  */
107
- getVarCatalog(): (frm_id?: string | null, var_nam?: string | null) => VarCatalog | null;
108
- getVarLookup(): (frm_id?: string | null, var_nam?: string | null) => VarLookup | null;
109
- getVarPossibility(): (frm_id?: string | null, var_nam?: string | null) => VarPossibility | null;
110
- getVarVariableConfig(): (frm_id?: string | null, var_nam?: string | null) => VarVariableConfig | null;
111
- getVarVariableInput(): (frm_id?: string | null, var_nam?: string | null) => VarVariableInput | null;
112
- getVarButtons(): (frm_id?: string | null) => Array<VarButton> | null;
113
- getVarSubmitConfig(): (frm_id?: string | null) => VarSubmitConfig | null;
107
+ getVarCatalog(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarCatalog | null;
108
+ getVarLookup(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarLookup | null;
109
+ getVarPossibility(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarPossibility | null;
110
+ getVarVariableConfig(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarVariableConfig | null;
111
+ getVarVariableInput(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarVariableInput | null;
112
+ getVarButtons(): (frm_id: string | null | undefined) => Array<VarButton> | null;
113
+ getVarSubmitConfig(): (frm_id: string | null | undefined) => VarSubmitConfig | null;
114
114
  /** 获取所有提交字段. */
115
- getVarSubmitFields(): (frm_id?: string | null) => Array<VarSubmitField> | null;
115
+ getVarSubmitFields(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
116
116
  /** 获取创建时的提交字段. */
117
- getVarSubmitFieldsForCreate(): (frm_id?: string | null) => Array<VarSubmitField> | null;
117
+ getVarSubmitFieldsForCreate(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
118
118
  /** 获取创建时的提交字段: 关键字段. */
119
- getVarSubmitFieldsForCreateKey(): (frm_id?: string | null) => Array<VarSubmitField> | null;
119
+ getVarSubmitFieldsForCreateKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
120
120
  /** 获取创建时的提交字段: 普通字段. */
121
- getVarSubmitFieldsForCreateNotKey(): (frm_id?: string | null) => Array<VarSubmitField> | null;
121
+ getVarSubmitFieldsForCreateNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
122
122
  /** 获取创建时的提交字段: 关键字段, 并且可见. */
123
- getVarSubmitFieldsForCreateKeyVisible(): (frm_id?: string | null) => Array<VarSubmitField> | null;
123
+ getVarSubmitFieldsForCreateKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
124
124
  /** 获取创建时的提交字段: 普通字段, 并且可见. */
125
- getVarSubmitFieldsForCreateNotKeyVisible(): (frm_id?: string | null) => Array<VarSubmitField> | null;
125
+ getVarSubmitFieldsForCreateNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
126
126
  /** 获取更新时的提交字段. */
127
- getVarSubmitFieldsForUpdate(): (frm_id?: string | null) => Array<VarSubmitField> | null;
127
+ getVarSubmitFieldsForUpdate(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
128
128
  /** 获取更新时的提交字段: 关键字段. */
129
- getVarSubmitFieldsForUpdateKey(): (frm_id?: string | null) => Array<VarSubmitField> | null;
129
+ getVarSubmitFieldsForUpdateKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
130
130
  /** 获取更新时的提交字段: 普通字段. */
131
- getVarSubmitFieldsForUpdateNotKey(): (frm_id?: string | null) => Array<VarSubmitField> | null;
131
+ getVarSubmitFieldsForUpdateNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
132
132
  /** 获取更新时的提交字段: 关键字段, 并且可见. */
133
- getVarSubmitFieldsForUpdateKeyVisible(): (frm_id?: string | null) => Array<VarSubmitField> | null;
133
+ getVarSubmitFieldsForUpdateKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
134
134
  /** 获取更新时的提交字段: 普通字段, 并且可见. */
135
- getVarSubmitFieldsForUpdateNotKeyVisible(): (frm_id?: string | null) => Array<VarSubmitField> | null;
135
+ getVarSubmitFieldsForUpdateNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
136
136
  /** 获取复制时的提交字段. */
137
- getVarSubmitFieldsForCopy(): (frm_id?: string | null) => Array<VarSubmitField> | null;
137
+ getVarSubmitFieldsForCopy(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
138
138
  /** 获取复制时的提交字段: 关键字段. */
139
- getVarSubmitFieldsForCopyKey(): (frm_id?: string | null) => Array<VarSubmitField> | null;
139
+ getVarSubmitFieldsForCopyKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
140
140
  /** 获取复制时的提交字段: 普通字段. */
141
- getVarSubmitFieldsForCopyNotKey(): (frm_id?: string | null) => Array<VarSubmitField> | null;
141
+ getVarSubmitFieldsForCopyNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
142
142
  /** 获取复制时的提交字段: 关键字段, 并且可见. */
143
- getVarSubmitFieldsForCopyKeyVisible(): (frm_id?: string | null) => Array<VarSubmitField> | null;
143
+ getVarSubmitFieldsForCopyKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
144
144
  /** 获取复制时的提交字段: 普通字段, 并且可见. */
145
- getVarSubmitFieldsForCopyNotKeyVisible(): (frm_id?: string | null) => Array<VarSubmitField> | null;
145
+ getVarSubmitFieldsForCopyNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
146
146
  /** 获取删除时的提交字段. */
147
- getVarSubmitFieldsForDelete(): (frm_id?: string | null) => Array<VarSubmitField> | null;
147
+ getVarSubmitFieldsForDelete(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
148
148
  /** 获取删除时的提交字段: 关键字段. */
149
- getVarSubmitFieldsForDeleteKey(): (frm_id?: string | null) => Array<VarSubmitField> | null;
149
+ getVarSubmitFieldsForDeleteKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
150
150
  /** 获取删除时的提交字段: 普通字段. */
151
- getVarSubmitFieldsForDeleteNotKey(): (frm_id?: string | null) => Array<VarSubmitField> | null;
151
+ getVarSubmitFieldsForDeleteNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
152
152
  /** 获取删除时的提交字段: 关键字段, 并且可见. */
153
- getVarSubmitFieldsForDeleteKeyVisible(): (frm_id?: string | null) => Array<VarSubmitField> | null;
153
+ getVarSubmitFieldsForDeleteKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
154
154
  /** 获取删除时的提交字段: 普通字段, 并且可见. */
155
- getVarSubmitFieldsForDeleteNotKeyVisible(): (frm_id?: string | null) => Array<VarSubmitField> | null;
156
- getVarSubmitField(): (frm_id?: string | null, var_nam?: string | null) => VarSubmitField | null;
157
- getVarButton(): (frm_id?: string | null, var_nam?: string | null) => VarButton | null;
158
- getVarButtonConfig(): (frm_id?: string | null) => VarButtonConfig | null;
159
- getVarButtonSearch(): (frm_id?: string | null) => VarButton | null;
160
- getVarButtonCreate(): (frm_id?: string | null) => VarButton | null;
161
- getVarButtonUpdate(): (frm_id?: string | null) => VarButton | null;
162
- getVarButtonCopy(): (frm_id?: string | null) => VarButton | null;
163
- getVarButtonDelete(): (frm_id?: string | null) => VarButton | null;
164
- getVarProfileConfig(): (frm_id?: string | null) => VarProfileConfig | null;
165
- getVarProfileMasters(): (frm_id?: string | null) => Array<VarProfileMasterDTO> | null;
155
+ getVarSubmitFieldsForDeleteNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
156
+ getVarSubmitField(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarSubmitField | null;
157
+ getVarButton(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarButton | null;
158
+ getVarButtonConfig(): (frm_id: string | null | undefined) => VarButtonConfig | null;
159
+ getVarButtonSearch(): (frm_id: string | null | undefined) => VarButton | null;
160
+ getVarButtonCreate(): (frm_id: string | null | undefined) => VarButton | null;
161
+ getVarButtonUpdate(): (frm_id: string | null | undefined) => VarButton | null;
162
+ getVarButtonCopy(): (frm_id: string | null | undefined) => VarButton | null;
163
+ getVarButtonDelete(): (frm_id: string | null | undefined) => VarButton | null;
164
+ getVarProfileConfig(): (frm_id: string | null | undefined) => VarProfileConfig | null;
165
+ getVarProfileMasters(): (frm_id: string | null | undefined) => Array<VarProfileMasterDTO> | null;
166
166
  /**
167
167
  * 根据 frm_id 和 var_nam 获取当前 VarProfileMaster 下的某个 VarProfileDetail.
168
168
  */
169
- getVarProfileDetail(): (frm_id?: string | null, var_nam?: string | null) => VarProfileDetail | null;
169
+ getVarProfileDetail(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarProfileDetail | null;
170
170
  /**
171
171
  * 根据 frm_id 获取 VarProfileDetail 列表.
172
172
  */
173
- getVarProfileDetails(): (frm_id?: string | null) => Array<VarProfileDetail> | null;
173
+ getVarProfileDetails(): (frm_id: string | null | undefined) => Array<VarProfileDetail> | null;
174
174
  /**
175
175
  * 根据 frm_id 获取系统的 VarProfileDetail 列表, 即 customLevel 为 0 的 VarProfileMaster 下面的所有 VarProfileDetail.
176
176
  */
177
- getSystemVarProfileDetails(): (frm_id?: string | null) => Array<VarProfileDetail> | null;
177
+ getSystemVarProfileDetails(): (frm_id: string | null | undefined) => Array<VarProfileDetail> | null;
178
178
  /** 获取当前'查询条件视图'的 ID. */
179
- getCurrentVarProfileMasterID(): (frm_id?: string | null) => string | null;
180
- getCurrentVarProfileMaster(): (frm_id?: string | null) => VarProfileMasterDTO | null;
179
+ getCurrentVarProfileMasterID(): (frm_id: string | null | undefined) => string | null;
180
+ getCurrentVarProfileMaster(): (frm_id: string | null | undefined) => VarProfileMasterDTO | null;
181
181
  /** 获取所有的 VarGridConfig. */
182
182
  getVarGridConfigMap(): Map<string, VarGridConfig | null>;
183
- getVarGridConfig(): (frm_id?: string | null) => VarGridConfig | null;
184
- getVarGridMasters(): (frm_id?: string | null) => Array<VarGridMasterDTO> | null;
185
- getVarGridDetail(): (frm_id?: string | null, var_nam?: string | null) => VarGridDetail | null;
183
+ getVarGridConfig(): (frm_id: string | null | undefined) => VarGridConfig | null;
184
+ getVarGridMasters(): (frm_id: string | null | undefined) => Array<VarGridMasterDTO> | null;
185
+ getVarGridDetail(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarGridDetail | null;
186
186
  /** 根据 frm_id 获取当前的 VarGridMaster. */
187
187
  /** 获取当前'表格视图'的 ID. */
188
- getCurrentVarGridMasterID(): (frm_id?: string | null) => string | null;
189
- getCurrentVarGridMaster(): (frm_id?: string | null) => VarGridMasterDTO | null;
190
- getCurrentVarGridDetails(): (frm_id?: string | null) => Array<VarGridDetail> | null;
188
+ getCurrentVarGridMasterID(): (frm_id: string | null | undefined) => string | null;
189
+ getCurrentVarGridMaster(): (frm_id: string | null | undefined) => VarGridMasterDTO | null;
190
+ getCurrentVarGridDetails(): (frm_id: string | null | undefined) => Array<VarGridDetail> | null;
191
191
  /**
192
192
  * 根据 frm_id 获取系统的 VarGridDetail 列表, 即 customLevel 为 0 的 VarGridMaster 下面的所有 VarGridDetail.
193
193
  */
194
- getSystemVarGridDetails(): (frm_id?: string | null) => Array<VarGridDetail> | null;
195
- getCurrentVisibleVarGridDetails(): (frm_id?: string | null) => Array<VarGridDetail> | null;
196
- getCurrentVisibleVarGridDetailsTotalWidth(): (frm_id?: string | null) => number | null;
194
+ getSystemVarGridDetails(): (frm_id: string | null | undefined) => Array<VarGridDetail> | null;
195
+ getCurrentVisibleVarGridDetails(): (frm_id: string | null | undefined) => Array<VarGridDetail> | null;
196
+ getCurrentVisibleVarGridDetailsTotalWidth(): (frm_id: string | null | undefined) => number | null;
197
197
  }, {
198
198
  /**
199
199
  * 清理数据.
@@ -226,7 +226,7 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
226
226
  * 查询所有变量配置.
227
227
  * @param frm_id 界面标识.
228
228
  */
229
- retrieve(frm_id?: string | null): Promise<void>;
229
+ retrieve(frm_id: string | null | undefined): Promise<void>;
230
230
  setIsCreating(frm_id: string, value: boolean): void;
231
231
  /**
232
232
  *
@@ -15,7 +15,17 @@ export declare type IKgStateOption = {
15
15
  [KG_APP.SYS]?: string;
16
16
  };
17
17
  KgTable?: {
18
+ /** 列的过滤. */
19
+ filter?: {
20
+ /**
21
+ * 是否启用功能.
22
+ * @default false
23
+ */
24
+ on?: boolean;
25
+ };
26
+ /** 表格设置菜单. */
18
27
  Setting?: {
28
+ /** 行高. */
19
29
  rowHeight?: {
20
30
  /**
21
31
  * 是否启用功能.
@@ -69,7 +69,7 @@ export declare const enum KG_FORM_CONTEXT {
69
69
  SEARCH = "SEARCH",
70
70
  /** 位于表单. */
71
71
  SUBMIT = "SUBMIT",
72
- /** 位于表格. */
72
+ /** 位于表格内的表单. */
73
73
  TABLE = "TABLE"
74
74
  }
75
75
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.10.8",
3
+ "version": "0.10.9",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",