(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 DropdownList20 = /** @class */ (function () {
        function DropdownList20(elementRef) {
            this.elementRef = elementRef;
        }
        DropdownList20.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;
                DropdownList20.titleIdCounter++;
                title.setAttribute("id", "dropdown-list20-" + DropdownList20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "dropdown-list20-" + DropdownList20.titleIdCounter);
            }
        };
        DropdownList20.titleIdCounter = 0;
        DropdownList20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-dropdown-list20",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"transform: translate3d(0, 0, 0);\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" 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 */
        DropdownList20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        DropdownList20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return DropdownList20;
    }());
    var DropdownList20Module = /** @class */ (function () {
        function DropdownList20Module() {
        }
        DropdownList20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            DropdownList20
                        ],
                        exports: [
                            DropdownList20
                        ]
                    },] },
        ];
        return DropdownList20Module;
    }());

    exports.DropdownList20 = DropdownList20;
    exports.DropdownList20Module = DropdownList20Module;

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

})));
