@glodon-aiot/agent-cli-ui 3.5.1 → 3.5.2-beta.0

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.
@@ -2,7 +2,7 @@ import { FC } from 'react';
2
2
  import { Session } from '@glodon-aiot/bot-client-sdk';
3
3
  interface HistorySessionListProps {
4
4
  currentSessionId: string;
5
- onSessionChange?: (sessionId: string, session?: Session) => void;
5
+ onSessionChange?: (sessionId: string, session?: Session | null) => void;
6
6
  onClose: VoidFunction;
7
7
  }
8
8
  declare const HistorySessionList: FC<HistorySessionListProps>;
@@ -3,7 +3,7 @@ import { Session } from '@glodon-aiot/bot-client-sdk';
3
3
  interface SessionListProps {
4
4
  disabled?: boolean;
5
5
  currentSessionId?: string;
6
- onSessionChange?: (sessionId: string, session?: Session) => void;
6
+ onSessionChange?: (sessionId: string, session?: Session | null) => void;
7
7
  }
8
8
  declare const SessionList: FC<SessionListProps>;
9
9
  export default SessionList;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { default as ReactQuill } from 'react-quill';
2
+ import { default as ReactQuill } from 'react-quill-new';
3
3
  interface QuillEditorProp {
4
4
  text?: string;
5
5
  disabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glodon-aiot/agent-cli-ui",
3
- "version": "3.5.1",
3
+ "version": "3.5.2-beta.0",
4
4
  "module": "./dist/es/index.mjs",
5
5
  "main": "./dist/lib/index.js",
6
6
  "typings": "./dist/src/index.d.ts",
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@ant-design/icons": "^5.3.4",
40
- "@glodon-aiot/apis": "^3.5.1",
41
- "@glodon-aiot/bot-client-sdk": "^3.5.1",
40
+ "@glodon-aiot/apis": "^3.5.2-beta.0",
41
+ "@glodon-aiot/bot-client-sdk": "^3.5.2-beta.0",
42
42
  "@matejmazur/react-mathjax": "^0.1.10",
43
43
  "@react-pdf-viewer/core": "^3.12.0",
44
44
  "@react-pdf-viewer/default-layout": "^3.12.0",
@@ -50,8 +50,9 @@
50
50
  "copy-to-clipboard": "^3.3.3",
51
51
  "dayjs": "^1.11.13",
52
52
  "lodash": "^4.17.21",
53
+ "quill-delta": "^5.1.0",
53
54
  "react-infinite-scroll-component": "^6.1.0",
54
- "react-quill": "^2.0.0",
55
+ "react-quill-new": "^3.6.0",
55
56
  "react-resizable": "^3.0.5",
56
57
  "uuid": "^11.1.0"
57
58
  },