@teselagen/ui 0.3.9 → 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));
@@ -30596,11 +30604,11 @@ var _enumBugKeys = (
30596
30604
  ).split(',');
30597
30605
 
30598
30606
  // 19.1.2.14 / 15.2.3.14 Object.keys(O)
30599
- var $keys$2 = _objectKeysInternal;
30607
+ var $keys$3 = _objectKeysInternal;
30600
30608
  var enumBugKeys = _enumBugKeys;
30601
30609
 
30602
30610
  var _objectKeys = Object.keys || function keys(O) {
30603
- return $keys$2(O, enumBugKeys);
30611
+ return $keys$3(O, enumBugKeys);
30604
30612
  };
30605
30613
 
30606
30614
  var _objectGops = {};
@@ -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)
@@ -31388,24 +31396,17 @@ var _objectGopnExt = {};
31388
31396
 
31389
31397
  var _objectGopn = {};
31390
31398
 
31391
- var hasRequired_objectGopn;
31392
-
31393
- function require_objectGopn () {
31394
- if (hasRequired_objectGopn) return _objectGopn;
31395
- hasRequired_objectGopn = 1;
31396
- // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
31397
- var $keys = _objectKeysInternal;
31398
- var hiddenKeys = _enumBugKeys.concat('length', 'prototype');
31399
+ // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
31400
+ var $keys$2 = _objectKeysInternal;
31401
+ var hiddenKeys = _enumBugKeys.concat('length', 'prototype');
31399
31402
 
31400
- _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
31401
- return $keys(O, hiddenKeys);
31402
- };
31403
- return _objectGopn;
31404
- }
31403
+ _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
31404
+ return $keys$2(O, hiddenKeys);
31405
+ };
31405
31406
 
31406
31407
  // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
31407
31408
  var toIObject$2 = _toIobject;
31408
- var gOPN$1 = require_objectGopn().f;
31409
+ var gOPN$1 = _objectGopn.f;
31409
31410
  var toString$5 = {}.toString;
31410
31411
 
31411
31412
  var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
@@ -31592,7 +31593,7 @@ if (!USE_NATIVE) {
31592
31593
 
31593
31594
  $GOPD.f = $getOwnPropertyDescriptor;
31594
31595
  $DP.f = $defineProperty;
31595
- require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames;
31596
+ _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
31596
31597
  require_objectPie().f = $propertyIsEnumerable;
31597
31598
  $GOPS.f = $getOwnPropertySymbols;
31598
31599
 
@@ -100366,9 +100367,10 @@ function UploaderInner({
100366
100367
  }, 200);
100367
100368
  }
100368
100369
  }
100370
+ } else {
100371
+ toKeep.push(...cleanedAccepted);
100369
100372
  }
100370
100373
  if (toKeep.length === 0) {
100371
- console.log(`asdfasdfas`);
100372
100374
  window.toastr && window.toastr.error(
100373
100375
  `It looks like there wasn't any data in your file. Please add some data and try again`
100374
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));
@@ -30575,11 +30583,11 @@ var _enumBugKeys = (
30575
30583
  ).split(',');
30576
30584
 
30577
30585
  // 19.1.2.14 / 15.2.3.14 Object.keys(O)
30578
- var $keys$2 = _objectKeysInternal;
30586
+ var $keys$3 = _objectKeysInternal;
30579
30587
  var enumBugKeys = _enumBugKeys;
30580
30588
 
30581
30589
  var _objectKeys = Object.keys || function keys(O) {
30582
- return $keys$2(O, enumBugKeys);
30590
+ return $keys$3(O, enumBugKeys);
30583
30591
  };
30584
30592
 
30585
30593
  var _objectGops = {};
@@ -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)
@@ -31367,24 +31375,17 @@ var _objectGopnExt = {};
31367
31375
 
31368
31376
  var _objectGopn = {};
31369
31377
 
31370
- var hasRequired_objectGopn;
31371
-
31372
- function require_objectGopn () {
31373
- if (hasRequired_objectGopn) return _objectGopn;
31374
- hasRequired_objectGopn = 1;
31375
- // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
31376
- var $keys = _objectKeysInternal;
31377
- var hiddenKeys = _enumBugKeys.concat('length', 'prototype');
31378
+ // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
31379
+ var $keys$2 = _objectKeysInternal;
31380
+ var hiddenKeys = _enumBugKeys.concat('length', 'prototype');
31378
31381
 
31379
- _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
31380
- return $keys(O, hiddenKeys);
31381
- };
31382
- return _objectGopn;
31383
- }
31382
+ _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
31383
+ return $keys$2(O, hiddenKeys);
31384
+ };
31384
31385
 
31385
31386
  // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
31386
31387
  var toIObject$2 = _toIobject;
31387
- var gOPN$1 = require_objectGopn().f;
31388
+ var gOPN$1 = _objectGopn.f;
31388
31389
  var toString$5 = {}.toString;
31389
31390
 
31390
31391
  var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
@@ -31571,7 +31572,7 @@ if (!USE_NATIVE) {
31571
31572
 
31572
31573
  $GOPD.f = $getOwnPropertyDescriptor;
31573
31574
  $DP.f = $defineProperty;
31574
- require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames;
31575
+ _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
31575
31576
  require_objectPie().f = $propertyIsEnumerable;
31576
31577
  $GOPS.f = $getOwnPropertySymbols;
31577
31578
 
@@ -100345,9 +100346,10 @@ function UploaderInner({
100345
100346
  }, 200);
100346
100347
  }
100347
100348
  }
100349
+ } else {
100350
+ toKeep.push(...cleanedAccepted);
100348
100351
  }
100349
100352
  if (toKeep.length === 0) {
100350
- console.log(`asdfasdfas`);
100351
100353
  window.toastr && window.toastr.error(
100352
100354
  `It looks like there wasn't any data in your file. Please add some data and try again`
100353
100355
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ui",
3
- "version": "0.3.9",
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`