@gx-design-vue/pro-table 0.2.0-beta.110 → 0.2.0-beta.112

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.
@@ -0,0 +1,39 @@
1
+ import type { PropType } from 'vue';
2
+ import type { ProSchemaValueEnumType } from '../../../types/ColumnTypings';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ fetch: PropType<() => Promise<ProSchemaValueEnumType[]>>;
5
+ loading: PropType<boolean>;
6
+ debounceTime: PropType<number>;
7
+ manual: {
8
+ type: PropType<boolean>;
9
+ default: undefined;
10
+ };
11
+ fieldName: {
12
+ type: PropType<string>;
13
+ default: string;
14
+ };
15
+ notFoundContent: {
16
+ type: PropType<(loading: boolean) => any>;
17
+ };
18
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
+ [key: string]: any;
20
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ fetch: PropType<() => Promise<ProSchemaValueEnumType[]>>;
22
+ loading: PropType<boolean>;
23
+ debounceTime: PropType<number>;
24
+ manual: {
25
+ type: PropType<boolean>;
26
+ default: undefined;
27
+ };
28
+ fieldName: {
29
+ type: PropType<string>;
30
+ default: string;
31
+ };
32
+ notFoundContent: {
33
+ type: PropType<(loading: boolean) => any>;
34
+ };
35
+ }>> & Readonly<{}>, {
36
+ manual: boolean;
37
+ fieldName: string;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { RecordType } from '@gx-design-vue/pro-utils';
2
- import type { ProSearchMap } from '../../types/ColumnTypings';
2
+ import type { ProSearchMap } from '../../../types/ColumnTypings';
3
3
  export declare function useForm(defaultParams: RecordType, searchMap: ProSearchMap[]): {
4
4
  formState: any;
5
5
  resetFormState: () => void;
@@ -1,6 +1,6 @@
1
- import type { RecordType } from '@gx-design-vue/pro-utils';
2
1
  import type { PropType } from 'vue';
3
2
  import type { ProSearchMap } from '../../types/ColumnTypings';
3
+ import { RecordType } from '@gx-design-vue/pro-utils';
4
4
  declare const ProTableForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  modal: PropType<boolean | undefined>;
6
6
  searchMap: {
@@ -0,0 +1,5 @@
1
+ import type { Breakpoint } from '@gx-design-vue/pro-utils';
2
+ export declare const defaultSpans: {
3
+ value: Breakpoint;
4
+ span: number;
5
+ }[];
@@ -1,8 +1,8 @@
1
1
  import type { RecordType } from '@gx-design-vue/pro-utils';
2
- import type { ComputedRef, Ref } from 'vue';
3
2
  import type { FilterValue, SorterResult, TableCurrentDataSource } from '../_utils';
4
3
  import type { ProColumnsType } from '../types/ColumnTypings';
5
4
  import type { ProTableFetchParams, ProTablePagination, ProTablePaginationConfig, ProTableProps, SearchConfig } from '../types/TableTypings';
5
+ import { ComputedRef, Ref } from 'vue';
6
6
  interface ActionType {
7
7
  loading: ComputedRef<boolean | undefined>;
8
8
  search: ComputedRef<SearchConfig | false>;
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export type { BaseTableProps } from './props';
3
3
  export { proTableProps } from './props';
4
4
  export { default } from './ProTable';
5
5
  export { default as GProTable } from './ProTable';
6
- export type { ProColumnsType, ProColumnType, ProSearchMap } from './types/ColumnTypings';
6
+ export type { ProColumnsType, ProColumnType, ProFieldValueType, ProSearchMap } from './types/ColumnTypings';
7
7
  export type { CustomRenderResult, ProTableBodyCellProps } from './types/SlotsTypings';
8
8
  export type { PageState, ProTableProps } from './types/TableTypings';
9
9
  export type { OptionConfig, ProCoreActionType, ProCoreFormType, ProTableFetchParams, ProTableRef, RequestFunction, SearchConfig } from './types/TableTypings';