aeb-ui-kit 4.0.1-preview.688 → 4.0.1-preview.694
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/esm2020/lib/datepicker/datepicker.module.mjs +7 -20
- package/esm2020/lib/form-field/error-message.directive.mjs +6 -4
- package/fesm2015/aeb-ui-kit.mjs +10 -21
- package/fesm2015/aeb-ui-kit.mjs.map +1 -1
- package/fesm2020/aeb-ui-kit.mjs +10 -21
- package/fesm2020/aeb-ui-kit.mjs.map +1 -1
- package/lib/datepicker/datepicker.module.d.ts +5 -6
- package/lib/form-field/error-message.directive.d.ts +2 -1
- package/package.json +1 -1
package/fesm2020/aeb-ui-kit.mjs
CHANGED
|
@@ -7,8 +7,7 @@ import { NG_VALUE_ACCESSOR, FormsModule, FormControl, Validators, ReactiveFormsM
|
|
|
7
7
|
import { timer, map, takeUntil, fromEvent } from 'rxjs';
|
|
8
8
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
9
9
|
import * as i2 from '@angular/platform-browser';
|
|
10
|
-
import
|
|
11
|
-
import { NgxMaskModule } from 'ngx-mask';
|
|
10
|
+
import { provideNgxMask } from 'ngx-mask';
|
|
12
11
|
import { addWeeks, addDays, isSameMonth, getWeeksInMonth, startOfMonth, startOfWeek, addMonths, subMonths, eachYearOfInterval, getYear, addYears, subYears, differenceInYears, startOfYear, isToday, isValid, isSameDay, getMonth, setMonth, areIntervalsOverlapping, startOfDay, endOfDay, parse, format, getDaysInMonth, isExists, compareAsc, getDate } from 'date-fns';
|
|
13
12
|
import { ru } from 'date-fns/locale';
|
|
14
13
|
import '@angular/common/locales/global/ru';
|
|
@@ -624,13 +623,15 @@ class ErrorMessageDirective {
|
|
|
624
623
|
constructor() { }
|
|
625
624
|
}
|
|
626
625
|
ErrorMessageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ErrorMessageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
627
|
-
ErrorMessageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ErrorMessageDirective, selector: "[errorMessage]", ngImport: i0 });
|
|
626
|
+
ErrorMessageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ErrorMessageDirective, selector: "[errorMessage]", inputs: { errorMessage: "errorMessage" }, ngImport: i0 });
|
|
628
627
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ErrorMessageDirective, decorators: [{
|
|
629
628
|
type: Directive,
|
|
630
629
|
args: [{
|
|
631
630
|
selector: '[errorMessage]'
|
|
632
631
|
}]
|
|
633
|
-
}], ctorParameters: function () { return []; }
|
|
632
|
+
}], ctorParameters: function () { return []; }, propDecorators: { errorMessage: [{
|
|
633
|
+
type: Input
|
|
634
|
+
}] } });
|
|
634
635
|
|
|
635
636
|
class FormFieldDirective {
|
|
636
637
|
constructor(ngControl, elementRef) {
|
|
@@ -2435,19 +2436,12 @@ DatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
2435
2436
|
DatepickerCoreComponent,
|
|
2436
2437
|
DatepickerMonthComponent,
|
|
2437
2438
|
DateToStrPipe,
|
|
2438
|
-
DatepickerTilesComponent], imports: [
|
|
2439
|
-
FormFieldModule,
|
|
2440
|
-
FormsModule,
|
|
2441
|
-
ClickOutsideModule], exports: [DatepickerComponent,
|
|
2439
|
+
DatepickerTilesComponent], imports: [CommonModule, FormFieldModule, FormsModule, ClickOutsideModule], exports: [DatepickerComponent,
|
|
2442
2440
|
DatepickerCoreComponent,
|
|
2443
2441
|
DatepickerMonthComponent,
|
|
2444
2442
|
DateToStrPipe,
|
|
2445
2443
|
DatepickerTilesComponent] });
|
|
2446
|
-
DatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatepickerModule,
|
|
2447
|
-
CommonModule,
|
|
2448
|
-
FormFieldModule,
|
|
2449
|
-
FormsModule,
|
|
2450
|
-
ClickOutsideModule] });
|
|
2444
|
+
DatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatepickerModule, providers: [provideNgxMask(maskConfig)], imports: [CommonModule, FormFieldModule, FormsModule, ClickOutsideModule] });
|
|
2451
2445
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatepickerModule, decorators: [{
|
|
2452
2446
|
type: NgModule,
|
|
2453
2447
|
args: [{
|
|
@@ -2458,20 +2452,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2458
2452
|
DateToStrPipe,
|
|
2459
2453
|
DatepickerTilesComponent
|
|
2460
2454
|
],
|
|
2461
|
-
imports: [
|
|
2462
|
-
NgxMaskModule.forRoot(maskConfig),
|
|
2463
|
-
CommonModule,
|
|
2464
|
-
FormFieldModule,
|
|
2465
|
-
FormsModule,
|
|
2466
|
-
ClickOutsideModule
|
|
2467
|
-
],
|
|
2455
|
+
imports: [CommonModule, FormFieldModule, FormsModule, ClickOutsideModule],
|
|
2468
2456
|
exports: [
|
|
2469
2457
|
DatepickerComponent,
|
|
2470
2458
|
DatepickerCoreComponent,
|
|
2471
2459
|
DatepickerMonthComponent,
|
|
2472
2460
|
DateToStrPipe,
|
|
2473
2461
|
DatepickerTilesComponent
|
|
2474
|
-
]
|
|
2462
|
+
],
|
|
2463
|
+
providers: [provideNgxMask(maskConfig)]
|
|
2475
2464
|
}]
|
|
2476
2465
|
}] });
|
|
2477
2466
|
|