react-msaview-cli 9.4.0 → 9.5.0
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/index.js +6 -25
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -45786,7 +45786,7 @@ var init_renderHighlights = __esm({
|
|
|
45786
45786
|
function fontSizeFor(rowHeight) {
|
|
45787
45787
|
return Math.min(Math.max(6, rowHeight - 3), 18);
|
|
45788
45788
|
}
|
|
45789
|
-
var defaultRowHeight, defaultColWidth, defaultHeight, resizeHandleWidth, defaultScrollX, defaultScrollY, defaultCurrentAlignment, defaultShowDomains, defaultShowDomainLegend, defaultHideGaps, defaultAllowedGappyness, defaultSubFeatureRows, subFeatureRowHeight, domainUnderlineHeight, segmentFeatureTypes, segmentShades, defaultDrawMsaLetters, defaultScrollZoom, scrollZoomAxes, defaultScrollZoomAxis, minLetterRowHeight, minLetterColWidth, zoomFrameMaxLetters, minFeatureLabelHeight, labelFitFontSize, minColWidth, minRowHeight, maxCellSize, settingsPanelWidth, defaultBgColor, defaultColorSchemeName, defaultShowColumnStats, defaultDrawLabels, defaultLabelsAlignRight, minTreeWidth, maxFitTreeWidth, pxPerTreeDepth, maxTreeAreaShare, defaultShowBranchLen, treeOrders, defaultTreeOrder, defaultDrawTree, defaultDrawNodeBubbles, defaultDrawNodeLabels, defaultShowTreeOverview,
|
|
45789
|
+
var defaultRowHeight, defaultColWidth, defaultHeight, resizeHandleWidth, defaultScrollX, defaultScrollY, defaultCurrentAlignment, defaultShowDomains, defaultShowDomainLegend, defaultHideGaps, defaultAllowedGappyness, defaultSubFeatureRows, subFeatureRowHeight, domainUnderlineHeight, segmentFeatureTypes, segmentShades, defaultDrawMsaLetters, defaultScrollZoom, scrollZoomAxes, defaultScrollZoomAxis, minLetterRowHeight, minLetterColWidth, zoomFrameMaxLetters, minFeatureLabelHeight, labelFitFontSize, minColWidth, minRowHeight, maxCellSize, settingsPanelWidth, defaultBgColor, defaultColorSchemeName, defaultShowColumnStats, defaultDrawLabels, defaultLabelsAlignRight, minTreeWidth, maxFitTreeWidth, pxPerTreeDepth, maxTreeAreaShare, defaultShowBranchLen, treeOrders, defaultTreeOrder, defaultDrawTree, defaultDrawNodeBubbles, defaultDrawNodeLabels, defaultShowTreeOverview, defaultOverviewHeight, maxNeighborJoiningRows, rowTintAlpha, cladeHighlightColor, cladeHighlightAlpha, maxInlineSnapshotBytes, rowPanelHeaderHeight, treeScaleBarHeight, defaultFeaturePanelWidth, msaOverlayZIndex, legendZIndex;
|
|
45790
45790
|
var init_constants = __esm({
|
|
45791
45791
|
"../lib/dist/constants.js"() {
|
|
45792
45792
|
"use strict";
|
|
@@ -45847,7 +45847,6 @@ var init_constants = __esm({
|
|
|
45847
45847
|
defaultDrawNodeBubbles = true;
|
|
45848
45848
|
defaultDrawNodeLabels = false;
|
|
45849
45849
|
defaultShowTreeOverview = false;
|
|
45850
|
-
defaultShowTreeScaleBar = false;
|
|
45851
45850
|
defaultOverviewHeight = 120;
|
|
45852
45851
|
maxNeighborJoiningRows = 500;
|
|
45853
45852
|
rowTintAlpha = 0.25;
|
|
@@ -86528,7 +86527,7 @@ var version2;
|
|
|
86528
86527
|
var init_version3 = __esm({
|
|
86529
86528
|
"../lib/dist/version.js"() {
|
|
86530
86529
|
"use strict";
|
|
86531
|
-
version2 = "9.
|
|
86530
|
+
version2 = "9.5.0";
|
|
86532
86531
|
}
|
|
86533
86532
|
});
|
|
86534
86533
|
|
|
@@ -87324,7 +87323,7 @@ function outgroupLabel(outgroup) {
|
|
|
87324
87323
|
return rest.length === 0 ? `Outgroup ${first}` : `Outgroup ${first} \u2026 ${rest.at(-1)}`;
|
|
87325
87324
|
}
|
|
87326
87325
|
function treeSubMenu(model2) {
|
|
87327
|
-
const { drawTree, showBranchLen, labelsAlignRight, drawNodeLabels, drawLabels, treeAreaWidth, showTreeOverview,
|
|
87326
|
+
const { drawTree, showBranchLen, labelsAlignRight, drawNodeLabels, drawLabels, treeAreaWidth, showTreeOverview, treeOrder, treeRoot, rotated } = model2;
|
|
87328
87327
|
return [
|
|
87329
87328
|
subMenu("Layout", [
|
|
87330
87329
|
radio("Phylogram", drawTree && showBranchLen, () => {
|
|
@@ -87342,9 +87341,6 @@ function treeSubMenu(model2) {
|
|
|
87342
87341
|
toggle("Tree overview", showTreeOverview, (arg2) => {
|
|
87343
87342
|
model2.setShowTreeOverview(arg2);
|
|
87344
87343
|
}),
|
|
87345
|
-
toggle("Scale bar", showTreeScaleBar, (arg2) => {
|
|
87346
|
-
model2.setShowTreeScaleBar(arg2);
|
|
87347
|
-
}),
|
|
87348
87344
|
subMenu("Order", [
|
|
87349
87345
|
...treeOrders.map((order2) => radio(treeOrderLabels[order2], treeOrder === order2, () => {
|
|
87350
87346
|
model2.setTreeOrder(order2);
|
|
@@ -91669,11 +91665,6 @@ function TreeModelF() {
|
|
|
91669
91665
|
* subtree boxed. A click on it focuses the subtree under the pointer
|
|
91670
91666
|
*/
|
|
91671
91667
|
showTreeOverview: stripDefault2(types.boolean, defaultShowTreeOverview),
|
|
91672
|
-
/**
|
|
91673
|
-
* #property
|
|
91674
|
-
* draw the branch-length scale bar above the tree of a phylogram
|
|
91675
|
-
*/
|
|
91676
|
-
showTreeScaleBar: stripDefault2(types.boolean, defaultShowTreeScaleBar),
|
|
91677
91668
|
/**
|
|
91678
91669
|
* #property
|
|
91679
91670
|
* height of the tree overview band, px
|
|
@@ -91739,12 +91730,6 @@ function TreeModelF() {
|
|
|
91739
91730
|
setShowTreeOverview(arg2) {
|
|
91740
91731
|
self.showTreeOverview = arg2;
|
|
91741
91732
|
},
|
|
91742
|
-
/**
|
|
91743
|
-
* #action
|
|
91744
|
-
*/
|
|
91745
|
-
setShowTreeScaleBar(arg2) {
|
|
91746
|
-
self.showTreeScaleBar = arg2;
|
|
91747
|
-
},
|
|
91748
91733
|
/**
|
|
91749
91734
|
* #action
|
|
91750
91735
|
*/
|
|
@@ -95145,14 +95130,11 @@ function stateModelFactory({ maxInlineSnapshotBytes: maxInlineSnapshotBytes2 = m
|
|
|
95145
95130
|
})).views((self) => ({
|
|
95146
95131
|
/**
|
|
95147
95132
|
* #getter
|
|
95148
|
-
* the branch-length scale bar over the tree,
|
|
95149
|
-
*
|
|
95150
|
-
* too narrow for one
|
|
95133
|
+
* the branch-length scale bar over the tree, the guide of its branch-length
|
|
95134
|
+
* scale: undefined in cladogram mode, with the tree off, or when the tree
|
|
95135
|
+
* area is too narrow for one
|
|
95151
95136
|
*/
|
|
95152
95137
|
get treeScaleBar() {
|
|
95153
|
-
if (!self.showTreeScaleBar) {
|
|
95154
|
-
return void 0;
|
|
95155
|
-
}
|
|
95156
95138
|
return scaleBarLength(self.pxPerBranchLength, self.effectiveTreeAreaWidth - self.marginLeft * 2);
|
|
95157
95139
|
},
|
|
95158
95140
|
/**
|
|
@@ -96620,7 +96602,6 @@ var init_model = __esm({
|
|
|
96620
96602
|
"drawNodeBubbles",
|
|
96621
96603
|
"drawNodeLabels",
|
|
96622
96604
|
"showTreeOverview",
|
|
96623
|
-
"showTreeScaleBar",
|
|
96624
96605
|
"overviewHeight",
|
|
96625
96606
|
"turnedOffTracks",
|
|
96626
96607
|
"trackHeights",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-msaview-cli",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"@types/node": "^26.6.5",
|
|
21
21
|
"esbuild": "^0.28.2",
|
|
22
22
|
"mobx-react": "^10.0.2",
|
|
23
|
-
"msa-parsers": "9.
|
|
24
|
-
"react-msaview": "9.
|
|
23
|
+
"msa-parsers": "9.5.0",
|
|
24
|
+
"react-msaview": "9.5.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"jsdom": "^30.1.3"
|