@antscorp/antsomi-ui 1.2.3-beta.26 → 1.2.3-beta.28

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 (184) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.md +78 -78
  3. package/dist/index.js +1 -1
  4. package/dist/types/components/atoms/Button/Button.d.ts +1 -1
  5. package/dist/types/components/atoms/Button/Button.stories.d.ts +32 -32
  6. package/dist/types/components/atoms/Button/__tests__/Button.test.d.ts +1 -1
  7. package/dist/types/components/atoms/Button/index.d.ts +10 -10
  8. package/dist/types/components/atoms/Button/test.d.ts +3 -3
  9. package/dist/types/components/atoms/Checkbox/Checkbox.d.ts +1 -1
  10. package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +16 -16
  11. package/dist/types/components/atoms/Checkbox/__tests__/Checkbox.test.d.ts +1 -1
  12. package/dist/types/components/atoms/Checkbox/index.d.ts +1 -1
  13. package/dist/types/components/atoms/Divider/Divider.d.ts +1 -1
  14. package/dist/types/components/atoms/Divider/Divider.stories.d.ts +8 -8
  15. package/dist/types/components/atoms/Divider/__tests__/Divider.test.d.ts +1 -1
  16. package/dist/types/components/atoms/Divider/index.d.ts +1 -1
  17. package/dist/types/components/atoms/Input/Input.d.ts +7 -7
  18. package/dist/types/components/atoms/Input/Input.stories.d.ts +22 -22
  19. package/dist/types/components/atoms/Input/__tests__/Input.test.d.ts +1 -1
  20. package/dist/types/components/atoms/Input/index.d.ts +1 -1
  21. package/dist/types/components/atoms/InputNumber/InputNumber.d.ts +6 -6
  22. package/dist/types/components/atoms/InputNumber/InputNumber.stories.d.ts +16 -16
  23. package/dist/types/components/atoms/InputNumber/__tests__/InputNumber.test.d.ts +1 -1
  24. package/dist/types/components/atoms/InputNumber/index.d.ts +1 -1
  25. package/dist/types/components/atoms/Radio/Radio.d.ts +1 -1
  26. package/dist/types/components/atoms/Radio/Radio.stories.d.ts +17 -17
  27. package/dist/types/components/atoms/Radio/__tests__/Radio.test.d.ts +1 -1
  28. package/dist/types/components/atoms/Radio/index.d.ts +1 -1
  29. package/dist/types/components/atoms/Space/Space.d.ts +1 -1
  30. package/dist/types/components/atoms/Space/Space.stories.d.ts +16 -16
  31. package/dist/types/components/atoms/Space/index.d.ts +1 -1
  32. package/dist/types/components/atoms/Tag/Tag.d.ts +1 -1
  33. package/dist/types/components/atoms/Tag/Tag.stories.d.ts +12 -12
  34. package/dist/types/components/atoms/Tag/index.d.ts +1 -1
  35. package/dist/types/components/atoms/Tooltip/Tooltip.d.ts +1 -1
  36. package/dist/types/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -14
  37. package/dist/types/components/atoms/Tooltip/index.d.ts +1 -1
  38. package/dist/types/components/atoms/Typography/Text.d.ts +1 -1
  39. package/dist/types/components/atoms/Typography/Typography.stories.d.ts +11 -11
  40. package/dist/types/components/atoms/Typography/index.d.ts +1 -1
  41. package/dist/types/components/atoms/index.d.ts +10 -10
  42. package/dist/types/components/common/ConfigProvider/ConfigProvider.d.ts +10 -10
  43. package/dist/types/components/common/ConfigProvider/GlobalStyle.d.ts +5 -5
  44. package/dist/types/components/common/ConfigProvider/index.d.ts +1 -1
  45. package/dist/types/components/common/index.d.ts +1 -1
  46. package/dist/types/components/icons/ArrowGrowIcon.d.ts +1 -1
  47. package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -1
  48. package/dist/types/components/icons/BugIcon.d.ts +1 -1
  49. package/dist/types/components/icons/CameraIcon.d.ts +1 -1
  50. package/dist/types/components/icons/CaptureIcon.d.ts +1 -1
  51. package/dist/types/components/icons/CheckSlimIcon.d.ts +1 -1
  52. package/dist/types/components/icons/CloseIcon.d.ts +3 -3
  53. package/dist/types/components/icons/CommentIcon.d.ts +1 -1
  54. package/dist/types/components/icons/EventIcon.d.ts +3 -3
  55. package/dist/types/components/icons/FreeDrawIcon.d.ts +1 -1
  56. package/dist/types/components/icons/GPTIcon.d.ts +1 -1
  57. package/dist/types/components/icons/GPTIconV2.d.ts +1 -1
  58. package/dist/types/components/icons/GPTIconV3.d.ts +1 -1
  59. package/dist/types/components/icons/HighlightIcon.d.ts +1 -1
  60. package/dist/types/components/icons/IdeaIcon.d.ts +1 -1
  61. package/dist/types/components/icons/InvisibleIcon.d.ts +1 -1
  62. package/dist/types/components/icons/MuteIcon.d.ts +1 -1
  63. package/dist/types/components/icons/OpenUrlIcon.d.ts +1 -1
  64. package/dist/types/components/icons/PauseIcon.d.ts +1 -1
  65. package/dist/types/components/icons/PlaneIcon.d.ts +1 -1
  66. package/dist/types/components/icons/RequestIcon.d.ts +1 -1
  67. package/dist/types/components/icons/StopRecordIcon.d.ts +1 -1
  68. package/dist/types/components/icons/UserIcon.d.ts +1 -1
  69. package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -1
  70. package/dist/types/components/icons/WarningIcon.d.ts +1 -1
  71. package/dist/types/components/icons/index.d.ts +25 -25
  72. package/dist/types/components/index.d.ts +4 -4
  73. package/dist/types/components/molecules/Alert/Alert.d.ts +1 -1
  74. package/dist/types/components/molecules/Alert/Alert.stories.d.ts +21 -21
  75. package/dist/types/components/molecules/Alert/index.d.ts +1 -1
  76. package/dist/types/components/molecules/CaptureScreen/CaptureScreen.d.ts +15 -15
  77. package/dist/types/components/molecules/CaptureScreen/CaptureScreen.stories.d.ts +29 -29
  78. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/CommentBox.d.ts +16 -16
  79. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/index.d.ts +1 -1
  80. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/styled.d.ts +12 -12
  81. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +15 -15
  82. package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +3 -3
  83. package/dist/types/components/molecules/CaptureScreen/components/Cursor/index.d.ts +1 -1
  84. package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +7 -7
  85. package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +10 -10
  86. package/dist/types/components/molecules/CaptureScreen/constants.d.ts +41 -41
  87. package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +5 -5
  88. package/dist/types/components/molecules/CaptureScreen/index.d.ts +1 -1
  89. package/dist/types/components/molecules/CaptureScreen/styled.d.ts +26 -26
  90. package/dist/types/components/molecules/CaptureScreen/themes/black.d.ts +54 -54
  91. package/dist/types/components/molecules/CaptureScreen/themes/white.d.ts +54 -54
  92. package/dist/types/components/molecules/CaptureScreen/types.d.ts +108 -108
  93. package/dist/types/components/molecules/CaptureScreen/utils.d.ts +13 -13
  94. package/dist/types/components/molecules/Cascader/Cascader.d.ts +1 -1
  95. package/dist/types/components/molecules/Cascader/Cascader.stories.d.ts +37 -37
  96. package/dist/types/components/molecules/Cascader/index.d.ts +1 -1
  97. package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +3 -3
  98. package/dist/types/components/molecules/ChatBox/MessageItem.d.ts +5 -5
  99. package/dist/types/components/molecules/ChatBox/constants.d.ts +6 -6
  100. package/dist/types/components/molecules/ChatBox/index.d.ts +1 -1
  101. package/dist/types/components/molecules/ChatBox/styled.d.ts +10 -10
  102. package/dist/types/components/molecules/ChatBox/types.d.ts +32 -32
  103. package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +8 -8
  104. package/dist/types/components/molecules/DatePicker/DatePicker.stories.d.ts +4 -4
  105. package/dist/types/components/molecules/DatePicker/__tests__/DatePicker.test.d.ts +1 -1
  106. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.d.ts +28 -28
  107. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.stories.d.ts +5 -5
  108. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/constants.d.ts +53 -53
  109. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/index.d.ts +3 -3
  110. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/styled.d.ts +7 -7
  111. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/types.d.ts +14 -14
  112. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/utils.d.ts +15 -15
  113. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.d.ts +15 -15
  114. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.stories.d.ts +9 -9
  115. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/constants.d.ts +4 -4
  116. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/index.d.ts +2 -2
  117. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/types.d.ts +17 -17
  118. package/dist/types/components/molecules/DatePicker/index.d.ts +3 -3
  119. package/dist/types/components/molecules/Dropdown/Dropdown.d.ts +1 -1
  120. package/dist/types/components/molecules/Dropdown/Dropdown.stories.d.ts +23 -23
  121. package/dist/types/components/molecules/Dropdown/index.d.ts +1 -1
  122. package/dist/types/components/molecules/Modal/Modal.d.ts +1 -1
  123. package/dist/types/components/molecules/Modal/Modal.stories.d.ts +28 -28
  124. package/dist/types/components/molecules/Modal/index.d.ts +1 -1
  125. package/dist/types/components/molecules/PopupDraggable/PopupDraggable.d.ts +6 -6
  126. package/dist/types/components/molecules/PopupDraggable/index.d.ts +1 -1
  127. package/dist/types/components/molecules/PopupDraggable/styled.d.ts +5 -5
  128. package/dist/types/components/molecules/PopupDraggable/types.d.ts +15 -15
  129. package/dist/types/components/molecules/Select/Select.d.ts +15 -15
  130. package/dist/types/components/molecules/Select/Select.stories.d.ts +28 -28
  131. package/dist/types/components/molecules/Select/Test.d.ts +3 -3
  132. package/dist/types/components/molecules/Select/index.d.ts +2 -2
  133. package/dist/types/components/molecules/Select/styled.d.ts +4 -4
  134. package/dist/types/components/molecules/Tabs/Tabs.d.ts +1 -1
  135. package/dist/types/components/molecules/Tabs/index.d.ts +1 -1
  136. package/dist/types/components/molecules/index.d.ts +11 -11
  137. package/dist/types/components/organism/Help/Help.d.ts +5 -5
  138. package/dist/types/components/organism/Help/constants.d.ts +140 -140
  139. package/dist/types/components/organism/Help/index.d.ts +1 -1
  140. package/dist/types/components/organism/Help/styled.d.ts +81 -81
  141. package/dist/types/components/organism/Help/types.d.ts +67 -67
  142. package/dist/types/components/organism/Help/utils.d.ts +15 -15
  143. package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -18
  144. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -11
  145. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -1
  146. package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +75 -75
  147. package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +1 -1
  148. package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +1 -1
  149. package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +1 -1
  150. package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +1 -1
  151. package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -11
  152. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -12
  153. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -1
  154. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -3
  155. package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -4
  156. package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +2 -2
  157. package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +11 -11
  158. package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +17 -17
  159. package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -4
  160. package/dist/types/components/organism/Table/Table.d.ts +1 -1
  161. package/dist/types/components/organism/Table/Table.stories.d.ts +39 -39
  162. package/dist/types/components/organism/Table/index.d.ts +2 -2
  163. package/dist/types/components/organism/index.d.ts +2 -2
  164. package/dist/types/constants/index.d.ts +2 -2
  165. package/dist/types/constants/storybook.d.ts +11 -11
  166. package/dist/types/constants/theme.d.ts +12 -12
  167. package/dist/types/hooks/index.d.ts +2 -2
  168. package/dist/types/hooks/useDebounce.d.ts +3 -3
  169. package/dist/types/index.d.ts +1 -1
  170. package/dist/types/locales/i18n.d.ts +73 -73
  171. package/dist/types/locales/translations.d.ts +37 -37
  172. package/dist/types/locales/types.d.ts +15 -15
  173. package/dist/types/services/Ticket.d.ts +67 -67
  174. package/dist/types/services/constants.d.ts +20 -20
  175. package/dist/types/stories/components/TableApiTypeTag/index.d.ts +6 -6
  176. package/dist/types/stories/components/index.d.ts +1 -1
  177. package/dist/types/test.d.ts +3 -3
  178. package/dist/types/types/index.d.ts +6 -6
  179. package/dist/types/utils/color.d.ts +9 -9
  180. package/dist/types/utils/common.d.ts +46 -46
  181. package/dist/types/utils/handleError.d.ts +2 -2
  182. package/dist/types/utils/index.d.ts +3 -3
  183. package/package.json +135 -135
  184. package/dist/package.json +0 -43
@@ -1,2 +1,2 @@
1
- export { ExplorePivotTable } from './ExplorePivotTable';
2
- export { TEST_DATA } from './constants';
1
+ export { ExplorePivotTable } from './ExplorePivotTable';
2
+ export { TEST_DATA } from './constants';
@@ -1,11 +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>;
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>;
@@ -1,17 +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
+ 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,4 +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
+ 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 @@
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,2 +1,2 @@
1
- export { Table } from './Table';
2
- export { ExplorePivotTable, TEST_DATA as EXPLORE_PIVOT_TABLE_TEST_DATA } from './ExplorePivotTable';
1
+ export { Table } from './Table';
2
+ export { ExplorePivotTable, TEST_DATA as EXPLORE_PIVOT_TABLE_TEST_DATA } from './ExplorePivotTable';
@@ -1,2 +1,2 @@
1
- export { Help } from './Help';
2
- export { Table, ExplorePivotTable, EXPLORE_PIVOT_TABLE_TEST_DATA } from './Table';
1
+ export { Help } from './Help';
2
+ export { Table, ExplorePivotTable, EXPLORE_PIVOT_TABLE_TEST_DATA } from './Table';
@@ -1,2 +1,2 @@
1
- export { THEME } from './theme';
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,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;
@@ -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 };
@@ -1 +1 @@
1
- export * from './components';
1
+ export * from './components';
@@ -1,73 +1,73 @@
1
- export declare const translationsJson: {
2
- en: {
3
- translation: {
4
- global: {
5
- minus: string;
6
- plus: string;
7
- };
8
- button: {};
9
- datePicker: {
10
- startDate: string;
11
- endDate: string;
12
- dateTypes: {
13
- today: string;
14
- firstDayOfWeekMonSun: string;
15
- firstDayOfWeekSunSat: string;
16
- firstDayOfMonth: string;
17
- firstDayOfQuarter: string;
18
- firstDayOfYear: string;
19
- lastDayOfWeekMonSun: string;
20
- lastDayOfWeekSunSat: string;
21
- lastDayOfMonth: string;
22
- lastDayOfQuarter: string;
23
- lastDayOfYear: string;
24
- fixed: string;
25
- };
26
- seconds: string;
27
- minutes: string;
28
- hours: string;
29
- days: string;
30
- weeks: string;
31
- months: string;
32
- quarters: string;
33
- years: string;
34
- };
35
- };
36
- };
37
- vi: {
38
- translation: {
39
- global: {
40
- minus: string;
41
- plus: string;
42
- };
43
- button: {};
44
- datePicker: {
45
- startDate: string;
46
- endDate: string;
47
- dateTypes: {
48
- today: string;
49
- firstDayOfWeekMonSun: string;
50
- firstDayOfWeekSunSat: string;
51
- firstDayOfMonth: string;
52
- firstDayOfQuarter: string;
53
- firstDayOfYear: string;
54
- lastDayOfWeekMonSun: string;
55
- lastDayOfWeekSunSat: string;
56
- lastDayOfMonth: string;
57
- lastDayOfQuarter: string;
58
- lastDayOfYear: string;
59
- fixed: string;
60
- };
61
- seconds: string;
62
- minutes: string;
63
- hours: string;
64
- days: string;
65
- weeks: string;
66
- months: string;
67
- quarters: string;
68
- years: string;
69
- };
70
- };
71
- };
72
- };
73
- export declare const i18n: Promise<import("i18next").TFunction<"translation", undefined, "translation">>;
1
+ export declare const translationsJson: {
2
+ en: {
3
+ translation: {
4
+ global: {
5
+ minus: string;
6
+ plus: string;
7
+ };
8
+ button: {};
9
+ datePicker: {
10
+ startDate: string;
11
+ endDate: string;
12
+ dateTypes: {
13
+ today: string;
14
+ firstDayOfWeekMonSun: string;
15
+ firstDayOfWeekSunSat: string;
16
+ firstDayOfMonth: string;
17
+ firstDayOfQuarter: string;
18
+ firstDayOfYear: string;
19
+ lastDayOfWeekMonSun: string;
20
+ lastDayOfWeekSunSat: string;
21
+ lastDayOfMonth: string;
22
+ lastDayOfQuarter: string;
23
+ lastDayOfYear: string;
24
+ fixed: string;
25
+ };
26
+ seconds: string;
27
+ minutes: string;
28
+ hours: string;
29
+ days: string;
30
+ weeks: string;
31
+ months: string;
32
+ quarters: string;
33
+ years: string;
34
+ };
35
+ };
36
+ };
37
+ vi: {
38
+ translation: {
39
+ global: {
40
+ minus: string;
41
+ plus: string;
42
+ };
43
+ button: {};
44
+ datePicker: {
45
+ startDate: string;
46
+ endDate: string;
47
+ dateTypes: {
48
+ today: string;
49
+ firstDayOfWeekMonSun: string;
50
+ firstDayOfWeekSunSat: string;
51
+ firstDayOfMonth: string;
52
+ firstDayOfQuarter: string;
53
+ firstDayOfYear: string;
54
+ lastDayOfWeekMonSun: string;
55
+ lastDayOfWeekSunSat: string;
56
+ lastDayOfMonth: string;
57
+ lastDayOfQuarter: string;
58
+ lastDayOfYear: string;
59
+ fixed: string;
60
+ };
61
+ seconds: string;
62
+ minutes: string;
63
+ hours: string;
64
+ days: string;
65
+ weeks: string;
66
+ months: string;
67
+ quarters: string;
68
+ years: string;
69
+ };
70
+ };
71
+ };
72
+ };
73
+ export declare const i18n: Promise<import("i18next").TFunction<"translation", undefined, "translation">>;
@@ -1,37 +1,37 @@
1
- import { ConvertedToObjectType, TranslationJsonType } from './types';
2
- export declare const translations: ConvertedToObjectType<TranslationJsonType>;
3
- export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: ConvertedToObjectType<{
4
- global: {
5
- minus: string;
6
- plus: string;
7
- };
8
- button: {};
9
- datePicker: {
10
- startDate: string;
11
- endDate: string;
12
- dateTypes: {
13
- today: string;
14
- firstDayOfWeekMonSun: string;
15
- firstDayOfWeekSunSat: string;
16
- firstDayOfMonth: string;
17
- firstDayOfQuarter: string;
18
- firstDayOfYear: string;
19
- lastDayOfWeekMonSun: string;
20
- lastDayOfWeekSunSat: string;
21
- lastDayOfMonth: string;
22
- lastDayOfQuarter: string;
23
- lastDayOfYear: string;
24
- fixed: string;
25
- };
26
- seconds: string;
27
- minutes: string;
28
- hours: string;
29
- days: string;
30
- weeks: string;
31
- months: string;
32
- quarters: string;
33
- years: string;
34
- };
35
- }>, current?: string) => void;
36
- export declare const t: (id: string, ...rest: any[]) => [string, ...any[]];
37
- export declare const getTranslateMessage: (id: string, defaultMessage?: string, value?: Record<string, unknown>) => string;
1
+ import { ConvertedToObjectType, TranslationJsonType } from './types';
2
+ export declare const translations: ConvertedToObjectType<TranslationJsonType>;
3
+ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: ConvertedToObjectType<{
4
+ global: {
5
+ minus: string;
6
+ plus: string;
7
+ };
8
+ button: {};
9
+ datePicker: {
10
+ startDate: string;
11
+ endDate: string;
12
+ dateTypes: {
13
+ today: string;
14
+ firstDayOfWeekMonSun: string;
15
+ firstDayOfWeekSunSat: string;
16
+ firstDayOfMonth: string;
17
+ firstDayOfQuarter: string;
18
+ firstDayOfYear: string;
19
+ lastDayOfWeekMonSun: string;
20
+ lastDayOfWeekSunSat: string;
21
+ lastDayOfMonth: string;
22
+ lastDayOfQuarter: string;
23
+ lastDayOfYear: string;
24
+ fixed: string;
25
+ };
26
+ seconds: string;
27
+ minutes: string;
28
+ hours: string;
29
+ days: string;
30
+ weeks: string;
31
+ months: string;
32
+ quarters: string;
33
+ years: string;
34
+ };
35
+ }>, current?: string) => void;
36
+ export declare const t: (id: string, ...rest: any[]) => [string, ...any[]];
37
+ export declare const getTranslateMessage: (id: string, defaultMessage?: string, value?: Record<string, unknown>) => string;
@@ -1,15 +1,15 @@
1
- export type ConvertedToObjectType<T> = {
2
- [P in keyof T]: T[P] extends string ? string : ConvertedToObjectType<T[P]>;
3
- };
4
- /**
5
-
6
- If you don't want non-existing keys to throw ts error you can simply do(also keeping the intellisense)
7
-
8
- export type ConvertedToObjectType<T> = {
9
- [P in keyof T]: T[P] extends string ? string : ConvertedToObjectType<T[P]>;
10
- } & {
11
- [P: string]: any;
12
- };
13
-
14
- */
15
- export type TranslationJsonType = typeof import('./en/translation.json');
1
+ export type ConvertedToObjectType<T> = {
2
+ [P in keyof T]: T[P] extends string ? string : ConvertedToObjectType<T[P]>;
3
+ };
4
+ /**
5
+
6
+ If you don't want non-existing keys to throw ts error you can simply do(also keeping the intellisense)
7
+
8
+ export type ConvertedToObjectType<T> = {
9
+ [P in keyof T]: T[P] extends string ? string : ConvertedToObjectType<T[P]>;
10
+ } & {
11
+ [P: string]: any;
12
+ };
13
+
14
+ */
15
+ export type TranslationJsonType = typeof import('./en/translation.json');
@@ -1,67 +1,67 @@
1
- declare const API: {
2
- lookupInfo: {
3
- callApi: {
4
- c_user_id: (params: any, domain: any, token: any, config: any, userId: any) => Promise<{
5
- code: number;
6
- codeMessage: any;
7
- messageAPI: any;
8
- data: any;
9
- } | {
10
- code: number;
11
- codeMessage: string;
12
- data: any;
13
- messageAPI?: undefined;
14
- }>;
15
- };
16
- };
17
- getAppInfo: {
18
- getAll: (params: any, domain: any, config: any, token: any, userId: any) => Promise<{
19
- code: number;
20
- message: any;
21
- data: any;
22
- codeMessage?: undefined;
23
- } | {
24
- code: number;
25
- codeMessage: string;
26
- message: any;
27
- data: any;
28
- }>;
29
- };
30
- tickets: {
31
- callApi: {
32
- createTicket: (params: any, domain: any, token: any, config: any, userId: any) => Promise<{
33
- code: number;
34
- codeMessage: any;
35
- messageAPI: any;
36
- data: any;
37
- } | {
38
- code: number;
39
- codeMessage: string;
40
- data: any;
41
- messageAPI?: undefined;
42
- }>;
43
- getCustomFields: (params: any, domain: any, token: any, config: any, userId: any, type: any) => Promise<any>;
44
- getDetailsTicket: (params: any, domain: any, token: any, config: any, userId: any, ticketId: any, type: any) => Promise<any>;
45
- getListComment: (params: any, domain: any, token: any, config: any, userId: any, type: any, ticketId: any) => Promise<any>;
46
- updateComment: (params: any, domain: any, token: any, config: any, userId: any, type: any, ticketId: any) => Promise<any>;
47
- updateFollowers: (params: any, domain: any, token: any, config: any, userId: any, ticketId: any) => Promise<any>;
48
- upload: (params: any, domain: any, token: any, config: any, userId: any, type: any) => Promise<any>;
49
- };
50
- };
51
- accounts: {
52
- callApi: {
53
- getAccountManage: (params: any, domain: any, token: any, config: any, userId: any, type: any) => Promise<any>;
54
- };
55
- };
56
- permission: {
57
- callApi: {
58
- getList: (params: any, domain: any, token: any, config: any, userId: any, type: any, ownerId: any) => Promise<any>;
59
- };
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
- };
66
- };
67
- export default API;
1
+ declare const API: {
2
+ lookupInfo: {
3
+ callApi: {
4
+ c_user_id: (params: any, domain: any, token: any, config: any, userId: any) => Promise<{
5
+ code: number;
6
+ codeMessage: any;
7
+ messageAPI: any;
8
+ data: any;
9
+ } | {
10
+ code: number;
11
+ codeMessage: string;
12
+ data: any;
13
+ messageAPI?: undefined;
14
+ }>;
15
+ };
16
+ };
17
+ getAppInfo: {
18
+ getAll: (params: any, domain: any, config: any, token: any, userId: any) => Promise<{
19
+ code: number;
20
+ message: any;
21
+ data: any;
22
+ codeMessage?: undefined;
23
+ } | {
24
+ code: number;
25
+ codeMessage: string;
26
+ message: any;
27
+ data: any;
28
+ }>;
29
+ };
30
+ tickets: {
31
+ callApi: {
32
+ createTicket: (params: any, domain: any, token: any, config: any, userId: any) => Promise<{
33
+ code: number;
34
+ codeMessage: any;
35
+ messageAPI: any;
36
+ data: any;
37
+ } | {
38
+ code: number;
39
+ codeMessage: string;
40
+ data: any;
41
+ messageAPI?: undefined;
42
+ }>;
43
+ getCustomFields: (params: any, domain: any, token: any, config: any, userId: any, type: any) => Promise<any>;
44
+ getDetailsTicket: (params: any, domain: any, token: any, config: any, userId: any, ticketId: any, type: any) => Promise<any>;
45
+ getListComment: (params: any, domain: any, token: any, config: any, userId: any, type: any, ticketId: any) => Promise<any>;
46
+ updateComment: (params: any, domain: any, token: any, config: any, userId: any, type: any, ticketId: any) => Promise<any>;
47
+ updateFollowers: (params: any, domain: any, token: any, config: any, userId: any, ticketId: any) => Promise<any>;
48
+ upload: (params: any, domain: any, token: any, config: any, userId: any, type: any) => Promise<any>;
49
+ };
50
+ };
51
+ accounts: {
52
+ callApi: {
53
+ getAccountManage: (params: any, domain: any, token: any, config: any, userId: any, type: any) => Promise<any>;
54
+ };
55
+ };
56
+ permission: {
57
+ callApi: {
58
+ getList: (params: any, domain: any, token: any, config: any, userId: any, type: any, ownerId: any) => Promise<any>;
59
+ };
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
+ };
66
+ };
67
+ export default API;