@atlaskit/smart-hooks 0.1.7 → 0.1.9
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 +12 -0
- package/dist/cjs/i18n/cs.js +12 -12
- package/dist/cjs/i18n/da.js +12 -12
- package/dist/cjs/i18n/de.js +12 -12
- 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 -12
- package/dist/cjs/i18n/es.js +12 -12
- package/dist/cjs/i18n/et.js +0 -1
- package/dist/cjs/i18n/fi.js +12 -12
- package/dist/cjs/i18n/fr.js +12 -12
- package/dist/cjs/i18n/hu.js +12 -12
- package/dist/cjs/i18n/index.js +0 -31
- package/dist/cjs/i18n/it.js +12 -12
- package/dist/cjs/i18n/ja.js +12 -12
- package/dist/cjs/i18n/ko.js +12 -12
- package/dist/cjs/i18n/nb.js +12 -12
- package/dist/cjs/i18n/nl.js +12 -12
- package/dist/cjs/i18n/pl.js +12 -12
- package/dist/cjs/i18n/pt_BR.js +12 -12
- package/dist/cjs/i18n/pt_PT.js +0 -1
- package/dist/cjs/i18n/ru.js +12 -12
- package/dist/cjs/i18n/sk.js +0 -1
- package/dist/cjs/i18n/sv.js +12 -12
- package/dist/cjs/i18n/th.js +12 -12
- package/dist/cjs/i18n/tr.js +12 -12
- package/dist/cjs/i18n/uk.js +12 -12
- package/dist/cjs/i18n/vi.js +12 -12
- package/dist/cjs/i18n/zh.js +12 -12
- package/dist/cjs/i18n/zh_TW.js +12 -12
- package/dist/cjs/index.js +0 -3
- package/dist/cjs/messages.js +0 -2
- package/dist/cjs/services/use-function-usage-tracking/index.js +8 -13
- package/dist/cjs/services/use-user-recommendations/analytics.js +9 -25
- package/dist/cjs/services/use-user-recommendations/index.js +46 -91
- package/dist/cjs/services/use-user-recommendations/ufoExperiences.js +0 -2
- package/dist/cjs/utils/transform-recommendations-to-options/index.js +0 -16
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/cs.js +12 -11
- package/dist/es2019/i18n/da.js +12 -11
- package/dist/es2019/i18n/de.js +12 -11
- 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 +12 -11
- package/dist/es2019/i18n/fi.js +12 -11
- package/dist/es2019/i18n/fr.js +12 -11
- package/dist/es2019/i18n/hu.js +12 -11
- package/dist/es2019/i18n/it.js +12 -11
- package/dist/es2019/i18n/ja.js +12 -11
- package/dist/es2019/i18n/ko.js +12 -11
- package/dist/es2019/i18n/nb.js +12 -11
- package/dist/es2019/i18n/nl.js +12 -11
- package/dist/es2019/i18n/pl.js +12 -11
- package/dist/es2019/i18n/pt_BR.js +12 -11
- package/dist/es2019/i18n/ru.js +12 -11
- package/dist/es2019/i18n/sv.js +12 -11
- package/dist/es2019/i18n/th.js +12 -11
- package/dist/es2019/i18n/tr.js +12 -11
- package/dist/es2019/i18n/uk.js +12 -11
- package/dist/es2019/i18n/vi.js +12 -11
- package/dist/es2019/i18n/zh.js +12 -11
- package/dist/es2019/i18n/zh_TW.js +12 -11
- package/dist/es2019/services/use-function-usage-tracking/index.js +6 -6
- package/dist/es2019/services/use-user-recommendations/analytics.js +0 -2
- package/dist/es2019/services/use-user-recommendations/index.js +16 -18
- package/dist/es2019/utils/transform-recommendations-to-options/index.js +0 -10
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/cs.js +12 -11
- package/dist/esm/i18n/da.js +12 -11
- package/dist/esm/i18n/de.js +12 -11
- 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 +12 -11
- package/dist/esm/i18n/fi.js +12 -11
- package/dist/esm/i18n/fr.js +12 -11
- package/dist/esm/i18n/hu.js +12 -11
- package/dist/esm/i18n/it.js +12 -11
- package/dist/esm/i18n/ja.js +12 -11
- package/dist/esm/i18n/ko.js +12 -11
- package/dist/esm/i18n/nb.js +12 -11
- package/dist/esm/i18n/nl.js +12 -11
- package/dist/esm/i18n/pl.js +12 -11
- package/dist/esm/i18n/pt_BR.js +12 -11
- package/dist/esm/i18n/ru.js +12 -11
- package/dist/esm/i18n/sv.js +12 -11
- package/dist/esm/i18n/th.js +12 -11
- package/dist/esm/i18n/tr.js +12 -11
- package/dist/esm/i18n/uk.js +12 -11
- package/dist/esm/i18n/vi.js +12 -11
- package/dist/esm/i18n/zh.js +12 -11
- package/dist/esm/i18n/zh_TW.js +12 -11
- package/dist/esm/services/use-function-usage-tracking/index.js +8 -9
- package/dist/esm/services/use-user-recommendations/analytics.js +9 -14
- package/dist/esm/services/use-user-recommendations/index.js +46 -71
- package/dist/esm/utils/transform-recommendations-to-options/index.js +0 -12
- package/dist/esm/version.json +1 -1
- package/dist/types/i18n/cs.d.ts +10 -10
- package/dist/types/i18n/da.d.ts +10 -10
- package/dist/types/i18n/de.d.ts +10 -10
- 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 +10 -10
- package/dist/types/i18n/fi.d.ts +10 -10
- package/dist/types/i18n/fr.d.ts +10 -10
- package/dist/types/i18n/hu.d.ts +10 -10
- package/dist/types/i18n/it.d.ts +10 -10
- package/dist/types/i18n/ja.d.ts +10 -10
- package/dist/types/i18n/ko.d.ts +10 -10
- package/dist/types/i18n/nb.d.ts +10 -10
- package/dist/types/i18n/nl.d.ts +10 -10
- package/dist/types/i18n/pl.d.ts +10 -10
- package/dist/types/i18n/pt_BR.d.ts +10 -10
- package/dist/types/i18n/ru.d.ts +10 -10
- package/dist/types/i18n/sv.d.ts +10 -10
- package/dist/types/i18n/th.d.ts +10 -10
- package/dist/types/i18n/tr.d.ts +10 -10
- package/dist/types/i18n/uk.d.ts +10 -10
- package/dist/types/i18n/vi.d.ts +10 -10
- package/dist/types/i18n/zh.d.ts +10 -10
- package/dist/types/i18n/zh_TW.d.ts +10 -10
- package/package.json +10 -8
package/dist/esm/i18n/nb.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/nl.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/pl.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/pt_BR.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/ru.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/sv.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/th.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/tr.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/uk.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/vi.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/zh.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
package/dist/esm/i18n/zh_TW.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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"
|
|
18
19
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import { useMemo, useState } from 'react';
|
|
3
3
|
import memoizeOne from 'memoize-one';
|
|
4
|
-
|
|
5
4
|
function useFunctionUsageTracking(trackedFunction) {
|
|
6
5
|
var _useState = useState(false),
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
7
|
+
isUsed = _useState2[0],
|
|
8
|
+
setIsUsed = _useState2[1];
|
|
11
9
|
|
|
10
|
+
// trackingFunction needs to be stable for hook consumers...
|
|
12
11
|
var trackingFunction = useMemo(function () {
|
|
13
|
-
return (
|
|
12
|
+
return (
|
|
13
|
+
// ...and the function that the factory returns needs to be stable for hook consumers as well
|
|
14
14
|
memoizeOne(function () {
|
|
15
15
|
if (!isUsed) {
|
|
16
16
|
setIsUsed(true);
|
|
17
17
|
}
|
|
18
|
-
|
|
19
18
|
return trackedFunction;
|
|
20
19
|
})
|
|
21
20
|
);
|
|
22
|
-
},
|
|
21
|
+
},
|
|
22
|
+
// isUsed deliberately left out to avoid new tracking fn being generated
|
|
23
23
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
24
24
|
[trackedFunction]);
|
|
25
25
|
return {
|
|
@@ -27,5 +27,4 @@ function useFunctionUsageTracking(trackedFunction) {
|
|
|
27
27
|
trackingFunction: trackingFunction
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
|
|
31
30
|
export default useFunctionUsageTracking;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
|
|
3
2
|
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; }
|
|
4
|
-
|
|
5
3
|
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; }
|
|
6
|
-
|
|
7
4
|
import { TRACK_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
8
5
|
import { FabricChannel } from '@atlaskit/analytics-listeners';
|
|
9
6
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
10
7
|
import { name as packageName, version as packageVersion } from '../../version.json';
|
|
11
8
|
var createAndFireEventInElementsChannel = createAndFireEvent(FabricChannel.elements);
|
|
12
|
-
|
|
13
9
|
var createEvent = function createEvent(eventType, action, actionSubject) {
|
|
14
10
|
var attributes = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
15
11
|
return {
|
|
@@ -23,7 +19,6 @@ var createEvent = function createEvent(eventType, action, actionSubject) {
|
|
|
23
19
|
}, attributes)
|
|
24
20
|
};
|
|
25
21
|
};
|
|
26
|
-
|
|
27
22
|
export var findUserPosition = function findUserPosition(loadedUsers, userId) {
|
|
28
23
|
return loadedUsers.findIndex(function (val) {
|
|
29
24
|
return val.id === userId;
|
|
@@ -31,15 +26,15 @@ export var findUserPosition = function findUserPosition(loadedUsers, userId) {
|
|
|
31
26
|
};
|
|
32
27
|
export var createDefaultAttributes = function createDefaultAttributes(props, renderId, sessionId, query) {
|
|
33
28
|
var fieldId = props.fieldId,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
objectId = props.objectId,
|
|
30
|
+
containerId = props.containerId,
|
|
31
|
+
childObjectId = props.childObjectId,
|
|
32
|
+
preload = props.preload,
|
|
33
|
+
includeTeams = props.includeTeams,
|
|
34
|
+
productKey = props.productKey,
|
|
35
|
+
principalId = props.principalId,
|
|
36
|
+
tenantId = props.tenantId,
|
|
37
|
+
maxNumberOfResults = props.maxNumberOfResults;
|
|
43
38
|
return {
|
|
44
39
|
context: fieldId,
|
|
45
40
|
childObjectId: childObjectId,
|