(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 Draw24 = /** @class */ (function () {
        function Draw24(elementRef) {
            this.elementRef = elementRef;
        }
        Draw24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 24,
                height: 24,
                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;
                Draw24.titleIdCounter++;
                title.setAttribute("id", "draw24-" + Draw24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "draw24-" + Draw24.titleIdCounter);
            }
        };
        Draw24.titleIdCounter = 0;
        Draw24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-draw24",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M19.14 28a3.42 3.42 0 0 1-2.42-5.85L21.86 17a1.42 1.42 0 1 0-2-2L13 21.85a3.5 3.5 0 0 1-4.85 0 3.43 3.43 0 0 1 0-4.84l8.58-8.58a1.42 1.42 0 1 0-2-2L6.41 14.7 5 13.3 13.29 5a3.43 3.43 0 0 1 4.84 4.85l-8.57 8.57a1.42 1.42 0 0 0 0 2 1.45 1.45 0 0 0 2 0l6.86-6.86a3.43 3.43 0 1 1 4.85 4.84l-5.15 5.15a1.42 1.42 0 0 0 2 2l4.44-4.43L26 22.56 21.56 27a3.38 3.38 0 0 1-2.42 1z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Draw24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Draw24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Draw24;
    }());
    var Draw24Module = /** @class */ (function () {
        function Draw24Module() {
        }
        Draw24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Draw24
                        ],
                        exports: [
                            Draw24
                        ]
                    },] },
        ];
        return Draw24Module;
    }());

    exports.Draw24 = Draw24;
    exports.Draw24Module = Draw24Module;

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

})));
