@coolon/angular-ui-powerups 2.0.0-alpha.37 → 2.0.0-alpha.38

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.
@@ -446,6 +446,10 @@ var CommandFace;
446
446
  return ___default.isFunction(face === null || face === void 0 ? void 0 : face.icon) ? face.icon() : undefined;
447
447
  }
448
448
  CommandFace.getIconOf = getIconOf;
449
+ function getIconPositionOf(face) {
450
+ return ___default.isFunction(face === null || face === void 0 ? void 0 : face.iconPosition) ? face.iconPosition() : undefined;
451
+ }
452
+ CommandFace.getIconPositionOf = getIconPositionOf;
449
453
  function getTooltipOf(face) {
450
454
  return ___default.isFunction(face === null || face === void 0 ? void 0 : face.tooltip) ? face.tooltip() : undefined;
451
455
  }
@@ -460,7 +464,7 @@ var CommandFace;
460
464
  }
461
465
  Object.defineProperty(Adapter.prototype, "text", {
462
466
  get: function () {
463
- return ___default.isFunction(this.face.text) ? this.face.text() : undefined;
467
+ return CommandFace.getTextOf(this.face);
464
468
  },
465
469
  enumerable: true,
466
470
  configurable: true
@@ -474,14 +478,14 @@ var CommandFace;
474
478
  });
475
479
  Object.defineProperty(Adapter.prototype, "iconPosition", {
476
480
  get: function () {
477
- return ___default.isFunction(this.face.iconPosition) ? this.face.iconPosition() : undefined;
481
+ return CommandFace.getIconPositionOf(this.face);
478
482
  },
479
483
  enumerable: true,
480
484
  configurable: true
481
485
  });
482
486
  Object.defineProperty(Adapter.prototype, "tooltip", {
483
487
  get: function () {
484
- return ___default.isFunction(this.face.tooltip) ? this.face.tooltip() : undefined;
488
+ return CommandFace.getTooltipOf(this.face);
485
489
  },
486
490
  enumerable: true,
487
491
  configurable: true