@neovici/cosmoz-omnitable 8.3.0 → 8.4.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.
|
@@ -421,7 +421,7 @@ export default `<style>
|
|
|
421
421
|
cosmoz-bottom-bar {
|
|
422
422
|
background-color: var(--cosmoz-omnitable-bottom-bar-color, #5f5a92);
|
|
423
423
|
overflow: hidden;
|
|
424
|
-
|
|
424
|
+
position: absolute;
|
|
425
425
|
}
|
|
426
426
|
cosmoz-bottom-bar::part(bar) {
|
|
427
427
|
padding: 0 24px;
|
|
@@ -439,7 +439,6 @@ export default `<style>
|
|
|
439
439
|
cursor: not-allowed;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
|
|
443
442
|
.boolean-cell[editable] {
|
|
444
443
|
overflow: initial;
|
|
445
444
|
}
|
package/lib/use-dom-columns.js
CHANGED
|
@@ -125,15 +125,14 @@ const
|
|
|
125
125
|
setColumns(domColumnsToConfig(host, { enabledColumns }));
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
+
handler();
|
|
128
129
|
slot.addEventListener('slotchange', handler);
|
|
129
130
|
host.addEventListener('cosmoz-column-prop-changed', handler);
|
|
130
131
|
return () => {
|
|
131
132
|
slot.removeEventListener('slotchange', handler);
|
|
132
133
|
host.removeEventListener('cosmoz-column-prop-changed', handler);
|
|
133
134
|
};
|
|
134
|
-
}, []);
|
|
135
|
-
|
|
136
|
-
useEffect(() => setColumns(domColumnsToConfig(host, { enabledColumns })), [enabledColumns]);
|
|
135
|
+
}, [enabledColumns]);
|
|
137
136
|
|
|
138
137
|
return columns;
|
|
139
138
|
};
|
package/lib/utils-date.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toLocalISOString } from '@neovici/cosmoz-utils/lib/date';
|
|
1
|
+
import { toLocalISOString, ensureDate } from '@neovici/cosmoz-utils/lib/date';
|
|
2
2
|
import { get } from '@polymer/polymer/lib/utils/path';
|
|
3
3
|
import { toNumber } from './utils-number';
|
|
4
4
|
|
|
@@ -43,7 +43,11 @@ export const
|
|
|
43
43
|
date = getAbsoluteISOString(date);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
date =
|
|
46
|
+
date = ensureDate(date);
|
|
47
|
+
|
|
48
|
+
if (!date) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
if (Number.isNaN(date.getTime())) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neovici/cosmoz-omnitable",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0",
|
|
4
4
|
"description": "[](https://travis-ci.org/Neovici/cosmoz-omnitable)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components"
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@neovici/cosmoz-autocomplete": "^2.17.1",
|
|
56
|
-
"@neovici/cosmoz-bottom-bar": "^
|
|
56
|
+
"@neovici/cosmoz-bottom-bar": "^5.0.0",
|
|
57
57
|
"@neovici/cosmoz-datetime-input": "^3.0.3",
|
|
58
58
|
"@neovici/cosmoz-dropdown": "^1.5.0",
|
|
59
59
|
"@neovici/cosmoz-grouped-list": "^3.2.0",
|
|
60
60
|
"@neovici/cosmoz-i18next": "^3.1.1",
|
|
61
|
-
"@neovici/cosmoz-page-router": "^
|
|
61
|
+
"@neovici/cosmoz-page-router": "^7.0.0",
|
|
62
62
|
"@neovici/cosmoz-utils": "^3.19.0",
|
|
63
63
|
"@neovici/nullxlsx": "^3.0.0",
|
|
64
64
|
"@polymer/iron-icon": "^3.0.0",
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
"@web/test-runner": "^0.13.0",
|
|
93
93
|
"@web/test-runner-selenium": "^0.5.0",
|
|
94
94
|
"husky": "^7.0.0",
|
|
95
|
-
"semantic-release": "^
|
|
96
|
-
"sinon": "^
|
|
95
|
+
"semantic-release": "^19.0.0",
|
|
96
|
+
"sinon": "^13.0.0",
|
|
97
97
|
"web-animations-js": "^2.3.2"
|
|
98
98
|
}
|
|
99
99
|
}
|