aeb-ui-kit 9.0.0-preview.1013 → 9.0.0-preview.1020
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/aeb-ui-kit.mjs
CHANGED
|
@@ -1638,11 +1638,11 @@ class DatepickerMonthComponent {
|
|
|
1638
1638
|
this.isExcluded(date));
|
|
1639
1639
|
}
|
|
1640
1640
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerMonthComponent, deps: [{ token: DatepickerUtilsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1641
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: DatepickerMonthComponent, isStandalone: false, selector: "aeb-datepicker-month", inputs: { month: "month", date: "date", minDate: "minDate", maxDate: "maxDate", excludedDates: "excludedDates" }, outputs: { setDate: "setDate" }, ngImport: i0, template: "<div class=\"aeb-datepicker-month__week\">\n <div\n *ngFor=\"let day of week\"\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\"\n >\n {{day}}\n </div>\n</div>\n<div *ngFor=\"let week of month\" class=\"aeb-datepicker-month__week\">\n <ng-container\n *ngFor=\"let day of week\"\n >\n <div\n *ngIf=\"!!day; else elseStub\"\n class=\"aeb-datepicker-month__day\"\n [ngClass]=\"{\n 'aeb-datepicker-month__day--today': isToday(day),\n 'aeb-datepicker-month__day--picked': sameDate(day),\n 'aeb-datepicker-month__day--disabled': isDisabled(day)\n }\"\n (click)=\"emitDate(day)\"\n >\n {{day | dateToStr}}\n </div>\n <ng-template\n #elseStub\n >\n <div\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\n >\n </div>\n </ng-template>\n </ng-container>\n</div>\n", styles: [".aeb-datepicker-month__week{display:flex;align-items:center;width:fit-content}.aeb-datepicker-month__week:not(:last-child){margin-bottom:10px}.aeb-datepicker-month__day{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:32px;height:28px;font-size:var(--font-size-s);cursor:pointer;border-radius:var(--border-lightly-rounded)}.aeb-datepicker-month__day:hover{border:var(--border-thin) solid var(--color-blue-500)}.aeb-datepicker-month__day--stub{pointer-events:none;cursor:none}.aeb-datepicker-month__day--stub:hover{border:var(--no-border)}.aeb-datepicker-month__day--today{border:var(--border-thin) solid var(--
|
|
1641
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: DatepickerMonthComponent, isStandalone: false, selector: "aeb-datepicker-month", inputs: { month: "month", date: "date", minDate: "minDate", maxDate: "maxDate", excludedDates: "excludedDates" }, outputs: { setDate: "setDate" }, ngImport: i0, template: "<div class=\"aeb-datepicker-month__week\">\n <div\n *ngFor=\"let day of week\"\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\"\n >\n {{day}}\n </div>\n</div>\n<div *ngFor=\"let week of month\" class=\"aeb-datepicker-month__week\">\n <ng-container\n *ngFor=\"let day of week\"\n >\n <div\n *ngIf=\"!!day; else elseStub\"\n class=\"aeb-datepicker-month__day\"\n [ngClass]=\"{\n 'aeb-datepicker-month__day--today': isToday(day),\n 'aeb-datepicker-month__day--picked': sameDate(day),\n 'aeb-datepicker-month__day--disabled': isDisabled(day)\n }\"\n (click)=\"emitDate(day)\"\n >\n {{day | dateToStr}}\n </div>\n <ng-template\n #elseStub\n >\n <div\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\n >\n </div>\n </ng-template>\n </ng-container>\n</div>\n", styles: [".aeb-datepicker-month__week{display:flex;align-items:center;width:fit-content}.aeb-datepicker-month__week:not(:last-child){margin-bottom:10px}.aeb-datepicker-month__day{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:32px;height:28px;font-size:var(--font-size-s);cursor:pointer;border-radius:var(--border-lightly-rounded)}.aeb-datepicker-month__day:hover{border:var(--border-thin) solid var(--color-blue-500)}.aeb-datepicker-month__day--stub{pointer-events:none;cursor:none}.aeb-datepicker-month__day--stub:hover{border:var(--no-border)}.aeb-datepicker-month__day--today{border:var(--border-thin) solid var(--color-mono-200)}.aeb-datepicker-month__day--picked{color:var(--color-mono-0);background-color:var(--color-blue-500);border:var(--no-border)}.aeb-datepicker-month__day--disabled{color:var(--color-mono-200);pointer-events:none;cursor:none}.aeb-datepicker-month__day--disabled:hover{border:var(--no-border)}.aeb-datepicker-month__day:not(:last-child){margin-right:8px}.aeb-datepicker-month__day--weekd{font-size:var(--font-size-xxs);color:var(--color-mono-200);cursor:default}.aeb-datepicker-month__day--weekd:hover{border:var(--no-border)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: DateToStrPipe, name: "dateToStr" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
1642
1642
|
}
|
|
1643
1643
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerMonthComponent, decorators: [{
|
|
1644
1644
|
type: Component,
|
|
1645
|
-
args: [{ selector: 'aeb-datepicker-month', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"aeb-datepicker-month__week\">\n <div\n *ngFor=\"let day of week\"\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\"\n >\n {{day}}\n </div>\n</div>\n<div *ngFor=\"let week of month\" class=\"aeb-datepicker-month__week\">\n <ng-container\n *ngFor=\"let day of week\"\n >\n <div\n *ngIf=\"!!day; else elseStub\"\n class=\"aeb-datepicker-month__day\"\n [ngClass]=\"{\n 'aeb-datepicker-month__day--today': isToday(day),\n 'aeb-datepicker-month__day--picked': sameDate(day),\n 'aeb-datepicker-month__day--disabled': isDisabled(day)\n }\"\n (click)=\"emitDate(day)\"\n >\n {{day | dateToStr}}\n </div>\n <ng-template\n #elseStub\n >\n <div\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\n >\n </div>\n </ng-template>\n </ng-container>\n</div>\n", styles: [".aeb-datepicker-month__week{display:flex;align-items:center;width:fit-content}.aeb-datepicker-month__week:not(:last-child){margin-bottom:10px}.aeb-datepicker-month__day{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:32px;height:28px;font-size:var(--font-size-s);cursor:pointer;border-radius:var(--border-lightly-rounded)}.aeb-datepicker-month__day:hover{border:var(--border-thin) solid var(--color-blue-500)}.aeb-datepicker-month__day--stub{pointer-events:none;cursor:none}.aeb-datepicker-month__day--stub:hover{border:var(--no-border)}.aeb-datepicker-month__day--today{border:var(--border-thin) solid var(--
|
|
1645
|
+
args: [{ selector: 'aeb-datepicker-month', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"aeb-datepicker-month__week\">\n <div\n *ngFor=\"let day of week\"\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\"\n >\n {{day}}\n </div>\n</div>\n<div *ngFor=\"let week of month\" class=\"aeb-datepicker-month__week\">\n <ng-container\n *ngFor=\"let day of week\"\n >\n <div\n *ngIf=\"!!day; else elseStub\"\n class=\"aeb-datepicker-month__day\"\n [ngClass]=\"{\n 'aeb-datepicker-month__day--today': isToday(day),\n 'aeb-datepicker-month__day--picked': sameDate(day),\n 'aeb-datepicker-month__day--disabled': isDisabled(day)\n }\"\n (click)=\"emitDate(day)\"\n >\n {{day | dateToStr}}\n </div>\n <ng-template\n #elseStub\n >\n <div\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\n >\n </div>\n </ng-template>\n </ng-container>\n</div>\n", styles: [".aeb-datepicker-month__week{display:flex;align-items:center;width:fit-content}.aeb-datepicker-month__week:not(:last-child){margin-bottom:10px}.aeb-datepicker-month__day{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:32px;height:28px;font-size:var(--font-size-s);cursor:pointer;border-radius:var(--border-lightly-rounded)}.aeb-datepicker-month__day:hover{border:var(--border-thin) solid var(--color-blue-500)}.aeb-datepicker-month__day--stub{pointer-events:none;cursor:none}.aeb-datepicker-month__day--stub:hover{border:var(--no-border)}.aeb-datepicker-month__day--today{border:var(--border-thin) solid var(--color-mono-200)}.aeb-datepicker-month__day--picked{color:var(--color-mono-0);background-color:var(--color-blue-500);border:var(--no-border)}.aeb-datepicker-month__day--disabled{color:var(--color-mono-200);pointer-events:none;cursor:none}.aeb-datepicker-month__day--disabled:hover{border:var(--no-border)}.aeb-datepicker-month__day:not(:last-child){margin-right:8px}.aeb-datepicker-month__day--weekd{font-size:var(--font-size-xxs);color:var(--color-mono-200);cursor:default}.aeb-datepicker-month__day--weekd:hover{border:var(--no-border)}\n"] }]
|
|
1646
1646
|
}], ctorParameters: () => [{ type: DatepickerUtilsService }], propDecorators: { month: [{
|
|
1647
1647
|
type: Input,
|
|
1648
1648
|
args: ['month']
|
|
@@ -1720,11 +1720,11 @@ class DatepickerTilesComponent {
|
|
|
1720
1720
|
}
|
|
1721
1721
|
}
|
|
1722
1722
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerTilesComponent, deps: [{ token: DatepickerUtilsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1723
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: DatepickerTilesComponent, isStandalone: false, selector: "aeb-datepicker-tiles", inputs: { date: "date", isMonths: "isMonths", isYears: "isYears", year: "year", month: "month", minYear: "minYear", maxYear: "maxYear", minDate: "minDate", maxDate: "maxDate", woDays: "woDays" }, outputs: { setYear: "setYear", setMonth: "setMonth" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"aeb-datepicker-tiles\"\n #container\n>\n <div\n class=\"aeb-datepicker-tiles__scroll\"\n [ngClass]=\"{'aeb-datepicker-tiles__scroll--months': isMonths}\"\n >\n <div\n [style.display]=\"!isMonths ? 'flex' : 'none'\"\n class=\"aeb-datepicker-tiles__tile\"\n *ngFor=\"let yearNum of years\"\n [ngClass]=\"{\n 'aeb-datepicker-tiles__tile--active': yearNum === year,\n 'aeb-datepicker-tiles__tile--disabled': isYearDisabled(yearNum)\n }\"\n (click)=\"emitYear(yearNum)\"\n >\n {{ yearNum }}\n </div>\n <div\n [style.display]=\"isMonths ? 'flex' : 'none'\"\n class=\"aeb-datepicker-tiles__tile\"\n *ngFor=\"let monthNum of months; let i = index\"\n [ngClass]=\"{\n 'aeb-datepicker-tiles__tile--active': i === month,\n 'aeb-datepicker-tiles__tile--disabled': isMonthDisabled(i)\n }\"\n (click)=\"emitMonth(i)\"\n >\n {{ monthNum }}\n </div>\n </div>\n</div>", styles: [".aeb-datepicker-tiles{position:relative;
|
|
1723
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: DatepickerTilesComponent, isStandalone: false, selector: "aeb-datepicker-tiles", inputs: { date: "date", isMonths: "isMonths", isYears: "isYears", year: "year", month: "month", minYear: "minYear", maxYear: "maxYear", minDate: "minDate", maxDate: "maxDate", woDays: "woDays" }, outputs: { setYear: "setYear", setMonth: "setMonth" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"aeb-datepicker-tiles\"\n #container\n>\n <div\n class=\"aeb-datepicker-tiles__scroll\"\n [ngClass]=\"{'aeb-datepicker-tiles__scroll--months': isMonths}\"\n >\n <div\n [style.display]=\"!isMonths ? 'flex' : 'none'\"\n class=\"aeb-datepicker-tiles__tile\"\n *ngFor=\"let yearNum of years\"\n [ngClass]=\"{\n 'aeb-datepicker-tiles__tile--active': yearNum === year,\n 'aeb-datepicker-tiles__tile--disabled': isYearDisabled(yearNum)\n }\"\n (click)=\"emitYear(yearNum)\"\n >\n {{ yearNum }}\n </div>\n <div\n [style.display]=\"isMonths ? 'flex' : 'none'\"\n class=\"aeb-datepicker-tiles__tile\"\n *ngFor=\"let monthNum of months; let i = index\"\n [ngClass]=\"{\n 'aeb-datepicker-tiles__tile--active': i === month,\n 'aeb-datepicker-tiles__tile--disabled': isMonthDisabled(i)\n }\"\n (click)=\"emitMonth(i)\"\n >\n {{ monthNum }}\n </div>\n </div>\n</div>", styles: [".aeb-datepicker-tiles{position:relative;width:272px;height:220px;overflow:auto;-ms-overflow-style:none;scrollbar-width:none}.aeb-datepicker-tiles::-webkit-scrollbar{display:none}.aeb-datepicker-tiles__scroll{position:absolute;display:grid;width:100%;height:100%;grid-template-columns:1fr 1fr 1fr;gap:12px 8px}.aeb-datepicker-tiles__tile{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:44px;font-size:var(--font-size-s);border:var(--border-thin) solid var(--color-mono-200);border-radius:var(--border-lightly-rounded)}.aeb-datepicker-tiles__tile:hover{cursor:pointer;border:var(--border-thin) solid var(--color-blue-500)}.aeb-datepicker-tiles__tile--active{color:var(--color-mono-0);background-color:var(--color-blue-500);border:var(--border-thin) solid var(--color-blue-500)}.aeb-datepicker-tiles__tile--disabled{color:var(--color-mono-200);pointer-events:none;cursor:none}.aeb-datepicker-tiles__tile--disabled:hover{border:var(--no-border)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
1724
1724
|
}
|
|
1725
1725
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerTilesComponent, decorators: [{
|
|
1726
1726
|
type: Component,
|
|
1727
|
-
args: [{ selector: 'aeb-datepicker-tiles', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div\n class=\"aeb-datepicker-tiles\"\n #container\n>\n <div\n class=\"aeb-datepicker-tiles__scroll\"\n [ngClass]=\"{'aeb-datepicker-tiles__scroll--months': isMonths}\"\n >\n <div\n [style.display]=\"!isMonths ? 'flex' : 'none'\"\n class=\"aeb-datepicker-tiles__tile\"\n *ngFor=\"let yearNum of years\"\n [ngClass]=\"{\n 'aeb-datepicker-tiles__tile--active': yearNum === year,\n 'aeb-datepicker-tiles__tile--disabled': isYearDisabled(yearNum)\n }\"\n (click)=\"emitYear(yearNum)\"\n >\n {{ yearNum }}\n </div>\n <div\n [style.display]=\"isMonths ? 'flex' : 'none'\"\n class=\"aeb-datepicker-tiles__tile\"\n *ngFor=\"let monthNum of months; let i = index\"\n [ngClass]=\"{\n 'aeb-datepicker-tiles__tile--active': i === month,\n 'aeb-datepicker-tiles__tile--disabled': isMonthDisabled(i)\n }\"\n (click)=\"emitMonth(i)\"\n >\n {{ monthNum }}\n </div>\n </div>\n</div>", styles: [".aeb-datepicker-tiles{position:relative;
|
|
1727
|
+
args: [{ selector: 'aeb-datepicker-tiles', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div\n class=\"aeb-datepicker-tiles\"\n #container\n>\n <div\n class=\"aeb-datepicker-tiles__scroll\"\n [ngClass]=\"{'aeb-datepicker-tiles__scroll--months': isMonths}\"\n >\n <div\n [style.display]=\"!isMonths ? 'flex' : 'none'\"\n class=\"aeb-datepicker-tiles__tile\"\n *ngFor=\"let yearNum of years\"\n [ngClass]=\"{\n 'aeb-datepicker-tiles__tile--active': yearNum === year,\n 'aeb-datepicker-tiles__tile--disabled': isYearDisabled(yearNum)\n }\"\n (click)=\"emitYear(yearNum)\"\n >\n {{ yearNum }}\n </div>\n <div\n [style.display]=\"isMonths ? 'flex' : 'none'\"\n class=\"aeb-datepicker-tiles__tile\"\n *ngFor=\"let monthNum of months; let i = index\"\n [ngClass]=\"{\n 'aeb-datepicker-tiles__tile--active': i === month,\n 'aeb-datepicker-tiles__tile--disabled': isMonthDisabled(i)\n }\"\n (click)=\"emitMonth(i)\"\n >\n {{ monthNum }}\n </div>\n </div>\n</div>", styles: [".aeb-datepicker-tiles{position:relative;width:272px;height:220px;overflow:auto;-ms-overflow-style:none;scrollbar-width:none}.aeb-datepicker-tiles::-webkit-scrollbar{display:none}.aeb-datepicker-tiles__scroll{position:absolute;display:grid;width:100%;height:100%;grid-template-columns:1fr 1fr 1fr;gap:12px 8px}.aeb-datepicker-tiles__tile{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:44px;font-size:var(--font-size-s);border:var(--border-thin) solid var(--color-mono-200);border-radius:var(--border-lightly-rounded)}.aeb-datepicker-tiles__tile:hover{cursor:pointer;border:var(--border-thin) solid var(--color-blue-500)}.aeb-datepicker-tiles__tile--active{color:var(--color-mono-0);background-color:var(--color-blue-500);border:var(--border-thin) solid var(--color-blue-500)}.aeb-datepicker-tiles__tile--disabled{color:var(--color-mono-200);pointer-events:none;cursor:none}.aeb-datepicker-tiles__tile--disabled:hover{border:var(--no-border)}\n"] }]
|
|
1728
1728
|
}], ctorParameters: () => [{ type: DatepickerUtilsService }], propDecorators: { container: [{
|
|
1729
1729
|
type: ViewChild,
|
|
1730
1730
|
args: ['container']
|
|
@@ -1770,6 +1770,7 @@ class DatepickerCoreComponent {
|
|
|
1770
1770
|
this.withBackground = true;
|
|
1771
1771
|
this.align = 'right';
|
|
1772
1772
|
this.withoutDays = false;
|
|
1773
|
+
this.hidden = true;
|
|
1773
1774
|
// eslint-disable-next-line @angular-eslint/no-output-on-prefix
|
|
1774
1775
|
this.dateChange = new EventEmitter();
|
|
1775
1776
|
this.woDaysMonth = new EventEmitter();
|
|
@@ -1873,11 +1874,11 @@ class DatepickerCoreComponent {
|
|
|
1873
1874
|
return new Date(year, 0, 1);
|
|
1874
1875
|
}
|
|
1875
1876
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerCoreComponent, deps: [{ token: DatepickerUtilsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1876
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: DatepickerCoreComponent, isStandalone: false, selector: "aeb-datepicker-core", inputs: { date: "date", minDate: "minDate", maxDate: "maxDate", excludedDates: "excludedDates", minYear: "minYear", maxYear: "maxYear", withBackground: "withBackground", align: "align", withoutDays: "withoutDays" }, outputs: { dateChange: "dateChange", woDaysMonth: "woDaysMonth", woDaysYear: "woDaysYear", woDaysMonthSubInc: "woDaysMonthSubInc" }, providers: [{ provide: LOCALE_ID, useValue: 'ru' }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{\n 'aeb-datepicker-core--with-background': withBackground,\n 'aeb-datepicker-core--left': align === 'left',\n 'aeb-datepicker-core--right': align === 'right'\n }\"\n #container\n>\n <div class=\"aeb-datepicker-core__controls\">\n <div class=\"aeb-datepicker-core__arrow\" (click)=\"subMonth()\">\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n <div\n class=\"aeb-datepicker-core__btn aeb-datepicker-core__btn--month\"\n (click)=\"showMonthsHandler()\"\n >\n {{ firstDay() | date: \"LLLL\" | titlecase }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowMonths }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__btn\" (click)=\"showYearsHandler()\">\n {{ firstDay() | date: \"yyyy\" }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowYears }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-datepicker-core__arrow aeb-datepicker-core__arrow--right\"\n (click)=\"addMonth()\"\n >\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__calendar\">\n <div [style.display]=\"!isShowYears && !isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-month\n [month]=\"month\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n (setDate)=\"setDate($event)\"\n >\n </aeb-datepicker-month>\n </div>\n <div [style.display]=\"isShowYears ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [year]=\"currentYear\"\n [date]=\"startOfYear(currentYear)\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setYear)=\"setYear($event)\"\n [isYears]=\"isShowYears\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n <div [style.display]=\"isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [isMonths]=\"isShowMonths\"\n [month]=\"currentMonth\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setMonth)=\"setMonth($event)\"\n [year]=\"currentYear\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n </div>\n</div>\n", styles: [".aeb-datepicker-core{
|
|
1877
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: DatepickerCoreComponent, isStandalone: false, selector: "aeb-datepicker-core", inputs: { date: "date", minDate: "minDate", maxDate: "maxDate", excludedDates: "excludedDates", minYear: "minYear", maxYear: "maxYear", withBackground: "withBackground", align: "align", withoutDays: "withoutDays", hidden: "hidden" }, outputs: { dateChange: "dateChange", woDaysMonth: "woDaysMonth", woDaysYear: "woDaysYear", woDaysMonthSubInc: "woDaysMonthSubInc" }, providers: [{ provide: LOCALE_ID, useValue: 'ru' }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{\n 'aeb-datepicker-core--with-background': withBackground,\n 'aeb-datepicker-core--left': align === 'left',\n 'aeb-datepicker-core--right': align === 'right',\n 'aeb-datepicker-core--hidden': hidden\n }\"\n #container\n>\n <div class=\"aeb-datepicker-core__controls\">\n <div class=\"aeb-datepicker-core__arrow\" (click)=\"subMonth()\">\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n <div\n class=\"aeb-datepicker-core__btn aeb-datepicker-core__btn--month\"\n (click)=\"showMonthsHandler()\"\n >\n {{ firstDay() | date: \"LLLL\" | titlecase }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowMonths }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__btn\" (click)=\"showYearsHandler()\">\n {{ firstDay() | date: \"yyyy\" }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowYears }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-datepicker-core__arrow aeb-datepicker-core__arrow--right\"\n (click)=\"addMonth()\"\n >\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__calendar\">\n <div [style.display]=\"!isShowYears && !isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-month\n [month]=\"month\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n (setDate)=\"setDate($event)\"\n >\n </aeb-datepicker-month>\n </div>\n <div [style.display]=\"isShowYears ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [year]=\"currentYear\"\n [date]=\"startOfYear(currentYear)\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setYear)=\"setYear($event)\"\n [isYears]=\"isShowYears\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n <div [style.display]=\"isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [isMonths]=\"isShowMonths\"\n [month]=\"currentMonth\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setMonth)=\"setMonth($event)\"\n [year]=\"currentYear\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n </div>\n</div>\n", styles: [".aeb-datepicker-core{z-index:9999;-webkit-user-select:none;user-select:none;position:absolute;top:72px}.aeb-datepicker-core--hidden{display:none}.aeb-datepicker-core--with-background{padding:10px;background-color:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-200);border-radius:var(--border-medium-rounded)}.aeb-datepicker-core__calendar{width:100%;min-height:220px}.aeb-datepicker-core__controls{display:flex;align-items:center;justify-content:center;margin-bottom:10px}.aeb-datepicker-core__arrow{cursor:pointer;display:flex}.aeb-datepicker-core__arrow--right{transform:rotate(180deg)}.aeb-datepicker-core__btn{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:72px;padding:6px 10px;margin-right:20px;font-size:var(--font-size-xs);cursor:pointer;border:var(--border-skinny) solid var(--color-mono-200);border-radius:var(--border-lightly-rounded)}.aeb-datepicker-core__btn--month{width:112px;margin-right:10px;margin-left:20px}.aeb-datepicker-core__arrow-icon{position:relative;bottom:2px;box-sizing:border-box}.aeb-datepicker-core__arrow-icon--active{transform:rotate(180deg)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: DatepickerMonthComponent, selector: "aeb-datepicker-month", inputs: ["month", "date", "minDate", "maxDate", "excludedDates"], outputs: ["setDate"] }, { kind: "component", type: DatepickerTilesComponent, selector: "aeb-datepicker-tiles", inputs: ["date", "isMonths", "isYears", "year", "month", "minYear", "maxYear", "minDate", "maxDate", "woDays"], outputs: ["setYear", "setMonth"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }, { kind: "pipe", type: i1.DatePipe, name: "date" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
1877
1878
|
}
|
|
1878
1879
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerCoreComponent, decorators: [{
|
|
1879
1880
|
type: Component,
|
|
1880
|
-
args: [{ selector: 'aeb-datepicker-core', providers: [{ provide: LOCALE_ID, useValue: 'ru' }], encapsulation: ViewEncapsulation.None, standalone: false, template: "<div\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{\n 'aeb-datepicker-core--with-background': withBackground,\n 'aeb-datepicker-core--left': align === 'left',\n 'aeb-datepicker-core--right': align === 'right'\n }\"\n #container\n>\n <div class=\"aeb-datepicker-core__controls\">\n <div class=\"aeb-datepicker-core__arrow\" (click)=\"subMonth()\">\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n <div\n class=\"aeb-datepicker-core__btn aeb-datepicker-core__btn--month\"\n (click)=\"showMonthsHandler()\"\n >\n {{ firstDay() | date: \"LLLL\" | titlecase }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowMonths }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__btn\" (click)=\"showYearsHandler()\">\n {{ firstDay() | date: \"yyyy\" }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowYears }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-datepicker-core__arrow aeb-datepicker-core__arrow--right\"\n (click)=\"addMonth()\"\n >\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__calendar\">\n <div [style.display]=\"!isShowYears && !isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-month\n [month]=\"month\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n (setDate)=\"setDate($event)\"\n >\n </aeb-datepicker-month>\n </div>\n <div [style.display]=\"isShowYears ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [year]=\"currentYear\"\n [date]=\"startOfYear(currentYear)\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setYear)=\"setYear($event)\"\n [isYears]=\"isShowYears\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n <div [style.display]=\"isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [isMonths]=\"isShowMonths\"\n [month]=\"currentMonth\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setMonth)=\"setMonth($event)\"\n [year]=\"currentYear\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n </div>\n</div>\n", styles: [".aeb-datepicker-core{
|
|
1881
|
+
args: [{ selector: 'aeb-datepicker-core', providers: [{ provide: LOCALE_ID, useValue: 'ru' }], encapsulation: ViewEncapsulation.None, standalone: false, template: "<div\n class=\"aeb-datepicker-core\"\n [ngClass]=\"{\n 'aeb-datepicker-core--with-background': withBackground,\n 'aeb-datepicker-core--left': align === 'left',\n 'aeb-datepicker-core--right': align === 'right',\n 'aeb-datepicker-core--hidden': hidden\n }\"\n #container\n>\n <div class=\"aeb-datepicker-core__controls\">\n <div class=\"aeb-datepicker-core__arrow\" (click)=\"subMonth()\">\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n <div\n class=\"aeb-datepicker-core__btn aeb-datepicker-core__btn--month\"\n (click)=\"showMonthsHandler()\"\n >\n {{ firstDay() | date: \"LLLL\" | titlecase }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowMonths }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__btn\" (click)=\"showYearsHandler()\">\n {{ firstDay() | date: \"yyyy\" }}\n <div\n class=\"aeb-datepicker-core__arrow-icon\"\n [ngClass]=\"{ 'aeb-datepicker-core__arrow-icon--active': isShowYears }\"\n >\n <svg\n width=\"10\"\n height=\"6\"\n viewBox=\"0 0 10 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div\n class=\"aeb-datepicker-core__arrow aeb-datepicker-core__arrow--right\"\n (click)=\"addMonth()\"\n >\n <svg\n width=\"9\"\n height=\"16\"\n viewBox=\"0 0 9 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\n stroke=\"#27303E\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n <div class=\"aeb-datepicker-core__calendar\">\n <div [style.display]=\"!isShowYears && !isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-month\n [month]=\"month\"\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n (setDate)=\"setDate($event)\"\n >\n </aeb-datepicker-month>\n </div>\n <div [style.display]=\"isShowYears ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [year]=\"currentYear\"\n [date]=\"startOfYear(currentYear)\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setYear)=\"setYear($event)\"\n [isYears]=\"isShowYears\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n <div [style.display]=\"isShowMonths ? 'block' : 'none'\">\n <aeb-datepicker-tiles\n [isMonths]=\"isShowMonths\"\n [month]=\"currentMonth\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (setMonth)=\"setMonth($event)\"\n [year]=\"currentYear\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [woDays]=\"withoutDays\"\n >\n </aeb-datepicker-tiles>\n </div>\n </div>\n</div>\n", styles: [".aeb-datepicker-core{z-index:9999;-webkit-user-select:none;user-select:none;position:absolute;top:72px}.aeb-datepicker-core--hidden{display:none}.aeb-datepicker-core--with-background{padding:10px;background-color:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-200);border-radius:var(--border-medium-rounded)}.aeb-datepicker-core__calendar{width:100%;min-height:220px}.aeb-datepicker-core__controls{display:flex;align-items:center;justify-content:center;margin-bottom:10px}.aeb-datepicker-core__arrow{cursor:pointer;display:flex}.aeb-datepicker-core__arrow--right{transform:rotate(180deg)}.aeb-datepicker-core__btn{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:72px;padding:6px 10px;margin-right:20px;font-size:var(--font-size-xs);cursor:pointer;border:var(--border-skinny) solid var(--color-mono-200);border-radius:var(--border-lightly-rounded)}.aeb-datepicker-core__btn--month{width:112px;margin-right:10px;margin-left:20px}.aeb-datepicker-core__arrow-icon{position:relative;bottom:2px;box-sizing:border-box}.aeb-datepicker-core__arrow-icon--active{transform:rotate(180deg)}\n"] }]
|
|
1881
1882
|
}], ctorParameters: () => [{ type: DatepickerUtilsService }], propDecorators: { date: [{
|
|
1882
1883
|
type: Input,
|
|
1883
1884
|
args: ['date']
|
|
@@ -1905,6 +1906,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImpor
|
|
|
1905
1906
|
}], withoutDays: [{
|
|
1906
1907
|
type: Input,
|
|
1907
1908
|
args: ['withoutDays']
|
|
1909
|
+
}], hidden: [{
|
|
1910
|
+
type: Input,
|
|
1911
|
+
args: ['hidden']
|
|
1908
1912
|
}], dateChange: [{
|
|
1909
1913
|
type: Output
|
|
1910
1914
|
}], woDaysMonth: [{
|
|
@@ -2268,7 +2272,7 @@ class DatepickerComponent {
|
|
|
2268
2272
|
useExisting: forwardRef(() => DatepickerComponent),
|
|
2269
2273
|
multi: true
|
|
2270
2274
|
}
|
|
2271
|
-
], viewQueries: [{ propertyName: "core", first: true, predicate: ["core"], descendants: true }, { propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"aeb-datepicker\"\n [ngClass]=\"{ 'aeb-datepicker--disabled': disabled }\"\n
|
|
2275
|
+
], viewQueries: [{ propertyName: "core", first: true, predicate: ["core"], descendants: true }, { propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"aeb-datepicker\"\n [ngClass]=\"{ 'aeb-datepicker--disabled': disabled }\"\n (clickOutside)=\"clickOutsideHandler()\"\n #container\n>\n <aeb-form-field\n class=\"aeb-datepicker__field\"\n [ngClass]=\"{ 'aeb-datepicker__field--onerror': hasError }\"\n >\n <label aebLabel class=\"aeb-datepicker__label\">\n {{ placeholder }}\n </label>\n <input\n aebInput\n type=\"text\"\n class=\"aeb-datepicker__input\"\n maxlength=\"10\"\n [(ngModel)]=\"inputValue\"\n (change)=\"handleInput($event)\"\n (click)=\"clickInputHandler()\"\n (input)=\"typeHandler()\"\n (keydown)=\"keyDownHandler($event)\"\n #input\n />\n <div class=\"aeb-datepicker__calendar-icon\" (click)=\"handleOpen()\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n x=\"5\"\n y=\"6\"\n width=\"14\"\n height=\"14\"\n rx=\"1\"\n stroke=\"#BFC6D0\"\n stroke-width=\"2\"\n />\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"4\" rx=\"2\" fill=\"#BFC6D0\" />\n <rect\n x=\"9\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 9 3)\"\n fill=\"#BFC6D0\"\n />\n <rect\n x=\"17\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 17 3)\"\n fill=\"#BFC6D0\"\n />\n </svg>\n </div>\n </aeb-form-field>\n <aeb-datepicker-core\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (dateChange)=\"handleDateChange($event)\"\n [align]=\"align\"\n [withBackground]=\"withBackground\"\n [withoutDays]=\"withoutDays\"\n [hidden]=\"!isOpen\"\n (woDaysMonth)=\"woDaysMonthSet($event)\"\n (woDaysYear)=\"woDaysYearSet($event)\"\n (woDaysMonthSubInc)=\"woMonthIncSub($event)\"\n [style]=\"fixedPosition\"\n #core\n >\n </aeb-datepicker-core>\n</div>\n", styles: [".aeb-datepicker{position:relative;width:100%;color:var(--color-mono-900)}.aeb-datepicker--disabled{pointer-events:none;opacity:.7}.aeb-datepicker__field{position:relative;width:296px}.aeb-datepicker__field--onerror .aeb-datepicker__input{color:var(--color-red-500)!important;border:var(--border-skinny) solid var(--color-red-500)!important}.aeb-datepicker__field--onerror .aeb-datepicker__label{color:var(--color-red-500)}.aeb-datepicker__input{padding-right:35px!important}.aeb-datepicker__calendar-icon{position:absolute;top:16px;right:12px;width:24px;height:24px;cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: FormFieldComponent, selector: "aeb-form-field", inputs: ["isInvalid", "showIcon", "showDescription", "showErrorMessage", "validateOnDirty", "disabled"] }, { kind: "directive", type: FormFieldDirective, selector: "input[aebInput], textarea[aebTextarea]", inputs: ["value"] }, { kind: "directive", type: LabelDirective, selector: "[aebLabel]", inputs: ["aebLabel"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: ClickOutsideDirective, selector: "[clickOutside]", outputs: ["clickOutside"] }, { kind: "component", type: DatepickerCoreComponent, selector: "aeb-datepicker-core", inputs: ["date", "minDate", "maxDate", "excludedDates", "minYear", "maxYear", "withBackground", "align", "withoutDays", "hidden"], outputs: ["dateChange", "woDaysMonth", "woDaysYear", "woDaysMonthSubInc"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
2272
2276
|
}
|
|
2273
2277
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerComponent, decorators: [{
|
|
2274
2278
|
type: Component,
|
|
@@ -2278,7 +2282,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImpor
|
|
|
2278
2282
|
useExisting: forwardRef(() => DatepickerComponent),
|
|
2279
2283
|
multi: true
|
|
2280
2284
|
}
|
|
2281
|
-
], standalone: false, template: "<div\n class=\"aeb-datepicker\"\n [ngClass]=\"{ 'aeb-datepicker--disabled': disabled }\"\n
|
|
2285
|
+
], standalone: false, template: "<div\n class=\"aeb-datepicker\"\n [ngClass]=\"{ 'aeb-datepicker--disabled': disabled }\"\n (clickOutside)=\"clickOutsideHandler()\"\n #container\n>\n <aeb-form-field\n class=\"aeb-datepicker__field\"\n [ngClass]=\"{ 'aeb-datepicker__field--onerror': hasError }\"\n >\n <label aebLabel class=\"aeb-datepicker__label\">\n {{ placeholder }}\n </label>\n <input\n aebInput\n type=\"text\"\n class=\"aeb-datepicker__input\"\n maxlength=\"10\"\n [(ngModel)]=\"inputValue\"\n (change)=\"handleInput($event)\"\n (click)=\"clickInputHandler()\"\n (input)=\"typeHandler()\"\n (keydown)=\"keyDownHandler($event)\"\n #input\n />\n <div class=\"aeb-datepicker__calendar-icon\" (click)=\"handleOpen()\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n x=\"5\"\n y=\"6\"\n width=\"14\"\n height=\"14\"\n rx=\"1\"\n stroke=\"#BFC6D0\"\n stroke-width=\"2\"\n />\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"4\" rx=\"2\" fill=\"#BFC6D0\" />\n <rect\n x=\"9\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 9 3)\"\n fill=\"#BFC6D0\"\n />\n <rect\n x=\"17\"\n y=\"3\"\n width=\"3\"\n height=\"2\"\n rx=\"1\"\n transform=\"rotate(90 17 3)\"\n fill=\"#BFC6D0\"\n />\n </svg>\n </div>\n </aeb-form-field>\n <aeb-datepicker-core\n [date]=\"date\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [excludedDates]=\"excludedDates\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n (dateChange)=\"handleDateChange($event)\"\n [align]=\"align\"\n [withBackground]=\"withBackground\"\n [withoutDays]=\"withoutDays\"\n [hidden]=\"!isOpen\"\n (woDaysMonth)=\"woDaysMonthSet($event)\"\n (woDaysYear)=\"woDaysYearSet($event)\"\n (woDaysMonthSubInc)=\"woMonthIncSub($event)\"\n [style]=\"fixedPosition\"\n #core\n >\n </aeb-datepicker-core>\n</div>\n", styles: [".aeb-datepicker{position:relative;width:100%;color:var(--color-mono-900)}.aeb-datepicker--disabled{pointer-events:none;opacity:.7}.aeb-datepicker__field{position:relative;width:296px}.aeb-datepicker__field--onerror .aeb-datepicker__input{color:var(--color-red-500)!important;border:var(--border-skinny) solid var(--color-red-500)!important}.aeb-datepicker__field--onerror .aeb-datepicker__label{color:var(--color-red-500)}.aeb-datepicker__input{padding-right:35px!important}.aeb-datepicker__calendar-icon{position:absolute;top:16px;right:12px;width:24px;height:24px;cursor:pointer}\n"] }]
|
|
2282
2286
|
}], ctorParameters: () => [{ type: DatepickerUtilsService }, { type: MaskUtilsService }, { type: i0.ChangeDetectorRef }], propDecorators: { date: [{
|
|
2283
2287
|
type: Input
|
|
2284
2288
|
}], hasError: [{
|