@next-libs/cmdb-instances 6.5.1 → 6.6.1
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/CHANGELOG.md +35 -0
- package/dist/cjs/model-attribute-form-control/ModelAttributeFormControl.js +3 -1
- package/dist/cjs/struct-components/AddStructModal.js +270 -309
- package/dist/cjs/struct-components/interfaces.js +18 -1
- package/dist/cjs/struct-components/mockData.js +76 -6
- package/dist/esm/model-attribute-form-control/ModelAttributeFormControl.js +3 -1
- package/dist/esm/struct-components/AddStructModal.js +283 -325
- package/dist/esm/struct-components/interfaces.js +15 -1
- package/dist/esm/struct-components/mockData.js +73 -4
- package/dist/types/model-attribute-form/ModelAttributeForm.d.ts +1 -1
- package/dist/types/struct-components/AddStructModal.d.ts +5 -26
- package/dist/types/struct-components/interfaces.d.ts +13 -0
- package/dist/types/struct-components/mockData.d.ts +22 -3
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.6.1](https://github.com/easyops-cn/next-libs/compare/@next-libs/cmdb-instances@6.6.0...@next-libs/cmdb-instances@6.6.1) (2021-09-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @next-libs/cmdb-instances
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [6.6.0](https://github.com/easyops-cn/next-libs/compare/@next-libs/cmdb-instances@6.5.3...@next-libs/cmdb-instances@6.6.0) (2021-09-26)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **cmdb-instances:** 创建结构体弹窗使用form ([c5cb42a](https://github.com/easyops-cn/next-libs/commit/c5cb42ad77367c0a76ef1471ac05c417d61ed8fb))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [6.5.3](https://github.com/easyops-cn/next-libs/compare/@next-libs/cmdb-instances@6.5.2...@next-libs/cmdb-instances@6.5.3) (2021-09-23)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @next-libs/cmdb-instances
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [6.5.2](https://github.com/easyops-cn/next-libs/compare/@next-libs/cmdb-instances@6.5.1...@next-libs/cmdb-instances@6.5.2) (2021-09-23)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @next-libs/cmdb-instances
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
## [6.5.1](https://github.com/easyops-cn/next-libs/compare/@next-libs/cmdb-instances@6.5.0...@next-libs/cmdb-instances@6.5.1) (2021-09-23)
|
|
7
42
|
|
|
8
43
|
**Note:** Version bump only for package @next-libs/cmdb-instances
|
|
@@ -153,8 +153,10 @@ class ModelAttributeFormControl extends _react.Component {
|
|
|
153
153
|
this.onChange(dateString || undefined);
|
|
154
154
|
});
|
|
155
155
|
(0, _defineProperty2.default)(this, "validateJson", err => {
|
|
156
|
+
var _this$props$jsonValid, _this$props;
|
|
157
|
+
|
|
156
158
|
const error = (0, _lodash.some)(err, ["type", "error"]);
|
|
157
|
-
this.props.jsonValidateCollection(error);
|
|
159
|
+
(_this$props$jsonValid = (_this$props = this.props).jsonValidateCollection) === null || _this$props$jsonValid === void 0 ? void 0 : _this$props$jsonValid.call(_this$props, error);
|
|
158
160
|
this.setState({
|
|
159
161
|
showError: error
|
|
160
162
|
});
|