@visns-studio/visns-components 3.4.2 → 3.4.5
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.
|
@@ -2034,6 +2034,7 @@ const DataGrid = forwardRef(
|
|
|
2034
2034
|
});
|
|
2035
2035
|
|
|
2036
2036
|
setFilterValue(newFilterValue);
|
|
2037
|
+
setSelected([]);
|
|
2037
2038
|
}, [columns, filterDataSource]);
|
|
2038
2039
|
|
|
2039
2040
|
useEffect(() => {
|
|
@@ -2114,6 +2115,8 @@ const DataGrid = forwardRef(
|
|
|
2114
2115
|
updateFilterDataSource(filterName, column.filter.options);
|
|
2115
2116
|
}
|
|
2116
2117
|
});
|
|
2118
|
+
|
|
2119
|
+
setSelected([]);
|
|
2117
2120
|
}, [columns]);
|
|
2118
2121
|
|
|
2119
2122
|
// Data Grid Styling
|
package/components/crm/Field.jsx
CHANGED
|
@@ -233,6 +233,7 @@ function Field({
|
|
|
233
233
|
'copytoclipboard',
|
|
234
234
|
'date',
|
|
235
235
|
'datetime',
|
|
236
|
+
'dynamicdata',
|
|
236
237
|
'file',
|
|
237
238
|
'gallery',
|
|
238
239
|
'image',
|
|
@@ -451,6 +452,7 @@ function Field({
|
|
|
451
452
|
: ''}
|
|
452
453
|
</div>
|
|
453
454
|
);
|
|
455
|
+
case 'dynamicdata':
|
|
454
456
|
case 'plaintext':
|
|
455
457
|
return (
|
|
456
458
|
<div
|
|
@@ -459,8 +461,13 @@ function Field({
|
|
|
459
461
|
settings.height
|
|
460
462
|
? {
|
|
461
463
|
height: settings.height,
|
|
464
|
+
paddingTop: '10px',
|
|
465
|
+
marginLeft: '13px',
|
|
466
|
+
}
|
|
467
|
+
: {
|
|
468
|
+
paddingTop: '10px',
|
|
469
|
+
marginLeft: '13px',
|
|
462
470
|
}
|
|
463
|
-
: {}
|
|
464
471
|
}
|
|
465
472
|
>
|
|
466
473
|
{inputValue && inputValue !== 'null' ? inputValue : ''}
|
|
@@ -945,6 +952,7 @@ function Field({
|
|
|
945
952
|
'copytoclipboard',
|
|
946
953
|
'date',
|
|
947
954
|
'datetime',
|
|
955
|
+
'dynamicdata',
|
|
948
956
|
'file',
|
|
949
957
|
'gallery',
|
|
950
958
|
'image',
|
package/package.json
CHANGED