@atlaskit/smart-user-picker 8.2.0 → 8.3.0
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 +21 -0
- package/afm-cc/tsconfig.json +3 -3
- package/afm-dev-agents/tsconfig.json +3 -0
- package/afm-jira/tsconfig.json +3 -0
- package/afm-passionfruit/tsconfig.json +3 -0
- package/afm-post-office/tsconfig.json +3 -0
- package/afm-rovo-extension/tsconfig.json +3 -0
- package/afm-townsquare/tsconfig.json +3 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/SmartUserPicker.js +119 -58
- package/dist/cjs/i18n/cs.js +3 -12
- package/dist/cjs/i18n/da.js +3 -12
- package/dist/cjs/i18n/de.js +3 -12
- package/dist/cjs/i18n/en.js +3 -12
- package/dist/cjs/i18n/en_GB.js +3 -12
- package/dist/cjs/i18n/en_ZZ.js +3 -12
- package/dist/cjs/i18n/es.js +3 -12
- package/dist/cjs/i18n/fi.js +3 -12
- package/dist/cjs/i18n/fr.js +3 -12
- package/dist/cjs/i18n/hr.js +3 -12
- package/dist/cjs/i18n/hu.js +3 -12
- package/dist/cjs/i18n/it.js +3 -12
- package/dist/cjs/i18n/ja.js +3 -12
- package/dist/cjs/i18n/ko.js +3 -12
- package/dist/cjs/i18n/nb.js +3 -12
- package/dist/cjs/i18n/nl.js +3 -12
- package/dist/cjs/i18n/pl.js +3 -12
- package/dist/cjs/i18n/pt_BR.js +3 -12
- package/dist/cjs/i18n/ru.js +3 -12
- package/dist/cjs/i18n/sl.js +3 -12
- package/dist/cjs/i18n/sr_RS.js +3 -12
- package/dist/cjs/i18n/sr_YR.js +3 -12
- package/dist/cjs/i18n/sv.js +3 -12
- package/dist/cjs/i18n/th.js +3 -12
- package/dist/cjs/i18n/tr.js +3 -12
- package/dist/cjs/i18n/uk.js +3 -12
- package/dist/cjs/i18n/vi.js +3 -12
- package/dist/cjs/i18n/zh.js +3 -12
- package/dist/cjs/i18n/zh_TW.js +3 -12
- package/dist/cjs/service/recommendation-client.js +1 -1
- package/dist/cjs/service/users-transformer.js +1 -0
- package/dist/cjs/types.js +8 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/SmartUserPicker.js +65 -9
- package/dist/es2019/i18n/cs.js +3 -12
- package/dist/es2019/i18n/da.js +3 -12
- package/dist/es2019/i18n/de.js +3 -12
- package/dist/es2019/i18n/en.js +3 -12
- package/dist/es2019/i18n/en_GB.js +3 -12
- package/dist/es2019/i18n/en_ZZ.js +3 -12
- package/dist/es2019/i18n/es.js +3 -12
- package/dist/es2019/i18n/fi.js +3 -12
- package/dist/es2019/i18n/fr.js +3 -12
- package/dist/es2019/i18n/hr.js +3 -12
- package/dist/es2019/i18n/hu.js +3 -12
- package/dist/es2019/i18n/it.js +3 -12
- package/dist/es2019/i18n/ja.js +3 -12
- package/dist/es2019/i18n/ko.js +3 -12
- package/dist/es2019/i18n/nb.js +3 -12
- package/dist/es2019/i18n/nl.js +3 -12
- package/dist/es2019/i18n/pl.js +3 -12
- package/dist/es2019/i18n/pt_BR.js +3 -12
- package/dist/es2019/i18n/ru.js +3 -12
- package/dist/es2019/i18n/sl.js +3 -12
- package/dist/es2019/i18n/sr_RS.js +3 -12
- package/dist/es2019/i18n/sr_YR.js +3 -12
- package/dist/es2019/i18n/sv.js +3 -12
- package/dist/es2019/i18n/th.js +3 -12
- package/dist/es2019/i18n/tr.js +3 -12
- package/dist/es2019/i18n/uk.js +3 -12
- package/dist/es2019/i18n/vi.js +3 -12
- package/dist/es2019/i18n/zh.js +3 -12
- package/dist/es2019/i18n/zh_TW.js +3 -12
- package/dist/es2019/service/recommendation-client.js +1 -1
- package/dist/es2019/service/users-transformer.js +1 -0
- package/dist/es2019/types.js +7 -0
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/SmartUserPicker.js +119 -58
- package/dist/esm/i18n/cs.js +3 -12
- package/dist/esm/i18n/da.js +3 -12
- package/dist/esm/i18n/de.js +3 -12
- package/dist/esm/i18n/en.js +3 -12
- package/dist/esm/i18n/en_GB.js +3 -12
- package/dist/esm/i18n/en_ZZ.js +3 -12
- package/dist/esm/i18n/es.js +3 -12
- package/dist/esm/i18n/fi.js +3 -12
- package/dist/esm/i18n/fr.js +3 -12
- package/dist/esm/i18n/hr.js +3 -12
- package/dist/esm/i18n/hu.js +3 -12
- package/dist/esm/i18n/it.js +3 -12
- package/dist/esm/i18n/ja.js +3 -12
- package/dist/esm/i18n/ko.js +3 -12
- package/dist/esm/i18n/nb.js +3 -12
- package/dist/esm/i18n/nl.js +3 -12
- package/dist/esm/i18n/pl.js +3 -12
- package/dist/esm/i18n/pt_BR.js +3 -12
- package/dist/esm/i18n/ru.js +3 -12
- package/dist/esm/i18n/sl.js +3 -12
- package/dist/esm/i18n/sr_RS.js +3 -12
- package/dist/esm/i18n/sr_YR.js +3 -12
- package/dist/esm/i18n/sv.js +3 -12
- package/dist/esm/i18n/th.js +3 -12
- package/dist/esm/i18n/tr.js +3 -12
- package/dist/esm/i18n/uk.js +3 -12
- package/dist/esm/i18n/vi.js +3 -12
- package/dist/esm/i18n/zh.js +3 -12
- package/dist/esm/i18n/zh_TW.js +3 -12
- package/dist/esm/service/recommendation-client.js +1 -1
- package/dist/esm/service/users-transformer.js +1 -0
- package/dist/esm/types.js +7 -0
- package/dist/types/components/SmartUserPicker.d.ts +4 -0
- package/dist/types/i18n/cs.d.ts +2 -12
- package/dist/types/i18n/da.d.ts +2 -12
- package/dist/types/i18n/de.d.ts +2 -12
- package/dist/types/i18n/en.d.ts +2 -12
- package/dist/types/i18n/en_GB.d.ts +2 -12
- package/dist/types/i18n/en_ZZ.d.ts +2 -12
- package/dist/types/i18n/es.d.ts +2 -12
- package/dist/types/i18n/fi.d.ts +2 -12
- package/dist/types/i18n/fr.d.ts +2 -12
- package/dist/types/i18n/hr.d.ts +2 -12
- package/dist/types/i18n/hu.d.ts +2 -12
- package/dist/types/i18n/it.d.ts +2 -12
- package/dist/types/i18n/ja.d.ts +2 -12
- package/dist/types/i18n/ko.d.ts +2 -12
- package/dist/types/i18n/nb.d.ts +2 -12
- package/dist/types/i18n/nl.d.ts +2 -12
- package/dist/types/i18n/pl.d.ts +2 -12
- package/dist/types/i18n/pt_BR.d.ts +2 -12
- package/dist/types/i18n/ru.d.ts +2 -12
- package/dist/types/i18n/sl.d.ts +2 -12
- package/dist/types/i18n/sr_RS.d.ts +2 -12
- package/dist/types/i18n/sr_YR.d.ts +2 -12
- package/dist/types/i18n/sv.d.ts +2 -12
- package/dist/types/i18n/th.d.ts +2 -12
- package/dist/types/i18n/tr.d.ts +2 -12
- package/dist/types/i18n/uk.d.ts +2 -12
- package/dist/types/i18n/vi.d.ts +2 -12
- package/dist/types/i18n/zh.d.ts +2 -12
- package/dist/types/i18n/zh_TW.d.ts +2 -12
- package/dist/types/types.d.ts +29 -0
- package/dist/types-ts4.5/components/SmartUserPicker.d.ts +4 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +2 -12
- package/dist/types-ts4.5/i18n/da.d.ts +2 -12
- package/dist/types-ts4.5/i18n/de.d.ts +2 -12
- package/dist/types-ts4.5/i18n/en.d.ts +2 -12
- package/dist/types-ts4.5/i18n/en_GB.d.ts +2 -12
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +2 -12
- package/dist/types-ts4.5/i18n/es.d.ts +2 -12
- package/dist/types-ts4.5/i18n/fi.d.ts +2 -12
- package/dist/types-ts4.5/i18n/fr.d.ts +2 -12
- package/dist/types-ts4.5/i18n/hr.d.ts +2 -12
- package/dist/types-ts4.5/i18n/hu.d.ts +2 -12
- package/dist/types-ts4.5/i18n/it.d.ts +2 -12
- package/dist/types-ts4.5/i18n/ja.d.ts +2 -12
- package/dist/types-ts4.5/i18n/ko.d.ts +2 -12
- package/dist/types-ts4.5/i18n/nb.d.ts +2 -12
- package/dist/types-ts4.5/i18n/nl.d.ts +2 -12
- package/dist/types-ts4.5/i18n/pl.d.ts +2 -12
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +2 -12
- package/dist/types-ts4.5/i18n/ru.d.ts +2 -12
- package/dist/types-ts4.5/i18n/sl.d.ts +2 -12
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +2 -12
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +2 -12
- package/dist/types-ts4.5/i18n/sv.d.ts +2 -12
- package/dist/types-ts4.5/i18n/th.d.ts +2 -12
- package/dist/types-ts4.5/i18n/tr.d.ts +2 -12
- package/dist/types-ts4.5/i18n/uk.d.ts +2 -12
- package/dist/types-ts4.5/i18n/vi.d.ts +2 -12
- package/dist/types-ts4.5/i18n/zh.d.ts +2 -12
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +2 -12
- package/dist/types-ts4.5/types.d.ts +29 -0
- package/package.json +5 -8
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _zh = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/zh"));
|
|
7
9
|
/* prettier-ignore */
|
|
8
10
|
/**
|
|
9
11
|
* NOTE:
|
|
@@ -11,15 +13,4 @@ exports.default = void 0;
|
|
|
11
13
|
* This file is automatically generated by Traduki 2.0.
|
|
12
14
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
15
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.elements.user-picker.external.sourced.from': '发现位置:',
|
|
17
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
18
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
19
|
-
'fabric.elements.user-picker.guest.lozenge.text': '访客',
|
|
20
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': '访客群组只能访问特定的空间,并对用户信息具有有限的访问权限。',
|
|
21
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': '访客只能访问特定的空间,并对用户信息具有有限的访问权限。',
|
|
22
|
-
'fabric.elements.user-picker.member.lozenge.text': '成员',
|
|
23
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
24
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
25
|
-
};
|
|
16
|
+
var _default = exports.default = _zh.default;
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _zh_TW = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/zh_TW"));
|
|
7
9
|
/* prettier-ignore */
|
|
8
10
|
/**
|
|
9
11
|
* NOTE:
|
|
@@ -11,15 +13,4 @@ exports.default = void 0;
|
|
|
11
13
|
* This file is automatically generated by Traduki 2.0.
|
|
12
14
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
15
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.elements.user-picker.external.sourced.from': '尋找位置:',
|
|
17
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
18
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
19
|
-
'fabric.elements.user-picker.guest.lozenge.text': '訪客',
|
|
20
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': '訪客群組只能存取特定空間,而且只能存取有限的使用者資訊。',
|
|
21
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': '訪客只能存取特定空間,而且只能存取有限的使用者資訊。',
|
|
22
|
-
'fabric.elements.user-picker.member.lozenge.text': '成員',
|
|
23
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
24
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
25
|
-
};
|
|
16
|
+
var _default = exports.default = _zh_TW.default;
|
|
@@ -35,7 +35,7 @@ var getUserRecommendations = function getUserRecommendations(request, intl) {
|
|
|
35
35
|
}, ((_request$context = request.context) === null || _request$context === void 0 || (_request$context = _request$context.productAttributes) === null || _request$context === void 0 ? void 0 : _request$context.isEntitledConfluenceExternalCollaborator) && {
|
|
36
36
|
productAccessPermissionIds: ['write', 'external-collaborator-write']
|
|
37
37
|
}), {}, {
|
|
38
|
-
customQuery: '',
|
|
38
|
+
customQuery: request.customQuery || '',
|
|
39
39
|
customerDirectoryId: '',
|
|
40
40
|
filter: request.searchQueryFilter || '',
|
|
41
41
|
minimumAccessLevel: 'APPLICATION',
|
|
@@ -30,6 +30,7 @@ var transformUser = function transformUser(item, intl) {
|
|
|
30
30
|
return {
|
|
31
31
|
id: user.id,
|
|
32
32
|
type: user.nonLicensedUser ? _userPicker.ExternalUserType : _userPicker.UserType,
|
|
33
|
+
userType: user.userType,
|
|
33
34
|
avatarUrl: user.avatarUrl,
|
|
34
35
|
name: user.name,
|
|
35
36
|
email: user.email,
|
package/dist/cjs/types.js
CHANGED
|
@@ -3,10 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.EntityType = void 0;
|
|
6
|
+
exports.UserEntityType = exports.EntityType = void 0;
|
|
7
7
|
var EntityType = exports.EntityType = /*#__PURE__*/function (EntityType) {
|
|
8
8
|
EntityType["USER"] = "USER";
|
|
9
9
|
EntityType["TEAM"] = "TEAM";
|
|
10
10
|
EntityType["GROUP"] = "GROUP";
|
|
11
11
|
return EntityType;
|
|
12
|
+
}({});
|
|
13
|
+
var UserEntityType = exports.UserEntityType = /*#__PURE__*/function (UserEntityType) {
|
|
14
|
+
UserEntityType["DEFAULT"] = "DEFAULT";
|
|
15
|
+
UserEntityType["APP"] = "APP";
|
|
16
|
+
UserEntityType["CUSTOMER"] = "CUSTOMER";
|
|
17
|
+
UserEntityType["SYSTEM"] = "SYSTEM";
|
|
18
|
+
return UserEntityType;
|
|
12
19
|
}({}); // Override UserPickerProps below with replacement documentation
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
2
2
|
import { v4 as uuid } from 'uuid';
|
|
3
3
|
const packageName = "@atlaskit/smart-user-picker";
|
|
4
|
-
const packageVersion = "8.1
|
|
4
|
+
const packageVersion = "8.2.1";
|
|
5
5
|
export const startSession = () => ({
|
|
6
6
|
id: uuid(),
|
|
7
7
|
start: Date.now(),
|
|
@@ -7,10 +7,11 @@ import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
|
7
7
|
import memoizeOne from 'memoize-one';
|
|
8
8
|
import { injectIntl } from 'react-intl-next';
|
|
9
9
|
import { UFOExperienceState } from '@atlaskit/ufo';
|
|
10
|
-
import UserPicker, { isExternalUser, isTeam, isUser } from '@atlaskit/user-picker';
|
|
10
|
+
import UserPicker, { isExternalUser, isTeam, isUser, isValidEmail } from '@atlaskit/user-picker';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
12
|
import { requestUsersEvent, filterUsersEvent, preparedUsersLoadedEvent, successfulRequestUsersEvent, failedRequestUsersEvent, mountedWithPrefetchEvent, createAndFireEventInElementsChannel, failedUserResolversEvent } from '../analytics';
|
|
13
13
|
import MessagesIntlProvider from './MessagesIntlProvider';
|
|
14
|
+
import { UserEntityType } from '../types';
|
|
14
15
|
import { getUserRecommendations, hydrateDefaultValues } from '../service';
|
|
15
16
|
import { smartUserPickerOptionsShownUfoExperience } from '../ufoExperiences';
|
|
16
17
|
const DEFAULT_DEBOUNCE_TIME_MS = 150;
|
|
@@ -39,6 +40,9 @@ const getUsersForAnalytics = users => (users || []).map(({
|
|
|
39
40
|
type
|
|
40
41
|
}));
|
|
41
42
|
const checkIf500Event = statusCode => 500 <= statusCode && statusCode < 600;
|
|
43
|
+
const isEmailQuery = query => {
|
|
44
|
+
return isValidEmail(query.trim()) === 'VALID';
|
|
45
|
+
};
|
|
42
46
|
export class SmartUserPickerWithoutAnalytics extends React.Component {
|
|
43
47
|
constructor(props) {
|
|
44
48
|
var _this$props$debounceT;
|
|
@@ -51,6 +55,8 @@ export class SmartUserPickerWithoutAnalytics extends React.Component {
|
|
|
51
55
|
defaultValue: [],
|
|
52
56
|
bootstrapOptions: []
|
|
53
57
|
});
|
|
58
|
+
// Track if the last search was an email search that found matches
|
|
59
|
+
_defineProperty(this, "lastEmailSearchFoundMatches", false);
|
|
54
60
|
_defineProperty(this, "abortOptionsShownUfoExperience", () => {
|
|
55
61
|
if (this.optionsShownUfoExperienceInstance.state.id === UFOExperienceState.STARTED.id) {
|
|
56
62
|
// There may be an existing UFO timing running from previous key entry or focus,
|
|
@@ -93,6 +99,7 @@ export class SmartUserPickerWithoutAnalytics extends React.Component {
|
|
|
93
99
|
onEmpty,
|
|
94
100
|
onError,
|
|
95
101
|
overrideByline,
|
|
102
|
+
displayEmailInByline,
|
|
96
103
|
orgId,
|
|
97
104
|
principalId,
|
|
98
105
|
productAttributes,
|
|
@@ -100,10 +107,14 @@ export class SmartUserPickerWithoutAnalytics extends React.Component {
|
|
|
100
107
|
searchQueryFilter,
|
|
101
108
|
siteId,
|
|
102
109
|
transformOptions,
|
|
103
|
-
userResolvers
|
|
110
|
+
userResolvers,
|
|
111
|
+
enableEmailSearch
|
|
104
112
|
} = this.props;
|
|
105
113
|
const maxNumberOfResults = maxOptions || 100;
|
|
106
114
|
const startTime = window.performance.now();
|
|
115
|
+
|
|
116
|
+
// Check if this is an email search
|
|
117
|
+
const isEmail = enableEmailSearch && isEmailQuery(query);
|
|
107
118
|
const recommendationsRequest = {
|
|
108
119
|
baseUrl,
|
|
109
120
|
context: {
|
|
@@ -119,12 +130,21 @@ export class SmartUserPickerWithoutAnalytics extends React.Component {
|
|
|
119
130
|
productAttributes
|
|
120
131
|
},
|
|
121
132
|
includeUsers,
|
|
122
|
-
|
|
123
|
-
|
|
133
|
+
// For email searches, disable groups and teams
|
|
134
|
+
includeGroups: isEmail ? false : includeGroups,
|
|
135
|
+
includeTeams: isEmail ? false : includeTeams,
|
|
124
136
|
includeNonLicensedUsers,
|
|
125
137
|
maxNumberOfResults,
|
|
126
|
-
|
|
127
|
-
|
|
138
|
+
// For email searches, leverage customQuery instead of queryString
|
|
139
|
+
query: isEmail ? '' : query,
|
|
140
|
+
customQuery: isEmail ? `(email:"${query.trim()}")` : '',
|
|
141
|
+
/*
|
|
142
|
+
For email-based searches, we have decided to filter out apps.
|
|
143
|
+
Also - because the other 2 filters ((NOT not_mentionable:true) AND (account_status:active)) are included
|
|
144
|
+
when filter is empty, they have been added here to maintain consistency.
|
|
145
|
+
Further ref: https://developer.atlassian.com/platform/user-recommendations/guides/frequently-asked-questions/#filter-behavior
|
|
146
|
+
*/
|
|
147
|
+
searchQueryFilter: isEmail && !searchQueryFilter ? '(NOT not_mentionable:true) AND (account_status:active) AND (NOT account_type:app)' : searchQueryFilter
|
|
128
148
|
};
|
|
129
149
|
try {
|
|
130
150
|
var _await$onEmpty;
|
|
@@ -154,6 +174,25 @@ export class SmartUserPickerWithoutAnalytics extends React.Component {
|
|
|
154
174
|
}
|
|
155
175
|
}
|
|
156
176
|
}
|
|
177
|
+
if (displayEmailInByline) {
|
|
178
|
+
for (let option of recommendedUsers) {
|
|
179
|
+
if (isUser(option) || isExternalUser(option)) {
|
|
180
|
+
if (option.userType === UserEntityType.DEFAULT || option.userType === UserEntityType.CUSTOMER) {
|
|
181
|
+
// Respect existing byline if present
|
|
182
|
+
if (option.email && !option.byline) {
|
|
183
|
+
option.byline = option.email;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
// Track if email search found matches for conditional allowEmail logic
|
|
191
|
+
if (isEmail) {
|
|
192
|
+
this.lastEmailSearchFoundMatches = recommendedUsers.length > 0;
|
|
193
|
+
} else {
|
|
194
|
+
this.lastEmailSearchFoundMatches = false;
|
|
195
|
+
}
|
|
157
196
|
const elapsedTimeMilli = window.performance.now() - startTime;
|
|
158
197
|
const transformedOptions = transformOptions ? await transformOptions(recommendedUsers, query) : recommendedUsers;
|
|
159
198
|
const displayedUsers = transformedOptions.length === 0 && onEmpty ? (_await$onEmpty = await onEmpty(query)) !== null && _await$onEmpty !== void 0 ? _await$onEmpty : [] : transformedOptions;
|
|
@@ -266,7 +305,6 @@ export class SmartUserPickerWithoutAnalytics extends React.Component {
|
|
|
266
305
|
});
|
|
267
306
|
_defineProperty(this, "onFocus", sessionId => {
|
|
268
307
|
const state = {
|
|
269
|
-
query: '',
|
|
270
308
|
closed: false
|
|
271
309
|
};
|
|
272
310
|
this.startOptionsShownUfoExperience();
|
|
@@ -348,7 +386,22 @@ export class SmartUserPickerWithoutAnalytics extends React.Component {
|
|
|
348
386
|
}
|
|
349
387
|
}
|
|
350
388
|
render() {
|
|
351
|
-
|
|
389
|
+
const {
|
|
390
|
+
allowEmail,
|
|
391
|
+
enableEmailSearch,
|
|
392
|
+
allowEmailSelectionWhenEmailMatched,
|
|
393
|
+
...restProps
|
|
394
|
+
} = this.props;
|
|
395
|
+
|
|
396
|
+
// Determine whether to allow email selection based on allowEmailSelectionWhenEmailMatched, if needed
|
|
397
|
+
let shouldAllowEmail = allowEmail;
|
|
398
|
+
if (allowEmail && enableEmailSearch && !allowEmailSelectionWhenEmailMatched) {
|
|
399
|
+
// Only allow email selection if we're in an email search that found no matches
|
|
400
|
+
const isCurrentQueryEmail = isEmailQuery(this.state.query);
|
|
401
|
+
shouldAllowEmail = !isCurrentQueryEmail || !this.lastEmailSearchFoundMatches;
|
|
402
|
+
}
|
|
403
|
+
return /*#__PURE__*/React.createElement(MessagesIntlProvider, null, /*#__PURE__*/React.createElement(UserPicker, _extends({}, restProps, {
|
|
404
|
+
allowEmail: shouldAllowEmail,
|
|
352
405
|
onInputChange: this.onInputChange,
|
|
353
406
|
onBlur: this.onBlur,
|
|
354
407
|
onFocus: this.onFocus,
|
|
@@ -366,9 +419,12 @@ _defineProperty(SmartUserPickerWithoutAnalytics, "defaultProps", {
|
|
|
366
419
|
includeGroups: false,
|
|
367
420
|
includeTeams: false,
|
|
368
421
|
includeNonLicensedUsers: false,
|
|
422
|
+
displayEmailInByline: false,
|
|
369
423
|
prefetch: false,
|
|
370
424
|
principalId: 'Context',
|
|
371
425
|
debounceTime: DEFAULT_DEBOUNCE_TIME_MS,
|
|
372
|
-
userResolvers: []
|
|
426
|
+
userResolvers: [],
|
|
427
|
+
enableEmailSearch: false,
|
|
428
|
+
allowEmailSelectionWhenEmailMatched: true
|
|
373
429
|
});
|
|
374
430
|
export const SmartUserPicker = withAnalyticsEvents()(injectIntl(SmartUserPickerWithoutAnalytics));
|
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'HOST',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Skupiny hostů mají přístup pouze k určitým prostorům a mají omezený přístup k uživatelským údajům.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Hosté mají přístup pouze k určitým prostorům a mají omezený přístup k uživatelským údajům.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'ČLEN',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/cs';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'GÆST',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Gæstegrupper har kun adgang til bestemte områder og har begrænset adgang til brugeroplysninger.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Gæster har kun adgang til bestemte områder og har begrænset adgang til brugeroplysninger.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'Medlem',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/da';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'GAST',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Gästegruppen können ausschließlich auf ausgewählte Bereiche zugreifen und verfügen über eingeschränkten Zugriff auf Benutzerinformationen.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Gäste können ausschließlich auf ausgewählte Bereiche zugreifen und verfügen über eingeschränkten Zugriff auf Benutzerinformationen.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'Mitglied',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/de';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'GUEST',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Guest groups can only access certain spaces and have limited access to user info.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Guests can only access certain spaces and have limited access to user info.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'MEMBER',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/en';
|
|
10
|
+
export default translations;
|
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'GUEST',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Guest groups can only access certain spaces and have limited access to user info.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Guests can only access certain spaces and have limited access to user info.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'MEMBER',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/en_GB';
|
|
10
|
+
export default translations;
|
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'GUEST',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Guest groups can only access certain spaces and have limited access to user info.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Guests can only access certain spaces and have limited access to user info.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'MEMBER',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/en_ZZ';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/es.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'INVITADO',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Los grupos de invitados solo pueden acceder a espacios determinados y tienen un acceso limitado a la información de los usuarios.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Los invitados solo pueden acceder a espacios determinados y tienen un acceso limitado a la información de los usuarios.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'MIEMBRO',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/es';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/fi.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'VIERAS',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Vierasryhmillä on pääsy vain tiettyihin työtiloihin ja rajoitettu pääsy käyttäjätietoihin.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Vierailla on pääsy vain tiettyihin työtiloihin ja rajoitettu pääsy käyttäjätietoihin.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'Jäsen',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/fi';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/fr.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'INVITÉ',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': "Les groupes d'invités peuvent uniquement accéder à certains espaces et ont un accès limité aux informations utilisateur.",
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Les invités peuvent uniquement accéder à certains espaces et ont un accès limité aux informations utilisateur.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'MEMBRE',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/fr';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/hr.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'GOST',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Grupe gostiju mogu pristupiti samo određenim prostorima i imaju ograničen pristup korisničkim podacima.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Gosti mogu pristupiti samo određenim prostorima i imaju ograničen pristup korisničkim podacima.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'ČLAN',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/hr';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/hu.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'VENDÉG',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'A vendégcsoportok csak bizonyos munkaterekhez kapnak hozzáférést, és korlátozottan érik el a felhasználói adatokat.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'A vendégek csak bizonyos munkaterekhez kapnak hozzáférést, és korlátozottan érik el a felhasználói adatokat.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'TAG',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/hu';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/it.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'OSPITE',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': "I gruppi guest possono accedere solamente a determinati spazi e hanno accesso limitato alle informazioni dell'utente.",
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': "Gli utenti guest possono accedere solamente a determinati spazi e hanno accesso limitato alle informazioni dell'utente.",
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'MEMBRO',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/it';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/ja.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'ゲスト',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'ゲスト グループは一部のスペースにのみアクセスでき、ユーザー情報へのアクセスが制限されます。',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'ゲストは一部のスペースにのみアクセスでき、ユーザー情報へのアクセスが制限されます。',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'メンバー',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/ja';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/ko.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': '게스트',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': '게스트 그룹은 특정 스페이스에만 액세스할 수 있고 사용자 정보에 대한 액세스 권한이 제한적입니다.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': '게스트는 특정 스페이스에만 액세스할 수 있고 사용자 정보에 대한 액세스 권한이 제한적입니다.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': '구성원',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/ko';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/nb.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'GJEST',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Gjestegrupper har bare tilgang til enkelte områder, og har begrenset tilgang til brukeropplysninger.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Gjester har bare tilgang til enkelte områder, og har begrenset tilgang til brukeropplysninger.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'Medlem',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/nb';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/nl.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'GAST',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Gastgroepen hebben alleen toegang tot bepaalde spaces en hebben beperkte toegang tot gebruikersinformatie.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Gasten hebben alleen toegang tot bepaalde spaces en hebben beperkte toegang tot gebruikersinformatie.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'LID',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/nl';
|
|
10
|
+
export default translations;
|
package/dist/es2019/i18n/pl.js
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'GOŚĆ',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Grupy gości mają dostęp wyłącznie do określonych przestrzeni i ograniczony dostęp do informacji o użytkownikach.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Goście mają dostęp wyłącznie do określonych przestrzeni i ograniczony dostęp do informacji o użytkownikach.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'CZŁONEK',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/pl';
|
|
10
|
+
export default translations;
|
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
12
|
-
'fabric.elements.user-picker.google.provider': 'Google',
|
|
13
|
-
'fabric.elements.user-picker.guest.lozenge.text': 'CONVIDADO',
|
|
14
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Os grupos de convidados só podem acessar determinados espaços e têm acesso limitado às informações do usuário.',
|
|
15
|
-
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Os convidados só podem acessar determinados espaços e têm acesso limitado às informações do usuário.',
|
|
16
|
-
'fabric.elements.user-picker.member.lozenge.text': 'Membro',
|
|
17
|
-
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
18
|
-
'fabric.elements.user-picker.slack.provider': 'Slack'
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
import translations from '@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker/i18n/pt_BR';
|
|
10
|
+
export default translations;
|