@teselagen/ove 0.3.14 → 0.3.16

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 (7) hide show
  1. package/README.md +718 -0
  2. package/index.cjs.js +197028 -0
  3. package/index.es.js +196974 -0
  4. package/index.js +127 -130
  5. package/index.mjs +127 -130
  6. package/index.umd.js +84 -108
  7. package/package.json +4 -4
package/index.umd.js CHANGED
@@ -57061,17 +57061,17 @@
57061
57061
  throw TypeError("Can't convert object to primitive value");
57062
57062
  };
57063
57063
 
57064
- var anObject$3 = _anObject;
57064
+ var anObject$5 = _anObject;
57065
57065
  var IE8_DOM_DEFINE$1 = _ie8DomDefine;
57066
57066
  var toPrimitive$2 = _toPrimitive$1;
57067
- var dP$2 = Object.defineProperty;
57067
+ var dP$3 = Object.defineProperty;
57068
57068
 
57069
57069
  _objectDp.f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
57070
- anObject$3(O);
57070
+ anObject$5(O);
57071
57071
  P = toPrimitive$2(P, true);
57072
- anObject$3(Attributes);
57072
+ anObject$5(Attributes);
57073
57073
  if (IE8_DOM_DEFINE$1) try {
57074
- return dP$2(O, P, Attributes);
57074
+ return dP$3(O, P, Attributes);
57075
57075
  } catch (e) { /* empty */ }
57076
57076
  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
57077
57077
  if ('value' in Attributes) O[P] = Attributes.value;
@@ -57087,10 +57087,10 @@
57087
57087
  };
57088
57088
  };
57089
57089
 
57090
- var dP$1 = _objectDp;
57090
+ var dP$2 = _objectDp;
57091
57091
  var createDesc$3 = _propertyDesc;
57092
57092
  var _hide = _descriptors ? function (object, key, value) {
57093
- return dP$1.f(object, key, createDesc$3(1, value));
57093
+ return dP$2.f(object, key, createDesc$3(1, value));
57094
57094
  } : function (object, key, value) {
57095
57095
  object[key] = value;
57096
57096
  return object;
@@ -57106,7 +57106,7 @@
57106
57106
  var ctx$1 = _ctx;
57107
57107
  var hide$2 = _hide;
57108
57108
  var has$d = _has;
57109
- var PROTOTYPE$1 = 'prototype';
57109
+ var PROTOTYPE$2 = 'prototype';
57110
57110
 
57111
57111
  var $export$8 = function (type, name, source) {
57112
57112
  var IS_FORCED = type & $export$8.F;
@@ -57116,8 +57116,8 @@
57116
57116
  var IS_BIND = type & $export$8.B;
57117
57117
  var IS_WRAP = type & $export$8.W;
57118
57118
  var exports = IS_GLOBAL ? core$3 : core$3[name] || (core$3[name] = {});
57119
- var expProto = exports[PROTOTYPE$1];
57120
- var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$1];
57119
+ var expProto = exports[PROTOTYPE$2];
57120
+ var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$2];
57121
57121
  var key, own, out;
57122
57122
  if (IS_GLOBAL) source = name;
57123
57123
  for (key in source) {
@@ -57141,7 +57141,7 @@
57141
57141
  } return new C(a, b, c);
57142
57142
  } return C.apply(this, arguments);
57143
57143
  };
57144
- F[PROTOTYPE$1] = C[PROTOTYPE$1];
57144
+ F[PROTOTYPE$2] = C[PROTOTYPE$2];
57145
57145
  return F;
57146
57146
  // make static versions for prototype methods
57147
57147
  })(out) : IS_PROTO && typeof out == 'function' ? ctx$1(Function.call, out) : out;
@@ -57170,20 +57170,12 @@
57170
57170
  return toString$4.call(it).slice(8, -1);
57171
57171
  };
57172
57172
 
57173
- var _iobject;
57174
- var hasRequired_iobject;
57175
-
57176
- function require_iobject () {
57177
- if (hasRequired_iobject) return _iobject;
57178
- hasRequired_iobject = 1;
57179
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
57180
- var cof = _cof;
57181
- // eslint-disable-next-line no-prototype-builtins
57182
- _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
57183
- return cof(it) == 'String' ? it.split('') : Object(it);
57184
- };
57185
- return _iobject;
57186
- }
57173
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
57174
+ var cof$2 = _cof;
57175
+ // eslint-disable-next-line no-prototype-builtins
57176
+ var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
57177
+ return cof$2(it) == 'String' ? it.split('') : Object(it);
57178
+ };
57187
57179
 
57188
57180
  // 7.2.1 RequireObjectCoercible(argument)
57189
57181
  var _defined = function (it) {
@@ -57192,7 +57184,7 @@
57192
57184
  };
57193
57185
 
57194
57186
  // to indexed object, toObject with fallback for non-array-like ES3 strings
57195
- var IObject = require_iobject();
57187
+ var IObject = _iobject;
57196
57188
  var defined$2 = _defined;
57197
57189
  var _toIobject = function (it) {
57198
57190
  return IObject(defined$2(it));
@@ -57278,14 +57270,14 @@
57278
57270
  var has$c = _has;
57279
57271
  var toIObject$4 = _toIobject;
57280
57272
  var arrayIndexOf = _arrayIncludes$1(false);
57281
- var IE_PROTO$1 = _sharedKey('IE_PROTO');
57273
+ var IE_PROTO$2 = _sharedKey('IE_PROTO');
57282
57274
 
57283
57275
  var _objectKeysInternal = function (object, names) {
57284
57276
  var O = toIObject$4(object);
57285
57277
  var i = 0;
57286
57278
  var result = [];
57287
57279
  var key;
57288
- for (key in O) if (key != IE_PROTO$1) has$c(O, key) && result.push(key);
57280
+ for (key in O) if (key != IE_PROTO$2) has$c(O, key) && result.push(key);
57289
57281
  // Don't enum bug & hidden keys
57290
57282
  while (names.length > i) if (has$c(O, key = names[i++])) {
57291
57283
  ~arrayIndexOf(result, key) || result.push(key);
@@ -57300,10 +57292,10 @@
57300
57292
 
57301
57293
  // 19.1.2.14 / 15.2.3.14 Object.keys(O)
57302
57294
  var $keys$3 = _objectKeysInternal;
57303
- var enumBugKeys = _enumBugKeys;
57295
+ var enumBugKeys$1 = _enumBugKeys;
57304
57296
 
57305
57297
  var _objectKeys = Object.keys || function keys(O) {
57306
- return $keys$3(O, enumBugKeys);
57298
+ return $keys$3(O, enumBugKeys$1);
57307
57299
  };
57308
57300
 
57309
57301
  var _objectGops = {};
@@ -57339,7 +57331,7 @@
57339
57331
  var gOPS = _objectGops;
57340
57332
  var pIE = require_objectPie();
57341
57333
  var toObject = _toObject;
57342
- var IObject = require_iobject();
57334
+ var IObject = _iobject;
57343
57335
  var $assign = Object.assign;
57344
57336
 
57345
57337
  // should work with symbols and should have deterministic property order (V8 bug)
@@ -57410,27 +57402,19 @@
57410
57402
 
57411
57403
  var _redefine = _hide;
57412
57404
 
57413
- var _objectDps;
57414
- var hasRequired_objectDps;
57415
-
57416
- function require_objectDps () {
57417
- if (hasRequired_objectDps) return _objectDps;
57418
- hasRequired_objectDps = 1;
57419
- var dP = _objectDp;
57420
- var anObject = _anObject;
57421
- var getKeys = _objectKeys;
57405
+ var dP$1 = _objectDp;
57406
+ var anObject$4 = _anObject;
57407
+ var getKeys$1 = _objectKeys;
57422
57408
 
57423
- _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
57424
- anObject(O);
57425
- var keys = getKeys(Properties);
57426
- var length = keys.length;
57427
- var i = 0;
57428
- var P;
57429
- while (length > i) dP.f(O, P = keys[i++], Properties[P]);
57430
- return O;
57431
- };
57432
- return _objectDps;
57433
- }
57409
+ var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
57410
+ anObject$4(O);
57411
+ var keys = getKeys$1(Properties);
57412
+ var length = keys.length;
57413
+ var i = 0;
57414
+ var P;
57415
+ while (length > i) dP$1.f(O, P = keys[i++], Properties[P]);
57416
+ return O;
57417
+ };
57434
57418
 
57435
57419
  var _html;
57436
57420
  var hasRequired_html;
@@ -57443,55 +57427,47 @@
57443
57427
  return _html;
57444
57428
  }
57445
57429
 
57446
- var _objectCreate;
57447
- var hasRequired_objectCreate;
57430
+ // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
57431
+ var anObject$3 = _anObject;
57432
+ var dPs = _objectDps;
57433
+ var enumBugKeys = _enumBugKeys;
57434
+ var IE_PROTO$1 = _sharedKey('IE_PROTO');
57435
+ var Empty = function () { /* empty */ };
57436
+ var PROTOTYPE$1 = 'prototype';
57448
57437
 
57449
- function require_objectCreate () {
57450
- if (hasRequired_objectCreate) return _objectCreate;
57451
- hasRequired_objectCreate = 1;
57452
- // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
57453
- var anObject = _anObject;
57454
- var dPs = require_objectDps();
57455
- var enumBugKeys = _enumBugKeys;
57456
- var IE_PROTO = _sharedKey('IE_PROTO');
57457
- var Empty = function () { /* empty */ };
57458
- var PROTOTYPE = 'prototype';
57459
-
57460
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
57461
- var createDict = function () {
57462
- // Thrash, waste and sodomy: IE GC bug
57463
- var iframe = require_domCreate()('iframe');
57464
- var i = enumBugKeys.length;
57465
- var lt = '<';
57466
- var gt = '>';
57467
- var iframeDocument;
57468
- iframe.style.display = 'none';
57469
- require_html().appendChild(iframe);
57470
- iframe.src = 'javascript:'; // eslint-disable-line no-script-url
57471
- // createDict = iframe.contentWindow.Object;
57472
- // html.removeChild(iframe);
57473
- iframeDocument = iframe.contentWindow.document;
57474
- iframeDocument.open();
57475
- iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
57476
- iframeDocument.close();
57477
- createDict = iframeDocument.F;
57478
- while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
57479
- return createDict();
57480
- };
57481
-
57482
- _objectCreate = Object.create || function create(O, Properties) {
57483
- var result;
57484
- if (O !== null) {
57485
- Empty[PROTOTYPE] = anObject(O);
57486
- result = new Empty();
57487
- Empty[PROTOTYPE] = null;
57488
- // add "__proto__" for Object.getPrototypeOf polyfill
57489
- result[IE_PROTO] = O;
57490
- } else result = createDict();
57491
- return Properties === undefined ? result : dPs(result, Properties);
57492
- };
57493
- return _objectCreate;
57494
- }
57438
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
57439
+ var createDict = function () {
57440
+ // Thrash, waste and sodomy: IE GC bug
57441
+ var iframe = require_domCreate()('iframe');
57442
+ var i = enumBugKeys.length;
57443
+ var lt = '<';
57444
+ var gt = '>';
57445
+ var iframeDocument;
57446
+ iframe.style.display = 'none';
57447
+ require_html().appendChild(iframe);
57448
+ iframe.src = 'javascript:'; // eslint-disable-line no-script-url
57449
+ // createDict = iframe.contentWindow.Object;
57450
+ // html.removeChild(iframe);
57451
+ iframeDocument = iframe.contentWindow.document;
57452
+ iframeDocument.open();
57453
+ iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
57454
+ iframeDocument.close();
57455
+ createDict = iframeDocument.F;
57456
+ while (i--) delete createDict[PROTOTYPE$1][enumBugKeys[i]];
57457
+ return createDict();
57458
+ };
57459
+
57460
+ var _objectCreate = Object.create || function create(O, Properties) {
57461
+ var result;
57462
+ if (O !== null) {
57463
+ Empty[PROTOTYPE$1] = anObject$3(O);
57464
+ result = new Empty();
57465
+ Empty[PROTOTYPE$1] = null;
57466
+ // add "__proto__" for Object.getPrototypeOf polyfill
57467
+ result[IE_PROTO$1] = O;
57468
+ } else result = createDict();
57469
+ return Properties === undefined ? result : dPs(result, Properties);
57470
+ };
57495
57471
 
57496
57472
  var _wks = {exports: {}};
57497
57473
 
@@ -57517,7 +57493,7 @@
57517
57493
  if (it && !has$b(it = stat ? it : it.prototype, TAG$1)) def(it, TAG$1, { configurable: true, value: tag });
57518
57494
  };
57519
57495
 
57520
- var create$4 = require_objectCreate();
57496
+ var create$4 = _objectCreate;
57521
57497
  var descriptor = _propertyDesc;
57522
57498
  var setToStringTag$2 = _setToStringTag;
57523
57499
  var IteratorPrototype = {};
@@ -58160,7 +58136,7 @@
58160
58136
  var toIObject = _toIobject;
58161
58137
  var toPrimitive = _toPrimitive$1;
58162
58138
  var createDesc = _propertyDesc;
58163
- var _create$1 = require_objectCreate();
58139
+ var _create$1 = _objectCreate;
58164
58140
  var gOPNExt = _objectGopnExt;
58165
58141
  var $GOPD = _objectGopd;
58166
58142
  var $GOPS = _objectGops;
@@ -58470,7 +58446,7 @@
58470
58446
 
58471
58447
  var $export = _export;
58472
58448
  // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
58473
- $export($export.S, 'Object', { create: require_objectCreate() });
58449
+ $export($export.S, 'Object', { create: _objectCreate });
58474
58450
 
58475
58451
  var $Object = _coreExports.Object;
58476
58452
  var create$3 = function create(P, D) {
@@ -90739,11 +90715,11 @@
90739
90715
  function getSort(text, queryString) {
90740
90716
  let ret;
90741
90717
  if (text === queryString)
90742
- ret = 0;
90718
+ ret = -1;
90743
90719
  else if (text.includes(queryString))
90744
- ret = 0.9;
90720
+ ret = text.indexOf(queryString);
90745
90721
  else
90746
- ret = 1;
90722
+ ret = text.length;
90747
90723
  return ret;
90748
90724
  }
90749
90725
 
@@ -188763,12 +188739,12 @@ double click --> edit`}`;
188763
188739
  }
188764
188740
 
188765
188741
  const name = "@teselagen/ove";
188766
- const version = "0.3.13";
188742
+ const version = "0.3.15";
188767
188743
  const main = "./src/index.js";
188768
188744
  const exports$1 = {
188769
188745
  ".": {
188770
- "import": "./index.mjs",
188771
- require: "./index.js"
188746
+ "import": "./index.es.js",
188747
+ require: "./index.cjs.js"
188772
188748
  },
188773
188749
  "./style.css": "./style.css"
188774
188750
  };
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.3.14",
3
+ "version": "0.3.16",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
7
- "import": "./index.mjs",
8
- "require": "./index.js"
7
+ "import": "./index.es.js",
8
+ "require": "./index.cjs.js"
9
9
  },
10
10
  "./style.css": "./style.css"
11
11
  },
@@ -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",