@teselagen/ove 0.3.14 → 0.3.15

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.
Files changed (4) hide show
  1. package/index.js +182 -189
  2. package/index.mjs +182 -189
  3. package/index.umd.js +55 -40
  4. package/package.json +2 -2
package/index.umd.js CHANGED
@@ -23998,7 +23998,7 @@
23998
23998
  var ownKeys$9 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownKeys : hasGetOwnPropertySymbols ? function (obj) {
23999
23999
  return Object.getOwnPropertyNames(obj).concat(Object.getOwnPropertySymbols(obj));
24000
24000
  } : /* istanbul ignore next */Object.getOwnPropertyNames;
24001
- function toPrimitive$3(value) {
24001
+ function toPrimitive$2(value) {
24002
24002
  return value === null ? null : typeof value === "object" ? "" + value : value;
24003
24003
  }
24004
24004
  function hasProp(target, prop) {
@@ -24927,7 +24927,7 @@
24927
24927
  return this.name_ + "[" + this.value_ + "]";
24928
24928
  };
24929
24929
  _proto.valueOf = function valueOf() {
24930
- return toPrimitive$3(this.get());
24930
+ return toPrimitive$2(this.get());
24931
24931
  };
24932
24932
  _proto[_Symbol$toPrimitive] = function () {
24933
24933
  return this.valueOf();
@@ -25155,7 +25155,7 @@
25155
25155
  return this.name_ + "[" + this.derivation.toString() + "]";
25156
25156
  };
25157
25157
  _proto.valueOf = function valueOf() {
25158
- return toPrimitive$3(this.get());
25158
+ return toPrimitive$2(this.get());
25159
25159
  };
25160
25160
  _proto[_Symbol$toPrimitive$1] = function () {
25161
25161
  return this.valueOf();
@@ -57023,10 +57023,18 @@
57023
57023
  }
57024
57024
  };
57025
57025
 
57026
- // Thank's IE8 for his funny defineProperty
57027
- var _descriptors = !_fails(function () {
57028
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
57029
- });
57026
+ var _descriptors;
57027
+ var hasRequired_descriptors;
57028
+
57029
+ function require_descriptors () {
57030
+ if (hasRequired_descriptors) return _descriptors;
57031
+ hasRequired_descriptors = 1;
57032
+ // Thank's IE8 for his funny defineProperty
57033
+ _descriptors = !_fails(function () {
57034
+ return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
57035
+ });
57036
+ return _descriptors;
57037
+ }
57030
57038
 
57031
57039
  var _domCreate;
57032
57040
  var hasRequired_domCreate;
@@ -57044,7 +57052,7 @@
57044
57052
  return _domCreate;
57045
57053
  }
57046
57054
 
57047
- var _ie8DomDefine = !_descriptors && !_fails(function () {
57055
+ var _ie8DomDefine = !require_descriptors() && !_fails(function () {
57048
57056
  return Object.defineProperty(require_domCreate()('div'), 'a', { get: function () { return 7; } }).a != 7;
57049
57057
  });
57050
57058
 
@@ -57061,22 +57069,29 @@
57061
57069
  throw TypeError("Can't convert object to primitive value");
57062
57070
  };
57063
57071
 
57064
- var anObject$3 = _anObject;
57065
- var IE8_DOM_DEFINE$1 = _ie8DomDefine;
57066
- var toPrimitive$2 = _toPrimitive$1;
57067
- var dP$2 = Object.defineProperty;
57072
+ var hasRequired_objectDp;
57068
57073
 
57069
- _objectDp.f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
57070
- anObject$3(O);
57071
- P = toPrimitive$2(P, true);
57072
- anObject$3(Attributes);
57073
- if (IE8_DOM_DEFINE$1) try {
57074
- return dP$2(O, P, Attributes);
57075
- } catch (e) { /* empty */ }
57076
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
57077
- if ('value' in Attributes) O[P] = Attributes.value;
57078
- return O;
57079
- };
57074
+ function require_objectDp () {
57075
+ if (hasRequired_objectDp) return _objectDp;
57076
+ hasRequired_objectDp = 1;
57077
+ var anObject = _anObject;
57078
+ var IE8_DOM_DEFINE = _ie8DomDefine;
57079
+ var toPrimitive = _toPrimitive$1;
57080
+ var dP = Object.defineProperty;
57081
+
57082
+ _objectDp.f = require_descriptors() ? Object.defineProperty : function defineProperty(O, P, Attributes) {
57083
+ anObject(O);
57084
+ P = toPrimitive(P, true);
57085
+ anObject(Attributes);
57086
+ if (IE8_DOM_DEFINE) try {
57087
+ return dP(O, P, Attributes);
57088
+ } catch (e) { /* empty */ }
57089
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
57090
+ if ('value' in Attributes) O[P] = Attributes.value;
57091
+ return O;
57092
+ };
57093
+ return _objectDp;
57094
+ }
57080
57095
 
57081
57096
  var _propertyDesc = function (bitmap, value) {
57082
57097
  return {
@@ -57087,9 +57102,9 @@
57087
57102
  };
57088
57103
  };
57089
57104
 
57090
- var dP$1 = _objectDp;
57105
+ var dP$1 = require_objectDp();
57091
57106
  var createDesc$3 = _propertyDesc;
57092
- var _hide = _descriptors ? function (object, key, value) {
57107
+ var _hide = require_descriptors() ? function (object, key, value) {
57093
57108
  return dP$1.f(object, key, createDesc$3(1, value));
57094
57109
  } : function (object, key, value) {
57095
57110
  object[key] = value;
@@ -57334,7 +57349,7 @@
57334
57349
  if (hasRequired_objectAssign) return _objectAssign;
57335
57350
  hasRequired_objectAssign = 1;
57336
57351
  // 19.1.2.1 Object.assign(target, source, ...)
57337
- var DESCRIPTORS = _descriptors;
57352
+ var DESCRIPTORS = require_descriptors();
57338
57353
  var getKeys = _objectKeys;
57339
57354
  var gOPS = _objectGops;
57340
57355
  var pIE = require_objectPie();
@@ -57416,11 +57431,11 @@
57416
57431
  function require_objectDps () {
57417
57432
  if (hasRequired_objectDps) return _objectDps;
57418
57433
  hasRequired_objectDps = 1;
57419
- var dP = _objectDp;
57434
+ var dP = require_objectDp();
57420
57435
  var anObject = _anObject;
57421
57436
  var getKeys = _objectKeys;
57422
57437
 
57423
- _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
57438
+ _objectDps = require_descriptors() ? Object.defineProperties : function defineProperties(O, Properties) {
57424
57439
  anObject(O);
57425
57440
  var keys = getKeys(Properties);
57426
57441
  var length = keys.length;
@@ -57509,7 +57524,7 @@
57509
57524
 
57510
57525
  var _wksExports = _wks.exports;
57511
57526
 
57512
- var def = _objectDp.f;
57527
+ var def = require_objectDp().f;
57513
57528
  var has$b = _has;
57514
57529
  var TAG$1 = _wksExports('toStringTag');
57515
57530
 
@@ -57823,7 +57838,7 @@
57823
57838
  return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
57824
57839
  };
57825
57840
 
57826
- var $defineProperty$1 = _objectDp;
57841
+ var $defineProperty$1 = require_objectDp();
57827
57842
  var createDesc$2 = _propertyDesc;
57828
57843
 
57829
57844
  var _createProperty = function (object, index, value) {
@@ -57956,7 +57971,7 @@
57956
57971
 
57957
57972
  var $export$3 = _export;
57958
57973
  // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
57959
- $export$3($export$3.S + $export$3.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
57974
+ $export$3($export$3.S + $export$3.F * !require_descriptors(), 'Object', { defineProperty: require_objectDp().f });
57960
57975
 
57961
57976
  var $Object$1 = _coreExports.Object;
57962
57977
  var defineProperty$6 = function defineProperty(it, key, desc) {
@@ -58004,7 +58019,7 @@
58004
58019
  var META$1 = _uid('meta');
58005
58020
  var isObject$5 = _isObject;
58006
58021
  var has$9 = _has;
58007
- var setDesc = _objectDp.f;
58022
+ var setDesc = require_objectDp().f;
58008
58023
  var id$1 = 0;
58009
58024
  var isExtensible = Object.isExtensible || function () {
58010
58025
  return true;
@@ -58059,7 +58074,7 @@
58059
58074
 
58060
58075
  var core = _coreExports;
58061
58076
  var wksExt$1 = _wksExt;
58062
- var defineProperty$4 = _objectDp.f;
58077
+ var defineProperty$4 = require_objectDp().f;
58063
58078
  var _wksDefine = function (name) {
58064
58079
  var $Symbol = core.Symbol || (core.Symbol = {} );
58065
58080
  if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty$4($Symbol, name, { value: wksExt$1.f(name) });
@@ -58129,7 +58144,7 @@
58129
58144
  var IE8_DOM_DEFINE = _ie8DomDefine;
58130
58145
  var gOPD$2 = Object.getOwnPropertyDescriptor;
58131
58146
 
58132
- _objectGopd.f = _descriptors ? gOPD$2 : function getOwnPropertyDescriptor(O, P) {
58147
+ _objectGopd.f = require_descriptors() ? gOPD$2 : function getOwnPropertyDescriptor(O, P) {
58133
58148
  O = toIObject$1(O);
58134
58149
  P = toPrimitive$1(P, true);
58135
58150
  if (IE8_DOM_DEFINE) try {
@@ -58141,7 +58156,7 @@
58141
58156
  // ECMAScript 6 symbols shim
58142
58157
  var global$1 = _globalExports;
58143
58158
  var has$7 = _has;
58144
- var DESCRIPTORS = _descriptors;
58159
+ var DESCRIPTORS = require_descriptors();
58145
58160
  var $export$2 = _export;
58146
58161
  var redefine = _redefine;
58147
58162
  var META = _metaExports.KEY;
@@ -58164,7 +58179,7 @@
58164
58179
  var gOPNExt = _objectGopnExt;
58165
58180
  var $GOPD = _objectGopd;
58166
58181
  var $GOPS = _objectGops;
58167
- var $DP = _objectDp;
58182
+ var $DP = require_objectDp();
58168
58183
  var $keys$1 = _objectKeys;
58169
58184
  var gOPD$1 = $GOPD.f;
58170
58185
  var dP = $DP.f;
@@ -90739,11 +90754,11 @@
90739
90754
  function getSort(text, queryString) {
90740
90755
  let ret;
90741
90756
  if (text === queryString)
90742
- ret = 0;
90757
+ ret = -1;
90743
90758
  else if (text.includes(queryString))
90744
- ret = 0.9;
90759
+ ret = text.indexOf(queryString);
90745
90760
  else
90746
- ret = 1;
90761
+ ret = text.length;
90747
90762
  return ret;
90748
90763
  }
90749
90764
 
@@ -188763,7 +188778,7 @@ double click --> edit`}`;
188763
188778
  }
188764
188779
 
188765
188780
  const name = "@teselagen/ove";
188766
- const version = "0.3.13";
188781
+ const version = "0.3.14";
188767
188782
  const main = "./src/index.js";
188768
188783
  const exports$1 = {
188769
188784
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -15,7 +15,7 @@
15
15
  "dependencies": {
16
16
  "@teselagen/sequence-utils": "0.3.7",
17
17
  "@teselagen/range-utils": "0.3.7",
18
- "@teselagen/ui": "0.3.12",
18
+ "@teselagen/ui": "0.3.13",
19
19
  "@teselagen/file-utils": "0.3.9",
20
20
  "@teselagen/bounce-loader": "0.3.7",
21
21
  "@teselagen/bio-parsers": "0.3.8",