@teselagen/ove 0.5.12 → 0.5.13
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/AlignmentTool/index.d.ts +4 -6
- package/index.cjs.js +183 -219
- package/index.es.js +183 -219
- package/index.umd.js +284 -268
- package/package.json +2 -2
- package/src/AlignmentTool/index.js +7 -11
package/index.cjs.js
CHANGED
|
@@ -56,7 +56,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
56
56
|
step2((generator = generator.apply(__this, __arguments)).next());
|
|
57
57
|
});
|
|
58
58
|
};
|
|
59
|
-
var
|
|
59
|
+
var _s, _t, _u, _v, _w, _z, _C, _J;
|
|
60
60
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
61
61
|
const core$5 = require("@blueprintjs/core");
|
|
62
62
|
const React$2 = require("react");
|
|
@@ -14373,25 +14373,16 @@ var toString$5 = {}.toString;
|
|
|
14373
14373
|
var _cof = /* @__PURE__ */ __name(function(it) {
|
|
14374
14374
|
return toString$5.call(it).slice(8, -1);
|
|
14375
14375
|
}, "_cof");
|
|
14376
|
-
var
|
|
14377
|
-
var
|
|
14378
|
-
|
|
14379
|
-
|
|
14380
|
-
return _iobject;
|
|
14381
|
-
hasRequired_iobject = 1;
|
|
14382
|
-
var cof2 = _cof;
|
|
14383
|
-
_iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
14384
|
-
return cof2(it) == "String" ? it.split("") : Object(it);
|
|
14385
|
-
};
|
|
14386
|
-
return _iobject;
|
|
14387
|
-
}
|
|
14388
|
-
__name(require_iobject, "require_iobject");
|
|
14376
|
+
var cof$2 = _cof;
|
|
14377
|
+
var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
14378
|
+
return cof$2(it) == "String" ? it.split("") : Object(it);
|
|
14379
|
+
};
|
|
14389
14380
|
var _defined = /* @__PURE__ */ __name(function(it) {
|
|
14390
14381
|
if (it == void 0)
|
|
14391
14382
|
throw TypeError("Can't call method on " + it);
|
|
14392
14383
|
return it;
|
|
14393
14384
|
}, "_defined");
|
|
14394
|
-
var IObject =
|
|
14385
|
+
var IObject = _iobject;
|
|
14395
14386
|
var defined$2 = _defined;
|
|
14396
14387
|
var _toIobject = /* @__PURE__ */ __name(function(it) {
|
|
14397
14388
|
return IObject(defined$2(it));
|
|
@@ -14512,7 +14503,7 @@ function require_objectAssign() {
|
|
|
14512
14503
|
var gOPS2 = _objectGops;
|
|
14513
14504
|
var pIE2 = require_objectPie();
|
|
14514
14505
|
var toObject2 = _toObject;
|
|
14515
|
-
var IObject2 =
|
|
14506
|
+
var IObject2 = _iobject;
|
|
14516
14507
|
var $assign = Object.assign;
|
|
14517
14508
|
_objectAssign = !$assign || _fails(function() {
|
|
14518
14509
|
var A2 = {};
|
|
@@ -36547,84 +36538,80 @@ const symbols = {
|
|
|
36547
36538
|
down: "↓"
|
|
36548
36539
|
};
|
|
36549
36540
|
symbols.mod = symbols[isMac ? "meta" : "ctrl"];
|
|
36550
|
-
const
|
|
36551
|
-
|
|
36552
|
-
|
|
36553
|
-
|
|
36554
|
-
|
|
36555
|
-
|
|
36556
|
-
|
|
36557
|
-
|
|
36558
|
-
|
|
36559
|
-
|
|
36560
|
-
|
|
36561
|
-
|
|
36562
|
-
|
|
36563
|
-
|
|
36564
|
-
|
|
36565
|
-
|
|
36566
|
-
|
|
36567
|
-
|
|
36568
|
-
|
|
36569
|
-
|
|
36570
|
-
|
|
36571
|
-
|
|
36572
|
-
|
|
36573
|
-
|
|
36574
|
-
|
|
36575
|
-
|
|
36576
|
-
|
|
36577
|
-
|
|
36578
|
-
|
|
36579
|
-
|
|
36580
|
-
|
|
36581
|
-
|
|
36582
|
-
|
|
36583
|
-
|
|
36584
|
-
|
|
36585
|
-
|
|
36586
|
-
|
|
36587
|
-
|
|
36588
|
-
|
|
36589
|
-
|
|
36590
|
-
|
|
36591
|
-
|
|
36592
|
-
|
|
36593
|
-
|
|
36594
|
-
|
|
36595
|
-
|
|
36596
|
-
|
|
36597
|
-
|
|
36598
|
-
|
|
36599
|
-
|
|
36600
|
-
|
|
36601
|
-
|
|
36602
|
-
|
|
36603
|
-
|
|
36604
|
-
|
|
36605
|
-
}
|
|
36606
|
-
toReturn = /* @__PURE__ */ React$2.createElement(core$5.Tooltip, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36607
|
-
}
|
|
36608
|
-
const El = isInline ? "span" : "div";
|
|
36609
|
-
return /* @__PURE__ */ React$2.createElement(
|
|
36610
|
-
El,
|
|
36611
|
-
{
|
|
36612
|
-
style: __spreadValues(__spreadValues(__spreadValues({}, clickable ? { cursor: "pointer" } : {}), isInline ? {} : { display: "flex" }), style2),
|
|
36613
|
-
className: classNames(
|
|
36614
|
-
"info-helper-wrapper",
|
|
36615
|
-
{
|
|
36616
|
-
"info-helper-wrapper-noMarginTop": noMarginTop,
|
|
36617
|
-
"info-helper-clickable": isPopover
|
|
36618
|
-
},
|
|
36619
|
-
className
|
|
36620
|
-
)
|
|
36621
|
-
},
|
|
36622
|
-
toReturn
|
|
36623
|
-
);
|
|
36541
|
+
const InfoHelper = /* @__PURE__ */ __name((_c) => {
|
|
36542
|
+
var _d = _c, {
|
|
36543
|
+
className,
|
|
36544
|
+
content: content2,
|
|
36545
|
+
children,
|
|
36546
|
+
icon = "info-sign",
|
|
36547
|
+
isPopover,
|
|
36548
|
+
isButton,
|
|
36549
|
+
size,
|
|
36550
|
+
isInline,
|
|
36551
|
+
clickable,
|
|
36552
|
+
color: color2,
|
|
36553
|
+
noMarginTop,
|
|
36554
|
+
popoverProps = {},
|
|
36555
|
+
disabled,
|
|
36556
|
+
displayToSide,
|
|
36557
|
+
style: style2
|
|
36558
|
+
} = _d, rest = __objRest(_d, [
|
|
36559
|
+
"className",
|
|
36560
|
+
"content",
|
|
36561
|
+
"children",
|
|
36562
|
+
"icon",
|
|
36563
|
+
"isPopover",
|
|
36564
|
+
"isButton",
|
|
36565
|
+
"size",
|
|
36566
|
+
"isInline",
|
|
36567
|
+
"clickable",
|
|
36568
|
+
"color",
|
|
36569
|
+
"noMarginTop",
|
|
36570
|
+
"popoverProps",
|
|
36571
|
+
"disabled",
|
|
36572
|
+
"displayToSide",
|
|
36573
|
+
"style"
|
|
36574
|
+
]);
|
|
36575
|
+
const IconToUse = isButton ? core$5.Button : core$5.Icon;
|
|
36576
|
+
const iconProps = {
|
|
36577
|
+
icon,
|
|
36578
|
+
color: color2,
|
|
36579
|
+
disabled
|
|
36580
|
+
};
|
|
36581
|
+
if (!isButton)
|
|
36582
|
+
iconProps.iconSize = size;
|
|
36583
|
+
const IconInner = /* @__PURE__ */ React$2.createElement(IconToUse, __spreadValues(__spreadValues({}, iconProps), rest));
|
|
36584
|
+
let toReturn;
|
|
36585
|
+
const toolTipOrPopoverProps = __spreadValues({
|
|
36586
|
+
disabled: disabled || !isPopover && window.Cypress && !window.Cypress.allowInfoHelperTooltips,
|
|
36587
|
+
popoverClassName: "tg-info-helper-popover bp3-tooltip",
|
|
36588
|
+
content: content2 || children,
|
|
36589
|
+
modifiers: popoverOverflowModifiers
|
|
36590
|
+
}, popoverProps);
|
|
36591
|
+
if (displayToSide) {
|
|
36592
|
+
toReturn = /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, IconInner, /* @__PURE__ */ React$2.createElement("span", { style: { paddingLeft: 5, fontStyle: "italic" } }, content2 || children));
|
|
36593
|
+
} else if (isPopover) {
|
|
36594
|
+
toReturn = /* @__PURE__ */ React$2.createElement(core$5.Popover, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36595
|
+
} else {
|
|
36596
|
+
toReturn = /* @__PURE__ */ React$2.createElement(core$5.Tooltip, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36624
36597
|
}
|
|
36625
|
-
|
|
36626
|
-
|
|
36627
|
-
|
|
36598
|
+
const El = isInline ? "span" : "div";
|
|
36599
|
+
return /* @__PURE__ */ React$2.createElement(
|
|
36600
|
+
El,
|
|
36601
|
+
{
|
|
36602
|
+
style: __spreadValues(__spreadValues(__spreadValues({}, clickable ? { cursor: "pointer" } : {}), isInline ? {} : { display: "flex" }), style2),
|
|
36603
|
+
className: classNames(
|
|
36604
|
+
"info-helper-wrapper",
|
|
36605
|
+
{
|
|
36606
|
+
"info-helper-wrapper-noMarginTop": noMarginTop,
|
|
36607
|
+
"info-helper-clickable": isPopover
|
|
36608
|
+
},
|
|
36609
|
+
className
|
|
36610
|
+
)
|
|
36611
|
+
},
|
|
36612
|
+
toReturn
|
|
36613
|
+
);
|
|
36614
|
+
}, "InfoHelper");
|
|
36628
36615
|
const getIdOrCodeOrIndex = /* @__PURE__ */ __name((record, rowIndex) => {
|
|
36629
36616
|
if (record.id || record.id === 0) {
|
|
36630
36617
|
return record.id;
|
|
@@ -48414,8 +48401,8 @@ const renderReactSelect = /* @__PURE__ */ __name((props) => {
|
|
|
48414
48401
|
});
|
|
48415
48402
|
return /* @__PURE__ */ React$2.createElement(TgSelect$1, __spreadValues({}, propsToUse));
|
|
48416
48403
|
}, "renderReactSelect");
|
|
48417
|
-
const BPSelect = /* @__PURE__ */ __name((
|
|
48418
|
-
var
|
|
48404
|
+
const BPSelect = /* @__PURE__ */ __name((_e) => {
|
|
48405
|
+
var _f = _e, { value, onChange } = _f, rest = __objRest(_f, ["value", "onChange"]);
|
|
48419
48406
|
return renderSelect(__spreadProps(__spreadValues({}, rest), { input: { onChange, value } }));
|
|
48420
48407
|
}, "BPSelect");
|
|
48421
48408
|
const renderSelect = /* @__PURE__ */ __name((props) => {
|
|
@@ -48550,12 +48537,12 @@ const renderBlueprintNumericInput = /* @__PURE__ */ __name((props) => {
|
|
|
48550
48537
|
})
|
|
48551
48538
|
);
|
|
48552
48539
|
}, "renderBlueprintNumericInput");
|
|
48553
|
-
const renderBlueprintRadioGroup = /* @__PURE__ */ __name((
|
|
48554
|
-
var
|
|
48540
|
+
const renderBlueprintRadioGroup = /* @__PURE__ */ __name((_g) => {
|
|
48541
|
+
var _h = _g, {
|
|
48555
48542
|
input,
|
|
48556
48543
|
options,
|
|
48557
48544
|
onFieldSubmit
|
|
48558
|
-
} =
|
|
48545
|
+
} = _h, rest = __objRest(_h, [
|
|
48559
48546
|
"input",
|
|
48560
48547
|
"options",
|
|
48561
48548
|
"onFieldSubmit"
|
|
@@ -51799,8 +51786,8 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
51799
51786
|
};
|
|
51800
51787
|
}),
|
|
51801
51788
|
branch(({ immovable }) => "true" !== immovable, sortableElement)
|
|
51802
|
-
)((
|
|
51803
|
-
var
|
|
51789
|
+
)((_i) => {
|
|
51790
|
+
var _j = _i, { toggleSort, className, children } = _j, rest = __objRest(_j, ["toggleSort", "className", "children"]);
|
|
51804
51791
|
return /* @__PURE__ */ React$2.createElement(
|
|
51805
51792
|
"div",
|
|
51806
51793
|
__spreadValues({
|
|
@@ -54059,13 +54046,13 @@ function getCellInfo({
|
|
|
54059
54046
|
};
|
|
54060
54047
|
}
|
|
54061
54048
|
__name(getCellInfo, "getCellInfo");
|
|
54062
|
-
function ColumnFilterMenu(
|
|
54063
|
-
var
|
|
54049
|
+
function ColumnFilterMenu(_k) {
|
|
54050
|
+
var _l = _k, {
|
|
54064
54051
|
FilterMenu,
|
|
54065
54052
|
filterActiveForColumn,
|
|
54066
54053
|
compact: compact3,
|
|
54067
54054
|
extraCompact
|
|
54068
|
-
} =
|
|
54055
|
+
} = _l, rest = __objRest(_l, [
|
|
54069
54056
|
"FilterMenu",
|
|
54070
54057
|
"filterActiveForColumn",
|
|
54071
54058
|
"compact",
|
|
@@ -56922,8 +56909,8 @@ function maybeStripIdFromEntities(ents, validateAgainstSchema) {
|
|
|
56922
56909
|
return toRet == null ? void 0 : toRet.map((e2) => omit$3(e2, ["_isClean"]));
|
|
56923
56910
|
}
|
|
56924
56911
|
__name(maybeStripIdFromEntities, "maybeStripIdFromEntities");
|
|
56925
|
-
const useDialog = /* @__PURE__ */ __name((
|
|
56926
|
-
var
|
|
56912
|
+
const useDialog = /* @__PURE__ */ __name((_m) => {
|
|
56913
|
+
var _n = _m, { ModalComponent } = _n, rest = __objRest(_n, ["ModalComponent"]);
|
|
56927
56914
|
const [isOpen, setOpen] = React$2.useState(false);
|
|
56928
56915
|
const [additionalProps, setAdditionalProps] = React$2.useState(false);
|
|
56929
56916
|
const comp = /* @__PURE__ */ React$2.createElement(
|
|
@@ -67452,68 +67439,55 @@ function BounceLoader({ style: style2, className }) {
|
|
|
67452
67439
|
);
|
|
67453
67440
|
}
|
|
67454
67441
|
__name(BounceLoader, "BounceLoader");
|
|
67455
|
-
const
|
|
67456
|
-
|
|
67457
|
-
|
|
67458
|
-
|
|
67459
|
-
|
|
67460
|
-
|
|
67461
|
-
|
|
67462
|
-
|
|
67463
|
-
|
|
67464
|
-
|
|
67465
|
-
|
|
67466
|
-
|
|
67442
|
+
const Loading = /* @__PURE__ */ __name(({
|
|
67443
|
+
loading,
|
|
67444
|
+
style: userStyle,
|
|
67445
|
+
className,
|
|
67446
|
+
containerStyle = {},
|
|
67447
|
+
children,
|
|
67448
|
+
displayInstantly = false,
|
|
67449
|
+
bounce = false,
|
|
67450
|
+
withTimeout,
|
|
67451
|
+
inDialog,
|
|
67452
|
+
centeredInPage
|
|
67453
|
+
}) => {
|
|
67454
|
+
const [longerThan200MS, setLongerThan200MS] = React$2.useState(false);
|
|
67455
|
+
React$2.useEffect(() => {
|
|
67456
|
+
const timeoutId = setTimeout(() => {
|
|
67457
|
+
setLongerThan200MS(true);
|
|
67467
67458
|
}, 200);
|
|
67468
|
-
|
|
67469
|
-
|
|
67470
|
-
|
|
67471
|
-
}
|
|
67472
|
-
|
|
67473
|
-
|
|
67474
|
-
|
|
67475
|
-
|
|
67476
|
-
|
|
67477
|
-
containerStyle = {},
|
|
67478
|
-
children,
|
|
67479
|
-
displayInstantly = false,
|
|
67480
|
-
bounce = false,
|
|
67481
|
-
withTimeout,
|
|
67482
|
-
inDialog,
|
|
67483
|
-
centeredInPage
|
|
67484
|
-
} = this.props;
|
|
67485
|
-
const { longerThan200MS } = this.state;
|
|
67486
|
-
const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
|
|
67487
|
-
const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
|
|
67488
|
-
if (loading || !children) {
|
|
67489
|
-
if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
|
|
67490
|
-
return /* @__PURE__ */ React$2.createElement("div", null);
|
|
67491
|
-
}
|
|
67492
|
-
return /* @__PURE__ */ React$2.createElement(
|
|
67493
|
-
"div",
|
|
67494
|
-
{
|
|
67495
|
-
className: "tg-loader-container tg-flex justify-center align-center",
|
|
67496
|
-
style: __spreadValues(__spreadValues({
|
|
67497
|
-
width: "100%"
|
|
67498
|
-
}, containerStyle), centeredInPage && {
|
|
67499
|
-
width: void 0,
|
|
67500
|
-
zIndex: 20,
|
|
67501
|
-
height: 10,
|
|
67502
|
-
position: "fixed",
|
|
67503
|
-
top: "50%",
|
|
67504
|
-
left: "50%",
|
|
67505
|
-
transform: "translate(-50%, 0)"
|
|
67506
|
-
})
|
|
67507
|
-
},
|
|
67508
|
-
/* @__PURE__ */ React$2.createElement(LoaderComp, { style: style2, className })
|
|
67509
|
-
);
|
|
67510
|
-
} else {
|
|
67511
|
-
return children || null;
|
|
67459
|
+
return () => {
|
|
67460
|
+
clearTimeout(timeoutId);
|
|
67461
|
+
};
|
|
67462
|
+
}, []);
|
|
67463
|
+
const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
|
|
67464
|
+
const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
|
|
67465
|
+
if (loading || !children) {
|
|
67466
|
+
if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
|
|
67467
|
+
return /* @__PURE__ */ React$2.createElement("div", null);
|
|
67512
67468
|
}
|
|
67469
|
+
return /* @__PURE__ */ React$2.createElement(
|
|
67470
|
+
"div",
|
|
67471
|
+
{
|
|
67472
|
+
className: "tg-loader-container tg-flex justify-center align-center",
|
|
67473
|
+
style: __spreadValues(__spreadValues({
|
|
67474
|
+
width: "100%"
|
|
67475
|
+
}, containerStyle), centeredInPage && {
|
|
67476
|
+
width: void 0,
|
|
67477
|
+
zIndex: 20,
|
|
67478
|
+
height: 10,
|
|
67479
|
+
position: "fixed",
|
|
67480
|
+
top: "50%",
|
|
67481
|
+
left: "50%",
|
|
67482
|
+
transform: "translate(-50%, 0)"
|
|
67483
|
+
})
|
|
67484
|
+
},
|
|
67485
|
+
/* @__PURE__ */ React$2.createElement(LoaderComp, { style: style2, className })
|
|
67486
|
+
);
|
|
67487
|
+
} else {
|
|
67488
|
+
return children || null;
|
|
67513
67489
|
}
|
|
67514
|
-
};
|
|
67515
|
-
__name(_Loading, "Loading");
|
|
67516
|
-
let Loading = _Loading;
|
|
67490
|
+
}, "Loading");
|
|
67517
67491
|
function AdvancedOptions({
|
|
67518
67492
|
children,
|
|
67519
67493
|
content: content2,
|
|
@@ -67546,14 +67520,14 @@ function AdvancedOptions({
|
|
|
67546
67520
|
), isOpen && /* @__PURE__ */ React$2.createElement("div", { style: { marginTop: 10 } }, content2 || children));
|
|
67547
67521
|
}
|
|
67548
67522
|
__name(AdvancedOptions, "AdvancedOptions");
|
|
67549
|
-
function DropdownButton(
|
|
67550
|
-
var
|
|
67523
|
+
function DropdownButton(_o) {
|
|
67524
|
+
var _p = _o, {
|
|
67551
67525
|
disabled,
|
|
67552
67526
|
menu,
|
|
67553
67527
|
noRightIcon,
|
|
67554
67528
|
popoverProps,
|
|
67555
67529
|
className
|
|
67556
|
-
} =
|
|
67530
|
+
} = _p, rest = __objRest(_p, [
|
|
67557
67531
|
"disabled",
|
|
67558
67532
|
"menu",
|
|
67559
67533
|
"noRightIcon",
|
|
@@ -70912,14 +70886,14 @@ const EnhancedMenuItem = compose(
|
|
|
70912
70886
|
}
|
|
70913
70887
|
}),
|
|
70914
70888
|
branch(({ navTo }) => navTo, withRouter$1)
|
|
70915
|
-
)(function(
|
|
70916
|
-
var
|
|
70889
|
+
)(function(_q) {
|
|
70890
|
+
var _r = _q, {
|
|
70917
70891
|
navTo,
|
|
70918
70892
|
context,
|
|
70919
70893
|
staticContext,
|
|
70920
70894
|
didMount,
|
|
70921
70895
|
willUnmount
|
|
70922
|
-
} =
|
|
70896
|
+
} = _r, props = __objRest(_r, [
|
|
70923
70897
|
"navTo",
|
|
70924
70898
|
"context",
|
|
70925
70899
|
"staticContext",
|
|
@@ -71113,7 +71087,7 @@ function doesSearchValMatchText(searchVal, justText) {
|
|
|
71113
71087
|
);
|
|
71114
71088
|
}
|
|
71115
71089
|
__name(doesSearchValMatchText, "doesSearchValMatchText");
|
|
71116
|
-
let MenuBar$1 = (
|
|
71090
|
+
let MenuBar$1 = (_s = class extends React$2.Component {
|
|
71117
71091
|
constructor(props) {
|
|
71118
71092
|
super(props);
|
|
71119
71093
|
__publicField(this, "state", {
|
|
@@ -71358,10 +71332,10 @@ let MenuBar$1 = (_q = class extends React$2.Component {
|
|
|
71358
71332
|
);
|
|
71359
71333
|
}), extraContent);
|
|
71360
71334
|
}
|
|
71361
|
-
}, __name(
|
|
71335
|
+
}, __name(_s, "MenuBar"), __publicField(_s, "defaultProps", {
|
|
71362
71336
|
className: "",
|
|
71363
71337
|
style: {}
|
|
71364
|
-
}),
|
|
71338
|
+
}), _s);
|
|
71365
71339
|
const isDivider = /* @__PURE__ */ __name((item) => item.divider !== void 0, "isDivider");
|
|
71366
71340
|
function getAllMenuTextsAndHandlers(menu, enhancers, context, path2 = []) {
|
|
71367
71341
|
if (!menu)
|
|
@@ -71509,7 +71483,7 @@ function HotkeysDialog(props) {
|
|
|
71509
71483
|
);
|
|
71510
71484
|
}
|
|
71511
71485
|
__name(HotkeysDialog, "HotkeysDialog");
|
|
71512
|
-
let FillWindow$1 = (
|
|
71486
|
+
let FillWindow$1 = (_t = class extends React$2.Component {
|
|
71513
71487
|
constructor(props) {
|
|
71514
71488
|
super(props);
|
|
71515
71489
|
rerenderOnWindowResize(this);
|
|
@@ -71557,7 +71531,7 @@ let FillWindow$1 = (_r = class extends React$2.Component {
|
|
|
71557
71531
|
return ReactDOM$1.createPortal(inner2, window.document.body);
|
|
71558
71532
|
return inner2;
|
|
71559
71533
|
}
|
|
71560
|
-
}, __name(
|
|
71534
|
+
}, __name(_t, "FillWindow"), _t);
|
|
71561
71535
|
var relativeTime$1 = { exports: {} };
|
|
71562
71536
|
(function(module2, exports2) {
|
|
71563
71537
|
!function(r2, e2) {
|
|
@@ -71605,16 +71579,6 @@ var relativeTime$1 = { exports: {} };
|
|
|
71605
71579
|
var relativeTimeExports = relativeTime$1.exports;
|
|
71606
71580
|
const relativeTime = /* @__PURE__ */ getDefaultExportFromCjs(relativeTimeExports);
|
|
71607
71581
|
dayjs.extend(relativeTime);
|
|
71608
|
-
const _Timeline = class _Timeline extends React$2.Component {
|
|
71609
|
-
render() {
|
|
71610
|
-
return /* @__PURE__ */ React$2.createElement("div", { className: "tg-timeline" }, this.props.children.length > 1 && /* @__PURE__ */ React$2.createElement("div", { className: "tg-timeline-line" }), this.props.children);
|
|
71611
|
-
}
|
|
71612
|
-
};
|
|
71613
|
-
__name(_Timeline, "Timeline");
|
|
71614
|
-
__publicField(_Timeline, "propTypes", {
|
|
71615
|
-
children: PropTypes.arrayOf(PropTypes.element)
|
|
71616
|
-
});
|
|
71617
|
-
let Timeline = _Timeline;
|
|
71618
71582
|
const ptIconWrapper = /* @__PURE__ */ __name((path2, viewboxDefault = 24, rest) => {
|
|
71619
71583
|
return /* @__PURE__ */ React$2.createElement("span", { className: "bp3-icon" }, /* @__PURE__ */ React$2.createElement(
|
|
71620
71584
|
"svg",
|
|
@@ -90444,7 +90408,7 @@ const util$1 = util$4;
|
|
|
90444
90408
|
const xmlNode = xmlNode$1;
|
|
90445
90409
|
const readDocType = DocTypeReader;
|
|
90446
90410
|
const toNumber = strnum;
|
|
90447
|
-
let OrderedObjParser$1 = (
|
|
90411
|
+
let OrderedObjParser$1 = (_u = class {
|
|
90448
90412
|
constructor(options) {
|
|
90449
90413
|
this.options = options;
|
|
90450
90414
|
this.currentNode = null;
|
|
@@ -90483,7 +90447,7 @@ let OrderedObjParser$1 = (_s = class {
|
|
|
90483
90447
|
this.saveTextToParentTag = saveTextToParentTag;
|
|
90484
90448
|
this.addChild = addChild;
|
|
90485
90449
|
}
|
|
90486
|
-
}, __name(
|
|
90450
|
+
}, __name(_u, "OrderedObjParser"), _u);
|
|
90487
90451
|
function addExternalEntities(externalEntities) {
|
|
90488
90452
|
const entKeys = Object.keys(externalEntities);
|
|
90489
90453
|
for (let i = 0; i < entKeys.length; i++) {
|
|
@@ -91039,7 +91003,7 @@ const { buildOptions } = OptionsBuilder;
|
|
|
91039
91003
|
const OrderedObjParser = OrderedObjParser_1;
|
|
91040
91004
|
const { prettify } = node2json;
|
|
91041
91005
|
const validator$1 = validator$2;
|
|
91042
|
-
let XMLParser$1 = (
|
|
91006
|
+
let XMLParser$1 = (_v = class {
|
|
91043
91007
|
constructor(options) {
|
|
91044
91008
|
this.externalEntities = {};
|
|
91045
91009
|
this.options = buildOptions(options);
|
|
@@ -91089,7 +91053,7 @@ let XMLParser$1 = (_t = class {
|
|
|
91089
91053
|
this.externalEntities[key] = value;
|
|
91090
91054
|
}
|
|
91091
91055
|
}
|
|
91092
|
-
}, __name(
|
|
91056
|
+
}, __name(_v, "XMLParser"), _v);
|
|
91093
91057
|
var XMLParser_1 = XMLParser$1;
|
|
91094
91058
|
const EOL = "\n";
|
|
91095
91059
|
function toXml(jArray, options) {
|
|
@@ -118997,7 +118961,7 @@ const Labels$2 = onlyUpdateForKeys([
|
|
|
118997
118961
|
"editorName"
|
|
118998
118962
|
])(Labels$1);
|
|
118999
118963
|
const DrawLabel = withHover(
|
|
119000
|
-
(
|
|
118964
|
+
(_w = class extends React$2.Component {
|
|
119001
118965
|
render() {
|
|
119002
118966
|
const {
|
|
119003
118967
|
hovered,
|
|
@@ -119101,7 +119065,7 @@ const DrawLabel = withHover(
|
|
|
119101
119065
|
}
|
|
119102
119066
|
));
|
|
119103
119067
|
}
|
|
119104
|
-
}, __name(
|
|
119068
|
+
}, __name(_w, "DrawLabelInner"), _w)
|
|
119105
119069
|
);
|
|
119106
119070
|
const labelClassNames = {
|
|
119107
119071
|
cutsites: "veCutsiteLabel",
|
|
@@ -120999,7 +120963,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
120999
120963
|
}
|
|
121000
120964
|
__name(showFileDialog, "showFileDialog");
|
|
121001
120965
|
const name = "@teselagen/ove";
|
|
121002
|
-
const version = "0.5.
|
|
120966
|
+
const version = "0.5.12";
|
|
121003
120967
|
const main = "./src/index.js";
|
|
121004
120968
|
const type = "module";
|
|
121005
120969
|
const exports$1 = {
|
|
@@ -121079,8 +121043,8 @@ const useAnnotationLimits = /* @__PURE__ */ __name(() => useLocalStorageState("a
|
|
|
121079
121043
|
cutsites: 100
|
|
121080
121044
|
}
|
|
121081
121045
|
}), "useAnnotationLimits");
|
|
121082
|
-
function LimitAnnotations(
|
|
121083
|
-
var
|
|
121046
|
+
function LimitAnnotations(_x) {
|
|
121047
|
+
var _y = _x, { type: type2 } = _y, rest = __objRest(_y, ["type"]);
|
|
121084
121048
|
const [limits = {}, setLimits] = useAnnotationLimits();
|
|
121085
121049
|
return /* @__PURE__ */ React$2.createElement(core$5.MenuItem, __spreadValues({ icon: "blank", shouldDismissPopover: false }, rest), [50, 100, 200, 400].map((n2) => /* @__PURE__ */ React$2.createElement(
|
|
121086
121050
|
core$5.MenuItem,
|
|
@@ -127239,7 +127203,7 @@ const commonConfigResolver = {
|
|
|
127239
127203
|
};
|
|
127240
127204
|
const DEFAULT_AXIS_THRESHOLD = 0;
|
|
127241
127205
|
const coordinatesConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigResolver), {}, {
|
|
127242
|
-
axis(
|
|
127206
|
+
axis(_v2, _k, {
|
|
127243
127207
|
axis
|
|
127244
127208
|
}) {
|
|
127245
127209
|
this.lockDirection = axis === "lock";
|
|
@@ -127313,7 +127277,7 @@ const DEFAULT_DRAG_AXIS_THRESHOLD = {
|
|
|
127313
127277
|
pen: 8
|
|
127314
127278
|
};
|
|
127315
127279
|
_objectSpread2$1(_objectSpread2$1({}, coordinatesConfigResolver), {}, {
|
|
127316
|
-
device(
|
|
127280
|
+
device(_v2, _k, {
|
|
127317
127281
|
pointer: {
|
|
127318
127282
|
touch = false,
|
|
127319
127283
|
lock = false,
|
|
@@ -127339,7 +127303,7 @@ _objectSpread2$1(_objectSpread2$1({}, coordinatesConfigResolver), {}, {
|
|
|
127339
127303
|
return void 0;
|
|
127340
127304
|
return value ? value : preventScroll !== void 0 ? "y" : void 0;
|
|
127341
127305
|
},
|
|
127342
|
-
pointerCapture(
|
|
127306
|
+
pointerCapture(_v2, _k, {
|
|
127343
127307
|
pointer: {
|
|
127344
127308
|
capture = true,
|
|
127345
127309
|
buttons = 1,
|
|
@@ -127670,7 +127634,7 @@ const _PinchEngine = class _PinchEngine extends Engine {
|
|
|
127670
127634
|
__name(_PinchEngine, "PinchEngine");
|
|
127671
127635
|
let PinchEngine = _PinchEngine;
|
|
127672
127636
|
const pinchConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigResolver), {}, {
|
|
127673
|
-
device(
|
|
127637
|
+
device(_v2, _k, {
|
|
127674
127638
|
shared: shared2,
|
|
127675
127639
|
pointer: {
|
|
127676
127640
|
touch = false
|
|
@@ -127688,7 +127652,7 @@ const pinchConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigRe
|
|
|
127688
127652
|
return "touch";
|
|
127689
127653
|
}
|
|
127690
127654
|
},
|
|
127691
|
-
bounds(
|
|
127655
|
+
bounds(_v2, _k, {
|
|
127692
127656
|
scaleBounds = {},
|
|
127693
127657
|
angleBounds = {}
|
|
127694
127658
|
}) {
|
|
@@ -128987,7 +128951,7 @@ const _Minimap = class _Minimap extends React$2.Component {
|
|
|
128987
128951
|
__name(_Minimap, "Minimap");
|
|
128988
128952
|
let Minimap = _Minimap;
|
|
128989
128953
|
const YellowScrollHandle = view(
|
|
128990
|
-
(
|
|
128954
|
+
(_z = class extends React$2.Component {
|
|
128991
128955
|
render() {
|
|
128992
128956
|
const {
|
|
128993
128957
|
scrollHandleWidth,
|
|
@@ -129142,7 +129106,7 @@ const YellowScrollHandle = view(
|
|
|
129142
129106
|
)
|
|
129143
129107
|
);
|
|
129144
129108
|
}
|
|
129145
|
-
}, __name(
|
|
129109
|
+
}, __name(_z, "YellowScrollHandleInner"), _z)
|
|
129146
129110
|
);
|
|
129147
129111
|
function getTrimmedRangesToDisplay({ trimmedRange, seqLen }) {
|
|
129148
129112
|
if (!trimmedRange)
|
|
@@ -129515,14 +129479,14 @@ function getRangeAnglesSpecial() {
|
|
|
129515
129479
|
}, rest);
|
|
129516
129480
|
}
|
|
129517
129481
|
__name(getRangeAnglesSpecial, "getRangeAnglesSpecial");
|
|
129518
|
-
function PositionAnnotationOnCircle(
|
|
129519
|
-
var
|
|
129482
|
+
function PositionAnnotationOnCircle(_A) {
|
|
129483
|
+
var _B = _A, {
|
|
129520
129484
|
children,
|
|
129521
129485
|
height: height2 = 0,
|
|
129522
129486
|
sAngle = 0,
|
|
129523
129487
|
eAngle = 0,
|
|
129524
129488
|
forward = true
|
|
129525
|
-
} =
|
|
129489
|
+
} = _B, rest = __objRest(_B, [
|
|
129526
129490
|
"children",
|
|
129527
129491
|
"height",
|
|
129528
129492
|
"sAngle",
|
|
@@ -134041,7 +134005,7 @@ const SelectDialog = redux.compose(
|
|
|
134041
134005
|
}),
|
|
134042
134006
|
tgFormValues("from", "to")
|
|
134043
134007
|
)(
|
|
134044
|
-
(
|
|
134008
|
+
(_C = class extends React$2.Component {
|
|
134045
134009
|
constructor() {
|
|
134046
134010
|
super(...arguments);
|
|
134047
134011
|
__publicField(this, "updateTempHighlight", /* @__PURE__ */ __name(({ isStart, isEnd } = {}) => (val2) => {
|
|
@@ -134152,7 +134116,7 @@ const SelectDialog = redux.compose(
|
|
|
134152
134116
|
))
|
|
134153
134117
|
);
|
|
134154
134118
|
}
|
|
134155
|
-
}, __name(
|
|
134119
|
+
}, __name(_C, "SelectDialog"), _C)
|
|
134156
134120
|
);
|
|
134157
134121
|
const normalizeToInt = /* @__PURE__ */ __name((val2) => {
|
|
134158
134122
|
const int2 = Math.round(val2);
|
|
@@ -137607,8 +137571,8 @@ function getTrackFromEvent(event, allTracks) {
|
|
|
137607
137571
|
return track2;
|
|
137608
137572
|
}
|
|
137609
137573
|
__name(getTrackFromEvent, "getTrackFromEvent");
|
|
137610
|
-
const PerformantSelectionLayer = view((
|
|
137611
|
-
var
|
|
137574
|
+
const PerformantSelectionLayer = view((_D) => {
|
|
137575
|
+
var _E = _D, { easyStore: easyStore2 } = _E, rest = __objRest(_E, ["easyStore"]);
|
|
137612
137576
|
const seqLen = rest.sequenceLength - 1;
|
|
137613
137577
|
return /* @__PURE__ */ React$2.createElement(
|
|
137614
137578
|
SelectionLayer$3,
|
|
@@ -139448,8 +139412,8 @@ const AlignmentView$1 = compose(
|
|
|
139448
139412
|
})
|
|
139449
139413
|
)
|
|
139450
139414
|
)(AlignmentView);
|
|
139451
|
-
const PerformantCaret = view((
|
|
139452
|
-
var
|
|
139415
|
+
const PerformantCaret = view((_F) => {
|
|
139416
|
+
var _G = _F, { easyStore: easyStore2 } = _G, rest = __objRest(_G, ["easyStore"]);
|
|
139453
139417
|
return /* @__PURE__ */ React$2.createElement(Caret$2, __spreadValues({ caretPosition: easyStore2.caretPosition }, rest));
|
|
139454
139418
|
});
|
|
139455
139419
|
function cleanTracks(alignmentTracks) {
|
|
@@ -141714,14 +141678,14 @@ const cutsiteTool = connectToEditor(
|
|
|
141714
141678
|
}, toolbarItemProps))
|
|
141715
141679
|
);
|
|
141716
141680
|
});
|
|
141717
|
-
function CutsiteToolDropDown(
|
|
141718
|
-
var
|
|
141681
|
+
function CutsiteToolDropDown(_H) {
|
|
141682
|
+
var _I = _H, {
|
|
141719
141683
|
editorName,
|
|
141720
141684
|
toggleDropdown,
|
|
141721
141685
|
annotationVisibilityShow: annotationVisibilityShow2,
|
|
141722
141686
|
withDigestTool,
|
|
141723
141687
|
createNewDigest: createNewDigest2
|
|
141724
|
-
} =
|
|
141688
|
+
} = _I, rest = __objRest(_I, [
|
|
141725
141689
|
"editorName",
|
|
141726
141690
|
"toggleDropdown",
|
|
141727
141691
|
"annotationVisibilityShow",
|
|
@@ -141849,7 +141813,7 @@ const orfTool = connectToEditor(
|
|
|
141849
141813
|
);
|
|
141850
141814
|
});
|
|
141851
141815
|
const OrfToolDropdown = withEditorProps(
|
|
141852
|
-
(
|
|
141816
|
+
(_J = class extends React$2.Component {
|
|
141853
141817
|
constructor(props) {
|
|
141854
141818
|
super(props);
|
|
141855
141819
|
this.commands = getCommands(this);
|
|
@@ -141875,7 +141839,7 @@ const OrfToolDropdown = withEditorProps(
|
|
|
141875
141839
|
}
|
|
141876
141840
|
));
|
|
141877
141841
|
}
|
|
141878
|
-
}, __name(
|
|
141842
|
+
}, __name(_J, "OrfDropdown"), _J)
|
|
141879
141843
|
);
|
|
141880
141844
|
const opts = [
|
|
141881
141845
|
{ label: "DNA", value: "DNA" },
|
|
@@ -147274,8 +147238,8 @@ function StandaloneVersionHistoryView(props) {
|
|
|
147274
147238
|
return /* @__PURE__ */ React$2.createElement(reactRedux.Provider, { store }, /* @__PURE__ */ React$2.createElement(VersionHistoryView$1, __spreadValues({}, __spreadValues({}, props))));
|
|
147275
147239
|
}
|
|
147276
147240
|
__name(StandaloneVersionHistoryView, "StandaloneVersionHistoryView");
|
|
147277
|
-
function createVectorEditor(_node,
|
|
147278
|
-
var
|
|
147241
|
+
function createVectorEditor(_node, _K = {}) {
|
|
147242
|
+
var _L = _K, { editorName = "StandaloneEditor" } = _L, rest = __objRest(_L, ["editorName"]);
|
|
147279
147243
|
if (!store) {
|
|
147280
147244
|
store = makeStore();
|
|
147281
147245
|
}
|
|
@@ -147308,8 +147272,8 @@ function createVectorEditor(_node, _I = {}) {
|
|
|
147308
147272
|
return editor;
|
|
147309
147273
|
}
|
|
147310
147274
|
__name(createVectorEditor, "createVectorEditor");
|
|
147311
|
-
function createVersionHistoryView(node2,
|
|
147312
|
-
var
|
|
147275
|
+
function createVersionHistoryView(node2, _M = {}) {
|
|
147276
|
+
var _N = _M, { editorName = "StandaloneVersionHistoryView" } = _N, rest = __objRest(_N, ["editorName"]);
|
|
147313
147277
|
if (!store) {
|
|
147314
147278
|
store = makeStore();
|
|
147315
147279
|
}
|