@atlaskit/smart-card 23.7.2 → 23.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/constants.js +14 -2
- package/dist/cjs/extractors/common/actions/extractPreviewAction.js +3 -1
- package/dist/cjs/i18n/cs.js +6 -1
- package/dist/cjs/i18n/da.js +7 -1
- package/dist/cjs/i18n/de.js +6 -1
- package/dist/cjs/i18n/en.js +8 -1
- package/dist/cjs/i18n/en_GB.js +8 -1
- package/dist/cjs/i18n/es.js +5 -1
- package/dist/cjs/i18n/fi.js +7 -1
- package/dist/cjs/i18n/fr.js +7 -1
- package/dist/cjs/i18n/hu.js +6 -1
- package/dist/cjs/i18n/it.js +7 -1
- package/dist/cjs/i18n/ja.js +11 -5
- package/dist/cjs/i18n/ko.js +7 -1
- package/dist/cjs/i18n/nb.js +6 -1
- package/dist/cjs/i18n/nl.js +7 -1
- package/dist/cjs/i18n/pl.js +6 -1
- package/dist/cjs/i18n/pt_BR.js +7 -1
- package/dist/cjs/i18n/ru.js +7 -1
- package/dist/cjs/i18n/sv.js +7 -1
- package/dist/cjs/i18n/th.js +7 -1
- package/dist/cjs/i18n/tr.js +6 -1
- package/dist/cjs/i18n/uk.js +6 -1
- package/dist/cjs/i18n/vi.js +7 -1
- package/dist/cjs/i18n/zh.js +6 -1
- package/dist/cjs/i18n/zh_TW.js +6 -1
- package/dist/cjs/state/analytics/useSmartLinkAnalytics.js +41 -13
- package/dist/cjs/utils/analytics/analytics.js +128 -96
- package/dist/cjs/utils/analytics/index.js +12 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/BlockCard/components/flexible/footer/index.js +1 -1
- package/dist/cjs/view/BlockCard/index.js +4 -2
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleNotFoundView.js +1 -1
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleResolvedView.js +3 -3
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +17 -4
- package/dist/cjs/view/CardWithUrl/component.js +3 -1
- package/dist/cjs/view/EmbedCard/index.js +6 -2
- package/dist/cjs/view/EmbedCard/views/UnauthorisedView.js +21 -4
- package/dist/cjs/view/EmbedModal/components/analytics/index.js +4 -2
- package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +11 -10
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +6 -4
- package/dist/cjs/view/HoverCard/components/views/resolved/index.js +1 -1
- package/dist/cjs/view/HoverCard/components/views/unauthorised/index.js +26 -7
- package/dist/cjs/view/HoverCard/index.js +6 -3
- package/dist/cjs/view/HoverCard/utils.js +1 -4
- package/dist/cjs/view/InlineCard/ErroredView/index.js +6 -11
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +17 -21
- package/dist/cjs/view/InlineCard/Frame/index.js +4 -4
- package/dist/cjs/view/InlineCard/Frame/styled.js +22 -34
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +52 -7
- package/dist/cjs/view/InlineCard/ResolvingView/index.js +3 -5
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +10 -12
- package/dist/cjs/view/InlineCard/index.js +2 -1
- package/dist/cjs/view/InlineCard/styled.js +2 -2
- package/dist/cjs/view/common/UnauthorisedViewContent.js +14 -3
- package/dist/es2019/constants.js +12 -1
- package/dist/es2019/extractors/common/actions/extractPreviewAction.js +2 -1
- package/dist/es2019/i18n/cs.js +6 -1
- package/dist/es2019/i18n/da.js +7 -1
- package/dist/es2019/i18n/de.js +6 -1
- package/dist/es2019/i18n/en.js +8 -1
- package/dist/es2019/i18n/en_GB.js +8 -1
- package/dist/es2019/i18n/es.js +5 -1
- package/dist/es2019/i18n/fi.js +7 -1
- package/dist/es2019/i18n/fr.js +7 -1
- package/dist/es2019/i18n/hu.js +6 -1
- package/dist/es2019/i18n/it.js +7 -1
- package/dist/es2019/i18n/ja.js +11 -5
- package/dist/es2019/i18n/ko.js +7 -1
- package/dist/es2019/i18n/nb.js +6 -1
- package/dist/es2019/i18n/nl.js +7 -1
- package/dist/es2019/i18n/pl.js +6 -1
- package/dist/es2019/i18n/pt_BR.js +7 -1
- package/dist/es2019/i18n/ru.js +7 -1
- package/dist/es2019/i18n/sv.js +7 -1
- package/dist/es2019/i18n/th.js +7 -1
- package/dist/es2019/i18n/tr.js +6 -1
- package/dist/es2019/i18n/uk.js +6 -1
- package/dist/es2019/i18n/vi.js +7 -1
- package/dist/es2019/i18n/zh.js +6 -1
- package/dist/es2019/i18n/zh_TW.js +6 -1
- package/dist/es2019/state/analytics/useSmartLinkAnalytics.js +33 -8
- package/dist/es2019/utils/analytics/analytics.js +28 -4
- package/dist/es2019/utils/analytics/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/BlockCard/components/flexible/footer/index.js +1 -1
- package/dist/es2019/view/BlockCard/index.js +4 -2
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleNotFoundView.js +1 -1
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleResolvedView.js +4 -4
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +15 -3
- package/dist/es2019/view/CardWithUrl/component.js +2 -1
- package/dist/es2019/view/EmbedCard/index.js +6 -2
- package/dist/es2019/view/EmbedCard/views/UnauthorisedView.js +14 -3
- package/dist/es2019/view/EmbedModal/components/analytics/index.js +3 -2
- package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +11 -10
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +8 -6
- package/dist/es2019/view/HoverCard/components/views/resolved/index.js +3 -3
- package/dist/es2019/view/HoverCard/components/views/unauthorised/index.js +23 -7
- package/dist/es2019/view/HoverCard/index.js +6 -3
- package/dist/es2019/view/HoverCard/utils.js +0 -1
- package/dist/es2019/view/InlineCard/ErroredView/index.js +7 -9
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +8 -9
- package/dist/es2019/view/InlineCard/Frame/index.js +4 -4
- package/dist/es2019/view/InlineCard/Frame/styled.js +18 -31
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +47 -6
- package/dist/es2019/view/InlineCard/ResolvingView/index.js +3 -5
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +11 -11
- package/dist/es2019/view/InlineCard/index.js +2 -1
- package/dist/es2019/view/InlineCard/styled.js +1 -6
- package/dist/es2019/view/common/UnauthorisedViewContent.js +18 -11
- package/dist/esm/constants.js +12 -1
- package/dist/esm/extractors/common/actions/extractPreviewAction.js +2 -1
- package/dist/esm/i18n/cs.js +6 -1
- package/dist/esm/i18n/da.js +7 -1
- package/dist/esm/i18n/de.js +6 -1
- package/dist/esm/i18n/en.js +8 -1
- package/dist/esm/i18n/en_GB.js +8 -1
- package/dist/esm/i18n/es.js +5 -1
- package/dist/esm/i18n/fi.js +7 -1
- package/dist/esm/i18n/fr.js +7 -1
- package/dist/esm/i18n/hu.js +6 -1
- package/dist/esm/i18n/it.js +7 -1
- package/dist/esm/i18n/ja.js +11 -5
- package/dist/esm/i18n/ko.js +7 -1
- package/dist/esm/i18n/nb.js +6 -1
- package/dist/esm/i18n/nl.js +7 -1
- package/dist/esm/i18n/pl.js +6 -1
- package/dist/esm/i18n/pt_BR.js +7 -1
- package/dist/esm/i18n/ru.js +7 -1
- package/dist/esm/i18n/sv.js +7 -1
- package/dist/esm/i18n/th.js +7 -1
- package/dist/esm/i18n/tr.js +6 -1
- package/dist/esm/i18n/uk.js +6 -1
- package/dist/esm/i18n/vi.js +7 -1
- package/dist/esm/i18n/zh.js +6 -1
- package/dist/esm/i18n/zh_TW.js +6 -1
- package/dist/esm/state/analytics/useSmartLinkAnalytics.js +42 -14
- package/dist/esm/utils/analytics/analytics.js +118 -92
- package/dist/esm/utils/analytics/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/BlockCard/components/flexible/footer/index.js +1 -1
- package/dist/esm/view/BlockCard/index.js +4 -2
- package/dist/esm/view/BlockCard/views/flexible/FlexibleNotFoundView.js +1 -1
- package/dist/esm/view/BlockCard/views/flexible/FlexibleResolvedView.js +4 -4
- package/dist/esm/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +18 -5
- package/dist/esm/view/CardWithUrl/component.js +2 -1
- package/dist/esm/view/EmbedCard/index.js +6 -2
- package/dist/esm/view/EmbedCard/views/UnauthorisedView.js +15 -4
- package/dist/esm/view/EmbedModal/components/analytics/index.js +3 -2
- package/dist/esm/view/HoverCard/components/HoverCardComponent.js +11 -10
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +8 -6
- package/dist/esm/view/HoverCard/components/views/resolved/index.js +3 -3
- package/dist/esm/view/HoverCard/components/views/unauthorised/index.js +27 -9
- package/dist/esm/view/HoverCard/index.js +6 -3
- package/dist/esm/view/HoverCard/utils.js +0 -1
- package/dist/esm/view/InlineCard/ErroredView/index.js +7 -9
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +18 -20
- package/dist/esm/view/InlineCard/Frame/index.js +4 -4
- package/dist/esm/view/InlineCard/Frame/styled.js +17 -31
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +49 -7
- package/dist/esm/view/InlineCard/ResolvingView/index.js +3 -5
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +11 -11
- package/dist/esm/view/InlineCard/index.js +2 -1
- package/dist/esm/view/InlineCard/styled.js +2 -2
- package/dist/esm/view/common/UnauthorisedViewContent.js +8 -3
- package/dist/types/constants.d.ts +8 -0
- package/dist/types/i18n/cs.d.ts +5 -0
- package/dist/types/i18n/da.d.ts +6 -0
- package/dist/types/i18n/de.d.ts +5 -0
- package/dist/types/i18n/en.d.ts +7 -0
- package/dist/types/i18n/en_GB.d.ts +7 -0
- package/dist/types/i18n/es.d.ts +4 -0
- package/dist/types/i18n/fi.d.ts +6 -0
- package/dist/types/i18n/fr.d.ts +6 -0
- package/dist/types/i18n/hu.d.ts +5 -0
- package/dist/types/i18n/it.d.ts +6 -0
- package/dist/types/i18n/ja.d.ts +6 -0
- package/dist/types/i18n/ko.d.ts +6 -0
- package/dist/types/i18n/nb.d.ts +5 -0
- package/dist/types/i18n/nl.d.ts +6 -0
- package/dist/types/i18n/pl.d.ts +5 -0
- package/dist/types/i18n/pt_BR.d.ts +6 -0
- package/dist/types/i18n/ru.d.ts +6 -0
- package/dist/types/i18n/sv.d.ts +6 -0
- package/dist/types/i18n/th.d.ts +6 -0
- package/dist/types/i18n/tr.d.ts +5 -0
- package/dist/types/i18n/uk.d.ts +5 -0
- package/dist/types/i18n/vi.d.ts +6 -0
- package/dist/types/i18n/zh.d.ts +5 -0
- package/dist/types/i18n/zh_TW.d.ts +5 -0
- package/dist/types/state/actions/index.d.ts +1 -2
- package/dist/types/state/analytics/useSmartLinkAnalytics.d.ts +17 -4
- package/dist/types/state/flexible-ui-context/index.d.ts +8 -4
- package/dist/types/state/hooks/useSmartLink.d.ts +5 -3
- package/dist/types/utils/analytics/analytics.d.ts +4 -2
- package/dist/types/utils/analytics/index.d.ts +1 -1
- package/dist/types/utils/analytics/types.d.ts +2 -0
- package/dist/types/utils/mocks.d.ts +4 -2
- package/dist/types/utils/types.d.ts +1 -1
- package/dist/types/view/BlockCard/components/flexible/footer/index.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/FlexibleUnauthorisedView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/types.d.ts +17 -13
- package/dist/types/view/Card/types.d.ts +1 -1
- package/dist/types/view/EmbedCard/views/UnauthorisedView.d.ts +3 -0
- package/dist/types/view/HoverCard/components/views/unauthorised/types.d.ts +15 -4
- package/dist/types/view/HoverCard/types.d.ts +0 -2
- package/dist/types/view/HoverCard/utils.d.ts +0 -1
- package/dist/types/view/InlineCard/ErroredView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/ForbiddenView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/Frame/index.d.ts +0 -1
- package/dist/types/view/InlineCard/Frame/styled.d.ts +3 -2
- package/dist/types/view/InlineCard/IconAndTitleLayout/index.d.ts +5 -0
- package/dist/types/view/InlineCard/ResolvingView/index.d.ts +0 -1
- package/dist/types/view/InlineCard/UnauthorisedView/index.d.ts +3 -1
- package/dist/types/view/InlineCard/styled.d.ts +1 -1
- package/dist/types/view/common/UnauthorisedViewContent.d.ts +7 -1
- package/package.json +5 -5
- package/report.api.md +15 -1
- package/tmp/api-report-tmp.d.ts +8 -4
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -27,6 +27,7 @@ var _default = {
|
|
|
27
27
|
'fabric.linking.connect_link_account_card_view_description': 'เพื่อแสดงตัวอย่างของลิงก์นี้ โปรดติดต่อบัญชี {context} ของคุณ',
|
|
28
28
|
'fabric.linking.connect_link_account_card_view_name': 'เชื่อมต่อบัญชี {context} ของคุณ',
|
|
29
29
|
'fabric.linking.connect_to': 'เชื่อมต่อกับ {name}',
|
|
30
|
+
'fabric.linking.connect_unauthorised_account_action': 'เชื่อมต่อกับ {context}',
|
|
30
31
|
'fabric.linking.couldnt_load_link': 'เราไม่สามารถโหลดลิงก์นี้ได้ด้วยเหตุผลที่ไม่อาจทราบได้',
|
|
31
32
|
'fabric.linking.create_on_absolute': 'สร้างเมื่อ {context}',
|
|
32
33
|
'fabric.linking.create_on_relative': 'สร้างเมื่อ {context}',
|
|
@@ -39,14 +40,19 @@ var _default = {
|
|
|
39
40
|
'fabric.linking.invalid_permissions': 'ลิงก์ที่จำกัด',
|
|
40
41
|
'fabric.linking.invalid_permissions_description': 'คุณอาจจำเป็นต้องร้องขอสิทธิ์การเข้าถึงหรือลองบัญชีอื่นเพื่อดูการแสดงตัวอย่างนี้',
|
|
41
42
|
'fabric.linking.join_to_view': 'เข้าร่วม {context} เพื่อดูปัญหานี้',
|
|
43
|
+
'fabric.linking.learn_more_about_smart_links_security': 'เรียนรู้เพิ่มเติมเกี่ยวกับความปลอดภัย Smart Link และการอนุญาต',
|
|
42
44
|
'fabric.linking.loading': 'กำลังโหลด...',
|
|
43
45
|
'fabric.linking.modified_on_absolute': 'อัปเดตแล้วเมื่อ {context}',
|
|
44
46
|
'fabric.linking.modified_on_relative': 'อัปเดต {context} แล้ว',
|
|
45
47
|
'fabric.linking.more_actions': 'การดำเนินการเพิ่มเติม',
|
|
46
48
|
'fabric.linking.not_found_description': 'เราไม่พบลิงก์ ตรวจสอบ URL และลองแก้ไขหรือวางอีกครั้ง',
|
|
47
49
|
'fabric.linking.not_found_title': 'โอ๊ะ โอ เราไม่พบลิงก์นี้!',
|
|
50
|
+
'fabric.linking.open_link_in_a_new_tab': 'เปิดลิงก์ในแถบใหม่',
|
|
48
51
|
'fabric.linking.pending_request': 'คำขอการเข้าถึงของคุณกำลังรอดำเนินการ',
|
|
49
|
-
'fabric.linking.preview': '
|
|
52
|
+
'fabric.linking.preview': 'มุมมองแบบเต็มหน้าจอ',
|
|
53
|
+
'fabric.linking.preview_close': 'ปิดการแสดงตัวอย่าง',
|
|
54
|
+
'fabric.linking.preview_max_size': 'ดูหน้าจอแบบเต็ม',
|
|
55
|
+
'fabric.linking.preview_min_size': 'ปิดหน้าจอแบบเต็ม',
|
|
50
56
|
'fabric.linking.priority_blocker': 'ตัวบล็อก',
|
|
51
57
|
'fabric.linking.priority_critical': 'วิกฤต',
|
|
52
58
|
'fabric.linking.priority_high': 'สูง',
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -27,6 +27,7 @@ var _default = {
|
|
|
27
27
|
'fabric.linking.connect_link_account_card_view_description': 'Bu bağlantının bir önizlemesini görmek için {context} hesabınızı bağlayın.',
|
|
28
28
|
'fabric.linking.connect_link_account_card_view_name': '{context} hesabınızı bağlayın',
|
|
29
29
|
'fabric.linking.connect_to': '{name} hesabını bağlan',
|
|
30
|
+
'fabric.linking.connect_unauthorised_account_action': '{context} hesabını bağlayın',
|
|
30
31
|
'fabric.linking.couldnt_load_link': 'Bilinmeyen bir nedenden dolayı bu bağlantıyı yükleyemedik.',
|
|
31
32
|
'fabric.linking.create_on_absolute': '{context} tarihinde oluşturuldu',
|
|
32
33
|
'fabric.linking.create_on_relative': '{context} oluşturuldu',
|
|
@@ -45,8 +46,12 @@ var _default = {
|
|
|
45
46
|
'fabric.linking.more_actions': 'Daha fazla işlem',
|
|
46
47
|
'fabric.linking.not_found_description': "Bağlantıyı bulamadık. URL'yi kontrol edin ve düzenlemeyi veya yeniden yapıştırmayı deneyin.",
|
|
47
48
|
'fabric.linking.not_found_title': 'Hay aksi! Bu bağlantıyı bulamadık!',
|
|
49
|
+
'fabric.linking.open_link_in_a_new_tab': 'Bağlantıyı yeni sekmede aç',
|
|
48
50
|
'fabric.linking.pending_request': 'Erişim talebiniz beklemede',
|
|
49
|
-
'fabric.linking.preview': '
|
|
51
|
+
'fabric.linking.preview': 'Tam ekran görünümü',
|
|
52
|
+
'fabric.linking.preview_close': 'Önizlemeyi kapat',
|
|
53
|
+
'fabric.linking.preview_max_size': 'Tam ekran görüntüle',
|
|
54
|
+
'fabric.linking.preview_min_size': 'Tam ekranı kapat',
|
|
50
55
|
'fabric.linking.priority_blocker': 'Engelleyici',
|
|
51
56
|
'fabric.linking.priority_critical': 'Çok önemli',
|
|
52
57
|
'fabric.linking.priority_high': 'Yüksek',
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -27,6 +27,7 @@ var _default = {
|
|
|
27
27
|
'fabric.linking.connect_link_account_card_view_description': 'Щоб відкрити попередній перегляд цього посилання, підключіть свій обліковий запис {context}.',
|
|
28
28
|
'fabric.linking.connect_link_account_card_view_name': 'Підключіть обліковий запис {context}',
|
|
29
29
|
'fabric.linking.connect_to': 'Підключення до {name}',
|
|
30
|
+
'fabric.linking.connect_unauthorised_account_action': 'Підключитися до {context}',
|
|
30
31
|
'fabric.linking.couldnt_load_link': 'Не вдалося завантажити це посилання.',
|
|
31
32
|
'fabric.linking.create_on_absolute': 'Створено {context}',
|
|
32
33
|
'fabric.linking.create_on_relative': 'Створено {context}',
|
|
@@ -45,8 +46,12 @@ var _default = {
|
|
|
45
46
|
'fabric.linking.more_actions': 'Інші дії',
|
|
46
47
|
'fabric.linking.not_found_description': 'Не вдалося знайти посилання. Перевірте URL-адресу й спробуйте її відредагувати або вставити знову.',
|
|
47
48
|
'fabric.linking.not_found_title': 'Ой! Не вдається знайти це посилання.',
|
|
49
|
+
'fabric.linking.open_link_in_a_new_tab': 'Відкрити посилання в новій вкладці',
|
|
48
50
|
'fabric.linking.pending_request': 'Запит на надання доступу в очікуванні',
|
|
49
|
-
'fabric.linking.preview': '
|
|
51
|
+
'fabric.linking.preview': 'Повноекранне подання',
|
|
52
|
+
'fabric.linking.preview_close': 'Закрити вікно попереднього перегляду',
|
|
53
|
+
'fabric.linking.preview_max_size': 'Відкрити в повноекранному режимі',
|
|
54
|
+
'fabric.linking.preview_min_size': 'Вийти з повноекранного режиму',
|
|
50
55
|
'fabric.linking.priority_blocker': 'Блокувальний',
|
|
51
56
|
'fabric.linking.priority_critical': 'Критичний',
|
|
52
57
|
'fabric.linking.priority_high': 'Високий',
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -27,6 +27,7 @@ var _default = {
|
|
|
27
27
|
'fabric.linking.connect_link_account_card_view_description': 'Để hiển thị bản xem trước của đường liên kết này, hãy kết nối tài khoản {context} của bạn.',
|
|
28
28
|
'fabric.linking.connect_link_account_card_view_name': 'Kết nối tài khoản {context} của bạn',
|
|
29
29
|
'fabric.linking.connect_to': 'Kết nối với {name}',
|
|
30
|
+
'fabric.linking.connect_unauthorised_account_action': 'Kết nối với {context}',
|
|
30
31
|
'fabric.linking.couldnt_load_link': 'Chúng tôi không thể tải đường liên kết này vì một lý do không xác định.',
|
|
31
32
|
'fabric.linking.create_on_absolute': 'Đã tạo vào {context}',
|
|
32
33
|
'fabric.linking.create_on_relative': 'Đã tạo {context}',
|
|
@@ -39,14 +40,19 @@ var _default = {
|
|
|
39
40
|
'fabric.linking.invalid_permissions': 'Đường liên kết bị hạn chế',
|
|
40
41
|
'fabric.linking.invalid_permissions_description': 'Bạn cần có quyền truy cập hoặc thử một tài khoản khác để xem bản xem trước này.',
|
|
41
42
|
'fabric.linking.join_to_view': 'Tham gia {context} để xem vấn đề này',
|
|
43
|
+
'fabric.linking.learn_more_about_smart_links_security': 'Tìm hiểu thêm về các quyền và bảo mật liên kết thông minh',
|
|
42
44
|
'fabric.linking.loading': 'Đang tải...',
|
|
43
45
|
'fabric.linking.modified_on_absolute': 'Đã cập nhật trên {context}',
|
|
44
46
|
'fabric.linking.modified_on_relative': 'Đã cập nhật {context}',
|
|
45
47
|
'fabric.linking.more_actions': 'Hành động khác',
|
|
46
48
|
'fabric.linking.not_found_description': 'Chúng tôi không thể tìm thấy đường liên kết này. Hãy kiểm tra url và thử chỉnh sửa hoặc dán lại.',
|
|
47
49
|
'fabric.linking.not_found_title': 'Ôi! Chúng tôi không thể tìm thấy liên kết này!',
|
|
50
|
+
'fabric.linking.open_link_in_a_new_tab': 'Mở liên kết trong tab mới',
|
|
48
51
|
'fabric.linking.pending_request': 'Đang chờ xử lý yêu cầu quyền truy cập của bạn',
|
|
49
|
-
'fabric.linking.preview': '
|
|
52
|
+
'fabric.linking.preview': 'Chế độ xem toàn màn hình',
|
|
53
|
+
'fabric.linking.preview_close': 'Đóng bản xem trước',
|
|
54
|
+
'fabric.linking.preview_max_size': 'Xem toàn màn hình',
|
|
55
|
+
'fabric.linking.preview_min_size': 'Đóng toàn màn hình',
|
|
50
56
|
'fabric.linking.priority_blocker': 'Trở ngại',
|
|
51
57
|
'fabric.linking.priority_critical': 'Rất cao',
|
|
52
58
|
'fabric.linking.priority_high': 'Cao',
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -27,6 +27,7 @@ var _default = {
|
|
|
27
27
|
'fabric.linking.connect_link_account_card_view_description': '如要显示该链接的预览,请连接您的 {context} 帐户。',
|
|
28
28
|
'fabric.linking.connect_link_account_card_view_name': '连接您的 {context} 帐户',
|
|
29
29
|
'fabric.linking.connect_to': '连接到 {name}',
|
|
30
|
+
'fabric.linking.connect_unauthorised_account_action': '连接到 {context}',
|
|
30
31
|
'fabric.linking.couldnt_load_link': '由于未知原因,无法加载此链接。',
|
|
31
32
|
'fabric.linking.create_on_absolute': '创建时间:{context}',
|
|
32
33
|
'fabric.linking.create_on_relative': '创建时间:{context}',
|
|
@@ -45,8 +46,12 @@ var _default = {
|
|
|
45
46
|
'fabric.linking.more_actions': '更多操作',
|
|
46
47
|
'fabric.linking.not_found_description': '未找到此链接。请检查 URL,然后尝试编辑或重新粘贴。',
|
|
47
48
|
'fabric.linking.not_found_title': '噢。找不到此链接!',
|
|
49
|
+
'fabric.linking.open_link_in_a_new_tab': '在新选项卡中打开链接',
|
|
48
50
|
'fabric.linking.pending_request': '您的访问请求正等待处理',
|
|
49
|
-
'fabric.linking.preview': '
|
|
51
|
+
'fabric.linking.preview': '全屏视图',
|
|
52
|
+
'fabric.linking.preview_close': '关闭预览',
|
|
53
|
+
'fabric.linking.preview_max_size': '全屏查看',
|
|
54
|
+
'fabric.linking.preview_min_size': '关闭全屏',
|
|
50
55
|
'fabric.linking.priority_blocker': '紧急',
|
|
51
56
|
'fabric.linking.priority_critical': '严重',
|
|
52
57
|
'fabric.linking.priority_high': '高',
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -27,6 +27,7 @@ var _default = {
|
|
|
27
27
|
'fabric.linking.connect_link_account_card_view_description': '若要顯示此連結的預覽,請連接您的 {context} 帳戶。',
|
|
28
28
|
'fabric.linking.connect_link_account_card_view_name': '連結 {context} 帳戶',
|
|
29
29
|
'fabric.linking.connect_to': '連結至 {name}',
|
|
30
|
+
'fabric.linking.connect_unauthorised_account_action': '連結至 {context}',
|
|
30
31
|
'fabric.linking.couldnt_load_link': '基於不明原因,我們無法載入此連結。',
|
|
31
32
|
'fabric.linking.create_on_absolute': '於 {context} 建立',
|
|
32
33
|
'fabric.linking.create_on_relative': '建立時間:{context}',
|
|
@@ -45,8 +46,12 @@ var _default = {
|
|
|
45
46
|
'fabric.linking.more_actions': '更多動作',
|
|
46
47
|
'fabric.linking.not_found_description': '我們找不到此連結。請檢查 URL,然後試著編輯或再次貼上。',
|
|
47
48
|
'fabric.linking.not_found_title': '糟糕,我們找不到此連結!',
|
|
49
|
+
'fabric.linking.open_link_in_a_new_tab': '在新分頁中開啟連結',
|
|
48
50
|
'fabric.linking.pending_request': '您的存取要求擱置中',
|
|
49
|
-
'fabric.linking.preview': '
|
|
51
|
+
'fabric.linking.preview': '全螢幕檢視',
|
|
52
|
+
'fabric.linking.preview_close': '關閉預覽',
|
|
53
|
+
'fabric.linking.preview_max_size': '全螢幕檢視',
|
|
54
|
+
'fabric.linking.preview_min_size': '關閉全螢幕',
|
|
50
55
|
'fabric.linking.priority_blocker': '受阻',
|
|
51
56
|
'fabric.linking.priority_critical': '嚴重',
|
|
52
57
|
'fabric.linking.priority_high': '高',
|
|
@@ -388,7 +388,8 @@ var useSmartLinkAnalytics = function useSmartLinkAnalytics(url, dispatchAnalytic
|
|
|
388
388
|
resourceType = _ref9.resourceType,
|
|
389
389
|
destinationProduct = _ref9.destinationProduct,
|
|
390
390
|
destinationSubproduct = _ref9.destinationSubproduct,
|
|
391
|
-
location = _ref9.location
|
|
391
|
+
location = _ref9.location,
|
|
392
|
+
status = _ref9.status;
|
|
392
393
|
return dispatchAnalytics(applyCommonAttributes((0, _analytics.uiHoverCardViewedEvent)({
|
|
393
394
|
id: id,
|
|
394
395
|
previewDisplay: previewDisplay,
|
|
@@ -398,7 +399,8 @@ var useSmartLinkAnalytics = function useSmartLinkAnalytics(url, dispatchAnalytic
|
|
|
398
399
|
destinationProduct: destinationProduct,
|
|
399
400
|
destinationSubproduct: destinationSubproduct,
|
|
400
401
|
location: location,
|
|
401
|
-
previewInvokeMethod: previewInvokeMethod
|
|
402
|
+
previewInvokeMethod: previewInvokeMethod,
|
|
403
|
+
status: status
|
|
402
404
|
}), commonAttributes));
|
|
403
405
|
},
|
|
404
406
|
|
|
@@ -407,7 +409,7 @@ var useSmartLinkAnalytics = function useSmartLinkAnalytics(url, dispatchAnalytic
|
|
|
407
409
|
* @param hoverDisplay Whether the hover preview was displayed as a card or embed.
|
|
408
410
|
* @param hoverTime The duration that the user hovered over a Smart Link before the preview was dismissed.
|
|
409
411
|
* @param definitionId The definitionId of the Smart Link resolver invoked.
|
|
410
|
-
* @param extensionKey The extensionKey of the Smart Link
|
|
412
|
+
* @param extensionKey The extensionKey of the Smart Link resolver invoked.
|
|
411
413
|
* @param previewInvokeMethod How the preview was triggered.
|
|
412
414
|
* @returns
|
|
413
415
|
*/
|
|
@@ -421,7 +423,8 @@ var useSmartLinkAnalytics = function useSmartLinkAnalytics(url, dispatchAnalytic
|
|
|
421
423
|
resourceType = _ref10.resourceType,
|
|
422
424
|
destinationProduct = _ref10.destinationProduct,
|
|
423
425
|
destinationSubproduct = _ref10.destinationSubproduct,
|
|
424
|
-
location = _ref10.location
|
|
426
|
+
location = _ref10.location,
|
|
427
|
+
status = _ref10.status;
|
|
425
428
|
return dispatchAnalytics(applyCommonAttributes((0, _analytics.uiHoverCardDismissedEvent)({
|
|
426
429
|
previewDisplay: previewDisplay,
|
|
427
430
|
id: id,
|
|
@@ -432,8 +435,18 @@ var useSmartLinkAnalytics = function useSmartLinkAnalytics(url, dispatchAnalytic
|
|
|
432
435
|
destinationProduct: destinationProduct,
|
|
433
436
|
destinationSubproduct: destinationSubproduct,
|
|
434
437
|
location: location,
|
|
435
|
-
previewInvokeMethod: previewInvokeMethod
|
|
438
|
+
previewInvokeMethod: previewInvokeMethod,
|
|
439
|
+
status: status
|
|
436
440
|
}), commonAttributes));
|
|
441
|
+
},
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Fires an event that signifies that a "Learn More" link was clicked on an unauthenticated card
|
|
445
|
+
* @param extensionKey The extensionKey of the Smart Link resovler invoked.
|
|
446
|
+
* @param location The location where a link is displayed (jiraWebLinks, confluencePages etc)
|
|
447
|
+
*/
|
|
448
|
+
learnMoreClickedEvent: function learnMoreClickedEvent() {
|
|
449
|
+
return dispatchAnalytics(applyCommonAttributes((0, _analytics.uiLearnMoreLinkClickedEvent)(), commonAttributes));
|
|
437
450
|
}
|
|
438
451
|
};
|
|
439
452
|
}, [defaultId, commonAttributes, dispatchAnalytics]);
|
|
@@ -611,7 +624,7 @@ var useSmartLinkAnalytics = function useSmartLinkAnalytics(url, dispatchAnalytic
|
|
|
611
624
|
var track = (0, _react.useMemo)(function () {
|
|
612
625
|
return {
|
|
613
626
|
/**
|
|
614
|
-
* This fires an event which represents a user
|
|
627
|
+
* This fires an event which represents a user connecting their account to view a Smart Link.
|
|
615
628
|
* @param definitionId The definitionId of the Smart Link resolver invoked.
|
|
616
629
|
* @param extensionKey The extensionKey of the Smart Link resovler invoked.
|
|
617
630
|
* @returns
|
|
@@ -631,6 +644,21 @@ var useSmartLinkAnalytics = function useSmartLinkAnalytics(url, dispatchAnalytic
|
|
|
631
644
|
destinationSubproduct: destinationSubproduct,
|
|
632
645
|
location: location
|
|
633
646
|
})), commonAttributes));
|
|
647
|
+
},
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* This fires an event which represents a user starting the Smart Link connect account process.
|
|
651
|
+
* @param location a location where the Smart Link auth action was initiated.
|
|
652
|
+
* @param extensionKey The extensionKey of the Smart Link resolver invoked.
|
|
653
|
+
* @returns
|
|
654
|
+
*/
|
|
655
|
+
appAccountAuthStarted: function appAccountAuthStarted(_ref17) {
|
|
656
|
+
var extensionKey = _ref17.extensionKey,
|
|
657
|
+
location = _ref17.location;
|
|
658
|
+
return dispatchAnalytics(applyCommonAttributes((0, _analytics.trackAppAccountAuthStarted)(_objectSpread(_objectSpread({}, commonAttributes), {}, {
|
|
659
|
+
extensionKey: extensionKey,
|
|
660
|
+
location: location
|
|
661
|
+
})), commonAttributes));
|
|
634
662
|
}
|
|
635
663
|
};
|
|
636
664
|
}, [commonAttributes, dispatchAnalytics]);
|
|
@@ -644,13 +672,13 @@ var useSmartLinkAnalytics = function useSmartLinkAnalytics(url, dispatchAnalytic
|
|
|
644
672
|
* @param extensionKey The extensionKey of the Smart Link resovler invoked.
|
|
645
673
|
* @returns
|
|
646
674
|
*/
|
|
647
|
-
authPopupEvent: function authPopupEvent(
|
|
648
|
-
var extensionKey =
|
|
649
|
-
definitionId =
|
|
650
|
-
resourceType =
|
|
651
|
-
destinationProduct =
|
|
652
|
-
destinationSubproduct =
|
|
653
|
-
location =
|
|
675
|
+
authPopupEvent: function authPopupEvent(_ref18) {
|
|
676
|
+
var extensionKey = _ref18.extensionKey,
|
|
677
|
+
definitionId = _ref18.definitionId,
|
|
678
|
+
resourceType = _ref18.resourceType,
|
|
679
|
+
destinationProduct = _ref18.destinationProduct,
|
|
680
|
+
destinationSubproduct = _ref18.destinationSubproduct,
|
|
681
|
+
location = _ref18.location;
|
|
654
682
|
return dispatchAnalytics(applyCommonAttributes((0, _analytics.screenAuthPopupEvent)(_objectSpread(_objectSpread({}, commonAttributes), {}, {
|
|
655
683
|
extensionKey: extensionKey,
|
|
656
684
|
definitionId: definitionId,
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.unresolvedEvent = exports.uiRenderSuccessEvent = exports.uiRenderFailedEvent = exports.uiHoverCardViewedEvent = exports.uiHoverCardOpenLinkClickedEvent = exports.uiHoverCardDismissedEvent = exports.uiClosedAuthEvent = exports.uiCardClickedEvent = exports.uiAuthEvent = exports.uiAuthAlternateAccountEvent = exports.uiActionClickedEvent = exports.trackAppAccountConnected = exports.screenAuthPopupEvent = exports.resolvedEvent = exports.invokeSucceededEvent = exports.invokeFailedEvent = exports.fireSmartLinkEvent = exports.context = exports.connectSucceededEvent = exports.connectFailedEvent = exports.SmartLinkEvents = exports.ANALYTICS_CHANNEL = void 0;
|
|
8
|
+
exports.unresolvedEvent = exports.uiRenderSuccessEvent = exports.uiRenderFailedEvent = exports.uiLearnMoreLinkClickedEvent = exports.uiHoverCardViewedEvent = exports.uiHoverCardOpenLinkClickedEvent = exports.uiHoverCardDismissedEvent = exports.uiClosedAuthEvent = exports.uiCardClickedEvent = exports.uiAuthEvent = exports.uiAuthAlternateAccountEvent = exports.uiActionClickedEvent = exports.trackAppAccountConnected = exports.trackAppAccountAuthStarted = exports.screenAuthPopupEvent = exports.resolvedEvent = exports.invokeSucceededEvent = exports.invokeFailedEvent = exports.fireSmartLinkEvent = exports.context = exports.connectSucceededEvent = exports.connectFailedEvent = exports.SmartLinkEvents = exports.ANALYTICS_CHANNEL = void 0;
|
|
9
9
|
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
|
|
@@ -257,13 +257,29 @@ var trackAppAccountConnected = function trackAppAccountConnected(_ref6) {
|
|
|
257
257
|
|
|
258
258
|
exports.trackAppAccountConnected = trackAppAccountConnected;
|
|
259
259
|
|
|
260
|
-
var
|
|
261
|
-
var
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
260
|
+
var trackAppAccountAuthStarted = function trackAppAccountAuthStarted(_ref7) {
|
|
261
|
+
var extensionKey = _ref7.extensionKey,
|
|
262
|
+
location = _ref7.location;
|
|
263
|
+
return {
|
|
264
|
+
action: 'authStarted',
|
|
265
|
+
actionSubject: 'applicationAccount',
|
|
266
|
+
eventType: 'track',
|
|
267
|
+
attributes: _objectSpread(_objectSpread({}, context), {}, {
|
|
268
|
+
extensionKey: extensionKey,
|
|
269
|
+
location: location
|
|
270
|
+
})
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
exports.trackAppAccountAuthStarted = trackAppAccountAuthStarted;
|
|
275
|
+
|
|
276
|
+
var uiAuthEvent = function uiAuthEvent(_ref8) {
|
|
277
|
+
var definitionId = _ref8.definitionId,
|
|
278
|
+
extensionKey = _ref8.extensionKey,
|
|
279
|
+
destinationProduct = _ref8.destinationProduct,
|
|
280
|
+
destinationSubproduct = _ref8.destinationSubproduct,
|
|
281
|
+
location = _ref8.location,
|
|
282
|
+
display = _ref8.display;
|
|
267
283
|
return {
|
|
268
284
|
action: 'clicked',
|
|
269
285
|
actionSubject: 'button',
|
|
@@ -282,13 +298,13 @@ var uiAuthEvent = function uiAuthEvent(_ref7) {
|
|
|
282
298
|
|
|
283
299
|
exports.uiAuthEvent = uiAuthEvent;
|
|
284
300
|
|
|
285
|
-
var uiAuthAlternateAccountEvent = function uiAuthAlternateAccountEvent(
|
|
286
|
-
var definitionId =
|
|
287
|
-
extensionKey =
|
|
288
|
-
destinationProduct =
|
|
289
|
-
destinationSubproduct =
|
|
290
|
-
location =
|
|
291
|
-
display =
|
|
301
|
+
var uiAuthAlternateAccountEvent = function uiAuthAlternateAccountEvent(_ref9) {
|
|
302
|
+
var definitionId = _ref9.definitionId,
|
|
303
|
+
extensionKey = _ref9.extensionKey,
|
|
304
|
+
destinationProduct = _ref9.destinationProduct,
|
|
305
|
+
destinationSubproduct = _ref9.destinationSubproduct,
|
|
306
|
+
location = _ref9.location,
|
|
307
|
+
display = _ref9.display;
|
|
292
308
|
return {
|
|
293
309
|
action: 'clicked',
|
|
294
310
|
actionSubject: 'smartLink',
|
|
@@ -307,17 +323,17 @@ var uiAuthAlternateAccountEvent = function uiAuthAlternateAccountEvent(_ref8) {
|
|
|
307
323
|
|
|
308
324
|
exports.uiAuthAlternateAccountEvent = uiAuthAlternateAccountEvent;
|
|
309
325
|
|
|
310
|
-
var uiCardClickedEvent = function uiCardClickedEvent(
|
|
311
|
-
var id =
|
|
312
|
-
display =
|
|
313
|
-
status =
|
|
314
|
-
definitionId =
|
|
315
|
-
extensionKey =
|
|
316
|
-
isModifierKeyPressed =
|
|
317
|
-
location =
|
|
318
|
-
destinationProduct =
|
|
319
|
-
destinationSubproduct =
|
|
320
|
-
actionSubjectId =
|
|
326
|
+
var uiCardClickedEvent = function uiCardClickedEvent(_ref10) {
|
|
327
|
+
var id = _ref10.id,
|
|
328
|
+
display = _ref10.display,
|
|
329
|
+
status = _ref10.status,
|
|
330
|
+
definitionId = _ref10.definitionId,
|
|
331
|
+
extensionKey = _ref10.extensionKey,
|
|
332
|
+
isModifierKeyPressed = _ref10.isModifierKeyPressed,
|
|
333
|
+
location = _ref10.location,
|
|
334
|
+
destinationProduct = _ref10.destinationProduct,
|
|
335
|
+
destinationSubproduct = _ref10.destinationSubproduct,
|
|
336
|
+
actionSubjectId = _ref10.actionSubjectId;
|
|
321
337
|
return {
|
|
322
338
|
action: 'clicked',
|
|
323
339
|
actionSubject: 'smartLink',
|
|
@@ -339,15 +355,15 @@ var uiCardClickedEvent = function uiCardClickedEvent(_ref9) {
|
|
|
339
355
|
|
|
340
356
|
exports.uiCardClickedEvent = uiCardClickedEvent;
|
|
341
357
|
|
|
342
|
-
var uiActionClickedEvent = function uiActionClickedEvent(
|
|
343
|
-
var id =
|
|
344
|
-
actionType =
|
|
345
|
-
extensionKey =
|
|
346
|
-
display =
|
|
347
|
-
definitionId =
|
|
348
|
-
destinationProduct =
|
|
349
|
-
destinationSubproduct =
|
|
350
|
-
location =
|
|
358
|
+
var uiActionClickedEvent = function uiActionClickedEvent(_ref11) {
|
|
359
|
+
var id = _ref11.id,
|
|
360
|
+
actionType = _ref11.actionType,
|
|
361
|
+
extensionKey = _ref11.extensionKey,
|
|
362
|
+
display = _ref11.display,
|
|
363
|
+
definitionId = _ref11.definitionId,
|
|
364
|
+
destinationProduct = _ref11.destinationProduct,
|
|
365
|
+
destinationSubproduct = _ref11.destinationSubproduct,
|
|
366
|
+
location = _ref11.location;
|
|
351
367
|
return {
|
|
352
368
|
action: 'clicked',
|
|
353
369
|
actionSubject: 'button',
|
|
@@ -368,13 +384,13 @@ var uiActionClickedEvent = function uiActionClickedEvent(_ref10) {
|
|
|
368
384
|
|
|
369
385
|
exports.uiActionClickedEvent = uiActionClickedEvent;
|
|
370
386
|
|
|
371
|
-
var uiClosedAuthEvent = function uiClosedAuthEvent(
|
|
372
|
-
var display =
|
|
373
|
-
extensionKey =
|
|
374
|
-
definitionId =
|
|
375
|
-
destinationProduct =
|
|
376
|
-
destinationSubproduct =
|
|
377
|
-
location =
|
|
387
|
+
var uiClosedAuthEvent = function uiClosedAuthEvent(_ref12) {
|
|
388
|
+
var display = _ref12.display,
|
|
389
|
+
extensionKey = _ref12.extensionKey,
|
|
390
|
+
definitionId = _ref12.definitionId,
|
|
391
|
+
destinationProduct = _ref12.destinationProduct,
|
|
392
|
+
destinationSubproduct = _ref12.destinationSubproduct,
|
|
393
|
+
location = _ref12.location;
|
|
378
394
|
return {
|
|
379
395
|
action: 'closed',
|
|
380
396
|
actionSubject: 'consentModal',
|
|
@@ -392,12 +408,12 @@ var uiClosedAuthEvent = function uiClosedAuthEvent(_ref11) {
|
|
|
392
408
|
|
|
393
409
|
exports.uiClosedAuthEvent = uiClosedAuthEvent;
|
|
394
410
|
|
|
395
|
-
var screenAuthPopupEvent = function screenAuthPopupEvent(
|
|
396
|
-
var extensionKey =
|
|
397
|
-
definitionId =
|
|
398
|
-
destinationProduct =
|
|
399
|
-
destinationSubproduct =
|
|
400
|
-
location =
|
|
411
|
+
var screenAuthPopupEvent = function screenAuthPopupEvent(_ref13) {
|
|
412
|
+
var extensionKey = _ref13.extensionKey,
|
|
413
|
+
definitionId = _ref13.definitionId,
|
|
414
|
+
destinationProduct = _ref13.destinationProduct,
|
|
415
|
+
destinationSubproduct = _ref13.destinationSubproduct,
|
|
416
|
+
location = _ref13.location;
|
|
401
417
|
return {
|
|
402
418
|
actionSubject: 'consentModal',
|
|
403
419
|
eventType: 'screen',
|
|
@@ -413,14 +429,14 @@ var screenAuthPopupEvent = function screenAuthPopupEvent(_ref12) {
|
|
|
413
429
|
|
|
414
430
|
exports.screenAuthPopupEvent = screenAuthPopupEvent;
|
|
415
431
|
|
|
416
|
-
var uiRenderSuccessEvent = function uiRenderSuccessEvent(
|
|
417
|
-
var display =
|
|
418
|
-
status =
|
|
419
|
-
extensionKey =
|
|
420
|
-
definitionId =
|
|
421
|
-
destinationProduct =
|
|
422
|
-
destinationSubproduct =
|
|
423
|
-
location =
|
|
432
|
+
var uiRenderSuccessEvent = function uiRenderSuccessEvent(_ref14) {
|
|
433
|
+
var display = _ref14.display,
|
|
434
|
+
status = _ref14.status,
|
|
435
|
+
extensionKey = _ref14.extensionKey,
|
|
436
|
+
definitionId = _ref14.definitionId,
|
|
437
|
+
destinationProduct = _ref14.destinationProduct,
|
|
438
|
+
destinationSubproduct = _ref14.destinationSubproduct,
|
|
439
|
+
location = _ref14.location;
|
|
424
440
|
return {
|
|
425
441
|
action: 'renderSuccess',
|
|
426
442
|
actionSubject: 'smartLink',
|
|
@@ -439,15 +455,15 @@ var uiRenderSuccessEvent = function uiRenderSuccessEvent(_ref13) {
|
|
|
439
455
|
|
|
440
456
|
exports.uiRenderSuccessEvent = uiRenderSuccessEvent;
|
|
441
457
|
|
|
442
|
-
var uiRenderFailedEvent = function uiRenderFailedEvent(
|
|
443
|
-
var display =
|
|
444
|
-
error =
|
|
445
|
-
errorInfo =
|
|
446
|
-
extensionKey =
|
|
447
|
-
definitionId =
|
|
448
|
-
destinationProduct =
|
|
449
|
-
destinationSubproduct =
|
|
450
|
-
location =
|
|
458
|
+
var uiRenderFailedEvent = function uiRenderFailedEvent(_ref15) {
|
|
459
|
+
var display = _ref15.display,
|
|
460
|
+
error = _ref15.error,
|
|
461
|
+
errorInfo = _ref15.errorInfo,
|
|
462
|
+
extensionKey = _ref15.extensionKey,
|
|
463
|
+
definitionId = _ref15.definitionId,
|
|
464
|
+
destinationProduct = _ref15.destinationProduct,
|
|
465
|
+
destinationSubproduct = _ref15.destinationSubproduct,
|
|
466
|
+
location = _ref15.location;
|
|
451
467
|
return {
|
|
452
468
|
actionSubject: 'smartLink',
|
|
453
469
|
action: 'renderFailed',
|
|
@@ -467,15 +483,16 @@ var uiRenderFailedEvent = function uiRenderFailedEvent(_ref14) {
|
|
|
467
483
|
|
|
468
484
|
exports.uiRenderFailedEvent = uiRenderFailedEvent;
|
|
469
485
|
|
|
470
|
-
var uiHoverCardViewedEvent = function uiHoverCardViewedEvent(
|
|
471
|
-
var id =
|
|
472
|
-
previewDisplay =
|
|
473
|
-
extensionKey =
|
|
474
|
-
definitionId =
|
|
475
|
-
destinationProduct =
|
|
476
|
-
destinationSubproduct =
|
|
477
|
-
location =
|
|
478
|
-
previewInvokeMethod =
|
|
486
|
+
var uiHoverCardViewedEvent = function uiHoverCardViewedEvent(_ref16) {
|
|
487
|
+
var id = _ref16.id,
|
|
488
|
+
previewDisplay = _ref16.previewDisplay,
|
|
489
|
+
extensionKey = _ref16.extensionKey,
|
|
490
|
+
definitionId = _ref16.definitionId,
|
|
491
|
+
destinationProduct = _ref16.destinationProduct,
|
|
492
|
+
destinationSubproduct = _ref16.destinationSubproduct,
|
|
493
|
+
location = _ref16.location,
|
|
494
|
+
previewInvokeMethod = _ref16.previewInvokeMethod,
|
|
495
|
+
status = _ref16.status;
|
|
479
496
|
return {
|
|
480
497
|
action: 'viewed',
|
|
481
498
|
actionSubject: 'hoverCard',
|
|
@@ -488,23 +505,25 @@ var uiHoverCardViewedEvent = function uiHoverCardViewedEvent(_ref15) {
|
|
|
488
505
|
destinationProduct: destinationProduct,
|
|
489
506
|
destinationSubproduct: destinationSubproduct,
|
|
490
507
|
location: location,
|
|
491
|
-
previewInvokeMethod: previewInvokeMethod
|
|
508
|
+
previewInvokeMethod: previewInvokeMethod,
|
|
509
|
+
status: status
|
|
492
510
|
})
|
|
493
511
|
};
|
|
494
512
|
};
|
|
495
513
|
|
|
496
514
|
exports.uiHoverCardViewedEvent = uiHoverCardViewedEvent;
|
|
497
515
|
|
|
498
|
-
var uiHoverCardDismissedEvent = function uiHoverCardDismissedEvent(
|
|
499
|
-
var id =
|
|
500
|
-
previewDisplay =
|
|
501
|
-
hoverTime =
|
|
502
|
-
extensionKey =
|
|
503
|
-
definitionId =
|
|
504
|
-
destinationProduct =
|
|
505
|
-
destinationSubproduct =
|
|
506
|
-
location =
|
|
507
|
-
previewInvokeMethod =
|
|
516
|
+
var uiHoverCardDismissedEvent = function uiHoverCardDismissedEvent(_ref17) {
|
|
517
|
+
var id = _ref17.id,
|
|
518
|
+
previewDisplay = _ref17.previewDisplay,
|
|
519
|
+
hoverTime = _ref17.hoverTime,
|
|
520
|
+
extensionKey = _ref17.extensionKey,
|
|
521
|
+
definitionId = _ref17.definitionId,
|
|
522
|
+
destinationProduct = _ref17.destinationProduct,
|
|
523
|
+
destinationSubproduct = _ref17.destinationSubproduct,
|
|
524
|
+
location = _ref17.location,
|
|
525
|
+
previewInvokeMethod = _ref17.previewInvokeMethod,
|
|
526
|
+
status = _ref17.status;
|
|
508
527
|
return {
|
|
509
528
|
action: 'dismissed',
|
|
510
529
|
actionSubject: 'hoverCard',
|
|
@@ -518,22 +537,23 @@ var uiHoverCardDismissedEvent = function uiHoverCardDismissedEvent(_ref16) {
|
|
|
518
537
|
destinationProduct: destinationProduct,
|
|
519
538
|
destinationSubproduct: destinationSubproduct,
|
|
520
539
|
location: location,
|
|
521
|
-
previewInvokeMethod: previewInvokeMethod
|
|
540
|
+
previewInvokeMethod: previewInvokeMethod,
|
|
541
|
+
status: status
|
|
522
542
|
})
|
|
523
543
|
};
|
|
524
544
|
};
|
|
525
545
|
|
|
526
546
|
exports.uiHoverCardDismissedEvent = uiHoverCardDismissedEvent;
|
|
527
547
|
|
|
528
|
-
var uiHoverCardOpenLinkClickedEvent = function uiHoverCardOpenLinkClickedEvent(
|
|
529
|
-
var id =
|
|
530
|
-
previewDisplay =
|
|
531
|
-
extensionKey =
|
|
532
|
-
definitionId =
|
|
533
|
-
destinationProduct =
|
|
534
|
-
destinationSubproduct =
|
|
535
|
-
location =
|
|
536
|
-
previewInvokeMethod =
|
|
548
|
+
var uiHoverCardOpenLinkClickedEvent = function uiHoverCardOpenLinkClickedEvent(_ref18) {
|
|
549
|
+
var id = _ref18.id,
|
|
550
|
+
previewDisplay = _ref18.previewDisplay,
|
|
551
|
+
extensionKey = _ref18.extensionKey,
|
|
552
|
+
definitionId = _ref18.definitionId,
|
|
553
|
+
destinationProduct = _ref18.destinationProduct,
|
|
554
|
+
destinationSubproduct = _ref18.destinationSubproduct,
|
|
555
|
+
location = _ref18.location,
|
|
556
|
+
previewInvokeMethod = _ref18.previewInvokeMethod;
|
|
537
557
|
return {
|
|
538
558
|
action: 'clicked',
|
|
539
559
|
actionSubject: 'button',
|
|
@@ -552,4 +572,16 @@ var uiHoverCardOpenLinkClickedEvent = function uiHoverCardOpenLinkClickedEvent(_
|
|
|
552
572
|
};
|
|
553
573
|
};
|
|
554
574
|
|
|
555
|
-
exports.uiHoverCardOpenLinkClickedEvent = uiHoverCardOpenLinkClickedEvent;
|
|
575
|
+
exports.uiHoverCardOpenLinkClickedEvent = uiHoverCardOpenLinkClickedEvent;
|
|
576
|
+
|
|
577
|
+
var uiLearnMoreLinkClickedEvent = function uiLearnMoreLinkClickedEvent() {
|
|
578
|
+
return {
|
|
579
|
+
action: 'clicked',
|
|
580
|
+
actionSubject: 'button',
|
|
581
|
+
actionSubjectId: 'learnMore',
|
|
582
|
+
eventType: 'ui',
|
|
583
|
+
attributes: _objectSpread({}, context)
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
exports.uiLearnMoreLinkClickedEvent = uiLearnMoreLinkClickedEvent;
|
|
@@ -60,6 +60,12 @@ Object.defineProperty(exports, "screenAuthPopupEvent", {
|
|
|
60
60
|
return _analytics.screenAuthPopupEvent;
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
+
Object.defineProperty(exports, "trackAppAccountAuthStarted", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function get() {
|
|
66
|
+
return _analytics.trackAppAccountAuthStarted;
|
|
67
|
+
}
|
|
68
|
+
});
|
|
63
69
|
Object.defineProperty(exports, "trackAppAccountConnected", {
|
|
64
70
|
enumerable: true,
|
|
65
71
|
get: function get() {
|
|
@@ -114,6 +120,12 @@ Object.defineProperty(exports, "uiHoverCardViewedEvent", {
|
|
|
114
120
|
return _analytics.uiHoverCardViewedEvent;
|
|
115
121
|
}
|
|
116
122
|
});
|
|
123
|
+
Object.defineProperty(exports, "uiLearnMoreLinkClickedEvent", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function get() {
|
|
126
|
+
return _analytics.uiLearnMoreLinkClickedEvent;
|
|
127
|
+
}
|
|
128
|
+
});
|
|
117
129
|
Object.defineProperty(exports, "uiRenderFailedEvent", {
|
|
118
130
|
enumerable: true,
|
|
119
131
|
get: function get() {
|
package/dist/cjs/version.json
CHANGED
|
@@ -34,7 +34,7 @@ var getActionGroupStyles = function getActionGroupStyles(size) {
|
|
|
34
34
|
|
|
35
35
|
var providerStyles = (0, _react2.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n span:first-child {\n margin-right: 0.375rem;\n }\n"])));
|
|
36
36
|
/**
|
|
37
|
-
* This
|
|
37
|
+
* This Component is a footer that is used in a Block Card with Flexible UI.
|
|
38
38
|
* It contains a provider icon if provider is present and an actions list if one is passed.
|
|
39
39
|
* To be shown as a part of Flexible UI, needs to be wrapped inside of a CustomBlock
|
|
40
40
|
*
|