flexdesk 0.6.1 → 0.6.3
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/README.md +44 -0
- package/css/base.css +43 -0
- package/css/flexdesk.css +43 -0
- package/dist/charts.js +2 -2
- package/dist/{chunk-ZMCRDOCF.js → chunk-WAVLVXYV.js} +2 -2
- package/dist/{chunk-IYV5JVYB.js → chunk-WLASPRGP.js} +328 -20
- package/dist/chunk-WLASPRGP.js.map +7 -0
- package/dist/flexdesk.css +43 -0
- package/dist/flow.js +1 -1
- package/dist/tiles.js +2 -2
- package/dist/widgets.js +8 -2
- package/dist/widgets.js.map +1 -1
- package/package.json +1 -1
- package/src/ui/components/data_table.js +392 -19
- package/dist/chunk-IYV5JVYB.js.map +0 -7
- /package/dist/{chunk-ZMCRDOCF.js.map → chunk-WAVLVXYV.js.map} +0 -0
package/dist/flexdesk.css
CHANGED
|
@@ -1746,6 +1746,49 @@ body.twm-window-maximized .twm-resize-handle {
|
|
|
1746
1746
|
opacity: 0.3;
|
|
1747
1747
|
cursor: not-allowed;
|
|
1748
1748
|
}
|
|
1749
|
+
/* `paging` — the strip UNDER a paged or scrolling DataTable's body: which rows
|
|
1750
|
+
* are held, the page buttons or Load all, why a large source is paged, and the
|
|
1751
|
+
* Pages / Scroll switch. */
|
|
1752
|
+
.twm-dt-paging {
|
|
1753
|
+
display: flex;
|
|
1754
|
+
align-items: center;
|
|
1755
|
+
gap: var(--space-md);
|
|
1756
|
+
flex: 0 0 auto;
|
|
1757
|
+
min-width: 0;
|
|
1758
|
+
padding: var(--space-xs) var(--space-md);
|
|
1759
|
+
border-top: 1px solid var(--border-subtle);
|
|
1760
|
+
font-size: var(--font-size-sm);
|
|
1761
|
+
color: var(--text-muted);
|
|
1762
|
+
white-space: nowrap;
|
|
1763
|
+
overflow: hidden;
|
|
1764
|
+
}
|
|
1765
|
+
.twm-dt-paging__info { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
1766
|
+
.twm-dt-paging__spacer { flex: 1 1 auto; }
|
|
1767
|
+
.twm-dt-paging__nav { display: inline-flex; align-items: center; gap: var(--space-xs); }
|
|
1768
|
+
.twm-dt-paging__page { min-width: 72px; text-align: center; }
|
|
1769
|
+
.twm-dt-paging .twm-pagination-btn { height: 20px; min-width: 22px; }
|
|
1770
|
+
.twm-dt-paging__note { color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; }
|
|
1771
|
+
.twm-dt-paging__all,
|
|
1772
|
+
.twm-dt-paging__mode {
|
|
1773
|
+
height: 20px;
|
|
1774
|
+
padding: 0 var(--space-md);
|
|
1775
|
+
background: transparent;
|
|
1776
|
+
border: 1px solid var(--border-default);
|
|
1777
|
+
border-radius: var(--radius-sm);
|
|
1778
|
+
color: var(--text-body);
|
|
1779
|
+
font: inherit;
|
|
1780
|
+
cursor: pointer;
|
|
1781
|
+
}
|
|
1782
|
+
.twm-dt-paging__all:hover:not(:disabled),
|
|
1783
|
+
.twm-dt-paging__mode:hover:not(:disabled) { border-color: var(--accent); color: var(--text-bright); }
|
|
1784
|
+
.twm-dt-paging__modes { display: inline-flex; }
|
|
1785
|
+
.twm-dt-paging__mode { border-radius: 0; }
|
|
1786
|
+
.twm-dt-paging__mode:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
|
|
1787
|
+
.twm-dt-paging__mode:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-left: -1px; }
|
|
1788
|
+
.twm-dt-paging__mode[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--text-bright); }
|
|
1789
|
+
.twm-dt-paging__all:disabled,
|
|
1790
|
+
.twm-dt-paging__mode:disabled { opacity: 0.45; cursor: not-allowed; }
|
|
1791
|
+
.twm-dt-paging__mode[aria-pressed="true"]:disabled { opacity: 1; cursor: default; }
|
|
1749
1792
|
/* Preview Table Styles - Essential for data view */
|
|
1750
1793
|
.twm-preview-table-wrap {
|
|
1751
1794
|
overflow: auto;
|
package/dist/flow.js
CHANGED
package/dist/tiles.js
CHANGED
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
} from "./chunk-O5OHMWBB.js";
|
|
17
17
|
import {
|
|
18
18
|
openRawTracesWindow
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-WAVLVXYV.js";
|
|
20
|
+
import "./chunk-WLASPRGP.js";
|
|
21
21
|
import "./chunk-6JSOVNID.js";
|
|
22
22
|
import "./chunk-FL5KFNQH.js";
|
|
23
23
|
import {
|
package/dist/widgets.js
CHANGED
|
@@ -24,6 +24,8 @@ import {
|
|
|
24
24
|
DataTable,
|
|
25
25
|
ISO_DATE,
|
|
26
26
|
ISO_DATETIME,
|
|
27
|
+
PAGING_HARD_LIMIT,
|
|
28
|
+
PAGING_SOFT_LIMIT,
|
|
27
29
|
createRafResizeObserver,
|
|
28
30
|
formatDate,
|
|
29
31
|
formatDuration,
|
|
@@ -31,8 +33,9 @@ import {
|
|
|
31
33
|
matchDurationFilter,
|
|
32
34
|
parseDatePeriod,
|
|
33
35
|
parseDateValue,
|
|
34
|
-
parseDuration
|
|
35
|
-
|
|
36
|
+
parseDuration,
|
|
37
|
+
resolvePaging
|
|
38
|
+
} from "./chunk-WLASPRGP.js";
|
|
36
39
|
import {
|
|
37
40
|
ManagedWindow,
|
|
38
41
|
ROW_CONTROL_SELECTOR,
|
|
@@ -5830,6 +5833,8 @@ export {
|
|
|
5830
5833
|
ManagedWindow,
|
|
5831
5834
|
NotificationCenter,
|
|
5832
5835
|
NotificationHistory,
|
|
5836
|
+
PAGING_HARD_LIMIT,
|
|
5837
|
+
PAGING_SOFT_LIMIT,
|
|
5833
5838
|
PANEL_STATES,
|
|
5834
5839
|
PANEL_TRANSITIONS,
|
|
5835
5840
|
PageBase,
|
|
@@ -5880,6 +5885,7 @@ export {
|
|
|
5880
5885
|
parseDuration,
|
|
5881
5886
|
refTypesFor,
|
|
5882
5887
|
reportBridgeError,
|
|
5888
|
+
resolvePaging,
|
|
5883
5889
|
selectItem,
|
|
5884
5890
|
setHelpProvider,
|
|
5885
5891
|
setModalHost,
|