@antscorp/antsomi-ui 1.2.3-beta.23 → 1.2.3-beta.25
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/README.md +78 -78
- package/dist/index.js +1 -1
- package/dist/types/components/atoms/Button/Button.d.ts +1 -1
- package/dist/types/components/atoms/Button/Button.stories.d.ts +32 -32
- package/dist/types/components/atoms/Button/__tests__/Button.test.d.ts +1 -1
- package/dist/types/components/atoms/Button/index.d.ts +10 -10
- package/dist/types/components/atoms/Button/test.d.ts +3 -3
- package/dist/types/components/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +16 -16
- package/dist/types/components/atoms/Checkbox/__tests__/Checkbox.test.d.ts +1 -1
- package/dist/types/components/atoms/Checkbox/index.d.ts +1 -1
- package/dist/types/components/atoms/Divider/Divider.d.ts +1 -1
- package/dist/types/components/atoms/Divider/Divider.stories.d.ts +8 -8
- package/dist/types/components/atoms/Divider/__tests__/Divider.test.d.ts +1 -1
- package/dist/types/components/atoms/Divider/index.d.ts +1 -1
- package/dist/types/components/atoms/Input/Input.d.ts +7 -7
- package/dist/types/components/atoms/Input/Input.stories.d.ts +22 -22
- package/dist/types/components/atoms/Input/__tests__/Input.test.d.ts +1 -1
- package/dist/types/components/atoms/Input/index.d.ts +1 -1
- package/dist/types/components/atoms/InputNumber/InputNumber.d.ts +6 -6
- package/dist/types/components/atoms/InputNumber/InputNumber.stories.d.ts +16 -16
- package/dist/types/components/atoms/InputNumber/__tests__/InputNumber.test.d.ts +1 -1
- package/dist/types/components/atoms/InputNumber/index.d.ts +1 -1
- package/dist/types/components/atoms/Radio/Radio.d.ts +1 -1
- package/dist/types/components/atoms/Radio/Radio.stories.d.ts +17 -17
- package/dist/types/components/atoms/Radio/__tests__/Radio.test.d.ts +1 -1
- package/dist/types/components/atoms/Radio/index.d.ts +1 -1
- package/dist/types/components/atoms/Space/Space.d.ts +1 -1
- package/dist/types/components/atoms/Space/Space.stories.d.ts +16 -16
- package/dist/types/components/atoms/Space/index.d.ts +1 -1
- package/dist/types/components/atoms/Tag/Tag.d.ts +1 -1
- package/dist/types/components/atoms/Tag/Tag.stories.d.ts +12 -12
- package/dist/types/components/atoms/Tag/index.d.ts +1 -1
- package/dist/types/components/atoms/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -14
- package/dist/types/components/atoms/Tooltip/index.d.ts +1 -1
- package/dist/types/components/atoms/Typography/Text.d.ts +1 -1
- package/dist/types/components/atoms/Typography/Typography.stories.d.ts +11 -11
- package/dist/types/components/atoms/Typography/index.d.ts +1 -1
- package/dist/types/components/atoms/index.d.ts +10 -10
- package/dist/types/components/common/ConfigProvider/ConfigProvider.d.ts +10 -10
- package/dist/types/components/common/ConfigProvider/GlobalStyle.d.ts +5 -5
- package/dist/types/components/common/ConfigProvider/index.d.ts +1 -1
- package/dist/types/components/common/index.d.ts +1 -1
- package/dist/types/components/icons/ArrowGrowIcon.d.ts +1 -1
- package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -1
- package/dist/types/components/icons/BugIcon.d.ts +1 -1
- package/dist/types/components/icons/CameraIcon.d.ts +1 -1
- package/dist/types/components/icons/CaptureIcon.d.ts +1 -1
- package/dist/types/components/icons/CheckSlimIcon.d.ts +1 -1
- package/dist/types/components/icons/CloseIcon.d.ts +3 -3
- package/dist/types/components/icons/CommentIcon.d.ts +1 -1
- package/dist/types/components/icons/EventIcon.d.ts +3 -3
- package/dist/types/components/icons/FreeDrawIcon.d.ts +1 -1
- package/dist/types/components/icons/GPTIcon.d.ts +1 -1
- package/dist/types/components/icons/GPTIconV2.d.ts +1 -1
- package/dist/types/components/icons/GPTIconV3.d.ts +1 -1
- package/dist/types/components/icons/HighlightIcon.d.ts +1 -1
- package/dist/types/components/icons/IdeaIcon.d.ts +1 -1
- package/dist/types/components/icons/InvisibleIcon.d.ts +1 -1
- package/dist/types/components/icons/MuteIcon.d.ts +1 -1
- package/dist/types/components/icons/OpenUrlIcon.d.ts +1 -1
- package/dist/types/components/icons/PauseIcon.d.ts +1 -1
- package/dist/types/components/icons/PlaneIcon.d.ts +1 -1
- package/dist/types/components/icons/RequestIcon.d.ts +1 -0
- package/dist/types/components/icons/StopRecordIcon.d.ts +1 -1
- package/dist/types/components/icons/UserIcon.d.ts +1 -1
- package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -1
- package/dist/types/components/icons/WarningIcon.d.ts +1 -1
- package/dist/types/components/icons/index.d.ts +25 -24
- package/dist/types/components/index.d.ts +4 -4
- package/dist/types/components/molecules/Alert/Alert.d.ts +1 -1
- package/dist/types/components/molecules/Alert/Alert.stories.d.ts +21 -21
- package/dist/types/components/molecules/Alert/index.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/CaptureScreen.d.ts +15 -11
- package/dist/types/components/molecules/CaptureScreen/CaptureScreen.stories.d.ts +29 -21
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/CommentBox.d.ts +16 -16
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/index.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/styled.d.ts +12 -12
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +15 -15
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +3 -3
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/index.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +7 -7
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +10 -10
- package/dist/types/components/molecules/CaptureScreen/constants.d.ts +41 -34
- package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +5 -5
- package/dist/types/components/molecules/CaptureScreen/index.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/styled.d.ts +26 -26
- package/dist/types/components/molecules/CaptureScreen/themes/black.d.ts +54 -54
- package/dist/types/components/molecules/CaptureScreen/themes/white.d.ts +54 -54
- package/dist/types/components/molecules/CaptureScreen/types.d.ts +108 -102
- package/dist/types/components/molecules/CaptureScreen/utils.d.ts +13 -13
- package/dist/types/components/molecules/Cascader/Cascader.d.ts +1 -1
- package/dist/types/components/molecules/Cascader/Cascader.stories.d.ts +37 -37
- package/dist/types/components/molecules/Cascader/index.d.ts +1 -1
- package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +3 -3
- package/dist/types/components/molecules/ChatBox/MessageItem.d.ts +5 -5
- package/dist/types/components/molecules/ChatBox/constants.d.ts +6 -6
- package/dist/types/components/molecules/ChatBox/index.d.ts +1 -1
- package/dist/types/components/molecules/ChatBox/styled.d.ts +10 -10
- package/dist/types/components/molecules/ChatBox/types.d.ts +32 -32
- package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +8 -8
- package/dist/types/components/molecules/DatePicker/DatePicker.stories.d.ts +4 -4
- package/dist/types/components/molecules/DatePicker/__tests__/DatePicker.test.d.ts +1 -1
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.d.ts +28 -28
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.stories.d.ts +5 -5
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/constants.d.ts +53 -53
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/index.d.ts +3 -3
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/styled.d.ts +7 -7
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/types.d.ts +14 -14
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/utils.d.ts +15 -15
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.d.ts +15 -15
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.stories.d.ts +9 -9
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/constants.d.ts +4 -4
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/index.d.ts +2 -2
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/types.d.ts +17 -17
- package/dist/types/components/molecules/DatePicker/index.d.ts +3 -3
- package/dist/types/components/molecules/Dropdown/Dropdown.d.ts +1 -1
- package/dist/types/components/molecules/Dropdown/Dropdown.stories.d.ts +23 -25
- package/dist/types/components/molecules/Dropdown/index.d.ts +1 -1
- package/dist/types/components/molecules/Modal/Modal.d.ts +1 -1
- package/dist/types/components/molecules/Modal/Modal.stories.d.ts +28 -28
- package/dist/types/components/molecules/Modal/index.d.ts +1 -1
- package/dist/types/components/molecules/PopupDraggable/PopupDraggable.d.ts +6 -6
- package/dist/types/components/molecules/PopupDraggable/index.d.ts +1 -1
- package/dist/types/components/molecules/PopupDraggable/styled.d.ts +5 -4
- package/dist/types/components/molecules/PopupDraggable/types.d.ts +15 -12
- package/dist/types/components/molecules/Select/Select.d.ts +15 -15
- package/dist/types/components/molecules/Select/Select.stories.d.ts +28 -28
- package/dist/types/components/molecules/Select/Test.d.ts +3 -3
- package/dist/types/components/molecules/Select/index.d.ts +2 -2
- package/dist/types/components/molecules/Select/styled.d.ts +4 -4
- package/dist/types/components/molecules/Tabs/Tabs.d.ts +1 -1
- package/dist/types/components/molecules/Tabs/index.d.ts +1 -1
- package/dist/types/components/molecules/index.d.ts +11 -11
- package/dist/types/components/organism/Help/Help.d.ts +5 -5
- package/dist/types/components/organism/Help/constants.d.ts +140 -138
- package/dist/types/components/organism/Help/index.d.ts +1 -1
- package/dist/types/components/organism/Help/styled.d.ts +81 -0
- package/dist/types/components/organism/Help/types.d.ts +67 -65
- package/dist/types/components/organism/Help/utils.d.ts +15 -14
- package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -0
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -0
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/index.d.ts +0 -0
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +75 -0
- package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +1 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +2 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +11 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +17 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -0
- package/dist/types/components/organism/Table/Table.d.ts +1 -1
- package/dist/types/components/organism/Table/Table.stories.d.ts +39 -39
- package/dist/types/components/organism/Table/index.d.ts +2 -1
- package/dist/types/components/organism/index.d.ts +2 -2
- package/dist/types/constants/index.d.ts +2 -2
- package/dist/types/constants/storybook.d.ts +11 -11
- package/dist/types/constants/theme.d.ts +12 -13
- package/dist/types/hooks/index.d.ts +2 -2
- package/dist/types/hooks/useDebounce.d.ts +3 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/locales/i18n.d.ts +73 -73
- package/dist/types/locales/translations.d.ts +37 -37
- package/dist/types/locales/types.d.ts +15 -15
- package/dist/types/services/Ticket.d.ts +67 -67
- package/dist/types/services/constants.d.ts +20 -20
- package/dist/types/stories/components/TableApiTypeTag/index.d.ts +6 -6
- package/dist/types/stories/components/index.d.ts +1 -1
- package/dist/types/test.d.ts +3 -3
- package/dist/types/types/index.d.ts +6 -6
- package/dist/types/utils/color.d.ts +9 -0
- package/dist/types/utils/common.d.ts +46 -46
- package/dist/types/utils/handleError.d.ts +2 -2
- package/dist/types/utils/index.d.ts +3 -0
- package/package.json +135 -135
- package/dist/package.json +0 -43
|
@@ -1,65 +1,67 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import type { TabPaneProps } from 'antd';
|
|
3
|
-
type TriggerTypeDropdown = Array<'hover' | 'contextMenu' | 'click'>;
|
|
4
|
-
type ConfigProps = {
|
|
5
|
-
domain: string;
|
|
6
|
-
domainTicket: string;
|
|
7
|
-
token: string;
|
|
8
|
-
apiKey: string;
|
|
9
|
-
portalId: string;
|
|
10
|
-
config: any;
|
|
11
|
-
userId: string;
|
|
12
|
-
domainPlatform: string;
|
|
13
|
-
appCode: string;
|
|
14
|
-
avatar?: string;
|
|
15
|
-
};
|
|
16
|
-
export interface ValueFormProps {
|
|
17
|
-
title: string;
|
|
18
|
-
ticketType: string;
|
|
19
|
-
priority: string;
|
|
20
|
-
category: any;
|
|
21
|
-
ownerId: number;
|
|
22
|
-
followers: any[];
|
|
23
|
-
message: string;
|
|
24
|
-
files: any[];
|
|
25
|
-
referenceUrl: string;
|
|
26
|
-
}
|
|
27
|
-
export interface AllAppOptionsProps {
|
|
28
|
-
label: string;
|
|
29
|
-
value: string;
|
|
30
|
-
raw?: any;
|
|
31
|
-
}
|
|
32
|
-
export interface IHelpProps {
|
|
33
|
-
configs: ConfigProps;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import type { TabPaneProps } from 'antd';
|
|
3
|
+
type TriggerTypeDropdown = Array<'hover' | 'contextMenu' | 'click'>;
|
|
4
|
+
type ConfigProps = {
|
|
5
|
+
domain: string;
|
|
6
|
+
domainTicket: string;
|
|
7
|
+
token: string;
|
|
8
|
+
apiKey: string;
|
|
9
|
+
portalId: string;
|
|
10
|
+
config: any;
|
|
11
|
+
userId: string;
|
|
12
|
+
domainPlatform: string;
|
|
13
|
+
appCode: string;
|
|
14
|
+
avatar?: string;
|
|
15
|
+
};
|
|
16
|
+
export interface ValueFormProps {
|
|
17
|
+
title: string;
|
|
18
|
+
ticketType: string;
|
|
19
|
+
priority: string;
|
|
20
|
+
category: any;
|
|
21
|
+
ownerId: number;
|
|
22
|
+
followers: any[];
|
|
23
|
+
message: string;
|
|
24
|
+
files: any[];
|
|
25
|
+
referenceUrl: string;
|
|
26
|
+
}
|
|
27
|
+
export interface AllAppOptionsProps {
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
raw?: any;
|
|
31
|
+
}
|
|
32
|
+
export interface IHelpProps {
|
|
33
|
+
configs: ConfigProps;
|
|
34
|
+
boundsDraggable?: string;
|
|
35
|
+
isShowResizeHover?: boolean;
|
|
36
|
+
triggerType: TriggerTypeDropdown;
|
|
37
|
+
onClick?: Function;
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
}
|
|
40
|
+
export interface LabelProps {
|
|
41
|
+
color: string;
|
|
42
|
+
}
|
|
43
|
+
export type MenuItemTypeProps = {
|
|
44
|
+
item: any;
|
|
45
|
+
key: string;
|
|
46
|
+
keyPath: string[];
|
|
47
|
+
domEvent: React.MouseEvent<any>;
|
|
48
|
+
};
|
|
49
|
+
export interface ITabShareScreenProps extends Omit<TabPaneProps, 'tab'> {
|
|
50
|
+
key: string;
|
|
51
|
+
label: React.ReactNode;
|
|
52
|
+
}
|
|
53
|
+
export interface ImageDrewProps {
|
|
54
|
+
imageName: string;
|
|
55
|
+
dataURL: string;
|
|
56
|
+
}
|
|
57
|
+
export interface StreamTrackProps {
|
|
58
|
+
desktopStream: MediaStream;
|
|
59
|
+
voiceStream: MediaStream;
|
|
60
|
+
}
|
|
61
|
+
export interface HelpDocItem {
|
|
62
|
+
title: string | JSX.Element;
|
|
63
|
+
key: string;
|
|
64
|
+
path?: string;
|
|
65
|
+
children?: HelpDocItem[];
|
|
66
|
+
}
|
|
67
|
+
export {};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
export declare const formatAccountId: (data: any) => any;
|
|
2
|
-
export declare const formatParams: (data: any) => {
|
|
3
|
-
title: string;
|
|
4
|
-
ownerId: undefined;
|
|
5
|
-
followers: never[];
|
|
6
|
-
referenceUrl: string;
|
|
7
|
-
priority: string;
|
|
8
|
-
feature: string;
|
|
9
|
-
ticketType: string;
|
|
10
|
-
category: string;
|
|
11
|
-
message: string;
|
|
12
|
-
attachments: never[];
|
|
13
|
-
};
|
|
14
|
-
export declare const postCustomEvent: (type: any, data: any) => void;
|
|
1
|
+
export declare const formatAccountId: (data: any) => any;
|
|
2
|
+
export declare const formatParams: (data: any) => {
|
|
3
|
+
title: string;
|
|
4
|
+
ownerId: undefined;
|
|
5
|
+
followers: never[];
|
|
6
|
+
referenceUrl: string;
|
|
7
|
+
priority: string;
|
|
8
|
+
feature: string;
|
|
9
|
+
ticketType: string;
|
|
10
|
+
category: string;
|
|
11
|
+
message: string;
|
|
12
|
+
attachments: never[];
|
|
13
|
+
};
|
|
14
|
+
export declare const postCustomEvent: (type: any, data: any) => void;
|
|
15
|
+
export declare const expendDefault: (data: any) => string[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ColumnsType } from 'antd/es/table';
|
|
3
|
+
interface CrossTabTableProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const columns: ColumnsType<any>;
|
|
6
|
+
export declare const data: {
|
|
7
|
+
key: string;
|
|
8
|
+
country_id: string;
|
|
9
|
+
first_user_source: string;
|
|
10
|
+
active_users_0: number;
|
|
11
|
+
active_users_1: number;
|
|
12
|
+
active_users_2: number;
|
|
13
|
+
active_users_3: number;
|
|
14
|
+
active_users_4: number;
|
|
15
|
+
active_users_5: number;
|
|
16
|
+
}[];
|
|
17
|
+
export declare const CrossTabTable: React.FC<CrossTabTableProps>;
|
|
18
|
+
export {};
|
package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TCellType } from '../../types';
|
|
3
|
+
interface CustomCellProps {
|
|
4
|
+
value: any;
|
|
5
|
+
record: Record<string, any>;
|
|
6
|
+
index?: number;
|
|
7
|
+
max?: number;
|
|
8
|
+
type: TCellType;
|
|
9
|
+
}
|
|
10
|
+
export declare const CustomCell: React.FC<CustomCellProps>;
|
|
11
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BarCell: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ColumnsType } from 'antd/es/table';
|
|
2
|
+
export declare const TEST_DATA: {
|
|
3
|
+
dimensions: string[];
|
|
4
|
+
metrics: {
|
|
5
|
+
id: string;
|
|
6
|
+
}[];
|
|
7
|
+
colDimensions: string[];
|
|
8
|
+
responseRows: {
|
|
9
|
+
dimensionValues: never[];
|
|
10
|
+
dimensionCompoundValues: {
|
|
11
|
+
value: string;
|
|
12
|
+
}[];
|
|
13
|
+
metricValues: never[];
|
|
14
|
+
metricCompoundValues: {
|
|
15
|
+
value: number;
|
|
16
|
+
}[];
|
|
17
|
+
rowTotals: number[];
|
|
18
|
+
anomalyAnnotations: never[];
|
|
19
|
+
}[];
|
|
20
|
+
totalsRow: {
|
|
21
|
+
dimensionValues: never[];
|
|
22
|
+
dimensionCompoundValues: {
|
|
23
|
+
value: string;
|
|
24
|
+
}[];
|
|
25
|
+
metricValues: never[];
|
|
26
|
+
metricCompoundValues: {
|
|
27
|
+
value: number;
|
|
28
|
+
}[];
|
|
29
|
+
rowTotals: number[];
|
|
30
|
+
anomalyAnnotations: never[];
|
|
31
|
+
};
|
|
32
|
+
pivotHeaders: {
|
|
33
|
+
names: string[];
|
|
34
|
+
}[];
|
|
35
|
+
storageIds: never[];
|
|
36
|
+
segmentKeyMap: {
|
|
37
|
+
key: string;
|
|
38
|
+
id: string;
|
|
39
|
+
name: string;
|
|
40
|
+
}[];
|
|
41
|
+
overallRowCount: number;
|
|
42
|
+
numberOfSamplesRead: number[];
|
|
43
|
+
samplingSpaceSize: number[];
|
|
44
|
+
metadata: {
|
|
45
|
+
performance: {
|
|
46
|
+
f1QueryLatencyMs: string;
|
|
47
|
+
reportRequestLatencyMs: string;
|
|
48
|
+
f1GcuSecs: number;
|
|
49
|
+
};
|
|
50
|
+
classification: {
|
|
51
|
+
identityBlendingStrategy: number;
|
|
52
|
+
numDaysInDateRange: number;
|
|
53
|
+
externalWideningSources: never[];
|
|
54
|
+
storageType: number[];
|
|
55
|
+
largestDailyNumRowsInSelectedTables: string;
|
|
56
|
+
};
|
|
57
|
+
venusRequestId: string;
|
|
58
|
+
dataTruncationReasons: never[];
|
|
59
|
+
isBehavioralModelingEnabledByUser: boolean;
|
|
60
|
+
isBehavioralModelingApplied: boolean;
|
|
61
|
+
};
|
|
62
|
+
isThresholded: boolean;
|
|
63
|
+
}[];
|
|
64
|
+
export declare const columns: ColumnsType<any>;
|
|
65
|
+
export declare const data: {
|
|
66
|
+
key: string;
|
|
67
|
+
country_id: string;
|
|
68
|
+
first_user_source: string;
|
|
69
|
+
active_users_0: number;
|
|
70
|
+
active_users_1: number;
|
|
71
|
+
active_users_2: number;
|
|
72
|
+
active_users_3: number;
|
|
73
|
+
active_users_4: number;
|
|
74
|
+
active_users_5: number;
|
|
75
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CrossTabTable } from './CrossTabTable';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BarCell: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TCellType = 'bar' | 'heat' | 'text';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const refinePivotHeaders: (pivotHeaders: Record<string, any>) => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TData } from './types';
|
|
3
|
+
interface ExplorePivotTableProps {
|
|
4
|
+
data: TData;
|
|
5
|
+
scroll?: {
|
|
6
|
+
x?: number | string;
|
|
7
|
+
y?: number | string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare const ExplorePivotTable: React.FC<ExplorePivotTableProps>;
|
|
11
|
+
export {};
|
package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TCellType } from '../../types';
|
|
3
|
+
interface CustomCellProps {
|
|
4
|
+
value: any;
|
|
5
|
+
record: Record<string, any>;
|
|
6
|
+
index?: number;
|
|
7
|
+
max?: number;
|
|
8
|
+
type: TCellType;
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const CustomCell: React.FC<CustomCellProps>;
|
|
12
|
+
export {};
|
package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CustomCell } from './CustomCell';
|
package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const BarCell: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const HeatCell: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const StyledValue: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const StyledTable: import("styled-components").StyledComponent<import("antd/es/table/interface").RefTable & {
|
|
2
|
+
SELECTION_COLUMN: {};
|
|
3
|
+
EXPAND_COLUMN: {};
|
|
4
|
+
SELECTION_ALL: "SELECT_ALL";
|
|
5
|
+
SELECTION_INVERT: "SELECT_INVERT";
|
|
6
|
+
SELECTION_NONE: "SELECT_NONE";
|
|
7
|
+
Column: typeof import("antd/es/table/Column").default;
|
|
8
|
+
ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
|
|
9
|
+
Summary: typeof import("rc-table/lib/Footer/Summary").default;
|
|
10
|
+
}, any, {}, never>;
|
|
11
|
+
export declare const StyledHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type TCellType = 'bar' | 'heat' | 'text';
|
|
2
|
+
export type TData = {
|
|
3
|
+
versions: {
|
|
4
|
+
key: string | number;
|
|
5
|
+
name: string;
|
|
6
|
+
}[];
|
|
7
|
+
rowDimension: string[];
|
|
8
|
+
columnDimension: string[];
|
|
9
|
+
dataRow: any[];
|
|
10
|
+
totalRowDimension: number[];
|
|
11
|
+
totalColumnDimension: number[];
|
|
12
|
+
metrics: any[];
|
|
13
|
+
dimensions: any[];
|
|
14
|
+
showRowTotal?: boolean;
|
|
15
|
+
showColumnTotal?: boolean;
|
|
16
|
+
maxValue?: number;
|
|
17
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Table } from 'antd';
|
|
1
|
+
export { Table } from 'antd';
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
-
declare const _default: ComponentMeta<import("antd/es/table/interface").RefTable & {
|
|
3
|
-
SELECTION_COLUMN: {};
|
|
4
|
-
EXPAND_COLUMN: {};
|
|
5
|
-
SELECTION_ALL: "SELECT_ALL";
|
|
6
|
-
SELECTION_INVERT: "SELECT_INVERT";
|
|
7
|
-
SELECTION_NONE: "SELECT_NONE";
|
|
8
|
-
Column: typeof import("antd/es/table/Column").default;
|
|
9
|
-
ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
|
|
10
|
-
Summary: typeof import("rc-table/lib/Footer/Summary").default;
|
|
11
|
-
}>;
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const Default: ComponentStory<import("antd/es/table/interface").RefTable & {
|
|
14
|
-
SELECTION_COLUMN: {};
|
|
15
|
-
EXPAND_COLUMN: {};
|
|
16
|
-
SELECTION_ALL: "SELECT_ALL";
|
|
17
|
-
SELECTION_INVERT: "SELECT_INVERT";
|
|
18
|
-
SELECTION_NONE: "SELECT_NONE";
|
|
19
|
-
Column: typeof import("antd/es/table/Column").default;
|
|
20
|
-
ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
|
|
21
|
-
Summary: typeof import("rc-table/lib/Footer/Summary").default;
|
|
22
|
-
}>;
|
|
23
|
-
export declare const BasicUsage: ComponentStory<any>;
|
|
24
|
-
export declare const JSXStyleAPI: ComponentStory<any>;
|
|
25
|
-
export declare const Selection: ComponentStory<any>;
|
|
26
|
-
export declare const SelectionAndOperation: ComponentStory<any>;
|
|
27
|
-
export declare const CustomSelection: ComponentStory<any>;
|
|
28
|
-
export declare const FilterAndSorter: ComponentStory<any>;
|
|
29
|
-
export declare const FilterInTree: ComponentStory<any>;
|
|
30
|
-
export declare const FilterSearch: ComponentStory<any>;
|
|
31
|
-
export declare const MultipleSorter: ComponentStory<any>;
|
|
32
|
-
export declare const DynamicSettings: ComponentStory<any>;
|
|
33
|
-
export declare const ColumnAPI: ComponentStory<any>;
|
|
34
|
-
export declare const ColumnGroupAPI: ComponentStory<any>;
|
|
35
|
-
export declare const PaginationAPI: ComponentStory<any>;
|
|
36
|
-
export declare const ExpandableAPI: ComponentStory<any>;
|
|
37
|
-
export declare const RowSelectionAPI: ComponentStory<any>;
|
|
38
|
-
export declare const ScrollAPI: ComponentStory<any>;
|
|
39
|
-
export declare const SelectionAPI: ComponentStory<any>;
|
|
1
|
+
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
+
declare const _default: ComponentMeta<import("antd/es/table/interface").RefTable & {
|
|
3
|
+
SELECTION_COLUMN: {};
|
|
4
|
+
EXPAND_COLUMN: {};
|
|
5
|
+
SELECTION_ALL: "SELECT_ALL";
|
|
6
|
+
SELECTION_INVERT: "SELECT_INVERT";
|
|
7
|
+
SELECTION_NONE: "SELECT_NONE";
|
|
8
|
+
Column: typeof import("antd/es/table/Column").default;
|
|
9
|
+
ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
|
|
10
|
+
Summary: typeof import("rc-table/lib/Footer/Summary").default;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
export declare const Default: ComponentStory<import("antd/es/table/interface").RefTable & {
|
|
14
|
+
SELECTION_COLUMN: {};
|
|
15
|
+
EXPAND_COLUMN: {};
|
|
16
|
+
SELECTION_ALL: "SELECT_ALL";
|
|
17
|
+
SELECTION_INVERT: "SELECT_INVERT";
|
|
18
|
+
SELECTION_NONE: "SELECT_NONE";
|
|
19
|
+
Column: typeof import("antd/es/table/Column").default;
|
|
20
|
+
ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
|
|
21
|
+
Summary: typeof import("rc-table/lib/Footer/Summary").default;
|
|
22
|
+
}>;
|
|
23
|
+
export declare const BasicUsage: ComponentStory<any>;
|
|
24
|
+
export declare const JSXStyleAPI: ComponentStory<any>;
|
|
25
|
+
export declare const Selection: ComponentStory<any>;
|
|
26
|
+
export declare const SelectionAndOperation: ComponentStory<any>;
|
|
27
|
+
export declare const CustomSelection: ComponentStory<any>;
|
|
28
|
+
export declare const FilterAndSorter: ComponentStory<any>;
|
|
29
|
+
export declare const FilterInTree: ComponentStory<any>;
|
|
30
|
+
export declare const FilterSearch: ComponentStory<any>;
|
|
31
|
+
export declare const MultipleSorter: ComponentStory<any>;
|
|
32
|
+
export declare const DynamicSettings: ComponentStory<any>;
|
|
33
|
+
export declare const ColumnAPI: ComponentStory<any>;
|
|
34
|
+
export declare const ColumnGroupAPI: ComponentStory<any>;
|
|
35
|
+
export declare const PaginationAPI: ComponentStory<any>;
|
|
36
|
+
export declare const ExpandableAPI: ComponentStory<any>;
|
|
37
|
+
export declare const RowSelectionAPI: ComponentStory<any>;
|
|
38
|
+
export declare const ScrollAPI: ComponentStory<any>;
|
|
39
|
+
export declare const SelectionAPI: ComponentStory<any>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Table } from './Table';
|
|
1
|
+
export { Table } from './Table';
|
|
2
|
+
export { ExplorePivotTable, TEST_DATA as EXPLORE_PIVOT_TABLE_TEST_DATA } from './ExplorePivotTable';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { Help } from './Help';
|
|
2
|
+
export { Table, ExplorePivotTable, EXPLORE_PIVOT_TABLE_TEST_DATA } from './Table';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from './storybook';
|
|
1
|
+
export { THEME } from './theme';
|
|
2
|
+
export * from './storybook';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare const TABLE_API_COLUMNS: ({
|
|
2
|
-
title: string;
|
|
3
|
-
dataIndex: string;
|
|
4
|
-
key: string;
|
|
5
|
-
render?: undefined;
|
|
6
|
-
} | {
|
|
7
|
-
title: string;
|
|
8
|
-
dataIndex: string;
|
|
9
|
-
key: string;
|
|
10
|
-
render: (text: any) => JSX.Element;
|
|
11
|
-
})[];
|
|
1
|
+
export declare const TABLE_API_COLUMNS: ({
|
|
2
|
+
title: string;
|
|
3
|
+
dataIndex: string;
|
|
4
|
+
key: string;
|
|
5
|
+
render?: undefined;
|
|
6
|
+
} | {
|
|
7
|
+
title: string;
|
|
8
|
+
dataIndex: string;
|
|
9
|
+
key: string;
|
|
10
|
+
render: (text: any) => JSX.Element;
|
|
11
|
+
})[];
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { ThemeConfig } from 'antd';
|
|
2
|
-
type TTheme = {
|
|
3
|
-
token?: ThemeConfig['token'] & {
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
};
|
|
6
|
-
components?: ThemeConfig['components'];
|
|
7
|
-
algorithm?: ThemeConfig['algorithm'];
|
|
8
|
-
hashed?: ThemeConfig['hashed'];
|
|
9
|
-
inherit?: ThemeConfig['inherit'];
|
|
10
|
-
};
|
|
11
|
-
export declare const THEME: TTheme;
|
|
12
|
-
export
|
|
13
|
-
export {};
|
|
1
|
+
import { ThemeConfig } from 'antd';
|
|
2
|
+
type TTheme = {
|
|
3
|
+
token?: ThemeConfig['token'] & {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
6
|
+
components?: ThemeConfig['components'];
|
|
7
|
+
algorithm?: ThemeConfig['algorithm'];
|
|
8
|
+
hashed?: ThemeConfig['hashed'];
|
|
9
|
+
inherit?: ThemeConfig['inherit'];
|
|
10
|
+
};
|
|
11
|
+
export declare const THEME: TTheme;
|
|
12
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare function useDeepCompareEffect(callback: React.EffectCallback, dependencies: React.DependencyList | undefined): void;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function useDeepCompareEffect(callback: React.EffectCallback, dependencies: React.DependencyList | undefined): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare function useDebounce<T>(initialValue: T, time: number): [T, T, React.Dispatch<T>];
|
|
3
|
-
export { useDebounce };
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare function useDebounce<T>(initialValue: T, time: number): [T, T, React.Dispatch<T>];
|
|
3
|
+
export { useDebounce };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './components';
|
|
1
|
+
export * from './components';
|