linkmore-design 1.1.1 → 1.1.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.
@@ -17,6 +17,8 @@ interface IProps extends ILMModalProps {
17
17
  j: number;
18
18
  };
19
19
  };
20
+ rowKey?: string;
21
+ deepDataSource?: Record<string, unknown>[];
20
22
  }
21
23
  /** i 是行 j 是列 */
22
24
  declare const TableChartsModal: (props: IProps) => JSX.Element;
@@ -21,12 +21,6 @@ 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
24
  /**
31
25
  * 获取选中行文本
32
26
  * @param {Object}
@@ -50,4 +44,22 @@ export function getSelectionColText({ selection, columns, dataSource }: any): an
50
44
  * @returns {number}
51
45
  */
52
46
  export function getDataSourceIndex({ key, dataSource }: any): number;
47
+ /**
48
+ * 框选是否跨行分组
49
+ * @param {number} i
50
+ * @param {React.Ref} shellStatusRef
51
+ * @param {React.Ref} deepDataSourceRef
52
+ * @returns
53
+ */
54
+ export function isSelectCrossRowGroup(i: number, shellStatusRef: any, deepDataSourceRef: any): boolean;
55
+ /**
56
+ * 不允许跨无效列
57
+ * @param {number} i
58
+ * @param {number} j
59
+ * @param {React.Ref} shellStatusRef
60
+ * @param {React.Ref} deepDataSourceRef
61
+ * @param {React.Ref} deepColumnsRef
62
+ * @returns
63
+ */
64
+ export function isSelectCrossInvalidCol(i: number, j: number, shellStatusRef: any, deepDataSourceRef: any, deepColumnsRef: any): boolean;
53
65
  export function range(start: number, end: number): Array<number>;