antd-management-fast-framework 1.12.75 → 1.12.78

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 (35) hide show
  1. package/es/customComponents/AudioUpload/index.js +10 -8
  2. package/es/customComponents/DataPreviewDrawer/index.js +5 -7
  3. package/es/customComponents/DecorateAvatar/index.js +3 -3
  4. package/es/customComponents/EditableLinkGroup/index.js +3 -3
  5. package/es/customComponents/FileBase64Upload/index.js +3 -3
  6. package/es/customComponents/FileUpload/index.js +8 -6
  7. package/es/customComponents/FunctionComponent/index.js +24 -24
  8. package/es/customComponents/ImageUpload/index.js +4 -2
  9. package/es/customComponents/MobileContainor/ContentView/index.js +1 -3
  10. package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +1 -3
  11. package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +1 -3
  12. package/es/customComponents/NoticeIconCustom/index.js +2 -2
  13. package/es/customComponents/NumberInfo/index.js +3 -3
  14. package/es/customComponents/TagSelect/index.js +3 -3
  15. package/es/customComponents/TimeLineCustom/index.js +1 -1
  16. package/es/customComponents/VideoUpload/index.js +10 -8
  17. package/es/framework/Common/index.js +20 -18
  18. package/es/framework/DataDrawer/Base/index.js +2 -4
  19. package/es/framework/DataDrawer/BaseAddDrawer/index.js +1 -5
  20. package/es/framework/DataForm/BaseAddForm/index.js +1 -3
  21. package/es/framework/DataListView/Base/index.js +6 -8
  22. package/es/framework/DataListView/BatchAction/index.js +4 -4
  23. package/es/framework/DataListView/ColumnSetting/index.js +4 -2
  24. package/es/framework/DataListView/DensityAction/index.js +1 -3
  25. package/es/framework/DataModal/Base/index.js +3 -5
  26. package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +1 -1
  27. package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +4 -6
  28. package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +1 -1
  29. package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +4 -6
  30. package/es/framework/DataSingleView/DataCore/index.js +3 -5
  31. package/es/framework/DataTabContainer/index.js +3 -3
  32. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +3 -5
  33. package/es/utils/constants.d.ts +25 -0
  34. package/es/utils/constants.js +20 -3
  35. package/package.json +20 -20
@@ -17,14 +17,14 @@ var _divider = _interopRequireDefault(require("antd/es/divider"));
17
17
 
18
18
  var _react = _interopRequireDefault(require("react"));
19
19
 
20
- var _icons = require("@ant-design/icons");
21
-
22
20
  var _proLayout = require("@ant-design/pro-layout");
23
21
 
24
22
  var _DecorateAvatar = require("../../customComponents/DecorateAvatar");
25
23
 
26
24
  var _FunctionComponent = require("../../customComponents/FunctionComponent");
27
25
 
26
+ var _constants = require("../../utils/constants");
27
+
28
28
  var _tools = require("../../utils/tools");
29
29
 
30
30
  var _DataLoad = _interopRequireDefault(require("../DataSingleView/DataLoad"));
@@ -222,7 +222,7 @@ var DataTabContainer = /*#__PURE__*/function (_DataSingleView) {
222
222
  };
223
223
 
224
224
  _this.state = _objectSpread(_objectSpread({}, _this.state), {}, {
225
- defaultAvatarIcon: /*#__PURE__*/_react.default.createElement(_icons.PictureOutlined, null),
225
+ defaultAvatarIcon: _constants.iconCollection.picture,
226
226
  showPageHeaderAvatar: true,
227
227
  customTabActiveKey: false
228
228
  });
@@ -17,8 +17,6 @@ var _button = _interopRequireDefault(require("antd/es/button"));
17
17
 
18
18
  var _react = _interopRequireDefault(require("react"));
19
19
 
20
- var _icons = require("@ant-design/icons");
21
-
22
20
  var _tools = require("../../../../utils/tools");
23
21
 
24
22
  var _SupplementWrapper2 = _interopRequireDefault(require("../../../CustomWrapper/SupplementWrapper"));
@@ -114,7 +112,7 @@ var SelectFieldBase = /*#__PURE__*/function (_SupplementWrapper) {
114
112
  fieldTitle = _ref.fieldTitle,
115
113
  fieldPlaceholder = _ref.fieldPlaceholder;
116
114
 
117
- return _this.renderFormOnlyShowInput(label, (fieldText || '') === '' ? null : fieldText, helper || null, /*#__PURE__*/_react.default.createElement(_icons.FormOutlined, null), {
115
+ return _this.renderFormOnlyShowInput(label, (fieldText || '') === '' ? null : fieldText, helper || null, iconCollection.form, {
118
116
  placeholder: "".concat(fieldPlaceholder).concat(fieldTitle),
119
117
  readOnly: true,
120
118
  addonAfter: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_button.default, {
@@ -130,7 +128,7 @@ var SelectFieldBase = /*#__PURE__*/function (_SupplementWrapper) {
130
128
  onClick: function onClick(e) {
131
129
  return _this.showSelect(e);
132
130
  }
133
- }, /*#__PURE__*/_react.default.createElement(_icons.SearchOutlined, null)), showClear ? /*#__PURE__*/_react.default.createElement(_divider.default, {
131
+ }, "iconCollection.search"), showClear ? /*#__PURE__*/_react.default.createElement(_divider.default, {
134
132
  type: "vertical",
135
133
  style: {
136
134
  paddingLeft: 2,
@@ -149,7 +147,7 @@ var SelectFieldBase = /*#__PURE__*/function (_SupplementWrapper) {
149
147
  onClick: function onClick() {
150
148
  return _this.clearSelect();
151
149
  }
152
- }, /*#__PURE__*/_react.default.createElement(_icons.CloseCircleOutlined, null)) : null)
150
+ }, "iconCollection.closeCircle") : null)
153
151
  }, formItemLayout);
154
152
  };
155
153
 
@@ -493,6 +493,7 @@ export namespace iconCollection {
493
493
  export const clock: JSX.Element;
494
494
  const close_1: JSX.Element;
495
495
  export { close_1 as close };
496
+ export const closeCircle: JSX.Element;
496
497
  export const copy: JSX.Element;
497
498
  export const eye: JSX.Element;
498
499
  const _export: JSX.Element;
@@ -508,6 +509,7 @@ export namespace iconCollection {
508
509
  export const upload: JSX.Element;
509
510
  export const user: JSX.Element;
510
511
  export const video: JSX.Element;
512
+ export const videoCameraAdd: JSX.Element;
511
513
  const loading_1: JSX.Element;
512
514
  export { loading_1 as loading };
513
515
  export const users: JSX.Element;
@@ -584,4 +586,27 @@ export namespace iconCollection {
584
586
  export const snippets: JSX.Element;
585
587
  export const compress: JSX.Element;
586
588
  export const minusCircle: JSX.Element;
589
+ const select_1: JSX.Element;
590
+ export { select_1 as select };
591
+ export const plusSquare: JSX.Element;
592
+ export const unorderedList: JSX.Element;
593
+ export const fork: JSX.Element;
594
+ export const bug: JSX.Element;
595
+ export const cloudDownload: JSX.Element;
596
+ export const reconciliation: JSX.Element;
597
+ export const apartment: JSX.Element;
598
+ export const dingDing: JSX.Element;
599
+ export const macCommand: JSX.Element;
600
+ export const inbox: JSX.Element;
601
+ const save_3: JSX.Element;
602
+ export { save_3 as save };
603
+ export const file: JSX.Element;
604
+ export const mobile: JSX.Element;
605
+ export const borderOuter: JSX.Element;
606
+ export const columnHeight: JSX.Element;
607
+ export const verticalAlignMiddle: JSX.Element;
608
+ export const caretUp: JSX.Element;
609
+ export const caretDown: JSX.Element;
610
+ export const retweet: JSX.Element;
611
+ export const exclamationCircle: JSX.Element;
587
612
  }
@@ -13,6 +13,8 @@ var _react = _interopRequireDefault(require("react"));
13
13
 
14
14
  var _mediaDefault = require("./mediaDefault");
15
15
 
16
+ var _iconCollection;
17
+
16
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
19
 
18
20
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -917,7 +919,7 @@ var mobileTypeCollection = {
917
919
  }
918
920
  };
919
921
  exports.mobileTypeCollection = mobileTypeCollection;
920
- var iconCollection = {
922
+ var iconCollection = (_iconCollection = {
921
923
  help: /*#__PURE__*/_react.default.createElement(_icons.InfoCircleOutlined, null),
922
924
  add: /*#__PURE__*/_react.default.createElement(_icons.PlusOutlined, null),
923
925
  plus: /*#__PURE__*/_react.default.createElement(_icons.PlusOutlined, null),
@@ -932,6 +934,7 @@ var iconCollection = {
932
934
  delete: /*#__PURE__*/_react.default.createElement(_icons.DeleteOutlined, null),
933
935
  clock: /*#__PURE__*/_react.default.createElement(_icons.ClockCircleOutlined, null),
934
936
  close: /*#__PURE__*/_react.default.createElement(_icons.CloseCircleOutlined, null),
937
+ closeCircle: /*#__PURE__*/_react.default.createElement(_icons.CloseCircleOutlined, null),
935
938
  copy: /*#__PURE__*/_react.default.createElement(_icons.CopyOutlined, null),
936
939
  eye: /*#__PURE__*/_react.default.createElement(_icons.EyeOutlined, null),
937
940
  export: /*#__PURE__*/_react.default.createElement(_icons.ExportOutlined, null),
@@ -945,6 +948,7 @@ var iconCollection = {
945
948
  upload: /*#__PURE__*/_react.default.createElement(_icons.UploadOutlined, null),
946
949
  user: /*#__PURE__*/_react.default.createElement(_icons.UserOutlined, null),
947
950
  video: /*#__PURE__*/_react.default.createElement(_icons.VideoCameraOutlined, null),
951
+ videoCameraAdd: /*#__PURE__*/_react.default.createElement(_icons.VideoCameraAddOutlined, null),
948
952
  loading: /*#__PURE__*/_react.default.createElement(_icons.LoadingOutlined, null),
949
953
  users: /*#__PURE__*/_react.default.createElement(_icons.TeamOutlined, null),
950
954
  tool: /*#__PURE__*/_react.default.createElement(_icons.ToolOutlined, null),
@@ -1016,8 +1020,21 @@ var iconCollection = {
1016
1020
  rollback: /*#__PURE__*/_react.default.createElement(_icons.RollbackOutlined, null),
1017
1021
  snippets: /*#__PURE__*/_react.default.createElement(_icons.SnippetsOutlined, null),
1018
1022
  compress: /*#__PURE__*/_react.default.createElement(_icons.CompressOutlined, null),
1019
- minusCircle: /*#__PURE__*/_react.default.createElement(_icons.MinusCircleOutlined, null)
1020
- };
1023
+ minusCircle: /*#__PURE__*/_react.default.createElement(_icons.MinusCircleOutlined, null),
1024
+ select: /*#__PURE__*/_react.default.createElement(_icons.SelectOutlined, null),
1025
+ plusSquare: /*#__PURE__*/_react.default.createElement(_icons.PlusSquareOutlined, null),
1026
+ unorderedList: /*#__PURE__*/_react.default.createElement(_icons.UnorderedListOutlined, null),
1027
+ fork: /*#__PURE__*/_react.default.createElement(_icons.ForkOutlined, null),
1028
+ bug: /*#__PURE__*/_react.default.createElement(_icons.BugOutlined, null),
1029
+ cloudDownload: /*#__PURE__*/_react.default.createElement(_icons.CloudDownloadOutlined, null),
1030
+ reconciliation: /*#__PURE__*/_react.default.createElement(_icons.ReconciliationOutlined, null),
1031
+ apartment: /*#__PURE__*/_react.default.createElement(_icons.ApartmentOutlined, null),
1032
+ dingDing: /*#__PURE__*/_react.default.createElement(_icons.DingdingOutlined, null),
1033
+ macCommand: /*#__PURE__*/_react.default.createElement(_icons.MacCommandOutlined, null),
1034
+ inbox: /*#__PURE__*/_react.default.createElement(_icons.InboxOutlined, null),
1035
+ save: /*#__PURE__*/_react.default.createElement(_icons.SaveOutlined, null),
1036
+ file: /*#__PURE__*/_react.default.createElement(_icons.FileOutlined, null)
1037
+ }, _defineProperty(_iconCollection, "tool", /*#__PURE__*/_react.default.createElement(_icons.ToolOutlined, null)), _defineProperty(_iconCollection, "mobile", /*#__PURE__*/_react.default.createElement(_icons.MobileOutlined, null)), _defineProperty(_iconCollection, "borderOuter", /*#__PURE__*/_react.default.createElement(_icons.BorderOuterOutlined, null)), _defineProperty(_iconCollection, "columnHeight", /*#__PURE__*/_react.default.createElement(_icons.ColumnHeightOutlined, null)), _defineProperty(_iconCollection, "verticalAlignMiddle", /*#__PURE__*/_react.default.createElement(_icons.VerticalAlignMiddleOutlined, null)), _defineProperty(_iconCollection, "caretUp", /*#__PURE__*/_react.default.createElement(_icons.CaretUpOutlined, null)), _defineProperty(_iconCollection, "caretDown", /*#__PURE__*/_react.default.createElement(_icons.CaretDownOutlined, null)), _defineProperty(_iconCollection, "retweet", /*#__PURE__*/_react.default.createElement(_icons.RetweetOutlined, null)), _defineProperty(_iconCollection, "exclamationCircle", /*#__PURE__*/_react.default.createElement(_icons.ExclamationCircleOutlined, null)), _iconCollection);
1021
1038
  /**
1022
1039
  * 占位函数
1023
1040
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-framework",
3
- "version": "1.12.75",
3
+ "version": "1.12.78",
4
4
  "description": "antd-management-fast-framework",
5
5
  "keywords": [
6
6
  "antd-management-fast-framework"
@@ -48,17 +48,17 @@
48
48
  "@ant-design/pro-components": "1.1.5",
49
49
  "@ant-design/pro-layout": "^6.38.8",
50
50
  "@antv/data-set": "^0.11.8",
51
- "@antv/l7": "^2.8.41",
52
- "@antv/l7-maps": "^2.8.41",
51
+ "@antv/l7": "^2.8.42",
52
+ "@antv/l7-maps": "^2.8.42",
53
53
  "@babel/preset-typescript": "^7.17.12",
54
54
  "@tinymce/tinymce-react": "^4.1.0",
55
55
  "antd": "^4.21.0",
56
56
  "array-move": "^4.0.0",
57
57
  "bizcharts": "^4.1.19",
58
- "browserslist": "^4.20.3",
59
- "butterfly-dag": "^4.2.9",
58
+ "browserslist": "^4.20.4",
59
+ "butterfly-dag": "^4.2.12",
60
60
  "butterfly-react": "^1.0.0",
61
- "caniuse-lite": "^1.0.30001346",
61
+ "caniuse-lite": "^1.0.30001352",
62
62
  "classnames": "^2.3.1",
63
63
  "copy-to-clipboard": "^3.3.1",
64
64
  "enquire-js": "^0.2.1",
@@ -135,7 +135,7 @@
135
135
  "@types/lodash": "^4.14.182",
136
136
  "@types/lodash.debounce": "^4.0.7",
137
137
  "@types/lodash.isequal": "^4.5.6",
138
- "@types/node": "^17.0.40",
138
+ "@types/node": "^17.0.42",
139
139
  "@types/nprogress": "^0.2.0",
140
140
  "@types/numeral": "^2.0.2",
141
141
  "@types/randomcolor": "^0.5.6",
@@ -144,14 +144,14 @@
144
144
  "@types/react-helmet": "^6.1.5",
145
145
  "@types/uuid": "^8.3.4",
146
146
  "@typescript-eslint/eslint-plugin": "^5.27.1",
147
- "@umijs/fabric": "^2.11.1",
147
+ "@umijs/fabric": "^2.12.0",
148
148
  "@umijs/plugin-blocks": "^2.2.2",
149
149
  "@umijs/plugin-esbuild": "^1.4.1",
150
150
  "@umijs/preset-ant-design-pro": "^1.3.3",
151
- "@umijs/preset-react": "^2.1.3",
151
+ "@umijs/preset-react": "^2.1.4",
152
152
  "@umijs/preset-ui": "^2.2.9",
153
- "@umijs/test": "^3.5.25",
154
- "@umijs/test-utils": "^3.5.25",
153
+ "@umijs/test": "^3.5.26",
154
+ "@umijs/test-utils": "^3.5.26",
155
155
  "babel-cli": "^6.26.0",
156
156
  "babel-plugin-import": "^1.13.5",
157
157
  "babel-preset-env": "^1.7.0",
@@ -189,28 +189,28 @@
189
189
  "jest-puppeteer": "^6.1.0",
190
190
  "jsdom": "^19.0.0",
191
191
  "jsdom-global": "^3.0.2",
192
- "lint-staged": "^13.0.0",
192
+ "lint-staged": "^13.0.1",
193
193
  "mockjs": "^1.1.0",
194
- "node-fetch": "^3.2.5",
195
- "npm-check-updates": "^13.1.1",
194
+ "node-fetch": "^3.2.6",
195
+ "npm-check-updates": "^13.1.3",
196
196
  "postcss": "^8.4.14",
197
197
  "postcss-less": "^6.0.0",
198
198
  "prettier": "^2.6.2",
199
199
  "pro-download": "1.0.1",
200
- "puppeteer": "^14.2.1",
201
- "puppeteer-core": "^14.2.1",
200
+ "puppeteer": "^14.3.0",
201
+ "puppeteer-core": "^14.3.0",
202
202
  "react-test-renderer": "^17.0.2",
203
203
  "redbox-react": "^1.6.0",
204
204
  "rimraf": "^3.0.2",
205
205
  "slash2": "^2.0.0",
206
- "stylelint": "^14.8.5",
206
+ "stylelint": "^14.9.1",
207
207
  "stylelint-config-css-modules": "^4.1.0",
208
208
  "stylelint-config-prettier": "^9.0.3",
209
- "stylelint-config-standard": "^25.0.0",
209
+ "stylelint-config-standard": "^26.0.0",
210
210
  "stylelint-declaration-block-no-ignored-properties": "^2.5.0",
211
211
  "test-umi-plugin": "^0.1.0",
212
212
  "typescript": "^4.7.3",
213
- "umi": "^3.5.25",
213
+ "umi": "^3.5.26",
214
214
  "umi-plugin-custom-extra": "^1.0.12"
215
215
  },
216
216
  "filesOther": [
@@ -221,7 +221,7 @@
221
221
  "src/framework",
222
222
  "src/utils"
223
223
  ],
224
- "gitHead": "b903e921eb912ca965c9b80bf7d83139d32412da",
224
+ "gitHead": "80449fd1fc170cd73776d563cc4ab89d7d0325cf",
225
225
  "gitHooks": {
226
226
  "pre-commit": "lint-staged"
227
227
  }