@antscorp/antsomi-ui 1.2.3-beta.21 → 1.2.3-beta.23

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 (186) hide show
  1. package/README.md +78 -78
  2. package/dist/index.js +1 -1
  3. package/dist/package.json +43 -0
  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 -15
  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 -0
  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 -19
  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 -0
  27. package/dist/types/components/atoms/Radio/__tests__/Radio.test.d.ts +1 -0
  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 -0
  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 -0
  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 -0
  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 -0
  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/StopRecordIcon.d.ts +1 -1
  67. package/dist/types/components/icons/UserIcon.d.ts +1 -1
  68. package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -1
  69. package/dist/types/components/icons/WarningIcon.d.ts +1 -1
  70. package/dist/types/components/icons/index.d.ts +24 -24
  71. package/dist/types/components/index.d.ts +4 -4
  72. package/dist/types/components/molecules/Alert/Alert.d.ts +1 -1
  73. package/dist/types/components/molecules/Alert/Alert.stories.d.ts +21 -0
  74. package/dist/types/components/molecules/Alert/index.d.ts +1 -1
  75. package/dist/types/components/molecules/CaptureScreen/CaptureScreen.d.ts +11 -11
  76. package/dist/types/components/molecules/CaptureScreen/CaptureScreen.stories.d.ts +21 -21
  77. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/CommentBox.d.ts +16 -16
  78. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/index.d.ts +1 -1
  79. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/styled.d.ts +12 -12
  80. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +15 -15
  81. package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +3 -3
  82. package/dist/types/components/molecules/CaptureScreen/components/Cursor/index.d.ts +1 -1
  83. package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +7 -7
  84. package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +10 -10
  85. package/dist/types/components/molecules/CaptureScreen/constants.d.ts +34 -34
  86. package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +5 -5
  87. package/dist/types/components/molecules/CaptureScreen/index.d.ts +1 -1
  88. package/dist/types/components/molecules/CaptureScreen/styled.d.ts +26 -26
  89. package/dist/types/components/molecules/CaptureScreen/themes/black.d.ts +54 -54
  90. package/dist/types/components/molecules/CaptureScreen/themes/white.d.ts +54 -54
  91. package/dist/types/components/molecules/CaptureScreen/types.d.ts +102 -102
  92. package/dist/types/components/molecules/CaptureScreen/utils.d.ts +13 -13
  93. package/dist/types/components/molecules/Cascader/Cascader.d.ts +1 -1
  94. package/dist/types/components/molecules/Cascader/Cascader.stories.d.ts +37 -0
  95. package/dist/types/components/molecules/Cascader/index.d.ts +1 -1
  96. package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +3 -3
  97. package/dist/types/components/molecules/ChatBox/MessageItem.d.ts +5 -5
  98. package/dist/types/components/molecules/ChatBox/constants.d.ts +6 -6
  99. package/dist/types/components/molecules/ChatBox/index.d.ts +1 -1
  100. package/dist/types/components/molecules/ChatBox/styled.d.ts +10 -10
  101. package/dist/types/components/molecules/ChatBox/types.d.ts +32 -32
  102. package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +8 -8
  103. package/dist/types/components/molecules/DatePicker/DatePicker.stories.d.ts +4 -4
  104. package/dist/types/components/molecules/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
  105. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.d.ts +28 -28
  106. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.stories.d.ts +5 -5
  107. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/constants.d.ts +53 -53
  108. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/index.d.ts +3 -3
  109. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/styled.d.ts +7 -7
  110. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/types.d.ts +14 -14
  111. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/utils.d.ts +15 -15
  112. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.d.ts +15 -15
  113. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.stories.d.ts +9 -9
  114. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/constants.d.ts +4 -4
  115. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/index.d.ts +2 -2
  116. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/types.d.ts +17 -17
  117. package/dist/types/components/molecules/DatePicker/index.d.ts +3 -3
  118. package/dist/types/components/molecules/Dropdown/Dropdown.d.ts +1 -1
  119. package/dist/types/components/molecules/Dropdown/Dropdown.stories.d.ts +25 -0
  120. package/dist/types/components/molecules/Dropdown/index.d.ts +1 -1
  121. package/dist/types/components/molecules/Modal/Modal.d.ts +1 -1
  122. package/dist/types/components/molecules/Modal/Modal.stories.d.ts +28 -0
  123. package/dist/types/components/molecules/Modal/index.d.ts +1 -1
  124. package/dist/types/components/molecules/PopupDraggable/PopupDraggable.d.ts +6 -6
  125. package/dist/types/components/molecules/PopupDraggable/index.d.ts +1 -1
  126. package/dist/types/components/molecules/PopupDraggable/styled.d.ts +4 -4
  127. package/dist/types/components/molecules/PopupDraggable/types.d.ts +12 -12
  128. package/dist/types/components/molecules/Select/Select.d.ts +15 -15
  129. package/dist/types/components/molecules/Select/Select.stories.d.ts +28 -28
  130. package/dist/types/components/molecules/Select/Test.d.ts +3 -3
  131. package/dist/types/components/molecules/Select/index.d.ts +2 -2
  132. package/dist/types/components/molecules/Select/styled.d.ts +4 -4
  133. package/dist/types/components/molecules/Tabs/Tabs.d.ts +1 -1
  134. package/dist/types/components/molecules/Tabs/index.d.ts +1 -1
  135. package/dist/types/components/molecules/index.d.ts +11 -11
  136. package/dist/types/components/organism/Help/Help.d.ts +5 -5
  137. package/dist/types/components/organism/Help/constants.d.ts +138 -138
  138. package/dist/types/components/organism/Help/index.d.ts +1 -1
  139. package/dist/types/components/organism/Help/types.d.ts +65 -65
  140. package/dist/types/components/organism/Help/utils.d.ts +14 -14
  141. package/dist/types/components/organism/Table/Table.d.ts +1 -1
  142. package/dist/types/components/organism/Table/Table.stories.d.ts +39 -0
  143. package/dist/types/components/organism/Table/index.d.ts +1 -2
  144. package/dist/types/components/organism/index.d.ts +2 -2
  145. package/dist/types/constants/index.d.ts +2 -1
  146. package/dist/types/constants/storybook.d.ts +11 -0
  147. package/dist/types/constants/theme.d.ts +13 -12
  148. package/dist/types/hooks/index.d.ts +2 -2
  149. package/dist/types/hooks/useDebounce.d.ts +3 -3
  150. package/dist/types/index.d.ts +1 -1
  151. package/dist/types/locales/i18n.d.ts +73 -73
  152. package/dist/types/locales/translations.d.ts +37 -37
  153. package/dist/types/locales/types.d.ts +15 -15
  154. package/dist/types/services/Ticket.d.ts +67 -67
  155. package/dist/types/services/constants.d.ts +20 -20
  156. package/dist/types/stories/components/TableApiTypeTag/index.d.ts +6 -0
  157. package/dist/types/stories/components/index.d.ts +1 -0
  158. package/dist/types/test.d.ts +3 -3
  159. package/dist/types/types/index.d.ts +6 -6
  160. package/dist/types/utils/common.d.ts +46 -46
  161. package/dist/types/utils/handleError.d.ts +2 -2
  162. package/package.json +135 -135
  163. package/CHANGELOG.md +0 -77
  164. package/dist/types/components/molecules/ChatBox/ask.d.ts +0 -3
  165. package/dist/types/components/molecules/ChatBox/utils.d.ts +0 -0
  166. package/dist/types/components/organism/Help/styled.d.ts +0 -78
  167. package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +0 -18
  168. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +0 -11
  169. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/index.d.ts +0 -0
  170. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +0 -1
  171. package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +0 -75
  172. package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +0 -1
  173. package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +0 -1
  174. package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +0 -1
  175. package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +0 -1
  176. package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +0 -11
  177. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +0 -12
  178. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +0 -1
  179. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +0 -3
  180. package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +0 -4
  181. package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +0 -2
  182. package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +0 -11
  183. package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +0 -17
  184. package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +0 -4
  185. package/dist/types/utils/color.d.ts +0 -9
  186. package/dist/types/utils/index.d.ts +0 -3
@@ -1,138 +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
- })[];
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
+ })[];
@@ -1 +1 @@
1
- export { Help } from './Help';
1
+ export { Help } from './Help';
@@ -1,65 +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 {};
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 {};
@@ -1,14 +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;
1
+ export declare const formatAccountId: (data: any) => any;
2
+ export declare const formatParams: (data: any) => {
3
+ title: string;
4
+ ownerId: undefined;
5
+ followers: never[];
6
+ referenceUrl: string;
7
+ priority: string;
8
+ feature: string;
9
+ ticketType: string;
10
+ category: string;
11
+ message: string;
12
+ attachments: never[];
13
+ };
14
+ export declare const postCustomEvent: (type: any, data: any) => void;
@@ -1 +1 @@
1
- export { Table } from 'antd';
1
+ export { Table } from 'antd';
@@ -0,0 +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,2 +1 @@
1
- export { Table } from './Table';
2
- export { ExplorePivotTable, TEST_DATA as EXPLORE_PIVOT_TABLE_TEST_DATA } from './ExplorePivotTable';
1
+ export { Table } from './Table';
@@ -1,2 +1,2 @@
1
- export { Help } from './Help';
2
- export { Table, ExplorePivotTable, EXPLORE_PIVOT_TABLE_TEST_DATA } from './Table';
1
+ export { Table } from './Table';
2
+ export { Help } from './Help';
@@ -1 +1,2 @@
1
- export { THEME } from './theme';
1
+ export * from './theme';
2
+ export * from './storybook';
@@ -0,0 +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,12 +1,13 @@
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 declare const GLOBAL_TOKEN: import("antd/es/theme/internal").AliasToken;
13
+ 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';