app-v3-scripts-editor 1.5.6 → 1.5.7

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.
@@ -1,6 +1,8 @@
1
1
  export declare const sortableItemContainer: string;
2
2
  export declare const sortableItemContainerDragging: string;
3
- export declare const draggableCard: string;
3
+ export declare const draggableCard: Record<"default" | "dynamic", string>;
4
+ export declare const baseDraggableCard: string;
5
+ export declare const baseDraggableCardColors: Record<"default" | "dynamic", string>;
4
6
  export declare const draggableCardDragging: string;
5
7
  export declare const cardBody: string;
6
8
  export declare const dragButton: string;
@@ -5,3 +5,4 @@ export declare const listenHeader: string;
5
5
  export declare const listenTitle: string;
6
6
  export declare const listenContent: string;
7
7
  export declare const listenText: string;
8
+ export declare const intentItem: string;
@@ -1,2 +1,4 @@
1
- declare const AddConditionButton: () => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ type AddConditionButtonProps = {};
3
+ declare const AddConditionButton: React.FC<AddConditionButtonProps>;
2
4
  export default AddConditionButton;
@@ -4,9 +4,7 @@ export interface ListenCondition {
4
4
  id: string;
5
5
  label: string;
6
6
  description: string;
7
- included_keywords: string[];
8
- excluded_keywords: string[];
9
- repeat_if_interrupted: boolean;
7
+ keywords: string[];
10
8
  is_conversion: boolean;
11
9
  }
12
10
  export interface ListenNodeData extends Record<string, unknown> {
@@ -14,6 +12,7 @@ export interface ListenNodeData extends Record<string, unknown> {
14
12
  conditions?: ListenCondition[];
15
13
  maximum_retry: number;
16
14
  is_global_node: boolean;
15
+ is_conjunction: boolean;
17
16
  }
18
17
  export type BlockListenProps = BlockTypeProps<ListenNodeData>;
19
18
  export type ListenNodeProps = NodeProps<Node<ListenNodeData>>;
@@ -15,6 +15,10 @@ export declare enum SPEAK_TYPE {
15
15
  MACHINE_AND_RECORD = "MACHINE_AND_RECORD",
16
16
  PROMPT = "PROMPT"
17
17
  }
18
+ export declare enum LISTEN_TYPE {
19
+ INTENT = "INTENT",
20
+ VARIABLE = "VARIABLE"
21
+ }
18
22
  export declare enum TRANSFER_TYPE {
19
23
  INTERNAL = "INTERNAL",
20
24
  EXTERNAL = "EXTERNAL"
@@ -28,9 +28,7 @@ export declare const initialData: {
28
28
  id: string;
29
29
  label: string;
30
30
  description: string;
31
- included_keywords: any[];
32
- excluded_keywords: any[];
33
- repeat_if_interrupted: boolean;
31
+ keywords: any[];
34
32
  is_conversion: boolean;
35
33
  }[];
36
34
  maximum_retry: number;
@@ -2,25 +2,21 @@ export declare const INTENTS: {
2
2
  INTERESTED: {
3
3
  label: string;
4
4
  description: string;
5
- included_keywords: string[];
6
- excluded_keywords: string[];
5
+ keywords: string[];
7
6
  };
8
7
  NOT_INTERESTED: {
9
8
  label: string;
10
9
  description: string;
11
- included_keywords: string[];
12
- excluded_keywords: any[];
10
+ keywords: string[];
13
11
  };
14
12
  NOT_HEARD: {
15
13
  label: string;
16
14
  description: string;
17
- included_keywords: string[];
18
- excluded_keywords: any[];
15
+ keywords: string[];
19
16
  };
20
17
  BUSY: {
21
18
  label: string;
22
19
  description: string;
23
- included_keywords: string[];
24
- excluded_keywords: any[];
20
+ keywords: string[];
25
21
  };
26
22
  };
@@ -4,6 +4,7 @@ declare const colors: {
4
4
  white: string;
5
5
  gray: string;
6
6
  black: string;
7
+ sunsetOrange: string;
7
8
  };
8
9
  sidebar: {
9
10
  background: string;
@@ -59,5 +60,8 @@ declare const colors: {
59
60
  button: {
60
61
  volcano: string;
61
62
  };
63
+ hover: {
64
+ background: string;
65
+ };
62
66
  };
63
67
  export default colors;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "app-v3-scripts-editor",
3
3
  "private": false,
4
- "version": "1.5.6",
4
+ "version": "1.5.7",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ucall-asia/app-v3-scripts-editor.git"
@@ -1,6 +0,0 @@
1
- interface ListenIntentDropdownProps {
2
- fieldName: number;
3
- isConversion: boolean;
4
- }
5
- declare const ListenIntentDropdown: ({ fieldName, isConversion, }: ListenIntentDropdownProps) => import("react/jsx-runtime").JSX.Element;
6
- export default ListenIntentDropdown;