@visns-studio/visns-components 4.10.1 → 4.10.3
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@emotion/is-prop-valid": "^1.3.
|
|
4
|
-
"@fontsource/barlow": "^5.0
|
|
3
|
+
"@emotion/is-prop-valid": "^1.3.1",
|
|
4
|
+
"@fontsource/barlow": "^5.1.0",
|
|
5
5
|
"@inovua/reactdatagrid-community": "^5.10.2",
|
|
6
6
|
"@inovua/reactdatagrid-enterprise": "^5.10.2",
|
|
7
7
|
"@nivo/bar": "^0.87.0",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@nivo/line": "^0.87.0",
|
|
10
10
|
"@nivo/pie": "^0.87.0",
|
|
11
11
|
"@tinymce/tinymce-react": "^5.1.1",
|
|
12
|
-
"@vitejs/plugin-react": "^4.3.
|
|
12
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
13
13
|
"add": "^2.0.6",
|
|
14
14
|
"akar-icons": "^1.9.31",
|
|
15
15
|
"array-move": "^4.0.0",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"axios": "^1.7.7",
|
|
18
18
|
"dayjs": "^1.11.13",
|
|
19
19
|
"file-saver": "^2.0.5",
|
|
20
|
-
"framer-motion": "^11.
|
|
21
|
-
"html-react-parser": "^5.1.
|
|
20
|
+
"framer-motion": "^11.11.9",
|
|
21
|
+
"html-react-parser": "^5.1.18",
|
|
22
22
|
"lodash": "^4.17.21",
|
|
23
23
|
"lodash.debounce": "^4.0.8",
|
|
24
24
|
"moment": "^2.30.1",
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
"react-color": "^2.19.3",
|
|
30
30
|
"react-confirm-alert": "^3.0.6",
|
|
31
31
|
"react-copy-to-clipboard": "^5.1.0",
|
|
32
|
-
"react-datepicker": "^7.
|
|
33
|
-
"react-dropzone": "^14.2.
|
|
32
|
+
"react-datepicker": "^7.5.0",
|
|
33
|
+
"react-dropzone": "^14.2.10",
|
|
34
34
|
"react-grid-gallery": "^1.0.1",
|
|
35
|
-
"react-number-format": "^5.4.
|
|
35
|
+
"react-number-format": "^5.4.2",
|
|
36
36
|
"react-password-strength-bar": "^0.4.1",
|
|
37
37
|
"react-promise-tracker": "^2.1.1",
|
|
38
38
|
"react-quill": "^2.0.0",
|
|
39
39
|
"react-reveal": "^1.2.2",
|
|
40
|
-
"react-router-dom": "^6.
|
|
41
|
-
"react-select": "^5.8.
|
|
42
|
-
"react-signature-pad-wrapper": "^4.0.
|
|
40
|
+
"react-router-dom": "^6.27.0",
|
|
41
|
+
"react-select": "^5.8.1",
|
|
42
|
+
"react-signature-pad-wrapper": "^4.0.4",
|
|
43
43
|
"react-slugify": "^4.0.1",
|
|
44
44
|
"react-sortable-hoc": "^2.0.0",
|
|
45
45
|
"react-to-print": "^2.15.1",
|
|
46
|
-
"react-toastify": "^10.0.
|
|
46
|
+
"react-toastify": "^10.0.6",
|
|
47
47
|
"react-toggle": "^4.1.3",
|
|
48
48
|
"react-tooltip": "^5.28.0",
|
|
49
49
|
"react-window": "^1.8.10",
|
|
@@ -52,30 +52,30 @@
|
|
|
52
52
|
"truncate": "^3.0.0",
|
|
53
53
|
"uuid": "^10.0.0",
|
|
54
54
|
"validator": "^13.12.0",
|
|
55
|
-
"vite": "^5.4.
|
|
55
|
+
"vite": "^5.4.10",
|
|
56
56
|
"yarn": "^1.22.22"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@babel/core": "^7.25.
|
|
60
|
-
"@babel/plugin-transform-runtime": "^7.25.
|
|
61
|
-
"@babel/preset-env": "^7.25.
|
|
62
|
-
"@babel/preset-react": "^7.
|
|
63
|
-
"babel-loader": "^9.1
|
|
59
|
+
"@babel/core": "^7.25.9",
|
|
60
|
+
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
61
|
+
"@babel/preset-env": "^7.25.9",
|
|
62
|
+
"@babel/preset-react": "^7.25.9",
|
|
63
|
+
"babel-loader": "^9.2.1",
|
|
64
64
|
"copy-webpack-plugin": "^12.0.2",
|
|
65
65
|
"css-loader": "^7.1.2",
|
|
66
66
|
"css-minimizer-webpack-plugin": "^7.0.0",
|
|
67
67
|
"mini-css-extract-plugin": "^2.9.1",
|
|
68
68
|
"react": "^18.3.1",
|
|
69
69
|
"react-dom": "^18.3.1",
|
|
70
|
-
"sass": "^1.
|
|
71
|
-
"sass-loader": "^16.0.
|
|
70
|
+
"sass": "^1.80.3",
|
|
71
|
+
"sass-loader": "^16.0.2"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"react": "^17.0.0 || ^18.0.0",
|
|
75
75
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
76
76
|
},
|
|
77
77
|
"name": "@visns-studio/visns-components",
|
|
78
|
-
"version": "4.10.
|
|
78
|
+
"version": "4.10.3",
|
|
79
79
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
80
80
|
"main": "src/index.js",
|
|
81
81
|
"files": [
|
|
@@ -46,7 +46,15 @@ const renderValue = (field, data) => {
|
|
|
46
46
|
case 'opportunities':
|
|
47
47
|
return data[table][key];
|
|
48
48
|
case 'clients':
|
|
49
|
-
|
|
49
|
+
if (key === 'surname' && !data[key]) {
|
|
50
|
+
return data['lastname'] || '';
|
|
51
|
+
} else {
|
|
52
|
+
return data['client']
|
|
53
|
+
? data['client'][key]
|
|
54
|
+
: data[key]
|
|
55
|
+
? data[key]
|
|
56
|
+
: null;
|
|
57
|
+
}
|
|
50
58
|
default:
|
|
51
59
|
if (key === 'surname' && !data[key]) {
|
|
52
60
|
return data['lastname'] || '';
|