@antscorp/antsomi-ui 1.2.3-beta.9 → 1.2.4

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.
@@ -11,40 +11,12 @@
11
11
  * @version 1.2.6
12
12
  */
13
13
 
14
- /*!
15
- * TOAST UI Color Picker
16
- * @version 2.2.8
17
- * @author NHN Cloud FE Development Team <dl_javascript@nhn.com>
18
- * @license MIT
19
- */
20
-
21
14
  /*!
22
15
  * TOAST UI ImageEditor
23
- * @version 3.15.3
16
+ * @version 1.0.1
24
17
  * @license MIT
25
18
  */
26
19
 
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
20
  /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
49
21
 
50
22
  /*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */
@@ -68,5 +40,3 @@
68
40
  * This source code is licensed under the MIT license found in the
69
41
  * LICENSE file in the root directory of this source tree.
70
42
  */
71
-
72
- // @license RGB <-> HSV conversion utilities based off of http://www.cs.rit.edu/~ncs/color/t_convert.html
@@ -0,0 +1 @@
1
+ export declare const GPTIconV3: (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';
@@ -19,3 +20,5 @@ export { PauseIcon } from './PauseIcon';
19
20
  export { StopRecordIcon } from './StopRecordIcon';
20
21
  export { VerticalDotsIcon } from './VerticalDotsIcon';
21
22
  export { OpenUrlIcon } from './OpenUrlIcon';
23
+ export { BugIcon } from './BugIcon';
24
+ export { IdeaIcon } from './IdeaIcon';
@@ -2,8 +2,11 @@ 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;
6
+ export declare const IMAGE_TRANSPARENT_BASE64 = "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";
5
7
  export declare enum IGNORE_DRAW_ID_LIST {
6
8
  ICON_CLOSE = "antsomi-package-close-draw-icon",
9
+ BORDER_OVERLAY = "antsomi-package-border-overlay",
7
10
  DRAW_ACTIONS = "antsomi-package-draw-action-options",
8
11
  CLASS_PREVENT_HOVER = "antsomi-package-ignore-hovering-draw"
9
12
  }
@@ -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: boolean;
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>;
@@ -62,6 +62,7 @@ export interface MethodImageEditorProps {
62
62
  }
63
63
  export interface ImageEditorInstanceProps {
64
64
  editorInstance: ImageEditor | null;
65
+ canvasEditor: any;
65
66
  methods: MethodImageEditorProps;
66
67
  }
67
68
  export type ColorListProps = '#0f2eae' | '#212b37' | '#1e6be5' | '#17bb84' | '#f5b108' | '#f71007';
@@ -3,4 +3,4 @@ export declare const CONVERSATION: {
3
3
  role: Role;
4
4
  content: string;
5
5
  }[];
6
- export declare const LIMIT_MESSAGE = 30;
6
+ export declare const LIMIT_MESSAGE = 10;
@@ -16,6 +16,7 @@ export interface IChatBoxMessageProps extends Message {
16
16
  renderDone: Function;
17
17
  doAnimation: boolean;
18
18
  answeringContent: string;
19
+ avatar?: string;
19
20
  }
20
21
  export interface IChatBoxProps {
21
22
  onClose?: Function;
@@ -23,4 +24,6 @@ export interface IChatBoxProps {
23
24
  domain: string;
24
25
  userId: string | number;
25
26
  token: string;
27
+ avatar?: string;
28
+ style?: Record<string, any>;
26
29
  }
@@ -38,6 +38,7 @@ export declare const TABS_SHARING_SCREEN: ITabShareScreenProps[];
38
38
  export declare const HELP_APP: ({
39
39
  title: string;
40
40
  key: string;
41
+ appCode: string;
41
42
  children: ({
42
43
  title: string;
43
44
  key: string;
@@ -76,6 +77,7 @@ export declare const HELP_APP: ({
76
77
  } | {
77
78
  title: string;
78
79
  key: string;
80
+ appCode: string;
79
81
  children: ({
80
82
  title: string;
81
83
  key: string;
@@ -111,6 +113,7 @@ export declare const HELP_APP: ({
111
113
  })[];
112
114
  } | {
113
115
  title: string;
116
+ appCode: string;
114
117
  key: string;
115
118
  children: ({
116
119
  title: string;
@@ -35,7 +35,9 @@ export declare const Image: import("styled-components").StyledComponent<"img", a
35
35
  export declare const Video: import("styled-components").StyledComponent<"video", any, {}, never>;
36
36
  export declare const WrapperHeader: import("styled-components").StyledComponent<"strong", any, {}, never>;
37
37
  export declare const Header: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
38
- export declare const WrapperBody: import("styled-components").StyledComponent<"div", any, {}, never>;
38
+ export declare const WrapperBody: import("styled-components").StyledComponent<"div", any, {
39
+ types?: string | undefined;
40
+ }, never>;
39
41
  export declare const WrapperFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
40
42
  export declare const WrapperFooterSpace: import("styled-components").StyledComponent<"div", any, {}, never>;
41
43
  export declare const EditorWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import type { MenuProps, TabPaneProps } from 'antd';
2
+ import type { TabPaneProps } from 'antd';
3
3
  type TriggerTypeDropdown = Array<'hover' | 'contextMenu' | 'click'>;
4
4
  type ConfigProps = {
5
5
  domain: string;
@@ -9,8 +9,9 @@ type ConfigProps = {
9
9
  portalId: string;
10
10
  config: any;
11
11
  userId: string;
12
- ownerId: string;
13
- appNameCurrent: string;
12
+ domainPlatform: string;
13
+ appCode: string;
14
+ avatar?: string;
14
15
  };
15
16
  export interface ValueFormProps {
16
17
  title: string;
@@ -29,7 +30,6 @@ export interface AllAppOptionsProps {
29
30
  raw?: any;
30
31
  }
31
32
  export interface IHelpProps {
32
- menuProps: MenuProps;
33
33
  configs: ConfigProps;
34
34
  triggerType: TriggerTypeDropdown;
35
35
  onClick?: Function;
@@ -1,2 +1 @@
1
1
  export { Table } from './Table';
2
- export { ExplorePivotTable, TEST_DATA as EXPLORE_PIVOT_TABLE_TEST_DATA } from './ExplorePivotTable';
@@ -1,2 +1,2 @@
1
+ export { Table } from './Table';
1
2
  export { Help } from './Help';
2
- export { Table, ExplorePivotTable, EXPLORE_PIVOT_TABLE_TEST_DATA } from './Table';
@@ -58,5 +58,10 @@ declare const API: {
58
58
  getList: (params: any, domain: any, token: any, config: any, userId: any, type: any, ownerId: any) => Promise<any>;
59
59
  };
60
60
  };
61
+ help: {
62
+ callApi: {
63
+ getList: (params: any, domain: any, token: any, config: any, userId: any) => Promise<void | import("axios").AxiosResponse<any, any>>;
64
+ };
65
+ };
61
66
  };
62
67
  export default API;
@@ -6,3 +6,15 @@ export declare const MESSAGES: {
6
6
  NAME_ALREADY_EXISTS: string;
7
7
  TOO_LONG_NAME: string;
8
8
  };
9
+ export declare const PORTAL_KEYS: {
10
+ CURRENCY: string;
11
+ USER_LANGUAGE: string;
12
+ PORTAL_LANGUAGE: string;
13
+ TIME_ZONE: string;
14
+ CURRENCY_FORMAT: string;
15
+ DATE_TIME_FORMAT: string;
16
+ DATE_TIME_FORMAT_LONG: string;
17
+ NUMBER_FORMAT: string;
18
+ PERCENTAGE_FORMAT: string;
19
+ VERSION: string;
20
+ };
@@ -15,9 +15,6 @@ export declare function getSessionStorage(key: any, config: any): any;
15
15
  export declare function getMessageByCode(messageCode: any, def?: undefined | string): any;
16
16
  export declare function urlHasQueryString(url: any): boolean;
17
17
  export declare function isNumeric(num: any): boolean;
18
- export declare const PORTAL_KEYS: {
19
- USER_LANGUAGE: string;
20
- };
21
18
  export declare function getUserLocaleLanguage(config: any): any;
22
19
  export declare function getAppSession(key: any, config: any): any;
23
20
  export declare function getAppParamURL(pathname: any, forceVersionV2: boolean | undefined, config: any): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.2.3-beta.9",
3
+ "version": "1.2.4",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -35,6 +35,7 @@
35
35
  "author": "",
36
36
  "license": "MIT",
37
37
  "dependencies": {
38
+ "@antscorp/image-editor": "1.0.2",
38
39
  "@tinymce/tinymce-react": "^3.7.0",
39
40
  "antd": "^5.3.2",
40
41
  "axios": "^1.4.0",