@myunisoft/design-system 0.16.2-patch.1 → 0.16.4

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/CHANGELOG.md CHANGED
@@ -1,144 +1,152 @@
1
- # Changelog
2
- ## v0.16.1 (15/06/2022)
3
- #### Bug Fixes
4
- - [MYUN-21986](https://myunisoft.atlassian.net/browse/MYUN-21986) [VirtualTable] Fix `DateCell` cannot be cleared
5
- - [MYUN-20845](https://myunisoft.atlassian.net/browse/MYUN-20845) [VirtualTable] Fix typo in `SearchBar` placeholder
6
-
7
- ## v0.16.0 (02/06/2022)
8
- #### Enhancements
9
- - [MYUN-21869](https://myunisoft.atlassian.net/browse/MYUN-21869) Add `onCustomScroll` prop.
10
-
11
- ## v0.15.3 (14/04/2022)
12
- #### Bug Fixes
13
- - [MYUN-20875](https://myunisoft.atlassian.net/browse/MYUN-20875) Apply actions to visible rows
14
- - [MYUN-20635](https://myunisoft.atlassian.net/browse/MYUN-20635) Prevent "Invalid Date" warning in browser
15
-
16
- ## v0.15.2 (31/03/2022)
17
- #### Enhancements
18
- - [MYUN-20126](https://myunisoft.atlassian.net/browse/MYUN-20126) Clean old code
19
- #### Bug Fixes
20
- - [MYUN-12876](https://myunisoft.atlassian.net/browse/MYUN-12876) Error tooltip
21
-
22
- ## v0.13.0 (16/02/2022)
23
- #### Enhancements
24
- - [MYUN-18987](https://myunisoft.atlassian.net/browse/MYUN-18987) Add `renderExport` support for all column types.
25
- - [MYUN-19425](https://myunisoft.atlassian.net/browse/MYUN-19425) Improve filtering of number/amount columns.
26
-
27
- ---
28
- ## v0.12.1 (11/02/2022)
29
- #### Bug Fixes
30
- - [MYUN-19389](https://myunisoft.atlassian.net/browse/MYUN-19389) Fix `isEdit` callback value.
31
- ---
32
- ## v0.12.0 (04/02/2022)
33
-
34
- #### Enhancements
35
- - [MYUN-19149](https://myunisoft.atlassian.net/browse/MYUN-19149) Add `handleCancel` callback property.
36
- - [MYUN-19098](https://myunisoft.atlassian.net/browse/MYUN-19098) Pass row data to `sortComparator` function.
37
-
38
- ---
39
- ## v0.11.0 (31/01/2022)
40
- #### Enhancements
41
- - [MYUN-18606](https://myunisoft.atlassian.net/browse/MYUN-18606) Improve selection strategy using apiRef.
42
- - [MYUN-17800](https://myunisoft.atlassian.net/browse/MYUN-17800) Add print and pdf export.
43
- #### Bug Fixes
44
- - [MYUN-18890](https://myunisoft.atlassian.net/browse/MYUN-18890) Fix filtering with "0" value.
45
- ---
46
- ## v0.10.4 (25/01/2022)
47
-
48
- #### Enhancements
49
- - [MYUN-18490](https://myunisoft.atlassian.net/browse/MYUN-18490) Add config option to ContextMenu and improve calculation timing.
50
- - [MYUN-18618](https://myunisoft.atlassian.net/browse/MYUN-18618) Add `enableColumnEdition` config property.
51
- #### Bug Fixes
52
- - [MYUN-18781](https://myunisoft.atlassian.net/browse/MYUN-18781) Fix AmountCell update from data changes.
53
- - [MYUN-18474](https://myunisoft.atlassian.net/browse/MYUN-18474) Fix useColumn hook to get added columns.
54
- - [MYUN-16618](https://myunisoft.atlassian.net/browse/MYUN-16618) Return cell datas in AttachmentCell.
55
- ---
56
- ## v0.10.3 (14/01/2022)
57
- #### Enhancements
58
- - [MYUN-18568](https://myunisoft.atlassian.net/browse/MYUN-18568) Add `addRowLabel` config property to override the "Add a new line +" label.
59
- - [MYUN-18567](https://myunisoft.atlassian.net/browse/MYUN-18567) Add `defaultOrder` and `defaultOrderDirection` config properties.
60
- ---
61
- ## v0.10.2 (12/01/2022)
62
- #### Bug Fixes
63
- - [MYUN-18174](https://myunisoft.atlassian.net/browse/MYUN-18174) Fix column witdh in ColumnsSetting component
64
- - [MYUN-18334](https://myunisoft.atlassian.net/browse/MYUN-18334) Fix row deleting function
65
- - [MYUN-18426](https://myunisoft.atlassian.net/browse/MYUN-18426) Fix filter options for column with typeCell as select.
66
- ---
67
- ## v0.10.1 (07/01/2022)
68
- #### Bug Fixes
69
- - Fix build process
70
- ---
71
- ## v0.10.0 (07/01/2022)
72
- #### Enhancements
73
- - [MYUN-18239](https://myunisoft.atlassian.net/browse/MYUN-18239) Expose export method outside the VT using the new [API](https://myunisoft.github.io/design-system/docs/virtual-table/api) system.
74
- - [MYUN-16618](https://myunisoft.atlassian.net/browse/MYUN-16618) Refactoring of AttachmentCell using the new [FileDropper](https://myunisoft.github.io/design-system/docs/inputs/FileDropper) component.
75
-
76
- #### Bug Fixes
77
- - [MYUN-18334](https://myunisoft.atlassian.net/browse/MYUN-18334) Fix amountCell refresh when a row is deleted.
78
- - [MYUN-18127](https://myunisoft.atlassian.net/browse/MYUN-18127) Fix all rows selection logic to prevent crash with high number of rows.
79
- ---
80
- ## v0.9.6
81
-
82
- #### Bug Fixes
83
- - [MYUN-17573](https://myunisoft.atlassian.net/browse/MYUN-17573) Fix scroll synchronisation delay
84
- - [MYUN-18061](https://myunisoft.atlassian.net/browse/MYUN-18061) Fix `totalrows` data attribute
85
-
86
- ---
87
- ## v0.9.5 (23/12/2021)
88
-
89
- #### Enhancements
90
-
91
- - [MYUN-18061](https://myunisoft.atlassian.net/browse/MYUN-18061) Add a length row property in a empty div in the VT just for cypress testing
92
-
93
- ---
94
- ## v0.9.4 (16/12/2021)
95
-
96
- #### Enhancements
97
-
98
- - [MYUN-17509](https://myunisoft.atlassian.net/browse/MYUN-17509) Add disabled, className and style property to `select` typeCell
99
-
100
- #### Bug Fixes
101
-
102
- - [MYUN-17850](https://myunisoft.atlassian.net/browse/MYUN-17850) Fix export of empty wallet cell
103
-
104
- ---
105
-
106
- ## v0.9.3 (13/12/2021)
107
-
108
- #### Bug Fixes
109
-
110
- - [MYUN-17516](https://myunisoft.atlassian.net/browse/MYUN-17516) Fix export of switch badge cell
111
-
112
- ---
113
-
114
- ## v0.9.2 (08/12/2021)
115
-
116
- #### Bug Fixes
117
-
118
- - [MYUN-17516](https://myunisoft.atlassian.net/browse/MYUN-17516) Fix export of empty badge cell
119
- - [MYUN-17665](https://myunisoft.atlassian.net/browse/MYUN-17665) Activate save button on edit
120
-
121
- ---
122
-
123
- ## v0.9.1 (06/12/2021)
124
-
125
- #### Bug Fixes:
126
-
127
- - [MYUN-17505](https://myunisoft.atlassian.net/browse/MYUN-17505) Add `rowIndex` property to RenderComponent callback
128
- - [MYUN-17584](https://myunisoft.atlassian.net/browse/MYUN-17584) Fix `typeCell` in columnsSettings and doc
129
-
130
- ---
131
-
132
- ## v0.9.0 (03/12/2021)
133
-
134
- #### Enhancements:
135
-
136
- - [MYUN-17510](https://myunisoft.atlassian.net/browse/MYUN-17510) Handle custom sortable
137
-
138
- ---
139
-
140
- ## v0.8.4 (02/12/2021)
141
-
142
- #### Bug Fixes:
143
-
144
- - [MYUN-16553](https://myunisoft.atlassian.net/browse/MYUN-16553) Editable AmountCell are not clickable when empty
1
+ # Changelog
2
+ ## v0.16.4 (18/07/2022)
3
+ - [MYUN-22693 ](https://myunisoft.atlassian.net/browse/MYUN-22693 ) [VirtualTable] Fix crash add fallback value for SelecCell when options array is empty
4
+
5
+ ## v0.16.2 (05/07/2022)
6
+ #### Bug Fixes
7
+ - [MYUN-22357](https://myunisoft.atlassian.net/browse/MYUN-22357) [VirtualTable] Fix crash when using `tooltipDetail`
8
+ - [MYUN-22462](https://myunisoft.atlassian.net/browse/MYUN-22462) [VirtualTable] Unfilterable columns are displayed as filterable
9
+ - [MYUN-22510](https://myunisoft.atlassian.net/browse/MYUN-22510) [VirtualTable] Fix bug renderLabelCustom in select cell VT
10
+ ## v0.16.1 (15/06/2022)
11
+ #### Bug Fixes
12
+ - [MYUN-21986](https://myunisoft.atlassian.net/browse/MYUN-21986) [VirtualTable] Fix `DateCell` cannot be cleared
13
+ - [MYUN-20845](https://myunisoft.atlassian.net/browse/MYUN-20845) [VirtualTable] Fix typo in `SearchBar` placeholder
14
+
15
+ ## v0.16.0 (02/06/2022)
16
+ #### Enhancements
17
+ - [MYUN-21869](https://myunisoft.atlassian.net/browse/MYUN-21869) Add `onCustomScroll` prop.
18
+
19
+ ## v0.15.3 (14/04/2022)
20
+ #### Bug Fixes
21
+ - [MYUN-20875](https://myunisoft.atlassian.net/browse/MYUN-20875) Apply actions to visible rows
22
+ - [MYUN-20635](https://myunisoft.atlassian.net/browse/MYUN-20635) Prevent "Invalid Date" warning in browser
23
+
24
+ ## v0.15.2 (31/03/2022)
25
+ #### Enhancements
26
+ - [MYUN-20126](https://myunisoft.atlassian.net/browse/MYUN-20126) Clean old code
27
+ #### Bug Fixes
28
+ - [MYUN-12876](https://myunisoft.atlassian.net/browse/MYUN-12876) Error tooltip
29
+
30
+ ## v0.13.0 (16/02/2022)
31
+ #### Enhancements
32
+ - [MYUN-18987](https://myunisoft.atlassian.net/browse/MYUN-18987) Add `renderExport` support for all column types.
33
+ - [MYUN-19425](https://myunisoft.atlassian.net/browse/MYUN-19425) Improve filtering of number/amount columns.
34
+
35
+ ---
36
+ ## v0.12.1 (11/02/2022)
37
+ #### Bug Fixes
38
+ - [MYUN-19389](https://myunisoft.atlassian.net/browse/MYUN-19389) Fix `isEdit` callback value.
39
+ ---
40
+ ## v0.12.0 (04/02/2022)
41
+
42
+ #### Enhancements
43
+ - [MYUN-19149](https://myunisoft.atlassian.net/browse/MYUN-19149) Add `handleCancel` callback property.
44
+ - [MYUN-19098](https://myunisoft.atlassian.net/browse/MYUN-19098) Pass row data to `sortComparator` function.
45
+
46
+ ---
47
+ ## v0.11.0 (31/01/2022)
48
+ #### Enhancements
49
+ - [MYUN-18606](https://myunisoft.atlassian.net/browse/MYUN-18606) Improve selection strategy using apiRef.
50
+ - [MYUN-17800](https://myunisoft.atlassian.net/browse/MYUN-17800) Add print and pdf export.
51
+ #### Bug Fixes
52
+ - [MYUN-18890](https://myunisoft.atlassian.net/browse/MYUN-18890) Fix filtering with "0" value.
53
+ ---
54
+ ## v0.10.4 (25/01/2022)
55
+
56
+ #### Enhancements
57
+ - [MYUN-18490](https://myunisoft.atlassian.net/browse/MYUN-18490) Add config option to ContextMenu and improve calculation timing.
58
+ - [MYUN-18618](https://myunisoft.atlassian.net/browse/MYUN-18618) Add `enableColumnEdition` config property.
59
+ #### Bug Fixes
60
+ - [MYUN-18781](https://myunisoft.atlassian.net/browse/MYUN-18781) Fix AmountCell update from data changes.
61
+ - [MYUN-18474](https://myunisoft.atlassian.net/browse/MYUN-18474) Fix useColumn hook to get added columns.
62
+ - [MYUN-16618](https://myunisoft.atlassian.net/browse/MYUN-16618) Return cell datas in AttachmentCell.
63
+ ---
64
+ ## v0.10.3 (14/01/2022)
65
+ #### Enhancements
66
+ - [MYUN-18568](https://myunisoft.atlassian.net/browse/MYUN-18568) Add `addRowLabel` config property to override the "Add a new line +" label.
67
+ - [MYUN-18567](https://myunisoft.atlassian.net/browse/MYUN-18567) Add `defaultOrder` and `defaultOrderDirection` config properties.
68
+ ---
69
+ ## v0.10.2 (12/01/2022)
70
+ #### Bug Fixes
71
+ - [MYUN-18174](https://myunisoft.atlassian.net/browse/MYUN-18174) Fix column witdh in ColumnsSetting component
72
+ - [MYUN-18334](https://myunisoft.atlassian.net/browse/MYUN-18334) Fix row deleting function
73
+ - [MYUN-18426](https://myunisoft.atlassian.net/browse/MYUN-18426) Fix filter options for column with typeCell as select.
74
+ ---
75
+ ## v0.10.1 (07/01/2022)
76
+ #### Bug Fixes
77
+ - Fix build process
78
+ ---
79
+ ## v0.10.0 (07/01/2022)
80
+ #### Enhancements
81
+ - [MYUN-18239](https://myunisoft.atlassian.net/browse/MYUN-18239) Expose export method outside the VT using the new [API](https://myunisoft.github.io/design-system/docs/virtual-table/api) system.
82
+ - [MYUN-16618](https://myunisoft.atlassian.net/browse/MYUN-16618) Refactoring of AttachmentCell using the new [FileDropper](https://myunisoft.github.io/design-system/docs/inputs/FileDropper) component.
83
+
84
+ #### Bug Fixes
85
+ - [MYUN-18334](https://myunisoft.atlassian.net/browse/MYUN-18334) Fix amountCell refresh when a row is deleted.
86
+ - [MYUN-18127](https://myunisoft.atlassian.net/browse/MYUN-18127) Fix all rows selection logic to prevent crash with high number of rows.
87
+ ---
88
+ ## v0.9.6
89
+
90
+ #### Bug Fixes
91
+ - [MYUN-17573](https://myunisoft.atlassian.net/browse/MYUN-17573) Fix scroll synchronisation delay
92
+ - [MYUN-18061](https://myunisoft.atlassian.net/browse/MYUN-18061) Fix `totalrows` data attribute
93
+
94
+ ---
95
+ ## v0.9.5 (23/12/2021)
96
+
97
+ #### Enhancements
98
+
99
+ - [MYUN-18061](https://myunisoft.atlassian.net/browse/MYUN-18061) Add a length row property in a empty div in the VT just for cypress testing
100
+
101
+ ---
102
+ ## v0.9.4 (16/12/2021)
103
+
104
+ #### Enhancements
105
+
106
+ - [MYUN-17509](https://myunisoft.atlassian.net/browse/MYUN-17509) Add disabled, className and style property to `select` typeCell
107
+
108
+ #### Bug Fixes
109
+
110
+ - [MYUN-17850](https://myunisoft.atlassian.net/browse/MYUN-17850) Fix export of empty wallet cell
111
+
112
+ ---
113
+
114
+ ## v0.9.3 (13/12/2021)
115
+
116
+ #### Bug Fixes
117
+
118
+ - [MYUN-17516](https://myunisoft.atlassian.net/browse/MYUN-17516) Fix export of switch badge cell
119
+
120
+ ---
121
+
122
+ ## v0.9.2 (08/12/2021)
123
+
124
+ #### Bug Fixes
125
+
126
+ - [MYUN-17516](https://myunisoft.atlassian.net/browse/MYUN-17516) Fix export of empty badge cell
127
+ - [MYUN-17665](https://myunisoft.atlassian.net/browse/MYUN-17665) Activate save button on edit
128
+
129
+ ---
130
+
131
+ ## v0.9.1 (06/12/2021)
132
+
133
+ #### Bug Fixes:
134
+
135
+ - [MYUN-17505](https://myunisoft.atlassian.net/browse/MYUN-17505) Add `rowIndex` property to RenderComponent callback
136
+ - [MYUN-17584](https://myunisoft.atlassian.net/browse/MYUN-17584) Fix `typeCell` in columnsSettings and doc
137
+
138
+ ---
139
+
140
+ ## v0.9.0 (03/12/2021)
141
+
142
+ #### Enhancements:
143
+
144
+ - [MYUN-17510](https://myunisoft.atlassian.net/browse/MYUN-17510) Handle custom sortable
145
+
146
+ ---
147
+
148
+ ## v0.8.4 (02/12/2021)
149
+
150
+ #### Bug Fixes:
151
+
152
+ - [MYUN-16553](https://myunisoft.atlassian.net/browse/MYUN-16553) Editable AmountCell are not clickable when empty
package/dist/index.js CHANGED
@@ -215,7 +215,7 @@ var $1eb7cba72eb8d5c7$var$VirtualTable = /*#__PURE__*/ $1eb7cba72eb8d5c7$var$_re
215
215
  var _useState3 = (0, $1eb7cba72eb8d5c7$var$_react.useState)(0), _useState4 = (0, $1eb7cba72eb8d5c7$var$_slicedToArray2["default"])(_useState3, 2), horizontalPadding = _useState4[0], setHorizontalPadding = _useState4[1];
216
216
  var config = $1eb7cba72eb8d5c7$var$_objectSpread($1eb7cba72eb8d5c7$var$_objectSpread({
217
217
  }, $1eb7cba72eb8d5c7$var$defaultConfig), configProps);
218
- var _config$insertPositio = config.insertPosition, insertPosition = _config$insertPositio === void 0 ? $6QL76.INSERT_POSITION.TOP : _config$insertPositio, columnsRaw = config.columns, _config$hasFooter = config.hasFooter, hasFooter = _config$hasFooter === void 0 ? false : _config$hasFooter, _config$hasHeader = config.hasHeader, hasHeader = _config$hasHeader === void 0 ? true : _config$hasHeader, _config$selectableRow = config.selectableRow, selectableRow = _config$selectableRow === void 0 ? false : _config$selectableRow, _config$selectableRow2 = config.selectableRowKey, selectableRowKey = _config$selectableRow2 === void 0 ? 'id' : _config$selectableRow2, _config$selectableOnl = config.selectableOnlyOneRow, selectableOnlyOneRow = _config$selectableOnl === void 0 ? false : _config$selectableOnl, customSelectionHeader = config.customSelectionHeader, _config$minCellWidth = config.minCellWidth, minCellWidth = _config$minCellWidth === void 0 ? 100 : _config$minCellWidth, _config$selectableBar = config.selectableBarInfo, selectableBarInfo = _config$selectableBar === void 0 ? false : _config$selectableBar, _config$modeAdd = config.modeAdd, modeAdd = _config$modeAdd === void 0 ? false : _config$modeAdd, _config$modeEdit = config.modeEdit, modeEdit = _config$modeEdit === void 0 ? false : _config$modeEdit, _config$modeDelete = config.modeDelete, modeDelete = _config$modeDelete === void 0 ? false : _config$modeDelete, _config$modeGroup = config.modeGroup, modeGroup = _config$modeGroup === void 0 ? false : _config$modeGroup, _config$alwaysInEditi = config.alwaysInEdition, alwaysInEdition = _config$alwaysInEditi === void 0 ? false : _config$alwaysInEditi, _config$dynamicHeight = config.dynamicHeight, dynamicHeight = _config$dynamicHeight === void 0 ? true : _config$dynamicHeight, _config$wrapHeaderTex = config.wrapHeaderText, wrapHeaderText = _config$wrapHeaderTex === void 0 ? false : _config$wrapHeaderTex, _config$rowHeight = config.rowHeight, rowHeight = _config$rowHeight === void 0 ? 32 : _config$rowHeight, headerHeight = config.headerHeight, _config$fixedColumns = config.fixedColumns, fixedColumns = _config$fixedColumns === void 0 ? 0 : _config$fixedColumns, onCustomAdd = config.onCustomAdd, _config$addOneByOne = config.addOneByOne, addOneByOne = _config$addOneByOne === void 0 ? false : _config$addOneByOne, _config$hasSearchbar = config.hasSearchbar, hasSearchbar = _config$hasSearchbar === void 0 ? true : _config$hasSearchbar, _config$groupKey = config.groupKey, groupKey = _config$groupKey === void 0 ? 'id' : _config$groupKey, _config$collapsedGrou = config.collapsedGroup, collapsedGroup = _config$collapsedGrou === void 0 ? false : _config$collapsedGrou, _config$hideToolbar = config.hideToolbar, hideToolbar = _config$hideToolbar === void 0 ? false : _config$hideToolbar, _config$hideCheckbox = config.hideCheckbox, hideCheckbox = _config$hideCheckbox === void 0 ? false : _config$hideCheckbox, _config$defaultOrder = config.defaultOrder, defaultOrder = _config$defaultOrder === void 0 ? '' : _config$defaultOrder, _config$defaultOrderD = config.defaultOrderDirection, defaultOrderDirection = _config$defaultOrderD === void 0 ? $6QL76.SORTABLE_DIRECTIONS.ASC : _config$defaultOrderD, addRowLabel = config.addRowLabel;
218
+ var _config$insertPositio = config.insertPosition, insertPosition = _config$insertPositio === void 0 ? $6QL76.INSERT_POSITION.TOP : _config$insertPositio, columnsRaw = config.columns, _config$hasFooter = config.hasFooter, hasFooter = _config$hasFooter === void 0 ? false : _config$hasFooter, _config$hasHeader = config.hasHeader, hasHeader = _config$hasHeader === void 0 ? true : _config$hasHeader, _config$selectableRow = config.selectableRow, selectableRow = _config$selectableRow === void 0 ? false : _config$selectableRow, _config$selectableRow2 = config.selectableRowKey, selectableRowKey = _config$selectableRow2 === void 0 ? 'id' : _config$selectableRow2, _config$selectableOnl = config.selectableOnlyOneRow, selectableOnlyOneRow = _config$selectableOnl === void 0 ? false : _config$selectableOnl, customSelectionHeader = config.customSelectionHeader, _config$minCellWidth = config.minCellWidth, minCellWidth = _config$minCellWidth === void 0 ? 100 : _config$minCellWidth, _config$selectableBar = config.selectableBarInfo, selectableBarInfo = _config$selectableBar === void 0 ? false : _config$selectableBar, _config$modeAdd = config.modeAdd, modeAdd = _config$modeAdd === void 0 ? false : _config$modeAdd, _config$modeEdit = config.modeEdit, modeEdit = _config$modeEdit === void 0 ? false : _config$modeEdit, _config$modeDelete = config.modeDelete, modeDelete = _config$modeDelete === void 0 ? false : _config$modeDelete, _config$modeGroup = config.modeGroup, modeGroup = _config$modeGroup === void 0 ? false : _config$modeGroup, _config$alwaysInEditi = config.alwaysInEdition, alwaysInEdition = _config$alwaysInEditi === void 0 ? false : _config$alwaysInEditi, _config$dynamicHeight = config.dynamicHeight, dynamicHeight = _config$dynamicHeight === void 0 ? true : _config$dynamicHeight, _config$wrapHeaderTex = config.wrapHeaderText, wrapHeaderText = _config$wrapHeaderTex === void 0 ? false : _config$wrapHeaderTex, _config$rowHeight = config.rowHeight, rowHeight = _config$rowHeight === void 0 ? 32 : _config$rowHeight, headerHeight = config.headerHeight, _config$fixedColumns = config.fixedColumns, fixedColumns = _config$fixedColumns === void 0 ? 0 : _config$fixedColumns, onCustomAdd = config.onCustomAdd, _config$addOneByOne = config.addOneByOne, addOneByOne = _config$addOneByOne === void 0 ? false : _config$addOneByOne, _config$hasSearchbar = config.hasSearchbar, hasSearchbar = _config$hasSearchbar === void 0 ? true : _config$hasSearchbar, _config$groupKey = config.groupKey, groupKey = _config$groupKey === void 0 ? 'id' : _config$groupKey, _config$collapsedGrou = config.collapsedGroup, collapsedGroup = _config$collapsedGrou === void 0 ? false : _config$collapsedGrou, _config$hideToolbar = config.hideToolbar, hideToolbar = _config$hideToolbar === void 0 ? false : _config$hideToolbar, _config$hideCheckbox = config.hideCheckbox, hideCheckbox = _config$hideCheckbox === void 0 ? false : _config$hideCheckbox, _config$defaultOrder = config.defaultOrder, defaultOrder = _config$defaultOrder === void 0 ? '' : _config$defaultOrder, _config$defaultOrderD = config.defaultOrderDirection, defaultOrderDirection = _config$defaultOrderD === void 0 ? $6QL76.SORTABLE_DIRECTIONS.ASC : _config$defaultOrderD, addRowLabel = config.addRowLabel, onCustomOrderChange = config.onCustomOrderChange;
219
219
  var cache = new $cMI0G$reactvirtualized.CellMeasurerCache({
220
220
  fixedWidth: true,
221
221
  defaultHeight: rowHeight,
@@ -237,7 +237,7 @@ var $1eb7cba72eb8d5c7$var$VirtualTable = /*#__PURE__*/ $1eb7cba72eb8d5c7$var$_re
237
237
  })), _useMachine2 = (0, $1eb7cba72eb8d5c7$var$_slicedToArray2["default"])(_useMachine, 4), state = _useMachine2[0], context = _useMachine2[1], send = _useMachine2[2], can = _useMachine2[3];
238
238
  var _useState5 = (0, $1eb7cba72eb8d5c7$var$_react.useState)({
239
239
  }), _useState6 = (0, $1eb7cba72eb8d5c7$var$_slicedToArray2["default"])(_useState5, 2), searchFilters = _useState6[0], setSearchFilters = _useState6[1];
240
- var _useSortable = (0, $iyFQa.useSortable)(defaultOrder, defaultOrderDirection), order = _useSortable.order, orderDirection = _useSortable.orderDirection, onOrderChange = _useSortable.onOrderChange;
240
+ var _useSortable = (0, $iyFQa.useSortable)(defaultOrder, defaultOrderDirection, onCustomOrderChange), order = _useSortable.order, orderDirection = _useSortable.orderDirection, onOrderChange = _useSortable.onOrderChange;
241
241
  var _useColumns = (0, $1eb7cba72eb8d5c7$var$_useColumns2["default"])(columnsRaw, tableKeyName, config), _columns = _useColumns.state, dispatchColumnsSetting = _useColumns.dispatch;
242
242
  var _useApiState = (0, $1eb7cba72eb8d5c7$var$_useApiState3["default"])(ref), _useApiState2 = (0, $1eb7cba72eb8d5c7$var$_slicedToArray2["default"])(_useApiState, 1), apiRef = _useApiState2[0];
243
243
  var CHECKBOX_COLUMN = 'checkboxColumn';
@@ -1046,10 +1046,16 @@ function $d82bdb97016b0ccf$var$_objectSpread(target) {
1046
1046
  }
1047
1047
  return target;
1048
1048
  }
1049
- var $d82bdb97016b0ccf$var$useSortable = function useSortable(defaultOrder, defaultOrderDirection) {
1049
+ var $d82bdb97016b0ccf$var$useSortable = function useSortable(defaultOrder, defaultOrderDirection, onCustomOrderChange) {
1050
1050
  var _useState = (0, $cMI0G$react.useState)(defaultOrder), _useState2 = (0, $d82bdb97016b0ccf$var$_slicedToArray2["default"])(_useState, 2), order = _useState2[0], setOrder = _useState2[1];
1051
1051
  var _useState3 = (0, $cMI0G$react.useState)(defaultOrderDirection), _useState4 = (0, $d82bdb97016b0ccf$var$_slicedToArray2["default"])(_useState3, 2), orderDirection = _useState4[0], setOrderDirection = _useState4[1];
1052
1052
  var onOrderChange = function onOrderChange(key) {
1053
+ if (typeof onCustomOrderChange === 'function' && key) {
1054
+ var orderDir = orderDirection === $6QL76.SORTABLE_DIRECTIONS.ASC ? 'desc' : 'asc';
1055
+ setOrderDirection(orderDir);
1056
+ onCustomOrderChange(key, orderDir);
1057
+ return;
1058
+ }
1053
1059
  if (key === order) setOrderDirection(function(prevState) {
1054
1060
  return prevState === $6QL76.SORTABLE_DIRECTIONS.ASC ? $6QL76.SORTABLE_DIRECTIONS.DESC : $6QL76.SORTABLE_DIRECTIONS.ASC;
1055
1061
  });
@@ -4298,7 +4304,7 @@ var $3b0b9e3b39a4e342$var$getViewData = function getViewData(data, column) {
4298
4304
  var value = _ref.value;
4299
4305
  return value === data;
4300
4306
  });
4301
- return (currentCellValue === null || currentCellValue === void 0 ? void 0 : currentCellValue.name) || (currentCellValue === null || currentCellValue === void 0 ? void 0 : currentCellValue.label);
4307
+ return (currentCellValue === null || currentCellValue === void 0 ? void 0 : currentCellValue.name) || (currentCellValue === null || currentCellValue === void 0 ? void 0 : currentCellValue.label) || '';
4302
4308
  };
4303
4309
  module.exports.getViewData = $3b0b9e3b39a4e342$var$getViewData;
4304
4310