@atlaskit/profilecard 17.1.1 → 17.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/client/package.json +8 -1
  3. package/dist/cjs/mocks/mock-profile-client.js +5 -0
  4. package/dist/cjs/util/analytics.js +1 -1
  5. package/dist/cjs/version.json +1 -1
  6. package/dist/es2019/mocks/mock-profile-client.js +4 -0
  7. package/dist/es2019/util/analytics.js +1 -1
  8. package/dist/es2019/version.json +1 -1
  9. package/dist/esm/mocks/mock-profile-client.js +5 -0
  10. package/dist/esm/util/analytics.js +1 -1
  11. package/dist/esm/version.json +1 -1
  12. package/dist/types-ts4.0/client/CachingClient.d.ts +18 -0
  13. package/dist/types-ts4.0/client/ProfileCardClient.d.ts +18 -0
  14. package/dist/types-ts4.0/client/TeamCentralCardClient.d.ts +31 -0
  15. package/dist/types-ts4.0/client/TeamProfileCardClient.d.ts +10 -0
  16. package/dist/types-ts4.0/client/UserProfileCardClient.d.ts +18 -0
  17. package/dist/types-ts4.0/client/errorUtils.d.ts +6 -0
  18. package/dist/types-ts4.0/client/getTeamFromAGG.d.ts +28 -0
  19. package/dist/types-ts4.0/client/graphqlUtils.d.ts +16 -0
  20. package/dist/types-ts4.0/client/index.d.ts +6 -0
  21. package/dist/types-ts4.0/components/Error/ErrorBoundary.d.ts +10 -0
  22. package/dist/types-ts4.0/components/Error/ErrorIllustration.d.ts +2 -0
  23. package/dist/types-ts4.0/components/Error/ErrorMessage.d.ts +10 -0
  24. package/dist/types-ts4.0/components/Error/index.d.ts +3 -0
  25. package/dist/types-ts4.0/components/Icon/IconLabel.d.ts +12 -0
  26. package/dist/types-ts4.0/components/Icon/index.d.ts +1 -0
  27. package/dist/types-ts4.0/components/Team/TeamLoadingState.d.ts +6 -0
  28. package/dist/types-ts4.0/components/Team/TeamProfileCard.d.ts +4 -0
  29. package/dist/types-ts4.0/components/Team/TeamProfileCardTrigger.d.ts +50 -0
  30. package/dist/types-ts4.0/components/Team/index.d.ts +4 -0
  31. package/dist/types-ts4.0/components/Team/lazyTeamProfileCard.d.ts +2 -0
  32. package/dist/types-ts4.0/components/User/OverflowProfileCardButtons.d.ts +9 -0
  33. package/dist/types-ts4.0/components/User/ProfileCard.d.ts +5 -0
  34. package/dist/types-ts4.0/components/User/ProfileCardDetails.d.ts +3 -0
  35. package/dist/types-ts4.0/components/User/ProfileCardResourced.d.ts +22 -0
  36. package/dist/types-ts4.0/components/User/ProfileCardTrigger.d.ts +4 -0
  37. package/dist/types-ts4.0/components/User/ReportingLinesDetails.d.ts +5 -0
  38. package/dist/types-ts4.0/components/User/UserLoadingState.d.ts +7 -0
  39. package/dist/types-ts4.0/components/User/index.d.ts +4 -0
  40. package/dist/types-ts4.0/components/User/lazyProfileCard.d.ts +2 -0
  41. package/dist/types-ts4.0/i18n/cs.d.ts +38 -0
  42. package/dist/types-ts4.0/i18n/da.d.ts +38 -0
  43. package/dist/types-ts4.0/i18n/de.d.ts +38 -0
  44. package/dist/types-ts4.0/i18n/en.d.ts +39 -0
  45. package/dist/types-ts4.0/i18n/en_GB.d.ts +39 -0
  46. package/dist/types-ts4.0/i18n/en_ZZ.d.ts +39 -0
  47. package/dist/types-ts4.0/i18n/es.d.ts +38 -0
  48. package/dist/types-ts4.0/i18n/et.d.ts +27 -0
  49. package/dist/types-ts4.0/i18n/fi.d.ts +38 -0
  50. package/dist/types-ts4.0/i18n/fr.d.ts +38 -0
  51. package/dist/types-ts4.0/i18n/hu.d.ts +38 -0
  52. package/dist/types-ts4.0/i18n/index.d.ts +36 -0
  53. package/dist/types-ts4.0/i18n/is.d.ts +27 -0
  54. package/dist/types-ts4.0/i18n/it.d.ts +38 -0
  55. package/dist/types-ts4.0/i18n/ja.d.ts +38 -0
  56. package/dist/types-ts4.0/i18n/ko.d.ts +38 -0
  57. package/dist/types-ts4.0/i18n/languages.d.ts +33 -0
  58. package/dist/types-ts4.0/i18n/nb.d.ts +38 -0
  59. package/dist/types-ts4.0/i18n/nl.d.ts +38 -0
  60. package/dist/types-ts4.0/i18n/pl.d.ts +38 -0
  61. package/dist/types-ts4.0/i18n/pt_BR.d.ts +38 -0
  62. package/dist/types-ts4.0/i18n/pt_PT.d.ts +27 -0
  63. package/dist/types-ts4.0/i18n/ro.d.ts +27 -0
  64. package/dist/types-ts4.0/i18n/ru.d.ts +38 -0
  65. package/dist/types-ts4.0/i18n/sk.d.ts +27 -0
  66. package/dist/types-ts4.0/i18n/sv.d.ts +38 -0
  67. package/dist/types-ts4.0/i18n/th.d.ts +38 -0
  68. package/dist/types-ts4.0/i18n/tr.d.ts +38 -0
  69. package/dist/types-ts4.0/i18n/uk.d.ts +38 -0
  70. package/dist/types-ts4.0/i18n/vi.d.ts +38 -0
  71. package/dist/types-ts4.0/i18n/zh.d.ts +38 -0
  72. package/dist/types-ts4.0/i18n/zh_TW.d.ts +38 -0
  73. package/dist/types-ts4.0/index.d.ts +18 -0
  74. package/dist/types-ts4.0/internal/filterActions.d.ts +3 -0
  75. package/dist/types-ts4.0/internal/relative-date.d.ts +3 -0
  76. package/dist/types-ts4.0/messages.d.ts +153 -0
  77. package/dist/types-ts4.0/mocks/index.d.ts +4 -0
  78. package/dist/types-ts4.0/mocks/mock-profile-client.d.ts +1 -0
  79. package/dist/types-ts4.0/mocks/mock-team-client.d.ts +7 -0
  80. package/dist/types-ts4.0/mocks/profile-data.d.ts +41 -0
  81. package/dist/types-ts4.0/mocks/reporting-lines-data.d.ts +2 -0
  82. package/dist/types-ts4.0/mocks/simple-mock-clients.d.ts +14 -0
  83. package/dist/types-ts4.0/mocks/team-data.d.ts +7 -0
  84. package/dist/types-ts4.0/mocks/util.d.ts +6 -0
  85. package/dist/types-ts4.0/styled/Card.d.ts +31 -0
  86. package/dist/types-ts4.0/styled/Error.d.ts +6 -0
  87. package/dist/types-ts4.0/styled/ReportingLines.d.ts +6 -0
  88. package/dist/types-ts4.0/styled/TeamCard.d.ts +20 -0
  89. package/dist/types-ts4.0/styled/constants.d.ts +14 -0
  90. package/dist/types-ts4.0/types.d.ts +355 -0
  91. package/dist/types-ts4.0/util/analytics.d.ts +58 -0
  92. package/dist/types-ts4.0/util/click.d.ts +4 -0
  93. package/dist/types-ts4.0/util/config.d.ts +2 -0
  94. package/dist/types-ts4.0/util/performance.d.ts +1 -0
  95. package/dist/types-ts4.0/util/withOuterListeners.d.ts +6 -0
  96. package/messages/package.json +8 -1
  97. package/mocks/package.json +8 -1
  98. package/package.json +9 -2
  99. package/report.api.md +364 -291
  100. package/team/package.json +8 -1
  101. package/types/package.json +8 -1
  102. package/user/package.json +8 -1
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.give-kudos': string;
13
+ 'pt.profile-card.inactive.account': string;
14
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
15
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
16
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
17
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
19
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
20
+ 'pt.profile-card.inactive.account.no.date': string;
21
+ 'pt.team-profile-card.directReports.heading': string;
22
+ 'pt.team-profile-card.error.refresh-button': string;
23
+ 'pt.team-profile-card.error.suggestion': string;
24
+ 'pt.team-profile-card.error.title': string;
25
+ 'pt.team-profile-card.manager.heading': string;
26
+ 'pt.team-profile-card.team.action.view-profile': string;
27
+ 'pt.team-profile-card.team.member.count': string;
28
+ 'pt.team-profile-card.team.member.count-including-you': string;
29
+ 'pt.team-profile-card.team.member.many': string;
30
+ 'pt.team-profile-card.team.member.many-including-you': string;
31
+ };
32
+ /**
33
+ * NOTE:
34
+ *
35
+ * This file is automatically generated by Traduki 2.0.
36
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
37
+ */
38
+ export default _default;
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.inactive.account': string;
13
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
14
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
15
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
16
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
17
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
19
+ 'pt.profile-card.inactive.account.no.date': string;
20
+ };
21
+ /**
22
+ * NOTE:
23
+ *
24
+ * This file is automatically generated by Traduki 2.0.
25
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
26
+ */
27
+ export default _default;
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.inactive.account': string;
3
+ 'pt.profile-card.general.msg.disabled.user': string;
4
+ 'pt.profile-card.inactive.account.no.date': string;
5
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
6
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
7
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
8
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
9
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
10
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
11
+ 'pt.profile-card.closed.account': string;
12
+ 'pt.profile-card.closed.account.no.date': string;
13
+ 'pt.profile-card.closed.account.has.date.this.week': string;
14
+ 'pt.profile-card.closed.account.has.date.this.month': string;
15
+ 'pt.profile-card.closed.account.has.date.last.month': string;
16
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
17
+ 'pt.profile-card.closed.account.has.date.several.months': string;
18
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
19
+ 'pt.profile-card.disabled.account.default.name': string;
20
+ };
21
+ /**
22
+ * NOTE:
23
+ *
24
+ * This file is automatically generated by i18n-tools.
25
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
26
+ */
27
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.give-kudos': string;
13
+ 'pt.profile-card.inactive.account': string;
14
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
15
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
16
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
17
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
19
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
20
+ 'pt.profile-card.inactive.account.no.date': string;
21
+ 'pt.team-profile-card.directReports.heading': string;
22
+ 'pt.team-profile-card.error.refresh-button': string;
23
+ 'pt.team-profile-card.error.suggestion': string;
24
+ 'pt.team-profile-card.error.title': string;
25
+ 'pt.team-profile-card.manager.heading': string;
26
+ 'pt.team-profile-card.team.action.view-profile': string;
27
+ 'pt.team-profile-card.team.member.count': string;
28
+ 'pt.team-profile-card.team.member.count-including-you': string;
29
+ 'pt.team-profile-card.team.member.many': string;
30
+ 'pt.team-profile-card.team.member.many-including-you': string;
31
+ };
32
+ /**
33
+ * NOTE:
34
+ *
35
+ * This file is automatically generated by Traduki 2.0.
36
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
37
+ */
38
+ export default _default;
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.inactive.account': string;
13
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
14
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
15
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
16
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
17
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
19
+ 'pt.profile-card.inactive.account.no.date': string;
20
+ };
21
+ /**
22
+ * NOTE:
23
+ *
24
+ * This file is automatically generated by Traduki 2.0.
25
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
26
+ */
27
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.give-kudos': string;
13
+ 'pt.profile-card.inactive.account': string;
14
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
15
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
16
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
17
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
19
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
20
+ 'pt.profile-card.inactive.account.no.date': string;
21
+ 'pt.team-profile-card.directReports.heading': string;
22
+ 'pt.team-profile-card.error.refresh-button': string;
23
+ 'pt.team-profile-card.error.suggestion': string;
24
+ 'pt.team-profile-card.error.title': string;
25
+ 'pt.team-profile-card.manager.heading': string;
26
+ 'pt.team-profile-card.team.action.view-profile': string;
27
+ 'pt.team-profile-card.team.member.count': string;
28
+ 'pt.team-profile-card.team.member.count-including-you': string;
29
+ 'pt.team-profile-card.team.member.many': string;
30
+ 'pt.team-profile-card.team.member.many-including-you': string;
31
+ };
32
+ /**
33
+ * NOTE:
34
+ *
35
+ * This file is automatically generated by Traduki 2.0.
36
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
37
+ */
38
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.give-kudos': string;
13
+ 'pt.profile-card.inactive.account': string;
14
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
15
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
16
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
17
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
19
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
20
+ 'pt.profile-card.inactive.account.no.date': string;
21
+ 'pt.team-profile-card.directReports.heading': string;
22
+ 'pt.team-profile-card.error.refresh-button': string;
23
+ 'pt.team-profile-card.error.suggestion': string;
24
+ 'pt.team-profile-card.error.title': string;
25
+ 'pt.team-profile-card.manager.heading': string;
26
+ 'pt.team-profile-card.team.action.view-profile': string;
27
+ 'pt.team-profile-card.team.member.count': string;
28
+ 'pt.team-profile-card.team.member.count-including-you': string;
29
+ 'pt.team-profile-card.team.member.many': string;
30
+ 'pt.team-profile-card.team.member.many-including-you': string;
31
+ };
32
+ /**
33
+ * NOTE:
34
+ *
35
+ * This file is automatically generated by Traduki 2.0.
36
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
37
+ */
38
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.give-kudos': string;
13
+ 'pt.profile-card.inactive.account': string;
14
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
15
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
16
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
17
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
19
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
20
+ 'pt.profile-card.inactive.account.no.date': string;
21
+ 'pt.team-profile-card.directReports.heading': string;
22
+ 'pt.team-profile-card.error.refresh-button': string;
23
+ 'pt.team-profile-card.error.suggestion': string;
24
+ 'pt.team-profile-card.error.title': string;
25
+ 'pt.team-profile-card.manager.heading': string;
26
+ 'pt.team-profile-card.team.action.view-profile': string;
27
+ 'pt.team-profile-card.team.member.count': string;
28
+ 'pt.team-profile-card.team.member.count-including-you': string;
29
+ 'pt.team-profile-card.team.member.many': string;
30
+ 'pt.team-profile-card.team.member.many-including-you': string;
31
+ };
32
+ /**
33
+ * NOTE:
34
+ *
35
+ * This file is automatically generated by Traduki 2.0.
36
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
37
+ */
38
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.give-kudos': string;
13
+ 'pt.profile-card.inactive.account': string;
14
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
15
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
16
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
17
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
19
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
20
+ 'pt.profile-card.inactive.account.no.date': string;
21
+ 'pt.team-profile-card.directReports.heading': string;
22
+ 'pt.team-profile-card.error.refresh-button': string;
23
+ 'pt.team-profile-card.error.suggestion': string;
24
+ 'pt.team-profile-card.error.title': string;
25
+ 'pt.team-profile-card.manager.heading': string;
26
+ 'pt.team-profile-card.team.action.view-profile': string;
27
+ 'pt.team-profile-card.team.member.count': string;
28
+ 'pt.team-profile-card.team.member.count-including-you': string;
29
+ 'pt.team-profile-card.team.member.many': string;
30
+ 'pt.team-profile-card.team.member.many-including-you': string;
31
+ };
32
+ /**
33
+ * NOTE:
34
+ *
35
+ * This file is automatically generated by Traduki 2.0.
36
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
37
+ */
38
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.give-kudos': string;
13
+ 'pt.profile-card.inactive.account': string;
14
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
15
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
16
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
17
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
19
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
20
+ 'pt.profile-card.inactive.account.no.date': string;
21
+ 'pt.team-profile-card.directReports.heading': string;
22
+ 'pt.team-profile-card.error.refresh-button': string;
23
+ 'pt.team-profile-card.error.suggestion': string;
24
+ 'pt.team-profile-card.error.title': string;
25
+ 'pt.team-profile-card.manager.heading': string;
26
+ 'pt.team-profile-card.team.action.view-profile': string;
27
+ 'pt.team-profile-card.team.member.count': string;
28
+ 'pt.team-profile-card.team.member.count-including-you': string;
29
+ 'pt.team-profile-card.team.member.many': string;
30
+ 'pt.team-profile-card.team.member.many-including-you': string;
31
+ };
32
+ /**
33
+ * NOTE:
34
+ *
35
+ * This file is automatically generated by Traduki 2.0.
36
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
37
+ */
38
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.give-kudos': string;
13
+ 'pt.profile-card.inactive.account': string;
14
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
15
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
16
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
17
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
19
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
20
+ 'pt.profile-card.inactive.account.no.date': string;
21
+ 'pt.team-profile-card.directReports.heading': string;
22
+ 'pt.team-profile-card.error.refresh-button': string;
23
+ 'pt.team-profile-card.error.suggestion': string;
24
+ 'pt.team-profile-card.error.title': string;
25
+ 'pt.team-profile-card.manager.heading': string;
26
+ 'pt.team-profile-card.team.action.view-profile': string;
27
+ 'pt.team-profile-card.team.member.count': string;
28
+ 'pt.team-profile-card.team.member.count-including-you': string;
29
+ 'pt.team-profile-card.team.member.many': string;
30
+ 'pt.team-profile-card.team.member.many-including-you': string;
31
+ };
32
+ /**
33
+ * NOTE:
34
+ *
35
+ * This file is automatically generated by Traduki 2.0.
36
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
37
+ */
38
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ 'pt.profile-card.closed.account': string;
3
+ 'pt.profile-card.closed.account.has.date.a.few.months': string;
4
+ 'pt.profile-card.closed.account.has.date.last.month': string;
5
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': string;
6
+ 'pt.profile-card.closed.account.has.date.several.months': string;
7
+ 'pt.profile-card.closed.account.has.date.this.month': string;
8
+ 'pt.profile-card.closed.account.has.date.this.week': string;
9
+ 'pt.profile-card.closed.account.no.date': string;
10
+ 'pt.profile-card.disabled.account.default.name': string;
11
+ 'pt.profile-card.general.msg.disabled.user': string;
12
+ 'pt.profile-card.give-kudos': string;
13
+ 'pt.profile-card.inactive.account': string;
14
+ 'pt.profile-card.inactive.account.has.date.a.few.months': string;
15
+ 'pt.profile-card.inactive.account.has.date.last.month': string;
16
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': string;
17
+ 'pt.profile-card.inactive.account.has.date.several.months': string;
18
+ 'pt.profile-card.inactive.account.has.date.this.month': string;
19
+ 'pt.profile-card.inactive.account.has.date.this.week': string;
20
+ 'pt.profile-card.inactive.account.no.date': string;
21
+ 'pt.team-profile-card.directReports.heading': string;
22
+ 'pt.team-profile-card.error.refresh-button': string;
23
+ 'pt.team-profile-card.error.suggestion': string;
24
+ 'pt.team-profile-card.error.title': string;
25
+ 'pt.team-profile-card.manager.heading': string;
26
+ 'pt.team-profile-card.team.action.view-profile': string;
27
+ 'pt.team-profile-card.team.member.count': string;
28
+ 'pt.team-profile-card.team.member.count-including-you': string;
29
+ 'pt.team-profile-card.team.member.many': string;
30
+ 'pt.team-profile-card.team.member.many-including-you': string;
31
+ };
32
+ /**
33
+ * NOTE:
34
+ *
35
+ * This file is automatically generated by Traduki 2.0.
36
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
37
+ */
38
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import ProfileCardClient from './client/ProfileCardClient';
2
+ import TeamProfileClient from './client/TeamProfileCardClient';
3
+ import UserProfileClient, { modifyResponse } from './client/UserProfileCardClient';
4
+ import TeamProfileCardTrigger from './components/Team/TeamProfileCardTrigger';
5
+ import ProfileCard from './components/User/ProfileCard';
6
+ import ProfileCardResourced from './components/User/ProfileCardResourced';
7
+ import ProfileCardTrigger from './components/User/ProfileCardTrigger';
8
+ import { DELAY_MS_HIDE, DELAY_MS_SHOW } from './util/config';
9
+ export { default as withOuterListeners } from './util/withOuterListeners';
10
+ export type { WithOuterListenersProps } from './util/withOuterListeners';
11
+ export type { ProfileCardErrorType, ProfilecardTriggerPosition, RelativeDateKeyType, StatusModifiedDateType, StatusType, TriggerType, ApiClientResponse, MessageIntlProviderProps, ProfileCardAction, ProfileCardClientData, ProfileCardResourcedProps, ProfileCardResourcedState, ProfileCardTriggerProps, ProfileCardTriggerState, ProfileClientOptions, ProfilecardProps, Team, } from './types';
12
+ export { default as TeamProfileCard } from './components/Team/TeamProfileCard';
13
+ export { ProfileCard };
14
+ export { ProfileCardTrigger };
15
+ export { TeamProfileCardTrigger };
16
+ export { ProfileCardClient as ProfileClient, TeamProfileClient, UserProfileClient, modifyResponse, };
17
+ export { DELAY_MS_SHOW, DELAY_MS_HIDE };
18
+ export default ProfileCardResourced;
@@ -0,0 +1,3 @@
1
+ import { ProfileCardAction } from '../types';
2
+ declare const filterActions: (actions: ProfileCardAction[] | undefined, data: any) => ProfileCardAction[];
3
+ export default filterActions;
@@ -0,0 +1,3 @@
1
+ import { RelativeDateKeyType } from '../types';
2
+ export declare function isValidDate(date: Date, today?: Date): boolean;
3
+ export default function getRelativeDateKey(date?: Date | null, today?: Date): RelativeDateKeyType;
@@ -0,0 +1,153 @@
1
+ declare const messages: {
2
+ inactiveAccountMsg: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ description: string;
6
+ };
7
+ generalDescMsgForDisabledUser: {
8
+ id: string;
9
+ defaultMessage: string;
10
+ description: string;
11
+ };
12
+ inactiveAccountDescMsgNoDate: {
13
+ id: string;
14
+ defaultMessage: string;
15
+ description: string;
16
+ };
17
+ inactiveAccountDescMsgHasDateThisWeek: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
22
+ inactiveAccountDescMsgHasDateThisMonth: {
23
+ id: string;
24
+ defaultMessage: string;
25
+ description: string;
26
+ };
27
+ inactiveAccountDescMsgHasDateLastMonth: {
28
+ id: string;
29
+ defaultMessage: string;
30
+ description: string;
31
+ };
32
+ inactiveAccountDescMsgHasDateAFewMonths: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
37
+ inactiveAccountDescMsgHasDateSeveralMonths: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ description: string;
41
+ };
42
+ inactiveAccountDescMsgHasDateMoreThanAYear: {
43
+ id: string;
44
+ defaultMessage: string;
45
+ description: string;
46
+ };
47
+ closedAccountMsg: {
48
+ id: string;
49
+ defaultMessage: string;
50
+ description: string;
51
+ };
52
+ closedAccountDescMsgNoDate: {
53
+ id: string;
54
+ defaultMessage: string;
55
+ description: string;
56
+ };
57
+ closedAccountDescMsgHasDateThisWeek: {
58
+ id: string;
59
+ defaultMessage: string;
60
+ description: string;
61
+ };
62
+ closedAccountDescMsgHasDateThisMonth: {
63
+ id: string;
64
+ defaultMessage: string;
65
+ description: string;
66
+ };
67
+ closedAccountDescMsgHasDateLastMonth: {
68
+ id: string;
69
+ defaultMessage: string;
70
+ description: string;
71
+ };
72
+ closedAccountDescMsgHasDateAFewMonths: {
73
+ id: string;
74
+ defaultMessage: string;
75
+ description: string;
76
+ };
77
+ closedAccountDescMsgHasDateSeveralMonths: {
78
+ id: string;
79
+ defaultMessage: string;
80
+ description: string;
81
+ };
82
+ closedAccountDescMsgHasDateMoreThanAYear: {
83
+ id: string;
84
+ defaultMessage: string;
85
+ description: string;
86
+ };
87
+ disabledAccountDefaultName: {
88
+ id: string;
89
+ defaultMessage: string;
90
+ description: string;
91
+ };
92
+ teamViewProfile: {
93
+ id: string;
94
+ defaultMessage: string;
95
+ description: string;
96
+ };
97
+ memberCount: {
98
+ id: string;
99
+ defaultMessage: string;
100
+ description: string;
101
+ };
102
+ memberCountIncludingYou: {
103
+ id: string;
104
+ defaultMessage: string;
105
+ description: string;
106
+ };
107
+ membersMoreThan50: {
108
+ id: string;
109
+ defaultMessage: string;
110
+ description: string;
111
+ };
112
+ membersMoreThan50IncludingYou: {
113
+ id: string;
114
+ defaultMessage: string;
115
+ description: string;
116
+ };
117
+ teamErrorTitle: {
118
+ id: string;
119
+ defaultMessage: string;
120
+ description: string;
121
+ };
122
+ teamErrorText: {
123
+ id: string;
124
+ defaultMessage: string;
125
+ description: string;
126
+ };
127
+ teamErrorButton: {
128
+ id: string;
129
+ defaultMessage: string;
130
+ description: string;
131
+ };
132
+ managerSectionHeading: {
133
+ id: string;
134
+ defaultMessage: string;
135
+ description: string;
136
+ };
137
+ directReportsSectionHeading: {
138
+ id: string;
139
+ defaultMessage: string;
140
+ description: string;
141
+ };
142
+ giveKudosButton: {
143
+ id: string;
144
+ defaultMessage: string;
145
+ description: string;
146
+ };
147
+ profileCardMoreIconLabel: {
148
+ id: string;
149
+ defaultMessage: string;
150
+ description: string;
151
+ };
152
+ };
153
+ export default messages;
@@ -0,0 +1,4 @@
1
+ export { default as getMockProfileClient } from './mock-profile-client';
2
+ export { default as getMockTeamClient } from './mock-team-client';
3
+ export { default as profiles } from './profile-data';
4
+ export { simpleMockTeamClient, simpleMockUserClient, simpleProfileClient, } from './simple-mock-clients';
@@ -0,0 +1 @@
1
+ export default function getMockProfileClient(BaseProfileClient: any, modifyResponse: any): any;
@@ -0,0 +1,7 @@
1
+ import { Team } from '../types';
2
+ export default function getMockTeamClient(data: {
3
+ team: Team;
4
+ timeout: number;
5
+ error: any;
6
+ errorRate: number;
7
+ }): any;