antd-management-fast-framework 1.11.45 → 1.11.49

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 (31) hide show
  1. package/CHANGELOG.md +509 -0
  2. package/es/configGroup/configGeneral.js +1 -1
  3. package/es/customComponents/FileBase64Upload/index.js +1 -1
  4. package/es/customComponents/FileUpload/index.d.ts +27 -0
  5. package/es/customComponents/FileUpload/index.js +399 -0
  6. package/es/customComponents/FunctionComponent/index.d.ts +2 -1
  7. package/es/customComponents/FunctionComponent/index.js +4 -2
  8. package/es/customComponents/MobileContainor/ContentView/index.d.ts +6 -0
  9. package/es/customComponents/MobileContainor/ContentView/index.js +65 -0
  10. package/es/customComponents/MobileContainor/ContentView/index.less +24 -0
  11. package/es/customComponents/MobileContainor/Devices/GalaxyNote8/index.js +3 -1
  12. package/es/customComponents/MobileContainor/Devices/IPhone5S/index.js +3 -1
  13. package/es/customComponents/MobileContainor/Devices/Iphone8/index.js +3 -1
  14. package/es/customComponents/MobileContainor/Devices/Iphone8plus/index.js +3 -1
  15. package/es/customComponents/MobileContainor/Devices/IphoneX/index.js +3 -1
  16. package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +37 -0
  17. package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +228 -0
  18. package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +2 -2
  19. package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +4 -4
  20. package/es/customComponents/MobileContainor/RoughSketch/index.js +3 -3
  21. package/es/customComponents/MobileContainor/RoughSketch/index.less +0 -24
  22. package/es/framework/Common/index.d.ts +10 -1
  23. package/es/framework/Common/index.js +157 -6
  24. package/es/framework/CustomWrapper/SupplementCore/index.js +17 -0
  25. package/es/framework/DataListView/Base/index.d.ts +1 -5
  26. package/es/framework/DataListView/Base/index.js +1 -29
  27. package/es/framework/DataModal/Base/index.d.ts +1 -1
  28. package/es/framework/DataModal/Base/index.js +4 -4
  29. package/es/utils/constants.d.ts +5 -1
  30. package/es/utils/constants.js +6 -1
  31. package/package.json +7 -7
@@ -207,10 +207,6 @@ var Base = /*#__PURE__*/function (_BaseWindow) {
207
207
  return _this.buildCardCollection(_this.establishCardCollectionConfig());
208
208
  };
209
209
 
210
- _this.renderFormWrapper = function () {
211
- return _this.renderForm();
212
- };
213
-
214
210
  _this.renderForm = function () {
215
211
  var _this$state = _this.state,
216
212
  metaData = _this$state.metaData,
@@ -235,6 +231,10 @@ var Base = /*#__PURE__*/function (_BaseWindow) {
235
231
  }, otherFormProps), _this.formContent());
236
232
  };
237
233
 
234
+ _this.renderFormWrapper = function () {
235
+ return _this.renderForm();
236
+ };
237
+
238
238
  _this.renderModalInner = function () {
239
239
  return _this.renderFormWrapper();
240
240
  };
@@ -370,7 +370,11 @@ export namespace cardConfig {
370
370
  */
371
371
  videoUpload: string;
372
372
  /**
373
- * yinpin上传
373
+ * 文件上传
374
+ */
375
+ fileUpload: string;
376
+ /**
377
+ * 音频上传
374
378
  */
375
379
  audioUpload: string;
376
380
  /**
@@ -580,7 +580,12 @@ var cardConfig = _objectSpread(_objectSpread({}, contentConfig), {}, {
580
580
  videoUpload: 'videoUpload',
581
581
 
582
582
  /**
583
- * yinpin上传
583
+ * 文件上传
584
+ */
585
+ fileUpload: 'fileUpload',
586
+
587
+ /**
588
+ * 音频上传
584
589
  */
585
590
  audioUpload: 'audioUpload',
586
591
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-framework",
3
- "version": "1.11.45",
3
+ "version": "1.11.49",
4
4
  "description": "antd-management-fast-framework",
5
5
  "keywords": [
6
6
  "antd-management-fast-framework"
@@ -36,7 +36,7 @@
36
36
  "array-move": "^4.0.0",
37
37
  "bizcharts": "^4.1.15",
38
38
  "browserslist": "^4.19.1",
39
- "caniuse-lite": "^1.0.30001286",
39
+ "caniuse-lite": "^1.0.30001287",
40
40
  "classnames": "^2.3.1",
41
41
  "copy-to-clipboard": "^3.3.1",
42
42
  "enquire-js": "^0.2.1",
@@ -69,8 +69,8 @@
69
69
  "react-dom": "^17.0.2",
70
70
  "react-json-view": "^1.21.3",
71
71
  "react-player": "^2.9.0",
72
- "react-router": "^6.1.1",
73
- "react-router-dom": "^6.1.1",
72
+ "react-router": "^6.2.1",
73
+ "react-router-dom": "^6.2.1",
74
74
  "react-syntax-highlighter": "^15.4.5",
75
75
  "stylelint-config-css-modules": "^2.3.0",
76
76
  "stylelint-declaration-block-no-ignored-properties": "^2.5.0",
@@ -90,7 +90,7 @@
90
90
  "@testing-library/react": "^12.1.2",
91
91
  "@testing-library/react-hooks": "^7.0.2",
92
92
  "@types/jest": "^27.0.3",
93
- "@types/node": "^16.11.13",
93
+ "@types/node": "^17.0.0",
94
94
  "@typescript-eslint/eslint-plugin": "^5.7.0",
95
95
  "@umijs/fabric": "^2.8.1",
96
96
  "@umijs/test": "^3.5.20",
@@ -101,7 +101,7 @@
101
101
  "body-parser": "^1.19.1",
102
102
  "commitizen": "^4.2.4",
103
103
  "cross-env": "^7.0.3",
104
- "eslint": "^8.4.1",
104
+ "eslint": "^8.5.0",
105
105
  "eslint-config-airbnb": "^19.0.2",
106
106
  "eslint-config-airbnb-typescript": "^16.1.0",
107
107
  "eslint-config-prettier": "^8.3.0",
@@ -113,7 +113,7 @@
113
113
  "eslint-plugin-react": "^7.27.1",
114
114
  "eslint-plugin-react-hooks": "^4.3.0",
115
115
  "eslint-plugin-unicorn": "^39.0.0",
116
- "express": "^4.17.1",
116
+ "express": "^4.17.2",
117
117
  "father-build": "^1.20.4",
118
118
  "husky": "^7.0.4",
119
119
  "import-sort-cli": "^6.0.0",