@atlaskit/profilecard 19.2.2 → 19.3.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 (134) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client/package.json +2 -2
  3. package/dist/cjs/client/TeamCentralCardClient.js +34 -38
  4. package/dist/cjs/client/UserProfileCardClient.js +17 -19
  5. package/dist/cjs/client/getTeamFromAGG.js +12 -14
  6. package/dist/cjs/components/Team/lazyTeamProfileCard.js +2 -1
  7. package/dist/cjs/components/User/lazyProfileCard.js +2 -1
  8. package/dist/cjs/i18n/cs.js +32 -30
  9. package/dist/cjs/i18n/da.js +32 -30
  10. package/dist/cjs/i18n/de.js +32 -30
  11. package/dist/cjs/i18n/en.js +32 -30
  12. package/dist/cjs/i18n/en_GB.js +32 -30
  13. package/dist/cjs/i18n/es.js +32 -30
  14. package/dist/cjs/i18n/fi.js +32 -30
  15. package/dist/cjs/i18n/fr.js +32 -30
  16. package/dist/cjs/i18n/hu.js +32 -30
  17. package/dist/cjs/i18n/it.js +32 -30
  18. package/dist/cjs/i18n/ja.js +32 -30
  19. package/dist/cjs/i18n/ko.js +32 -30
  20. package/dist/cjs/i18n/nb.js +32 -30
  21. package/dist/cjs/i18n/nl.js +32 -30
  22. package/dist/cjs/i18n/pl.js +32 -30
  23. package/dist/cjs/i18n/pt_BR.js +32 -30
  24. package/dist/cjs/i18n/ru.js +32 -30
  25. package/dist/cjs/i18n/sv.js +32 -30
  26. package/dist/cjs/i18n/th.js +32 -30
  27. package/dist/cjs/i18n/tr.js +32 -30
  28. package/dist/cjs/i18n/uk.js +32 -30
  29. package/dist/cjs/i18n/vi.js +32 -30
  30. package/dist/cjs/i18n/zh.js +32 -30
  31. package/dist/cjs/i18n/zh_TW.js +32 -30
  32. package/dist/cjs/util/analytics.js +1 -1
  33. package/dist/cjs/version.json +1 -1
  34. package/dist/es2019/i18n/cs.js +32 -30
  35. package/dist/es2019/i18n/da.js +32 -30
  36. package/dist/es2019/i18n/de.js +32 -30
  37. package/dist/es2019/i18n/en.js +32 -30
  38. package/dist/es2019/i18n/en_GB.js +32 -30
  39. package/dist/es2019/i18n/es.js +32 -30
  40. package/dist/es2019/i18n/fi.js +32 -30
  41. package/dist/es2019/i18n/fr.js +32 -30
  42. package/dist/es2019/i18n/hu.js +32 -30
  43. package/dist/es2019/i18n/it.js +32 -30
  44. package/dist/es2019/i18n/ja.js +32 -30
  45. package/dist/es2019/i18n/ko.js +32 -30
  46. package/dist/es2019/i18n/nb.js +32 -30
  47. package/dist/es2019/i18n/nl.js +32 -30
  48. package/dist/es2019/i18n/pl.js +32 -30
  49. package/dist/es2019/i18n/pt_BR.js +32 -30
  50. package/dist/es2019/i18n/ru.js +32 -30
  51. package/dist/es2019/i18n/sv.js +32 -30
  52. package/dist/es2019/i18n/th.js +32 -30
  53. package/dist/es2019/i18n/tr.js +32 -30
  54. package/dist/es2019/i18n/uk.js +32 -30
  55. package/dist/es2019/i18n/vi.js +32 -30
  56. package/dist/es2019/i18n/zh.js +32 -30
  57. package/dist/es2019/i18n/zh_TW.js +32 -30
  58. package/dist/es2019/util/analytics.js +1 -1
  59. package/dist/es2019/version.json +1 -1
  60. package/dist/esm/client/TeamCentralCardClient.js +34 -38
  61. package/dist/esm/client/UserProfileCardClient.js +17 -19
  62. package/dist/esm/client/getTeamFromAGG.js +12 -14
  63. package/dist/esm/i18n/cs.js +32 -30
  64. package/dist/esm/i18n/da.js +32 -30
  65. package/dist/esm/i18n/de.js +32 -30
  66. package/dist/esm/i18n/en.js +32 -30
  67. package/dist/esm/i18n/en_GB.js +32 -30
  68. package/dist/esm/i18n/es.js +32 -30
  69. package/dist/esm/i18n/fi.js +32 -30
  70. package/dist/esm/i18n/fr.js +32 -30
  71. package/dist/esm/i18n/hu.js +32 -30
  72. package/dist/esm/i18n/it.js +32 -30
  73. package/dist/esm/i18n/ja.js +32 -30
  74. package/dist/esm/i18n/ko.js +32 -30
  75. package/dist/esm/i18n/nb.js +32 -30
  76. package/dist/esm/i18n/nl.js +32 -30
  77. package/dist/esm/i18n/pl.js +32 -30
  78. package/dist/esm/i18n/pt_BR.js +32 -30
  79. package/dist/esm/i18n/ru.js +32 -30
  80. package/dist/esm/i18n/sv.js +32 -30
  81. package/dist/esm/i18n/th.js +32 -30
  82. package/dist/esm/i18n/tr.js +32 -30
  83. package/dist/esm/i18n/uk.js +32 -30
  84. package/dist/esm/i18n/vi.js +32 -30
  85. package/dist/esm/i18n/zh.js +32 -30
  86. package/dist/esm/i18n/zh_TW.js +32 -30
  87. package/dist/esm/util/analytics.js +1 -1
  88. package/dist/esm/version.json +1 -1
  89. package/dist/types/client/TeamCentralCardClient.d.ts +2 -2
  90. package/dist/types/client/errorUtils.d.ts +1 -1
  91. package/dist/types/client/graphqlUtils.d.ts +1 -1
  92. package/dist/types/components/Icon/IconLabel.d.ts +1 -1
  93. package/dist/types/components/User/OverflowProfileCardButtons.d.ts +1 -1
  94. package/dist/types/components/User/ReportingLinesDetails.d.ts +1 -1
  95. package/dist/types/i18n/cs.d.ts +34 -32
  96. package/dist/types/i18n/da.d.ts +34 -32
  97. package/dist/types/i18n/de.d.ts +34 -32
  98. package/dist/types/i18n/en.d.ts +34 -32
  99. package/dist/types/i18n/en_GB.d.ts +34 -32
  100. package/dist/types/i18n/en_ZZ.d.ts +6 -6
  101. package/dist/types/i18n/es.d.ts +34 -32
  102. package/dist/types/i18n/et.d.ts +6 -6
  103. package/dist/types/i18n/fi.d.ts +34 -32
  104. package/dist/types/i18n/fr.d.ts +34 -32
  105. package/dist/types/i18n/hu.d.ts +34 -32
  106. package/dist/types/i18n/is.d.ts +6 -6
  107. package/dist/types/i18n/it.d.ts +34 -32
  108. package/dist/types/i18n/ja.d.ts +34 -32
  109. package/dist/types/i18n/ko.d.ts +34 -32
  110. package/dist/types/i18n/languages.d.ts +6 -6
  111. package/dist/types/i18n/nb.d.ts +34 -32
  112. package/dist/types/i18n/nl.d.ts +34 -32
  113. package/dist/types/i18n/pl.d.ts +34 -32
  114. package/dist/types/i18n/pt_BR.d.ts +34 -32
  115. package/dist/types/i18n/pt_PT.d.ts +6 -6
  116. package/dist/types/i18n/ro.d.ts +6 -6
  117. package/dist/types/i18n/ru.d.ts +34 -32
  118. package/dist/types/i18n/sk.d.ts +6 -6
  119. package/dist/types/i18n/sv.d.ts +34 -32
  120. package/dist/types/i18n/th.d.ts +34 -32
  121. package/dist/types/i18n/tr.d.ts +34 -32
  122. package/dist/types/i18n/uk.d.ts +34 -32
  123. package/dist/types/i18n/vi.d.ts +34 -32
  124. package/dist/types/i18n/zh.d.ts +34 -32
  125. package/dist/types/i18n/zh_TW.d.ts +34 -32
  126. package/dist/types/types.d.ts +10 -10
  127. package/dist/types/util/analytics.d.ts +14 -14
  128. package/dist/types/util/click.d.ts +1 -1
  129. package/messages/package.json +2 -2
  130. package/mocks/package.json +2 -2
  131. package/package.json +29 -21
  132. package/team/package.json +2 -2
  133. package/types/package.json +2 -2
  134. package/user/package.json +2 -2
@@ -7,34 +7,36 @@
7
7
  */
8
8
  //Chinese (Simplified)
9
9
  export default {
10
- "pt.profile-card.closed.account": "已删除的帐户",
11
- "pt.profile-card.closed.account.has.date.a.few.months": "他们的帐户已被删除数月。",
12
- "pt.profile-card.closed.account.has.date.last.month": "他们的帐户已在上月删除。",
13
- "pt.profile-card.closed.account.has.date.more.than.a.year": "他们的帐户已被删除超过一年。",
14
- "pt.profile-card.closed.account.has.date.several.months": "他们的帐户已被删除数月。",
15
- "pt.profile-card.closed.account.has.date.this.month": "他的帐户已在本月删除。",
16
- "pt.profile-card.closed.account.has.date.this.week": "他们的帐户本周已被删除。",
17
- "pt.profile-card.closed.account.no.date": "他们的帐户已被删除。",
18
- "pt.profile-card.disabled.account.default.name": "前用户",
19
- "pt.profile-card.general.msg.disabled.user": "您无法再与此人合作。",
20
- "pt.profile-card.give-kudos": "给予称赞",
21
- "pt.profile-card.inactive.account": "帐户已停用",
22
- "pt.profile-card.inactive.account.has.date.a.few.months": "他们的帐户已被停用数月。",
23
- "pt.profile-card.inactive.account.has.date.last.month": "他们的帐户上月已被停用。",
24
- "pt.profile-card.inactive.account.has.date.more.than.a.year": "他们的帐户已被停用超过一年。",
25
- "pt.profile-card.inactive.account.has.date.several.months": "他们的帐户已被停用数月。",
26
- "pt.profile-card.inactive.account.has.date.this.month": "他们的帐户本月已被停用。",
27
- "pt.profile-card.inactive.account.has.date.this.week": "他们的帐户本周已被停用。",
28
- "pt.profile-card.inactive.account.no.date": "他们的帐户已被停用。",
29
- "pt.profile-card.more-icon-label": "更多",
30
- "pt.team-profile-card.directReports.heading": "直接下属",
31
- "pt.team-profile-card.error.refresh-button": "请重试",
32
- "pt.team-profile-card.error.suggestion": "请稍等,然后重试。",
33
- "pt.team-profile-card.error.title": "检索此团队信息时遇到问题",
34
- "pt.team-profile-card.manager.heading": "经理",
35
- "pt.team-profile-card.team.action.view-profile": "查看个人资料",
36
- "pt.team-profile-card.team.member.count": "{count, plural, other {团队 • {count} 名成员}}",
37
- "pt.team-profile-card.team.member.count-including-you": "{count, plural, other {团队 • {count} 名成员,包括您自己}}",
38
- "pt.team-profile-card.team.member.many": "团队 • 50 多名成员",
39
- "pt.team-profile-card.team.member.many-including-you": "团队 • 50 多名成员,包括您自己"
10
+ 'pt.profile-card.closed.account': '已删除的帐户',
11
+ 'pt.profile-card.closed.account.has.date.a.few.months': '他们的帐户已被删除数月。',
12
+ 'pt.profile-card.closed.account.has.date.last.month': '他们的帐户已在上月删除。',
13
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': '他们的帐户已被删除超过一年。',
14
+ 'pt.profile-card.closed.account.has.date.several.months': '他们的帐户已被删除数月。',
15
+ 'pt.profile-card.closed.account.has.date.this.month': '他的帐户已在本月删除。',
16
+ 'pt.profile-card.closed.account.has.date.this.week': '他们的帐户本周已被删除。',
17
+ 'pt.profile-card.closed.account.no.date': '他们的帐户已被删除。',
18
+ 'pt.profile-card.disabled.account.default.name': '前用户',
19
+ 'pt.profile-card.general.msg.disabled.user': '您无法再与此人合作。',
20
+ 'pt.profile-card.give-kudos': '给予称赞',
21
+ 'pt.profile-card.inactive.account': '帐户已停用',
22
+ 'pt.profile-card.inactive.account.has.date.a.few.months': '他们的帐户已被停用数月。',
23
+ 'pt.profile-card.inactive.account.has.date.last.month': '他们的帐户上月已被停用。',
24
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': '他们的帐户已被停用超过一年。',
25
+ 'pt.profile-card.inactive.account.has.date.several.months': '他们的帐户已被停用数月。',
26
+ 'pt.profile-card.inactive.account.has.date.this.month': '他们的帐户本月已被停用。',
27
+ 'pt.profile-card.inactive.account.has.date.this.week': '他们的帐户本周已被停用。',
28
+ 'pt.profile-card.inactive.account.no.date': '他们的帐户已被停用。',
29
+ 'pt.profile-card.more-icon-label': '更多',
30
+ 'pt.team-profile-card.directReports.heading': '直接下属',
31
+ 'pt.team-profile-card.error.refresh-button': '请重试',
32
+ 'pt.team-profile-card.error.suggestion': '请稍等,然后重试。',
33
+ 'pt.team-profile-card.error.title': '检索此团队信息时遇到问题',
34
+ 'pt.team-profile-card.forbidden-error-state.description': '您无权查看此团队。',
35
+ 'pt.team-profile-card.forbidden-error-state.title': '无法向您显示此团队',
36
+ 'pt.team-profile-card.manager.heading': '经理',
37
+ 'pt.team-profile-card.team.action.view-profile': '查看个人资料',
38
+ 'pt.team-profile-card.team.member.count': '{count, plural, other {团队 • {count} 名成员}}',
39
+ 'pt.team-profile-card.team.member.count-including-you': '{count, plural, other {团队 • {count} 名成员,包括您自己}}',
40
+ 'pt.team-profile-card.team.member.many': '团队 • 50 多名成员',
41
+ 'pt.team-profile-card.team.member.many-including-you': '团队 • 50 多名成员,包括您自己'
40
42
  };
@@ -7,34 +7,36 @@
7
7
  */
8
8
  //Chinese (Traditional)
9
9
  export default {
10
- "pt.profile-card.closed.account": "帳戶已刪除",
11
- "pt.profile-card.closed.account.has.date.a.few.months": "其帳戶已刪除幾個月了。",
12
- "pt.profile-card.closed.account.has.date.last.month": "其帳戶在上個月已刪除。",
13
- "pt.profile-card.closed.account.has.date.more.than.a.year": "其帳戶已刪除超過一年。",
14
- "pt.profile-card.closed.account.has.date.several.months": "其帳戶已刪除好幾個月。",
15
- "pt.profile-card.closed.account.has.date.this.month": "其帳戶在本月已刪除。",
16
- "pt.profile-card.closed.account.has.date.this.week": "其帳戶在本週已刪除。",
17
- "pt.profile-card.closed.account.no.date": "其帳戶已刪除。",
18
- "pt.profile-card.disabled.account.default.name": "舊使用者",
19
- "pt.profile-card.general.msg.disabled.user": "您無法再與此人員合作。",
20
- "pt.profile-card.give-kudos": "給予讚美",
21
- "pt.profile-card.inactive.account": "帳戶已停用",
22
- "pt.profile-card.inactive.account.has.date.a.few.months": "其帳戶已停用幾個月了。",
23
- "pt.profile-card.inactive.account.has.date.last.month": "其帳戶在上個月已停用。",
24
- "pt.profile-card.inactive.account.has.date.more.than.a.year": "其帳戶已停用超過一年。",
25
- "pt.profile-card.inactive.account.has.date.several.months": "其帳戶已停用好幾個月。",
26
- "pt.profile-card.inactive.account.has.date.this.month": "其帳戶在這個月已停用。",
27
- "pt.profile-card.inactive.account.has.date.this.week": "其帳戶在本週已停用。",
28
- "pt.profile-card.inactive.account.no.date": "其帳戶已停用。",
29
- "pt.profile-card.more-icon-label": "更多",
30
- "pt.team-profile-card.directReports.heading": "直接報告",
31
- "pt.team-profile-card.error.refresh-button": "再試一次",
32
- "pt.team-profile-card.error.suggestion": "請稍候,然後再試一次。",
33
- "pt.team-profile-card.error.title": "擷取此團隊資訊時發生問題",
34
- "pt.team-profile-card.manager.heading": "經理",
35
- "pt.team-profile-card.team.action.view-profile": "檢視設定檔",
36
- "pt.team-profile-card.team.member.count": "{count, plural, other {團隊 • {count} 名成員}}",
37
- "pt.team-profile-card.team.member.count-including-you": "{count, plural, other {團隊 • {count} 名成員,包含您}}",
38
- "pt.team-profile-card.team.member.many": "團隊 • 50 名以上的成員",
39
- "pt.team-profile-card.team.member.many-including-you": "團隊 • 50 名以上的成員,包含您"
10
+ 'pt.profile-card.closed.account': '帳戶已刪除',
11
+ 'pt.profile-card.closed.account.has.date.a.few.months': '其帳戶已刪除幾個月了。',
12
+ 'pt.profile-card.closed.account.has.date.last.month': '其帳戶在上個月已刪除。',
13
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': '其帳戶已刪除超過一年。',
14
+ 'pt.profile-card.closed.account.has.date.several.months': '其帳戶已刪除好幾個月。',
15
+ 'pt.profile-card.closed.account.has.date.this.month': '其帳戶在本月已刪除。',
16
+ 'pt.profile-card.closed.account.has.date.this.week': '其帳戶在本週已刪除。',
17
+ 'pt.profile-card.closed.account.no.date': '其帳戶已刪除。',
18
+ 'pt.profile-card.disabled.account.default.name': '舊使用者',
19
+ 'pt.profile-card.general.msg.disabled.user': '您無法再與此人員合作。',
20
+ 'pt.profile-card.give-kudos': '給予讚美',
21
+ 'pt.profile-card.inactive.account': '帳戶已停用',
22
+ 'pt.profile-card.inactive.account.has.date.a.few.months': '其帳戶已停用幾個月了。',
23
+ 'pt.profile-card.inactive.account.has.date.last.month': '其帳戶在上個月已停用。',
24
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': '其帳戶已停用超過一年。',
25
+ 'pt.profile-card.inactive.account.has.date.several.months': '其帳戶已停用好幾個月。',
26
+ 'pt.profile-card.inactive.account.has.date.this.month': '其帳戶在這個月已停用。',
27
+ 'pt.profile-card.inactive.account.has.date.this.week': '其帳戶在本週已停用。',
28
+ 'pt.profile-card.inactive.account.no.date': '其帳戶已停用。',
29
+ 'pt.profile-card.more-icon-label': '更多',
30
+ 'pt.team-profile-card.directReports.heading': '直接報告',
31
+ 'pt.team-profile-card.error.refresh-button': '再試一次',
32
+ 'pt.team-profile-card.error.suggestion': '請稍候,然後再試一次。',
33
+ 'pt.team-profile-card.error.title': '擷取此團隊資訊時發生問題',
34
+ 'pt.team-profile-card.forbidden-error-state.description': '您沒有檢視此團隊的存取權。',
35
+ 'pt.team-profile-card.forbidden-error-state.title': '我們無法向您顯示此團隊',
36
+ 'pt.team-profile-card.manager.heading': '經理',
37
+ 'pt.team-profile-card.team.action.view-profile': '檢視設定檔',
38
+ 'pt.team-profile-card.team.member.count': '{count, plural, other {團隊 • {count} 名成員}}',
39
+ 'pt.team-profile-card.team.member.count-including-you': '{count, plural, other {團隊 • {count} 名成員,包含您}}',
40
+ 'pt.team-profile-card.team.member.many': '團隊 • 50 名以上的成員',
41
+ 'pt.team-profile-card.team.member.many-including-you': '團隊 • 50 名以上的成員,包含您'
40
42
  };
@@ -31,7 +31,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
31
31
  actionSubjectId,
32
32
  attributes: {
33
33
  packageName: "@atlaskit/profilecard",
34
- packageVersion: "19.2.2",
34
+ packageVersion: "19.3.1",
35
35
  ...attributes,
36
36
  firedAt: Math.round(getPageTime())
37
37
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "19.2.2"
3
+ "version": "19.3.1"
4
4
  }
@@ -73,25 +73,23 @@ var TeamCentralCardClient = /*#__PURE__*/function (_CachingClient) {
73
73
  var _makeFeatureFlagCheckRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(featureKey, context) {
74
74
  var query, response;
75
75
  return _regeneratorRuntime.wrap(function _callee$(_context) {
76
- while (1) {
77
- switch (_context.prev = _context.next) {
78
- case 0:
79
- if (this.options.teamCentralUrl) {
80
- _context.next = 2;
81
- break;
82
- }
83
- throw new Error('options.teamCentralUrl is a required parameter for retrieving Team Central data');
84
- case 2:
85
- query = buildCheckFeatureFlagQuery(featureKey, context);
86
- _context.next = 5;
87
- return graphqlQuery("".concat(this.options.teamCentralUrl, "?operationName=isFeatureKeyEnabled"), query);
88
- case 5:
89
- response = _context.sent;
90
- return _context.abrupt("return", response.isFeatureEnabled.enabled);
91
- case 7:
92
- case "end":
93
- return _context.stop();
94
- }
76
+ while (1) switch (_context.prev = _context.next) {
77
+ case 0:
78
+ if (this.options.teamCentralUrl) {
79
+ _context.next = 2;
80
+ break;
81
+ }
82
+ throw new Error('options.teamCentralUrl is a required parameter for retrieving Team Central data');
83
+ case 2:
84
+ query = buildCheckFeatureFlagQuery(featureKey, context);
85
+ _context.next = 5;
86
+ return graphqlQuery("".concat(this.options.teamCentralUrl, "?operationName=isFeatureKeyEnabled"), query);
87
+ case 5:
88
+ response = _context.sent;
89
+ return _context.abrupt("return", response.isFeatureEnabled.enabled);
90
+ case 7:
91
+ case "end":
92
+ return _context.stop();
95
93
  }
96
94
  }, _callee, this);
97
95
  }));
@@ -106,25 +104,23 @@ var TeamCentralCardClient = /*#__PURE__*/function (_CachingClient) {
106
104
  var _makeRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(userId) {
107
105
  var query, response;
108
106
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
109
- while (1) {
110
- switch (_context2.prev = _context2.next) {
111
- case 0:
112
- if (this.options.teamCentralUrl) {
113
- _context2.next = 2;
114
- break;
115
- }
116
- throw new Error('options.teamCentralUrl is a required parameter for retrieving Team Central data');
117
- case 2:
118
- query = buildReportingLinesQuery(userId);
119
- _context2.next = 5;
120
- return graphqlQuery("".concat(this.options.teamCentralUrl, "?operationName=ReportingLines"), query);
121
- case 5:
122
- response = _context2.sent;
123
- return _context2.abrupt("return", response.reportingLines);
124
- case 7:
125
- case "end":
126
- return _context2.stop();
127
- }
107
+ while (1) switch (_context2.prev = _context2.next) {
108
+ case 0:
109
+ if (this.options.teamCentralUrl) {
110
+ _context2.next = 2;
111
+ break;
112
+ }
113
+ throw new Error('options.teamCentralUrl is a required parameter for retrieving Team Central data');
114
+ case 2:
115
+ query = buildReportingLinesQuery(userId);
116
+ _context2.next = 5;
117
+ return graphqlQuery("".concat(this.options.teamCentralUrl, "?operationName=ReportingLines"), query);
118
+ case 5:
119
+ response = _context2.sent;
120
+ return _context2.abrupt("return", response.reportingLines);
121
+ case 7:
122
+ case "end":
123
+ return _context2.stop();
128
124
  }
129
125
  }, _callee2, this);
130
126
  }));
@@ -76,25 +76,23 @@ var UserProfileCardClient = /*#__PURE__*/function (_CachingClient) {
76
76
  var _makeRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(cloudId, userId) {
77
77
  var query, response;
78
78
  return _regeneratorRuntime.wrap(function _callee$(_context) {
79
- while (1) {
80
- switch (_context.prev = _context.next) {
81
- case 0:
82
- if (this.options.url) {
83
- _context.next = 2;
84
- break;
85
- }
86
- throw new Error('options.url is a required parameter');
87
- case 2:
88
- query = buildUserQuery(cloudId, userId);
89
- _context.next = 5;
90
- return graphqlQuery(this.options.url, query);
91
- case 5:
92
- response = _context.sent;
93
- return _context.abrupt("return", modifyResponse(response));
94
- case 7:
95
- case "end":
96
- return _context.stop();
97
- }
79
+ while (1) switch (_context.prev = _context.next) {
80
+ case 0:
81
+ if (this.options.url) {
82
+ _context.next = 2;
83
+ break;
84
+ }
85
+ throw new Error('options.url is a required parameter');
86
+ case 2:
87
+ query = buildUserQuery(cloudId, userId);
88
+ _context.next = 5;
89
+ return graphqlQuery(this.options.url, query);
90
+ case 5:
91
+ response = _context.sent;
92
+ return _context.abrupt("return", modifyResponse(response));
93
+ case 7:
94
+ case "end":
95
+ return _context.stop();
98
96
  }
99
97
  }, _callee, this);
100
98
  }));
@@ -48,20 +48,18 @@ function _getTeamFromAGG() {
48
48
  _getTeamFromAGG = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(url, teamId) {
49
49
  var query, _yield$graphqlQuery, Team;
50
50
  return _regeneratorRuntime.wrap(function _callee$(_context) {
51
- while (1) {
52
- switch (_context.prev = _context.next) {
53
- case 0:
54
- query = buildGatewayQuery(teamId);
55
- _context.next = 3;
56
- return graphqlQuery(url, query, addExperimentalHeaders);
57
- case 3:
58
- _yield$graphqlQuery = _context.sent;
59
- Team = _yield$graphqlQuery.Team;
60
- return _context.abrupt("return", convertTeam(Team));
61
- case 6:
62
- case "end":
63
- return _context.stop();
64
- }
51
+ while (1) switch (_context.prev = _context.next) {
52
+ case 0:
53
+ query = buildGatewayQuery(teamId);
54
+ _context.next = 3;
55
+ return graphqlQuery(url, query, addExperimentalHeaders);
56
+ case 3:
57
+ _yield$graphqlQuery = _context.sent;
58
+ Team = _yield$graphqlQuery.Team;
59
+ return _context.abrupt("return", convertTeam(Team));
60
+ case 6:
61
+ case "end":
62
+ return _context.stop();
65
63
  }
66
64
  }, _callee);
67
65
  }));
@@ -7,34 +7,36 @@
7
7
  */
8
8
  //Czech
9
9
  export default {
10
- "pt.profile-card.closed.account": "Smazaný účet",
11
- "pt.profile-card.closed.account.has.date.a.few.months": "Účet uživatele je smazaný již několik měsíců.",
12
- "pt.profile-card.closed.account.has.date.last.month": "Účet uživatele byl minulý měsíc smazán.",
13
- "pt.profile-card.closed.account.has.date.more.than.a.year": "Účet uživatele je smazaný více než rok.",
14
- "pt.profile-card.closed.account.has.date.several.months": "Účet uživatele je smazaný již několik měsíců.",
15
- "pt.profile-card.closed.account.has.date.this.month": "Účet uživatele byl tento měsíc smazán.",
16
- "pt.profile-card.closed.account.has.date.this.week": "Účet uživatele byl smazán tento týden.",
17
- "pt.profile-card.closed.account.no.date": "Účet uživatele byl smazán.",
18
- "pt.profile-card.disabled.account.default.name": "Bývalý uživatel",
19
- "pt.profile-card.general.msg.disabled.user": "S touto osobou již nemůžete spolupracovat.",
20
- "pt.profile-card.give-kudos": "Pogratulovat",
21
- "pt.profile-card.inactive.account": "Deaktivovaný účet",
22
- "pt.profile-card.inactive.account.has.date.a.few.months": "Účet uživatele je deaktivovaný již několik měsíců.",
23
- "pt.profile-card.inactive.account.has.date.last.month": "Účet uživatele byl deaktivován minulý měsíc.",
24
- "pt.profile-card.inactive.account.has.date.more.than.a.year": "Účet uživatele je deaktivovaný více než rok.",
25
- "pt.profile-card.inactive.account.has.date.several.months": "Účet uživatele je deaktivovaný již několik měsíců.",
26
- "pt.profile-card.inactive.account.has.date.this.month": "Účet uživatele byl tento měsíc deaktivován.",
27
- "pt.profile-card.inactive.account.has.date.this.week": "Účet uživatele byl deaktivován tento týden.",
28
- "pt.profile-card.inactive.account.no.date": "Účet uživatele byl deaktivován.",
29
- "pt.profile-card.more-icon-label": "Více",
30
- "pt.team-profile-card.directReports.heading": "Přímí nadřízení",
31
- "pt.team-profile-card.error.refresh-button": "Zkusit znovu",
32
- "pt.team-profile-card.error.suggestion": "Chvíli počkejte a pak to zkuste znovu.",
33
- "pt.team-profile-card.error.title": "Při pokusu o načtení informací o tomto týmu se vyskytly problémy",
34
- "pt.team-profile-card.manager.heading": "Manažer",
35
- "pt.team-profile-card.team.action.view-profile": "Zobrazit profil",
36
- "pt.team-profile-card.team.member.count": "{count, plural, one {Tým • {count} člen} few {Tým • {count} členové} many {Tým • {count} člena} other {Tým • {count} členů}}",
37
- "pt.team-profile-card.team.member.count-including-you": "{count, plural, one {Tým • {count} člen včetně vás} few {Tým • {count} členové včetně vás} many {Tým • {count} člena včetně vás} other {Tým • {count} členů včetně vás}}",
38
- "pt.team-profile-card.team.member.many": "Tým • 50 a více členů",
39
- "pt.team-profile-card.team.member.many-including-you": "Tým • 50 a více členů včetně vás"
10
+ 'pt.profile-card.closed.account': 'Smazaný účet',
11
+ 'pt.profile-card.closed.account.has.date.a.few.months': 'Účet uživatele je smazaný již několik měsíců.',
12
+ 'pt.profile-card.closed.account.has.date.last.month': 'Účet uživatele byl minulý měsíc smazán.',
13
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': 'Účet uživatele je smazaný více než rok.',
14
+ 'pt.profile-card.closed.account.has.date.several.months': 'Účet uživatele je smazaný již několik měsíců.',
15
+ 'pt.profile-card.closed.account.has.date.this.month': 'Účet uživatele byl tento měsíc smazán.',
16
+ 'pt.profile-card.closed.account.has.date.this.week': 'Účet uživatele byl smazán tento týden.',
17
+ 'pt.profile-card.closed.account.no.date': 'Účet uživatele byl smazán.',
18
+ 'pt.profile-card.disabled.account.default.name': 'Bývalý uživatel',
19
+ 'pt.profile-card.general.msg.disabled.user': 'S touto osobou již nemůžete spolupracovat.',
20
+ 'pt.profile-card.give-kudos': 'Pogratulovat',
21
+ 'pt.profile-card.inactive.account': 'Deaktivovaný účet',
22
+ 'pt.profile-card.inactive.account.has.date.a.few.months': 'Účet uživatele je deaktivovaný již několik měsíců.',
23
+ 'pt.profile-card.inactive.account.has.date.last.month': 'Účet uživatele byl deaktivován minulý měsíc.',
24
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': 'Účet uživatele je deaktivovaný více než rok.',
25
+ 'pt.profile-card.inactive.account.has.date.several.months': 'Účet uživatele je deaktivovaný již několik měsíců.',
26
+ 'pt.profile-card.inactive.account.has.date.this.month': 'Účet uživatele byl tento měsíc deaktivován.',
27
+ 'pt.profile-card.inactive.account.has.date.this.week': 'Účet uživatele byl deaktivován tento týden.',
28
+ 'pt.profile-card.inactive.account.no.date': 'Účet uživatele byl deaktivován.',
29
+ 'pt.profile-card.more-icon-label': 'Více',
30
+ 'pt.team-profile-card.directReports.heading': 'Přímí nadřízení',
31
+ 'pt.team-profile-card.error.refresh-button': 'Zkusit znovu',
32
+ 'pt.team-profile-card.error.suggestion': 'Chvíli počkejte a pak to zkuste znovu.',
33
+ 'pt.team-profile-card.error.title': 'Při pokusu o načtení informací o tomto týmu se vyskytly problémy',
34
+ 'pt.team-profile-card.forbidden-error-state.description': 'K zobrazení tohoto týmu nemáte přístup.',
35
+ 'pt.team-profile-card.forbidden-error-state.title': 'Tento tým vám nemůžeme zobrazit',
36
+ 'pt.team-profile-card.manager.heading': 'Manažer',
37
+ 'pt.team-profile-card.team.action.view-profile': 'Zobrazit profil',
38
+ 'pt.team-profile-card.team.member.count': '{count, plural, one {Tým • {count} člen} few {Tým • {count} členové} many {Tým • {count} člena} other {Tým • {count} členů}}',
39
+ 'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Tým • {count} člen včetně vás} few {Tým • {count} členové včetně vás} many {Tým • {count} člena včetně vás} other {Tým • {count} členů včetně vás}}',
40
+ 'pt.team-profile-card.team.member.many': 'Tým • 50 a více členů',
41
+ 'pt.team-profile-card.team.member.many-including-you': 'Tým • 50 a více členů včetně vás'
40
42
  };
@@ -7,34 +7,36 @@
7
7
  */
8
8
  //Danish (Denmark)
9
9
  export default {
10
- "pt.profile-card.closed.account": "Konto slettet",
11
- "pt.profile-card.closed.account.has.date.a.few.months": "Personens konto har været slettet i nogle måneder.",
12
- "pt.profile-card.closed.account.has.date.last.month": "Personens konto blev slettet i sidste måned.",
13
- "pt.profile-card.closed.account.has.date.more.than.a.year": "Personens konto har været slettet i over et år.",
14
- "pt.profile-card.closed.account.has.date.several.months": "Personens konto har været slettet i adskillige måneder.",
15
- "pt.profile-card.closed.account.has.date.this.month": "Personens konto blev slettet i denne måned.",
16
- "pt.profile-card.closed.account.has.date.this.week": "Personens konto blev slettet i denne uge.",
17
- "pt.profile-card.closed.account.no.date": "Personens konto er blevet slettet.",
18
- "pt.profile-card.disabled.account.default.name": "Forhenværende bruger",
19
- "pt.profile-card.general.msg.disabled.user": "Du kan ikke længere samarbejde med denne person.",
20
- "pt.profile-card.give-kudos": "Giv ros",
21
- "pt.profile-card.inactive.account": "Konto deaktiveret",
22
- "pt.profile-card.inactive.account.has.date.a.few.months": "Personens konto har været deaktiveret i nogle måneder.",
23
- "pt.profile-card.inactive.account.has.date.last.month": "Personens konto blev deaktiveret i sidste måned.",
24
- "pt.profile-card.inactive.account.has.date.more.than.a.year": "Personens konto har været deaktiveret i over et år.",
25
- "pt.profile-card.inactive.account.has.date.several.months": "Personens konto har været deaktiveret i adskillige måneder.",
26
- "pt.profile-card.inactive.account.has.date.this.month": "Personens konto blev deaktiveret i denne måned.",
27
- "pt.profile-card.inactive.account.has.date.this.week": "Personens konto blev deaktiveret i denne uge.",
28
- "pt.profile-card.inactive.account.no.date": "Personens konto er blevet deaktiveret.",
29
- "pt.profile-card.more-icon-label": "Mere",
30
- "pt.team-profile-card.directReports.heading": "Direkte underordnede",
31
- "pt.team-profile-card.error.refresh-button": "Prøv igen",
32
- "pt.team-profile-card.error.suggestion": "Vent et øjeblik, og prøv derefter igen.",
33
- "pt.team-profile-card.error.title": "Vi har problemer med at hente teamets oplysninger",
34
- "pt.team-profile-card.manager.heading": "Nærmeste leder",
35
- "pt.team-profile-card.team.action.view-profile": "Se profil",
36
- "pt.team-profile-card.team.member.count": "{count, plural, one {Team • {count} medlem} other {Team • {count} medlemmer}}",
37
- "pt.team-profile-card.team.member.count-including-you": "{count, plural, one {Team • {count} medlem, inklusive dig} other {Team • {count} medlemmer, inklusive dig}}",
38
- "pt.team-profile-card.team.member.many": "Team • Over 50 medlemmer",
39
- "pt.team-profile-card.team.member.many-including-you": "Team • Over 50 medlemmer, inklusive dig"
10
+ 'pt.profile-card.closed.account': 'Konto slettet',
11
+ 'pt.profile-card.closed.account.has.date.a.few.months': 'Personens konto har været slettet i nogle måneder.',
12
+ 'pt.profile-card.closed.account.has.date.last.month': 'Personens konto blev slettet i sidste måned.',
13
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': 'Personens konto har været slettet i over et år.',
14
+ 'pt.profile-card.closed.account.has.date.several.months': 'Personens konto har været slettet i adskillige måneder.',
15
+ 'pt.profile-card.closed.account.has.date.this.month': 'Personens konto blev slettet i denne måned.',
16
+ 'pt.profile-card.closed.account.has.date.this.week': 'Personens konto blev slettet i denne uge.',
17
+ 'pt.profile-card.closed.account.no.date': 'Personens konto er blevet slettet.',
18
+ 'pt.profile-card.disabled.account.default.name': 'Forhenværende bruger',
19
+ 'pt.profile-card.general.msg.disabled.user': 'Du kan ikke længere samarbejde med denne person.',
20
+ 'pt.profile-card.give-kudos': 'Giv ros',
21
+ 'pt.profile-card.inactive.account': 'Konto deaktiveret',
22
+ 'pt.profile-card.inactive.account.has.date.a.few.months': 'Personens konto har været deaktiveret i nogle måneder.',
23
+ 'pt.profile-card.inactive.account.has.date.last.month': 'Personens konto blev deaktiveret i sidste måned.',
24
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': 'Personens konto har været deaktiveret i over et år.',
25
+ 'pt.profile-card.inactive.account.has.date.several.months': 'Personens konto har været deaktiveret i adskillige måneder.',
26
+ 'pt.profile-card.inactive.account.has.date.this.month': 'Personens konto blev deaktiveret i denne måned.',
27
+ 'pt.profile-card.inactive.account.has.date.this.week': 'Personens konto blev deaktiveret i denne uge.',
28
+ 'pt.profile-card.inactive.account.no.date': 'Personens konto er blevet deaktiveret.',
29
+ 'pt.profile-card.more-icon-label': 'Mere',
30
+ 'pt.team-profile-card.directReports.heading': 'Direkte underordnede',
31
+ 'pt.team-profile-card.error.refresh-button': 'Prøv igen',
32
+ 'pt.team-profile-card.error.suggestion': 'Vent et øjeblik, og prøv derefter igen.',
33
+ 'pt.team-profile-card.error.title': 'Vi har problemer med at hente teamets oplysninger',
34
+ 'pt.team-profile-card.forbidden-error-state.description': 'Du har ikke adgang til at se dette team.',
35
+ 'pt.team-profile-card.forbidden-error-state.title': 'Vi kan ikke vise dig dette team',
36
+ 'pt.team-profile-card.manager.heading': 'Nærmeste leder',
37
+ 'pt.team-profile-card.team.action.view-profile': 'Se profil',
38
+ 'pt.team-profile-card.team.member.count': '{count, plural, one {Team • {count} medlem} other {Team • {count} medlemmer}}',
39
+ 'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Team • {count} medlem, inklusive dig} other {Team • {count} medlemmer, inklusive dig}}',
40
+ 'pt.team-profile-card.team.member.many': 'Team • Over 50 medlemmer',
41
+ 'pt.team-profile-card.team.member.many-including-you': 'Team • Over 50 medlemmer, inklusive dig'
40
42
  };
@@ -7,34 +7,36 @@
7
7
  */
8
8
  //German (Germany)
9
9
  export default {
10
- "pt.profile-card.closed.account": "Account gelöscht",
11
- "pt.profile-card.closed.account.has.date.a.few.months": "Das Konto dieser Person wurde vor wenigen Monaten gelöscht.",
12
- "pt.profile-card.closed.account.has.date.last.month": "Das Konto dieser Person wurde letzten Monat gelöscht.",
13
- "pt.profile-card.closed.account.has.date.more.than.a.year": "Das Konto dieser Person wurde vor mehr als einem Jahr gelöscht.",
14
- "pt.profile-card.closed.account.has.date.several.months": "Das Konto dieser Person wurde vor mehreren Monaten gelöscht.",
15
- "pt.profile-card.closed.account.has.date.this.month": "Das Konto dieser Person wurde diesen Monat gelöscht.",
16
- "pt.profile-card.closed.account.has.date.this.week": "Das Konto dieser Person wurde diese Woche gelöscht.",
17
- "pt.profile-card.closed.account.no.date": "Das Konto dieser Person wurde gelöscht.",
18
- "pt.profile-card.disabled.account.default.name": "Ehemaliger Benutzer",
19
- "pt.profile-card.general.msg.disabled.user": "Sie können mit dieser Person nicht mehr zusammenarbeiten.",
20
- "pt.profile-card.give-kudos": "Loben",
21
- "pt.profile-card.inactive.account": "Konto deaktiviert",
22
- "pt.profile-card.inactive.account.has.date.a.few.months": "Das Konto dieser Person wurde vor wenigen Monaten gelöscht.",
23
- "pt.profile-card.inactive.account.has.date.last.month": "Das Konto dieser Person wurde letzten Monat deaktiviert.",
24
- "pt.profile-card.inactive.account.has.date.more.than.a.year": "Das Konto dieser Person wurde vor mehr als einem Jahr deaktiviert.",
25
- "pt.profile-card.inactive.account.has.date.several.months": "Das Konto dieser Person wurde vor mehreren Monaten deaktiviert.",
26
- "pt.profile-card.inactive.account.has.date.this.month": "Das Konto dieser Person wurde diesen Monat deaktiviert.",
27
- "pt.profile-card.inactive.account.has.date.this.week": "Das Konto dieser Person wurde diese Woche deaktiviert.",
28
- "pt.profile-card.inactive.account.no.date": "Das Konto dieser Person wurde deaktiviert.",
29
- "pt.profile-card.more-icon-label": "Mehr",
30
- "pt.team-profile-card.directReports.heading": "Direkt unterstellt",
31
- "pt.team-profile-card.error.refresh-button": "Versuchen Sie es erneut.",
32
- "pt.team-profile-card.error.suggestion": "Bitte warten Sie einen Augenblick und versuchen Sie es dann erneut.",
33
- "pt.team-profile-card.error.title": "Beim Abrufen von Informationen für dieses Team ist ein Problem aufgetreten.",
34
- "pt.team-profile-card.manager.heading": "Manager",
35
- "pt.team-profile-card.team.action.view-profile": "Profil anzeigen",
36
- "pt.team-profile-card.team.member.count": "{count, plural, one {Team • {count} Mitglied} other {Team • {count} Mitglieder}}",
37
- "pt.team-profile-card.team.member.count-including-you": "{count, plural, one {Team • {count} Mitglied, einschließlich Ihnen} other {Team • {count} Mitglieder, einschließlich Ihnen}}",
38
- "pt.team-profile-card.team.member.many": "Team • über 50 Mitglieder",
39
- "pt.team-profile-card.team.member.many-including-you": "Team • über 50 Mitglieder, einschließlich Ihnen"
10
+ 'pt.profile-card.closed.account': 'Account gelöscht',
11
+ 'pt.profile-card.closed.account.has.date.a.few.months': 'Das Konto dieser Person wurde vor wenigen Monaten gelöscht.',
12
+ 'pt.profile-card.closed.account.has.date.last.month': 'Das Konto dieser Person wurde letzten Monat gelöscht.',
13
+ 'pt.profile-card.closed.account.has.date.more.than.a.year': 'Das Konto dieser Person wurde vor mehr als einem Jahr gelöscht.',
14
+ 'pt.profile-card.closed.account.has.date.several.months': 'Das Konto dieser Person wurde vor mehreren Monaten gelöscht.',
15
+ 'pt.profile-card.closed.account.has.date.this.month': 'Das Konto dieser Person wurde diesen Monat gelöscht.',
16
+ 'pt.profile-card.closed.account.has.date.this.week': 'Das Konto dieser Person wurde diese Woche gelöscht.',
17
+ 'pt.profile-card.closed.account.no.date': 'Das Konto dieser Person wurde gelöscht.',
18
+ 'pt.profile-card.disabled.account.default.name': 'Ehemaliger Benutzer',
19
+ 'pt.profile-card.general.msg.disabled.user': 'Sie können mit dieser Person nicht mehr zusammenarbeiten.',
20
+ 'pt.profile-card.give-kudos': 'Loben',
21
+ 'pt.profile-card.inactive.account': 'Konto deaktiviert',
22
+ 'pt.profile-card.inactive.account.has.date.a.few.months': 'Das Konto dieser Person wurde vor wenigen Monaten gelöscht.',
23
+ 'pt.profile-card.inactive.account.has.date.last.month': 'Das Konto dieser Person wurde letzten Monat deaktiviert.',
24
+ 'pt.profile-card.inactive.account.has.date.more.than.a.year': 'Das Konto dieser Person wurde vor mehr als einem Jahr deaktiviert.',
25
+ 'pt.profile-card.inactive.account.has.date.several.months': 'Das Konto dieser Person wurde vor mehreren Monaten deaktiviert.',
26
+ 'pt.profile-card.inactive.account.has.date.this.month': 'Das Konto dieser Person wurde diesen Monat deaktiviert.',
27
+ 'pt.profile-card.inactive.account.has.date.this.week': 'Das Konto dieser Person wurde diese Woche deaktiviert.',
28
+ 'pt.profile-card.inactive.account.no.date': 'Das Konto dieser Person wurde deaktiviert.',
29
+ 'pt.profile-card.more-icon-label': 'Mehr',
30
+ 'pt.team-profile-card.directReports.heading': 'Direkt unterstellt',
31
+ 'pt.team-profile-card.error.refresh-button': 'Versuchen Sie es erneut.',
32
+ 'pt.team-profile-card.error.suggestion': 'Bitte warten Sie einen Augenblick und versuchen Sie es dann erneut.',
33
+ 'pt.team-profile-card.error.title': 'Beim Abrufen von Informationen für dieses Team ist ein Problem aufgetreten.',
34
+ 'pt.team-profile-card.forbidden-error-state.description': 'Ihnen fehlt der erforderliche Zugriff, um dieses Team anzuzeigen.',
35
+ 'pt.team-profile-card.forbidden-error-state.title': 'Dieses Team kann nicht angezeigt werden',
36
+ 'pt.team-profile-card.manager.heading': 'Manager',
37
+ 'pt.team-profile-card.team.action.view-profile': 'Profil anzeigen',
38
+ 'pt.team-profile-card.team.member.count': '{count, plural, one {Team • {count} Mitglied} other {Team • {count} Mitglieder}}',
39
+ 'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Team • {count} Mitglied, einschließlich Ihnen} other {Team • {count} Mitglieder, einschließlich Ihnen}}',
40
+ 'pt.team-profile-card.team.member.many': 'Team • über 50 Mitglieder',
41
+ 'pt.team-profile-card.team.member.many-including-you': 'Team • über 50 Mitglieder, einschließlich Ihnen'
40
42
  };