@kodaris/krubble-components 1.0.47 → 1.0.48
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/custom-elements.json +5 -5
- package/dist/krubble-components.bundled.js +33 -17
- package/dist/krubble-components.bundled.js.map +1 -1
- package/dist/krubble-components.bundled.min.js +36 -26
- package/dist/krubble-components.bundled.min.js.map +1 -1
- package/dist/krubble-components.umd.js +33 -17
- package/dist/krubble-components.umd.js.map +1 -1
- package/dist/krubble-components.umd.min.js +27 -17
- package/dist/krubble-components.umd.min.js.map +1 -1
- package/dist/table/table.d.ts +2 -0
- package/dist/table/table.d.ts.map +1 -1
- package/dist/table/table.js +33 -17
- package/dist/table/table.js.map +1 -1
- package/package.json +1 -1
|
@@ -1346,23 +1346,28 @@ const Te="important",Ee=" !"+Te,Ke=xe(class extends _e{constructor(e){if(super(e
|
|
|
1346
1346
|
></div>`:q}</div>
|
|
1347
1347
|
`))}
|
|
1348
1348
|
</div>
|
|
1349
|
-
${this._data.map(((e,t)=>I`
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1349
|
+
${this._data.map(((e,t)=>{const i=this.getDisplayedColumns().map(((i,o)=>I`
|
|
1350
|
+
<div
|
|
1351
|
+
class=${ke(this._getCellClasses(i,o))}
|
|
1352
|
+
style=${Ke(this._getCellStyle(i,o))}
|
|
1353
|
+
data-column-id=${i.id}
|
|
1354
|
+
>
|
|
1355
|
+
${this._renderCellContent(i,e,t)}
|
|
1356
|
+
</div>
|
|
1357
|
+
`));return this._def.rowHref?I`
|
|
1358
|
+
<a
|
|
1359
|
+
href=${this._def.rowHref(e)}
|
|
1360
|
+
class=${ke({row:!0,"row--clickable":!0,"row--link":!0})}
|
|
1361
|
+
@mousedown=${()=>this._handleRowMouseDown()}
|
|
1362
|
+
@click=${()=>this._handleRowClick(e,t)}
|
|
1363
|
+
>${i}</a>
|
|
1364
|
+
`:I`
|
|
1365
|
+
<div
|
|
1366
|
+
class=${ke({row:!0,"row--clickable":!!this._def.rowClickable})}
|
|
1367
|
+
@mousedown=${()=>this._handleRowMouseDown()}
|
|
1368
|
+
@click=${()=>this._handleRowClick(e,t)}
|
|
1369
|
+
>${i}</div>
|
|
1370
|
+
`}))}
|
|
1366
1371
|
</div>
|
|
1367
1372
|
</div>
|
|
1368
1373
|
</div>
|
|
@@ -1696,6 +1701,11 @@ const Te="important",Ee=" !"+Te,Ke=xe(class extends _e{constructor(e){if(super(e
|
|
|
1696
1701
|
cursor: pointer;
|
|
1697
1702
|
}
|
|
1698
1703
|
|
|
1704
|
+
.row--link {
|
|
1705
|
+
color: inherit;
|
|
1706
|
+
text-decoration: none;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1699
1709
|
.header-row {
|
|
1700
1710
|
display: contents;
|
|
1701
1711
|
}
|