@next-libs/cmdb-instances 7.1.20 → 7.2.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.
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import { CmdbModels } from "@next-sdk/cmdb-sdk";
3
+ import { UseBrickConf } from "@next-core/brick-types";
3
4
  export interface CmdbInstancesInputFormItemProps {
4
5
  selectFromText?: string;
5
6
  objectMap?: {
@@ -32,6 +33,9 @@ export interface CmdbInstancesInputFormItemProps {
32
33
  showSizeChanger?: boolean;
33
34
  hideSearchConditions?: boolean;
34
35
  advancedSearchDisabled?: boolean;
36
+ extraFilterBricks?: {
37
+ useBrick: UseBrickConf;
38
+ };
35
39
  }
36
40
  export declare const LegacyCmdbInstancesInputFormItem: (props: CmdbInstancesInputFormItemProps, ref: React.Ref<HTMLDivElement>) => React.ReactElement;
37
41
  export declare const CmdbInstancesInputFormItem: React.ForwardRefExoticComponent<CmdbInstancesInputFormItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { CmdbModels } from "@next-sdk/cmdb-sdk";
3
3
  import { Query } from "@next-libs/cmdb-utils";
4
4
  import { InstanceListPresetConfigs } from "../instance-list-table/interfaces";
5
- import { ReadPaginationChangeDetail } from "@next-core/brick-types";
5
+ import { ReadPaginationChangeDetail, UseBrickConf } from "@next-core/brick-types";
6
6
  export interface InstanceListModalProps {
7
7
  objectMap: {
8
8
  [key: string]: Partial<CmdbModels.ModelCmdbObject>;
@@ -45,5 +45,8 @@ export interface InstanceListModalProps {
45
45
  getPaginationData?(pagination: ReadPaginationChangeDetail): void;
46
46
  extraFixedFields?: string[];
47
47
  limitInstanceRange?: boolean;
48
+ extraFilterBricks?: {
49
+ useBrick: UseBrickConf;
50
+ };
48
51
  }
49
52
  export declare function InstanceListModal(props: InstanceListModalProps): React.ReactElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-libs/cmdb-instances",
3
- "version": "7.1.20",
3
+ "version": "7.2.1",
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": "fe93d47c759a2baf8532d9f24c2343d7a27d9937"
53
+ "gitHead": "2b1a1ddcea9fc787ef716756e52fa6f08870542f"
54
54
  }