@sunny-base-web/effects 0.8.68 → 0.8.70

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/index.d.ts CHANGED
@@ -2749,6 +2749,11 @@ export declare function useList<T>(options: {
2749
2749
  groupFields?: string[];
2750
2750
  [key: string]: any;
2751
2751
  };
2752
+ /**
2753
+ * 重置表单后是否自动触发查询
2754
+ * @default true
2755
+ */
2756
+ queryOnReset?: boolean;
2752
2757
  }): {
2753
2758
  QueryForm: DefineComponent< {}, () => VNode<RendererNode, RendererElement, {
2754
2759
  [key: string]: any;
@@ -3199,7 +3204,7 @@ export declare interface UseSelectOptionsReturn {
3199
3204
  clearCache: (dictCode?: string | number) => void;
3200
3205
  }
3201
3206
 
3202
- export declare function useTable({ columns, editRules, toolbarButtons, data, editable, editTrigger, editMode, height, gridId, gridEvents, showOverflow, aggregateConfig, }?: UseTableOptions): readonly [DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>, VxeGridApi_2 & {
3207
+ export declare function useTable({ columns, editRules, toolbarButtons, data, editable, editTrigger, editMode, height, gridId, gridEvents, showOverflow, aggregateConfig, scrollY, }?: UseTableOptions): readonly [DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>, VxeGridApi_2 & {
3203
3208
  setColumns: (newColumns: any[]) => void;
3204
3209
  setToolbarButtons: (buttons: Array<{
3205
3210
  code: string;
@@ -3238,6 +3243,12 @@ declare interface UseTableOptions {
3238
3243
  groupFields?: string[];
3239
3244
  [key: string]: any;
3240
3245
  };
3246
+ /** 虚拟滚动配置,透传到 VXE grid */
3247
+ scrollY?: {
3248
+ enabled: boolean;
3249
+ gt: number;
3250
+ oSize?: number;
3251
+ };
3241
3252
  }
3242
3253
 
3243
3254
  /**