@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.
Files changed (80) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/index.js.LICENSE.txt +15 -28
  3. package/dist/main.css +1 -1
  4. package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +1 -0
  5. package/dist/types/components/atoms/Divider/__tests__/Divider.test.d.ts +1 -0
  6. package/dist/types/components/atoms/Input/Input.stories.d.ts +3 -0
  7. package/dist/types/components/atoms/Radio/Radio.stories.d.ts +17 -0
  8. package/dist/types/components/atoms/Radio/__tests__/Radio.test.d.ts +1 -0
  9. package/dist/types/components/atoms/Space/Space.stories.d.ts +16 -0
  10. package/dist/types/components/atoms/Tag/Tag.stories.d.ts +12 -0
  11. package/dist/types/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -0
  12. package/dist/types/components/atoms/Typography/Typography.stories.d.ts +11 -0
  13. package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -0
  14. package/dist/types/components/icons/CameraIcon.d.ts +1 -0
  15. package/dist/types/components/icons/CaptureIcon.d.ts +1 -0
  16. package/dist/types/components/icons/GPTIconV3.d.ts +1 -0
  17. package/dist/types/components/icons/MuteIcon.d.ts +1 -0
  18. package/dist/types/components/icons/OpenUrlIcon.d.ts +1 -0
  19. package/dist/types/components/icons/PauseIcon.d.ts +1 -0
  20. package/dist/types/components/icons/RequestIcon.d.ts +1 -0
  21. package/dist/types/components/icons/StopRecordIcon.d.ts +1 -0
  22. package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -0
  23. package/dist/types/components/icons/index.d.ts +12 -0
  24. package/dist/types/components/molecules/Alert/Alert.stories.d.ts +21 -0
  25. package/dist/types/components/molecules/CaptureScreen/CaptureScreen.d.ts +4 -0
  26. package/dist/types/components/molecules/CaptureScreen/CaptureScreen.stories.d.ts +8 -0
  27. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +1 -0
  28. package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +1 -2
  29. package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +4 -3
  30. package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +5 -5
  31. package/dist/types/components/molecules/CaptureScreen/constants.d.ts +12 -2
  32. package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +1 -1
  33. package/dist/types/components/molecules/CaptureScreen/styled.d.ts +5 -1
  34. package/dist/types/components/molecules/CaptureScreen/types.d.ts +7 -0
  35. package/dist/types/components/molecules/Cascader/Cascader.stories.d.ts +37 -0
  36. package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +0 -1
  37. package/dist/types/components/molecules/ChatBox/MessageItem.d.ts +5 -0
  38. package/dist/types/components/molecules/ChatBox/constants.d.ts +1 -1
  39. package/dist/types/components/molecules/ChatBox/types.d.ts +6 -0
  40. package/dist/types/components/molecules/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
  41. package/dist/types/components/molecules/Dropdown/Dropdown.stories.d.ts +23 -0
  42. package/dist/types/components/molecules/Modal/Modal.stories.d.ts +28 -0
  43. package/dist/types/components/molecules/PopupDraggable/styled.d.ts +1 -0
  44. package/dist/types/components/molecules/PopupDraggable/types.d.ts +4 -1
  45. package/dist/types/components/organism/Help/constants.d.ts +7 -0
  46. package/dist/types/components/organism/Help/styled.d.ts +6 -1
  47. package/dist/types/components/organism/Help/types.d.ts +6 -4
  48. package/dist/types/components/organism/Help/utils.d.ts +1 -0
  49. package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -0
  50. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -0
  51. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -0
  52. package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +75 -0
  53. package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +1 -0
  54. package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +1 -0
  55. package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +1 -0
  56. package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +1 -0
  57. package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -0
  58. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -0
  59. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -0
  60. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -0
  61. package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -0
  62. package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +2 -0
  63. package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +11 -0
  64. package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +17 -0
  65. package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -0
  66. package/dist/types/components/organism/Table/Table.stories.d.ts +39 -0
  67. package/dist/types/components/organism/Table/index.d.ts +1 -0
  68. package/dist/types/components/organism/index.d.ts +1 -1
  69. package/dist/types/constants/index.d.ts +1 -0
  70. package/dist/types/constants/storybook.d.ts +11 -0
  71. package/dist/types/services/Ticket.d.ts +5 -0
  72. package/dist/types/services/constants.d.ts +12 -0
  73. package/dist/types/stories/components/TableApiTypeTag/index.d.ts +6 -0
  74. package/dist/types/stories/components/index.d.ts +1 -0
  75. package/dist/types/utils/color.d.ts +9 -0
  76. package/dist/types/utils/common.d.ts +0 -3
  77. package/dist/types/utils/index.d.ts +3 -0
  78. package/package.json +6 -1
  79. package/dist/types/components/molecules/ChatBox/ask.d.ts +0 -3
  80. /package/dist/types/components/{molecules/ChatBox/utils.d.ts → organism/Table/CrossTabTable/components/CustomCell/index.d.ts} +0 -0
@@ -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>;
@@ -74,3 +76,6 @@ export declare const TreeContent: import("styled-components").StyledComponent<(<
74
76
  displayName?: string | undefined;
75
77
  };
76
78
  }, any, {}, never>;
79
+ export declare const Span: import("styled-components").StyledComponent<"span", any, {
80
+ styles: any;
81
+ }, 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,8 +30,9 @@ export interface AllAppOptionsProps {
29
30
  raw?: any;
30
31
  }
31
32
  export interface IHelpProps {
32
- menuProps: MenuProps;
33
33
  configs: ConfigProps;
34
+ boundsDraggable?: string;
35
+ isShowResizeHover?: boolean;
34
36
  triggerType: TriggerTypeDropdown;
35
37
  onClick?: Function;
36
38
  children?: ReactNode;
@@ -12,3 +12,4 @@ export declare const formatParams: (data: any) => {
12
12
  attachments: never[];
13
13
  };
14
14
  export declare const postCustomEvent: (type: any, data: any) => void;
15
+ export declare const expendDefault: (data: any) => string[];
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { ColumnsType } from 'antd/es/table';
3
+ interface CrossTabTableProps {
4
+ }
5
+ export declare const columns: ColumnsType<any>;
6
+ export declare const data: {
7
+ key: string;
8
+ country_id: string;
9
+ first_user_source: string;
10
+ active_users_0: number;
11
+ active_users_1: number;
12
+ active_users_2: number;
13
+ active_users_3: number;
14
+ active_users_4: number;
15
+ active_users_5: number;
16
+ }[];
17
+ export declare const CrossTabTable: React.FC<CrossTabTableProps>;
18
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { TCellType } from '../../types';
3
+ interface CustomCellProps {
4
+ value: any;
5
+ record: Record<string, any>;
6
+ index?: number;
7
+ max?: number;
8
+ type: TCellType;
9
+ }
10
+ export declare const CustomCell: React.FC<CustomCellProps>;
11
+ export {};
@@ -0,0 +1 @@
1
+ export declare const BarCell: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,75 @@
1
+ import { ColumnsType } from 'antd/es/table';
2
+ export declare const TEST_DATA: {
3
+ dimensions: string[];
4
+ metrics: {
5
+ id: string;
6
+ }[];
7
+ colDimensions: string[];
8
+ responseRows: {
9
+ dimensionValues: never[];
10
+ dimensionCompoundValues: {
11
+ value: string;
12
+ }[];
13
+ metricValues: never[];
14
+ metricCompoundValues: {
15
+ value: number;
16
+ }[];
17
+ rowTotals: number[];
18
+ anomalyAnnotations: never[];
19
+ }[];
20
+ totalsRow: {
21
+ dimensionValues: never[];
22
+ dimensionCompoundValues: {
23
+ value: string;
24
+ }[];
25
+ metricValues: never[];
26
+ metricCompoundValues: {
27
+ value: number;
28
+ }[];
29
+ rowTotals: number[];
30
+ anomalyAnnotations: never[];
31
+ };
32
+ pivotHeaders: {
33
+ names: string[];
34
+ }[];
35
+ storageIds: never[];
36
+ segmentKeyMap: {
37
+ key: string;
38
+ id: string;
39
+ name: string;
40
+ }[];
41
+ overallRowCount: number;
42
+ numberOfSamplesRead: number[];
43
+ samplingSpaceSize: number[];
44
+ metadata: {
45
+ performance: {
46
+ f1QueryLatencyMs: string;
47
+ reportRequestLatencyMs: string;
48
+ f1GcuSecs: number;
49
+ };
50
+ classification: {
51
+ identityBlendingStrategy: number;
52
+ numDaysInDateRange: number;
53
+ externalWideningSources: never[];
54
+ storageType: number[];
55
+ largestDailyNumRowsInSelectedTables: string;
56
+ };
57
+ venusRequestId: string;
58
+ dataTruncationReasons: never[];
59
+ isBehavioralModelingEnabledByUser: boolean;
60
+ isBehavioralModelingApplied: boolean;
61
+ };
62
+ isThresholded: boolean;
63
+ }[];
64
+ export declare const columns: ColumnsType<any>;
65
+ export declare const data: {
66
+ key: string;
67
+ country_id: string;
68
+ first_user_source: string;
69
+ active_users_0: number;
70
+ active_users_1: number;
71
+ active_users_2: number;
72
+ active_users_3: number;
73
+ active_users_4: number;
74
+ active_users_5: number;
75
+ }[];
@@ -0,0 +1 @@
1
+ export { CrossTabTable } from './CrossTabTable';
@@ -0,0 +1 @@
1
+ export declare const BarCell: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1 @@
1
+ export type TCellType = 'bar' | 'heat' | 'text';
@@ -0,0 +1 @@
1
+ export declare const refinePivotHeaders: (pivotHeaders: Record<string, any>) => void;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { TData } from './types';
3
+ interface ExplorePivotTableProps {
4
+ data: TData;
5
+ scroll?: {
6
+ x?: number | string;
7
+ y?: number | string;
8
+ };
9
+ }
10
+ export declare const ExplorePivotTable: React.FC<ExplorePivotTableProps>;
11
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { TCellType } from '../../types';
3
+ interface CustomCellProps {
4
+ value: any;
5
+ record: Record<string, any>;
6
+ index?: number;
7
+ max?: number;
8
+ type: TCellType;
9
+ color?: string;
10
+ }
11
+ export declare const CustomCell: React.FC<CustomCellProps>;
12
+ export {};
@@ -0,0 +1 @@
1
+ export { CustomCell } from './CustomCell';
@@ -0,0 +1,3 @@
1
+ export declare const BarCell: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const HeatCell: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const StyledValue: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,4 @@
1
+ import { TData } from './types';
2
+ declare const GRAND_TOTAL_KEY = "grand-total";
3
+ declare const TEST_DATA: TData;
4
+ export { TEST_DATA, GRAND_TOTAL_KEY };
@@ -0,0 +1,2 @@
1
+ export { ExplorePivotTable } from './ExplorePivotTable';
2
+ export { TEST_DATA } from './constants';
@@ -0,0 +1,11 @@
1
+ export declare const StyledTable: import("styled-components").StyledComponent<import("antd/es/table/interface").RefTable & {
2
+ SELECTION_COLUMN: {};
3
+ EXPAND_COLUMN: {};
4
+ SELECTION_ALL: "SELECT_ALL";
5
+ SELECTION_INVERT: "SELECT_INVERT";
6
+ SELECTION_NONE: "SELECT_NONE";
7
+ Column: typeof import("antd/es/table/Column").default;
8
+ ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
9
+ Summary: typeof import("rc-table/lib/Footer/Summary").default;
10
+ }, any, {}, never>;
11
+ export declare const StyledHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,17 @@
1
+ export type TCellType = 'bar' | 'heat' | 'text';
2
+ export type TData = {
3
+ versions: {
4
+ key: string | number;
5
+ name: string;
6
+ }[];
7
+ rowDimension: string[];
8
+ columnDimension: string[];
9
+ dataRow: any[];
10
+ totalRowDimension: number[];
11
+ totalColumnDimension: number[];
12
+ metrics: any[];
13
+ dimensions: any[];
14
+ showRowTotal?: boolean;
15
+ showColumnTotal?: boolean;
16
+ maxValue?: number;
17
+ };
@@ -0,0 +1,4 @@
1
+ import { ColumnsType } from 'antd/es/table';
2
+ import { TData } from './types';
3
+ export declare const buildColumns: (data: TData) => ColumnsType<any>;
4
+ export declare const buildDataSource: (data: TData) => any[];
@@ -0,0 +1,39 @@
1
+ import type { ComponentMeta, ComponentStory } from '@storybook/react';
2
+ declare const _default: ComponentMeta<import("antd/es/table/interface").RefTable & {
3
+ SELECTION_COLUMN: {};
4
+ EXPAND_COLUMN: {};
5
+ SELECTION_ALL: "SELECT_ALL";
6
+ SELECTION_INVERT: "SELECT_INVERT";
7
+ SELECTION_NONE: "SELECT_NONE";
8
+ Column: typeof import("antd/es/table/Column").default;
9
+ ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
10
+ Summary: typeof import("rc-table/lib/Footer/Summary").default;
11
+ }>;
12
+ export default _default;
13
+ export declare const Default: ComponentStory<import("antd/es/table/interface").RefTable & {
14
+ SELECTION_COLUMN: {};
15
+ EXPAND_COLUMN: {};
16
+ SELECTION_ALL: "SELECT_ALL";
17
+ SELECTION_INVERT: "SELECT_INVERT";
18
+ SELECTION_NONE: "SELECT_NONE";
19
+ Column: typeof import("antd/es/table/Column").default;
20
+ ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
21
+ Summary: typeof import("rc-table/lib/Footer/Summary").default;
22
+ }>;
23
+ export declare const BasicUsage: ComponentStory<any>;
24
+ export declare const JSXStyleAPI: ComponentStory<any>;
25
+ export declare const Selection: ComponentStory<any>;
26
+ export declare const SelectionAndOperation: ComponentStory<any>;
27
+ export declare const CustomSelection: ComponentStory<any>;
28
+ export declare const FilterAndSorter: ComponentStory<any>;
29
+ export declare const FilterInTree: ComponentStory<any>;
30
+ export declare const FilterSearch: ComponentStory<any>;
31
+ export declare const MultipleSorter: ComponentStory<any>;
32
+ export declare const DynamicSettings: ComponentStory<any>;
33
+ export declare const ColumnAPI: ComponentStory<any>;
34
+ export declare const ColumnGroupAPI: ComponentStory<any>;
35
+ export declare const PaginationAPI: ComponentStory<any>;
36
+ export declare const ExpandableAPI: ComponentStory<any>;
37
+ export declare const RowSelectionAPI: ComponentStory<any>;
38
+ export declare const ScrollAPI: ComponentStory<any>;
39
+ export declare const SelectionAPI: ComponentStory<any>;
@@ -1 +1,2 @@
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';
2
1
  export { Help } from './Help';
2
+ export { Table, ExplorePivotTable, EXPLORE_PIVOT_TABLE_TEST_DATA } from './Table';
@@ -1 +1,2 @@
1
1
  export { THEME } from './theme';
2
+ export * from './storybook';
@@ -0,0 +1,11 @@
1
+ export declare const TABLE_API_COLUMNS: ({
2
+ title: string;
3
+ dataIndex: string;
4
+ key: string;
5
+ render?: undefined;
6
+ } | {
7
+ title: string;
8
+ dataIndex: string;
9
+ key: string;
10
+ render: (text: any) => JSX.Element;
11
+ })[];
@@ -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
+ };
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface TableApiTypeTagProps {
3
+ text: any;
4
+ }
5
+ export declare const TableApiTypeTag: React.FC<TableApiTypeTagProps>;
6
+ export {};
@@ -0,0 +1 @@
1
+ export * from './TableApiTypeTag';
@@ -0,0 +1,9 @@
1
+ export declare const isDarkColor: (hexcolor: any, alpha?: number) => boolean;
2
+ /**
3
+ * Converts a hexadecimal color code to its corresponding RGB values.
4
+ * @param {string} hexCode - The hexadecimal color code to convert.
5
+ * @returns {Array} An array containing the RGB values.
6
+ * @throws {Error} If the input is an invalid hexadecimal color code.
7
+ */
8
+ export declare const hexToRgb: (hexCode: string) => [number, number, number];
9
+ export declare const generateHeatMapColor: (value: number, maxValue: number, rgbColor: [number, number, number]) => string;
@@ -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): {
@@ -0,0 +1,3 @@
1
+ export * from './color';
2
+ export * from './common';
3
+ export * from './handleError';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.2.3-beta.3",
3
+ "version": "1.2.3-beta.30",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -35,15 +35,20 @@
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",
41
42
  "dayjs": "^1.11.7",
43
+ "highlight.js": "^11.8.0",
42
44
  "html-to-image": "^1.11.11",
43
45
  "html2canvas": "^1.4.1",
44
46
  "lodash": "^4.17.21",
45
47
  "react-draggable": "^4.4.5",
48
+ "react-markdown": "^8.0.7",
46
49
  "react-resizable": "^3.0.5",
50
+ "rehype-highlight": "^6.0.0",
51
+ "remark-gfm": "^3.0.1",
47
52
  "ts-dedent": "^2.2.0",
48
53
  "tui-image-editor": "^3.15.3"
49
54
  },
@@ -1,3 +0,0 @@
1
- import type { Message } from './types';
2
- declare const ask: (onMessage: Function, messages: Partial<Message>[], token?: string) => Promise<void>;
3
- export default ask;