aeb-ui-kit 9.0.0-preview.950 → 9.0.0-preview.961
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
|
@@ -7,7 +7,6 @@ import { NG_VALUE_ACCESSOR, FormsModule, FormControl, Validators, ReactiveFormsM
|
|
|
7
7
|
import { timer, map, takeUntil, Observable, BehaviorSubject, Subject, Subscription, withLatestFrom, filter, switchMap, take, merge, startWith, mergeMap, iif, of, tap } from 'rxjs';
|
|
8
8
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
9
9
|
import * as i2 from '@angular/platform-browser';
|
|
10
|
-
import { provideNgxMask } from 'ngx-mask';
|
|
11
10
|
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';
|
|
12
11
|
import { ru } from 'date-fns/locale';
|
|
13
12
|
import '@angular/common/locales/global/ru';
|
|
@@ -263,17 +262,17 @@ class CheckboxComponent {
|
|
|
263
262
|
this.name = null;
|
|
264
263
|
// eslint-disable-next-line @angular-eslint/no-output-native
|
|
265
264
|
this.change = new EventEmitter();
|
|
266
|
-
this.
|
|
265
|
+
this.cssClass = true;
|
|
267
266
|
this._onChangeFn = () => { };
|
|
268
267
|
this._onTouched = () => { };
|
|
269
268
|
}
|
|
270
|
-
get
|
|
269
|
+
get checked() {
|
|
271
270
|
return this.isChecked;
|
|
272
271
|
}
|
|
273
|
-
get
|
|
272
|
+
get disabled() {
|
|
274
273
|
return this.isDisabled;
|
|
275
274
|
}
|
|
276
|
-
get
|
|
275
|
+
get error() {
|
|
277
276
|
return !this.isValid;
|
|
278
277
|
}
|
|
279
278
|
handleChange(event) {
|
|
@@ -309,7 +308,7 @@ class CheckboxComponent {
|
|
|
309
308
|
}
|
|
310
309
|
}
|
|
311
310
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: CheckboxComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
312
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: CheckboxComponent, isStandalone: false, selector: "aeb-checkbox", inputs: { id: "id", isChecked: "isChecked", isDisabled: "isDisabled", isValid: "isValid", hasText: "hasText", name: "name" }, outputs: { change: "change" }, host: { properties: { "class.aeb-checkbox": "this.
|
|
311
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: CheckboxComponent, isStandalone: false, selector: "aeb-checkbox", inputs: { id: "id", isChecked: "isChecked", isDisabled: "isDisabled", isValid: "isValid", hasText: "hasText", name: "name" }, outputs: { change: "change" }, host: { properties: { "class.aeb-checkbox": "this.cssClass", "class.aeb-checkbox--checked": "this.checked", "class.aeb-checkbox--disabled": "this.disabled", "class.aeb-checkbox--error": "this.error" } }, providers: [
|
|
313
312
|
{
|
|
314
313
|
provide: NG_VALUE_ACCESSOR,
|
|
315
314
|
useExisting: forwardRef(() => CheckboxComponent),
|
|
@@ -343,16 +342,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImpor
|
|
|
343
342
|
type: Input
|
|
344
343
|
}], change: [{
|
|
345
344
|
type: Output
|
|
346
|
-
}],
|
|
345
|
+
}], cssClass: [{
|
|
347
346
|
type: HostBinding,
|
|
348
347
|
args: ['class.aeb-checkbox']
|
|
349
|
-
}],
|
|
348
|
+
}], checked: [{
|
|
350
349
|
type: HostBinding,
|
|
351
350
|
args: ['class.aeb-checkbox--checked']
|
|
352
|
-
}],
|
|
351
|
+
}], disabled: [{
|
|
353
352
|
type: HostBinding,
|
|
354
353
|
args: ['class.aeb-checkbox--disabled']
|
|
355
|
-
}],
|
|
354
|
+
}], error: [{
|
|
356
355
|
type: HostBinding,
|
|
357
356
|
args: ['class.aeb-checkbox--error']
|
|
358
357
|
}] } });
|
|
@@ -2278,9 +2277,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImpor
|
|
|
2278
2277
|
type: Output
|
|
2279
2278
|
}] } });
|
|
2280
2279
|
|
|
2281
|
-
const maskConfig = {
|
|
2282
|
-
validation: false
|
|
2283
|
-
};
|
|
2284
2280
|
class DatepickerModule {
|
|
2285
2281
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2286
2282
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0", ngImport: i0, type: DatepickerModule, declarations: [DatepickerComponent,
|
|
@@ -2292,7 +2288,7 @@ class DatepickerModule {
|
|
|
2292
2288
|
DatepickerMonthComponent,
|
|
2293
2289
|
DateToStrPipe,
|
|
2294
2290
|
DatepickerTilesComponent] }); }
|
|
2295
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerModule,
|
|
2291
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerModule, imports: [CommonModule, FormFieldModule, FormsModule] }); }
|
|
2296
2292
|
}
|
|
2297
2293
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: DatepickerModule, decorators: [{
|
|
2298
2294
|
type: NgModule,
|
|
@@ -2311,8 +2307,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImpor
|
|
|
2311
2307
|
DatepickerMonthComponent,
|
|
2312
2308
|
DateToStrPipe,
|
|
2313
2309
|
DatepickerTilesComponent
|
|
2314
|
-
]
|
|
2315
|
-
providers: [provideNgxMask(maskConfig)]
|
|
2310
|
+
]
|
|
2316
2311
|
}]
|
|
2317
2312
|
}] });
|
|
2318
2313
|
|