@bit-sun/business-component 2.1.23 → 2.1.24

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 (49) hide show
  1. package/.fatherrc.ts +1 -1
  2. package/.umirc.ts +6 -6
  3. package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +2 -0
  4. package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +2 -0
  5. package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +6 -0
  6. package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +2 -0
  7. package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +2 -0
  8. package/dist/components/Business/JsonQueryTable/function.d.ts +37 -0
  9. package/dist/components/Business/JsonQueryTable/index.d.ts +4 -0
  10. package/dist/components/Business/JsonQueryTable/static.d.ts +39 -0
  11. package/dist/index.d.ts +1 -0
  12. package/dist/index.esm.js +8431 -18
  13. package/dist/index.js +8428 -10
  14. package/dist/utils/utils.d.ts +2 -0
  15. package/package.json +10 -4
  16. package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -0
  17. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +202 -0
  18. package/src/components/Business/JsonQueryTable/components/Formula.tsx +205 -0
  19. package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -0
  20. package/src/components/Business/JsonQueryTable/configButton/index.js +20 -0
  21. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -0
  22. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -0
  23. package/src/components/Business/JsonQueryTable/configTree/index.js +82 -0
  24. package/src/components/Business/JsonQueryTable/configTree/index.less +44 -0
  25. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -0
  26. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -0
  27. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -0
  28. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -0
  29. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -0
  30. package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -0
  31. package/src/components/Business/JsonQueryTable/function.ts +62 -0
  32. package/src/components/Business/JsonQueryTable/index.less +17 -0
  33. package/src/components/Business/JsonQueryTable/index.md +328 -0
  34. package/src/components/Business/JsonQueryTable/index.tsx +320 -0
  35. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -0
  36. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -0
  37. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -0
  38. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -0
  39. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -0
  40. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -0
  41. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -0
  42. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -0
  43. package/src/components/Business/JsonQueryTable/static.ts +356 -0
  44. package/src/components/Functional/BillEntry/index.tsx +0 -1
  45. package/src/components/Functional/SearchSelect/utils.ts +0 -3
  46. package/src/index.ts +3 -1
  47. package/src/utils/getFormMode.js +12 -0
  48. package/src/utils/serialize.js +7 -0
  49. package/src/utils/utils.ts +40 -0
@@ -12,3 +12,5 @@ export declare const handleBssulaColumnsSpecialParams: (col: any) => void;
12
12
  * @param col 每一具体行
13
13
  */
14
14
  export declare const handleAntdColumnsSpecialParams: (col: any) => void;
15
+ export declare const getDictionarySource: (dicCode: string, needConvertInterger?: boolean) => any;
16
+ export declare function uuid(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "2.1.23",
3
+ "version": "2.1.24",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -37,6 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@ant-design/icons": "^4.7.0",
40
+ "@monaco-editor/react": "^3.3.0",
41
+ "serialize-javascript": "^6.0.0",
40
42
  "@types/react-resizable": "^1.7.4",
41
43
  "@umijs/plugin-antd": "latest",
42
44
  "ahooks": "^3.1.2",
@@ -49,13 +51,16 @@
49
51
  "react-beautiful-dnd": "10.0.0",
50
52
  "react-resizable": "^3.0.4",
51
53
  "react-sortable-hoc": "^2.0.0",
52
- "warning": "^4.0.3"
54
+ "warning": "^4.0.3",
55
+ "ast-types": "^0.13.3"
53
56
  },
54
57
  "devDependencies": {
55
58
  "@ant-design/pro-layout": "^7.1.3",
56
- "antd": "^4.17.2",
57
59
  "@types/lodash": "^4.14.185",
58
60
  "@umijs/test": "^3.0.5",
61
+ "acorn": "^7.2.0",
62
+ "acorn-walk": "^7.1.1",
63
+ "antd": "^4.17.2",
59
64
  "bssula": "^2.1.29",
60
65
  "dumi": "^1.0.14",
61
66
  "father-build": "^1.17.2",
@@ -63,7 +68,8 @@
63
68
  "lint-staged": "^10.0.7",
64
69
  "prettier": "^2.2.1",
65
70
  "react-dnd": "^16.0.1",
66
- "react-dnd-html5-backend": "^16.0.1"
71
+ "react-dnd-html5-backend": "^16.0.1",
72
+ "rollup-plugin-commonjs": "^10.1.0"
67
73
  },
68
74
  "publishConfig": {
69
75
  "access": "public"