@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.
- package/CHANGELOG.md +7 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +7 -3
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/esm2015/lib/components/commands/command-face.js +7 -3
- package/esm2015/lib/components/commands/command-face.js.map +1 -1
- package/esm5/lib/components/commands/command-face.js +7 -3
- package/esm5/lib/components/commands/command-face.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +7 -3
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +7 -3
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/commands/command-face.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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
|
|
488
|
+
return CommandFace.getTooltipOf(this.face);
|
|
485
489
|
},
|
|
486
490
|
enumerable: true,
|
|
487
491
|
configurable: true
|