@design.estate/dees-catalog 1.0.249 → 1.0.253
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/dist_bundle/bundle.js +8 -5
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/dees-table.js +8 -5
- package/dist_watch/bundle.js +7 -4
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/dees-table.ts +7 -4
package/package.json
CHANGED
|
@@ -313,13 +313,15 @@ export class DeesTable<T> extends DeesElement {
|
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
.action {
|
|
316
|
+
position: relative;
|
|
316
317
|
margin: -4px 0px;
|
|
317
|
-
padding: 10px;
|
|
318
|
-
line-height:
|
|
319
|
-
height:
|
|
318
|
+
padding: 8px 10px;
|
|
319
|
+
line-height: 24px;
|
|
320
|
+
height: 32px;
|
|
320
321
|
size: 16px;
|
|
321
322
|
display: inline-block;
|
|
322
323
|
border-radius: 8px;
|
|
324
|
+
overflow: hidden;
|
|
323
325
|
}
|
|
324
326
|
|
|
325
327
|
.action:first-child {
|
|
@@ -429,6 +431,7 @@ export class DeesTable<T> extends DeesElement {
|
|
|
429
431
|
<dees-input-multitoggle
|
|
430
432
|
.label=${'search mode'}
|
|
431
433
|
.options=${['table', 'data', 'server']}
|
|
434
|
+
.selectedOption=${'table'}
|
|
432
435
|
.description=${`
|
|
433
436
|
There are three basic modes:
|
|
434
437
|
|
|
@@ -654,7 +657,7 @@ export class DeesTable<T> extends DeesElement {
|
|
|
654
657
|
const width = window.getComputedStyle(cell).width;
|
|
655
658
|
if (cell.textContent.includes('Actions')) {
|
|
656
659
|
const neededWidth =
|
|
657
|
-
this.dataActions.filter((actionArg) => actionArg.type.includes('inRow')).length *
|
|
660
|
+
this.dataActions.filter((actionArg) => actionArg.type.includes('inRow')).length * 36;
|
|
658
661
|
cell.style.width = `${Math.max(neededWidth, 68)}px`;
|
|
659
662
|
} else {
|
|
660
663
|
cell.style.width = width;
|