@atlaskit/smart-hooks 0.1.9 → 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 +10 -0
- package/dist/cjs/i18n/cs.js +9 -9
- package/dist/cjs/i18n/da.js +9 -9
- package/dist/cjs/i18n/de.js +9 -9
- package/dist/cjs/i18n/en.js +9 -9
- package/dist/cjs/i18n/en_GB.js +9 -9
- package/dist/cjs/i18n/es.js +9 -9
- package/dist/cjs/i18n/fi.js +9 -9
- package/dist/cjs/i18n/fr.js +9 -9
- package/dist/cjs/i18n/hu.js +9 -9
- package/dist/cjs/i18n/it.js +9 -9
- package/dist/cjs/i18n/ja.js +9 -9
- package/dist/cjs/i18n/ko.js +9 -9
- package/dist/cjs/i18n/nb.js +9 -9
- package/dist/cjs/i18n/nl.js +9 -9
- package/dist/cjs/i18n/pl.js +9 -9
- package/dist/cjs/i18n/pt_BR.js +9 -9
- package/dist/cjs/i18n/ru.js +9 -9
- package/dist/cjs/i18n/sv.js +9 -9
- package/dist/cjs/i18n/th.js +9 -9
- package/dist/cjs/i18n/tr.js +9 -9
- package/dist/cjs/i18n/uk.js +9 -9
- package/dist/cjs/i18n/vi.js +9 -9
- package/dist/cjs/i18n/zh.js +9 -9
- package/dist/cjs/i18n/zh_TW.js +9 -9
- package/dist/cjs/services/use-user-recommendations/index.js +71 -74
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/cs.js +9 -9
- package/dist/es2019/i18n/da.js +9 -9
- package/dist/es2019/i18n/de.js +9 -9
- package/dist/es2019/i18n/en.js +9 -9
- package/dist/es2019/i18n/en_GB.js +9 -9
- package/dist/es2019/i18n/es.js +9 -9
- package/dist/es2019/i18n/fi.js +9 -9
- package/dist/es2019/i18n/fr.js +9 -9
- package/dist/es2019/i18n/hu.js +9 -9
- package/dist/es2019/i18n/it.js +9 -9
- package/dist/es2019/i18n/ja.js +9 -9
- package/dist/es2019/i18n/ko.js +9 -9
- package/dist/es2019/i18n/nb.js +9 -9
- package/dist/es2019/i18n/nl.js +9 -9
- package/dist/es2019/i18n/pl.js +9 -9
- package/dist/es2019/i18n/pt_BR.js +9 -9
- package/dist/es2019/i18n/ru.js +9 -9
- package/dist/es2019/i18n/sv.js +9 -9
- package/dist/es2019/i18n/th.js +9 -9
- package/dist/es2019/i18n/tr.js +9 -9
- package/dist/es2019/i18n/uk.js +9 -9
- package/dist/es2019/i18n/vi.js +9 -9
- package/dist/es2019/i18n/zh.js +9 -9
- package/dist/es2019/i18n/zh_TW.js +9 -9
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/cs.js +9 -9
- package/dist/esm/i18n/da.js +9 -9
- package/dist/esm/i18n/de.js +9 -9
- package/dist/esm/i18n/en.js +9 -9
- package/dist/esm/i18n/en_GB.js +9 -9
- package/dist/esm/i18n/es.js +9 -9
- package/dist/esm/i18n/fi.js +9 -9
- package/dist/esm/i18n/fr.js +9 -9
- package/dist/esm/i18n/hu.js +9 -9
- package/dist/esm/i18n/it.js +9 -9
- package/dist/esm/i18n/ja.js +9 -9
- package/dist/esm/i18n/ko.js +9 -9
- package/dist/esm/i18n/nb.js +9 -9
- package/dist/esm/i18n/nl.js +9 -9
- package/dist/esm/i18n/pl.js +9 -9
- package/dist/esm/i18n/pt_BR.js +9 -9
- package/dist/esm/i18n/ru.js +9 -9
- package/dist/esm/i18n/sv.js +9 -9
- package/dist/esm/i18n/th.js +9 -9
- package/dist/esm/i18n/tr.js +9 -9
- package/dist/esm/i18n/uk.js +9 -9
- package/dist/esm/i18n/vi.js +9 -9
- package/dist/esm/i18n/zh.js +9 -9
- package/dist/esm/i18n/zh_TW.js +9 -9
- package/dist/esm/services/use-user-recommendations/index.js +71 -74
- package/dist/esm/version.json +1 -1
- package/dist/types/i18n/cs.d.ts +9 -9
- package/dist/types/i18n/da.d.ts +9 -9
- package/dist/types/i18n/de.d.ts +9 -9
- package/dist/types/i18n/en.d.ts +9 -9
- package/dist/types/i18n/en_GB.d.ts +9 -9
- package/dist/types/i18n/es.d.ts +9 -9
- package/dist/types/i18n/fi.d.ts +9 -9
- package/dist/types/i18n/fr.d.ts +9 -9
- package/dist/types/i18n/hu.d.ts +9 -9
- package/dist/types/i18n/it.d.ts +9 -9
- package/dist/types/i18n/ja.d.ts +9 -9
- package/dist/types/i18n/ko.d.ts +9 -9
- package/dist/types/i18n/nb.d.ts +9 -9
- package/dist/types/i18n/nl.d.ts +9 -9
- package/dist/types/i18n/pl.d.ts +9 -9
- package/dist/types/i18n/pt_BR.d.ts +9 -9
- package/dist/types/i18n/ru.d.ts +9 -9
- package/dist/types/i18n/sv.d.ts +9 -9
- package/dist/types/i18n/th.d.ts +9 -9
- package/dist/types/i18n/tr.d.ts +9 -9
- package/dist/types/i18n/uk.d.ts +9 -9
- package/dist/types/i18n/vi.d.ts +9 -9
- package/dist/types/i18n/zh.d.ts +9 -9
- package/dist/types/i18n/zh_TW.d.ts +9 -9
- package/package.json +13 -13
- package/tmp/api-report-tmp.d.ts +0 -54
package/dist/esm/i18n/it.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Italian (Italy)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Trovato 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': 'UTENTE GUEST',
|
|
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.",
|
|
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.",
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBRO',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/ja.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Japanese
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'ユーザーのソース元: ',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'ゲスト',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'ゲスト グループは一部のスペースにのみアクセスできて、ユーザー情報へのアクセスが制限されます。',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'ゲストは一部のスペースにのみアクセスできて、ユーザー情報へのアクセスが制限されます。',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'メンバー',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/ko.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Korean
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': '찾은 위치:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': '게스트',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '게스트 그룹은 특정 스페이스에만 액세스할 수 있고 사용자 정보에 대한 액세스 권한이 제한적입니다.',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '게스트는 특정 스페이스에만 액세스할 수 있고 사용자 정보에 대한 액세스 권한이 제한적입니다.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': '구성원',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/nb.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Norwegian (Bokmål)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Funnet på:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'GJEST',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gjestegrupper har bare tilgang til enkelte områder, og har begrenset tilgang til brukeropplysninger.',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gjester har bare tilgang til enkelte områder, og har begrenset tilgang til brukeropplysninger.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'Medlem',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/nl.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Dutch (Netherlands)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Gevonden 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': 'GAST',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gastgroepen hebben alleen toegang tot bepaalde spaces en hebben beperkte toegang tot gebruikersinformatie.',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gasten hebben alleen toegang tot bepaalde spaces en hebben beperkte toegang tot gebruikersinformatie.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'LID',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/pl.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Polish (Poland)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Znaleziono w:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'GOŚĆ',
|
|
14
|
+
'smart-experiences.smart-hooks.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
|
+
'smart-experiences.smart-hooks.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
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'CZŁONEK',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/pt_BR.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Portuguese (Brazil)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Encontrado em:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'CONVIDADO',
|
|
14
|
+
'smart-experiences.smart-hooks.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
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Os convidados só podem acessar determinados espaços e têm acesso limitado às informações do usuário.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'Membro',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/ru.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Russian
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Найден в:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'ГОСТЬ',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Гостевые группы имеют доступ только к определенным разделам и ограниченный доступ к информации о пользователях.',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Гости имеют доступ только к определенным разделам и ограниченный доступ к информации о пользователях.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'УЧАСТНИК',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/sv.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Swedish
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Hittades i:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'GÄST',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gästgrupper kan endast komma åt vissa utrymmen och har begränsad åtkomst till användarinformation.',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gästerna kan endast komma åt vissa utrymmen och har begränsad åtkomst till användarinformation.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'medlem',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/th.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Thai (Thailand)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'พบใน:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'ผู้ใช้ทั่วไป',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'กลุ่มผู้ใช้ทั่วไปสามารถเข้าถึงได้เฉพาะบางพื้นที่เท่านั้นและมีสิทธิ์ในการเข้าถึงข้อมูลผู้ใช้ที่จำกัด',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'ผู้ใช้ทั่วไปสามารถเข้าถึงได้เฉพาะบางพื้นที่เท่านั้นและมีสิทธิ์ในการเข้าถึงข้อมูลผู้ใช้ที่จำกัด',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'สมาชิก',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/tr.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Turkish (Turkey)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Bulunduğu yer:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'KONUK',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Konuk gruplar yalnızca bazı alanlara erişebilir ve kullanıcı bilgilerine erişimleri de kısıtlıdır.',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Konuklar yalnızca bazı alanlara erişebilir ve kullanıcı bilgilerine erişimleri de kısıtlıdır.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'ÜYE',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/uk.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Ukrainian (Ukraine)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Знайдено в:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'ГІСТЬ',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Групи гостей мають доступ лише до певних розділів, а також обмежений доступ до інформації про користувачів.',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Гості мають доступ лише до певних розділів, а також обмежений доступ до інформації про користувачів.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'Учасник',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/vi.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Vietnamese (Vietnam)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Tìm thấy trong:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'KHÁCH',
|
|
14
|
+
'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.',
|
|
15
|
+
'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.',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'Thành viên',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/zh.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Chinese (Simplified)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': '发现位置:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': '访客',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '访客群组只能访问特定的空间,并对用户信息具有有限的访问权限。',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '访客只能访问特定的空间,并对用户信息具有有限的访问权限。',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': '成员',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
package/dist/esm/i18n/zh_TW.js
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Chinese (Traditional)
|
|
9
9
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
'smart-experiences.smart-hooks.external.sourced.from': '尋找位置:',
|
|
11
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
12
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': '訪客',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '訪客群組只能存取特定空間,而且只能存取有限的使用者資訊。',
|
|
15
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '訪客只能存取特定空間,而且只能存取有限的使用者資訊。',
|
|
16
|
+
'smart-experiences.smart-hooks.member.lozenge.text': '成員',
|
|
17
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
18
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
19
19
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
4
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
6
5
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7
6
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8
7
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
@@ -83,80 +82,78 @@ var useUserRecommendations = function useUserRecommendations(props) {
|
|
|
83
82
|
}, renderId, sessionId.current, currentQuery.current));
|
|
84
83
|
}, [childObjectId, containerId, fieldId, includeTeams, maxNumberOfResults, objectId, preload, principalId, productKey, renderId, tenantId]);
|
|
85
84
|
var fetchRecommendations = useCallback( /*#__PURE__*/function () {
|
|
86
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime
|
|
85
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(query) {
|
|
87
86
|
var _lastAbortController$, currentController, recommendedUsersResult;
|
|
88
|
-
return _regeneratorRuntime
|
|
89
|
-
while (1) {
|
|
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
|
-
|
|
134
|
-
|
|
87
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
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;
|
|
135
139
|
break;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
setIsLoading(false);
|
|
154
|
-
// clear abort controller
|
|
155
|
-
lastAbortController.current = undefined;
|
|
156
|
-
case 26:
|
|
157
|
-
case "end":
|
|
158
|
-
return _context.stop();
|
|
159
|
-
}
|
|
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();
|
|
160
157
|
}
|
|
161
158
|
}, _callee, null, [[3, 15]]);
|
|
162
159
|
}));
|
package/dist/esm/version.json
CHANGED