adtec-hnyzfc-core-package 1.4.1 → 1.4.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.
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 根据一行中最多同时显示的操作按钮数计算操作列宽度。
3
+ */
4
+ export declare const getOperationColumnWidth: (actionCount: number) => number;
@@ -0,0 +1 @@
1
+ const n=I=>{const t=Number.isFinite(I)?Math.max(0,Math.floor(I)):0;if(t===0)return 40;const _=t*14+(t-1)*8+16;return Math.max(40,Math.ceil(_/8)*8)};export{n as getOperationColumnWidth};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adtec-hnyzfc-core-package",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "engines": {