flexdesk 0.17.0 → 0.17.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/CHANGELOG.md +19 -0
- package/README.md +221 -3
- package/canvas.js +18 -0
- package/charts.js +21 -0
- package/core.js +14 -0
- package/css/flexdesk.css +24 -0
- package/dist/charts.js +3 -5
- package/dist/charts.js.map +1 -1
- package/dist/{chunk-Q36EPT2R.js → chunk-LWV23YVE.js} +1614 -138
- package/dist/chunk-LWV23YVE.js.map +7 -0
- package/dist/{chunk-MCIXFNVF.js → chunk-RMTRWWEO.js} +2 -2
- package/dist/flexdesk.css +24 -0
- package/dist/flow.js +2 -2
- package/dist/flow.js.map +2 -2
- package/dist/tiles.js +2 -2
- package/dist/widgets.js +43 -5
- package/dist/widgets.js.map +1 -1
- package/editor.js +20 -0
- package/flow.js +21 -0
- package/host.js +14 -0
- package/package.json +10 -1
- package/src/flow/canvas_editor/editor.js +1 -1
- package/src/ui/components/cell_editor_host.js +100 -18
- package/src/ui/components/cell_editors.js +480 -0
- package/src/ui/components/cell_grid.js +121 -8
- package/src/ui/components/cell_paste.js +243 -0
- package/src/ui/components/data_table.js +96 -10
- package/src/ui/components/staged_edits.js +19 -1
- package/src/ui/components/tsv.js +74 -0
- package/tiles.js +27 -0
- package/widgets.js +69 -0
- package/wm.js +28 -0
- package/dist/chunk-Q36EPT2R.js.map +0 -7
- package/dist/chunk-QWQJUDPD.js +0 -610
- package/dist/chunk-QWQJUDPD.js.map +0 -7
- /package/dist/{chunk-MCIXFNVF.js.map → chunk-RMTRWWEO.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataTable,
|
|
3
3
|
createRafResizeObserver
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LWV23YVE.js";
|
|
5
5
|
import {
|
|
6
6
|
ManagedWindow
|
|
7
7
|
} from "./chunk-CVMCZZX2.js";
|
|
@@ -2799,4 +2799,4 @@ export {
|
|
|
2799
2799
|
openPlotPopoutWindow,
|
|
2800
2800
|
openRawTracesWindow
|
|
2801
2801
|
};
|
|
2802
|
-
//# sourceMappingURL=chunk-
|
|
2802
|
+
//# sourceMappingURL=chunk-RMTRWWEO.js.map
|
package/dist/flexdesk.css
CHANGED
|
@@ -862,6 +862,21 @@ body.twm-dt-col-resizing {
|
|
|
862
862
|
color: inherit;
|
|
863
863
|
font: inherit;
|
|
864
864
|
}
|
|
865
|
+
/* STORY-0087 the built-in editors: a checkbox keeps its own size, a text
|
|
866
|
+
* area grows with what it holds, and the choice box shows no empty helper
|
|
867
|
+
* line under it. */
|
|
868
|
+
.twm-preview-table.twm-dt--cells tbody td.twm-dt-cell--editing .twm-dt-editor--bool {
|
|
869
|
+
width: auto;
|
|
870
|
+
margin: 4px 6px;
|
|
871
|
+
outline-offset: 1px;
|
|
872
|
+
}
|
|
873
|
+
.twm-preview-table.twm-dt--cells tbody td.twm-dt-cell--editing textarea.twm-dt-editor {
|
|
874
|
+
resize: vertical;
|
|
875
|
+
min-height: 3.5em;
|
|
876
|
+
}
|
|
877
|
+
.twm-preview-table.twm-dt--cells tbody td.twm-dt-cell--editing .twm-dt-editor--choice .twm-autocomplete-field__helper:empty {
|
|
878
|
+
display: none;
|
|
879
|
+
}
|
|
865
880
|
.twm-preview-table.twm-dt--cells tbody td.twm-dt-cell--pending {
|
|
866
881
|
opacity: 0.6;
|
|
867
882
|
font-style: italic;
|
|
@@ -896,6 +911,11 @@ body.twm-dt-col-resizing {
|
|
|
896
911
|
background-image: repeating-linear-gradient(45deg,
|
|
897
912
|
color-mix(in srgb, var(--color-danger, #f14c4c) 22%, transparent) 0 4px, transparent 4px 8px);
|
|
898
913
|
}
|
|
914
|
+
/* STORY-0090. A cell a paste skipped (not editable) carries the same mark. */
|
|
915
|
+
.twm-preview-table.twm-dt--cells tbody td.twm-dt-cell--paste-skipped {
|
|
916
|
+
background-image: repeating-linear-gradient(45deg,
|
|
917
|
+
color-mix(in srgb, var(--color-danger, #f14c4c) 22%, transparent) 0 4px, transparent 4px 8px);
|
|
918
|
+
}
|
|
899
919
|
/* While cells are staged, sort, filters and pages are held: the held control
|
|
900
920
|
* says why on itself (`data-refusal`). */
|
|
901
921
|
.twm-data-table-component.twm-dt--frozen th.sortable[data-refusal] {
|
|
@@ -1068,6 +1088,10 @@ body.twm-dt-col-resizing {
|
|
|
1068
1088
|
--twm-dt-pin-mark: repeating-linear-gradient(45deg,
|
|
1069
1089
|
color-mix(in srgb, var(--color-danger, #f14c4c) 22%, transparent) 0 4px, transparent 4px 8px);
|
|
1070
1090
|
}
|
|
1091
|
+
.twm-preview-table.twm-dt-crosstab.twm-dt--cells tbody td.twm-dt-pin.twm-dt-cell--paste-skipped {
|
|
1092
|
+
--twm-dt-pin-mark: repeating-linear-gradient(45deg,
|
|
1093
|
+
color-mix(in srgb, var(--color-danger, #f14c4c) 22%, transparent) 0 4px, transparent 4px 8px);
|
|
1094
|
+
}
|
|
1071
1095
|
.twm-preview-table.twm-dt-crosstab td.twm-dt-pin.twm-dt-cell--placeholder {
|
|
1072
1096
|
--twm-dt-pin-state: linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015));
|
|
1073
1097
|
}
|
package/dist/flow.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-D3COLZZ2.js";
|
|
4
4
|
import {
|
|
5
5
|
DataTable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LWV23YVE.js";
|
|
7
7
|
import {
|
|
8
8
|
choiceList,
|
|
9
9
|
selectBox,
|
|
@@ -6232,7 +6232,7 @@ function createCanvasEditor(host, options = {}) {
|
|
|
6232
6232
|
for (const c of g.connections) {
|
|
6233
6233
|
const source = idOf.get(c.source);
|
|
6234
6234
|
const target = idOf.get(c.target);
|
|
6235
|
-
if (source && target) connect(graph, catalogue, { ...c, source, target }, { strings: S });
|
|
6235
|
+
if (source && target) connect(graph, catalogue, { ...c, source, target }, { strings: S, dataPorts: dataConnect });
|
|
6236
6236
|
}
|
|
6237
6237
|
const noteIds = [];
|
|
6238
6238
|
for (const from of noting ? g.notes || [] : []) {
|