@neovici/cosmoz-omnitable 8.3.2 → 8.5.1

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.
@@ -151,8 +151,7 @@ const
151
151
  }
152
152
 
153
153
  serializeFilter(column, filter) {
154
- // TODO: drop the double-encoding
155
- return filter.length === 0 ? null : encodeURIComponent(JSON.stringify(filter));
154
+ return filter.length === 0 ? null : JSON.stringify(filter);
156
155
  }
157
156
 
158
157
  deserializeFilter(column, filter) {
@@ -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
- z-index: auto;
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
  }
@@ -40,8 +40,7 @@ const
40
40
 
41
41
  export const useHashState = (initial, param, { suffix = '', read, write, multi } = {}) => {
42
42
  const
43
- link = multi ? multiLink : singleLink,
44
- parseHash = multi ? multiParse : singleParse,
43
+ [link, parseHash] = multi ? [multiLink, multiParse] : [singleLink, singleParse],
45
44
  [state, _setState] = useState(() => param == null
46
45
  ? initial
47
46
  : parseHash(param + suffix, read) ?? initial),
@@ -106,7 +106,7 @@ export const
106
106
  return '';
107
107
  }
108
108
  return getFormatter(amount.currency, locale)
109
- .format(value.amount);
109
+ .format(amount.amount);
110
110
  },
111
111
 
112
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-omnitable",
3
- "version": "8.3.2",
3
+ "version": "8.5.1",
4
4
  "description": "[![Build Status](https://travis-ci.org/Neovici/cosmoz-omnitable.svg?branch=master)](https://travis-ci.org/Neovici/cosmoz-omnitable)",
5
5
  "keywords": [
6
6
  "web-components"
@@ -52,8 +52,8 @@
52
52
  ]
53
53
  },
54
54
  "dependencies": {
55
- "@neovici/cosmoz-autocomplete": "^2.17.1",
56
- "@neovici/cosmoz-bottom-bar": "^4.4.0",
55
+ "@neovici/cosmoz-autocomplete": "^3.0.0",
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",
@@ -76,6 +76,7 @@
76
76
  "devDependencies": {
77
77
  "@commitlint/cli": "^16.0.0",
78
78
  "@commitlint/config-conventional": "^16.0.0",
79
+ "@neovici/cfg": "^1.13.0",
79
80
  "@neovici/cosmoz-viewinfo": "^3.1.3",
80
81
  "@neovici/eslint-config": "^1.3.3",
81
82
  "@open-wc/testing": "^2.5.28",
@@ -89,8 +90,6 @@
89
90
  "@semantic-release/changelog": "^6.0.0",
90
91
  "@semantic-release/git": "^10.0.0",
91
92
  "@web/dev-server": "^0.1.10",
92
- "@web/test-runner": "^0.13.0",
93
- "@web/test-runner-selenium": "^0.5.0",
94
93
  "husky": "^7.0.0",
95
94
  "semantic-release": "^19.0.0",
96
95
  "sinon": "^13.0.0",