@antscorp/antsomi-ui 1.2.3-beta.3 → 1.2.3-beta.30
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/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +15 -28
- package/dist/main.css +1 -1
- package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +1 -0
- package/dist/types/components/atoms/Divider/__tests__/Divider.test.d.ts +1 -0
- package/dist/types/components/atoms/Input/Input.stories.d.ts +3 -0
- package/dist/types/components/atoms/Radio/Radio.stories.d.ts +17 -0
- package/dist/types/components/atoms/Radio/__tests__/Radio.test.d.ts +1 -0
- package/dist/types/components/atoms/Space/Space.stories.d.ts +16 -0
- package/dist/types/components/atoms/Tag/Tag.stories.d.ts +12 -0
- package/dist/types/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -0
- package/dist/types/components/atoms/Typography/Typography.stories.d.ts +11 -0
- package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -0
- package/dist/types/components/icons/CameraIcon.d.ts +1 -0
- package/dist/types/components/icons/CaptureIcon.d.ts +1 -0
- package/dist/types/components/icons/GPTIconV3.d.ts +1 -0
- package/dist/types/components/icons/MuteIcon.d.ts +1 -0
- package/dist/types/components/icons/OpenUrlIcon.d.ts +1 -0
- package/dist/types/components/icons/PauseIcon.d.ts +1 -0
- package/dist/types/components/icons/RequestIcon.d.ts +1 -0
- package/dist/types/components/icons/StopRecordIcon.d.ts +1 -0
- package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -0
- package/dist/types/components/icons/index.d.ts +12 -0
- package/dist/types/components/molecules/Alert/Alert.stories.d.ts +21 -0
- package/dist/types/components/molecules/CaptureScreen/CaptureScreen.d.ts +4 -0
- package/dist/types/components/molecules/CaptureScreen/CaptureScreen.stories.d.ts +8 -0
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +1 -0
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +1 -2
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +4 -3
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +5 -5
- package/dist/types/components/molecules/CaptureScreen/constants.d.ts +12 -2
- package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/styled.d.ts +5 -1
- package/dist/types/components/molecules/CaptureScreen/types.d.ts +7 -0
- package/dist/types/components/molecules/Cascader/Cascader.stories.d.ts +37 -0
- package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +0 -1
- package/dist/types/components/molecules/ChatBox/MessageItem.d.ts +5 -0
- package/dist/types/components/molecules/ChatBox/constants.d.ts +1 -1
- package/dist/types/components/molecules/ChatBox/types.d.ts +6 -0
- package/dist/types/components/molecules/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
- package/dist/types/components/molecules/Dropdown/Dropdown.stories.d.ts +23 -0
- package/dist/types/components/molecules/Modal/Modal.stories.d.ts +28 -0
- package/dist/types/components/molecules/PopupDraggable/styled.d.ts +1 -0
- package/dist/types/components/molecules/PopupDraggable/types.d.ts +4 -1
- package/dist/types/components/organism/Help/constants.d.ts +7 -0
- package/dist/types/components/organism/Help/styled.d.ts +6 -1
- package/dist/types/components/organism/Help/types.d.ts +6 -4
- package/dist/types/components/organism/Help/utils.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -0
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -0
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +75 -0
- package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +1 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +2 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +11 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +17 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -0
- package/dist/types/components/organism/Table/Table.stories.d.ts +39 -0
- package/dist/types/components/organism/Table/index.d.ts +1 -0
- package/dist/types/components/organism/index.d.ts +1 -1
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/constants/storybook.d.ts +11 -0
- package/dist/types/services/Ticket.d.ts +5 -0
- package/dist/types/services/constants.d.ts +12 -0
- package/dist/types/stories/components/TableApiTypeTag/index.d.ts +6 -0
- package/dist/types/stories/components/index.d.ts +1 -0
- package/dist/types/utils/color.d.ts +9 -0
- package/dist/types/utils/common.d.ts +0 -3
- package/dist/types/utils/index.d.ts +3 -0
- package/package.json +6 -1
- package/dist/types/components/molecules/ChatBox/ask.d.ts +0 -3
- /package/dist/types/components/{molecules/ChatBox/utils.d.ts → organism/Table/CrossTabTable/components/CustomCell/index.d.ts} +0 -0
|
@@ -12,39 +12,18 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/*!
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* @author
|
|
18
|
-
* @license
|
|
15
|
+
* Determine if an object is a Buffer
|
|
16
|
+
*
|
|
17
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
18
|
+
* @license MIT
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
/*!
|
|
22
22
|
* TOAST UI ImageEditor
|
|
23
|
-
* @version
|
|
23
|
+
* @version 1.0.1
|
|
24
24
|
* @license MIT
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
|
-
/*!
|
|
28
|
-
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
29
|
-
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
30
|
-
* Released under MIT License
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
/*! *****************************************************************************
|
|
34
|
-
Copyright (c) Microsoft Corporation.
|
|
35
|
-
|
|
36
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
37
|
-
purpose with or without fee is hereby granted.
|
|
38
|
-
|
|
39
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
40
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
41
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
42
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
43
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
44
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
45
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
46
|
-
***************************************************************************** */
|
|
47
|
-
|
|
48
27
|
/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
|
|
49
28
|
|
|
50
29
|
/*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */
|
|
@@ -60,7 +39,8 @@
|
|
|
60
39
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
61
40
|
*/
|
|
62
41
|
|
|
63
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* @license React
|
|
64
44
|
* react-is.production.min.js
|
|
65
45
|
*
|
|
66
46
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -69,4 +49,11 @@
|
|
|
69
49
|
* LICENSE file in the root directory of this source tree.
|
|
70
50
|
*/
|
|
71
51
|
|
|
72
|
-
|
|
52
|
+
/** @license React v16.13.1
|
|
53
|
+
* react-is.production.min.js
|
|
54
|
+
*
|
|
55
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
56
|
+
*
|
|
57
|
+
* This source code is licensed under the MIT license found in the
|
|
58
|
+
* LICENSE file in the root directory of this source tree.
|
|
59
|
+
*/
|
package/dist/main.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#1e1e1e;color:#dcdcdc}.hljs-keyword,.hljs-literal,.hljs-name,.hljs-symbol{color:#569cd6}.hljs-link{color:#569cd6;text-decoration:underline}.hljs-built_in,.hljs-type{color:#4ec9b0}.hljs-class,.hljs-number{color:#b8d7a3}.hljs-meta .hljs-string,.hljs-string{color:#d69d85}.hljs-regexp,.hljs-template-tag{color:#9a5334}.hljs-formula,.hljs-function,.hljs-params,.hljs-subst,.hljs-title{color:#dcdcdc}.hljs-comment,.hljs-quote{color:#57a64a;font-style:italic}.hljs-doctag{color:#608b4e}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-tag{color:#9b9b9b}.hljs-template-variable,.hljs-variable{color:#bd63c5}.hljs-attr,.hljs-attribute{color:#9cdcfe}.hljs-section{color:gold}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-bullet,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-selector-tag{color:#d7ba7d}.hljs-addition{background-color:#144212;display:inline-block;width:100%}.hljs-deletion{background-color:#600;display:inline-block;width:100%}
|
|
2
2
|
.react-resizable {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
@@ -13,3 +13,4 @@ export declare const ControlledCheckbox: ComponentStory<typeof Checkbox>;
|
|
|
13
13
|
export declare const CheckAll: ComponentStory<typeof Checkbox>;
|
|
14
14
|
export declare const Disabled: ComponentStory<typeof Checkbox>;
|
|
15
15
|
export declare const CheckboxGroup: ComponentStory<typeof Checkbox>;
|
|
16
|
+
export declare const CheckboxGroupAPI: ComponentStory<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -17,3 +17,6 @@ export declare const BasicUsage: ComponentStory<any>;
|
|
|
17
17
|
export declare const TextArea: ComponentStory<any>;
|
|
18
18
|
export declare const Status: ComponentStory<any>;
|
|
19
19
|
export declare const BorderLess: ComponentStory<any>;
|
|
20
|
+
export declare const InputTextAreaAPI: ComponentStory<any>;
|
|
21
|
+
export declare const InputPasswordAPI: ComponentStory<any>;
|
|
22
|
+
export declare const VisibilityToggleAPI: ComponentStory<any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("antd").RadioProps & React.RefAttributes<HTMLElement>> & {
|
|
4
|
+
Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>>>;
|
|
5
|
+
Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<any>>;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("antd").RadioProps & React.RefAttributes<HTMLElement>> & {
|
|
9
|
+
Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>>>;
|
|
10
|
+
Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<any>>;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const Basic: ComponentStory<any>;
|
|
13
|
+
export declare const Disabled: ComponentStory<any>;
|
|
14
|
+
export declare const RadioGroup: ComponentStory<any>;
|
|
15
|
+
export declare const RadioGroupOptional: ComponentStory<any>;
|
|
16
|
+
export declare const Size: ComponentStory<any>;
|
|
17
|
+
export declare const RadioGroupAPI: ComponentStory<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: ComponentMeta<React.FC<import("antd").SpaceProps> & {
|
|
4
|
+
Compact: React.FC<import("antd/es/space/Compact").SpaceCompactProps>;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Default: ComponentStory<React.FC<import("antd").SpaceProps> & {
|
|
8
|
+
Compact: React.FC<import("antd/es/space/Compact").SpaceCompactProps>;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const BasicUsage: ComponentStory<any>;
|
|
11
|
+
export declare const Split: ComponentStory<any>;
|
|
12
|
+
export declare const Size: ComponentStory<any>;
|
|
13
|
+
export declare const Align: ComponentStory<any>;
|
|
14
|
+
export declare const VerticalCompactMode: ComponentStory<any>;
|
|
15
|
+
export declare const ButtonCompactMode: ComponentStory<any>;
|
|
16
|
+
export declare const SpaceCompactAPI: ComponentStory<any>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
+
declare const _default: ComponentMeta<import("antd").TagType>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Default: ComponentStory<import("antd").TagType>;
|
|
5
|
+
export declare const Basic: ComponentStory<any>;
|
|
6
|
+
export declare const ColorfulTag: ComponentStory<any>;
|
|
7
|
+
export declare const StatusTag: ComponentStory<any>;
|
|
8
|
+
export declare const Checkable: ComponentStory<any>;
|
|
9
|
+
export declare const Icon: ComponentStory<any>;
|
|
10
|
+
export declare const Borderless: ComponentStory<any>;
|
|
11
|
+
export declare const AddAndRemoveDynamically: ComponentStory<any>;
|
|
12
|
+
export declare const CheckableTagAPI: ComponentStory<any>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("antd").TooltipProps & React.RefAttributes<unknown>> & {
|
|
4
|
+
_InternalPanelDoNotUseOrYouWillBeFired: typeof import("antd/es/tooltip/PurePanel").default;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("antd").TooltipProps & React.RefAttributes<unknown>> & {
|
|
8
|
+
_InternalPanelDoNotUseOrYouWillBeFired: typeof import("antd/es/tooltip/PurePanel").default;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const Basic: ComponentStory<any>;
|
|
11
|
+
export declare const Arrow: ComponentStory<any>;
|
|
12
|
+
export declare const ColorfulTooltip: ComponentStory<any>;
|
|
13
|
+
export declare const Placement: ComponentStory<any>;
|
|
14
|
+
export declare const AutoShift: ComponentStory<any>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
+
declare const _default: ComponentMeta<import("antd").TypographyProps>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Default: ComponentStory<import("antd").TypographyProps>;
|
|
5
|
+
export declare const Basic: ComponentStory<any>;
|
|
6
|
+
export declare const TitleComponent: ComponentStory<any>;
|
|
7
|
+
export declare const TextAndLinkComponent: ComponentStory<any>;
|
|
8
|
+
export declare const Interactive: ComponentStory<any>;
|
|
9
|
+
export declare const CopyableAPI: ComponentStory<any>;
|
|
10
|
+
export declare const EditableAPI: ComponentStory<any>;
|
|
11
|
+
export declare const EllipsisAPI: ComponentStory<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AudioRecordIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CameraIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CaptureIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GPTIconV3: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MuteIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const OpenUrlIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PauseIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RequestIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StopRecordIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VerticalDotsIcon: (props: any) => JSX.Element;
|
|
@@ -2,6 +2,7 @@ export { EventIcon } from './EventIcon';
|
|
|
2
2
|
export { CloseIcon } from './CloseIcon';
|
|
3
3
|
export { GPTIcon } from './GPTIcon';
|
|
4
4
|
export { GPTIconV2 } from './GPTIconV2';
|
|
5
|
+
export { GPTIconV3 } from './GPTIconV3';
|
|
5
6
|
export { PlaneIcon } from './PlaneIcon';
|
|
6
7
|
export { WarningIcon } from './WarningIcon';
|
|
7
8
|
export { UserIcon } from './UserIcon';
|
|
@@ -11,3 +12,14 @@ export { CheckSlimIcon } from './CheckSlimIcon';
|
|
|
11
12
|
export { CommentIcon } from './CommentIcon';
|
|
12
13
|
export { FreeDrawIcon } from './FreeDrawIcon';
|
|
13
14
|
export { InvisibleIcon } from './InvisibleIcon';
|
|
15
|
+
export { AudioRecordIcon } from './AudioRecordIcon';
|
|
16
|
+
export { CameraIcon } from './CameraIcon';
|
|
17
|
+
export { CaptureIcon } from './CaptureIcon';
|
|
18
|
+
export { MuteIcon } from './MuteIcon';
|
|
19
|
+
export { PauseIcon } from './PauseIcon';
|
|
20
|
+
export { StopRecordIcon } from './StopRecordIcon';
|
|
21
|
+
export { VerticalDotsIcon } from './VerticalDotsIcon';
|
|
22
|
+
export { OpenUrlIcon } from './OpenUrlIcon';
|
|
23
|
+
export { BugIcon } from './BugIcon';
|
|
24
|
+
export { IdeaIcon } from './IdeaIcon';
|
|
25
|
+
export { RequestIcon } from './RequestIcon';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: ComponentMeta<React.FC<import("antd").AlertProps> & {
|
|
4
|
+
ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Default: ComponentStory<React.FC<import("antd").AlertProps> & {
|
|
8
|
+
ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const Basic: ComponentStory<any>;
|
|
11
|
+
export declare const Closable: ComponentStory<any>;
|
|
12
|
+
export declare const Icon: ComponentStory<any>;
|
|
13
|
+
export declare const Banner: ComponentStory<any>;
|
|
14
|
+
export declare const SmoothlyUnmount: ComponentStory<any>;
|
|
15
|
+
export declare const CustomAction: ComponentStory<any>;
|
|
16
|
+
export declare const MoreTypes: ComponentStory<any>;
|
|
17
|
+
export declare const Description: ComponentStory<any>;
|
|
18
|
+
export declare const CustomizedCloseText: ComponentStory<any>;
|
|
19
|
+
export declare const LoopBanner: ComponentStory<any>;
|
|
20
|
+
export declare const ErrorBoundary: ComponentStory<any>;
|
|
21
|
+
export declare const ErrorBoundaryAPI: ComponentStory<any>;
|
|
@@ -6,6 +6,10 @@ declare const _default: ComponentMeta<{
|
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
src: string;
|
|
8
8
|
alt: string;
|
|
9
|
+
defaultPositions: {
|
|
10
|
+
capture: null;
|
|
11
|
+
record: null;
|
|
12
|
+
};
|
|
9
13
|
callback: () => void;
|
|
10
14
|
};
|
|
11
15
|
}>;
|
|
@@ -16,6 +20,10 @@ export declare const Default: ComponentStory<{
|
|
|
16
20
|
isOpen: boolean;
|
|
17
21
|
src: string;
|
|
18
22
|
alt: string;
|
|
23
|
+
defaultPositions: {
|
|
24
|
+
capture: null;
|
|
25
|
+
record: null;
|
|
26
|
+
};
|
|
19
27
|
callback: () => void;
|
|
20
28
|
};
|
|
21
29
|
}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
1
|
+
export declare const PlusCursor: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const TooltipDrag: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const DottedCursor: import("styled-components").StyledComponent<"div", any, {
|
|
4
4
|
bgColor?: string | undefined;
|
|
5
|
-
|
|
5
|
+
isPointerBox?: boolean | undefined;
|
|
6
|
+
offset: number;
|
|
6
7
|
}, never>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export interface PositionCursorProps {
|
|
3
|
-
left?: number;
|
|
4
|
-
top?: number;
|
|
5
|
-
}
|
|
6
2
|
export interface CursorProps {
|
|
3
|
+
drawItemType: string;
|
|
4
|
+
isShowCursor: boolean;
|
|
7
5
|
cursorRef?: React.RefObject<HTMLDivElement>;
|
|
8
|
-
position?: PositionCursorProps;
|
|
9
6
|
bgColor?: string;
|
|
7
|
+
isPointerBox?: boolean;
|
|
8
|
+
offset: number;
|
|
9
|
+
children?: any;
|
|
10
10
|
}
|
|
@@ -2,11 +2,20 @@ import { CSSProperties } from 'react';
|
|
|
2
2
|
import { BoxDimensionProps } from './components/CommentBox/types';
|
|
3
3
|
import { DrawItemProps } from './types';
|
|
4
4
|
export declare const OFFSET_CENTER = 20;
|
|
5
|
+
export declare const SIZE_ADJUST = 1;
|
|
5
6
|
export declare enum IGNORE_DRAW_ID_LIST {
|
|
6
7
|
ICON_CLOSE = "antsomi-package-close-draw-icon",
|
|
7
|
-
|
|
8
|
+
BORDER_OVERLAY = "antsomi-package-border-overlay",
|
|
9
|
+
DRAW_ACTIONS = "antsomi-package-draw-action-options",
|
|
10
|
+
CLASS_PREVENT_HOVER = "antsomi-package-ignore-hovering-draw"
|
|
8
11
|
}
|
|
9
12
|
export declare const COMMENT_BOX_DIMENSION_FIXED: BoxDimensionProps;
|
|
13
|
+
export declare const styleDrawItem: {
|
|
14
|
+
MEDIUM: number;
|
|
15
|
+
SMALL: number;
|
|
16
|
+
LARGE: number;
|
|
17
|
+
};
|
|
18
|
+
export declare const styleRecordItem: CSSProperties;
|
|
10
19
|
export declare const styleContainer: CSSProperties;
|
|
11
20
|
export declare enum DRAW_KEYS {
|
|
12
21
|
NULL = "null",
|
|
@@ -15,7 +24,8 @@ export declare enum DRAW_KEYS {
|
|
|
15
24
|
PEN = "pen",
|
|
16
25
|
ARROW = "arrow",
|
|
17
26
|
HIDE = "hide",
|
|
18
|
-
DONE = "done"
|
|
27
|
+
DONE = "done",
|
|
28
|
+
CANCEL = "cancel"
|
|
19
29
|
}
|
|
20
30
|
export declare enum RECORD_KEYS {
|
|
21
31
|
DRAGGABLE = "draggable",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
import { ImageEditorInstanceProps } from '../types';
|
|
3
|
-
export declare const useImageEditor: (
|
|
3
|
+
export declare const useImageEditor: (imageEditorRef: RefObject<HTMLDivElement>, options?: {
|
|
4
4
|
preventCreateInstance: boolean;
|
|
5
5
|
}) => ImageEditorInstanceProps;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ContainerCapture: import("styled-components").StyledComponent<"div", any, {
|
|
3
3
|
isRecord: boolean;
|
|
4
|
+
imageURL?: string | undefined;
|
|
4
5
|
}, never>;
|
|
6
|
+
export declare const BorderOverlay: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
7
|
export declare const FlexColumn: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
8
|
export declare const FlexCenter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
9
|
export declare const WrapperIcon: import("styled-components").StyledComponent<"div", any, {
|
|
8
|
-
isRecord
|
|
10
|
+
isRecord?: boolean | undefined;
|
|
9
11
|
}, never>;
|
|
10
12
|
export declare const DrawerGroups: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
13
|
export declare const WrapperDraggable: import("styled-components").StyledComponent<"strong", any, {}, never>;
|
|
@@ -20,3 +22,5 @@ export declare const BoxColor: import("styled-components").StyledComponent<"div"
|
|
|
20
22
|
bgColor?: string | undefined;
|
|
21
23
|
}, never>;
|
|
22
24
|
export declare const ImageIcon: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
25
|
+
export declare const OutlineRemoveContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
26
|
+
export declare const WrapperRemoveBtn: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -2,15 +2,21 @@ import ImageEditor from 'tui-image-editor';
|
|
|
2
2
|
import { DRAW_KEYS } from './constants';
|
|
3
3
|
import { ATTACH_KEYS } from 'src/components/organism/Help/constants';
|
|
4
4
|
import { StreamTrackProps } from 'src/components/organism/Help/types';
|
|
5
|
+
import { ControlPosition } from 'react-draggable';
|
|
5
6
|
interface RecorderConfigProps {
|
|
6
7
|
isMute: boolean;
|
|
7
8
|
recorder?: MediaRecorder;
|
|
8
9
|
streamTracks?: StreamTrackProps;
|
|
9
10
|
}
|
|
11
|
+
export interface ControlPositionProps {
|
|
12
|
+
[ATTACH_KEYS.CAPTURE]: ControlPosition;
|
|
13
|
+
[ATTACH_KEYS.RECORD]: ControlPosition;
|
|
14
|
+
}
|
|
10
15
|
export interface IImageEditorProps {
|
|
11
16
|
src?: string;
|
|
12
17
|
alt?: string;
|
|
13
18
|
recorderConfigs: RecorderConfigProps;
|
|
19
|
+
defaultPositions?: ControlPositionProps;
|
|
14
20
|
captureType: CaptureTypeProps;
|
|
15
21
|
callback: Function;
|
|
16
22
|
}
|
|
@@ -62,6 +68,7 @@ export interface MethodImageEditorProps {
|
|
|
62
68
|
}
|
|
63
69
|
export interface ImageEditorInstanceProps {
|
|
64
70
|
editorInstance: ImageEditor | null;
|
|
71
|
+
canvasEditor: any;
|
|
65
72
|
methods: MethodImageEditorProps;
|
|
66
73
|
}
|
|
67
74
|
export type ColorListProps = '#0f2eae' | '#212b37' | '#1e6be5' | '#17bb84' | '#f5b108' | '#f71007';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
+
import type { DefaultOptionType } from 'antd/es/cascader';
|
|
4
|
+
declare const _default: ComponentMeta<(<OptionType extends DefaultOptionType | import("rc-cascader/lib/Cascader").BaseOptionType = DefaultOptionType>(props: React.PropsWithChildren<import("antd").CascaderProps<OptionType>> & {
|
|
5
|
+
ref?: React.Ref<import("antd/es/cascader").CascaderRef> | undefined;
|
|
6
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
SHOW_PARENT: "SHOW_PARENT";
|
|
9
|
+
SHOW_CHILD: "SHOW_CHILD";
|
|
10
|
+
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
export declare const Default: ComponentStory<(<OptionType extends DefaultOptionType | import("rc-cascader/lib/Cascader").BaseOptionType = DefaultOptionType>(props: React.PropsWithChildren<import("antd").CascaderProps<OptionType>> & {
|
|
14
|
+
ref?: React.Ref<import("antd/es/cascader").CascaderRef> | undefined;
|
|
15
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
|
16
|
+
displayName: string;
|
|
17
|
+
SHOW_PARENT: "SHOW_PARENT";
|
|
18
|
+
SHOW_CHILD: "SHOW_CHILD";
|
|
19
|
+
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const Basic: ComponentStory<any>;
|
|
22
|
+
export declare const CustomTrigger: ComponentStory<any>;
|
|
23
|
+
export declare const DisabledOption: ComponentStory<any>;
|
|
24
|
+
export declare const Multiple: ComponentStory<any>;
|
|
25
|
+
export declare const Size: ComponentStory<any>;
|
|
26
|
+
export declare const Search: ComponentStory<any>;
|
|
27
|
+
export declare const CustomFieldNames: ComponentStory<any>;
|
|
28
|
+
export declare const Placement: ComponentStory<any>;
|
|
29
|
+
export declare const DefaultValue: ComponentStory<any>;
|
|
30
|
+
export declare const Hover: ComponentStory<any>;
|
|
31
|
+
export declare const ChangeOnSelect: ComponentStory<any>;
|
|
32
|
+
export declare const ShowCheckedStrategy: ComponentStory<any>;
|
|
33
|
+
export declare const CustomRender: ComponentStory<any>;
|
|
34
|
+
export declare const LoadOptionsLazily: ComponentStory<any>;
|
|
35
|
+
export declare const CustomDropdown: ComponentStory<any>;
|
|
36
|
+
export declare const Status: ComponentStory<any>;
|
|
37
|
+
export declare const ShowSearchAPI: ComponentStory<any>;
|
|
@@ -12,10 +12,14 @@ export interface IChatBoxMessageProps extends Message {
|
|
|
12
12
|
role: Role;
|
|
13
13
|
content: string;
|
|
14
14
|
isTyping?: boolean;
|
|
15
|
+
isPlaceholder?: boolean;
|
|
15
16
|
scrollBody: Function;
|
|
16
17
|
renderDone: Function;
|
|
17
18
|
doAnimation: boolean;
|
|
18
19
|
answeringContent: string;
|
|
20
|
+
avatar?: string;
|
|
21
|
+
idx?: number;
|
|
22
|
+
renderType: 'text' | 'markdown';
|
|
19
23
|
}
|
|
20
24
|
export interface IChatBoxProps {
|
|
21
25
|
onClose?: Function;
|
|
@@ -23,4 +27,6 @@ export interface IChatBoxProps {
|
|
|
23
27
|
domain: string;
|
|
24
28
|
userId: string | number;
|
|
25
29
|
token: string;
|
|
30
|
+
avatar?: string;
|
|
31
|
+
style?: Record<string, any>;
|
|
26
32
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: ComponentMeta<React.FC<import("antd").DropDownProps> & {
|
|
4
|
+
Button: React.FC<import("antd/es/dropdown").DropdownButtonProps>;
|
|
5
|
+
_InternalPanelDoNotUseOrYouWillBeFired: (props: import("antd").DropDownProps) => JSX.Element;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: ComponentStory<React.FC<import("antd").DropDownProps> & {
|
|
9
|
+
Button: React.FC<import("antd/es/dropdown").DropdownButtonProps>;
|
|
10
|
+
_InternalPanelDoNotUseOrYouWillBeFired: (props: import("antd").DropDownProps) => JSX.Element;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const Basic: ComponentStory<any>;
|
|
13
|
+
export declare const Arrow: ComponentStory<any>;
|
|
14
|
+
export declare const ArrowPointingCenter: ComponentStory<any>;
|
|
15
|
+
export declare const ClickEvent: ComponentStory<any>;
|
|
16
|
+
export declare const CustomDropdown: ComponentStory<any>;
|
|
17
|
+
export declare const TheWayOfHidingMenu: ComponentStory<any>;
|
|
18
|
+
export declare const Loading: ComponentStory<any>;
|
|
19
|
+
export declare const ButtonWithDropdownMenu: ComponentStory<any>;
|
|
20
|
+
export declare const CascadingMenu: ComponentStory<any>;
|
|
21
|
+
export declare const ContextMenu: ComponentStory<any>;
|
|
22
|
+
export declare const SelectableMenu: ComponentStory<any>;
|
|
23
|
+
export declare const DropdownButtonAPI: ComponentStory<any>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: ComponentMeta<React.FC<import("antd").ModalProps> & import("antd/es/modal/confirm").ModalStaticFunctions & {
|
|
4
|
+
useModal: typeof import("antd/es/modal/useModal").default;
|
|
5
|
+
destroyAll: () => void;
|
|
6
|
+
config: typeof import("antd/es/modal/confirm").modalGlobalConfig;
|
|
7
|
+
_InternalPanelDoNotUseOrYouWillBeFired: React.FC<import("antd/es/modal/PurePanel").PurePanelProps>;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const Default: ComponentStory<React.FC<import("antd").ModalProps> & import("antd/es/modal/confirm").ModalStaticFunctions & {
|
|
11
|
+
useModal: typeof import("antd/es/modal/useModal").default;
|
|
12
|
+
destroyAll: () => void;
|
|
13
|
+
config: typeof import("antd/es/modal/confirm").modalGlobalConfig;
|
|
14
|
+
_InternalPanelDoNotUseOrYouWillBeFired: React.FC<import("antd/es/modal/PurePanel").PurePanelProps>;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const Basic: ComponentStory<any>;
|
|
17
|
+
export declare const CustomizedFooter: ComponentStory<any>;
|
|
18
|
+
export declare const Internationalization: ComponentStory<any>;
|
|
19
|
+
export declare const CustomizePosition: ComponentStory<any>;
|
|
20
|
+
export declare const UseHooksToGetContext: ComponentStory<any>;
|
|
21
|
+
export declare const CustomizeWidth: ComponentStory<any>;
|
|
22
|
+
export declare const DestroyConfirmationModalDialog: ComponentStory<any>;
|
|
23
|
+
export declare const AsynchronouslyClose: ComponentStory<any>;
|
|
24
|
+
export declare const ConfirmationModalDialog: ComponentStory<any>;
|
|
25
|
+
export declare const ManualToUpdateDestroy: ComponentStory<any>;
|
|
26
|
+
export declare const CustomizeFooterButtonsProps: ComponentStory<any>;
|
|
27
|
+
export declare const StaticMethod: ComponentStory<any>;
|
|
28
|
+
export declare const ModalMethodAPI: ComponentStory<any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const PopupContainer: import("styled-components").StyledComponent<"div", any, {
|
|
2
2
|
isHiddenResizing?: boolean | undefined;
|
|
3
|
+
isShowResizeHover?: boolean | undefined;
|
|
3
4
|
}, never>;
|
|
4
5
|
export declare const WrapperIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { ControlPosition } from 'react-draggable';
|
|
2
3
|
import { CSSProperties } from 'styled-components';
|
|
3
4
|
export interface IPopupDraggable {
|
|
4
5
|
id?: string;
|
|
5
6
|
name?: string;
|
|
6
|
-
bounds
|
|
7
|
+
bounds?: string;
|
|
8
|
+
defaultPosition?: ControlPosition;
|
|
7
9
|
isHiddenClose?: boolean;
|
|
8
10
|
isHiddenResizing?: boolean;
|
|
11
|
+
isShowResizeHover?: boolean;
|
|
9
12
|
callback: Function;
|
|
10
13
|
children: ReactNode;
|
|
11
14
|
styleContainer?: CSSProperties;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ITabShareScreenProps } from './types';
|
|
2
|
+
import { ControlPositionProps } from 'src/components/molecules/CaptureScreen/types';
|
|
2
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";
|
|
3
6
|
export declare const MESSAGE_TYPE: {
|
|
4
7
|
TICKET_CREATE_STATUS: string;
|
|
5
8
|
};
|
|
@@ -32,10 +35,12 @@ export declare const ATTACH_CAPTURE_TYPES: {
|
|
|
32
35
|
icon: string;
|
|
33
36
|
}[];
|
|
34
37
|
}[];
|
|
38
|
+
export declare const DEFAULT_POSITIONS: ControlPositionProps;
|
|
35
39
|
export declare const TABS_SHARING_SCREEN: ITabShareScreenProps[];
|
|
36
40
|
export declare const HELP_APP: ({
|
|
37
41
|
title: string;
|
|
38
42
|
key: string;
|
|
43
|
+
appCode: string;
|
|
39
44
|
children: ({
|
|
40
45
|
title: string;
|
|
41
46
|
key: string;
|
|
@@ -74,6 +79,7 @@ export declare const HELP_APP: ({
|
|
|
74
79
|
} | {
|
|
75
80
|
title: string;
|
|
76
81
|
key: string;
|
|
82
|
+
appCode: string;
|
|
77
83
|
children: ({
|
|
78
84
|
title: string;
|
|
79
85
|
key: string;
|
|
@@ -109,6 +115,7 @@ export declare const HELP_APP: ({
|
|
|
109
115
|
})[];
|
|
110
116
|
} | {
|
|
111
117
|
title: string;
|
|
118
|
+
appCode: string;
|
|
112
119
|
key: string;
|
|
113
120
|
children: ({
|
|
114
121
|
title: string;
|