@teselagen/ui 0.3.8 → 0.3.10

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.js CHANGED
@@ -30475,12 +30475,20 @@ var _cof = function (it) {
30475
30475
  return toString$6.call(it).slice(8, -1);
30476
30476
  };
30477
30477
 
30478
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
30479
- var cof$2 = _cof;
30480
- // eslint-disable-next-line no-prototype-builtins
30481
- var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
30482
- return cof$2(it) == 'String' ? it.split('') : Object(it);
30483
- };
30478
+ var _iobject;
30479
+ var hasRequired_iobject;
30480
+
30481
+ function require_iobject () {
30482
+ if (hasRequired_iobject) return _iobject;
30483
+ hasRequired_iobject = 1;
30484
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
30485
+ var cof = _cof;
30486
+ // eslint-disable-next-line no-prototype-builtins
30487
+ _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
30488
+ return cof(it) == 'String' ? it.split('') : Object(it);
30489
+ };
30490
+ return _iobject;
30491
+ }
30484
30492
 
30485
30493
  // 7.2.1 RequireObjectCoercible(argument)
30486
30494
  var _defined = function (it) {
@@ -30489,7 +30497,7 @@ var _defined = function (it) {
30489
30497
  };
30490
30498
 
30491
30499
  // to indexed object, toObject with fallback for non-array-like ES3 strings
30492
- var IObject = _iobject;
30500
+ var IObject = require_iobject();
30493
30501
  var defined$2 = _defined;
30494
30502
  var _toIobject = function (it) {
30495
30503
  return IObject(defined$2(it));
@@ -30636,7 +30644,7 @@ function require_objectAssign () {
30636
30644
  var gOPS = _objectGops;
30637
30645
  var pIE = require_objectPie();
30638
30646
  var toObject = _toObject;
30639
- var IObject = _iobject;
30647
+ var IObject = require_iobject();
30640
30648
  var $assign = Object.assign;
30641
30649
 
30642
30650
  // should work with symbols and should have deterministic property order (V8 bug)
@@ -100359,9 +100367,10 @@ function UploaderInner({
100359
100367
  }, 200);
100360
100368
  }
100361
100369
  }
100370
+ } else {
100371
+ toKeep.push(...cleanedAccepted);
100362
100372
  }
100363
100373
  if (toKeep.length === 0) {
100364
- console.log(`asdfasdfas`);
100365
100374
  window.toastr && window.toastr.error(
100366
100375
  `It looks like there wasn't any data in your file. Please add some data and try again`
100367
100376
  );
package/index.mjs CHANGED
@@ -30454,12 +30454,20 @@ var _cof = function (it) {
30454
30454
  return toString$6.call(it).slice(8, -1);
30455
30455
  };
30456
30456
 
30457
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
30458
- var cof$2 = _cof;
30459
- // eslint-disable-next-line no-prototype-builtins
30460
- var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
30461
- return cof$2(it) == 'String' ? it.split('') : Object(it);
30462
- };
30457
+ var _iobject;
30458
+ var hasRequired_iobject;
30459
+
30460
+ function require_iobject () {
30461
+ if (hasRequired_iobject) return _iobject;
30462
+ hasRequired_iobject = 1;
30463
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
30464
+ var cof = _cof;
30465
+ // eslint-disable-next-line no-prototype-builtins
30466
+ _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
30467
+ return cof(it) == 'String' ? it.split('') : Object(it);
30468
+ };
30469
+ return _iobject;
30470
+ }
30463
30471
 
30464
30472
  // 7.2.1 RequireObjectCoercible(argument)
30465
30473
  var _defined = function (it) {
@@ -30468,7 +30476,7 @@ var _defined = function (it) {
30468
30476
  };
30469
30477
 
30470
30478
  // to indexed object, toObject with fallback for non-array-like ES3 strings
30471
- var IObject = _iobject;
30479
+ var IObject = require_iobject();
30472
30480
  var defined$2 = _defined;
30473
30481
  var _toIobject = function (it) {
30474
30482
  return IObject(defined$2(it));
@@ -30615,7 +30623,7 @@ function require_objectAssign () {
30615
30623
  var gOPS = _objectGops;
30616
30624
  var pIE = require_objectPie();
30617
30625
  var toObject = _toObject;
30618
- var IObject = _iobject;
30626
+ var IObject = require_iobject();
30619
30627
  var $assign = Object.assign;
30620
30628
 
30621
30629
  // should work with symbols and should have deterministic property order (V8 bug)
@@ -100338,9 +100346,10 @@ function UploaderInner({
100338
100346
  }, 200);
100339
100347
  }
100340
100348
  }
100349
+ } else {
100350
+ toKeep.push(...cleanedAccepted);
100341
100351
  }
100342
100352
  if (toKeep.length === 0) {
100343
- console.log(`asdfasdfas`);
100344
100353
  window.toastr && window.toastr.error(
100345
100354
  `It looks like there wasn't any data in your file. Please add some data and try again`
100346
100355
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ui",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "main": "./src/index.js",
5
5
  "dependencies": {
6
6
  "@teselagen/file-utils": "0.3.9",
@@ -892,10 +892,11 @@ function UploaderInner({
892
892
  }, 200);
893
893
  }
894
894
  }
895
+ } else {
896
+ toKeep.push(...cleanedAccepted);
895
897
  }
896
898
 
897
899
  if (toKeep.length === 0) {
898
- console.log(`asdfasdfas`);
899
900
  window.toastr &&
900
901
  window.toastr.error(
901
902
  `It looks like there wasn't any data in your file. Please add some data and try again`