zs_library 0.6.9 → 0.6.11
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.
- package/dist/components/desktop/utils/index.d.ts +8 -0
- package/dist/index.css +1 -1
- package/dist/index.js +2333 -2262
- package/package.json +1 -1
|
@@ -4,5 +4,13 @@ declare class SortableUtils {
|
|
|
4
4
|
id: string | number;
|
|
5
5
|
}>(array: T[]) => T[];
|
|
6
6
|
static quickJSONCheck: (str: any) => boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 计算容器在给定 item 尺寸下的一行可容纳列数及行宽
|
|
9
|
+
*/
|
|
10
|
+
static computeRowWidth: (el: HTMLElement, itemSize?: number) => {
|
|
11
|
+
cols: number;
|
|
12
|
+
width: number;
|
|
13
|
+
marginLeft: number;
|
|
14
|
+
};
|
|
7
15
|
}
|
|
8
16
|
export default SortableUtils;
|