(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 ShoppingCatalog32 = /** @class */ (function () {
        function ShoppingCatalog32(elementRef) {
            this.elementRef = elementRef;
        }
        ShoppingCatalog32.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;
                ShoppingCatalog32.titleIdCounter++;
                title.setAttribute("id", "shopping-catalog32-" + ShoppingCatalog32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "shopping-catalog32-" + ShoppingCatalog32.titleIdCounter);
            }
        };
        ShoppingCatalog32.titleIdCounter = 0;
        ShoppingCatalog32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-shopping-catalog32",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M17 24h4v4h-4zm7 0h4v4h-4zm-7-7h4v4h-4zm7 0h4v4h-4z\"></path><path d=\"M28 11h-6V7c0-1.7-1.3-3-3-3h-6c-1.7 0-3 1.3-3 3v4H4c-.6 0-1 .4-1 1v.2l1.9 12.1c.1 1 1 1.7 2 1.7H15v-2H6.9L5.2 13H28v-2zM12 7c0-.6.4-1 1-1h6c.6 0 1 .4 1 1v4h-8V7z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        ShoppingCatalog32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        ShoppingCatalog32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return ShoppingCatalog32;
    }());
    var ShoppingCatalog32Module = /** @class */ (function () {
        function ShoppingCatalog32Module() {
        }
        ShoppingCatalog32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            ShoppingCatalog32
                        ],
                        exports: [
                            ShoppingCatalog32
                        ]
                    },] },
        ];
        return ShoppingCatalog32Module;
    }());

    exports.ShoppingCatalog32 = ShoppingCatalog32;
    exports.ShoppingCatalog32Module = ShoppingCatalog32Module;

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

})));
