@atlaskit/smart-hooks 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/i18n/cs.js +26 -0
- package/dist/cjs/i18n/da.js +26 -0
- package/dist/cjs/i18n/de.js +26 -0
- package/dist/cjs/i18n/en.js +14 -0
- package/dist/cjs/i18n/en_GB.js +14 -0
- package/dist/cjs/i18n/en_ZZ.js +26 -0
- package/dist/cjs/i18n/es.js +26 -0
- package/dist/cjs/i18n/et.js +16 -0
- package/dist/cjs/i18n/fi.js +26 -0
- package/dist/cjs/i18n/fr.js +26 -0
- package/dist/cjs/i18n/hu.js +26 -0
- package/dist/cjs/i18n/index.js +247 -0
- package/dist/cjs/i18n/is.js +14 -0
- package/dist/cjs/i18n/it.js +26 -0
- package/dist/cjs/i18n/ja.js +26 -0
- package/dist/cjs/i18n/ko.js +26 -0
- package/dist/cjs/i18n/languages.js +33 -0
- package/dist/cjs/i18n/nb.js +26 -0
- package/dist/cjs/i18n/nl.js +26 -0
- package/dist/cjs/i18n/pl.js +26 -0
- package/dist/cjs/i18n/pt_BR.js +26 -0
- package/dist/cjs/i18n/pt_PT.js +16 -0
- package/dist/cjs/i18n/ro.js +14 -0
- package/dist/cjs/i18n/ru.js +26 -0
- package/dist/cjs/i18n/sk.js +16 -0
- package/dist/cjs/i18n/sv.js +26 -0
- package/dist/cjs/i18n/th.js +26 -0
- package/dist/cjs/i18n/tr.js +26 -0
- package/dist/cjs/i18n/uk.js +26 -0
- package/dist/cjs/i18n/vi.js +26 -0
- package/dist/cjs/i18n/zh.js +26 -0
- package/dist/cjs/i18n/zh_TW.js +26 -0
- package/dist/cjs/index.js +23 -0
- package/dist/cjs/messages.js +57 -0
- package/dist/cjs/services/use-function-usage-tracking/index.js +36 -0
- package/dist/cjs/services/use-user-recommendations/index.js +170 -0
- package/dist/cjs/types.js +5 -0
- package/dist/cjs/utils/transform-recommendations-to-options/index.js +88 -0
- package/dist/cjs/version.json +5 -0
- package/dist/es2019/i18n/cs.js +18 -0
- package/dist/es2019/i18n/da.js +18 -0
- package/dist/es2019/i18n/de.js +18 -0
- package/dist/es2019/i18n/en.js +7 -0
- package/dist/es2019/i18n/en_GB.js +7 -0
- package/dist/es2019/i18n/en_ZZ.js +18 -0
- package/dist/es2019/i18n/es.js +18 -0
- package/dist/es2019/i18n/et.js +8 -0
- package/dist/es2019/i18n/fi.js +18 -0
- package/dist/es2019/i18n/fr.js +18 -0
- package/dist/es2019/i18n/hu.js +18 -0
- package/dist/es2019/i18n/index.js +36 -0
- package/dist/es2019/i18n/is.js +7 -0
- package/dist/es2019/i18n/it.js +18 -0
- package/dist/es2019/i18n/ja.js +18 -0
- package/dist/es2019/i18n/ko.js +18 -0
- package/dist/es2019/i18n/languages.js +26 -0
- package/dist/es2019/i18n/nb.js +18 -0
- package/dist/es2019/i18n/nl.js +18 -0
- package/dist/es2019/i18n/pl.js +18 -0
- package/dist/es2019/i18n/pt_BR.js +18 -0
- package/dist/es2019/i18n/pt_PT.js +8 -0
- package/dist/es2019/i18n/ro.js +7 -0
- package/dist/es2019/i18n/ru.js +18 -0
- package/dist/es2019/i18n/sk.js +8 -0
- package/dist/es2019/i18n/sv.js +18 -0
- package/dist/es2019/i18n/th.js +18 -0
- package/dist/es2019/i18n/tr.js +18 -0
- package/dist/es2019/i18n/uk.js +18 -0
- package/dist/es2019/i18n/vi.js +18 -0
- package/dist/es2019/i18n/zh.js +18 -0
- package/dist/es2019/i18n/zh_TW.js +18 -0
- package/dist/es2019/index.js +3 -0
- package/dist/es2019/messages.js +48 -0
- package/dist/es2019/services/use-function-usage-tracking/index.js +18 -0
- package/dist/es2019/services/use-user-recommendations/index.js +104 -0
- package/dist/es2019/types.js +1 -0
- package/dist/es2019/utils/transform-recommendations-to-options/index.js +67 -0
- package/dist/es2019/version.json +5 -0
- package/dist/esm/i18n/cs.js +18 -0
- package/dist/esm/i18n/da.js +18 -0
- package/dist/esm/i18n/de.js +18 -0
- package/dist/esm/i18n/en.js +7 -0
- package/dist/esm/i18n/en_GB.js +7 -0
- package/dist/esm/i18n/en_ZZ.js +18 -0
- package/dist/esm/i18n/es.js +18 -0
- package/dist/esm/i18n/et.js +8 -0
- package/dist/esm/i18n/fi.js +18 -0
- package/dist/esm/i18n/fr.js +18 -0
- package/dist/esm/i18n/hu.js +18 -0
- package/dist/esm/i18n/index.js +36 -0
- package/dist/esm/i18n/is.js +7 -0
- package/dist/esm/i18n/it.js +18 -0
- package/dist/esm/i18n/ja.js +18 -0
- package/dist/esm/i18n/ko.js +18 -0
- package/dist/esm/i18n/languages.js +26 -0
- package/dist/esm/i18n/nb.js +18 -0
- package/dist/esm/i18n/nl.js +18 -0
- package/dist/esm/i18n/pl.js +18 -0
- package/dist/esm/i18n/pt_BR.js +18 -0
- package/dist/esm/i18n/pt_PT.js +8 -0
- package/dist/esm/i18n/ro.js +7 -0
- package/dist/esm/i18n/ru.js +18 -0
- package/dist/esm/i18n/sk.js +8 -0
- package/dist/esm/i18n/sv.js +18 -0
- package/dist/esm/i18n/th.js +18 -0
- package/dist/esm/i18n/tr.js +18 -0
- package/dist/esm/i18n/uk.js +18 -0
- package/dist/esm/i18n/vi.js +18 -0
- package/dist/esm/i18n/zh.js +18 -0
- package/dist/esm/i18n/zh_TW.js +18 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/messages.js +48 -0
- package/dist/esm/services/use-function-usage-tracking/index.js +25 -0
- package/dist/esm/services/use-user-recommendations/index.js +152 -0
- package/dist/esm/types.js +1 -0
- package/dist/esm/utils/transform-recommendations-to-options/index.js +77 -0
- package/dist/esm/version.json +5 -0
- package/dist/types/i18n/cs.d.ts +18 -0
- package/dist/types/i18n/da.d.ts +18 -0
- package/dist/types/i18n/de.d.ts +18 -0
- package/dist/types/i18n/en.d.ts +7 -0
- package/dist/types/i18n/en_GB.d.ts +7 -0
- package/dist/types/i18n/en_ZZ.d.ts +18 -0
- package/dist/types/i18n/es.d.ts +18 -0
- package/dist/types/i18n/et.d.ts +8 -0
- package/dist/types/i18n/fi.d.ts +18 -0
- package/dist/types/i18n/fr.d.ts +18 -0
- package/dist/types/i18n/hu.d.ts +18 -0
- package/dist/types/i18n/index.d.ts +36 -0
- package/dist/types/i18n/is.d.ts +7 -0
- package/dist/types/i18n/it.d.ts +18 -0
- package/dist/types/i18n/ja.d.ts +18 -0
- package/dist/types/i18n/ko.d.ts +18 -0
- package/dist/types/i18n/languages.d.ts +27 -0
- package/dist/types/i18n/nb.d.ts +18 -0
- package/dist/types/i18n/nl.d.ts +18 -0
- package/dist/types/i18n/pl.d.ts +18 -0
- package/dist/types/i18n/pt_BR.d.ts +18 -0
- package/dist/types/i18n/pt_PT.d.ts +8 -0
- package/dist/types/i18n/ro.d.ts +7 -0
- package/dist/types/i18n/ru.d.ts +18 -0
- package/dist/types/i18n/sk.d.ts +8 -0
- package/dist/types/i18n/sv.d.ts +18 -0
- package/dist/types/i18n/th.d.ts +18 -0
- package/dist/types/i18n/tr.d.ts +18 -0
- package/dist/types/i18n/uk.d.ts +18 -0
- package/dist/types/i18n/vi.d.ts +18 -0
- package/dist/types/i18n/zh.d.ts +18 -0
- package/dist/types/i18n/zh_TW.d.ts +18 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/messages.d.ts +47 -0
- package/dist/types/services/use-function-usage-tracking/index.d.ts +5 -0
- package/dist/types/services/use-user-recommendations/index.d.ts +22 -0
- package/dist/types/types.d.ts +91 -0
- package/dist/types/utils/transform-recommendations-to-options/index.d.ts +5 -0
- package/example-helpers/mock-urs-data.ts +82 -0
- package/example-helpers/use-endpoint-mocks.ts +47 -0
- package/package.json +81 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// Dutch
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Gevonden in:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'GAST',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gastgroepen hebben alleen toegang tot bepaalde spaces en hebben beperkte toegang tot gebruikersinformatie.',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gasten hebben alleen toegang tot bepaalde spaces en hebben beperkte toegang tot gebruikersinformatie.',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'LID',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// Polish
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Znaleziono w:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'GOŚĆ',
|
|
13
|
+
'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.',
|
|
14
|
+
'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.',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'CZŁONEK',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// Portuguese (Brazil)
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Encontrado em:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'CONVIDADO',
|
|
13
|
+
'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.',
|
|
14
|
+
'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.',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'Membro',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Romanian
|
|
2
|
+
export default {
|
|
3
|
+
'smart-experiences.smart-hooks.placeholder': 'Găsiți o persoană...',
|
|
4
|
+
'smart-experiences.smart-hooks.placeholder.add-more': 'și alte persoane',
|
|
5
|
+
'smart-experiences.smart-hooks.multi.remove-item': 'Eliminare',
|
|
6
|
+
'smart-experiences.smart-hooks.single.clear': 'Ștergere'
|
|
7
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// Russian
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Найден в:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'ГОСТЬ',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Гостевые группы имеют доступ только к определенным разделам и ограниченный доступ к информации о пользователях.',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Гости имеют доступ только к определенным разделам и ограниченный доступ к информации о пользователях.',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'УЧАСТНИК',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// Swedish
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Hittades i:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'GÄST',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gästgrupper kan endast komma åt vissa utrymmen och har begränsad åtkomst till användarinformation.',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gästerna kan endast komma åt vissa utrymmen och har begränsad åtkomst till användarinformation.',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'medlem',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// Thai
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'พบใน:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'ผู้ใช้ทั่วไป',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'กลุ่มผู้ใช้ทั่วไปสามารถเข้าถึงได้เฉพาะบางพื้นที่เท่านั้นและมีสิทธิ์ในการเข้าถึงข้อมูลผู้ใช้ที่จำกัด',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'ผู้ใช้ทั่วไปสามารถเข้าถึงได้เฉพาะบางพื้นที่เท่านั้นและมีสิทธิ์ในการเข้าถึงข้อมูลผู้ใช้ที่จำกัด',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'สมาชิก',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// Turkish
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Bulunduğu yer:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'KONUK',
|
|
13
|
+
'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.',
|
|
14
|
+
'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.',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'ÜYE',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// Ukrainian
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Знайдено в:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'ГІСТЬ',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Групи гостей мають доступ лише до певних розділів, а також обмежений доступ до інформації про користувачів.',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Гості мають доступ лише до певних розділів, а також обмежений доступ до інформації про користувачів.',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'Учасник',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// Vietnamese
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': 'Tìm thấy trong:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': 'KHÁCH',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Các nhóm khách chỉ có thể vào một số không gian nhất định và có quyền truy cập hạn chế vào thông tin người dùng.',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Khách chỉ có thể vào một số không gian nhất định và có quyền truy cập hạn chế vào thông tin người dùng.',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': 'Thành viên',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// Chinese
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': '发现位置:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': '访客',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '访客群组只能访问特定的空间,并对用户信息具有有限的访问权限。',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '访客只能访问特定的空间,并对用户信息具有有限的访问权限。',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': '成员',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
// undefined
|
|
8
|
+
export default {
|
|
9
|
+
'smart-experiences.smart-hooks.external.sourced.from': '尋找位置:',
|
|
10
|
+
'smart-experiences.smart-hooks.github.provider': 'GitHub',
|
|
11
|
+
'smart-experiences.smart-hooks.google.provider': 'Google',
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': '訪客',
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '訪客群組只能存取特定空間,而且只能存取有限的使用者資訊。',
|
|
14
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '訪客只能存取特定空間,而且只能存取有限的使用者資訊。',
|
|
15
|
+
'smart-experiences.smart-hooks.member.lozenge.text': '成員',
|
|
16
|
+
'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
|
|
17
|
+
'smart-experiences.smart-hooks.slack.provider': 'Slack'
|
|
18
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export var messages = defineMessages({
|
|
3
|
+
externalUserSourcesHeading: {
|
|
4
|
+
id: 'smart-experiences.smart-hooks.external.sourced.from',
|
|
5
|
+
defaultMessage: 'Found in:',
|
|
6
|
+
description: 'From where the external user is coming'
|
|
7
|
+
},
|
|
8
|
+
slackProvider: {
|
|
9
|
+
id: 'smart-experiences.smart-hooks.slack.provider',
|
|
10
|
+
defaultMessage: 'Slack',
|
|
11
|
+
description: 'This external user is sourced from Slack provider'
|
|
12
|
+
},
|
|
13
|
+
googleProvider: {
|
|
14
|
+
id: 'smart-experiences.smart-hooks.google.provider',
|
|
15
|
+
defaultMessage: 'Google',
|
|
16
|
+
description: 'This external user is sourced from Google provider'
|
|
17
|
+
},
|
|
18
|
+
microsoftProvider: {
|
|
19
|
+
id: 'smart-experiences.smart-hooks.microsoft.provider',
|
|
20
|
+
defaultMessage: 'Microsoft',
|
|
21
|
+
description: 'This external user is sourced from Microsoft provider'
|
|
22
|
+
},
|
|
23
|
+
gitHubProvider: {
|
|
24
|
+
id: 'smart-experiences.smart-hooks.github.provider',
|
|
25
|
+
defaultMessage: 'GitHub',
|
|
26
|
+
description: 'This external user is sourced from GitHub provider'
|
|
27
|
+
},
|
|
28
|
+
memberLozengeText: {
|
|
29
|
+
id: 'smart-experiences.smart-hooks.member.lozenge.text',
|
|
30
|
+
defaultMessage: 'MEMBER',
|
|
31
|
+
description: 'Text within the Lozenge when the user is a workspace member'
|
|
32
|
+
},
|
|
33
|
+
guestLozengeText: {
|
|
34
|
+
id: 'smart-experiences.smart-hooks.guest.lozenge.text',
|
|
35
|
+
defaultMessage: 'GUEST',
|
|
36
|
+
description: 'Text within the lozenge when the user is a guest of confluence'
|
|
37
|
+
},
|
|
38
|
+
guestUserLozengeTooltip: {
|
|
39
|
+
id: 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user',
|
|
40
|
+
defaultMessage: 'Guests can only access certain spaces and have limited access to user info.',
|
|
41
|
+
description: 'Tooltip text for guest lozenge showing that a user is a guest in Confluence'
|
|
42
|
+
},
|
|
43
|
+
guestGroupLozengeTooltip: {
|
|
44
|
+
id: 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group',
|
|
45
|
+
defaultMessage: 'Guest groups can only access certain spaces and have limited access to user info.',
|
|
46
|
+
description: 'Tooltip text for lozenge showing that a group is for guests in Confluence'
|
|
47
|
+
}
|
|
48
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
|
+
import { useMemo, useState } from 'react';
|
|
3
|
+
|
|
4
|
+
function useFunctionUsageTracking(trackedFunction) {
|
|
5
|
+
var _useState = useState(false),
|
|
6
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
7
|
+
isUsed = _useState2[0],
|
|
8
|
+
setIsUsed = _useState2[1];
|
|
9
|
+
|
|
10
|
+
var trackingFunction = useMemo(function () {
|
|
11
|
+
return function () {
|
|
12
|
+
if (!isUsed) {
|
|
13
|
+
setIsUsed(true);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return trackedFunction;
|
|
17
|
+
};
|
|
18
|
+
}, [trackedFunction, isUsed]);
|
|
19
|
+
return {
|
|
20
|
+
isUsed: isUsed,
|
|
21
|
+
trackingFunction: trackingFunction
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default useFunctionUsageTracking;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
|
+
|
|
6
|
+
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
|
+
|
|
8
|
+
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; }
|
|
9
|
+
|
|
10
|
+
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
11
|
+
import debounce from 'lodash/debounce';
|
|
12
|
+
import { EntityType, fetchUserRecommendations } from '@atlaskit/smart-common';
|
|
13
|
+
import useFunctionUsageTracking from '../use-function-usage-tracking';
|
|
14
|
+
var MAX_NUMBER_RESULTS = 25;
|
|
15
|
+
var DEFAULT_DEBOUNCE_TIME_MS = 150;
|
|
16
|
+
var defaultProps = {
|
|
17
|
+
debounceTimeMs: DEFAULT_DEBOUNCE_TIME_MS,
|
|
18
|
+
maxNumberOfResults: MAX_NUMBER_RESULTS,
|
|
19
|
+
principalId: 'Context',
|
|
20
|
+
includeUsers: true
|
|
21
|
+
};
|
|
22
|
+
export var instrumentFailureOption = [{
|
|
23
|
+
id: 'not-used',
|
|
24
|
+
name: 'User Picker is not instrumented correctly',
|
|
25
|
+
entityType: EntityType.USER,
|
|
26
|
+
avatarUrl: ''
|
|
27
|
+
}];
|
|
28
|
+
|
|
29
|
+
var useUserRecommendations = function useUserRecommendations(props) {
|
|
30
|
+
var _defaultProps$props = _objectSpread(_objectSpread({}, defaultProps), props),
|
|
31
|
+
baseUrl = _defaultProps$props.baseUrl,
|
|
32
|
+
childObjectId = _defaultProps$props.childObjectId,
|
|
33
|
+
containerId = _defaultProps$props.containerId,
|
|
34
|
+
debounceTimeMs = _defaultProps$props.debounceTimeMs,
|
|
35
|
+
fieldId = _defaultProps$props.fieldId,
|
|
36
|
+
includeUsers = _defaultProps$props.includeUsers,
|
|
37
|
+
includeGroups = _defaultProps$props.includeGroups,
|
|
38
|
+
includeTeams = _defaultProps$props.includeTeams,
|
|
39
|
+
maxNumberOfResults = _defaultProps$props.maxNumberOfResults,
|
|
40
|
+
objectId = _defaultProps$props.objectId,
|
|
41
|
+
preload = _defaultProps$props.preload,
|
|
42
|
+
principalId = _defaultProps$props.principalId,
|
|
43
|
+
productAttributes = _defaultProps$props.productAttributes,
|
|
44
|
+
productKey = _defaultProps$props.productKey,
|
|
45
|
+
cpusSearchQuery = _defaultProps$props.cpusSearchQuery,
|
|
46
|
+
tenantId = _defaultProps$props.tenantId;
|
|
47
|
+
|
|
48
|
+
var _useState = useState([]),
|
|
49
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
50
|
+
recommendations = _useState2[0],
|
|
51
|
+
setRecommendations = _useState2[1];
|
|
52
|
+
|
|
53
|
+
var _useState3 = useState(false),
|
|
54
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
55
|
+
isLoading = _useState4[0],
|
|
56
|
+
setIsLoading = _useState4[1];
|
|
57
|
+
|
|
58
|
+
var _useState5 = useState(),
|
|
59
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
60
|
+
error = _useState6[0],
|
|
61
|
+
setError = _useState6[1];
|
|
62
|
+
|
|
63
|
+
var fetchRecommendations = useCallback( /*#__PURE__*/function () {
|
|
64
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(query, sessionId) {
|
|
65
|
+
var recommendedUsers;
|
|
66
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
67
|
+
while (1) {
|
|
68
|
+
switch (_context.prev = _context.next) {
|
|
69
|
+
case 0:
|
|
70
|
+
setIsLoading(true);
|
|
71
|
+
_context.prev = 1;
|
|
72
|
+
_context.next = 4;
|
|
73
|
+
return fetchUserRecommendations({
|
|
74
|
+
baseUrl: baseUrl,
|
|
75
|
+
context: {
|
|
76
|
+
childObjectId: childObjectId,
|
|
77
|
+
containerId: containerId,
|
|
78
|
+
objectId: objectId,
|
|
79
|
+
principalId: principalId,
|
|
80
|
+
productAttributes: productAttributes,
|
|
81
|
+
productKey: productKey,
|
|
82
|
+
contextType: fieldId,
|
|
83
|
+
siteId: tenantId,
|
|
84
|
+
sessionId: sessionId
|
|
85
|
+
},
|
|
86
|
+
includeUsers: includeUsers,
|
|
87
|
+
includeGroups: includeGroups,
|
|
88
|
+
includeTeams: includeTeams,
|
|
89
|
+
maxNumberOfResults: maxNumberOfResults,
|
|
90
|
+
searchQuery: cpusSearchQuery,
|
|
91
|
+
query: query
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
case 4:
|
|
95
|
+
recommendedUsers = _context.sent;
|
|
96
|
+
setRecommendations(recommendedUsers);
|
|
97
|
+
_context.next = 11;
|
|
98
|
+
break;
|
|
99
|
+
|
|
100
|
+
case 8:
|
|
101
|
+
_context.prev = 8;
|
|
102
|
+
_context.t0 = _context["catch"](1);
|
|
103
|
+
setError(_context.t0);
|
|
104
|
+
|
|
105
|
+
case 11:
|
|
106
|
+
setIsLoading(false);
|
|
107
|
+
|
|
108
|
+
case 12:
|
|
109
|
+
case "end":
|
|
110
|
+
return _context.stop();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}, _callee, null, [[1, 8]]);
|
|
114
|
+
}));
|
|
115
|
+
|
|
116
|
+
return function (_x, _x2) {
|
|
117
|
+
return _ref.apply(this, arguments);
|
|
118
|
+
};
|
|
119
|
+
}(), [baseUrl, childObjectId, containerId, fieldId, includeGroups, includeTeams, includeUsers, maxNumberOfResults, objectId, principalId, productAttributes, productKey, cpusSearchQuery, tenantId]);
|
|
120
|
+
var debouncedFetchRecommendations = useMemo(function () {
|
|
121
|
+
return debounce(fetchRecommendations, debounceTimeMs);
|
|
122
|
+
}, [fetchRecommendations, debounceTimeMs]);
|
|
123
|
+
useEffect(function () {
|
|
124
|
+
if (preload) {
|
|
125
|
+
debouncedFetchRecommendations('');
|
|
126
|
+
}
|
|
127
|
+
}, [preload, debouncedFetchRecommendations]); // TODO - analytics
|
|
128
|
+
|
|
129
|
+
var onInputChange = useCallback(function (query, sessionId) {
|
|
130
|
+
debouncedFetchRecommendations(query, sessionId);
|
|
131
|
+
}, [debouncedFetchRecommendations]); // TODO - analytics
|
|
132
|
+
|
|
133
|
+
var onChange = useCallback(function (value, action) {}, []);
|
|
134
|
+
|
|
135
|
+
var _useFunctionUsageTrac = useFunctionUsageTracking(onInputChange),
|
|
136
|
+
isOnInputChangeUsed = _useFunctionUsageTrac.isUsed,
|
|
137
|
+
usageTrackedOnInputChange = _useFunctionUsageTrac.trackingFunction;
|
|
138
|
+
|
|
139
|
+
var _useFunctionUsageTrac2 = useFunctionUsageTracking(onChange),
|
|
140
|
+
isOnChangeUsed = _useFunctionUsageTrac2.isUsed,
|
|
141
|
+
usageTrackedOnChange = _useFunctionUsageTrac2.trackingFunction;
|
|
142
|
+
|
|
143
|
+
return {
|
|
144
|
+
recommendations: isOnInputChangeUsed && isOnChangeUsed ? recommendations : instrumentFailureOption,
|
|
145
|
+
onInputChange: usageTrackedOnInputChange,
|
|
146
|
+
onChange: usageTrackedOnChange,
|
|
147
|
+
isLoading: isLoading,
|
|
148
|
+
error: error
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export default useUserRecommendations;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { EntityType } from '@atlaskit/smart-common';
|
|
2
|
+
import { GroupType, TeamType, UserType } from '@atlaskit/user-picker';
|
|
3
|
+
import { messages } from '../../messages';
|
|
4
|
+
|
|
5
|
+
var getLozenzeProperties = function getLozenzeProperties(entity, intl) {
|
|
6
|
+
var _entity$attributes, _entity$attributes2;
|
|
7
|
+
|
|
8
|
+
if ((_entity$attributes = entity.attributes) !== null && _entity$attributes !== void 0 && _entity$attributes.workspaceMember) {
|
|
9
|
+
return intl.formatMessage(messages.memberLozengeText);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
if ((_entity$attributes2 = entity.attributes) !== null && _entity$attributes2 !== void 0 && _entity$attributes2.isConfluenceExternalCollaborator) {
|
|
13
|
+
var lozengeTooltipMessage = entity.entityType === EntityType.GROUP ? messages.guestGroupLozengeTooltip : messages.guestUserLozengeTooltip;
|
|
14
|
+
return {
|
|
15
|
+
text: intl.formatMessage(messages.guestLozengeText),
|
|
16
|
+
tooltip: intl.formatMessage(lozengeTooltipMessage),
|
|
17
|
+
appearance: 'new'
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
var transformRecommendation = function transformRecommendation(item, intl) {
|
|
25
|
+
var type = item.entityType;
|
|
26
|
+
|
|
27
|
+
if (type === EntityType.USER) {
|
|
28
|
+
var user = item;
|
|
29
|
+
var lozenge = getLozenzeProperties(user, intl);
|
|
30
|
+
return {
|
|
31
|
+
id: user.id,
|
|
32
|
+
type: UserType,
|
|
33
|
+
avatarUrl: user.avatarUrl,
|
|
34
|
+
name: user.name,
|
|
35
|
+
email: user.email,
|
|
36
|
+
lozenge: lozenge
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
if (type === EntityType.TEAM) {
|
|
41
|
+
var team = item;
|
|
42
|
+
return {
|
|
43
|
+
id: team.id,
|
|
44
|
+
type: TeamType,
|
|
45
|
+
description: team.description || '',
|
|
46
|
+
name: team.displayName || '',
|
|
47
|
+
memberCount: team.memberCount,
|
|
48
|
+
includesYou: team.includesYou,
|
|
49
|
+
avatarUrl: team.largeAvatarImageUrl || team.smallAvatarImageUrl
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
if (type === EntityType.GROUP) {
|
|
54
|
+
var group = item;
|
|
55
|
+
|
|
56
|
+
var _lozenge = getLozenzeProperties(group, intl);
|
|
57
|
+
|
|
58
|
+
return {
|
|
59
|
+
id: group.id,
|
|
60
|
+
type: GroupType,
|
|
61
|
+
name: group.name || '',
|
|
62
|
+
lozenge: _lozenge
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
return;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export default (function (recommendations, intl) {
|
|
70
|
+
return (recommendations || []).map(function (item) {
|
|
71
|
+
return transformRecommendation(item, intl);
|
|
72
|
+
}).filter(function (option) {
|
|
73
|
+
return !!option;
|
|
74
|
+
}).map(function (option) {
|
|
75
|
+
return option;
|
|
76
|
+
});
|
|
77
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
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;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* NOTE:
|
|
14
|
+
*
|
|
15
|
+
* This file is automatically generated by i18n-tools.
|
|
16
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
+
*/
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
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;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* NOTE:
|
|
14
|
+
*
|
|
15
|
+
* This file is automatically generated by i18n-tools.
|
|
16
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
+
*/
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
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;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* NOTE:
|
|
14
|
+
*
|
|
15
|
+
* This file is automatically generated by i18n-tools.
|
|
16
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
+
*/
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'smart-experiences.smart-hooks.placeholder': string;
|
|
3
|
+
'smart-experiences.smart-hooks.placeholder.add-more': string;
|
|
4
|
+
'smart-experiences.smart-hooks.multi.remove-item': string;
|
|
5
|
+
'smart-experiences.smart-hooks.single.clear': string;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'smart-experiences.smart-hooks.placeholder': string;
|
|
3
|
+
'smart-experiences.smart-hooks.placeholder.add-more': string;
|
|
4
|
+
'smart-experiences.smart-hooks.multi.remove-item': string;
|
|
5
|
+
'smart-experiences.smart-hooks.single.clear': string;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|