linkmore-design 1.0.98 → 1.0.99

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,6 +1,6 @@
1
1
  export default usePagination;
2
2
  declare function usePagination(service: any, options?: {}): {
3
- refetch: ({ current: c, pageSize: p }: {
3
+ refetch: ({ current, pageSize }: {
4
4
  current?: any;
5
5
  pageSize?: any;
6
6
  }) => Promise<void>;
@@ -1,3 +1,3 @@
1
- export function getResizeColumnCount({ width: totalWidth }: {
1
+ export function getResizeColumnCount({ width }: {
2
2
  width: any;
3
3
  }, colWidth: any): 2 | 3 | 5 | 4 | 6 | 7;
@@ -1,5 +1,5 @@
1
1
  export default CascaderFilter;
2
- declare function CascaderFilter({ instance, item: itemProps }: {
2
+ declare function CascaderFilter({ instance, item }: {
3
3
  instance: any;
4
4
  item: any;
5
5
  }): JSX.Element;
@@ -1,5 +1,5 @@
1
1
  export default CheckboxFilter;
2
- declare function CheckboxFilter({ instance, item: itemProps }: {
2
+ declare function CheckboxFilter({ instance, item }: {
3
3
  instance: any;
4
4
  item: any;
5
5
  }): JSX.Element;
@@ -1,5 +1,5 @@
1
1
  export default DatePickerFilter;
2
- declare function DatePickerFilter({ instance, item: itemProps }: {
2
+ declare function DatePickerFilter({ instance, item }: {
3
3
  instance: any;
4
4
  item: any;
5
5
  }): JSX.Element;
@@ -1,5 +1,5 @@
1
1
  export default SelectFilter;
2
- declare function SelectFilter({ instance, item: itemProps }: {
2
+ declare function SelectFilter({ instance, item }: {
3
3
  instance: any;
4
4
  item: any;
5
5
  }): JSX.Element;
@@ -1,4 +1,4 @@
1
- export declare const useCheckboxOptions: (options: any, { value, onChange: onCheckChange }: {
1
+ export declare const useCheckboxOptions: (options: any, { value, onChange }: {
2
2
  value?: any[];
3
3
  onChange: any;
4
4
  }, filter?: string) => JSX.Element;
@@ -21,3 +21,27 @@ export function checkStatus(i: any, j: any, commiting: any): {
21
21
  /** 是否有效拉伸 */
22
22
  isVaildCommit: boolean;
23
23
  };
24
+ /**
25
+ * 获取空行列表值数组
26
+ * @param {Array} dataSourceWithGroup
27
+ * @returns {Array}
28
+ */
29
+ export function getSkipList(dataSourceWithGroup: any[]): any[];
30
+ /**
31
+ * 获取选中行文本
32
+ * @param {Object}
33
+ * {
34
+ * selection: {start: {i, j}, end: {i, j}},
35
+ * columnsKeysList: Array,
36
+ * dataSource: Array
37
+ * }
38
+ * @returns {Array}
39
+ */
40
+ export function getSelectionRowText({ selection, columnsKeysList, dataSource }: any): any[];
41
+ /**
42
+ * 获取选中列文本
43
+ * @param {Object}
44
+ * @returns {Array}
45
+ */
46
+ export function getSelectionColText({ selection, columns, dataSource }: any): any[];
47
+ export function range(start: number, end: number): Array<number>;
@@ -1,4 +1,3 @@
1
- import type { BuildInPlacements } from 'rc-trigger';
2
1
  export interface AdjustOverflow {
3
2
  adjustX?: 0 | 1;
4
3
  adjustY?: 0 | 1;