@taiga-ui/kit 3.36.2 → 3.37.0-dev.main.89945b8
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/bundles/taiga-ui-kit-components-badged-content.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +17 -3
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +17 -14
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +19 -17
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +25 -19
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +17 -14
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +17 -3
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +17 -3
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +67 -25
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +13 -16
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +18 -4
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +17 -3
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +11 -8
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +17 -14
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js +39 -12
- package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +17 -3
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +17 -3
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js +3 -3
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.js +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
- package/components/combo-box/combo-box.component.d.ts +5 -3
- package/components/input/input.component.d.ts +5 -3
- package/components/input-copy/input-copy.component.d.ts +3 -3
- package/components/input-date/input-date.component.d.ts +4 -4
- package/components/input-date-range/input-date-range.component.d.ts +4 -4
- package/components/input-date-time/input-date-time.component.d.ts +5 -5
- package/components/input-month/input-month.component.d.ts +5 -3
- package/components/input-month-range/input-month-range.component.d.ts +5 -3
- package/components/input-number/input-number.component.d.ts +9 -5
- package/components/input-password/input-password.component.d.ts +1 -2
- package/components/input-phone/input-phone.component.d.ts +5 -3
- package/components/input-phone-international/input-phone-international.component.d.ts +5 -3
- package/components/input-tag/input-tag.component.d.ts +1 -1
- package/components/input-time/input-time.component.d.ts +3 -3
- package/components/input-year/input-year.component.d.ts +8 -4
- package/components/input-year/input-year.directive.d.ts +1 -0
- package/components/select/select.component.d.ts +5 -3
- package/esm2015/components/badged-content/badged-content.component.js +1 -1
- package/esm2015/components/breadcrumbs/breadcrumbs.component.js +1 -1
- package/esm2015/components/calendar-month/calendar-month.component.js +1 -1
- package/esm2015/components/combo-box/combo-box.component.js +16 -6
- package/esm2015/components/files/files.component.js +2 -2
- package/esm2015/components/input/input.component.js +16 -6
- package/esm2015/components/input-copy/input-copy.component.js +15 -12
- package/esm2015/components/input-count/input-count.component.js +1 -1
- package/esm2015/components/input-date/input-date.component.js +15 -12
- package/esm2015/components/input-date-range/input-date-range.component.js +17 -15
- package/esm2015/components/input-date-time/input-date-time.component.js +18 -12
- package/esm2015/components/input-month/input-month.component.js +16 -6
- package/esm2015/components/input-month-range/input-month-range.component.js +16 -6
- package/esm2015/components/input-number/input-number.component.js +61 -30
- package/esm2015/components/input-password/input-password.component.js +12 -16
- package/esm2015/components/input-phone/input-phone.component.js +16 -6
- package/esm2015/components/input-phone-international/input-phone-international.component.js +17 -7
- package/esm2015/components/input-tag/input-tag.component.js +9 -6
- package/esm2015/components/input-time/input-time.component.js +15 -12
- package/esm2015/components/input-year/input-year.component.js +28 -13
- package/esm2015/components/input-year/input-year.directive.js +5 -1
- package/esm2015/components/line-clamp/line-clamp.component.js +2 -2
- package/esm2015/components/progress/progress-label/progress-label.component.js +1 -1
- package/esm2015/components/select/select.component.js +16 -6
- package/esm2015/components/text-area/text-area.component.js +5 -5
- package/esm2015/tokens/countries-masks.js +2 -2
- package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +15 -5
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-files.js +1 -1
- package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +14 -11
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +16 -14
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +17 -11
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +14 -11
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +15 -5
- package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +15 -5
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +60 -29
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +11 -15
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +16 -6
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +15 -5
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +8 -5
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +14 -11
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-year.js +31 -12
- package/fesm2015/taiga-ui-kit-components-input-year.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js +15 -5
- package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-progress.js +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js +15 -5
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-text-area.js +4 -4
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-tokens.js +1 -1
- package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
- package/package.json +7 -7
|
@@ -13,12 +13,12 @@ export declare class TuiInputDateRangeComponent extends AbstractTuiNullableContr
|
|
|
13
13
|
private readonly isMobile;
|
|
14
14
|
private readonly dialogs;
|
|
15
15
|
private readonly mobileCalendar;
|
|
16
|
-
private readonly textfieldSize;
|
|
17
16
|
readonly dateFormat: TuiDateMode;
|
|
18
17
|
readonly dateSeparator: string;
|
|
19
18
|
readonly dateTexts$: Observable<Record<TuiDateMode, string>>;
|
|
20
19
|
readonly valueTransformer: AbstractTuiValueTransformer<TuiDayRange | null> | null;
|
|
21
20
|
private readonly options;
|
|
21
|
+
private readonly textfieldSize;
|
|
22
22
|
private readonly textfield?;
|
|
23
23
|
disabledItemHandler: TuiBooleanHandler<TuiDay>;
|
|
24
24
|
markerHandler: TuiMarkerHandler;
|
|
@@ -31,7 +31,8 @@ export declare class TuiInputDateRangeComponent extends AbstractTuiNullableContr
|
|
|
31
31
|
open: boolean;
|
|
32
32
|
readonly maxLengthMapper: TuiMapper<TuiDay, TuiDay>;
|
|
33
33
|
readonly dateFiller$: Observable<string>;
|
|
34
|
-
constructor(control: NgControl | null, cdr: ChangeDetectorRef, injector: Injector, isMobile: boolean, dialogs: TuiDialogService, mobileCalendar: Type<Record<string, any>> | null,
|
|
34
|
+
constructor(control: NgControl | null, cdr: ChangeDetectorRef, injector: Injector, isMobile: boolean, dialogs: TuiDialogService, mobileCalendar: Type<Record<string, any>> | null, dateFormat: TuiDateMode, dateSeparator: string, dateTexts$: Observable<Record<TuiDateMode, string>>, valueTransformer: AbstractTuiValueTransformer<TuiDayRange | null> | null, options: TuiInputDateOptions, textfieldSize: TuiTextfieldSizeDirective);
|
|
35
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
35
36
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
36
37
|
get focused(): boolean;
|
|
37
38
|
get computedMobile(): boolean;
|
|
@@ -46,7 +47,6 @@ export declare class TuiInputDateRangeComponent extends AbstractTuiNullableContr
|
|
|
46
47
|
get innerPseudoFocused(): boolean | null;
|
|
47
48
|
get nativeValue(): string;
|
|
48
49
|
set nativeValue(value: string);
|
|
49
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
50
50
|
onClick(): void;
|
|
51
51
|
getComputedRangeFiller(dateFiller: string): string;
|
|
52
52
|
onIconClick(): void;
|
|
@@ -62,6 +62,6 @@ export declare class TuiInputDateRangeComponent extends AbstractTuiNullableContr
|
|
|
62
62
|
private toggle;
|
|
63
63
|
private focusInput;
|
|
64
64
|
private getDateRangeFiller;
|
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeComponent, [{ optional: true; self: true; }, null, null, null, null, { optional: true; }, null, null, null,
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeComponent, [{ optional: true; self: true; }, null, null, null, null, { optional: true; }, null, null, null, { optional: true; }, null, null]>;
|
|
66
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateRangeComponent, "tui-input-date-range", never, { "disabledItemHandler": "disabledItemHandler"; "markerHandler": "markerHandler"; "defaultViewedMonth": "defaultViewedMonth"; "items": "items"; "min": "min"; "max": "max"; "minLength": "minLength"; "maxLength": "maxLength"; }, {}, never, ["*", "input"]>;
|
|
67
67
|
}
|
|
@@ -7,7 +7,6 @@ import { TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDay | null, TuiTime | null]> implements TuiWithOptionalMinMax<TuiDay | [TuiDay, TuiTime]>, TuiFocusableElementAccessor {
|
|
10
|
-
private readonly textfieldSize;
|
|
11
10
|
readonly dateFormat: TuiDateMode;
|
|
12
11
|
readonly dateSeparator: string;
|
|
13
12
|
readonly timeTexts$: Observable<Record<TuiTimeMode, string>>;
|
|
@@ -19,6 +18,7 @@ export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDa
|
|
|
19
18
|
private readonly options;
|
|
20
19
|
readonly isMobile: boolean;
|
|
21
20
|
readonly isIos: boolean;
|
|
21
|
+
private readonly textfieldSize;
|
|
22
22
|
private readonly textfield?;
|
|
23
23
|
private month;
|
|
24
24
|
min: TuiDay | [TuiDay, TuiTime];
|
|
@@ -29,10 +29,11 @@ export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDa
|
|
|
29
29
|
open: boolean;
|
|
30
30
|
readonly type: TuiContextWithImplicit<TuiActiveZoneDirective>;
|
|
31
31
|
readonly filler$: Observable<string>;
|
|
32
|
-
constructor(control: NgControl | null, cdr: ChangeDetectorRef,
|
|
32
|
+
constructor(control: NgControl | null, cdr: ChangeDetectorRef, dateFormat: TuiDateMode, dateSeparator: string, timeTexts$: Observable<Record<TuiTimeMode, string>>, dateTexts$: Observable<Record<TuiDateMode, string>>, valueTransformer: AbstractTuiValueTransformer<[
|
|
33
33
|
TuiDay | null,
|
|
34
34
|
TuiTime | null
|
|
35
|
-
]> | null, options: TuiInputDateOptions, isMobile: boolean, isIos: boolean);
|
|
35
|
+
]> | null, options: TuiInputDateOptions, isMobile: boolean, isIos: boolean, textfieldSize: TuiTextfieldSizeDirective);
|
|
36
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
36
37
|
get fillerLength(): number;
|
|
37
38
|
get maskOptions(): MaskitoOptions;
|
|
38
39
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
@@ -47,7 +48,6 @@ export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDa
|
|
|
47
48
|
get computedActiveYearMonth(): TuiMonth;
|
|
48
49
|
get nativeValue(): string;
|
|
49
50
|
set nativeValue(value: string);
|
|
50
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
51
51
|
onClick(): void;
|
|
52
52
|
onValueChange(value: string): void;
|
|
53
53
|
onDayClick(day: TuiDay): void;
|
|
@@ -64,6 +64,6 @@ export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDa
|
|
|
64
64
|
private clampTime;
|
|
65
65
|
private trimTrailingSeparator;
|
|
66
66
|
private toNativeDate;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeComponent, [{ optional: true; self: true; }, null, null, null, null, null,
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeComponent, [{ optional: true; self: true; }, null, null, null, null, null, { optional: true; }, null, null, null, null]>;
|
|
68
68
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateTimeComponent, "tui-input-date-time", never, { "min": "min"; "max": "max"; "disabledItemHandler": "disabledItemHandler"; "defaultActiveYearMonth": "defaultActiveYearMonth"; "timeMode": "timeMode"; }, {}, never, ["*", "input"]>;
|
|
69
69
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { AbstractTuiNullableControl, TuiBooleanHandler, TuiFocusableElementAccessor, TuiHandler, TuiMonth, TuiYear } from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiWithOptionalMinMax } from '@taiga-ui/core';
|
|
4
|
+
import { TuiSizeL, TuiSizeS, TuiTextfieldSizeDirective, TuiWithOptionalMinMax } from '@taiga-ui/core';
|
|
5
5
|
import { TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -9,6 +9,7 @@ export declare class TuiInputMonthComponent extends AbstractTuiNullableControl<T
|
|
|
9
9
|
readonly formatter: TuiHandler<TuiMonth | null, Observable<string>>;
|
|
10
10
|
private readonly isMobile;
|
|
11
11
|
private readonly options;
|
|
12
|
+
private readonly textfieldSize;
|
|
12
13
|
private readonly textfield?;
|
|
13
14
|
min: TuiMonth;
|
|
14
15
|
max: TuiMonth;
|
|
@@ -16,7 +17,8 @@ export declare class TuiInputMonthComponent extends AbstractTuiNullableControl<T
|
|
|
16
17
|
defaultActiveYear: TuiYear;
|
|
17
18
|
activeYear?: TuiYear;
|
|
18
19
|
open: boolean;
|
|
19
|
-
constructor(control: NgControl | null, cdr: ChangeDetectorRef, formatter: TuiHandler<TuiMonth | null, Observable<string>>, isMobile: boolean, options: TuiInputDateOptions);
|
|
20
|
+
constructor(control: NgControl | null, cdr: ChangeDetectorRef, formatter: TuiHandler<TuiMonth | null, Observable<string>>, isMobile: boolean, options: TuiInputDateOptions, textfieldSize: TuiTextfieldSizeDirective);
|
|
21
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
20
22
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
21
23
|
get computedDefaultActiveYear(): TuiYear;
|
|
22
24
|
get focused(): boolean;
|
|
@@ -30,6 +32,6 @@ export declare class TuiInputMonthComponent extends AbstractTuiNullableControl<T
|
|
|
30
32
|
onOpenChange(open: boolean): void;
|
|
31
33
|
setDisabledState(): void;
|
|
32
34
|
private close;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthComponent, [{ optional: true; self: true; }, null, null, null, null]>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthComponent, [{ optional: true; self: true; }, null, null, null, null, null]>;
|
|
34
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputMonthComponent, "tui-input-month", never, { "min": "min"; "max": "max"; "disabledItemHandler": "disabledItemHandler"; "defaultActiveYear": "defaultActiveYear"; }, {}, never, ["*", "input"]>;
|
|
35
37
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { AbstractTuiNullableControl, TuiFocusableElementAccessor, TuiHandler, TuiMonth, TuiMonthRange, TuiYear } from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiWithOptionalMinMax } from '@taiga-ui/core';
|
|
4
|
+
import { TuiSizeL, TuiSizeS, TuiTextfieldSizeDirective, TuiWithOptionalMinMax } from '@taiga-ui/core';
|
|
5
5
|
import { TuiMonthContext } from '@taiga-ui/kit/interfaces';
|
|
6
6
|
import { TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
7
7
|
import { TuiBooleanHandlerWithContext } from '@taiga-ui/kit/types';
|
|
@@ -10,13 +10,15 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
export declare class TuiInputMonthRangeComponent extends AbstractTuiNullableControl<TuiMonthRange> implements TuiWithOptionalMinMax<TuiMonth>, TuiFocusableElementAccessor {
|
|
11
11
|
readonly formatter: TuiHandler<TuiMonth | null, Observable<string>>;
|
|
12
12
|
private readonly options;
|
|
13
|
+
private readonly textfieldSize;
|
|
13
14
|
private readonly textfield?;
|
|
14
15
|
min: TuiMonth;
|
|
15
16
|
max: TuiMonth;
|
|
16
17
|
disabledItemHandler: TuiBooleanHandlerWithContext<TuiMonth, TuiMonthContext>;
|
|
17
18
|
defaultActiveYear: TuiYear;
|
|
18
19
|
open: boolean;
|
|
19
|
-
constructor(control: NgControl | null, cdr: ChangeDetectorRef, formatter: TuiHandler<TuiMonth | null, Observable<string>>, options: TuiInputDateOptions);
|
|
20
|
+
constructor(control: NgControl | null, cdr: ChangeDetectorRef, formatter: TuiHandler<TuiMonth | null, Observable<string>>, options: TuiInputDateOptions, textfieldSize: TuiTextfieldSizeDirective);
|
|
21
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
20
22
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
21
23
|
get computedDefaultActiveYear(): TuiYear;
|
|
22
24
|
get focused(): boolean;
|
|
@@ -28,6 +30,6 @@ export declare class TuiInputMonthRangeComponent extends AbstractTuiNullableCont
|
|
|
28
30
|
onActiveZone(focused: boolean): void;
|
|
29
31
|
setDisabledState(): void;
|
|
30
32
|
private close;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeComponent, [{ optional: true; self: true; }, null, null, null]>;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeComponent, [{ optional: true; self: true; }, null, null, null, null]>;
|
|
32
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputMonthRangeComponent, "tui-input-month-range", never, { "min": "min"; "max": "max"; "disabledItemHandler": "disabledItemHandler"; "defaultActiveYear": "defaultActiveYear"; }, {}, never, ["*", "input"]>;
|
|
33
35
|
}
|
|
@@ -2,14 +2,16 @@ import { ChangeDetectorRef, QueryList } from '@angular/core';
|
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { MaskitoOptions } from '@maskito/core';
|
|
4
4
|
import { AbstractTuiNullableControl, TuiFocusableElementAccessor, TuiInputMode } from '@taiga-ui/cdk';
|
|
5
|
-
import { TuiDecimal, TuiNumberFormatSettings } from '@taiga-ui/core';
|
|
5
|
+
import { TuiDecimal, TuiNumberFormatSettings, TuiSizeL, TuiSizeS, TuiTextfieldController, TuiTextfieldSizeDirective } from '@taiga-ui/core';
|
|
6
6
|
import { TuiInputNumberOptions } from './input-number.options';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TuiInputNumberComponent extends AbstractTuiNullableControl<number> implements TuiFocusableElementAccessor {
|
|
9
9
|
readonly options: TuiInputNumberOptions;
|
|
10
10
|
private readonly numberFormat;
|
|
11
11
|
private readonly isIOS;
|
|
12
|
-
private readonly
|
|
12
|
+
private readonly textfieldSize;
|
|
13
|
+
readonly controller: TuiTextfieldController;
|
|
14
|
+
private readonly textfield?;
|
|
13
15
|
private unfinishedValue;
|
|
14
16
|
min: number;
|
|
15
17
|
max: number;
|
|
@@ -21,7 +23,8 @@ export declare class TuiInputNumberComponent extends AbstractTuiNullableControl<
|
|
|
21
23
|
/** @deprecated use `tuiTextfieldPostfix` from {@link TuiTextfieldControllerModule} instead */
|
|
22
24
|
postfix: string;
|
|
23
25
|
readonly polymorpheusValueContent: QueryList<unknown>;
|
|
24
|
-
constructor(control: NgControl | null, cdr: ChangeDetectorRef, options: TuiInputNumberOptions, numberFormat: TuiNumberFormatSettings, isIOS: boolean);
|
|
26
|
+
constructor(control: NgControl | null, cdr: ChangeDetectorRef, options: TuiInputNumberOptions, numberFormat: TuiNumberFormatSettings, isIOS: boolean, textfieldSize: TuiTextfieldSizeDirective, controller: TuiTextfieldController);
|
|
27
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
25
28
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
26
29
|
get focused(): boolean;
|
|
27
30
|
get isNegativeAllowed(): boolean;
|
|
@@ -31,6 +34,8 @@ export declare class TuiInputNumberComponent extends AbstractTuiNullableControl<
|
|
|
31
34
|
get computedValue(): string;
|
|
32
35
|
get canDecrement(): boolean;
|
|
33
36
|
get canIncrement(): boolean;
|
|
37
|
+
get computedPrefix(): string;
|
|
38
|
+
get computedPostfix(): string;
|
|
34
39
|
get mask(): MaskitoOptions;
|
|
35
40
|
onArrow(step: number | null): void;
|
|
36
41
|
onValueChange(nativeValue: string): void;
|
|
@@ -42,7 +47,6 @@ export declare class TuiInputNumberComponent extends AbstractTuiNullableControl<
|
|
|
42
47
|
writeValue(value: number | null): void;
|
|
43
48
|
private get nativeNumberValue();
|
|
44
49
|
private calculateMask;
|
|
45
|
-
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberComponent, [{ optional: true; self: true; }, null, null, null, null]>;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberComponent, [{ optional: true; self: true; }, null, null, null, null, null, null]>;
|
|
47
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputNumberComponent, "tui-input-number", never, { "min": "min"; "max": "max"; "decimal": "decimal"; "precision": "precision"; "step": "step"; "prefix": "prefix"; "postfix": "postfix"; }, {}, ["polymorpheusValueContent"], ["*", "input", "tuiContent"]>;
|
|
48
52
|
}
|
|
@@ -18,16 +18,15 @@ export declare class TuiInputPasswordComponent extends AbstractTuiControl<string
|
|
|
18
18
|
readonly computedAppearance$: Observable<string>;
|
|
19
19
|
readonly type: TuiContextWithImplicit<TuiSizeL | TuiSizeS>;
|
|
20
20
|
constructor(control: NgControl | null, cdr: ChangeDetectorRef, textfieldSize: TuiTextfieldSizeDirective, passwordTexts$: Observable<[string, string]>, options: TuiInputPasswordOptions, hintOptions: TuiHintOptionsDirective | null, mode$: Observable<TuiBrightness | null>);
|
|
21
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
21
22
|
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
22
23
|
get focused(): boolean;
|
|
23
24
|
get icon(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;
|
|
24
|
-
get context(): TuiContextWithImplicit<TuiSizeL | TuiSizeS>;
|
|
25
25
|
get inputType(): TuiInputType;
|
|
26
26
|
onValueChange(textValue: string): void;
|
|
27
27
|
onFocused(focused: boolean): void;
|
|
28
28
|
togglePasswordVisibility(): void;
|
|
29
29
|
protected getFallbackValue(): string;
|
|
30
|
-
private getContext;
|
|
31
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPasswordComponent, [{ optional: true; self: true; }, null, null, null, null, { optional: true; }, null]>;
|
|
32
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPasswordComponent, "tui-input-password", never, {}, {}, never, ["*", "input"]>;
|
|
33
32
|
}
|
|
@@ -2,12 +2,13 @@ import { ChangeDetectorRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { MaskitoOptions } from '@maskito/core';
|
|
4
4
|
import { AbstractTuiControl, TuiActiveZoneDirective, TuiContextWithImplicit, TuiFocusableElementAccessor, TuiInputMode } from '@taiga-ui/cdk';
|
|
5
|
-
import { TuiDataListHost, TuiTextfieldCleanerDirective } from '@taiga-ui/core';
|
|
5
|
+
import { TuiDataListHost, TuiSizeL, TuiSizeS, TuiTextfieldCleanerDirective, TuiTextfieldSizeDirective } from '@taiga-ui/core';
|
|
6
6
|
import { TuiInputPhoneOptions } from './input-phone.options';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TuiInputPhoneComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
|
|
9
9
|
private readonly textfieldCleaner;
|
|
10
10
|
private readonly options;
|
|
11
|
+
private readonly textfieldSize;
|
|
11
12
|
private readonly dropdown?;
|
|
12
13
|
private readonly textfield?;
|
|
13
14
|
set countryCodeSetter(newCountryCode: string);
|
|
@@ -18,7 +19,8 @@ export declare class TuiInputPhoneComponent extends AbstractTuiControl<string> i
|
|
|
18
19
|
readonly datalist?: TemplateRef<TuiContextWithImplicit<TuiActiveZoneDirective>>;
|
|
19
20
|
countryCode: string;
|
|
20
21
|
open: boolean;
|
|
21
|
-
constructor(control: NgControl | null, cdr: ChangeDetectorRef, textfieldCleaner: TuiTextfieldCleanerDirective, options: TuiInputPhoneOptions);
|
|
22
|
+
constructor(control: NgControl | null, cdr: ChangeDetectorRef, textfieldCleaner: TuiTextfieldCleanerDirective, options: TuiInputPhoneOptions, textfieldSize: TuiTextfieldSizeDirective);
|
|
23
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
22
24
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
23
25
|
get focused(): boolean;
|
|
24
26
|
get nativeValue(): string;
|
|
@@ -40,6 +42,6 @@ export declare class TuiInputPhoneComponent extends AbstractTuiControl<string> i
|
|
|
40
42
|
private focusInput;
|
|
41
43
|
private updateSearch;
|
|
42
44
|
private updateValueWithNewCountryCode;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneComponent, [{ optional: true; self: true; }, null, null, null]>;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneComponent, [{ optional: true; self: true; }, null, null, null, null]>;
|
|
44
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneComponent, "tui-input-phone", never, { "countryCodeSetter": "countryCode"; "phoneMaskAfterCountryCode": "phoneMaskAfterCountryCode"; "allowText": "allowText"; "search": "search"; }, { "searchChange": "searchChange"; }, ["datalist"], ["*", "input"]>;
|
|
45
47
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { AbstractTuiControl, TuiContextWithImplicit, TuiFocusableElementAccessor, TuiMapper } from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiFlagPipe, TuiSizeL, TuiSizeM, TuiSizeS } from '@taiga-ui/core';
|
|
4
|
+
import { TuiFlagPipe, TuiSizeL, TuiSizeM, TuiSizeS, TuiTextfieldSizeDirective } from '@taiga-ui/core';
|
|
5
5
|
import { TuiCountryIsoCode } from '@taiga-ui/i18n';
|
|
6
6
|
import { TuiToCountryCodePipe } from '@taiga-ui/kit/pipes';
|
|
7
7
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
@@ -14,6 +14,7 @@ export declare class TuiInputPhoneInternationalComponent extends AbstractTuiCont
|
|
|
14
14
|
private readonly options;
|
|
15
15
|
private readonly flagPipe;
|
|
16
16
|
private readonly extractCountryCodePipe;
|
|
17
|
+
private readonly textfieldSize;
|
|
17
18
|
private readonly inputPhoneComponent?;
|
|
18
19
|
private readonly primitiveTextfield?;
|
|
19
20
|
set isoCode(code: TuiCountryIsoCode);
|
|
@@ -22,7 +23,8 @@ export declare class TuiInputPhoneInternationalComponent extends AbstractTuiCont
|
|
|
22
23
|
countryIsoCode: TuiCountryIsoCode;
|
|
23
24
|
open: boolean;
|
|
24
25
|
readonly arrow: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeM | TuiSizeS>>;
|
|
25
|
-
constructor(control: NgControl | null, cdr: ChangeDetectorRef, countriesNames$: Observable<Record<TuiCountryIsoCode, string>>, countriesMasks: Record<TuiCountryIsoCode, string>, options: TuiInputPhoneInternationalOptions, flagPipe: TuiFlagPipe, extractCountryCodePipe: TuiToCountryCodePipe);
|
|
26
|
+
constructor(control: NgControl | null, cdr: ChangeDetectorRef, countriesNames$: Observable<Record<TuiCountryIsoCode, string>>, countriesMasks: Record<TuiCountryIsoCode, string>, options: TuiInputPhoneInternationalOptions, flagPipe: TuiFlagPipe, extractCountryCodePipe: TuiToCountryCodePipe, textfieldSize: TuiTextfieldSizeDirective);
|
|
27
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
26
28
|
get nativeFocusableElement(): HTMLElement | null;
|
|
27
29
|
get focused(): boolean;
|
|
28
30
|
get inputPhoneCountryCode(): string;
|
|
@@ -53,6 +55,6 @@ export declare class TuiInputPhoneInternationalComponent extends AbstractTuiCont
|
|
|
53
55
|
private calculateMaskAfterCountryCode;
|
|
54
56
|
private close;
|
|
55
57
|
private updateCountryIsoCode;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneInternationalComponent, [{ optional: true; self: true; }, null, null, null, null, null, null]>;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneInternationalComponent, [{ optional: true; self: true; }, null, null, null, null, null, null, null]>;
|
|
57
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneInternationalComponent, "tui-input-phone-international", never, { "isoCode": "countryIsoCode"; "countries": "countries"; }, { "countryIsoCodeChange": "countryIsoCodeChange"; }, never, ["*"]>;
|
|
58
60
|
}
|
|
@@ -46,9 +46,9 @@ export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<str
|
|
|
46
46
|
get appearance(): string;
|
|
47
47
|
get size(): TuiSizeL | TuiSizeS;
|
|
48
48
|
get labelOutside(): boolean;
|
|
49
|
+
get iconLeft(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;
|
|
49
50
|
get icon(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;
|
|
50
51
|
get iconCleaner(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;
|
|
51
|
-
get iconLeft(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;
|
|
52
52
|
get hasCleaner(): boolean;
|
|
53
53
|
get hasNativeValue(): boolean;
|
|
54
54
|
get hasValue(): boolean;
|
|
@@ -10,8 +10,8 @@ export declare class TuiInputTimeComponent extends AbstractTuiNullableControl<Tu
|
|
|
10
10
|
private readonly timeTexts$;
|
|
11
11
|
private readonly options;
|
|
12
12
|
private readonly isMobile;
|
|
13
|
-
private readonly textfieldSize;
|
|
14
13
|
private readonly isIos;
|
|
14
|
+
private readonly textfieldSize;
|
|
15
15
|
private readonly textfield?;
|
|
16
16
|
disabledItemHandler: TuiBooleanHandler<TuiTime>;
|
|
17
17
|
items: readonly TuiTime[];
|
|
@@ -21,14 +21,14 @@ export declare class TuiInputTimeComponent extends AbstractTuiNullableControl<Tu
|
|
|
21
21
|
/** @deprecated use `tuiTextfieldPostfix` from {@link TuiTextfieldControllerModule} instead */
|
|
22
22
|
postfix: TuiInputTimeOptions['postfix'];
|
|
23
23
|
open: boolean;
|
|
24
|
-
constructor(control: NgControl | null, cdr: ChangeDetectorRef, timeTexts$: Observable<Record<TuiTimeMode, string>>, options: TuiInputTimeOptions, isMobile: boolean,
|
|
24
|
+
constructor(control: NgControl | null, cdr: ChangeDetectorRef, timeTexts$: Observable<Record<TuiTimeMode, string>>, options: TuiInputTimeOptions, isMobile: boolean, isIos: boolean, textfieldSize: TuiTextfieldSizeDirective);
|
|
25
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
25
26
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
26
27
|
get focused(): boolean;
|
|
27
28
|
get canOpen(): boolean;
|
|
28
29
|
get filtered(): readonly TuiTime[];
|
|
29
30
|
get showNativePicker(): boolean;
|
|
30
31
|
get nativeDatalist(): boolean;
|
|
31
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
32
32
|
get maskOptions(): MaskitoOptions;
|
|
33
33
|
get computedValue(): string;
|
|
34
34
|
get computedSearch(): string;
|
|
@@ -2,27 +2,31 @@ import { ChangeDetectorRef } from '@angular/core';
|
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { MaskitoOptions } from '@maskito/core';
|
|
4
4
|
import { AbstractTuiNullableControl, TuiBooleanHandler, TuiFocusableElementAccessor, TuiYear } from '@taiga-ui/cdk';
|
|
5
|
-
import { TuiWithOptionalMinMax } from '@taiga-ui/core';
|
|
5
|
+
import { TuiSizeL, TuiSizeS, TuiTextfieldSizeDirective, TuiWithOptionalMinMax } from '@taiga-ui/core';
|
|
6
6
|
import { TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TuiInputYearComponent extends AbstractTuiNullableControl<number> implements TuiWithOptionalMinMax<number>, TuiFocusableElementAccessor {
|
|
9
9
|
private readonly options;
|
|
10
|
+
private readonly textfieldSize;
|
|
10
11
|
private readonly textfield?;
|
|
11
12
|
min: number;
|
|
12
13
|
max: number;
|
|
13
14
|
disabledItemHandler: TuiBooleanHandler<number>;
|
|
14
15
|
open: boolean;
|
|
16
|
+
nativeValue: string;
|
|
15
17
|
readonly initialItem: number;
|
|
16
|
-
constructor(control: NgControl | null, cdr: ChangeDetectorRef, options: TuiInputDateOptions);
|
|
18
|
+
constructor(control: NgControl | null, cdr: ChangeDetectorRef, options: TuiInputDateOptions, textfieldSize: TuiTextfieldSizeDirective);
|
|
19
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
17
20
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
18
21
|
get focused(): boolean;
|
|
19
22
|
get calendarIcon(): TuiInputDateOptions['icon'];
|
|
20
|
-
getMaskOptions(max: number): MaskitoOptions;
|
|
23
|
+
getMaskOptions(min: number, max: number): MaskitoOptions;
|
|
21
24
|
onValueChange(value: string): void;
|
|
22
25
|
onYearClick({ year }: TuiYear): void;
|
|
23
26
|
onFocused(focused: boolean): void;
|
|
24
27
|
onOpenChange(open: boolean): void;
|
|
25
28
|
toggle(): void;
|
|
26
|
-
|
|
29
|
+
writeValue(value: number | null): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputYearComponent, [{ optional: true; self: true; }, null, null, null]>;
|
|
27
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputYearComponent, "tui-input-year", never, { "min": "min"; "max": "max"; "disabledItemHandler": "disabledItemHandler"; }, {}, never, ["*", "input"]>;
|
|
28
32
|
}
|
|
@@ -3,6 +3,7 @@ import { TuiInputYearComponent } from './input-year.component';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiInputYearDirective extends AbstractTuiTextfieldHost<TuiInputYearComponent> {
|
|
5
5
|
onValueChange(value: string): void;
|
|
6
|
+
get value(): string;
|
|
6
7
|
process(input: HTMLInputElement): void;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputYearDirective, never>;
|
|
8
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputYearDirective, "tui-input-year", never, {}, {}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { AbstractTuiNullableControl, TuiActiveZoneDirective, TuiContextWithImplicit, TuiFocusableElementAccessor } from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiDataListHost, TuiSizeL, TuiSizeM, TuiSizeS, TuiTextfieldCleanerDirective, TuiValueContentContext } from '@taiga-ui/core';
|
|
4
|
+
import { TuiDataListHost, TuiSizeL, TuiSizeM, TuiSizeS, TuiTextfieldCleanerDirective, TuiTextfieldSizeDirective, TuiValueContentContext } from '@taiga-ui/core';
|
|
5
5
|
import { TuiArrowMode } from '@taiga-ui/kit/components/arrow';
|
|
6
6
|
import { TuiItemsHandlers } from '@taiga-ui/kit/tokens';
|
|
7
7
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
@@ -9,6 +9,7 @@ import { TuiSelectOptions } from './select.options';
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class TuiSelectComponent<T> extends AbstractTuiNullableControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
|
|
11
11
|
private readonly textfieldCleaner;
|
|
12
|
+
private readonly textfieldSize;
|
|
12
13
|
private readonly arrowMode;
|
|
13
14
|
private readonly itemsHandlers;
|
|
14
15
|
private readonly options;
|
|
@@ -20,7 +21,8 @@ export declare class TuiSelectComponent<T> extends AbstractTuiNullableControl<T>
|
|
|
20
21
|
identityMatcher: TuiItemsHandlers<T>['identityMatcher'];
|
|
21
22
|
valueContent: TuiSelectOptions<T>['valueContent'];
|
|
22
23
|
readonly datalist: PolymorpheusContent<TuiContextWithImplicit<TuiActiveZoneDirective>>;
|
|
23
|
-
constructor(control: NgControl | null, cdr: ChangeDetectorRef, textfieldCleaner: TuiTextfieldCleanerDirective, arrowMode: TuiArrowMode, itemsHandlers: TuiItemsHandlers<T>, options: TuiSelectOptions<T>, isMobile: boolean);
|
|
24
|
+
constructor(control: NgControl | null, cdr: ChangeDetectorRef, textfieldCleaner: TuiTextfieldCleanerDirective, textfieldSize: TuiTextfieldSizeDirective, arrowMode: TuiArrowMode, itemsHandlers: TuiItemsHandlers<T>, options: TuiSelectOptions<T>, isMobile: boolean);
|
|
25
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
24
26
|
get arrow(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeM | TuiSizeS>>;
|
|
25
27
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
26
28
|
get focused(): boolean;
|
|
@@ -32,6 +34,6 @@ export declare class TuiSelectComponent<T> extends AbstractTuiNullableControl<T>
|
|
|
32
34
|
onKeyDownDelete(): void;
|
|
33
35
|
handleOption(option: T): void;
|
|
34
36
|
private focusInput;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectComponent<any>, [{ optional: true; self: true; }, null, null, null, null, null, null]>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectComponent<any>, [{ optional: true; self: true; }, null, null, null, null, null, null, null]>;
|
|
36
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSelectComponent<any>, "tui-select", never, { "stringify": "stringify"; "identityMatcher": "identityMatcher"; "valueContent": "valueContent"; }, {}, ["nativeSelect", "datalist"], ["*", "input", "select"]>;
|
|
37
39
|
}
|
|
@@ -51,7 +51,7 @@ export class TuiBadgedContentComponent {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
TuiBadgedContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgedContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
-
TuiBadgedContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiBadgedContentComponent, selector: "tui-badged-content", inputs: { contentTop: "contentTop", contentBottom: "contentBottom", size: "size", colorTop: "colorTop", colorBottom: "colorBottom", rounded: "rounded" }, host: { properties: { "class._with-top": "this.contentTop", "class._with-bottom": "this.contentBottom", "attr.data-size": "this.size", "class._rounded": "this.rounded" } }, ngImport: i0, template: "<ng-content></ng-content>\n\n<div\n *ngIf=\"topNotification\"\n class=\"t-notification t-notification_top\"\n [style.background]=\"topNotification\"\n [style.boxShadow]=\"boxShadow\"\n></div>\n\n<div\n *ngIf=\"bottomNotification\"\n class=\"t-notification t-notification_bottom\"\n [style.background]=\"bottomNotification\"\n [style.boxShadow]=\"boxShadow\"\n></div>\n\n<div\n *ngIf=\"contentTop\"\n class=\"t-content t-content_top\"\n [style.boxShadow]=\"boxShadow\"\n>\n <ng-container *polymorpheusOutlet=\"contentTop as content\">\n <tui-badge\n *ngIf=\"contentIsNumber(content)\"\n [status]=\"getStatus(colorTop)\"\n [style.backgroundColor]=\"colorTop\"\n [size]=\"badgeSize\"\n [value]=\"content\"\n ></tui-badge>\n <tui-svg\n *ngIf=\"contentIsString(content)\"\n class=\"t-icon\"\n [style.color]=\"colorTop\"\n [src]=\"content\"\n ></tui-svg>\n </ng-container>\n</div>\n\n<div\n *ngIf=\"contentBottom && sizeBig\"\n class=\"t-content t-content_bottom\"\n [style.boxShadow]=\"boxShadow\"\n>\n <ng-container *polymorpheusOutlet=\"contentBottom as content\">\n <tui-badge\n *ngIf=\"contentIsNumber(content)\"\n [status]=\"getStatus(colorBottom)\"\n [style.backgroundColor]=\"colorBottom\"\n [size]=\"badgeSize\"\n [value]=\"content\"\n ></tui-badge>\n <tui-svg\n *ngIf=\"contentIsString(content)\"\n class=\"t-icon\"\n [style.color]=\"colorBottom\"\n [src]=\"content\"\n ></tui-svg>\n </ng-container>\n</div>\n", styles: [":host{position:relative;display:inline-block;color:var(--tui-base-01)}.t-notification{position:absolute;border-radius:100%;box-shadow:0 0 0 2px currentColor;background-color:currentColor}:host[data-size=xs]:not(._rounded) .t-notification_top,:host[data-size=s]:not(._rounded) .t-notification_top,:host[data-size=m]:not(._rounded) .t-notification_top{top:-.125rem;right:-.125rem}:host[data-size=l]:not(._rounded) .t-notification_top,:host[data-size=xl]:not(._rounded) .t-notification_top{top:-.25rem;right:-.25rem}:host[data-size=xxl]:not(._rounded) .t-notification_top{top:-.5rem;right:-.5rem}:host[data-size=xs]._rounded .t-notification_top{top:0;right:0}:host[data-size=s]._rounded .t-notification_top{top:.0625rem;right:.0625rem}:host[data-size=m]._rounded .t-notification_top{top:.1875rem;right:.1875rem}:host[data-size=l]._rounded .t-notification_top{top:.25rem;right:.25rem}:host[data-size=xl]._rounded .t-notification_top{top:.375rem;right:.375rem}:host[data-size=xxl]._rounded .t-notification_top{top:.5rem;right:.5rem}:host[data-size=m]:not(._rounded) .t-notification_bottom{bottom:-.125rem;right:-.125rem}:host[data-size=l]:not(._rounded) .t-notification_bottom,:host[data-size=xl]:not(._rounded) .t-notification_bottom{bottom:-.25rem;right:-.25rem}:host[data-size=xxl]:not(._rounded) .t-notification_bottom{bottom:-.5rem;right:-.5rem}:host[data-size=m]._rounded .t-notification_bottom{bottom:.1875rem;right:.1875rem}:host[data-size=l]._rounded .t-notification_bottom{bottom:.25rem;right:.25rem}:host[data-size=xl]._rounded .t-notification_bottom{bottom:.375rem;right:.375rem}:host[data-size=xxl]._rounded .t-notification_bottom{bottom:.5rem;right:.5rem}:host[data-size=xs] .t-notification,:host[data-size=s] .t-notification,:host[data-size=m] .t-notification{width:.5rem;height:.5rem}:host[data-size=l] .t-notification{width:.75rem;height:.75rem}:host[data-size=xl] .t-notification{width:1rem;height:1rem}:host[data-size=xxl] .t-notification{width:1.5rem;height:1.5rem}.t-icon{color:var(--tui-success-fill)}:host[data-size=xs] .t-icon{transform:scale(.66666667);margin:-.25rem}:host[data-size=s] .t-icon,:host[data-size=m] .t-icon{width:1.5rem;height:1.5rem;margin:-.125rem}:host[data-size=l] .t-icon,:host[data-size=xl] .t-icon{transform:scale(1.2)}:host[data-size=xxl] .t-icon{transform:scale(1.6)}.t-content{position:absolute;display:flex;align-items:center;justify-content:center;border-radius:6.25rem;overflow:hidden;background-color:currentColor;box-shadow:0 0 0 2px currentColor}:host[data-size=xxl]._with-top:not(._rounded) .t-content_top,:host[data-size=l]._with-top:not(._rounded) .t-content_top{right:-.5rem;top:-.5rem}:host[data-size=xl]._with-top:not(._rounded) .t-content_top{right:-.375rem;top:-.375rem}:host[data-size=m]._with-top:not(._rounded) .t-content_top,:host[data-size=s]._with-top:not(._rounded) .t-content_top,:host[data-size=xs]._with-top:not(._rounded) .t-content_top{right:-.25rem;top:-.25rem}:host[data-size=xxl]._with-top._rounded .t-content_top{right:.25rem;top:.25rem}:host[data-size=xl]._with-top._rounded .t-content_top{right:.125rem;top:.125rem}:host[data-size=l]._with-top._rounded .t-content_top,:host[data-size=m]._with-top._rounded .t-content_top,:host[data-size=s]._with-top._rounded .t-content_top,:host[data-size=xs]._with-top._rounded .t-content_top{right:-.25rem;top:-.25rem}:host[data-size=xxl]._with-bottom:not(._rounded) .t-content_bottom,:host[data-size=l]._with-bottom:not(._rounded) .t-content_bottom{bottom:-.5rem;right:-.5rem}:host[data-size=xl]._with-bottom:not(._rounded) .t-content_bottom{bottom:-.375rem;right:-.375rem}:host[data-size=m]._with-bottom:not(._rounded) .t-content_bottom{bottom:-.25rem;right:-.25rem}:host[data-size=xxl]._with-bottom._rounded .t-content_bottom{bottom:.25rem;right:.25rem}:host[data-size=xl]._with-bottom._rounded .t-content_bottom{bottom:.125rem;right:.125rem}:host[data-size=l]._with-bottom._rounded .t-content_bottom,:host[data-size=m]._with-bottom._rounded .t-content_bottom{bottom:-.25rem;right:-.25rem}:host[data-size=xxl] .t-content{height:2rem;min-width:2rem}:host[data-size=xl] .t-content,:host[data-size=l] .t-content{height:1.5rem;min-width:1.5rem}:host[data-size=m] .t-content,:host[data-size=s] .t-content{height:1.25rem;min-width:1.25rem}:host[data-size=xs] .t-content{height:1rem;min-width:1rem}\n"], components: [{ type: i1.TuiBadgeComponent, selector: "tui-badge", inputs: ["value", "size", "status", "hoverable"] }, { type: i2.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
54
|
+
TuiBadgedContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiBadgedContentComponent, selector: "tui-badged-content", inputs: { contentTop: "contentTop", contentBottom: "contentBottom", size: "size", colorTop: "colorTop", colorBottom: "colorBottom", rounded: "rounded" }, host: { properties: { "class._with-top": "this.contentTop", "class._with-bottom": "this.contentBottom", "attr.data-size": "this.size", "class._rounded": "this.rounded" } }, ngImport: i0, template: "<ng-content></ng-content>\n\n<div\n *ngIf=\"topNotification\"\n class=\"t-notification t-notification_top\"\n [style.background]=\"topNotification\"\n [style.boxShadow]=\"boxShadow\"\n></div>\n\n<div\n *ngIf=\"bottomNotification\"\n class=\"t-notification t-notification_bottom\"\n [style.background]=\"bottomNotification\"\n [style.boxShadow]=\"boxShadow\"\n></div>\n\n<div\n *ngIf=\"contentTop\"\n class=\"t-content t-content_top\"\n [style.boxShadow]=\"boxShadow\"\n>\n <ng-container *polymorpheusOutlet=\"contentTop as content\">\n <tui-badge\n *ngIf=\"contentIsNumber(content)\"\n [status]=\"getStatus(colorTop)\"\n [style.backgroundColor]=\"colorTop\"\n [size]=\"badgeSize\"\n [value]=\"content\"\n ></tui-badge>\n <tui-svg\n *ngIf=\"contentIsString(content)\"\n class=\"t-icon\"\n [style.color]=\"colorTop\"\n [src]=\"content\"\n ></tui-svg>\n </ng-container>\n</div>\n\n<div\n *ngIf=\"contentBottom && sizeBig\"\n class=\"t-content t-content_bottom\"\n [style.boxShadow]=\"boxShadow\"\n>\n <ng-container *polymorpheusOutlet=\"contentBottom as content\">\n <tui-badge\n *ngIf=\"contentIsNumber(content)\"\n [status]=\"getStatus(colorBottom)\"\n [style.backgroundColor]=\"colorBottom\"\n [size]=\"badgeSize\"\n [value]=\"content\"\n ></tui-badge>\n <tui-svg\n *ngIf=\"contentIsString(content)\"\n class=\"t-icon\"\n [style.color]=\"colorBottom\"\n [src]=\"content\"\n ></tui-svg>\n </ng-container>\n</div>\n", styles: [":host{position:relative;display:inline-block;color:var(--tui-base-01);height:-webkit-min-content;height:min-content}.t-notification{position:absolute;border-radius:100%;box-shadow:0 0 0 2px currentColor;background-color:currentColor}:host[data-size=xs]:not(._rounded) .t-notification_top,:host[data-size=s]:not(._rounded) .t-notification_top,:host[data-size=m]:not(._rounded) .t-notification_top{top:-.125rem;right:-.125rem}:host[data-size=l]:not(._rounded) .t-notification_top,:host[data-size=xl]:not(._rounded) .t-notification_top{top:-.25rem;right:-.25rem}:host[data-size=xxl]:not(._rounded) .t-notification_top{top:-.5rem;right:-.5rem}:host[data-size=xs]._rounded .t-notification_top{top:0;right:0}:host[data-size=s]._rounded .t-notification_top{top:.0625rem;right:.0625rem}:host[data-size=m]._rounded .t-notification_top{top:.1875rem;right:.1875rem}:host[data-size=l]._rounded .t-notification_top{top:.25rem;right:.25rem}:host[data-size=xl]._rounded .t-notification_top{top:.375rem;right:.375rem}:host[data-size=xxl]._rounded .t-notification_top{top:.5rem;right:.5rem}:host[data-size=m]:not(._rounded) .t-notification_bottom{bottom:-.125rem;right:-.125rem}:host[data-size=l]:not(._rounded) .t-notification_bottom,:host[data-size=xl]:not(._rounded) .t-notification_bottom{bottom:-.25rem;right:-.25rem}:host[data-size=xxl]:not(._rounded) .t-notification_bottom{bottom:-.5rem;right:-.5rem}:host[data-size=m]._rounded .t-notification_bottom{bottom:.1875rem;right:.1875rem}:host[data-size=l]._rounded .t-notification_bottom{bottom:.25rem;right:.25rem}:host[data-size=xl]._rounded .t-notification_bottom{bottom:.375rem;right:.375rem}:host[data-size=xxl]._rounded .t-notification_bottom{bottom:.5rem;right:.5rem}:host[data-size=xs] .t-notification,:host[data-size=s] .t-notification,:host[data-size=m] .t-notification{width:.5rem;height:.5rem}:host[data-size=l] .t-notification{width:.75rem;height:.75rem}:host[data-size=xl] .t-notification{width:1rem;height:1rem}:host[data-size=xxl] .t-notification{width:1.5rem;height:1.5rem}.t-icon{color:var(--tui-success-fill)}:host[data-size=xs] .t-icon{transform:scale(.66666667);margin:-.25rem}:host[data-size=s] .t-icon,:host[data-size=m] .t-icon{width:1.5rem;height:1.5rem;margin:-.125rem}:host[data-size=l] .t-icon,:host[data-size=xl] .t-icon{transform:scale(1.2)}:host[data-size=xxl] .t-icon{transform:scale(1.6)}.t-content{position:absolute;display:flex;align-items:center;justify-content:center;border-radius:6.25rem;overflow:hidden;background-color:currentColor;box-shadow:0 0 0 2px currentColor}:host[data-size=xxl]._with-top:not(._rounded) .t-content_top,:host[data-size=l]._with-top:not(._rounded) .t-content_top{right:-.5rem;top:-.5rem}:host[data-size=xl]._with-top:not(._rounded) .t-content_top{right:-.375rem;top:-.375rem}:host[data-size=m]._with-top:not(._rounded) .t-content_top,:host[data-size=s]._with-top:not(._rounded) .t-content_top,:host[data-size=xs]._with-top:not(._rounded) .t-content_top{right:-.25rem;top:-.25rem}:host[data-size=xxl]._with-top._rounded .t-content_top{right:.25rem;top:.25rem}:host[data-size=xl]._with-top._rounded .t-content_top{right:.125rem;top:.125rem}:host[data-size=l]._with-top._rounded .t-content_top,:host[data-size=m]._with-top._rounded .t-content_top,:host[data-size=s]._with-top._rounded .t-content_top,:host[data-size=xs]._with-top._rounded .t-content_top{right:-.25rem;top:-.25rem}:host[data-size=xxl]._with-bottom:not(._rounded) .t-content_bottom,:host[data-size=l]._with-bottom:not(._rounded) .t-content_bottom{bottom:-.5rem;right:-.5rem}:host[data-size=xl]._with-bottom:not(._rounded) .t-content_bottom{bottom:-.375rem;right:-.375rem}:host[data-size=m]._with-bottom:not(._rounded) .t-content_bottom{bottom:-.25rem;right:-.25rem}:host[data-size=xxl]._with-bottom._rounded .t-content_bottom{bottom:.25rem;right:.25rem}:host[data-size=xl]._with-bottom._rounded .t-content_bottom{bottom:.125rem;right:.125rem}:host[data-size=l]._with-bottom._rounded .t-content_bottom,:host[data-size=m]._with-bottom._rounded .t-content_bottom{bottom:-.25rem;right:-.25rem}:host[data-size=xxl] .t-content{height:2rem;min-width:2rem}:host[data-size=xl] .t-content,:host[data-size=l] .t-content{height:1.5rem;min-width:1.5rem}:host[data-size=m] .t-content,:host[data-size=s] .t-content{height:1.25rem;min-width:1.25rem}:host[data-size=xs] .t-content{height:1rem;min-width:1rem}\n"], components: [{ type: i1.TuiBadgeComponent, selector: "tui-badge", inputs: ["value", "size", "status", "hoverable"] }, { type: i2.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
55
55
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgedContentComponent, decorators: [{
|
|
56
56
|
type: Component,
|
|
57
57
|
args: [{
|
|
@@ -20,7 +20,7 @@ TuiBreadcrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
20
20
|
provide: TuiModeDirective,
|
|
21
21
|
useExisting: forwardRef(() => TuiBreadcrumbsComponent),
|
|
22
22
|
},
|
|
23
|
-
], queries: [{ propertyName: "items", predicate: TuiItemDirective, read: TemplateRef }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"items.changes | async\"></ng-container>\n<ng-container *ngFor=\"let item of items; let last = last\">\n <ng-container [ngTemplateOutlet]=\"item\"></ng-container>\n <tui-svg\n *ngIf=\"!last\"\n class=\"t-icon\"\n [src]=\"options.icon\"\n ></tui-svg>\n</ng-container>\n", styles: [":host{display:flex;align-items:center;height:2.5rem;font:var(--tui-font-text-s);color:var(--tui-text-01)}:host[data-size=l]{font:var(--tui-font-text-m)}.t-icon{margin:0 .25rem;opacity:.4}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
23
|
+
], queries: [{ propertyName: "items", predicate: TuiItemDirective, read: TemplateRef }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"items.changes | async\"></ng-container>\n<ng-container *ngFor=\"let item of items; let last = last\">\n <ng-container [ngTemplateOutlet]=\"item\"></ng-container>\n <tui-svg\n *ngIf=\"!last\"\n class=\"t-icon\"\n [src]=\"options.icon\"\n ></tui-svg>\n</ng-container>\n", styles: [":host{display:flex;align-items:center;height:2.5rem;white-space:nowrap;font:var(--tui-font-text-s);color:var(--tui-text-01)}:host[data-size=l]{font:var(--tui-font-text-m)}.t-icon{margin:0 .25rem;opacity:.4}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBreadcrumbsComponent, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{
|
|
@@ -151,7 +151,7 @@ export class TuiCalendarMonthComponent {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
TuiCalendarMonthComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarMonthComponent, deps: [{ token: TUI_CALENDAR_MONTHS }], target: i0.ɵɵFactoryTarget.Component });
|
|
154
|
-
TuiCalendarMonthComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCalendarMonthComponent, selector: "tui-calendar-month", inputs: { value: "value", year: "year", disabledItemHandler: "disabledItemHandler", min: "min", max: "max" }, outputs: { monthClick: "monthClick", hoveredItemChange: "hoveredItemChange", yearChange: "yearChange" }, host: { properties: { "class._single": "this.isSingle" } }, ngImport: i0, template: "<tui-scrollbar\n *ngIf=\"isYearPickerShown; else monthSelect\"\n class=\"t-scrollbar\"\n>\n <tui-primitive-year-picker\n [min]=\"min\"\n [max]=\"max\"\n [initialItem]=\"year\"\n [value]=\"value\"\n (yearClick)=\"onPickerYearClick($event)\"\n ></tui-primitive-year-picker>\n</tui-scrollbar>\n<ng-template #monthSelect>\n <tui-primitive-spin-button\n [focusable]=\"false\"\n [leftDisabled]=\"previousYearDisabled\"\n [rightDisabled]=\"nextYearDisabled\"\n (leftClick)=\"onPreviousYear()\"\n (rightClick)=\"onNextYear()\"\n >\n <button\n tuiLink\n type=\"button\"\n automation-id=\"tui-calendar-month__active-year\"\n [tuiFocusable]=\"false\"\n (click)=\"onYearClick()\"\n >\n {{ year.formattedYear }}\n </button>\n </tui-primitive-spin-button>\n <div class=\"t-row\">\n <ng-container *ngFor=\"let month of months$ | async; let index = index\">\n <div\n *tuiLet=\"getTuiMonth(index, year.year) as item\"\n class=\"t-cell\"\n [class.t-cell_today]=\"isItemToday(item)\"\n [class.t-cell_interval]=\"isItemInsideRange(item)\"\n [attr.data-range]=\"getItemRange(item)\"\n [attr.data-state]=\"getItemState(item)\"\n (tuiHoveredChange)=\"onItemHovered($event, item)\"\n (tuiPressedChange)=\"onItemHovered($event, item)\"\n (click)=\"onItemClick(item)\"\n >\n <div class=\"t-item\">{{ month }}</div>\n </div>\n </ng-container>\n </div>\n</ng-template>\n", styles: [":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;z-index:0;display:flex;justify-content:space-between;height:2.25rem}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:before,.t-item:after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item:after{border-radius:.5rem}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:3.
|
|
154
|
+
TuiCalendarMonthComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCalendarMonthComponent, selector: "tui-calendar-month", inputs: { value: "value", year: "year", disabledItemHandler: "disabledItemHandler", min: "min", max: "max" }, outputs: { monthClick: "monthClick", hoveredItemChange: "hoveredItemChange", yearChange: "yearChange" }, host: { properties: { "class._single": "this.isSingle" } }, ngImport: i0, template: "<tui-scrollbar\n *ngIf=\"isYearPickerShown; else monthSelect\"\n class=\"t-scrollbar\"\n>\n <tui-primitive-year-picker\n [min]=\"min\"\n [max]=\"max\"\n [initialItem]=\"year\"\n [value]=\"value\"\n (yearClick)=\"onPickerYearClick($event)\"\n ></tui-primitive-year-picker>\n</tui-scrollbar>\n<ng-template #monthSelect>\n <tui-primitive-spin-button\n [focusable]=\"false\"\n [leftDisabled]=\"previousYearDisabled\"\n [rightDisabled]=\"nextYearDisabled\"\n (leftClick)=\"onPreviousYear()\"\n (rightClick)=\"onNextYear()\"\n >\n <button\n tuiLink\n type=\"button\"\n automation-id=\"tui-calendar-month__active-year\"\n [tuiFocusable]=\"false\"\n (click)=\"onYearClick()\"\n >\n {{ year.formattedYear }}\n </button>\n </tui-primitive-spin-button>\n <div class=\"t-row\">\n <ng-container *ngFor=\"let month of months$ | async; let index = index\">\n <div\n *tuiLet=\"getTuiMonth(index, year.year) as item\"\n class=\"t-cell\"\n [class.t-cell_today]=\"isItemToday(item)\"\n [class.t-cell_interval]=\"isItemInsideRange(item)\"\n [attr.data-range]=\"getItemRange(item)\"\n [attr.data-state]=\"getItemState(item)\"\n (tuiHoveredChange)=\"onItemHovered($event, item)\"\n (tuiPressedChange)=\"onItemHovered($event, item)\"\n (click)=\"onItemClick(item)\"\n >\n <div class=\"t-item\">{{ month }}</div>\n </div>\n </ng-container>\n </div>\n</ng-template>\n", styles: [":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;z-index:0;display:flex;justify-content:space-between;height:2.25rem}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:before,.t-item:after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item:after{border-radius:.5rem}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:3.9375rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell:before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today:after{position:absolute;left:50%;transform:translate(-50%);content:\"\";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-01)}.t-cell_interval:before{background:var(--tui-base-02)}:host._single .t-cell_interval:before{background:var(--tui-secondary-hover)}.t-cell_interval:not(:last-child):before{right:-.25rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval:not([data-range=\"start\"]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval:last-child:first-child:before{right:0}.t-cell_interval:first-child>.t-item{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval:last-child>.t-item{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval>.t-item{border-radius:0}.t-cell[data-range]:after{background-color:var(--tui-primary-text)}.t-cell[data-range]>.t-item{color:var(--tui-primary-text)}.t-cell[data-range]>.t-item:before,.t-cell[data-range]>.t-item:after{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hover]>.t-item:before,.t-cell[data-range][data-state=hover]>.t-item:after{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=active]>.t-item:before,.t-cell[data-range][data-state=active]>.t-item:after{background-color:var(--tui-primary-active)}.t-cell[data-range=end]:before{background:var(--tui-base-02)}:host._single .t-cell[data-range=end]:before{background:var(--tui-secondary-hover)}.t-cell[data-range=end]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start]>.t-item:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start]>.t-item:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single]>.t-item:after{display:none}.t-cell[data-state=disabled]{pointer-events:none}.t-cell[data-state=disabled]>.t-item{opacity:.36}.t-cell[data-state=hover]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-hover)}.t-cell[data-state=active]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-active)}:host{display:block;height:13.625rem;width:15.75rem;padding:1.125rem;box-sizing:content-box}.t-row{flex-wrap:wrap;margin-top:1.4375rem}.t-cell:nth-child(n + 5){margin-top:1.75rem}.t-cell_interval:nth-child(4n):before{right:0}.t-scrollbar{height:inherit;width:inherit}\n"], components: [{ type: i1.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }, { type: i1.TuiPrimitiveYearPickerComponent, selector: "tui-primitive-year-picker", inputs: ["value", "initialItem", "min", "max", "disabledItemHandler"], outputs: ["yearClick"] }, { type: i1.TuiPrimitiveSpinButtonComponent, selector: "tui-primitive-spin-button", inputs: ["disabled", "mode", "leftDisabled", "rightDisabled"], outputs: ["leftClick", "rightClick"] }, { type: i1.TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo", "icon", "iconAlign", "iconRotated", "mode"], exportAs: ["tuiLink"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i3.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }, { type: i3.TuiPressedDirective, selector: "[tuiPressedChange]", outputs: ["tuiPressedChange"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
155
155
|
__decorate([
|
|
156
156
|
tuiPure
|
|
157
157
|
], TuiCalendarMonthComponent.prototype, "calculateDisabledItemHandlerWithMinMax", null);
|