@jiaozhiye/qm-design-react 1.8.19 → 1.8.21
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/lib/icons/ArrowTopRightOutlined/index.d.ts +3 -0
- package/lib/icons/CircleOutlined/index.d.ts +3 -0
- package/lib/icons/FontOutlined/index.d.ts +3 -0
- package/lib/icons/index.d.ts +3 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/signature/index.d.ts +3 -0
- package/lib/signature/src/lib/bezier.d.ts +17 -0
- package/lib/signature/src/lib/index.d.ts +124 -0
- package/lib/signature/src/lib/point.d.ts +16 -0
- package/lib/signature/src/lib/throttle.d.ts +1 -0
- package/lib/signature/src/signature.d.ts +26 -0
- package/lib/signature/style/index.less +165 -0
- package/lib/style/index.css +158 -1
- package/lib/style/index.less +41 -40
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/filter-sql/index.d.ts +1 -1
- package/lib/table/src/group-summary/result.d.ts +1 -1
- package/package.json +140 -139
|
@@ -2,4 +2,4 @@ import type { IRecord } from '../table/types';
|
|
|
2
2
|
export declare const stringify: (string: any, separator?: string) => any;
|
|
3
3
|
export declare const array_format: (array: any) => string;
|
|
4
4
|
export declare const isBracketBalance: (str: any) => boolean;
|
|
5
|
-
export declare const where: <T extends IRecord<any>>(array: T[], query: string
|
|
5
|
+
export declare const where: <T extends IRecord<any>>(array: T[], query: string) => T[];
|
package/package.json
CHANGED
|
@@ -1,139 +1,140 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@jiaozhiye/qm-design-react",
|
|
3
|
-
"version": "1.8.
|
|
4
|
-
"description": "A Component Library for React",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"React",
|
|
7
|
-
"components",
|
|
8
|
-
"typescript"
|
|
9
|
-
],
|
|
10
|
-
"author": "jiaozhiye",
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"scripts": {
|
|
13
|
-
"dev": "cross-env NODE_ENV=development BABEL_ENV=web webpack serve --progress --config build/webpack.src.conf.js",
|
|
14
|
-
"build:lib": "yarn clean:lib && yarn build:umd && yarn build:esm && yarn build:type && yarn build:locale && yarn build:theme",
|
|
15
|
-
"build:umd": "cross-env NODE_ENV=production BABEL_ENV=lib webpack --config ./build/webpack.build.conf.js",
|
|
16
|
-
"build:esm": "cross-env BABEL_ENV=lib rollup --config ./build/build-esm.rollup.js",
|
|
17
|
-
"build:type": "gulp build --gulpfile ./build/build-type.gulp.js && cp-cli lib/packages lib && rimraf lib/packages",
|
|
18
|
-
"build:locale": "cross-env BABEL_ENV=lib babel packages/locale --extensions .ts --out-dir lib/locale",
|
|
19
|
-
"build:theme": "gulp build --gulpfile ./build/build-style.gulp.js",
|
|
20
|
-
"clean:lib": "rimraf lib",
|
|
21
|
-
"lint": "eslint ./packages --ext .js,.ts,.jsx,.tsx",
|
|
22
|
-
"lint-fix": "eslint --fix ./packages --ext .js,.ts,.jsx,.tsx",
|
|
23
|
-
"format": "prettier --write \"./packages/**/*.{js,ts,jsx,tsx}\""
|
|
24
|
-
},
|
|
25
|
-
"husky": {
|
|
26
|
-
"hooks": {
|
|
27
|
-
"pre-commit": "lint-staged"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"lint-staged": {
|
|
31
|
-
"packages/**/*.{js,ts,jsx,tsx}": [
|
|
32
|
-
"npm run lint-fix",
|
|
33
|
-
"git add"
|
|
34
|
-
],
|
|
35
|
-
"packages/**/*.{less}": "prettier --write"
|
|
36
|
-
},
|
|
37
|
-
"publishConfig": {
|
|
38
|
-
"registry": "https://registry.npmjs.org/"
|
|
39
|
-
},
|
|
40
|
-
"files": [
|
|
41
|
-
"lib"
|
|
42
|
-
],
|
|
43
|
-
"main": "lib/index.js",
|
|
44
|
-
"module": "lib/index.esm.js",
|
|
45
|
-
"unpkg": "lib/index.full.js",
|
|
46
|
-
"types": "lib/index.d.ts",
|
|
47
|
-
"style": "lib/style/index.css",
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"react": ">=16.14.0",
|
|
50
|
-
"react-dom": ">=16.14.0"
|
|
51
|
-
},
|
|
52
|
-
"dependencies": {
|
|
53
|
-
"@rc-component/portal": "^1.1.2",
|
|
54
|
-
"@rc-component/trigger": "^1.17.0",
|
|
55
|
-
"add-dom-event-listener": "^1.1.0",
|
|
56
|
-
"antd": "4.24.16",
|
|
57
|
-
"axios": "^0.27.2",
|
|
58
|
-
"big.js": "^6.2.1",
|
|
59
|
-
"china-area-data": "^5.0.1",
|
|
60
|
-
"classnames": "^2.3.2",
|
|
61
|
-
"copy-to-clipboard": "^3.3.2",
|
|
62
|
-
"cropperjs": "^1.5.12",
|
|
63
|
-
"dayjs": "1.x",
|
|
64
|
-
"exceljs": "^4.4.0",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"react-
|
|
72
|
-
"react-
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"@babel/
|
|
80
|
-
"@babel/
|
|
81
|
-
"@babel/plugin-proposal-
|
|
82
|
-
"@babel/plugin-
|
|
83
|
-
"@babel/plugin-
|
|
84
|
-
"@babel/
|
|
85
|
-
"@babel/preset-
|
|
86
|
-
"@babel/preset-
|
|
87
|
-
"@
|
|
88
|
-
"@rollup/plugin-
|
|
89
|
-
"@rollup/plugin-
|
|
90
|
-
"@rollup/plugin-
|
|
91
|
-
"@rollup/plugin-
|
|
92
|
-
"@rollup/plugin-
|
|
93
|
-
"@rollup/plugin-
|
|
94
|
-
"@
|
|
95
|
-
"@types/
|
|
96
|
-
"@types/react
|
|
97
|
-
"@
|
|
98
|
-
"@typescript-eslint/
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"eslint
|
|
107
|
-
"eslint-plugin-
|
|
108
|
-
"eslint-plugin-react
|
|
109
|
-
"eslint-
|
|
110
|
-
"
|
|
111
|
-
"gulp
|
|
112
|
-
"gulp-
|
|
113
|
-
"gulp-
|
|
114
|
-
"gulp-
|
|
115
|
-
"gulp-
|
|
116
|
-
"gulp-
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"less
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"react
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"webpack
|
|
133
|
-
"webpack-
|
|
134
|
-
"webpack-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@jiaozhiye/qm-design-react",
|
|
3
|
+
"version": "1.8.21",
|
|
4
|
+
"description": "A Component Library for React",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"React",
|
|
7
|
+
"components",
|
|
8
|
+
"typescript"
|
|
9
|
+
],
|
|
10
|
+
"author": "jiaozhiye",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "cross-env NODE_ENV=development BABEL_ENV=web webpack serve --progress --config build/webpack.src.conf.js",
|
|
14
|
+
"build:lib": "yarn clean:lib && yarn build:umd && yarn build:esm && yarn build:type && yarn build:locale && yarn build:theme",
|
|
15
|
+
"build:umd": "cross-env NODE_ENV=production BABEL_ENV=lib webpack --config ./build/webpack.build.conf.js",
|
|
16
|
+
"build:esm": "cross-env BABEL_ENV=lib rollup --config ./build/build-esm.rollup.js",
|
|
17
|
+
"build:type": "gulp build --gulpfile ./build/build-type.gulp.js && cp-cli lib/packages lib && rimraf lib/packages",
|
|
18
|
+
"build:locale": "cross-env BABEL_ENV=lib babel packages/locale --extensions .ts --out-dir lib/locale",
|
|
19
|
+
"build:theme": "gulp build --gulpfile ./build/build-style.gulp.js",
|
|
20
|
+
"clean:lib": "rimraf lib",
|
|
21
|
+
"lint": "eslint ./packages --ext .js,.ts,.jsx,.tsx",
|
|
22
|
+
"lint-fix": "eslint --fix ./packages --ext .js,.ts,.jsx,.tsx",
|
|
23
|
+
"format": "prettier --write \"./packages/**/*.{js,ts,jsx,tsx}\""
|
|
24
|
+
},
|
|
25
|
+
"husky": {
|
|
26
|
+
"hooks": {
|
|
27
|
+
"pre-commit": "lint-staged"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"lint-staged": {
|
|
31
|
+
"packages/**/*.{js,ts,jsx,tsx}": [
|
|
32
|
+
"npm run lint-fix",
|
|
33
|
+
"git add"
|
|
34
|
+
],
|
|
35
|
+
"packages/**/*.{less}": "prettier --write"
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"registry": "https://registry.npmjs.org/"
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"lib"
|
|
42
|
+
],
|
|
43
|
+
"main": "lib/index.js",
|
|
44
|
+
"module": "lib/index.esm.js",
|
|
45
|
+
"unpkg": "lib/index.full.js",
|
|
46
|
+
"types": "lib/index.d.ts",
|
|
47
|
+
"style": "lib/style/index.css",
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"react": ">=16.14.0",
|
|
50
|
+
"react-dom": ">=16.14.0"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@rc-component/portal": "^1.1.2",
|
|
54
|
+
"@rc-component/trigger": "^1.17.0",
|
|
55
|
+
"add-dom-event-listener": "^1.1.0",
|
|
56
|
+
"antd": "4.24.16",
|
|
57
|
+
"axios": "^0.27.2",
|
|
58
|
+
"big.js": "^6.2.1",
|
|
59
|
+
"china-area-data": "^5.0.1",
|
|
60
|
+
"classnames": "^2.3.2",
|
|
61
|
+
"copy-to-clipboard": "^3.3.2",
|
|
62
|
+
"cropperjs": "^1.5.12",
|
|
63
|
+
"dayjs": "1.x",
|
|
64
|
+
"exceljs": "^4.4.0",
|
|
65
|
+
"html2canvas": "^1.4.1",
|
|
66
|
+
"localforage": "^1.10.0",
|
|
67
|
+
"lodash-es": "^4.17.21",
|
|
68
|
+
"memoize-one": "^6.0.0",
|
|
69
|
+
"omit.js": "^2.0.2",
|
|
70
|
+
"prop-types": "^15.8.1",
|
|
71
|
+
"react-countup": "^6.4.0",
|
|
72
|
+
"react-draggable": "^4.4.6",
|
|
73
|
+
"react-sortablejs": "^6.1.4",
|
|
74
|
+
"resize-observer-polyfill": "^1.5.1",
|
|
75
|
+
"scroll-into-view-if-needed": "^2.2.31",
|
|
76
|
+
"sortablejs": "^1.15.0"
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@babel/cli": "^7.18.6",
|
|
80
|
+
"@babel/core": "^7.18.6",
|
|
81
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
82
|
+
"@babel/plugin-proposal-decorators": "^7.18.6",
|
|
83
|
+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
84
|
+
"@babel/plugin-transform-runtime": "^7.18.6",
|
|
85
|
+
"@babel/preset-env": "^7.18.6",
|
|
86
|
+
"@babel/preset-react": "^7.18.6",
|
|
87
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
88
|
+
"@rollup/plugin-babel": "^5.3.0",
|
|
89
|
+
"@rollup/plugin-commonjs": "^22.0.2",
|
|
90
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
91
|
+
"@rollup/plugin-node-resolve": "^14.1.0",
|
|
92
|
+
"@rollup/plugin-replace": "^4.0.0",
|
|
93
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
94
|
+
"@rollup/plugin-typescript": "^8.5.0",
|
|
95
|
+
"@types/lodash-es": "^4.17.6",
|
|
96
|
+
"@types/react": "^17.0.58",
|
|
97
|
+
"@types/react-dom": "^17.0.20",
|
|
98
|
+
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
|
99
|
+
"@typescript-eslint/parser": "^5.30.0",
|
|
100
|
+
"autoprefixer": "^10.4.14",
|
|
101
|
+
"babel-loader": "^9.1.0",
|
|
102
|
+
"core-js": "^3.32.0",
|
|
103
|
+
"cp-cli": "^2.0.0",
|
|
104
|
+
"cross-env": "^7.0.3",
|
|
105
|
+
"css-loader": "^6.7.3",
|
|
106
|
+
"eslint": "^8.40.0",
|
|
107
|
+
"eslint-plugin-prettier": "^4.2.0",
|
|
108
|
+
"eslint-plugin-react": "^7.32.0",
|
|
109
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
110
|
+
"eslint-webpack-plugin": "^3.2.0",
|
|
111
|
+
"gulp": "^4.0.2",
|
|
112
|
+
"gulp-autoprefixer": "^8.0.0",
|
|
113
|
+
"gulp-clean-css": "^4.3.0",
|
|
114
|
+
"gulp-ignore": "^3.0.0",
|
|
115
|
+
"gulp-less": "^5.0.0",
|
|
116
|
+
"gulp-rename": "^2.0.0",
|
|
117
|
+
"gulp-typescript": "^6.0.0-alpha.1",
|
|
118
|
+
"html-webpack-plugin": "^5.6.0",
|
|
119
|
+
"husky": "^4.3.8",
|
|
120
|
+
"less": "^4.2.0",
|
|
121
|
+
"less-loader": "^11.1.4",
|
|
122
|
+
"lint-staged": "^10.5.4",
|
|
123
|
+
"mockjs": "^1.1.0",
|
|
124
|
+
"prettier": "^2.8.8",
|
|
125
|
+
"react": "17.0.2",
|
|
126
|
+
"react-dom": "17.0.2",
|
|
127
|
+
"rimraf": "^3.0.2",
|
|
128
|
+
"rollup": "^2.79.1",
|
|
129
|
+
"style-loader": "^3.3.4",
|
|
130
|
+
"ts-loader": "^9.4.4",
|
|
131
|
+
"typescript": "^4.9.5",
|
|
132
|
+
"webpack": "^5.88.2",
|
|
133
|
+
"webpack-cli": "^5.1.4",
|
|
134
|
+
"webpack-dev-server": "^4.15.1",
|
|
135
|
+
"webpack-node-externals": "^3.0.0"
|
|
136
|
+
},
|
|
137
|
+
"engines": {
|
|
138
|
+
"node": ">= 14"
|
|
139
|
+
}
|
|
140
|
+
}
|