@gx-design-vue/pro-table 0.0.5-rc.1 → 0.0.5-rc.2

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.
@@ -1,5 +1,5 @@
1
1
  import type { ExtractPropTypes } from 'vue';
2
- import type { RecordType } from '@gx-design-vue/global-type';
2
+ import type { RecordType } from '@gx-design-vue/pro-utils';
3
3
  import type { OptionConfig } from './types/TableTypings';
4
4
  import type { ProColumns } from './types/ColumnTypings';
5
5
  import type { HeaderTitleRender, TitleTipRender, ToolBarBtnRender, CustomizeRender, SettingExtraRender, OptionsExtraRender } from './types/SlotsTypings';
@@ -113,12 +113,7 @@ declare const GProTable: import("vue").DefineComponent<{
113
113
  neverScroll: import("vue").PropType<boolean>;
114
114
  columnEmptyText: {
115
115
  type: import("vue").PropType<import("./types/TableTypings").ProFieldEmptyText>;
116
- default: boolean; /**
117
- * @Author gx12358
118
- * @DateTime 2022/1/21
119
- * @lastTime 2022/1/21
120
- * @description Tabel-datasource hooks 方法
121
- */
116
+ default: boolean;
122
117
  };
123
118
  onReset: import("vue").PropType<(params?: Partial<Record<string, any>> | undefined) => any>;
124
119
  onReload: import("vue").PropType<(params?: Partial<Record<string, any>> | undefined) => any>;
@@ -242,14 +237,13 @@ declare const GProTable: import("vue").DefineComponent<{
242
237
  };
243
238
  sticky: {
244
239
  type: import("vue").PropType<boolean | import("ant-design-vue/lib/vc-table/interface").TableSticky | undefined>;
245
- default: undefined;
240
+ default: undefined; /**
241
+ * @Author gx12358
242
+ * @DateTime 2022/1/21
243
+ * @lastTime 2022/1/21
244
+ * @description Tabel-loading hooks 方法
245
+ */
246
246
  };
247
- /**
248
- * @Author gx12358
249
- * @DateTime 2022/1/21
250
- * @lastTime 2022/1/21
251
- * @description Tabel-loading hooks 方法
252
- */
253
247
  dropdownPrefixCls: StringConstructor;
254
248
  dataSource: {
255
249
  type: import("vue").PropType<any[] | undefined>;
@@ -261,8 +255,18 @@ declare const GProTable: import("vue").DefineComponent<{
261
255
  };
262
256
  locale: {
263
257
  type: import("vue").PropType<import("ant-design-vue/es/table/interface").TableLocale>;
264
- default: undefined;
265
- };
258
+ default: undefined; /**
259
+ * @Author gx12358
260
+ * @DateTime 2022/1/21
261
+ * @lastTime 2022/1/21
262
+ * @description Tabel-pagetion hooks 方法
263
+ */
264
+ }; /**
265
+ * @Author gx12358
266
+ * @DateTime 2022/1/21
267
+ * @lastTime 2022/1/21
268
+ * @description Tabel-pagetion hooks 方法
269
+ */
266
270
  onChange: {
267
271
  type: import("vue").PropType<(pagination: import("ant-design-vue/es/table/interface").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface").SorterResult<any> | import("ant-design-vue/es/table/interface").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface").TableCurrentDataSource<any>) => void>;
268
272
  default: undefined;
@@ -405,12 +409,7 @@ declare const GProTable: import("vue").DefineComponent<{
405
409
  neverScroll: import("vue").PropType<boolean>;
406
410
  columnEmptyText: {
407
411
  type: import("vue").PropType<import("./types/TableTypings").ProFieldEmptyText>;
408
- default: boolean; /**
409
- * @Author gx12358
410
- * @DateTime 2022/1/21
411
- * @lastTime 2022/1/21
412
- * @description Tabel-datasource hooks 方法
413
- */
412
+ default: boolean;
414
413
  };
415
414
  onReset: import("vue").PropType<(params?: Partial<Record<string, any>> | undefined) => any>;
416
415
  onReload: import("vue").PropType<(params?: Partial<Record<string, any>> | undefined) => any>;
@@ -534,14 +533,13 @@ declare const GProTable: import("vue").DefineComponent<{
534
533
  };
535
534
  sticky: {
536
535
  type: import("vue").PropType<boolean | import("ant-design-vue/lib/vc-table/interface").TableSticky | undefined>;
537
- default: undefined;
536
+ default: undefined; /**
537
+ * @Author gx12358
538
+ * @DateTime 2022/1/21
539
+ * @lastTime 2022/1/21
540
+ * @description Tabel-loading hooks 方法
541
+ */
538
542
  };
539
- /**
540
- * @Author gx12358
541
- * @DateTime 2022/1/21
542
- * @lastTime 2022/1/21
543
- * @description Tabel-loading hooks 方法
544
- */
545
543
  dropdownPrefixCls: StringConstructor;
546
544
  dataSource: {
547
545
  type: import("vue").PropType<any[] | undefined>;
@@ -553,8 +551,18 @@ declare const GProTable: import("vue").DefineComponent<{
553
551
  };
554
552
  locale: {
555
553
  type: import("vue").PropType<import("ant-design-vue/es/table/interface").TableLocale>;
556
- default: undefined;
557
- };
554
+ default: undefined; /**
555
+ * @Author gx12358
556
+ * @DateTime 2022/1/21
557
+ * @lastTime 2022/1/21
558
+ * @description Tabel-pagetion hooks 方法
559
+ */
560
+ }; /**
561
+ * @Author gx12358
562
+ * @DateTime 2022/1/21
563
+ * @lastTime 2022/1/21
564
+ * @description Tabel-pagetion hooks 方法
565
+ */
558
566
  onChange: {
559
567
  type: import("vue").PropType<(pagination: import("ant-design-vue/es/table/interface").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface").SorterResult<any> | import("ant-design-vue/es/table/interface").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface").TableCurrentDataSource<any>) => void>;
560
568
  default: undefined;
@@ -1,5 +1,3 @@
1
- import PropTypes from 'ant-design-vue/es/_util/vue-types';
2
- export { PropTypes };
3
1
  export * from './pagination/typings';
4
2
  export * from './table/typings';
5
3
  export * from './table/props';
@@ -1,6 +1,6 @@
1
1
  import type { TableProps } from 'ant-design-vue';
2
2
  import type { FilterValue, SorterResult } from 'ant-design-vue/es/table/interface';
3
- import type { RecordType } from '@gx-design-vue/global-type';
3
+ import type { RecordType } from '@gx-design-vue/pro-utils';
4
4
  export type { ContextSlots } from 'ant-design-vue/es/table/context';
5
5
  export type { Key, SortOrder, ColumnFilterItem, ColumnTitle, CompareFn, FilterDropdownProps, GetRowKey, ColumnsType, ExpandType, TablePaginationConfig, TableAction, TableLocale, TableCurrentDataSource, ColumnType, TableRowSelection, GetPopupContainer } from 'ant-design-vue/es/table/interface';
6
6
  export type { AlignType, CellEllipsisType, DataIndex, FixedType, GetComponentProps, RenderedCell } from 'ant-design-vue/es/vc-table/interface';
@@ -1,14 +1,4 @@
1
- import type { Slots } from 'vue';
2
1
  export { initDefaultProps } from 'ant-design-vue/es/_util/props-util';
3
2
  export { noteOnce, warning } from 'ant-design-vue/es/vc-util/warning';
4
- export interface prefixCls {
5
- suffixCls?: string;
6
- customizePrefixCls?: string;
7
- isPor?: boolean;
8
- className?: string;
9
- }
10
- export declare const getPrefixCls: ({ suffixCls, customizePrefixCls, isPor, className }: prefixCls) => string;
11
- export declare function getSlot<T>(slots: Slots, props: Record<string, unknown>, prop?: string): T | false;
12
- export declare function getSlotVNode<T>(slots: Slots, props: Record<string, unknown>, prop?: string): T | false;
13
3
  export * from './typings';
14
4
  export * from './ant-design-vue';
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { RecordType } from '@gx-design-vue/global-type';
2
+ import type { RecordType } from '@gx-design-vue/pro-utils';
3
3
  import type { ProSearchMap } from '../../types/ColumnTypings';
4
4
  import './style.less';
5
5
  declare const ProTableForm: import("vue").DefineComponent<{
@@ -1,4 +1,4 @@
1
- import type { RecordType } from '@gx-design-vue/global-type';
1
+ import type { RecordType } from '@gx-design-vue/pro-utils';
2
2
  import type { ProSearchMap } from '../../types/ColumnTypings';
3
3
  export declare function useForm(defaultParams: RecordType, searchMap: ProSearchMap[]): {
4
4
  formState: any;
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { VueNode } from '@gx-design-vue/global-type';
2
+ import type { VueNode } from '@gx-design-vue/pro-utils';
3
3
  import './style.less';
4
4
  export declare type ListToolBarSetting = {
5
5
  icon: VueNode;
@@ -1,6 +1,6 @@
1
1
  import type { ComputedRef, Ref } from 'vue';
2
2
  import type { SpinProps, TableSorter } from '../_utils';
3
- import type { RecordType } from '@gx-design-vue/global-type';
3
+ import type { RecordType } from '@gx-design-vue/pro-utils';
4
4
  import type { ProTableProps } from '../ProTable';
5
5
  import type { ProTablePagination, ProTabelFeachParams, ProTablePaginationConfig } from '../types/TableTypings';
6
6
  import type { ProColumns } from '../types/ColumnTypings';
@@ -1,5 +1,5 @@
1
1
  import type { Ref } from 'vue';
2
- import type { RecordType } from '@gx-design-vue/global-type';
2
+ import type { RecordType } from '@gx-design-vue/pro-utils';
3
3
  import type { ProTableProps } from '../ProTable';
4
4
  export declare function useRowSelection(rowKey: Ref<ProTableProps['rowKey']>, rowSelection: Ref<ProTableProps['rowSelection']>): {
5
5
  selectedKey: Ref<(string | number)[]>;
@@ -1,5 +1,5 @@
1
1
  import type { ComputedRef, Ref } from 'vue';
2
- import type { RecordType } from '@gx-design-vue/global-type';
2
+ import type { RecordType } from '@gx-design-vue/pro-utils';
3
3
  import type { ProTableProps } from '../ProTable';
4
4
  import type { SearchConfig } from '../types/TableTypings';
5
5
  import type { ProSearchMap } from '../types/ColumnTypings';