(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 DropdownList32 = /** @class */ (function () {
        function DropdownList32(elementRef) {
            this.elementRef = elementRef;
        }
        DropdownList32.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 32,
                height: 32,
                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;
                DropdownList32.titleIdCounter++;
                title.setAttribute("id", "dropdown-list32-" + DropdownList32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "dropdown-list32-" + DropdownList32.titleIdCounter);
            }
        };
        DropdownList32.titleIdCounter = 0;
        DropdownList32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-dropdown-list32",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"transform: translate3d(0, 0, 0);\" xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M26 6V2H2v10h9v18h19V6zM4 10V4h20v2H11v4zm24 18H13V8h15z\"></path><path d=\"M15 11h2v2h-2zm4 0h7v2h-7zm-4 6h2v2h-2zm4 0h7v2h-7zm-4 6h2v2h-2zm4 0h7v2h-7z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        DropdownList32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        DropdownList32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return DropdownList32;
    }());
    var DropdownList32Module = /** @class */ (function () {
        function DropdownList32Module() {
        }
        DropdownList32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            DropdownList32
                        ],
                        exports: [
                            DropdownList32
                        ]
                    },] },
        ];
        return DropdownList32Module;
    }());

    exports.DropdownList32 = DropdownList32;
    exports.DropdownList32Module = DropdownList32Module;

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

})));
