bitfront-library
Version:
Angular CLI project with components and classes used by other Angular projects of the BIT foundation.
29 lines • 1.23 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OtherToolbarActionPipe = void 0;
var core_1 = require("@angular/core");
var i0 = require("@angular/core");
var OtherToolbarActionPipe = /** @class */ (function () {
function OtherToolbarActionPipe() {
}
OtherToolbarActionPipe.prototype.transform = function (toolbarMap) {
var actions = [];
for (var key in toolbarMap) {
if (toolbarMap[key].otherAction) {
actions.push(toolbarMap[key]);
}
}
return actions;
};
OtherToolbarActionPipe.ɵfac = function OtherToolbarActionPipe_Factory(t) { return new (t || OtherToolbarActionPipe)(); };
OtherToolbarActionPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "otherToolbarAction", type: OtherToolbarActionPipe, pure: true });
return OtherToolbarActionPipe;
}());
exports.OtherToolbarActionPipe = OtherToolbarActionPipe;
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OtherToolbarActionPipe, [{
type: core_1.Pipe,
args: [{
name: "otherToolbarAction"
}]
}], null, null); })();
//# sourceMappingURL=other-actions.pipe.js.map