/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
 */
import { Component, Input } from '@angular/core';
var CacheRuleEditorComponent = /** @class */ (function () {
    function CacheRuleEditorComponent() {
        this.periods = [
            '',
            'hour',
            'minute',
            'day',
            'week',
            'never',
            'month',
            'permanent'
        ];
    }
    /**
     * @return {?}
     */
    CacheRuleEditorComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
    };
    CacheRuleEditorComponent.decorators = [
        { type: Component, args: [{
                    selector: 'app-cache-rule-editor',
                    template: "<div>\r\n  <div class=\"form-group row\">\r\n    <label for=\"description\" class=\"col-sm-2 col-form-label tightPad\">period</label>\r\n    <div class=\"col-sm-10 tightPad\">\r\n      <select class=\"form-control\" [(ngModel)]=\"cacheRules.period\">\r\n                        <option *ngFor=\"let period of periods\" [ngValue]=\"period\">{{period}}</option>\r\n                    </select>\r\n    </div>\r\n  </div>\r\n\r\n  <div class=\"form-group row\">\r\n    <label for=\"description\" class=\"col-sm-2 col-form-label tightPad\">frequency</label>\r\n    <div class=\"col-sm-10 tightPad\">\r\n      <input class=\"form-control\" type=\"text\" [(ngModel)]=\"cacheRules.frequency\" id=\"description\">\r\n    </div>\r\n  </div>\r\n\r\n  <div class=\"form-group row\">\r\n    <label for=\"description\" class=\"col-sm-2 col-form-label tightPad\">target Minute</label>\r\n    <div class=\"col-sm-10 tightPad\">\r\n      <input class=\"form-control\" type=\"text\" [(ngModel)]=\"cacheRules.targetMinute\" id=\"description\">\r\n    </div>\r\n  </div>\r\n\r\n  <div class=\"form-group row\">\r\n    <label for=\"description\" class=\"col-sm-2 col-form-label tightPad\">target Hour</label>\r\n    <div class=\"col-sm-10 tightPad\">\r\n      <input class=\"form-control\" type=\"text\" [(ngModel)]=\"cacheRules.targetHour\" id=\"description\">\r\n    </div>\r\n  </div>\r\n\r\n  <div class=\"form-group row\">\r\n    <label for=\"description\" class=\"col-sm-2 col-form-label tightPad\">target Day</label>\r\n    <div class=\"col-sm-10 tightPad\">\r\n      <input class=\"form-control\" type=\"text\" [(ngModel)]=\"cacheRules.targetDay\" id=\"description\">\r\n    </div>\r\n  </div>\r\n\r\n  <div class=\"form-group row\">\r\n    <label for=\"description\" class=\"col-sm-2 col-form-label tightPad\">target WorkWeek Day</label>\r\n    <div class=\"col-sm-10 tightPad\">\r\n      <input class=\"form-control\" type=\"text\" [(ngModel)]=\"cacheRules.targetWorkWeekDay\" id=\"description\">\r\n    </div>\r\n  </div>\r\n</div>",
                    styles: [""]
                }] }
    ];
    /** @nocollapse */
    CacheRuleEditorComponent.ctorParameters = function () { return []; };
    CacheRuleEditorComponent.propDecorators = {
        cacheRules: [{ type: Input }]
    };
    return CacheRuleEditorComponent;
}());
export { CacheRuleEditorComponent };
if (false) {
    /** @type {?} */
    CacheRuleEditorComponent.prototype.cacheRules;
    /** @type {?} */
    CacheRuleEditorComponent.prototype.periods;
}

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGUtcnVsZS1lZGl0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vd2ViLXBsYXRmb3JtLWxpYnJhcnkvIiwic291cmNlcyI6WyJjb21wb25lbnRzL3dpZGdldHMvYWRtaW4vRWRpdG9ycy9jYWNoZS1ydWxlLWVkaXRvci9jYWNoZS1ydWxlLWVkaXRvci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUVBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOztJQXNCdkQ7dUJBWFU7WUFDRixFQUFFO1lBQ0YsTUFBTTtZQUNOLFFBQVE7WUFDUixLQUFLO1lBQ0wsTUFBTTtZQUNOLE9BQU87WUFDUCxPQUFPO1lBQ1AsV0FBVztTQUNaO0tBRVU7Ozs7SUFFakIsMkNBQVE7OztJQUFSO0tBQ0M7O2dCQXZCRixTQUFTLFNBQUM7b0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