@antscorp/antsomi-ui 1.2.3-beta.5 → 1.2.3-beta.7

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 (166) hide show
  1. package/CHANGELOG.md +77 -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 +15 -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/index.d.ts +1 -1
  16. package/dist/types/components/atoms/Input/Input.d.ts +7 -7
  17. package/dist/types/components/atoms/Input/Input.stories.d.ts +19 -19
  18. package/dist/types/components/atoms/Input/__tests__/Input.test.d.ts +1 -1
  19. package/dist/types/components/atoms/Input/index.d.ts +1 -1
  20. package/dist/types/components/atoms/InputNumber/InputNumber.d.ts +6 -6
  21. package/dist/types/components/atoms/InputNumber/InputNumber.stories.d.ts +16 -16
  22. package/dist/types/components/atoms/InputNumber/__tests__/InputNumber.test.d.ts +1 -1
  23. package/dist/types/components/atoms/InputNumber/index.d.ts +1 -1
  24. package/dist/types/components/atoms/Radio/Radio.d.ts +1 -1
  25. package/dist/types/components/atoms/Radio/index.d.ts +1 -1
  26. package/dist/types/components/atoms/Space/Space.d.ts +1 -1
  27. package/dist/types/components/atoms/Space/index.d.ts +1 -1
  28. package/dist/types/components/atoms/Tag/Tag.d.ts +1 -1
  29. package/dist/types/components/atoms/Tag/index.d.ts +1 -1
  30. package/dist/types/components/atoms/Tooltip/Tooltip.d.ts +1 -1
  31. package/dist/types/components/atoms/Tooltip/index.d.ts +1 -1
  32. package/dist/types/components/atoms/Typography/Text.d.ts +1 -1
  33. package/dist/types/components/atoms/Typography/index.d.ts +1 -1
  34. package/dist/types/components/atoms/index.d.ts +10 -10
  35. package/dist/types/components/common/ConfigProvider/ConfigProvider.d.ts +10 -10
  36. package/dist/types/components/common/ConfigProvider/GlobalStyle.d.ts +5 -5
  37. package/dist/types/components/common/ConfigProvider/index.d.ts +1 -1
  38. package/dist/types/components/common/index.d.ts +1 -1
  39. package/dist/types/components/icons/ArrowGrowIcon.d.ts +1 -1
  40. package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -1
  41. package/dist/types/components/icons/BugIcon.d.ts +1 -1
  42. package/dist/types/components/icons/CameraIcon.d.ts +1 -1
  43. package/dist/types/components/icons/CaptureIcon.d.ts +1 -1
  44. package/dist/types/components/icons/CheckSlimIcon.d.ts +1 -1
  45. package/dist/types/components/icons/CloseIcon.d.ts +3 -3
  46. package/dist/types/components/icons/CommentIcon.d.ts +1 -1
  47. package/dist/types/components/icons/EventIcon.d.ts +3 -3
  48. package/dist/types/components/icons/FreeDrawIcon.d.ts +1 -1
  49. package/dist/types/components/icons/GPTIcon.d.ts +1 -1
  50. package/dist/types/components/icons/GPTIconV2.d.ts +1 -1
  51. package/dist/types/components/icons/HighlightIcon.d.ts +1 -1
  52. package/dist/types/components/icons/IdeaIcon.d.ts +1 -1
  53. package/dist/types/components/icons/InvisibleIcon.d.ts +1 -1
  54. package/dist/types/components/icons/MuteIcon.d.ts +1 -1
  55. package/dist/types/components/icons/PauseIcon.d.ts +1 -1
  56. package/dist/types/components/icons/PlaneIcon.d.ts +1 -1
  57. package/dist/types/components/icons/StopRecordIcon.d.ts +1 -1
  58. package/dist/types/components/icons/UserIcon.d.ts +1 -1
  59. package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -1
  60. package/dist/types/components/icons/WarningIcon.d.ts +1 -1
  61. package/dist/types/components/icons/index.d.ts +20 -20
  62. package/dist/types/components/index.d.ts +4 -4
  63. package/dist/types/components/molecules/Alert/Alert.d.ts +1 -1
  64. package/dist/types/components/molecules/Alert/index.d.ts +1 -1
  65. package/dist/types/components/molecules/CaptureScreen/CaptureScreen.d.ts +11 -11
  66. package/dist/types/components/molecules/CaptureScreen/CaptureScreen.stories.d.ts +21 -21
  67. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/CommentBox.d.ts +16 -16
  68. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/index.d.ts +1 -1
  69. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/styled.d.ts +12 -12
  70. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +15 -15
  71. package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +3 -3
  72. package/dist/types/components/molecules/CaptureScreen/components/Cursor/index.d.ts +1 -1
  73. package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +5 -5
  74. package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +9 -9
  75. package/dist/types/components/molecules/CaptureScreen/constants.d.ts +32 -32
  76. package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +5 -5
  77. package/dist/types/components/molecules/CaptureScreen/index.d.ts +1 -1
  78. package/dist/types/components/molecules/CaptureScreen/styled.d.ts +22 -22
  79. package/dist/types/components/molecules/CaptureScreen/themes/black.d.ts +54 -54
  80. package/dist/types/components/molecules/CaptureScreen/themes/white.d.ts +54 -54
  81. package/dist/types/components/molecules/CaptureScreen/types.d.ts +101 -101
  82. package/dist/types/components/molecules/CaptureScreen/utils.d.ts +13 -13
  83. package/dist/types/components/molecules/Cascader/Cascader.d.ts +1 -1
  84. package/dist/types/components/molecules/Cascader/index.d.ts +1 -1
  85. package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +4 -4
  86. package/dist/types/components/molecules/ChatBox/ask.d.ts +3 -3
  87. package/dist/types/components/molecules/ChatBox/constants.d.ts +6 -6
  88. package/dist/types/components/molecules/ChatBox/index.d.ts +1 -1
  89. package/dist/types/components/molecules/ChatBox/styled.d.ts +10 -10
  90. package/dist/types/components/molecules/ChatBox/types.d.ts +26 -26
  91. package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +8 -8
  92. package/dist/types/components/molecules/DatePicker/DatePicker.stories.d.ts +4 -4
  93. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.d.ts +28 -28
  94. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.stories.d.ts +5 -5
  95. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/constants.d.ts +53 -53
  96. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/index.d.ts +3 -3
  97. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/styled.d.ts +7 -7
  98. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/types.d.ts +14 -14
  99. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/utils.d.ts +15 -15
  100. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.d.ts +15 -15
  101. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.stories.d.ts +9 -9
  102. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/constants.d.ts +4 -4
  103. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/index.d.ts +2 -2
  104. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/types.d.ts +17 -17
  105. package/dist/types/components/molecules/DatePicker/index.d.ts +3 -3
  106. package/dist/types/components/molecules/Dropdown/Dropdown.d.ts +1 -1
  107. package/dist/types/components/molecules/Dropdown/index.d.ts +1 -1
  108. package/dist/types/components/molecules/Modal/Modal.d.ts +1 -1
  109. package/dist/types/components/molecules/Modal/index.d.ts +1 -1
  110. package/dist/types/components/molecules/PopupDraggable/PopupDraggable.d.ts +6 -6
  111. package/dist/types/components/molecules/PopupDraggable/index.d.ts +1 -1
  112. package/dist/types/components/molecules/PopupDraggable/styled.d.ts +4 -4
  113. package/dist/types/components/molecules/PopupDraggable/types.d.ts +12 -12
  114. package/dist/types/components/molecules/Select/Select.d.ts +15 -15
  115. package/dist/types/components/molecules/Select/Select.stories.d.ts +28 -28
  116. package/dist/types/components/molecules/Select/Test.d.ts +3 -3
  117. package/dist/types/components/molecules/Select/index.d.ts +2 -2
  118. package/dist/types/components/molecules/Select/styled.d.ts +4 -4
  119. package/dist/types/components/molecules/Tabs/Tabs.d.ts +1 -1
  120. package/dist/types/components/molecules/Tabs/index.d.ts +1 -1
  121. package/dist/types/components/molecules/index.d.ts +11 -11
  122. package/dist/types/components/organism/Help/Help.d.ts +5 -5
  123. package/dist/types/components/organism/Help/constants.d.ts +135 -135
  124. package/dist/types/components/organism/Help/index.d.ts +1 -1
  125. package/dist/types/components/organism/Help/styled.d.ts +76 -76
  126. package/dist/types/components/organism/Help/types.d.ts +65 -65
  127. package/dist/types/components/organism/Help/utils.d.ts +14 -14
  128. package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -18
  129. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -11
  130. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -1
  131. package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +75 -75
  132. package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +1 -1
  133. package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +1 -1
  134. package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +1 -1
  135. package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +1 -1
  136. package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -7
  137. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -12
  138. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -1
  139. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -3
  140. package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -4
  141. package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +2 -2
  142. package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +11 -11
  143. package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +17 -17
  144. package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -4
  145. package/dist/types/components/organism/Table/Table.d.ts +1 -1
  146. package/dist/types/components/organism/Table/index.d.ts +2 -2
  147. package/dist/types/components/organism/index.d.ts +2 -2
  148. package/dist/types/constants/index.d.ts +1 -1
  149. package/dist/types/constants/theme.d.ts +12 -12
  150. package/dist/types/hooks/index.d.ts +2 -2
  151. package/dist/types/hooks/useDebounce.d.ts +3 -3
  152. package/dist/types/index.d.ts +1 -1
  153. package/dist/types/locales/i18n.d.ts +73 -73
  154. package/dist/types/locales/translations.d.ts +37 -37
  155. package/dist/types/locales/types.d.ts +15 -15
  156. package/dist/types/services/Ticket.d.ts +62 -62
  157. package/dist/types/services/constants.d.ts +8 -8
  158. package/dist/types/test.d.ts +3 -3
  159. package/dist/types/types/index.d.ts +6 -6
  160. package/dist/types/utils/color.d.ts +9 -9
  161. package/dist/types/utils/common.d.ts +49 -49
  162. package/dist/types/utils/handleError.d.ts +2 -2
  163. package/dist/types/utils/index.d.ts +3 -3
  164. package/package.json +130 -130
  165. package/dist/types/components/molecules/CustomComponent/CustomComponent.d.ts +0 -2
  166. package/dist/types/components/molecules/CustomComponent/index.d.ts +0 -1
@@ -1,15 +1,15 @@
1
- import React from 'react';
2
- import { TShowCalculationTypeCondition } from '../AdvancedPicker/types';
3
- import { TDateConfig, TOnChangePayload, TTimeRange } from './types';
4
- export interface AdvancedRangePickerProps {
5
- disabled?: boolean;
6
- showCalculationTypeCondition?: TShowCalculationTypeCondition;
7
- startDateConfig?: TDateConfig;
8
- endDateConfig?: TDateConfig;
9
- timeRange: TTimeRange;
10
- errorMessage?: string;
11
- showLabel?: boolean;
12
- showTime?: boolean;
13
- onChange?: ({ timeRange, mode }: TOnChangePayload) => void;
14
- }
15
- export declare const AdvancedRangePicker: React.FC<AdvancedRangePickerProps>;
1
+ import React from 'react';
2
+ import { TShowCalculationTypeCondition } from '../AdvancedPicker/types';
3
+ import { TDateConfig, TOnChangePayload, TTimeRange } from './types';
4
+ export interface AdvancedRangePickerProps {
5
+ disabled?: boolean;
6
+ showCalculationTypeCondition?: TShowCalculationTypeCondition;
7
+ startDateConfig?: TDateConfig;
8
+ endDateConfig?: TDateConfig;
9
+ timeRange: TTimeRange;
10
+ errorMessage?: string;
11
+ showLabel?: boolean;
12
+ showTime?: boolean;
13
+ onChange?: ({ timeRange, mode }: TOnChangePayload) => void;
14
+ }
15
+ export declare const AdvancedRangePicker: React.FC<AdvancedRangePickerProps>;
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- import { ComponentStory, ComponentMeta } from '@storybook/react';
3
- import { AdvancedRangePicker } from './AdvancedRangePicker';
4
- declare const _default: ComponentMeta<React.FC<import("./AdvancedRangePicker").AdvancedRangePickerProps>>;
5
- export default _default;
6
- export declare const Template: ComponentStory<typeof AdvancedRangePicker>;
7
- export declare const Basic: ComponentStory<typeof AdvancedRangePicker>;
8
- export declare const HideTimeLabel: ComponentStory<typeof AdvancedRangePicker>;
9
- export declare const ShowCalculationTypeCondition: ComponentStory<typeof AdvancedRangePicker>;
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ import { AdvancedRangePicker } from './AdvancedRangePicker';
4
+ declare const _default: ComponentMeta<React.FC<import("./AdvancedRangePicker").AdvancedRangePickerProps>>;
5
+ export default _default;
6
+ export declare const Template: ComponentStory<typeof AdvancedRangePicker>;
7
+ export declare const Basic: ComponentStory<typeof AdvancedRangePicker>;
8
+ export declare const HideTimeLabel: ComponentStory<typeof AdvancedRangePicker>;
9
+ export declare const ShowCalculationTypeCondition: ComponentStory<typeof AdvancedRangePicker>;
@@ -1,4 +1,4 @@
1
- export declare const ADVANCED_RANGE_PICKER_FORMAT: {
2
- startDate: string;
3
- endDate: string;
4
- };
1
+ export declare const ADVANCED_RANGE_PICKER_FORMAT: {
2
+ startDate: string;
3
+ endDate: string;
4
+ };
@@ -1,2 +1,2 @@
1
- export { AdvancedRangePicker } from './AdvancedRangePicker';
2
- export type { TTimeRange as TAdvancedRangePickerTimeRange } from './types';
1
+ export { AdvancedRangePicker } from './AdvancedRangePicker';
2
+ export type { TTimeRange as TAdvancedRangePickerTimeRange } from './types';
@@ -1,17 +1,17 @@
1
- import { TCalculationType, TOption } from '../AdvancedPicker/types';
2
- export type TOnChangeMode = 'system' | 'user';
3
- export type TTimeRange = {
4
- startDate: TOption & {
5
- date: string;
6
- };
7
- endDate: TOption & {
8
- date: string;
9
- };
10
- };
11
- export type TOnChangePayload = {
12
- timeRange: TTimeRange;
13
- mode: 'system' | 'user';
14
- };
15
- export type TDateConfig = {
16
- calculationTypeKeysShow?: TCalculationType[];
17
- };
1
+ import { TCalculationType, TOption } from '../AdvancedPicker/types';
2
+ export type TOnChangeMode = 'system' | 'user';
3
+ export type TTimeRange = {
4
+ startDate: TOption & {
5
+ date: string;
6
+ };
7
+ endDate: TOption & {
8
+ date: string;
9
+ };
10
+ };
11
+ export type TOnChangePayload = {
12
+ timeRange: TTimeRange;
13
+ mode: 'system' | 'user';
14
+ };
15
+ export type TDateConfig = {
16
+ calculationTypeKeysShow?: TCalculationType[];
17
+ };
@@ -1,3 +1,3 @@
1
- export { DatePicker } from './DatePicker';
2
- export type { AdvancedPickerProps, TAdvancedPickerOption } from './components/AdvancedPicker';
3
- export type { TAdvancedRangePickerTimeRange } from './components/AdvancedRangePicker';
1
+ export { DatePicker } from './DatePicker';
2
+ export type { AdvancedPickerProps, TAdvancedPickerOption } from './components/AdvancedPicker';
3
+ export type { TAdvancedRangePickerTimeRange } from './components/AdvancedRangePicker';
@@ -1 +1 @@
1
- export { Dropdown } from 'antd';
1
+ export { Dropdown } from 'antd';
@@ -1 +1 @@
1
- export { Dropdown } from './Dropdown';
1
+ export { Dropdown } from './Dropdown';
@@ -1 +1 @@
1
- export { Modal } from 'antd';
1
+ export { Modal } from 'antd';
@@ -1 +1 @@
1
- export { Modal } from './Modal';
1
+ export { Modal } from './Modal';
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import 'react-resizable/css/styles.css';
3
- import '@antscorp/icons/main.css';
4
- import { IPopupDraggable } from './types';
5
- declare const PopupDraggable: React.FC<IPopupDraggable>;
6
- export { PopupDraggable };
1
+ import React from 'react';
2
+ import 'react-resizable/css/styles.css';
3
+ import '@antscorp/icons/main.css';
4
+ import { IPopupDraggable } from './types';
5
+ declare const PopupDraggable: React.FC<IPopupDraggable>;
6
+ export { PopupDraggable };
@@ -1 +1 @@
1
- export { PopupDraggable } from './PopupDraggable';
1
+ export { PopupDraggable } from './PopupDraggable';
@@ -1,4 +1,4 @@
1
- export declare const PopupContainer: import("styled-components").StyledComponent<"div", any, {
2
- isHiddenResizing?: boolean | undefined;
3
- }, never>;
4
- export declare const WrapperIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const PopupContainer: import("styled-components").StyledComponent<"div", any, {
2
+ isHiddenResizing?: boolean | undefined;
3
+ }, never>;
4
+ export declare const WrapperIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,12 +1,12 @@
1
- import { ReactNode } from 'react';
2
- import { CSSProperties } from 'styled-components';
3
- export interface IPopupDraggable {
4
- id?: string;
5
- name?: string;
6
- bounds: string;
7
- isHiddenClose?: boolean;
8
- isHiddenResizing?: boolean;
9
- callback: Function;
10
- children: ReactNode;
11
- styleContainer?: CSSProperties;
12
- }
1
+ import { ReactNode } from 'react';
2
+ import { CSSProperties } from 'styled-components';
3
+ export interface IPopupDraggable {
4
+ id?: string;
5
+ name?: string;
6
+ bounds: string;
7
+ isHiddenClose?: boolean;
8
+ isHiddenResizing?: boolean;
9
+ callback: Function;
10
+ children: ReactNode;
11
+ styleContainer?: CSSProperties;
12
+ }
@@ -1,15 +1,15 @@
1
- import { SelectProps as AntdSelectProps } from 'antd';
2
- import React from 'react';
3
- export interface SelectProps extends AntdSelectProps {
4
- }
5
- declare const Select: (<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: AntdSelectProps<ValueType, OptionType> & {
6
- children?: React.ReactNode;
7
- } & {
8
- ref?: React.Ref<import("antd").RefSelectProps> | undefined;
9
- }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
10
- SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
11
- Option: import("rc-select/lib/Option").OptionFC;
12
- OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
13
- _InternalPanelDoNotUseOrYouWillBeFired: any;
14
- } & React.FC<SelectProps>;
15
- export { Select };
1
+ import { SelectProps as AntdSelectProps } from 'antd';
2
+ import React from 'react';
3
+ export interface SelectProps extends AntdSelectProps {
4
+ }
5
+ declare const Select: (<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: AntdSelectProps<ValueType, OptionType> & {
6
+ children?: React.ReactNode;
7
+ } & {
8
+ ref?: React.Ref<import("antd").RefSelectProps> | undefined;
9
+ }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
10
+ SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
11
+ Option: import("rc-select/lib/Option").OptionFC;
12
+ OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
13
+ _InternalPanelDoNotUseOrYouWillBeFired: any;
14
+ } & React.FC<SelectProps>;
15
+ export { Select };
@@ -1,28 +1,28 @@
1
- import React from 'react';
2
- import { ComponentStory, ComponentMeta } from '@storybook/react';
3
- import { Select, SelectProps } from './Select';
4
- declare const _default: ComponentMeta<(<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
5
- children?: React.ReactNode;
6
- } & {
7
- ref?: React.Ref<import("rc-select").BaseSelectRef> | undefined;
8
- }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
9
- SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
10
- Option: import("rc-select/lib/Option").OptionFC;
11
- OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
12
- _InternalPanelDoNotUseOrYouWillBeFired: any;
13
- } & React.FC<SelectProps>>;
14
- export default _default;
15
- export declare const Default: ComponentStory<(<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
16
- children?: React.ReactNode;
17
- } & {
18
- ref?: React.Ref<import("rc-select").BaseSelectRef> | undefined;
19
- }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
20
- SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
21
- Option: import("rc-select/lib/Option").OptionFC;
22
- OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
23
- _InternalPanelDoNotUseOrYouWillBeFired: any;
24
- } & React.FC<SelectProps>>;
25
- export declare const BasicUsage: ComponentStory<typeof Select>;
26
- export declare const MultipleSelection: ComponentStory<typeof Select>;
27
- export declare const CustomSelectionRender: ComponentStory<typeof Select>;
28
- export declare const Status: ComponentStory<typeof Select>;
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ import { Select, SelectProps } from './Select';
4
+ declare const _default: ComponentMeta<(<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
5
+ children?: React.ReactNode;
6
+ } & {
7
+ ref?: React.Ref<import("rc-select").BaseSelectRef> | undefined;
8
+ }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
9
+ SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
10
+ Option: import("rc-select/lib/Option").OptionFC;
11
+ OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
12
+ _InternalPanelDoNotUseOrYouWillBeFired: any;
13
+ } & React.FC<SelectProps>>;
14
+ export default _default;
15
+ export declare const Default: ComponentStory<(<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
16
+ children?: React.ReactNode;
17
+ } & {
18
+ ref?: React.Ref<import("rc-select").BaseSelectRef> | undefined;
19
+ }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
20
+ SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
21
+ Option: import("rc-select/lib/Option").OptionFC;
22
+ OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
23
+ _InternalPanelDoNotUseOrYouWillBeFired: any;
24
+ } & React.FC<SelectProps>>;
25
+ export declare const BasicUsage: ComponentStory<typeof Select>;
26
+ export declare const MultipleSelection: ComponentStory<typeof Select>;
27
+ export declare const CustomSelectionRender: ComponentStory<typeof Select>;
28
+ export declare const Status: ComponentStory<typeof Select>;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const SelectTest: () => JSX.Element;
3
- export default SelectTest;
1
+ /// <reference types="react" />
2
+ declare const SelectTest: () => JSX.Element;
3
+ export default SelectTest;
@@ -1,2 +1,2 @@
1
- export { Select } from './Select';
2
- export type { SelectProps } from './Select';
1
+ export { Select } from './Select';
2
+ export type { SelectProps } from './Select';
@@ -1,4 +1,4 @@
1
- export declare const StyledTag: import("styled-components").StyledComponent<import("antd").TagType, any, {}, never>;
2
- export declare const TagCloseBtn: import("styled-components").StyledComponent<"div", any, {
3
- borderColor?: string | undefined;
4
- }, never>;
1
+ export declare const StyledTag: import("styled-components").StyledComponent<import("antd").TagType, any, {}, never>;
2
+ export declare const TagCloseBtn: import("styled-components").StyledComponent<"div", any, {
3
+ borderColor?: string | undefined;
4
+ }, never>;
@@ -1 +1 @@
1
- export { Tabs } from 'antd';
1
+ export { Tabs } from 'antd';
@@ -1 +1 @@
1
- export { Tabs } from './Tabs';
1
+ export { Tabs } from './Tabs';
@@ -1,11 +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 { 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';
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';
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { IHelpProps } from './types';
3
- import '@antscorp/icons/main.css';
4
- declare const Help: React.FC<IHelpProps>;
5
- export { Help };
1
+ import React from 'react';
2
+ import { IHelpProps } from './types';
3
+ import '@antscorp/icons/main.css';
4
+ declare const Help: React.FC<IHelpProps>;
5
+ export { Help };
@@ -1,135 +1,135 @@
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
- children: ({
42
- title: string;
43
- key: string;
44
- children: ({
45
- title: string;
46
- key: string;
47
- path: string;
48
- children?: undefined;
49
- } | {
50
- title: string;
51
- key: string;
52
- children: ({
53
- title: string;
54
- key: string;
55
- path: string;
56
- children?: undefined;
57
- } | {
58
- title: string;
59
- key: string;
60
- children: {
61
- title: string;
62
- key: string;
63
- path: string;
64
- }[];
65
- path?: undefined;
66
- })[];
67
- path?: undefined;
68
- })[];
69
- path?: undefined;
70
- } | {
71
- title: string;
72
- key: string;
73
- path: string;
74
- children?: undefined;
75
- })[];
76
- } | {
77
- title: string;
78
- key: string;
79
- children: ({
80
- title: string;
81
- key: string;
82
- children?: undefined;
83
- } | {
84
- title: string;
85
- key: string;
86
- children: ({
87
- title: string;
88
- key: string;
89
- path: string;
90
- children?: undefined;
91
- } | {
92
- title: string;
93
- key: string;
94
- children: ({
95
- title: string;
96
- key: string;
97
- path: string;
98
- children?: undefined;
99
- } | {
100
- title: string;
101
- key: string;
102
- children: {
103
- title: string;
104
- key: string;
105
- path: string;
106
- }[];
107
- path?: undefined;
108
- })[];
109
- path?: undefined;
110
- })[];
111
- })[];
112
- } | {
113
- title: string;
114
- key: string;
115
- children: ({
116
- title: string;
117
- key: string;
118
- path: string;
119
- children?: undefined;
120
- } | {
121
- title: string;
122
- key: string;
123
- children: {
124
- title: string;
125
- key: string;
126
- path: string;
127
- }[];
128
- path?: undefined;
129
- } | {
130
- title: string;
131
- key: string;
132
- path?: undefined;
133
- children?: undefined;
134
- })[];
135
- })[];
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
+ children: ({
42
+ title: string;
43
+ key: string;
44
+ children: ({
45
+ title: string;
46
+ key: string;
47
+ path: string;
48
+ children?: undefined;
49
+ } | {
50
+ title: string;
51
+ key: string;
52
+ children: ({
53
+ title: string;
54
+ key: string;
55
+ path: string;
56
+ children?: undefined;
57
+ } | {
58
+ title: string;
59
+ key: string;
60
+ children: {
61
+ title: string;
62
+ key: string;
63
+ path: string;
64
+ }[];
65
+ path?: undefined;
66
+ })[];
67
+ path?: undefined;
68
+ })[];
69
+ path?: undefined;
70
+ } | {
71
+ title: string;
72
+ key: string;
73
+ path: string;
74
+ children?: undefined;
75
+ })[];
76
+ } | {
77
+ title: string;
78
+ key: string;
79
+ children: ({
80
+ title: string;
81
+ key: string;
82
+ children?: undefined;
83
+ } | {
84
+ title: string;
85
+ key: string;
86
+ children: ({
87
+ title: string;
88
+ key: string;
89
+ path: string;
90
+ children?: undefined;
91
+ } | {
92
+ title: string;
93
+ key: string;
94
+ children: ({
95
+ title: string;
96
+ key: string;
97
+ path: string;
98
+ children?: undefined;
99
+ } | {
100
+ title: string;
101
+ key: string;
102
+ children: {
103
+ title: string;
104
+ key: string;
105
+ path: string;
106
+ }[];
107
+ path?: undefined;
108
+ })[];
109
+ path?: undefined;
110
+ })[];
111
+ })[];
112
+ } | {
113
+ title: string;
114
+ key: string;
115
+ children: ({
116
+ title: string;
117
+ key: string;
118
+ path: string;
119
+ children?: undefined;
120
+ } | {
121
+ title: string;
122
+ key: string;
123
+ children: {
124
+ title: string;
125
+ key: string;
126
+ path: string;
127
+ }[];
128
+ path?: undefined;
129
+ } | {
130
+ title: string;
131
+ key: string;
132
+ path?: undefined;
133
+ children?: undefined;
134
+ })[];
135
+ })[];
@@ -1 +1 @@
1
- export { Help } from './Help';
1
+ export { Help } from './Help';