@neovici/cosmoz-omnitable 9.1.0 → 9.1.1-beta.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.
- package/cosmoz-omnitable.js +7 -11
- package/package.json +8 -9
package/cosmoz-omnitable.js
CHANGED
|
@@ -44,7 +44,7 @@ class Omnitable extends hauntedPolymer(useOmnitable)(
|
|
|
44
44
|
/* eslint-disable-next-line max-lines-per-function */
|
|
45
45
|
static get template() {
|
|
46
46
|
const template = html`
|
|
47
|
-
${html([styles])}
|
|
47
|
+
${html(Object.assign([styles], { raw: [styles] }))}
|
|
48
48
|
<div id="layoutStyle"></div>
|
|
49
49
|
|
|
50
50
|
<div class="mainContainer">
|
|
@@ -230,18 +230,14 @@ class Omnitable extends hauntedPolymer(useOmnitable)(
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
renderItem(collapsedColumns) {
|
|
233
|
-
return (
|
|
234
|
-
item,
|
|
235
|
-
index,
|
|
236
|
-
{ selected, expanded, toggleCollapse }
|
|
237
|
-
) => {
|
|
233
|
+
return (item, index, { selected, expanded, toggleCollapse }) => {
|
|
238
234
|
return litHtml`
|
|
239
235
|
<div class="item-row-wrapper">
|
|
240
236
|
<div ?selected=${selected}
|
|
241
237
|
part="itemRow itemRow-${item[indexSymbol]}"
|
|
242
238
|
.dataIndex=${item[indexSymbol]}
|
|
243
239
|
.dataItem=${item}
|
|
244
|
-
class="itemRow"
|
|
240
|
+
class="itemRow"
|
|
245
241
|
@click=${this.onItemClick}
|
|
246
242
|
>
|
|
247
243
|
<input class="checkbox"
|
|
@@ -268,7 +264,7 @@ class Omnitable extends hauntedPolymer(useOmnitable)(
|
|
|
268
264
|
</div>
|
|
269
265
|
<cosmoz-omnitable-item-expand .columns=${collapsedColumns}
|
|
270
266
|
.item=${item}
|
|
271
|
-
.index=${index}
|
|
267
|
+
.index=${index}
|
|
272
268
|
?selected=${selected}
|
|
273
269
|
?expanded=${expanded}
|
|
274
270
|
.groupOnColumn=${this.groupOnColumn}
|
|
@@ -280,7 +276,7 @@ class Omnitable extends hauntedPolymer(useOmnitable)(
|
|
|
280
276
|
|
|
281
277
|
renderGroup(item, index, { selected, folded, toggleFold }) {
|
|
282
278
|
return litHtml`
|
|
283
|
-
<div class="${this._getGroupRowClasses(folded)}"
|
|
279
|
+
<div class="${this._getGroupRowClasses(folded)}"
|
|
284
280
|
part="groupRow groupRow-${item[indexSymbol]}">
|
|
285
281
|
<input class="checkbox"
|
|
286
282
|
type="checkbox"
|
|
@@ -688,5 +684,5 @@ const tmplt = `
|
|
|
688
684
|
<slot name="bottom-bar-menu" slot="bottom-bar-menu"></slot>
|
|
689
685
|
`;
|
|
690
686
|
|
|
691
|
-
export const actionSlots = litHtml([tmplt]),
|
|
692
|
-
actionSlotsPolymer = html([tmplt]);
|
|
687
|
+
export const actionSlots = litHtml(Object.assign([tmplt], { raw: [tmplt] })),
|
|
688
|
+
actionSlotsPolymer = html(Object.assign([tmplt], { raw: [tmplt] }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neovici/cosmoz-omnitable",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.1-beta.1",
|
|
4
4
|
"description": "[](https://travis-ci.org/Neovici/cosmoz-omnitable)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components"
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@polymer/paper-spinner": "^3.0.0",
|
|
71
71
|
"@polymer/polymer": "^3.3.0",
|
|
72
72
|
"@webcomponents/shadycss": "^1.10.0",
|
|
73
|
-
"file-saver-es": "^2.0.
|
|
73
|
+
"file-saver-es": "^2.0.0",
|
|
74
74
|
"haunted": "^4.8.0",
|
|
75
75
|
"lit-html": "^1.3.0"
|
|
76
76
|
},
|
|
@@ -78,20 +78,19 @@
|
|
|
78
78
|
"@commitlint/cli": "^17.0.0",
|
|
79
79
|
"@commitlint/config-conventional": "^17.0.0",
|
|
80
80
|
"@neovici/cfg": "^1.13.0",
|
|
81
|
-
"@neovici/cosmoz-viewinfo": "^3.1.
|
|
82
|
-
"@neovici/eslint-config": "^1.3.3",
|
|
81
|
+
"@neovici/cosmoz-viewinfo": "^3.1.0",
|
|
83
82
|
"@open-wc/testing": "^2.5.28",
|
|
84
83
|
"@polymer/iron-test-helpers": "^3.0.0",
|
|
85
|
-
"@polymer/paper-button": "^3.0.
|
|
86
|
-
"@polymer/paper-item": "^3.0.
|
|
87
|
-
"@polymer/paper-listbox": "^3.0.
|
|
84
|
+
"@polymer/paper-button": "^3.0.0",
|
|
85
|
+
"@polymer/paper-item": "^3.0.0",
|
|
86
|
+
"@polymer/paper-listbox": "^3.0.0",
|
|
88
87
|
"@polymer/paper-toggle-button": "^3.0.0",
|
|
89
88
|
"@semantic-release/changelog": "^6.0.0",
|
|
90
89
|
"@semantic-release/git": "^10.0.0",
|
|
91
90
|
"@web/dev-server": "^0.1.10",
|
|
92
91
|
"husky": "^8.0.0",
|
|
93
92
|
"semantic-release": "^19.0.0",
|
|
94
|
-
"sinon": "^
|
|
95
|
-
"web-animations-js": "^2.3.
|
|
93
|
+
"sinon": "^14.0.0",
|
|
94
|
+
"web-animations-js": "^2.3.0"
|
|
96
95
|
}
|
|
97
96
|
}
|