@vue-ui-kit/ant 2.0.3 → 2.0.4

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.
@@ -199,6 +199,10 @@ export type PGridProps<D extends Recordable = Recordable, F extends Recordable =
199
199
  * 适应展示区到页面顶部的高度,通常和容器最上的y值有关(正比)
200
200
  */
201
201
  fitHeight?: number;
202
+ /**
203
+ * 适应展示区到页面顶部的canvas渲染高度 通常比table的小
204
+ */
205
+ fitCanvasHeight?: number;
202
206
  /**
203
207
  * 虚拟列表 Y区计算高度
204
208
  */
@@ -288,10 +292,25 @@ export interface CanvasColumnProps<T extends Recordable = Recordable> extends Om
288
292
  export interface CanvasTableProps<T extends Recordable = Recordable, B extends Recordable = Recordable> {
289
293
  columns: CanvasColumnProps<T>[];
290
294
  data: T[];
291
- config: ConfigType;
295
+ config?: ConfigType;
292
296
  footerData?: B[];
293
297
  loading?: boolean;
294
298
  }
299
+ export interface PCanvasGridProps<D extends Recordable = Recordable, F extends Recordable = Recordable> {
300
+ selectConfig?: SelectConfig<D>;
301
+ manualFetch?: boolean;
302
+ formConfig?: PFormProps<F>;
303
+ columns: CanvasColumnProps<D>[];
304
+ toolbarConfig?: ToolbarConfig;
305
+ pageConfig?: PageConfig;
306
+ proxyConfig?: ProxyConfig<D, F>;
307
+ config?: ConfigType;
308
+ lazyReset?: boolean;
309
+ /**
310
+ * 适应展示区到页面顶部的高度,通常和容器最上的y值有关(正比)
311
+ */
312
+ fitHeight?: number;
313
+ }
295
314
  export interface PGridInstance<D extends Recordable = Recordable, F extends Recordable = Recordable> {
296
315
  commitProxy: {
297
316
  query: () => Promise<D[]>;
@@ -334,4 +353,5 @@ export interface PFormGroupInstance {
334
353
  export interface PCanvasTableInstance<T extends Recordable = Recordable> {
335
354
  $table: InstanceType<typeof EVirtTable>;
336
355
  selectedRecords: T[];
356
+ setLoading: (value: boolean) => void;
337
357
  }