@myunisoft/design-system 0.16.3 → 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,150 +1,152 @@
1
- # Changelog
2
-
3
- ## v0.16.2 (05/07/2022)
4
- #### Bug Fixes
5
- - [MYUN-22357](https://myunisoft.atlassian.net/browse/MYUN-22357) [VirtualTable] Fix crash when using `tooltipDetail`
6
- - [MYUN-22462](https://myunisoft.atlassian.net/browse/MYUN-22462) [VirtualTable] Unfilterable columns are displayed as filterable
7
- - [MYUN-22510](https://myunisoft.atlassian.net/browse/MYUN-22510) [VirtualTable] Fix bug renderLabelCustom in select cell VT
8
- ## v0.16.1 (15/06/2022)
9
- #### Bug Fixes
10
- - [MYUN-21986](https://myunisoft.atlassian.net/browse/MYUN-21986) [VirtualTable] Fix `DateCell` cannot be cleared
11
- - [MYUN-20845](https://myunisoft.atlassian.net/browse/MYUN-20845) [VirtualTable] Fix typo in `SearchBar` placeholder
12
-
13
- ## v0.16.0 (02/06/2022)
14
- #### Enhancements
15
- - [MYUN-21869](https://myunisoft.atlassian.net/browse/MYUN-21869) Add `onCustomScroll` prop.
16
-
17
- ## v0.15.3 (14/04/2022)
18
- #### Bug Fixes
19
- - [MYUN-20875](https://myunisoft.atlassian.net/browse/MYUN-20875) Apply actions to visible rows
20
- - [MYUN-20635](https://myunisoft.atlassian.net/browse/MYUN-20635) Prevent "Invalid Date" warning in browser
21
-
22
- ## v0.15.2 (31/03/2022)
23
- #### Enhancements
24
- - [MYUN-20126](https://myunisoft.atlassian.net/browse/MYUN-20126) Clean old code
25
- #### Bug Fixes
26
- - [MYUN-12876](https://myunisoft.atlassian.net/browse/MYUN-12876) Error tooltip
27
-
28
- ## v0.13.0 (16/02/2022)
29
- #### Enhancements
30
- - [MYUN-18987](https://myunisoft.atlassian.net/browse/MYUN-18987) Add `renderExport` support for all column types.
31
- - [MYUN-19425](https://myunisoft.atlassian.net/browse/MYUN-19425) Improve filtering of number/amount columns.
32
-
33
- ---
34
- ## v0.12.1 (11/02/2022)
35
- #### Bug Fixes
36
- - [MYUN-19389](https://myunisoft.atlassian.net/browse/MYUN-19389) Fix `isEdit` callback value.
37
- ---
38
- ## v0.12.0 (04/02/2022)
39
-
40
- #### Enhancements
41
- - [MYUN-19149](https://myunisoft.atlassian.net/browse/MYUN-19149) Add `handleCancel` callback property.
42
- - [MYUN-19098](https://myunisoft.atlassian.net/browse/MYUN-19098) Pass row data to `sortComparator` function.
43
-
44
- ---
45
- ## v0.11.0 (31/01/2022)
46
- #### Enhancements
47
- - [MYUN-18606](https://myunisoft.atlassian.net/browse/MYUN-18606) Improve selection strategy using apiRef.
48
- - [MYUN-17800](https://myunisoft.atlassian.net/browse/MYUN-17800) Add print and pdf export.
49
- #### Bug Fixes
50
- - [MYUN-18890](https://myunisoft.atlassian.net/browse/MYUN-18890) Fix filtering with "0" value.
51
- ---
52
- ## v0.10.4 (25/01/2022)
53
-
54
- #### Enhancements
55
- - [MYUN-18490](https://myunisoft.atlassian.net/browse/MYUN-18490) Add config option to ContextMenu and improve calculation timing.
56
- - [MYUN-18618](https://myunisoft.atlassian.net/browse/MYUN-18618) Add `enableColumnEdition` config property.
57
- #### Bug Fixes
58
- - [MYUN-18781](https://myunisoft.atlassian.net/browse/MYUN-18781) Fix AmountCell update from data changes.
59
- - [MYUN-18474](https://myunisoft.atlassian.net/browse/MYUN-18474) Fix useColumn hook to get added columns.
60
- - [MYUN-16618](https://myunisoft.atlassian.net/browse/MYUN-16618) Return cell datas in AttachmentCell.
61
- ---
62
- ## v0.10.3 (14/01/2022)
63
- #### Enhancements
64
- - [MYUN-18568](https://myunisoft.atlassian.net/browse/MYUN-18568) Add `addRowLabel` config property to override the "Add a new line +" label.
65
- - [MYUN-18567](https://myunisoft.atlassian.net/browse/MYUN-18567) Add `defaultOrder` and `defaultOrderDirection` config properties.
66
- ---
67
- ## v0.10.2 (12/01/2022)
68
- #### Bug Fixes
69
- - [MYUN-18174](https://myunisoft.atlassian.net/browse/MYUN-18174) Fix column witdh in ColumnsSetting component
70
- - [MYUN-18334](https://myunisoft.atlassian.net/browse/MYUN-18334) Fix row deleting function
71
- - [MYUN-18426](https://myunisoft.atlassian.net/browse/MYUN-18426) Fix filter options for column with typeCell as select.
72
- ---
73
- ## v0.10.1 (07/01/2022)
74
- #### Bug Fixes
75
- - Fix build process
76
- ---
77
- ## v0.10.0 (07/01/2022)
78
- #### Enhancements
79
- - [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.
80
- - [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.
81
-
82
- #### Bug Fixes
83
- - [MYUN-18334](https://myunisoft.atlassian.net/browse/MYUN-18334) Fix amountCell refresh when a row is deleted.
84
- - [MYUN-18127](https://myunisoft.atlassian.net/browse/MYUN-18127) Fix all rows selection logic to prevent crash with high number of rows.
85
- ---
86
- ## v0.9.6
87
-
88
- #### Bug Fixes
89
- - [MYUN-17573](https://myunisoft.atlassian.net/browse/MYUN-17573) Fix scroll synchronisation delay
90
- - [MYUN-18061](https://myunisoft.atlassian.net/browse/MYUN-18061) Fix `totalrows` data attribute
91
-
92
- ---
93
- ## v0.9.5 (23/12/2021)
94
-
95
- #### Enhancements
96
-
97
- - [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
98
-
99
- ---
100
- ## v0.9.4 (16/12/2021)
101
-
102
- #### Enhancements
103
-
104
- - [MYUN-17509](https://myunisoft.atlassian.net/browse/MYUN-17509) Add disabled, className and style property to `select` typeCell
105
-
106
- #### Bug Fixes
107
-
108
- - [MYUN-17850](https://myunisoft.atlassian.net/browse/MYUN-17850) Fix export of empty wallet cell
109
-
110
- ---
111
-
112
- ## v0.9.3 (13/12/2021)
113
-
114
- #### Bug Fixes
115
-
116
- - [MYUN-17516](https://myunisoft.atlassian.net/browse/MYUN-17516) Fix export of switch badge cell
117
-
118
- ---
119
-
120
- ## v0.9.2 (08/12/2021)
121
-
122
- #### Bug Fixes
123
-
124
- - [MYUN-17516](https://myunisoft.atlassian.net/browse/MYUN-17516) Fix export of empty badge cell
125
- - [MYUN-17665](https://myunisoft.atlassian.net/browse/MYUN-17665) Activate save button on edit
126
-
127
- ---
128
-
129
- ## v0.9.1 (06/12/2021)
130
-
131
- #### Bug Fixes:
132
-
133
- - [MYUN-17505](https://myunisoft.atlassian.net/browse/MYUN-17505) Add `rowIndex` property to RenderComponent callback
134
- - [MYUN-17584](https://myunisoft.atlassian.net/browse/MYUN-17584) Fix `typeCell` in columnsSettings and doc
135
-
136
- ---
137
-
138
- ## v0.9.0 (03/12/2021)
139
-
140
- #### Enhancements:
141
-
142
- - [MYUN-17510](https://myunisoft.atlassian.net/browse/MYUN-17510) Handle custom sortable
143
-
144
- ---
145
-
146
- ## v0.8.4 (02/12/2021)
147
-
148
- #### Bug Fixes:
149
-
150
- - [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
@@ -4304,7 +4304,7 @@ var $3b0b9e3b39a4e342$var$getViewData = function getViewData(data, column) {
4304
4304
  var value = _ref.value;
4305
4305
  return value === data;
4306
4306
  });
4307
- 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) || '';
4308
4308
  };
4309
4309
  module.exports.getViewData = $3b0b9e3b39a4e342$var$getViewData;
4310
4310