tutor-pro-ui-vue 1.3.28-beta → 1.3.30-beta

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.
@@ -58,7 +58,7 @@ export declare const useSelectFilter: (options?: Ref<{
58
58
  }[]>, props?: {
59
59
  value?: string;
60
60
  label?: string;
61
- }) => {
61
+ }, filterMethod?: (value: string, option: any) => boolean) => {
62
62
  headerFilter: Ref<any, any>;
63
63
  filterOptions: Ref<{
64
64
  label?: string | undefined;
@@ -346,7 +346,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
346
346
  readonly default: () => void;
347
347
  };
348
348
  readonly onBeforeReset: {
349
- readonly type: import('vue').PropType<import('./types').OnBeforeReset>;
349
+ readonly type: import('vue').PropType<import('./types').OnBeforeFn>;
350
+ readonly default: () => () => Promise<void>;
351
+ };
352
+ readonly onBeforeSearch: {
353
+ readonly type: import('vue').PropType<import('./types').OnBeforeFn>;
350
354
  readonly default: () => () => Promise<void>;
351
355
  };
352
356
  readonly resetBtn: {
@@ -448,7 +452,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
448
452
  readonly default: () => void;
449
453
  };
450
454
  readonly onBeforeReset: {
451
- readonly type: import('vue').PropType<import('./types').OnBeforeReset>;
455
+ readonly type: import('vue').PropType<import('./types').OnBeforeFn>;
456
+ readonly default: () => () => Promise<void>;
457
+ };
458
+ readonly onBeforeSearch: {
459
+ readonly type: import('vue').PropType<import('./types').OnBeforeFn>;
452
460
  readonly default: () => () => Promise<void>;
453
461
  };
454
462
  readonly resetBtn: {
@@ -492,7 +500,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
492
500
  [x: number]: any;
493
501
  [x: symbol]: any;
494
502
  } & Omit<import('element-plus').ButtonProps, "icon">>;
495
- readonly onBeforeReset: import('./types').OnBeforeReset;
503
+ readonly onBeforeReset: import('./types').OnBeforeFn;
504
+ readonly onBeforeSearch: import('./types').OnBeforeFn;
496
505
  readonly resetBtn: Partial<{
497
506
  [x: string]: any;
498
507
  } & {
@@ -18,7 +18,7 @@ export type RequestData<T> = {
18
18
  list: T[];
19
19
  total: number;
20
20
  };
21
- export type OnBeforeReset = () => Promise<void> | void;
21
+ export type OnBeforeFn = () => Promise<void> | void;
22
22
  export declare const tableProps: {
23
23
  readonly formConfig: {
24
24
  readonly type: PropType<Partial<CommonFormProps>>;
@@ -99,7 +99,11 @@ export declare const tableProps: {
99
99
  readonly default: () => void;
100
100
  };
101
101
  readonly onBeforeReset: {
102
- readonly type: PropType<OnBeforeReset>;
102
+ readonly type: PropType<OnBeforeFn>;
103
+ readonly default: () => () => Promise<void>;
104
+ };
105
+ readonly onBeforeSearch: {
106
+ readonly type: PropType<OnBeforeFn>;
103
107
  readonly default: () => () => Promise<void>;
104
108
  };
105
109
  readonly resetBtn: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tutor-pro-ui-vue",
3
3
  "private": false,
4
- "version": "1.3.28-beta",
4
+ "version": "1.3.30-beta",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",