easy-soft-utility 2.7.27 → 2.8.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.
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/utils/accessWayAssist.d.ts +8 -8
- package/es/utils/applicationAssist.d.ts +26 -26
- package/es/utils/arrayAssist.d.ts +5 -5
- package/es/utils/authorityCacheAssist.d.ts +16 -16
- package/es/utils/authorityLocalAssist.d.ts +10 -10
- package/es/utils/base64.d.ts +11 -11
- package/es/utils/cacheAssist.d.ts +77 -77
- package/es/utils/calculate.d.ts +5 -5
- package/es/utils/checkAssist.d.ts +121 -121
- package/es/utils/colorAssist.d.ts +31 -31
- package/es/utils/common.d.ts +107 -107
- package/es/utils/componentAssist.d.ts +17 -17
- package/es/utils/constants.d.ts +192 -192
- package/es/utils/convertAssist.d.ts +58 -58
- package/es/utils/convertExtraAssist.d.ts +15 -15
- package/es/utils/currentOperatorAssist.d.ts +17 -17
- package/es/utils/datetime.d.ts +66 -66
- package/es/utils/definition.d.ts +4 -4
- package/es/utils/dvaAssist.d.ts +43 -43
- package/es/utils/formatAssist.d.ts +44 -44
- package/es/utils/htmlAssist.d.ts +4 -4
- package/es/utils/httpAssist.d.ts +1 -1
- package/es/utils/index.d.ts +40 -40
- package/es/utils/localMetaDataAssist.d.ts +17 -17
- package/es/utils/localStorageAssist.d.ts +57 -57
- package/es/utils/lodashTools.d.ts +87 -87
- package/es/utils/loggerAssist.d.ts +173 -173
- package/es/utils/messagePromptAssist.d.ts +212 -212
- package/es/utils/meta.d.ts +85 -85
- package/es/utils/modelAssist.d.ts +41 -41
- package/es/utils/navigationAssist.d.ts +14 -14
- package/es/utils/nearestLocalhostNotify.d.ts +9 -9
- package/es/utils/notificationPromptAssist.d.ts +177 -177
- package/es/utils/parametersDataAssist.d.ts +16 -16
- package/es/utils/progressAssist.d.ts +18 -18
- package/es/utils/promptAssist.d.ts +35 -35
- package/es/utils/queryString.d.ts +8 -8
- package/es/utils/requestAssist.d.ts +218 -218
- package/es/utils/runtimeAssist.d.ts +15 -15
- package/es/utils/sessionStorageAssist.d.ts +57 -57
- package/es/utils/tokenAssist.d.ts +21 -21
- package/es/utils/tools.d.ts +21 -21
- package/es/utils/userInterfaceGenerate.d.ts +17 -17
- package/package.json +19 -19
package/es/utils/tools.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Merge text use separator, ignore empty string
|
|
3
|
-
* @param {Object} options options
|
|
4
|
-
* @param {Array} options.textCollection the string array will be merged
|
|
5
|
-
* @param {string} options.separator string separator
|
|
6
|
-
*/
|
|
7
|
-
export function mergeTextCollection({ textCollection, separator }: {
|
|
8
|
-
textCollection: any[];
|
|
9
|
-
separator: string;
|
|
10
|
-
}): string;
|
|
11
|
-
/**
|
|
12
|
-
* Merge text use right arrow, ignore empty string
|
|
13
|
-
* @param {Array} textCollection the string array will be merged
|
|
14
|
-
*/
|
|
15
|
-
export function mergeArrowText(...textCollection: any[]): string;
|
|
16
|
-
/**
|
|
17
|
-
* Merge text message
|
|
18
|
-
* @param {string} text the string will be merged
|
|
19
|
-
* @param {string} ancillaryInformation when ancillary Information not empty, it will be merged
|
|
20
|
-
*/
|
|
21
|
-
export function mergeTextMessage(text: string, ancillaryInformation: string): string;
|
|
1
|
+
/**
|
|
2
|
+
* Merge text use separator, ignore empty string
|
|
3
|
+
* @param {Object} options options
|
|
4
|
+
* @param {Array} options.textCollection the string array will be merged
|
|
5
|
+
* @param {string} options.separator string separator
|
|
6
|
+
*/
|
|
7
|
+
export function mergeTextCollection({ textCollection, separator }: {
|
|
8
|
+
textCollection: any[];
|
|
9
|
+
separator: string;
|
|
10
|
+
}): string;
|
|
11
|
+
/**
|
|
12
|
+
* Merge text use right arrow, ignore empty string
|
|
13
|
+
* @param {Array} textCollection the string array will be merged
|
|
14
|
+
*/
|
|
15
|
+
export function mergeArrowText(...textCollection: any[]): string;
|
|
16
|
+
/**
|
|
17
|
+
* Merge text message
|
|
18
|
+
* @param {string} text the string will be merged
|
|
19
|
+
* @param {string} ancillaryInformation when ancillary Information not empty, it will be merged
|
|
20
|
+
*/
|
|
21
|
+
export function mergeTextMessage(text: string, ancillaryInformation: string): string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Build field description like '请输入名称,以字母开头'
|
|
3
|
-
*/
|
|
4
|
-
export function buildFieldDescription(title: any, operation: any, ancillaryInformation?: string): string;
|
|
5
|
-
export function checkFromConfig({ label, name, helper }: {
|
|
6
|
-
label: any;
|
|
7
|
-
name: any;
|
|
8
|
-
helper: any;
|
|
9
|
-
}): {
|
|
10
|
-
label: string;
|
|
11
|
-
name: string;
|
|
12
|
-
helper: string;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Build field helper message
|
|
16
|
-
*/
|
|
17
|
-
export function buildFieldHelper(v: any, prefix?: string): string;
|
|
1
|
+
/**
|
|
2
|
+
* Build field description like '请输入名称,以字母开头'
|
|
3
|
+
*/
|
|
4
|
+
export function buildFieldDescription(title: any, operation: any, ancillaryInformation?: string): string;
|
|
5
|
+
export function checkFromConfig({ label, name, helper }: {
|
|
6
|
+
label: any;
|
|
7
|
+
name: any;
|
|
8
|
+
helper: any;
|
|
9
|
+
}): {
|
|
10
|
+
label: string;
|
|
11
|
+
name: string;
|
|
12
|
+
helper: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Build field helper message
|
|
16
|
+
*/
|
|
17
|
+
export function buildFieldHelper(v: any, prefix?: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easy-soft-utility",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "easy-soft-utility",
|
|
6
6
|
"keywords": [
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"react-dom": "^18.2.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@babel/core": "^7.23.
|
|
72
|
+
"@babel/core": "^7.23.6",
|
|
73
73
|
"@babel/eslint-parser": "^7.23.3",
|
|
74
74
|
"@babel/plugin-external-helpers": "^7.23.3",
|
|
75
|
-
"@babel/plugin-proposal-decorators": "^7.23.
|
|
75
|
+
"@babel/plugin-proposal-decorators": "^7.23.6",
|
|
76
76
|
"@babel/plugin-transform-class-properties": "^7.23.3",
|
|
77
|
-
"@babel/plugin-transform-runtime": "^7.23.
|
|
78
|
-
"@babel/preset-env": "^7.23.
|
|
77
|
+
"@babel/plugin-transform-runtime": "^7.23.6",
|
|
78
|
+
"@babel/preset-env": "^7.23.6",
|
|
79
79
|
"@babel/preset-react": "^7.23.3",
|
|
80
|
-
"@babel/runtime": "^7.23.
|
|
80
|
+
"@babel/runtime": "^7.23.6",
|
|
81
81
|
"@changesets/cli": "^2.27.1",
|
|
82
82
|
"@commitlint/cli": "^18.4.3",
|
|
83
83
|
"@commitlint/config-conventional": "^18.4.3",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@rollup/plugin-babel": "6.0.4",
|
|
89
89
|
"@rollup/plugin-buble": "^1.0.3",
|
|
90
90
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
91
|
-
"@rollup/plugin-json": "^6.0
|
|
91
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
92
92
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
93
93
|
"@rollup/plugin-replace": "^5.0.5",
|
|
94
94
|
"@rollup/plugin-url": "^8.0.2",
|
|
@@ -96,14 +96,14 @@
|
|
|
96
96
|
"@types/fs-extra": "^11.0.4",
|
|
97
97
|
"@types/jest": "^29.5.11",
|
|
98
98
|
"@types/lodash": "^4.14.201",
|
|
99
|
-
"@types/node": "^20.10.
|
|
99
|
+
"@types/node": "^20.10.5",
|
|
100
100
|
"@types/object-hash": "^3.0.6",
|
|
101
101
|
"@types/qs": "^6.9.10",
|
|
102
102
|
"@types/react": "^18.2.37",
|
|
103
103
|
"@types/shelljs": "^0.8.15",
|
|
104
104
|
"@types/webpack-env": "^1.18.4",
|
|
105
105
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
106
|
-
"@typescript-eslint/parser": "^6.
|
|
106
|
+
"@typescript-eslint/parser": "^6.15.0",
|
|
107
107
|
"autoprefixer": "^10.4.16",
|
|
108
108
|
"babel-cli": "^6.26.0",
|
|
109
109
|
"babel-jest": "^29.7.0",
|
|
@@ -112,25 +112,25 @@
|
|
|
112
112
|
"commitizen": "^4.3.0",
|
|
113
113
|
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
114
114
|
"cross-env": "^7.0.3",
|
|
115
|
-
"cssnano": "^6.0.
|
|
115
|
+
"cssnano": "^6.0.2",
|
|
116
116
|
"documentation": "^14.0.2",
|
|
117
|
-
"easy-soft-develop": "^2.1.
|
|
118
|
-
"eslint": "^8.
|
|
117
|
+
"easy-soft-develop": "^2.1.52",
|
|
118
|
+
"eslint": "^8.56.0",
|
|
119
119
|
"eslint-config-airbnb": "^19.0.4",
|
|
120
120
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
121
121
|
"eslint-config-prettier": "^9.1.0",
|
|
122
122
|
"eslint-formatter-pretty": "^6.0.0",
|
|
123
123
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
124
124
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
125
|
-
"eslint-plugin-import": "^2.29.
|
|
125
|
+
"eslint-plugin-import": "^2.29.1",
|
|
126
126
|
"eslint-plugin-jest": "^27.6.0",
|
|
127
127
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
128
|
-
"eslint-plugin-prettier": "^5.
|
|
128
|
+
"eslint-plugin-prettier": "^5.1.2",
|
|
129
129
|
"eslint-plugin-promise": "^6.1.1",
|
|
130
130
|
"eslint-plugin-react": "^7.33.2",
|
|
131
131
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
132
132
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
133
|
-
"eslint-plugin-unicorn": "^
|
|
133
|
+
"eslint-plugin-unicorn": "^50.0.1",
|
|
134
134
|
"husky": "^8.0.3",
|
|
135
135
|
"jest": "^29.7.0",
|
|
136
136
|
"lint-staged": "^15.2.0",
|
|
@@ -138,12 +138,12 @@
|
|
|
138
138
|
"postcss": "^8.4.31",
|
|
139
139
|
"postcss-less": "^6.0.0",
|
|
140
140
|
"postcss-pxtorem": "^6.0.0",
|
|
141
|
-
"prettier": "^3.1.
|
|
141
|
+
"prettier": "^3.1.1",
|
|
142
142
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
143
143
|
"prettier-plugin-packagejson": "^2.4.7",
|
|
144
144
|
"react-refresh": "^0.14.0",
|
|
145
145
|
"rimraf": "^5.0.5",
|
|
146
|
-
"rollup": "^4.
|
|
146
|
+
"rollup": "^4.9.1",
|
|
147
147
|
"rollup-plugin-copy": "^3.5.0",
|
|
148
148
|
"rollup-plugin-livereload": "^2.0.5",
|
|
149
149
|
"rollup-plugin-postcss": "^4.0.2",
|
|
@@ -151,10 +151,10 @@
|
|
|
151
151
|
"rollup-plugin-terser": "^7.0.2",
|
|
152
152
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
153
153
|
"shelljs": "^0.8.5",
|
|
154
|
-
"stylelint": "^
|
|
154
|
+
"stylelint": "^16.0.2",
|
|
155
155
|
"stylelint-config-css-modules": "^4.3.0",
|
|
156
156
|
"stylelint-config-prettier": "^9.0.5",
|
|
157
|
-
"stylelint-config-standard": "^
|
|
157
|
+
"stylelint-config-standard": "^35.0.0",
|
|
158
158
|
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
|
|
159
159
|
"terminal-kit": "^3.0.1",
|
|
160
160
|
"webpack": "^5.89.0"
|