@antscorp/antsomi-ui 1.2.3-beta.25 → 1.2.3-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +78 -78
- package/dist/index.js +1 -1
- package/dist/package.json +43 -0
- package/dist/types/components/atoms/Button/Button.d.ts +1 -1
- package/dist/types/components/atoms/Button/Button.stories.d.ts +32 -32
- package/dist/types/components/atoms/Button/__tests__/Button.test.d.ts +1 -1
- package/dist/types/components/atoms/Button/index.d.ts +10 -10
- package/dist/types/components/atoms/Button/test.d.ts +3 -3
- package/dist/types/components/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +16 -16
- package/dist/types/components/atoms/Checkbox/__tests__/Checkbox.test.d.ts +1 -1
- package/dist/types/components/atoms/Checkbox/index.d.ts +1 -1
- package/dist/types/components/atoms/Divider/Divider.d.ts +1 -1
- package/dist/types/components/atoms/Divider/Divider.stories.d.ts +8 -8
- package/dist/types/components/atoms/Divider/__tests__/Divider.test.d.ts +1 -1
- package/dist/types/components/atoms/Divider/index.d.ts +1 -1
- package/dist/types/components/atoms/Input/Input.d.ts +7 -7
- package/dist/types/components/atoms/Input/Input.stories.d.ts +22 -22
- package/dist/types/components/atoms/Input/__tests__/Input.test.d.ts +1 -1
- package/dist/types/components/atoms/Input/index.d.ts +1 -1
- package/dist/types/components/atoms/InputNumber/InputNumber.d.ts +6 -6
- package/dist/types/components/atoms/InputNumber/InputNumber.stories.d.ts +16 -16
- package/dist/types/components/atoms/InputNumber/__tests__/InputNumber.test.d.ts +1 -1
- package/dist/types/components/atoms/InputNumber/index.d.ts +1 -1
- package/dist/types/components/atoms/Radio/Radio.d.ts +1 -1
- package/dist/types/components/atoms/Radio/Radio.stories.d.ts +17 -17
- package/dist/types/components/atoms/Radio/__tests__/Radio.test.d.ts +1 -1
- package/dist/types/components/atoms/Radio/index.d.ts +1 -1
- package/dist/types/components/atoms/Space/Space.d.ts +1 -1
- package/dist/types/components/atoms/Space/Space.stories.d.ts +16 -16
- package/dist/types/components/atoms/Space/index.d.ts +1 -1
- package/dist/types/components/atoms/Tag/Tag.d.ts +1 -1
- package/dist/types/components/atoms/Tag/Tag.stories.d.ts +12 -12
- package/dist/types/components/atoms/Tag/index.d.ts +1 -1
- package/dist/types/components/atoms/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -14
- package/dist/types/components/atoms/Tooltip/index.d.ts +1 -1
- package/dist/types/components/atoms/Typography/Text.d.ts +1 -1
- package/dist/types/components/atoms/Typography/Typography.stories.d.ts +11 -11
- package/dist/types/components/atoms/Typography/index.d.ts +1 -1
- package/dist/types/components/atoms/index.d.ts +10 -10
- package/dist/types/components/common/ConfigProvider/ConfigProvider.d.ts +10 -10
- package/dist/types/components/common/ConfigProvider/GlobalStyle.d.ts +5 -5
- package/dist/types/components/common/ConfigProvider/index.d.ts +1 -1
- package/dist/types/components/common/index.d.ts +1 -1
- package/dist/types/components/icons/ArrowGrowIcon.d.ts +1 -1
- package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -1
- package/dist/types/components/icons/BugIcon.d.ts +1 -1
- package/dist/types/components/icons/CameraIcon.d.ts +1 -1
- package/dist/types/components/icons/CaptureIcon.d.ts +1 -1
- package/dist/types/components/icons/CheckSlimIcon.d.ts +1 -1
- package/dist/types/components/icons/CloseIcon.d.ts +3 -3
- package/dist/types/components/icons/CommentIcon.d.ts +1 -1
- package/dist/types/components/icons/EventIcon.d.ts +3 -3
- package/dist/types/components/icons/FreeDrawIcon.d.ts +1 -1
- package/dist/types/components/icons/GPTIcon.d.ts +1 -1
- package/dist/types/components/icons/GPTIconV2.d.ts +1 -1
- package/dist/types/components/icons/GPTIconV3.d.ts +1 -1
- package/dist/types/components/icons/HighlightIcon.d.ts +1 -1
- package/dist/types/components/icons/IdeaIcon.d.ts +1 -1
- package/dist/types/components/icons/InvisibleIcon.d.ts +1 -1
- package/dist/types/components/icons/MuteIcon.d.ts +1 -1
- package/dist/types/components/icons/OpenUrlIcon.d.ts +1 -1
- package/dist/types/components/icons/PauseIcon.d.ts +1 -1
- package/dist/types/components/icons/PlaneIcon.d.ts +1 -1
- package/dist/types/components/icons/RequestIcon.d.ts +1 -1
- package/dist/types/components/icons/StopRecordIcon.d.ts +1 -1
- package/dist/types/components/icons/UserIcon.d.ts +1 -1
- package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -1
- package/dist/types/components/icons/WarningIcon.d.ts +1 -1
- package/dist/types/components/icons/index.d.ts +25 -25
- package/dist/types/components/index.d.ts +4 -4
- package/dist/types/components/molecules/Alert/Alert.d.ts +1 -1
- package/dist/types/components/molecules/Alert/Alert.stories.d.ts +21 -21
- package/dist/types/components/molecules/Alert/index.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/CaptureScreen.d.ts +15 -15
- package/dist/types/components/molecules/CaptureScreen/CaptureScreen.stories.d.ts +29 -29
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/CommentBox.d.ts +16 -16
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/index.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/styled.d.ts +12 -12
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +15 -15
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +3 -3
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/index.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +7 -7
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +10 -10
- package/dist/types/components/molecules/CaptureScreen/constants.d.ts +41 -41
- package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +5 -5
- package/dist/types/components/molecules/CaptureScreen/index.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/styled.d.ts +26 -26
- package/dist/types/components/molecules/CaptureScreen/themes/black.d.ts +54 -54
- package/dist/types/components/molecules/CaptureScreen/themes/white.d.ts +54 -54
- package/dist/types/components/molecules/CaptureScreen/types.d.ts +108 -108
- package/dist/types/components/molecules/CaptureScreen/utils.d.ts +13 -13
- package/dist/types/components/molecules/Cascader/Cascader.d.ts +1 -1
- package/dist/types/components/molecules/Cascader/Cascader.stories.d.ts +37 -37
- package/dist/types/components/molecules/Cascader/index.d.ts +1 -1
- package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +3 -3
- package/dist/types/components/molecules/ChatBox/MessageItem.d.ts +5 -5
- package/dist/types/components/molecules/ChatBox/constants.d.ts +6 -6
- package/dist/types/components/molecules/ChatBox/index.d.ts +1 -1
- package/dist/types/components/molecules/ChatBox/styled.d.ts +10 -10
- package/dist/types/components/molecules/ChatBox/types.d.ts +32 -32
- package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +8 -8
- package/dist/types/components/molecules/DatePicker/DatePicker.stories.d.ts +4 -4
- package/dist/types/components/molecules/DatePicker/__tests__/DatePicker.test.d.ts +1 -1
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.d.ts +28 -28
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.stories.d.ts +5 -5
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/constants.d.ts +53 -53
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/index.d.ts +3 -3
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/styled.d.ts +7 -7
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/types.d.ts +14 -14
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/utils.d.ts +15 -15
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.d.ts +15 -15
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.stories.d.ts +9 -9
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/constants.d.ts +4 -4
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/index.d.ts +2 -2
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/types.d.ts +17 -17
- package/dist/types/components/molecules/DatePicker/index.d.ts +3 -3
- package/dist/types/components/molecules/Dropdown/Dropdown.d.ts +1 -1
- package/dist/types/components/molecules/Dropdown/Dropdown.stories.d.ts +23 -23
- package/dist/types/components/molecules/Dropdown/index.d.ts +1 -1
- package/dist/types/components/molecules/Modal/Modal.d.ts +1 -1
- package/dist/types/components/molecules/Modal/Modal.stories.d.ts +28 -28
- package/dist/types/components/molecules/Modal/index.d.ts +1 -1
- package/dist/types/components/molecules/PopupDraggable/PopupDraggable.d.ts +6 -6
- package/dist/types/components/molecules/PopupDraggable/index.d.ts +1 -1
- package/dist/types/components/molecules/PopupDraggable/styled.d.ts +5 -5
- package/dist/types/components/molecules/PopupDraggable/types.d.ts +15 -15
- package/dist/types/components/molecules/Select/Select.d.ts +15 -15
- package/dist/types/components/molecules/Select/Select.stories.d.ts +28 -28
- package/dist/types/components/molecules/Select/Test.d.ts +3 -3
- package/dist/types/components/molecules/Select/index.d.ts +2 -2
- package/dist/types/components/molecules/Select/styled.d.ts +4 -4
- package/dist/types/components/molecules/Tabs/Tabs.d.ts +1 -1
- package/dist/types/components/molecules/Tabs/index.d.ts +1 -1
- package/dist/types/components/molecules/index.d.ts +11 -11
- package/dist/types/components/organism/Help/Help.d.ts +5 -5
- package/dist/types/components/organism/Help/constants.d.ts +140 -140
- package/dist/types/components/organism/Help/index.d.ts +1 -1
- package/dist/types/components/organism/Help/styled.d.ts +81 -81
- package/dist/types/components/organism/Help/types.d.ts +67 -67
- package/dist/types/components/organism/Help/utils.d.ts +15 -15
- package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -18
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -11
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -1
- package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +75 -75
- package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +1 -1
- package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +1 -1
- package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +1 -1
- package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +1 -1
- package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -11
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -12
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -1
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -3
- package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -4
- package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +2 -2
- package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +11 -11
- package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +17 -17
- package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -4
- package/dist/types/components/organism/Table/Table.d.ts +1 -1
- package/dist/types/components/organism/Table/Table.stories.d.ts +39 -39
- package/dist/types/components/organism/Table/index.d.ts +2 -2
- package/dist/types/components/organism/index.d.ts +2 -2
- package/dist/types/constants/index.d.ts +2 -2
- package/dist/types/constants/storybook.d.ts +11 -11
- package/dist/types/constants/theme.d.ts +12 -12
- package/dist/types/hooks/index.d.ts +2 -2
- package/dist/types/hooks/useDebounce.d.ts +3 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/locales/i18n.d.ts +73 -73
- package/dist/types/locales/translations.d.ts +37 -37
- package/dist/types/locales/types.d.ts +15 -15
- package/dist/types/services/Ticket.d.ts +67 -67
- package/dist/types/services/constants.d.ts +20 -20
- package/dist/types/stories/components/TableApiTypeTag/index.d.ts +6 -6
- package/dist/types/stories/components/index.d.ts +1 -1
- package/dist/types/test.d.ts +3 -3
- package/dist/types/types/index.d.ts +6 -6
- package/dist/types/utils/color.d.ts +9 -9
- package/dist/types/utils/common.d.ts +46 -46
- package/dist/types/utils/handleError.d.ts +2 -2
- package/dist/types/utils/index.d.ts +3 -3
- package/package.json +135 -135
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
export declare const PopupContainer: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
-
isHiddenResizing?: boolean | undefined;
|
|
3
|
-
isShowResizeHover?: boolean | undefined;
|
|
4
|
-
}, never>;
|
|
5
|
-
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
|
+
isShowResizeHover?: boolean | undefined;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const WrapperIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ControlPosition } from 'react-draggable';
|
|
3
|
-
import { CSSProperties } from 'styled-components';
|
|
4
|
-
export interface IPopupDraggable {
|
|
5
|
-
id?: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
bounds?: string;
|
|
8
|
-
defaultPosition?: ControlPosition;
|
|
9
|
-
isHiddenClose?: boolean;
|
|
10
|
-
isHiddenResizing?: boolean;
|
|
11
|
-
isShowResizeHover?: boolean;
|
|
12
|
-
callback: Function;
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
styleContainer?: CSSProperties;
|
|
15
|
-
}
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ControlPosition } from 'react-draggable';
|
|
3
|
+
import { CSSProperties } from 'styled-components';
|
|
4
|
+
export interface IPopupDraggable {
|
|
5
|
+
id?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
bounds?: string;
|
|
8
|
+
defaultPosition?: ControlPosition;
|
|
9
|
+
isHiddenClose?: boolean;
|
|
10
|
+
isHiddenResizing?: boolean;
|
|
11
|
+
isShowResizeHover?: boolean;
|
|
12
|
+
callback: Function;
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
styleContainer?: CSSProperties;
|
|
15
|
+
}
|
|
@@ -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,140 +1,140 @@
|
|
|
1
|
-
import { ITabShareScreenProps } from './types';
|
|
2
|
-
import { ControlPositionProps } from 'src/components/molecules/CaptureScreen/types';
|
|
3
|
-
export declare const TICKET_CUSTOM_MESSAGE_KEY = "TICKET_CUSTOM_MESSAGE_KEY";
|
|
4
|
-
export declare const PORTALS_ANTSOMI_PACKAGE_UI_KEY = "PORTALS_ANTSOMI_PACKAGE_UI_KEY";
|
|
5
|
-
export declare const PORTALS_ANTSOMI_PACKAGE_UI_KEY_POPUP = "PORTALS_ANTSOMI_PACKAGE_UI_KEY_POPUP";
|
|
6
|
-
export declare const MESSAGE_TYPE: {
|
|
7
|
-
TICKET_CREATE_STATUS: string;
|
|
8
|
-
};
|
|
9
|
-
export declare enum MENU_KEYS {
|
|
10
|
-
FEATURE_ANNOUNCEMENT = "feature_announcement",
|
|
11
|
-
FEEDBACK = "feedback",
|
|
12
|
-
HELP = "help",
|
|
13
|
-
IDEA = "idea",
|
|
14
|
-
SUPPORT = "support",
|
|
15
|
-
CHAT = "chat"
|
|
16
|
-
}
|
|
17
|
-
export declare enum ATTACH_KEYS {
|
|
18
|
-
CAPTURE = "capture",
|
|
19
|
-
RECORD = "record"
|
|
20
|
-
}
|
|
21
|
-
export declare enum REPORT_TYPES {
|
|
22
|
-
FEEDBACK = "feedback",
|
|
23
|
-
ISSUE = "issue",
|
|
24
|
-
IDEA = "idea",
|
|
25
|
-
HELP = "help",
|
|
26
|
-
CHAT = "chat",
|
|
27
|
-
HELP_V1 = "help_v1"
|
|
28
|
-
}
|
|
29
|
-
export declare const ATTACH_CAPTURE_TYPES: {
|
|
30
|
-
key: ATTACH_KEYS;
|
|
31
|
-
label: string;
|
|
32
|
-
icon: string;
|
|
33
|
-
actions: {
|
|
34
|
-
key: string;
|
|
35
|
-
icon: string;
|
|
36
|
-
}[];
|
|
37
|
-
}[];
|
|
38
|
-
export declare const DEFAULT_POSITIONS: ControlPositionProps;
|
|
39
|
-
export declare const TABS_SHARING_SCREEN: ITabShareScreenProps[];
|
|
40
|
-
export declare const HELP_APP: ({
|
|
41
|
-
title: string;
|
|
42
|
-
key: string;
|
|
43
|
-
appCode: string;
|
|
44
|
-
children: ({
|
|
45
|
-
title: string;
|
|
46
|
-
key: string;
|
|
47
|
-
children: ({
|
|
48
|
-
title: string;
|
|
49
|
-
key: string;
|
|
50
|
-
path: string;
|
|
51
|
-
children?: undefined;
|
|
52
|
-
} | {
|
|
53
|
-
title: string;
|
|
54
|
-
key: string;
|
|
55
|
-
children: ({
|
|
56
|
-
title: string;
|
|
57
|
-
key: string;
|
|
58
|
-
path: string;
|
|
59
|
-
children?: undefined;
|
|
60
|
-
} | {
|
|
61
|
-
title: string;
|
|
62
|
-
key: string;
|
|
63
|
-
children: {
|
|
64
|
-
title: string;
|
|
65
|
-
key: string;
|
|
66
|
-
path: string;
|
|
67
|
-
}[];
|
|
68
|
-
path?: undefined;
|
|
69
|
-
})[];
|
|
70
|
-
path?: undefined;
|
|
71
|
-
})[];
|
|
72
|
-
path?: undefined;
|
|
73
|
-
} | {
|
|
74
|
-
title: string;
|
|
75
|
-
key: string;
|
|
76
|
-
path: string;
|
|
77
|
-
children?: undefined;
|
|
78
|
-
})[];
|
|
79
|
-
} | {
|
|
80
|
-
title: string;
|
|
81
|
-
key: string;
|
|
82
|
-
appCode: string;
|
|
83
|
-
children: ({
|
|
84
|
-
title: string;
|
|
85
|
-
key: string;
|
|
86
|
-
children?: undefined;
|
|
87
|
-
} | {
|
|
88
|
-
title: string;
|
|
89
|
-
key: string;
|
|
90
|
-
children: ({
|
|
91
|
-
title: string;
|
|
92
|
-
key: string;
|
|
93
|
-
path: string;
|
|
94
|
-
children?: undefined;
|
|
95
|
-
} | {
|
|
96
|
-
title: string;
|
|
97
|
-
key: string;
|
|
98
|
-
children: ({
|
|
99
|
-
title: string;
|
|
100
|
-
key: string;
|
|
101
|
-
path: string;
|
|
102
|
-
children?: undefined;
|
|
103
|
-
} | {
|
|
104
|
-
title: string;
|
|
105
|
-
key: string;
|
|
106
|
-
children: {
|
|
107
|
-
title: string;
|
|
108
|
-
key: string;
|
|
109
|
-
path: string;
|
|
110
|
-
}[];
|
|
111
|
-
path?: undefined;
|
|
112
|
-
})[];
|
|
113
|
-
path?: undefined;
|
|
114
|
-
})[];
|
|
115
|
-
})[];
|
|
116
|
-
} | {
|
|
117
|
-
title: string;
|
|
118
|
-
appCode: string;
|
|
119
|
-
key: string;
|
|
120
|
-
children: ({
|
|
121
|
-
title: string;
|
|
122
|
-
key: string;
|
|
123
|
-
path: string;
|
|
124
|
-
children?: undefined;
|
|
125
|
-
} | {
|
|
126
|
-
title: string;
|
|
127
|
-
key: string;
|
|
128
|
-
children: {
|
|
129
|
-
title: string;
|
|
130
|
-
key: string;
|
|
131
|
-
path: string;
|
|
132
|
-
}[];
|
|
133
|
-
path?: undefined;
|
|
134
|
-
} | {
|
|
135
|
-
title: string;
|
|
136
|
-
key: string;
|
|
137
|
-
path?: undefined;
|
|
138
|
-
children?: undefined;
|
|
139
|
-
})[];
|
|
140
|
-
})[];
|
|
1
|
+
import { ITabShareScreenProps } from './types';
|
|
2
|
+
import { ControlPositionProps } from 'src/components/molecules/CaptureScreen/types';
|
|
3
|
+
export declare const TICKET_CUSTOM_MESSAGE_KEY = "TICKET_CUSTOM_MESSAGE_KEY";
|
|
4
|
+
export declare const PORTALS_ANTSOMI_PACKAGE_UI_KEY = "PORTALS_ANTSOMI_PACKAGE_UI_KEY";
|
|
5
|
+
export declare const PORTALS_ANTSOMI_PACKAGE_UI_KEY_POPUP = "PORTALS_ANTSOMI_PACKAGE_UI_KEY_POPUP";
|
|
6
|
+
export declare const MESSAGE_TYPE: {
|
|
7
|
+
TICKET_CREATE_STATUS: string;
|
|
8
|
+
};
|
|
9
|
+
export declare enum MENU_KEYS {
|
|
10
|
+
FEATURE_ANNOUNCEMENT = "feature_announcement",
|
|
11
|
+
FEEDBACK = "feedback",
|
|
12
|
+
HELP = "help",
|
|
13
|
+
IDEA = "idea",
|
|
14
|
+
SUPPORT = "support",
|
|
15
|
+
CHAT = "chat"
|
|
16
|
+
}
|
|
17
|
+
export declare enum ATTACH_KEYS {
|
|
18
|
+
CAPTURE = "capture",
|
|
19
|
+
RECORD = "record"
|
|
20
|
+
}
|
|
21
|
+
export declare enum REPORT_TYPES {
|
|
22
|
+
FEEDBACK = "feedback",
|
|
23
|
+
ISSUE = "issue",
|
|
24
|
+
IDEA = "idea",
|
|
25
|
+
HELP = "help",
|
|
26
|
+
CHAT = "chat",
|
|
27
|
+
HELP_V1 = "help_v1"
|
|
28
|
+
}
|
|
29
|
+
export declare const ATTACH_CAPTURE_TYPES: {
|
|
30
|
+
key: ATTACH_KEYS;
|
|
31
|
+
label: string;
|
|
32
|
+
icon: string;
|
|
33
|
+
actions: {
|
|
34
|
+
key: string;
|
|
35
|
+
icon: string;
|
|
36
|
+
}[];
|
|
37
|
+
}[];
|
|
38
|
+
export declare const DEFAULT_POSITIONS: ControlPositionProps;
|
|
39
|
+
export declare const TABS_SHARING_SCREEN: ITabShareScreenProps[];
|
|
40
|
+
export declare const HELP_APP: ({
|
|
41
|
+
title: string;
|
|
42
|
+
key: string;
|
|
43
|
+
appCode: string;
|
|
44
|
+
children: ({
|
|
45
|
+
title: string;
|
|
46
|
+
key: string;
|
|
47
|
+
children: ({
|
|
48
|
+
title: string;
|
|
49
|
+
key: string;
|
|
50
|
+
path: string;
|
|
51
|
+
children?: undefined;
|
|
52
|
+
} | {
|
|
53
|
+
title: string;
|
|
54
|
+
key: string;
|
|
55
|
+
children: ({
|
|
56
|
+
title: string;
|
|
57
|
+
key: string;
|
|
58
|
+
path: string;
|
|
59
|
+
children?: undefined;
|
|
60
|
+
} | {
|
|
61
|
+
title: string;
|
|
62
|
+
key: string;
|
|
63
|
+
children: {
|
|
64
|
+
title: string;
|
|
65
|
+
key: string;
|
|
66
|
+
path: string;
|
|
67
|
+
}[];
|
|
68
|
+
path?: undefined;
|
|
69
|
+
})[];
|
|
70
|
+
path?: undefined;
|
|
71
|
+
})[];
|
|
72
|
+
path?: undefined;
|
|
73
|
+
} | {
|
|
74
|
+
title: string;
|
|
75
|
+
key: string;
|
|
76
|
+
path: string;
|
|
77
|
+
children?: undefined;
|
|
78
|
+
})[];
|
|
79
|
+
} | {
|
|
80
|
+
title: string;
|
|
81
|
+
key: string;
|
|
82
|
+
appCode: string;
|
|
83
|
+
children: ({
|
|
84
|
+
title: string;
|
|
85
|
+
key: string;
|
|
86
|
+
children?: undefined;
|
|
87
|
+
} | {
|
|
88
|
+
title: string;
|
|
89
|
+
key: string;
|
|
90
|
+
children: ({
|
|
91
|
+
title: string;
|
|
92
|
+
key: string;
|
|
93
|
+
path: string;
|
|
94
|
+
children?: undefined;
|
|
95
|
+
} | {
|
|
96
|
+
title: string;
|
|
97
|
+
key: string;
|
|
98
|
+
children: ({
|
|
99
|
+
title: string;
|
|
100
|
+
key: string;
|
|
101
|
+
path: string;
|
|
102
|
+
children?: undefined;
|
|
103
|
+
} | {
|
|
104
|
+
title: string;
|
|
105
|
+
key: string;
|
|
106
|
+
children: {
|
|
107
|
+
title: string;
|
|
108
|
+
key: string;
|
|
109
|
+
path: string;
|
|
110
|
+
}[];
|
|
111
|
+
path?: undefined;
|
|
112
|
+
})[];
|
|
113
|
+
path?: undefined;
|
|
114
|
+
})[];
|
|
115
|
+
})[];
|
|
116
|
+
} | {
|
|
117
|
+
title: string;
|
|
118
|
+
appCode: string;
|
|
119
|
+
key: string;
|
|
120
|
+
children: ({
|
|
121
|
+
title: string;
|
|
122
|
+
key: string;
|
|
123
|
+
path: string;
|
|
124
|
+
children?: undefined;
|
|
125
|
+
} | {
|
|
126
|
+
title: string;
|
|
127
|
+
key: string;
|
|
128
|
+
children: {
|
|
129
|
+
title: string;
|
|
130
|
+
key: string;
|
|
131
|
+
path: string;
|
|
132
|
+
}[];
|
|
133
|
+
path?: undefined;
|
|
134
|
+
} | {
|
|
135
|
+
title: string;
|
|
136
|
+
key: string;
|
|
137
|
+
path?: undefined;
|
|
138
|
+
children?: undefined;
|
|
139
|
+
})[];
|
|
140
|
+
})[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Help } from './Help';
|
|
1
|
+
export { Help } from './Help';
|