@atlaskit/smart-user-picker 5.0.5 → 5.1.2
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 +22 -0
- package/dist/cjs/components/SmartUserPicker.js +3 -3
- package/dist/cjs/service/default-value-hydration-client.js +2 -2
- package/dist/cjs/service/users-client.js +2 -2
- package/dist/cjs/service/users-transformer.js +1 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/SmartUserPicker.js +1 -1
- package/dist/es2019/service/users-transformer.js +1 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/SmartUserPicker.js +3 -2
- package/dist/esm/service/default-value-hydration-client.js +1 -1
- package/dist/esm/service/users-client.js +1 -1
- package/dist/esm/service/users-transformer.js +1 -0
- package/dist/esm/util/i18n-util.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +4 -4
- package/report.api.md +206 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlassian/smart-user-picker
|
|
2
2
|
|
|
3
|
+
## 5.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7536b86964b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7536b86964b) - Update context key for URS from orgId to organizationId
|
|
8
|
+
|
|
9
|
+
## 5.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`ff97c74b6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff97c74b6f0) - Add TeamMember as export from user-picker
|
|
14
|
+
|
|
15
|
+
## 5.1.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [`cc40ab95bd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc40ab95bd4) - Adds a list of team members under OptionData for Teams
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 5.0.5
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -7,10 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SmartUserPickerWithoutAnalytics = exports.SmartUserPicker = void 0;
|
|
9
9
|
|
|
10
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
10
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
13
11
|
|
|
12
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
+
|
|
14
14
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
15
15
|
|
|
16
16
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
@@ -155,7 +155,7 @@ var SmartUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Component) {
|
|
|
155
155
|
principalId: principalId,
|
|
156
156
|
productKey: productKey,
|
|
157
157
|
siteId: siteId,
|
|
158
|
-
|
|
158
|
+
organizationId: orgId,
|
|
159
159
|
childObjectId: childObjectId,
|
|
160
160
|
sessionId: sessionId,
|
|
161
161
|
productAttributes: productAttributes
|
|
@@ -7,10 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
|
|
10
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
|
-
|
|
12
10
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
13
11
|
|
|
12
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
|
+
|
|
14
14
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
15
15
|
|
|
16
16
|
var _userPicker = require("@atlaskit/user-picker");
|
|
@@ -7,10 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
|
|
12
10
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
13
11
|
|
|
12
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
+
|
|
14
14
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
15
15
|
|
|
16
16
|
var _constants = require("./constants");
|
|
@@ -60,6 +60,7 @@ var transformUser = function transformUser(item, intl) {
|
|
|
60
60
|
description: team.description || '',
|
|
61
61
|
name: team.displayName || '',
|
|
62
62
|
memberCount: team.memberCount,
|
|
63
|
+
members: team.members,
|
|
63
64
|
includesYou: team.includesYou,
|
|
64
65
|
avatarUrl: team.largeAvatarImageUrl || team.smallAvatarImageUrl
|
|
65
66
|
};
|
package/dist/cjs/version.json
CHANGED
|
@@ -51,6 +51,7 @@ const transformUser = (item, intl) => {
|
|
|
51
51
|
description: team.description || '',
|
|
52
52
|
name: team.displayName || '',
|
|
53
53
|
memberCount: team.memberCount,
|
|
54
|
+
members: team.members,
|
|
54
55
|
includesYou: team.includesYou,
|
|
55
56
|
avatarUrl: team.largeAvatarImageUrl || team.smallAvatarImageUrl
|
|
56
57
|
};
|
package/dist/es2019/version.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
5
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -13,6 +12,8 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
13
12
|
|
|
14
13
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15
14
|
|
|
15
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
16
|
+
|
|
16
17
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
17
18
|
|
|
18
19
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
@@ -133,7 +134,7 @@ export var SmartUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compo
|
|
|
133
134
|
principalId: principalId,
|
|
134
135
|
productKey: productKey,
|
|
135
136
|
siteId: siteId,
|
|
136
|
-
|
|
137
|
+
organizationId: orgId,
|
|
137
138
|
childObjectId: childObjectId,
|
|
138
139
|
sessionId: sessionId,
|
|
139
140
|
productAttributes: productAttributes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
import { UserType } from '@atlaskit/user-picker';
|
|
5
5
|
import { getConfig } from '../config';
|
|
6
6
|
import getHydratedUsersFromPrs from './users-client';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
3
|
|
|
5
4
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
5
|
|
|
7
6
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8
7
|
|
|
8
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
9
9
|
import { UNKNOWN_USER } from './constants';
|
|
10
10
|
import { graphqlQuery } from './graphqlUtils';
|
|
11
11
|
import { getConfig } from '../config';
|
|
@@ -51,6 +51,7 @@ var transformUser = function transformUser(item, intl) {
|
|
|
51
51
|
description: team.description || '',
|
|
52
52
|
name: team.displayName || '',
|
|
53
53
|
memberCount: team.memberCount,
|
|
54
|
+
members: team.members,
|
|
54
55
|
includesYou: team.includesYou,
|
|
55
56
|
avatarUrl: team.largeAvatarImageUrl || team.smallAvatarImageUrl
|
|
56
57
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
2
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Tries to get the most specific messages bundle for a given locale.
|
package/dist/esm/version.json
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export { default } from './components';
|
|
|
2
2
|
export { getUserRecommendations, hydrateDefaultValues } from './service';
|
|
3
3
|
export type { RecommendationRequest, Props, State } from './types';
|
|
4
4
|
export { isEmail, isTeam, isUser, isValidEmail, EmailType, GroupType, TeamType, UserType, } from '@atlaskit/user-picker';
|
|
5
|
-
export type { ActionTypes, Appearance, AtlasKitSelectChange, AtlaskitSelectValue, DefaultValue, EmailValidationResponse, EmailValidator, InputActionTypes, LozengeProps, OnChange, OnInputChange, OnOption, OnPicker, Option, OptionData, OptionIdentifier, PopupUserPickerProps, Promisable, Target, UserPickerProps, UserPickerState, Value, Email, Group, GroupHighlight, HighlightRange, LoadOptions, Team, TeamHighlight, User, UserHighlight, ExternalUser, UserSource, } from '@atlaskit/user-picker';
|
|
5
|
+
export type { ActionTypes, Appearance, AtlasKitSelectChange, AtlaskitSelectValue, DefaultValue, EmailValidationResponse, EmailValidator, InputActionTypes, LozengeProps, OnChange, OnInputChange, OnOption, OnPicker, Option, OptionData, OptionIdentifier, PopupUserPickerProps, Promisable, Target, UserPickerProps, UserPickerState, Value, Email, Group, GroupHighlight, HighlightRange, LoadOptions, Team, TeamHighlight, TeamMember, User, UserHighlight, ExternalUser, UserSource, } from '@atlaskit/user-picker';
|
|
6
6
|
export { setSmartUserPickerEnv } from './config';
|
package/dist/types/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-user-picker",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
26
26
|
"@atlaskit/ufo": "^0.1.0",
|
|
27
|
-
"@atlaskit/user-picker": "^9.
|
|
27
|
+
"@atlaskit/user-picker": "^9.2.0",
|
|
28
28
|
"@babel/runtime": "^7.0.0",
|
|
29
29
|
"lodash": "^4.17.21",
|
|
30
30
|
"memoize-one": "^6.0.0",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"@atlaskit/docs": "*",
|
|
41
41
|
"@atlaskit/elements-test-helpers": "^0.7.0",
|
|
42
42
|
"@atlaskit/modal-dialog": "^12.2.0",
|
|
43
|
-
"@atlaskit/select": "^15.
|
|
43
|
+
"@atlaskit/select": "^15.3.0",
|
|
44
44
|
"@atlaskit/textfield": "^5.0.0",
|
|
45
45
|
"@atlaskit/theme": "^12.1.0",
|
|
46
|
-
"@atlaskit/util-data-test": "^17.
|
|
46
|
+
"@atlaskit/util-data-test": "^17.3.0",
|
|
47
47
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
48
48
|
"enzyme": "^3.10.0",
|
|
49
49
|
"enzyme-react-intl": "^2.0.6",
|
package/report.api.md
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
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
|
+
import { ActionTypes } from '@atlaskit/user-picker';
|
|
7
|
+
import { Appearance } from '@atlaskit/user-picker';
|
|
8
|
+
import { AtlasKitSelectChange } from '@atlaskit/user-picker';
|
|
9
|
+
import { AtlaskitSelectValue } from '@atlaskit/user-picker';
|
|
10
|
+
import { DefaultValue } from '@atlaskit/user-picker';
|
|
11
|
+
import { Email } from '@atlaskit/user-picker';
|
|
12
|
+
import { EmailType } from '@atlaskit/user-picker';
|
|
13
|
+
import { EmailValidationResponse } from '@atlaskit/user-picker';
|
|
14
|
+
import { EmailValidator } from '@atlaskit/user-picker';
|
|
15
|
+
import { ExternalUser } from '@atlaskit/user-picker';
|
|
16
|
+
import { Group } from '@atlaskit/user-picker';
|
|
17
|
+
import { GroupHighlight } from '@atlaskit/user-picker';
|
|
18
|
+
import { GroupType } from '@atlaskit/user-picker';
|
|
19
|
+
import { HighlightRange } from '@atlaskit/user-picker';
|
|
20
|
+
import { InputActionTypes } from '@atlaskit/user-picker';
|
|
21
|
+
import { IntlShape } from 'react-intl-next';
|
|
22
|
+
import { isEmail } from '@atlaskit/user-picker';
|
|
23
|
+
import { isTeam } from '@atlaskit/user-picker';
|
|
24
|
+
import { isUser } from '@atlaskit/user-picker';
|
|
25
|
+
import { isValidEmail } from '@atlaskit/user-picker';
|
|
26
|
+
import { LoadOptions } from '@atlaskit/user-picker';
|
|
27
|
+
import { LozengeProps } from '@atlaskit/user-picker';
|
|
28
|
+
import { OnChange } from '@atlaskit/user-picker';
|
|
29
|
+
import { OnInputChange } from '@atlaskit/user-picker';
|
|
30
|
+
import { OnOption } from '@atlaskit/user-picker';
|
|
31
|
+
import { OnPicker } from '@atlaskit/user-picker';
|
|
32
|
+
import { Option as Option_2 } from '@atlaskit/user-picker';
|
|
33
|
+
import { OptionData } from '@atlaskit/user-picker';
|
|
34
|
+
import { OptionIdentifier } from '@atlaskit/user-picker';
|
|
35
|
+
import { PopupUserPickerProps } from '@atlaskit/user-picker';
|
|
36
|
+
import { Promisable } from '@atlaskit/user-picker';
|
|
37
|
+
import { default as React_2 } from 'react';
|
|
38
|
+
import { Target } from '@atlaskit/user-picker';
|
|
39
|
+
import { Team } from '@atlaskit/user-picker';
|
|
40
|
+
import { TeamHighlight } from '@atlaskit/user-picker';
|
|
41
|
+
import { TeamMember } from '@atlaskit/user-picker';
|
|
42
|
+
import { TeamType } from '@atlaskit/user-picker';
|
|
43
|
+
import { User } from '@atlaskit/user-picker';
|
|
44
|
+
import { UserHighlight } from '@atlaskit/user-picker';
|
|
45
|
+
import { UserPickerProps } from '@atlaskit/user-picker';
|
|
46
|
+
import { UserPickerState } from '@atlaskit/user-picker';
|
|
47
|
+
import { UserSource } from '@atlaskit/user-picker';
|
|
48
|
+
import { UserType } from '@atlaskit/user-picker';
|
|
49
|
+
import { Value } from '@atlaskit/user-picker';
|
|
50
|
+
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
51
|
+
|
|
52
|
+
export { ActionTypes };
|
|
53
|
+
|
|
54
|
+
export { Appearance };
|
|
55
|
+
|
|
56
|
+
export { AtlasKitSelectChange };
|
|
57
|
+
|
|
58
|
+
export { AtlaskitSelectValue };
|
|
59
|
+
|
|
60
|
+
export { DefaultValue };
|
|
61
|
+
|
|
62
|
+
export { Email };
|
|
63
|
+
|
|
64
|
+
export { EmailType };
|
|
65
|
+
|
|
66
|
+
export { EmailValidationResponse };
|
|
67
|
+
|
|
68
|
+
export { EmailValidator };
|
|
69
|
+
|
|
70
|
+
export { ExternalUser };
|
|
71
|
+
|
|
72
|
+
// @public (undocumented)
|
|
73
|
+
export const getUserRecommendations: (
|
|
74
|
+
request: RecommendationRequest,
|
|
75
|
+
intl: IntlShape,
|
|
76
|
+
) => Promise<OptionData[]>;
|
|
77
|
+
|
|
78
|
+
export { Group };
|
|
79
|
+
|
|
80
|
+
export { GroupHighlight };
|
|
81
|
+
|
|
82
|
+
export { GroupType };
|
|
83
|
+
|
|
84
|
+
export { HighlightRange };
|
|
85
|
+
|
|
86
|
+
// @public (undocumented)
|
|
87
|
+
export function hydrateDefaultValues(
|
|
88
|
+
baseUrl: string | undefined,
|
|
89
|
+
value: DefaultValue,
|
|
90
|
+
productKey: string,
|
|
91
|
+
): Promise<DefaultValue>;
|
|
92
|
+
|
|
93
|
+
export { InputActionTypes };
|
|
94
|
+
|
|
95
|
+
export { isEmail };
|
|
96
|
+
|
|
97
|
+
export { isTeam };
|
|
98
|
+
|
|
99
|
+
export { isUser };
|
|
100
|
+
|
|
101
|
+
export { isValidEmail };
|
|
102
|
+
|
|
103
|
+
export { LoadOptions };
|
|
104
|
+
|
|
105
|
+
export { LozengeProps };
|
|
106
|
+
|
|
107
|
+
export { OnChange };
|
|
108
|
+
|
|
109
|
+
export { OnInputChange };
|
|
110
|
+
|
|
111
|
+
export { OnOption };
|
|
112
|
+
|
|
113
|
+
export { OnPicker };
|
|
114
|
+
|
|
115
|
+
export { Option_2 as Option };
|
|
116
|
+
|
|
117
|
+
export { OptionData };
|
|
118
|
+
|
|
119
|
+
export { OptionIdentifier };
|
|
120
|
+
|
|
121
|
+
export { PopupUserPickerProps };
|
|
122
|
+
|
|
123
|
+
export { Promisable };
|
|
124
|
+
|
|
125
|
+
// @public (undocumented)
|
|
126
|
+
export interface Props
|
|
127
|
+
extends SmartProps,
|
|
128
|
+
UserPickerProps,
|
|
129
|
+
WithAnalyticsEventsProps {
|
|
130
|
+
defaultValue?: DefaultValue;
|
|
131
|
+
fieldId: string;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// @public (undocumented)
|
|
135
|
+
export interface RecommendationRequest {
|
|
136
|
+
// (undocumented)
|
|
137
|
+
baseUrl?: string;
|
|
138
|
+
// (undocumented)
|
|
139
|
+
context: Context;
|
|
140
|
+
// (undocumented)
|
|
141
|
+
includeGroups?: boolean;
|
|
142
|
+
// (undocumented)
|
|
143
|
+
includeTeams?: boolean;
|
|
144
|
+
// (undocumented)
|
|
145
|
+
includeUsers?: boolean;
|
|
146
|
+
// (undocumented)
|
|
147
|
+
maxNumberOfResults: number;
|
|
148
|
+
// (undocumented)
|
|
149
|
+
query?: string;
|
|
150
|
+
// (undocumented)
|
|
151
|
+
searchQueryFilter?: string;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// @public (undocumented)
|
|
155
|
+
export const setSmartUserPickerEnv: (
|
|
156
|
+
newEnv: 'prod' | 'local',
|
|
157
|
+
) => 'prod' | 'local';
|
|
158
|
+
|
|
159
|
+
// @public (undocumented)
|
|
160
|
+
const SmartUserPickerWithIntlProvider: React_2.FunctionComponent<Props>;
|
|
161
|
+
export default SmartUserPickerWithIntlProvider;
|
|
162
|
+
|
|
163
|
+
// @public (undocumented)
|
|
164
|
+
export interface State {
|
|
165
|
+
// (undocumented)
|
|
166
|
+
bootstrapOptions: OptionData[];
|
|
167
|
+
// (undocumented)
|
|
168
|
+
closed: boolean;
|
|
169
|
+
// (undocumented)
|
|
170
|
+
defaultValue?: DefaultValue;
|
|
171
|
+
// (undocumented)
|
|
172
|
+
loading: boolean;
|
|
173
|
+
// (undocumented)
|
|
174
|
+
query: string;
|
|
175
|
+
// (undocumented)
|
|
176
|
+
sessionId?: string;
|
|
177
|
+
// (undocumented)
|
|
178
|
+
users: OptionData[];
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export { Target };
|
|
182
|
+
|
|
183
|
+
export { Team };
|
|
184
|
+
|
|
185
|
+
export { TeamHighlight };
|
|
186
|
+
|
|
187
|
+
export { TeamMember };
|
|
188
|
+
|
|
189
|
+
export { TeamType };
|
|
190
|
+
|
|
191
|
+
export { User };
|
|
192
|
+
|
|
193
|
+
export { UserHighlight };
|
|
194
|
+
|
|
195
|
+
export { UserPickerProps };
|
|
196
|
+
|
|
197
|
+
export { UserPickerState };
|
|
198
|
+
|
|
199
|
+
export { UserSource };
|
|
200
|
+
|
|
201
|
+
export { UserType };
|
|
202
|
+
|
|
203
|
+
export { Value };
|
|
204
|
+
|
|
205
|
+
// (No @packageDocumentation comment for this package)
|
|
206
|
+
```
|