@atlaskit/link-datasource 6.5.0 → 6.6.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 +26 -0
- package/dist/cjs/analytics/generated/use-analytics-events.js +2 -2
- package/dist/cjs/analytics/ufoExperiences/index.js +11 -10
- package/dist/cjs/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +2 -2
- package/dist/cjs/hooks/useAssetsClient.js +2 -2
- package/dist/cjs/hooks/useDatasourceTableFlag.js +2 -2
- package/dist/cjs/hooks/useLoadOptions.js +2 -2
- package/dist/cjs/services/getAvailableSites.js +2 -2
- package/dist/cjs/ui/assets-modal/modal/index.js +11 -7
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
- package/dist/cjs/ui/assets-modal/search-container/aql-search-input/index.js +13 -11
- package/dist/cjs/ui/assets-modal/search-container/index.js +3 -3
- package/dist/cjs/ui/assets-modal/search-container/object-schema-select/index.js +6 -6
- package/dist/cjs/ui/common/error-state/access-required.js +1 -1
- package/dist/cjs/ui/common/error-state/loading-error.js +1 -1
- package/dist/cjs/ui/common/error-state/modal-loading-error.js +2 -2
- package/dist/cjs/ui/common/error-state/provider-auth-required.js +9 -8
- package/dist/cjs/ui/common/initial-state-view/index.js +2 -2
- package/dist/cjs/ui/common/modal/basic-search-input/index.js +6 -6
- package/dist/cjs/ui/common/modal/datasource-modal/createDatasourceModal.js +2 -2
- package/dist/cjs/ui/common/modal/datasource-modal/index.js +1 -1
- package/dist/cjs/ui/common/modal/display-view-dropdown/display-view-drop-down.js +9 -9
- package/dist/cjs/ui/common/modal/mode-switcher/index.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/control.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/custom-checkbox-option.js +4 -4
- package/dist/cjs/ui/common/modal/popup-select/dropdownIndicator.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/formatOptionLabel.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/index.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/menu-list/index.js +3 -3
- package/dist/cjs/ui/common/modal/popup-select/menu-list/loadingMessage.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/menu-list/showMoreButton.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/trigger.js +4 -4
- package/dist/cjs/ui/common/modal/search-count/index.js +2 -2
- package/dist/cjs/ui/common/modal/site-selector/index.js +5 -5
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +2 -2
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +2 -2
- package/dist/cjs/ui/confluence-search-modal/modal/index.js +13 -9
- package/dist/cjs/ui/datasource-table-view/datasourceTableView.js +8 -8
- package/dist/cjs/ui/issue-like-table/column-picker/concatenated-menu-list.js +5 -4
- package/dist/cjs/ui/issue-like-table/column-picker/index.js +8 -7
- package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +19 -17
- package/dist/cjs/ui/issue-like-table/edit-type/icon/index.js +4 -4
- package/dist/cjs/ui/issue-like-table/edit-type/status/index.js +5 -5
- package/dist/cjs/ui/issue-like-table/edit-type/text/index.js +2 -2
- package/dist/cjs/ui/issue-like-table/edit-type/user/index.js +7 -6
- package/dist/cjs/ui/issue-like-table/index.js +17 -17
- package/dist/cjs/ui/issue-like-table/render-type/status/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/tag/index.js +2 -2
- package/dist/cjs/ui/issue-like-table/render-type/user/index.js +4 -4
- package/dist/cjs/ui/issue-like-table/shared-components/avatar/index.js +3 -3
- package/dist/cjs/ui/issue-like-table/table-cell-content/index.js +13 -20
- package/dist/cjs/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/jql-editor/index.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/modal/index.js +15 -10
- package/dist/cjs/ui/table-footer/index.js +2 -2
- package/dist/es2019/analytics/generated/use-analytics-events.js +1 -1
- package/dist/es2019/analytics/ufoExperiences/index.js +2 -1
- package/dist/es2019/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +1 -1
- package/dist/es2019/hooks/useAssetsClient.js +1 -1
- package/dist/es2019/hooks/useDatasourceTableFlag.js +1 -1
- package/dist/es2019/hooks/useLoadOptions.js +1 -1
- package/dist/es2019/services/getAvailableSites.js +1 -1
- package/dist/es2019/ui/assets-modal/modal/index.js +6 -2
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
- package/dist/es2019/ui/assets-modal/search-container/aql-search-input/index.js +8 -6
- package/dist/es2019/ui/assets-modal/search-container/index.js +2 -2
- package/dist/es2019/ui/assets-modal/search-container/object-schema-select/index.js +3 -3
- package/dist/es2019/ui/common/error-state/access-required.js +1 -1
- package/dist/es2019/ui/common/error-state/loading-error.js +1 -1
- package/dist/es2019/ui/common/error-state/modal-loading-error.js +1 -1
- package/dist/es2019/ui/common/error-state/provider-auth-required.js +5 -4
- package/dist/es2019/ui/common/initial-state-view/index.js +2 -2
- package/dist/es2019/ui/common/modal/basic-search-input/index.js +3 -3
- package/dist/es2019/ui/common/modal/datasource-modal/createDatasourceModal.js +1 -1
- package/dist/es2019/ui/common/modal/datasource-modal/index.js +1 -1
- package/dist/es2019/ui/common/modal/display-view-dropdown/display-view-drop-down.js +5 -3
- package/dist/es2019/ui/common/modal/mode-switcher/index.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/control.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/custom-checkbox-option.js +2 -2
- package/dist/es2019/ui/common/modal/popup-select/dropdownIndicator.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/formatOptionLabel.js +2 -2
- package/dist/es2019/ui/common/modal/popup-select/index.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/menu-list/index.js +2 -2
- package/dist/es2019/ui/common/modal/popup-select/menu-list/loadingMessage.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/menu-list/showMoreButton.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/trigger.js +3 -3
- package/dist/es2019/ui/common/modal/search-count/index.js +1 -1
- package/dist/es2019/ui/common/modal/site-selector/index.js +3 -3
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/modal/index.js +7 -3
- package/dist/es2019/ui/datasource-table-view/datasourceTableView.js +2 -2
- package/dist/es2019/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -1
- package/dist/es2019/ui/issue-like-table/column-picker/index.js +4 -3
- package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +11 -9
- package/dist/es2019/ui/issue-like-table/edit-type/icon/index.js +2 -2
- package/dist/es2019/ui/issue-like-table/edit-type/status/index.js +3 -3
- package/dist/es2019/ui/issue-like-table/edit-type/text/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/edit-type/user/index.js +4 -3
- package/dist/es2019/ui/issue-like-table/index.js +7 -7
- package/dist/es2019/ui/issue-like-table/render-type/status/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/tag/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/user/index.js +3 -3
- package/dist/es2019/ui/issue-like-table/shared-components/avatar/index.js +2 -2
- package/dist/es2019/ui/issue-like-table/table-cell-content/index.js +12 -19
- package/dist/es2019/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
- package/dist/es2019/ui/jira-issues-modal/jql-editor/index.js +1 -1
- package/dist/es2019/ui/jira-issues-modal/modal/index.js +8 -3
- package/dist/es2019/ui/table-footer/index.js +1 -1
- package/dist/esm/analytics/generated/use-analytics-events.js +1 -1
- package/dist/esm/analytics/ufoExperiences/index.js +2 -1
- package/dist/esm/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +1 -1
- package/dist/esm/hooks/useAssetsClient.js +1 -1
- package/dist/esm/hooks/useDatasourceTableFlag.js +1 -1
- package/dist/esm/hooks/useLoadOptions.js +1 -1
- package/dist/esm/services/getAvailableSites.js +1 -1
- package/dist/esm/ui/assets-modal/modal/index.js +6 -2
- package/dist/esm/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
- package/dist/esm/ui/assets-modal/search-container/aql-search-input/index.js +8 -6
- package/dist/esm/ui/assets-modal/search-container/index.js +2 -2
- package/dist/esm/ui/assets-modal/search-container/object-schema-select/index.js +3 -3
- package/dist/esm/ui/common/error-state/access-required.js +1 -1
- package/dist/esm/ui/common/error-state/loading-error.js +1 -1
- package/dist/esm/ui/common/error-state/modal-loading-error.js +1 -1
- package/dist/esm/ui/common/error-state/provider-auth-required.js +5 -4
- package/dist/esm/ui/common/initial-state-view/index.js +2 -2
- package/dist/esm/ui/common/modal/basic-search-input/index.js +3 -3
- package/dist/esm/ui/common/modal/datasource-modal/createDatasourceModal.js +1 -1
- package/dist/esm/ui/common/modal/datasource-modal/index.js +1 -1
- package/dist/esm/ui/common/modal/display-view-dropdown/display-view-drop-down.js +5 -3
- package/dist/esm/ui/common/modal/mode-switcher/index.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/control.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/custom-checkbox-option.js +2 -2
- package/dist/esm/ui/common/modal/popup-select/dropdownIndicator.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/formatOptionLabel.js +2 -2
- package/dist/esm/ui/common/modal/popup-select/index.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/menu-list/index.js +2 -2
- package/dist/esm/ui/common/modal/popup-select/menu-list/loadingMessage.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/menu-list/showMoreButton.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/trigger.js +3 -3
- package/dist/esm/ui/common/modal/search-count/index.js +1 -1
- package/dist/esm/ui/common/modal/site-selector/index.js +3 -3
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +1 -1
- package/dist/esm/ui/confluence-search-modal/modal/index.js +7 -3
- package/dist/esm/ui/datasource-table-view/datasourceTableView.js +2 -2
- package/dist/esm/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -1
- package/dist/esm/ui/issue-like-table/column-picker/index.js +4 -3
- package/dist/esm/ui/issue-like-table/draggable-table-heading.js +11 -9
- package/dist/esm/ui/issue-like-table/edit-type/icon/index.js +2 -2
- package/dist/esm/ui/issue-like-table/edit-type/status/index.js +3 -3
- package/dist/esm/ui/issue-like-table/edit-type/text/index.js +1 -1
- package/dist/esm/ui/issue-like-table/edit-type/user/index.js +4 -3
- package/dist/esm/ui/issue-like-table/index.js +7 -7
- package/dist/esm/ui/issue-like-table/render-type/status/index.js +1 -1
- package/dist/esm/ui/issue-like-table/render-type/tag/index.js +1 -1
- package/dist/esm/ui/issue-like-table/render-type/user/index.js +3 -3
- package/dist/esm/ui/issue-like-table/shared-components/avatar/index.js +2 -2
- package/dist/esm/ui/issue-like-table/table-cell-content/index.js +12 -19
- package/dist/esm/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
- package/dist/esm/ui/jira-issues-modal/jql-editor/index.js +1 -1
- package/dist/esm/ui/jira-issues-modal/modal/index.js +8 -3
- package/dist/esm/ui/table-footer/index.js +1 -1
- package/dist/types/analytics/ufoExperiences/hooks/useColumnPickerRenderedFailedUfoExperience.d.ts +1 -1
- package/dist/types/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +1 -1
- package/dist/types/common/types.d.ts +1 -1
- package/dist/types/hooks/useDatasourceTableFlag.d.ts +1 -1
- package/dist/types/hooks/useDatasourceTableState.d.ts +1 -1
- package/dist/types/hooks/useLoadOptions.d.ts +3 -3
- package/dist/types/services/makeGetJqlAutocompleteData.d.ts +1 -1
- package/dist/types/services/makeGetJqlSuggestionsData.d.ts +1 -1
- package/dist/types/state/actions/index.d.ts +3 -3
- package/dist/types/state/index.d.ts +3 -3
- package/dist/types/ui/assets-modal/modal/index.d.ts +1 -1
- package/dist/types/ui/assets-modal/modal/render-assets-content/index.d.ts +1 -1
- package/dist/types/ui/assets-modal/types.d.ts +1 -1
- package/dist/types/ui/common/error-state/provider-auth-required.d.ts +1 -1
- package/dist/types/ui/common/modal/datasource-context/index.d.ts +1 -1
- package/dist/types/ui/common/modal/datasource-modal/createDatasourceModal.d.ts +1 -1
- package/dist/types/ui/common/modal/datasource-modal/index.d.ts +1 -1
- package/dist/types/ui/common/modal/insert-button/index.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/control.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/custom-checkbox-option.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/dropdownIndicator.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/index.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/menu-list/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/types.d.ts +1 -1
- package/dist/types/ui/datasource-table-view/datasource-column-sort.d.ts +1 -1
- package/dist/types/ui/datasource-table-view/datasourceTableView.d.ts +2 -2
- package/dist/types/ui/datasource-table-view/types.d.ts +1 -1
- package/dist/types/ui/issue-like-table/column-picker/concatenated-menu-list.d.ts +1 -1
- package/dist/types/ui/issue-like-table/column-picker/types.d.ts +1 -1
- package/dist/types/ui/issue-like-table/custom-icons.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/icon/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/index.d.ts +2 -2
- package/dist/types/ui/issue-like-table/edit-type/status/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/text/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/user/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/boolean/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/date-range/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/date-time/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/icon/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/link/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/number/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/richtext/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/status/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/tag/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/text/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/user/index.d.ts +2 -2
- package/dist/types/ui/issue-like-table/table-cell-content/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/table-cell-content/inline-edit.d.ts +1 -1
- package/dist/types/ui/issue-like-table/types.d.ts +1 -1
- package/dist/types/ui/issue-like-table/utils.d.ts +7 -7
- package/dist/types/ui/jira-issues-modal/types.d.ts +1 -1
- package/examples-helpers/buildAssetsIssuesTable.tsx +1 -1
- package/examples-helpers/buildConfluenceSearchTable.tsx +1 -1
- package/examples-helpers/mockJqlSmartLinkData.ts +1 -1
- package/examples-helpers/mockSmartLinkData.ts +1 -1
- package/examples-helpers/smartLinkCustomClient.ts +1 -1
- package/package.json +41 -41
|
@@ -7,10 +7,14 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
7
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; }
|
|
8
8
|
import React, { Fragment, useCallback, useEffect, useMemo, useRef } from 'react';
|
|
9
9
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
10
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
10
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
11
11
|
import IntlMessagesProvider from '@atlaskit/intl-messages-provider/main';
|
|
12
|
-
import LinkComponent from '@atlaskit/link';
|
|
13
|
-
import { CloseButton
|
|
12
|
+
import LinkComponent from '@atlaskit/link/link';
|
|
13
|
+
import { CloseButton } from '@atlaskit/modal-dialog/close-button';
|
|
14
|
+
import ModalBody from '@atlaskit/modal-dialog/modal-body';
|
|
15
|
+
import ModalFooter from '@atlaskit/modal-dialog/modal-footer';
|
|
16
|
+
import ModalHeader from '@atlaskit/modal-dialog/modal-header';
|
|
17
|
+
import ModalTitle from '@atlaskit/modal-dialog/modal-title';
|
|
14
18
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
19
|
import { Box, Flex } from '@atlaskit/primitives/compiled';
|
|
16
20
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
@@ -6,9 +6,9 @@ import * as React from 'react';
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
8
8
|
import isEqual from 'lodash/isEqual';
|
|
9
|
-
import
|
|
9
|
+
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
10
10
|
import IntlMessagesProvider from '@atlaskit/intl-messages-provider/main';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
12
12
|
import { useDatasourceAnalyticsEvents } from '../../analytics';
|
|
13
13
|
import { componentMetadata } from '../../analytics/constants';
|
|
14
14
|
import { startUfoExperience } from '../../analytics/ufoExperiences';
|
|
@@ -7,7 +7,8 @@ import "./concatenated-menu-list.compiled.css";
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { ax, ix } from "@compiled/react/runtime";
|
|
9
9
|
import { FormattedMessage } from 'react-intl';
|
|
10
|
-
import { CheckboxOption
|
|
10
|
+
import { CheckboxOption } from '@atlaskit/select/checkbox-option';
|
|
11
|
+
import { components } from '@atlaskit/react-select/components';
|
|
11
12
|
import { columnPickerMessages } from './messages';
|
|
12
13
|
export var SELECT_ITEMS_MAXIMUM_THRESHOLD = 200;
|
|
13
14
|
var messageStyles = null;
|
|
@@ -8,12 +8,13 @@ import "./index.compiled.css";
|
|
|
8
8
|
import { ax, ix } from "@compiled/react/runtime";
|
|
9
9
|
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
10
10
|
import { useIntl } from 'react-intl';
|
|
11
|
-
import Button from '@atlaskit/button/
|
|
11
|
+
import Button from '@atlaskit/button/default/button';
|
|
12
12
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
13
13
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
14
14
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
15
|
-
import { createFilter
|
|
16
|
-
import
|
|
15
|
+
import { createFilter } from '@atlaskit/react-select/filters';
|
|
16
|
+
import { PopupSelect } from '@atlaskit/select/popup-select';
|
|
17
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
17
18
|
import { succeedUfoExperience } from '../../../analytics/ufoExperiences';
|
|
18
19
|
import { useDatasourceExperienceId } from '../../../contexts/datasource-experience-id';
|
|
19
20
|
import { ConcatenatedMenuList, MenuItem } from './concatenated-menu-list';
|
|
@@ -18,18 +18,20 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
|
18
18
|
import ReactDOM from 'react-dom';
|
|
19
19
|
import { FormattedMessage } from 'react-intl';
|
|
20
20
|
import invariant from 'tiny-invariant';
|
|
21
|
-
import Button from '@atlaskit/button/
|
|
22
|
-
import DropdownMenu
|
|
21
|
+
import Button from '@atlaskit/button/default/button';
|
|
22
|
+
import DropdownMenu from '@atlaskit/dropdown-menu/dropdown-menu';
|
|
23
|
+
import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
|
|
23
24
|
import ChevronDown from '@atlaskit/icon/core/chevron-down';
|
|
24
25
|
import ChevronUp from '@atlaskit/icon/core/chevron-up';
|
|
25
|
-
import { attachClosestEdge
|
|
26
|
+
import { attachClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge/attach-closest-edge';
|
|
27
|
+
import { extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge/extract-closest-edge';
|
|
26
28
|
import { DropIndicator } from '@atlaskit/pragmatic-drag-and-drop-react-drop-indicator/box';
|
|
27
|
-
import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
|
|
28
|
-
import { draggable, dropTargetForElements, monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/element
|
|
29
|
-
import { disableNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/
|
|
30
|
-
import { pointerOutsideOfPreview } from '@atlaskit/pragmatic-drag-and-drop/
|
|
31
|
-
import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/
|
|
32
|
-
import { preventUnhandled } from '@atlaskit/pragmatic-drag-and-drop/prevent-unhandled';
|
|
29
|
+
import { combine } from '@atlaskit/pragmatic-drag-and-drop/utils/combine';
|
|
30
|
+
import { draggable, dropTargetForElements, monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
|
|
31
|
+
import { disableNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/utils/disable-native-drag-preview';
|
|
32
|
+
import { pointerOutsideOfPreview } from '@atlaskit/pragmatic-drag-and-drop/utils/pointer-outside-of-preview';
|
|
33
|
+
import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/utils/set-custom-native-drag-preview';
|
|
34
|
+
import { preventUnhandled } from '@atlaskit/pragmatic-drag-and-drop/utils/prevent-unhandled';
|
|
33
35
|
import { useDatasourceAnalyticsEvents } from '../../analytics';
|
|
34
36
|
import { GlyphPlaceholder, UnwrapTextIcon, WrapTextIcon } from './custom-icons';
|
|
35
37
|
import { issueLikeTableMessages } from './messages';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useEffect } from 'react';
|
|
3
3
|
import { Layering } from '@atlaskit/layering/layering';
|
|
4
|
-
import Select from '@atlaskit/select';
|
|
5
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
4
|
+
import Select from '@atlaskit/select/default';
|
|
5
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
6
6
|
import { failUfoExperience, succeedUfoExperience } from '../../../../analytics/ufoExperiences';
|
|
7
7
|
import { useDatasourceExperienceId } from '../../../../contexts/datasource-experience-id';
|
|
8
8
|
import { useLoadOptions } from '../../../../hooks/useLoadOptions';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useEffect } from 'react';
|
|
3
3
|
import { Layering } from '@atlaskit/layering/layering';
|
|
4
|
-
import Lozenge from '@atlaskit/lozenge';
|
|
5
|
-
import Select from '@atlaskit/select';
|
|
6
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
4
|
+
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
5
|
+
import Select from '@atlaskit/select/default';
|
|
6
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
7
7
|
import { failUfoExperience, succeedUfoExperience } from '../../../../analytics/ufoExperiences';
|
|
8
8
|
import { useDatasourceExperienceId } from '../../../../contexts/datasource-experience-id';
|
|
9
9
|
import { useLoadOptions } from '../../../../hooks/useLoadOptions';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useEffect } from 'react';
|
|
3
3
|
import { Layering } from '@atlaskit/layering/layering';
|
|
4
|
-
import Textfield from '@atlaskit/textfield';
|
|
4
|
+
import Textfield from '@atlaskit/textfield/text-field';
|
|
5
5
|
import { succeedUfoExperience } from '../../../../analytics/ufoExperiences';
|
|
6
6
|
import { useDatasourceExperienceId } from '../../../../contexts/datasource-experience-id';
|
|
7
7
|
var TextEditType = function TextEditType(props) {
|
|
@@ -3,10 +3,11 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
3
3
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
4
4
|
import { useIntl } from 'react-intl';
|
|
5
5
|
import { useDebouncedCallback } from 'use-debounce';
|
|
6
|
-
import Avatar
|
|
6
|
+
import Avatar from '@atlaskit/avatar/avatar';
|
|
7
|
+
import AvatarItem from '@atlaskit/avatar/avatar-item';
|
|
7
8
|
import { Layering } from '@atlaskit/layering/layering';
|
|
8
|
-
import Select from '@atlaskit/select';
|
|
9
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
9
|
+
import Select from '@atlaskit/select/default';
|
|
10
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
10
11
|
import { failUfoExperience, succeedUfoExperience } from '../../../../analytics/ufoExperiences';
|
|
11
12
|
import { useDatasourceExperienceId } from '../../../../contexts/datasource-experience-id';
|
|
12
13
|
import { useLoadOptions } from '../../../../hooks/useLoadOptions';
|
|
@@ -22,19 +22,19 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
22
22
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
23
23
|
import { useIntl } from 'react-intl';
|
|
24
24
|
import invariant from 'tiny-invariant';
|
|
25
|
-
import Button from '@atlaskit/button/
|
|
26
|
-
import { FlagsProvider } from '@atlaskit/flag';
|
|
25
|
+
import Button from '@atlaskit/button/default/button';
|
|
26
|
+
import { FlagsProvider } from '@atlaskit/flag/flags-provider';
|
|
27
27
|
import SortAscendingIcon from '@atlaskit/icon/core/sort-ascending';
|
|
28
28
|
import SortDescendingIcon from '@atlaskit/icon/core/sort-descending';
|
|
29
29
|
import { Skeleton } from '@atlaskit/linking-common';
|
|
30
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
31
|
-
import { extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge';
|
|
30
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
31
|
+
import { extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge/extract-closest-edge';
|
|
32
32
|
import { reorderWithEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/util/reorder-with-edge';
|
|
33
33
|
import { autoScroller } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll';
|
|
34
|
-
import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
|
|
35
|
-
import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/element
|
|
34
|
+
import { combine } from '@atlaskit/pragmatic-drag-and-drop/utils/combine';
|
|
35
|
+
import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
|
|
36
36
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
37
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
37
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
38
38
|
import { startUfoExperience, succeedUfoExperience } from '../../analytics/ufoExperiences';
|
|
39
39
|
import { useDatasourceExperienceId } from '../../contexts/datasource-experience-id';
|
|
40
40
|
import { useIsInPDFRender } from '../../hooks/useIsInPDFRender';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Lozenge from '@atlaskit/lozenge';
|
|
2
|
+
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
3
3
|
export var STATUS_TYPE_TEST_ID = 'link-datasource-render-type--status';
|
|
4
4
|
var StatusRenderType = function StatusRenderType(_ref) {
|
|
5
5
|
var text = _ref.text,
|
|
@@ -8,10 +8,10 @@ import { forwardRef } from 'react';
|
|
|
8
8
|
import { ax, ix } from "@compiled/react/runtime";
|
|
9
9
|
import React, { useState } from 'react';
|
|
10
10
|
import { FormattedMessage } from 'react-intl';
|
|
11
|
-
import Avatar from '@atlaskit/avatar';
|
|
12
|
-
import AvatarGroup from '@atlaskit/avatar-group';
|
|
11
|
+
import Avatar from '@atlaskit/avatar/avatar';
|
|
12
|
+
import AvatarGroup from '@atlaskit/avatar-group/avatar-group';
|
|
13
13
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
|
-
import { WidthObserver } from '@atlaskit/width-detector';
|
|
14
|
+
import { WidthObserver } from '@atlaskit/width-detector/width-observer';
|
|
15
15
|
import { userTypeMessages } from './messages';
|
|
16
16
|
var styles = {
|
|
17
17
|
userWrapperStyles: "_11c8fhey _1e0c1txw _4cvr1h6o",
|
|
@@ -3,9 +3,9 @@ import "./index.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
6
|
-
import Avatar from '@atlaskit/avatar';
|
|
6
|
+
import Avatar from '@atlaskit/avatar/avatar';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
8
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
9
9
|
import { USER_TYPE_TEST_ID } from '../../render-type/user';
|
|
10
10
|
import { userTypeMessages } from '../../render-type/user/messages';
|
|
11
11
|
var styles = {
|
|
@@ -6,7 +6,7 @@ import { useIntl } from 'react-intl';
|
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import LinkUrl from '@atlaskit/smart-card/link-url';
|
|
9
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
9
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
10
10
|
import { useDatasourceCrossProductAttribution } from '../../../analytics/xpc/useDatasourceCrossProductAttribution';
|
|
11
11
|
import { useDatasourceItem } from '../../../state';
|
|
12
12
|
import { useExecuteAtomicAction } from '../../../state/actions';
|
|
@@ -113,25 +113,18 @@ export var ReadOnlyCell = function ReadOnlyCell(_ref4) {
|
|
|
113
113
|
type: columnType,
|
|
114
114
|
values: values
|
|
115
115
|
};
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
var issueLinkData = getIssueLinkData(rowData);
|
|
119
|
-
return /*#__PURE__*/React.createElement(TooltipWrapper, {
|
|
120
|
-
columnKey: columnKey,
|
|
121
|
-
datasourceTypeWithValues: datasourceTypeWithValues,
|
|
122
|
-
wrappedColumnKeys: wrappedColumnKeys
|
|
123
|
-
}, isIssueTypeColumn && issueLinkData ? fg('electric_issue_like_table_xpc_url_wrapping') ? /*#__PURE__*/React.createElement(LinkedCellContentWrapped, {
|
|
124
|
-
issueLinkData: issueLinkData
|
|
125
|
-
}, renderItem(datasourceTypeWithValues)) : getLinkedCellContent({
|
|
126
|
-
children: renderItem(datasourceTypeWithValues),
|
|
127
|
-
issueLinkData: issueLinkData
|
|
128
|
-
}) : renderItem(datasourceTypeWithValues));
|
|
129
|
-
}
|
|
116
|
+
var isIssueTypeColumn = isIssueTypeColumnFn(columnKey);
|
|
117
|
+
var issueLinkData = getIssueLinkData(rowData);
|
|
130
118
|
return /*#__PURE__*/React.createElement(TooltipWrapper, {
|
|
131
119
|
columnKey: columnKey,
|
|
132
120
|
datasourceTypeWithValues: datasourceTypeWithValues,
|
|
133
121
|
wrappedColumnKeys: wrappedColumnKeys
|
|
134
|
-
},
|
|
122
|
+
}, isIssueTypeColumn && issueLinkData ? fg('electric_issue_like_table_xpc_url_wrapping') ? /*#__PURE__*/React.createElement(LinkedCellContentWrapped, {
|
|
123
|
+
issueLinkData: issueLinkData
|
|
124
|
+
}, renderItem(datasourceTypeWithValues)) : getLinkedCellContent({
|
|
125
|
+
children: renderItem(datasourceTypeWithValues),
|
|
126
|
+
issueLinkData: issueLinkData
|
|
127
|
+
}) : renderItem(datasourceTypeWithValues));
|
|
135
128
|
};
|
|
136
129
|
var InlineEditableCell = function InlineEditableCell(_ref5) {
|
|
137
130
|
var ari = _ref5.ari,
|
|
@@ -168,12 +161,12 @@ var InlineEditableCell = function InlineEditableCell(_ref5) {
|
|
|
168
161
|
style: {
|
|
169
162
|
minHeight: 'calc(40px - 2px * 2)'
|
|
170
163
|
}
|
|
171
|
-
},
|
|
164
|
+
}, !isEditable && isIssueTypeColumnFn(columnKey) && issueLinkData ? fg('electric_issue_like_table_xpc_url_wrapping') ? /*#__PURE__*/React.createElement(LinkedCellContentWrapped, {
|
|
172
165
|
issueLinkData: issueLinkData
|
|
173
166
|
}, renderItem(values)) : getLinkedCellContent({
|
|
174
167
|
children: renderItem(values),
|
|
175
168
|
issueLinkData: issueLinkData
|
|
176
|
-
}) : renderItem(values)
|
|
169
|
+
}) : renderItem(values)));
|
|
177
170
|
if (!isEditable) {
|
|
178
171
|
return readView;
|
|
179
172
|
}
|
|
@@ -227,7 +220,7 @@ export var TableCellContent = function TableCellContent(_ref7) {
|
|
|
227
220
|
columnTitle: columnTitle,
|
|
228
221
|
renderItem: renderItem,
|
|
229
222
|
integrationKey: integrationKey,
|
|
230
|
-
issueLinkData:
|
|
223
|
+
issueLinkData: getIssueLinkData(rowData),
|
|
231
224
|
values: toDatasourceTypeWithValues({
|
|
232
225
|
rowData: rowData,
|
|
233
226
|
columnKey: columnKey,
|
|
@@ -9,7 +9,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
9
9
|
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
10
|
import React, { useCallback, useMemo, useState } from 'react';
|
|
11
11
|
import { useIntl } from 'react-intl';
|
|
12
|
-
import AKInlineEdit from '@atlaskit/inline-edit';
|
|
12
|
+
import AKInlineEdit from '@atlaskit/inline-edit/inline-edit';
|
|
13
13
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
14
|
import { useSmartLinkReload } from '@atlaskit/smart-card/hooks';
|
|
15
15
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useRef } from 'react';
|
|
2
2
|
import { FormattedMessage } from 'react-intl';
|
|
3
3
|
import { JQLEditor } from '@atlaskit/jql-editor';
|
|
4
|
-
import { useAutocompleteProvider } from '@atlaskit/jql-editor-autocomplete-rest';
|
|
4
|
+
import { useAutocompleteProvider } from '@atlaskit/jql-editor-autocomplete-rest/use-autocomplete-provider';
|
|
5
5
|
import { makeGetJqlAutocompleteData } from '../../../services/makeGetJqlAutocompleteData';
|
|
6
6
|
import { makeGetJqlSuggestionsData } from '../../../services/makeGetJqlSuggestionsData';
|
|
7
7
|
export var JiraJQLEditor = function JiraJQLEditor(_ref) {
|
|
@@ -9,10 +9,15 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
9
9
|
/* eslint-disable @atlaskit/platform/no-preconditioning */
|
|
10
10
|
import React, { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
11
11
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
12
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
12
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
13
13
|
import IntlMessagesProvider from '@atlaskit/intl-messages-provider/main';
|
|
14
|
-
import LinkComponent from '@atlaskit/link';
|
|
15
|
-
import { CloseButton
|
|
14
|
+
import LinkComponent from '@atlaskit/link/link';
|
|
15
|
+
import { CloseButton } from '@atlaskit/modal-dialog/close-button';
|
|
16
|
+
import ModalBody from '@atlaskit/modal-dialog/modal-body';
|
|
17
|
+
import ModalFooter from '@atlaskit/modal-dialog/modal-footer';
|
|
18
|
+
import ModalHeader from '@atlaskit/modal-dialog/modal-header';
|
|
19
|
+
import ModalTitle from '@atlaskit/modal-dialog/modal-title';
|
|
20
|
+
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
16
21
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
17
22
|
import { Flex } from '@atlaskit/primitives/compiled';
|
|
18
23
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
@@ -6,7 +6,7 @@ import * as React from 'react';
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import { useEffect, useState } from 'react';
|
|
8
8
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
9
|
-
import
|
|
9
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
10
10
|
import RefreshIcon from '@atlaskit/icon/core/refresh';
|
|
11
11
|
import { Box, Flex, Inline } from '@atlaskit/primitives/compiled';
|
|
12
12
|
import { ASSETS_LIST_OF_LINKS_DATASOURCE_ID } from '../assets-modal';
|
package/dist/types/analytics/ufoExperiences/hooks/useColumnPickerRenderedFailedUfoExperience.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { DatasourceTableStatusType } from '@atlaskit/linking-types/datasource';
|
|
2
2
|
export declare const useColumnPickerRenderedFailedUfoExperience: (status: DatasourceTableStatusType, experienceId: string) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RefObject } from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
3
3
|
import { type IssueLikeDataTableViewProps } from '../ui/issue-like-table/types';
|
|
4
4
|
export type JiraSearchMethod = 'basic' | 'jql';
|
|
5
5
|
export interface Site {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { DatasourceDataResponseItem, DatasourceMeta, DatasourceParameters, DatasourceResponseSchemaProperty, DatasourceTableStatusType } from '@atlaskit/linking-types/datasource';
|
|
2
2
|
export declare const INCREASED_DATASOURCE_DATA_PAGE_SIZE = 100;
|
|
3
3
|
export interface onNextPageProps {
|
|
4
4
|
isSchemaFromData?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AtomicActionExecuteRequest } from '@atlaskit/linking-types';
|
|
1
|
+
import { type AtomicActionExecuteRequest } from '@atlaskit/linking-types/datasource-actions';
|
|
2
2
|
import type { ExecuteFetch } from '../state/actions';
|
|
3
3
|
export type LoadOptionsProps<T> = {
|
|
4
4
|
emptyOption?: T;
|
|
@@ -6,7 +6,7 @@ export type LoadOptionsProps<T> = {
|
|
|
6
6
|
fetchInputs?: AtomicActionExecuteRequest['parameters']['inputs'];
|
|
7
7
|
};
|
|
8
8
|
export declare const useLoadOptions: <T>({ fetchInputs, executeFetch, emptyOption, }: LoadOptionsProps<T>) => {
|
|
9
|
-
options: T[];
|
|
10
|
-
isLoading: boolean;
|
|
11
9
|
hasFailed: boolean;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
options: T[];
|
|
12
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GetAutocompleteInitialData } from '@atlaskit/jql-editor-autocomplete-rest/types';
|
|
2
2
|
export type AutocompleteInitialDataResponse = {
|
|
3
3
|
jqlFields: Awaited<ReturnType<GetAutocompleteInitialData>>['jqlFields'];
|
|
4
4
|
jqlFunctions: Awaited<ReturnType<GetAutocompleteInitialData>>['jqlFunctions'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GetAutocompleteSuggestions } from '@atlaskit/jql-editor-autocomplete-rest/types';
|
|
2
2
|
export type AutocompleteSuggestionsResponse = {
|
|
3
3
|
results: Awaited<ReturnType<GetAutocompleteSuggestions>>['results'];
|
|
4
4
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Action, type BoundActions, type HookFunction, type Store } from 'react-sweet-state';
|
|
2
2
|
import { useDatasourceClientExtension } from '@atlaskit/link-client-extension';
|
|
3
|
-
import type { ActionsDiscoveryRequest, AtomicActionExecuteRequest, AtomicActionExecuteResponse, AtomicActionInterface } from '@atlaskit/linking-types';
|
|
3
|
+
import type { ActionsDiscoveryRequest, AtomicActionExecuteRequest, AtomicActionExecuteResponse, AtomicActionInterface } from '@atlaskit/linking-types/datasource-actions';
|
|
4
4
|
import { type DatasourceOperationFailedAttributesType, type EventKey } from '../../../src/analytics/generated/analytics.types';
|
|
5
5
|
import type createEventPayload from '../../../src/analytics/generated/create-event-payload';
|
|
6
6
|
type IntegrationKey = string;
|
|
@@ -82,13 +82,13 @@ export declare const useDiscoverActions: ({ captureError, fireEvent, }: UseDisco
|
|
|
82
82
|
* Retrieves the action schema for a given ARI + fieldKey + integrationKey
|
|
83
83
|
*/
|
|
84
84
|
export declare const useAtomicUpdateActionSchema: HookFunction<{
|
|
85
|
-
schema?: undefined;
|
|
86
85
|
fetchSchema?: undefined;
|
|
86
|
+
schema?: undefined;
|
|
87
87
|
} | {
|
|
88
|
+
fetchSchema: Pick<AtomicActionInterface, 'type' | 'inputs' | 'actionKey'> | undefined;
|
|
88
89
|
schema: Pick<AtomicActionInterface, 'type' | 'description' | 'actionKey'> & {
|
|
89
90
|
fetchAction?: Pick<AtomicActionInterface, 'actionKey' | 'type' | 'inputs'>;
|
|
90
91
|
};
|
|
91
|
-
fetchSchema: Pick<AtomicActionInterface, 'type' | 'inputs' | 'actionKey'> | undefined;
|
|
92
92
|
}, BoundActions<ActionsStoreState, {
|
|
93
93
|
discoverActions: (captureError: AnalyticsCaptureError, fireEvent: AnalyticsFireEvent, api: Client, request: ActionsDiscoveryRequest) => Action<ActionsStoreState>;
|
|
94
94
|
}>, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type Action, type BoundActions, type HookActionsFunction, type HookStateFunction, type Store as StoreType } from 'react-sweet-state';
|
|
3
|
-
import type { DatasourceDataResponseItem } from '@atlaskit/linking-types';
|
|
3
|
+
import type { DatasourceDataResponseItem } from '@atlaskit/linking-types/datasource';
|
|
4
4
|
type UniqueIdentifier = string;
|
|
5
5
|
export interface DatasourceItem {
|
|
6
6
|
ari: string | undefined;
|
|
@@ -16,15 +16,15 @@ export declare const actions: {
|
|
|
16
16
|
onAddItems: (items: DatasourceDataResponseItem[], integrationKey: string | undefined, entityType: string | undefined) => Action<State, void, string[]>;
|
|
17
17
|
};
|
|
18
18
|
export declare const Store: StoreType<State, {
|
|
19
|
-
onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
|
|
20
19
|
onAddItems: (items: DatasourceDataResponseItem[], integrationKey: string | undefined, entityType: string | undefined) => Action<State, void, string[]>;
|
|
20
|
+
onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
|
|
21
21
|
}>;
|
|
22
22
|
export declare const useDatasourceItem: HookStateFunction<DatasourceItem | undefined, {
|
|
23
23
|
id: string;
|
|
24
24
|
}>;
|
|
25
25
|
export declare const useDatasourceActions: HookActionsFunction<BoundActions<State, {
|
|
26
|
-
onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
|
|
27
26
|
onAddItems: (items: DatasourceDataResponseItem[], integrationKey: string | undefined, entityType: string | undefined) => Action<State, void, string[]>;
|
|
27
|
+
onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
|
|
28
28
|
}>>;
|
|
29
29
|
export declare const StoreContainer: ({ children }: {
|
|
30
30
|
children: JSX.Element;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
6
|
-
import { type WithContextProps } from '@atlaskit/analytics-next';
|
|
6
|
+
import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
7
7
|
import { type AssetsConfigModalProps } from '../types';
|
|
8
8
|
export declare const AssetsConfigModal: ForwardRefExoticComponent<AssetsConfigModalProps & WithContextProps & RefAttributes<any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { DatasourceDataResponseItem, DatasourceResponseSchemaProperty, DatasourceTableStatusType } from '@atlaskit/linking-types/datasource';
|
|
2
2
|
export interface RenderAssetsContentProps {
|
|
3
3
|
aql?: string;
|
|
4
4
|
columns: DatasourceResponseSchemaProperty[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common/types';
|
|
2
|
-
import {
|
|
2
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
|
|
3
3
|
import { type ConfigModalProps } from '../../common/types';
|
|
4
4
|
export type AssetsDatasourceParameters = {
|
|
5
5
|
aql: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
2
|
import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common';
|
|
3
|
-
import type { DatasourceParameters } from '@atlaskit/linking-types';
|
|
3
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
|
|
4
4
|
import { type OnInsertFunction } from '../../../../common/types';
|
|
5
5
|
import { type DatasourceTableState } from '../../../../hooks/useDatasourceTableState';
|
|
6
6
|
import type { ColumnSizesMap } from '../../../issue-like-table/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common';
|
|
3
|
-
import {
|
|
3
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
|
|
4
4
|
import { type ConfigModalProps } from '../../../../common/types';
|
|
5
5
|
export type ConnectedConfigModalProps<Parameters extends DatasourceParameters> = Omit<ConfigModalProps<DatasourceAdf<Parameters> | InlineCardAdf, Parameters>, 'onInsert' | 'parameters'>;
|
|
6
6
|
export declare const createDatasourceModal: <Parameters extends DatasourceParameters>({ isValidParameters, dataProvider, component: ModalContent, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ModalDialogProps } from '@atlaskit/modal-dialog/types';
|
|
3
3
|
type DatasourceModalProps = Pick<ModalDialogProps, 'testId' | 'onClose' | 'children' | 'shouldReturnFocus'>;
|
|
4
4
|
export declare const DatasourceModal: ({ testId, onClose, children, shouldReturnFocus, }: DatasourceModalProps) => React.JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
|
|
3
3
|
export type InsertButtonProps<Parameters extends DatasourceParameters> = PropsWithChildren<{
|
|
4
4
|
getAnalyticsPayload: () => Record<string, any>;
|
|
5
5
|
hasErrors?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ControlProps } from '@atlaskit/select/types';
|
|
3
3
|
import { type SelectOption } from './types';
|
|
4
4
|
export declare const CustomControl: ({ children, ...innerProps }: ControlProps<SelectOption, true>) => React.JSX.Element;
|
|
5
5
|
export default CustomControl;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { OptionProps } from '@atlaskit/react-select/option';
|
|
2
2
|
import type { SelectOption } from './types';
|
|
3
3
|
export declare const CustomCheckboxOption: ({ children, ...props }: OptionProps<SelectOption, true>) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { DropdownIndicatorProps } from '@atlaskit/select/types';
|
|
3
3
|
import { type SelectOption } from './types';
|
|
4
4
|
declare const CustomDropdownIndicator: (props: DropdownIndicatorProps<SelectOption, true>) => React.JSX.Element;
|
|
5
5
|
export default CustomDropdownIndicator;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { InputActionMeta, ValueType } from '@atlaskit/select/types';
|
|
3
3
|
import { type CustomMenuListProps } from './menu-list';
|
|
4
4
|
import { type SelectOption } from './types';
|
|
5
5
|
export interface FilterPopupSelectProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { MenuListComponentProps } from '@atlaskit/select/types';
|
|
3
3
|
import { type SelectOption } from '../types';
|
|
4
4
|
export type CustomMenuListProps = {
|
|
5
5
|
errors?: unknown[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PopupComponentProps } from '@atlaskit/popup';
|
|
2
|
+
import type { PopupComponentProps } from '@atlaskit/popup/types';
|
|
3
3
|
export declare const PopupComponent: React.ForwardRefExoticComponent<PopupComponentProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common/types';
|
|
2
|
-
import {
|
|
2
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
|
|
3
3
|
import { type ConfigModalProps } from '../../common/types';
|
|
4
4
|
import { type ConnectedConfigModalProps } from '../common/modal/datasource-modal/createDatasourceModal';
|
|
5
5
|
import { type DateRangeType } from '../common/modal/popup-select/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DatasourceParameters } from '@atlaskit/linking-types';
|
|
1
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
|
|
2
2
|
import type { DatasourceTableSortState } from '../issue-like-table/types';
|
|
3
3
|
export type { DatasourceTableSortState } from '../issue-like-table/types';
|
|
4
4
|
export type DatasourceColumnSortGetter = ({ parameters, columnKey, currentSort, }: {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
6
|
-
import { type WithContextProps } from '@atlaskit/analytics-next';
|
|
7
|
-
import type { DatasourceParameters } from '@atlaskit/linking-types';
|
|
6
|
+
import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
7
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
|
|
8
8
|
import type { IssueLikeDataTableViewProps } from '../issue-like-table/types';
|
|
9
9
|
export declare const DatasourceTableView: ForwardRefExoticComponent<{
|
|
10
10
|
datasourceId: string;
|