@antscorp/antsomi-ui 1.2.3 → 1.2.4
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 +44 -22
- package/README.md +78 -78
- package/dist/1a69688fb6f3d353be6b.png +0 -0
- package/dist/33b65403c460f2d4423b.svg +87 -0
- package/dist/4a824e811d4678e0e3a2.png +0 -0
- package/dist/4f873001a3769df8f982.svg +338 -0
- package/dist/9468534045e0fef49315.png +0 -0
- package/dist/afb8ae1bce88559d24ef.woff +0 -0
- package/dist/bfb9cf6473c43ea3c384.png +0 -0
- package/dist/c74e9d6a9ac4f04cfd3d.png +0 -0
- package/dist/cfed74d00d1032bc5076.ttf +0 -0
- package/dist/d623401497f2714dc96f.eot +0 -0
- package/dist/ff7db9ff05a910761543.png +0 -0
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +26 -0
- package/dist/main.css +68 -0
- 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 +15 -15
- 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/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 +19 -19
- 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/index.d.ts +1 -1
- package/dist/types/components/atoms/Space/Space.d.ts +1 -1
- 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/index.d.ts +1 -1
- package/dist/types/components/atoms/Tooltip/Tooltip.d.ts +1 -1
- 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/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 -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/CloseIcon.d.ts +3 -0
- package/dist/types/components/icons/CommentIcon.d.ts +1 -0
- package/dist/types/components/icons/EventIcon.d.ts +3 -3
- package/dist/types/components/icons/FreeDrawIcon.d.ts +1 -0
- package/dist/types/components/icons/GPTIcon.d.ts +1 -0
- package/dist/types/components/icons/GPTIconV2.d.ts +1 -0
- package/dist/types/components/icons/GPTIconV3.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/PlaneIcon.d.ts +1 -0
- package/dist/types/components/icons/StopRecordIcon.d.ts +1 -0
- package/dist/types/components/icons/UserIcon.d.ts +1 -0
- package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -0
- package/dist/types/components/icons/WarningIcon.d.ts +1 -0
- package/dist/types/components/icons/index.d.ts +24 -1
- 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/index.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/CaptureScreen.d.ts +11 -0
- package/dist/types/components/molecules/CaptureScreen/CaptureScreen.stories.d.ts +21 -0
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/CommentBox.d.ts +16 -0
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/index.d.ts +1 -0
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/styled.d.ts +12 -0
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +15 -0
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +3 -0
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/index.d.ts +1 -0
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +7 -0
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +10 -0
- package/dist/types/components/molecules/CaptureScreen/constants.d.ts +35 -0
- package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +5 -0
- package/dist/types/components/molecules/CaptureScreen/index.d.ts +1 -0
- package/dist/types/components/molecules/CaptureScreen/styled.d.ts +26 -0
- package/dist/types/components/molecules/CaptureScreen/themes/black.d.ts +54 -0
- package/dist/types/components/molecules/CaptureScreen/themes/white.d.ts +54 -0
- package/dist/types/components/molecules/CaptureScreen/types.d.ts +102 -0
- package/dist/types/components/molecules/CaptureScreen/utils.d.ts +13 -0
- package/dist/types/components/molecules/Cascader/Cascader.d.ts +1 -1
- package/dist/types/components/molecules/Cascader/index.d.ts +1 -1
- package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +4 -0
- package/dist/types/components/molecules/ChatBox/ChatBox.stories.d.ts +0 -0
- package/dist/types/components/molecules/ChatBox/ask.d.ts +3 -0
- package/dist/types/components/molecules/ChatBox/constants.d.ts +6 -0
- package/dist/types/components/molecules/ChatBox/index.d.ts +1 -0
- package/dist/types/components/molecules/ChatBox/styled.d.ts +10 -0
- package/dist/types/components/molecules/ChatBox/types.d.ts +29 -0
- package/dist/types/components/molecules/ChatBox/utils.d.ts +0 -0
- 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/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/index.d.ts +1 -1
- package/dist/types/components/molecules/Modal/Modal.d.ts +1 -1
- package/dist/types/components/molecules/Modal/index.d.ts +1 -1
- package/dist/types/components/molecules/PopupDraggable/PopupDraggable.d.ts +6 -0
- package/dist/types/components/molecules/PopupDraggable/index.d.ts +1 -0
- package/dist/types/components/molecules/PopupDraggable/styled.d.ts +4 -0
- package/dist/types/components/molecules/PopupDraggable/types.d.ts +12 -0
- 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 -0
- package/dist/types/components/molecules/Tabs/index.d.ts +1 -0
- package/dist/types/components/molecules/index.d.ts +11 -7
- package/dist/types/components/organism/Help/Help.d.ts +5 -0
- package/dist/types/components/organism/Help/constants.d.ts +138 -0
- package/dist/types/components/organism/Help/index.d.ts +1 -0
- package/dist/types/components/organism/Help/styled.d.ts +78 -0
- package/dist/types/components/organism/Help/types.d.ts +65 -0
- package/dist/types/components/organism/Help/utils.d.ts +14 -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/Table.d.ts +1 -1
- package/dist/types/components/organism/Table/index.d.ts +1 -1
- package/dist/types/components/organism/index.d.ts +2 -1
- package/dist/types/constants/index.d.ts +1 -1
- package/dist/types/constants/theme.d.ts +12 -12
- package/dist/types/hooks/index.d.ts +2 -2
- package/dist/types/hooks/useDebounce.d.ts +3 -0
- 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 -0
- package/dist/types/services/constants.d.ts +20 -0
- 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 -8
- package/dist/types/utils/handleError.d.ts +2 -2
- package/dist/types/utils/index.d.ts +3 -0
- package/package.json +131 -122
- package/dist/types/components/molecules/CustomComponent/CustomComponent.d.ts +0 -2
- package/dist/types/components/molecules/CustomComponent/index.d.ts +0 -1
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export { Alert } from './Alert';
|
|
2
|
-
export { Cascader } from './Cascader';
|
|
3
|
-
export { Dropdown } from './Dropdown';
|
|
4
|
-
export { Modal } from './Modal';
|
|
5
|
-
export { Select } from './Select';
|
|
6
|
-
export { DatePicker } from './DatePicker';
|
|
7
|
-
export
|
|
1
|
+
export { Alert } from './Alert';
|
|
2
|
+
export { Cascader } from './Cascader';
|
|
3
|
+
export { Dropdown } from './Dropdown';
|
|
4
|
+
export { Modal } from './Modal';
|
|
5
|
+
export { Select } from './Select';
|
|
6
|
+
export { DatePicker } from './DatePicker';
|
|
7
|
+
export { ChatBox } from './ChatBox';
|
|
8
|
+
export { PopupDraggable } from './PopupDraggable';
|
|
9
|
+
export { Tabs } from './Tabs';
|
|
10
|
+
export { CaptureScreen } from './CaptureScreen';
|
|
11
|
+
export type { AdvancedPickerProps, TAdvancedPickerOption, TAdvancedRangePickerTimeRange, } from './DatePicker';
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { ITabShareScreenProps } from './types';
|
|
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";
|
|
5
|
+
export declare const MESSAGE_TYPE: {
|
|
6
|
+
TICKET_CREATE_STATUS: string;
|
|
7
|
+
};
|
|
8
|
+
export declare enum MENU_KEYS {
|
|
9
|
+
FEATURE_ANNOUNCEMENT = "feature_announcement",
|
|
10
|
+
FEEDBACK = "feedback",
|
|
11
|
+
HELP = "help",
|
|
12
|
+
IDEA = "idea",
|
|
13
|
+
SUPPORT = "support",
|
|
14
|
+
CHAT = "chat"
|
|
15
|
+
}
|
|
16
|
+
export declare enum ATTACH_KEYS {
|
|
17
|
+
CAPTURE = "capture",
|
|
18
|
+
RECORD = "record"
|
|
19
|
+
}
|
|
20
|
+
export declare enum REPORT_TYPES {
|
|
21
|
+
FEEDBACK = "feedback",
|
|
22
|
+
ISSUE = "issue",
|
|
23
|
+
IDEA = "idea",
|
|
24
|
+
HELP = "help",
|
|
25
|
+
CHAT = "chat",
|
|
26
|
+
HELP_V1 = "help_v1"
|
|
27
|
+
}
|
|
28
|
+
export declare const ATTACH_CAPTURE_TYPES: {
|
|
29
|
+
key: ATTACH_KEYS;
|
|
30
|
+
label: string;
|
|
31
|
+
icon: string;
|
|
32
|
+
actions: {
|
|
33
|
+
key: string;
|
|
34
|
+
icon: string;
|
|
35
|
+
}[];
|
|
36
|
+
}[];
|
|
37
|
+
export declare const TABS_SHARING_SCREEN: ITabShareScreenProps[];
|
|
38
|
+
export declare const HELP_APP: ({
|
|
39
|
+
title: string;
|
|
40
|
+
key: string;
|
|
41
|
+
appCode: string;
|
|
42
|
+
children: ({
|
|
43
|
+
title: string;
|
|
44
|
+
key: string;
|
|
45
|
+
children: ({
|
|
46
|
+
title: string;
|
|
47
|
+
key: string;
|
|
48
|
+
path: string;
|
|
49
|
+
children?: undefined;
|
|
50
|
+
} | {
|
|
51
|
+
title: string;
|
|
52
|
+
key: string;
|
|
53
|
+
children: ({
|
|
54
|
+
title: string;
|
|
55
|
+
key: string;
|
|
56
|
+
path: string;
|
|
57
|
+
children?: undefined;
|
|
58
|
+
} | {
|
|
59
|
+
title: string;
|
|
60
|
+
key: string;
|
|
61
|
+
children: {
|
|
62
|
+
title: string;
|
|
63
|
+
key: string;
|
|
64
|
+
path: string;
|
|
65
|
+
}[];
|
|
66
|
+
path?: undefined;
|
|
67
|
+
})[];
|
|
68
|
+
path?: undefined;
|
|
69
|
+
})[];
|
|
70
|
+
path?: undefined;
|
|
71
|
+
} | {
|
|
72
|
+
title: string;
|
|
73
|
+
key: string;
|
|
74
|
+
path: string;
|
|
75
|
+
children?: undefined;
|
|
76
|
+
})[];
|
|
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
|
+
})[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Help } from './Help';
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DropDown: import("styled-components").StyledComponent<import("react").FC<import("antd").DropDownProps> & {
|
|
3
|
+
Button: import("react").FC<import("antd/es/dropdown").DropdownButtonProps>;
|
|
4
|
+
_InternalPanelDoNotUseOrYouWillBeFired: (props: import("antd").DropDownProps) => JSX.Element;
|
|
5
|
+
}, any, {}, never>;
|
|
6
|
+
export declare const ButtonFeedback: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Partial<{
|
|
7
|
+
href: string;
|
|
8
|
+
target?: string | undefined;
|
|
9
|
+
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
10
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
11
|
+
htmlType?: "button" | "submit" | "reset" | undefined;
|
|
12
|
+
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
13
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & import("react").RefAttributes<HTMLElement>> & {
|
|
14
|
+
Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
|
|
15
|
+
}, any, {
|
|
16
|
+
height?: number | undefined;
|
|
17
|
+
borderRadiusCustom?: number | undefined;
|
|
18
|
+
}, never>;
|
|
19
|
+
export declare const PreviewBox: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
20
|
+
export declare const Overlay: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
21
|
+
export declare const Text: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
22
|
+
export declare const Label: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
23
|
+
export declare const SendFeedback: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
24
|
+
export declare const ControlGroup: import("styled-components").StyledComponent<import("react").FC<import("antd").SpaceProps> & {
|
|
25
|
+
Compact: import("react").FC<import("antd/es/space/Compact").SpaceCompactProps>;
|
|
26
|
+
}, any, {}, never>;
|
|
27
|
+
export declare const ControlLabel: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
|
|
28
|
+
export declare const FlexCenter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
29
|
+
export declare const WrapperFlex: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
30
|
+
export declare const HiddenBlock: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
31
|
+
export declare const WrapperImage: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
32
|
+
export declare const Image: import("styled-components").StyledComponent<"img", any, {
|
|
33
|
+
isFull?: boolean | undefined;
|
|
34
|
+
}, never>;
|
|
35
|
+
export declare const Video: import("styled-components").StyledComponent<"video", any, {}, never>;
|
|
36
|
+
export declare const WrapperHeader: import("styled-components").StyledComponent<"strong", any, {}, never>;
|
|
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, {
|
|
39
|
+
types?: string | undefined;
|
|
40
|
+
}, never>;
|
|
41
|
+
export declare const WrapperFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
42
|
+
export declare const WrapperFooterSpace: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
43
|
+
export declare const EditorWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
44
|
+
export declare const WrapperLinkFiles: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
45
|
+
export declare const WrapperLinkItemFiles: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
46
|
+
export declare const WrapperIconEditor: import("styled-components").StyledComponent<"div", any, {
|
|
47
|
+
borderTop?: boolean | undefined;
|
|
48
|
+
}, never>;
|
|
49
|
+
export declare const WrapperLoading: import("styled-components").StyledComponent<"div", any, {
|
|
50
|
+
width?: string | number | undefined;
|
|
51
|
+
height?: string | number | undefined;
|
|
52
|
+
}, never>;
|
|
53
|
+
export declare const WrapperInputFile: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
54
|
+
export declare const WrapperBodyModal: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
55
|
+
export declare const ErrorMessage: import("styled-components").StyledComponent<"div", any, {
|
|
56
|
+
isShow: boolean;
|
|
57
|
+
}, never>;
|
|
58
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
59
|
+
export declare const LabelTitle: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
|
|
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>;
|
|
@@ -0,0 +1,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
|
+
triggerType: TriggerTypeDropdown;
|
|
35
|
+
onClick?: Function;
|
|
36
|
+
children?: ReactNode;
|
|
37
|
+
}
|
|
38
|
+
export interface LabelProps {
|
|
39
|
+
color: string;
|
|
40
|
+
}
|
|
41
|
+
export type MenuItemTypeProps = {
|
|
42
|
+
item: any;
|
|
43
|
+
key: string;
|
|
44
|
+
keyPath: string[];
|
|
45
|
+
domEvent: React.MouseEvent<any>;
|
|
46
|
+
};
|
|
47
|
+
export interface ITabShareScreenProps extends Omit<TabPaneProps, 'tab'> {
|
|
48
|
+
key: string;
|
|
49
|
+
label: React.ReactNode;
|
|
50
|
+
}
|
|
51
|
+
export interface ImageDrewProps {
|
|
52
|
+
imageName: string;
|
|
53
|
+
dataURL: string;
|
|
54
|
+
}
|
|
55
|
+
export interface StreamTrackProps {
|
|
56
|
+
desktopStream: MediaStream;
|
|
57
|
+
voiceStream: MediaStream;
|
|
58
|
+
}
|
|
59
|
+
export interface HelpDocItem {
|
|
60
|
+
title: string | JSX.Element;
|
|
61
|
+
key: string;
|
|
62
|
+
path?: string;
|
|
63
|
+
children?: HelpDocItem[];
|
|
64
|
+
}
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -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 +1 @@
|
|
|
1
|
-
export { Table } from './Table';
|
|
1
|
+
export { Table } from './Table';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Table } from './Table';
|
|
1
|
+
export { Table } from './Table';
|
|
2
|
+
export { Help } from './Help';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { THEME } from './theme';
|
|
1
|
+
export { THEME } from './theme';
|
|
@@ -1,12 +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 {};
|
|
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;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './components';
|
|
1
|
+
export * from './components';
|