@atlaskit/link-datasource 1.19.15 → 1.19.16
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 +6 -0
- package/dist/cjs/analytics/constants.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.js +5 -5
- package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/menu-list/index.js +5 -1
- package/dist/cjs/ui/jira-issues-modal/jira-search-container/index.js +4 -5
- package/dist/cjs/ui/jira-issues-modal/mode-switcher/index.js +1 -1
- package/dist/es2019/analytics/constants.js +1 -1
- package/dist/es2019/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.js +5 -5
- package/dist/es2019/ui/jira-issues-modal/basic-filters/ui/menu-list/index.js +6 -2
- package/dist/es2019/ui/jira-issues-modal/jira-search-container/index.js +3 -4
- package/dist/es2019/ui/jira-issues-modal/mode-switcher/index.js +1 -1
- package/dist/esm/analytics/constants.js +1 -1
- package/dist/esm/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.js +5 -5
- package/dist/esm/ui/jira-issues-modal/basic-filters/ui/menu-list/index.js +6 -2
- package/dist/esm/ui/jira-issues-modal/jira-search-container/index.js +3 -4
- package/dist/esm/ui/jira-issues-modal/mode-switcher/index.js +1 -1
- package/dist/types/ui/jira-issues-modal/jira-search-container/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/index.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 1.19.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#58204](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58204) [`f800efb5148e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f800efb5148e) - Design/Bug fixes for basic filters(after design review).
|
|
8
|
+
|
|
3
9
|
## 1.19.15
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -7,5 +7,5 @@ exports.packageMetaData = exports.EVENT_CHANNEL = void 0;
|
|
|
7
7
|
var EVENT_CHANNEL = exports.EVENT_CHANNEL = 'media';
|
|
8
8
|
var packageMetaData = exports.packageMetaData = {
|
|
9
9
|
packageName: "@atlaskit/link-datasource",
|
|
10
|
-
packageVersion: "1.19.
|
|
10
|
+
packageVersion: "1.19.16"
|
|
11
11
|
};
|
|
@@ -117,17 +117,17 @@ var AsyncPopupSelect = function AsyncPopupSelect(_ref) {
|
|
|
117
117
|
}
|
|
118
118
|
}, [selectedOptions, filterOptions, sortedOptions]);
|
|
119
119
|
var sortOptionsOnResolve = (0, _react.useCallback)(function () {
|
|
120
|
-
// sortedOptions is empty initially, this will take care of setting the initial value and bring the selected items to the top
|
|
121
|
-
if (sortedOptions.length === 0) {
|
|
122
|
-
return sortOptionsOnPopupOpen();
|
|
123
|
-
}
|
|
124
|
-
|
|
125
120
|
// when the user is searching, we want the search result to be displayed as it is, and the select component will take care of marking the selected items
|
|
126
121
|
if (searchTerm) {
|
|
127
122
|
sortPaginatedResults.current = false; // set to false to indicate pagination resolve action is completed from the sorting perspective
|
|
128
123
|
return setSortedOptions(filterOptions);
|
|
129
124
|
}
|
|
130
125
|
|
|
126
|
+
// sortedOptions is empty initially, this will take care of setting the initial value and bring the selected items to the top
|
|
127
|
+
if (sortedOptions.length === 0) {
|
|
128
|
+
return sortOptionsOnPopupOpen();
|
|
129
|
+
}
|
|
130
|
+
|
|
131
131
|
// this block handles the pagination, where on pagination, we will just append newOptions to the current list
|
|
132
132
|
if (sortPaginatedResults.current) {
|
|
133
133
|
var newOptions = filterOptions.filter(function (option) {
|
|
@@ -15,6 +15,9 @@ var _errorMessage = _interopRequireDefault(require("./errorMessage"));
|
|
|
15
15
|
var _loadingMessage = _interopRequireDefault(require("./loadingMessage"));
|
|
16
16
|
var _noOptionsMessage = _interopRequireDefault(require("./noOptionsMessage"));
|
|
17
17
|
var _excluded = ["children"];
|
|
18
|
+
var inlineSpinnerStyles = (0, _primitives.xcss)({
|
|
19
|
+
paddingTop: "var(--ds-space-075, 6px)"
|
|
20
|
+
});
|
|
18
21
|
var CustomMenuList = function CustomMenuList(_ref) {
|
|
19
22
|
var children = _ref.children,
|
|
20
23
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
@@ -31,7 +34,8 @@ var CustomMenuList = function CustomMenuList(_ref) {
|
|
|
31
34
|
var isLoadingMoreData = !shouldDisplayShowMore && isLoadingMore;
|
|
32
35
|
var InlineSpinner = function InlineSpinner() {
|
|
33
36
|
return /*#__PURE__*/_react.default.createElement(_primitives.Flex, {
|
|
34
|
-
justifyContent: "center"
|
|
37
|
+
justifyContent: "center",
|
|
38
|
+
xcss: inlineSpinnerStyles
|
|
35
39
|
}, /*#__PURE__*/_react.default.createElement(_spinner.default, {
|
|
36
40
|
size: "medium"
|
|
37
41
|
}));
|
|
@@ -5,7 +5,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.JiraSearchContainer = exports.DEFAULT_JQL_QUERY = exports.ALLOWED_ORDER_BY_KEYS = void 0;
|
|
8
|
+
exports.JiraSearchContainer = exports.FILTER_SELECTION_DEBOUNCE_MS = exports.DEFAULT_JQL_QUERY = exports.ALLOWED_ORDER_BY_KEYS = void 0;
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
@@ -18,7 +18,6 @@ var _primitives = require("@atlaskit/primitives");
|
|
|
18
18
|
var _analytics = require("../../../analytics");
|
|
19
19
|
var _basicFilters = require("../basic-filters");
|
|
20
20
|
var _useHydrateJqlQuery2 = require("../basic-filters/hooks/useHydrateJqlQuery");
|
|
21
|
-
var _asyncPopupSelect = require("../basic-filters/ui/async-popup-select");
|
|
22
21
|
var _isQueryTooComplex = require("../basic-filters/utils/isQueryTooComplex");
|
|
23
22
|
var _basicSearchInput = require("../basic-search-input");
|
|
24
23
|
var _jqlEditor = require("../jql-editor");
|
|
@@ -40,7 +39,7 @@ var basicSearchInputContainerStyles = (0, _primitives.xcss)({
|
|
|
40
39
|
});
|
|
41
40
|
var DEFAULT_JQL_QUERY = exports.DEFAULT_JQL_QUERY = 'created >= -30d order by created DESC';
|
|
42
41
|
var ALLOWED_ORDER_BY_KEYS = exports.ALLOWED_ORDER_BY_KEYS = ['key', 'summary', 'assignee', 'status', 'created'];
|
|
43
|
-
var
|
|
42
|
+
var FILTER_SELECTION_DEBOUNCE_MS = exports.FILTER_SELECTION_DEBOUNCE_MS = 500;
|
|
44
43
|
var JiraSearchContainer = exports.JiraSearchContainer = function JiraSearchContainer(props) {
|
|
45
44
|
var isSearching = props.isSearching,
|
|
46
45
|
parameters = props.parameters,
|
|
@@ -164,7 +163,7 @@ var JiraSearchContainer = exports.JiraSearchContainer = function JiraSearchConta
|
|
|
164
163
|
basicFilterSelections: filterSelections,
|
|
165
164
|
isQueryComplex: isCurrentQueryComplex
|
|
166
165
|
});
|
|
167
|
-
},
|
|
166
|
+
}, FILTER_SELECTION_DEBOUNCE_MS),
|
|
168
167
|
_useDebouncedCallback2 = (0, _slicedToArray2.default)(_useDebouncedCallback, 1),
|
|
169
168
|
debouncedBasicFilterSelectionChange = _useDebouncedCallback2[0];
|
|
170
169
|
var handleBasicFilterSelectionChange = (0, _react.useCallback)(function (filterType, options) {
|
|
@@ -224,7 +223,7 @@ var JiraSearchContainer = exports.JiraSearchContainer = function JiraSearchConta
|
|
|
224
223
|
onChange: onQueryChange,
|
|
225
224
|
onSearch: handleSearch,
|
|
226
225
|
query: jql
|
|
227
|
-
}), (0, _react2.jsx)(
|
|
226
|
+
}), (0, _react2.jsx)(_modeSwitcher.ModeSwitcher, {
|
|
228
227
|
onOptionValueChange: onSearchMethodChange,
|
|
229
228
|
selectedOptionValue: currentSearchMethod,
|
|
230
229
|
options: [{
|
|
@@ -20,7 +20,7 @@ var modeSwitcherStyles = (0, _react2.css)({
|
|
|
20
20
|
display: 'inline-flex',
|
|
21
21
|
gap: "var(--ds-space-050, 4px)",
|
|
22
22
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
23
|
-
padding: "var(--ds-space-
|
|
23
|
+
padding: "var(--ds-space-050, 4px)",
|
|
24
24
|
'&:disabled': {
|
|
25
25
|
opacity: '0.5'
|
|
26
26
|
},
|
|
@@ -73,17 +73,17 @@ const AsyncPopupSelect = ({
|
|
|
73
73
|
}
|
|
74
74
|
}, [selectedOptions, filterOptions, sortedOptions]);
|
|
75
75
|
const sortOptionsOnResolve = useCallback(() => {
|
|
76
|
-
// sortedOptions is empty initially, this will take care of setting the initial value and bring the selected items to the top
|
|
77
|
-
if (sortedOptions.length === 0) {
|
|
78
|
-
return sortOptionsOnPopupOpen();
|
|
79
|
-
}
|
|
80
|
-
|
|
81
76
|
// when the user is searching, we want the search result to be displayed as it is, and the select component will take care of marking the selected items
|
|
82
77
|
if (searchTerm) {
|
|
83
78
|
sortPaginatedResults.current = false; // set to false to indicate pagination resolve action is completed from the sorting perspective
|
|
84
79
|
return setSortedOptions(filterOptions);
|
|
85
80
|
}
|
|
86
81
|
|
|
82
|
+
// sortedOptions is empty initially, this will take care of setting the initial value and bring the selected items to the top
|
|
83
|
+
if (sortedOptions.length === 0) {
|
|
84
|
+
return sortOptionsOnPopupOpen();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
87
|
// this block handles the pagination, where on pagination, we will just append newOptions to the current list
|
|
88
88
|
if (sortPaginatedResults.current) {
|
|
89
89
|
const newOptions = filterOptions.filter(option => !sortedOptions.find(sortedOption => sortedOption.value === option.value));
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Flex } from '@atlaskit/primitives';
|
|
2
|
+
import { Flex, xcss } from '@atlaskit/primitives';
|
|
3
3
|
import { components } from '@atlaskit/select';
|
|
4
4
|
import Spinner from '@atlaskit/spinner';
|
|
5
5
|
import ShowMoreButton from '../async-popup-select/showMoreButton';
|
|
6
6
|
import CustomErrorMessage from './errorMessage';
|
|
7
7
|
import CustomDropdownLoadingMessage from './loadingMessage';
|
|
8
8
|
import CustomNoOptionsMessage from './noOptionsMessage';
|
|
9
|
+
const inlineSpinnerStyles = xcss({
|
|
10
|
+
paddingTop: "var(--ds-space-075, 6px)"
|
|
11
|
+
});
|
|
9
12
|
const CustomMenuList = ({
|
|
10
13
|
children,
|
|
11
14
|
...props
|
|
@@ -23,7 +26,8 @@ const CustomMenuList = ({
|
|
|
23
26
|
const shouldDisplayShowMore = showMore && !isLoadingMore;
|
|
24
27
|
const isLoadingMoreData = !shouldDisplayShowMore && isLoadingMore;
|
|
25
28
|
const InlineSpinner = () => /*#__PURE__*/React.createElement(Flex, {
|
|
26
|
-
justifyContent: "center"
|
|
29
|
+
justifyContent: "center",
|
|
30
|
+
xcss: inlineSpinnerStyles
|
|
27
31
|
}, /*#__PURE__*/React.createElement(Spinner, {
|
|
28
32
|
size: "medium"
|
|
29
33
|
}));
|
|
@@ -8,7 +8,6 @@ import { Flex, xcss } from '@atlaskit/primitives';
|
|
|
8
8
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
9
9
|
import { BasicFilters } from '../basic-filters';
|
|
10
10
|
import { useHydrateJqlQuery } from '../basic-filters/hooks/useHydrateJqlQuery';
|
|
11
|
-
import { SEARCH_DEBOUNCE_MS } from '../basic-filters/ui/async-popup-select';
|
|
12
11
|
import { isQueryTooComplex } from '../basic-filters/utils/isQueryTooComplex';
|
|
13
12
|
import { BasicSearchInput } from '../basic-search-input';
|
|
14
13
|
import { JiraJQLEditor } from '../jql-editor';
|
|
@@ -25,7 +24,7 @@ const basicSearchInputContainerStyles = xcss({
|
|
|
25
24
|
});
|
|
26
25
|
export const DEFAULT_JQL_QUERY = 'created >= -30d order by created DESC';
|
|
27
26
|
export const ALLOWED_ORDER_BY_KEYS = ['key', 'summary', 'assignee', 'status', 'created'];
|
|
28
|
-
const
|
|
27
|
+
export const FILTER_SELECTION_DEBOUNCE_MS = 500;
|
|
29
28
|
export const JiraSearchContainer = props => {
|
|
30
29
|
const {
|
|
31
30
|
isSearching,
|
|
@@ -129,7 +128,7 @@ export const JiraSearchContainer = props => {
|
|
|
129
128
|
basicFilterSelections: filterSelections,
|
|
130
129
|
isQueryComplex: isCurrentQueryComplex
|
|
131
130
|
});
|
|
132
|
-
},
|
|
131
|
+
}, FILTER_SELECTION_DEBOUNCE_MS);
|
|
133
132
|
const handleBasicFilterSelectionChange = useCallback((filterType, options) => {
|
|
134
133
|
const updatedSelection = {
|
|
135
134
|
...filterSelections,
|
|
@@ -192,7 +191,7 @@ export const JiraSearchContainer = props => {
|
|
|
192
191
|
onChange: onQueryChange,
|
|
193
192
|
onSearch: handleSearch,
|
|
194
193
|
query: jql
|
|
195
|
-
}), jsx(
|
|
194
|
+
}), jsx(ModeSwitcher, {
|
|
196
195
|
onOptionValueChange: onSearchMethodChange,
|
|
197
196
|
selectedOptionValue: currentSearchMethod,
|
|
198
197
|
options: [{
|
|
@@ -12,7 +12,7 @@ const modeSwitcherStyles = css({
|
|
|
12
12
|
display: 'inline-flex',
|
|
13
13
|
gap: "var(--ds-space-050, 4px)",
|
|
14
14
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
15
|
-
padding: "var(--ds-space-
|
|
15
|
+
padding: "var(--ds-space-050, 4px)",
|
|
16
16
|
'&:disabled': {
|
|
17
17
|
opacity: '0.5'
|
|
18
18
|
},
|
|
@@ -107,17 +107,17 @@ var AsyncPopupSelect = function AsyncPopupSelect(_ref) {
|
|
|
107
107
|
}
|
|
108
108
|
}, [selectedOptions, filterOptions, sortedOptions]);
|
|
109
109
|
var sortOptionsOnResolve = useCallback(function () {
|
|
110
|
-
// sortedOptions is empty initially, this will take care of setting the initial value and bring the selected items to the top
|
|
111
|
-
if (sortedOptions.length === 0) {
|
|
112
|
-
return sortOptionsOnPopupOpen();
|
|
113
|
-
}
|
|
114
|
-
|
|
115
110
|
// when the user is searching, we want the search result to be displayed as it is, and the select component will take care of marking the selected items
|
|
116
111
|
if (searchTerm) {
|
|
117
112
|
sortPaginatedResults.current = false; // set to false to indicate pagination resolve action is completed from the sorting perspective
|
|
118
113
|
return setSortedOptions(filterOptions);
|
|
119
114
|
}
|
|
120
115
|
|
|
116
|
+
// sortedOptions is empty initially, this will take care of setting the initial value and bring the selected items to the top
|
|
117
|
+
if (sortedOptions.length === 0) {
|
|
118
|
+
return sortOptionsOnPopupOpen();
|
|
119
|
+
}
|
|
120
|
+
|
|
121
121
|
// this block handles the pagination, where on pagination, we will just append newOptions to the current list
|
|
122
122
|
if (sortPaginatedResults.current) {
|
|
123
123
|
var newOptions = filterOptions.filter(function (option) {
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
2
|
var _excluded = ["children"];
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { Flex } from '@atlaskit/primitives';
|
|
4
|
+
import { 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';
|
|
8
8
|
import CustomErrorMessage from './errorMessage';
|
|
9
9
|
import CustomDropdownLoadingMessage from './loadingMessage';
|
|
10
10
|
import CustomNoOptionsMessage from './noOptionsMessage';
|
|
11
|
+
var inlineSpinnerStyles = xcss({
|
|
12
|
+
paddingTop: "var(--ds-space-075, 6px)"
|
|
13
|
+
});
|
|
11
14
|
var CustomMenuList = function CustomMenuList(_ref) {
|
|
12
15
|
var children = _ref.children,
|
|
13
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -24,7 +27,8 @@ var CustomMenuList = function CustomMenuList(_ref) {
|
|
|
24
27
|
var isLoadingMoreData = !shouldDisplayShowMore && isLoadingMore;
|
|
25
28
|
var InlineSpinner = function InlineSpinner() {
|
|
26
29
|
return /*#__PURE__*/React.createElement(Flex, {
|
|
27
|
-
justifyContent: "center"
|
|
30
|
+
justifyContent: "center",
|
|
31
|
+
xcss: inlineSpinnerStyles
|
|
28
32
|
}, /*#__PURE__*/React.createElement(Spinner, {
|
|
29
33
|
size: "medium"
|
|
30
34
|
}));
|
|
@@ -14,7 +14,6 @@ import { Flex, xcss } from '@atlaskit/primitives';
|
|
|
14
14
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
15
15
|
import { BasicFilters } from '../basic-filters';
|
|
16
16
|
import { useHydrateJqlQuery } from '../basic-filters/hooks/useHydrateJqlQuery';
|
|
17
|
-
import { SEARCH_DEBOUNCE_MS } from '../basic-filters/ui/async-popup-select';
|
|
18
17
|
import { isQueryTooComplex } from '../basic-filters/utils/isQueryTooComplex';
|
|
19
18
|
import { BasicSearchInput } from '../basic-search-input';
|
|
20
19
|
import { JiraJQLEditor } from '../jql-editor';
|
|
@@ -31,7 +30,7 @@ var basicSearchInputContainerStyles = xcss({
|
|
|
31
30
|
});
|
|
32
31
|
export var DEFAULT_JQL_QUERY = 'created >= -30d order by created DESC';
|
|
33
32
|
export var ALLOWED_ORDER_BY_KEYS = ['key', 'summary', 'assignee', 'status', 'created'];
|
|
34
|
-
var
|
|
33
|
+
export var FILTER_SELECTION_DEBOUNCE_MS = 500;
|
|
35
34
|
export var JiraSearchContainer = function JiraSearchContainer(props) {
|
|
36
35
|
var isSearching = props.isSearching,
|
|
37
36
|
parameters = props.parameters,
|
|
@@ -155,7 +154,7 @@ export var JiraSearchContainer = function JiraSearchContainer(props) {
|
|
|
155
154
|
basicFilterSelections: filterSelections,
|
|
156
155
|
isQueryComplex: isCurrentQueryComplex
|
|
157
156
|
});
|
|
158
|
-
},
|
|
157
|
+
}, FILTER_SELECTION_DEBOUNCE_MS),
|
|
159
158
|
_useDebouncedCallback2 = _slicedToArray(_useDebouncedCallback, 1),
|
|
160
159
|
debouncedBasicFilterSelectionChange = _useDebouncedCallback2[0];
|
|
161
160
|
var handleBasicFilterSelectionChange = useCallback(function (filterType, options) {
|
|
@@ -215,7 +214,7 @@ export var JiraSearchContainer = function JiraSearchContainer(props) {
|
|
|
215
214
|
onChange: onQueryChange,
|
|
216
215
|
onSearch: handleSearch,
|
|
217
216
|
query: jql
|
|
218
|
-
}), jsx(
|
|
217
|
+
}), jsx(ModeSwitcher, {
|
|
219
218
|
onOptionValueChange: onSearchMethodChange,
|
|
220
219
|
selectedOptionValue: currentSearchMethod,
|
|
221
220
|
options: [{
|
|
@@ -12,7 +12,7 @@ var modeSwitcherStyles = css({
|
|
|
12
12
|
display: 'inline-flex',
|
|
13
13
|
gap: "var(--ds-space-050, 4px)",
|
|
14
14
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
15
|
-
padding: "var(--ds-space-
|
|
15
|
+
padding: "var(--ds-space-050, 4px)",
|
|
16
16
|
'&:disabled': {
|
|
17
17
|
opacity: '0.5'
|
|
18
18
|
},
|
|
@@ -4,6 +4,7 @@ import { SelectedOptionsMap } from '../basic-filters/types';
|
|
|
4
4
|
import { JiraIssueDatasourceParameters, JiraIssueDatasourceParametersQuery } from '../types';
|
|
5
5
|
export declare const DEFAULT_JQL_QUERY = "created >= -30d order by created DESC";
|
|
6
6
|
export declare const ALLOWED_ORDER_BY_KEYS: string[];
|
|
7
|
+
export declare const FILTER_SELECTION_DEBOUNCE_MS = 500;
|
|
7
8
|
export interface SearchContainerProps {
|
|
8
9
|
isSearching?: boolean;
|
|
9
10
|
onSearch: (query: JiraIssueDatasourceParametersQuery, { searchMethod, basicFilterSelections, }: {
|
|
@@ -4,6 +4,7 @@ import { SelectedOptionsMap } from '../basic-filters/types';
|
|
|
4
4
|
import { JiraIssueDatasourceParameters, JiraIssueDatasourceParametersQuery } from '../types';
|
|
5
5
|
export declare const DEFAULT_JQL_QUERY = "created >= -30d order by created DESC";
|
|
6
6
|
export declare const ALLOWED_ORDER_BY_KEYS: string[];
|
|
7
|
+
export declare const FILTER_SELECTION_DEBOUNCE_MS = 500;
|
|
7
8
|
export interface SearchContainerProps {
|
|
8
9
|
isSearching?: boolean;
|
|
9
10
|
onSearch: (query: JiraIssueDatasourceParametersQuery, { searchMethod, basicFilterSelections, }: {
|