@teselagen/ove 0.3.4 → 0.3.6
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 +196 -198
- package/package.json +7 -7
package/index.umd.js
CHANGED
|
@@ -23996,7 +23996,7 @@
|
|
|
23996
23996
|
var ownKeys$9 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownKeys : hasGetOwnPropertySymbols ? function (obj) {
|
|
23997
23997
|
return Object.getOwnPropertyNames(obj).concat(Object.getOwnPropertySymbols(obj));
|
|
23998
23998
|
} : /* istanbul ignore next */Object.getOwnPropertyNames;
|
|
23999
|
-
function toPrimitive$
|
|
23999
|
+
function toPrimitive$3(value) {
|
|
24000
24000
|
return value === null ? null : typeof value === "object" ? "" + value : value;
|
|
24001
24001
|
}
|
|
24002
24002
|
function hasProp(target, prop) {
|
|
@@ -24925,7 +24925,7 @@
|
|
|
24925
24925
|
return this.name_ + "[" + this.value_ + "]";
|
|
24926
24926
|
};
|
|
24927
24927
|
_proto.valueOf = function valueOf() {
|
|
24928
|
-
return toPrimitive$
|
|
24928
|
+
return toPrimitive$3(this.get());
|
|
24929
24929
|
};
|
|
24930
24930
|
_proto[_Symbol$toPrimitive] = function () {
|
|
24931
24931
|
return this.valueOf();
|
|
@@ -25153,7 +25153,7 @@
|
|
|
25153
25153
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
25154
25154
|
};
|
|
25155
25155
|
_proto.valueOf = function valueOf() {
|
|
25156
|
-
return toPrimitive$
|
|
25156
|
+
return toPrimitive$3(this.get());
|
|
25157
25157
|
};
|
|
25158
25158
|
_proto[_Symbol$toPrimitive$1] = function () {
|
|
25159
25159
|
return this.valueOf();
|
|
@@ -57050,18 +57050,10 @@
|
|
|
57050
57050
|
}
|
|
57051
57051
|
};
|
|
57052
57052
|
|
|
57053
|
-
|
|
57054
|
-
var
|
|
57055
|
-
|
|
57056
|
-
|
|
57057
|
-
if (hasRequired_descriptors) return _descriptors;
|
|
57058
|
-
hasRequired_descriptors = 1;
|
|
57059
|
-
// Thank's IE8 for his funny defineProperty
|
|
57060
|
-
_descriptors = !_fails(function () {
|
|
57061
|
-
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
57062
|
-
});
|
|
57063
|
-
return _descriptors;
|
|
57064
|
-
}
|
|
57053
|
+
// Thank's IE8 for his funny defineProperty
|
|
57054
|
+
var _descriptors = !_fails(function () {
|
|
57055
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
57056
|
+
});
|
|
57065
57057
|
|
|
57066
57058
|
var _domCreate;
|
|
57067
57059
|
var hasRequired_domCreate;
|
|
@@ -57079,17 +57071,9 @@
|
|
|
57079
57071
|
return _domCreate;
|
|
57080
57072
|
}
|
|
57081
57073
|
|
|
57082
|
-
var _ie8DomDefine
|
|
57083
|
-
|
|
57084
|
-
|
|
57085
|
-
function require_ie8DomDefine () {
|
|
57086
|
-
if (hasRequired_ie8DomDefine) return _ie8DomDefine;
|
|
57087
|
-
hasRequired_ie8DomDefine = 1;
|
|
57088
|
-
_ie8DomDefine = !require_descriptors() && !_fails(function () {
|
|
57089
|
-
return Object.defineProperty(require_domCreate()('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
57090
|
-
});
|
|
57091
|
-
return _ie8DomDefine;
|
|
57092
|
-
}
|
|
57074
|
+
var _ie8DomDefine = !_descriptors && !_fails(function () {
|
|
57075
|
+
return Object.defineProperty(require_domCreate()('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
57076
|
+
});
|
|
57093
57077
|
|
|
57094
57078
|
// 7.1.1 ToPrimitive(input [, PreferredType])
|
|
57095
57079
|
var isObject$6 = _isObject;
|
|
@@ -57104,29 +57088,22 @@
|
|
|
57104
57088
|
throw TypeError("Can't convert object to primitive value");
|
|
57105
57089
|
};
|
|
57106
57090
|
|
|
57107
|
-
var
|
|
57091
|
+
var anObject$5 = _anObject;
|
|
57092
|
+
var IE8_DOM_DEFINE$1 = _ie8DomDefine;
|
|
57093
|
+
var toPrimitive$2 = _toPrimitive$1;
|
|
57094
|
+
var dP$3 = Object.defineProperty;
|
|
57108
57095
|
|
|
57109
|
-
function
|
|
57110
|
-
|
|
57111
|
-
|
|
57112
|
-
|
|
57113
|
-
|
|
57114
|
-
|
|
57115
|
-
|
|
57116
|
-
|
|
57117
|
-
|
|
57118
|
-
|
|
57119
|
-
|
|
57120
|
-
anObject(Attributes);
|
|
57121
|
-
if (IE8_DOM_DEFINE) try {
|
|
57122
|
-
return dP(O, P, Attributes);
|
|
57123
|
-
} catch (e) { /* empty */ }
|
|
57124
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
57125
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
57126
|
-
return O;
|
|
57127
|
-
};
|
|
57128
|
-
return _objectDp;
|
|
57129
|
-
}
|
|
57096
|
+
_objectDp.f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
57097
|
+
anObject$5(O);
|
|
57098
|
+
P = toPrimitive$2(P, true);
|
|
57099
|
+
anObject$5(Attributes);
|
|
57100
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
57101
|
+
return dP$3(O, P, Attributes);
|
|
57102
|
+
} catch (e) { /* empty */ }
|
|
57103
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
57104
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
57105
|
+
return O;
|
|
57106
|
+
};
|
|
57130
57107
|
|
|
57131
57108
|
var _propertyDesc = function (bitmap, value) {
|
|
57132
57109
|
return {
|
|
@@ -57137,10 +57114,10 @@
|
|
|
57137
57114
|
};
|
|
57138
57115
|
};
|
|
57139
57116
|
|
|
57140
|
-
var dP$
|
|
57117
|
+
var dP$2 = _objectDp;
|
|
57141
57118
|
var createDesc$3 = _propertyDesc;
|
|
57142
|
-
var _hide =
|
|
57143
|
-
return dP$
|
|
57119
|
+
var _hide = _descriptors ? function (object, key, value) {
|
|
57120
|
+
return dP$2.f(object, key, createDesc$3(1, value));
|
|
57144
57121
|
} : function (object, key, value) {
|
|
57145
57122
|
object[key] = value;
|
|
57146
57123
|
return object;
|
|
@@ -57156,7 +57133,7 @@
|
|
|
57156
57133
|
var ctx$1 = _ctx;
|
|
57157
57134
|
var hide$2 = _hide;
|
|
57158
57135
|
var has$d = _has;
|
|
57159
|
-
var PROTOTYPE$
|
|
57136
|
+
var PROTOTYPE$2 = 'prototype';
|
|
57160
57137
|
|
|
57161
57138
|
var $export$8 = function (type, name, source) {
|
|
57162
57139
|
var IS_FORCED = type & $export$8.F;
|
|
@@ -57166,8 +57143,8 @@
|
|
|
57166
57143
|
var IS_BIND = type & $export$8.B;
|
|
57167
57144
|
var IS_WRAP = type & $export$8.W;
|
|
57168
57145
|
var exports = IS_GLOBAL ? core$3 : core$3[name] || (core$3[name] = {});
|
|
57169
|
-
var expProto = exports[PROTOTYPE$
|
|
57170
|
-
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];
|
|
57171
57148
|
var key, own, out;
|
|
57172
57149
|
if (IS_GLOBAL) source = name;
|
|
57173
57150
|
for (key in source) {
|
|
@@ -57191,7 +57168,7 @@
|
|
|
57191
57168
|
} return new C(a, b, c);
|
|
57192
57169
|
} return C.apply(this, arguments);
|
|
57193
57170
|
};
|
|
57194
|
-
F[PROTOTYPE$
|
|
57171
|
+
F[PROTOTYPE$2] = C[PROTOTYPE$2];
|
|
57195
57172
|
return F;
|
|
57196
57173
|
// make static versions for prototype methods
|
|
57197
57174
|
})(out) : IS_PROTO && typeof out == 'function' ? ctx$1(Function.call, out) : out;
|
|
@@ -57220,12 +57197,20 @@
|
|
|
57220
57197
|
return toString$4.call(it).slice(8, -1);
|
|
57221
57198
|
};
|
|
57222
57199
|
|
|
57223
|
-
|
|
57224
|
-
var
|
|
57225
|
-
|
|
57226
|
-
|
|
57227
|
-
|
|
57228
|
-
|
|
57200
|
+
var _iobject;
|
|
57201
|
+
var hasRequired_iobject;
|
|
57202
|
+
|
|
57203
|
+
function require_iobject () {
|
|
57204
|
+
if (hasRequired_iobject) return _iobject;
|
|
57205
|
+
hasRequired_iobject = 1;
|
|
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
|
+
}
|
|
57229
57214
|
|
|
57230
57215
|
// 7.2.1 RequireObjectCoercible(argument)
|
|
57231
57216
|
var _defined = function (it) {
|
|
@@ -57234,7 +57219,7 @@
|
|
|
57234
57219
|
};
|
|
57235
57220
|
|
|
57236
57221
|
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
|
57237
|
-
var IObject =
|
|
57222
|
+
var IObject = require_iobject();
|
|
57238
57223
|
var defined$2 = _defined;
|
|
57239
57224
|
var _toIobject = function (it) {
|
|
57240
57225
|
return IObject(defined$2(it));
|
|
@@ -57320,14 +57305,14 @@
|
|
|
57320
57305
|
var has$c = _has;
|
|
57321
57306
|
var toIObject$4 = _toIobject;
|
|
57322
57307
|
var arrayIndexOf = _arrayIncludes$1(false);
|
|
57323
|
-
var IE_PROTO$
|
|
57308
|
+
var IE_PROTO$2 = _sharedKey('IE_PROTO');
|
|
57324
57309
|
|
|
57325
57310
|
var _objectKeysInternal = function (object, names) {
|
|
57326
57311
|
var O = toIObject$4(object);
|
|
57327
57312
|
var i = 0;
|
|
57328
57313
|
var result = [];
|
|
57329
57314
|
var key;
|
|
57330
|
-
for (key in O) if (key != IE_PROTO$
|
|
57315
|
+
for (key in O) if (key != IE_PROTO$2) has$c(O, key) && result.push(key);
|
|
57331
57316
|
// Don't enum bug & hidden keys
|
|
57332
57317
|
while (names.length > i) if (has$c(O, key = names[i++])) {
|
|
57333
57318
|
~arrayIndexOf(result, key) || result.push(key);
|
|
@@ -57342,10 +57327,10 @@
|
|
|
57342
57327
|
|
|
57343
57328
|
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
|
57344
57329
|
var $keys$3 = _objectKeysInternal;
|
|
57345
|
-
var enumBugKeys = _enumBugKeys;
|
|
57330
|
+
var enumBugKeys$1 = _enumBugKeys;
|
|
57346
57331
|
|
|
57347
57332
|
var _objectKeys = Object.keys || function keys(O) {
|
|
57348
|
-
return $keys$3(O, enumBugKeys);
|
|
57333
|
+
return $keys$3(O, enumBugKeys$1);
|
|
57349
57334
|
};
|
|
57350
57335
|
|
|
57351
57336
|
var _objectGops = {};
|
|
@@ -57354,7 +57339,14 @@
|
|
|
57354
57339
|
|
|
57355
57340
|
var _objectPie = {};
|
|
57356
57341
|
|
|
57357
|
-
|
|
57342
|
+
var hasRequired_objectPie;
|
|
57343
|
+
|
|
57344
|
+
function require_objectPie () {
|
|
57345
|
+
if (hasRequired_objectPie) return _objectPie;
|
|
57346
|
+
hasRequired_objectPie = 1;
|
|
57347
|
+
_objectPie.f = {}.propertyIsEnumerable;
|
|
57348
|
+
return _objectPie;
|
|
57349
|
+
}
|
|
57358
57350
|
|
|
57359
57351
|
// 7.1.13 ToObject(argument)
|
|
57360
57352
|
var defined$1 = _defined;
|
|
@@ -57369,12 +57361,12 @@
|
|
|
57369
57361
|
if (hasRequired_objectAssign) return _objectAssign;
|
|
57370
57362
|
hasRequired_objectAssign = 1;
|
|
57371
57363
|
// 19.1.2.1 Object.assign(target, source, ...)
|
|
57372
|
-
var DESCRIPTORS =
|
|
57364
|
+
var DESCRIPTORS = _descriptors;
|
|
57373
57365
|
var getKeys = _objectKeys;
|
|
57374
57366
|
var gOPS = _objectGops;
|
|
57375
|
-
var pIE =
|
|
57367
|
+
var pIE = require_objectPie();
|
|
57376
57368
|
var toObject = _toObject;
|
|
57377
|
-
var IObject =
|
|
57369
|
+
var IObject = require_iobject();
|
|
57378
57370
|
var $assign = Object.assign;
|
|
57379
57371
|
|
|
57380
57372
|
// should work with symbols and should have deterministic property order (V8 bug)
|
|
@@ -57445,27 +57437,19 @@
|
|
|
57445
57437
|
|
|
57446
57438
|
var _redefine = _hide;
|
|
57447
57439
|
|
|
57448
|
-
var
|
|
57449
|
-
var
|
|
57440
|
+
var dP$1 = _objectDp;
|
|
57441
|
+
var anObject$4 = _anObject;
|
|
57442
|
+
var getKeys$1 = _objectKeys;
|
|
57450
57443
|
|
|
57451
|
-
function
|
|
57452
|
-
|
|
57453
|
-
|
|
57454
|
-
|
|
57455
|
-
|
|
57456
|
-
|
|
57457
|
-
|
|
57458
|
-
|
|
57459
|
-
|
|
57460
|
-
var keys = getKeys(Properties);
|
|
57461
|
-
var length = keys.length;
|
|
57462
|
-
var i = 0;
|
|
57463
|
-
var P;
|
|
57464
|
-
while (length > i) dP.f(O, P = keys[i++], Properties[P]);
|
|
57465
|
-
return O;
|
|
57466
|
-
};
|
|
57467
|
-
return _objectDps;
|
|
57468
|
-
}
|
|
57444
|
+
var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
57445
|
+
anObject$4(O);
|
|
57446
|
+
var keys = getKeys$1(Properties);
|
|
57447
|
+
var length = keys.length;
|
|
57448
|
+
var i = 0;
|
|
57449
|
+
var P;
|
|
57450
|
+
while (length > i) dP$1.f(O, P = keys[i++], Properties[P]);
|
|
57451
|
+
return O;
|
|
57452
|
+
};
|
|
57469
57453
|
|
|
57470
57454
|
var _html;
|
|
57471
57455
|
var hasRequired_html;
|
|
@@ -57478,55 +57462,47 @@
|
|
|
57478
57462
|
return _html;
|
|
57479
57463
|
}
|
|
57480
57464
|
|
|
57481
|
-
|
|
57482
|
-
var
|
|
57465
|
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
57466
|
+
var anObject$3 = _anObject;
|
|
57467
|
+
var dPs = _objectDps;
|
|
57468
|
+
var enumBugKeys = _enumBugKeys;
|
|
57469
|
+
var IE_PROTO$1 = _sharedKey('IE_PROTO');
|
|
57470
|
+
var Empty = function () { /* empty */ };
|
|
57471
|
+
var PROTOTYPE$1 = 'prototype';
|
|
57483
57472
|
|
|
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
|
-
|
|
57510
|
-
|
|
57511
|
-
|
|
57512
|
-
|
|
57513
|
-
|
|
57514
|
-
|
|
57515
|
-
|
|
57516
|
-
|
|
57517
|
-
_objectCreate = Object.create || function create(O, Properties) {
|
|
57518
|
-
var result;
|
|
57519
|
-
if (O !== null) {
|
|
57520
|
-
Empty[PROTOTYPE] = anObject(O);
|
|
57521
|
-
result = new Empty();
|
|
57522
|
-
Empty[PROTOTYPE] = null;
|
|
57523
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
57524
|
-
result[IE_PROTO] = O;
|
|
57525
|
-
} else result = createDict();
|
|
57526
|
-
return Properties === undefined ? result : dPs(result, Properties);
|
|
57527
|
-
};
|
|
57528
|
-
return _objectCreate;
|
|
57529
|
-
}
|
|
57473
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
57474
|
+
var createDict = function () {
|
|
57475
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
57476
|
+
var iframe = require_domCreate()('iframe');
|
|
57477
|
+
var i = enumBugKeys.length;
|
|
57478
|
+
var lt = '<';
|
|
57479
|
+
var gt = '>';
|
|
57480
|
+
var iframeDocument;
|
|
57481
|
+
iframe.style.display = 'none';
|
|
57482
|
+
require_html().appendChild(iframe);
|
|
57483
|
+
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
|
57484
|
+
// createDict = iframe.contentWindow.Object;
|
|
57485
|
+
// html.removeChild(iframe);
|
|
57486
|
+
iframeDocument = iframe.contentWindow.document;
|
|
57487
|
+
iframeDocument.open();
|
|
57488
|
+
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
|
|
57489
|
+
iframeDocument.close();
|
|
57490
|
+
createDict = iframeDocument.F;
|
|
57491
|
+
while (i--) delete createDict[PROTOTYPE$1][enumBugKeys[i]];
|
|
57492
|
+
return createDict();
|
|
57493
|
+
};
|
|
57494
|
+
|
|
57495
|
+
var _objectCreate = Object.create || function create(O, Properties) {
|
|
57496
|
+
var result;
|
|
57497
|
+
if (O !== null) {
|
|
57498
|
+
Empty[PROTOTYPE$1] = anObject$3(O);
|
|
57499
|
+
result = new Empty();
|
|
57500
|
+
Empty[PROTOTYPE$1] = null;
|
|
57501
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
57502
|
+
result[IE_PROTO$1] = O;
|
|
57503
|
+
} else result = createDict();
|
|
57504
|
+
return Properties === undefined ? result : dPs(result, Properties);
|
|
57505
|
+
};
|
|
57530
57506
|
|
|
57531
57507
|
var _wks = {exports: {}};
|
|
57532
57508
|
|
|
@@ -57544,7 +57520,7 @@
|
|
|
57544
57520
|
|
|
57545
57521
|
var _wksExports = _wks.exports;
|
|
57546
57522
|
|
|
57547
|
-
var def =
|
|
57523
|
+
var def = _objectDp.f;
|
|
57548
57524
|
var has$b = _has;
|
|
57549
57525
|
var TAG$1 = _wksExports('toStringTag');
|
|
57550
57526
|
|
|
@@ -57552,7 +57528,7 @@
|
|
|
57552
57528
|
if (it && !has$b(it = stat ? it : it.prototype, TAG$1)) def(it, TAG$1, { configurable: true, value: tag });
|
|
57553
57529
|
};
|
|
57554
57530
|
|
|
57555
|
-
var create$4 =
|
|
57531
|
+
var create$4 = _objectCreate;
|
|
57556
57532
|
var descriptor = _propertyDesc;
|
|
57557
57533
|
var setToStringTag$2 = _setToStringTag;
|
|
57558
57534
|
var IteratorPrototype = {};
|
|
@@ -57858,7 +57834,7 @@
|
|
|
57858
57834
|
return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
57859
57835
|
};
|
|
57860
57836
|
|
|
57861
|
-
var $defineProperty$1 =
|
|
57837
|
+
var $defineProperty$1 = _objectDp;
|
|
57862
57838
|
var createDesc$2 = _propertyDesc;
|
|
57863
57839
|
|
|
57864
57840
|
var _createProperty = function (object, index, value) {
|
|
@@ -57991,7 +57967,7 @@
|
|
|
57991
57967
|
|
|
57992
57968
|
var $export$3 = _export;
|
|
57993
57969
|
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
|
57994
|
-
$export$3($export$3.S + $export$3.F * !
|
|
57970
|
+
$export$3($export$3.S + $export$3.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
|
|
57995
57971
|
|
|
57996
57972
|
var $Object$1 = _coreExports.Object;
|
|
57997
57973
|
var defineProperty$6 = function defineProperty(it, key, desc) {
|
|
@@ -58039,7 +58015,7 @@
|
|
|
58039
58015
|
var META$1 = _uid('meta');
|
|
58040
58016
|
var isObject$5 = _isObject;
|
|
58041
58017
|
var has$9 = _has;
|
|
58042
|
-
var setDesc =
|
|
58018
|
+
var setDesc = _objectDp.f;
|
|
58043
58019
|
var id$1 = 0;
|
|
58044
58020
|
var isExtensible = Object.isExtensible || function () {
|
|
58045
58021
|
return true;
|
|
@@ -58094,7 +58070,7 @@
|
|
|
58094
58070
|
|
|
58095
58071
|
var core = _coreExports;
|
|
58096
58072
|
var wksExt$1 = _wksExt;
|
|
58097
|
-
var defineProperty$4 =
|
|
58073
|
+
var defineProperty$4 = _objectDp.f;
|
|
58098
58074
|
var _wksDefine = function (name) {
|
|
58099
58075
|
var $Symbol = core.Symbol || (core.Symbol = {} );
|
|
58100
58076
|
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty$4($Symbol, name, { value: wksExt$1.f(name) });
|
|
@@ -58103,7 +58079,7 @@
|
|
|
58103
58079
|
// all enumerable object keys, includes symbols
|
|
58104
58080
|
var getKeys = _objectKeys;
|
|
58105
58081
|
var gOPS$1 = _objectGops;
|
|
58106
|
-
var pIE$1 =
|
|
58082
|
+
var pIE$1 = require_objectPie();
|
|
58107
58083
|
var _enumKeys = function (it) {
|
|
58108
58084
|
var result = getKeys(it);
|
|
58109
58085
|
var getSymbols = gOPS$1.f;
|
|
@@ -58156,15 +58132,15 @@
|
|
|
58156
58132
|
|
|
58157
58133
|
var _objectGopd = {};
|
|
58158
58134
|
|
|
58159
|
-
var pIE =
|
|
58135
|
+
var pIE = require_objectPie();
|
|
58160
58136
|
var createDesc$1 = _propertyDesc;
|
|
58161
58137
|
var toIObject$1 = _toIobject;
|
|
58162
58138
|
var toPrimitive$1 = _toPrimitive$1;
|
|
58163
58139
|
var has$8 = _has;
|
|
58164
|
-
var IE8_DOM_DEFINE =
|
|
58140
|
+
var IE8_DOM_DEFINE = _ie8DomDefine;
|
|
58165
58141
|
var gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
58166
58142
|
|
|
58167
|
-
_objectGopd.f =
|
|
58143
|
+
_objectGopd.f = _descriptors ? gOPD$2 : function getOwnPropertyDescriptor(O, P) {
|
|
58168
58144
|
O = toIObject$1(O);
|
|
58169
58145
|
P = toPrimitive$1(P, true);
|
|
58170
58146
|
if (IE8_DOM_DEFINE) try {
|
|
@@ -58176,7 +58152,7 @@
|
|
|
58176
58152
|
// ECMAScript 6 symbols shim
|
|
58177
58153
|
var global$1 = _globalExports;
|
|
58178
58154
|
var has$7 = _has;
|
|
58179
|
-
var DESCRIPTORS =
|
|
58155
|
+
var DESCRIPTORS = _descriptors;
|
|
58180
58156
|
var $export$2 = _export;
|
|
58181
58157
|
var redefine = _redefine;
|
|
58182
58158
|
var META = _metaExports.KEY;
|
|
@@ -58195,11 +58171,11 @@
|
|
|
58195
58171
|
var toIObject = _toIobject;
|
|
58196
58172
|
var toPrimitive = _toPrimitive$1;
|
|
58197
58173
|
var createDesc = _propertyDesc;
|
|
58198
|
-
var _create$1 =
|
|
58174
|
+
var _create$1 = _objectCreate;
|
|
58199
58175
|
var gOPNExt = _objectGopnExt;
|
|
58200
58176
|
var $GOPD = _objectGopd;
|
|
58201
58177
|
var $GOPS = _objectGops;
|
|
58202
|
-
var $DP =
|
|
58178
|
+
var $DP = _objectDp;
|
|
58203
58179
|
var $keys$1 = _objectKeys;
|
|
58204
58180
|
var gOPD$1 = $GOPD.f;
|
|
58205
58181
|
var dP = $DP.f;
|
|
@@ -58324,7 +58300,7 @@
|
|
|
58324
58300
|
$GOPD.f = $getOwnPropertyDescriptor;
|
|
58325
58301
|
$DP.f = $defineProperty;
|
|
58326
58302
|
_objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
|
|
58327
|
-
|
|
58303
|
+
require_objectPie().f = $propertyIsEnumerable;
|
|
58328
58304
|
$GOPS.f = $getOwnPropertySymbols;
|
|
58329
58305
|
|
|
58330
58306
|
if (DESCRIPTORS && !_library) {
|
|
@@ -58505,7 +58481,7 @@
|
|
|
58505
58481
|
|
|
58506
58482
|
var $export = _export;
|
|
58507
58483
|
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
58508
|
-
$export($export.S, 'Object', { create:
|
|
58484
|
+
$export($export.S, 'Object', { create: _objectCreate });
|
|
58509
58485
|
|
|
58510
58486
|
var $Object = _coreExports.Object;
|
|
58511
58487
|
var create$3 = function create(P, D) {
|
|
@@ -92908,7 +92884,7 @@
|
|
|
92908
92884
|
stringFilterValue = stringFilterValue || "";
|
|
92909
92885
|
}
|
|
92910
92886
|
const filterValLower = stringFilterValue.toLowerCase && stringFilterValue.toLowerCase();
|
|
92911
|
-
const arrayFilterValue = Array.isArray(filterValue) ? filterValue : stringFilterValue.split("
|
|
92887
|
+
const arrayFilterValue = Array.isArray(filterValue) ? filterValue : stringFilterValue.split(";");
|
|
92912
92888
|
if (ccSelectedFilter === "startsWith") {
|
|
92913
92889
|
return qb ? qb.startsWith(stringFilterValue) : (fieldVal) => {
|
|
92914
92890
|
if (!fieldVal || !fieldVal.toLowerCase)
|
|
@@ -98834,6 +98810,31 @@
|
|
|
98834
98810
|
window.toastr.default = preventDuplicates(generateToast(Intent.NONE));
|
|
98835
98811
|
}
|
|
98836
98812
|
|
|
98813
|
+
const filterTypesDictionary = {
|
|
98814
|
+
none: "",
|
|
98815
|
+
startsWith: "text",
|
|
98816
|
+
endsWith: "text",
|
|
98817
|
+
contains: "text",
|
|
98818
|
+
notContains: "text",
|
|
98819
|
+
isExactly: "text",
|
|
98820
|
+
isEmpty: "text",
|
|
98821
|
+
notEmpty: "text",
|
|
98822
|
+
inList: "list",
|
|
98823
|
+
notInList: "list",
|
|
98824
|
+
true: "boolean",
|
|
98825
|
+
false: "boolean",
|
|
98826
|
+
dateIs: "date",
|
|
98827
|
+
notBetween: "dateRange",
|
|
98828
|
+
isBetween: "dateRange",
|
|
98829
|
+
isBefore: "date",
|
|
98830
|
+
isAfter: "date",
|
|
98831
|
+
greaterThan: "number",
|
|
98832
|
+
lessThan: "number",
|
|
98833
|
+
inRange: "numberRange",
|
|
98834
|
+
outsideRange: "numberRange",
|
|
98835
|
+
equalTo: "number",
|
|
98836
|
+
regex: "text"
|
|
98837
|
+
};
|
|
98837
98838
|
const isInvalidFilterValue = (value) => {
|
|
98838
98839
|
if (Array.isArray(value) && value.length) {
|
|
98839
98840
|
return value.some((item) => isInvalidFilterValue(item));
|
|
@@ -98851,6 +98852,16 @@
|
|
|
98851
98852
|
};
|
|
98852
98853
|
}
|
|
98853
98854
|
handleFilterChange = (selectedFilter) => {
|
|
98855
|
+
const { filterValue } = this.state;
|
|
98856
|
+
if (filterValue && !Array.isArray(filterValue) && filterTypesDictionary[selectedFilter] === "list") {
|
|
98857
|
+
this.setState({
|
|
98858
|
+
filterValue: filterValue?.split(" ") || []
|
|
98859
|
+
});
|
|
98860
|
+
} else if (filterTypesDictionary[selectedFilter] === "text" && Array.isArray(filterValue)) {
|
|
98861
|
+
this.setState({
|
|
98862
|
+
filterValue: filterValue.join(" ")
|
|
98863
|
+
});
|
|
98864
|
+
}
|
|
98854
98865
|
this.setState({ selectedFilter: lodashExports.camelCase(selectedFilter) });
|
|
98855
98866
|
};
|
|
98856
98867
|
handleFilterValueChange = (filterValue) => {
|
|
@@ -98893,36 +98904,7 @@
|
|
|
98893
98904
|
render() {
|
|
98894
98905
|
const { selectedFilter, filterValue } = this.state;
|
|
98895
98906
|
const { dataType, currentFilter, removeSingleFilter } = this.props;
|
|
98896
|
-
const {
|
|
98897
|
-
handleFilterChange,
|
|
98898
|
-
handleFilterValueChange,
|
|
98899
|
-
handleFilterSubmit
|
|
98900
|
-
} = this;
|
|
98901
|
-
const filterTypesDictionary = {
|
|
98902
|
-
none: "",
|
|
98903
|
-
startsWith: "text",
|
|
98904
|
-
endsWith: "text",
|
|
98905
|
-
contains: "text",
|
|
98906
|
-
notContains: "text",
|
|
98907
|
-
isExactly: "text",
|
|
98908
|
-
isEmpty: "text",
|
|
98909
|
-
notEmpty: "text",
|
|
98910
|
-
inList: "list",
|
|
98911
|
-
notInList: "list",
|
|
98912
|
-
true: "boolean",
|
|
98913
|
-
false: "boolean",
|
|
98914
|
-
dateIs: "date",
|
|
98915
|
-
notBetween: "dateRange",
|
|
98916
|
-
isBetween: "dateRange",
|
|
98917
|
-
isBefore: "date",
|
|
98918
|
-
isAfter: "date",
|
|
98919
|
-
greaterThan: "number",
|
|
98920
|
-
lessThan: "number",
|
|
98921
|
-
inRange: "numberRange",
|
|
98922
|
-
outsideRange: "numberRange",
|
|
98923
|
-
equalTo: "number",
|
|
98924
|
-
regex: "text"
|
|
98925
|
-
};
|
|
98907
|
+
const { handleFilterChange, handleFilterValueChange, handleFilterSubmit } = this;
|
|
98926
98908
|
const filterMenuItems = getFilterMenuItems(dataType);
|
|
98927
98909
|
const ccSelectedFilter = lodashExports.camelCase(selectedFilter);
|
|
98928
98910
|
const requiresValue = ccSelectedFilter && ccSelectedFilter !== "none";
|
|
@@ -99088,7 +99070,7 @@
|
|
|
99088
99070
|
if (Array.isArray(filterValue)) {
|
|
99089
99071
|
filterValueToUse = filterValue;
|
|
99090
99072
|
} else {
|
|
99091
|
-
filterValueToUse = filterValue && filterValue.split && filterValue.split("
|
|
99073
|
+
filterValueToUse = filterValue && filterValue.split && filterValue.split(";");
|
|
99092
99074
|
}
|
|
99093
99075
|
inputGroup = /* @__PURE__ */ React$3.createElement("div", { className: "custom-menu-item" }, /* @__PURE__ */ React$3.createElement(
|
|
99094
99076
|
DateRangeInput,
|
|
@@ -115675,7 +115657,7 @@
|
|
|
115675
115657
|
({ displayName, path, selectedFilter, filterValue }) => {
|
|
115676
115658
|
let filterValToDisplay = filterValue;
|
|
115677
115659
|
if (selectedFilter === "inList") {
|
|
115678
|
-
filterValToDisplay = Array.isArray(filterValToDisplay) ? filterValToDisplay : filterValToDisplay && filterValToDisplay.split("
|
|
115660
|
+
filterValToDisplay = Array.isArray(filterValToDisplay) ? filterValToDisplay : filterValToDisplay && filterValToDisplay.split(";");
|
|
115679
115661
|
}
|
|
115680
115662
|
if (Array.isArray(filterValToDisplay)) {
|
|
115681
115663
|
filterValToDisplay = filterValToDisplay.join(", ");
|
|
@@ -151686,9 +151668,7 @@
|
|
|
151686
151668
|
};
|
|
151687
151669
|
|
|
151688
151670
|
function validateSequence(sequence, options = {}) {
|
|
151689
|
-
|
|
151690
|
-
isProtein,
|
|
151691
|
-
isOligo,
|
|
151671
|
+
const {
|
|
151692
151672
|
guessIfProtein,
|
|
151693
151673
|
guessIfProteinOptions,
|
|
151694
151674
|
reformatSeqName,
|
|
@@ -151698,6 +151678,19 @@
|
|
|
151698
151678
|
allowOverflowAnnotations,
|
|
151699
151679
|
coerceFeatureTypes
|
|
151700
151680
|
} = options;
|
|
151681
|
+
[
|
|
151682
|
+
"isDNA",
|
|
151683
|
+
"isOligo",
|
|
151684
|
+
"isRNA",
|
|
151685
|
+
"isDoubleStrandedDNA",
|
|
151686
|
+
"isSingleStrandedDNA",
|
|
151687
|
+
"isDoubleStrandedRNA",
|
|
151688
|
+
"isProtein"
|
|
151689
|
+
].forEach((k) => {
|
|
151690
|
+
if (options[k] !== void 0 && sequence[k] === void 0) {
|
|
151691
|
+
sequence[k] = options[k];
|
|
151692
|
+
}
|
|
151693
|
+
});
|
|
151701
151694
|
const response = {
|
|
151702
151695
|
validatedAndCleanedSequence: {},
|
|
151703
151696
|
messages: []
|
|
@@ -151734,13 +151727,13 @@
|
|
|
151734
151727
|
sequence.sequence = "";
|
|
151735
151728
|
}
|
|
151736
151729
|
let validChars;
|
|
151737
|
-
if (isProtein === void 0 && guessIfProtein) {
|
|
151738
|
-
isProtein = !guessIfSequenceIsDnaAndNotProtein(
|
|
151730
|
+
if (sequence.isProtein === void 0 && guessIfProtein) {
|
|
151731
|
+
sequence.isProtein = !guessIfSequenceIsDnaAndNotProtein(
|
|
151739
151732
|
sequence.sequence,
|
|
151740
151733
|
guessIfProteinOptions
|
|
151741
151734
|
);
|
|
151742
151735
|
}
|
|
151743
|
-
if (isProtein) {
|
|
151736
|
+
if (sequence.isProtein) {
|
|
151744
151737
|
validChars = filterAminoAcidSequenceString(sequence.sequence);
|
|
151745
151738
|
if (validChars !== sequence.sequence) {
|
|
151746
151739
|
sequence.sequence = validChars;
|
|
@@ -151756,13 +151749,13 @@
|
|
|
151756
151749
|
sequence.proteinSize = sequence.proteinSequence.length;
|
|
151757
151750
|
} else {
|
|
151758
151751
|
const temp = sequence.sequence;
|
|
151759
|
-
if (!isOligo) {
|
|
151752
|
+
if (!sequence.isOligo) {
|
|
151760
151753
|
sequence.sequence = sequence.sequence.replace(
|
|
151761
151754
|
/u/gi,
|
|
151762
151755
|
(u) => u === "U" ? "T" : "t"
|
|
151763
151756
|
);
|
|
151764
151757
|
}
|
|
151765
|
-
if (temp !== sequence.sequence) {
|
|
151758
|
+
if (temp !== sequence.sequence && !sequence.isDNA && !sequence.isProtein) {
|
|
151766
151759
|
sequence.type = "RNA";
|
|
151767
151760
|
sequence.sequence = temp;
|
|
151768
151761
|
} else {
|
|
@@ -151777,7 +151770,7 @@
|
|
|
151777
151770
|
}
|
|
151778
151771
|
}
|
|
151779
151772
|
if (!sequence.size) {
|
|
151780
|
-
sequence.size = isProtein ? sequence.proteinSequence.length * 3 : sequence.sequence.length;
|
|
151773
|
+
sequence.size = sequence.isProtein ? sequence.proteinSequence.length * 3 : sequence.sequence.length;
|
|
151781
151774
|
}
|
|
151782
151775
|
let circularityExplicitlyDefined;
|
|
151783
151776
|
if (sequence.circular === false || sequence.circular === "false" || sequence.circular === -1) {
|
|
@@ -152342,10 +152335,13 @@
|
|
|
152342
152335
|
}
|
|
152343
152336
|
options.sequenceTypeFromLocus = item;
|
|
152344
152337
|
if (item.match(/ss-dna/i)) {
|
|
152338
|
+
options.isDNA = true;
|
|
152345
152339
|
options.isSingleStrandedDNA = true;
|
|
152346
|
-
}
|
|
152347
|
-
if (item.match(/rna/i)) {
|
|
152340
|
+
} else if (item.match(/rna/i)) {
|
|
152348
152341
|
options.isRna = true;
|
|
152342
|
+
} else if (item.match(/ds-dna/i) || item.match(/dna/i)) {
|
|
152343
|
+
options.isDNA = true;
|
|
152344
|
+
options.isDoubleStrandedDNA = true;
|
|
152349
152345
|
}
|
|
152350
152346
|
if (item.match(/rna/i) && !item.match(/ss-rna/i)) {
|
|
152351
152347
|
options.isDoubleStrandedRNA = true;
|
|
@@ -152360,6 +152356,8 @@
|
|
|
152360
152356
|
}
|
|
152361
152357
|
result.parsedSequence.gbDivision = gbDivision;
|
|
152362
152358
|
result.parsedSequence.sequenceTypeFromLocus = options.sequenceTypeFromLocus;
|
|
152359
|
+
result.parsedSequence.isDNA = options.isDNA;
|
|
152360
|
+
result.parsedSequence.isDoubleStrandedDNA = options.isDoubleStrandedDNA;
|
|
152363
152361
|
result.parsedSequence.isSingleStrandedDNA = options.isSingleStrandedDNA;
|
|
152364
152362
|
result.parsedSequence.isRna = options.isRna;
|
|
152365
152363
|
result.parsedSequence.isDoubleStrandedRNA = options.isDoubleStrandedRNA;
|
|
@@ -188655,7 +188653,7 @@ double click --> edit`}`;
|
|
|
188655
188653
|
}
|
|
188656
188654
|
|
|
188657
188655
|
const name = "@teselagen/ove";
|
|
188658
|
-
const version = "0.3.
|
|
188656
|
+
const version = "0.3.5";
|
|
188659
188657
|
const main = "./src/index.js";
|
|
188660
188658
|
const packageJson = {
|
|
188661
188659
|
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.6",
|
|
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.6",
|
|
7
|
+
"@teselagen/range-utils": "0.3.6",
|
|
8
|
+
"@teselagen/ui": "0.3.6",
|
|
9
|
+
"@teselagen/file-utils": "0.3.6",
|
|
10
|
+
"@teselagen/bounce-loader": "0.3.6",
|
|
11
|
+
"@teselagen/bio-parsers": "0.3.6",
|
|
12
12
|
"@blueprintjs/core": "3.52.0",
|
|
13
13
|
"@blueprintjs/datetime": "3.23.19",
|
|
14
14
|
"@blueprintjs/icons": "3.33.0",
|