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.
- package/dist/app-v3-scripts-editor.css +1 -1
- package/dist/app-v3-scripts-editor.es.js +13343 -13454
- package/dist/app-v3-scripts-editor.umd.js +106 -105
- package/dist/src/lib/components/Blocks/Listen/components/index.css.d.ts +3 -1
- package/dist/src/lib/components/Blocks/Listen/index.css.d.ts +1 -0
- package/dist/src/lib/components/Blocks/Listen/settings/AddConditionButton.d.ts +3 -1
- package/dist/src/lib/components/Blocks/Listen/types.d.ts +2 -3
- package/dist/src/lib/constants/block-types.d.ts +4 -0
- package/dist/src/lib/constants/initial-script.d.ts +1 -3
- package/dist/src/lib/constants/intents.d.ts +4 -8
- package/dist/src/lib/styles/colors.d.ts +4 -0
- package/package.json +1 -1
- package/dist/src/lib/components/Blocks/Listen/settings/ListenIntentDropdown.d.ts +0 -6
|
@@ -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;
|
|
@@ -4,9 +4,7 @@ export interface ListenCondition {
|
|
|
4
4
|
id: string;
|
|
5
5
|
label: string;
|
|
6
6
|
description: string;
|
|
7
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6
|
-
excluded_keywords: string[];
|
|
5
|
+
keywords: string[];
|
|
7
6
|
};
|
|
8
7
|
NOT_INTERESTED: {
|
|
9
8
|
label: string;
|
|
10
9
|
description: string;
|
|
11
|
-
|
|
12
|
-
excluded_keywords: any[];
|
|
10
|
+
keywords: string[];
|
|
13
11
|
};
|
|
14
12
|
NOT_HEARD: {
|
|
15
13
|
label: string;
|
|
16
14
|
description: string;
|
|
17
|
-
|
|
18
|
-
excluded_keywords: any[];
|
|
15
|
+
keywords: string[];
|
|
19
16
|
};
|
|
20
17
|
BUSY: {
|
|
21
18
|
label: string;
|
|
22
19
|
description: string;
|
|
23
|
-
|
|
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