(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 DataConnected24 = /** @class */ (function () {
        function DataConnected24(elementRef) {
            this.elementRef = elementRef;
        }
        DataConnected24.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;
                DataConnected24.titleIdCounter++;
                title.setAttribute("id", "data-connected24-" + DataConnected24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "data-connected24-" + DataConnected24.titleIdCounter);
            }
        };
        DataConnected24.titleIdCounter = 0;
        DataConnected24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-data-connected24",
                        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=\"M30 30h-6v-2h4V4h-4V2h6v28z\"></path><path d=\"M24.91 19.59a4.51 4.51 0 0 0-2.66-3.24 4.55 4.55 0 0 0-3.5 0 4.94 4.94 0 0 0-.64.35l-2.81-2.81a4.53 4.53 0 1 0-1.41 1.41l2.81 2.81a4.48 4.48 0 0 0-.61 3.3 4.51 4.51 0 0 0 2.66 3.24 4.55 4.55 0 0 0 3.5 0 4.51 4.51 0 0 0 2.66-3.24 4.65 4.65 0 0 0 0-1.82zM11.5 14a2.5 2.5 0 1 1 2.5-2.5 2.5 2.5 0 0 1-2.5 2.5z\"></path><path d=\"M8 30H2V2h6v2H4v24h4v2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        DataConnected24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        DataConnected24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return DataConnected24;
    }());
    var DataConnected24Module = /** @class */ (function () {
        function DataConnected24Module() {
        }
        DataConnected24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            DataConnected24
                        ],
                        exports: [
                            DataConnected24
                        ]
                    },] },
        ];
        return DataConnected24Module;
    }());

    exports.DataConnected24 = DataConnected24;
    exports.DataConnected24Module = DataConnected24Module;

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

})));
