@next-libs/cmdb-instances 7.13.1 → 7.13.3
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/cmdb-instances-select-panel/CmdbInstancesSelectPanel.js +60 -26
- package/dist/cjs/cmdb-instances-select-panel/CmdbInstancesSelectPanel.js.map +1 -1
- package/dist/cjs/instance-detail/components/instance-relation-table-show/instance-relation-table-show.js.map +1 -1
- package/dist/cjs/instance-list/InstanceList.js +125 -26
- package/dist/cjs/instance-list/InstanceList.js.map +1 -1
- package/dist/cjs/instance-list-modal/InstanceListModal.js +19 -4
- package/dist/cjs/instance-list-modal/InstanceListModal.js.map +1 -1
- package/dist/cjs/instance-list-table/InstanceListTable.js +46 -9
- package/dist/cjs/instance-list-table/InstanceListTable.js.map +1 -1
- package/dist/esm/cmdb-instances-select-panel/CmdbInstancesSelectPanel.js +58 -26
- package/dist/esm/cmdb-instances-select-panel/CmdbInstancesSelectPanel.js.map +1 -1
- package/dist/esm/instance-detail/components/instance-relation-table-show/instance-relation-table-show.js.map +1 -1
- package/dist/esm/instance-list/InstanceList.js +114 -25
- package/dist/esm/instance-list/InstanceList.js.map +1 -1
- package/dist/esm/instance-list-modal/InstanceListModal.js +19 -4
- package/dist/esm/instance-list-modal/InstanceListModal.js.map +1 -1
- package/dist/esm/instance-list-table/InstanceListTable.js +44 -9
- package/dist/esm/instance-list-table/InstanceListTable.js.map +1 -1
- package/dist/esm/model-attribute-form/ModelAttributeForm.module.css +0 -3
- package/dist/types/cmdb-instances-select-panel/CmdbInstancesSelectPanel.d.ts +2 -0
- package/dist/types/instance-list/InstanceList.d.ts +2 -0
- package/dist/types/instance-list-modal/InstanceListModal.d.ts +2 -0
- package/dist/types/instance-list-table/InstanceListTable.d.ts +4 -1
- package/package.json +2 -2
|
@@ -133,6 +133,8 @@ interface InstanceListProps {
|
|
|
133
133
|
onColumnsChange?: (columns: ColumnType<{
|
|
134
134
|
dataIndex: string;
|
|
135
135
|
}>[]) => void;
|
|
136
|
+
useExternalCmdbApi?: boolean;
|
|
137
|
+
externalSourceId?: string;
|
|
136
138
|
}
|
|
137
139
|
export declare function LegacyInstanceList(props: InstanceListProps): React.ReactElement;
|
|
138
140
|
/**
|
|
@@ -62,5 +62,7 @@ export interface InstanceListModalProps {
|
|
|
62
62
|
objectIdQuery?: string;
|
|
63
63
|
ignorePermission?: boolean;
|
|
64
64
|
saveFieldsBackend?: boolean;
|
|
65
|
+
useExternalCmdbApi?: boolean;
|
|
66
|
+
externalSourceId?: string;
|
|
65
67
|
}
|
|
66
68
|
export declare function InstanceListModal(props: InstanceListModalProps): React.ReactElement;
|
|
@@ -55,6 +55,8 @@ export interface InstanceListTableProps extends WithTranslation {
|
|
|
55
55
|
onColumnsChange?(columns: ColumnType<{
|
|
56
56
|
dataIndex: string;
|
|
57
57
|
}>[]): void;
|
|
58
|
+
useExternalCmdbApi?: boolean;
|
|
59
|
+
externalSourceId?: string;
|
|
58
60
|
}
|
|
59
61
|
interface InstanceListTableState {
|
|
60
62
|
list: Record<string, any>[];
|
|
@@ -93,5 +95,6 @@ export declare class LegacyInstanceListTable extends React.Component<InstanceLis
|
|
|
93
95
|
componentDidUpdate(prevProps: InstanceListTableProps): void;
|
|
94
96
|
render(): React.ReactNode;
|
|
95
97
|
}
|
|
96
|
-
export declare const
|
|
98
|
+
export declare const withProviderDeclare: (Component: any) => (props: any) => JSX.Element;
|
|
99
|
+
export declare const InstanceListTable: React.MemoExoticComponent<React.ComponentType<Omit<import("react-i18next").Subtract<any, import("react-i18next").WithTranslationProps>, keyof WithTranslation<N, undefined>> & import("react-i18next").WithTranslationProps>>;
|
|
97
100
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-libs/cmdb-instances",
|
|
3
|
-
"version": "7.13.
|
|
3
|
+
"version": "7.13.3",
|
|
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",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"immutability-helper": "^3.1.1",
|
|
51
51
|
"marked": "^2.1.3"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "63b0319a8c2da307365e695582c8945b6818f586"
|
|
54
54
|
}
|