@vue-ui-kit/ant 1.1.0 → 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/dist/cjs/index.js +1 -1
- package/dist/declarations/antProxy.d.ts +8 -0
- package/dist/es/index.js +131 -129
- package/package.json +1 -1
- package/src/declarations/antProxy.ts +14 -6
- package/src/packages/components/PGrid.vue +360 -360
package/package.json
CHANGED
|
@@ -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 {
|