@teselagen/ove 0.3.49 → 0.3.50
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 +231 -151
- package/index.es.js +231 -151
- package/index.umd.js +236 -209
- package/package.json +4 -4
- package/style.css +1 -1
package/index.es.js
CHANGED
|
@@ -6799,10 +6799,10 @@ var ownKeys$7 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownK
|
|
|
6799
6799
|
/* istanbul ignore next */
|
|
6800
6800
|
Object.getOwnPropertyNames
|
|
6801
6801
|
);
|
|
6802
|
-
function toPrimitive$
|
|
6802
|
+
function toPrimitive$2(value) {
|
|
6803
6803
|
return value === null ? null : typeof value === "object" ? "" + value : value;
|
|
6804
6804
|
}
|
|
6805
|
-
__name(toPrimitive$
|
|
6805
|
+
__name(toPrimitive$2, "toPrimitive$2");
|
|
6806
6806
|
function hasProp(target, prop2) {
|
|
6807
6807
|
return objectPrototype$1.hasOwnProperty.call(target, prop2);
|
|
6808
6808
|
}
|
|
@@ -7699,7 +7699,7 @@ var ObservableValue = /* @__PURE__ */ function(_Atom) {
|
|
|
7699
7699
|
return this.name_ + "[" + this.value_ + "]";
|
|
7700
7700
|
}, "toString");
|
|
7701
7701
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
7702
|
-
return toPrimitive$
|
|
7702
|
+
return toPrimitive$2(this.get());
|
|
7703
7703
|
}, "valueOf");
|
|
7704
7704
|
_proto[_Symbol$toPrimitive] = function() {
|
|
7705
7705
|
return this.valueOf();
|
|
@@ -7884,7 +7884,7 @@ var ComputedValue = /* @__PURE__ */ function() {
|
|
|
7884
7884
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
7885
7885
|
}, "toString");
|
|
7886
7886
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
7887
|
-
return toPrimitive$
|
|
7887
|
+
return toPrimitive$2(this.get());
|
|
7888
7888
|
}, "valueOf");
|
|
7889
7889
|
_proto[_Symbol$toPrimitive$1] = function() {
|
|
7890
7890
|
return this.valueOf();
|
|
@@ -12518,7 +12518,7 @@ lodash.exports;
|
|
|
12518
12518
|
"^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar2, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
12519
12519
|
);
|
|
12520
12520
|
var Buffer2 = moduleExports2 ? context.Buffer : undefined$12, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe2 = Buffer2 ? Buffer2.allocUnsafe : undefined$12, getPrototype2 = overArg2(Object2.getPrototypeOf, Object2), objectCreate2 = Object2.create, propertyIsEnumerable3 = objectProto2.propertyIsEnumerable, splice3 = arrayProto2.splice, spreadableSymbol2 = Symbol2 ? Symbol2.isConcatSpreadable : undefined$12, symIterator = Symbol2 ? Symbol2.iterator : undefined$12, symToStringTag2 = Symbol2 ? Symbol2.toStringTag : undefined$12;
|
|
12521
|
-
var
|
|
12521
|
+
var defineProperty5 = function() {
|
|
12522
12522
|
try {
|
|
12523
12523
|
var func = getNative2(Object2, "defineProperty");
|
|
12524
12524
|
func({}, "", {});
|
|
@@ -12958,8 +12958,8 @@ lodash.exports;
|
|
|
12958
12958
|
}
|
|
12959
12959
|
__name(baseAssignIn2, "baseAssignIn");
|
|
12960
12960
|
function baseAssignValue2(object3, key, value) {
|
|
12961
|
-
if (key == "__proto__" &&
|
|
12962
|
-
|
|
12961
|
+
if (key == "__proto__" && defineProperty5) {
|
|
12962
|
+
defineProperty5(object3, key, {
|
|
12963
12963
|
"configurable": true,
|
|
12964
12964
|
"enumerable": true,
|
|
12965
12965
|
"value": value,
|
|
@@ -13692,8 +13692,8 @@ lodash.exports;
|
|
|
13692
13692
|
metaMap.set(func, data);
|
|
13693
13693
|
return func;
|
|
13694
13694
|
};
|
|
13695
|
-
var baseSetToString2 = !
|
|
13696
|
-
return
|
|
13695
|
+
var baseSetToString2 = !defineProperty5 ? identity4 : function(func, string2) {
|
|
13696
|
+
return defineProperty5(func, "toString", {
|
|
13697
13697
|
"configurable": true,
|
|
13698
13698
|
"enumerable": false,
|
|
13699
13699
|
"value": constant2(string2),
|
|
@@ -18218,11 +18218,20 @@ var _fails = /* @__PURE__ */ __name(function(exec) {
|
|
|
18218
18218
|
return true;
|
|
18219
18219
|
}
|
|
18220
18220
|
}, "_fails");
|
|
18221
|
-
var _descriptors
|
|
18222
|
-
|
|
18223
|
-
|
|
18224
|
-
|
|
18225
|
-
|
|
18221
|
+
var _descriptors;
|
|
18222
|
+
var hasRequired_descriptors;
|
|
18223
|
+
function require_descriptors() {
|
|
18224
|
+
if (hasRequired_descriptors)
|
|
18225
|
+
return _descriptors;
|
|
18226
|
+
hasRequired_descriptors = 1;
|
|
18227
|
+
_descriptors = !_fails(function() {
|
|
18228
|
+
return Object.defineProperty({}, "a", { get: function() {
|
|
18229
|
+
return 7;
|
|
18230
|
+
} }).a != 7;
|
|
18231
|
+
});
|
|
18232
|
+
return _descriptors;
|
|
18233
|
+
}
|
|
18234
|
+
__name(require_descriptors, "require_descriptors");
|
|
18226
18235
|
var _domCreate;
|
|
18227
18236
|
var hasRequired_domCreate;
|
|
18228
18237
|
function require_domCreate() {
|
|
@@ -18238,11 +18247,20 @@ function require_domCreate() {
|
|
|
18238
18247
|
return _domCreate;
|
|
18239
18248
|
}
|
|
18240
18249
|
__name(require_domCreate, "require_domCreate");
|
|
18241
|
-
var _ie8DomDefine
|
|
18242
|
-
|
|
18243
|
-
|
|
18244
|
-
|
|
18245
|
-
|
|
18250
|
+
var _ie8DomDefine;
|
|
18251
|
+
var hasRequired_ie8DomDefine;
|
|
18252
|
+
function require_ie8DomDefine() {
|
|
18253
|
+
if (hasRequired_ie8DomDefine)
|
|
18254
|
+
return _ie8DomDefine;
|
|
18255
|
+
hasRequired_ie8DomDefine = 1;
|
|
18256
|
+
_ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
18257
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
18258
|
+
return 7;
|
|
18259
|
+
} }).a != 7;
|
|
18260
|
+
});
|
|
18261
|
+
return _ie8DomDefine;
|
|
18262
|
+
}
|
|
18263
|
+
__name(require_ie8DomDefine, "require_ie8DomDefine");
|
|
18246
18264
|
var isObject$d = _isObject;
|
|
18247
18265
|
var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
18248
18266
|
if (!isObject$d(it))
|
|
@@ -18256,25 +18274,33 @@ var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
|
18256
18274
|
return val2;
|
|
18257
18275
|
throw TypeError("Can't convert object to primitive value");
|
|
18258
18276
|
}, "_toPrimitive$1");
|
|
18259
|
-
var
|
|
18260
|
-
|
|
18261
|
-
|
|
18262
|
-
|
|
18263
|
-
|
|
18264
|
-
|
|
18265
|
-
|
|
18266
|
-
|
|
18267
|
-
|
|
18268
|
-
|
|
18269
|
-
|
|
18270
|
-
|
|
18271
|
-
|
|
18272
|
-
|
|
18273
|
-
|
|
18274
|
-
|
|
18275
|
-
|
|
18276
|
-
|
|
18277
|
-
|
|
18277
|
+
var hasRequired_objectDp;
|
|
18278
|
+
function require_objectDp() {
|
|
18279
|
+
if (hasRequired_objectDp)
|
|
18280
|
+
return _objectDp;
|
|
18281
|
+
hasRequired_objectDp = 1;
|
|
18282
|
+
var anObject2 = _anObject;
|
|
18283
|
+
var IE8_DOM_DEFINE2 = require_ie8DomDefine();
|
|
18284
|
+
var toPrimitive2 = _toPrimitive$1;
|
|
18285
|
+
var dP2 = Object.defineProperty;
|
|
18286
|
+
_objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty5(O2, P2, Attributes) {
|
|
18287
|
+
anObject2(O2);
|
|
18288
|
+
P2 = toPrimitive2(P2, true);
|
|
18289
|
+
anObject2(Attributes);
|
|
18290
|
+
if (IE8_DOM_DEFINE2)
|
|
18291
|
+
try {
|
|
18292
|
+
return dP2(O2, P2, Attributes);
|
|
18293
|
+
} catch (e2) {
|
|
18294
|
+
}
|
|
18295
|
+
if ("get" in Attributes || "set" in Attributes)
|
|
18296
|
+
throw TypeError("Accessors not supported!");
|
|
18297
|
+
if ("value" in Attributes)
|
|
18298
|
+
O2[P2] = Attributes.value;
|
|
18299
|
+
return O2;
|
|
18300
|
+
}, "defineProperty");
|
|
18301
|
+
return _objectDp;
|
|
18302
|
+
}
|
|
18303
|
+
__name(require_objectDp, "require_objectDp");
|
|
18278
18304
|
var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
18279
18305
|
return {
|
|
18280
18306
|
enumerable: !(bitmap & 1),
|
|
@@ -18283,9 +18309,9 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
|
18283
18309
|
value
|
|
18284
18310
|
};
|
|
18285
18311
|
}, "_propertyDesc");
|
|
18286
|
-
var dP$2 =
|
|
18312
|
+
var dP$2 = require_objectDp();
|
|
18287
18313
|
var createDesc$3 = _propertyDesc;
|
|
18288
|
-
var _hide =
|
|
18314
|
+
var _hide = require_descriptors() ? function(object3, key, value) {
|
|
18289
18315
|
return dP$2.f(object3, key, createDesc$3(1, value));
|
|
18290
18316
|
} : function(object3, key, value) {
|
|
18291
18317
|
object3[key] = value;
|
|
@@ -18357,25 +18383,16 @@ var toString$6 = {}.toString;
|
|
|
18357
18383
|
var _cof = /* @__PURE__ */ __name(function(it) {
|
|
18358
18384
|
return toString$6.call(it).slice(8, -1);
|
|
18359
18385
|
}, "_cof");
|
|
18360
|
-
var
|
|
18361
|
-
var
|
|
18362
|
-
|
|
18363
|
-
|
|
18364
|
-
return _iobject;
|
|
18365
|
-
hasRequired_iobject = 1;
|
|
18366
|
-
var cof2 = _cof;
|
|
18367
|
-
_iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
18368
|
-
return cof2(it) == "String" ? it.split("") : Object(it);
|
|
18369
|
-
};
|
|
18370
|
-
return _iobject;
|
|
18371
|
-
}
|
|
18372
|
-
__name(require_iobject, "require_iobject");
|
|
18386
|
+
var cof$2 = _cof;
|
|
18387
|
+
var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
18388
|
+
return cof$2(it) == "String" ? it.split("") : Object(it);
|
|
18389
|
+
};
|
|
18373
18390
|
var _defined = /* @__PURE__ */ __name(function(it) {
|
|
18374
18391
|
if (it == void 0)
|
|
18375
18392
|
throw TypeError("Can't call method on " + it);
|
|
18376
18393
|
return it;
|
|
18377
18394
|
}, "_defined");
|
|
18378
|
-
var IObject =
|
|
18395
|
+
var IObject = _iobject;
|
|
18379
18396
|
var defined$2 = _defined;
|
|
18380
18397
|
var _toIobject = /* @__PURE__ */ __name(function(it) {
|
|
18381
18398
|
return IObject(defined$2(it));
|
|
@@ -18464,23 +18481,15 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
|
|
|
18464
18481
|
return result;
|
|
18465
18482
|
}, "_objectKeysInternal");
|
|
18466
18483
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
18467
|
-
var $keys$
|
|
18484
|
+
var $keys$3 = _objectKeysInternal;
|
|
18468
18485
|
var enumBugKeys$1 = _enumBugKeys;
|
|
18469
18486
|
var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
|
|
18470
|
-
return $keys$
|
|
18487
|
+
return $keys$3(O2, enumBugKeys$1);
|
|
18471
18488
|
}, "keys");
|
|
18472
18489
|
var _objectGops = {};
|
|
18473
18490
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
18474
18491
|
var _objectPie = {};
|
|
18475
|
-
|
|
18476
|
-
function require_objectPie() {
|
|
18477
|
-
if (hasRequired_objectPie)
|
|
18478
|
-
return _objectPie;
|
|
18479
|
-
hasRequired_objectPie = 1;
|
|
18480
|
-
_objectPie.f = {}.propertyIsEnumerable;
|
|
18481
|
-
return _objectPie;
|
|
18482
|
-
}
|
|
18483
|
-
__name(require_objectPie, "require_objectPie");
|
|
18492
|
+
_objectPie.f = {}.propertyIsEnumerable;
|
|
18484
18493
|
var defined$1 = _defined;
|
|
18485
18494
|
var _toObject = /* @__PURE__ */ __name(function(it) {
|
|
18486
18495
|
return Object(defined$1(it));
|
|
@@ -18491,12 +18500,12 @@ function require_objectAssign() {
|
|
|
18491
18500
|
if (hasRequired_objectAssign)
|
|
18492
18501
|
return _objectAssign;
|
|
18493
18502
|
hasRequired_objectAssign = 1;
|
|
18494
|
-
var DESCRIPTORS2 =
|
|
18503
|
+
var DESCRIPTORS2 = require_descriptors();
|
|
18495
18504
|
var getKeys2 = _objectKeys;
|
|
18496
18505
|
var gOPS2 = _objectGops;
|
|
18497
|
-
var pIE2 =
|
|
18506
|
+
var pIE2 = _objectPie;
|
|
18498
18507
|
var toObject2 = _toObject;
|
|
18499
|
-
var IObject2 =
|
|
18508
|
+
var IObject2 = _iobject;
|
|
18500
18509
|
var $assign = Object.assign;
|
|
18501
18510
|
_objectAssign = !$assign || _fails(function() {
|
|
18502
18511
|
var A2 = {};
|
|
@@ -18557,10 +18566,10 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
|
|
|
18557
18566
|
}, "_iterStep");
|
|
18558
18567
|
var _iterators = {};
|
|
18559
18568
|
var _redefine = _hide;
|
|
18560
|
-
var dP$1 =
|
|
18569
|
+
var dP$1 = require_objectDp();
|
|
18561
18570
|
var anObject$4 = _anObject;
|
|
18562
18571
|
var getKeys$1 = _objectKeys;
|
|
18563
|
-
var _objectDps =
|
|
18572
|
+
var _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties(O2, Properties2) {
|
|
18564
18573
|
anObject$4(O2);
|
|
18565
18574
|
var keys5 = getKeys$1(Properties2);
|
|
18566
18575
|
var length = keys5.length;
|
|
@@ -18627,7 +18636,7 @@ var $exports = _wks.exports = function(name2) {
|
|
|
18627
18636
|
};
|
|
18628
18637
|
$exports.store = store$2;
|
|
18629
18638
|
var _wksExports = _wks.exports;
|
|
18630
|
-
var def =
|
|
18639
|
+
var def = require_objectDp().f;
|
|
18631
18640
|
var has$c = _has;
|
|
18632
18641
|
var TAG$1 = _wksExports("toStringTag");
|
|
18633
18642
|
var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
@@ -18900,7 +18909,7 @@ var ArrayProto = Array.prototype;
|
|
|
18900
18909
|
var _isArrayIter = /* @__PURE__ */ __name(function(it) {
|
|
18901
18910
|
return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
18902
18911
|
}, "_isArrayIter");
|
|
18903
|
-
var $defineProperty$2 =
|
|
18912
|
+
var $defineProperty$2 = require_objectDp();
|
|
18904
18913
|
var createDesc$2 = _propertyDesc;
|
|
18905
18914
|
var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
|
|
18906
18915
|
if (index2 in object3)
|
|
@@ -19029,9 +19038,9 @@ var _default$8 = /* @__PURE__ */ __name(function(instance, Constructor) {
|
|
|
19029
19038
|
}
|
|
19030
19039
|
}, "_default$8");
|
|
19031
19040
|
var $export$3 = _export;
|
|
19032
|
-
$export$3($export$3.S + $export$3.F * !
|
|
19041
|
+
$export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
|
|
19033
19042
|
var $Object$2 = _coreExports.Object;
|
|
19034
|
-
var defineProperty$c = /* @__PURE__ */ __name(function
|
|
19043
|
+
var defineProperty$c = /* @__PURE__ */ __name(function defineProperty2(it, key, desc) {
|
|
19035
19044
|
return $Object$2.defineProperty(it, key, desc);
|
|
19036
19045
|
}, "defineProperty");
|
|
19037
19046
|
var defineProperty$b = { "default": defineProperty$c, __esModule: true };
|
|
@@ -19070,7 +19079,7 @@ var _meta = { exports: {} };
|
|
|
19070
19079
|
var META$1 = _uid("meta");
|
|
19071
19080
|
var isObject$c = _isObject;
|
|
19072
19081
|
var has$a = _has;
|
|
19073
|
-
var setDesc =
|
|
19082
|
+
var setDesc = require_objectDp().f;
|
|
19074
19083
|
var id$1 = 0;
|
|
19075
19084
|
var isExtensible = Object.isExtensible || function() {
|
|
19076
19085
|
return true;
|
|
@@ -19123,7 +19132,7 @@ var meta = _meta.exports = {
|
|
|
19123
19132
|
var _metaExports = _meta.exports;
|
|
19124
19133
|
var core = _coreExports;
|
|
19125
19134
|
var wksExt$1 = _wksExt;
|
|
19126
|
-
var defineProperty$a =
|
|
19135
|
+
var defineProperty$a = require_objectDp().f;
|
|
19127
19136
|
var _wksDefine = /* @__PURE__ */ __name(function(name2) {
|
|
19128
19137
|
var $Symbol2 = core.Symbol || (core.Symbol = {});
|
|
19129
19138
|
if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
|
|
@@ -19131,7 +19140,7 @@ var _wksDefine = /* @__PURE__ */ __name(function(name2) {
|
|
|
19131
19140
|
}, "_wksDefine");
|
|
19132
19141
|
var getKeys = _objectKeys;
|
|
19133
19142
|
var gOPS$1 = _objectGops;
|
|
19134
|
-
var pIE$1 =
|
|
19143
|
+
var pIE$1 = _objectPie;
|
|
19135
19144
|
var _enumKeys = /* @__PURE__ */ __name(function(it) {
|
|
19136
19145
|
var result = getKeys(it);
|
|
19137
19146
|
var getSymbols2 = gOPS$1.f;
|
|
@@ -19152,21 +19161,13 @@ var _isArray = Array.isArray || /* @__PURE__ */ __name(function isArray(arg) {
|
|
|
19152
19161
|
}, "isArray");
|
|
19153
19162
|
var _objectGopnExt = {};
|
|
19154
19163
|
var _objectGopn = {};
|
|
19155
|
-
var
|
|
19156
|
-
|
|
19157
|
-
|
|
19158
|
-
|
|
19159
|
-
|
|
19160
|
-
var $keys2 = _objectKeysInternal;
|
|
19161
|
-
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
19162
|
-
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames4(O2) {
|
|
19163
|
-
return $keys2(O2, hiddenKeys);
|
|
19164
|
-
}, "getOwnPropertyNames");
|
|
19165
|
-
return _objectGopn;
|
|
19166
|
-
}
|
|
19167
|
-
__name(require_objectGopn, "require_objectGopn");
|
|
19164
|
+
var $keys$2 = _objectKeysInternal;
|
|
19165
|
+
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
19166
|
+
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames(O2) {
|
|
19167
|
+
return $keys$2(O2, hiddenKeys);
|
|
19168
|
+
}, "getOwnPropertyNames");
|
|
19168
19169
|
var toIObject$2 = _toIobject;
|
|
19169
|
-
var gOPN$1 =
|
|
19170
|
+
var gOPN$1 = _objectGopn.f;
|
|
19170
19171
|
var toString$5 = {}.toString;
|
|
19171
19172
|
var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
19172
19173
|
var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
@@ -19176,18 +19177,18 @@ var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
|
19176
19177
|
return windowNames.slice();
|
|
19177
19178
|
}
|
|
19178
19179
|
}, "getWindowNames");
|
|
19179
|
-
_objectGopnExt.f = /* @__PURE__ */ __name(function
|
|
19180
|
+
_objectGopnExt.f = /* @__PURE__ */ __name(function getOwnPropertyNames2(it) {
|
|
19180
19181
|
return windowNames && toString$5.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
|
|
19181
19182
|
}, "getOwnPropertyNames");
|
|
19182
19183
|
var _objectGopd = {};
|
|
19183
|
-
var pIE =
|
|
19184
|
+
var pIE = _objectPie;
|
|
19184
19185
|
var createDesc$1 = _propertyDesc;
|
|
19185
19186
|
var toIObject$1 = _toIobject;
|
|
19186
19187
|
var toPrimitive$1 = _toPrimitive$1;
|
|
19187
19188
|
var has$9 = _has;
|
|
19188
|
-
var IE8_DOM_DEFINE =
|
|
19189
|
+
var IE8_DOM_DEFINE = require_ie8DomDefine();
|
|
19189
19190
|
var gOPD$5 = Object.getOwnPropertyDescriptor;
|
|
19190
|
-
_objectGopd.f =
|
|
19191
|
+
_objectGopd.f = require_descriptors() ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
|
|
19191
19192
|
O2 = toIObject$1(O2);
|
|
19192
19193
|
P2 = toPrimitive$1(P2, true);
|
|
19193
19194
|
if (IE8_DOM_DEFINE)
|
|
@@ -19200,7 +19201,7 @@ _objectGopd.f = _descriptors ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPr
|
|
|
19200
19201
|
}, "getOwnPropertyDescriptor");
|
|
19201
19202
|
var global$2 = _globalExports;
|
|
19202
19203
|
var has$8 = _has;
|
|
19203
|
-
var DESCRIPTORS =
|
|
19204
|
+
var DESCRIPTORS = require_descriptors();
|
|
19204
19205
|
var $export$2 = _export;
|
|
19205
19206
|
var redefine = _redefine;
|
|
19206
19207
|
var META = _metaExports.KEY;
|
|
@@ -19223,7 +19224,7 @@ var _create$1 = _objectCreate;
|
|
|
19223
19224
|
var gOPNExt = _objectGopnExt;
|
|
19224
19225
|
var $GOPD = _objectGopd;
|
|
19225
19226
|
var $GOPS = _objectGops;
|
|
19226
|
-
var $DP =
|
|
19227
|
+
var $DP = require_objectDp();
|
|
19227
19228
|
var $keys$1 = _objectKeys;
|
|
19228
19229
|
var gOPD$4 = $GOPD.f;
|
|
19229
19230
|
var dP = $DP.f;
|
|
@@ -19266,7 +19267,7 @@ var isSymbol$8 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
|
|
|
19266
19267
|
} : function(it) {
|
|
19267
19268
|
return it instanceof $Symbol;
|
|
19268
19269
|
};
|
|
19269
|
-
var $defineProperty$1 = /* @__PURE__ */ __name(function
|
|
19270
|
+
var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
|
|
19270
19271
|
if (it === ObjectProto)
|
|
19271
19272
|
$defineProperty$1(OPSymbols, key, D2);
|
|
19272
19273
|
anObject(it);
|
|
@@ -19315,7 +19316,7 @@ var $getOwnPropertyDescriptor = /* @__PURE__ */ __name(function getOwnPropertyDe
|
|
|
19315
19316
|
D2.enumerable = true;
|
|
19316
19317
|
return D2;
|
|
19317
19318
|
}, "getOwnPropertyDescriptor");
|
|
19318
|
-
var $getOwnPropertyNames = /* @__PURE__ */ __name(function
|
|
19319
|
+
var $getOwnPropertyNames = /* @__PURE__ */ __name(function getOwnPropertyNames3(it) {
|
|
19319
19320
|
var names2 = gOPN(toIObject(it));
|
|
19320
19321
|
var result = [];
|
|
19321
19322
|
var i = 0;
|
|
@@ -19359,8 +19360,8 @@ if (!USE_NATIVE) {
|
|
|
19359
19360
|
}, "toString"));
|
|
19360
19361
|
$GOPD.f = $getOwnPropertyDescriptor;
|
|
19361
19362
|
$DP.f = $defineProperty$1;
|
|
19362
|
-
|
|
19363
|
-
|
|
19363
|
+
_objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
|
|
19364
|
+
_objectPie.f = $propertyIsEnumerable;
|
|
19364
19365
|
$GOPS.f = $getOwnPropertySymbols;
|
|
19365
19366
|
if (DESCRIPTORS && !_library) {
|
|
19366
19367
|
redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable);
|
|
@@ -39999,6 +40000,13 @@ const popoverOverflowModifiers = {
|
|
|
39999
40000
|
const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
40000
40001
|
constructor(props) {
|
|
40001
40002
|
super(props);
|
|
40003
|
+
__publicField(this, "setOpenState", /* @__PURE__ */ __name((isOpen) => {
|
|
40004
|
+
const { handleOpenChange } = this.props;
|
|
40005
|
+
if (handleOpenChange) {
|
|
40006
|
+
handleOpenChange(isOpen);
|
|
40007
|
+
}
|
|
40008
|
+
this.setState({ isOpen });
|
|
40009
|
+
}, "setOpenState"));
|
|
40002
40010
|
__publicField(this, "itemRenderer", /* @__PURE__ */ __name((i, { index: index2, handleClick, modifiers: modifiers2 }) => {
|
|
40003
40011
|
const optionRenderer = this.getOptionRenderer();
|
|
40004
40012
|
const onClick = i.onClick || handleClick;
|
|
@@ -40031,7 +40039,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
40031
40039
|
if (multi) {
|
|
40032
40040
|
let valArray = getValueArray(value);
|
|
40033
40041
|
if (closeOnSelect || item.closeOnSelect) {
|
|
40034
|
-
this.
|
|
40042
|
+
this.setOpenState(false);
|
|
40035
40043
|
this.input && this.input.blur();
|
|
40036
40044
|
}
|
|
40037
40045
|
if (isTagSelect && item.value && item.value.includes && item.value.includes(":")) {
|
|
@@ -40048,7 +40056,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
40048
40056
|
}
|
|
40049
40057
|
return onChange([...valArray, item]);
|
|
40050
40058
|
} else {
|
|
40051
|
-
this.
|
|
40059
|
+
this.setOpenState(false);
|
|
40052
40060
|
this.input && this.input.blur();
|
|
40053
40061
|
return onChange(item);
|
|
40054
40062
|
}
|
|
@@ -40061,7 +40069,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
40061
40069
|
);
|
|
40062
40070
|
e2.stopPropagation();
|
|
40063
40071
|
onChange(filteredVals);
|
|
40064
|
-
this.
|
|
40072
|
+
this.setOpenState(false);
|
|
40065
40073
|
this.input.focus();
|
|
40066
40074
|
}, "handleTagRemove"));
|
|
40067
40075
|
__publicField(this, "handleTagInputRemove", /* @__PURE__ */ __name((val2, index2) => {
|
|
@@ -40082,7 +40090,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
40082
40090
|
const { onChange } = this.props;
|
|
40083
40091
|
this.setState({ query: "" });
|
|
40084
40092
|
onChange(newValue);
|
|
40085
|
-
this.
|
|
40093
|
+
this.setOpenState(false);
|
|
40086
40094
|
this.input.focus();
|
|
40087
40095
|
}, "handleClear"));
|
|
40088
40096
|
__publicField(this, "itemListPredicate", /* @__PURE__ */ __name((queryString2, item) => {
|
|
@@ -40105,9 +40113,12 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
40105
40113
|
}, "handleActiveItemChange"));
|
|
40106
40114
|
__publicField(this, "onInteraction", /* @__PURE__ */ __name(() => {
|
|
40107
40115
|
if (this.input != null && this.input !== document.activeElement) {
|
|
40108
|
-
this.
|
|
40116
|
+
this.setOpenState(false);
|
|
40117
|
+
this.setState({
|
|
40118
|
+
query: ""
|
|
40119
|
+
});
|
|
40109
40120
|
} else if (!this.props.openOnKeyDown) {
|
|
40110
|
-
this.
|
|
40121
|
+
this.setOpenState(true);
|
|
40111
40122
|
}
|
|
40112
40123
|
}, "onInteraction"));
|
|
40113
40124
|
__publicField(this, "queryHasExactOptionMatch", /* @__PURE__ */ __name(() => {
|
|
@@ -40216,7 +40227,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
40216
40227
|
onClick: (e2) => {
|
|
40217
40228
|
if (this.state.isOpen) {
|
|
40218
40229
|
e2.stopPropagation();
|
|
40219
|
-
this.
|
|
40230
|
+
this.setOpenState(false);
|
|
40220
40231
|
}
|
|
40221
40232
|
},
|
|
40222
40233
|
disabled,
|
|
@@ -40289,11 +40300,11 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
40289
40300
|
if (this.input != null) {
|
|
40290
40301
|
this.input.blur();
|
|
40291
40302
|
}
|
|
40292
|
-
this.
|
|
40303
|
+
this.setOpenState(false);
|
|
40293
40304
|
e2.preventDefault();
|
|
40294
40305
|
e2.stopPropagation();
|
|
40295
40306
|
} else if (!(which === Keys.BACKSPACE || which === Keys.ARROW_LEFT || which === Keys.ARROW_RIGHT)) {
|
|
40296
|
-
this.
|
|
40307
|
+
this.setOpenState(true);
|
|
40297
40308
|
}
|
|
40298
40309
|
},
|
|
40299
40310
|
inputProps: __spreadValues({
|
|
@@ -55175,7 +55186,7 @@ var KNOWN_STATICS = {
|
|
|
55175
55186
|
arity: true
|
|
55176
55187
|
};
|
|
55177
55188
|
var defineProperty$3 = Object.defineProperty;
|
|
55178
|
-
var
|
|
55189
|
+
var getOwnPropertyNames4 = Object.getOwnPropertyNames;
|
|
55179
55190
|
var getOwnPropertySymbols3 = Object.getOwnPropertySymbols;
|
|
55180
55191
|
var getOwnPropertyDescriptor3 = Object.getOwnPropertyDescriptor;
|
|
55181
55192
|
var getPrototypeOf = Object.getPrototypeOf;
|
|
@@ -55188,7 +55199,7 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
|
55188
55199
|
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
55189
55200
|
}
|
|
55190
55201
|
}
|
|
55191
|
-
var keys5 =
|
|
55202
|
+
var keys5 = getOwnPropertyNames4(sourceComponent);
|
|
55192
55203
|
if (getOwnPropertySymbols3) {
|
|
55193
55204
|
keys5 = keys5.concat(getOwnPropertySymbols3(sourceComponent));
|
|
55194
55205
|
}
|
|
@@ -56417,13 +56428,24 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
56417
56428
|
}, 0);
|
|
56418
56429
|
}
|
|
56419
56430
|
}, "updateFromProps"));
|
|
56420
|
-
__publicField(this, "formatAndValidateEntities", /* @__PURE__ */ __name((entities) => {
|
|
56431
|
+
__publicField(this, "formatAndValidateEntities", /* @__PURE__ */ __name((entities, { useDefaultValues, indexToStartAt } = {}) => {
|
|
56421
56432
|
const { schema: schema2 } = this.props;
|
|
56422
56433
|
const editableFields = schema2.fields.filter((f2) => !f2.isNotEditable);
|
|
56423
56434
|
const validationErrors = {};
|
|
56424
56435
|
const newEnts = immer(entities, (entities2) => {
|
|
56425
56436
|
entities2.forEach((e2, index2) => {
|
|
56426
56437
|
editableFields.forEach((columnSchema) => {
|
|
56438
|
+
if (useDefaultValues) {
|
|
56439
|
+
if (e2[columnSchema.path] === void 0) {
|
|
56440
|
+
if (lodashExports.isFunction(columnSchema.defaultValue)) {
|
|
56441
|
+
e2[columnSchema.path] = columnSchema.defaultValue(
|
|
56442
|
+
index2 + indexToStartAt,
|
|
56443
|
+
e2
|
|
56444
|
+
);
|
|
56445
|
+
} else
|
|
56446
|
+
e2[columnSchema.path] = columnSchema.defaultValue;
|
|
56447
|
+
}
|
|
56448
|
+
}
|
|
56427
56449
|
const { error } = editCellHelper({
|
|
56428
56450
|
entity: e2,
|
|
56429
56451
|
columnSchema,
|
|
@@ -56747,8 +56769,9 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
56747
56769
|
}, "handleCut"));
|
|
56748
56770
|
__publicField(this, "getCellCopyText", /* @__PURE__ */ __name((cellWrapper) => {
|
|
56749
56771
|
const text2 = cellWrapper && cellWrapper.getAttribute("data-copy-text");
|
|
56772
|
+
const jsonText = cellWrapper && cellWrapper.getAttribute("data-copy-json");
|
|
56750
56773
|
const toRet = text2 || cellWrapper.textContent || "";
|
|
56751
|
-
return toRet;
|
|
56774
|
+
return [toRet, jsonText];
|
|
56752
56775
|
}, "getCellCopyText"));
|
|
56753
56776
|
__publicField(this, "handleCopyRow", /* @__PURE__ */ __name((rowEl) => {
|
|
56754
56777
|
const text2 = this.getRowCopyText(rowEl);
|
|
@@ -56756,13 +56779,26 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
56756
56779
|
return window.toastr.warning("No text to copy");
|
|
56757
56780
|
this.handleCopyHelper(text2, "Row Copied");
|
|
56758
56781
|
}, "handleCopyRow"));
|
|
56759
|
-
__publicField(this, "handleCopyColumn", /* @__PURE__ */ __name((e2, cellWrapper) => {
|
|
56782
|
+
__publicField(this, "handleCopyColumn", /* @__PURE__ */ __name((e2, cellWrapper, selectedRecords) => {
|
|
56760
56783
|
const cellType = cellWrapper.getAttribute("data-test");
|
|
56761
|
-
|
|
56762
|
-
if (!
|
|
56784
|
+
let rowElsToCopy = getAllRows(e2);
|
|
56785
|
+
if (!rowElsToCopy)
|
|
56786
|
+
return;
|
|
56787
|
+
if (selectedRecords) {
|
|
56788
|
+
const ids = selectedRecords.map((e22) => {
|
|
56789
|
+
var _a2;
|
|
56790
|
+
return (_a2 = getIdOrCodeOrIndex(e22)) == null ? void 0 : _a2.toString();
|
|
56791
|
+
});
|
|
56792
|
+
rowElsToCopy = Array.from(rowElsToCopy).filter((rowEl) => {
|
|
56793
|
+
var _a2;
|
|
56794
|
+
const id2 = (_a2 = rowEl.closest(".rt-tr-group")) == null ? void 0 : _a2.getAttribute("data-test-id");
|
|
56795
|
+
return id2 !== void 0 && ids.includes(id2);
|
|
56796
|
+
});
|
|
56797
|
+
}
|
|
56798
|
+
if (!rowElsToCopy)
|
|
56763
56799
|
return;
|
|
56764
56800
|
const textToCopy = lodashExports.map(
|
|
56765
|
-
|
|
56801
|
+
rowElsToCopy,
|
|
56766
56802
|
(rowEl) => this.getRowCopyText(rowEl, { cellType })
|
|
56767
56803
|
).filter((text2) => text2).join("\n");
|
|
56768
56804
|
if (!textToCopy)
|
|
@@ -56803,9 +56839,10 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
56803
56839
|
return this.getCellCopyText(cellChild);
|
|
56804
56840
|
}).join(" ");
|
|
56805
56841
|
}, "getRowCopyText"));
|
|
56806
|
-
__publicField(this, "handleCopyHelper", /* @__PURE__ */ __name((stringToCopy, message) => {
|
|
56842
|
+
__publicField(this, "handleCopyHelper", /* @__PURE__ */ __name((stringToCopy, objToCopy, message) => {
|
|
56807
56843
|
const copyHandler = /* @__PURE__ */ __name((e2) => {
|
|
56808
56844
|
e2.preventDefault();
|
|
56845
|
+
e2.clipboardData.setData("application/json", JSON.stringify(objToCopy));
|
|
56809
56846
|
e2.clipboardData.setData("text/plain", stringToCopy);
|
|
56810
56847
|
}, "copyHandler");
|
|
56811
56848
|
document.addEventListener("copy", copyHandler);
|
|
@@ -57667,6 +57704,22 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
57667
57704
|
noEllipsis = true;
|
|
57668
57705
|
} else {
|
|
57669
57706
|
if (reduxFormEditingCell === cellId) {
|
|
57707
|
+
if (column.type === "genericSelect") {
|
|
57708
|
+
const GenericSelectComp = column.GenericSelectComp;
|
|
57709
|
+
return /* @__PURE__ */ React__default$1.createElement(
|
|
57710
|
+
GenericSelectComp,
|
|
57711
|
+
__spreadProps(__spreadValues({
|
|
57712
|
+
rowId,
|
|
57713
|
+
initialValue: text2
|
|
57714
|
+
}, dataTest), {
|
|
57715
|
+
finishEdit: (newVal2, doNotStopEditing) => {
|
|
57716
|
+
this.finishCellEdit(cellId, newVal2, doNotStopEditing);
|
|
57717
|
+
},
|
|
57718
|
+
dataTest,
|
|
57719
|
+
cancelEdit: this.cancelCellEdit
|
|
57720
|
+
})
|
|
57721
|
+
);
|
|
57722
|
+
}
|
|
57670
57723
|
if (column.type === "dropdown" || column.type === "dropdownMulti") {
|
|
57671
57724
|
return /* @__PURE__ */ React__default$1.createElement(
|
|
57672
57725
|
DropdownCell,
|
|
@@ -57727,7 +57780,7 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
57727
57780
|
title: title || void 0
|
|
57728
57781
|
}),
|
|
57729
57782
|
val2
|
|
57730
|
-
), isCellEditable && (column.type === "dropdown" || column.type === "dropdownMulti") && /* @__PURE__ */ React__default$1.createElement(
|
|
57783
|
+
), isCellEditable && (column.type === "dropdown" || column.type === "dropdownMulti" || column.type === "genericSelect") && /* @__PURE__ */ React__default$1.createElement(
|
|
57731
57784
|
Icon,
|
|
57732
57785
|
{
|
|
57733
57786
|
icon: "caret-down",
|
|
@@ -57870,7 +57923,7 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
57870
57923
|
const cellNumStr2 = getNumberStrAtEnd(cellVal);
|
|
57871
57924
|
const cellNum2 = Number(cellNumStr2);
|
|
57872
57925
|
const cellTextNoNum = stripNumberAtEnd(cellVal);
|
|
57873
|
-
if (cellNumStr2.startsWith("0")) {
|
|
57926
|
+
if (cellNumStr2 == null ? void 0 : cellNumStr2.startsWith("0")) {
|
|
57874
57927
|
maybePad = cellNumStr2.length;
|
|
57875
57928
|
}
|
|
57876
57929
|
if (cellTextNoNum && !prefix2) {
|
|
@@ -58017,16 +58070,19 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
58017
58070
|
return getIdOrCodeOrIndex(e2, i) === rowId;
|
|
58018
58071
|
});
|
|
58019
58072
|
const insertIndex = above ? indexToInsert : indexToInsert + 1;
|
|
58020
|
-
|
|
58073
|
+
const insertIndexToUse = appendToBottom ? entities2.length : insertIndex;
|
|
58074
|
+
let { newEnts, validationErrors } = this.formatAndValidateEntities(
|
|
58075
|
+
newEntities,
|
|
58076
|
+
{
|
|
58077
|
+
useDefaultValues: true,
|
|
58078
|
+
indexToStartAt: insertIndexToUse
|
|
58079
|
+
}
|
|
58080
|
+
);
|
|
58021
58081
|
newEnts = newEnts.map((e2) => __spreadProps(__spreadValues({}, e2), {
|
|
58022
58082
|
_isClean: true
|
|
58023
58083
|
}));
|
|
58024
58084
|
this.updateValidation(entities2, __spreadValues(__spreadValues({}, reduxFormCellValidation), validationErrors));
|
|
58025
|
-
entities2.splice(
|
|
58026
|
-
appendToBottom ? entities2.length : insertIndex,
|
|
58027
|
-
0,
|
|
58028
|
-
...newEnts
|
|
58029
|
-
);
|
|
58085
|
+
entities2.splice(insertIndexToUse, 0, ...newEnts);
|
|
58030
58086
|
});
|
|
58031
58087
|
this.refocusTable();
|
|
58032
58088
|
}, "insertRows"));
|
|
@@ -58067,8 +58123,8 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
58067
58123
|
{
|
|
58068
58124
|
key: "copyCell",
|
|
58069
58125
|
onClick: () => {
|
|
58070
|
-
const text2 = this.getCellCopyText(cellWrapper);
|
|
58071
|
-
this.handleCopyHelper(text2, "Cell copied");
|
|
58126
|
+
const [text2, jsonText] = this.getCellCopyText(cellWrapper);
|
|
58127
|
+
this.handleCopyHelper(text2, jsonText, "Cell copied");
|
|
58072
58128
|
},
|
|
58073
58129
|
text: "Cell"
|
|
58074
58130
|
}
|
|
@@ -58086,6 +58142,20 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
58086
58142
|
}
|
|
58087
58143
|
)
|
|
58088
58144
|
);
|
|
58145
|
+
if (selectedRecords.length > 1) {
|
|
58146
|
+
copyMenuItems.push(
|
|
58147
|
+
/* @__PURE__ */ React__default$1.createElement(
|
|
58148
|
+
MenuItem,
|
|
58149
|
+
{
|
|
58150
|
+
key: "copyColumnSelected",
|
|
58151
|
+
onClick: () => {
|
|
58152
|
+
this.handleCopyColumn(e2, cellWrapper, selectedRecords);
|
|
58153
|
+
},
|
|
58154
|
+
text: "Column (Selected)"
|
|
58155
|
+
}
|
|
58156
|
+
)
|
|
58157
|
+
);
|
|
58158
|
+
}
|
|
58089
58159
|
}
|
|
58090
58160
|
if (selectedRecords.length === 0 || selectedRecords.length === 1) {
|
|
58091
58161
|
const cell = e2.target.querySelector(".tg-cell-wrapper") || e2.target.closest(".tg-cell-wrapper") || e2.target.closest(".rt-td");
|
|
@@ -59339,7 +59409,8 @@ function getNumberStrAtEnd(str) {
|
|
|
59339
59409
|
}
|
|
59340
59410
|
__name(getNumberStrAtEnd, "getNumberStrAtEnd");
|
|
59341
59411
|
function stripNumberAtEnd(str) {
|
|
59342
|
-
|
|
59412
|
+
var _a2;
|
|
59413
|
+
return (_a2 = str == null ? void 0 : str.replace) == null ? void 0 : _a2.call(str, getNumberStrAtEnd(str), "");
|
|
59343
59414
|
}
|
|
59344
59415
|
__name(stripNumberAtEnd, "stripNumberAtEnd");
|
|
59345
59416
|
function isEntityClean(e2) {
|
|
@@ -61715,7 +61786,7 @@ const PreviewCsvData = observer(function(props) {
|
|
|
61715
61786
|
} = props;
|
|
61716
61787
|
const rerenderKey = useRef(0);
|
|
61717
61788
|
rerenderKey.current = rerenderKey.current + 1;
|
|
61718
|
-
const data = userSchema.userData && userSchema.userData.length && userSchema.userData.map((row) => {
|
|
61789
|
+
const data = userSchema.userData && userSchema.userData.length && userSchema.userData.map((row, i) => {
|
|
61719
61790
|
const toRet = {
|
|
61720
61791
|
_isClean: row._isClean
|
|
61721
61792
|
};
|
|
@@ -61728,7 +61799,10 @@ const PreviewCsvData = observer(function(props) {
|
|
|
61728
61799
|
}
|
|
61729
61800
|
if (toRet[path2] === void 0 || toRet[path2] === "") {
|
|
61730
61801
|
if (defaultValue2) {
|
|
61731
|
-
|
|
61802
|
+
if (lodashExports.isFunction(defaultValue2)) {
|
|
61803
|
+
toRet[path2] = defaultValue2(i, row);
|
|
61804
|
+
} else
|
|
61805
|
+
toRet[path2] = defaultValue2;
|
|
61732
61806
|
} else {
|
|
61733
61807
|
toRet[path2] = "";
|
|
61734
61808
|
}
|
|
@@ -71488,6 +71562,7 @@ function UploaderInner({
|
|
|
71488
71562
|
overflowList,
|
|
71489
71563
|
autoUnzip,
|
|
71490
71564
|
disabled,
|
|
71565
|
+
noBuildCsvOption,
|
|
71491
71566
|
initializeForm,
|
|
71492
71567
|
showFilesCount,
|
|
71493
71568
|
threeDotMenuItems,
|
|
@@ -71666,12 +71741,14 @@ function UploaderInner({
|
|
|
71666
71741
|
subtext: "Includes Upload Instructions and Column Info",
|
|
71667
71742
|
exampleFile: handleDownloadXlsxFile
|
|
71668
71743
|
},
|
|
71669
|
-
|
|
71670
|
-
|
|
71671
|
-
|
|
71672
|
-
|
|
71673
|
-
|
|
71674
|
-
|
|
71744
|
+
...noBuildCsvOption ? [] : [
|
|
71745
|
+
{
|
|
71746
|
+
description: manualEnterMessage,
|
|
71747
|
+
subtext: manualEnterSubMessage,
|
|
71748
|
+
icon: "manually-entered-data",
|
|
71749
|
+
exampleFile: handleManuallyEnterData
|
|
71750
|
+
}
|
|
71751
|
+
]
|
|
71675
71752
|
];
|
|
71676
71753
|
delete a2.exampleFile;
|
|
71677
71754
|
}
|
|
@@ -72120,7 +72197,7 @@ function UploaderInner({
|
|
|
72120
72197
|
},
|
|
72121
72198
|
innerIcon || /* @__PURE__ */ React__default$1.createElement(Icon, { icon: "upload", iconSize: minimal ? 15 : 30 }),
|
|
72122
72199
|
innerText || (minimal ? "Upload" : "Click or drag to upload"),
|
|
72123
|
-
validateAgainstSchema && /* @__PURE__ */ React__default$1.createElement(
|
|
72200
|
+
validateAgainstSchema && !noBuildCsvOption && /* @__PURE__ */ React__default$1.createElement(
|
|
72124
72201
|
"div",
|
|
72125
72202
|
{
|
|
72126
72203
|
style: {
|
|
@@ -77892,7 +77969,7 @@ const minimumOrfSize$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
77892
77969
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
77893
77970
|
const protein_letters = "ACDEFGHIKLMNPQRSTVWY";
|
|
77894
77971
|
const protein_letters_withUandX = "ACDEFGHIKLMNPQRSTVWYUX";
|
|
77895
|
-
const extended_protein_letters = "ACDEFGHIKLMNPQRSTVWYBXZJUO
|
|
77972
|
+
const extended_protein_letters = "ACDEFGHIKLMNPQRSTVWYBXZJUO";
|
|
77896
77973
|
const ambiguous_dna_letters = "GATCRYWSMKHBVDN";
|
|
77897
77974
|
const unambiguous_dna_letters = "GATC";
|
|
77898
77975
|
const ambiguous_rna_letters = "GAUCRYWSMKHBVDN";
|
|
@@ -77948,7 +78025,7 @@ const extended_protein_values = {
|
|
|
77948
78025
|
Y: "Y",
|
|
77949
78026
|
Z: "QE",
|
|
77950
78027
|
"*": "\\*\\.",
|
|
77951
|
-
".": "
|
|
78028
|
+
".": "\\.",
|
|
77952
78029
|
"-": "\\-"
|
|
77953
78030
|
};
|
|
77954
78031
|
const bioData = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -84055,9 +84132,12 @@ function getReplaceChars({
|
|
|
84055
84132
|
isRna: isRna2,
|
|
84056
84133
|
isMixedRnaAndDna
|
|
84057
84134
|
} = {}) {
|
|
84058
|
-
return isProtein2 ? {} :
|
|
84059
|
-
//
|
|
84060
|
-
{}
|
|
84135
|
+
return isProtein2 ? {} : (
|
|
84136
|
+
// {".": "*"}
|
|
84137
|
+
isOligo2 ? {} : isRna2 ? { t: "u" } : isMixedRnaAndDna ? {} : (
|
|
84138
|
+
//just plain old dna
|
|
84139
|
+
{}
|
|
84140
|
+
)
|
|
84061
84141
|
);
|
|
84062
84142
|
}
|
|
84063
84143
|
__name(getReplaceChars, "getReplaceChars");
|
|
@@ -125765,7 +125845,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
125765
125845
|
}
|
|
125766
125846
|
__name(showFileDialog, "showFileDialog");
|
|
125767
125847
|
const name = "@teselagen/ove";
|
|
125768
|
-
const version = "0.3.
|
|
125848
|
+
const version = "0.3.49";
|
|
125769
125849
|
const main = "./src/index.js";
|
|
125770
125850
|
const exports$1 = {
|
|
125771
125851
|
".": {
|
|
@@ -128092,7 +128172,7 @@ var createClass = function() {
|
|
|
128092
128172
|
return Constructor;
|
|
128093
128173
|
};
|
|
128094
128174
|
}();
|
|
128095
|
-
var
|
|
128175
|
+
var defineProperty4 = /* @__PURE__ */ __name(function(obj, key, value) {
|
|
128096
128176
|
if (key in obj) {
|
|
128097
128177
|
Object.defineProperty(obj, key, {
|
|
128098
128178
|
value,
|
|
@@ -128703,7 +128783,7 @@ function arrow(data, options) {
|
|
|
128703
128783
|
var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
|
|
128704
128784
|
sideValue = Math.max(Math.min(popper2[len] - arrowElementSize, sideValue), 0);
|
|
128705
128785
|
data.arrowElement = arrowElement;
|
|
128706
|
-
data.offsets.arrow = (_data$offsets$arrow = {},
|
|
128786
|
+
data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty4(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty4(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
|
|
128707
128787
|
return data;
|
|
128708
128788
|
}
|
|
128709
128789
|
__name(arrow, "arrow");
|
|
@@ -128934,7 +129014,7 @@ function preventOverflow(data, options) {
|
|
|
128934
129014
|
if (popper2[placement] < boundaries[placement] && !options.escapeWithReference) {
|
|
128935
129015
|
value = Math.max(popper2[placement], boundaries[placement]);
|
|
128936
129016
|
}
|
|
128937
|
-
return
|
|
129017
|
+
return defineProperty4({}, placement, value);
|
|
128938
129018
|
}, "primary"),
|
|
128939
129019
|
secondary: /* @__PURE__ */ __name(function secondary(placement) {
|
|
128940
129020
|
var mainSide = placement === "right" ? "left" : "top";
|
|
@@ -128942,7 +129022,7 @@ function preventOverflow(data, options) {
|
|
|
128942
129022
|
if (popper2[placement] > boundaries[placement] && !options.escapeWithReference) {
|
|
128943
129023
|
value = Math.min(popper2[mainSide], boundaries[placement] - (placement === "right" ? popper2.width : popper2.height));
|
|
128944
129024
|
}
|
|
128945
|
-
return
|
|
129025
|
+
return defineProperty4({}, mainSide, value);
|
|
128946
129026
|
}, "secondary")
|
|
128947
129027
|
};
|
|
128948
129028
|
order2.forEach(function(placement) {
|
|
@@ -128963,8 +129043,8 @@ function shift3(data) {
|
|
|
128963
129043
|
var side = isVertical ? "left" : "top";
|
|
128964
129044
|
var measurement = isVertical ? "width" : "height";
|
|
128965
129045
|
var shiftOffsets = {
|
|
128966
|
-
start:
|
|
128967
|
-
end:
|
|
129046
|
+
start: defineProperty4({}, side, reference2[side]),
|
|
129047
|
+
end: defineProperty4({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
|
|
128968
129048
|
};
|
|
128969
129049
|
data.offsets.popper = _extends$1({}, popper2, shiftOffsets[shiftvariation]);
|
|
128970
129050
|
}
|