cd-personselector 1.3.2 → 1.3.4

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.
@@ -6,6 +6,7 @@ interface Props {
6
6
  placeholder?: string;
7
7
  tabs?: any[];
8
8
  organizations?: any[];
9
+ showOrg?: boolean;
9
10
  }
10
11
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
12
  multiple: boolean;
@@ -21,6 +22,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
21
22
  nodeId: string | number;
22
23
  callback: (users: any[]) => void;
23
24
  }) => void;
25
+ "tab-change": (payload: {
26
+ tabKey: string;
27
+ orgId?: string | number;
28
+ }) => void;
24
29
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
25
30
  multiple: boolean;
26
31
  placeholder: string;
@@ -35,6 +40,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
35
40
  keyword: string;
36
41
  callback: (users: UserItem[]) => void;
37
42
  }) => any) | undefined;
43
+ "onTab-change"?: ((payload: {
44
+ tabKey: string;
45
+ orgId?: string | number;
46
+ }) => any) | undefined;
38
47
  }>, {
39
48
  multiple: boolean;
40
49
  placeholder: string;
@@ -68,7 +68,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
68
68
  orgId?: number | string;
69
69
  callback: (users: User[]) => void;
70
70
  }) => void;
71
- "org-change": (orgId: string | number) => void;
71
+ "org-change": (params: {
72
+ orgId: number | string;
73
+ tabKey: string;
74
+ callback?: () => void;
75
+ }) => void;
76
+ "tab-change": (params: {
77
+ tabKey: string;
78
+ }) => void;
72
79
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
73
80
  visible: boolean;
74
81
  tabs: () => never[];
@@ -94,7 +101,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
94
101
  orgId?: number | string;
95
102
  callback: (users: User[]) => void;
96
103
  }) => any) | undefined;
97
- "onOrg-change"?: ((orgId: string | number) => any) | undefined;
104
+ "onOrg-change"?: ((params: {
105
+ orgId: number | string;
106
+ tabKey: string;
107
+ callback?: () => void;
108
+ }) => any) | undefined;
109
+ "onTab-change"?: ((params: {
110
+ tabKey: string;
111
+ }) => any) | undefined;
98
112
  }>, {
99
113
  visible: boolean;
100
114
  tabs: TabConfig[];