@neovici/cosmoz-omnitable 12.20.1 → 12.22.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.
|
@@ -42,7 +42,8 @@ class OmnitableColumnAutocomplete extends listColumnMixin(
|
|
|
42
42
|
headerCellClass: { type: String, value: 'autocomplete-header-cell' },
|
|
43
43
|
minWidth: { type: String, value: '55px' },
|
|
44
44
|
editMinWidth: { type: String, value: '55px' },
|
|
45
|
-
keepOpened: { type: Boolean },
|
|
45
|
+
keepOpened: { type: Boolean, value: true },
|
|
46
|
+
keepQuery: { type: Boolean },
|
|
46
47
|
textual: { type: Function },
|
|
47
48
|
};
|
|
48
49
|
}
|
|
@@ -51,6 +52,7 @@ class OmnitableColumnAutocomplete extends listColumnMixin(
|
|
|
51
52
|
return {
|
|
52
53
|
...super.getConfig?.(column),
|
|
53
54
|
keepOpened: column.keepOpened,
|
|
55
|
+
keepQuery: column.keepQuery,
|
|
54
56
|
textual: column.textual,
|
|
55
57
|
};
|
|
56
58
|
}
|
|
@@ -75,6 +77,7 @@ class OmnitableColumnAutocomplete extends listColumnMixin(
|
|
|
75
77
|
return html`<cosmoz-autocomplete-ui
|
|
76
78
|
class="external-values-${column.externalValues}"
|
|
77
79
|
?keep-opened=${column.keepOpened}
|
|
80
|
+
?keep-query=${column.keepQuery}
|
|
78
81
|
.textual=${column.textual}
|
|
79
82
|
.label=${column.title}
|
|
80
83
|
.source=${toAutocompleteSource(
|
|
@@ -26,7 +26,8 @@ import { columnSymbol } from './lib/use-dom-columns';
|
|
|
26
26
|
class OmnitableColumnList extends listColumnMixin(columnMixin(PolymerElement)) {
|
|
27
27
|
static get properties() {
|
|
28
28
|
return {
|
|
29
|
-
keepOpened: { type: Boolean },
|
|
29
|
+
keepOpened: { type: Boolean, value: true },
|
|
30
|
+
keepQuery: { type: Boolean },
|
|
30
31
|
textual: { type: Function },
|
|
31
32
|
};
|
|
32
33
|
}
|
|
@@ -35,6 +36,7 @@ class OmnitableColumnList extends listColumnMixin(columnMixin(PolymerElement)) {
|
|
|
35
36
|
return {
|
|
36
37
|
...super.getConfig?.(column),
|
|
37
38
|
keepOpened: column.keepOpened,
|
|
39
|
+
keepQuery: column.keepQuery,
|
|
38
40
|
textual: column.textual,
|
|
39
41
|
};
|
|
40
42
|
}
|
|
@@ -62,6 +64,7 @@ class OmnitableColumnList extends listColumnMixin(columnMixin(PolymerElement)) {
|
|
|
62
64
|
return html`<cosmoz-autocomplete-ui
|
|
63
65
|
class="external-values-${column.externalValues}"
|
|
64
66
|
?keep-opened=${column.keepOpened}
|
|
67
|
+
?keep-query=${column.keepQuery}
|
|
65
68
|
.textual=${column.textual}
|
|
66
69
|
.column=${column}
|
|
67
70
|
.label=${column.title}
|
package/lib/render-header.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neovici/cosmoz-omnitable",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.22.0",
|
|
4
4
|
"description": "[](https://travis-ci.org/Neovici/cosmoz-omnitable)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components"
|