@teselagen/ove 0.3.49 → 0.3.51
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 +212 -131
- package/index.es.js +212 -131
- package/index.umd.js +298 -236
- package/package.json +4 -4
- package/src/redux/alignments.js +9 -3
- package/src/withEditorInteractions/index.js +2 -2
- package/src/withEditorProps/index.js +2 -2
- package/style.css +1 -1
package/index.umd.js
CHANGED
|
@@ -10336,11 +10336,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10336
10336
|
}
|
|
10337
10337
|
bound = Function("binder", "return function (" + boundArgs.join(",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
10338
10338
|
if (target.prototype) {
|
|
10339
|
-
var
|
|
10339
|
+
var Empty2 = /* @__PURE__ */ __name(function Empty3() {
|
|
10340
10340
|
}, "Empty");
|
|
10341
|
-
|
|
10342
|
-
bound.prototype = new
|
|
10343
|
-
|
|
10341
|
+
Empty2.prototype = target.prototype;
|
|
10342
|
+
bound.prototype = new Empty2();
|
|
10343
|
+
Empty2.prototype = null;
|
|
10344
10344
|
}
|
|
10345
10345
|
return bound;
|
|
10346
10346
|
}, "bind");
|
|
@@ -27120,10 +27120,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
27120
27120
|
/* istanbul ignore next */
|
|
27121
27121
|
Object.getOwnPropertyNames
|
|
27122
27122
|
);
|
|
27123
|
-
function toPrimitive$
|
|
27123
|
+
function toPrimitive$3(value) {
|
|
27124
27124
|
return value === null ? null : typeof value === "object" ? "" + value : value;
|
|
27125
27125
|
}
|
|
27126
|
-
__name(toPrimitive$
|
|
27126
|
+
__name(toPrimitive$3, "toPrimitive$3");
|
|
27127
27127
|
function hasProp(target, prop2) {
|
|
27128
27128
|
return objectPrototype$2.hasOwnProperty.call(target, prop2);
|
|
27129
27129
|
}
|
|
@@ -28020,7 +28020,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
28020
28020
|
return this.name_ + "[" + this.value_ + "]";
|
|
28021
28021
|
}, "toString");
|
|
28022
28022
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
28023
|
-
return toPrimitive$
|
|
28023
|
+
return toPrimitive$3(this.get());
|
|
28024
28024
|
}, "valueOf");
|
|
28025
28025
|
_proto[_Symbol$toPrimitive] = function() {
|
|
28026
28026
|
return this.valueOf();
|
|
@@ -28205,7 +28205,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
28205
28205
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
28206
28206
|
}, "toString");
|
|
28207
28207
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
28208
|
-
return toPrimitive$
|
|
28208
|
+
return toPrimitive$3(this.get());
|
|
28209
28209
|
}, "valueOf");
|
|
28210
28210
|
_proto[_Symbol$toPrimitive$1] = function() {
|
|
28211
28211
|
return this.valueOf();
|
|
@@ -44864,20 +44864,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44864
44864
|
return true;
|
|
44865
44865
|
}
|
|
44866
44866
|
}, "_fails");
|
|
44867
|
-
var _descriptors
|
|
44868
|
-
|
|
44869
|
-
|
|
44870
|
-
|
|
44871
|
-
|
|
44872
|
-
hasRequired_descriptors = 1;
|
|
44873
|
-
_descriptors = !_fails(function() {
|
|
44874
|
-
return Object.defineProperty({}, "a", { get: function() {
|
|
44875
|
-
return 7;
|
|
44876
|
-
} }).a != 7;
|
|
44877
|
-
});
|
|
44878
|
-
return _descriptors;
|
|
44879
|
-
}
|
|
44880
|
-
__name(require_descriptors, "require_descriptors");
|
|
44867
|
+
var _descriptors = !_fails(function() {
|
|
44868
|
+
return Object.defineProperty({}, "a", { get: function() {
|
|
44869
|
+
return 7;
|
|
44870
|
+
} }).a != 7;
|
|
44871
|
+
});
|
|
44881
44872
|
var _domCreate;
|
|
44882
44873
|
var hasRequired_domCreate;
|
|
44883
44874
|
function require_domCreate() {
|
|
@@ -44893,20 +44884,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44893
44884
|
return _domCreate;
|
|
44894
44885
|
}
|
|
44895
44886
|
__name(require_domCreate, "require_domCreate");
|
|
44896
|
-
var _ie8DomDefine
|
|
44897
|
-
|
|
44898
|
-
|
|
44899
|
-
|
|
44900
|
-
|
|
44901
|
-
hasRequired_ie8DomDefine = 1;
|
|
44902
|
-
_ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
44903
|
-
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
44904
|
-
return 7;
|
|
44905
|
-
} }).a != 7;
|
|
44906
|
-
});
|
|
44907
|
-
return _ie8DomDefine;
|
|
44908
|
-
}
|
|
44909
|
-
__name(require_ie8DomDefine, "require_ie8DomDefine");
|
|
44887
|
+
var _ie8DomDefine = !_descriptors && !_fails(function() {
|
|
44888
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
44889
|
+
return 7;
|
|
44890
|
+
} }).a != 7;
|
|
44891
|
+
});
|
|
44910
44892
|
var isObject$6 = _isObject;
|
|
44911
44893
|
var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
44912
44894
|
if (!isObject$6(it))
|
|
@@ -44920,33 +44902,25 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44920
44902
|
return val2;
|
|
44921
44903
|
throw TypeError("Can't convert object to primitive value");
|
|
44922
44904
|
}, "_toPrimitive$1");
|
|
44923
|
-
var
|
|
44924
|
-
|
|
44925
|
-
|
|
44926
|
-
|
|
44927
|
-
|
|
44928
|
-
|
|
44929
|
-
|
|
44930
|
-
|
|
44931
|
-
|
|
44932
|
-
|
|
44933
|
-
|
|
44934
|
-
|
|
44935
|
-
|
|
44936
|
-
|
|
44937
|
-
|
|
44938
|
-
|
|
44939
|
-
|
|
44940
|
-
|
|
44941
|
-
|
|
44942
|
-
throw TypeError("Accessors not supported!");
|
|
44943
|
-
if ("value" in Attributes)
|
|
44944
|
-
O2[P2] = Attributes.value;
|
|
44945
|
-
return O2;
|
|
44946
|
-
}, "defineProperty");
|
|
44947
|
-
return _objectDp;
|
|
44948
|
-
}
|
|
44949
|
-
__name(require_objectDp, "require_objectDp");
|
|
44905
|
+
var anObject$5 = _anObject;
|
|
44906
|
+
var IE8_DOM_DEFINE$1 = _ie8DomDefine;
|
|
44907
|
+
var toPrimitive$2 = _toPrimitive$1;
|
|
44908
|
+
var dP$3 = Object.defineProperty;
|
|
44909
|
+
_objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
|
|
44910
|
+
anObject$5(O2);
|
|
44911
|
+
P2 = toPrimitive$2(P2, true);
|
|
44912
|
+
anObject$5(Attributes);
|
|
44913
|
+
if (IE8_DOM_DEFINE$1)
|
|
44914
|
+
try {
|
|
44915
|
+
return dP$3(O2, P2, Attributes);
|
|
44916
|
+
} catch (e2) {
|
|
44917
|
+
}
|
|
44918
|
+
if ("get" in Attributes || "set" in Attributes)
|
|
44919
|
+
throw TypeError("Accessors not supported!");
|
|
44920
|
+
if ("value" in Attributes)
|
|
44921
|
+
O2[P2] = Attributes.value;
|
|
44922
|
+
return O2;
|
|
44923
|
+
}, "defineProperty");
|
|
44950
44924
|
var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
44951
44925
|
return {
|
|
44952
44926
|
enumerable: !(bitmap & 1),
|
|
@@ -44955,10 +44929,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44955
44929
|
value
|
|
44956
44930
|
};
|
|
44957
44931
|
}, "_propertyDesc");
|
|
44958
|
-
var dP$
|
|
44932
|
+
var dP$2 = _objectDp;
|
|
44959
44933
|
var createDesc$3 = _propertyDesc;
|
|
44960
|
-
var _hide =
|
|
44961
|
-
return dP$
|
|
44934
|
+
var _hide = _descriptors ? function(object2, key2, value) {
|
|
44935
|
+
return dP$2.f(object2, key2, createDesc$3(1, value));
|
|
44962
44936
|
} : function(object2, key2, value) {
|
|
44963
44937
|
object2[key2] = value;
|
|
44964
44938
|
return object2;
|
|
@@ -44972,7 +44946,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44972
44946
|
var ctx$1 = _ctx;
|
|
44973
44947
|
var hide$2 = _hide;
|
|
44974
44948
|
var has$d = _has;
|
|
44975
|
-
var PROTOTYPE$
|
|
44949
|
+
var PROTOTYPE$2 = "prototype";
|
|
44976
44950
|
var $export$8 = /* @__PURE__ */ __name(function(type, name2, source) {
|
|
44977
44951
|
var IS_FORCED = type & $export$8.F;
|
|
44978
44952
|
var IS_GLOBAL = type & $export$8.G;
|
|
@@ -44981,8 +44955,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44981
44955
|
var IS_BIND = type & $export$8.B;
|
|
44982
44956
|
var IS_WRAP = type & $export$8.W;
|
|
44983
44957
|
var exports3 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
|
|
44984
|
-
var expProto = exports3[PROTOTYPE$
|
|
44985
|
-
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name2] : (global$4[name2] || {})[PROTOTYPE$
|
|
44958
|
+
var expProto = exports3[PROTOTYPE$2];
|
|
44959
|
+
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name2] : (global$4[name2] || {})[PROTOTYPE$2];
|
|
44986
44960
|
var key2, own2, out;
|
|
44987
44961
|
if (IS_GLOBAL)
|
|
44988
44962
|
source = name2;
|
|
@@ -45006,7 +44980,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45006
44980
|
}
|
|
45007
44981
|
return C2.apply(this, arguments);
|
|
45008
44982
|
}, "F");
|
|
45009
|
-
F2[PROTOTYPE$
|
|
44983
|
+
F2[PROTOTYPE$2] = C2[PROTOTYPE$2];
|
|
45010
44984
|
return F2;
|
|
45011
44985
|
}(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
|
|
45012
44986
|
if (IS_PROTO) {
|
|
@@ -45120,14 +45094,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45120
45094
|
var has$c = _has;
|
|
45121
45095
|
var toIObject$4 = _toIobject;
|
|
45122
45096
|
var arrayIndexOf = _arrayIncludes$1(false);
|
|
45123
|
-
var IE_PROTO$
|
|
45097
|
+
var IE_PROTO$2 = _sharedKey("IE_PROTO");
|
|
45124
45098
|
var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
|
|
45125
45099
|
var O2 = toIObject$4(object2);
|
|
45126
45100
|
var i2 = 0;
|
|
45127
45101
|
var result = [];
|
|
45128
45102
|
var key2;
|
|
45129
45103
|
for (key2 in O2)
|
|
45130
|
-
if (key2 != IE_PROTO$
|
|
45104
|
+
if (key2 != IE_PROTO$2)
|
|
45131
45105
|
has$c(O2, key2) && result.push(key2);
|
|
45132
45106
|
while (names2.length > i2)
|
|
45133
45107
|
if (has$c(O2, key2 = names2[i2++])) {
|
|
@@ -45137,9 +45111,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45137
45111
|
}, "_objectKeysInternal");
|
|
45138
45112
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
45139
45113
|
var $keys$3 = _objectKeysInternal;
|
|
45140
|
-
var enumBugKeys = _enumBugKeys;
|
|
45114
|
+
var enumBugKeys$1 = _enumBugKeys;
|
|
45141
45115
|
var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys2(O2) {
|
|
45142
|
-
return $keys$3(O2, enumBugKeys);
|
|
45116
|
+
return $keys$3(O2, enumBugKeys$1);
|
|
45143
45117
|
}, "keys");
|
|
45144
45118
|
var _objectGops = {};
|
|
45145
45119
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
@@ -45163,7 +45137,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45163
45137
|
if (hasRequired_objectAssign)
|
|
45164
45138
|
return _objectAssign;
|
|
45165
45139
|
hasRequired_objectAssign = 1;
|
|
45166
|
-
var DESCRIPTORS2 =
|
|
45140
|
+
var DESCRIPTORS2 = _descriptors;
|
|
45167
45141
|
var getKeys2 = _objectKeys;
|
|
45168
45142
|
var gOPS2 = _objectGops;
|
|
45169
45143
|
var pIE2 = require_objectPie();
|
|
@@ -45229,28 +45203,19 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45229
45203
|
}, "_iterStep");
|
|
45230
45204
|
var _iterators = {};
|
|
45231
45205
|
var _redefine = _hide;
|
|
45232
|
-
var
|
|
45233
|
-
var
|
|
45234
|
-
|
|
45235
|
-
|
|
45236
|
-
|
|
45237
|
-
|
|
45238
|
-
var
|
|
45239
|
-
var
|
|
45240
|
-
var
|
|
45241
|
-
|
|
45242
|
-
|
|
45243
|
-
|
|
45244
|
-
|
|
45245
|
-
var i2 = 0;
|
|
45246
|
-
var P2;
|
|
45247
|
-
while (length > i2)
|
|
45248
|
-
dP2.f(O2, P2 = keys2[i2++], Properties2[P2]);
|
|
45249
|
-
return O2;
|
|
45250
|
-
}, "defineProperties");
|
|
45251
|
-
return _objectDps;
|
|
45252
|
-
}
|
|
45253
|
-
__name(require_objectDps, "require_objectDps");
|
|
45206
|
+
var dP$1 = _objectDp;
|
|
45207
|
+
var anObject$4 = _anObject;
|
|
45208
|
+
var getKeys$1 = _objectKeys;
|
|
45209
|
+
var _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
|
|
45210
|
+
anObject$4(O2);
|
|
45211
|
+
var keys2 = getKeys$1(Properties2);
|
|
45212
|
+
var length = keys2.length;
|
|
45213
|
+
var i2 = 0;
|
|
45214
|
+
var P2;
|
|
45215
|
+
while (length > i2)
|
|
45216
|
+
dP$1.f(O2, P2 = keys2[i2++], Properties2[P2]);
|
|
45217
|
+
return O2;
|
|
45218
|
+
}, "defineProperties");
|
|
45254
45219
|
var _html;
|
|
45255
45220
|
var hasRequired_html;
|
|
45256
45221
|
function require_html() {
|
|
@@ -45262,51 +45227,42 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45262
45227
|
return _html;
|
|
45263
45228
|
}
|
|
45264
45229
|
__name(require_html, "require_html");
|
|
45265
|
-
var
|
|
45266
|
-
var
|
|
45267
|
-
|
|
45268
|
-
|
|
45269
|
-
|
|
45270
|
-
|
|
45271
|
-
|
|
45272
|
-
|
|
45273
|
-
var
|
|
45274
|
-
var
|
|
45275
|
-
var
|
|
45276
|
-
|
|
45277
|
-
var
|
|
45278
|
-
|
|
45279
|
-
|
|
45280
|
-
|
|
45281
|
-
|
|
45282
|
-
|
|
45283
|
-
|
|
45284
|
-
|
|
45285
|
-
|
|
45286
|
-
|
|
45287
|
-
|
|
45288
|
-
|
|
45289
|
-
|
|
45290
|
-
|
|
45291
|
-
|
|
45292
|
-
|
|
45293
|
-
|
|
45294
|
-
|
|
45295
|
-
|
|
45296
|
-
|
|
45297
|
-
|
|
45298
|
-
|
|
45299
|
-
|
|
45300
|
-
|
|
45301
|
-
Empty[PROTOTYPE2] = null;
|
|
45302
|
-
result[IE_PROTO2] = O2;
|
|
45303
|
-
} else
|
|
45304
|
-
result = createDict();
|
|
45305
|
-
return Properties2 === void 0 ? result : dPs(result, Properties2);
|
|
45306
|
-
}, "create");
|
|
45307
|
-
return _objectCreate;
|
|
45308
|
-
}
|
|
45309
|
-
__name(require_objectCreate, "require_objectCreate");
|
|
45230
|
+
var anObject$3 = _anObject;
|
|
45231
|
+
var dPs = _objectDps;
|
|
45232
|
+
var enumBugKeys = _enumBugKeys;
|
|
45233
|
+
var IE_PROTO$1 = _sharedKey("IE_PROTO");
|
|
45234
|
+
var Empty = /* @__PURE__ */ __name(function() {
|
|
45235
|
+
}, "Empty");
|
|
45236
|
+
var PROTOTYPE$1 = "prototype";
|
|
45237
|
+
var createDict = /* @__PURE__ */ __name(function() {
|
|
45238
|
+
var iframe = require_domCreate()("iframe");
|
|
45239
|
+
var i2 = enumBugKeys.length;
|
|
45240
|
+
var lt = "<";
|
|
45241
|
+
var gt = ">";
|
|
45242
|
+
var iframeDocument;
|
|
45243
|
+
iframe.style.display = "none";
|
|
45244
|
+
require_html().appendChild(iframe);
|
|
45245
|
+
iframe.src = "javascript:";
|
|
45246
|
+
iframeDocument = iframe.contentWindow.document;
|
|
45247
|
+
iframeDocument.open();
|
|
45248
|
+
iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
|
|
45249
|
+
iframeDocument.close();
|
|
45250
|
+
createDict = iframeDocument.F;
|
|
45251
|
+
while (i2--)
|
|
45252
|
+
delete createDict[PROTOTYPE$1][enumBugKeys[i2]];
|
|
45253
|
+
return createDict();
|
|
45254
|
+
}, "createDict");
|
|
45255
|
+
var _objectCreate = Object.create || /* @__PURE__ */ __name(function create2(O2, Properties2) {
|
|
45256
|
+
var result;
|
|
45257
|
+
if (O2 !== null) {
|
|
45258
|
+
Empty[PROTOTYPE$1] = anObject$3(O2);
|
|
45259
|
+
result = new Empty();
|
|
45260
|
+
Empty[PROTOTYPE$1] = null;
|
|
45261
|
+
result[IE_PROTO$1] = O2;
|
|
45262
|
+
} else
|
|
45263
|
+
result = createDict();
|
|
45264
|
+
return Properties2 === void 0 ? result : dPs(result, Properties2);
|
|
45265
|
+
}, "create");
|
|
45310
45266
|
var _wks = { exports: {} };
|
|
45311
45267
|
var store$2 = _sharedExports("wks");
|
|
45312
45268
|
var uid$1 = _uid;
|
|
@@ -45317,14 +45273,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45317
45273
|
};
|
|
45318
45274
|
$exports.store = store$2;
|
|
45319
45275
|
var _wksExports = _wks.exports;
|
|
45320
|
-
var def =
|
|
45276
|
+
var def = _objectDp.f;
|
|
45321
45277
|
var has$b = _has;
|
|
45322
45278
|
var TAG$1 = _wksExports("toStringTag");
|
|
45323
45279
|
var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
45324
45280
|
if (it && !has$b(it = stat ? it : it.prototype, TAG$1))
|
|
45325
45281
|
def(it, TAG$1, { configurable: true, value: tag });
|
|
45326
45282
|
}, "_setToStringTag");
|
|
45327
|
-
var create$4 =
|
|
45283
|
+
var create$4 = _objectCreate;
|
|
45328
45284
|
var descriptor = _propertyDesc;
|
|
45329
45285
|
var setToStringTag$2 = _setToStringTag;
|
|
45330
45286
|
var IteratorPrototype = {};
|
|
@@ -45590,7 +45546,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45590
45546
|
var _isArrayIter = /* @__PURE__ */ __name(function(it) {
|
|
45591
45547
|
return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
45592
45548
|
}, "_isArrayIter");
|
|
45593
|
-
var $defineProperty$1 =
|
|
45549
|
+
var $defineProperty$1 = _objectDp;
|
|
45594
45550
|
var createDesc$2 = _propertyDesc;
|
|
45595
45551
|
var _createProperty = /* @__PURE__ */ __name(function(object2, index2, value) {
|
|
45596
45552
|
if (index2 in object2)
|
|
@@ -45719,7 +45675,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45719
45675
|
}
|
|
45720
45676
|
}, "_default$8");
|
|
45721
45677
|
var $export$3 = _export;
|
|
45722
|
-
$export$3($export$3.S + $export$3.F * !
|
|
45678
|
+
$export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
|
|
45723
45679
|
var $Object$1 = _coreExports.Object;
|
|
45724
45680
|
var defineProperty$6 = /* @__PURE__ */ __name(function defineProperty2(it, key2, desc) {
|
|
45725
45681
|
return $Object$1.defineProperty(it, key2, desc);
|
|
@@ -45760,7 +45716,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45760
45716
|
var META$1 = _uid("meta");
|
|
45761
45717
|
var isObject$5 = _isObject;
|
|
45762
45718
|
var has$9 = _has;
|
|
45763
|
-
var setDesc =
|
|
45719
|
+
var setDesc = _objectDp.f;
|
|
45764
45720
|
var id$1 = 0;
|
|
45765
45721
|
var isExtensible = Object.isExtensible || function() {
|
|
45766
45722
|
return true;
|
|
@@ -45813,7 +45769,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45813
45769
|
var _metaExports = _meta.exports;
|
|
45814
45770
|
var core = _coreExports;
|
|
45815
45771
|
var wksExt$1 = _wksExt;
|
|
45816
|
-
var defineProperty$4 =
|
|
45772
|
+
var defineProperty$4 = _objectDp.f;
|
|
45817
45773
|
var _wksDefine = /* @__PURE__ */ __name(function(name2) {
|
|
45818
45774
|
var $Symbol2 = core.Symbol || (core.Symbol = {});
|
|
45819
45775
|
if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
|
|
@@ -45867,9 +45823,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45867
45823
|
var toIObject$1 = _toIobject;
|
|
45868
45824
|
var toPrimitive$1 = _toPrimitive$1;
|
|
45869
45825
|
var has$8 = _has;
|
|
45870
|
-
var IE8_DOM_DEFINE =
|
|
45826
|
+
var IE8_DOM_DEFINE = _ie8DomDefine;
|
|
45871
45827
|
var gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
45872
|
-
_objectGopd.f =
|
|
45828
|
+
_objectGopd.f = _descriptors ? gOPD$2 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor2(O2, P2) {
|
|
45873
45829
|
O2 = toIObject$1(O2);
|
|
45874
45830
|
P2 = toPrimitive$1(P2, true);
|
|
45875
45831
|
if (IE8_DOM_DEFINE)
|
|
@@ -45882,7 +45838,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45882
45838
|
}, "getOwnPropertyDescriptor");
|
|
45883
45839
|
var global$1 = _globalExports;
|
|
45884
45840
|
var has$7 = _has;
|
|
45885
|
-
var DESCRIPTORS =
|
|
45841
|
+
var DESCRIPTORS = _descriptors;
|
|
45886
45842
|
var $export$2 = _export;
|
|
45887
45843
|
var redefine = _redefine;
|
|
45888
45844
|
var META = _metaExports.KEY;
|
|
@@ -45901,11 +45857,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45901
45857
|
var toIObject = _toIobject;
|
|
45902
45858
|
var toPrimitive = _toPrimitive$1;
|
|
45903
45859
|
var createDesc = _propertyDesc;
|
|
45904
|
-
var _create$1 =
|
|
45860
|
+
var _create$1 = _objectCreate;
|
|
45905
45861
|
var gOPNExt = _objectGopnExt;
|
|
45906
45862
|
var $GOPD = _objectGopd;
|
|
45907
45863
|
var $GOPS = _objectGops;
|
|
45908
|
-
var $DP =
|
|
45864
|
+
var $DP = _objectDp;
|
|
45909
45865
|
var $keys$1 = _objectKeys;
|
|
45910
45866
|
var gOPD$1 = $GOPD.f;
|
|
45911
45867
|
var dP = $DP.f;
|
|
@@ -46208,7 +46164,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
46208
46164
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
|
|
46209
46165
|
var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
|
|
46210
46166
|
var $export = _export;
|
|
46211
|
-
$export($export.S, "Object", { create:
|
|
46167
|
+
$export($export.S, "Object", { create: _objectCreate });
|
|
46212
46168
|
var $Object = _coreExports.Object;
|
|
46213
46169
|
var create$3 = /* @__PURE__ */ __name(function create2(P2, D2) {
|
|
46214
46170
|
return $Object.create(P2, D2);
|
|
@@ -66028,6 +65984,13 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
66028
65984
|
const _TgSelect = class _TgSelect extends React$2.Component {
|
|
66029
65985
|
constructor(props) {
|
|
66030
65986
|
super(props);
|
|
65987
|
+
__publicField(this, "setOpenState", /* @__PURE__ */ __name((isOpen2) => {
|
|
65988
|
+
const { handleOpenChange } = this.props;
|
|
65989
|
+
if (handleOpenChange) {
|
|
65990
|
+
handleOpenChange(isOpen2);
|
|
65991
|
+
}
|
|
65992
|
+
this.setState({ isOpen: isOpen2 });
|
|
65993
|
+
}, "setOpenState"));
|
|
66031
65994
|
__publicField(this, "itemRenderer", /* @__PURE__ */ __name((i2, { index: index2, handleClick, modifiers: modifiers2 }) => {
|
|
66032
65995
|
const optionRenderer = this.getOptionRenderer();
|
|
66033
65996
|
const onClick = i2.onClick || handleClick;
|
|
@@ -66060,7 +66023,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
66060
66023
|
if (multi) {
|
|
66061
66024
|
let valArray = getValueArray(value);
|
|
66062
66025
|
if (closeOnSelect || item.closeOnSelect) {
|
|
66063
|
-
this.
|
|
66026
|
+
this.setOpenState(false);
|
|
66064
66027
|
this.input && this.input.blur();
|
|
66065
66028
|
}
|
|
66066
66029
|
if (isTagSelect && item.value && item.value.includes && item.value.includes(":")) {
|
|
@@ -66077,7 +66040,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
66077
66040
|
}
|
|
66078
66041
|
return onChange([...valArray, item]);
|
|
66079
66042
|
} else {
|
|
66080
|
-
this.
|
|
66043
|
+
this.setOpenState(false);
|
|
66081
66044
|
this.input && this.input.blur();
|
|
66082
66045
|
return onChange(item);
|
|
66083
66046
|
}
|
|
@@ -66090,7 +66053,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
66090
66053
|
);
|
|
66091
66054
|
e2.stopPropagation();
|
|
66092
66055
|
onChange(filteredVals);
|
|
66093
|
-
this.
|
|
66056
|
+
this.setOpenState(false);
|
|
66094
66057
|
this.input.focus();
|
|
66095
66058
|
}, "handleTagRemove"));
|
|
66096
66059
|
__publicField(this, "handleTagInputRemove", /* @__PURE__ */ __name((val2, index2) => {
|
|
@@ -66111,7 +66074,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
66111
66074
|
const { onChange } = this.props;
|
|
66112
66075
|
this.setState({ query: "" });
|
|
66113
66076
|
onChange(newValue);
|
|
66114
|
-
this.
|
|
66077
|
+
this.setOpenState(false);
|
|
66115
66078
|
this.input.focus();
|
|
66116
66079
|
}, "handleClear"));
|
|
66117
66080
|
__publicField(this, "itemListPredicate", /* @__PURE__ */ __name((queryString2, item) => {
|
|
@@ -66134,9 +66097,12 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
66134
66097
|
}, "handleActiveItemChange"));
|
|
66135
66098
|
__publicField(this, "onInteraction", /* @__PURE__ */ __name(() => {
|
|
66136
66099
|
if (this.input != null && this.input !== document.activeElement) {
|
|
66137
|
-
this.
|
|
66100
|
+
this.setOpenState(false);
|
|
66101
|
+
this.setState({
|
|
66102
|
+
query: ""
|
|
66103
|
+
});
|
|
66138
66104
|
} else if (!this.props.openOnKeyDown) {
|
|
66139
|
-
this.
|
|
66105
|
+
this.setOpenState(true);
|
|
66140
66106
|
}
|
|
66141
66107
|
}, "onInteraction"));
|
|
66142
66108
|
__publicField(this, "queryHasExactOptionMatch", /* @__PURE__ */ __name(() => {
|
|
@@ -66245,7 +66211,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
66245
66211
|
onClick: (e2) => {
|
|
66246
66212
|
if (this.state.isOpen) {
|
|
66247
66213
|
e2.stopPropagation();
|
|
66248
|
-
this.
|
|
66214
|
+
this.setOpenState(false);
|
|
66249
66215
|
}
|
|
66250
66216
|
},
|
|
66251
66217
|
disabled,
|
|
@@ -66318,11 +66284,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
66318
66284
|
if (this.input != null) {
|
|
66319
66285
|
this.input.blur();
|
|
66320
66286
|
}
|
|
66321
|
-
this.
|
|
66287
|
+
this.setOpenState(false);
|
|
66322
66288
|
e2.preventDefault();
|
|
66323
66289
|
e2.stopPropagation();
|
|
66324
66290
|
} else if (!(which === BACKSPACE$1 || which === ARROW_LEFT || which === ARROW_RIGHT)) {
|
|
66325
|
-
this.
|
|
66291
|
+
this.setOpenState(true);
|
|
66326
66292
|
}
|
|
66327
66293
|
},
|
|
66328
66294
|
inputProps: __spreadValues({
|
|
@@ -86351,13 +86317,24 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
86351
86317
|
}, 0);
|
|
86352
86318
|
}
|
|
86353
86319
|
}, "updateFromProps"));
|
|
86354
|
-
__publicField(this, "formatAndValidateEntities", /* @__PURE__ */ __name((entities) => {
|
|
86320
|
+
__publicField(this, "formatAndValidateEntities", /* @__PURE__ */ __name((entities, { useDefaultValues, indexToStartAt } = {}) => {
|
|
86355
86321
|
const { schema: schema2 } = this.props;
|
|
86356
86322
|
const editableFields = schema2.fields.filter((f2) => !f2.isNotEditable);
|
|
86357
86323
|
const validationErrors = {};
|
|
86358
86324
|
const newEnts = immer(entities, (entities2) => {
|
|
86359
86325
|
entities2.forEach((e2, index2) => {
|
|
86360
86326
|
editableFields.forEach((columnSchema) => {
|
|
86327
|
+
if (useDefaultValues) {
|
|
86328
|
+
if (e2[columnSchema.path] === void 0) {
|
|
86329
|
+
if (lodashExports.isFunction(columnSchema.defaultValue)) {
|
|
86330
|
+
e2[columnSchema.path] = columnSchema.defaultValue(
|
|
86331
|
+
index2 + indexToStartAt,
|
|
86332
|
+
e2
|
|
86333
|
+
);
|
|
86334
|
+
} else
|
|
86335
|
+
e2[columnSchema.path] = columnSchema.defaultValue;
|
|
86336
|
+
}
|
|
86337
|
+
}
|
|
86361
86338
|
const { error } = editCellHelper({
|
|
86362
86339
|
entity: e2,
|
|
86363
86340
|
columnSchema,
|
|
@@ -86681,8 +86658,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
86681
86658
|
}, "handleCut"));
|
|
86682
86659
|
__publicField(this, "getCellCopyText", /* @__PURE__ */ __name((cellWrapper) => {
|
|
86683
86660
|
const text2 = cellWrapper && cellWrapper.getAttribute("data-copy-text");
|
|
86661
|
+
const jsonText = cellWrapper && cellWrapper.getAttribute("data-copy-json");
|
|
86684
86662
|
const toRet = text2 || cellWrapper.textContent || "";
|
|
86685
|
-
return toRet;
|
|
86663
|
+
return [toRet, jsonText];
|
|
86686
86664
|
}, "getCellCopyText"));
|
|
86687
86665
|
__publicField(this, "handleCopyRow", /* @__PURE__ */ __name((rowEl) => {
|
|
86688
86666
|
const text2 = this.getRowCopyText(rowEl);
|
|
@@ -86690,13 +86668,26 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
86690
86668
|
return window.toastr.warning("No text to copy");
|
|
86691
86669
|
this.handleCopyHelper(text2, "Row Copied");
|
|
86692
86670
|
}, "handleCopyRow"));
|
|
86693
|
-
__publicField(this, "handleCopyColumn", /* @__PURE__ */ __name((e2, cellWrapper) => {
|
|
86671
|
+
__publicField(this, "handleCopyColumn", /* @__PURE__ */ __name((e2, cellWrapper, selectedRecords) => {
|
|
86694
86672
|
const cellType = cellWrapper.getAttribute("data-test");
|
|
86695
|
-
|
|
86696
|
-
if (!
|
|
86673
|
+
let rowElsToCopy = getAllRows(e2);
|
|
86674
|
+
if (!rowElsToCopy)
|
|
86675
|
+
return;
|
|
86676
|
+
if (selectedRecords) {
|
|
86677
|
+
const ids = selectedRecords.map((e22) => {
|
|
86678
|
+
var _a2;
|
|
86679
|
+
return (_a2 = getIdOrCodeOrIndex(e22)) == null ? void 0 : _a2.toString();
|
|
86680
|
+
});
|
|
86681
|
+
rowElsToCopy = Array.from(rowElsToCopy).filter((rowEl) => {
|
|
86682
|
+
var _a2;
|
|
86683
|
+
const id2 = (_a2 = rowEl.closest(".rt-tr-group")) == null ? void 0 : _a2.getAttribute("data-test-id");
|
|
86684
|
+
return id2 !== void 0 && ids.includes(id2);
|
|
86685
|
+
});
|
|
86686
|
+
}
|
|
86687
|
+
if (!rowElsToCopy)
|
|
86697
86688
|
return;
|
|
86698
86689
|
const textToCopy = lodashExports.map(
|
|
86699
|
-
|
|
86690
|
+
rowElsToCopy,
|
|
86700
86691
|
(rowEl) => this.getRowCopyText(rowEl, { cellType })
|
|
86701
86692
|
).filter((text2) => text2).join("\n");
|
|
86702
86693
|
if (!textToCopy)
|
|
@@ -86737,9 +86728,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
86737
86728
|
return this.getCellCopyText(cellChild);
|
|
86738
86729
|
}).join(" ");
|
|
86739
86730
|
}, "getRowCopyText"));
|
|
86740
|
-
__publicField(this, "handleCopyHelper", /* @__PURE__ */ __name((stringToCopy, message) => {
|
|
86731
|
+
__publicField(this, "handleCopyHelper", /* @__PURE__ */ __name((stringToCopy, objToCopy, message) => {
|
|
86741
86732
|
const copyHandler = /* @__PURE__ */ __name((e2) => {
|
|
86742
86733
|
e2.preventDefault();
|
|
86734
|
+
e2.clipboardData.setData("application/json", JSON.stringify(objToCopy));
|
|
86743
86735
|
e2.clipboardData.setData("text/plain", stringToCopy);
|
|
86744
86736
|
}, "copyHandler");
|
|
86745
86737
|
document.addEventListener("copy", copyHandler);
|
|
@@ -87601,6 +87593,22 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
87601
87593
|
noEllipsis = true;
|
|
87602
87594
|
} else {
|
|
87603
87595
|
if (reduxFormEditingCell === cellId) {
|
|
87596
|
+
if (column.type === "genericSelect") {
|
|
87597
|
+
const GenericSelectComp = column.GenericSelectComp;
|
|
87598
|
+
return /* @__PURE__ */ React$2.createElement(
|
|
87599
|
+
GenericSelectComp,
|
|
87600
|
+
__spreadProps(__spreadValues({
|
|
87601
|
+
rowId,
|
|
87602
|
+
initialValue: text2
|
|
87603
|
+
}, dataTest), {
|
|
87604
|
+
finishEdit: (newVal2, doNotStopEditing) => {
|
|
87605
|
+
this.finishCellEdit(cellId, newVal2, doNotStopEditing);
|
|
87606
|
+
},
|
|
87607
|
+
dataTest,
|
|
87608
|
+
cancelEdit: this.cancelCellEdit
|
|
87609
|
+
})
|
|
87610
|
+
);
|
|
87611
|
+
}
|
|
87604
87612
|
if (column.type === "dropdown" || column.type === "dropdownMulti") {
|
|
87605
87613
|
return /* @__PURE__ */ React$2.createElement(
|
|
87606
87614
|
DropdownCell,
|
|
@@ -87661,7 +87669,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
87661
87669
|
title: title || void 0
|
|
87662
87670
|
}),
|
|
87663
87671
|
val2
|
|
87664
|
-
), isCellEditable && (column.type === "dropdown" || column.type === "dropdownMulti") && /* @__PURE__ */ React$2.createElement(
|
|
87672
|
+
), isCellEditable && (column.type === "dropdown" || column.type === "dropdownMulti" || column.type === "genericSelect") && /* @__PURE__ */ React$2.createElement(
|
|
87665
87673
|
Icon,
|
|
87666
87674
|
{
|
|
87667
87675
|
icon: "caret-down",
|
|
@@ -87804,7 +87812,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
87804
87812
|
const cellNumStr2 = getNumberStrAtEnd(cellVal);
|
|
87805
87813
|
const cellNum2 = Number(cellNumStr2);
|
|
87806
87814
|
const cellTextNoNum = stripNumberAtEnd(cellVal);
|
|
87807
|
-
if (cellNumStr2.startsWith("0")) {
|
|
87815
|
+
if (cellNumStr2 == null ? void 0 : cellNumStr2.startsWith("0")) {
|
|
87808
87816
|
maybePad = cellNumStr2.length;
|
|
87809
87817
|
}
|
|
87810
87818
|
if (cellTextNoNum && !prefix2) {
|
|
@@ -87951,16 +87959,19 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
87951
87959
|
return getIdOrCodeOrIndex(e2, i2) === rowId;
|
|
87952
87960
|
});
|
|
87953
87961
|
const insertIndex = above ? indexToInsert : indexToInsert + 1;
|
|
87954
|
-
|
|
87962
|
+
const insertIndexToUse = appendToBottom ? entities2.length : insertIndex;
|
|
87963
|
+
let { newEnts, validationErrors } = this.formatAndValidateEntities(
|
|
87964
|
+
newEntities,
|
|
87965
|
+
{
|
|
87966
|
+
useDefaultValues: true,
|
|
87967
|
+
indexToStartAt: insertIndexToUse
|
|
87968
|
+
}
|
|
87969
|
+
);
|
|
87955
87970
|
newEnts = newEnts.map((e2) => __spreadProps(__spreadValues({}, e2), {
|
|
87956
87971
|
_isClean: true
|
|
87957
87972
|
}));
|
|
87958
87973
|
this.updateValidation(entities2, __spreadValues(__spreadValues({}, reduxFormCellValidation), validationErrors));
|
|
87959
|
-
entities2.splice(
|
|
87960
|
-
appendToBottom ? entities2.length : insertIndex,
|
|
87961
|
-
0,
|
|
87962
|
-
...newEnts
|
|
87963
|
-
);
|
|
87974
|
+
entities2.splice(insertIndexToUse, 0, ...newEnts);
|
|
87964
87975
|
});
|
|
87965
87976
|
this.refocusTable();
|
|
87966
87977
|
}, "insertRows"));
|
|
@@ -88001,8 +88012,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
88001
88012
|
{
|
|
88002
88013
|
key: "copyCell",
|
|
88003
88014
|
onClick: () => {
|
|
88004
|
-
const text2 = this.getCellCopyText(cellWrapper);
|
|
88005
|
-
this.handleCopyHelper(text2, "Cell copied");
|
|
88015
|
+
const [text2, jsonText] = this.getCellCopyText(cellWrapper);
|
|
88016
|
+
this.handleCopyHelper(text2, jsonText, "Cell copied");
|
|
88006
88017
|
},
|
|
88007
88018
|
text: "Cell"
|
|
88008
88019
|
}
|
|
@@ -88020,6 +88031,20 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
88020
88031
|
}
|
|
88021
88032
|
)
|
|
88022
88033
|
);
|
|
88034
|
+
if (selectedRecords.length > 1) {
|
|
88035
|
+
copyMenuItems.push(
|
|
88036
|
+
/* @__PURE__ */ React$2.createElement(
|
|
88037
|
+
MenuItem,
|
|
88038
|
+
{
|
|
88039
|
+
key: "copyColumnSelected",
|
|
88040
|
+
onClick: () => {
|
|
88041
|
+
this.handleCopyColumn(e2, cellWrapper, selectedRecords);
|
|
88042
|
+
},
|
|
88043
|
+
text: "Column (Selected)"
|
|
88044
|
+
}
|
|
88045
|
+
)
|
|
88046
|
+
);
|
|
88047
|
+
}
|
|
88023
88048
|
}
|
|
88024
88049
|
if (selectedRecords.length === 0 || selectedRecords.length === 1) {
|
|
88025
88050
|
const cell = e2.target.querySelector(".tg-cell-wrapper") || e2.target.closest(".tg-cell-wrapper") || e2.target.closest(".rt-td");
|
|
@@ -89273,7 +89298,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
89273
89298
|
}
|
|
89274
89299
|
__name(getNumberStrAtEnd, "getNumberStrAtEnd");
|
|
89275
89300
|
function stripNumberAtEnd(str) {
|
|
89276
|
-
|
|
89301
|
+
var _a2;
|
|
89302
|
+
return (_a2 = str == null ? void 0 : str.replace) == null ? void 0 : _a2.call(str, getNumberStrAtEnd(str), "");
|
|
89277
89303
|
}
|
|
89278
89304
|
__name(stripNumberAtEnd, "stripNumberAtEnd");
|
|
89279
89305
|
function isEntityClean(e2) {
|
|
@@ -91649,7 +91675,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
91649
91675
|
} = props;
|
|
91650
91676
|
const rerenderKey = reactExports.useRef(0);
|
|
91651
91677
|
rerenderKey.current = rerenderKey.current + 1;
|
|
91652
|
-
const data = userSchema.userData && userSchema.userData.length && userSchema.userData.map((row) => {
|
|
91678
|
+
const data = userSchema.userData && userSchema.userData.length && userSchema.userData.map((row, i2) => {
|
|
91653
91679
|
const toRet = {
|
|
91654
91680
|
_isClean: row._isClean
|
|
91655
91681
|
};
|
|
@@ -91662,7 +91688,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
91662
91688
|
}
|
|
91663
91689
|
if (toRet[path2] === void 0 || toRet[path2] === "") {
|
|
91664
91690
|
if (defaultValue2) {
|
|
91665
|
-
|
|
91691
|
+
if (lodashExports.isFunction(defaultValue2)) {
|
|
91692
|
+
toRet[path2] = defaultValue2(i2, row);
|
|
91693
|
+
} else
|
|
91694
|
+
toRet[path2] = defaultValue2;
|
|
91666
91695
|
} else {
|
|
91667
91696
|
toRet[path2] = "";
|
|
91668
91697
|
}
|
|
@@ -101418,6 +101447,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
101418
101447
|
overflowList,
|
|
101419
101448
|
autoUnzip,
|
|
101420
101449
|
disabled,
|
|
101450
|
+
noBuildCsvOption,
|
|
101421
101451
|
initializeForm,
|
|
101422
101452
|
showFilesCount,
|
|
101423
101453
|
threeDotMenuItems,
|
|
@@ -101596,12 +101626,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
101596
101626
|
subtext: "Includes Upload Instructions and Column Info",
|
|
101597
101627
|
exampleFile: handleDownloadXlsxFile
|
|
101598
101628
|
},
|
|
101599
|
-
|
|
101600
|
-
|
|
101601
|
-
|
|
101602
|
-
|
|
101603
|
-
|
|
101604
|
-
|
|
101629
|
+
...noBuildCsvOption ? [] : [
|
|
101630
|
+
{
|
|
101631
|
+
description: manualEnterMessage,
|
|
101632
|
+
subtext: manualEnterSubMessage,
|
|
101633
|
+
icon: "manually-entered-data",
|
|
101634
|
+
exampleFile: handleManuallyEnterData
|
|
101635
|
+
}
|
|
101636
|
+
]
|
|
101605
101637
|
];
|
|
101606
101638
|
delete a2.exampleFile;
|
|
101607
101639
|
}
|
|
@@ -102050,7 +102082,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
102050
102082
|
},
|
|
102051
102083
|
innerIcon || /* @__PURE__ */ React$2.createElement(Icon, { icon: "upload", iconSize: minimal ? 15 : 30 }),
|
|
102052
102084
|
innerText || (minimal ? "Upload" : "Click or drag to upload"),
|
|
102053
|
-
validateAgainstSchema && /* @__PURE__ */ React$2.createElement(
|
|
102085
|
+
validateAgainstSchema && !noBuildCsvOption && /* @__PURE__ */ React$2.createElement(
|
|
102054
102086
|
"div",
|
|
102055
102087
|
{
|
|
102056
102088
|
style: {
|
|
@@ -107816,7 +107848,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
107816
107848
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
107817
107849
|
const protein_letters = "ACDEFGHIKLMNPQRSTVWY";
|
|
107818
107850
|
const protein_letters_withUandX = "ACDEFGHIKLMNPQRSTVWYUX";
|
|
107819
|
-
const extended_protein_letters = "ACDEFGHIKLMNPQRSTVWYBXZJUO
|
|
107851
|
+
const extended_protein_letters = "ACDEFGHIKLMNPQRSTVWYBXZJUO";
|
|
107820
107852
|
const ambiguous_dna_letters = "GATCRYWSMKHBVDN";
|
|
107821
107853
|
const unambiguous_dna_letters = "GATC";
|
|
107822
107854
|
const ambiguous_rna_letters = "GAUCRYWSMKHBVDN";
|
|
@@ -107872,7 +107904,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
107872
107904
|
Y: "Y",
|
|
107873
107905
|
Z: "QE",
|
|
107874
107906
|
"*": "\\*\\.",
|
|
107875
|
-
".": "
|
|
107907
|
+
".": "\\.",
|
|
107876
107908
|
"-": "\\-"
|
|
107877
107909
|
};
|
|
107878
107910
|
const bioData = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -113979,9 +114011,12 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
113979
114011
|
isRna: isRna2,
|
|
113980
114012
|
isMixedRnaAndDna
|
|
113981
114013
|
} = {}) {
|
|
113982
|
-
return isProtein2 ? {} :
|
|
113983
|
-
//
|
|
113984
|
-
{}
|
|
114014
|
+
return isProtein2 ? {} : (
|
|
114015
|
+
// {".": "*"}
|
|
114016
|
+
isOligo2 ? {} : isRna2 ? { t: "u" } : isMixedRnaAndDna ? {} : (
|
|
114017
|
+
//just plain old dna
|
|
114018
|
+
{}
|
|
114019
|
+
)
|
|
113985
114020
|
);
|
|
113986
114021
|
}
|
|
113987
114022
|
__name(getReplaceChars, "getReplaceChars");
|
|
@@ -114717,7 +114752,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
114717
114752
|
}
|
|
114718
114753
|
__name(arrayRotate, "arrayRotate");
|
|
114719
114754
|
function rotateSequenceDataToPosition(sequenceData2, caretPosition2, options) {
|
|
114720
|
-
const newSequenceData = tidyUpSequenceData(sequenceData2,
|
|
114755
|
+
const newSequenceData = tidyUpSequenceData(sequenceData2, __spreadValues({
|
|
114756
|
+
doNotRemoveInvalidChars: true
|
|
114757
|
+
}, options));
|
|
114721
114758
|
newSequenceData.sequence = rotateBpsToPosition(
|
|
114722
114759
|
newSequenceData.sequence,
|
|
114723
114760
|
caretPosition2
|
|
@@ -114754,7 +114791,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
114754
114791
|
__name(adjustAnnotationsToInsert, "adjustAnnotationsToInsert");
|
|
114755
114792
|
function insertSequenceDataAtPositionOrRange(_sequenceDataToInsert, _existingSequenceData, caretPositionOrRange, options = {}) {
|
|
114756
114793
|
const { maintainOriginSplit } = options;
|
|
114757
|
-
let existingSequenceData = tidyUpSequenceData(_existingSequenceData, options);
|
|
114794
|
+
let existingSequenceData = tidyUpSequenceData(_existingSequenceData, __spreadValues({ doNotRemoveInvalidChars: true }, options));
|
|
114758
114795
|
const sequenceDataToInsert = tidyUpSequenceData(
|
|
114759
114796
|
_sequenceDataToInsert,
|
|
114760
114797
|
options
|
|
@@ -114772,6 +114809,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
114772
114809
|
return acc[type] = [];
|
|
114773
114810
|
}, {})), {
|
|
114774
114811
|
sequence: "",
|
|
114812
|
+
doNotRemoveInvalidChars: true,
|
|
114775
114813
|
proteinSequence: "",
|
|
114776
114814
|
chromatogramData: void 0
|
|
114777
114815
|
}),
|
|
@@ -122802,7 +122840,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
122802
122840
|
if (!range2)
|
|
122803
122841
|
return seqData;
|
|
122804
122842
|
const { exclude = {}, excludePartial = {} } = options;
|
|
122805
|
-
const seqDataToUse = tidyUpSequenceData(seqData, options);
|
|
122843
|
+
const seqDataToUse = tidyUpSequenceData(seqData, __spreadValues({ doNotRemoveInvalidChars: true }, options));
|
|
122806
122844
|
annotationTypes.forEach((type) => {
|
|
122807
122845
|
delete seqDataToUse[`filtered${lodashExports.startCase(type)}`];
|
|
122808
122846
|
});
|
|
@@ -122853,9 +122891,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
122853
122891
|
}
|
|
122854
122892
|
});
|
|
122855
122893
|
});
|
|
122856
|
-
return tidyUpSequenceData(toRet, options);
|
|
122894
|
+
return tidyUpSequenceData(toRet, __spreadValues({ doNotRemoveInvalidChars: true }, options));
|
|
122857
122895
|
}
|
|
122858
|
-
return tidyUpSequenceData(seqDataToReturn, options);
|
|
122896
|
+
return tidyUpSequenceData(seqDataToReturn, __spreadValues({ doNotRemoveInvalidChars: true }, options));
|
|
122859
122897
|
}
|
|
122860
122898
|
__name(getSequenceDataBetweenRange, "getSequenceDataBetweenRange");
|
|
122861
122899
|
function getAnnotationsBetweenRange(annotationsToBeAdjusted, range2, maxLength, shouldExcludePartial) {
|
|
@@ -122902,7 +122940,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
122902
122940
|
const newSeqObj = Object.assign({}, seqObj, {
|
|
122903
122941
|
sequence: getComplementSequenceString(seqObj.sequence, seqObj.isRna)
|
|
122904
122942
|
});
|
|
122905
|
-
return tidyUpSequenceData(newSeqObj, options);
|
|
122943
|
+
return tidyUpSequenceData(newSeqObj, __spreadValues({ doNotRemoveInvalidChars: true }, options));
|
|
122906
122944
|
}
|
|
122907
122945
|
__name(getComplementSequenceAndAnnotations, "getComplementSequenceAndAnnotations");
|
|
122908
122946
|
function getCutsiteType(restrictionEnzyme) {
|
|
@@ -122950,7 +122988,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
122950
122988
|
function getReverseComplementSequenceAndAnnoations(pSeqObj, options = {}) {
|
|
122951
122989
|
const seqObj = tidyUpSequenceData(
|
|
122952
122990
|
getSequenceDataBetweenRange(pSeqObj, options.range),
|
|
122953
|
-
options
|
|
122991
|
+
__spreadValues({ doNotRemoveInvalidChars: true }, options)
|
|
122954
122992
|
);
|
|
122955
122993
|
const newSeqObj = Object.assign(
|
|
122956
122994
|
{},
|
|
@@ -122970,7 +123008,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
122970
123008
|
return acc;
|
|
122971
123009
|
}, {})
|
|
122972
123010
|
);
|
|
122973
|
-
return tidyUpSequenceData(newSeqObj,
|
|
123011
|
+
return tidyUpSequenceData(newSeqObj, __spreadValues({
|
|
123012
|
+
doNotRemoveInvalidChars: true
|
|
123013
|
+
}, options));
|
|
122974
123014
|
}
|
|
122975
123015
|
__name(getReverseComplementSequenceAndAnnoations, "getReverseComplementSequenceAndAnnoations");
|
|
122976
123016
|
function guessIfSequenceIsDnaAndNotProtein(seq, options = {}) {
|
|
@@ -123916,6 +123956,30 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
123916
123956
|
return parsingResultArray;
|
|
123917
123957
|
}
|
|
123918
123958
|
__name(flattenSequenceArray, "flattenSequenceArray");
|
|
123959
|
+
function parseFeatureLocation(locStr, isProtein2, inclusive1BasedStart, inclusive1BasedEnd) {
|
|
123960
|
+
locStr = locStr.trim();
|
|
123961
|
+
const locArr = [];
|
|
123962
|
+
locStr.replace(/(\d+)/g, function(string2, match2) {
|
|
123963
|
+
locArr.push(match2);
|
|
123964
|
+
});
|
|
123965
|
+
const locArray = [];
|
|
123966
|
+
for (let i2 = 0; i2 < locArr.length; i2 += 2) {
|
|
123967
|
+
const start2 = parseInt(locArr[i2], 10) - (inclusive1BasedStart ? 0 : 1);
|
|
123968
|
+
let end2 = parseInt(locArr[i2 + 1], 10) - (inclusive1BasedEnd ? 0 : 1);
|
|
123969
|
+
if (isNaN(end2)) {
|
|
123970
|
+
end2 = start2;
|
|
123971
|
+
}
|
|
123972
|
+
const location2 = {
|
|
123973
|
+
start: start2,
|
|
123974
|
+
end: end2
|
|
123975
|
+
};
|
|
123976
|
+
locArray.push(
|
|
123977
|
+
isProtein2 ? convertAACaretPositionOrRangeToDna(location2) : location2
|
|
123978
|
+
);
|
|
123979
|
+
}
|
|
123980
|
+
return locArray;
|
|
123981
|
+
}
|
|
123982
|
+
__name(parseFeatureLocation, "parseFeatureLocation");
|
|
123919
123983
|
function genbankToJson(string2, options = {}) {
|
|
123920
123984
|
const {
|
|
123921
123985
|
inclusive1BasedStart,
|
|
@@ -124240,7 +124304,15 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
124240
124304
|
}
|
|
124241
124305
|
if (isFeatureLineRunon(line, featureLocationIndentation)) {
|
|
124242
124306
|
if (lastLineWasLocation) {
|
|
124243
|
-
|
|
124307
|
+
const feat = getCurrentFeature();
|
|
124308
|
+
feat.locations = feat.locations.concat(
|
|
124309
|
+
parseFeatureLocation(
|
|
124310
|
+
line.trim(),
|
|
124311
|
+
options.isProtein,
|
|
124312
|
+
inclusive1BasedStart,
|
|
124313
|
+
inclusive1BasedEnd
|
|
124314
|
+
)
|
|
124315
|
+
);
|
|
124244
124316
|
lastLineWasLocation = true;
|
|
124245
124317
|
} else {
|
|
124246
124318
|
if (currentFeatureNote) {
|
|
@@ -124266,7 +124338,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
124266
124338
|
const feat = getCurrentFeature();
|
|
124267
124339
|
feat.type = key2;
|
|
124268
124340
|
feat.strand = strand;
|
|
124269
|
-
|
|
124341
|
+
feat.locations = feat.locations.concat(
|
|
124342
|
+
parseFeatureLocation(
|
|
124343
|
+
val2,
|
|
124344
|
+
options.isProtein,
|
|
124345
|
+
inclusive1BasedStart,
|
|
124346
|
+
inclusive1BasedEnd
|
|
124347
|
+
)
|
|
124348
|
+
);
|
|
124270
124349
|
lastLineWasLocation = true;
|
|
124271
124350
|
}
|
|
124272
124351
|
}
|
|
@@ -124289,29 +124368,6 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
124289
124368
|
return qual;
|
|
124290
124369
|
}
|
|
124291
124370
|
__name(isNote, "isNote");
|
|
124292
|
-
function parseFeatureLocation(locStr, options2) {
|
|
124293
|
-
locStr = locStr.trim();
|
|
124294
|
-
const locArr = [];
|
|
124295
|
-
locStr.replace(/(\d+)/g, function(string22, match2) {
|
|
124296
|
-
locArr.push(match2);
|
|
124297
|
-
});
|
|
124298
|
-
for (let i2 = 0; i2 < locArr.length; i2 += 2) {
|
|
124299
|
-
const start2 = parseInt(locArr[i2], 10) - (inclusive1BasedStart ? 0 : 1);
|
|
124300
|
-
let end2 = parseInt(locArr[i2 + 1], 10) - (inclusive1BasedEnd ? 0 : 1);
|
|
124301
|
-
if (isNaN(end2)) {
|
|
124302
|
-
end2 = start2;
|
|
124303
|
-
}
|
|
124304
|
-
const location2 = {
|
|
124305
|
-
start: start2,
|
|
124306
|
-
end: end2
|
|
124307
|
-
};
|
|
124308
|
-
const feat = getCurrentFeature();
|
|
124309
|
-
feat.locations.push(
|
|
124310
|
-
options2.isProtein ? convertAACaretPositionOrRangeToDna(location2) : location2
|
|
124311
|
-
);
|
|
124312
|
-
}
|
|
124313
|
-
}
|
|
124314
|
-
__name(parseFeatureLocation, "parseFeatureLocation");
|
|
124315
124371
|
function parseFeatureNote(line) {
|
|
124316
124372
|
let newLine;
|
|
124317
124373
|
newLine = line.trimLeft();
|
|
@@ -136565,7 +136621,9 @@ ${seq.sequence}
|
|
|
136565
136621
|
if (track2.isUnmapped) {
|
|
136566
136622
|
return track2;
|
|
136567
136623
|
}
|
|
136568
|
-
const sequenceData2 = tidyUpSequenceData(track2.sequenceData
|
|
136624
|
+
const sequenceData2 = tidyUpSequenceData(track2.sequenceData, {
|
|
136625
|
+
doNotRemoveInvalidChars: true
|
|
136626
|
+
});
|
|
136569
136627
|
const matchHighlightRanges = getRangeMatchesBetweenTemplateAndNonTemplate(
|
|
136570
136628
|
alignmentTracks[0].alignmentData.sequence,
|
|
136571
136629
|
track2.alignmentData.sequence
|
|
@@ -136625,7 +136683,9 @@ ${seq.sequence}
|
|
|
136625
136683
|
const templateSeq = payloadToUse.pairwiseAlignments[0][0];
|
|
136626
136684
|
const pairwiseOverviewAlignmentTracks = [
|
|
136627
136685
|
__spreadProps(__spreadValues({}, templateSeq), {
|
|
136628
|
-
sequenceData: tidyUpSequenceData(templateSeq.sequenceData
|
|
136686
|
+
sequenceData: tidyUpSequenceData(templateSeq.sequenceData, {
|
|
136687
|
+
doNotRemoveInvalidChars: true
|
|
136688
|
+
}),
|
|
136629
136689
|
alignmentData: { sequence: templateSeq.sequenceData.sequence }
|
|
136630
136690
|
//remove the gaps from the template sequence
|
|
136631
136691
|
})
|
|
@@ -136654,7 +136714,9 @@ ${seq.sequence}
|
|
|
136654
136714
|
}));
|
|
136655
136715
|
}
|
|
136656
136716
|
const alignedSeqMinusInserts = __spreadProps(__spreadValues({}, alignedSeq), {
|
|
136657
|
-
sequenceData: __spreadProps(__spreadValues({}, tidyUpSequenceData(alignedSeq.sequenceData
|
|
136717
|
+
sequenceData: __spreadProps(__spreadValues({}, tidyUpSequenceData(alignedSeq.sequenceData, {
|
|
136718
|
+
doNotRemoveInvalidChars: true
|
|
136719
|
+
})), {
|
|
136658
136720
|
sequence: template.sequenceData.sequence
|
|
136659
136721
|
}),
|
|
136660
136722
|
additionalSelectionLayers,
|
|
@@ -140012,7 +140074,7 @@ ${seq.sequence}
|
|
|
140012
140074
|
}
|
|
140013
140075
|
const promiseOrVal = (!readOnly2 || alwaysAllowSave || opts2.isSaveAs) && saveHandler && saveHandler(
|
|
140014
140076
|
opts2,
|
|
140015
|
-
tidyUpSequenceData(sequenceData2, { annotationsAsObjects: true }),
|
|
140077
|
+
tidyUpSequenceData(sequenceData2, { doNotRemoveInvalidChars: true, annotationsAsObjects: true }),
|
|
140016
140078
|
props,
|
|
140017
140079
|
updateLastSavedIdToCurrent
|
|
140018
140080
|
);
|
|
@@ -140612,7 +140674,7 @@ ${seq.sequence}
|
|
|
140612
140674
|
return JSON.stringify(
|
|
140613
140675
|
lodashExports.omit(
|
|
140614
140676
|
cleanUpTeselagenJsonForExport(
|
|
140615
|
-
tidyUpSequenceData(incomingJson, { annotationsAsObjects: false })
|
|
140677
|
+
tidyUpSequenceData(incomingJson, { doNotRemoveInvalidChars: true, annotationsAsObjects: false })
|
|
140616
140678
|
),
|
|
140617
140679
|
[
|
|
140618
140680
|
"sequenceFragments",
|
|
@@ -155074,7 +155136,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
155074
155136
|
}
|
|
155075
155137
|
__name(showFileDialog, "showFileDialog");
|
|
155076
155138
|
const name = "@teselagen/ove";
|
|
155077
|
-
const version = "0.3.
|
|
155139
|
+
const version = "0.3.50";
|
|
155078
155140
|
const main = "./src/index.js";
|
|
155079
155141
|
const exports$1 = {
|
|
155080
155142
|
".": {
|
|
@@ -158204,7 +158266,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
158204
158266
|
}
|
|
158205
158267
|
}
|
|
158206
158268
|
),
|
|
158207
|
-
{ annotationsAsObjects: true }
|
|
158269
|
+
{ doNotRemoveInvalidChars: true, annotationsAsObjects: true }
|
|
158208
158270
|
);
|
|
158209
158271
|
if (!(this.sequenceDataToCopy || {}).textToCopy && !seqData.sequence.length)
|
|
158210
158272
|
return window.toastr.warning(
|
|
@@ -158220,7 +158282,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
158220
158282
|
this.handleDnaDelete(false);
|
|
158221
158283
|
onCut(
|
|
158222
158284
|
e2,
|
|
158223
|
-
tidyUpSequenceData(seqData, { annotationsAsObjects: true }),
|
|
158285
|
+
tidyUpSequenceData(seqData, { doNotRemoveInvalidChars: true, annotationsAsObjects: true }),
|
|
158224
158286
|
this.props
|
|
158225
158287
|
);
|
|
158226
158288
|
document.body.removeEventListener("cut", this.handleCut);
|