@atlaskit/smart-user-picker 6.0.3 → 6.0.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.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +7 -14
- package/report.api.md +26 -5
- package/tmp/api-report-tmp.d.ts +268 -0
- package/dist/types-ts4.0/analytics.d.ts +0 -21
- package/dist/types-ts4.0/components/MessagesIntlProvider.d.ts +0 -9
- package/dist/types-ts4.0/components/SmartUserPicker.d.ts +0 -34
- package/dist/types-ts4.0/components/index.d.ts +0 -4
- package/dist/types-ts4.0/config/index.d.ts +0 -6
- package/dist/types-ts4.0/i18n/cs.d.ts +0 -18
- package/dist/types-ts4.0/i18n/da.d.ts +0 -18
- package/dist/types-ts4.0/i18n/de.d.ts +0 -18
- package/dist/types-ts4.0/i18n/en.d.ts +0 -7
- package/dist/types-ts4.0/i18n/en_GB.d.ts +0 -7
- package/dist/types-ts4.0/i18n/en_ZZ.d.ts +0 -18
- package/dist/types-ts4.0/i18n/es.d.ts +0 -18
- package/dist/types-ts4.0/i18n/et.d.ts +0 -8
- package/dist/types-ts4.0/i18n/fi.d.ts +0 -18
- package/dist/types-ts4.0/i18n/fr.d.ts +0 -18
- package/dist/types-ts4.0/i18n/hu.d.ts +0 -18
- package/dist/types-ts4.0/i18n/index.d.ts +0 -36
- package/dist/types-ts4.0/i18n/is.d.ts +0 -7
- package/dist/types-ts4.0/i18n/it.d.ts +0 -18
- package/dist/types-ts4.0/i18n/ja.d.ts +0 -18
- package/dist/types-ts4.0/i18n/ko.d.ts +0 -18
- package/dist/types-ts4.0/i18n/languages.d.ts +0 -27
- package/dist/types-ts4.0/i18n/nb.d.ts +0 -18
- package/dist/types-ts4.0/i18n/nl.d.ts +0 -18
- package/dist/types-ts4.0/i18n/pl.d.ts +0 -18
- package/dist/types-ts4.0/i18n/pt_BR.d.ts +0 -18
- package/dist/types-ts4.0/i18n/pt_PT.d.ts +0 -8
- package/dist/types-ts4.0/i18n/ro.d.ts +0 -7
- package/dist/types-ts4.0/i18n/ru.d.ts +0 -18
- package/dist/types-ts4.0/i18n/sk.d.ts +0 -8
- package/dist/types-ts4.0/i18n/sv.d.ts +0 -18
- package/dist/types-ts4.0/i18n/th.d.ts +0 -18
- package/dist/types-ts4.0/i18n/tr.d.ts +0 -18
- package/dist/types-ts4.0/i18n/uk.d.ts +0 -18
- package/dist/types-ts4.0/i18n/vi.d.ts +0 -18
- package/dist/types-ts4.0/i18n/zh.d.ts +0 -18
- package/dist/types-ts4.0/i18n/zh_TW.d.ts +0 -18
- package/dist/types-ts4.0/i18n.d.ts +0 -47
- package/dist/types-ts4.0/index.d.ts +0 -5
- package/dist/types-ts4.0/service/constants.d.ts +0 -4
- package/dist/types-ts4.0/service/default-value-hydration-client.d.ts +0 -8
- package/dist/types-ts4.0/service/graphqlUtils.d.ts +0 -14
- package/dist/types-ts4.0/service/index.d.ts +0 -2
- package/dist/types-ts4.0/service/recommendation-client.d.ts +0 -5
- package/dist/types-ts4.0/service/teams-client.d.ts +0 -12
- package/dist/types-ts4.0/service/users-client.d.ts +0 -11
- package/dist/types-ts4.0/service/users-transformer.d.ts +0 -22
- package/dist/types-ts4.0/types.d.ts +0 -207
- package/dist/types-ts4.0/ufoExperiences.d.ts +0 -11
- package/dist/types-ts4.0/util/i18n-util.d.ts +0 -11
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-user-picker",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
@@ -11,13 +11,6 @@
|
|
|
11
11
|
"module": "dist/esm/index.js",
|
|
12
12
|
"module:es2019": "dist/es2019/index.js",
|
|
13
13
|
"types": "dist/types/index.d.ts",
|
|
14
|
-
"typesVersions": {
|
|
15
|
-
">=4.0 <4.5": {
|
|
16
|
-
"*": [
|
|
17
|
-
"dist/types-ts4.0/*"
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
14
|
"sideEffects": false,
|
|
22
15
|
"atlaskit:src": "src/index.ts",
|
|
23
16
|
"af:exports": {
|
|
@@ -31,7 +24,7 @@
|
|
|
31
24
|
"dependencies": {
|
|
32
25
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
33
26
|
"@atlaskit/ufo": "^0.1.0",
|
|
34
|
-
"@atlaskit/user-picker": "^
|
|
27
|
+
"@atlaskit/user-picker": "^10.0.0",
|
|
35
28
|
"@babel/runtime": "^7.0.0",
|
|
36
29
|
"lodash": "^4.17.21",
|
|
37
30
|
"memoize-one": "^6.0.0",
|
|
@@ -43,14 +36,14 @@
|
|
|
43
36
|
"react-dom": "^16.8.0"
|
|
44
37
|
},
|
|
45
38
|
"devDependencies": {
|
|
46
|
-
"@atlaskit/button": "^16.
|
|
39
|
+
"@atlaskit/button": "^16.5.0",
|
|
47
40
|
"@atlaskit/docs": "*",
|
|
48
41
|
"@atlaskit/elements-test-helpers": "^0.7.0",
|
|
49
|
-
"@atlaskit/modal-dialog": "^12.
|
|
50
|
-
"@atlaskit/select": "^
|
|
51
|
-
"@atlaskit/textfield": "^5.
|
|
42
|
+
"@atlaskit/modal-dialog": "^12.4.0",
|
|
43
|
+
"@atlaskit/select": "^16.1.0",
|
|
44
|
+
"@atlaskit/textfield": "^5.3.0",
|
|
52
45
|
"@atlaskit/theme": "^12.2.0",
|
|
53
|
-
"@atlaskit/util-data-test": "^17.
|
|
46
|
+
"@atlaskit/util-data-test": "^17.6.0",
|
|
54
47
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
55
48
|
"enzyme": "^3.10.0",
|
|
56
49
|
"enzyme-react-intl": "^2.0.6",
|
package/report.api.md
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
|
+
<!-- API Report Version: 2.3 -->
|
|
2
|
+
|
|
1
3
|
## API Report File for "@atlaskit/smart-user-picker"
|
|
2
4
|
|
|
3
|
-
> Do not edit this file.
|
|
5
|
+
> Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
|
|
6
|
+
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
|
+
|
|
8
|
+
### Table of contents
|
|
9
|
+
|
|
10
|
+
- [Main Entry Types](#main-entry-types)
|
|
11
|
+
- [Peer Dependencies](#peer-dependencies)
|
|
4
12
|
|
|
5
|
-
|
|
6
|
-
Generated API Report version: 2.0
|
|
7
|
-
-->
|
|
13
|
+
### Main Entry Types
|
|
8
14
|
|
|
9
|
-
|
|
15
|
+
<!--SECTION START: Main Entry Types-->
|
|
10
16
|
|
|
11
17
|
```ts
|
|
12
18
|
import { ActionTypes } from '@atlaskit/user-picker';
|
|
@@ -286,3 +292,18 @@ export { Value };
|
|
|
286
292
|
|
|
287
293
|
// (No @packageDocumentation comment for this package)
|
|
288
294
|
```
|
|
295
|
+
|
|
296
|
+
<!--SECTION END: Main Entry Types-->
|
|
297
|
+
|
|
298
|
+
### Peer Dependencies
|
|
299
|
+
|
|
300
|
+
<!--SECTION START: Peer Dependencies-->
|
|
301
|
+
|
|
302
|
+
```json
|
|
303
|
+
{
|
|
304
|
+
"react": "^16.8.0",
|
|
305
|
+
"react-dom": "^16.8.0"
|
|
306
|
+
}
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
<!--SECTION END: Peer Dependencies-->
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/smart-user-picker"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { ActionTypes } from '@atlaskit/user-picker';
|
|
8
|
+
import { Appearance } from '@atlaskit/user-picker';
|
|
9
|
+
import { AtlasKitSelectChange } from '@atlaskit/user-picker';
|
|
10
|
+
import { AtlaskitSelectValue } from '@atlaskit/user-picker';
|
|
11
|
+
import { DefaultValue } from '@atlaskit/user-picker';
|
|
12
|
+
import { Email } from '@atlaskit/user-picker';
|
|
13
|
+
import { EmailType } from '@atlaskit/user-picker';
|
|
14
|
+
import { EmailValidationResponse } from '@atlaskit/user-picker';
|
|
15
|
+
import { EmailValidator } from '@atlaskit/user-picker';
|
|
16
|
+
import { ExternalUser } from '@atlaskit/user-picker';
|
|
17
|
+
import { Group } from '@atlaskit/user-picker';
|
|
18
|
+
import { GroupHighlight } from '@atlaskit/user-picker';
|
|
19
|
+
import { GroupType } from '@atlaskit/user-picker';
|
|
20
|
+
import { HighlightRange } from '@atlaskit/user-picker';
|
|
21
|
+
import { InputActionTypes } from '@atlaskit/user-picker';
|
|
22
|
+
import { IntlShape } from 'react-intl-next';
|
|
23
|
+
import { isEmail } from '@atlaskit/user-picker';
|
|
24
|
+
import { isTeam } from '@atlaskit/user-picker';
|
|
25
|
+
import { isUser } from '@atlaskit/user-picker';
|
|
26
|
+
import { isValidEmail } from '@atlaskit/user-picker';
|
|
27
|
+
import { LoadOptions } from '@atlaskit/user-picker';
|
|
28
|
+
import { LozengeProps } from '@atlaskit/user-picker';
|
|
29
|
+
import { OnChange } from '@atlaskit/user-picker';
|
|
30
|
+
import { OnInputChange } from '@atlaskit/user-picker';
|
|
31
|
+
import { OnOption } from '@atlaskit/user-picker';
|
|
32
|
+
import { OnPicker } from '@atlaskit/user-picker';
|
|
33
|
+
import { Option as Option_2 } from '@atlaskit/user-picker';
|
|
34
|
+
import { OptionData } from '@atlaskit/user-picker';
|
|
35
|
+
import { OptionIdentifier } from '@atlaskit/user-picker';
|
|
36
|
+
import { PopupUserPickerProps } from '@atlaskit/user-picker';
|
|
37
|
+
import { Promisable } from '@atlaskit/user-picker';
|
|
38
|
+
import { default as React_2 } from 'react';
|
|
39
|
+
import { Target } from '@atlaskit/user-picker';
|
|
40
|
+
import { Team } from '@atlaskit/user-picker';
|
|
41
|
+
import { TeamHighlight } from '@atlaskit/user-picker';
|
|
42
|
+
import { TeamMember } from '@atlaskit/user-picker';
|
|
43
|
+
import { TeamType } from '@atlaskit/user-picker';
|
|
44
|
+
import { User } from '@atlaskit/user-picker';
|
|
45
|
+
import { UserHighlight } from '@atlaskit/user-picker';
|
|
46
|
+
import { UserPickerProps } from '@atlaskit/user-picker';
|
|
47
|
+
import { UserPickerState } from '@atlaskit/user-picker';
|
|
48
|
+
import { UserSource } from '@atlaskit/user-picker';
|
|
49
|
+
import { UserType } from '@atlaskit/user-picker';
|
|
50
|
+
import { Value } from '@atlaskit/user-picker';
|
|
51
|
+
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
52
|
+
|
|
53
|
+
export { ActionTypes }
|
|
54
|
+
|
|
55
|
+
export { Appearance }
|
|
56
|
+
|
|
57
|
+
export { AtlasKitSelectChange }
|
|
58
|
+
|
|
59
|
+
export { AtlaskitSelectValue }
|
|
60
|
+
|
|
61
|
+
// @public (undocumented)
|
|
62
|
+
interface BitbucketAttributes {
|
|
63
|
+
emailDomain?: string;
|
|
64
|
+
isPublicRepo?: boolean;
|
|
65
|
+
workspaceIds?: string[];
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// @public (undocumented)
|
|
69
|
+
interface ConfluenceAttributes {
|
|
70
|
+
isEntitledConfluenceExternalCollaborator?: boolean;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// @public (undocumented)
|
|
74
|
+
interface Context {
|
|
75
|
+
// (undocumented)
|
|
76
|
+
childObjectId?: string;
|
|
77
|
+
// (undocumented)
|
|
78
|
+
containerId?: string;
|
|
79
|
+
// (undocumented)
|
|
80
|
+
contextType: string;
|
|
81
|
+
// (undocumented)
|
|
82
|
+
objectId?: string;
|
|
83
|
+
// (undocumented)
|
|
84
|
+
organizationId?: string;
|
|
85
|
+
// (undocumented)
|
|
86
|
+
principalId?: string;
|
|
87
|
+
// (undocumented)
|
|
88
|
+
productAttributes?: ProductAttributes;
|
|
89
|
+
// (undocumented)
|
|
90
|
+
productKey: string;
|
|
91
|
+
// (undocumented)
|
|
92
|
+
sessionId?: string;
|
|
93
|
+
// (undocumented)
|
|
94
|
+
siteId: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export { DefaultValue }
|
|
98
|
+
|
|
99
|
+
export { Email }
|
|
100
|
+
|
|
101
|
+
export { EmailType }
|
|
102
|
+
|
|
103
|
+
export { EmailValidationResponse }
|
|
104
|
+
|
|
105
|
+
export { EmailValidator }
|
|
106
|
+
|
|
107
|
+
export { ExternalUser }
|
|
108
|
+
|
|
109
|
+
// @public (undocumented)
|
|
110
|
+
type FilterOptions = (options: OptionData[], query: string) => OptionData[];
|
|
111
|
+
|
|
112
|
+
// @public (undocumented)
|
|
113
|
+
export const getUserRecommendations: (request: RecommendationRequest, intl: IntlShape) => Promise<OptionData[]>;
|
|
114
|
+
|
|
115
|
+
export { Group }
|
|
116
|
+
|
|
117
|
+
export { GroupHighlight }
|
|
118
|
+
|
|
119
|
+
export { GroupType }
|
|
120
|
+
|
|
121
|
+
export { HighlightRange }
|
|
122
|
+
|
|
123
|
+
// @public (undocumented)
|
|
124
|
+
export function hydrateDefaultValues(baseUrl: string | undefined, value: DefaultValue, productKey: string): Promise<DefaultValue>;
|
|
125
|
+
|
|
126
|
+
export { InputActionTypes }
|
|
127
|
+
|
|
128
|
+
export { isEmail }
|
|
129
|
+
|
|
130
|
+
export { isTeam }
|
|
131
|
+
|
|
132
|
+
export { isUser }
|
|
133
|
+
|
|
134
|
+
export { isValidEmail }
|
|
135
|
+
|
|
136
|
+
export { LoadOptions }
|
|
137
|
+
|
|
138
|
+
export { LozengeProps }
|
|
139
|
+
|
|
140
|
+
export { OnChange }
|
|
141
|
+
|
|
142
|
+
// @public (undocumented)
|
|
143
|
+
type OnEmpty = (query: string) => Promise<OptionData[]>;
|
|
144
|
+
|
|
145
|
+
// @public (undocumented)
|
|
146
|
+
type OnError = (error: any, request: RecommendationRequest) => Promise<OptionData[]> | void;
|
|
147
|
+
|
|
148
|
+
export { OnInputChange }
|
|
149
|
+
|
|
150
|
+
export { OnOption }
|
|
151
|
+
|
|
152
|
+
export { OnPicker }
|
|
153
|
+
|
|
154
|
+
// @public (undocumented)
|
|
155
|
+
type OnValueError = (error: any, defaultValue: DefaultValue) => Promise<OptionData[]> | void;
|
|
156
|
+
|
|
157
|
+
export { Option_2 as Option }
|
|
158
|
+
|
|
159
|
+
export { OptionData }
|
|
160
|
+
|
|
161
|
+
export { OptionIdentifier }
|
|
162
|
+
|
|
163
|
+
export { PopupUserPickerProps }
|
|
164
|
+
|
|
165
|
+
// @public (undocumented)
|
|
166
|
+
type ProductAttributes = BitbucketAttributes | ConfluenceAttributes;
|
|
167
|
+
|
|
168
|
+
export { Promisable }
|
|
169
|
+
|
|
170
|
+
// @public (undocumented)
|
|
171
|
+
export interface Props extends SmartProps, UserPickerProps, WithAnalyticsEventsProps {
|
|
172
|
+
defaultValue?: DefaultValue;
|
|
173
|
+
fieldId: string;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// @public (undocumented)
|
|
177
|
+
export interface RecommendationRequest {
|
|
178
|
+
// (undocumented)
|
|
179
|
+
baseUrl?: string;
|
|
180
|
+
// (undocumented)
|
|
181
|
+
context: Context;
|
|
182
|
+
// (undocumented)
|
|
183
|
+
includeGroups?: boolean;
|
|
184
|
+
// (undocumented)
|
|
185
|
+
includeTeams?: boolean;
|
|
186
|
+
// (undocumented)
|
|
187
|
+
includeUsers?: boolean;
|
|
188
|
+
// (undocumented)
|
|
189
|
+
maxNumberOfResults: number;
|
|
190
|
+
// (undocumented)
|
|
191
|
+
query?: string;
|
|
192
|
+
// (undocumented)
|
|
193
|
+
searchQueryFilter?: string;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// @public (undocumented)
|
|
197
|
+
interface SmartProps {
|
|
198
|
+
baseUrl?: string;
|
|
199
|
+
bootstrapOptions?: OptionData[];
|
|
200
|
+
childObjectId?: string;
|
|
201
|
+
containerId?: string;
|
|
202
|
+
debounceTime?: number;
|
|
203
|
+
filterOptions?: FilterOptions;
|
|
204
|
+
includeGroups?: boolean;
|
|
205
|
+
includeTeams?: boolean;
|
|
206
|
+
includeUsers?: boolean;
|
|
207
|
+
objectId?: string;
|
|
208
|
+
onEmpty?: OnEmpty;
|
|
209
|
+
onError?: OnError;
|
|
210
|
+
onValueError?: OnValueError;
|
|
211
|
+
orgId?: string;
|
|
212
|
+
prefetch?: boolean;
|
|
213
|
+
principalId?: string;
|
|
214
|
+
productAttributes?: ProductAttributes;
|
|
215
|
+
productKey: string;
|
|
216
|
+
searchQueryFilter?: string;
|
|
217
|
+
siteId: string;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// @public (undocumented)
|
|
221
|
+
const SmartUserPickerWithIntlProvider: React_2.FunctionComponent<Props>;
|
|
222
|
+
export default SmartUserPickerWithIntlProvider;
|
|
223
|
+
|
|
224
|
+
// @public (undocumented)
|
|
225
|
+
export interface State {
|
|
226
|
+
// (undocumented)
|
|
227
|
+
bootstrapOptions: OptionData[];
|
|
228
|
+
// (undocumented)
|
|
229
|
+
closed: boolean;
|
|
230
|
+
// (undocumented)
|
|
231
|
+
defaultValue?: DefaultValue;
|
|
232
|
+
// (undocumented)
|
|
233
|
+
loading: boolean;
|
|
234
|
+
// (undocumented)
|
|
235
|
+
query: string;
|
|
236
|
+
// (undocumented)
|
|
237
|
+
sessionId?: string;
|
|
238
|
+
// (undocumented)
|
|
239
|
+
users: OptionData[];
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export { Target }
|
|
243
|
+
|
|
244
|
+
export { Team }
|
|
245
|
+
|
|
246
|
+
export { TeamHighlight }
|
|
247
|
+
|
|
248
|
+
export { TeamMember }
|
|
249
|
+
|
|
250
|
+
export { TeamType }
|
|
251
|
+
|
|
252
|
+
export { User }
|
|
253
|
+
|
|
254
|
+
export { UserHighlight }
|
|
255
|
+
|
|
256
|
+
export { UserPickerProps }
|
|
257
|
+
|
|
258
|
+
export { UserPickerState }
|
|
259
|
+
|
|
260
|
+
export { UserSource }
|
|
261
|
+
|
|
262
|
+
export { UserType }
|
|
263
|
+
|
|
264
|
+
export { Value }
|
|
265
|
+
|
|
266
|
+
// (No @packageDocumentation comment for this package)
|
|
267
|
+
|
|
268
|
+
```
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AnalyticsEventPayload } from '@atlaskit/analytics-next';
|
|
2
|
-
import { Props } from './types';
|
|
3
|
-
export declare type UserPickerSession = {
|
|
4
|
-
id: string;
|
|
5
|
-
start: number;
|
|
6
|
-
inputChangeTime: number;
|
|
7
|
-
upCount: number;
|
|
8
|
-
downCount: number;
|
|
9
|
-
lastKey?: number;
|
|
10
|
-
};
|
|
11
|
-
export declare const startSession: () => UserPickerSession;
|
|
12
|
-
export declare const createAndFireEventInElementsChannel: (payload: AnalyticsEventPayload) => (createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent) => import("@atlaskit/analytics-next").UIAnalyticsEvent;
|
|
13
|
-
export interface SmartEventCreator {
|
|
14
|
-
(props: Props, ...args: any[]): AnalyticsEventPayload;
|
|
15
|
-
}
|
|
16
|
-
export declare const preparedUsersLoadedEvent: SmartEventCreator;
|
|
17
|
-
export declare const mountedWithPrefetchEvent: SmartEventCreator;
|
|
18
|
-
export declare const filterUsersEvent: SmartEventCreator;
|
|
19
|
-
export declare const requestUsersEvent: SmartEventCreator;
|
|
20
|
-
export declare const successfulRequestUsersEvent: SmartEventCreator;
|
|
21
|
-
export declare const failedRequestUsersEvent: SmartEventCreator;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IntlShape } from 'react-intl-next';
|
|
3
|
-
export interface MessagesIntlProviderProps {
|
|
4
|
-
intl: IntlShape;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<MessagesIntlProviderProps>> & {
|
|
7
|
-
WrappedComponent: React.ComponentType<MessagesIntlProviderProps>;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
4
|
-
import { UFOExperience } from '@atlaskit/ufo';
|
|
5
|
-
import { OptionData } from '@atlaskit/user-picker';
|
|
6
|
-
import { Props, State, FilterOptions } from '../types';
|
|
7
|
-
export declare class SmartUserPickerWithoutAnalytics extends React.Component<Props & WrappedComponentProps, State> {
|
|
8
|
-
state: State;
|
|
9
|
-
optionsShownUfoExperienceInstance: UFOExperience;
|
|
10
|
-
static defaultProps: {
|
|
11
|
-
baseUrl: string;
|
|
12
|
-
includeUsers: boolean;
|
|
13
|
-
includeGroups: boolean;
|
|
14
|
-
includeTeams: boolean;
|
|
15
|
-
prefetch: boolean;
|
|
16
|
-
principalId: string;
|
|
17
|
-
debounceTime: number;
|
|
18
|
-
};
|
|
19
|
-
constructor(props: Props & WrappedComponentProps);
|
|
20
|
-
componentDidMount(): Promise<void>;
|
|
21
|
-
componentDidUpdate(prevProps: Props, prevState: State): void;
|
|
22
|
-
abortOptionsShownUfoExperience: () => void;
|
|
23
|
-
startOptionsShownUfoExperience: () => void;
|
|
24
|
-
private fireEvent;
|
|
25
|
-
filterOptions: (users: OptionData[], query: string, propFilterOptions?: FilterOptions | undefined) => OptionData[];
|
|
26
|
-
memoizedFilterOptions: import("memoize-one").MemoizedFn<(users: OptionData[], query: string, propFilterOptions?: FilterOptions | undefined) => OptionData[]>;
|
|
27
|
-
getUsers: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
28
|
-
onInputChange: (newQuery?: string | undefined, sessionId?: string | undefined) => void;
|
|
29
|
-
filterUsers: () => OptionData[];
|
|
30
|
-
onFocus: (sessionId?: string | undefined) => void;
|
|
31
|
-
onBlur: (sessionId?: string | undefined) => void;
|
|
32
|
-
render(): JSX.Element;
|
|
33
|
-
}
|
|
34
|
-
export declare const SmartUserPicker: any;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.elements.user-picker.external.sourced.from': string;
|
|
3
|
-
'fabric.elements.user-picker.github.provider': string;
|
|
4
|
-
'fabric.elements.user-picker.google.provider': string;
|
|
5
|
-
'fabric.elements.user-picker.guest.lozenge.text': string;
|
|
6
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': string;
|
|
7
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': string;
|
|
8
|
-
'fabric.elements.user-picker.member.lozenge.text': string;
|
|
9
|
-
'fabric.elements.user-picker.microsoft.provider': string;
|
|
10
|
-
'fabric.elements.user-picker.slack.provider': string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by i18n-tools.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.elements.user-picker.external.sourced.from': string;
|
|
3
|
-
'fabric.elements.user-picker.github.provider': string;
|
|
4
|
-
'fabric.elements.user-picker.google.provider': string;
|
|
5
|
-
'fabric.elements.user-picker.guest.lozenge.text': string;
|
|
6
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': string;
|
|
7
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': string;
|
|
8
|
-
'fabric.elements.user-picker.member.lozenge.text': string;
|
|
9
|
-
'fabric.elements.user-picker.microsoft.provider': string;
|
|
10
|
-
'fabric.elements.user-picker.slack.provider': string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by i18n-tools.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.elements.user-picker.external.sourced.from': string;
|
|
3
|
-
'fabric.elements.user-picker.github.provider': string;
|
|
4
|
-
'fabric.elements.user-picker.google.provider': string;
|
|
5
|
-
'fabric.elements.user-picker.guest.lozenge.text': string;
|
|
6
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': string;
|
|
7
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': string;
|
|
8
|
-
'fabric.elements.user-picker.member.lozenge.text': string;
|
|
9
|
-
'fabric.elements.user-picker.microsoft.provider': string;
|
|
10
|
-
'fabric.elements.user-picker.slack.provider': string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by i18n-tools.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.elements.user-picker.placeholder': string;
|
|
3
|
-
'fabric.elements.user-picker.placeholder.add-more': string;
|
|
4
|
-
'fabric.elements.user-picker.multi.remove-item': string;
|
|
5
|
-
'fabric.elements.user-picker.single.clear': string;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.elements.user-picker.placeholder': string;
|
|
3
|
-
'fabric.elements.user-picker.placeholder.add-more': string;
|
|
4
|
-
'fabric.elements.user-picker.multi.remove-item': string;
|
|
5
|
-
'fabric.elements.user-picker.single.clear': string;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.elements.user-picker.external.sourced.from': string;
|
|
3
|
-
'fabric.elements.user-picker.github.provider': string;
|
|
4
|
-
'fabric.elements.user-picker.google.provider': string;
|
|
5
|
-
'fabric.elements.user-picker.guest.lozenge.text': string;
|
|
6
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': string;
|
|
7
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': string;
|
|
8
|
-
'fabric.elements.user-picker.member.lozenge.text': string;
|
|
9
|
-
'fabric.elements.user-picker.microsoft.provider': string;
|
|
10
|
-
'fabric.elements.user-picker.slack.provider': string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by i18n-tools.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.elements.user-picker.external.sourced.from': string;
|
|
3
|
-
'fabric.elements.user-picker.github.provider': string;
|
|
4
|
-
'fabric.elements.user-picker.google.provider': string;
|
|
5
|
-
'fabric.elements.user-picker.guest.lozenge.text': string;
|
|
6
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': string;
|
|
7
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': string;
|
|
8
|
-
'fabric.elements.user-picker.member.lozenge.text': string;
|
|
9
|
-
'fabric.elements.user-picker.microsoft.provider': string;
|
|
10
|
-
'fabric.elements.user-picker.slack.provider': string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by i18n-tools.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.elements.user-picker.external.sourced.from': string;
|
|
3
|
-
'fabric.elements.user-picker.github.provider': string;
|
|
4
|
-
'fabric.elements.user-picker.google.provider': string;
|
|
5
|
-
'fabric.elements.user-picker.guest.lozenge.text': string;
|
|
6
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': string;
|
|
7
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': string;
|
|
8
|
-
'fabric.elements.user-picker.member.lozenge.text': string;
|
|
9
|
-
'fabric.elements.user-picker.microsoft.provider': string;
|
|
10
|
-
'fabric.elements.user-picker.slack.provider': string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by i18n-tools.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.elements.user-picker.external.sourced.from': string;
|
|
3
|
-
'fabric.elements.user-picker.github.provider': string;
|
|
4
|
-
'fabric.elements.user-picker.google.provider': string;
|
|
5
|
-
'fabric.elements.user-picker.guest.lozenge.text': string;
|
|
6
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': string;
|
|
7
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': string;
|
|
8
|
-
'fabric.elements.user-picker.member.lozenge.text': string;
|
|
9
|
-
'fabric.elements.user-picker.microsoft.provider': string;
|
|
10
|
-
'fabric.elements.user-picker.slack.provider': string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by i18n-tools.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.elements.user-picker.external.sourced.from': string;
|
|
3
|
-
'fabric.elements.user-picker.github.provider': string;
|
|
4
|
-
'fabric.elements.user-picker.google.provider': string;
|
|
5
|
-
'fabric.elements.user-picker.guest.lozenge.text': string;
|
|
6
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': string;
|
|
7
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': string;
|
|
8
|
-
'fabric.elements.user-picker.member.lozenge.text': string;
|
|
9
|
-
'fabric.elements.user-picker.microsoft.provider': string;
|
|
10
|
-
'fabric.elements.user-picker.slack.provider': string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by i18n-tools.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
|
-
export default _default;
|