@antscorp/antsomi-ui 1.2.3-beta.1 → 1.2.3-beta.11

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.
Files changed (55) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/index.js.LICENSE.txt +1 -31
  3. package/dist/types/components/icons/ArrowGrowIcon.d.ts +1 -0
  4. package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -0
  5. package/dist/types/components/icons/BugIcon.d.ts +1 -0
  6. package/dist/types/components/icons/CameraIcon.d.ts +1 -0
  7. package/dist/types/components/icons/CaptureIcon.d.ts +1 -0
  8. package/dist/types/components/icons/CheckSlimIcon.d.ts +1 -0
  9. package/dist/types/components/icons/CommentIcon.d.ts +1 -0
  10. package/dist/types/components/icons/FreeDrawIcon.d.ts +1 -0
  11. package/dist/types/components/icons/HighlightIcon.d.ts +1 -0
  12. package/dist/types/components/icons/IdeaIcon.d.ts +1 -0
  13. package/dist/types/components/icons/InvisibleIcon.d.ts +1 -0
  14. package/dist/types/components/icons/MuteIcon.d.ts +1 -0
  15. package/dist/types/components/icons/OpenUrlIcon.d.ts +1 -0
  16. package/dist/types/components/icons/PauseIcon.d.ts +1 -0
  17. package/dist/types/components/icons/StopRecordIcon.d.ts +1 -0
  18. package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -0
  19. package/dist/types/components/icons/index.d.ts +16 -0
  20. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +1 -0
  21. package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +1 -2
  22. package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +4 -3
  23. package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +5 -5
  24. package/dist/types/components/molecules/CaptureScreen/constants.d.ts +5 -1
  25. package/dist/types/components/molecules/CaptureScreen/styled.d.ts +5 -1
  26. package/dist/types/components/molecules/CaptureScreen/types.d.ts +1 -0
  27. package/dist/types/components/organism/Help/constants.d.ts +75 -3
  28. package/dist/types/components/organism/Help/styled.d.ts +22 -1
  29. package/dist/types/components/organism/Help/types.d.ts +9 -3
  30. package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -0
  31. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -0
  32. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/index.d.ts +0 -0
  33. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -0
  34. package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +75 -0
  35. package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +1 -0
  36. package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +1 -0
  37. package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +1 -0
  38. package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +1 -0
  39. package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -0
  40. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -0
  41. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -0
  42. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -0
  43. package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -0
  44. package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +2 -0
  45. package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +11 -0
  46. package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +17 -0
  47. package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -0
  48. package/dist/types/components/organism/Table/index.d.ts +1 -0
  49. package/dist/types/components/organism/index.d.ts +1 -1
  50. package/dist/types/services/Ticket.d.ts +5 -0
  51. package/dist/types/services/constants.d.ts +12 -0
  52. package/dist/types/utils/color.d.ts +9 -0
  53. package/dist/types/utils/common.d.ts +0 -3
  54. package/dist/types/utils/index.d.ts +3 -0
  55. package/package.json +4 -2
@@ -11,40 +11,12 @@
11
11
  * @version 1.2.6
12
12
  */
13
13
 
14
- /*!
15
- * TOAST UI Color Picker
16
- * @version 2.2.8
17
- * @author NHN Cloud FE Development Team <dl_javascript@nhn.com>
18
- * @license MIT
19
- */
20
-
21
14
  /*!
22
15
  * TOAST UI ImageEditor
23
- * @version 3.15.3
16
+ * @version 1.0.1
24
17
  * @license MIT
25
18
  */
26
19
 
27
- /*!
28
- * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
29
- * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
30
- * Released under MIT License
31
- */
32
-
33
- /*! *****************************************************************************
34
- Copyright (c) Microsoft Corporation.
35
-
36
- Permission to use, copy, modify, and/or distribute this software for any
37
- purpose with or without fee is hereby granted.
38
-
39
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
40
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
41
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
42
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
43
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
44
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
45
- PERFORMANCE OF THIS SOFTWARE.
46
- ***************************************************************************** */
47
-
48
20
  /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
49
21
 
50
22
  /*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */
@@ -68,5 +40,3 @@
68
40
  * This source code is licensed under the MIT license found in the
69
41
  * LICENSE file in the root directory of this source tree.
70
42
  */
71
-
72
- // @license RGB <-> HSV conversion utilities based off of http://www.cs.rit.edu/~ncs/color/t_convert.html
@@ -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,19 @@ 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';
22
+ export { BugIcon } from './BugIcon';
23
+ export { IdeaIcon } from './IdeaIcon';
@@ -4,6 +4,7 @@ export interface BoxDimensionProps {
4
4
  height: number;
5
5
  }
6
6
  export interface CommentBoxProps {
7
+ className?: string;
7
8
  info: CommentListProps;
8
9
  offset: number;
9
10
  boxDimension: BoxDimensionProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CursorProps } from './types';
3
- declare const Cursor: (props: CursorProps) => JSX.Element;
2
+ declare const Cursor: (props: CursorProps) => JSX.Element | null;
4
3
  export { Cursor };
@@ -1,6 +1,7 @@
1
- import { PositionCursorProps } from './types';
2
- export declare const CursorOverlay: import("styled-components").StyledComponent<"div", any, {}, never>;
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
- position?: PositionCursorProps | undefined;
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
  }
@@ -2,9 +2,13 @@ import { CSSProperties } from 'react';
2
2
  import { BoxDimensionProps } from './components/CommentBox/types';
3
3
  import { DrawItemProps } from './types';
4
4
  export declare const OFFSET_CENTER = 20;
5
+ export declare const SIZE_ADJUST = 1;
6
+ export declare const IMAGE_TRANSPARENT_BASE64 = "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";
5
7
  export declare enum IGNORE_DRAW_ID_LIST {
6
8
  ICON_CLOSE = "antsomi-package-close-draw-icon",
7
- DRAW_ACTIONS = "antsomi-package-draw-action-options"
9
+ BORDER_OVERLAY = "antsomi-package-border-overlay",
10
+ DRAW_ACTIONS = "antsomi-package-draw-action-options",
11
+ CLASS_PREVENT_HOVER = "antsomi-package-ignore-hovering-draw"
8
12
  }
9
13
  export declare const COMMENT_BOX_DIMENSION_FIXED: BoxDimensionProps;
10
14
  export declare const styleContainer: CSSProperties;
@@ -1,11 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ContainerCapture: import("styled-components").StyledComponent<"div", any, {
3
3
  isRecord: boolean;
4
+ imageURL?: string | undefined;
4
5
  }, never>;
6
+ export declare const BorderOverlay: import("styled-components").StyledComponent<"div", any, {}, never>;
5
7
  export declare const FlexColumn: import("styled-components").StyledComponent<"div", any, {}, never>;
6
8
  export declare const FlexCenter: import("styled-components").StyledComponent<"div", any, {}, never>;
7
9
  export declare const WrapperIcon: import("styled-components").StyledComponent<"div", any, {
8
- isRecord: boolean;
10
+ isRecord?: boolean | undefined;
9
11
  }, never>;
10
12
  export declare const DrawerGroups: import("styled-components").StyledComponent<"div", any, {}, never>;
11
13
  export declare const WrapperDraggable: import("styled-components").StyledComponent<"strong", any, {}, never>;
@@ -20,3 +22,5 @@ export declare const BoxColor: import("styled-components").StyledComponent<"div"
20
22
  bgColor?: string | undefined;
21
23
  }, never>;
22
24
  export declare const ImageIcon: import("styled-components").StyledComponent<"img", any, {}, never>;
25
+ export declare const OutlineRemoveContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
26
+ export declare const WrapperRemoveBtn: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -62,6 +62,7 @@ export interface MethodImageEditorProps {
62
62
  }
63
63
  export interface ImageEditorInstanceProps {
64
64
  editorInstance: ImageEditor | null;
65
+ canvasEditor: any;
65
66
  methods: MethodImageEditorProps;
66
67
  }
67
68
  export type ColorListProps = '#0f2eae' | '#212b37' | '#1e6be5' | '#17bb84' | '#f5b108' | '#f71007';
@@ -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,15 +35,17 @@ 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;
41
+ appCode: string;
38
42
  children: ({
39
43
  title: string;
40
44
  key: string;
41
45
  children: ({
42
46
  title: string;
43
47
  key: string;
48
+ path: string;
44
49
  children?: undefined;
45
50
  } | {
46
51
  title: string;
@@ -48,6 +53,7 @@ export declare const HELP_APP: {
48
53
  children: ({
49
54
  title: string;
50
55
  key: string;
56
+ path: string;
51
57
  children?: undefined;
52
58
  } | {
53
59
  title: string;
@@ -55,12 +61,78 @@ export declare const HELP_APP: {
55
61
  children: {
56
62
  title: string;
57
63
  key: string;
64
+ path: string;
58
65
  }[];
66
+ path?: undefined;
59
67
  })[];
68
+ path?: undefined;
60
69
  })[];
70
+ path?: undefined;
61
71
  } | {
62
72
  title: string;
63
73
  key: string;
74
+ path: string;
64
75
  children?: undefined;
65
76
  })[];
66
- }[];
77
+ } | {
78
+ title: string;
79
+ key: string;
80
+ appCode: string;
81
+ children: ({
82
+ title: string;
83
+ key: string;
84
+ children?: undefined;
85
+ } | {
86
+ title: string;
87
+ key: string;
88
+ children: ({
89
+ title: string;
90
+ key: string;
91
+ path: string;
92
+ children?: undefined;
93
+ } | {
94
+ title: string;
95
+ key: string;
96
+ children: ({
97
+ title: string;
98
+ key: string;
99
+ path: string;
100
+ children?: undefined;
101
+ } | {
102
+ title: string;
103
+ key: string;
104
+ children: {
105
+ title: string;
106
+ key: string;
107
+ path: string;
108
+ }[];
109
+ path?: undefined;
110
+ })[];
111
+ path?: undefined;
112
+ })[];
113
+ })[];
114
+ } | {
115
+ title: string;
116
+ appCode: string;
117
+ key: string;
118
+ children: ({
119
+ title: string;
120
+ key: string;
121
+ path: string;
122
+ children?: undefined;
123
+ } | {
124
+ title: string;
125
+ key: string;
126
+ children: {
127
+ title: string;
128
+ key: string;
129
+ path: string;
130
+ }[];
131
+ path?: undefined;
132
+ } | {
133
+ title: string;
134
+ key: string;
135
+ path?: undefined;
136
+ children?: undefined;
137
+ })[];
138
+ })[];
@@ -35,8 +35,11 @@ export declare const Image: import("styled-components").StyledComponent<"img", a
35
35
  export declare const Video: import("styled-components").StyledComponent<"video", any, {}, never>;
36
36
  export declare const WrapperHeader: import("styled-components").StyledComponent<"strong", any, {}, never>;
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
- export declare const WrapperBody: import("styled-components").StyledComponent<"div", any, {}, never>;
38
+ export declare const WrapperBody: import("styled-components").StyledComponent<"div", any, {
39
+ types?: string | undefined;
40
+ }, never>;
39
41
  export declare const WrapperFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
42
+ export declare const WrapperFooterSpace: import("styled-components").StyledComponent<"div", any, {}, never>;
40
43
  export declare const EditorWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
41
44
  export declare const WrapperLinkFiles: import("styled-components").StyledComponent<"div", any, {}, never>;
42
45
  export declare const WrapperLinkItemFiles: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -55,3 +58,21 @@ export declare const ErrorMessage: import("styled-components").StyledComponent<"
55
58
  export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
56
59
  export declare const LabelTitle: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
57
60
  export declare const WrapperContentHelp: import("styled-components").StyledComponent<"div", any, {}, never>;
61
+ export declare const Link: import("styled-components").StyledComponent<"a", any, {}, never>;
62
+ export declare const IframeHelp: import("styled-components").StyledComponent<"iframe", any, {}, never>;
63
+ export declare const TitleSearch: import("styled-components").StyledComponent<"span", any, {}, never>;
64
+ export declare const WrapperSearch: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>>, any, {}, never>;
65
+ 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> & {
66
+ children?: import("react").ReactNode;
67
+ } & {
68
+ ref?: import("react").Ref<import("rc-tree/lib/Tree").default<import("antd").TreeDataNode>> | undefined;
69
+ }) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
70
+ TreeNode: import("react").FC<import("rc-tree").TreeNodeProps<import("antd").TreeDataNode>>;
71
+ DirectoryTree: (<T_1 extends import("rc-tree").BasicDataNode | import("antd").TreeDataNode = import("antd").TreeDataNode>(props: import("antd/es/tree").DirectoryTreeProps<T_1> & {
72
+ children?: import("react").ReactNode;
73
+ } & {
74
+ ref?: import("react").Ref<import("rc-tree/lib/Tree").default<import("antd").TreeDataNode>> | undefined;
75
+ }) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
76
+ displayName?: string | undefined;
77
+ };
78
+ }, any, {}, never>;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import type { MenuProps, TabPaneProps } from 'antd';
2
+ import type { TabPaneProps } from 'antd';
3
3
  type TriggerTypeDropdown = Array<'hover' | 'contextMenu' | 'click'>;
4
4
  type ConfigProps = {
5
5
  domain: string;
@@ -9,8 +9,9 @@ type ConfigProps = {
9
9
  portalId: string;
10
10
  config: any;
11
11
  userId: string;
12
- ownerId: string;
13
12
  appNameCurrent: string;
13
+ domainPlatform: string;
14
+ appCode: string;
14
15
  };
15
16
  export interface ValueFormProps {
16
17
  title: string;
@@ -29,7 +30,6 @@ export interface AllAppOptionsProps {
29
30
  raw?: any;
30
31
  }
31
32
  export interface IHelpProps {
32
- menuProps: MenuProps;
33
33
  configs: ConfigProps;
34
34
  triggerType: TriggerTypeDropdown;
35
35
  onClick?: Function;
@@ -56,4 +56,10 @@ export interface StreamTrackProps {
56
56
  desktopStream: MediaStream;
57
57
  voiceStream: MediaStream;
58
58
  }
59
+ export interface HelpDocItem {
60
+ title: string | JSX.Element;
61
+ key: string;
62
+ path?: string;
63
+ children?: HelpDocItem[];
64
+ }
59
65
  export {};
@@ -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 {};
@@ -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 {};
@@ -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 {};
@@ -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 {};
@@ -0,0 +1 @@
1
+ export { CustomCell } from './CustomCell';
@@ -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,4 @@
1
+ import { TData } from './types';
2
+ declare const GRAND_TOTAL_KEY = "grand-total";
3
+ declare const TEST_DATA: TData;
4
+ export { TEST_DATA, GRAND_TOTAL_KEY };
@@ -0,0 +1,2 @@
1
+ export { ExplorePivotTable } from './ExplorePivotTable';
2
+ export { TEST_DATA } from './constants';
@@ -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,4 @@
1
+ import { ColumnsType } from 'antd/es/table';
2
+ import { TData } from './types';
3
+ export declare const buildColumns: (data: TData) => ColumnsType<any>;
4
+ export declare const buildDataSource: (data: TData) => any[];
@@ -1 +1,2 @@
1
1
  export { Table } from './Table';
2
+ export { ExplorePivotTable, TEST_DATA as EXPLORE_PIVOT_TABLE_TEST_DATA } from './ExplorePivotTable';
@@ -1,2 +1,2 @@
1
- export { Table } from './Table';
2
1
  export { Help } from './Help';
2
+ export { Table, ExplorePivotTable, EXPLORE_PIVOT_TABLE_TEST_DATA } from './Table';
@@ -58,5 +58,10 @@ declare const API: {
58
58
  getList: (params: any, domain: any, token: any, config: any, userId: any, type: any, ownerId: any) => Promise<any>;
59
59
  };
60
60
  };
61
+ help: {
62
+ callApi: {
63
+ getList: (params: any, domain: any, token: any, config: any, userId: any) => Promise<void | import("axios").AxiosResponse<any, any>>;
64
+ };
65
+ };
61
66
  };
62
67
  export default API;