@atlaskit/link-datasource 1.6.3 → 1.7.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 +6 -0
- package/dist/cjs/analytics/constants.js +1 -1
- package/dist/cjs/analytics/index.js +1 -14
- package/dist/cjs/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +21 -0
- package/dist/cjs/analytics/wrappers/render-failed/index.js +21 -0
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/ui/assets-modal/modal/index.js +1 -1
- package/dist/es2019/analytics/constants.js +1 -1
- package/dist/es2019/analytics/index.js +1 -15
- package/dist/es2019/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +16 -0
- package/dist/es2019/analytics/wrappers/render-failed/index.js +5 -0
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/ui/assets-modal/modal/index.js +1 -1
- package/dist/esm/analytics/constants.js +1 -1
- package/dist/esm/analytics/index.js +1 -14
- package/dist/esm/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +15 -0
- package/dist/esm/analytics/wrappers/render-failed/index.js +9 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/ui/assets-modal/modal/index.js +1 -1
- package/dist/types/analytics/generated/analytics.types.d.ts +2 -2
- package/dist/types/analytics/index.d.ts +0 -2
- package/dist/types/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.d.ts +3 -0
- package/dist/types/analytics/wrappers/render-failed/index.d.ts +2 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types-ts4.5/analytics/constants.d.ts +0 -3
- package/dist/types-ts4.5/analytics/generated/analytics.types.d.ts +0 -134
- package/dist/types-ts4.5/analytics/generated/create-event-payload.d.ts +0 -31
- package/dist/types-ts4.5/analytics/generated/use-analytics-events.d.ts +0 -7
- package/dist/types-ts4.5/analytics/index.d.ts +0 -10
- package/dist/types-ts4.5/analytics/types.d.ts +0 -18
- package/dist/types-ts4.5/analytics/ufoExperiences/hooks/useColumnPickerRenderedFailedUfoExperience.d.ts +0 -2
- package/dist/types-ts4.5/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +0 -22
- package/dist/types-ts4.5/analytics/ufoExperiences/index.d.ts +0 -5
- package/dist/types-ts4.5/analytics/ufoExperiences/types.d.ts +0 -14
- package/dist/types-ts4.5/analytics/utils.d.ts +0 -3
- package/dist/types-ts4.5/common/types.d.ts +0 -1
- package/dist/types-ts4.5/hooks/useAssetsClient.d.ts +0 -9
- package/dist/types-ts4.5/hooks/useDatasourceTableState.d.ts +0 -31
- package/dist/types-ts4.5/hooks/useObjectSchemas.d.ts +0 -8
- package/dist/types-ts4.5/hooks/useValidateAqlText.d.ts +0 -7
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -54
- package/dist/types-ts4.5/i18n/da.d.ts +0 -54
- package/dist/types-ts4.5/i18n/de.d.ts +0 -54
- package/dist/types-ts4.5/i18n/en.d.ts +0 -55
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -55
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -55
- package/dist/types-ts4.5/i18n/es.d.ts +0 -54
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -54
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -54
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -54
- package/dist/types-ts4.5/i18n/it.d.ts +0 -54
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -54
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -54
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -54
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -54
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -54
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -54
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -54
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -54
- package/dist/types-ts4.5/i18n/th.d.ts +0 -54
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -54
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -54
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -54
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -54
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -54
- package/dist/types-ts4.5/index.d.ts +0 -10
- package/dist/types-ts4.5/services/cmdbService.d.ts +0 -7
- package/dist/types-ts4.5/services/getAvailableJiraSites.d.ts +0 -6
- package/dist/types-ts4.5/services/makeGetJqlAutocompleteData.d.ts +0 -6
- package/dist/types-ts4.5/services/makeGetJqlSuggestionsData.d.ts +0 -5
- package/dist/types-ts4.5/types/assets/types.d.ts +0 -34
- package/dist/types-ts4.5/ui/assets-modal/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/assets-modal/modal/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/assets-modal/modal/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/index.d.ts +0 -17
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/initial-state-view/assets/crystal-ball-svg.d.ts +0 -2
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/initial-state-view/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/initial-state-view/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/loading-state.d.ts +0 -3
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/assets-modal/search-container/index.d.ts +0 -17
- package/dist/types-ts4.5/ui/assets-modal/search-container/loading-state.d.ts +0 -8
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/index.d.ts +0 -21
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/loading-state.d.ts +0 -3
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/utils.d.ts +0 -2
- package/dist/types-ts4.5/ui/assets-modal/search-container/styled.d.ts +0 -19
- package/dist/types-ts4.5/ui/assets-modal/types.d.ts +0 -23
- package/dist/types-ts4.5/ui/common/error-state/access-required-svg.d.ts +0 -2
- package/dist/types-ts4.5/ui/common/error-state/access-required.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/error-state/loading-error-svg.d.ts +0 -2
- package/dist/types-ts4.5/ui/common/error-state/loading-error.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/error-state/messages.d.ts +0 -47
- package/dist/types-ts4.5/ui/common/error-state/modal-loading-error.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/error-state/no-results.d.ts +0 -6
- package/dist/types-ts4.5/ui/datasource-table-view/datasourceTableView.d.ts +0 -3
- package/dist/types-ts4.5/ui/datasource-table-view/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/datasource-table-view/types.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/concatenated-menu-list.d.ts +0 -5
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/types.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/drag-column-preview.d.ts +0 -7
- package/dist/types-ts4.5/ui/issue-like-table/draggable-table-heading.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/priority.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/type.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/types.d.ts +0 -2
- package/dist/types-ts4.5/ui/issue-like-table/index.d.ts +0 -18
- package/dist/types-ts4.5/ui/issue-like-table/render-type/boolean/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/boolean/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/render-type/date-time/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/issue-like-table/render-type/icon/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/render-type/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/issue-like-table/render-type/link/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/render-type/number/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/richtext/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/render-type/status/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/render-type/tag/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/text/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/user/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/issue-like-table/render-type/user/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/issue-like-table/styled.d.ts +0 -18
- package/dist/types-ts4.5/ui/issue-like-table/types.d.ts +0 -53
- package/dist/types-ts4.5/ui/issue-like-table/useIsOnScreen.d.ts +0 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-search-input/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-search-input/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/jira-issues-modal/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/jira-issues-modal/initial-state-view/assets/initial-state-svg.d.ts +0 -2
- package/dist/types-ts4.5/ui/jira-issues-modal/initial-state-view/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/jira-issues-modal/initial-state-view/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/basic-filters/hooks/useBasicFilterHook.d.ts +0 -4
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/basic-filters/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/basic-filters/ui/common/dropdown/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/basic-filters/ui/containers/project/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/basic-filters/ui/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/buildJQL.d.ts +0 -7
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/jira-issues-modal/jql-editor/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/jira-issues-modal/modal/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/jira-issues-modal/modal/messages.d.ts +0 -42
- package/dist/types-ts4.5/ui/jira-issues-modal/mode-switcher/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/jira-issues-modal/site-selector/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/jira-issues-modal/site-selector/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/jira-issues-modal/types.d.ts +0 -43
- package/dist/types-ts4.5/ui/table-footer/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/table-footer/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/table-footer/sync-info/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/table-footer/sync-info/messages.d.ts +0 -12
- package/tmp/api-report-tmp.d.ts +0 -153
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import { MenuListComponentProps, OptionType } from '@atlaskit/select';
|
|
4
|
-
export declare const SELECT_ITEMS_MAXIMUM_THRESHOLD = 200;
|
|
5
|
-
export declare const ConcatenatedMenuList: ({ children, ...props }: MenuListComponentProps<OptionType, true>) => jsx.JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const columnPickerMessages: {
|
|
2
|
-
maximumItemsShownLine1: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
maximumItemsShownLine2: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
search: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DatasourceResponseSchemaProperty } from '@atlaskit/linking-types';
|
|
2
|
-
export type ColumnPickerProps = {
|
|
3
|
-
columns: DatasourceResponseSchemaProperty[];
|
|
4
|
-
selectedColumnKeys: string[];
|
|
5
|
-
onSelectedColumnKeysChange: (selectedColumnKeys: string[]) => void;
|
|
6
|
-
onOpen?: () => void;
|
|
7
|
-
parentContainerRenderInstanceId?: string;
|
|
8
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
|
-
export declare const DraggableTableHeading: ({ children, id, index, tableId, dndPreviewHeight, dragPreview, maxWidth, }: {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
id: string;
|
|
7
|
-
index: number;
|
|
8
|
-
tableId: Symbol;
|
|
9
|
-
dndPreviewHeight: number;
|
|
10
|
-
dragPreview: React.ReactNode;
|
|
11
|
-
maxWidth?: number | undefined;
|
|
12
|
-
}) => jsx.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
export interface Props {
|
|
4
|
-
isCompact?: boolean;
|
|
5
|
-
isLoading?: boolean;
|
|
6
|
-
testId?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: ({ isCompact, isLoading, testId }: Props) => jsx.JSX.Element;
|
|
9
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { Ref } from 'react';
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
|
-
import { DatasourceResponseSchemaProperty } from '@atlaskit/linking-types/datasource';
|
|
5
|
-
import { IssueLikeDataTableViewProps } from './types';
|
|
6
|
-
export interface RowType {
|
|
7
|
-
cells: Array<RowCellType>;
|
|
8
|
-
key?: string;
|
|
9
|
-
ref?: Ref<HTMLTableRowElement>;
|
|
10
|
-
}
|
|
11
|
-
export interface RowCellType {
|
|
12
|
-
key: string;
|
|
13
|
-
content?: React.ReactNode | string;
|
|
14
|
-
maxWidth?: number;
|
|
15
|
-
}
|
|
16
|
-
export declare const orderColumns: (columns: DatasourceResponseSchemaProperty[], visibleColumnKeys: string[]) => DatasourceResponseSchemaProperty[];
|
|
17
|
-
export declare const IssueLikeDataTableView: ({ testId, onNextPage, onLoadDatasourceDetails, items, columns, renderItem, visibleColumnKeys, onVisibleColumnKeysChange, status, hasNextPage, scrollableContainerHeight, parentContainerRenderInstanceId, extensionKey, }: IssueLikeDataTableViewProps) => jsx.JSX.Element;
|
|
18
|
-
export declare const EmptyState: ({ isCompact, isLoading, testId }: import("./empty-state").Props) => jsx.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BooleanType } from '@atlaskit/linking-types';
|
|
3
|
-
interface BooleanProps {
|
|
4
|
-
testId?: string;
|
|
5
|
-
value: BooleanType['value'];
|
|
6
|
-
}
|
|
7
|
-
export declare const BOOLEAN_TYPE_TEST_ID = "link-datasource-render-type--boolean";
|
|
8
|
-
declare const BooleanRenderType: ({ value, testId, }: BooleanProps) => JSX.Element;
|
|
9
|
-
export default BooleanRenderType;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DateTimeType, DateType, TimeType } from '@atlaskit/linking-types';
|
|
3
|
-
export interface DateProps {
|
|
4
|
-
testId?: string;
|
|
5
|
-
value: (DateType | TimeType | DateTimeType)['value'];
|
|
6
|
-
display: (DateType | TimeType | DateTimeType)['type'];
|
|
7
|
-
}
|
|
8
|
-
export declare const DATETIME_TYPE_TEST_ID = "link-datasource-render-type--datetime";
|
|
9
|
-
declare const DateTimeRenderType: ({ value, testId, display, }: DateProps) => JSX.Element;
|
|
10
|
-
export default DateTimeRenderType;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Icon } from '@atlaskit/linking-types';
|
|
3
|
-
interface IconProps extends Icon {
|
|
4
|
-
testId?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const ICON_TYPE_TEST_ID = "link-datasource-render-type--icon";
|
|
7
|
-
declare const IconRenderType: ({ label, source, testId, }: IconProps) => JSX.Element;
|
|
8
|
-
export default IconRenderType;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Link } from '@atlaskit/linking-types';
|
|
3
|
-
interface LinkProps extends Link {
|
|
4
|
-
testId?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const LINK_TYPE_TEST_ID = "link-datasource-render-type--link";
|
|
7
|
-
declare const _default: React.MemoExoticComponent<({ style, url, text, testId, }: LinkProps) => JSX.Element | null>;
|
|
8
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { NumberType } from '@atlaskit/linking-types';
|
|
3
|
-
interface NumberProps {
|
|
4
|
-
testId?: string;
|
|
5
|
-
number: NumberType['value'];
|
|
6
|
-
}
|
|
7
|
-
export declare const NUMBER_TYPE_TEST_ID = "link-datasource-render-type--number";
|
|
8
|
-
declare const NumberRenderType: ({ number, testId, }: NumberProps) => JSX.Element;
|
|
9
|
-
export default NumberRenderType;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Status } from '@atlaskit/linking-types';
|
|
3
|
-
interface StatusProps extends Status {
|
|
4
|
-
testId?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const STATUS_TYPE_TEST_ID = "link-datasource-render-type--status";
|
|
7
|
-
declare const StatusRenderType: ({ text, style, testId, }: StatusProps) => JSX.Element;
|
|
8
|
-
export default StatusRenderType;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { TagType } from '@atlaskit/linking-types';
|
|
3
|
-
interface TagProps {
|
|
4
|
-
tag: TagType['value'];
|
|
5
|
-
testId?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const TAG_TYPE_TEST_ID = "link-datasource-render-type--tag";
|
|
8
|
-
declare const TagRenderType: ({ tag, testId }: TagProps) => JSX.Element;
|
|
9
|
-
export default TagRenderType;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { StringType } from '@atlaskit/linking-types';
|
|
3
|
-
interface TextProps {
|
|
4
|
-
testId?: string;
|
|
5
|
-
text: StringType['value'];
|
|
6
|
-
}
|
|
7
|
-
export declare const TEXT_TYPE_TEST_ID = "link-datasource-render-type--text";
|
|
8
|
-
declare const TextRenderType: ({ text, testId }: TextProps) => JSX.Element;
|
|
9
|
-
export default TextRenderType;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SizeType } from '@atlaskit/avatar';
|
|
3
|
-
import { User } from '@atlaskit/linking-types';
|
|
4
|
-
interface UserProps extends User {
|
|
5
|
-
children?: React.ReactElement;
|
|
6
|
-
testId?: string;
|
|
7
|
-
avatarSize?: SizeType;
|
|
8
|
-
}
|
|
9
|
-
export declare const USER_TYPE_TEST_ID = "link-datasource-render-type--user";
|
|
10
|
-
declare const UserType: ({ avatarSource, avatarSize, displayName, testId, children, }: UserProps) => JSX.Element;
|
|
11
|
-
export default UserType;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const FieldTextFontSize = "14px";
|
|
3
|
-
export declare const Table: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
}, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
|
|
7
|
-
export declare const TableHeading: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
-
}, import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {}>;
|
|
11
|
-
export declare const EmptyStateTableHeading: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any> | undefined;
|
|
14
|
-
} & import("react").ClassAttributes<HTMLTableHeaderCellElement> & import("react").ThHTMLAttributes<HTMLTableHeaderCellElement> & {
|
|
15
|
-
children?: import("react").ReactNode;
|
|
16
|
-
} & {
|
|
17
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
-
}, {}, {}>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DatasourceDataResponseItem, DatasourceResponseSchemaProperty, DatasourceTableStatusType, DatasourceType } from '@atlaskit/linking-types';
|
|
3
|
-
import { NextPageType } from '../../hooks/useDatasourceTableState';
|
|
4
|
-
export type TableViewPropsRenderType = (item: DatasourceType) => React.ReactNode;
|
|
5
|
-
export interface IssueLikeDataTableViewProps {
|
|
6
|
-
testId?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Unique ID to indicate parent component instance to be used for UFO experiences
|
|
9
|
-
*/
|
|
10
|
-
parentContainerRenderInstanceId?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Datasource extension key. Optional as value may not have been returned yet
|
|
13
|
-
*/
|
|
14
|
-
extensionKey?: string | null;
|
|
15
|
-
/**
|
|
16
|
-
* All available columns/properties.
|
|
17
|
-
* Consumer should not reorder these columns to align with `visibleColumnKeys`.
|
|
18
|
-
* UI will display them according to `visibleColumnKeys`
|
|
19
|
-
*/
|
|
20
|
-
columns: DatasourceResponseSchemaProperty[];
|
|
21
|
-
/**
|
|
22
|
-
* List of properties/column keys that are visible/selected
|
|
23
|
-
*/
|
|
24
|
-
visibleColumnKeys: string[];
|
|
25
|
-
hasNextPage: boolean;
|
|
26
|
-
status: DatasourceTableStatusType;
|
|
27
|
-
items: DatasourceDataResponseItem[];
|
|
28
|
-
onNextPage: NextPageType;
|
|
29
|
-
onLoadDatasourceDetails: () => void;
|
|
30
|
-
/**
|
|
31
|
-
* A function to define new or override existing render components.
|
|
32
|
-
* eg:
|
|
33
|
-
* const renderItem: TableViewPropsRenderType = item => {
|
|
34
|
-
* if (item.type === 'icon') {
|
|
35
|
-
* return (
|
|
36
|
-
* <IconRenderType label={item.label} source={item.source} />
|
|
37
|
-
* );
|
|
38
|
-
* }
|
|
39
|
-
* return fallbackRenderType(item);
|
|
40
|
-
* };
|
|
41
|
-
*/
|
|
42
|
-
renderItem?: TableViewPropsRenderType;
|
|
43
|
-
/**
|
|
44
|
-
* Callback that is called in either column re-order or columns being selected/unselected
|
|
45
|
-
* @param visibleColumnKeys
|
|
46
|
-
*/
|
|
47
|
-
onVisibleColumnKeysChange?: (visibleColumnKeys: string[]) => void;
|
|
48
|
-
/**
|
|
49
|
-
* If this number is set it will restrict (max-height) maximum size of the component AND make main container a scrollable container.
|
|
50
|
-
* It this number is undefined it will not restrict height and not make container scrollable.
|
|
51
|
-
*/
|
|
52
|
-
scrollableContainerHeight?: number;
|
|
53
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useIsOnScreen: (el: HTMLElement | null) => boolean;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/** @jsx jsx */
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
|
-
export interface BasicSearchInputProps {
|
|
5
|
-
isDisabled?: boolean;
|
|
6
|
-
isSearching?: boolean;
|
|
7
|
-
onChange: React.FormEventHandler<HTMLInputElement>;
|
|
8
|
-
onSearch: (searchTerm: string) => void;
|
|
9
|
-
searchTerm: string;
|
|
10
|
-
testId?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const BasicSearchInput: ({ isDisabled, isSearching, onChange, onSearch, searchTerm, testId, }: BasicSearchInputProps) => jsx.JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { JiraIssuesConfigModalProps } from './types';
|
|
3
|
-
export declare const JIRA_LIST_OF_LINKS_DATASOURCE_ID = "d8b75300-dfda-4519-b6cd-e49abbd50401";
|
|
4
|
-
declare const JiraIssuesConfigModalWithWrappers: (props: JiraIssuesConfigModalProps) => JSX.Element;
|
|
5
|
-
export default JiraIssuesConfigModalWithWrappers;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const initialStateViewMessages: {
|
|
2
|
-
searchTitle: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
searchDescription: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
learnMoreLink: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/basic-filters/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BasicFilters } from './ui';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
|
-
import type { JiraSearchMethod } from '../../../common/types';
|
|
3
|
-
import { JiraIssueDatasourceParameters, JiraIssueDatasourceParametersQuery } from '../types';
|
|
4
|
-
export interface SearchContainerProps {
|
|
5
|
-
isSearching?: boolean;
|
|
6
|
-
onSearch: (query: JiraIssueDatasourceParametersQuery, searchMethod: JiraSearchMethod) => void;
|
|
7
|
-
parameters?: JiraIssueDatasourceParameters;
|
|
8
|
-
}
|
|
9
|
-
export declare const getInitialSearchMethod: (initialJql?: string) => JiraSearchMethod;
|
|
10
|
-
export declare const JiraSearchContainer: (props: SearchContainerProps) => jsx.JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import { DatasourceAction } from '../../../analytics/types';
|
|
4
|
-
import { JiraIssuesConfigModalProps } from '../types';
|
|
5
|
-
/**
|
|
6
|
-
* This method should be called when one atomic action is performed on columns: adding new item, removing one item, changing items order.
|
|
7
|
-
* The assumption is that since only one action is changed at each time, we don't have to verify the actual contents of the lists.
|
|
8
|
-
*/
|
|
9
|
-
export declare const getColumnAction: (oldVisibleColumnKeys: string[], newVisibleColumnKeys: string[]) => DatasourceAction;
|
|
10
|
-
export declare const PlainJiraIssuesConfigModal: (props: JiraIssuesConfigModalProps) => jsx.JSX.Element;
|
|
11
|
-
export declare const JiraIssuesConfigModal: import("react").ForwardRefExoticComponent<JiraIssuesConfigModalProps & import("@atlaskit/analytics-next").WithContextProps & import("react").RefAttributes<any>>;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export declare const modalMessages: {
|
|
2
|
-
cancelButtonText: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
insertIssuesButtonText: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
insertIssuesTitle: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
insertIssuesTitleManySites: {
|
|
18
|
-
id: string;
|
|
19
|
-
description: string;
|
|
20
|
-
defaultMessage: string;
|
|
21
|
-
};
|
|
22
|
-
issueViewModeLabel: {
|
|
23
|
-
id: string;
|
|
24
|
-
description: string;
|
|
25
|
-
defaultMessage: string;
|
|
26
|
-
};
|
|
27
|
-
countViewModeLabel: {
|
|
28
|
-
id: string;
|
|
29
|
-
description: string;
|
|
30
|
-
defaultMessage: string;
|
|
31
|
-
};
|
|
32
|
-
issuesCountSmartCardPlaceholderText: {
|
|
33
|
-
id: string;
|
|
34
|
-
description: string;
|
|
35
|
-
defaultMessage: string;
|
|
36
|
-
};
|
|
37
|
-
issueText: {
|
|
38
|
-
id: string;
|
|
39
|
-
description: string;
|
|
40
|
-
defaultMessage: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
|
-
export interface ModeSwitcherProps<T extends string = string> {
|
|
3
|
-
isCompact?: boolean;
|
|
4
|
-
isDisabled?: boolean;
|
|
5
|
-
options: {
|
|
6
|
-
label: string;
|
|
7
|
-
value: T;
|
|
8
|
-
}[];
|
|
9
|
-
onOptionValueChange: (selectedOptionValue: T) => void;
|
|
10
|
-
selectedOptionValue?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const ModeSwitcher: <T extends string = string>(props: ModeSwitcherProps<T>) => jsx.JSX.Element | null;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import { Site } from '../../../services/getAvailableJiraSites';
|
|
4
|
-
export interface JiraSiteSelectorProps {
|
|
5
|
-
availableSites: Site[];
|
|
6
|
-
onSiteSelection: (selectedSite: Site) => void;
|
|
7
|
-
selectedJiraSite?: Site;
|
|
8
|
-
testId?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const JiraSiteSelector: (props: JiraSiteSelectorProps) => jsx.JSX.Element;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
-
import { DatasourceAdf, InlineCardAdf } from '@atlaskit/linking-common/types';
|
|
3
|
-
type XOR<T1, T2> = (T1 & {
|
|
4
|
-
[k in Exclude<keyof T2, keyof T1>]?: never;
|
|
5
|
-
}) | (T2 & {
|
|
6
|
-
[k in Exclude<keyof T1, keyof T2>]?: never;
|
|
7
|
-
});
|
|
8
|
-
export type JiraIssueDatasourceParametersQuery = XOR<{
|
|
9
|
-
jql: string;
|
|
10
|
-
}, {
|
|
11
|
-
filter: string;
|
|
12
|
-
}>;
|
|
13
|
-
export type JiraIssueDatasourceParameters = {
|
|
14
|
-
cloudId: string;
|
|
15
|
-
} & JiraIssueDatasourceParametersQuery;
|
|
16
|
-
export type JiraIssueViewModes = 'issue' | 'count';
|
|
17
|
-
export interface JiraIssuesDatasourceAdf extends DatasourceAdf {
|
|
18
|
-
attrs: {
|
|
19
|
-
url?: string;
|
|
20
|
-
datasource: {
|
|
21
|
-
id: string;
|
|
22
|
-
parameters: JiraIssueDatasourceParameters;
|
|
23
|
-
views: [
|
|
24
|
-
{
|
|
25
|
-
type: 'table';
|
|
26
|
-
properties?: {
|
|
27
|
-
columns: {
|
|
28
|
-
key: string;
|
|
29
|
-
}[];
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export interface JiraIssuesConfigModalProps {
|
|
37
|
-
datasourceId: string;
|
|
38
|
-
visibleColumnKeys?: string[];
|
|
39
|
-
parameters?: JiraIssueDatasourceParameters;
|
|
40
|
-
onCancel: () => void;
|
|
41
|
-
onInsert: (adf: InlineCardAdf | JiraIssuesDatasourceAdf, analyticsEvent?: UIAnalyticsEvent) => void;
|
|
42
|
-
}
|
|
43
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
|
-
export type TableFooterProps = {
|
|
3
|
-
itemCount?: number;
|
|
4
|
-
onRefresh?: () => void;
|
|
5
|
-
isLoading: boolean;
|
|
6
|
-
url?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const TableFooter: ({ itemCount, onRefresh, isLoading, url, }: TableFooterProps) => jsx.JSX.Element | null;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const footerMessages: {
|
|
2
|
-
itemText: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
loadingText: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
refreshLabel: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
};
|