@ray-js/t-agent-ui-ray 0.0.6-beta-1 → 0.0.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.
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.t-agent-message-input {
|
|
11
|
+
--t-agent-input-border-color: var(--app-B1-N7);
|
|
11
12
|
padding-bottom: var(--t-agent-safe-bottom);
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
.t-agent-message-input-container {
|
|
15
|
-
--t-agent-input-border-color: var(--app-B1-N7);
|
|
16
16
|
border-top: 2rpx solid var(--t-agent-input-border-color);
|
|
17
17
|
background: var(--app-B1);
|
|
18
18
|
}
|
|
@@ -65,11 +65,7 @@ const BubbleTile = props => {
|
|
|
65
65
|
};
|
|
66
66
|
return /*#__PURE__*/React.createElement(View, {
|
|
67
67
|
className: "t-agent-bubble-tile t-agent-bubble-tile-".concat(side),
|
|
68
|
-
onLongPress: () => {
|
|
69
|
-
// ty.showToast({
|
|
70
|
-
// title: 'long press',
|
|
71
|
-
// });
|
|
72
|
-
}
|
|
68
|
+
onLongPress: () => {}
|
|
73
69
|
}, bubbleStatus === BubbleTileStatus.ERROR && side === 'end' && /*#__PURE__*/React.createElement(Image, {
|
|
74
70
|
onClick: showInfo,
|
|
75
71
|
src: noticeSvg,
|
|
@@ -2,10 +2,17 @@ import React from 'react';
|
|
|
2
2
|
import './index.less';
|
|
3
3
|
import { WorkflowOption } from '@ray-js/t-agent-plugin-assistant';
|
|
4
4
|
import { TileProps } from '../../types';
|
|
5
|
+
type WorkflowTileEventPayload = {
|
|
6
|
+
type: 'select';
|
|
7
|
+
option: WorkflowOption;
|
|
8
|
+
selected: number;
|
|
9
|
+
} | {
|
|
10
|
+
type: 'rollback';
|
|
11
|
+
nodeId: string;
|
|
12
|
+
};
|
|
5
13
|
export default function WorkflowTile(props: TileProps<{
|
|
6
14
|
selected: number | null;
|
|
7
15
|
options: WorkflowOption[];
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}>): React.JSX.Element;
|
|
16
|
+
nodeId: string | null;
|
|
17
|
+
}, WorkflowTileEventPayload>): React.JSX.Element;
|
|
18
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/t-agent-ui-ray",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"author": "Tuya.inc",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"@types/echarts": "^4.9.22",
|
|
42
42
|
"@types/markdown-it": "^14.1.1"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "95aecc47d002cbf5e608c129478905c7fb458ea9"
|
|
45
45
|
}
|