@teselagen/ui 0.3.23 → 0.3.24
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 +40 -63
- package/index.es.js +40 -63
- package/package.json +1 -1
- package/src/UploadCsvWizard.js +1 -1
- package/src/showConfirmationDialog/index.js +3 -1
package/index.cjs.js
CHANGED
|
@@ -7422,7 +7422,7 @@ function getPlainObjectKeys(object) {
|
|
|
7422
7422
|
var ownKeys$3 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownKeys : hasGetOwnPropertySymbols ? function (obj) {
|
|
7423
7423
|
return Object.getOwnPropertyNames(obj).concat(Object.getOwnPropertySymbols(obj));
|
|
7424
7424
|
} : /* istanbul ignore next */Object.getOwnPropertyNames;
|
|
7425
|
-
function toPrimitive$
|
|
7425
|
+
function toPrimitive$3(value) {
|
|
7426
7426
|
return value === null ? null : typeof value === "object" ? "" + value : value;
|
|
7427
7427
|
}
|
|
7428
7428
|
function hasProp(target, prop) {
|
|
@@ -8351,7 +8351,7 @@ var ObservableValue = /*#__PURE__*/function (_Atom) {
|
|
|
8351
8351
|
return this.name_ + "[" + this.value_ + "]";
|
|
8352
8352
|
};
|
|
8353
8353
|
_proto.valueOf = function valueOf() {
|
|
8354
|
-
return toPrimitive$
|
|
8354
|
+
return toPrimitive$3(this.get());
|
|
8355
8355
|
};
|
|
8356
8356
|
_proto[_Symbol$toPrimitive] = function () {
|
|
8357
8357
|
return this.valueOf();
|
|
@@ -8579,7 +8579,7 @@ var ComputedValue = /*#__PURE__*/function () {
|
|
|
8579
8579
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
8580
8580
|
};
|
|
8581
8581
|
_proto.valueOf = function valueOf() {
|
|
8582
|
-
return toPrimitive$
|
|
8582
|
+
return toPrimitive$3(this.get());
|
|
8583
8583
|
};
|
|
8584
8584
|
_proto[_Symbol$toPrimitive$1] = function () {
|
|
8585
8585
|
return this.valueOf();
|
|
@@ -30331,18 +30331,10 @@ var _fails = function (exec) {
|
|
|
30331
30331
|
}
|
|
30332
30332
|
};
|
|
30333
30333
|
|
|
30334
|
-
|
|
30335
|
-
var
|
|
30336
|
-
|
|
30337
|
-
|
|
30338
|
-
if (hasRequired_descriptors) return _descriptors;
|
|
30339
|
-
hasRequired_descriptors = 1;
|
|
30340
|
-
// Thank's IE8 for his funny defineProperty
|
|
30341
|
-
_descriptors = !_fails(function () {
|
|
30342
|
-
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
30343
|
-
});
|
|
30344
|
-
return _descriptors;
|
|
30345
|
-
}
|
|
30334
|
+
// Thank's IE8 for his funny defineProperty
|
|
30335
|
+
var _descriptors = !_fails(function () {
|
|
30336
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
30337
|
+
});
|
|
30346
30338
|
|
|
30347
30339
|
var _domCreate;
|
|
30348
30340
|
var hasRequired_domCreate;
|
|
@@ -30360,17 +30352,9 @@ function require_domCreate () {
|
|
|
30360
30352
|
return _domCreate;
|
|
30361
30353
|
}
|
|
30362
30354
|
|
|
30363
|
-
var _ie8DomDefine
|
|
30364
|
-
|
|
30365
|
-
|
|
30366
|
-
function require_ie8DomDefine () {
|
|
30367
|
-
if (hasRequired_ie8DomDefine) return _ie8DomDefine;
|
|
30368
|
-
hasRequired_ie8DomDefine = 1;
|
|
30369
|
-
_ie8DomDefine = !require_descriptors() && !_fails(function () {
|
|
30370
|
-
return Object.defineProperty(require_domCreate()('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
30371
|
-
});
|
|
30372
|
-
return _ie8DomDefine;
|
|
30373
|
-
}
|
|
30355
|
+
var _ie8DomDefine = !_descriptors && !_fails(function () {
|
|
30356
|
+
return Object.defineProperty(require_domCreate()('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
30357
|
+
});
|
|
30374
30358
|
|
|
30375
30359
|
// 7.1.1 ToPrimitive(input [, PreferredType])
|
|
30376
30360
|
var isObject$d = _isObject;
|
|
@@ -30385,29 +30369,22 @@ var _toPrimitive = function (it, S) {
|
|
|
30385
30369
|
throw TypeError("Can't convert object to primitive value");
|
|
30386
30370
|
};
|
|
30387
30371
|
|
|
30388
|
-
var
|
|
30372
|
+
var anObject$5 = _anObject;
|
|
30373
|
+
var IE8_DOM_DEFINE$1 = _ie8DomDefine;
|
|
30374
|
+
var toPrimitive$2 = _toPrimitive;
|
|
30375
|
+
var dP$3 = Object.defineProperty;
|
|
30389
30376
|
|
|
30390
|
-
function
|
|
30391
|
-
|
|
30392
|
-
|
|
30393
|
-
|
|
30394
|
-
|
|
30395
|
-
|
|
30396
|
-
|
|
30397
|
-
|
|
30398
|
-
|
|
30399
|
-
|
|
30400
|
-
|
|
30401
|
-
anObject(Attributes);
|
|
30402
|
-
if (IE8_DOM_DEFINE) try {
|
|
30403
|
-
return dP(O, P, Attributes);
|
|
30404
|
-
} catch (e) { /* empty */ }
|
|
30405
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
30406
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
30407
|
-
return O;
|
|
30408
|
-
};
|
|
30409
|
-
return _objectDp;
|
|
30410
|
-
}
|
|
30377
|
+
_objectDp.f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
30378
|
+
anObject$5(O);
|
|
30379
|
+
P = toPrimitive$2(P, true);
|
|
30380
|
+
anObject$5(Attributes);
|
|
30381
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
30382
|
+
return dP$3(O, P, Attributes);
|
|
30383
|
+
} catch (e) { /* empty */ }
|
|
30384
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
30385
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
30386
|
+
return O;
|
|
30387
|
+
};
|
|
30411
30388
|
|
|
30412
30389
|
var _propertyDesc = function (bitmap, value) {
|
|
30413
30390
|
return {
|
|
@@ -30418,9 +30395,9 @@ var _propertyDesc = function (bitmap, value) {
|
|
|
30418
30395
|
};
|
|
30419
30396
|
};
|
|
30420
30397
|
|
|
30421
|
-
var dP$2 =
|
|
30398
|
+
var dP$2 = _objectDp;
|
|
30422
30399
|
var createDesc$3 = _propertyDesc;
|
|
30423
|
-
var _hide =
|
|
30400
|
+
var _hide = _descriptors ? function (object, key, value) {
|
|
30424
30401
|
return dP$2.f(object, key, createDesc$3(1, value));
|
|
30425
30402
|
} : function (object, key, value) {
|
|
30426
30403
|
object[key] = value;
|
|
@@ -30665,7 +30642,7 @@ function require_objectAssign () {
|
|
|
30665
30642
|
if (hasRequired_objectAssign) return _objectAssign;
|
|
30666
30643
|
hasRequired_objectAssign = 1;
|
|
30667
30644
|
// 19.1.2.1 Object.assign(target, source, ...)
|
|
30668
|
-
var DESCRIPTORS =
|
|
30645
|
+
var DESCRIPTORS = _descriptors;
|
|
30669
30646
|
var getKeys = _objectKeys;
|
|
30670
30647
|
var gOPS = _objectGops;
|
|
30671
30648
|
var pIE = require_objectPie();
|
|
@@ -30741,11 +30718,11 @@ var _iterators = {};
|
|
|
30741
30718
|
|
|
30742
30719
|
var _redefine = _hide;
|
|
30743
30720
|
|
|
30744
|
-
var dP$1 =
|
|
30721
|
+
var dP$1 = _objectDp;
|
|
30745
30722
|
var anObject$4 = _anObject;
|
|
30746
30723
|
var getKeys$1 = _objectKeys;
|
|
30747
30724
|
|
|
30748
|
-
var _objectDps =
|
|
30725
|
+
var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
30749
30726
|
anObject$4(O);
|
|
30750
30727
|
var keys = getKeys$1(Properties);
|
|
30751
30728
|
var length = keys.length;
|
|
@@ -30824,7 +30801,7 @@ $exports.store = store;
|
|
|
30824
30801
|
|
|
30825
30802
|
var _wksExports = _wks.exports;
|
|
30826
30803
|
|
|
30827
|
-
var def =
|
|
30804
|
+
var def = _objectDp.f;
|
|
30828
30805
|
var has$9 = _has;
|
|
30829
30806
|
var TAG$1 = _wksExports('toStringTag');
|
|
30830
30807
|
|
|
@@ -31138,7 +31115,7 @@ var _isArrayIter = function (it) {
|
|
|
31138
31115
|
return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
31139
31116
|
};
|
|
31140
31117
|
|
|
31141
|
-
var $defineProperty$1 =
|
|
31118
|
+
var $defineProperty$1 = _objectDp;
|
|
31142
31119
|
var createDesc$2 = _propertyDesc;
|
|
31143
31120
|
|
|
31144
31121
|
var _createProperty = function (object, index, value) {
|
|
@@ -31271,7 +31248,7 @@ var _default$8 = function (instance, Constructor) {
|
|
|
31271
31248
|
|
|
31272
31249
|
var $export$3 = _export;
|
|
31273
31250
|
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
|
31274
|
-
$export$3($export$3.S + $export$3.F * !
|
|
31251
|
+
$export$3($export$3.S + $export$3.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
|
|
31275
31252
|
|
|
31276
31253
|
var $Object$2 = _coreExports.Object;
|
|
31277
31254
|
var defineProperty$9 = function defineProperty(it, key, desc) {
|
|
@@ -31319,7 +31296,7 @@ var _meta = {exports: {}};
|
|
|
31319
31296
|
var META$1 = _uid('meta');
|
|
31320
31297
|
var isObject$c = _isObject;
|
|
31321
31298
|
var has$7 = _has;
|
|
31322
|
-
var setDesc =
|
|
31299
|
+
var setDesc = _objectDp.f;
|
|
31323
31300
|
var id = 0;
|
|
31324
31301
|
var isExtensible = Object.isExtensible || function () {
|
|
31325
31302
|
return true;
|
|
@@ -31374,7 +31351,7 @@ var _metaExports = _meta.exports;
|
|
|
31374
31351
|
|
|
31375
31352
|
var core = _coreExports;
|
|
31376
31353
|
var wksExt$1 = _wksExt;
|
|
31377
|
-
var defineProperty$7 =
|
|
31354
|
+
var defineProperty$7 = _objectDp.f;
|
|
31378
31355
|
var _wksDefine = function (name) {
|
|
31379
31356
|
var $Symbol = core.Symbol || (core.Symbol = {} );
|
|
31380
31357
|
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty$7($Symbol, name, { value: wksExt$1.f(name) });
|
|
@@ -31441,10 +31418,10 @@ var createDesc$1 = _propertyDesc;
|
|
|
31441
31418
|
var toIObject$1 = _toIobject;
|
|
31442
31419
|
var toPrimitive$1 = _toPrimitive;
|
|
31443
31420
|
var has$6 = _has;
|
|
31444
|
-
var IE8_DOM_DEFINE =
|
|
31421
|
+
var IE8_DOM_DEFINE = _ie8DomDefine;
|
|
31445
31422
|
var gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
31446
31423
|
|
|
31447
|
-
_objectGopd.f =
|
|
31424
|
+
_objectGopd.f = _descriptors ? gOPD$2 : function getOwnPropertyDescriptor(O, P) {
|
|
31448
31425
|
O = toIObject$1(O);
|
|
31449
31426
|
P = toPrimitive$1(P, true);
|
|
31450
31427
|
if (IE8_DOM_DEFINE) try {
|
|
@@ -31456,7 +31433,7 @@ _objectGopd.f = require_descriptors() ? gOPD$2 : function getOwnPropertyDescript
|
|
|
31456
31433
|
// ECMAScript 6 symbols shim
|
|
31457
31434
|
var global$1 = _globalExports;
|
|
31458
31435
|
var has$5 = _has;
|
|
31459
|
-
var DESCRIPTORS =
|
|
31436
|
+
var DESCRIPTORS = _descriptors;
|
|
31460
31437
|
var $export$2 = _export;
|
|
31461
31438
|
var redefine = _redefine;
|
|
31462
31439
|
var META = _metaExports.KEY;
|
|
@@ -31479,7 +31456,7 @@ var _create$1 = _objectCreate;
|
|
|
31479
31456
|
var gOPNExt = _objectGopnExt;
|
|
31480
31457
|
var $GOPD = _objectGopd;
|
|
31481
31458
|
var $GOPS = _objectGops;
|
|
31482
|
-
var $DP =
|
|
31459
|
+
var $DP = _objectDp;
|
|
31483
31460
|
var $keys$1 = _objectKeys;
|
|
31484
31461
|
var gOPD$1 = $GOPD.f;
|
|
31485
31462
|
var dP = $DP.f;
|
|
@@ -89713,7 +89690,7 @@ class AlertWrapper extends React$1.Component {
|
|
|
89713
89690
|
{
|
|
89714
89691
|
...{
|
|
89715
89692
|
onBackClick: cancelButtonText && !noCancelButton ? () => doClose(false) : void 0,
|
|
89716
|
-
onClick: () => doClose(true),
|
|
89693
|
+
onClick: handleSubmit ? handleSubmit((v) => doClose(v)) : () => doClose(true),
|
|
89717
89694
|
noCancel: true,
|
|
89718
89695
|
additionalButtons: thirdButtonText || fourthButtonText ? /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, !!fourthButtonText && /* @__PURE__ */ React$1.createElement(
|
|
89719
89696
|
core$5.Button,
|
package/index.es.js
CHANGED
|
@@ -7401,7 +7401,7 @@ function getPlainObjectKeys(object) {
|
|
|
7401
7401
|
var ownKeys$3 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownKeys : hasGetOwnPropertySymbols ? function (obj) {
|
|
7402
7402
|
return Object.getOwnPropertyNames(obj).concat(Object.getOwnPropertySymbols(obj));
|
|
7403
7403
|
} : /* istanbul ignore next */Object.getOwnPropertyNames;
|
|
7404
|
-
function toPrimitive$
|
|
7404
|
+
function toPrimitive$3(value) {
|
|
7405
7405
|
return value === null ? null : typeof value === "object" ? "" + value : value;
|
|
7406
7406
|
}
|
|
7407
7407
|
function hasProp(target, prop) {
|
|
@@ -8330,7 +8330,7 @@ var ObservableValue = /*#__PURE__*/function (_Atom) {
|
|
|
8330
8330
|
return this.name_ + "[" + this.value_ + "]";
|
|
8331
8331
|
};
|
|
8332
8332
|
_proto.valueOf = function valueOf() {
|
|
8333
|
-
return toPrimitive$
|
|
8333
|
+
return toPrimitive$3(this.get());
|
|
8334
8334
|
};
|
|
8335
8335
|
_proto[_Symbol$toPrimitive] = function () {
|
|
8336
8336
|
return this.valueOf();
|
|
@@ -8558,7 +8558,7 @@ var ComputedValue = /*#__PURE__*/function () {
|
|
|
8558
8558
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
8559
8559
|
};
|
|
8560
8560
|
_proto.valueOf = function valueOf() {
|
|
8561
|
-
return toPrimitive$
|
|
8561
|
+
return toPrimitive$3(this.get());
|
|
8562
8562
|
};
|
|
8563
8563
|
_proto[_Symbol$toPrimitive$1] = function () {
|
|
8564
8564
|
return this.valueOf();
|
|
@@ -30310,18 +30310,10 @@ var _fails = function (exec) {
|
|
|
30310
30310
|
}
|
|
30311
30311
|
};
|
|
30312
30312
|
|
|
30313
|
-
|
|
30314
|
-
var
|
|
30315
|
-
|
|
30316
|
-
|
|
30317
|
-
if (hasRequired_descriptors) return _descriptors;
|
|
30318
|
-
hasRequired_descriptors = 1;
|
|
30319
|
-
// Thank's IE8 for his funny defineProperty
|
|
30320
|
-
_descriptors = !_fails(function () {
|
|
30321
|
-
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
30322
|
-
});
|
|
30323
|
-
return _descriptors;
|
|
30324
|
-
}
|
|
30313
|
+
// Thank's IE8 for his funny defineProperty
|
|
30314
|
+
var _descriptors = !_fails(function () {
|
|
30315
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
30316
|
+
});
|
|
30325
30317
|
|
|
30326
30318
|
var _domCreate;
|
|
30327
30319
|
var hasRequired_domCreate;
|
|
@@ -30339,17 +30331,9 @@ function require_domCreate () {
|
|
|
30339
30331
|
return _domCreate;
|
|
30340
30332
|
}
|
|
30341
30333
|
|
|
30342
|
-
var _ie8DomDefine
|
|
30343
|
-
|
|
30344
|
-
|
|
30345
|
-
function require_ie8DomDefine () {
|
|
30346
|
-
if (hasRequired_ie8DomDefine) return _ie8DomDefine;
|
|
30347
|
-
hasRequired_ie8DomDefine = 1;
|
|
30348
|
-
_ie8DomDefine = !require_descriptors() && !_fails(function () {
|
|
30349
|
-
return Object.defineProperty(require_domCreate()('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
30350
|
-
});
|
|
30351
|
-
return _ie8DomDefine;
|
|
30352
|
-
}
|
|
30334
|
+
var _ie8DomDefine = !_descriptors && !_fails(function () {
|
|
30335
|
+
return Object.defineProperty(require_domCreate()('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
30336
|
+
});
|
|
30353
30337
|
|
|
30354
30338
|
// 7.1.1 ToPrimitive(input [, PreferredType])
|
|
30355
30339
|
var isObject$d = _isObject;
|
|
@@ -30364,29 +30348,22 @@ var _toPrimitive = function (it, S) {
|
|
|
30364
30348
|
throw TypeError("Can't convert object to primitive value");
|
|
30365
30349
|
};
|
|
30366
30350
|
|
|
30367
|
-
var
|
|
30351
|
+
var anObject$5 = _anObject;
|
|
30352
|
+
var IE8_DOM_DEFINE$1 = _ie8DomDefine;
|
|
30353
|
+
var toPrimitive$2 = _toPrimitive;
|
|
30354
|
+
var dP$3 = Object.defineProperty;
|
|
30368
30355
|
|
|
30369
|
-
function
|
|
30370
|
-
|
|
30371
|
-
|
|
30372
|
-
|
|
30373
|
-
|
|
30374
|
-
|
|
30375
|
-
|
|
30376
|
-
|
|
30377
|
-
|
|
30378
|
-
|
|
30379
|
-
|
|
30380
|
-
anObject(Attributes);
|
|
30381
|
-
if (IE8_DOM_DEFINE) try {
|
|
30382
|
-
return dP(O, P, Attributes);
|
|
30383
|
-
} catch (e) { /* empty */ }
|
|
30384
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
30385
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
30386
|
-
return O;
|
|
30387
|
-
};
|
|
30388
|
-
return _objectDp;
|
|
30389
|
-
}
|
|
30356
|
+
_objectDp.f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
30357
|
+
anObject$5(O);
|
|
30358
|
+
P = toPrimitive$2(P, true);
|
|
30359
|
+
anObject$5(Attributes);
|
|
30360
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
30361
|
+
return dP$3(O, P, Attributes);
|
|
30362
|
+
} catch (e) { /* empty */ }
|
|
30363
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
30364
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
30365
|
+
return O;
|
|
30366
|
+
};
|
|
30390
30367
|
|
|
30391
30368
|
var _propertyDesc = function (bitmap, value) {
|
|
30392
30369
|
return {
|
|
@@ -30397,9 +30374,9 @@ var _propertyDesc = function (bitmap, value) {
|
|
|
30397
30374
|
};
|
|
30398
30375
|
};
|
|
30399
30376
|
|
|
30400
|
-
var dP$2 =
|
|
30377
|
+
var dP$2 = _objectDp;
|
|
30401
30378
|
var createDesc$3 = _propertyDesc;
|
|
30402
|
-
var _hide =
|
|
30379
|
+
var _hide = _descriptors ? function (object, key, value) {
|
|
30403
30380
|
return dP$2.f(object, key, createDesc$3(1, value));
|
|
30404
30381
|
} : function (object, key, value) {
|
|
30405
30382
|
object[key] = value;
|
|
@@ -30644,7 +30621,7 @@ function require_objectAssign () {
|
|
|
30644
30621
|
if (hasRequired_objectAssign) return _objectAssign;
|
|
30645
30622
|
hasRequired_objectAssign = 1;
|
|
30646
30623
|
// 19.1.2.1 Object.assign(target, source, ...)
|
|
30647
|
-
var DESCRIPTORS =
|
|
30624
|
+
var DESCRIPTORS = _descriptors;
|
|
30648
30625
|
var getKeys = _objectKeys;
|
|
30649
30626
|
var gOPS = _objectGops;
|
|
30650
30627
|
var pIE = require_objectPie();
|
|
@@ -30720,11 +30697,11 @@ var _iterators = {};
|
|
|
30720
30697
|
|
|
30721
30698
|
var _redefine = _hide;
|
|
30722
30699
|
|
|
30723
|
-
var dP$1 =
|
|
30700
|
+
var dP$1 = _objectDp;
|
|
30724
30701
|
var anObject$4 = _anObject;
|
|
30725
30702
|
var getKeys$1 = _objectKeys;
|
|
30726
30703
|
|
|
30727
|
-
var _objectDps =
|
|
30704
|
+
var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
30728
30705
|
anObject$4(O);
|
|
30729
30706
|
var keys = getKeys$1(Properties);
|
|
30730
30707
|
var length = keys.length;
|
|
@@ -30803,7 +30780,7 @@ $exports.store = store;
|
|
|
30803
30780
|
|
|
30804
30781
|
var _wksExports = _wks.exports;
|
|
30805
30782
|
|
|
30806
|
-
var def =
|
|
30783
|
+
var def = _objectDp.f;
|
|
30807
30784
|
var has$9 = _has;
|
|
30808
30785
|
var TAG$1 = _wksExports('toStringTag');
|
|
30809
30786
|
|
|
@@ -31117,7 +31094,7 @@ var _isArrayIter = function (it) {
|
|
|
31117
31094
|
return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
31118
31095
|
};
|
|
31119
31096
|
|
|
31120
|
-
var $defineProperty$1 =
|
|
31097
|
+
var $defineProperty$1 = _objectDp;
|
|
31121
31098
|
var createDesc$2 = _propertyDesc;
|
|
31122
31099
|
|
|
31123
31100
|
var _createProperty = function (object, index, value) {
|
|
@@ -31250,7 +31227,7 @@ var _default$8 = function (instance, Constructor) {
|
|
|
31250
31227
|
|
|
31251
31228
|
var $export$3 = _export;
|
|
31252
31229
|
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
|
31253
|
-
$export$3($export$3.S + $export$3.F * !
|
|
31230
|
+
$export$3($export$3.S + $export$3.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
|
|
31254
31231
|
|
|
31255
31232
|
var $Object$2 = _coreExports.Object;
|
|
31256
31233
|
var defineProperty$9 = function defineProperty(it, key, desc) {
|
|
@@ -31298,7 +31275,7 @@ var _meta = {exports: {}};
|
|
|
31298
31275
|
var META$1 = _uid('meta');
|
|
31299
31276
|
var isObject$c = _isObject;
|
|
31300
31277
|
var has$7 = _has;
|
|
31301
|
-
var setDesc =
|
|
31278
|
+
var setDesc = _objectDp.f;
|
|
31302
31279
|
var id = 0;
|
|
31303
31280
|
var isExtensible = Object.isExtensible || function () {
|
|
31304
31281
|
return true;
|
|
@@ -31353,7 +31330,7 @@ var _metaExports = _meta.exports;
|
|
|
31353
31330
|
|
|
31354
31331
|
var core = _coreExports;
|
|
31355
31332
|
var wksExt$1 = _wksExt;
|
|
31356
|
-
var defineProperty$7 =
|
|
31333
|
+
var defineProperty$7 = _objectDp.f;
|
|
31357
31334
|
var _wksDefine = function (name) {
|
|
31358
31335
|
var $Symbol = core.Symbol || (core.Symbol = {} );
|
|
31359
31336
|
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty$7($Symbol, name, { value: wksExt$1.f(name) });
|
|
@@ -31420,10 +31397,10 @@ var createDesc$1 = _propertyDesc;
|
|
|
31420
31397
|
var toIObject$1 = _toIobject;
|
|
31421
31398
|
var toPrimitive$1 = _toPrimitive;
|
|
31422
31399
|
var has$6 = _has;
|
|
31423
|
-
var IE8_DOM_DEFINE =
|
|
31400
|
+
var IE8_DOM_DEFINE = _ie8DomDefine;
|
|
31424
31401
|
var gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
31425
31402
|
|
|
31426
|
-
_objectGopd.f =
|
|
31403
|
+
_objectGopd.f = _descriptors ? gOPD$2 : function getOwnPropertyDescriptor(O, P) {
|
|
31427
31404
|
O = toIObject$1(O);
|
|
31428
31405
|
P = toPrimitive$1(P, true);
|
|
31429
31406
|
if (IE8_DOM_DEFINE) try {
|
|
@@ -31435,7 +31412,7 @@ _objectGopd.f = require_descriptors() ? gOPD$2 : function getOwnPropertyDescript
|
|
|
31435
31412
|
// ECMAScript 6 symbols shim
|
|
31436
31413
|
var global$1 = _globalExports;
|
|
31437
31414
|
var has$5 = _has;
|
|
31438
|
-
var DESCRIPTORS =
|
|
31415
|
+
var DESCRIPTORS = _descriptors;
|
|
31439
31416
|
var $export$2 = _export;
|
|
31440
31417
|
var redefine = _redefine;
|
|
31441
31418
|
var META = _metaExports.KEY;
|
|
@@ -31458,7 +31435,7 @@ var _create$1 = _objectCreate;
|
|
|
31458
31435
|
var gOPNExt = _objectGopnExt;
|
|
31459
31436
|
var $GOPD = _objectGopd;
|
|
31460
31437
|
var $GOPS = _objectGops;
|
|
31461
|
-
var $DP =
|
|
31438
|
+
var $DP = _objectDp;
|
|
31462
31439
|
var $keys$1 = _objectKeys;
|
|
31463
31440
|
var gOPD$1 = $GOPD.f;
|
|
31464
31441
|
var dP = $DP.f;
|
|
@@ -89692,7 +89669,7 @@ class AlertWrapper extends Component {
|
|
|
89692
89669
|
{
|
|
89693
89670
|
...{
|
|
89694
89671
|
onBackClick: cancelButtonText && !noCancelButton ? () => doClose(false) : void 0,
|
|
89695
|
-
onClick: () => doClose(true),
|
|
89672
|
+
onClick: handleSubmit ? handleSubmit((v) => doClose(v)) : () => doClose(true),
|
|
89696
89673
|
noCancel: true,
|
|
89697
89674
|
additionalButtons: thirdButtonText || fourthButtonText ? /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, !!fourthButtonText && /* @__PURE__ */ React__default.createElement(
|
|
89698
89675
|
Button,
|
package/package.json
CHANGED
package/src/UploadCsvWizard.js
CHANGED
|
@@ -655,7 +655,7 @@ export const SimpleInsertDataDialog = compose(
|
|
|
655
655
|
</div>
|
|
656
656
|
<DialogFooter
|
|
657
657
|
submitting={submitting}
|
|
658
|
-
onClick={handleSubmit(async ({fileName}) => {
|
|
658
|
+
onClick={handleSubmit(async ({ fileName }) => {
|
|
659
659
|
if (some(validationToUse, e => e)) return;
|
|
660
660
|
//do async validation here if needed
|
|
661
661
|
if (
|
|
@@ -89,7 +89,9 @@ export class AlertWrapper extends Component {
|
|
|
89
89
|
cancelButtonText && !noCancelButton
|
|
90
90
|
? () => doClose(false)
|
|
91
91
|
: undefined,
|
|
92
|
-
onClick:
|
|
92
|
+
onClick: handleSubmit
|
|
93
|
+
? handleSubmit(v => doClose(v))
|
|
94
|
+
: () => doClose(true),
|
|
93
95
|
noCancel: true,
|
|
94
96
|
additionalButtons:
|
|
95
97
|
thirdButtonText || fourthButtonText ? (
|