@teselagen/ove 0.3.6 → 0.3.7
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.umd.js +22 -35
- package/package.json +7 -7
package/index.umd.js
CHANGED
|
@@ -57197,20 +57197,12 @@
|
|
|
57197
57197
|
return toString$4.call(it).slice(8, -1);
|
|
57198
57198
|
};
|
|
57199
57199
|
|
|
57200
|
-
|
|
57201
|
-
var
|
|
57202
|
-
|
|
57203
|
-
|
|
57204
|
-
|
|
57205
|
-
|
|
57206
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
57207
|
-
var cof = _cof;
|
|
57208
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
57209
|
-
_iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
57210
|
-
return cof(it) == 'String' ? it.split('') : Object(it);
|
|
57211
|
-
};
|
|
57212
|
-
return _iobject;
|
|
57213
|
-
}
|
|
57200
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
57201
|
+
var cof$2 = _cof;
|
|
57202
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
57203
|
+
var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
57204
|
+
return cof$2(it) == 'String' ? it.split('') : Object(it);
|
|
57205
|
+
};
|
|
57214
57206
|
|
|
57215
57207
|
// 7.2.1 RequireObjectCoercible(argument)
|
|
57216
57208
|
var _defined = function (it) {
|
|
@@ -57219,7 +57211,7 @@
|
|
|
57219
57211
|
};
|
|
57220
57212
|
|
|
57221
57213
|
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
|
57222
|
-
var IObject =
|
|
57214
|
+
var IObject = _iobject;
|
|
57223
57215
|
var defined$2 = _defined;
|
|
57224
57216
|
var _toIobject = function (it) {
|
|
57225
57217
|
return IObject(defined$2(it));
|
|
@@ -57366,7 +57358,7 @@
|
|
|
57366
57358
|
var gOPS = _objectGops;
|
|
57367
57359
|
var pIE = require_objectPie();
|
|
57368
57360
|
var toObject = _toObject;
|
|
57369
|
-
var IObject =
|
|
57361
|
+
var IObject = _iobject;
|
|
57370
57362
|
var $assign = Object.assign;
|
|
57371
57363
|
|
|
57372
57364
|
// should work with symbols and should have deterministic property order (V8 bug)
|
|
@@ -114690,9 +114682,7 @@
|
|
|
114690
114682
|
entities,
|
|
114691
114683
|
reduxFormEntitiesUndoRedoStack[reduxFormEntitiesUndoRedoStack.currentVersion].inversePatches
|
|
114692
114684
|
);
|
|
114693
|
-
const { newEnts, validationErrors } = this.formatAndValidateEntities(
|
|
114694
|
-
nextState
|
|
114695
|
-
);
|
|
114685
|
+
const { newEnts, validationErrors } = this.formatAndValidateEntities(nextState);
|
|
114696
114686
|
change("reduxFormEntities", newEnts);
|
|
114697
114687
|
this.updateValidation(newEnts, validationErrors);
|
|
114698
114688
|
change("reduxFormEntitiesUndoRedoStack", {
|
|
@@ -114714,9 +114704,7 @@
|
|
|
114714
114704
|
entities,
|
|
114715
114705
|
reduxFormEntitiesUndoRedoStack[nextV].patches
|
|
114716
114706
|
);
|
|
114717
|
-
const { newEnts, validationErrors } = this.formatAndValidateEntities(
|
|
114718
|
-
nextState
|
|
114719
|
-
);
|
|
114707
|
+
const { newEnts, validationErrors } = this.formatAndValidateEntities(nextState);
|
|
114720
114708
|
change("reduxFormEntities", newEnts);
|
|
114721
114709
|
this.updateValidation(newEnts, validationErrors);
|
|
114722
114710
|
change("reduxFormEntitiesUndoRedoStack", {
|
|
@@ -115218,10 +115206,7 @@
|
|
|
115218
115206
|
this.handleCopyHelper(textToCopy, "Column copied");
|
|
115219
115207
|
};
|
|
115220
115208
|
updateEntitiesHelper = (ents, fn) => {
|
|
115221
|
-
const {
|
|
115222
|
-
change,
|
|
115223
|
-
reduxFormEntitiesUndoRedoStack = { currentVersion: 0 }
|
|
115224
|
-
} = this.props;
|
|
115209
|
+
const { change, reduxFormEntitiesUndoRedoStack = { currentVersion: 0 } } = this.props;
|
|
115225
115210
|
const [nextState, patches, inversePatches] = cn(ents, fn);
|
|
115226
115211
|
if (!inversePatches.length)
|
|
115227
115212
|
return;
|
|
@@ -115283,9 +115268,11 @@
|
|
|
115283
115268
|
}
|
|
115284
115269
|
};
|
|
115285
115270
|
handleCopySelectedCells = (e) => {
|
|
115286
|
-
const {
|
|
115287
|
-
|
|
115288
|
-
|
|
115271
|
+
const {
|
|
115272
|
+
entities = [],
|
|
115273
|
+
reduxFormSelectedCells,
|
|
115274
|
+
schema
|
|
115275
|
+
} = computePresets(this.props);
|
|
115289
115276
|
if (lodashExports.isEmpty(reduxFormSelectedCells))
|
|
115290
115277
|
return;
|
|
115291
115278
|
const pathToIndex = getFieldPathToIndex(schema);
|
|
@@ -115571,7 +115558,9 @@
|
|
|
115571
115558
|
}
|
|
115572
115559
|
const numRows = isInfinite ? entities.length : pageSize;
|
|
115573
115560
|
const idMap = reduxFormSelectedEntityIdMap || {};
|
|
115574
|
-
const selectedRowCount = Object.keys(idMap).filter(
|
|
115561
|
+
const selectedRowCount = Object.keys(idMap).filter(
|
|
115562
|
+
(key) => idMap[key]
|
|
115563
|
+
).length;
|
|
115575
115564
|
let rowsToShow = doNotShowEmptyRows ? Math.min(numRows, entities.length) : numRows;
|
|
115576
115565
|
if (entities.length === 0 && rowsToShow < 3)
|
|
115577
115566
|
rowsToShow = 3;
|
|
@@ -117067,9 +117056,7 @@
|
|
|
117067
117056
|
return getIdOrCodeOrIndex(e, i) === rowId;
|
|
117068
117057
|
});
|
|
117069
117058
|
const insertIndex = above ? indexToInsert : indexToInsert + 1;
|
|
117070
|
-
let { newEnts, validationErrors } = this.formatAndValidateEntities(
|
|
117071
|
-
newEntities
|
|
117072
|
-
);
|
|
117059
|
+
let { newEnts, validationErrors } = this.formatAndValidateEntities(newEntities);
|
|
117073
117060
|
newEnts = newEnts.map((e) => ({
|
|
117074
117061
|
...e,
|
|
117075
117062
|
_isClean: true
|
|
@@ -151755,7 +151742,7 @@
|
|
|
151755
151742
|
(u) => u === "U" ? "T" : "t"
|
|
151756
151743
|
);
|
|
151757
151744
|
}
|
|
151758
|
-
if (temp !== sequence.sequence && !sequence.isDNA && !sequence.isProtein) {
|
|
151745
|
+
if (temp !== sequence.sequence && !sequence.isDNA && !sequence.isProtein && sequence.isRNA !== false) {
|
|
151759
151746
|
sequence.type = "RNA";
|
|
151760
151747
|
sequence.sequence = temp;
|
|
151761
151748
|
} else {
|
|
@@ -188653,7 +188640,7 @@ double click --> edit`}`;
|
|
|
188653
188640
|
}
|
|
188654
188641
|
|
|
188655
188642
|
const name = "@teselagen/ove";
|
|
188656
|
-
const version = "0.3.
|
|
188643
|
+
const version = "0.3.6";
|
|
188657
188644
|
const main = "./src/index.js";
|
|
188658
188645
|
const packageJson = {
|
|
188659
188646
|
name: name,
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@teselagen/sequence-utils": "0.3.
|
|
7
|
-
"@teselagen/range-utils": "0.3.
|
|
8
|
-
"@teselagen/ui": "0.3.
|
|
9
|
-
"@teselagen/file-utils": "0.3.
|
|
10
|
-
"@teselagen/bounce-loader": "0.3.
|
|
11
|
-
"@teselagen/bio-parsers": "0.3.
|
|
6
|
+
"@teselagen/sequence-utils": "0.3.7",
|
|
7
|
+
"@teselagen/range-utils": "0.3.7",
|
|
8
|
+
"@teselagen/ui": "0.3.7",
|
|
9
|
+
"@teselagen/file-utils": "0.3.7",
|
|
10
|
+
"@teselagen/bounce-loader": "0.3.7",
|
|
11
|
+
"@teselagen/bio-parsers": "0.3.7",
|
|
12
12
|
"@blueprintjs/core": "3.52.0",
|
|
13
13
|
"@blueprintjs/datetime": "3.23.19",
|
|
14
14
|
"@blueprintjs/icons": "3.33.0",
|