bhd-components 0.6.9 → 0.7.1

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.
@@ -100369,23 +100369,91 @@ $$3({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
100369
100369
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
100370
100370
  addToUnscopables(FIND_INDEX);
100371
100371
 
100372
+ var $$2 = _export;
100373
+ var call$2 = functionCall;
100374
+ var uncurryThis$4 = functionUncurryThis;
100375
+ var requireObjectCoercible$5 = requireObjectCoercible$d;
100376
+ var isCallable = isCallable$u;
100377
+ var isNullOrUndefined$2 = isNullOrUndefined$b;
100378
+ var isRegExp$2 = isRegexp;
100379
+ var toString$6 = toString$k;
100380
+ var getMethod$2 = getMethod$8;
100381
+ var getRegExpFlags$1 = regexpGetFlags;
100382
+ var getSubstitution = getSubstitution$2;
100383
+ var wellKnownSymbol$1 = wellKnownSymbol$s;
100384
+
100385
+ var REPLACE = wellKnownSymbol$1('replace');
100386
+ var $TypeError$2 = TypeError;
100387
+ var indexOf = uncurryThis$4(''.indexOf);
100388
+ uncurryThis$4(''.replace);
100389
+ var stringSlice$3 = uncurryThis$4(''.slice);
100390
+ var max = Math.max;
100391
+
100392
+ var stringIndexOf$1 = function (string, searchValue, fromIndex) {
100393
+ if (fromIndex > string.length) return -1;
100394
+ if (searchValue === '') return fromIndex;
100395
+ return indexOf(string, searchValue, fromIndex);
100396
+ };
100397
+
100398
+ // `String.prototype.replaceAll` method
100399
+ // https://tc39.es/ecma262/#sec-string.prototype.replaceall
100400
+ $$2({ target: 'String', proto: true }, {
100401
+ replaceAll: function replaceAll(searchValue, replaceValue) {
100402
+ var O = requireObjectCoercible$5(this);
100403
+ var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;
100404
+ var position = 0;
100405
+ var endOfLastMatch = 0;
100406
+ var result = '';
100407
+ if (!isNullOrUndefined$2(searchValue)) {
100408
+ IS_REG_EXP = isRegExp$2(searchValue);
100409
+ if (IS_REG_EXP) {
100410
+ flags = toString$6(requireObjectCoercible$5(getRegExpFlags$1(searchValue)));
100411
+ if (!~indexOf(flags, 'g')) throw $TypeError$2('`.replaceAll` does not allow non-global regexes');
100412
+ }
100413
+ replacer = getMethod$2(searchValue, REPLACE);
100414
+ if (replacer) {
100415
+ return call$2(replacer, searchValue, O, replaceValue);
100416
+ }
100417
+ }
100418
+ string = toString$6(O);
100419
+ searchString = toString$6(searchValue);
100420
+ functionalReplace = isCallable(replaceValue);
100421
+ if (!functionalReplace) replaceValue = toString$6(replaceValue);
100422
+ searchLength = searchString.length;
100423
+ advanceBy = max(1, searchLength);
100424
+ position = stringIndexOf$1(string, searchString, 0);
100425
+ while (position !== -1) {
100426
+ replacement = functionalReplace
100427
+ ? toString$6(replaceValue(searchString, position, string))
100428
+ : getSubstitution(searchString, string, position, [], undefined, replaceValue);
100429
+ result += stringSlice$3(string, endOfLastMatch, position) + replacement;
100430
+ endOfLastMatch = position + searchLength;
100431
+ position = stringIndexOf$1(string, searchString, position + advanceBy);
100432
+ }
100433
+ if (endOfLastMatch < string.length) {
100434
+ result += stringSlice$3(string, endOfLastMatch);
100435
+ }
100436
+ return result;
100437
+ }
100438
+ });
100439
+
100372
100440
  // a string of all valid unicode whitespaces
100373
100441
  var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
100374
100442
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
100375
100443
 
100376
- var uncurryThis$4 = functionUncurryThis;
100377
- var requireObjectCoercible$5 = requireObjectCoercible$d;
100378
- var toString$6 = toString$k;
100444
+ var uncurryThis$3 = functionUncurryThis;
100445
+ var requireObjectCoercible$4 = requireObjectCoercible$d;
100446
+ var toString$5 = toString$k;
100379
100447
  var whitespaces$1 = whitespaces$2;
100380
100448
 
100381
- var replace$3 = uncurryThis$4(''.replace);
100449
+ var replace$3 = uncurryThis$3(''.replace);
100382
100450
  var ltrim = RegExp('^[' + whitespaces$1 + ']+');
100383
100451
  var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
100384
100452
 
100385
100453
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
100386
100454
  var createMethod$1 = function (TYPE) {
100387
100455
  return function ($this) {
100388
- var string = toString$6(requireObjectCoercible$5($this));
100456
+ var string = toString$5(requireObjectCoercible$4($this));
100389
100457
  if (TYPE & 1) string = replace$3(string, ltrim, '');
100390
100458
  if (TYPE & 2) string = replace$3(string, rtrim, '$1');
100391
100459
  return string;
@@ -100420,86 +100488,18 @@ var stringTrimForced = function (METHOD_NAME) {
100420
100488
  });
100421
100489
  };
100422
100490
 
100423
- var $$2 = _export;
100491
+ var $$1 = _export;
100424
100492
  var $trim = stringTrim.trim;
100425
100493
  var forcedStringTrimMethod = stringTrimForced;
100426
100494
 
100427
100495
  // `String.prototype.trim` method
100428
100496
  // https://tc39.es/ecma262/#sec-string.prototype.trim
100429
- $$2({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
100497
+ $$1({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
100430
100498
  trim: function trim() {
100431
100499
  return $trim(this);
100432
100500
  }
100433
100501
  });
100434
100502
 
100435
- var $$1 = _export;
100436
- var call$2 = functionCall;
100437
- var uncurryThis$3 = functionUncurryThis;
100438
- var requireObjectCoercible$4 = requireObjectCoercible$d;
100439
- var isCallable = isCallable$u;
100440
- var isNullOrUndefined$2 = isNullOrUndefined$b;
100441
- var isRegExp$2 = isRegexp;
100442
- var toString$5 = toString$k;
100443
- var getMethod$2 = getMethod$8;
100444
- var getRegExpFlags$1 = regexpGetFlags;
100445
- var getSubstitution = getSubstitution$2;
100446
- var wellKnownSymbol$1 = wellKnownSymbol$s;
100447
-
100448
- var REPLACE = wellKnownSymbol$1('replace');
100449
- var $TypeError$2 = TypeError;
100450
- var indexOf = uncurryThis$3(''.indexOf);
100451
- uncurryThis$3(''.replace);
100452
- var stringSlice$3 = uncurryThis$3(''.slice);
100453
- var max = Math.max;
100454
-
100455
- var stringIndexOf$1 = function (string, searchValue, fromIndex) {
100456
- if (fromIndex > string.length) return -1;
100457
- if (searchValue === '') return fromIndex;
100458
- return indexOf(string, searchValue, fromIndex);
100459
- };
100460
-
100461
- // `String.prototype.replaceAll` method
100462
- // https://tc39.es/ecma262/#sec-string.prototype.replaceall
100463
- $$1({ target: 'String', proto: true }, {
100464
- replaceAll: function replaceAll(searchValue, replaceValue) {
100465
- var O = requireObjectCoercible$4(this);
100466
- var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;
100467
- var position = 0;
100468
- var endOfLastMatch = 0;
100469
- var result = '';
100470
- if (!isNullOrUndefined$2(searchValue)) {
100471
- IS_REG_EXP = isRegExp$2(searchValue);
100472
- if (IS_REG_EXP) {
100473
- flags = toString$5(requireObjectCoercible$4(getRegExpFlags$1(searchValue)));
100474
- if (!~indexOf(flags, 'g')) throw $TypeError$2('`.replaceAll` does not allow non-global regexes');
100475
- }
100476
- replacer = getMethod$2(searchValue, REPLACE);
100477
- if (replacer) {
100478
- return call$2(replacer, searchValue, O, replaceValue);
100479
- }
100480
- }
100481
- string = toString$5(O);
100482
- searchString = toString$5(searchValue);
100483
- functionalReplace = isCallable(replaceValue);
100484
- if (!functionalReplace) replaceValue = toString$5(replaceValue);
100485
- searchLength = searchString.length;
100486
- advanceBy = max(1, searchLength);
100487
- position = stringIndexOf$1(string, searchString, 0);
100488
- while (position !== -1) {
100489
- replacement = functionalReplace
100490
- ? toString$5(replaceValue(searchString, position, string))
100491
- : getSubstitution(searchString, string, position, [], undefined, replaceValue);
100492
- result += stringSlice$3(string, endOfLastMatch, position) + replacement;
100493
- endOfLastMatch = position + searchLength;
100494
- position = stringIndexOf$1(string, searchString, position + advanceBy);
100495
- }
100496
- if (endOfLastMatch < string.length) {
100497
- result += stringSlice$3(string, endOfLastMatch);
100498
- }
100499
- return result;
100500
- }
100501
- });
100502
-
100503
100503
  var DESCRIPTORS$2 = descriptors;
100504
100504
  var global$1 = global$B;
100505
100505
  var uncurryThis$2 = functionUncurryThis;
@@ -120372,7 +120372,7 @@ function requireD () {
120372
120372
  + 'pragma private protected public pure ref return scope shared static struct '
120373
120373
  + 'super switch synchronized template this throw try typedef typeid typeof union '
120374
120374
  + 'unittest version void volatile while with __FILE__ __LINE__ __gshared|10 '
120375
- + '__thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ "0.6.9"',
120375
+ + '__thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ "0.7.1"',
120376
120376
  built_in:
120377
120377
  'bool cdouble cent cfloat char creal dchar delegate double dstring float function '
120378
120378
  + 'idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar '