define(['exports', 'aurelia-framework'], function (exports, _aureliaFramework) {
    'use strict';

    exports.__esModule = true;
    exports.PragmaOptionsToolbar = undefined;

    function _initDefineProp(target, property, descriptor, context) {
        if (!descriptor) return;
        Object.defineProperty(target, property, {
            enumerable: descriptor.enumerable,
            configurable: descriptor.configurable,
            writable: descriptor.writable,
            value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
        });
    }

    function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
        var desc = {};
        Object['ke' + 'ys'](descriptor).forEach(function (key) {
            desc[key] = descriptor[key];
        });
        desc.enumerable = !!desc.enumerable;
        desc.configurable = !!desc.configurable;

        if ('value' in desc || desc.initializer) {
            desc.writable = true;
        }

        desc = decorators.slice().reverse().reduce(function (desc, decorator) {
            return decorator(target, property, desc) || desc;
        }, desc);

        if (context && desc.initializer !== void 0) {
            desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
            desc.initializer = undefined;
        }

        if (desc.initializer === void 0) {
            Object['define' + 'Property'](target, property, desc);
            desc = null;
        }

        return desc;
    }

    function _initializerWarningHelper(descriptor, context) {
        throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.');
    }

    var _dec, _dec2, _class, _desc, _value, _class2, _descriptor, _descriptor2;

    let PragmaOptionsToolbar = exports.PragmaOptionsToolbar = (_dec = (0, _aureliaFramework.customElement)('pragma-options-toolbar'), _dec2 = (0, _aureliaFramework.inject)(Element), _dec(_class = _dec2(_class = (_class2 = class PragmaOptionsToolbar {

        constructor(element) {
            _initDefineProp(this, 'dropdownItems', _descriptor, this);

            _initDefineProp(this, 'selectedId', _descriptor2, this);

            this.element = element;
        }
    }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'dropdownItems', [_aureliaFramework.bindable], {
        enumerable: true,
        initializer: null
    }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, 'selectedId', [_aureliaFramework.bindable], {
        enumerable: true,
        initializer: null
    })), _class2)) || _class) || _class);
});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByYWdtYS1vcHRpb25zLXRvb2xiYXIuanMiXSwibmFtZXMiOlsiUHJhZ21hT3B0aW9uc1Rvb2xiYXIiLCJFbGVtZW50IiwiY29uc3RydWN0b3IiLCJlbGVtZW50Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7UUFJYUEsb0IsV0FBQUEsb0IsV0FGWixxQ0FBYyx3QkFBZCxDLFVBQ0EsOEJBQU9DLE9BQVAsQywwQ0FDTSxNQUFNRCxvQkFBTixDQUEyQjs7QUFJOUJFLG9CQUFZQyxPQUFaLEVBQXFCO0FBQUE7O0FBQUE7O0FBQ2pCLGlCQUFLQSxPQUFMLEdBQWVBLE9BQWY7QUFDSDtBQU42QixLIiwiZmlsZSI6InByYWdtYS1vcHRpb25zLXRvb2xiYXIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge2N1c3RvbUVsZW1lbnQsIGluamVjdCwgYmluZGFibGV9IGZyb20gJ2F1cmVsaWEtZnJhbWV3b3JrJztcclxuXHJcbkBjdXN0b21FbGVtZW50KCdwcmFnbWEtb3B0aW9ucy10b29sYmFyJylcclxuQGluamVjdChFbGVtZW50KVxyXG5leHBvcnQgY2xhc3MgUHJhZ21hT3B0aW9uc1Rvb2xiYXIge1xyXG4gICAgQGJpbmRhYmxlIGRyb3Bkb3duSXRlbXM7XHJcbiAgICBAYmluZGFibGUgc2VsZWN0ZWRJZDtcclxuXHJcbiAgICBjb25zdHJ1Y3RvcihlbGVtZW50KSB7XHJcbiAgICAgICAgdGhpcy5lbGVtZW50ID0gZWxlbWVudDtcclxuICAgIH1cclxufSJdfQ==