"use strict";
var angular = require("angular");
var componentsDefaultTheme_1 = require("../componentsDefaultTheme");
exports.moduleName = 'rl.ui.components.busy';
exports.componentName = 'rlBusy';
var BusyController = (function () {
    function BusyController(useDefaultTheme) {
        this.useDefaultTheme = useDefaultTheme;
    }
    return BusyController;
}());
BusyController.$inject = [componentsDefaultTheme_1.defaultThemeValueName];
var busy = {
    template: "<i class=\"busy rl-{{::busy.size}}\" ng-class=\"{ 'default-theme': busy.useDefaultTheme }\" ng-show=\"busy.loading\"></i>",
    controller: BusyController,
    controllerAs: 'busy',
    bindings: {
        loading: '<',
        // Valid values are:
        // `lg`, `2x`, `3x`, `4x`, and `5x`
        size: '@',
    },
};
angular.module(exports.moduleName, [])
    .component(exports.componentName, busy);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzeS5uZzEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJidXN5Lm5nMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsaUNBQW1DO0FBRW5DLG9FQUFrRTtBQUVyRCxRQUFBLFVBQVUsR0FBVyx1QkFBdUIsQ0FBQztBQUM3QyxRQUFBLGFBQWEsR0FBVyxRQUFRLENBQUM7QUFFOUM7SUFFQyx3QkFBbUIsZUFBd0I7UUFBeEIsb0JBQWUsR0FBZixlQUFlLENBQVM7SUFBSSxDQUFDO0lBQ2pELHFCQUFDO0FBQUQsQ0FBQyxBQUhEO0FBQ1Esc0JBQU8sR0FBYSxDQUFDLDhDQUFxQixDQUFDLENBQUM7QUFJcEQsSUFBTSxJQUFJLEdBQThCO0lBQ3ZDLFFBQVEsRUFBRSwySEFBcUg7SUFDL0gsVUFBVSxFQUFFLGNBQWM7SUFDMUIsWUFBWSxFQUFFLE1BQU07SUFDcEIsUUFBUSxFQUFFO1FBQ1QsT0FBTyxFQUFFLEdBQUc7UUFDWixvQkFBb0I7UUFDcEIsbUNBQW1DO1FBQ25DLElBQUksRUFBRSxHQUFHO0tBQ1Q7Q0FDRCxDQUFDO0FBRUYsT0FBTyxDQUFDLE1BQU0sQ0FBQyxrQkFBVSxFQUFFLEVBQUUsQ0FBQztLQUM1QixTQUFTLENBQUMscUJBQWEsRUFBRSxJQUFJLENBQUMsQ0FBQyJ9