@gx-design-vue/pro-table 0.0.6 → 0.0.8

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.
@@ -108,7 +108,7 @@ declare const GProTable: import("vue").DefineComponent<{
108
108
  type: import("vue").PropType<boolean | undefined>;
109
109
  default: boolean;
110
110
  };
111
- scrollBreakpoint: import("vue").PropType<number | import("./typing").Breakpoint | undefined>;
111
+ scrollBreakpoint: import("vue").PropType<number | import("@gx-design-vue/pro-utils").Breakpoint | undefined>;
112
112
  modalScroll: import("vue").PropType<boolean | undefined>;
113
113
  neverScroll: import("vue").PropType<boolean | undefined>;
114
114
  columnEmptyText: {
@@ -455,7 +455,7 @@ declare const GProTable: import("vue").DefineComponent<{
455
455
  type: import("vue").PropType<boolean | undefined>;
456
456
  default: boolean;
457
457
  };
458
- scrollBreakpoint: import("vue").PropType<number | import("./typing").Breakpoint | undefined>;
458
+ scrollBreakpoint: import("vue").PropType<number | import("@gx-design-vue/pro-utils").Breakpoint | undefined>;
459
459
  modalScroll: import("vue").PropType<boolean | undefined>;
460
460
  neverScroll: import("vue").PropType<boolean | undefined>;
461
461
  columnEmptyText: {
@@ -1,6 +1,6 @@
1
1
  import type { Ref, ComputedRef } from 'vue';
2
2
  import type { InjectionKey, Slots } from 'vue';
3
- import type { SizeType } from '../typing';
3
+ import type { SizeType } from '@gx-design-vue/pro-utils';
4
4
  import type { ProColumnsType } from '../types/ColumnTypings';
5
5
  import type { ColumnsState, SettingsAction } from '../hooks/useColumnSetting';
6
6
  import type { PaginationProps } from '../_utils';
@@ -1,5 +1,5 @@
1
1
  import type { Ref } from 'vue';
2
- import type { SizeType } from '../typing';
2
+ import type { SizeType } from '@gx-design-vue/pro-utils';
3
3
  export declare function useTableSize({ size, emit }: {
4
4
  size: Ref<SizeType>;
5
5
  emit: any;
package/dist/props.d.ts CHANGED
@@ -207,7 +207,7 @@ export declare const proTableProps: {
207
207
  * @lastTime 2022/2/8
208
208
  * @description 滚动断点支持数字(屏幕宽度);也支持md、xl,xxl等
209
209
  */
210
- scrollBreakpoint: PropType<number | import("./typing").Breakpoint | undefined>;
210
+ scrollBreakpoint: PropType<number | import("@gx-design-vue/pro-utils/dist").Breakpoint | undefined>;
211
211
  /**
212
212
  * @Author gx12358
213
213
  * @DateTime 2022/2/8
@@ -1,8 +1,8 @@
1
1
  import type { CSSProperties } from 'vue';
2
- import type { RecordType, WithFalse, CustomRender, VueNode } from '@gx-design-vue/pro-utils';
2
+ import type { RecordType, WithFalse, CustomRender, VueNode, SizeType, Breakpoint } from '@gx-design-vue/pro-utils';
3
3
  import type { ProSearchMap, ProColumnType, ProColumnsType } from './ColumnTypings';
4
+ import type { DefaultRecordType } from '../typing';
4
5
  import type { HeaderTitleRender, ToolBarBtnRender, CustomizeRender, TitleTipRender, OptionsExtraRender, SettingExtraRender, PageItemRender } from './SlotsTypings';
5
- import type { SizeType, Breakpoint, DefaultRecordType } from '../typing';
6
6
  import type { TableRowSelection, TablePaginationConfig, SpinProps, TableFilters, TableSorter, TableProps } from '../_utils';
7
7
  import type { ColumnSettingProps } from '../components/ColumnSetting';
8
8
  import type { ColumnsState, ColumnsStateType } from '../hooks/useColumnSetting';
package/dist/typing.d.ts CHANGED
@@ -1,3 +1 @@
1
- export declare type SizeType = 'small' | 'middle' | 'large' | undefined;
2
- export declare type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
3
1
  export declare type DefaultRecordType = Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gx-design-vue/pro-table",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "vite build",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@vueuse/core": "^6.8.0",
30
- "@gx-design-vue/pro-utils": "^0.0.7-rc.1",
31
- "@gx-design-vue/pro-hooks": "^0.0.3",
30
+ "@gx-design-vue/pro-utils": "^0.0.30",
31
+ "@gx-design-vue/pro-hooks": "^0.0.7",
32
32
  "ant-design-vue": "^3.2.15",
33
33
  "dayjs": "^1.11.0",
34
34
  "lodash-unified": "^1.0.3",