@teselagen/ove 0.8.20 → 0.8.21
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 +154 -31
- package/index.es.js +154 -31
- package/index.umd.js +154 -31
- package/ove.css +46 -0
- package/package.json +2 -2
- package/redux/temporaryAnnotations.d.ts +6 -0
- package/selectors/featuresSelector.d.ts +1 -1
- package/selectors/partsSelector.d.ts +1 -1
- package/selectors/primersSelector.d.ts +1 -1
- package/selectors/temporaryAnnotationsSelector.d.ts +2 -0
- package/src/redux/index.js +3 -1
- package/src/redux/temporaryAnnotations.js +23 -0
- package/src/selectors/featuresSelector.js +8 -3
- package/src/selectors/partsSelector.js +9 -3
- package/src/selectors/primersSelector.js +9 -3
- package/src/selectors/temporaryAnnotationsSelector.js +1 -0
- package/src/updateEditor.js +5 -1
package/index.es.js
CHANGED
|
@@ -17271,7 +17271,8 @@ function rowClick(e, rowInfo, entities, {
|
|
|
17271
17271
|
onMultiRowSelect,
|
|
17272
17272
|
noDeselectAll,
|
|
17273
17273
|
onRowSelect,
|
|
17274
|
-
change: change2
|
|
17274
|
+
change: change2,
|
|
17275
|
+
getCheckboxGroupId
|
|
17275
17276
|
}) {
|
|
17276
17277
|
const entity = rowInfo.original;
|
|
17277
17278
|
onRowClick(e, entity, rowInfo);
|
|
@@ -17343,6 +17344,38 @@ function rowClick(e, rowInfo, entities, {
|
|
|
17343
17344
|
}
|
|
17344
17345
|
}
|
|
17345
17346
|
}
|
|
17347
|
+
if (getCheckboxGroupId) {
|
|
17348
|
+
const clickedRowId = rowId;
|
|
17349
|
+
const clickedEntity = entity;
|
|
17350
|
+
const clickedGroupId = getCheckboxGroupId(clickedEntity, rowInfo.index);
|
|
17351
|
+
if (!newIdMap[clickedRowId] && clickedGroupId) {
|
|
17352
|
+
entities.forEach((e2, i) => {
|
|
17353
|
+
if (getCheckboxGroupId(e2, i) === clickedGroupId) {
|
|
17354
|
+
const id2 = getIdOrCodeOrIndex(e2, i);
|
|
17355
|
+
delete newIdMap[id2];
|
|
17356
|
+
}
|
|
17357
|
+
});
|
|
17358
|
+
}
|
|
17359
|
+
const selectedGroupIds = /* @__PURE__ */ new Set();
|
|
17360
|
+
entities.forEach((e2, i) => {
|
|
17361
|
+
const id2 = getIdOrCodeOrIndex(e2, i);
|
|
17362
|
+
if (newIdMap[id2]) {
|
|
17363
|
+
const gid = getCheckboxGroupId(e2, i);
|
|
17364
|
+
if (gid) selectedGroupIds.add(gid);
|
|
17365
|
+
}
|
|
17366
|
+
});
|
|
17367
|
+
if (selectedGroupIds.size > 0) {
|
|
17368
|
+
entities.forEach((e2, i) => {
|
|
17369
|
+
const gid = getCheckboxGroupId(e2, i);
|
|
17370
|
+
if (gid && selectedGroupIds.has(gid)) {
|
|
17371
|
+
const id2 = getIdOrCodeOrIndex(e2, i);
|
|
17372
|
+
if (!newIdMap[id2]) {
|
|
17373
|
+
newIdMap[id2] = { entity: e2, time: Date.now() };
|
|
17374
|
+
}
|
|
17375
|
+
}
|
|
17376
|
+
});
|
|
17377
|
+
}
|
|
17378
|
+
}
|
|
17346
17379
|
finalizeSelection({
|
|
17347
17380
|
idMap: newIdMap,
|
|
17348
17381
|
entities,
|
|
@@ -51838,6 +51871,7 @@ const useColumns = /* @__PURE__ */ __name(({
|
|
|
51838
51871
|
resetDefaultVisibility,
|
|
51839
51872
|
currentParams,
|
|
51840
51873
|
compact,
|
|
51874
|
+
hideExpandSubCompColumn,
|
|
51841
51875
|
editingCell,
|
|
51842
51876
|
editingCellSelectAll,
|
|
51843
51877
|
entities,
|
|
@@ -51885,7 +51919,8 @@ const useColumns = /* @__PURE__ */ __name(({
|
|
|
51885
51919
|
withSort = true,
|
|
51886
51920
|
recordIdToIsVisibleMap,
|
|
51887
51921
|
setRecordIdToIsVisibleMap,
|
|
51888
|
-
withDisplayOptions
|
|
51922
|
+
withDisplayOptions,
|
|
51923
|
+
getCheckboxGroupId
|
|
51889
51924
|
}) => {
|
|
51890
51925
|
const dispatch = useDispatch();
|
|
51891
51926
|
const change$1 = useCallback$1(
|
|
@@ -52133,6 +52168,14 @@ const useColumns = /* @__PURE__ */ __name(({
|
|
|
52133
52168
|
return /* @__PURE__ */ React__default.createElement("div", null);
|
|
52134
52169
|
}
|
|
52135
52170
|
const entity = entities[rowIndex];
|
|
52171
|
+
if (getCheckboxGroupId) {
|
|
52172
|
+
const currentGroupId = getCheckboxGroupId(entity, rowIndex);
|
|
52173
|
+
const previousEntity = entities[rowIndex - 1];
|
|
52174
|
+
const previousGroupId = previousEntity ? getCheckboxGroupId(previousEntity, rowIndex - 1) : void 0;
|
|
52175
|
+
if (currentGroupId && currentGroupId === previousGroupId) {
|
|
52176
|
+
return /* @__PURE__ */ React__default.createElement("div", null);
|
|
52177
|
+
}
|
|
52178
|
+
}
|
|
52136
52179
|
return /* @__PURE__ */ React__default.createElement(
|
|
52137
52180
|
Checkbox,
|
|
52138
52181
|
{
|
|
@@ -52151,7 +52194,8 @@ const useColumns = /* @__PURE__ */ __name(({
|
|
|
52151
52194
|
onMultiRowSelect,
|
|
52152
52195
|
noDeselectAll,
|
|
52153
52196
|
onRowSelect,
|
|
52154
|
-
change: change$1
|
|
52197
|
+
change: change$1,
|
|
52198
|
+
getCheckboxGroupId
|
|
52155
52199
|
});
|
|
52156
52200
|
}, "onClick"),
|
|
52157
52201
|
checked: isSelected
|
|
@@ -52172,7 +52216,8 @@ const useColumns = /* @__PURE__ */ __name(({
|
|
|
52172
52216
|
onRowSelect,
|
|
52173
52217
|
onSingleRowSelect,
|
|
52174
52218
|
reduxFormSelectedEntityIdMap,
|
|
52175
|
-
withCheckboxes
|
|
52219
|
+
withCheckboxes,
|
|
52220
|
+
getCheckboxGroupId
|
|
52176
52221
|
]
|
|
52177
52222
|
);
|
|
52178
52223
|
const finishCellEdit = useCallback$1(
|
|
@@ -52247,13 +52292,14 @@ const useColumns = /* @__PURE__ */ __name(({
|
|
|
52247
52292
|
);
|
|
52248
52293
|
}, "Header")
|
|
52249
52294
|
}), {
|
|
52295
|
+
show: !hideExpandSubCompColumn,
|
|
52250
52296
|
expander: true,
|
|
52251
52297
|
Expander: /* @__PURE__ */ __name(({ isExpanded, original: record }) => {
|
|
52252
52298
|
let shouldShow = true;
|
|
52253
52299
|
if (shouldShowSubComponent) {
|
|
52254
52300
|
shouldShow = shouldShowSubComponent(record);
|
|
52255
52301
|
}
|
|
52256
|
-
if (!shouldShow) return null;
|
|
52302
|
+
if (!shouldShow || hideExpandSubCompColumn) return null;
|
|
52257
52303
|
return /* @__PURE__ */ React__default.createElement(
|
|
52258
52304
|
Button,
|
|
52259
52305
|
{
|
|
@@ -56795,6 +56841,7 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
|
|
|
56795
56841
|
minimalStyle,
|
|
56796
56842
|
mustClickCheckboxToSelect,
|
|
56797
56843
|
noDeselectAll,
|
|
56844
|
+
hideExpandSubCompColumn,
|
|
56798
56845
|
noFooter = isSimple ? !withPaging : false,
|
|
56799
56846
|
noFullscreenButton = isSimple,
|
|
56800
56847
|
noHeader = false,
|
|
@@ -56842,7 +56889,8 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
|
|
|
56842
56889
|
withSort,
|
|
56843
56890
|
withTitle = !isSimple,
|
|
56844
56891
|
noExcessiveCheck,
|
|
56845
|
-
isEntityCountLoading
|
|
56892
|
+
isEntityCountLoading,
|
|
56893
|
+
getCheckboxGroupId
|
|
56846
56894
|
} = props;
|
|
56847
56895
|
const _entities = useMemo$1(
|
|
56848
56896
|
() => ((reduxFormEntities == null ? void 0 : reduxFormEntities.length) ? reduxFormEntities : _origEntities) || [],
|
|
@@ -58379,6 +58427,15 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
|
|
|
58379
58427
|
const isExpanded = expandedEntityIdMap[rowId];
|
|
58380
58428
|
const rowDisabled = isEntityDisabled(entity);
|
|
58381
58429
|
const dataId = entity.id || entity.code;
|
|
58430
|
+
let noGroupBorder = false;
|
|
58431
|
+
if (getCheckboxGroupId) {
|
|
58432
|
+
const currentGroupId = getCheckboxGroupId(entity, rowInfo.index);
|
|
58433
|
+
const nextEntity = entities[rowInfo.index + 1];
|
|
58434
|
+
const nextGroupId = nextEntity ? getCheckboxGroupId(nextEntity, rowInfo.index + 1) : void 0;
|
|
58435
|
+
if (currentGroupId && currentGroupId === nextGroupId) {
|
|
58436
|
+
noGroupBorder = true;
|
|
58437
|
+
}
|
|
58438
|
+
}
|
|
58382
58439
|
return {
|
|
58383
58440
|
onClick: /* @__PURE__ */ __name((e) => {
|
|
58384
58441
|
if (isCellEditable) return;
|
|
@@ -58405,7 +58462,8 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
|
|
|
58405
58462
|
onMultiRowSelect,
|
|
58406
58463
|
noDeselectAll,
|
|
58407
58464
|
onRowSelect,
|
|
58408
|
-
change: change$1
|
|
58465
|
+
change: change$1,
|
|
58466
|
+
getCheckboxGroupId
|
|
58409
58467
|
});
|
|
58410
58468
|
}, "onClick"),
|
|
58411
58469
|
//row right click
|
|
@@ -58447,9 +58505,11 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
|
|
|
58447
58505
|
{
|
|
58448
58506
|
disabled: rowDisabled,
|
|
58449
58507
|
selected: rowSelected && !withCheckboxes,
|
|
58450
|
-
"rt-tr-last-row": rowInfo.index === entities.length - 1
|
|
58508
|
+
"rt-tr-last-row": rowInfo.index === entities.length - 1,
|
|
58509
|
+
"no-group-border": noGroupBorder
|
|
58451
58510
|
}
|
|
58452
58511
|
),
|
|
58512
|
+
"data-test-selected": !!rowSelected,
|
|
58453
58513
|
"data-test-id": dataId === void 0 ? rowInfo.index : dataId,
|
|
58454
58514
|
"data-index": rowInfo.index,
|
|
58455
58515
|
"data-tip": typeof rowDisabled === "string" ? rowDisabled : void 0,
|
|
@@ -58480,7 +58540,8 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
|
|
|
58480
58540
|
reduxFormSelectedEntityIdMap,
|
|
58481
58541
|
selectedCells,
|
|
58482
58542
|
showContextMenu2,
|
|
58483
|
-
withCheckboxes
|
|
58543
|
+
withCheckboxes,
|
|
58544
|
+
getCheckboxGroupId
|
|
58484
58545
|
]
|
|
58485
58546
|
);
|
|
58486
58547
|
const getTableCellProps = useCallback$1(
|
|
@@ -58793,6 +58854,7 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
|
|
|
58793
58854
|
isSingleSelect,
|
|
58794
58855
|
isSelectionARectangle,
|
|
58795
58856
|
noDeselectAll,
|
|
58857
|
+
hideExpandSubCompColumn,
|
|
58796
58858
|
noSelect,
|
|
58797
58859
|
noUserSelect,
|
|
58798
58860
|
onDeselect,
|
|
@@ -58824,6 +58886,7 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
|
|
|
58824
58886
|
withFilter,
|
|
58825
58887
|
withSort,
|
|
58826
58888
|
recordIdToIsVisibleMap,
|
|
58889
|
+
getCheckboxGroupId,
|
|
58827
58890
|
setRecordIdToIsVisibleMap
|
|
58828
58891
|
});
|
|
58829
58892
|
const scrollToTop = useCallback$1(
|
|
@@ -66948,9 +67011,19 @@ function AdvancedOptions({
|
|
|
66948
67011
|
content: content2,
|
|
66949
67012
|
label,
|
|
66950
67013
|
style: style2,
|
|
66951
|
-
isOpenByDefault
|
|
67014
|
+
isOpenByDefault,
|
|
67015
|
+
localStorageKey
|
|
66952
67016
|
}) {
|
|
66953
|
-
const [isOpen, setOpen] = useState(
|
|
67017
|
+
const [isOpen, setOpen] = useState(() => {
|
|
67018
|
+
if (localStorageKey) {
|
|
67019
|
+
if (window.localStorage.getItem(localStorageKey) === "true") {
|
|
67020
|
+
return true;
|
|
67021
|
+
} else if (window.localStorage.getItem(localStorageKey) === "false") {
|
|
67022
|
+
return false;
|
|
67023
|
+
}
|
|
67024
|
+
}
|
|
67025
|
+
return isOpenByDefault;
|
|
67026
|
+
});
|
|
66954
67027
|
if (!(content2 || children)) {
|
|
66955
67028
|
return null;
|
|
66956
67029
|
}
|
|
@@ -66958,20 +67031,28 @@ function AdvancedOptions({
|
|
|
66958
67031
|
"div",
|
|
66959
67032
|
{
|
|
66960
67033
|
onClick: /* @__PURE__ */ __name(() => {
|
|
66961
|
-
|
|
67034
|
+
const newIsOpen = !isOpen;
|
|
67035
|
+
setOpen(newIsOpen);
|
|
67036
|
+
if (localStorageKey) {
|
|
67037
|
+
window.localStorage.setItem(localStorageKey, newIsOpen);
|
|
67038
|
+
}
|
|
66962
67039
|
}, "onClick"),
|
|
66963
|
-
style: {
|
|
66964
|
-
|
|
67040
|
+
style: {
|
|
67041
|
+
cursor: "pointer",
|
|
67042
|
+
display: "flex",
|
|
67043
|
+
alignItems: "center",
|
|
67044
|
+
userSelect: "none"
|
|
67045
|
+
},
|
|
67046
|
+
className: `tg-toggle-advanced-options`
|
|
66965
67047
|
},
|
|
66966
|
-
label || "Advanced",
|
|
66967
|
-
" ",
|
|
66968
67048
|
/* @__PURE__ */ React__default.createElement(
|
|
66969
67049
|
Icon,
|
|
66970
67050
|
{
|
|
66971
67051
|
icon: isOpen ? "caret-down" : "caret-right",
|
|
66972
|
-
style: {
|
|
67052
|
+
style: { marginRight: 5 }
|
|
66973
67053
|
}
|
|
66974
|
-
)
|
|
67054
|
+
),
|
|
67055
|
+
/* @__PURE__ */ React__default.createElement("strong", null, label || "Advanced")
|
|
66975
67056
|
), isOpen && /* @__PURE__ */ React__default.createElement("div", { style: { marginTop: 10 } }, content2 || children));
|
|
66976
67057
|
}
|
|
66977
67058
|
__name(AdvancedOptions, "AdvancedOptions");
|
|
@@ -70265,6 +70346,7 @@ const _ResizableDraggableDialog = class _ResizableDraggableDialog extends React_
|
|
|
70265
70346
|
topLeft: true,
|
|
70266
70347
|
topRight: true
|
|
70267
70348
|
},
|
|
70349
|
+
resizeHandleWrapperClass: "tg-dialog-resize-handle",
|
|
70268
70350
|
maxHeight: windowHeight,
|
|
70269
70351
|
maxWidth: windowWidth,
|
|
70270
70352
|
bounds: "window",
|
|
@@ -97174,6 +97256,30 @@ const selectedPartTags$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
97174
97256
|
default: selectedPartTags,
|
|
97175
97257
|
updateSelectedPartTags
|
|
97176
97258
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97259
|
+
const updateTemporaryAnnotations = createMetaAction(
|
|
97260
|
+
"TEMPORARY_ANNOTATIONS_UPDATE"
|
|
97261
|
+
);
|
|
97262
|
+
const temporaryAnnotations = createMergedDefaultStateReducer(
|
|
97263
|
+
{
|
|
97264
|
+
TEMPORARY_ANNOTATIONS_UPDATE: /* @__PURE__ */ __name((state2, payload) => {
|
|
97265
|
+
return __spreadValues(__spreadValues({}, state2), payload);
|
|
97266
|
+
}, "TEMPORARY_ANNOTATIONS_UPDATE"),
|
|
97267
|
+
VECTOR_EDITOR_UPDATE: /* @__PURE__ */ __name((state2, payload) => {
|
|
97268
|
+
return __spreadValues(__spreadValues({}, state2), payload.temporaryAnnotations);
|
|
97269
|
+
}, "VECTOR_EDITOR_UPDATE")
|
|
97270
|
+
},
|
|
97271
|
+
{
|
|
97272
|
+
features: {},
|
|
97273
|
+
primers: {},
|
|
97274
|
+
parts: {},
|
|
97275
|
+
selectionLayer: {}
|
|
97276
|
+
}
|
|
97277
|
+
);
|
|
97278
|
+
const temporaryAnnotations$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97279
|
+
__proto__: null,
|
|
97280
|
+
default: temporaryAnnotations,
|
|
97281
|
+
updateTemporaryAnnotations
|
|
97282
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
97177
97283
|
const vectorEditorMiddleware = /* @__PURE__ */ __name((store2) => (next) => (action2) => {
|
|
97178
97284
|
if (action2.meta && action2.meta.disregardUndo) {
|
|
97179
97285
|
return next(action2);
|
|
@@ -97289,7 +97395,8 @@ const subReducers = {
|
|
|
97289
97395
|
partLengthsToHide: partLengthsToHide$1,
|
|
97290
97396
|
primerLengthsToHide: primerLengthsToHide$1,
|
|
97291
97397
|
featureLengthsToHide: featureLengthsToHide$1,
|
|
97292
|
-
selectedPartTags: selectedPartTags$1
|
|
97398
|
+
selectedPartTags: selectedPartTags$1,
|
|
97399
|
+
temporaryAnnotations: temporaryAnnotations$1
|
|
97293
97400
|
};
|
|
97294
97401
|
const vectorEditorInitialize = createMetaAction("VECTOR_EDITOR_UPDATE");
|
|
97295
97402
|
const vectorEditorClear = createMetaAction("VECTOR_EDITOR_CLEAR");
|
|
@@ -98054,11 +98161,16 @@ const translationSearchMatchesSelector = createSelector(
|
|
|
98054
98161
|
return searchLayers;
|
|
98055
98162
|
}
|
|
98056
98163
|
);
|
|
98057
|
-
|
|
98058
|
-
|
|
98164
|
+
const temporaryAnnotationsSelector = /* @__PURE__ */ __name((editor) => editor.temporaryAnnotations, "temporaryAnnotationsSelector");
|
|
98165
|
+
function featuresRawSelector(sequenceData2, temporaryAnnotations2) {
|
|
98166
|
+
return __spreadValues(__spreadValues({}, sequenceData2.features), temporaryAnnotations2 == null ? void 0 : temporaryAnnotations2.features);
|
|
98059
98167
|
}
|
|
98060
98168
|
__name(featuresRawSelector, "featuresRawSelector");
|
|
98061
|
-
const featuresSelector = createSelector(
|
|
98169
|
+
const featuresSelector = createSelector(
|
|
98170
|
+
sequenceDataSelector,
|
|
98171
|
+
temporaryAnnotationsSelector,
|
|
98172
|
+
featuresRawSelector
|
|
98173
|
+
);
|
|
98062
98174
|
function cdsFeaturesRawSelector(features2) {
|
|
98063
98175
|
return filter(features2, ({ type: type2 }) => type2 && type2.toUpperCase() === "CDS");
|
|
98064
98176
|
}
|
|
@@ -98338,11 +98450,15 @@ const filteredFeaturesSelector$1 = createSelector(
|
|
|
98338
98450
|
(state2) => state2.featureLengthsToHide,
|
|
98339
98451
|
filteredFeaturesSelector
|
|
98340
98452
|
);
|
|
98341
|
-
function primersRawSelector(sequenceData2) {
|
|
98342
|
-
return sequenceData2.primers;
|
|
98453
|
+
function primersRawSelector(sequenceData2, temporaryAnnotations2) {
|
|
98454
|
+
return __spreadValues(__spreadValues({}, sequenceData2.primers), temporaryAnnotations2 == null ? void 0 : temporaryAnnotations2.primers);
|
|
98343
98455
|
}
|
|
98344
98456
|
__name(primersRawSelector, "primersRawSelector");
|
|
98345
|
-
const primersSelector = createSelector(
|
|
98457
|
+
const primersSelector = createSelector(
|
|
98458
|
+
sequenceDataSelector,
|
|
98459
|
+
temporaryAnnotationsSelector,
|
|
98460
|
+
primersRawSelector
|
|
98461
|
+
);
|
|
98346
98462
|
function filteredPrimersSelector(primers2, seqLen, primerIndividualToHide, lengthsToHide) {
|
|
98347
98463
|
return omitBy(primers2, (ann) => {
|
|
98348
98464
|
const hideIndividually = primerIndividualToHide[ann.id];
|
|
@@ -98357,11 +98473,15 @@ const filteredPrimersSelector$1 = createSelector(
|
|
|
98357
98473
|
(state2) => state2.primerLengthsToHide,
|
|
98358
98474
|
filteredPrimersSelector
|
|
98359
98475
|
);
|
|
98360
|
-
function partsRawSelector(sequenceData2) {
|
|
98361
|
-
return sequenceData2.parts;
|
|
98476
|
+
function partsRawSelector(sequenceData2, temporaryAnnotations2) {
|
|
98477
|
+
return __spreadValues(__spreadValues({}, sequenceData2.parts), temporaryAnnotations2 == null ? void 0 : temporaryAnnotations2.parts);
|
|
98362
98478
|
}
|
|
98363
98479
|
__name(partsRawSelector, "partsRawSelector");
|
|
98364
|
-
const partsSelector = createSelector(
|
|
98480
|
+
const partsSelector = createSelector(
|
|
98481
|
+
sequenceDataSelector,
|
|
98482
|
+
temporaryAnnotationsSelector,
|
|
98483
|
+
partsRawSelector
|
|
98484
|
+
);
|
|
98365
98485
|
const tagsToBoldSelector = /* @__PURE__ */ __name((state2) => state2.selectedPartTags.parts, "tagsToBoldSelector");
|
|
98366
98486
|
function addWrappedAddons(anns, seqLen) {
|
|
98367
98487
|
return flatMap(anns, (ann) => {
|
|
@@ -99188,7 +99308,8 @@ function updateEditor(store2, editorName, initialValues2 = {}, extraMeta = {}, {
|
|
|
99188
99308
|
annotationVisibility: annotationVisibility2,
|
|
99189
99309
|
annotationsToSupport: annotationsToSupport2,
|
|
99190
99310
|
findTool: findTool2,
|
|
99191
|
-
justPassingPartialSeqData
|
|
99311
|
+
justPassingPartialSeqData,
|
|
99312
|
+
temporaryAnnotations: temporaryAnnotations2
|
|
99192
99313
|
} = initialValues2;
|
|
99193
99314
|
const currentEditor = store2.getState().VectorEditor[editorName] || {};
|
|
99194
99315
|
const isAlreadyProteinEditor = currentEditor.sequenceData && currentEditor.sequenceData.isProtein;
|
|
@@ -99310,12 +99431,14 @@ function updateEditor(store2, editorName, initialValues2 = {}, extraMeta = {}, {
|
|
|
99310
99431
|
};
|
|
99311
99432
|
}
|
|
99312
99433
|
}
|
|
99313
|
-
payload = __spreadValues(__spreadValues(__spreadValues({}, initialValues2), toSpread), sequenceData2 && {
|
|
99434
|
+
payload = __spreadValues(__spreadValues(__spreadValues(__spreadValues({}, initialValues2), toSpread), sequenceData2 && {
|
|
99314
99435
|
sequenceData: tidyUpSequenceData(sequenceData2, {
|
|
99315
99436
|
convertAnnotationsFromAAIndices,
|
|
99316
99437
|
//if we have sequence data coming in make sure to tidy it up for the user :)
|
|
99317
99438
|
annotationsAsObjects: true
|
|
99318
99439
|
})
|
|
99440
|
+
}), temporaryAnnotations2 && {
|
|
99441
|
+
temporaryAnnotations: temporaryAnnotations2
|
|
99319
99442
|
});
|
|
99320
99443
|
}
|
|
99321
99444
|
annotationTypes.forEach((t2) => {
|
|
@@ -116790,7 +116913,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
116790
116913
|
input.click();
|
|
116791
116914
|
}
|
|
116792
116915
|
__name(showFileDialog, "showFileDialog");
|
|
116793
|
-
const version = "0.8.
|
|
116916
|
+
const version = "0.8.20";
|
|
116794
116917
|
const packageJson = {
|
|
116795
116918
|
version
|
|
116796
116919
|
};
|