@teselagen/ove 0.3.5 → 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 +131 -154
- package/package.json +7 -7
package/index.umd.js
CHANGED
|
@@ -57088,17 +57088,17 @@
|
|
|
57088
57088
|
throw TypeError("Can't convert object to primitive value");
|
|
57089
57089
|
};
|
|
57090
57090
|
|
|
57091
|
-
var anObject$
|
|
57091
|
+
var anObject$5 = _anObject;
|
|
57092
57092
|
var IE8_DOM_DEFINE$1 = _ie8DomDefine;
|
|
57093
57093
|
var toPrimitive$2 = _toPrimitive$1;
|
|
57094
|
-
var dP$
|
|
57094
|
+
var dP$3 = Object.defineProperty;
|
|
57095
57095
|
|
|
57096
57096
|
_objectDp.f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
57097
|
-
anObject$
|
|
57097
|
+
anObject$5(O);
|
|
57098
57098
|
P = toPrimitive$2(P, true);
|
|
57099
|
-
anObject$
|
|
57099
|
+
anObject$5(Attributes);
|
|
57100
57100
|
if (IE8_DOM_DEFINE$1) try {
|
|
57101
|
-
return dP$
|
|
57101
|
+
return dP$3(O, P, Attributes);
|
|
57102
57102
|
} catch (e) { /* empty */ }
|
|
57103
57103
|
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
57104
57104
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
@@ -57114,10 +57114,10 @@
|
|
|
57114
57114
|
};
|
|
57115
57115
|
};
|
|
57116
57116
|
|
|
57117
|
-
var dP$
|
|
57117
|
+
var dP$2 = _objectDp;
|
|
57118
57118
|
var createDesc$3 = _propertyDesc;
|
|
57119
57119
|
var _hide = _descriptors ? function (object, key, value) {
|
|
57120
|
-
return dP$
|
|
57120
|
+
return dP$2.f(object, key, createDesc$3(1, value));
|
|
57121
57121
|
} : function (object, key, value) {
|
|
57122
57122
|
object[key] = value;
|
|
57123
57123
|
return object;
|
|
@@ -57133,7 +57133,7 @@
|
|
|
57133
57133
|
var ctx$1 = _ctx;
|
|
57134
57134
|
var hide$2 = _hide;
|
|
57135
57135
|
var has$d = _has;
|
|
57136
|
-
var PROTOTYPE$
|
|
57136
|
+
var PROTOTYPE$2 = 'prototype';
|
|
57137
57137
|
|
|
57138
57138
|
var $export$8 = function (type, name, source) {
|
|
57139
57139
|
var IS_FORCED = type & $export$8.F;
|
|
@@ -57143,8 +57143,8 @@
|
|
|
57143
57143
|
var IS_BIND = type & $export$8.B;
|
|
57144
57144
|
var IS_WRAP = type & $export$8.W;
|
|
57145
57145
|
var exports = IS_GLOBAL ? core$3 : core$3[name] || (core$3[name] = {});
|
|
57146
|
-
var expProto = exports[PROTOTYPE$
|
|
57147
|
-
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$
|
|
57146
|
+
var expProto = exports[PROTOTYPE$2];
|
|
57147
|
+
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$2];
|
|
57148
57148
|
var key, own, out;
|
|
57149
57149
|
if (IS_GLOBAL) source = name;
|
|
57150
57150
|
for (key in source) {
|
|
@@ -57168,7 +57168,7 @@
|
|
|
57168
57168
|
} return new C(a, b, c);
|
|
57169
57169
|
} return C.apply(this, arguments);
|
|
57170
57170
|
};
|
|
57171
|
-
F[PROTOTYPE$
|
|
57171
|
+
F[PROTOTYPE$2] = C[PROTOTYPE$2];
|
|
57172
57172
|
return F;
|
|
57173
57173
|
// make static versions for prototype methods
|
|
57174
57174
|
})(out) : IS_PROTO && typeof out == 'function' ? ctx$1(Function.call, out) : out;
|
|
@@ -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));
|
|
@@ -57305,14 +57297,14 @@
|
|
|
57305
57297
|
var has$c = _has;
|
|
57306
57298
|
var toIObject$4 = _toIobject;
|
|
57307
57299
|
var arrayIndexOf = _arrayIncludes$1(false);
|
|
57308
|
-
var IE_PROTO$
|
|
57300
|
+
var IE_PROTO$2 = _sharedKey('IE_PROTO');
|
|
57309
57301
|
|
|
57310
57302
|
var _objectKeysInternal = function (object, names) {
|
|
57311
57303
|
var O = toIObject$4(object);
|
|
57312
57304
|
var i = 0;
|
|
57313
57305
|
var result = [];
|
|
57314
57306
|
var key;
|
|
57315
|
-
for (key in O) if (key != IE_PROTO$
|
|
57307
|
+
for (key in O) if (key != IE_PROTO$2) has$c(O, key) && result.push(key);
|
|
57316
57308
|
// Don't enum bug & hidden keys
|
|
57317
57309
|
while (names.length > i) if (has$c(O, key = names[i++])) {
|
|
57318
57310
|
~arrayIndexOf(result, key) || result.push(key);
|
|
@@ -57327,10 +57319,10 @@
|
|
|
57327
57319
|
|
|
57328
57320
|
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
|
57329
57321
|
var $keys$3 = _objectKeysInternal;
|
|
57330
|
-
var enumBugKeys = _enumBugKeys;
|
|
57322
|
+
var enumBugKeys$1 = _enumBugKeys;
|
|
57331
57323
|
|
|
57332
57324
|
var _objectKeys = Object.keys || function keys(O) {
|
|
57333
|
-
return $keys$3(O, enumBugKeys);
|
|
57325
|
+
return $keys$3(O, enumBugKeys$1);
|
|
57334
57326
|
};
|
|
57335
57327
|
|
|
57336
57328
|
var _objectGops = {};
|
|
@@ -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)
|
|
@@ -57437,27 +57429,19 @@
|
|
|
57437
57429
|
|
|
57438
57430
|
var _redefine = _hide;
|
|
57439
57431
|
|
|
57440
|
-
var
|
|
57441
|
-
var
|
|
57442
|
-
|
|
57443
|
-
function require_objectDps () {
|
|
57444
|
-
if (hasRequired_objectDps) return _objectDps;
|
|
57445
|
-
hasRequired_objectDps = 1;
|
|
57446
|
-
var dP = _objectDp;
|
|
57447
|
-
var anObject = _anObject;
|
|
57448
|
-
var getKeys = _objectKeys;
|
|
57432
|
+
var dP$1 = _objectDp;
|
|
57433
|
+
var anObject$4 = _anObject;
|
|
57434
|
+
var getKeys$1 = _objectKeys;
|
|
57449
57435
|
|
|
57450
|
-
|
|
57451
|
-
|
|
57452
|
-
|
|
57453
|
-
|
|
57454
|
-
|
|
57455
|
-
|
|
57456
|
-
|
|
57457
|
-
|
|
57458
|
-
|
|
57459
|
-
return _objectDps;
|
|
57460
|
-
}
|
|
57436
|
+
var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
57437
|
+
anObject$4(O);
|
|
57438
|
+
var keys = getKeys$1(Properties);
|
|
57439
|
+
var length = keys.length;
|
|
57440
|
+
var i = 0;
|
|
57441
|
+
var P;
|
|
57442
|
+
while (length > i) dP$1.f(O, P = keys[i++], Properties[P]);
|
|
57443
|
+
return O;
|
|
57444
|
+
};
|
|
57461
57445
|
|
|
57462
57446
|
var _html;
|
|
57463
57447
|
var hasRequired_html;
|
|
@@ -57470,55 +57454,47 @@
|
|
|
57470
57454
|
return _html;
|
|
57471
57455
|
}
|
|
57472
57456
|
|
|
57473
|
-
|
|
57474
|
-
var
|
|
57457
|
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
57458
|
+
var anObject$3 = _anObject;
|
|
57459
|
+
var dPs = _objectDps;
|
|
57460
|
+
var enumBugKeys = _enumBugKeys;
|
|
57461
|
+
var IE_PROTO$1 = _sharedKey('IE_PROTO');
|
|
57462
|
+
var Empty = function () { /* empty */ };
|
|
57463
|
+
var PROTOTYPE$1 = 'prototype';
|
|
57475
57464
|
|
|
57476
|
-
|
|
57477
|
-
|
|
57478
|
-
|
|
57479
|
-
|
|
57480
|
-
|
|
57481
|
-
|
|
57482
|
-
|
|
57483
|
-
|
|
57484
|
-
|
|
57485
|
-
|
|
57486
|
-
|
|
57487
|
-
|
|
57488
|
-
|
|
57489
|
-
|
|
57490
|
-
|
|
57491
|
-
|
|
57492
|
-
|
|
57493
|
-
|
|
57494
|
-
|
|
57495
|
-
|
|
57496
|
-
|
|
57497
|
-
|
|
57498
|
-
|
|
57499
|
-
|
|
57500
|
-
|
|
57501
|
-
|
|
57502
|
-
|
|
57503
|
-
|
|
57504
|
-
|
|
57505
|
-
|
|
57506
|
-
|
|
57507
|
-
|
|
57508
|
-
|
|
57509
|
-
_objectCreate = Object.create || function create(O, Properties) {
|
|
57510
|
-
var result;
|
|
57511
|
-
if (O !== null) {
|
|
57512
|
-
Empty[PROTOTYPE] = anObject(O);
|
|
57513
|
-
result = new Empty();
|
|
57514
|
-
Empty[PROTOTYPE] = null;
|
|
57515
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
57516
|
-
result[IE_PROTO] = O;
|
|
57517
|
-
} else result = createDict();
|
|
57518
|
-
return Properties === undefined ? result : dPs(result, Properties);
|
|
57519
|
-
};
|
|
57520
|
-
return _objectCreate;
|
|
57521
|
-
}
|
|
57465
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
57466
|
+
var createDict = function () {
|
|
57467
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
57468
|
+
var iframe = require_domCreate()('iframe');
|
|
57469
|
+
var i = enumBugKeys.length;
|
|
57470
|
+
var lt = '<';
|
|
57471
|
+
var gt = '>';
|
|
57472
|
+
var iframeDocument;
|
|
57473
|
+
iframe.style.display = 'none';
|
|
57474
|
+
require_html().appendChild(iframe);
|
|
57475
|
+
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
|
57476
|
+
// createDict = iframe.contentWindow.Object;
|
|
57477
|
+
// html.removeChild(iframe);
|
|
57478
|
+
iframeDocument = iframe.contentWindow.document;
|
|
57479
|
+
iframeDocument.open();
|
|
57480
|
+
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
|
|
57481
|
+
iframeDocument.close();
|
|
57482
|
+
createDict = iframeDocument.F;
|
|
57483
|
+
while (i--) delete createDict[PROTOTYPE$1][enumBugKeys[i]];
|
|
57484
|
+
return createDict();
|
|
57485
|
+
};
|
|
57486
|
+
|
|
57487
|
+
var _objectCreate = Object.create || function create(O, Properties) {
|
|
57488
|
+
var result;
|
|
57489
|
+
if (O !== null) {
|
|
57490
|
+
Empty[PROTOTYPE$1] = anObject$3(O);
|
|
57491
|
+
result = new Empty();
|
|
57492
|
+
Empty[PROTOTYPE$1] = null;
|
|
57493
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
57494
|
+
result[IE_PROTO$1] = O;
|
|
57495
|
+
} else result = createDict();
|
|
57496
|
+
return Properties === undefined ? result : dPs(result, Properties);
|
|
57497
|
+
};
|
|
57522
57498
|
|
|
57523
57499
|
var _wks = {exports: {}};
|
|
57524
57500
|
|
|
@@ -57544,7 +57520,7 @@
|
|
|
57544
57520
|
if (it && !has$b(it = stat ? it : it.prototype, TAG$1)) def(it, TAG$1, { configurable: true, value: tag });
|
|
57545
57521
|
};
|
|
57546
57522
|
|
|
57547
|
-
var create$4 =
|
|
57523
|
+
var create$4 = _objectCreate;
|
|
57548
57524
|
var descriptor = _propertyDesc;
|
|
57549
57525
|
var setToStringTag$2 = _setToStringTag;
|
|
57550
57526
|
var IteratorPrototype = {};
|
|
@@ -58187,7 +58163,7 @@
|
|
|
58187
58163
|
var toIObject = _toIobject;
|
|
58188
58164
|
var toPrimitive = _toPrimitive$1;
|
|
58189
58165
|
var createDesc = _propertyDesc;
|
|
58190
|
-
var _create$1 =
|
|
58166
|
+
var _create$1 = _objectCreate;
|
|
58191
58167
|
var gOPNExt = _objectGopnExt;
|
|
58192
58168
|
var $GOPD = _objectGopd;
|
|
58193
58169
|
var $GOPS = _objectGops;
|
|
@@ -58497,7 +58473,7 @@
|
|
|
58497
58473
|
|
|
58498
58474
|
var $export = _export;
|
|
58499
58475
|
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
58500
|
-
$export($export.S, 'Object', { create:
|
|
58476
|
+
$export($export.S, 'Object', { create: _objectCreate });
|
|
58501
58477
|
|
|
58502
58478
|
var $Object = _coreExports.Object;
|
|
58503
58479
|
var create$3 = function create(P, D) {
|
|
@@ -92900,7 +92876,7 @@
|
|
|
92900
92876
|
stringFilterValue = stringFilterValue || "";
|
|
92901
92877
|
}
|
|
92902
92878
|
const filterValLower = stringFilterValue.toLowerCase && stringFilterValue.toLowerCase();
|
|
92903
|
-
const arrayFilterValue = Array.isArray(filterValue) ? filterValue : stringFilterValue.split("
|
|
92879
|
+
const arrayFilterValue = Array.isArray(filterValue) ? filterValue : stringFilterValue.split(";");
|
|
92904
92880
|
if (ccSelectedFilter === "startsWith") {
|
|
92905
92881
|
return qb ? qb.startsWith(stringFilterValue) : (fieldVal) => {
|
|
92906
92882
|
if (!fieldVal || !fieldVal.toLowerCase)
|
|
@@ -98826,6 +98802,31 @@
|
|
|
98826
98802
|
window.toastr.default = preventDuplicates(generateToast(Intent.NONE));
|
|
98827
98803
|
}
|
|
98828
98804
|
|
|
98805
|
+
const filterTypesDictionary = {
|
|
98806
|
+
none: "",
|
|
98807
|
+
startsWith: "text",
|
|
98808
|
+
endsWith: "text",
|
|
98809
|
+
contains: "text",
|
|
98810
|
+
notContains: "text",
|
|
98811
|
+
isExactly: "text",
|
|
98812
|
+
isEmpty: "text",
|
|
98813
|
+
notEmpty: "text",
|
|
98814
|
+
inList: "list",
|
|
98815
|
+
notInList: "list",
|
|
98816
|
+
true: "boolean",
|
|
98817
|
+
false: "boolean",
|
|
98818
|
+
dateIs: "date",
|
|
98819
|
+
notBetween: "dateRange",
|
|
98820
|
+
isBetween: "dateRange",
|
|
98821
|
+
isBefore: "date",
|
|
98822
|
+
isAfter: "date",
|
|
98823
|
+
greaterThan: "number",
|
|
98824
|
+
lessThan: "number",
|
|
98825
|
+
inRange: "numberRange",
|
|
98826
|
+
outsideRange: "numberRange",
|
|
98827
|
+
equalTo: "number",
|
|
98828
|
+
regex: "text"
|
|
98829
|
+
};
|
|
98829
98830
|
const isInvalidFilterValue = (value) => {
|
|
98830
98831
|
if (Array.isArray(value) && value.length) {
|
|
98831
98832
|
return value.some((item) => isInvalidFilterValue(item));
|
|
@@ -98843,6 +98844,16 @@
|
|
|
98843
98844
|
};
|
|
98844
98845
|
}
|
|
98845
98846
|
handleFilterChange = (selectedFilter) => {
|
|
98847
|
+
const { filterValue } = this.state;
|
|
98848
|
+
if (filterValue && !Array.isArray(filterValue) && filterTypesDictionary[selectedFilter] === "list") {
|
|
98849
|
+
this.setState({
|
|
98850
|
+
filterValue: filterValue?.split(" ") || []
|
|
98851
|
+
});
|
|
98852
|
+
} else if (filterTypesDictionary[selectedFilter] === "text" && Array.isArray(filterValue)) {
|
|
98853
|
+
this.setState({
|
|
98854
|
+
filterValue: filterValue.join(" ")
|
|
98855
|
+
});
|
|
98856
|
+
}
|
|
98846
98857
|
this.setState({ selectedFilter: lodashExports.camelCase(selectedFilter) });
|
|
98847
98858
|
};
|
|
98848
98859
|
handleFilterValueChange = (filterValue) => {
|
|
@@ -98885,36 +98896,7 @@
|
|
|
98885
98896
|
render() {
|
|
98886
98897
|
const { selectedFilter, filterValue } = this.state;
|
|
98887
98898
|
const { dataType, currentFilter, removeSingleFilter } = this.props;
|
|
98888
|
-
const {
|
|
98889
|
-
handleFilterChange,
|
|
98890
|
-
handleFilterValueChange,
|
|
98891
|
-
handleFilterSubmit
|
|
98892
|
-
} = this;
|
|
98893
|
-
const filterTypesDictionary = {
|
|
98894
|
-
none: "",
|
|
98895
|
-
startsWith: "text",
|
|
98896
|
-
endsWith: "text",
|
|
98897
|
-
contains: "text",
|
|
98898
|
-
notContains: "text",
|
|
98899
|
-
isExactly: "text",
|
|
98900
|
-
isEmpty: "text",
|
|
98901
|
-
notEmpty: "text",
|
|
98902
|
-
inList: "list",
|
|
98903
|
-
notInList: "list",
|
|
98904
|
-
true: "boolean",
|
|
98905
|
-
false: "boolean",
|
|
98906
|
-
dateIs: "date",
|
|
98907
|
-
notBetween: "dateRange",
|
|
98908
|
-
isBetween: "dateRange",
|
|
98909
|
-
isBefore: "date",
|
|
98910
|
-
isAfter: "date",
|
|
98911
|
-
greaterThan: "number",
|
|
98912
|
-
lessThan: "number",
|
|
98913
|
-
inRange: "numberRange",
|
|
98914
|
-
outsideRange: "numberRange",
|
|
98915
|
-
equalTo: "number",
|
|
98916
|
-
regex: "text"
|
|
98917
|
-
};
|
|
98899
|
+
const { handleFilterChange, handleFilterValueChange, handleFilterSubmit } = this;
|
|
98918
98900
|
const filterMenuItems = getFilterMenuItems(dataType);
|
|
98919
98901
|
const ccSelectedFilter = lodashExports.camelCase(selectedFilter);
|
|
98920
98902
|
const requiresValue = ccSelectedFilter && ccSelectedFilter !== "none";
|
|
@@ -99080,7 +99062,7 @@
|
|
|
99080
99062
|
if (Array.isArray(filterValue)) {
|
|
99081
99063
|
filterValueToUse = filterValue;
|
|
99082
99064
|
} else {
|
|
99083
|
-
filterValueToUse = filterValue && filterValue.split && filterValue.split("
|
|
99065
|
+
filterValueToUse = filterValue && filterValue.split && filterValue.split(";");
|
|
99084
99066
|
}
|
|
99085
99067
|
inputGroup = /* @__PURE__ */ React$3.createElement("div", { className: "custom-menu-item" }, /* @__PURE__ */ React$3.createElement(
|
|
99086
99068
|
DateRangeInput,
|
|
@@ -114700,9 +114682,7 @@
|
|
|
114700
114682
|
entities,
|
|
114701
114683
|
reduxFormEntitiesUndoRedoStack[reduxFormEntitiesUndoRedoStack.currentVersion].inversePatches
|
|
114702
114684
|
);
|
|
114703
|
-
const { newEnts, validationErrors } = this.formatAndValidateEntities(
|
|
114704
|
-
nextState
|
|
114705
|
-
);
|
|
114685
|
+
const { newEnts, validationErrors } = this.formatAndValidateEntities(nextState);
|
|
114706
114686
|
change("reduxFormEntities", newEnts);
|
|
114707
114687
|
this.updateValidation(newEnts, validationErrors);
|
|
114708
114688
|
change("reduxFormEntitiesUndoRedoStack", {
|
|
@@ -114724,9 +114704,7 @@
|
|
|
114724
114704
|
entities,
|
|
114725
114705
|
reduxFormEntitiesUndoRedoStack[nextV].patches
|
|
114726
114706
|
);
|
|
114727
|
-
const { newEnts, validationErrors } = this.formatAndValidateEntities(
|
|
114728
|
-
nextState
|
|
114729
|
-
);
|
|
114707
|
+
const { newEnts, validationErrors } = this.formatAndValidateEntities(nextState);
|
|
114730
114708
|
change("reduxFormEntities", newEnts);
|
|
114731
114709
|
this.updateValidation(newEnts, validationErrors);
|
|
114732
114710
|
change("reduxFormEntitiesUndoRedoStack", {
|
|
@@ -115228,10 +115206,7 @@
|
|
|
115228
115206
|
this.handleCopyHelper(textToCopy, "Column copied");
|
|
115229
115207
|
};
|
|
115230
115208
|
updateEntitiesHelper = (ents, fn) => {
|
|
115231
|
-
const {
|
|
115232
|
-
change,
|
|
115233
|
-
reduxFormEntitiesUndoRedoStack = { currentVersion: 0 }
|
|
115234
|
-
} = this.props;
|
|
115209
|
+
const { change, reduxFormEntitiesUndoRedoStack = { currentVersion: 0 } } = this.props;
|
|
115235
115210
|
const [nextState, patches, inversePatches] = cn(ents, fn);
|
|
115236
115211
|
if (!inversePatches.length)
|
|
115237
115212
|
return;
|
|
@@ -115293,9 +115268,11 @@
|
|
|
115293
115268
|
}
|
|
115294
115269
|
};
|
|
115295
115270
|
handleCopySelectedCells = (e) => {
|
|
115296
|
-
const {
|
|
115297
|
-
|
|
115298
|
-
|
|
115271
|
+
const {
|
|
115272
|
+
entities = [],
|
|
115273
|
+
reduxFormSelectedCells,
|
|
115274
|
+
schema
|
|
115275
|
+
} = computePresets(this.props);
|
|
115299
115276
|
if (lodashExports.isEmpty(reduxFormSelectedCells))
|
|
115300
115277
|
return;
|
|
115301
115278
|
const pathToIndex = getFieldPathToIndex(schema);
|
|
@@ -115581,7 +115558,9 @@
|
|
|
115581
115558
|
}
|
|
115582
115559
|
const numRows = isInfinite ? entities.length : pageSize;
|
|
115583
115560
|
const idMap = reduxFormSelectedEntityIdMap || {};
|
|
115584
|
-
const selectedRowCount = Object.keys(idMap).filter(
|
|
115561
|
+
const selectedRowCount = Object.keys(idMap).filter(
|
|
115562
|
+
(key) => idMap[key]
|
|
115563
|
+
).length;
|
|
115585
115564
|
let rowsToShow = doNotShowEmptyRows ? Math.min(numRows, entities.length) : numRows;
|
|
115586
115565
|
if (entities.length === 0 && rowsToShow < 3)
|
|
115587
115566
|
rowsToShow = 3;
|
|
@@ -115667,7 +115646,7 @@
|
|
|
115667
115646
|
({ displayName, path, selectedFilter, filterValue }) => {
|
|
115668
115647
|
let filterValToDisplay = filterValue;
|
|
115669
115648
|
if (selectedFilter === "inList") {
|
|
115670
|
-
filterValToDisplay = Array.isArray(filterValToDisplay) ? filterValToDisplay : filterValToDisplay && filterValToDisplay.split("
|
|
115649
|
+
filterValToDisplay = Array.isArray(filterValToDisplay) ? filterValToDisplay : filterValToDisplay && filterValToDisplay.split(";");
|
|
115671
115650
|
}
|
|
115672
115651
|
if (Array.isArray(filterValToDisplay)) {
|
|
115673
115652
|
filterValToDisplay = filterValToDisplay.join(", ");
|
|
@@ -117077,9 +117056,7 @@
|
|
|
117077
117056
|
return getIdOrCodeOrIndex(e, i) === rowId;
|
|
117078
117057
|
});
|
|
117079
117058
|
const insertIndex = above ? indexToInsert : indexToInsert + 1;
|
|
117080
|
-
let { newEnts, validationErrors } = this.formatAndValidateEntities(
|
|
117081
|
-
newEntities
|
|
117082
|
-
);
|
|
117059
|
+
let { newEnts, validationErrors } = this.formatAndValidateEntities(newEntities);
|
|
117083
117060
|
newEnts = newEnts.map((e) => ({
|
|
117084
117061
|
...e,
|
|
117085
117062
|
_isClean: true
|
|
@@ -151765,7 +151742,7 @@
|
|
|
151765
151742
|
(u) => u === "U" ? "T" : "t"
|
|
151766
151743
|
);
|
|
151767
151744
|
}
|
|
151768
|
-
if (temp !== sequence.sequence && !sequence.isDNA && !sequence.isProtein) {
|
|
151745
|
+
if (temp !== sequence.sequence && !sequence.isDNA && !sequence.isProtein && sequence.isRNA !== false) {
|
|
151769
151746
|
sequence.type = "RNA";
|
|
151770
151747
|
sequence.sequence = temp;
|
|
151771
151748
|
} else {
|
|
@@ -188663,7 +188640,7 @@ double click --> edit`}`;
|
|
|
188663
188640
|
}
|
|
188664
188641
|
|
|
188665
188642
|
const name = "@teselagen/ove";
|
|
188666
|
-
const version = "0.3.
|
|
188643
|
+
const version = "0.3.6";
|
|
188667
188644
|
const main = "./src/index.js";
|
|
188668
188645
|
const packageJson = {
|
|
188669
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",
|