@atlaskit/link-datasource 1.23.3 → 1.23.5
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 +13 -0
- package/dist/cjs/analytics/wrappers/render-failed/index.js +2 -2
- package/dist/cjs/common/utils/locale/fetch-messages-for-locale.js +2 -2
- package/dist/cjs/i18n/cs.js +2 -2
- package/dist/cjs/i18n/da.js +2 -2
- package/dist/cjs/i18n/de.js +2 -2
- package/dist/cjs/i18n/en.js +4 -2
- package/dist/cjs/i18n/en_GB.js +4 -2
- package/dist/cjs/i18n/en_ZZ.js +4 -2
- package/dist/cjs/i18n/es.js +2 -2
- package/dist/cjs/i18n/fi.js +2 -2
- package/dist/cjs/i18n/fr.js +2 -2
- package/dist/cjs/i18n/hu.js +2 -2
- package/dist/cjs/i18n/it.js +2 -2
- package/dist/cjs/i18n/ja.js +2 -2
- package/dist/cjs/i18n/ko.js +2 -2
- package/dist/cjs/i18n/nb.js +2 -2
- package/dist/cjs/i18n/nl.js +2 -2
- package/dist/cjs/i18n/pl.js +2 -2
- package/dist/cjs/i18n/pt_BR.js +2 -2
- package/dist/cjs/i18n/ru.js +2 -2
- package/dist/cjs/i18n/sv.js +2 -2
- package/dist/cjs/i18n/th.js +2 -2
- package/dist/cjs/i18n/tr.js +2 -2
- package/dist/cjs/i18n/uk.js +2 -2
- package/dist/cjs/i18n/vi.js +2 -2
- package/dist/cjs/i18n/zh.js +2 -2
- package/dist/cjs/i18n/zh_TW.js +2 -2
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/services/cmdbService.utils.js +1 -1
- package/dist/cjs/ui/assets-modal/index.js +2 -2
- package/dist/cjs/ui/assets-modal/modal/index.js +2 -2
- package/dist/cjs/ui/assets-modal/search-container/aql-search-input/index.js +2 -2
- package/dist/cjs/ui/common/error-state/provider-auth-required.js +2 -2
- package/dist/cjs/ui/datasource-table-view/index.js +2 -2
- package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +13 -5
- package/dist/cjs/ui/issue-like-table/empty-state/index.js +2 -2
- package/dist/cjs/ui/issue-like-table/render-type/index.js +2 -2
- package/dist/cjs/ui/issue-like-table/render-type/link/index.js +2 -2
- package/dist/cjs/ui/issue-like-table/render-type/user/index.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.js +2 -3
- package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/async-popup-select/trigger.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/index.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/menu-list/errorMessage.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/menu-list/index.js +8 -2
- package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/menu-list/noOptionsMessage.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/basic-filters/utils/extractValuesFromNonComplexJQL.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/basic-filters/utils/isQueryTooComplex.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/index.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/jira-search-container/index.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/jql-editor/index.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/modal/display-view-dropdown/display-view-drop-down.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/modal/index.js +5 -7
- package/dist/cjs/ui/table-footer/index.js +29 -7
- package/dist/cjs/ui/table-footer/sync-info/index.js +2 -2
- package/dist/es2019/i18n/cs.js +2 -2
- package/dist/es2019/i18n/da.js +2 -2
- package/dist/es2019/i18n/de.js +2 -2
- package/dist/es2019/i18n/en.js +4 -2
- package/dist/es2019/i18n/en_GB.js +4 -2
- package/dist/es2019/i18n/en_ZZ.js +4 -2
- package/dist/es2019/i18n/es.js +2 -2
- package/dist/es2019/i18n/fi.js +2 -2
- package/dist/es2019/i18n/fr.js +2 -2
- package/dist/es2019/i18n/hu.js +2 -2
- package/dist/es2019/i18n/it.js +2 -2
- package/dist/es2019/i18n/ja.js +2 -2
- package/dist/es2019/i18n/ko.js +2 -2
- package/dist/es2019/i18n/nb.js +2 -2
- package/dist/es2019/i18n/nl.js +2 -2
- package/dist/es2019/i18n/pl.js +2 -2
- package/dist/es2019/i18n/pt_BR.js +2 -2
- package/dist/es2019/i18n/ru.js +2 -2
- package/dist/es2019/i18n/sv.js +2 -2
- package/dist/es2019/i18n/th.js +2 -2
- package/dist/es2019/i18n/tr.js +2 -2
- package/dist/es2019/i18n/uk.js +2 -2
- package/dist/es2019/i18n/vi.js +2 -2
- package/dist/es2019/i18n/zh.js +2 -2
- package/dist/es2019/i18n/zh_TW.js +2 -2
- package/dist/es2019/ui/assets-modal/search-container/aql-search-input/index.js +3 -3
- package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +10 -10
- package/dist/es2019/ui/issue-like-table/empty-state/index.js +2 -2
- package/dist/es2019/ui/issue-like-table/render-type/icon/index.js +0 -1
- package/dist/es2019/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.js +0 -1
- package/dist/es2019/ui/jira-issues-modal/basic-filters/ui/menu-list/index.js +9 -3
- package/dist/es2019/ui/jira-issues-modal/modal/index.js +3 -5
- package/dist/es2019/ui/table-footer/index.js +28 -28
- package/dist/esm/i18n/cs.js +2 -2
- package/dist/esm/i18n/da.js +2 -2
- package/dist/esm/i18n/de.js +2 -2
- package/dist/esm/i18n/en.js +4 -2
- package/dist/esm/i18n/en_GB.js +4 -2
- package/dist/esm/i18n/en_ZZ.js +4 -2
- package/dist/esm/i18n/es.js +2 -2
- package/dist/esm/i18n/fi.js +2 -2
- package/dist/esm/i18n/fr.js +2 -2
- package/dist/esm/i18n/hu.js +2 -2
- package/dist/esm/i18n/it.js +2 -2
- package/dist/esm/i18n/ja.js +2 -2
- package/dist/esm/i18n/ko.js +2 -2
- package/dist/esm/i18n/nb.js +2 -2
- package/dist/esm/i18n/nl.js +2 -2
- package/dist/esm/i18n/pl.js +2 -2
- package/dist/esm/i18n/pt_BR.js +2 -2
- package/dist/esm/i18n/ru.js +2 -2
- package/dist/esm/i18n/sv.js +2 -2
- package/dist/esm/i18n/th.js +2 -2
- package/dist/esm/i18n/tr.js +2 -2
- package/dist/esm/i18n/uk.js +2 -2
- package/dist/esm/i18n/vi.js +2 -2
- package/dist/esm/i18n/zh.js +2 -2
- package/dist/esm/i18n/zh_TW.js +2 -2
- package/dist/esm/services/cmdbService.utils.js +1 -1
- package/dist/esm/ui/assets-modal/search-container/aql-search-input/index.js +3 -3
- package/dist/esm/ui/issue-like-table/draggable-table-heading.js +11 -3
- package/dist/esm/ui/issue-like-table/empty-state/index.js +2 -2
- package/dist/esm/ui/issue-like-table/render-type/icon/index.js +0 -1
- package/dist/esm/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.js +0 -1
- package/dist/esm/ui/jira-issues-modal/basic-filters/ui/menu-list/index.js +9 -3
- package/dist/esm/ui/jira-issues-modal/basic-filters/utils/extractValuesFromNonComplexJQL.js +1 -1
- package/dist/esm/ui/jira-issues-modal/basic-filters/utils/isQueryTooComplex.js +1 -1
- package/dist/esm/ui/jira-issues-modal/modal/index.js +3 -5
- package/dist/esm/ui/table-footer/index.js +28 -7
- package/dist/types/i18n/en.d.ts +2 -0
- package/dist/types/i18n/en_GB.d.ts +2 -0
- package/dist/types/i18n/en_ZZ.d.ts +2 -0
- package/dist/types-ts4.5/i18n/en.d.ts +2 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +2 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +2 -0
- package/examples-helpers/buildIssueLikeTable.tsx +13 -10
- package/examples-helpers/buildJiraIssuesTable.tsx +4 -4
- package/package.json +11 -10
package/dist/esm/i18n/pl.js
CHANGED
|
@@ -35,8 +35,8 @@ export default {
|
|
|
35
35
|
'linkDataSource.column-picker.search': 'Wyszukaj pola',
|
|
36
36
|
'linkDataSource.column-picker.tooltip': 'Konfiguruj kolumny',
|
|
37
37
|
'linkDataSource.datasource.table.authConnectButtonText': 'Połącz',
|
|
38
|
-
'linkDataSource.datasource.table.authScreenDescriptionText': 'Połącz swoje konto, aby współpracować w różnych produktach Atlassian.',
|
|
39
|
-
'linkDataSource.datasource.table.authScreenHeaderText': '
|
|
38
|
+
'linkDataSource.datasource.table.authScreenDescriptionText': 'Połącz swoje konto {providerName}, aby współpracować w różnych produktach Atlassian.',
|
|
39
|
+
'linkDataSource.datasource.table.authScreenHeaderText': 'Połącz konto {providerName}',
|
|
40
40
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Dowiedz się więcej o inteligentnych łączach.',
|
|
41
41
|
'linkDataSource.jira-issues.accessInstructions': 'Aby poprosić o dostęp, skontaktuj się z administratorem witryny.',
|
|
42
42
|
'linkDataSource.jira-issues.accessRequired': 'Nie masz dostępu do tej treści',
|
package/dist/esm/i18n/pt_BR.js
CHANGED
|
@@ -35,8 +35,8 @@ export default {
|
|
|
35
35
|
'linkDataSource.column-picker.search': 'Pesquisar campos',
|
|
36
36
|
'linkDataSource.column-picker.tooltip': 'Configurar colunas',
|
|
37
37
|
'linkDataSource.datasource.table.authConnectButtonText': 'Conectar',
|
|
38
|
-
'linkDataSource.datasource.table.authScreenDescriptionText': 'Conecte a conta para colaborar no trabalho em todos os produtos da Atlassian.',
|
|
39
|
-
'linkDataSource.datasource.table.authScreenHeaderText': 'Conectar conta',
|
|
38
|
+
'linkDataSource.datasource.table.authScreenDescriptionText': 'Conecte a conta {providerName} para colaborar no trabalho em todos os produtos da Atlassian.',
|
|
39
|
+
'linkDataSource.datasource.table.authScreenHeaderText': 'Conectar a conta do {providerName}',
|
|
40
40
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Saiba mais sobre os links inteligentes.',
|
|
41
41
|
'linkDataSource.jira-issues.accessInstructions': 'Para pedir acesso, entre em contato com o administrador do site.',
|
|
42
42
|
'linkDataSource.jira-issues.accessRequired': 'Você não tem acesso a este conteúdo',
|
package/dist/esm/i18n/ru.js
CHANGED
|
@@ -35,8 +35,8 @@ export default {
|
|
|
35
35
|
'linkDataSource.column-picker.search': 'Поиск полей',
|
|
36
36
|
'linkDataSource.column-picker.tooltip': 'Настроить столбцы',
|
|
37
37
|
'linkDataSource.datasource.table.authConnectButtonText': 'Подключить',
|
|
38
|
-
'linkDataSource.datasource.table.authScreenDescriptionText': 'Подключите свой аккаунт для совместной работы в продуктах Atlassian.',
|
|
39
|
-
'linkDataSource.datasource.table.authScreenHeaderText': '
|
|
38
|
+
'linkDataSource.datasource.table.authScreenDescriptionText': 'Подключите свой аккаунт {providerName} для совместной работы в продуктах Atlassian.',
|
|
39
|
+
'linkDataSource.datasource.table.authScreenHeaderText': 'Подключите свой аккаунт {providerName}',
|
|
40
40
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Подробнее об интеллектуальных ссылках.',
|
|
41
41
|
'linkDataSource.jira-issues.accessInstructions': 'Запросите доступ у администратора сайта.',
|
|
42
42
|
'linkDataSource.jira-issues.accessRequired': 'У вас нет доступа к этому контенту',
|
package/dist/esm/i18n/sv.js
CHANGED
|
@@ -35,8 +35,8 @@ export default {
|
|
|
35
35
|
'linkDataSource.column-picker.search': 'Sök efter fält',
|
|
36
36
|
'linkDataSource.column-picker.tooltip': 'Konfigurera kolumner',
|
|
37
37
|
'linkDataSource.datasource.table.authConnectButtonText': 'Anslut',
|
|
38
|
-
'linkDataSource.datasource.table.authScreenDescriptionText': 'Anslut ditt konto för att samarbeta kring projekt i flera Atlassian-produkter.',
|
|
39
|
-
'linkDataSource.datasource.table.authScreenHeaderText': 'Anslut ditt konto',
|
|
38
|
+
'linkDataSource.datasource.table.authScreenDescriptionText': 'Anslut ditt {providerName}-konto för att samarbeta kring projekt i flera Atlassian-produkter.',
|
|
39
|
+
'linkDataSource.datasource.table.authScreenHeaderText': 'Anslut ditt {providerName}-konto',
|
|
40
40
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Läs mer om smarta länkar.',
|
|
41
41
|
'linkDataSource.jira-issues.accessInstructions': 'Kontakta din webbplatsadministratör för att begära tillgång:',
|
|
42
42
|
'linkDataSource.jira-issues.accessRequired': 'Du har inte åtkomst till det här innehållet',
|
package/dist/esm/i18n/th.js
CHANGED
|
@@ -35,8 +35,8 @@ export default {
|
|
|
35
35
|
'linkDataSource.column-picker.search': 'ค้นหาฟิลด์',
|
|
36
36
|
'linkDataSource.column-picker.tooltip': 'กำหนดค่าคอลัมน์',
|
|
37
37
|
'linkDataSource.datasource.table.authConnectButtonText': 'เชื่อมต่อ',
|
|
38
|
-
'linkDataSource.datasource.table.authScreenDescriptionText': '
|
|
39
|
-
'linkDataSource.datasource.table.authScreenHeaderText': '
|
|
38
|
+
'linkDataSource.datasource.table.authScreenDescriptionText': 'เชื่อมต่อบัญชี {providerName} ของคุณเพื่อทำงานร่วมกันในผลิตภัณฑ์ต่าง ๆ ของ Atlassian',
|
|
39
|
+
'linkDataSource.datasource.table.authScreenHeaderText': 'เชื่อมต่อบัญชี {providerName} ของคุณ',
|
|
40
40
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'เรียนรู้เพิ่มเติมเกี่ยวกับสมาร์ทลิงก์ (ลิงก์อัจฉริยะ)',
|
|
41
41
|
'linkDataSource.jira-issues.accessInstructions': 'หากต้องการส่งคำขอการเข้าถึง โปรดติดต่อผู้ดูแลระบบเว็บไซต์ของคุณ',
|
|
42
42
|
'linkDataSource.jira-issues.accessRequired': 'คุณไม่มีสิทธิ์การเข้าถึงเนื้อหานี้',
|
package/dist/esm/i18n/tr.js
CHANGED
|
@@ -35,8 +35,8 @@ export default {
|
|
|
35
35
|
'linkDataSource.column-picker.search': 'Alan arayın',
|
|
36
36
|
'linkDataSource.column-picker.tooltip': 'Sütunları yapılandır',
|
|
37
37
|
'linkDataSource.datasource.table.authConnectButtonText': 'Bağla',
|
|
38
|
-
'linkDataSource.datasource.table.authScreenDescriptionText': 'Atlassian ürünlerindeki çalışmalarda iş birliği yapmak için hesabınızı bağlayın.',
|
|
39
|
-
'linkDataSource.datasource.table.authScreenHeaderText': '
|
|
38
|
+
'linkDataSource.datasource.table.authScreenDescriptionText': 'Atlassian ürünlerindeki çalışmalarda iş birliği yapmak için {providerName} hesabınızı bağlayın.',
|
|
39
|
+
'linkDataSource.datasource.table.authScreenHeaderText': '{providerName} hesabınızı bağlayın',
|
|
40
40
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Akıllı Bağlantılar hakkında daha fazla bilgi edinin.',
|
|
41
41
|
'linkDataSource.jira-issues.accessInstructions': 'Erişim talep etmek için site yöneticinizle iletişime geçin.',
|
|
42
42
|
'linkDataSource.jira-issues.accessRequired': 'Bu içeriğe erişiminiz yok',
|
package/dist/esm/i18n/uk.js
CHANGED
|
@@ -35,8 +35,8 @@ export default {
|
|
|
35
35
|
'linkDataSource.column-picker.search': 'Пошук полів',
|
|
36
36
|
'linkDataSource.column-picker.tooltip': 'Налаштувати стовпці',
|
|
37
37
|
'linkDataSource.datasource.table.authConnectButtonText': 'Підключити',
|
|
38
|
-
'linkDataSource.datasource.table.authScreenDescriptionText': 'Підключіть свій обліковий
|
|
39
|
-
'linkDataSource.datasource.table.authScreenHeaderText': 'Підключіть обліковий запис',
|
|
38
|
+
'linkDataSource.datasource.table.authScreenDescriptionText': 'Підключіть свій обліковий запис {providerName}, щоб співпрацювати з іншими в продуктах Atlassian.',
|
|
39
|
+
'linkDataSource.datasource.table.authScreenHeaderText': 'Підключіть обліковий запис {providerName}',
|
|
40
40
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Докладніше про смарт-посилання.',
|
|
41
41
|
'linkDataSource.jira-issues.accessInstructions': 'Щоб надіслати запит на доступ, зверніться до адміністратора сайту.',
|
|
42
42
|
'linkDataSource.jira-issues.accessRequired': 'У вас немає доступу до цього вмісту',
|
package/dist/esm/i18n/vi.js
CHANGED
|
@@ -35,8 +35,8 @@ export default {
|
|
|
35
35
|
'linkDataSource.column-picker.search': 'Tìm kiếm trường',
|
|
36
36
|
'linkDataSource.column-picker.tooltip': 'Đặt cấu hình cột',
|
|
37
37
|
'linkDataSource.datasource.table.authConnectButtonText': 'Kết nối',
|
|
38
|
-
'linkDataSource.datasource.table.authScreenDescriptionText': 'Kết nối tài khoản của bạn để cộng tác trong công việc trên khắp các sản phẩm Atlassian.',
|
|
39
|
-
'linkDataSource.datasource.table.authScreenHeaderText': 'Kết nối tài khoản của bạn',
|
|
38
|
+
'linkDataSource.datasource.table.authScreenDescriptionText': 'Kết nối tài khoản {providerName} của bạn để cộng tác trong công việc trên khắp các sản phẩm Atlassian.',
|
|
39
|
+
'linkDataSource.datasource.table.authScreenHeaderText': 'Kết nối tài khoản {providerName} của bạn',
|
|
40
40
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Tìm hiểu thêm về Liên kết Thông minh.',
|
|
41
41
|
'linkDataSource.jira-issues.accessInstructions': 'Để yêu cầu quyền truy cập, hãy liên hệ với quản trị viên trang web của bạn.',
|
|
42
42
|
'linkDataSource.jira-issues.accessRequired': 'Bạn không có quyền truy cập nội dung này',
|
package/dist/esm/i18n/zh.js
CHANGED
|
@@ -35,8 +35,8 @@ export default {
|
|
|
35
35
|
'linkDataSource.column-picker.search': '搜索字段',
|
|
36
36
|
'linkDataSource.column-picker.tooltip': '配置列',
|
|
37
37
|
'linkDataSource.datasource.table.authConnectButtonText': '连接',
|
|
38
|
-
'linkDataSource.datasource.table.authScreenDescriptionText': '
|
|
39
|
-
'linkDataSource.datasource.table.authScreenHeaderText': '
|
|
38
|
+
'linkDataSource.datasource.table.authScreenDescriptionText': '关联您的 {providerName} 帐户,以便跨 Atlassian 产品协作处理工作。',
|
|
39
|
+
'linkDataSource.datasource.table.authScreenHeaderText': '连接您的 {providerName} 帐户',
|
|
40
40
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': '了解有关智能链接的更多信息。',
|
|
41
41
|
'linkDataSource.jira-issues.accessInstructions': '要申请访问权限,请联系您的站点管理员。',
|
|
42
42
|
'linkDataSource.jira-issues.accessRequired': '您无权访问此内容',
|
package/dist/esm/i18n/zh_TW.js
CHANGED
|
@@ -35,8 +35,8 @@ export default {
|
|
|
35
35
|
'linkDataSource.column-picker.search': '搜尋欄位',
|
|
36
36
|
'linkDataSource.column-picker.tooltip': '設定欄',
|
|
37
37
|
'linkDataSource.datasource.table.authConnectButtonText': '連結',
|
|
38
|
-
'linkDataSource.datasource.table.authScreenDescriptionText': '
|
|
39
|
-
'linkDataSource.datasource.table.authScreenHeaderText': '
|
|
38
|
+
'linkDataSource.datasource.table.authScreenDescriptionText': '連接您的 {providerName} 帳戶,以在各個 Atlassian 產品上的工作協同合作。',
|
|
39
|
+
'linkDataSource.datasource.table.authScreenHeaderText': '連結 {providerName} 帳戶',
|
|
40
40
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': '深入了解智慧連結。',
|
|
41
41
|
'linkDataSource.jira-issues.accessInstructions': '若要要求存取權,請連絡您的網站管理員。',
|
|
42
42
|
'linkDataSource.jira-issues.accessRequired': '您無法存取此內容',
|
|
@@ -5,7 +5,7 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
5
5
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
6
|
import _wrapNativeSuper from "@babel/runtime/helpers/wrapNativeSuper";
|
|
7
7
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
8
|
-
function _isNativeReflectConstruct() {
|
|
8
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
9
|
export var mapFetchErrors = function mapFetchErrors(error) {
|
|
10
10
|
if (error instanceof Response && !error.ok) {
|
|
11
11
|
return new FetchError(error.status, "Error server response: ".concat(error.status));
|
|
@@ -11,7 +11,7 @@ import SearchIcon from '@atlaskit/icon/glyph/editor/search';
|
|
|
11
11
|
import QuestionCircleIcon from '@atlaskit/icon/glyph/question-circle';
|
|
12
12
|
import Spinner from '@atlaskit/spinner';
|
|
13
13
|
import Textfield from '@atlaskit/textfield';
|
|
14
|
-
import { N500 } from '@atlaskit/theme/colors';
|
|
14
|
+
import { G300, N500, R400 } from '@atlaskit/theme/colors';
|
|
15
15
|
import Tooltip from '@atlaskit/tooltip';
|
|
16
16
|
import { useValidateAqlText } from '../../../../hooks/useValidateAqlText';
|
|
17
17
|
import { aqlKey } from '../../../../types/assets/types';
|
|
@@ -40,7 +40,7 @@ var renderValidatorIcon = function renderValidatorIcon(lastValidationResult) {
|
|
|
40
40
|
if (lastValidationResult.type === 'invalid') {
|
|
41
41
|
return jsx(CrossCircleIcon, {
|
|
42
42
|
label: "label",
|
|
43
|
-
primaryColor: "
|
|
43
|
+
primaryColor: "var(--ds-icon-danger, ".concat(R400, ")"),
|
|
44
44
|
size: "medium",
|
|
45
45
|
testId: "assets-datasource-modal--aql-invalid"
|
|
46
46
|
});
|
|
@@ -48,7 +48,7 @@ var renderValidatorIcon = function renderValidatorIcon(lastValidationResult) {
|
|
|
48
48
|
if (lastValidationResult.type === 'valid') {
|
|
49
49
|
return jsx(CheckCircleIcon, {
|
|
50
50
|
label: "label",
|
|
51
|
-
primaryColor: "
|
|
51
|
+
primaryColor: "var(--ds-icon-success, ".concat(G300, ")"),
|
|
52
52
|
size: "medium",
|
|
53
53
|
testId: "assets-datasource-modal--aql-valid"
|
|
54
54
|
});
|
|
@@ -2,9 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
5
|
-
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
6
5
|
var _excluded = ["triggerRef"];
|
|
7
|
-
var _templateObject;
|
|
8
6
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
8
|
/** @jsx jsx */
|
|
@@ -30,7 +28,17 @@ import { GlyphPlaceholder, UnwrapTextIcon, WrapTextIcon } from './custom-icons';
|
|
|
30
28
|
import { issueLikeTableMessages } from './messages';
|
|
31
29
|
import { TableHeading } from './styled';
|
|
32
30
|
import { COLUMN_MIN_WIDTH, getWidthCss } from './utils';
|
|
33
|
-
var DropdownParent = styled.div(
|
|
31
|
+
var DropdownParent = styled.div({
|
|
32
|
+
display: 'flex',
|
|
33
|
+
alignItems: 'center',
|
|
34
|
+
whiteSpace: 'nowrap',
|
|
35
|
+
'& button': {
|
|
36
|
+
textAlign: 'left' /* By default button center in the middle without props to control it */,
|
|
37
|
+
height: 'auto' /* By default button is not happy with tall (up to lines in our case) content */,
|
|
38
|
+
paddingLeft: "var(--ds-space-0, 0px)" /* By default button's padding left and right is 8 + 4. We control that 8, so left with 4 that we need. */,
|
|
39
|
+
paddingRight: "var(--ds-space-0, 0px)"
|
|
40
|
+
}
|
|
41
|
+
});
|
|
34
42
|
var dropTargetStyles = css({
|
|
35
43
|
position: 'absolute',
|
|
36
44
|
top: 0,
|
|
@@ -7,7 +7,7 @@ var SkeletonComponent = function SkeletonComponent(_ref) {
|
|
|
7
7
|
var width = _ref.width,
|
|
8
8
|
itemName = _ref.itemName;
|
|
9
9
|
return jsx(Skeleton, {
|
|
10
|
-
borderRadius:
|
|
10
|
+
borderRadius: "var(--ds-border-radius-100, 8px)",
|
|
11
11
|
testId: "".concat(itemName, "-empty-state-skeleton"),
|
|
12
12
|
height: 14,
|
|
13
13
|
width: width
|
|
@@ -104,7 +104,7 @@ export default (function (_ref4) {
|
|
|
104
104
|
// the IssueLikeDataTableView wraps the table in a container with the styling below while modal doesn't
|
|
105
105
|
// this maxHeight comes from scrollableContainerHeight
|
|
106
106
|
maxHeight: ScrollableContainerHeight,
|
|
107
|
-
padding: 0,
|
|
107
|
+
padding: "var(--ds-space-0, 0px)",
|
|
108
108
|
boxSizing: 'border-box'
|
|
109
109
|
}
|
|
110
110
|
}, jsx("table", {
|
|
@@ -244,7 +244,6 @@ var AsyncPopupSelect = function AsyncPopupSelect(_ref) {
|
|
|
244
244
|
// disables the three ... indicator in the searchbox when picker is loading
|
|
245
245
|
IndicatorSeparator: undefined // disables the | separator between search input and icon
|
|
246
246
|
},
|
|
247
|
-
|
|
248
247
|
options: popupSelectOptions,
|
|
249
248
|
value: selectedOptions,
|
|
250
249
|
filterOption: noFilterOptions,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
2
|
var _excluded = ["children"];
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { Flex, xcss } from '@atlaskit/primitives';
|
|
4
|
+
import { Box, Flex, xcss } from '@atlaskit/primitives';
|
|
5
5
|
import { components } from '@atlaskit/select';
|
|
6
6
|
import Spinner from '@atlaskit/spinner';
|
|
7
7
|
import ShowMoreButton from '../async-popup-select/showMoreButton';
|
|
@@ -11,6 +11,10 @@ import CustomNoOptionsMessage from './noOptionsMessage';
|
|
|
11
11
|
var inlineSpinnerStyles = xcss({
|
|
12
12
|
paddingTop: "var(--ds-space-075, 6px)"
|
|
13
13
|
});
|
|
14
|
+
var showMoreButtonBoxStyles = xcss({
|
|
15
|
+
paddingLeft: "var(--ds-space-075, 6px)",
|
|
16
|
+
paddingTop: "var(--ds-space-100, 8px)"
|
|
17
|
+
});
|
|
14
18
|
var CustomMenuList = function CustomMenuList(_ref) {
|
|
15
19
|
var children = _ref.children,
|
|
16
20
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -48,9 +52,11 @@ var CustomMenuList = function CustomMenuList(_ref) {
|
|
|
48
52
|
filterType: filterType
|
|
49
53
|
});
|
|
50
54
|
}
|
|
51
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, children, shouldDisplayShowMore && /*#__PURE__*/React.createElement(
|
|
55
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, children, shouldDisplayShowMore && /*#__PURE__*/React.createElement(Box, {
|
|
56
|
+
xcss: showMoreButtonBoxStyles
|
|
57
|
+
}, /*#__PURE__*/React.createElement(ShowMoreButton, {
|
|
52
58
|
onShowMore: handleShowMore
|
|
53
|
-
}), isLoadingMoreData && /*#__PURE__*/React.createElement(InlineSpinner, null));
|
|
59
|
+
})), isLoadingMoreData && /*#__PURE__*/React.createElement(InlineSpinner, null));
|
|
54
60
|
};
|
|
55
61
|
return /*#__PURE__*/React.createElement(components.MenuList, props, renderChildren());
|
|
56
62
|
};
|
|
@@ -6,7 +6,7 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
6
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
8
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
9
|
-
function _isNativeReflectConstruct() {
|
|
9
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
10
|
import mergeWith from 'lodash/mergeWith';
|
|
11
11
|
import { AbstractJastVisitor, JastBuilder, NODE_TYPE_ORDER_BY, OPERAND_EMPTY, OPERAND_TYPE_KEYWORD, OPERAND_TYPE_LIST, OPERAND_TYPE_VALUE } from '@atlaskit/jql-ast';
|
|
12
12
|
import { isQueryTooComplex } from './isQueryTooComplex';
|
|
@@ -8,7 +8,7 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
8
8
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
9
9
|
import _wrapNativeSuper from "@babel/runtime/helpers/wrapNativeSuper";
|
|
10
10
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11
|
-
function _isNativeReflectConstruct() {
|
|
11
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
12
12
|
import mergeWith from 'lodash/mergeWith';
|
|
13
13
|
import { AbstractJastVisitor, COMPOUND_OPERATOR_AND, COMPOUND_OPERATOR_OR, JastBuilder, OPERATOR_EQUALS, OPERATOR_IN, OPERATOR_LIKE } from '@atlaskit/jql-ast';
|
|
14
14
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
@@ -49,7 +49,6 @@ var dropdownContainerStyles = css({
|
|
|
49
49
|
gap: "var(--ds-space-100, 0.5rem)",
|
|
50
50
|
minHeight: '40px' // to prevent vertical shifting when site selector pops in
|
|
51
51
|
});
|
|
52
|
-
|
|
53
52
|
var tableContainerStyles = css({
|
|
54
53
|
borderTopLeftRadius: "var(--ds-border-radius-200, 8px)",
|
|
55
54
|
borderTopRightRadius: "var(--ds-border-radius-200, 8px)",
|
|
@@ -68,17 +67,17 @@ var contentContainerStyles = css({
|
|
|
68
67
|
});
|
|
69
68
|
var placeholderSmartLinkStyles = css({
|
|
70
69
|
backgroundColor: "var(--ds-surface-raised, ".concat(N0, ")"),
|
|
71
|
-
borderRadius:
|
|
70
|
+
borderRadius: "var(--ds-border-radius-200, 3px)",
|
|
72
71
|
boxShadow: '0px 1px 1px rgba(9, 30, 66, 0.25), 0px 0px 1px rgba(9, 30, 66, 0.31)',
|
|
73
72
|
color: "var(--ds-text-brand, ".concat(B400, ")"),
|
|
74
|
-
padding: "0px
|
|
73
|
+
padding: "var(--ds-space-0, 0px)".concat(" ", "var(--ds-space-025, 2px)")
|
|
75
74
|
});
|
|
76
75
|
var issueCountStyles = css({
|
|
77
76
|
flex: 1,
|
|
78
77
|
fontWeight: 600
|
|
79
78
|
});
|
|
80
79
|
var smartLinkContainerStyles = css({
|
|
81
|
-
paddingLeft:
|
|
80
|
+
paddingLeft: "var(--ds-space-025, 2px)"
|
|
82
81
|
});
|
|
83
82
|
var getDisplayValue = function getDisplayValue(currentViewMode, itemCount) {
|
|
84
83
|
if (currentViewMode === 'issue') {
|
|
@@ -419,7 +418,6 @@ export var PlainJiraIssuesConfigModal = function PlainJiraIssuesConfigModal(prop
|
|
|
419
418
|
cloudId: cloudId,
|
|
420
419
|
jql: upToDateJql // TODO support non JQL type
|
|
421
420
|
},
|
|
422
|
-
|
|
423
421
|
views: [{
|
|
424
422
|
type: 'table',
|
|
425
423
|
properties: {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
|
-
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
4
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
5
3
|
/** @jsx jsx */
|
|
6
4
|
import { Fragment, useEffect, useState } from 'react';
|
|
7
5
|
import { jsx } from '@emotion/react';
|
|
@@ -14,11 +12,34 @@ import LinkUrl from '@atlaskit/smart-card/link-url';
|
|
|
14
12
|
import { N0, N40, N800, N90 } from '@atlaskit/theme/colors';
|
|
15
13
|
import { footerMessages } from './messages';
|
|
16
14
|
import { SyncInfo } from './sync-info';
|
|
17
|
-
var FooterWrapper = styled.div(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
var FooterWrapper = styled.div({
|
|
16
|
+
padding: "var(--ds-space-0, 0px)".concat(" ", "var(--ds-space-200, 16px)"),
|
|
17
|
+
boxSizing: 'border-box',
|
|
18
|
+
borderRadius: 'inherit',
|
|
19
|
+
borderTopLeftRadius: 0,
|
|
20
|
+
borderTopRightRadius: 0,
|
|
21
|
+
background: "var(--ds-background-input, ".concat(N0, ")"),
|
|
22
|
+
borderTop: "2px solid ".concat("var(--ds-background-accent-gray-subtler, ".concat(N40, ")"))
|
|
23
|
+
});
|
|
24
|
+
var TopBorderWrapper = styled.div({
|
|
25
|
+
display: 'flex',
|
|
26
|
+
boxSizing: 'border-box',
|
|
27
|
+
justifyContent: 'space-between',
|
|
28
|
+
padding: "var(--ds-space-250, 20px)".concat(" ", "var(--ds-space-0, 0px)")
|
|
29
|
+
});
|
|
30
|
+
var ItemCounterWrapper = styled.div({
|
|
31
|
+
display: 'flex',
|
|
32
|
+
alignSelf: 'center'
|
|
33
|
+
});
|
|
34
|
+
var SyncWrapper = styled.div({
|
|
35
|
+
display: 'flex',
|
|
36
|
+
alignItems: 'center',
|
|
37
|
+
color: "var(--ds-text-accent-gray, ".concat(N90, ")")
|
|
38
|
+
});
|
|
39
|
+
var SyncTextWrapper = styled.div({
|
|
40
|
+
marginRight: "var(--ds-space-075, 6px)",
|
|
41
|
+
fontSize: '12px'
|
|
42
|
+
});
|
|
22
43
|
export var TableFooter = function TableFooter(_ref) {
|
|
23
44
|
var itemCount = _ref.itemCount,
|
|
24
45
|
onRefresh = _ref.onRefresh,
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ declare const _default: {
|
|
|
36
36
|
'linkDataSource.datasource.table.authScreenDescriptionText': string;
|
|
37
37
|
'linkDataSource.datasource.table.authScreenHeaderText': string;
|
|
38
38
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': string;
|
|
39
|
+
'linkDataSource.issue-line-table.unwrap-text': string;
|
|
40
|
+
'linkDataSource.issue-line-table.wrap-text': string;
|
|
39
41
|
'linkDataSource.jira-issues.accessInstructions': string;
|
|
40
42
|
'linkDataSource.jira-issues.accessRequired': string;
|
|
41
43
|
'linkDataSource.jira-issues.accessRequiredWithSite': string;
|
|
@@ -36,6 +36,8 @@ declare const _default: {
|
|
|
36
36
|
'linkDataSource.datasource.table.authScreenDescriptionText': string;
|
|
37
37
|
'linkDataSource.datasource.table.authScreenHeaderText': string;
|
|
38
38
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': string;
|
|
39
|
+
'linkDataSource.issue-line-table.unwrap-text': string;
|
|
40
|
+
'linkDataSource.issue-line-table.wrap-text': string;
|
|
39
41
|
'linkDataSource.jira-issues.accessInstructions': string;
|
|
40
42
|
'linkDataSource.jira-issues.accessRequired': string;
|
|
41
43
|
'linkDataSource.jira-issues.accessRequiredWithSite': string;
|
|
@@ -36,6 +36,8 @@ declare const _default: {
|
|
|
36
36
|
'linkDataSource.datasource.table.authScreenDescriptionText': string;
|
|
37
37
|
'linkDataSource.datasource.table.authScreenHeaderText': string;
|
|
38
38
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': string;
|
|
39
|
+
'linkDataSource.issue-line-table.unwrap-text': string;
|
|
40
|
+
'linkDataSource.issue-line-table.wrap-text': string;
|
|
39
41
|
'linkDataSource.jira-issues.accessInstructions': string;
|
|
40
42
|
'linkDataSource.jira-issues.accessRequired': string;
|
|
41
43
|
'linkDataSource.jira-issues.accessRequiredWithSite': string;
|
|
@@ -36,6 +36,8 @@ declare const _default: {
|
|
|
36
36
|
'linkDataSource.datasource.table.authScreenDescriptionText': string;
|
|
37
37
|
'linkDataSource.datasource.table.authScreenHeaderText': string;
|
|
38
38
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': string;
|
|
39
|
+
'linkDataSource.issue-line-table.unwrap-text': string;
|
|
40
|
+
'linkDataSource.issue-line-table.wrap-text': string;
|
|
39
41
|
'linkDataSource.jira-issues.accessInstructions': string;
|
|
40
42
|
'linkDataSource.jira-issues.accessRequired': string;
|
|
41
43
|
'linkDataSource.jira-issues.accessRequiredWithSite': string;
|
|
@@ -36,6 +36,8 @@ declare const _default: {
|
|
|
36
36
|
'linkDataSource.datasource.table.authScreenDescriptionText': string;
|
|
37
37
|
'linkDataSource.datasource.table.authScreenHeaderText': string;
|
|
38
38
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': string;
|
|
39
|
+
'linkDataSource.issue-line-table.unwrap-text': string;
|
|
40
|
+
'linkDataSource.issue-line-table.wrap-text': string;
|
|
39
41
|
'linkDataSource.jira-issues.accessInstructions': string;
|
|
40
42
|
'linkDataSource.jira-issues.accessRequired': string;
|
|
41
43
|
'linkDataSource.jira-issues.accessRequiredWithSite': string;
|
|
@@ -36,6 +36,8 @@ declare const _default: {
|
|
|
36
36
|
'linkDataSource.datasource.table.authScreenDescriptionText': string;
|
|
37
37
|
'linkDataSource.datasource.table.authScreenHeaderText': string;
|
|
38
38
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': string;
|
|
39
|
+
'linkDataSource.issue-line-table.unwrap-text': string;
|
|
40
|
+
'linkDataSource.issue-line-table.wrap-text': string;
|
|
39
41
|
'linkDataSource.jira-issues.accessInstructions': string;
|
|
40
42
|
'linkDataSource.jira-issues.accessRequired': string;
|
|
41
43
|
'linkDataSource.jira-issues.accessRequiredWithSite': string;
|
|
@@ -3,11 +3,12 @@ import { useEffect, useMemo } from 'react';
|
|
|
3
3
|
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
|
-
import { IntlProvider } from 'react-intl-next';
|
|
7
6
|
|
|
7
|
+
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
8
8
|
import { SmartCardProvider } from '@atlaskit/link-provider';
|
|
9
9
|
import { mockDatasourceFetchRequests } from '@atlaskit/link-test-helpers/datasource';
|
|
10
10
|
|
|
11
|
+
import { fetchMessagesForLocale } from '../src/common/utils/locale/fetch-messages-for-locale';
|
|
11
12
|
import { useDatasourceTableState } from '../src/hooks/useDatasourceTableState';
|
|
12
13
|
import { IssueLikeDataTableView } from '../src/ui/issue-like-table';
|
|
13
14
|
import { JiraIssueDatasourceParameters } from '../src/ui/jira-issues-modal/types';
|
|
@@ -21,15 +22,16 @@ interface Props {
|
|
|
21
22
|
isReadonly?: boolean;
|
|
22
23
|
canResizeColumns?: boolean;
|
|
23
24
|
canControlWrapping?: boolean;
|
|
25
|
+
skipIntl?: boolean;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
|
-
const TableViewWrapper = styled.div
|
|
27
|
-
display: flex
|
|
28
|
-
|
|
29
|
-
overflow: scroll
|
|
30
|
-
width: 100
|
|
31
|
-
height: 100
|
|
32
|
-
|
|
28
|
+
const TableViewWrapper = styled.div({
|
|
29
|
+
display: 'flex',
|
|
30
|
+
flexDirection: 'column',
|
|
31
|
+
overflow: 'scroll',
|
|
32
|
+
width: '100%',
|
|
33
|
+
height: '100%',
|
|
34
|
+
});
|
|
33
35
|
|
|
34
36
|
const ExampleBody = ({
|
|
35
37
|
isReadonly,
|
|
@@ -107,9 +109,10 @@ export const ExampleIssueLikeTable = ({
|
|
|
107
109
|
isReadonly,
|
|
108
110
|
canResizeColumns,
|
|
109
111
|
canControlWrapping,
|
|
112
|
+
skipIntl,
|
|
110
113
|
}: Props) => {
|
|
111
114
|
return (
|
|
112
|
-
<
|
|
115
|
+
<IntlMessagesProvider loaderFn={fetchMessagesForLocale}>
|
|
113
116
|
<SmartCardProvider client={new SmartLinkClient()}>
|
|
114
117
|
<ExampleBody
|
|
115
118
|
isReadonly={isReadonly}
|
|
@@ -117,6 +120,6 @@ export const ExampleIssueLikeTable = ({
|
|
|
117
120
|
canControlWrapping={canControlWrapping}
|
|
118
121
|
/>
|
|
119
122
|
</SmartCardProvider>
|
|
120
|
-
</
|
|
123
|
+
</IntlMessagesProvider>
|
|
121
124
|
);
|
|
122
125
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { useEffect, useMemo } from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
5
4
|
import { SmartCardProvider } from '@atlaskit/link-provider';
|
|
6
5
|
import { mockDatasourceFetchRequests } from '@atlaskit/link-test-helpers/datasource';
|
|
7
6
|
import { DatasourceParameters } from '@atlaskit/linking-types';
|
|
8
7
|
|
|
9
8
|
import { DatasourceTableView } from '../src';
|
|
9
|
+
import { fetchMessagesForLocale } from '../src/common/utils/locale/fetch-messages-for-locale';
|
|
10
10
|
import { JiraIssueDatasourceParameters } from '../src/ui/jira-issues-modal/types';
|
|
11
11
|
|
|
12
12
|
import SmartLinkClient from './smartLinkCustomClient';
|
|
@@ -66,10 +66,10 @@ export const ExampleJiraIssuesTableView = ({
|
|
|
66
66
|
}, [mockDatasourceFetchRequest]);
|
|
67
67
|
|
|
68
68
|
return (
|
|
69
|
-
<
|
|
69
|
+
<IntlMessagesProvider loaderFn={fetchMessagesForLocale}>
|
|
70
70
|
<SmartCardProvider client={new SmartLinkClient()}>
|
|
71
71
|
<JiraIssuesTableView parameters={parameters} />
|
|
72
72
|
</SmartCardProvider>
|
|
73
|
-
</
|
|
73
|
+
</IntlMessagesProvider>
|
|
74
74
|
);
|
|
75
75
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.5",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,19 +24,20 @@
|
|
|
24
24
|
"atlassian": {
|
|
25
25
|
"team": "Linking Platform",
|
|
26
26
|
"inPublicMirror": false,
|
|
27
|
-
"releaseModel": "continuous"
|
|
27
|
+
"releaseModel": "continuous",
|
|
28
|
+
"i18n": true
|
|
28
29
|
},
|
|
29
30
|
"scripts": {
|
|
30
31
|
"analytics:codegen": "yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource --output ./src/analytics/generated"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@atlaskit/adf-schema": "^35.5.
|
|
34
|
+
"@atlaskit/adf-schema": "^35.5.2",
|
|
34
35
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
35
36
|
"@atlaskit/avatar": "^21.5.0",
|
|
36
37
|
"@atlaskit/avatar-group": "^9.5.0",
|
|
37
38
|
"@atlaskit/badge": "^15.2.0",
|
|
38
|
-
"@atlaskit/button": "^17.
|
|
39
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
39
|
+
"@atlaskit/button": "^17.7.0",
|
|
40
|
+
"@atlaskit/dropdown-menu": "^12.7.0",
|
|
40
41
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
41
42
|
"@atlaskit/empty-state": "^7.7.0",
|
|
42
43
|
"@atlaskit/form": "^9.0.3",
|
|
@@ -49,8 +50,8 @@
|
|
|
49
50
|
"@atlaskit/jql-editor": "^4.0.0",
|
|
50
51
|
"@atlaskit/jql-editor-autocomplete-rest": "^2.0.0",
|
|
51
52
|
"@atlaskit/link-client-extension": "^1.8.0",
|
|
52
|
-
"@atlaskit/linking-common": "^5.
|
|
53
|
-
"@atlaskit/linking-types": "^8.
|
|
53
|
+
"@atlaskit/linking-common": "^5.4.0",
|
|
54
|
+
"@atlaskit/linking-types": "^8.7.0",
|
|
54
55
|
"@atlaskit/lozenge": "^11.6.0",
|
|
55
56
|
"@atlaskit/modal-dialog": "^12.10.0",
|
|
56
57
|
"@atlaskit/outbound-auth-flow-client": "^3.4.5",
|
|
@@ -60,8 +61,8 @@
|
|
|
60
61
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^1.0.0",
|
|
61
62
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.0.0",
|
|
62
63
|
"@atlaskit/primitives": "^4.0.0",
|
|
63
|
-
"@atlaskit/select": "^17.
|
|
64
|
-
"@atlaskit/smart-card": "^26.
|
|
64
|
+
"@atlaskit/select": "^17.2.0",
|
|
65
|
+
"@atlaskit/smart-card": "^26.49.0",
|
|
65
66
|
"@atlaskit/spinner": "^16.0.0",
|
|
66
67
|
"@atlaskit/tag": "^12.0.0",
|
|
67
68
|
"@atlaskit/textfield": "6.0.1",
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
"devDependencies": {
|
|
88
89
|
"@af/integration-testing": "*",
|
|
89
90
|
"@af/visual-regression": "*",
|
|
90
|
-
"@atlaskit/link-provider": "^1.
|
|
91
|
+
"@atlaskit/link-provider": "^1.8.0",
|
|
91
92
|
"@atlaskit/link-test-helpers": "^6.2.0",
|
|
92
93
|
"@atlaskit/ssr": "*",
|
|
93
94
|
"@atlaskit/visual-regression": "*",
|