@atlaskit/smart-hooks 0.1.8 → 0.2.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 +16 -0
- package/dist/cjs/i18n/cs.js +3 -2
- package/dist/cjs/i18n/da.js +3 -2
- package/dist/cjs/i18n/de.js +4 -3
- package/dist/cjs/i18n/en.js +17 -5
- package/dist/cjs/i18n/en_GB.js +17 -5
- package/dist/cjs/i18n/en_ZZ.js +11 -11
- package/dist/cjs/i18n/es.js +3 -2
- package/dist/cjs/i18n/fi.js +3 -2
- package/dist/cjs/i18n/fr.js +3 -2
- package/dist/cjs/i18n/hu.js +3 -2
- package/dist/cjs/i18n/it.js +4 -3
- package/dist/cjs/i18n/ja.js +5 -4
- package/dist/cjs/i18n/ko.js +3 -2
- package/dist/cjs/i18n/nb.js +3 -2
- package/dist/cjs/i18n/nl.js +3 -2
- package/dist/cjs/i18n/pl.js +3 -2
- package/dist/cjs/i18n/pt_BR.js +3 -2
- package/dist/cjs/i18n/ru.js +3 -2
- package/dist/cjs/i18n/sv.js +3 -2
- package/dist/cjs/i18n/th.js +3 -2
- package/dist/cjs/i18n/tr.js +3 -2
- package/dist/cjs/i18n/uk.js +3 -2
- package/dist/cjs/i18n/vi.js +3 -2
- package/dist/cjs/i18n/zh.js +3 -2
- package/dist/cjs/i18n/zh_TW.js +3 -2
- package/dist/cjs/services/use-user-recommendations/index.js +68 -70
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/cs.js +3 -2
- package/dist/es2019/i18n/da.js +3 -2
- package/dist/es2019/i18n/de.js +4 -3
- package/dist/es2019/i18n/en.js +17 -5
- package/dist/es2019/i18n/en_GB.js +17 -5
- package/dist/es2019/i18n/en_ZZ.js +11 -11
- package/dist/es2019/i18n/es.js +3 -2
- package/dist/es2019/i18n/fi.js +3 -2
- package/dist/es2019/i18n/fr.js +3 -2
- package/dist/es2019/i18n/hu.js +3 -2
- package/dist/es2019/i18n/it.js +4 -3
- package/dist/es2019/i18n/ja.js +5 -4
- package/dist/es2019/i18n/ko.js +3 -2
- package/dist/es2019/i18n/nb.js +3 -2
- package/dist/es2019/i18n/nl.js +3 -2
- package/dist/es2019/i18n/pl.js +3 -2
- package/dist/es2019/i18n/pt_BR.js +3 -2
- package/dist/es2019/i18n/ru.js +3 -2
- package/dist/es2019/i18n/sv.js +3 -2
- package/dist/es2019/i18n/th.js +3 -2
- package/dist/es2019/i18n/tr.js +3 -2
- package/dist/es2019/i18n/uk.js +3 -2
- package/dist/es2019/i18n/vi.js +3 -2
- package/dist/es2019/i18n/zh.js +3 -2
- package/dist/es2019/i18n/zh_TW.js +3 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/cs.js +3 -2
- package/dist/esm/i18n/da.js +3 -2
- package/dist/esm/i18n/de.js +4 -3
- package/dist/esm/i18n/en.js +17 -5
- package/dist/esm/i18n/en_GB.js +17 -5
- package/dist/esm/i18n/en_ZZ.js +11 -11
- package/dist/esm/i18n/es.js +3 -2
- package/dist/esm/i18n/fi.js +3 -2
- package/dist/esm/i18n/fr.js +3 -2
- package/dist/esm/i18n/hu.js +3 -2
- package/dist/esm/i18n/it.js +4 -3
- package/dist/esm/i18n/ja.js +5 -4
- package/dist/esm/i18n/ko.js +3 -2
- package/dist/esm/i18n/nb.js +3 -2
- package/dist/esm/i18n/nl.js +3 -2
- package/dist/esm/i18n/pl.js +3 -2
- package/dist/esm/i18n/pt_BR.js +3 -2
- package/dist/esm/i18n/ru.js +3 -2
- package/dist/esm/i18n/sv.js +3 -2
- package/dist/esm/i18n/th.js +3 -2
- package/dist/esm/i18n/tr.js +3 -2
- package/dist/esm/i18n/uk.js +3 -2
- package/dist/esm/i18n/vi.js +3 -2
- package/dist/esm/i18n/zh.js +3 -2
- package/dist/esm/i18n/zh_TW.js +3 -2
- package/dist/esm/services/use-user-recommendations/index.js +68 -70
- package/dist/esm/version.json +1 -1
- package/dist/types/i18n/cs.d.ts +1 -1
- package/dist/types/i18n/da.d.ts +1 -1
- package/dist/types/i18n/de.d.ts +1 -1
- package/dist/types/i18n/en.d.ts +15 -4
- package/dist/types/i18n/en_GB.d.ts +15 -4
- package/dist/types/i18n/en_ZZ.d.ts +1 -1
- package/dist/types/i18n/es.d.ts +1 -1
- package/dist/types/i18n/fi.d.ts +1 -1
- package/dist/types/i18n/fr.d.ts +1 -1
- package/dist/types/i18n/hu.d.ts +1 -1
- package/dist/types/i18n/it.d.ts +1 -1
- package/dist/types/i18n/ja.d.ts +1 -1
- package/dist/types/i18n/ko.d.ts +1 -1
- package/dist/types/i18n/nb.d.ts +1 -1
- package/dist/types/i18n/nl.d.ts +1 -1
- package/dist/types/i18n/pl.d.ts +1 -1
- package/dist/types/i18n/pt_BR.d.ts +1 -1
- package/dist/types/i18n/ru.d.ts +1 -1
- package/dist/types/i18n/sv.d.ts +1 -1
- package/dist/types/i18n/th.d.ts +1 -1
- package/dist/types/i18n/tr.d.ts +1 -1
- package/dist/types/i18n/uk.d.ts +1 -1
- package/dist/types/i18n/vi.d.ts +1 -1
- package/dist/types/i18n/zh.d.ts +1 -1
- package/dist/types/i18n/zh_TW.d.ts +1 -1
- package/package.json +13 -13
- package/tmp/api-report-tmp.d.ts +0 -54
package/dist/esm/i18n/de.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//German (Germany)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Gefunden in:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
12
|
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
-
'smart-experiences.smart-hooks.guest.lozenge.text': '
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'Gast',
|
|
13
14
|
'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
15
|
'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
16
|
'smart-experiences.smart-hooks.member.lozenge.text': 'Mitglied',
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//
|
|
2
9
|
export default {
|
|
3
|
-
'smart-experiences.smart-hooks.
|
|
4
|
-
'smart-experiences.smart-hooks.
|
|
5
|
-
'smart-experiences.smart-hooks.
|
|
6
|
-
'smart-experiences.smart-hooks.
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Found in:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'GUEST',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Guest groups can only access certain spaces and have limited access to user info.',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Guests can only access certain spaces and have limited access to user info.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBER',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
7
19
|
};
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//English (United Kingdom)
|
|
2
9
|
export default {
|
|
3
|
-
'smart-experiences.smart-hooks.
|
|
4
|
-
'smart-experiences.smart-hooks.
|
|
5
|
-
'smart-experiences.smart-hooks.
|
|
6
|
-
'smart-experiences.smart-hooks.
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Found in:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'GUEST',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Guest groups can only access certain spaces and have limited access to user info.',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Guests can only access certain spaces and have limited access to user info.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBER',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
7
19
|
};
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//
|
|
8
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
|
|
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
18
|
};
|
package/dist/esm/i18n/es.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Spanish (International)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Encontrado en:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/fi.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Finnish
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Löydetty kohteesta:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/fr.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//French (France)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Trouvé dans :',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/hu.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Hungarian
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Itt található:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/it.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Italian (Italy)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Trovato in:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
12
|
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
-
'smart-experiences.smart-hooks.guest.lozenge.text': '
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'UTENTE GUEST',
|
|
13
14
|
'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
15
|
'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
16
|
'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBRO',
|
package/dist/esm/i18n/ja.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Japanese
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'ユーザーのソース元: ',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
12
|
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
13
|
'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': '
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'ゲスト グループは一部のスペースにのみアクセスできて、ユーザー情報へのアクセスが制限されます。',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'ゲストは一部のスペースにのみアクセスできて、ユーザー情報へのアクセスが制限されます。',
|
|
15
16
|
'smart-experiences.smart-hooks.member.lozenge.text': 'メンバー',
|
|
16
17
|
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
18
|
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
package/dist/esm/i18n/ko.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Korean
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': '찾은 위치:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/nb.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Norwegian (Bokmål)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Funnet på:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/nl.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Dutch (Netherlands)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Gevonden in:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/pl.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Polish (Poland)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Znaleziono w:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/pt_BR.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Portuguese (Brazil)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Encontrado em:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/ru.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Russian
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Найден в:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/sv.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Swedish
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Hittades i:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/th.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Thai (Thailand)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'พบใน:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/tr.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Turkish (Turkey)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Bulunduğu yer:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/uk.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Ukrainian (Ukraine)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Знайдено в:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/vi.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Vietnamese (Vietnam)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': 'Tìm thấy trong:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/zh.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Chinese (Simplified)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': '发现位置:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
package/dist/esm/i18n/zh_TW.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
7
|
*/
|
|
7
|
-
//
|
|
8
|
+
//Chinese (Traditional)
|
|
8
9
|
export default {
|
|
9
10
|
'smart-experiences.smart-hooks.external.sourced.from': '尋找位置:',
|
|
10
11
|
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
@@ -85,77 +85,75 @@ var useUserRecommendations = function useUserRecommendations(props) {
|
|
|
85
85
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(query) {
|
|
86
86
|
var _lastAbortController$, currentController, recommendedUsersResult;
|
|
87
87
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
88
|
-
while (1) {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
88
|
+
while (1) switch (_context.prev = _context.next) {
|
|
89
|
+
case 0:
|
|
90
|
+
setIsLoading(true);
|
|
91
|
+
// restart session
|
|
92
|
+
sessionId.current = uuid();
|
|
93
|
+
UsersFetchedUfoExperience.getInstance(fieldId).start();
|
|
94
|
+
_context.prev = 3;
|
|
95
|
+
if (lastAbortController.current) {
|
|
96
|
+
(_lastAbortController$ = lastAbortController.current) === null || _lastAbortController$ === void 0 ? void 0 : _lastAbortController$.abort();
|
|
97
|
+
}
|
|
98
|
+
// in case there are still IE users, check AbortController before init,
|
|
99
|
+
// IE has no timeout applied on fetch since AbortController isn't available
|
|
100
|
+
currentController = typeof AbortController !== 'undefined' ? new AbortController() : null;
|
|
101
|
+
lastAbortController.current = currentController;
|
|
102
|
+
_context.next = 9;
|
|
103
|
+
return fetchUserRecommendations({
|
|
104
|
+
baseUrl: baseUrl,
|
|
105
|
+
context: {
|
|
106
|
+
childObjectId: childObjectId,
|
|
107
|
+
containerId: containerId,
|
|
108
|
+
objectId: objectId,
|
|
109
|
+
principalId: principalId,
|
|
110
|
+
productAttributes: productAttributes,
|
|
111
|
+
productKey: productKey,
|
|
112
|
+
contextType: fieldId,
|
|
113
|
+
siteId: tenantId,
|
|
114
|
+
sessionId: sessionId.current
|
|
115
|
+
},
|
|
116
|
+
includeUsers: includeUsers,
|
|
117
|
+
includeGroups: includeGroups,
|
|
118
|
+
includeTeams: includeTeams,
|
|
119
|
+
maxNumberOfResults: maxNumberOfResults,
|
|
120
|
+
searchQuery: cpusSearchQuery,
|
|
121
|
+
query: query
|
|
122
|
+
}, currentController === null || currentController === void 0 ? void 0 : currentController.signal);
|
|
123
|
+
case 9:
|
|
124
|
+
recommendedUsersResult = _context.sent;
|
|
125
|
+
currentQuery.current = query !== null && query !== void 0 ? query : '';
|
|
126
|
+
UsersFetchedUfoExperience.getInstance(fieldId).success({
|
|
127
|
+
metadata: _objectSpread(_objectSpread({}, getAnalyticsAttributes()), {}, {
|
|
128
|
+
loadedUsersSize: recommendedUsersResult.length
|
|
129
|
+
})
|
|
130
|
+
});
|
|
131
|
+
setRecommendations(recommendedUsersResult);
|
|
132
|
+
_context.next = 24;
|
|
133
|
+
break;
|
|
134
|
+
case 15:
|
|
135
|
+
_context.prev = 15;
|
|
136
|
+
_context.t0 = _context["catch"](3);
|
|
137
|
+
if (!(_context.t0 instanceof Error && _context.t0.name === 'AbortError')) {
|
|
138
|
+
_context.next = 22;
|
|
134
139
|
break;
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
setIsLoading(false);
|
|
153
|
-
// clear abort controller
|
|
154
|
-
lastAbortController.current = undefined;
|
|
155
|
-
case 26:
|
|
156
|
-
case "end":
|
|
157
|
-
return _context.stop();
|
|
158
|
-
}
|
|
140
|
+
}
|
|
141
|
+
// Request aborted client-side
|
|
142
|
+
UsersFetchedUfoExperience.getInstance(fieldId).abort();
|
|
143
|
+
// return early to prevent disabling isLoading
|
|
144
|
+
return _context.abrupt("return");
|
|
145
|
+
case 22:
|
|
146
|
+
UsersFetchedUfoExperience.getInstance(fieldId).failure({
|
|
147
|
+
metadata: getAnalyticsAttributes()
|
|
148
|
+
});
|
|
149
|
+
setError(_context.t0);
|
|
150
|
+
case 24:
|
|
151
|
+
setIsLoading(false);
|
|
152
|
+
// clear abort controller
|
|
153
|
+
lastAbortController.current = undefined;
|
|
154
|
+
case 26:
|
|
155
|
+
case "end":
|
|
156
|
+
return _context.stop();
|
|
159
157
|
}
|
|
160
158
|
}, _callee, null, [[3, 15]]);
|
|
161
159
|
}));
|
package/dist/esm/version.json
CHANGED
package/dist/types/i18n/cs.d.ts
CHANGED
package/dist/types/i18n/da.d.ts
CHANGED
package/dist/types/i18n/de.d.ts
CHANGED
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
'smart-experiences.smart-hooks.
|
|
3
|
-
'smart-experiences.smart-hooks.
|
|
4
|
-
'smart-experiences.smart-hooks.
|
|
5
|
-
'smart-experiences.smart-hooks.
|
|
2
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
4
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
5
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
6
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
7
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
8
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
9
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
6
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* NOTE:
|
|
14
|
+
*
|
|
15
|
+
* This file is automatically generated by Traduki 2.0.
|
|
16
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
+
*/
|
|
7
18
|
export default _default;
|