@antscorp/antsomi-ui 1.2.3-beta.1 → 1.2.3-beta.10
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 +77 -0
- package/dist/index.js +1 -1
- package/dist/types/components/icons/ArrowGrowIcon.d.ts +1 -0
- package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -0
- package/dist/types/components/icons/BugIcon.d.ts +1 -0
- package/dist/types/components/icons/CameraIcon.d.ts +1 -0
- package/dist/types/components/icons/CaptureIcon.d.ts +1 -0
- package/dist/types/components/icons/CheckSlimIcon.d.ts +1 -0
- package/dist/types/components/icons/CommentIcon.d.ts +1 -0
- package/dist/types/components/icons/FreeDrawIcon.d.ts +1 -0
- package/dist/types/components/icons/HighlightIcon.d.ts +1 -0
- package/dist/types/components/icons/IdeaIcon.d.ts +1 -0
- package/dist/types/components/icons/InvisibleIcon.d.ts +1 -0
- package/dist/types/components/icons/MuteIcon.d.ts +1 -0
- package/dist/types/components/icons/OpenUrlIcon.d.ts +1 -0
- package/dist/types/components/icons/PauseIcon.d.ts +1 -0
- package/dist/types/components/icons/StopRecordIcon.d.ts +1 -0
- package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -0
- package/dist/types/components/icons/index.d.ts +14 -0
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +1 -0
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +1 -2
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +4 -3
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +5 -5
- package/dist/types/components/molecules/CaptureScreen/constants.d.ts +2 -1
- package/dist/types/components/organism/Help/constants.d.ts +72 -3
- package/dist/types/components/organism/Help/styled.d.ts +19 -0
- package/dist/types/components/organism/Help/types.d.ts +6 -0
- 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/index.d.ts +1 -0
- package/dist/types/components/organism/index.d.ts +1 -1
- package/dist/types/utils/color.d.ts +9 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/package.json +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ArrowGrowIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AudioRecordIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BugIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CameraIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CaptureIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CheckSlimIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CommentIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FreeDrawIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HighlightIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IdeaIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const InvisibleIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MuteIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const OpenUrlIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PauseIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StopRecordIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VerticalDotsIcon: (props: any) => JSX.Element;
|
|
@@ -5,3 +5,17 @@ export { GPTIconV2 } from './GPTIconV2';
|
|
|
5
5
|
export { PlaneIcon } from './PlaneIcon';
|
|
6
6
|
export { WarningIcon } from './WarningIcon';
|
|
7
7
|
export { UserIcon } from './UserIcon';
|
|
8
|
+
export { HighlightIcon } from './HighlightIcon';
|
|
9
|
+
export { ArrowGrowIcon } from './ArrowGrowIcon';
|
|
10
|
+
export { CheckSlimIcon } from './CheckSlimIcon';
|
|
11
|
+
export { CommentIcon } from './CommentIcon';
|
|
12
|
+
export { FreeDrawIcon } from './FreeDrawIcon';
|
|
13
|
+
export { InvisibleIcon } from './InvisibleIcon';
|
|
14
|
+
export { AudioRecordIcon } from './AudioRecordIcon';
|
|
15
|
+
export { CameraIcon } from './CameraIcon';
|
|
16
|
+
export { CaptureIcon } from './CaptureIcon';
|
|
17
|
+
export { MuteIcon } from './MuteIcon';
|
|
18
|
+
export { PauseIcon } from './PauseIcon';
|
|
19
|
+
export { StopRecordIcon } from './StopRecordIcon';
|
|
20
|
+
export { VerticalDotsIcon } from './VerticalDotsIcon';
|
|
21
|
+
export { OpenUrlIcon } from './OpenUrlIcon';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
1
|
+
export declare const PlusCursor: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const TooltipDrag: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const DottedCursor: import("styled-components").StyledComponent<"div", any, {
|
|
4
4
|
bgColor?: string | undefined;
|
|
5
|
-
|
|
5
|
+
isPointerBox?: boolean | undefined;
|
|
6
|
+
offset: number;
|
|
6
7
|
}, never>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export interface PositionCursorProps {
|
|
3
|
-
left?: number;
|
|
4
|
-
top?: number;
|
|
5
|
-
}
|
|
6
2
|
export interface CursorProps {
|
|
3
|
+
drawItemType: string;
|
|
4
|
+
isShowCursor: boolean;
|
|
7
5
|
cursorRef?: React.RefObject<HTMLDivElement>;
|
|
8
|
-
position?: PositionCursorProps;
|
|
9
6
|
bgColor?: string;
|
|
7
|
+
isPointerBox?: boolean;
|
|
8
|
+
offset: number;
|
|
9
|
+
children?: any;
|
|
10
10
|
}
|
|
@@ -4,7 +4,8 @@ import { DrawItemProps } from './types';
|
|
|
4
4
|
export declare const OFFSET_CENTER = 20;
|
|
5
5
|
export declare enum IGNORE_DRAW_ID_LIST {
|
|
6
6
|
ICON_CLOSE = "antsomi-package-close-draw-icon",
|
|
7
|
-
DRAW_ACTIONS = "antsomi-package-draw-action-options"
|
|
7
|
+
DRAW_ACTIONS = "antsomi-package-draw-action-options",
|
|
8
|
+
CLASS_PREVENT_HOVER = "antsomi-package-ignore-hovering-draw"
|
|
8
9
|
}
|
|
9
10
|
export declare const COMMENT_BOX_DIMENSION_FIXED: BoxDimensionProps;
|
|
10
11
|
export declare const styleContainer: CSSProperties;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ITabShareScreenProps } from './types';
|
|
2
2
|
export declare const TICKET_CUSTOM_MESSAGE_KEY = "TICKET_CUSTOM_MESSAGE_KEY";
|
|
3
|
+
export declare const PORTALS_ANTSOMI_PACKAGE_UI_KEY = "PORTALS_ANTSOMI_PACKAGE_UI_KEY";
|
|
4
|
+
export declare const PORTALS_ANTSOMI_PACKAGE_UI_KEY_POPUP = "PORTALS_ANTSOMI_PACKAGE_UI_KEY_POPUP";
|
|
3
5
|
export declare const MESSAGE_TYPE: {
|
|
4
6
|
TICKET_CREATE_STATUS: string;
|
|
5
7
|
};
|
|
@@ -20,7 +22,8 @@ export declare enum REPORT_TYPES {
|
|
|
20
22
|
ISSUE = "issue",
|
|
21
23
|
IDEA = "idea",
|
|
22
24
|
HELP = "help",
|
|
23
|
-
CHAT = "chat"
|
|
25
|
+
CHAT = "chat",
|
|
26
|
+
HELP_V1 = "help_v1"
|
|
24
27
|
}
|
|
25
28
|
export declare const ATTACH_CAPTURE_TYPES: {
|
|
26
29
|
key: ATTACH_KEYS;
|
|
@@ -32,7 +35,7 @@ export declare const ATTACH_CAPTURE_TYPES: {
|
|
|
32
35
|
}[];
|
|
33
36
|
}[];
|
|
34
37
|
export declare const TABS_SHARING_SCREEN: ITabShareScreenProps[];
|
|
35
|
-
export declare const HELP_APP: {
|
|
38
|
+
export declare const HELP_APP: ({
|
|
36
39
|
title: string;
|
|
37
40
|
key: string;
|
|
38
41
|
children: ({
|
|
@@ -41,6 +44,7 @@ export declare const HELP_APP: {
|
|
|
41
44
|
children: ({
|
|
42
45
|
title: string;
|
|
43
46
|
key: string;
|
|
47
|
+
path: string;
|
|
44
48
|
children?: undefined;
|
|
45
49
|
} | {
|
|
46
50
|
title: string;
|
|
@@ -48,6 +52,7 @@ export declare const HELP_APP: {
|
|
|
48
52
|
children: ({
|
|
49
53
|
title: string;
|
|
50
54
|
key: string;
|
|
55
|
+
path: string;
|
|
51
56
|
children?: undefined;
|
|
52
57
|
} | {
|
|
53
58
|
title: string;
|
|
@@ -55,12 +60,76 @@ export declare const HELP_APP: {
|
|
|
55
60
|
children: {
|
|
56
61
|
title: string;
|
|
57
62
|
key: string;
|
|
63
|
+
path: string;
|
|
58
64
|
}[];
|
|
65
|
+
path?: undefined;
|
|
59
66
|
})[];
|
|
67
|
+
path?: undefined;
|
|
60
68
|
})[];
|
|
69
|
+
path?: undefined;
|
|
61
70
|
} | {
|
|
62
71
|
title: string;
|
|
63
72
|
key: string;
|
|
73
|
+
path: string;
|
|
64
74
|
children?: undefined;
|
|
65
75
|
})[];
|
|
66
|
-
}
|
|
76
|
+
} | {
|
|
77
|
+
title: string;
|
|
78
|
+
key: string;
|
|
79
|
+
children: ({
|
|
80
|
+
title: string;
|
|
81
|
+
key: string;
|
|
82
|
+
children?: undefined;
|
|
83
|
+
} | {
|
|
84
|
+
title: string;
|
|
85
|
+
key: string;
|
|
86
|
+
children: ({
|
|
87
|
+
title: string;
|
|
88
|
+
key: string;
|
|
89
|
+
path: string;
|
|
90
|
+
children?: undefined;
|
|
91
|
+
} | {
|
|
92
|
+
title: string;
|
|
93
|
+
key: string;
|
|
94
|
+
children: ({
|
|
95
|
+
title: string;
|
|
96
|
+
key: string;
|
|
97
|
+
path: string;
|
|
98
|
+
children?: undefined;
|
|
99
|
+
} | {
|
|
100
|
+
title: string;
|
|
101
|
+
key: string;
|
|
102
|
+
children: {
|
|
103
|
+
title: string;
|
|
104
|
+
key: string;
|
|
105
|
+
path: string;
|
|
106
|
+
}[];
|
|
107
|
+
path?: undefined;
|
|
108
|
+
})[];
|
|
109
|
+
path?: undefined;
|
|
110
|
+
})[];
|
|
111
|
+
})[];
|
|
112
|
+
} | {
|
|
113
|
+
title: string;
|
|
114
|
+
key: string;
|
|
115
|
+
children: ({
|
|
116
|
+
title: string;
|
|
117
|
+
key: string;
|
|
118
|
+
path: string;
|
|
119
|
+
children?: undefined;
|
|
120
|
+
} | {
|
|
121
|
+
title: string;
|
|
122
|
+
key: string;
|
|
123
|
+
children: {
|
|
124
|
+
title: string;
|
|
125
|
+
key: string;
|
|
126
|
+
path: string;
|
|
127
|
+
}[];
|
|
128
|
+
path?: undefined;
|
|
129
|
+
} | {
|
|
130
|
+
title: string;
|
|
131
|
+
key: string;
|
|
132
|
+
path?: undefined;
|
|
133
|
+
children?: undefined;
|
|
134
|
+
})[];
|
|
135
|
+
})[];
|
|
@@ -37,6 +37,7 @@ export declare const WrapperHeader: import("styled-components").StyledComponent<
|
|
|
37
37
|
export declare const Header: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
|
|
38
38
|
export declare const WrapperBody: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
39
39
|
export declare const WrapperFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
40
|
+
export declare const WrapperFooterSpace: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
40
41
|
export declare const EditorWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
41
42
|
export declare const WrapperLinkFiles: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
42
43
|
export declare const WrapperLinkItemFiles: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -55,3 +56,21 @@ export declare const ErrorMessage: import("styled-components").StyledComponent<"
|
|
|
55
56
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
56
57
|
export declare const LabelTitle: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
|
|
57
58
|
export declare const WrapperContentHelp: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
59
|
+
export declare const Link: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
60
|
+
export declare const IframeHelp: import("styled-components").StyledComponent<"iframe", any, {}, never>;
|
|
61
|
+
export declare const TitleSearch: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
62
|
+
export declare const WrapperSearch: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>>, any, {}, never>;
|
|
63
|
+
export declare const TreeContent: import("styled-components").StyledComponent<(<T extends import("rc-tree").BasicDataNode | import("antd").TreeDataNode = import("antd").TreeDataNode>(props: import("antd").TreeProps<T> & {
|
|
64
|
+
children?: import("react").ReactNode;
|
|
65
|
+
} & {
|
|
66
|
+
ref?: import("react").Ref<import("rc-tree/lib/Tree").default<import("antd").TreeDataNode>> | undefined;
|
|
67
|
+
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
68
|
+
TreeNode: import("react").FC<import("rc-tree").TreeNodeProps<import("antd").TreeDataNode>>;
|
|
69
|
+
DirectoryTree: (<T_1 extends import("rc-tree").BasicDataNode | import("antd").TreeDataNode = import("antd").TreeDataNode>(props: import("antd/es/tree").DirectoryTreeProps<T_1> & {
|
|
70
|
+
children?: import("react").ReactNode;
|
|
71
|
+
} & {
|
|
72
|
+
ref?: import("react").Ref<import("rc-tree/lib/Tree").default<import("antd").TreeDataNode>> | undefined;
|
|
73
|
+
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
74
|
+
displayName?: string | undefined;
|
|
75
|
+
};
|
|
76
|
+
}, any, {}, never>;
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const isDarkColor: (hexcolor: any, alpha?: number) => boolean;
|
|
2
|
+
/**
|
|
3
|
+
* Converts a hexadecimal color code to its corresponding RGB values.
|
|
4
|
+
* @param {string} hexCode - The hexadecimal color code to convert.
|
|
5
|
+
* @returns {Array} An array containing the RGB values.
|
|
6
|
+
* @throws {Error} If the input is an invalid hexadecimal color code.
|
|
7
|
+
*/
|
|
8
|
+
export declare const hexToRgb: (hexCode: string) => [number, number, number];
|
|
9
|
+
export declare const generateHeatMapColor: (value: number, maxValue: number, rgbColor: [number, number, number]) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antscorp/antsomi-ui",
|
|
3
|
-
"version": "1.2.3-beta.
|
|
3
|
+
"version": "1.2.3-beta.10",
|
|
4
4
|
"description": "An enterprise-class UI design language and React UI library.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
"tsconfig-paths-webpack-plugin": "^4.0.1",
|
|
119
119
|
"typescript": "^4.9.4",
|
|
120
120
|
"vite": "^4.2.1",
|
|
121
|
+
"vite-plugin-mkcert": "^1.15.0",
|
|
121
122
|
"webpack": "^5.78.0",
|
|
122
123
|
"webpack-cli": "^5.0.1"
|
|
123
124
|
},
|
|
@@ -126,4 +127,4 @@
|
|
|
126
127
|
"react": ">=16.9.0",
|
|
127
128
|
"react-dom": ">=16.9.0"
|
|
128
129
|
}
|
|
129
|
-
}
|
|
130
|
+
}
|