ngx-bootstrap
Version:
Angular Bootstrap
47 lines (41 loc) • 3.6 kB
JavaScript
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "./bs-current-date-view.component";
import * as i3 from "./bs-timepicker-view.component";
export class BsCalendarLayoutComponent {
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BsCalendarLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: BsCalendarLayoutComponent, selector: "bs-calendar-layout", ngImport: i0, template: `
<!-- current date, will be added in nearest releases -->
<bs-current-date title="hey there" *ngIf="false"></bs-current-date>
<!--navigation-->
<div class="bs-datepicker-head">
<ng-content select="bs-datepicker-navigation-view"></ng-content>
</div>
<div class="bs-datepicker-body">
<ng-content></ng-content>
</div>
<!--timepicker-->
<bs-timepicker *ngIf="false"></bs-timepicker>
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BsCurrentDateViewComponent, selector: "bs-current-date", inputs: ["title"] }, { kind: "component", type: i3.BsTimepickerViewComponent, selector: "bs-timepicker" }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BsCalendarLayoutComponent, decorators: [{
type: Component,
args: [{
selector: 'bs-calendar-layout',
template: `
<!-- current date, will be added in nearest releases -->
<bs-current-date title="hey there" *ngIf="false"></bs-current-date>
<!--navigation-->
<div class="bs-datepicker-head">
<ng-content select="bs-datepicker-navigation-view"></ng-content>
</div>
<div class="bs-datepicker-body">
<ng-content></ng-content>
</div>
<!--timepicker-->
<bs-timepicker *ngIf="false"></bs-timepicker>
`
}]
}] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMt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