@next-libs/cmdb-instances 7.18.2 → 7.19.0
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/dist/cjs/instance-list-modal/InstanceListModal.js +2 -1
- package/dist/cjs/instance-list-modal/InstanceListModal.js.map +1 -1
- package/dist/cjs/instance-list-table/AdvancedSearch.js +8 -1
- package/dist/cjs/instance-list-table/AdvancedSearch.js.map +1 -1
- package/dist/cjs/model-attribute-form-control/ModelAttributeFormControl.js +28 -0
- package/dist/cjs/model-attribute-form-control/ModelAttributeFormControl.js.map +1 -1
- package/dist/esm/instance-list-modal/InstanceListModal.js +2 -1
- package/dist/esm/instance-list-modal/InstanceListModal.js.map +1 -1
- package/dist/esm/instance-list-table/AdvancedSearch.js +9 -2
- package/dist/esm/instance-list-table/AdvancedSearch.js.map +1 -1
- package/dist/esm/model-attribute-form-control/ModelAttributeFormControl.js +29 -1
- package/dist/esm/model-attribute-form-control/ModelAttributeFormControl.js.map +1 -1
- package/dist/types/instance-list-modal/InstanceListModal.d.ts +2 -0
- package/dist/types/model-attribute-form-control/ModelAttributeFormControl.d.ts +4 -2
- package/package.json +3 -3
|
@@ -3,6 +3,7 @@ import { CmdbModels } from "@next-sdk/cmdb-sdk";
|
|
|
3
3
|
import { Query } from "@next-libs/cmdb-utils";
|
|
4
4
|
import { filterObjectIdQuery } from "../instance-list/InstanceList";
|
|
5
5
|
import { InstanceListPresetConfigs } from "../instance-list-table/interfaces";
|
|
6
|
+
import { UseBrickAndPropertyDisplayConfig } from "../instance-list-table";
|
|
6
7
|
import { ReadPaginationChangeDetail, UseBrickConf } from "@next-core/brick-types";
|
|
7
8
|
export interface InstanceListModalProps {
|
|
8
9
|
objectMap: {
|
|
@@ -65,5 +66,6 @@ export interface InstanceListModalProps {
|
|
|
65
66
|
useExternalCmdbApi?: boolean;
|
|
66
67
|
externalSourceId?: string;
|
|
67
68
|
showHiddenInfoDisabled?: boolean;
|
|
69
|
+
propertyDisplayConfigs?: UseBrickAndPropertyDisplayConfig[];
|
|
68
70
|
}
|
|
69
71
|
export declare function InstanceListModal(props: InstanceListModalProps): React.ReactElement;
|
|
@@ -28,7 +28,8 @@ export declare enum ModelAttributeValueModeType {
|
|
|
28
28
|
MARKDOWN = "markdown",
|
|
29
29
|
URL = "url",
|
|
30
30
|
XML = "xml",
|
|
31
|
-
PASSWORD = "password"
|
|
31
|
+
PASSWORD = "password",
|
|
32
|
+
CASCADE = "cascade"
|
|
32
33
|
}
|
|
33
34
|
export declare enum FormControlTypeEnum {
|
|
34
35
|
TEXT = "text",
|
|
@@ -49,7 +50,8 @@ export declare enum FormControlTypeEnum {
|
|
|
49
50
|
MARKDOWN = "markdown",
|
|
50
51
|
URL = "url",
|
|
51
52
|
CODE_EDITOR = "code_editor",
|
|
52
|
-
XML_EDITOR = "xml_editor"
|
|
53
|
+
XML_EDITOR = "xml_editor",
|
|
54
|
+
TREESELECT = "tree_select"
|
|
53
55
|
}
|
|
54
56
|
export interface FormControl {
|
|
55
57
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-libs/cmdb-instances",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.19.0",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-libs/tree/master/libs/cmdb-instances",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@next-core/brick-types": "^2.16.0",
|
|
39
39
|
"@next-libs/basic-components": "^5.4.0",
|
|
40
|
-
"@next-libs/cmdb-utils": "^3.
|
|
40
|
+
"@next-libs/cmdb-utils": "^3.6.0",
|
|
41
41
|
"@next-libs/code-display-components": "^2.1.0",
|
|
42
42
|
"@next-libs/code-editor-components": "^4.11.0",
|
|
43
43
|
"@next-libs/forms": "^3.5.5",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"immutability-helper": "^3.1.1",
|
|
52
52
|
"marked": "^2.1.3"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "45bbab9ebe40dea83d469084140f4185a0fc89f2"
|
|
55
55
|
}
|