@atlaskit/smart-hooks 0.0.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.
Files changed (159) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/i18n/cs.js +26 -0
  3. package/dist/cjs/i18n/da.js +26 -0
  4. package/dist/cjs/i18n/de.js +26 -0
  5. package/dist/cjs/i18n/en.js +14 -0
  6. package/dist/cjs/i18n/en_GB.js +14 -0
  7. package/dist/cjs/i18n/en_ZZ.js +26 -0
  8. package/dist/cjs/i18n/es.js +26 -0
  9. package/dist/cjs/i18n/et.js +16 -0
  10. package/dist/cjs/i18n/fi.js +26 -0
  11. package/dist/cjs/i18n/fr.js +26 -0
  12. package/dist/cjs/i18n/hu.js +26 -0
  13. package/dist/cjs/i18n/index.js +247 -0
  14. package/dist/cjs/i18n/is.js +14 -0
  15. package/dist/cjs/i18n/it.js +26 -0
  16. package/dist/cjs/i18n/ja.js +26 -0
  17. package/dist/cjs/i18n/ko.js +26 -0
  18. package/dist/cjs/i18n/languages.js +33 -0
  19. package/dist/cjs/i18n/nb.js +26 -0
  20. package/dist/cjs/i18n/nl.js +26 -0
  21. package/dist/cjs/i18n/pl.js +26 -0
  22. package/dist/cjs/i18n/pt_BR.js +26 -0
  23. package/dist/cjs/i18n/pt_PT.js +16 -0
  24. package/dist/cjs/i18n/ro.js +14 -0
  25. package/dist/cjs/i18n/ru.js +26 -0
  26. package/dist/cjs/i18n/sk.js +16 -0
  27. package/dist/cjs/i18n/sv.js +26 -0
  28. package/dist/cjs/i18n/th.js +26 -0
  29. package/dist/cjs/i18n/tr.js +26 -0
  30. package/dist/cjs/i18n/uk.js +26 -0
  31. package/dist/cjs/i18n/vi.js +26 -0
  32. package/dist/cjs/i18n/zh.js +26 -0
  33. package/dist/cjs/i18n/zh_TW.js +26 -0
  34. package/dist/cjs/index.js +23 -0
  35. package/dist/cjs/messages.js +57 -0
  36. package/dist/cjs/services/use-function-usage-tracking/index.js +36 -0
  37. package/dist/cjs/services/use-user-recommendations/index.js +170 -0
  38. package/dist/cjs/types.js +5 -0
  39. package/dist/cjs/utils/transform-recommendations-to-options/index.js +88 -0
  40. package/dist/cjs/version.json +5 -0
  41. package/dist/es2019/i18n/cs.js +18 -0
  42. package/dist/es2019/i18n/da.js +18 -0
  43. package/dist/es2019/i18n/de.js +18 -0
  44. package/dist/es2019/i18n/en.js +7 -0
  45. package/dist/es2019/i18n/en_GB.js +7 -0
  46. package/dist/es2019/i18n/en_ZZ.js +18 -0
  47. package/dist/es2019/i18n/es.js +18 -0
  48. package/dist/es2019/i18n/et.js +8 -0
  49. package/dist/es2019/i18n/fi.js +18 -0
  50. package/dist/es2019/i18n/fr.js +18 -0
  51. package/dist/es2019/i18n/hu.js +18 -0
  52. package/dist/es2019/i18n/index.js +36 -0
  53. package/dist/es2019/i18n/is.js +7 -0
  54. package/dist/es2019/i18n/it.js +18 -0
  55. package/dist/es2019/i18n/ja.js +18 -0
  56. package/dist/es2019/i18n/ko.js +18 -0
  57. package/dist/es2019/i18n/languages.js +26 -0
  58. package/dist/es2019/i18n/nb.js +18 -0
  59. package/dist/es2019/i18n/nl.js +18 -0
  60. package/dist/es2019/i18n/pl.js +18 -0
  61. package/dist/es2019/i18n/pt_BR.js +18 -0
  62. package/dist/es2019/i18n/pt_PT.js +8 -0
  63. package/dist/es2019/i18n/ro.js +7 -0
  64. package/dist/es2019/i18n/ru.js +18 -0
  65. package/dist/es2019/i18n/sk.js +8 -0
  66. package/dist/es2019/i18n/sv.js +18 -0
  67. package/dist/es2019/i18n/th.js +18 -0
  68. package/dist/es2019/i18n/tr.js +18 -0
  69. package/dist/es2019/i18n/uk.js +18 -0
  70. package/dist/es2019/i18n/vi.js +18 -0
  71. package/dist/es2019/i18n/zh.js +18 -0
  72. package/dist/es2019/i18n/zh_TW.js +18 -0
  73. package/dist/es2019/index.js +3 -0
  74. package/dist/es2019/messages.js +48 -0
  75. package/dist/es2019/services/use-function-usage-tracking/index.js +18 -0
  76. package/dist/es2019/services/use-user-recommendations/index.js +104 -0
  77. package/dist/es2019/types.js +1 -0
  78. package/dist/es2019/utils/transform-recommendations-to-options/index.js +67 -0
  79. package/dist/es2019/version.json +5 -0
  80. package/dist/esm/i18n/cs.js +18 -0
  81. package/dist/esm/i18n/da.js +18 -0
  82. package/dist/esm/i18n/de.js +18 -0
  83. package/dist/esm/i18n/en.js +7 -0
  84. package/dist/esm/i18n/en_GB.js +7 -0
  85. package/dist/esm/i18n/en_ZZ.js +18 -0
  86. package/dist/esm/i18n/es.js +18 -0
  87. package/dist/esm/i18n/et.js +8 -0
  88. package/dist/esm/i18n/fi.js +18 -0
  89. package/dist/esm/i18n/fr.js +18 -0
  90. package/dist/esm/i18n/hu.js +18 -0
  91. package/dist/esm/i18n/index.js +36 -0
  92. package/dist/esm/i18n/is.js +7 -0
  93. package/dist/esm/i18n/it.js +18 -0
  94. package/dist/esm/i18n/ja.js +18 -0
  95. package/dist/esm/i18n/ko.js +18 -0
  96. package/dist/esm/i18n/languages.js +26 -0
  97. package/dist/esm/i18n/nb.js +18 -0
  98. package/dist/esm/i18n/nl.js +18 -0
  99. package/dist/esm/i18n/pl.js +18 -0
  100. package/dist/esm/i18n/pt_BR.js +18 -0
  101. package/dist/esm/i18n/pt_PT.js +8 -0
  102. package/dist/esm/i18n/ro.js +7 -0
  103. package/dist/esm/i18n/ru.js +18 -0
  104. package/dist/esm/i18n/sk.js +8 -0
  105. package/dist/esm/i18n/sv.js +18 -0
  106. package/dist/esm/i18n/th.js +18 -0
  107. package/dist/esm/i18n/tr.js +18 -0
  108. package/dist/esm/i18n/uk.js +18 -0
  109. package/dist/esm/i18n/vi.js +18 -0
  110. package/dist/esm/i18n/zh.js +18 -0
  111. package/dist/esm/i18n/zh_TW.js +18 -0
  112. package/dist/esm/index.js +3 -0
  113. package/dist/esm/messages.js +48 -0
  114. package/dist/esm/services/use-function-usage-tracking/index.js +25 -0
  115. package/dist/esm/services/use-user-recommendations/index.js +152 -0
  116. package/dist/esm/types.js +1 -0
  117. package/dist/esm/utils/transform-recommendations-to-options/index.js +77 -0
  118. package/dist/esm/version.json +5 -0
  119. package/dist/types/i18n/cs.d.ts +18 -0
  120. package/dist/types/i18n/da.d.ts +18 -0
  121. package/dist/types/i18n/de.d.ts +18 -0
  122. package/dist/types/i18n/en.d.ts +7 -0
  123. package/dist/types/i18n/en_GB.d.ts +7 -0
  124. package/dist/types/i18n/en_ZZ.d.ts +18 -0
  125. package/dist/types/i18n/es.d.ts +18 -0
  126. package/dist/types/i18n/et.d.ts +8 -0
  127. package/dist/types/i18n/fi.d.ts +18 -0
  128. package/dist/types/i18n/fr.d.ts +18 -0
  129. package/dist/types/i18n/hu.d.ts +18 -0
  130. package/dist/types/i18n/index.d.ts +36 -0
  131. package/dist/types/i18n/is.d.ts +7 -0
  132. package/dist/types/i18n/it.d.ts +18 -0
  133. package/dist/types/i18n/ja.d.ts +18 -0
  134. package/dist/types/i18n/ko.d.ts +18 -0
  135. package/dist/types/i18n/languages.d.ts +27 -0
  136. package/dist/types/i18n/nb.d.ts +18 -0
  137. package/dist/types/i18n/nl.d.ts +18 -0
  138. package/dist/types/i18n/pl.d.ts +18 -0
  139. package/dist/types/i18n/pt_BR.d.ts +18 -0
  140. package/dist/types/i18n/pt_PT.d.ts +8 -0
  141. package/dist/types/i18n/ro.d.ts +7 -0
  142. package/dist/types/i18n/ru.d.ts +18 -0
  143. package/dist/types/i18n/sk.d.ts +8 -0
  144. package/dist/types/i18n/sv.d.ts +18 -0
  145. package/dist/types/i18n/th.d.ts +18 -0
  146. package/dist/types/i18n/tr.d.ts +18 -0
  147. package/dist/types/i18n/uk.d.ts +18 -0
  148. package/dist/types/i18n/vi.d.ts +18 -0
  149. package/dist/types/i18n/zh.d.ts +18 -0
  150. package/dist/types/i18n/zh_TW.d.ts +18 -0
  151. package/dist/types/index.d.ts +3 -0
  152. package/dist/types/messages.d.ts +47 -0
  153. package/dist/types/services/use-function-usage-tracking/index.d.ts +5 -0
  154. package/dist/types/services/use-user-recommendations/index.d.ts +22 -0
  155. package/dist/types/types.d.ts +91 -0
  156. package/dist/types/utils/transform-recommendations-to-options/index.d.ts +5 -0
  157. package/example-helpers/mock-urs-data.ts +82 -0
  158. package/example-helpers/use-endpoint-mocks.ts +47 -0
  159. package/package.json +81 -0
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Vietnamese
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Tìm thấy trong:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'KHÁCH',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Các nhóm khách chỉ có thể vào một số không gian nhất định và có quyền truy cập hạn chế vào thông tin người dùng.',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Khách chỉ có thể vào một số không gian nhất định và có quyền truy cập hạn chế vào thông tin người dùng.',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'Thành viên',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Chinese
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': '发现位置:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': '访客',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '访客群组只能访问特定的空间,并对用户信息具有有限的访问权限。',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '访客只能访问特定的空间,并对用户信息具有有限的访问权限。',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': '成员',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // undefined
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': '尋找位置:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': '訪客',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '訪客群組只能存取特定空間,而且只能存取有限的使用者資訊。',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '訪客只能存取特定空間,而且只能存取有限的使用者資訊。',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': '成員',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,3 @@
1
+ import useUserRecommendations from './services/use-user-recommendations';
2
+ import transformRecommendationsToOptions from './utils/transform-recommendations-to-options';
3
+ export { useUserRecommendations, transformRecommendationsToOptions };
@@ -0,0 +1,48 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export const messages = defineMessages({
3
+ externalUserSourcesHeading: {
4
+ id: 'smart-experiences.smart-hooks.external.sourced.from',
5
+ defaultMessage: 'Found in:',
6
+ description: 'From where the external user is coming'
7
+ },
8
+ slackProvider: {
9
+ id: 'smart-experiences.smart-hooks.slack.provider',
10
+ defaultMessage: 'Slack',
11
+ description: 'This external user is sourced from Slack provider'
12
+ },
13
+ googleProvider: {
14
+ id: 'smart-experiences.smart-hooks.google.provider',
15
+ defaultMessage: 'Google',
16
+ description: 'This external user is sourced from Google provider'
17
+ },
18
+ microsoftProvider: {
19
+ id: 'smart-experiences.smart-hooks.microsoft.provider',
20
+ defaultMessage: 'Microsoft',
21
+ description: 'This external user is sourced from Microsoft provider'
22
+ },
23
+ gitHubProvider: {
24
+ id: 'smart-experiences.smart-hooks.github.provider',
25
+ defaultMessage: 'GitHub',
26
+ description: 'This external user is sourced from GitHub provider'
27
+ },
28
+ memberLozengeText: {
29
+ id: 'smart-experiences.smart-hooks.member.lozenge.text',
30
+ defaultMessage: 'MEMBER',
31
+ description: 'Text within the Lozenge when the user is a workspace member'
32
+ },
33
+ guestLozengeText: {
34
+ id: 'smart-experiences.smart-hooks.guest.lozenge.text',
35
+ defaultMessage: 'GUEST',
36
+ description: 'Text within the lozenge when the user is a guest of confluence'
37
+ },
38
+ guestUserLozengeTooltip: {
39
+ id: 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user',
40
+ defaultMessage: 'Guests can only access certain spaces and have limited access to user info.',
41
+ description: 'Tooltip text for guest lozenge showing that a user is a guest in Confluence'
42
+ },
43
+ guestGroupLozengeTooltip: {
44
+ id: 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group',
45
+ defaultMessage: 'Guest groups can only access certain spaces and have limited access to user info.',
46
+ description: 'Tooltip text for lozenge showing that a group is for guests in Confluence'
47
+ }
48
+ });
@@ -0,0 +1,18 @@
1
+ import { useMemo, useState } from 'react';
2
+
3
+ function useFunctionUsageTracking(trackedFunction) {
4
+ const [isUsed, setIsUsed] = useState(false);
5
+ const trackingFunction = useMemo(() => () => {
6
+ if (!isUsed) {
7
+ setIsUsed(true);
8
+ }
9
+
10
+ return trackedFunction;
11
+ }, [trackedFunction, isUsed]);
12
+ return {
13
+ isUsed,
14
+ trackingFunction
15
+ };
16
+ }
17
+
18
+ export default useFunctionUsageTracking;
@@ -0,0 +1,104 @@
1
+ import { useCallback, useEffect, useMemo, useState } from 'react';
2
+ import debounce from 'lodash/debounce';
3
+ import { EntityType, fetchUserRecommendations } from '@atlaskit/smart-common';
4
+ import useFunctionUsageTracking from '../use-function-usage-tracking';
5
+ const MAX_NUMBER_RESULTS = 25;
6
+ const DEFAULT_DEBOUNCE_TIME_MS = 150;
7
+ const defaultProps = {
8
+ debounceTimeMs: DEFAULT_DEBOUNCE_TIME_MS,
9
+ maxNumberOfResults: MAX_NUMBER_RESULTS,
10
+ principalId: 'Context',
11
+ includeUsers: true
12
+ };
13
+ export const instrumentFailureOption = [{
14
+ id: 'not-used',
15
+ name: 'User Picker is not instrumented correctly',
16
+ entityType: EntityType.USER,
17
+ avatarUrl: ''
18
+ }];
19
+
20
+ const useUserRecommendations = props => {
21
+ const {
22
+ baseUrl,
23
+ childObjectId,
24
+ containerId,
25
+ debounceTimeMs,
26
+ fieldId,
27
+ includeUsers,
28
+ includeGroups,
29
+ includeTeams,
30
+ maxNumberOfResults,
31
+ objectId,
32
+ preload,
33
+ principalId,
34
+ productAttributes,
35
+ productKey,
36
+ cpusSearchQuery,
37
+ tenantId
38
+ } = { ...defaultProps,
39
+ ...props
40
+ };
41
+ const [recommendations, setRecommendations] = useState([]);
42
+ const [isLoading, setIsLoading] = useState(false);
43
+ const [error, setError] = useState();
44
+ const fetchRecommendations = useCallback(async (query, sessionId) => {
45
+ setIsLoading(true);
46
+
47
+ try {
48
+ const recommendedUsers = await fetchUserRecommendations({
49
+ baseUrl,
50
+ context: {
51
+ childObjectId,
52
+ containerId,
53
+ objectId,
54
+ principalId,
55
+ productAttributes,
56
+ productKey,
57
+ contextType: fieldId,
58
+ siteId: tenantId,
59
+ sessionId: sessionId
60
+ },
61
+ includeUsers,
62
+ includeGroups,
63
+ includeTeams,
64
+ maxNumberOfResults,
65
+ searchQuery: cpusSearchQuery,
66
+ query
67
+ });
68
+ setRecommendations(recommendedUsers);
69
+ } catch (error) {
70
+ setError(error);
71
+ }
72
+
73
+ setIsLoading(false);
74
+ }, [baseUrl, childObjectId, containerId, fieldId, includeGroups, includeTeams, includeUsers, maxNumberOfResults, objectId, principalId, productAttributes, productKey, cpusSearchQuery, tenantId]);
75
+ const debouncedFetchRecommendations = useMemo(() => debounce(fetchRecommendations, debounceTimeMs), [fetchRecommendations, debounceTimeMs]);
76
+ useEffect(() => {
77
+ if (preload) {
78
+ debouncedFetchRecommendations('');
79
+ }
80
+ }, [preload, debouncedFetchRecommendations]); // TODO - analytics
81
+
82
+ const onInputChange = useCallback((query, sessionId) => {
83
+ debouncedFetchRecommendations(query, sessionId);
84
+ }, [debouncedFetchRecommendations]); // TODO - analytics
85
+
86
+ const onChange = useCallback((value, action) => {}, []);
87
+ const {
88
+ isUsed: isOnInputChangeUsed,
89
+ trackingFunction: usageTrackedOnInputChange
90
+ } = useFunctionUsageTracking(onInputChange);
91
+ const {
92
+ isUsed: isOnChangeUsed,
93
+ trackingFunction: usageTrackedOnChange
94
+ } = useFunctionUsageTracking(onChange);
95
+ return {
96
+ recommendations: isOnInputChangeUsed && isOnChangeUsed ? recommendations : instrumentFailureOption,
97
+ onInputChange: usageTrackedOnInputChange,
98
+ onChange: usageTrackedOnChange,
99
+ isLoading,
100
+ error
101
+ };
102
+ };
103
+
104
+ export default useUserRecommendations;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,67 @@
1
+ import { EntityType } from '@atlaskit/smart-common';
2
+ import { GroupType, TeamType, UserType } from '@atlaskit/user-picker';
3
+ import { messages } from '../../messages';
4
+
5
+ const getLozenzeProperties = (entity, intl) => {
6
+ var _entity$attributes, _entity$attributes2;
7
+
8
+ if ((_entity$attributes = entity.attributes) !== null && _entity$attributes !== void 0 && _entity$attributes.workspaceMember) {
9
+ return intl.formatMessage(messages.memberLozengeText);
10
+ }
11
+
12
+ if ((_entity$attributes2 = entity.attributes) !== null && _entity$attributes2 !== void 0 && _entity$attributes2.isConfluenceExternalCollaborator) {
13
+ const lozengeTooltipMessage = entity.entityType === EntityType.GROUP ? messages.guestGroupLozengeTooltip : messages.guestUserLozengeTooltip;
14
+ return {
15
+ text: intl.formatMessage(messages.guestLozengeText),
16
+ tooltip: intl.formatMessage(lozengeTooltipMessage),
17
+ appearance: 'new'
18
+ };
19
+ }
20
+
21
+ return undefined;
22
+ };
23
+
24
+ const transformRecommendation = (item, intl) => {
25
+ const type = item.entityType;
26
+
27
+ if (type === EntityType.USER) {
28
+ const user = item;
29
+ const lozenge = getLozenzeProperties(user, intl);
30
+ return {
31
+ id: user.id,
32
+ type: UserType,
33
+ avatarUrl: user.avatarUrl,
34
+ name: user.name,
35
+ email: user.email,
36
+ lozenge: lozenge
37
+ };
38
+ }
39
+
40
+ if (type === EntityType.TEAM) {
41
+ const team = item;
42
+ return {
43
+ id: team.id,
44
+ type: TeamType,
45
+ description: team.description || '',
46
+ name: team.displayName || '',
47
+ memberCount: team.memberCount,
48
+ includesYou: team.includesYou,
49
+ avatarUrl: team.largeAvatarImageUrl || team.smallAvatarImageUrl
50
+ };
51
+ }
52
+
53
+ if (type === EntityType.GROUP) {
54
+ const group = item;
55
+ const lozenge = getLozenzeProperties(group, intl);
56
+ return {
57
+ id: group.id,
58
+ type: GroupType,
59
+ name: group.name || '',
60
+ lozenge: lozenge
61
+ };
62
+ }
63
+
64
+ return;
65
+ };
66
+
67
+ export default ((recommendations, intl) => (recommendations || []).map(item => transformRecommendation(item, intl)).filter(option => !!option).map(option => option));
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "@atlaskit/smart-hooks",
3
+ "version": "0.0.2",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Czech
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Nalezen v:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'HOST',
13
+ 'smart-experiences.smart-hooks.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.',
14
+ 'smart-experiences.smart-hooks.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.',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'ČLEN',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Danish
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Fundet i:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'GÆST',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gæstegrupper har kun adgang til bestemte områder og har begrænset adgang til brugeroplysninger.',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gæster har kun adgang til bestemte områder og har begrænset adgang til brugeroplysninger.',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'Medlem',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // German
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Gefunden in:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'GAST',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gästegruppen können ausschließlich auf ausgewählte Bereiche zugreifen und verfügen über eingeschränkten Zugriff auf Benutzerinformationen.',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gäste können ausschließlich auf ausgewählte Bereiche zugreifen und verfügen über eingeschränkten Zugriff auf Benutzerinformationen.',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'Mitglied',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,7 @@
1
+ // English
2
+ export default {
3
+ 'smart-experiences.smart-hooks.placeholder': 'Find a person...',
4
+ 'smart-experiences.smart-hooks.placeholder.add-more': 'add more people...',
5
+ 'smart-experiences.smart-hooks.multi.remove-item': 'Remove',
6
+ 'smart-experiences.smart-hooks.single.clear': 'Clear'
7
+ };
@@ -0,0 +1,7 @@
1
+ // English (United Kingdom)
2
+ export default {
3
+ 'smart-experiences.smart-hooks.placeholder': 'Find a person...',
4
+ 'smart-experiences.smart-hooks.placeholder.add-more': 'add more people...',
5
+ 'smart-experiences.smart-hooks.multi.remove-item': 'Remove',
6
+ 'smart-experiences.smart-hooks.single.clear': 'Clear'
7
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // English (Instrumented)
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': '⁣⁢Found in:؜‍⁠⁠‌؜‍⁠؜‍⁣⁤',
10
+ 'smart-experiences.smart-hooks.github.provider': '⁣⁢GitHub⁠؜⁠‍⁠؜⁡؜‌⁣⁤',
11
+ 'smart-experiences.smart-hooks.google.provider': '⁣⁢Google‍‌‍‌⁠؜‍⁡‌‌‌⁠⁡‍⁣⁤',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': '⁣⁢GUEST⁡؜⁠⁡‍‍‍⁣⁤',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '⁣⁢Guest groups can only access certain spaces and have limited access to user info.⁠‍⁡‍⁡؜⁡⁠⁠⁠⁣⁤',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '⁣⁢Guests can only access certain spaces and have limited access to user info.‌؜⁠‌⁠‍‌‌‌؜⁡⁣⁤',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': '⁣⁢MEMBER‍‍⁡‍‍⁣⁤',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': '⁣⁢Microsoft‍⁡؜‌؜‍⁡⁠⁡⁠⁠⁠‍‍⁡⁣⁤',
17
+ 'smart-experiences.smart-hooks.slack.provider': '⁣⁢Slack‍‍⁠‌؜⁠⁠⁡؜⁠‍⁡⁣⁤'
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Spanish
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Encontrado en:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'INVITADO',
13
+ 'smart-experiences.smart-hooks.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.',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Los invitados solo pueden acceder a espacios determinados y tienen un acceso limitado a la información de los usuarios.',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'MIEMBRO',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Estonian
8
+ export default {};
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Finnish
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Löydetty kohteesta:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'VIERAS',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Vierasryhmillä on pääsy vain tiettyihin työtiloihin ja rajoitettu pääsy käyttäjätietoihin.',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Vierailla on pääsy vain tiettyihin työtiloihin ja rajoitettu pääsy käyttäjätietoihin.',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'Jäsen',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // French
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Trouvé dans :',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'INVITÉ',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': "Les groupes d'invités peuvent uniquement accéder à certains espaces et ont un accès limité aux informations utilisateur.",
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Les invités peuvent uniquement accéder à certains espaces et ont un accès limité aux informations utilisateur.',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBRE',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Hungarian
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Itt található:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'VENDÉG',
13
+ 'smart-experiences.smart-hooks.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.',
14
+ 'smart-experiences.smart-hooks.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.',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'TAG',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,36 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ export { default as zh } from './zh';
8
+ export { default as zh_TW } from './zh_TW';
9
+ export { default as cs } from './cs';
10
+ export { default as da } from './da';
11
+ export { default as nl } from './nl';
12
+ export { default as et } from './et';
13
+ export { default as fi } from './fi';
14
+ export { default as fr } from './fr';
15
+ export { default as de } from './de';
16
+ export { default as hu } from './hu';
17
+ export { default as it } from './it';
18
+ export { default as ja } from './ja';
19
+ export { default as ko } from './ko';
20
+ export { default as nb } from './nb';
21
+ export { default as pl } from './pl';
22
+ export { default as pt_BR } from './pt_BR';
23
+ export { default as pt_PT } from './pt_PT';
24
+ export { default as ru } from './ru';
25
+ export { default as sk } from './sk';
26
+ export { default as es } from './es';
27
+ export { default as sv } from './sv';
28
+ export { default as th } from './th';
29
+ export { default as tr } from './tr';
30
+ export { default as uk } from './uk';
31
+ export { default as vi } from './vi';
32
+ export { default as en_ZZ } from './en_ZZ';
33
+ export { default as en } from './en';
34
+ export { default as en_GB } from './en_GB';
35
+ export { default as is } from './is';
36
+ export { default as ro } from './ro';
@@ -0,0 +1,7 @@
1
+ // Icelandic
2
+ export default {
3
+ 'smart-experiences.smart-hooks.placeholder': 'Finna einstakling...',
4
+ 'smart-experiences.smart-hooks.placeholder.add-more': 'Bæta við meira fólki...',
5
+ 'smart-experiences.smart-hooks.multi.remove-item': 'Fjarlægja',
6
+ 'smart-experiences.smart-hooks.single.clear': 'Hreinsa'
7
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Italian
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Trovato in:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'OSPITE',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': "I gruppi guest possono accedere solamente a determinati spazi e hanno accesso limitato alle informazioni dell'utente.",
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': "Gli utenti guest possono accedere solamente a determinati spazi e hanno accesso limitato alle informazioni dell'utente.",
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBRO',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Japanese
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'ユーザーのソース元: ',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'ゲスト',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'ゲスト グループは一部のスペースにのみアクセスでき、ユーザー情報へのアクセスが制限されます。',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'ゲストは一部のスペースにのみアクセスでき、ユーザー情報へのアクセスが制限されます。',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'メンバー',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Korean
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': '찾은 위치:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': '게스트',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '게스트 그룹은 특정 스페이스에만 액세스할 수 있고 사용자 정보에 대한 액세스 권한이 제한적입니다.',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '게스트는 특정 스페이스에만 액세스할 수 있고 사용자 정보에 대한 액세스 권한이 제한적입니다.',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': '구성원',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };
@@ -0,0 +1,26 @@
1
+ export default {
2
+ zh: 'Chinese',
3
+ cs: 'Czech',
4
+ da: 'Danish',
5
+ nl: 'Dutch',
6
+ en: 'English',
7
+ en_GB: 'English (United Kingdom)',
8
+ et: 'Estonian',
9
+ fi: 'Finnish',
10
+ fr: 'French',
11
+ de: 'German',
12
+ hu: 'Hungarian',
13
+ is: 'Icelandic',
14
+ it: 'Italian',
15
+ ja: 'Japanese',
16
+ ko: 'Korean',
17
+ nb: 'Norwegian Bokmål',
18
+ pl: 'Polish',
19
+ pt_BR: 'Portuguese (Brazil)',
20
+ pt_PT: 'Portuguese (Portugal)',
21
+ ro: 'Romanian',
22
+ ru: 'Russian',
23
+ sk: 'Slovak',
24
+ es: 'Spanish',
25
+ sv: 'Swedish'
26
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ // Norwegian Bokmål
8
+ export default {
9
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Funnet på:',
10
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'GJEST',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gjestegrupper har bare tilgang til enkelte områder, og har begrenset tilgang til brukeropplysninger.',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gjester har bare tilgang til enkelte områder, og har begrenset tilgang til brukeropplysninger.',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'Medlem',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
18
+ };