@bit-sun/business-component 2.0.9 → 2.0.12

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.
Files changed (67) hide show
  1. package/.editorconfig +16 -16
  2. package/.fatherrc.ts +4 -4
  3. package/.gitlab-ci.yml +135 -174
  4. package/.prettierignore +7 -7
  5. package/.prettierrc +11 -11
  6. package/.umirc.ts +90 -74
  7. package/Dockerfile +11 -0
  8. package/README.md +27 -27
  9. package/dist/app.d.ts +0 -0
  10. package/dist/components/Business/SearchSelect/index.d.ts +1 -1
  11. package/dist/components/Functional/SearchSelect/index.d.ts +2 -1
  12. package/dist/components/sulaQueryTable/BsSulaQueryTable.d.ts +2 -0
  13. package/dist/components/sulaQueryTable/draggableTable.d.ts +22 -0
  14. package/dist/components/sulaQueryTable/statusComponent.d.ts +2 -0
  15. package/dist/components/sulaQueryTable/utils.d.ts +41 -0
  16. package/dist/index.esm.js +7347 -6790
  17. package/dist/index.js +7345 -6789
  18. package/docs/index.md +21 -21
  19. package/nginx.conf +43 -0
  20. package/package.json +60 -50
  21. package/src/app.tsx +3 -0
  22. package/src/components/Business/AddSelectBusiness/index.md +41 -41
  23. package/src/components/Business/AddSelectBusiness/index.tsx +300 -299
  24. package/src/components/Business/CommodityEntry/index.md +69 -69
  25. package/src/components/Business/CommodityEntry/index.tsx +78 -78
  26. package/src/components/Business/SearchSelect/BusinessUtils.ts +1445 -1445
  27. package/src/components/Business/SearchSelect/common.ts +53 -53
  28. package/src/components/Business/SearchSelect/index.md +1136 -1137
  29. package/src/components/Business/SearchSelect/index.tsx +49 -44
  30. package/src/components/Business/SearchSelect/utils.ts +99 -99
  31. package/src/components/Business/TreeSearchSelect/index.md +126 -126
  32. package/src/components/Business/TreeSearchSelect/index.tsx +34 -34
  33. package/src/components/Business/TreeSearchSelect/utils.ts +60 -60
  34. package/src/components/Functional/AddSelect/index.less +352 -352
  35. package/src/components/Functional/AddSelect/index.md +120 -120
  36. package/src/components/Functional/AddSelect/index.tsx +896 -896
  37. package/src/components/Functional/BillEntry/index.less +371 -371
  38. package/src/components/Functional/BillEntry/index.md +37 -37
  39. package/src/components/Functional/BillEntry/index.tsx +561 -561
  40. package/src/components/Functional/DataImport/index.less +63 -63
  41. package/src/components/Functional/DataImport/index.md +44 -44
  42. package/src/components/Functional/DataImport/index.tsx +689 -689
  43. package/src/components/Functional/DataValidation/index.less +63 -63
  44. package/src/components/Functional/DataValidation/index.md +38 -38
  45. package/src/components/Functional/DataValidation/index.tsx +680 -680
  46. package/src/components/Functional/QueryMutipleInput/index.less +37 -37
  47. package/src/components/Functional/QueryMutipleInput/index.md +33 -33
  48. package/src/components/Functional/QueryMutipleInput/index.tsx +128 -128
  49. package/src/components/Functional/SearchSelect/index.less +115 -115
  50. package/src/components/Functional/SearchSelect/index.md +141 -141
  51. package/src/components/Functional/SearchSelect/index.tsx +791 -732
  52. package/src/components/Functional/TreeSearchSelect/index.md +47 -47
  53. package/src/components/Functional/TreeSearchSelect/index.tsx +149 -149
  54. package/src/components/sulaQueryTable/BsSulaQueryTable.tsx +368 -0
  55. package/src/components/sulaQueryTable/draggableTable.tsx +111 -0
  56. package/src/components/sulaQueryTable/index.md +271 -0
  57. package/src/components/sulaQueryTable/status-component.less +8 -0
  58. package/src/components/sulaQueryTable/statusComponent.tsx +42 -0
  59. package/src/components/sulaQueryTable/utils.less +48 -0
  60. package/src/components/sulaQueryTable/utils.tsx +336 -0
  61. package/src/global.less +97 -0
  62. package/src/index.ts +22 -22
  63. package/src/utils/CheckOneUser/index.md +39 -39
  64. package/src/utils/CheckOneUser/index.ts +51 -51
  65. package/src/utils/requestUtils.ts +32 -32
  66. package/tsconfig.json +29 -29
  67. package/typings.d.ts +2 -2
package/docs/index.md CHANGED
@@ -1,21 +1,21 @@
1
- ---
2
- hero:
3
- title: business-component
4
- desc: business-component site example
5
- actions:
6
- - text: Getting Started
7
- link: /components
8
- features:
9
- - icon: https://gw.alipayobjects.com/zos/bmw-prod/881dc458-f20b-407b-947a-95104b5ec82b/k79dm8ih_w144_h144.png
10
- title: Feature 1
11
- desc: Balabala
12
- - icon: https://gw.alipayobjects.com/zos/bmw-prod/d60657df-0822-4631-9d7c-e7a869c2f21c/k79dmz3q_w126_h126.png
13
- title: Feature 2
14
- desc: Balabala
15
- - icon: https://gw.alipayobjects.com/zos/bmw-prod/d1ee0c6f-5aed-4a45-a507-339a4bfe076c/k7bjsocq_w144_h144.png
16
- title: Feature 3
17
- desc: Balabala
18
- footer: Open-source MIT Licensed | Copyright © 2020<br />Powered by [dumi](https://d.umijs.org)
19
- ---
20
-
21
- ## Hello business-component!
1
+ ---
2
+ hero:
3
+ title: business-component
4
+ desc: business-component site example
5
+ actions:
6
+ - text: Getting Started
7
+ link: /components
8
+ features:
9
+ - icon: https://gw.alipayobjects.com/zos/bmw-prod/881dc458-f20b-407b-947a-95104b5ec82b/k79dm8ih_w144_h144.png
10
+ title: Feature 1
11
+ desc: Balabala
12
+ - icon: https://gw.alipayobjects.com/zos/bmw-prod/d60657df-0822-4631-9d7c-e7a869c2f21c/k79dmz3q_w126_h126.png
13
+ title: Feature 2
14
+ desc: Balabala
15
+ - icon: https://gw.alipayobjects.com/zos/bmw-prod/d1ee0c6f-5aed-4a45-a507-339a4bfe076c/k7bjsocq_w144_h144.png
16
+ title: Feature 3
17
+ desc: Balabala
18
+ footer: Open-source MIT Licensed | Copyright © 2020<br />Powered by [dumi](https://d.umijs.org)
19
+ ---
20
+
21
+ ## Hello business-component!
package/nginx.conf ADDED
@@ -0,0 +1,43 @@
1
+ user root;
2
+ worker_processes 1;
3
+
4
+ error_log /var/log/nginx/error.log warn;
5
+ pid /var/run/nginx.pid;
6
+
7
+
8
+ events {
9
+ worker_connections 1024;
10
+ }
11
+
12
+
13
+ http {
14
+ include /etc/nginx/mime.types;
15
+ default_type application/octet-stream;
16
+
17
+ log_format main '$remote_addr - $remote_user [$time_local] "$request" '
18
+ '$status $body_bytes_sent "$http_referer" '
19
+ '"$http_user_agent" "$http_x_forwarded_for"';
20
+
21
+ access_log /var/log/nginx/access.log main;
22
+
23
+ sendfile on;
24
+ #tcp_nopush on;
25
+
26
+ keepalive_timeout 65;
27
+
28
+ #gzip on;
29
+
30
+ #include /etc/nginx/conf.d/*.conf;
31
+ server {
32
+ listen 8486;
33
+ location / {
34
+ autoindex on;
35
+ index index.html index.htm ;
36
+ root /root/docs-dist/;
37
+ proxy_set_header Host $host;
38
+ proxy_set_header X-Real-IP $remote_addr;
39
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
40
+ try_files $uri $uri/ /index.html;
41
+ }
42
+ }
43
+ }
package/package.json CHANGED
@@ -1,50 +1,60 @@
1
- {
2
- "name": "@bit-sun/business-component",
3
- "version": "2.0.9",
4
- "scripts": {
5
- "start": "dumi dev",
6
- "docs:build": "dumi build",
7
- "docs:deploy": "gh-pages -d docs-dist",
8
- "build": "father-build",
9
- "deploy": "npm run docs:build && npm run docs:deploy",
10
- "release": "npm run build && npm publish",
11
- "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
12
- "test": "umi-test",
13
- "test:coverage": "umi-test --coverage"
14
- },
15
- "main": "dist/index.js",
16
- "module": "dist/index.esm.js",
17
- "typings": "dist/index.d.ts",
18
- "gitHooks": {
19
- "pre-commit": "lint-staged"
20
- },
21
- "lint-staged": {
22
- "*.{js,jsx,less,md,json}": [
23
- "prettier --write"
24
- ],
25
- "*.ts?(x)": [
26
- "prettier --parser=typescript --write"
27
- ]
28
- },
29
- "dependencies": {
30
- "ahooks": "^3.1.2",
31
- "antd": "4.17.2",
32
- "axios": "^0.24.0",
33
- "classnames": "^2.3.1",
34
- "loadsh": "^0.0.4",
35
- "querystring": "^0.2.1",
36
- "react": "^16.12.0",
37
- "react-beautiful-dnd": "10.0.0"
38
- },
39
- "devDependencies": {
40
- "@umijs/test": "^3.0.5",
41
- "dumi": "^1.0.14",
42
- "father-build": "^1.17.2",
43
- "gh-pages": "^3.0.0",
44
- "lint-staged": "^10.0.7",
45
- "prettier": "^2.2.1"
46
- },
47
- "publishConfig": {
48
- "access": "public"
49
- }
50
- }
1
+ {
2
+ "name": "@bit-sun/business-component",
3
+ "version": "2.0.12",
4
+ "scripts": {
5
+ "start": "dumi dev",
6
+ "docs:build": "dumi build",
7
+ "docs:deploy": "gh-pages -d docs-dist",
8
+ "build": "father-build",
9
+ "deploy": "npm run docs:build && npm run docs:deploy",
10
+ "release": "npm run build && npm publish",
11
+ "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
12
+ "test": "umi-test",
13
+ "test:coverage": "umi-test --coverage"
14
+ },
15
+ "main": "dist/index.js",
16
+ "module": "dist/index.esm.js",
17
+ "typings": "dist/index.d.ts",
18
+ "gitHooks": {
19
+ "pre-commit": "lint-staged"
20
+ },
21
+ "lint-staged": {
22
+ "*.{js,jsx,less,md,json}": [
23
+ "prettier --write"
24
+ ],
25
+ "*.ts?(x)": [
26
+ "prettier --parser=typescript --write"
27
+ ]
28
+ },
29
+ "dependencies": {
30
+ "@ant-design/icons": "^4.7.0",
31
+ "@types/react-resizable": "^1.7.4",
32
+ "ahooks": "^3.1.2",
33
+ "array-move": "^4.0.0",
34
+ "axios": "^0.24.0",
35
+ "bssula": "^2.0.0",
36
+ "antd": "4.17.2",
37
+ "classnames": "^2.3.1",
38
+ "loadsh": "^0.0.4",
39
+ "moment": "^2.29.3",
40
+ "querystring": "^0.2.1",
41
+ "react": "^16.12.0",
42
+ "react-beautiful-dnd": "10.0.0",
43
+ "react-resizable": "^3.0.4",
44
+ "react-sortable-hoc": "^2.0.0",
45
+ "warning": "^4.0.3",
46
+ "umi-plugin-bssula": "1.0.13",
47
+ "@umijs/plugin-antd": "latest"
48
+ },
49
+ "devDependencies": {
50
+ "@umijs/test": "^3.0.5",
51
+ "dumi": "^1.0.14",
52
+ "father-build": "^1.17.2",
53
+ "gh-pages": "^3.0.0",
54
+ "lint-staged": "^10.0.7",
55
+ "prettier": "^2.2.1"
56
+ },
57
+ "publishConfig": {
58
+ "access": "public"
59
+ }
60
+ }