antd-management-fast-framework 1.12.76 → 1.12.77
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/es/customComponents/AudioUpload/index.js +10 -8
- package/es/customComponents/DataPreviewDrawer/index.js +5 -7
- package/es/customComponents/DecorateAvatar/index.js +3 -3
- package/es/customComponents/EditableLinkGroup/index.js +3 -3
- package/es/customComponents/FileBase64Upload/index.js +3 -3
- package/es/customComponents/FileUpload/index.js +8 -6
- package/es/customComponents/FunctionComponent/index.js +24 -24
- package/es/customComponents/ImageUpload/index.js +4 -2
- package/es/customComponents/MobileContainor/ContentView/index.js +1 -3
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +1 -3
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +1 -3
- package/es/customComponents/NoticeIconCustom/index.js +2 -2
- package/es/customComponents/NumberInfo/index.js +3 -3
- package/es/customComponents/TagSelect/index.js +3 -3
- package/es/customComponents/TimeLineCustom/index.js +1 -1
- package/es/customComponents/VideoUpload/index.js +10 -8
- package/es/framework/Common/index.js +20 -18
- package/es/framework/DataDrawer/Base/index.js +2 -4
- package/es/framework/DataDrawer/BaseAddDrawer/index.js +1 -5
- package/es/framework/DataForm/BaseAddForm/index.js +1 -3
- package/es/framework/DataListView/Base/index.js +6 -8
- package/es/framework/DataListView/BatchAction/index.js +4 -4
- package/es/framework/DataListView/ColumnSetting/index.js +4 -2
- package/es/framework/DataListView/DensityAction/index.js +1 -3
- package/es/framework/DataModal/Base/index.js +3 -5
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +1 -1
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +4 -6
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +1 -1
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +4 -6
- package/es/framework/DataSingleView/DataCore/index.js +3 -5
- package/es/framework/DataTabContainer/index.js +3 -3
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +3 -5
- package/es/utils/constants.d.ts +12 -0
- package/es/utils/constants.js +8 -3
- package/package.json +2 -2
|
@@ -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:
|
|
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,
|
|
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
|
-
},
|
|
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
|
-
},
|
|
150
|
+
}, "iconCollection.closeCircle") : null)
|
|
153
151
|
}, formItemLayout);
|
|
154
152
|
};
|
|
155
153
|
|
package/es/utils/constants.d.ts
CHANGED
|
@@ -509,6 +509,7 @@ export namespace iconCollection {
|
|
|
509
509
|
export const upload: JSX.Element;
|
|
510
510
|
export const user: JSX.Element;
|
|
511
511
|
export const video: JSX.Element;
|
|
512
|
+
export const videoCameraAdd: JSX.Element;
|
|
512
513
|
const loading_1: JSX.Element;
|
|
513
514
|
export { loading_1 as loading };
|
|
514
515
|
export const users: JSX.Element;
|
|
@@ -597,4 +598,15 @@ export namespace iconCollection {
|
|
|
597
598
|
export const dingDing: JSX.Element;
|
|
598
599
|
export const macCommand: JSX.Element;
|
|
599
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;
|
|
600
612
|
}
|
package/es/utils/constants.js
CHANGED
|
@@ -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),
|
|
@@ -946,6 +948,7 @@ var iconCollection = {
|
|
|
946
948
|
upload: /*#__PURE__*/_react.default.createElement(_icons.UploadOutlined, null),
|
|
947
949
|
user: /*#__PURE__*/_react.default.createElement(_icons.UserOutlined, null),
|
|
948
950
|
video: /*#__PURE__*/_react.default.createElement(_icons.VideoCameraOutlined, null),
|
|
951
|
+
videoCameraAdd: /*#__PURE__*/_react.default.createElement(_icons.VideoCameraAddOutlined, null),
|
|
949
952
|
loading: /*#__PURE__*/_react.default.createElement(_icons.LoadingOutlined, null),
|
|
950
953
|
users: /*#__PURE__*/_react.default.createElement(_icons.TeamOutlined, null),
|
|
951
954
|
tool: /*#__PURE__*/_react.default.createElement(_icons.ToolOutlined, null),
|
|
@@ -1028,8 +1031,10 @@ var iconCollection = {
|
|
|
1028
1031
|
apartment: /*#__PURE__*/_react.default.createElement(_icons.ApartmentOutlined, null),
|
|
1029
1032
|
dingDing: /*#__PURE__*/_react.default.createElement(_icons.DingdingOutlined, null),
|
|
1030
1033
|
macCommand: /*#__PURE__*/_react.default.createElement(_icons.MacCommandOutlined, null),
|
|
1031
|
-
inbox: /*#__PURE__*/_react.default.createElement(_icons.InboxOutlined, null)
|
|
1032
|
-
|
|
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);
|
|
1033
1038
|
/**
|
|
1034
1039
|
* 占位函数
|
|
1035
1040
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.77",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antd-management-fast-framework"
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
"src/framework",
|
|
222
222
|
"src/utils"
|
|
223
223
|
],
|
|
224
|
-
"gitHead": "
|
|
224
|
+
"gitHead": "9fc94a45d86b15e5857f0e4991b128242e8677d3",
|
|
225
225
|
"gitHooks": {
|
|
226
226
|
"pre-commit": "lint-staged"
|
|
227
227
|
}
|