(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@carbon/icon-helpers')) :
    typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@carbon/icon-helpers'], factory) :
    (factory((global.CarbonIconsAngular = {}),global.ng.Core,global.CarbonIconHelpers));
}(this, (function (exports,core,iconHelpers) { 'use strict';

    var EventSchedule20 = /** @class */ (function () {
        function EventSchedule20(elementRef) {
            this.elementRef = elementRef;
        }
        EventSchedule20.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 20,
                height: 20,
                viewBox: "0 0 32 32",
                title: this.title,
                "aria-label": this.ariaLabel,
                "aria-labelledby": this.ariaLabelledby,
                "aria-hidden": this.ariaHidden,
                focusable: this.focusable
            });
            var attrKeys = Object.keys(attributes);
            for (var i = 0; i < attrKeys.length; i++) {
                var key = attrKeys[i];
                var value = attributes[key];
                if (key === "title") {
                    continue;
                }
                if (value) {
                    svg.setAttribute(key, value);
                }
            }
            if (attributes.title) {
                var title = document.createElement("title");
                title.textContent = attributes.title;
                EventSchedule20.titleIdCounter++;
                title.setAttribute("id", "event-schedule20-" + EventSchedule20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "event-schedule20-" + EventSchedule20.titleIdCounter);
            }
        };
        EventSchedule20.titleIdCounter = 0;
        EventSchedule20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-event-schedule20",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M21 30a8 8 0 1 1 8-8 8 8 0 0 1-8 8zm0-14a6 6 0 1 0 6 6 6 6 0 0 0-6-6z\"></path><path d=\"M22.59 25L20 22.41V18h2v3.59l2 2L22.59 25z\"></path><path d=\"M28 6a2 2 0 0 0-2-2h-4V2h-2v2h-8V2h-2v2H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h4v-2H6V6h4v2h2V6h8v2h2V6h4v6h2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        EventSchedule20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        EventSchedule20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return EventSchedule20;
    }());
    var EventSchedule20Module = /** @class */ (function () {
        function EventSchedule20Module() {
        }
        EventSchedule20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            EventSchedule20
                        ],
                        exports: [
                            EventSchedule20
                        ]
                    },] },
        ];
        return EventSchedule20Module;
    }());

    exports.EventSchedule20 = EventSchedule20;
    exports.EventSchedule20Module = EventSchedule20Module;

    Object.defineProperty(exports, '__esModule', { value: true });

})));
