@truedat/ai 6.13.7 → 6.14.1
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/package.json +3 -3
- package/src/components/actions/Action.js +7 -1
- package/src/components/actions/ActionEdit.js +6 -1
- package/src/components/actions/ActionNew.js +6 -1
- package/src/components/actions/Actions.js +9 -2
- package/src/components/aiSandbox/AiSandbox.js +7 -1
- package/src/components/prompts/Prompts.js +7 -1
- package/src/components/providers/Providers.js +7 -1
- package/src/components/resourceMappings/ResourceMappings.js +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/ai",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.14.1",
|
|
4
4
|
"description": "Truedat Web Artificial Intelligence package",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
]
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@truedat/core": "6.
|
|
87
|
+
"@truedat/core": "6.14.1",
|
|
88
88
|
"prop-types": "^15.8.1",
|
|
89
89
|
"react-hook-form": "^7.45.4",
|
|
90
90
|
"react-intl": "^5.20.10",
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"react-dom": ">= 16.8.6 < 17",
|
|
98
98
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "13f8e92c333acf539f9978ea94db03174130cfb0"
|
|
101
101
|
}
|
|
@@ -41,7 +41,13 @@ export const ActionHeader = ({ action, actionMutate }) => {
|
|
|
41
41
|
<Grid>
|
|
42
42
|
<Grid.Column width={8}>
|
|
43
43
|
<Header as="h2">
|
|
44
|
-
<Icon
|
|
44
|
+
<Icon
|
|
45
|
+
name={formatMessage({
|
|
46
|
+
id: "ai.actions.header.icon",
|
|
47
|
+
defaultMessage: "caret square right",
|
|
48
|
+
})}
|
|
49
|
+
circular
|
|
50
|
+
/>
|
|
45
51
|
<Header.Content>
|
|
46
52
|
{action.name}
|
|
47
53
|
<Header.Subheader>{statusMessage}</Header.Subheader>
|
|
@@ -40,7 +40,12 @@ const ActionEdit = () => {
|
|
|
40
40
|
<Container as={Segment} text className="ai-action-edit ai-action-new">
|
|
41
41
|
<div className="ai-action-edit-header">
|
|
42
42
|
<Header as="h2">
|
|
43
|
-
<Icon
|
|
43
|
+
<Icon
|
|
44
|
+
name={formatMessage({
|
|
45
|
+
id: "ai.actions.header.icon",
|
|
46
|
+
defaultMessage: "caret square right",
|
|
47
|
+
})}
|
|
48
|
+
/>
|
|
44
49
|
<Header.Content>
|
|
45
50
|
{formatMessage({ id: "ai.actions.actions.edit" })}
|
|
46
51
|
</Header.Content>
|
|
@@ -25,7 +25,12 @@ const ActionNew = () => {
|
|
|
25
25
|
<Container as={Segment} text className="ai-action-edit ai-action-new">
|
|
26
26
|
<div className="ai-action-edit-header">
|
|
27
27
|
<Header as="h2">
|
|
28
|
-
<Icon
|
|
28
|
+
<Icon
|
|
29
|
+
name={formatMessage({
|
|
30
|
+
id: "ai.actions.header.icon",
|
|
31
|
+
defaultMessage: "caret square right",
|
|
32
|
+
})}
|
|
33
|
+
/>
|
|
29
34
|
<Header.Content>
|
|
30
35
|
{formatMessage({ id: "ai.actions.actions.create" })}
|
|
31
36
|
</Header.Content>
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
Container,
|
|
8
8
|
Button,
|
|
9
9
|
} from "semantic-ui-react";
|
|
10
|
-
import { FormattedMessage } from "react-intl";
|
|
10
|
+
import { FormattedMessage, useIntl } from "react-intl";
|
|
11
11
|
import { Link } from "react-router-dom";
|
|
12
12
|
import { ACTION_NEW } from "@truedat/core/routes";
|
|
13
13
|
import { useActionsSearch } from "../../hooks/useActions";
|
|
@@ -15,10 +15,17 @@ import { ActionsTable } from "./ActionsTable";
|
|
|
15
15
|
import { ActionsContextProvider } from "./ActionsContext";
|
|
16
16
|
|
|
17
17
|
export function ActionsContent() {
|
|
18
|
+
const { formatMessage } = useIntl();
|
|
18
19
|
return (
|
|
19
20
|
<Segment>
|
|
20
21
|
<Header as="h2">
|
|
21
|
-
<Icon
|
|
22
|
+
<Icon
|
|
23
|
+
name={formatMessage({
|
|
24
|
+
id: "ai.actions.header.icon",
|
|
25
|
+
defaultMessage: "caret square right",
|
|
26
|
+
})}
|
|
27
|
+
circular
|
|
28
|
+
/>
|
|
22
29
|
<Header.Content>
|
|
23
30
|
<FormattedMessage id="ai.actions.header" />
|
|
24
31
|
<Header.Subheader>
|
|
@@ -45,7 +45,13 @@ export default function AiSandbox() {
|
|
|
45
45
|
return (
|
|
46
46
|
<Segment loading={loading}>
|
|
47
47
|
<Header as="h2">
|
|
48
|
-
<Icon
|
|
48
|
+
<Icon
|
|
49
|
+
circular
|
|
50
|
+
name={formatMessage({
|
|
51
|
+
id: "ai_sandbox.header.icon",
|
|
52
|
+
defaultMessage: "magic",
|
|
53
|
+
})}
|
|
54
|
+
/>
|
|
49
55
|
<Header.Content>
|
|
50
56
|
<FormattedMessage id="ai_sandbox.header" />
|
|
51
57
|
<Header.Subheader>
|
|
@@ -89,7 +89,13 @@ export default function Prompts() {
|
|
|
89
89
|
return (
|
|
90
90
|
<Segment loading={loading}>
|
|
91
91
|
<Header as="h2">
|
|
92
|
-
<Icon
|
|
92
|
+
<Icon
|
|
93
|
+
circular
|
|
94
|
+
name={formatMessage({
|
|
95
|
+
id: "prompts.header.icon",
|
|
96
|
+
defaultMessage: "map signs",
|
|
97
|
+
})}
|
|
98
|
+
/>
|
|
93
99
|
<Header.Content>
|
|
94
100
|
<FormattedMessage id="prompts.header" />
|
|
95
101
|
<Header.Subheader>
|
|
@@ -67,7 +67,13 @@ export default function Providers() {
|
|
|
67
67
|
return (
|
|
68
68
|
<Segment loading={loading}>
|
|
69
69
|
<Header as="h2">
|
|
70
|
-
<Icon
|
|
70
|
+
<Icon
|
|
71
|
+
circular
|
|
72
|
+
name={formatMessage({
|
|
73
|
+
id: "providers.header.icon",
|
|
74
|
+
defaultMessage: "map signs",
|
|
75
|
+
})}
|
|
76
|
+
/>
|
|
71
77
|
<Header.Content>
|
|
72
78
|
<FormattedMessage id="providers.header" />
|
|
73
79
|
<Header.Subheader>
|
|
@@ -67,7 +67,13 @@ export default function ResourceMappings() {
|
|
|
67
67
|
return (
|
|
68
68
|
<Segment loading={loading}>
|
|
69
69
|
<Header as="h2">
|
|
70
|
-
<Icon
|
|
70
|
+
<Icon
|
|
71
|
+
circular
|
|
72
|
+
name={formatMessage({
|
|
73
|
+
id: "resourceMappings.header.icon",
|
|
74
|
+
defaultMessage: "map signs",
|
|
75
|
+
})}
|
|
76
|
+
/>
|
|
71
77
|
<Header.Content>
|
|
72
78
|
<FormattedMessage id="resourceMappings.header" />
|
|
73
79
|
<Header.Subheader>
|