ngx-bootstrap
Version:
Native Angular Bootstrap Components
50 lines (49 loc) • 3.36 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
/**
* @record
*/
export function BsCustomDates() { }
function BsCustomDates_tsickle_Closure_declarations() {
/** @type {?} */
BsCustomDates.prototype.label;
/** @type {?} */
BsCustomDates.prototype.value;
}
var BsCustomDatesViewComponent = /** @class */ (function () {
function BsCustomDatesViewComponent() {
}
BsCustomDatesViewComponent.decorators = [
{ type: Component, args: [{
selector: 'bs-custom-date-view',
template: "\n <div class=\"bs-datepicker-predefined-btns\">\n <button *ngFor=\"let range of ranges\">{{ range.label }}</button>\n <button *ngIf=\"isCustomRangeShown\">Custom Range</button>\n </div>\n ",
changeDetection: ChangeDetectionStrategy.OnPush
}] }
];
/** @nocollapse */
BsCustomDatesViewComponent.propDecorators = {
"isCustomRangeShown": [{ type: Input },],
"ranges": [{ type: Input },],
};
return BsCustomDatesViewComponent;
}());
export { BsCustomDatesViewComponent };
function BsCustomDatesViewComponent_tsickle_Closure_declarations() {
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
BsCustomDatesViewComponent.decorators;
/**
* @nocollapse
* @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
*/
BsCustomDatesViewComponent.ctorParameters;
/** @type {!Object<string,!Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
BsCustomDatesViewComponent.propDecorators;
/** @type {?} */
BsCustomDatesViewComponent.prototype.isCustomRangeShown;
/** @type {?} */
BsCustomDatesViewComponent.prototype.ranges;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtY3VzdG9tLWRhdGVzLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWJvb3RzdHJhcC9kYXRlcGlja2VyLyIsInNvdXJjZXM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