@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.cjs.js
CHANGED
|
@@ -6817,10 +6817,10 @@ var ownKeys$7 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownK
|
|
|
6817
6817
|
/* istanbul ignore next */
|
|
6818
6818
|
Object.getOwnPropertyNames
|
|
6819
6819
|
);
|
|
6820
|
-
function toPrimitive$
|
|
6820
|
+
function toPrimitive$2(value) {
|
|
6821
6821
|
return value === null ? null : typeof value === "object" ? "" + value : value;
|
|
6822
6822
|
}
|
|
6823
|
-
__name(toPrimitive$
|
|
6823
|
+
__name(toPrimitive$2, "toPrimitive$2");
|
|
6824
6824
|
function hasProp(target, prop2) {
|
|
6825
6825
|
return objectPrototype$1.hasOwnProperty.call(target, prop2);
|
|
6826
6826
|
}
|
|
@@ -7717,7 +7717,7 @@ var ObservableValue = /* @__PURE__ */ function(_Atom) {
|
|
|
7717
7717
|
return this.name_ + "[" + this.value_ + "]";
|
|
7718
7718
|
}, "toString");
|
|
7719
7719
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
7720
|
-
return toPrimitive$
|
|
7720
|
+
return toPrimitive$2(this.get());
|
|
7721
7721
|
}, "valueOf");
|
|
7722
7722
|
_proto[_Symbol$toPrimitive] = function() {
|
|
7723
7723
|
return this.valueOf();
|
|
@@ -7902,7 +7902,7 @@ var ComputedValue = /* @__PURE__ */ function() {
|
|
|
7902
7902
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
7903
7903
|
}, "toString");
|
|
7904
7904
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
7905
|
-
return toPrimitive$
|
|
7905
|
+
return toPrimitive$2(this.get());
|
|
7906
7906
|
}, "valueOf");
|
|
7907
7907
|
_proto[_Symbol$toPrimitive$1] = function() {
|
|
7908
7908
|
return this.valueOf();
|
|
@@ -12536,7 +12536,7 @@ lodash.exports;
|
|
|
12536
12536
|
"^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar2, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
12537
12537
|
);
|
|
12538
12538
|
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;
|
|
12539
|
-
var
|
|
12539
|
+
var defineProperty5 = function() {
|
|
12540
12540
|
try {
|
|
12541
12541
|
var func = getNative2(Object2, "defineProperty");
|
|
12542
12542
|
func({}, "", {});
|
|
@@ -12976,8 +12976,8 @@ lodash.exports;
|
|
|
12976
12976
|
}
|
|
12977
12977
|
__name(baseAssignIn2, "baseAssignIn");
|
|
12978
12978
|
function baseAssignValue2(object3, key, value) {
|
|
12979
|
-
if (key == "__proto__" &&
|
|
12980
|
-
|
|
12979
|
+
if (key == "__proto__" && defineProperty5) {
|
|
12980
|
+
defineProperty5(object3, key, {
|
|
12981
12981
|
"configurable": true,
|
|
12982
12982
|
"enumerable": true,
|
|
12983
12983
|
"value": value,
|
|
@@ -13710,8 +13710,8 @@ lodash.exports;
|
|
|
13710
13710
|
metaMap.set(func, data);
|
|
13711
13711
|
return func;
|
|
13712
13712
|
};
|
|
13713
|
-
var baseSetToString2 = !
|
|
13714
|
-
return
|
|
13713
|
+
var baseSetToString2 = !defineProperty5 ? identity4 : function(func, string2) {
|
|
13714
|
+
return defineProperty5(func, "toString", {
|
|
13715
13715
|
"configurable": true,
|
|
13716
13716
|
"enumerable": false,
|
|
13717
13717
|
"value": constant2(string2),
|
|
@@ -18236,11 +18236,20 @@ var _fails = /* @__PURE__ */ __name(function(exec) {
|
|
|
18236
18236
|
return true;
|
|
18237
18237
|
}
|
|
18238
18238
|
}, "_fails");
|
|
18239
|
-
var _descriptors
|
|
18240
|
-
|
|
18241
|
-
|
|
18242
|
-
|
|
18243
|
-
|
|
18239
|
+
var _descriptors;
|
|
18240
|
+
var hasRequired_descriptors;
|
|
18241
|
+
function require_descriptors() {
|
|
18242
|
+
if (hasRequired_descriptors)
|
|
18243
|
+
return _descriptors;
|
|
18244
|
+
hasRequired_descriptors = 1;
|
|
18245
|
+
_descriptors = !_fails(function() {
|
|
18246
|
+
return Object.defineProperty({}, "a", { get: function() {
|
|
18247
|
+
return 7;
|
|
18248
|
+
} }).a != 7;
|
|
18249
|
+
});
|
|
18250
|
+
return _descriptors;
|
|
18251
|
+
}
|
|
18252
|
+
__name(require_descriptors, "require_descriptors");
|
|
18244
18253
|
var _domCreate;
|
|
18245
18254
|
var hasRequired_domCreate;
|
|
18246
18255
|
function require_domCreate() {
|
|
@@ -18256,11 +18265,20 @@ function require_domCreate() {
|
|
|
18256
18265
|
return _domCreate;
|
|
18257
18266
|
}
|
|
18258
18267
|
__name(require_domCreate, "require_domCreate");
|
|
18259
|
-
var _ie8DomDefine
|
|
18260
|
-
|
|
18261
|
-
|
|
18262
|
-
|
|
18263
|
-
|
|
18268
|
+
var _ie8DomDefine;
|
|
18269
|
+
var hasRequired_ie8DomDefine;
|
|
18270
|
+
function require_ie8DomDefine() {
|
|
18271
|
+
if (hasRequired_ie8DomDefine)
|
|
18272
|
+
return _ie8DomDefine;
|
|
18273
|
+
hasRequired_ie8DomDefine = 1;
|
|
18274
|
+
_ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
18275
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
18276
|
+
return 7;
|
|
18277
|
+
} }).a != 7;
|
|
18278
|
+
});
|
|
18279
|
+
return _ie8DomDefine;
|
|
18280
|
+
}
|
|
18281
|
+
__name(require_ie8DomDefine, "require_ie8DomDefine");
|
|
18264
18282
|
var isObject$d = _isObject;
|
|
18265
18283
|
var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
18266
18284
|
if (!isObject$d(it))
|
|
@@ -18274,25 +18292,33 @@ var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
|
18274
18292
|
return val2;
|
|
18275
18293
|
throw TypeError("Can't convert object to primitive value");
|
|
18276
18294
|
}, "_toPrimitive$1");
|
|
18277
|
-
var
|
|
18278
|
-
|
|
18279
|
-
|
|
18280
|
-
|
|
18281
|
-
|
|
18282
|
-
|
|
18283
|
-
|
|
18284
|
-
|
|
18285
|
-
|
|
18286
|
-
|
|
18287
|
-
|
|
18288
|
-
|
|
18289
|
-
|
|
18290
|
-
|
|
18291
|
-
|
|
18292
|
-
|
|
18293
|
-
|
|
18294
|
-
|
|
18295
|
-
|
|
18295
|
+
var hasRequired_objectDp;
|
|
18296
|
+
function require_objectDp() {
|
|
18297
|
+
if (hasRequired_objectDp)
|
|
18298
|
+
return _objectDp;
|
|
18299
|
+
hasRequired_objectDp = 1;
|
|
18300
|
+
var anObject2 = _anObject;
|
|
18301
|
+
var IE8_DOM_DEFINE2 = require_ie8DomDefine();
|
|
18302
|
+
var toPrimitive2 = _toPrimitive$1;
|
|
18303
|
+
var dP2 = Object.defineProperty;
|
|
18304
|
+
_objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty5(O2, P2, Attributes) {
|
|
18305
|
+
anObject2(O2);
|
|
18306
|
+
P2 = toPrimitive2(P2, true);
|
|
18307
|
+
anObject2(Attributes);
|
|
18308
|
+
if (IE8_DOM_DEFINE2)
|
|
18309
|
+
try {
|
|
18310
|
+
return dP2(O2, P2, Attributes);
|
|
18311
|
+
} catch (e2) {
|
|
18312
|
+
}
|
|
18313
|
+
if ("get" in Attributes || "set" in Attributes)
|
|
18314
|
+
throw TypeError("Accessors not supported!");
|
|
18315
|
+
if ("value" in Attributes)
|
|
18316
|
+
O2[P2] = Attributes.value;
|
|
18317
|
+
return O2;
|
|
18318
|
+
}, "defineProperty");
|
|
18319
|
+
return _objectDp;
|
|
18320
|
+
}
|
|
18321
|
+
__name(require_objectDp, "require_objectDp");
|
|
18296
18322
|
var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
18297
18323
|
return {
|
|
18298
18324
|
enumerable: !(bitmap & 1),
|
|
@@ -18301,9 +18327,9 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
|
18301
18327
|
value
|
|
18302
18328
|
};
|
|
18303
18329
|
}, "_propertyDesc");
|
|
18304
|
-
var dP$2 =
|
|
18330
|
+
var dP$2 = require_objectDp();
|
|
18305
18331
|
var createDesc$3 = _propertyDesc;
|
|
18306
|
-
var _hide =
|
|
18332
|
+
var _hide = require_descriptors() ? function(object3, key, value) {
|
|
18307
18333
|
return dP$2.f(object3, key, createDesc$3(1, value));
|
|
18308
18334
|
} : function(object3, key, value) {
|
|
18309
18335
|
object3[key] = value;
|
|
@@ -18375,25 +18401,16 @@ var toString$6 = {}.toString;
|
|
|
18375
18401
|
var _cof = /* @__PURE__ */ __name(function(it) {
|
|
18376
18402
|
return toString$6.call(it).slice(8, -1);
|
|
18377
18403
|
}, "_cof");
|
|
18378
|
-
var
|
|
18379
|
-
var
|
|
18380
|
-
|
|
18381
|
-
|
|
18382
|
-
return _iobject;
|
|
18383
|
-
hasRequired_iobject = 1;
|
|
18384
|
-
var cof2 = _cof;
|
|
18385
|
-
_iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
18386
|
-
return cof2(it) == "String" ? it.split("") : Object(it);
|
|
18387
|
-
};
|
|
18388
|
-
return _iobject;
|
|
18389
|
-
}
|
|
18390
|
-
__name(require_iobject, "require_iobject");
|
|
18404
|
+
var cof$2 = _cof;
|
|
18405
|
+
var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
18406
|
+
return cof$2(it) == "String" ? it.split("") : Object(it);
|
|
18407
|
+
};
|
|
18391
18408
|
var _defined = /* @__PURE__ */ __name(function(it) {
|
|
18392
18409
|
if (it == void 0)
|
|
18393
18410
|
throw TypeError("Can't call method on " + it);
|
|
18394
18411
|
return it;
|
|
18395
18412
|
}, "_defined");
|
|
18396
|
-
var IObject =
|
|
18413
|
+
var IObject = _iobject;
|
|
18397
18414
|
var defined$2 = _defined;
|
|
18398
18415
|
var _toIobject = /* @__PURE__ */ __name(function(it) {
|
|
18399
18416
|
return IObject(defined$2(it));
|
|
@@ -18482,23 +18499,15 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
|
|
|
18482
18499
|
return result;
|
|
18483
18500
|
}, "_objectKeysInternal");
|
|
18484
18501
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
18485
|
-
var $keys$
|
|
18502
|
+
var $keys$3 = _objectKeysInternal;
|
|
18486
18503
|
var enumBugKeys$1 = _enumBugKeys;
|
|
18487
18504
|
var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
|
|
18488
|
-
return $keys$
|
|
18505
|
+
return $keys$3(O2, enumBugKeys$1);
|
|
18489
18506
|
}, "keys");
|
|
18490
18507
|
var _objectGops = {};
|
|
18491
18508
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
18492
18509
|
var _objectPie = {};
|
|
18493
|
-
|
|
18494
|
-
function require_objectPie() {
|
|
18495
|
-
if (hasRequired_objectPie)
|
|
18496
|
-
return _objectPie;
|
|
18497
|
-
hasRequired_objectPie = 1;
|
|
18498
|
-
_objectPie.f = {}.propertyIsEnumerable;
|
|
18499
|
-
return _objectPie;
|
|
18500
|
-
}
|
|
18501
|
-
__name(require_objectPie, "require_objectPie");
|
|
18510
|
+
_objectPie.f = {}.propertyIsEnumerable;
|
|
18502
18511
|
var defined$1 = _defined;
|
|
18503
18512
|
var _toObject = /* @__PURE__ */ __name(function(it) {
|
|
18504
18513
|
return Object(defined$1(it));
|
|
@@ -18509,12 +18518,12 @@ function require_objectAssign() {
|
|
|
18509
18518
|
if (hasRequired_objectAssign)
|
|
18510
18519
|
return _objectAssign;
|
|
18511
18520
|
hasRequired_objectAssign = 1;
|
|
18512
|
-
var DESCRIPTORS2 =
|
|
18521
|
+
var DESCRIPTORS2 = require_descriptors();
|
|
18513
18522
|
var getKeys2 = _objectKeys;
|
|
18514
18523
|
var gOPS2 = _objectGops;
|
|
18515
|
-
var pIE2 =
|
|
18524
|
+
var pIE2 = _objectPie;
|
|
18516
18525
|
var toObject2 = _toObject;
|
|
18517
|
-
var IObject2 =
|
|
18526
|
+
var IObject2 = _iobject;
|
|
18518
18527
|
var $assign = Object.assign;
|
|
18519
18528
|
_objectAssign = !$assign || _fails(function() {
|
|
18520
18529
|
var A2 = {};
|
|
@@ -18575,10 +18584,10 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
|
|
|
18575
18584
|
}, "_iterStep");
|
|
18576
18585
|
var _iterators = {};
|
|
18577
18586
|
var _redefine = _hide;
|
|
18578
|
-
var dP$1 =
|
|
18587
|
+
var dP$1 = require_objectDp();
|
|
18579
18588
|
var anObject$4 = _anObject;
|
|
18580
18589
|
var getKeys$1 = _objectKeys;
|
|
18581
|
-
var _objectDps =
|
|
18590
|
+
var _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties(O2, Properties2) {
|
|
18582
18591
|
anObject$4(O2);
|
|
18583
18592
|
var keys5 = getKeys$1(Properties2);
|
|
18584
18593
|
var length = keys5.length;
|
|
@@ -18645,7 +18654,7 @@ var $exports = _wks.exports = function(name2) {
|
|
|
18645
18654
|
};
|
|
18646
18655
|
$exports.store = store$2;
|
|
18647
18656
|
var _wksExports = _wks.exports;
|
|
18648
|
-
var def =
|
|
18657
|
+
var def = require_objectDp().f;
|
|
18649
18658
|
var has$c = _has;
|
|
18650
18659
|
var TAG$1 = _wksExports("toStringTag");
|
|
18651
18660
|
var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
@@ -18918,7 +18927,7 @@ var ArrayProto = Array.prototype;
|
|
|
18918
18927
|
var _isArrayIter = /* @__PURE__ */ __name(function(it) {
|
|
18919
18928
|
return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
18920
18929
|
}, "_isArrayIter");
|
|
18921
|
-
var $defineProperty$2 =
|
|
18930
|
+
var $defineProperty$2 = require_objectDp();
|
|
18922
18931
|
var createDesc$2 = _propertyDesc;
|
|
18923
18932
|
var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
|
|
18924
18933
|
if (index2 in object3)
|
|
@@ -19047,9 +19056,9 @@ var _default$8 = /* @__PURE__ */ __name(function(instance, Constructor) {
|
|
|
19047
19056
|
}
|
|
19048
19057
|
}, "_default$8");
|
|
19049
19058
|
var $export$3 = _export;
|
|
19050
|
-
$export$3($export$3.S + $export$3.F * !
|
|
19059
|
+
$export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
|
|
19051
19060
|
var $Object$2 = _coreExports.Object;
|
|
19052
|
-
var defineProperty$c = /* @__PURE__ */ __name(function
|
|
19061
|
+
var defineProperty$c = /* @__PURE__ */ __name(function defineProperty2(it, key, desc) {
|
|
19053
19062
|
return $Object$2.defineProperty(it, key, desc);
|
|
19054
19063
|
}, "defineProperty");
|
|
19055
19064
|
var defineProperty$b = { "default": defineProperty$c, __esModule: true };
|
|
@@ -19088,7 +19097,7 @@ var _meta = { exports: {} };
|
|
|
19088
19097
|
var META$1 = _uid("meta");
|
|
19089
19098
|
var isObject$c = _isObject;
|
|
19090
19099
|
var has$a = _has;
|
|
19091
|
-
var setDesc =
|
|
19100
|
+
var setDesc = require_objectDp().f;
|
|
19092
19101
|
var id$1 = 0;
|
|
19093
19102
|
var isExtensible = Object.isExtensible || function() {
|
|
19094
19103
|
return true;
|
|
@@ -19141,7 +19150,7 @@ var meta = _meta.exports = {
|
|
|
19141
19150
|
var _metaExports = _meta.exports;
|
|
19142
19151
|
var core = _coreExports;
|
|
19143
19152
|
var wksExt$1 = _wksExt;
|
|
19144
|
-
var defineProperty$a =
|
|
19153
|
+
var defineProperty$a = require_objectDp().f;
|
|
19145
19154
|
var _wksDefine = /* @__PURE__ */ __name(function(name2) {
|
|
19146
19155
|
var $Symbol2 = core.Symbol || (core.Symbol = {});
|
|
19147
19156
|
if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
|
|
@@ -19149,7 +19158,7 @@ var _wksDefine = /* @__PURE__ */ __name(function(name2) {
|
|
|
19149
19158
|
}, "_wksDefine");
|
|
19150
19159
|
var getKeys = _objectKeys;
|
|
19151
19160
|
var gOPS$1 = _objectGops;
|
|
19152
|
-
var pIE$1 =
|
|
19161
|
+
var pIE$1 = _objectPie;
|
|
19153
19162
|
var _enumKeys = /* @__PURE__ */ __name(function(it) {
|
|
19154
19163
|
var result = getKeys(it);
|
|
19155
19164
|
var getSymbols2 = gOPS$1.f;
|
|
@@ -19170,21 +19179,13 @@ var _isArray = Array.isArray || /* @__PURE__ */ __name(function isArray(arg) {
|
|
|
19170
19179
|
}, "isArray");
|
|
19171
19180
|
var _objectGopnExt = {};
|
|
19172
19181
|
var _objectGopn = {};
|
|
19173
|
-
var
|
|
19174
|
-
|
|
19175
|
-
|
|
19176
|
-
|
|
19177
|
-
|
|
19178
|
-
var $keys2 = _objectKeysInternal;
|
|
19179
|
-
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
19180
|
-
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames4(O2) {
|
|
19181
|
-
return $keys2(O2, hiddenKeys);
|
|
19182
|
-
}, "getOwnPropertyNames");
|
|
19183
|
-
return _objectGopn;
|
|
19184
|
-
}
|
|
19185
|
-
__name(require_objectGopn, "require_objectGopn");
|
|
19182
|
+
var $keys$2 = _objectKeysInternal;
|
|
19183
|
+
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
19184
|
+
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames(O2) {
|
|
19185
|
+
return $keys$2(O2, hiddenKeys);
|
|
19186
|
+
}, "getOwnPropertyNames");
|
|
19186
19187
|
var toIObject$2 = _toIobject;
|
|
19187
|
-
var gOPN$1 =
|
|
19188
|
+
var gOPN$1 = _objectGopn.f;
|
|
19188
19189
|
var toString$5 = {}.toString;
|
|
19189
19190
|
var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
19190
19191
|
var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
@@ -19194,18 +19195,18 @@ var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
|
19194
19195
|
return windowNames.slice();
|
|
19195
19196
|
}
|
|
19196
19197
|
}, "getWindowNames");
|
|
19197
|
-
_objectGopnExt.f = /* @__PURE__ */ __name(function
|
|
19198
|
+
_objectGopnExt.f = /* @__PURE__ */ __name(function getOwnPropertyNames2(it) {
|
|
19198
19199
|
return windowNames && toString$5.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
|
|
19199
19200
|
}, "getOwnPropertyNames");
|
|
19200
19201
|
var _objectGopd = {};
|
|
19201
|
-
var pIE =
|
|
19202
|
+
var pIE = _objectPie;
|
|
19202
19203
|
var createDesc$1 = _propertyDesc;
|
|
19203
19204
|
var toIObject$1 = _toIobject;
|
|
19204
19205
|
var toPrimitive$1 = _toPrimitive$1;
|
|
19205
19206
|
var has$9 = _has;
|
|
19206
|
-
var IE8_DOM_DEFINE =
|
|
19207
|
+
var IE8_DOM_DEFINE = require_ie8DomDefine();
|
|
19207
19208
|
var gOPD$5 = Object.getOwnPropertyDescriptor;
|
|
19208
|
-
_objectGopd.f =
|
|
19209
|
+
_objectGopd.f = require_descriptors() ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
|
|
19209
19210
|
O2 = toIObject$1(O2);
|
|
19210
19211
|
P2 = toPrimitive$1(P2, true);
|
|
19211
19212
|
if (IE8_DOM_DEFINE)
|
|
@@ -19218,7 +19219,7 @@ _objectGopd.f = _descriptors ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPr
|
|
|
19218
19219
|
}, "getOwnPropertyDescriptor");
|
|
19219
19220
|
var global$2 = _globalExports;
|
|
19220
19221
|
var has$8 = _has;
|
|
19221
|
-
var DESCRIPTORS =
|
|
19222
|
+
var DESCRIPTORS = require_descriptors();
|
|
19222
19223
|
var $export$2 = _export;
|
|
19223
19224
|
var redefine = _redefine;
|
|
19224
19225
|
var META = _metaExports.KEY;
|
|
@@ -19241,7 +19242,7 @@ var _create$1 = _objectCreate;
|
|
|
19241
19242
|
var gOPNExt = _objectGopnExt;
|
|
19242
19243
|
var $GOPD = _objectGopd;
|
|
19243
19244
|
var $GOPS = _objectGops;
|
|
19244
|
-
var $DP =
|
|
19245
|
+
var $DP = require_objectDp();
|
|
19245
19246
|
var $keys$1 = _objectKeys;
|
|
19246
19247
|
var gOPD$4 = $GOPD.f;
|
|
19247
19248
|
var dP = $DP.f;
|
|
@@ -19284,7 +19285,7 @@ var isSymbol$8 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
|
|
|
19284
19285
|
} : function(it) {
|
|
19285
19286
|
return it instanceof $Symbol;
|
|
19286
19287
|
};
|
|
19287
|
-
var $defineProperty$1 = /* @__PURE__ */ __name(function
|
|
19288
|
+
var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
|
|
19288
19289
|
if (it === ObjectProto)
|
|
19289
19290
|
$defineProperty$1(OPSymbols, key, D2);
|
|
19290
19291
|
anObject(it);
|
|
@@ -19333,7 +19334,7 @@ var $getOwnPropertyDescriptor = /* @__PURE__ */ __name(function getOwnPropertyDe
|
|
|
19333
19334
|
D2.enumerable = true;
|
|
19334
19335
|
return D2;
|
|
19335
19336
|
}, "getOwnPropertyDescriptor");
|
|
19336
|
-
var $getOwnPropertyNames = /* @__PURE__ */ __name(function
|
|
19337
|
+
var $getOwnPropertyNames = /* @__PURE__ */ __name(function getOwnPropertyNames3(it) {
|
|
19337
19338
|
var names2 = gOPN(toIObject(it));
|
|
19338
19339
|
var result = [];
|
|
19339
19340
|
var i = 0;
|
|
@@ -19377,8 +19378,8 @@ if (!USE_NATIVE) {
|
|
|
19377
19378
|
}, "toString"));
|
|
19378
19379
|
$GOPD.f = $getOwnPropertyDescriptor;
|
|
19379
19380
|
$DP.f = $defineProperty$1;
|
|
19380
|
-
|
|
19381
|
-
|
|
19381
|
+
_objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
|
|
19382
|
+
_objectPie.f = $propertyIsEnumerable;
|
|
19382
19383
|
$GOPS.f = $getOwnPropertySymbols;
|
|
19383
19384
|
if (DESCRIPTORS && !_library) {
|
|
19384
19385
|
redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable);
|
|
@@ -40017,6 +40018,13 @@ const popoverOverflowModifiers = {
|
|
|
40017
40018
|
const _TgSelect = class _TgSelect extends React$2.Component {
|
|
40018
40019
|
constructor(props) {
|
|
40019
40020
|
super(props);
|
|
40021
|
+
__publicField(this, "setOpenState", /* @__PURE__ */ __name((isOpen) => {
|
|
40022
|
+
const { handleOpenChange } = this.props;
|
|
40023
|
+
if (handleOpenChange) {
|
|
40024
|
+
handleOpenChange(isOpen);
|
|
40025
|
+
}
|
|
40026
|
+
this.setState({ isOpen });
|
|
40027
|
+
}, "setOpenState"));
|
|
40020
40028
|
__publicField(this, "itemRenderer", /* @__PURE__ */ __name((i, { index: index2, handleClick, modifiers: modifiers2 }) => {
|
|
40021
40029
|
const optionRenderer = this.getOptionRenderer();
|
|
40022
40030
|
const onClick = i.onClick || handleClick;
|
|
@@ -40049,7 +40057,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
40049
40057
|
if (multi) {
|
|
40050
40058
|
let valArray = getValueArray(value);
|
|
40051
40059
|
if (closeOnSelect || item.closeOnSelect) {
|
|
40052
|
-
this.
|
|
40060
|
+
this.setOpenState(false);
|
|
40053
40061
|
this.input && this.input.blur();
|
|
40054
40062
|
}
|
|
40055
40063
|
if (isTagSelect && item.value && item.value.includes && item.value.includes(":")) {
|
|
@@ -40066,7 +40074,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
40066
40074
|
}
|
|
40067
40075
|
return onChange([...valArray, item]);
|
|
40068
40076
|
} else {
|
|
40069
|
-
this.
|
|
40077
|
+
this.setOpenState(false);
|
|
40070
40078
|
this.input && this.input.blur();
|
|
40071
40079
|
return onChange(item);
|
|
40072
40080
|
}
|
|
@@ -40079,7 +40087,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
40079
40087
|
);
|
|
40080
40088
|
e2.stopPropagation();
|
|
40081
40089
|
onChange(filteredVals);
|
|
40082
|
-
this.
|
|
40090
|
+
this.setOpenState(false);
|
|
40083
40091
|
this.input.focus();
|
|
40084
40092
|
}, "handleTagRemove"));
|
|
40085
40093
|
__publicField(this, "handleTagInputRemove", /* @__PURE__ */ __name((val2, index2) => {
|
|
@@ -40100,7 +40108,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
40100
40108
|
const { onChange } = this.props;
|
|
40101
40109
|
this.setState({ query: "" });
|
|
40102
40110
|
onChange(newValue);
|
|
40103
|
-
this.
|
|
40111
|
+
this.setOpenState(false);
|
|
40104
40112
|
this.input.focus();
|
|
40105
40113
|
}, "handleClear"));
|
|
40106
40114
|
__publicField(this, "itemListPredicate", /* @__PURE__ */ __name((queryString2, item) => {
|
|
@@ -40123,9 +40131,12 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
40123
40131
|
}, "handleActiveItemChange"));
|
|
40124
40132
|
__publicField(this, "onInteraction", /* @__PURE__ */ __name(() => {
|
|
40125
40133
|
if (this.input != null && this.input !== document.activeElement) {
|
|
40126
|
-
this.
|
|
40134
|
+
this.setOpenState(false);
|
|
40135
|
+
this.setState({
|
|
40136
|
+
query: ""
|
|
40137
|
+
});
|
|
40127
40138
|
} else if (!this.props.openOnKeyDown) {
|
|
40128
|
-
this.
|
|
40139
|
+
this.setOpenState(true);
|
|
40129
40140
|
}
|
|
40130
40141
|
}, "onInteraction"));
|
|
40131
40142
|
__publicField(this, "queryHasExactOptionMatch", /* @__PURE__ */ __name(() => {
|
|
@@ -40234,7 +40245,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
40234
40245
|
onClick: (e2) => {
|
|
40235
40246
|
if (this.state.isOpen) {
|
|
40236
40247
|
e2.stopPropagation();
|
|
40237
|
-
this.
|
|
40248
|
+
this.setOpenState(false);
|
|
40238
40249
|
}
|
|
40239
40250
|
},
|
|
40240
40251
|
disabled,
|
|
@@ -40307,11 +40318,11 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
40307
40318
|
if (this.input != null) {
|
|
40308
40319
|
this.input.blur();
|
|
40309
40320
|
}
|
|
40310
|
-
this.
|
|
40321
|
+
this.setOpenState(false);
|
|
40311
40322
|
e2.preventDefault();
|
|
40312
40323
|
e2.stopPropagation();
|
|
40313
40324
|
} else if (!(which === core$5.Keys.BACKSPACE || which === core$5.Keys.ARROW_LEFT || which === core$5.Keys.ARROW_RIGHT)) {
|
|
40314
|
-
this.
|
|
40325
|
+
this.setOpenState(true);
|
|
40315
40326
|
}
|
|
40316
40327
|
},
|
|
40317
40328
|
inputProps: __spreadValues({
|
|
@@ -55193,7 +55204,7 @@ var KNOWN_STATICS = {
|
|
|
55193
55204
|
arity: true
|
|
55194
55205
|
};
|
|
55195
55206
|
var defineProperty$3 = Object.defineProperty;
|
|
55196
|
-
var
|
|
55207
|
+
var getOwnPropertyNames4 = Object.getOwnPropertyNames;
|
|
55197
55208
|
var getOwnPropertySymbols3 = Object.getOwnPropertySymbols;
|
|
55198
55209
|
var getOwnPropertyDescriptor3 = Object.getOwnPropertyDescriptor;
|
|
55199
55210
|
var getPrototypeOf = Object.getPrototypeOf;
|
|
@@ -55206,7 +55217,7 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
|
55206
55217
|
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
55207
55218
|
}
|
|
55208
55219
|
}
|
|
55209
|
-
var keys5 =
|
|
55220
|
+
var keys5 = getOwnPropertyNames4(sourceComponent);
|
|
55210
55221
|
if (getOwnPropertySymbols3) {
|
|
55211
55222
|
keys5 = keys5.concat(getOwnPropertySymbols3(sourceComponent));
|
|
55212
55223
|
}
|
|
@@ -56435,13 +56446,24 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
56435
56446
|
}, 0);
|
|
56436
56447
|
}
|
|
56437
56448
|
}, "updateFromProps"));
|
|
56438
|
-
__publicField(this, "formatAndValidateEntities", /* @__PURE__ */ __name((entities) => {
|
|
56449
|
+
__publicField(this, "formatAndValidateEntities", /* @__PURE__ */ __name((entities, { useDefaultValues, indexToStartAt } = {}) => {
|
|
56439
56450
|
const { schema: schema2 } = this.props;
|
|
56440
56451
|
const editableFields = schema2.fields.filter((f2) => !f2.isNotEditable);
|
|
56441
56452
|
const validationErrors = {};
|
|
56442
56453
|
const newEnts = immer(entities, (entities2) => {
|
|
56443
56454
|
entities2.forEach((e2, index2) => {
|
|
56444
56455
|
editableFields.forEach((columnSchema) => {
|
|
56456
|
+
if (useDefaultValues) {
|
|
56457
|
+
if (e2[columnSchema.path] === void 0) {
|
|
56458
|
+
if (lodashExports.isFunction(columnSchema.defaultValue)) {
|
|
56459
|
+
e2[columnSchema.path] = columnSchema.defaultValue(
|
|
56460
|
+
index2 + indexToStartAt,
|
|
56461
|
+
e2
|
|
56462
|
+
);
|
|
56463
|
+
} else
|
|
56464
|
+
e2[columnSchema.path] = columnSchema.defaultValue;
|
|
56465
|
+
}
|
|
56466
|
+
}
|
|
56445
56467
|
const { error } = editCellHelper({
|
|
56446
56468
|
entity: e2,
|
|
56447
56469
|
columnSchema,
|
|
@@ -56765,8 +56787,9 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
56765
56787
|
}, "handleCut"));
|
|
56766
56788
|
__publicField(this, "getCellCopyText", /* @__PURE__ */ __name((cellWrapper) => {
|
|
56767
56789
|
const text2 = cellWrapper && cellWrapper.getAttribute("data-copy-text");
|
|
56790
|
+
const jsonText = cellWrapper && cellWrapper.getAttribute("data-copy-json");
|
|
56768
56791
|
const toRet = text2 || cellWrapper.textContent || "";
|
|
56769
|
-
return toRet;
|
|
56792
|
+
return [toRet, jsonText];
|
|
56770
56793
|
}, "getCellCopyText"));
|
|
56771
56794
|
__publicField(this, "handleCopyRow", /* @__PURE__ */ __name((rowEl) => {
|
|
56772
56795
|
const text2 = this.getRowCopyText(rowEl);
|
|
@@ -56774,13 +56797,26 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
56774
56797
|
return window.toastr.warning("No text to copy");
|
|
56775
56798
|
this.handleCopyHelper(text2, "Row Copied");
|
|
56776
56799
|
}, "handleCopyRow"));
|
|
56777
|
-
__publicField(this, "handleCopyColumn", /* @__PURE__ */ __name((e2, cellWrapper) => {
|
|
56800
|
+
__publicField(this, "handleCopyColumn", /* @__PURE__ */ __name((e2, cellWrapper, selectedRecords) => {
|
|
56778
56801
|
const cellType = cellWrapper.getAttribute("data-test");
|
|
56779
|
-
|
|
56780
|
-
if (!
|
|
56802
|
+
let rowElsToCopy = getAllRows(e2);
|
|
56803
|
+
if (!rowElsToCopy)
|
|
56804
|
+
return;
|
|
56805
|
+
if (selectedRecords) {
|
|
56806
|
+
const ids = selectedRecords.map((e22) => {
|
|
56807
|
+
var _a2;
|
|
56808
|
+
return (_a2 = getIdOrCodeOrIndex(e22)) == null ? void 0 : _a2.toString();
|
|
56809
|
+
});
|
|
56810
|
+
rowElsToCopy = Array.from(rowElsToCopy).filter((rowEl) => {
|
|
56811
|
+
var _a2;
|
|
56812
|
+
const id2 = (_a2 = rowEl.closest(".rt-tr-group")) == null ? void 0 : _a2.getAttribute("data-test-id");
|
|
56813
|
+
return id2 !== void 0 && ids.includes(id2);
|
|
56814
|
+
});
|
|
56815
|
+
}
|
|
56816
|
+
if (!rowElsToCopy)
|
|
56781
56817
|
return;
|
|
56782
56818
|
const textToCopy = lodashExports.map(
|
|
56783
|
-
|
|
56819
|
+
rowElsToCopy,
|
|
56784
56820
|
(rowEl) => this.getRowCopyText(rowEl, { cellType })
|
|
56785
56821
|
).filter((text2) => text2).join("\n");
|
|
56786
56822
|
if (!textToCopy)
|
|
@@ -56821,9 +56857,10 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
56821
56857
|
return this.getCellCopyText(cellChild);
|
|
56822
56858
|
}).join(" ");
|
|
56823
56859
|
}, "getRowCopyText"));
|
|
56824
|
-
__publicField(this, "handleCopyHelper", /* @__PURE__ */ __name((stringToCopy, message) => {
|
|
56860
|
+
__publicField(this, "handleCopyHelper", /* @__PURE__ */ __name((stringToCopy, objToCopy, message) => {
|
|
56825
56861
|
const copyHandler = /* @__PURE__ */ __name((e2) => {
|
|
56826
56862
|
e2.preventDefault();
|
|
56863
|
+
e2.clipboardData.setData("application/json", JSON.stringify(objToCopy));
|
|
56827
56864
|
e2.clipboardData.setData("text/plain", stringToCopy);
|
|
56828
56865
|
}, "copyHandler");
|
|
56829
56866
|
document.addEventListener("copy", copyHandler);
|
|
@@ -57685,6 +57722,22 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
57685
57722
|
noEllipsis = true;
|
|
57686
57723
|
} else {
|
|
57687
57724
|
if (reduxFormEditingCell === cellId) {
|
|
57725
|
+
if (column.type === "genericSelect") {
|
|
57726
|
+
const GenericSelectComp = column.GenericSelectComp;
|
|
57727
|
+
return /* @__PURE__ */ React$2.createElement(
|
|
57728
|
+
GenericSelectComp,
|
|
57729
|
+
__spreadProps(__spreadValues({
|
|
57730
|
+
rowId,
|
|
57731
|
+
initialValue: text2
|
|
57732
|
+
}, dataTest), {
|
|
57733
|
+
finishEdit: (newVal2, doNotStopEditing) => {
|
|
57734
|
+
this.finishCellEdit(cellId, newVal2, doNotStopEditing);
|
|
57735
|
+
},
|
|
57736
|
+
dataTest,
|
|
57737
|
+
cancelEdit: this.cancelCellEdit
|
|
57738
|
+
})
|
|
57739
|
+
);
|
|
57740
|
+
}
|
|
57688
57741
|
if (column.type === "dropdown" || column.type === "dropdownMulti") {
|
|
57689
57742
|
return /* @__PURE__ */ React$2.createElement(
|
|
57690
57743
|
DropdownCell,
|
|
@@ -57745,7 +57798,7 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
57745
57798
|
title: title || void 0
|
|
57746
57799
|
}),
|
|
57747
57800
|
val2
|
|
57748
|
-
), isCellEditable && (column.type === "dropdown" || column.type === "dropdownMulti") && /* @__PURE__ */ React$2.createElement(
|
|
57801
|
+
), isCellEditable && (column.type === "dropdown" || column.type === "dropdownMulti" || column.type === "genericSelect") && /* @__PURE__ */ React$2.createElement(
|
|
57749
57802
|
core$5.Icon,
|
|
57750
57803
|
{
|
|
57751
57804
|
icon: "caret-down",
|
|
@@ -57888,7 +57941,7 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
57888
57941
|
const cellNumStr2 = getNumberStrAtEnd(cellVal);
|
|
57889
57942
|
const cellNum2 = Number(cellNumStr2);
|
|
57890
57943
|
const cellTextNoNum = stripNumberAtEnd(cellVal);
|
|
57891
|
-
if (cellNumStr2.startsWith("0")) {
|
|
57944
|
+
if (cellNumStr2 == null ? void 0 : cellNumStr2.startsWith("0")) {
|
|
57892
57945
|
maybePad = cellNumStr2.length;
|
|
57893
57946
|
}
|
|
57894
57947
|
if (cellTextNoNum && !prefix2) {
|
|
@@ -58035,16 +58088,19 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
58035
58088
|
return getIdOrCodeOrIndex(e2, i) === rowId;
|
|
58036
58089
|
});
|
|
58037
58090
|
const insertIndex = above ? indexToInsert : indexToInsert + 1;
|
|
58038
|
-
|
|
58091
|
+
const insertIndexToUse = appendToBottom ? entities2.length : insertIndex;
|
|
58092
|
+
let { newEnts, validationErrors } = this.formatAndValidateEntities(
|
|
58093
|
+
newEntities,
|
|
58094
|
+
{
|
|
58095
|
+
useDefaultValues: true,
|
|
58096
|
+
indexToStartAt: insertIndexToUse
|
|
58097
|
+
}
|
|
58098
|
+
);
|
|
58039
58099
|
newEnts = newEnts.map((e2) => __spreadProps(__spreadValues({}, e2), {
|
|
58040
58100
|
_isClean: true
|
|
58041
58101
|
}));
|
|
58042
58102
|
this.updateValidation(entities2, __spreadValues(__spreadValues({}, reduxFormCellValidation), validationErrors));
|
|
58043
|
-
entities2.splice(
|
|
58044
|
-
appendToBottom ? entities2.length : insertIndex,
|
|
58045
|
-
0,
|
|
58046
|
-
...newEnts
|
|
58047
|
-
);
|
|
58103
|
+
entities2.splice(insertIndexToUse, 0, ...newEnts);
|
|
58048
58104
|
});
|
|
58049
58105
|
this.refocusTable();
|
|
58050
58106
|
}, "insertRows"));
|
|
@@ -58085,8 +58141,8 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
58085
58141
|
{
|
|
58086
58142
|
key: "copyCell",
|
|
58087
58143
|
onClick: () => {
|
|
58088
|
-
const text2 = this.getCellCopyText(cellWrapper);
|
|
58089
|
-
this.handleCopyHelper(text2, "Cell copied");
|
|
58144
|
+
const [text2, jsonText] = this.getCellCopyText(cellWrapper);
|
|
58145
|
+
this.handleCopyHelper(text2, jsonText, "Cell copied");
|
|
58090
58146
|
},
|
|
58091
58147
|
text: "Cell"
|
|
58092
58148
|
}
|
|
@@ -58104,6 +58160,20 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
58104
58160
|
}
|
|
58105
58161
|
)
|
|
58106
58162
|
);
|
|
58163
|
+
if (selectedRecords.length > 1) {
|
|
58164
|
+
copyMenuItems.push(
|
|
58165
|
+
/* @__PURE__ */ React$2.createElement(
|
|
58166
|
+
core$5.MenuItem,
|
|
58167
|
+
{
|
|
58168
|
+
key: "copyColumnSelected",
|
|
58169
|
+
onClick: () => {
|
|
58170
|
+
this.handleCopyColumn(e2, cellWrapper, selectedRecords);
|
|
58171
|
+
},
|
|
58172
|
+
text: "Column (Selected)"
|
|
58173
|
+
}
|
|
58174
|
+
)
|
|
58175
|
+
);
|
|
58176
|
+
}
|
|
58107
58177
|
}
|
|
58108
58178
|
if (selectedRecords.length === 0 || selectedRecords.length === 1) {
|
|
58109
58179
|
const cell = e2.target.querySelector(".tg-cell-wrapper") || e2.target.closest(".tg-cell-wrapper") || e2.target.closest(".rt-td");
|
|
@@ -59357,7 +59427,8 @@ function getNumberStrAtEnd(str) {
|
|
|
59357
59427
|
}
|
|
59358
59428
|
__name(getNumberStrAtEnd, "getNumberStrAtEnd");
|
|
59359
59429
|
function stripNumberAtEnd(str) {
|
|
59360
|
-
|
|
59430
|
+
var _a2;
|
|
59431
|
+
return (_a2 = str == null ? void 0 : str.replace) == null ? void 0 : _a2.call(str, getNumberStrAtEnd(str), "");
|
|
59361
59432
|
}
|
|
59362
59433
|
__name(stripNumberAtEnd, "stripNumberAtEnd");
|
|
59363
59434
|
function isEntityClean(e2) {
|
|
@@ -61733,7 +61804,7 @@ const PreviewCsvData = observer(function(props) {
|
|
|
61733
61804
|
} = props;
|
|
61734
61805
|
const rerenderKey = React$2.useRef(0);
|
|
61735
61806
|
rerenderKey.current = rerenderKey.current + 1;
|
|
61736
|
-
const data = userSchema.userData && userSchema.userData.length && userSchema.userData.map((row) => {
|
|
61807
|
+
const data = userSchema.userData && userSchema.userData.length && userSchema.userData.map((row, i) => {
|
|
61737
61808
|
const toRet = {
|
|
61738
61809
|
_isClean: row._isClean
|
|
61739
61810
|
};
|
|
@@ -61746,7 +61817,10 @@ const PreviewCsvData = observer(function(props) {
|
|
|
61746
61817
|
}
|
|
61747
61818
|
if (toRet[path2] === void 0 || toRet[path2] === "") {
|
|
61748
61819
|
if (defaultValue2) {
|
|
61749
|
-
|
|
61820
|
+
if (lodashExports.isFunction(defaultValue2)) {
|
|
61821
|
+
toRet[path2] = defaultValue2(i, row);
|
|
61822
|
+
} else
|
|
61823
|
+
toRet[path2] = defaultValue2;
|
|
61750
61824
|
} else {
|
|
61751
61825
|
toRet[path2] = "";
|
|
61752
61826
|
}
|
|
@@ -71506,6 +71580,7 @@ function UploaderInner({
|
|
|
71506
71580
|
overflowList,
|
|
71507
71581
|
autoUnzip,
|
|
71508
71582
|
disabled,
|
|
71583
|
+
noBuildCsvOption,
|
|
71509
71584
|
initializeForm,
|
|
71510
71585
|
showFilesCount,
|
|
71511
71586
|
threeDotMenuItems,
|
|
@@ -71684,12 +71759,14 @@ function UploaderInner({
|
|
|
71684
71759
|
subtext: "Includes Upload Instructions and Column Info",
|
|
71685
71760
|
exampleFile: handleDownloadXlsxFile
|
|
71686
71761
|
},
|
|
71687
|
-
|
|
71688
|
-
|
|
71689
|
-
|
|
71690
|
-
|
|
71691
|
-
|
|
71692
|
-
|
|
71762
|
+
...noBuildCsvOption ? [] : [
|
|
71763
|
+
{
|
|
71764
|
+
description: manualEnterMessage,
|
|
71765
|
+
subtext: manualEnterSubMessage,
|
|
71766
|
+
icon: "manually-entered-data",
|
|
71767
|
+
exampleFile: handleManuallyEnterData
|
|
71768
|
+
}
|
|
71769
|
+
]
|
|
71693
71770
|
];
|
|
71694
71771
|
delete a2.exampleFile;
|
|
71695
71772
|
}
|
|
@@ -72138,7 +72215,7 @@ function UploaderInner({
|
|
|
72138
72215
|
},
|
|
72139
72216
|
innerIcon || /* @__PURE__ */ React$2.createElement(core$5.Icon, { icon: "upload", iconSize: minimal ? 15 : 30 }),
|
|
72140
72217
|
innerText || (minimal ? "Upload" : "Click or drag to upload"),
|
|
72141
|
-
validateAgainstSchema && /* @__PURE__ */ React$2.createElement(
|
|
72218
|
+
validateAgainstSchema && !noBuildCsvOption && /* @__PURE__ */ React$2.createElement(
|
|
72142
72219
|
"div",
|
|
72143
72220
|
{
|
|
72144
72221
|
style: {
|
|
@@ -77910,7 +77987,7 @@ const minimumOrfSize$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
77910
77987
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
77911
77988
|
const protein_letters = "ACDEFGHIKLMNPQRSTVWY";
|
|
77912
77989
|
const protein_letters_withUandX = "ACDEFGHIKLMNPQRSTVWYUX";
|
|
77913
|
-
const extended_protein_letters = "ACDEFGHIKLMNPQRSTVWYBXZJUO
|
|
77990
|
+
const extended_protein_letters = "ACDEFGHIKLMNPQRSTVWYBXZJUO";
|
|
77914
77991
|
const ambiguous_dna_letters = "GATCRYWSMKHBVDN";
|
|
77915
77992
|
const unambiguous_dna_letters = "GATC";
|
|
77916
77993
|
const ambiguous_rna_letters = "GAUCRYWSMKHBVDN";
|
|
@@ -77966,7 +78043,7 @@ const extended_protein_values = {
|
|
|
77966
78043
|
Y: "Y",
|
|
77967
78044
|
Z: "QE",
|
|
77968
78045
|
"*": "\\*\\.",
|
|
77969
|
-
".": "
|
|
78046
|
+
".": "\\.",
|
|
77970
78047
|
"-": "\\-"
|
|
77971
78048
|
};
|
|
77972
78049
|
const bioData = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -84073,9 +84150,12 @@ function getReplaceChars({
|
|
|
84073
84150
|
isRna: isRna2,
|
|
84074
84151
|
isMixedRnaAndDna
|
|
84075
84152
|
} = {}) {
|
|
84076
|
-
return isProtein2 ? {} :
|
|
84077
|
-
//
|
|
84078
|
-
{}
|
|
84153
|
+
return isProtein2 ? {} : (
|
|
84154
|
+
// {".": "*"}
|
|
84155
|
+
isOligo2 ? {} : isRna2 ? { t: "u" } : isMixedRnaAndDna ? {} : (
|
|
84156
|
+
//just plain old dna
|
|
84157
|
+
{}
|
|
84158
|
+
)
|
|
84079
84159
|
);
|
|
84080
84160
|
}
|
|
84081
84161
|
__name(getReplaceChars, "getReplaceChars");
|
|
@@ -125783,7 +125863,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
125783
125863
|
}
|
|
125784
125864
|
__name(showFileDialog, "showFileDialog");
|
|
125785
125865
|
const name = "@teselagen/ove";
|
|
125786
|
-
const version = "0.3.
|
|
125866
|
+
const version = "0.3.49";
|
|
125787
125867
|
const main = "./src/index.js";
|
|
125788
125868
|
const exports$1 = {
|
|
125789
125869
|
".": {
|
|
@@ -128110,7 +128190,7 @@ var createClass = function() {
|
|
|
128110
128190
|
return Constructor;
|
|
128111
128191
|
};
|
|
128112
128192
|
}();
|
|
128113
|
-
var
|
|
128193
|
+
var defineProperty4 = /* @__PURE__ */ __name(function(obj, key, value) {
|
|
128114
128194
|
if (key in obj) {
|
|
128115
128195
|
Object.defineProperty(obj, key, {
|
|
128116
128196
|
value,
|
|
@@ -128721,7 +128801,7 @@ function arrow(data, options) {
|
|
|
128721
128801
|
var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
|
|
128722
128802
|
sideValue = Math.max(Math.min(popper2[len] - arrowElementSize, sideValue), 0);
|
|
128723
128803
|
data.arrowElement = arrowElement;
|
|
128724
|
-
data.offsets.arrow = (_data$offsets$arrow = {},
|
|
128804
|
+
data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty4(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty4(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
|
|
128725
128805
|
return data;
|
|
128726
128806
|
}
|
|
128727
128807
|
__name(arrow, "arrow");
|
|
@@ -128952,7 +129032,7 @@ function preventOverflow(data, options) {
|
|
|
128952
129032
|
if (popper2[placement] < boundaries[placement] && !options.escapeWithReference) {
|
|
128953
129033
|
value = Math.max(popper2[placement], boundaries[placement]);
|
|
128954
129034
|
}
|
|
128955
|
-
return
|
|
129035
|
+
return defineProperty4({}, placement, value);
|
|
128956
129036
|
}, "primary"),
|
|
128957
129037
|
secondary: /* @__PURE__ */ __name(function secondary(placement) {
|
|
128958
129038
|
var mainSide = placement === "right" ? "left" : "top";
|
|
@@ -128960,7 +129040,7 @@ function preventOverflow(data, options) {
|
|
|
128960
129040
|
if (popper2[placement] > boundaries[placement] && !options.escapeWithReference) {
|
|
128961
129041
|
value = Math.min(popper2[mainSide], boundaries[placement] - (placement === "right" ? popper2.width : popper2.height));
|
|
128962
129042
|
}
|
|
128963
|
-
return
|
|
129043
|
+
return defineProperty4({}, mainSide, value);
|
|
128964
129044
|
}, "secondary")
|
|
128965
129045
|
};
|
|
128966
129046
|
order2.forEach(function(placement) {
|
|
@@ -128981,8 +129061,8 @@ function shift3(data) {
|
|
|
128981
129061
|
var side = isVertical ? "left" : "top";
|
|
128982
129062
|
var measurement = isVertical ? "width" : "height";
|
|
128983
129063
|
var shiftOffsets = {
|
|
128984
|
-
start:
|
|
128985
|
-
end:
|
|
129064
|
+
start: defineProperty4({}, side, reference2[side]),
|
|
129065
|
+
end: defineProperty4({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
|
|
128986
129066
|
};
|
|
128987
129067
|
data.offsets.popper = _extends$1({}, popper2, shiftOffsets[shiftvariation]);
|
|
128988
129068
|
}
|