@glodon-aiot/agent-cli-ui 3.3.5-alpha.28 → 3.3.5-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.
@@ -6,6 +6,7 @@ interface RecommendProps {
6
6
  isRecommendClearing?: boolean;
7
7
  onChange?: (question: IQuestion) => void;
8
8
  onItemClick?: (question?: IQuestion) => void;
9
+ layoutBreakpoints?: number[];
9
10
  }
10
11
  export interface RecommendRef {
11
12
  clear: () => void;
@@ -10,6 +10,7 @@ export default class AgentClientUI {
10
10
  private _defatulSessionId;
11
11
  private _agentClientRef;
12
12
  private _config;
13
+ private _uuid;
13
14
  readonly apiUrl: string;
14
15
  readonly docViewerUrl: string;
15
16
  readonly env: Env;
@@ -25,6 +26,7 @@ export default class AgentClientUI {
25
26
  botClient: BotClient | null;
26
27
  constructor(config: InitalData);
27
28
  private updateUIConfig;
29
+ private _initWrapper;
28
30
  get token(): string;
29
31
  set token(v: string);
30
32
  get mode(): AgentClientMode;
@@ -47,6 +47,7 @@ export interface AgentFeaturesConfig {
47
47
  icon?: string;
48
48
  text?: string;
49
49
  questions?: boolean;
50
+ layoutBreakpoints?: number[];
50
51
  };
51
52
  sessionList?: boolean;
52
53
  metadata?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glodon-aiot/agent-cli-ui",
3
- "version": "3.3.5-alpha.28",
3
+ "version": "3.3.5-beta.30",
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.3.5-alpha.28",
41
- "@glodon-aiot/bot-client-sdk": "^3.3.5-alpha.28",
40
+ "@glodon-aiot/apis": "^3.3.5-beta.30",
41
+ "@glodon-aiot/bot-client-sdk": "^3.3.5-beta.30",
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",