UNPKG

ngx-bootstrap

Version:
29 lines 1.36 kB
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; var BsDatepickerDayDecoratorComponent = (function () { function BsDatepickerDayDecoratorComponent() { } BsDatepickerDayDecoratorComponent.decorators = [ { type: Component, args: [{ selector: '[bsDatepickerDayDecorator]', changeDetection: ChangeDetectionStrategy.OnPush, host: { '[class.disabled]': 'day.isDisabled', '[class.is-highlighted]': 'day.isHovered', '[class.is-other-month]': 'day.isOtherMonth', '[class.in-range]': 'day.isInRange', '[class.select-start]': 'day.isSelectionStart', '[class.select-end]': 'day.isSelectionEnd', '[class.selected]': 'day.isSelected' }, template: "{{ day.label }}" },] }, ]; /** @nocollapse */ BsDatepickerDayDecoratorComponent.ctorParameters = function () { return []; }; BsDatepickerDayDecoratorComponent.propDecorators = { 'day': [{ type: Input },], }; return BsDatepickerDayDecoratorComponent; }()); export { BsDatepickerDayDecoratorComponent }; //# sourceMappingURL=bs-datepicker-day-decorator.directive.js.map