oro-sdk 3.16.0 → 3.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -435,7 +435,7 @@ function _asyncToGenerator(fn) {
435
435
  }
436
436
 
437
437
  function _extends() {
438
- _extends = Object.assign || function (target) {
438
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
439
439
  for (var i = 1; i < arguments.length; i++) {
440
440
  var source = arguments[i];
441
441
 
@@ -448,7 +448,6 @@ function _extends() {
448
448
 
449
449
  return target;
450
450
  };
451
-
452
451
  return _extends.apply(this, arguments);
453
452
  }
454
453
 
@@ -478,18 +477,17 @@ function _inheritsLoose(subClass, superClass) {
478
477
  }
479
478
 
480
479
  function _getPrototypeOf(o) {
481
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
480
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
482
481
  return o.__proto__ || Object.getPrototypeOf(o);
483
482
  };
484
483
  return _getPrototypeOf(o);
485
484
  }
486
485
 
487
486
  function _setPrototypeOf(o, p) {
488
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
487
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
489
488
  o.__proto__ = p;
490
489
  return o;
491
490
  };
492
-
493
491
  return _setPrototypeOf(o, p);
494
492
  }
495
493
 
@@ -508,7 +506,7 @@ function _isNativeReflectConstruct() {
508
506
 
509
507
  function _construct(Parent, args, Class) {
510
508
  if (_isNativeReflectConstruct()) {
511
- _construct = Reflect.construct;
509
+ _construct = Reflect.construct.bind();
512
510
  } else {
513
511
  _construct = function _construct(Parent, args, Class) {
514
512
  var a = [null];
@@ -623,7 +621,7 @@ var personalMetaToPrefix = (_personalMetaToPrefix = {}, _personalMetaToPrefix[Me
623
621
  */
624
622
 
625
623
  function identificationToPersonalInformations(data, category) {
626
- var _data$;
624
+ var _data;
627
625
 
628
626
  var prefix = personalMetaToPrefix[category];
629
627
  return {
@@ -633,7 +631,7 @@ function identificationToPersonalInformations(data, category) {
633
631
  name: data[prefix + "Name"],
634
632
  phone: data[prefix + "Phone"],
635
633
  zip: data[prefix + "Zip"],
636
- hid: (_data$ = data[prefix + "HID"]) != null ? _data$ : data[prefix + "ID"],
634
+ hid: (_data = data[prefix + "HID"]) != null ? _data : data[prefix + "ID"],
637
635
  pharmacy: data[prefix + "Pharmacy"],
638
636
  address: data[prefix + "Address"]
639
637
  };