@truedat/ai 8.10.0 → 8.10.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/ai",
3
- "version": "8.10.0",
3
+ "version": "8.10.2",
4
4
  "description": "Truedat Web Artificial Intelligence package",
5
5
  "sideEffects": false,
6
6
  "module": "src/index.js",
@@ -9,6 +9,9 @@
9
9
  ],
10
10
  "author": "Bluetab Solutions",
11
11
  "license": "GPL-3.0",
12
+ "engines": {
13
+ "node": ">=22.22.0"
14
+ },
12
15
  "publishConfig": {
13
16
  "access": "public"
14
17
  },
@@ -34,7 +37,7 @@
34
37
  ],
35
38
  "testEnvironment": "jsdom",
36
39
  "transform": {
37
- "\\.js$": [
40
+ "\\.m?js$": [
38
41
  "babel-jest",
39
42
  {
40
43
  "rootMode": "upward"
@@ -42,7 +45,7 @@
42
45
  ]
43
46
  },
44
47
  "transformIgnorePatterns": [
45
- "/node_modules/(?!marked|turndown|@tiptap)/"
48
+ "/node_modules/(?!marked|turndown|@tiptap|react-router|cookie-es)/"
46
49
  ]
47
50
  },
48
51
  "devDependencies": {
@@ -50,7 +53,7 @@
50
53
  "@testing-library/jest-dom": "^6.6.3",
51
54
  "@testing-library/react": "^16.3.0",
52
55
  "@testing-library/user-event": "^14.6.1",
53
- "@truedat/test": "8.10.0",
56
+ "@truedat/test": "8.10.2",
54
57
  "identity-obj-proxy": "^3.0.0",
55
58
  "jest": "^29.7.0",
56
59
  "redux-saga-test-plan": "^4.0.6"
@@ -65,20 +68,20 @@
65
68
  "phoenix": "^1.7.10",
66
69
  "prop-types": "^15.8.1",
67
70
  "query-string": "^7.1.3",
68
- "react": "^19.1.0",
71
+ "react": "^19.2.7",
69
72
  "react-csv": "^2.2.2",
70
- "react-dom": "^19.1.0",
73
+ "react-dom": "^19.2.7",
71
74
  "react-dropzone": "^14.3.8",
72
75
  "react-hook-form": "^7.56.4",
73
76
  "react-intl": "^7.1.11",
74
77
  "react-moment": "^1.1.3",
75
78
  "react-redux": "^9.2.0",
76
- "react-router": "^7.15.0",
79
+ "react-router": "^8.3.0",
77
80
  "redux": "^5.0.1",
78
81
  "redux-saga": "^1.3.0",
79
82
  "redux-saga-routines": "^3.2.3",
80
83
  "semantic-ui-react": "^3.0.0-beta.2",
81
84
  "swr": "^2.3.3"
82
85
  },
83
- "gitHead": "f18f60e317c52a90197068ed60908966ca7f58f0"
86
+ "gitHead": "40436c0d8d650f31421d9695035f2d54e5b1c28c"
84
87
  }
@@ -74,6 +74,28 @@ export default function AzureOpenai() {
74
74
  />
75
75
  )}
76
76
  />
77
+ <Controller
78
+ control={control}
79
+ name="properties.model"
80
+ render={({
81
+ field: { onBlur, onChange, value },
82
+ fieldState: { error },
83
+ }) => (
84
+ <Form.Input
85
+ autoComplete="off"
86
+ placeholder={formatMessage({
87
+ id: "providerProperties.form.model",
88
+ })}
89
+ error={error?.message}
90
+ label={formatMessage({
91
+ id: "providerProperties.form.model",
92
+ })}
93
+ onBlur={onBlur}
94
+ onChange={(_e, { value }) => onChange(value)}
95
+ value={value}
96
+ />
97
+ )}
98
+ />
77
99
  <Controller
78
100
  control={control}
79
101
  name="properties.api_version"