@vue-ui-kit/ant 1.0.1 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-ui-kit/ant",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
4
4
  "description": "Vue3 UI Kit based on Ant Design",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -1,9 +1,9 @@
1
- import type { Rule } from 'ant-design-vue/lib/form';
2
- import { ButtonProps } from 'ant-design-vue/lib/button';
3
- import { ColProps } from 'ant-design-vue/lib/grid/Col';
4
- import { FormProps } from 'ant-design-vue/lib/form/Form';
5
- import { TableColumnType, TableProps } from 'ant-design-vue';
6
- import { ButtonType } from 'ant-design-vue/lib/button/buttonTypes';
1
+ import type { Rule } from 'ant-design-vue/lib/form'
2
+ import { ButtonProps } from 'ant-design-vue/lib/button'
3
+ import { ColProps } from 'ant-design-vue/lib/grid/Col'
4
+ import { FormProps } from 'ant-design-vue/lib/form/Form'
5
+ import { TableColumnType, TableProps } from 'ant-design-vue'
6
+ import { ButtonType } from 'ant-design-vue/lib/button/buttonTypes'
7
7
 
8
8
  export interface CellFuncArg<D = Recordable> {
9
9
  row: D;
@@ -177,6 +177,14 @@ export type PGridProps<D = Recordable, F = Recordable> = {
177
177
  proxyConfig?: ProxyConfig<D, F>;
178
178
  tableConfig?: TableProps<D>;
179
179
  scrollMode?: 'outer' | 'inner';
180
+ /**
181
+ * 适应展示区到页面顶部的高度,通常和容器最上的y值有关(正比)
182
+ */
183
+ fitHeight?: number;
184
+ /**
185
+ * 虚拟列表 Y区计算高度
186
+ */
187
+ renderY?: number;
180
188
  };
181
189
 
182
190
  export interface RenderOptions {