@fmdevui/fm-dev 1.0.26 → 1.0.27
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/es/core/utils/comm/index.d.ts +18 -1
- package/es/index.mjs +1 -0
- package/es/packages/core/index.mjs +1 -0
- package/es/packages/core/utils/comm/index.mjs +5 -1
- package/es/packages/core/utils/index.mjs +1 -1
- package/index.js +13549 -13546
- package/index.min.js +38 -38
- package/index.min.mjs +38 -38
- package/index.mjs +13549 -13547
- package/lib/core/utils/comm/index.d.ts +18 -1
- package/lib/{index.css → defaults.css} +8 -9
- package/lib/index.js +16 -14
- package/lib/packages/core/index.js +16 -14
- package/lib/packages/core/utils/comm/index.js +4 -3
- package/lib/packages/core/utils/index.js +4 -3
- package/package.json +1 -1
- package/es/{make-installer.css → defaults.css} +3 -3
|
@@ -1,8 +1,25 @@
|
|
|
1
1
|
import { default as commonFunction } from './commonFunction';
|
|
2
|
+
import { EmptyArrayType } from 'fm-dev';
|
|
2
3
|
export * from './toolsValidate';
|
|
3
4
|
export * from './formatTime';
|
|
4
5
|
export * from './theme';
|
|
5
6
|
export * from './download';
|
|
6
7
|
export * from './data-signature';
|
|
7
8
|
export * from './uploadfileurl';
|
|
8
|
-
|
|
9
|
+
declare const commonFunctionObj: {
|
|
10
|
+
percentFormat: (row: EmptyArrayType, column: number, cellValue: string) => string;
|
|
11
|
+
dateFormatYMD: (row: EmptyArrayType, column: number, cellValue: string) => string;
|
|
12
|
+
dateFormatYMDHMS: (row: EmptyArrayType, column: number, cellValue: string) => string;
|
|
13
|
+
dateFormatHMS: (row: EmptyArrayType, column: number, cellValue: string) => string;
|
|
14
|
+
scaleFormat: (value?: string, scale?: number) => string;
|
|
15
|
+
scale2Format: (value?: string) => string;
|
|
16
|
+
groupSeparator: (value: number, minimumFractionDigits?: number) => string;
|
|
17
|
+
copyText: (text: string) => Promise<unknown>;
|
|
18
|
+
removeHtmlSub: (value: string) => string;
|
|
19
|
+
removeHtml: (value: string) => string;
|
|
20
|
+
getEnumDesc: (key: any, lstEnum: any) => any;
|
|
21
|
+
appendQueryParams: (url: string, params: {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}) => string;
|
|
24
|
+
};
|
|
25
|
+
export { commonFunction, commonFunctionObj, };
|
package/es/index.mjs
CHANGED
|
@@ -33,6 +33,7 @@ export { downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, d
|
|
|
33
33
|
export { signatureByKSort } from './packages/core/utils/comm/data-signature.mjs';
|
|
34
34
|
export { getFileUrl } from './packages/core/utils/comm/uploadfileurl.mjs';
|
|
35
35
|
export { default as commonFunction } from './packages/core/utils/comm/commonFunction.mjs';
|
|
36
|
+
export { commonFunctionObj } from './packages/core/utils/comm/index.mjs';
|
|
36
37
|
export { PUB } from './packages/core/utils/const/index.mjs';
|
|
37
38
|
export { auth, authAll, auths, hAuth, hAuthAll, hAuths } from './packages/core/auth/index.mjs';
|
|
38
39
|
export { useDateTimeShortCust } from './packages/core/hook/dateTimeShortCust.mjs';
|
|
@@ -34,4 +34,5 @@ export { downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, d
|
|
|
34
34
|
export { signatureByKSort } from './utils/comm/data-signature.mjs';
|
|
35
35
|
export { getFileUrl } from './utils/comm/uploadfileurl.mjs';
|
|
36
36
|
export { default as commonFunction } from './utils/comm/commonFunction.mjs';
|
|
37
|
+
export { commonFunctionObj } from './utils/comm/index.mjs';
|
|
37
38
|
export { PUB } from './utils/const/index.mjs';
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export { default as commonFunction } from './commonFunction.mjs';
|
|
2
1
|
export { judgementIdCard, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl } from './toolsValidate.mjs';
|
|
3
2
|
export { formatAxis, formatDate, formatPast, getWeek } from './formatTime.mjs';
|
|
4
3
|
export { useChangeColor } from './theme.mjs';
|
|
5
4
|
export { downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, getFileName, openWindow } from './download.mjs';
|
|
6
5
|
export { signatureByKSort } from './data-signature.mjs';
|
|
7
6
|
export { getFileUrl } from './uploadfileurl.mjs';
|
|
7
|
+
import commonFunction from './commonFunction.mjs';
|
|
8
|
+
|
|
9
|
+
const commonFunctionObj = commonFunction();
|
|
10
|
+
|
|
11
|
+
export { commonFunction, commonFunctionObj };
|
|
@@ -3,7 +3,7 @@ export { Watermark } from './watermark/index.mjs';
|
|
|
3
3
|
import './emit/index.mjs';
|
|
4
4
|
export { base64ToFile, blobToFile, dataURLtoBlob, fileToBase64, urlToBase64 } from './base64/index.mjs';
|
|
5
5
|
export { Local, Session } from './storage/index.mjs';
|
|
6
|
-
|
|
6
|
+
export { commonFunctionObj } from './comm/index.mjs';
|
|
7
7
|
export { PUB } from './const/index.mjs';
|
|
8
8
|
export { judgementIdCard, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl } from './comm/toolsValidate.mjs';
|
|
9
9
|
export { formatAxis, formatDate, formatPast, getWeek } from './comm/formatTime.mjs';
|