(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 DeliveryTruck20 = /** @class */ (function () {
        function DeliveryTruck20(elementRef) {
            this.elementRef = elementRef;
        }
        DeliveryTruck20.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;
                DeliveryTruck20.titleIdCounter++;
                title.setAttribute("id", "delivery-truck20-" + DeliveryTruck20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "delivery-truck20-" + DeliveryTruck20.titleIdCounter);
            }
        };
        DeliveryTruck20.titleIdCounter = 0;
        DeliveryTruck20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-delivery-truck20",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M29.92 16.61l-3-7A1 1 0 0 0 26 9h-3V7a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v17a1 1 0 0 0 1 1h2.14a4 4 0 0 0 7.72 0h6.28a4 4 0 0 0 7.72 0H29a1 1 0 0 0 1-1v-7a1 1 0 0 0-.08-.39zM23 11h2.34l2.14 5H23zM9 26a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm10.14-3h-6.28a4 4 0 0 0-7.72 0H4V8h17v12.56A4 4 0 0 0 19.14 23zM23 26a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm5-3h-1.14A4 4 0 0 0 23 20v-2h5z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        DeliveryTruck20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        DeliveryTruck20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return DeliveryTruck20;
    }());
    var DeliveryTruck20Module = /** @class */ (function () {
        function DeliveryTruck20Module() {
        }
        DeliveryTruck20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            DeliveryTruck20
                        ],
                        exports: [
                            DeliveryTruck20
                        ]
                    },] },
        ];
        return DeliveryTruck20Module;
    }());

    exports.DeliveryTruck20 = DeliveryTruck20;
    exports.DeliveryTruck20Module = DeliveryTruck20Module;

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

})));
