@teselagen/ove 0.5.21 → 0.5.22
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/index.cjs.js +7 -6
- package/index.d.ts +1 -0
- package/index.es.js +7 -6
- package/index.umd.js +7 -6
- package/package.json +1 -1
- package/src/CircularView/Primer.js +2 -2
- package/src/RowItem/StackedAnnotations/PointedAnnotation.js +1 -1
- package/src/index.js +1 -0
- package/src/utils/editorUtils.js +2 -2
- package/utils/editorUtils.d.ts +2 -1
package/index.cjs.js
CHANGED
|
@@ -105753,11 +105753,11 @@ function getSelFromWrappedAddon(selectionLayer2, sequenceLength) {
|
|
|
105753
105753
|
return selToUse;
|
|
105754
105754
|
}
|
|
105755
105755
|
__name(getSelFromWrappedAddon, "getSelFromWrappedAddon");
|
|
105756
|
-
function getStripedPattern({ color: color2 }) {
|
|
105756
|
+
function getStripedPattern({ color: color2, id: id2 }) {
|
|
105757
105757
|
return /* @__PURE__ */ React$2.createElement(
|
|
105758
105758
|
"pattern",
|
|
105759
105759
|
{
|
|
105760
|
-
id:
|
|
105760
|
+
id: `diagonalHatch-${id2}`,
|
|
105761
105761
|
patternUnits: "userSpaceOnUse",
|
|
105762
105762
|
width: "4",
|
|
105763
105763
|
height: "4"
|
|
@@ -119230,7 +119230,7 @@ function PointedAnnotation(props) {
|
|
|
119230
119230
|
strokeWidth: "1",
|
|
119231
119231
|
stroke: stroke || "black",
|
|
119232
119232
|
opacity,
|
|
119233
|
-
fill: isStriped ?
|
|
119233
|
+
fill: isStriped ? `url(#diagonalHatch-${id2})` : fill || color2,
|
|
119234
119234
|
transform: forward ? null : "translate(" + width + `,${flipAnnotation ? -extraHeight + 10 : 0}) scale(-1,${flipAnnotation ? "-" : ""}1) `,
|
|
119235
119235
|
d: path2
|
|
119236
119236
|
}
|
|
@@ -122409,7 +122409,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
122409
122409
|
}
|
|
122410
122410
|
__name(showFileDialog, "showFileDialog");
|
|
122411
122411
|
const name = "@teselagen/ove";
|
|
122412
|
-
const version = "0.5.
|
|
122412
|
+
const version = "0.5.21";
|
|
122413
122413
|
const main = "./src/index.js";
|
|
122414
122414
|
const type = "module";
|
|
122415
122415
|
const exports$1 = {
|
|
@@ -133086,14 +133086,14 @@ function CircularPrimer(props) {
|
|
|
133086
133086
|
hasLabel: ellipsizedName,
|
|
133087
133087
|
labelNeedsFlip
|
|
133088
133088
|
});
|
|
133089
|
-
return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, getStripedPattern({ color: color2 }), /* @__PURE__ */ React$2.createElement(
|
|
133089
|
+
return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, getStripedPattern({ color: color2, id: id2 }), /* @__PURE__ */ React$2.createElement(
|
|
133090
133090
|
"path",
|
|
133091
133091
|
{
|
|
133092
133092
|
className: "vePrimer veCircularViewPrimer",
|
|
133093
133093
|
id: id2,
|
|
133094
133094
|
strokeWidth: ".5",
|
|
133095
133095
|
stroke: "black",
|
|
133096
|
-
fill:
|
|
133096
|
+
fill: `url(#diagonalHatch-${id2})`,
|
|
133097
133097
|
d: path2.print()
|
|
133098
133098
|
}
|
|
133099
133099
|
), getInternalLabel(__spreadProps(__spreadValues({}, props), { colorToUse: color2, textPath })));
|
|
@@ -148975,6 +148975,7 @@ exports.connectToEditor = connectToEditor;
|
|
|
148975
148975
|
exports.createVectorEditor = createVectorEditor;
|
|
148976
148976
|
exports.getOveHotkeyDefs = getOveHotkeyDefs;
|
|
148977
148977
|
exports.getRangeAnglesSpecial = getRangeAnglesSpecial;
|
|
148978
|
+
exports.getStructuredBases = getStructuredBases;
|
|
148978
148979
|
exports.getUserGroupLabel = getUserGroupLabel;
|
|
148979
148980
|
exports.specialCutsiteFilterOptions = specialCutsiteFilterOptions;
|
|
148980
148981
|
exports.updateEditor = updateEditor;
|
package/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export { default as PositionAnnotationOnCircle } from './CircularView/PositionAn
|
|
|
16
16
|
export { default as EnzymeViewer } from './EnzymeViewer';
|
|
17
17
|
export { default as AlignmentView } from './AlignmentView';
|
|
18
18
|
export { default as getOveHotkeyDefs } from './commands/getOveHotkeyDefs';
|
|
19
|
+
export { getStructuredBases } from './RowItem/StackedAnnotations/getStructuredBases';
|
|
19
20
|
export { default as withEditorProps, connectToEditor } from './withEditorProps';
|
|
20
21
|
export { default as Editor, Editor as EditorUnconnected } from './Editor';
|
|
21
22
|
export { default as CutsiteFilter, CutsiteFilter as CutsiteFilterUnconnected } from './CutsiteFilter';
|
package/index.es.js
CHANGED
|
@@ -105735,11 +105735,11 @@ function getSelFromWrappedAddon(selectionLayer2, sequenceLength) {
|
|
|
105735
105735
|
return selToUse;
|
|
105736
105736
|
}
|
|
105737
105737
|
__name(getSelFromWrappedAddon, "getSelFromWrappedAddon");
|
|
105738
|
-
function getStripedPattern({ color: color2 }) {
|
|
105738
|
+
function getStripedPattern({ color: color2, id: id2 }) {
|
|
105739
105739
|
return /* @__PURE__ */ React__default$1.createElement(
|
|
105740
105740
|
"pattern",
|
|
105741
105741
|
{
|
|
105742
|
-
id:
|
|
105742
|
+
id: `diagonalHatch-${id2}`,
|
|
105743
105743
|
patternUnits: "userSpaceOnUse",
|
|
105744
105744
|
width: "4",
|
|
105745
105745
|
height: "4"
|
|
@@ -119212,7 +119212,7 @@ function PointedAnnotation(props) {
|
|
|
119212
119212
|
strokeWidth: "1",
|
|
119213
119213
|
stroke: stroke || "black",
|
|
119214
119214
|
opacity,
|
|
119215
|
-
fill: isStriped ?
|
|
119215
|
+
fill: isStriped ? `url(#diagonalHatch-${id2})` : fill || color2,
|
|
119216
119216
|
transform: forward ? null : "translate(" + width + `,${flipAnnotation ? -extraHeight + 10 : 0}) scale(-1,${flipAnnotation ? "-" : ""}1) `,
|
|
119217
119217
|
d: path2
|
|
119218
119218
|
}
|
|
@@ -122391,7 +122391,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
122391
122391
|
}
|
|
122392
122392
|
__name(showFileDialog, "showFileDialog");
|
|
122393
122393
|
const name = "@teselagen/ove";
|
|
122394
|
-
const version = "0.5.
|
|
122394
|
+
const version = "0.5.21";
|
|
122395
122395
|
const main = "./src/index.js";
|
|
122396
122396
|
const type = "module";
|
|
122397
122397
|
const exports$1 = {
|
|
@@ -133068,14 +133068,14 @@ function CircularPrimer(props) {
|
|
|
133068
133068
|
hasLabel: ellipsizedName,
|
|
133069
133069
|
labelNeedsFlip
|
|
133070
133070
|
});
|
|
133071
|
-
return /* @__PURE__ */ React__default$1.createElement(React__default$1.Fragment, null, getStripedPattern({ color: color2 }), /* @__PURE__ */ React__default$1.createElement(
|
|
133071
|
+
return /* @__PURE__ */ React__default$1.createElement(React__default$1.Fragment, null, getStripedPattern({ color: color2, id: id2 }), /* @__PURE__ */ React__default$1.createElement(
|
|
133072
133072
|
"path",
|
|
133073
133073
|
{
|
|
133074
133074
|
className: "vePrimer veCircularViewPrimer",
|
|
133075
133075
|
id: id2,
|
|
133076
133076
|
strokeWidth: ".5",
|
|
133077
133077
|
stroke: "black",
|
|
133078
|
-
fill:
|
|
133078
|
+
fill: `url(#diagonalHatch-${id2})`,
|
|
133079
133079
|
d: path2.print()
|
|
133080
133080
|
}
|
|
133081
133081
|
), getInternalLabel(__spreadProps(__spreadValues({}, props), { colorToUse: color2, textPath })));
|
|
@@ -148959,6 +148959,7 @@ export {
|
|
|
148959
148959
|
getGaps,
|
|
148960
148960
|
getOveHotkeyDefs,
|
|
148961
148961
|
getRangeAnglesSpecial,
|
|
148962
|
+
getStructuredBases,
|
|
148962
148963
|
getUserGroupLabel,
|
|
148963
148964
|
specialCutsiteFilterOptions,
|
|
148964
148965
|
updateEditor,
|
package/index.umd.js
CHANGED
|
@@ -134254,11 +134254,11 @@ ${seq.sequence}
|
|
|
134254
134254
|
return selToUse;
|
|
134255
134255
|
}
|
|
134256
134256
|
__name(getSelFromWrappedAddon, "getSelFromWrappedAddon");
|
|
134257
|
-
function getStripedPattern({ color: color2 }) {
|
|
134257
|
+
function getStripedPattern({ color: color2, id: id2 }) {
|
|
134258
134258
|
return /* @__PURE__ */ React$2.createElement(
|
|
134259
134259
|
"pattern",
|
|
134260
134260
|
{
|
|
134261
|
-
id:
|
|
134261
|
+
id: `diagonalHatch-${id2}`,
|
|
134262
134262
|
patternUnits: "userSpaceOnUse",
|
|
134263
134263
|
width: "4",
|
|
134264
134264
|
height: "4"
|
|
@@ -147731,7 +147731,7 @@ double click --> edit`}`;
|
|
|
147731
147731
|
strokeWidth: "1",
|
|
147732
147732
|
stroke: stroke || "black",
|
|
147733
147733
|
opacity: opacity2,
|
|
147734
|
-
fill: isStriped ?
|
|
147734
|
+
fill: isStriped ? `url(#diagonalHatch-${id2})` : fill || color2,
|
|
147735
147735
|
transform: forward ? null : "translate(" + width + `,${flipAnnotation ? -extraHeight + 10 : 0}) scale(-1,${flipAnnotation ? "-" : ""}1) `,
|
|
147736
147736
|
d: path2
|
|
147737
147737
|
}
|
|
@@ -150876,7 +150876,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
150876
150876
|
}
|
|
150877
150877
|
__name(showFileDialog, "showFileDialog");
|
|
150878
150878
|
const name = "@teselagen/ove";
|
|
150879
|
-
const version = "0.5.
|
|
150879
|
+
const version = "0.5.21";
|
|
150880
150880
|
const main = "./src/index.js";
|
|
150881
150881
|
const type = "module";
|
|
150882
150882
|
const exports$1 = {
|
|
@@ -159948,14 +159948,14 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
159948
159948
|
hasLabel: ellipsizedName,
|
|
159949
159949
|
labelNeedsFlip
|
|
159950
159950
|
});
|
|
159951
|
-
return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, getStripedPattern({ color: color2 }), /* @__PURE__ */ React$2.createElement(
|
|
159951
|
+
return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, getStripedPattern({ color: color2, id: id2 }), /* @__PURE__ */ React$2.createElement(
|
|
159952
159952
|
"path",
|
|
159953
159953
|
{
|
|
159954
159954
|
className: "vePrimer veCircularViewPrimer",
|
|
159955
159955
|
id: id2,
|
|
159956
159956
|
strokeWidth: ".5",
|
|
159957
159957
|
stroke: "black",
|
|
159958
|
-
fill:
|
|
159958
|
+
fill: `url(#diagonalHatch-${id2})`,
|
|
159959
159959
|
d: path2.print()
|
|
159960
159960
|
}
|
|
159961
159961
|
), getInternalLabel(__spreadProps(__spreadValues({}, props), { colorToUse: color2, textPath })));
|
|
@@ -183215,6 +183215,7 @@ ${seqDataToCopy}\r
|
|
|
183215
183215
|
exports2.createVectorEditor = createVectorEditor;
|
|
183216
183216
|
exports2.getOveHotkeyDefs = getOveHotkeyDefs;
|
|
183217
183217
|
exports2.getRangeAnglesSpecial = getRangeAnglesSpecial;
|
|
183218
|
+
exports2.getStructuredBases = getStructuredBases;
|
|
183218
183219
|
exports2.getUserGroupLabel = getUserGroupLabel;
|
|
183219
183220
|
exports2.specialCutsiteFilterOptions = specialCutsiteFilterOptions;
|
|
183220
183221
|
exports2.updateEditor = updateEditor;
|
package/package.json
CHANGED
|
@@ -26,13 +26,13 @@ export default function CircularPrimer(props) {
|
|
|
26
26
|
});
|
|
27
27
|
return (
|
|
28
28
|
<React.Fragment>
|
|
29
|
-
{getStripedPattern({ color })}
|
|
29
|
+
{getStripedPattern({ color, id })}
|
|
30
30
|
<path
|
|
31
31
|
className="vePrimer veCircularViewPrimer"
|
|
32
32
|
id={id}
|
|
33
33
|
strokeWidth=".5"
|
|
34
34
|
stroke="black"
|
|
35
|
-
fill=
|
|
35
|
+
fill={`url(#diagonalHatch-${id})`}
|
|
36
36
|
d={path.print()}
|
|
37
37
|
/>
|
|
38
38
|
{getInternalLabel({ ...props, colorToUse: color, textPath })}
|
|
@@ -239,7 +239,7 @@ function PointedAnnotation(props) {
|
|
|
239
239
|
strokeWidth="1"
|
|
240
240
|
stroke={stroke || "black"}
|
|
241
241
|
opacity={opacity}
|
|
242
|
-
fill={isStriped ?
|
|
242
|
+
fill={isStriped ? `url(#diagonalHatch-${id})` : fill || color}
|
|
243
243
|
transform={
|
|
244
244
|
forward
|
|
245
245
|
? null
|
package/src/index.js
CHANGED
|
@@ -51,3 +51,4 @@ export { default as PositionAnnotationOnCircle } from "./CircularView/PositionAn
|
|
|
51
51
|
export { default as EnzymeViewer } from "./EnzymeViewer";
|
|
52
52
|
export { default as AlignmentView } from "./AlignmentView";
|
|
53
53
|
export { default as getOveHotkeyDefs } from "./commands/getOveHotkeyDefs";
|
|
54
|
+
export { getStructuredBases } from "./RowItem/StackedAnnotations/getStructuredBases";
|
package/src/utils/editorUtils.js
CHANGED
|
@@ -171,10 +171,10 @@ export function getSelFromWrappedAddon(selectionLayer, sequenceLength) {
|
|
|
171
171
|
return selToUse;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
export function getStripedPattern({ color }) {
|
|
174
|
+
export function getStripedPattern({ color, id }) {
|
|
175
175
|
return (
|
|
176
176
|
<pattern
|
|
177
|
-
id=
|
|
177
|
+
id={`diagonalHatch-${id}`}
|
|
178
178
|
patternUnits="userSpaceOnUse"
|
|
179
179
|
width="4"
|
|
180
180
|
height="4"
|
package/utils/editorUtils.d.ts
CHANGED
|
@@ -30,7 +30,8 @@ export function getClientX(event: any): any;
|
|
|
30
30
|
export function getClientY(event: any): any;
|
|
31
31
|
export function hideAnnByLengthFilter(hideOpts: any, ann: any, seqLen: any): any;
|
|
32
32
|
export function getSelFromWrappedAddon(selectionLayer: any, sequenceLength: any): any;
|
|
33
|
-
export function getStripedPattern({ color }: {
|
|
33
|
+
export function getStripedPattern({ color, id }: {
|
|
34
34
|
color: any;
|
|
35
|
+
id: any;
|
|
35
36
|
}): import("react/jsx-runtime").JSX.Element;
|
|
36
37
|
export function getEnzymeAliases(enzyme: any): any[];
|