@visns-studio/visns-components 3.6.9 → 3.7.0
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/components/crm/DataGrid.jsx +14 -2
- package/package.json +10 -10
|
@@ -639,8 +639,20 @@ const DataGrid = forwardRef(
|
|
|
639
639
|
|
|
640
640
|
rowProps.onClick = (event) => {
|
|
641
641
|
onRowClick(rowProps, event);
|
|
642
|
-
|
|
643
|
-
|
|
642
|
+
|
|
643
|
+
const cellElement = event.target.closest(
|
|
644
|
+
'.InovuaReactDataGrid__cell'
|
|
645
|
+
);
|
|
646
|
+
const columnIndex = Array.from(
|
|
647
|
+
cellElement.parentNode.children
|
|
648
|
+
).indexOf(cellElement);
|
|
649
|
+
|
|
650
|
+
const column = rowProps.columns[columnIndex];
|
|
651
|
+
|
|
652
|
+
if (column.id === '__checkbox-column') {
|
|
653
|
+
if (onClick) {
|
|
654
|
+
onClick(event);
|
|
655
|
+
}
|
|
644
656
|
}
|
|
645
657
|
};
|
|
646
658
|
}, []);
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"@inovua/reactdatagrid-community": "^5.10.2",
|
|
4
|
-
"@tinymce/tinymce-react": "^
|
|
4
|
+
"@tinymce/tinymce-react": "^5.0.1",
|
|
5
5
|
"add": "^2.0.6",
|
|
6
|
-
"akar-icons": "^1.9.
|
|
6
|
+
"akar-icons": "^1.9.31",
|
|
7
7
|
"array-move": "^4.0.0",
|
|
8
8
|
"awesome-debounce-promise": "^2.1.0",
|
|
9
|
-
"axios": "^1.6.
|
|
9
|
+
"axios": "^1.6.8",
|
|
10
10
|
"file-saver": "^2.0.5",
|
|
11
|
-
"framer-motion": "^11.0.
|
|
12
|
-
"html-react-parser": "^5.1.
|
|
11
|
+
"framer-motion": "^11.0.24",
|
|
12
|
+
"html-react-parser": "^5.1.10",
|
|
13
13
|
"lodash": "^4.17.21",
|
|
14
14
|
"lodash.debounce": "^4.0.8",
|
|
15
15
|
"moment": "^2.30.1",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"react-color": "^2.19.3",
|
|
21
21
|
"react-confirm-alert": "^3.0.6",
|
|
22
22
|
"react-copy-to-clipboard": "^5.1.0",
|
|
23
|
-
"react-datepicker": "^
|
|
23
|
+
"react-datepicker": "^6.6.0",
|
|
24
24
|
"react-dropzone": "^14.2.3",
|
|
25
|
-
"react-number-format": "^5.3.
|
|
25
|
+
"react-number-format": "^5.3.4",
|
|
26
26
|
"react-password-strength-bar": "^0.4.1",
|
|
27
27
|
"react-promise-tracker": "^2.1.1",
|
|
28
28
|
"react-quill": "^2.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"react-slugify": "^3.0.3",
|
|
32
32
|
"react-sortable-hoc": "^2.0.0",
|
|
33
33
|
"react-to-print": "^2.15.1",
|
|
34
|
-
"react-toastify": "^10.0.
|
|
34
|
+
"react-toastify": "^10.0.5",
|
|
35
35
|
"react-toggle": "^4.1.3",
|
|
36
36
|
"react-tooltip": "^5.26.3",
|
|
37
37
|
"react-window": "^1.8.10",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"truncate": "^3.0.0",
|
|
40
40
|
"uuid": "^9.0.1",
|
|
41
41
|
"validator": "^13.11.0",
|
|
42
|
-
"yarn": "^1.22.
|
|
42
|
+
"yarn": "^1.22.22"
|
|
43
43
|
},
|
|
44
44
|
"devDependecies": {
|
|
45
45
|
"react": "^18.2.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react-dom": "^17.0.1"
|
|
51
51
|
},
|
|
52
52
|
"name": "@visns-studio/visns-components",
|
|
53
|
-
"version": "3.
|
|
53
|
+
"version": "3.7.0",
|
|
54
54
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
55
55
|
"main": "index.js",
|
|
56
56
|
"scripts": {
|