ztxkutils 2.10.22 → 2.10.23
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/fileOperation.js
CHANGED
package/dist/hooks.js
CHANGED
@@ -3,7 +3,7 @@ import { useState, useEffect, useRef, useCallback } from 'react';
|
|
3
3
|
export { default as useFileIdToBase64 } from './useFileIdToBase64.js';
|
4
4
|
import './fileOperation.js';
|
5
5
|
import './authority-e6bde99f.js';
|
6
|
-
import './tools-
|
6
|
+
import './tools-09a4d620.js';
|
7
7
|
import 'dayjs';
|
8
8
|
|
9
9
|
function useTableLinkage(_a) {
|
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export { c as authority } from './authority-e6bde99f.js';
|
2
2
|
export { d as dataModel } from './dataModel-1fbaff40.js';
|
3
|
-
export { t as tools } from './tools-
|
3
|
+
export { t as tools } from './tools-09a4d620.js';
|
4
4
|
export { v as validate } from './validate-6e735536.js';
|
5
5
|
export { r as request } from './request-bf07dd24.js';
|
6
6
|
export { r as reqUrl } from './reqUrl-787dd9e5.js';
|
@@ -2215,7 +2215,7 @@ function exactRound(num, ratio) {
|
|
2215
2215
|
}
|
2216
2216
|
try {
|
2217
2217
|
// return _round(num, ratio).toFixed(ratio);
|
2218
|
-
return Number(new Decimal$1(num).toFixed(ratio));
|
2218
|
+
return Number(new Decimal$1(num).toFixed(ratio)).toFixed(ratio);
|
2219
2219
|
}
|
2220
2220
|
catch (err) {
|
2221
2221
|
console.error(err);
|
package/dist/tools.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
import './tslib.es6-35653116.js';
|
2
2
|
import 'dayjs';
|
3
|
-
export { S as SHOWFRAME_KEY, h as clearAssignStr, k as copyContent, d as dangerouslySetXss, c as divide, e as exactRound, g as getUrlSearch, j as isEqualByKey, l as loadFileRename, m as minus, p as plus, s as showFrame, a as timeTransfrom, b as times, f as toThousand, i as transformFileSize } from './tools-
|
3
|
+
export { S as SHOWFRAME_KEY, h as clearAssignStr, k as copyContent, d as dangerouslySetXss, c as divide, e as exactRound, g as getUrlSearch, j as isEqualByKey, l as loadFileRename, m as minus, p as plus, s as showFrame, a as timeTransfrom, b as times, f as toThousand, i as transformFileSize } from './tools-09a4d620.js';
|
package/dist/workflow.js
CHANGED