@taiga-ui/kit 3.39.1-dev.main.f92cc75 → 3.40.0-canary.f82bb42
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/README.md +3 -3
- package/bundles/taiga-ui-kit-components-accordion.umd.js +11 -7
- package/bundles/taiga-ui-kit-components-accordion.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-calendar-range.umd.js +7 -3
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +12 -8
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +42 -22
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +5 -23
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +5 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +7 -3
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +22 -25
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +7 -3
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +7 -6
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-prompt.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-prompt.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-push.umd.js +7 -3
- package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.js +7 -3
- package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +7 -3
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +12 -8
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +16 -27
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
- package/bundles/{taiga-ui-kit-components-text-area.umd.js → taiga-ui-kit-components-textarea.umd.js} +159 -53
- package/bundles/taiga-ui-kit-components-textarea.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-components-tiles.umd.js +5 -0
- package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tree.umd.js +7 -3
- package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components.umd.js +6 -6
- package/bundles/taiga-ui-kit-constants.umd.js +2 -2
- package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-mask.umd.js +2 -2
- package/bundles/taiga-ui-kit-directives-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.js +8 -8
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
- package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -1
- package/components/calendar-range/calendar-range.component.d.ts +4 -3
- package/components/files/file/file.component.d.ts +3 -2
- package/components/index.d.ts +1 -1
- package/components/input-number/input-number.component.d.ts +7 -4
- package/components/input-phone/utils/create-phone-mask-expression.d.ts +1 -1
- package/components/input-range/input-range.component.d.ts +2 -4
- package/components/input-tag/input-tag.component.d.ts +5 -4
- package/components/input-year/input-year.component.d.ts +1 -0
- package/components/pagination/pagination.component.d.ts +7 -6
- package/components/pagination/pagination.module.d.ts +3 -3
- package/components/pdf-viewer/pdf-viewer.component.d.ts +3 -1
- package/components/progress/progress-bar/progress-bar.component.d.ts +2 -2
- package/components/progress/progress-circle/progress-circle.component.d.ts +1 -1
- package/components/push/push.component.d.ts +3 -1
- package/components/select-option/select-option.component.d.ts +4 -3
- package/components/stepper/step/step.component.d.ts +3 -1
- package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +3 -1
- package/components/tag/tag.component.d.ts +3 -5
- package/components/tag/tag.module.d.ts +3 -4
- package/components/textarea/deprecated.d.ts +30 -0
- package/components/textarea/index.d.ts +4 -0
- package/components/textarea/package.json +10 -0
- package/components/{text-area/taiga-ui-kit-components-text-area.d.ts → textarea/taiga-ui-kit-components-textarea.d.ts} +1 -1
- package/components/{text-area/text-area.component.d.ts → textarea/textarea.component.d.ts} +3 -3
- package/components/textarea/textarea.directive.d.ts +8 -0
- package/components/{text-area/text-area.module.d.ts → textarea/textarea.module.d.ts} +6 -6
- package/components/tiles/tile.component.d.ts +3 -2
- package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +3 -1
- package/constants/empty-mask.d.ts +1 -1
- package/constants/masks.d.ts +1 -1
- package/directives/mask/legacy-mask.d.ts +3 -3
- package/esm2015/components/accordion/accordion-item/accordion-item.component.js +9 -4
- package/esm2015/components/calendar-month/calendar-month.component.js +1 -1
- package/esm2015/components/calendar-range/calendar-range.component.js +9 -5
- package/esm2015/components/files/file/file.component.js +9 -4
- package/esm2015/components/index.js +2 -2
- package/esm2015/components/input-number/input-number.component.js +29 -10
- package/esm2015/components/input-phone/utils/create-phone-mask-expression.js +2 -2
- package/esm2015/components/input-range/input-range.component.js +6 -16
- package/esm2015/components/input-slider/input-slider.component.js +6 -2
- package/esm2015/components/input-tag/input-tag.component.js +9 -5
- package/esm2015/components/input-year/input-year.component.js +5 -1
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +1 -1
- package/esm2015/components/pagination/pagination.component.js +18 -12
- package/esm2015/components/pagination/pagination.module.js +5 -8
- package/esm2015/components/pdf-viewer/pdf-viewer.component.js +9 -5
- package/esm2015/components/progress/progress-bar/progress-bar.component.js +2 -2
- package/esm2015/components/progress/progress-circle/progress-circle.component.js +7 -6
- package/esm2015/components/prompt/prompt.component.js +1 -1
- package/esm2015/components/push/push.component.js +9 -5
- package/esm2015/components/select-option/select-option.component.js +9 -5
- package/esm2015/components/stepper/step/step.component.js +9 -5
- package/esm2015/components/tabs/tab/tab.component.js +2 -2
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +9 -4
- package/esm2015/components/tag/tag.component.js +12 -16
- package/esm2015/components/tag/tag.module.js +1 -5
- package/esm2015/components/textarea/deprecated.js +104 -0
- package/esm2015/components/textarea/index.js +5 -0
- package/esm2015/components/textarea/taiga-ui-kit-components-textarea.js +5 -0
- package/esm2015/components/textarea/textarea.component.js +217 -0
- package/esm2015/components/textarea/textarea.directive.js +18 -0
- package/esm2015/components/textarea/textarea.module.js +51 -0
- package/esm2015/components/tiles/tile.component.js +6 -1
- package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +9 -4
- package/esm2015/constants/empty-mask.js +2 -2
- package/esm2015/constants/masks.js +2 -2
- package/esm2015/directives/mask/legacy-mask.js +4 -4
- package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +3 -3
- package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +2 -2
- package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +2 -2
- package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +2 -2
- package/esm2015/utils/mask/create-date-mask.js +2 -2
- package/esm2015/utils/mask/create-date-range-mask.js +2 -2
- package/esm2015/utils/mask/create-time-mask.js +2 -2
- package/fesm2015/taiga-ui-kit-components-accordion.js +8 -3
- package/fesm2015/taiga-ui-kit-components-accordion.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-calendar-range.js +8 -4
- package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-files.js +9 -5
- package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +29 -10
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +5 -15
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +5 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +8 -4
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-year.js +4 -0
- package/fesm2015/taiga-ui-kit-components-input-year.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js +22 -19
- package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +8 -4
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-progress.js +7 -6
- package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-prompt.js +1 -1
- package/fesm2015/taiga-ui-kit-components-prompt.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-push.js +8 -4
- package/fesm2015/taiga-ui-kit-components-push.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select-option.js +8 -4
- package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js +8 -4
- package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +9 -4
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +12 -19
- package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm2015/{taiga-ui-kit-components-text-area.js → taiga-ui-kit-components-textarea.js} +108 -18
- package/fesm2015/taiga-ui-kit-components-textarea.js.map +1 -0
- package/fesm2015/taiga-ui-kit-components-tiles.js +5 -0
- package/fesm2015/taiga-ui-kit-components-tiles.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tree.js +8 -4
- package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components.js +1 -1
- package/fesm2015/taiga-ui-kit-constants.js +2 -2
- package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-mask.js +2 -2
- package/fesm2015/taiga-ui-kit-directives-mask.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-mask.js +8 -8
- package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
- package/package.json +7 -7
- package/utils/mask/create-auto-corrected-date-pipe.d.ts +3 -3
- package/utils/mask/create-auto-corrected-date-range-pipe.d.ts +1 -1
- package/utils/mask/create-auto-corrected-date-time-pipe.d.ts +1 -1
- package/utils/mask/create-auto-corrected-time-pipe.d.ts +1 -1
- package/utils/mask/create-date-mask.d.ts +1 -1
- package/utils/mask/create-date-range-mask.d.ts +1 -1
- package/utils/mask/create-time-mask.d.ts +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +0 -1
- package/components/text-area/index.d.ts +0 -3
- package/components/text-area/package.json +0 -10
- package/components/text-area/text-area.directive.d.ts +0 -8
- package/esm2015/components/text-area/index.js +0 -4
- package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +0 -5
- package/esm2015/components/text-area/text-area.component.js +0 -217
- package/esm2015/components/text-area/text-area.directive.js +0 -18
- package/esm2015/components/text-area/text-area.module.js +0 -51
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +0 -1
|
@@ -10,7 +10,7 @@ export declare class TuiProgressCircleComponent {
|
|
|
10
10
|
max: number;
|
|
11
11
|
color: string | null;
|
|
12
12
|
size: TuiSizeS | TuiSizeXL;
|
|
13
|
-
get
|
|
13
|
+
get progressRatio(): number;
|
|
14
14
|
animationDelay$: import("rxjs").Observable<boolean>;
|
|
15
15
|
get oldEdgeRadiusFallback(): number | null;
|
|
16
16
|
constructor(userAgent: string, win: Window, el: ElementRef<HTMLElement>);
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { TuiCommonIcons } from '@taiga-ui/core';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TuiPushComponent {
|
|
5
6
|
readonly closeWord$: Observable<string>;
|
|
7
|
+
readonly icons: TuiCommonIcons;
|
|
6
8
|
heading: string;
|
|
7
9
|
type: string;
|
|
8
10
|
timestamp: number;
|
|
9
11
|
readonly close: EventEmitter<void>;
|
|
10
|
-
constructor(closeWord$: Observable<string
|
|
12
|
+
constructor(closeWord$: Observable<string>, icons: TuiCommonIcons);
|
|
11
13
|
get closeable(): boolean;
|
|
12
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushComponent, never>;
|
|
13
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPushComponent, "tui-push", never, { "heading": "heading"; "type": "type"; "timestamp": "timestamp"; }, { "close": "close"; }, never, ["img", "tui-svg", "*", "[tuiButton]", "[tuiLink]"]>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { DoCheck, ElementRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { AbstractTuiControl, TuiContextWithImplicit, TuiIdentityMatcher } from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiDataListComponent, TuiDataListHost, TuiOptionComponent } from '@taiga-ui/core';
|
|
4
|
+
import { TuiCommonIcons, TuiDataListComponent, TuiDataListHost, TuiOptionComponent } from '@taiga-ui/core';
|
|
5
5
|
import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class TuiSelectOptionComponent<T> implements OnInit, DoCheck {
|
|
8
|
+
readonly icons: TuiCommonIcons;
|
|
8
9
|
readonly context: TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>;
|
|
9
10
|
private readonly host;
|
|
10
11
|
private readonly el;
|
|
@@ -14,13 +15,13 @@ export declare class TuiSelectOptionComponent<T> implements OnInit, DoCheck {
|
|
|
14
15
|
protected readonly abstractControl: AbstractTuiControl<T> | null;
|
|
15
16
|
private readonly changeDetection$;
|
|
16
17
|
readonly selected$: import("rxjs").Observable<boolean>;
|
|
17
|
-
constructor(context: TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>, host: TuiDataListHost<T>, el: ElementRef<HTMLElement>, option: TuiOptionComponent<T>, dataList: TuiDataListComponent<T> | null, control: NgControl, abstractControl: AbstractTuiControl<T> | null);
|
|
18
|
+
constructor(icons: TuiCommonIcons, context: TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>, host: TuiDataListHost<T>, el: ElementRef<HTMLElement>, option: TuiOptionComponent<T>, dataList: TuiDataListComponent<T> | null, control: NgControl, abstractControl: AbstractTuiControl<T> | null);
|
|
18
19
|
get matcher(): TuiIdentityMatcher<T>;
|
|
19
20
|
ngDoCheck(): void;
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
protected get value(): T | null;
|
|
22
23
|
protected get selected(): boolean;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectOptionComponent<any>, [null, null, null, null, { optional: true; }, null, { optional: true; }]>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectOptionComponent<any>, [null, null, null, null, null, { optional: true; }, null, { optional: true; }]>;
|
|
24
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSelectOptionComponent<any>, "tui-select-option", never, {}, {}, never, never>;
|
|
25
26
|
}
|
|
26
27
|
export declare const TUI_SELECT_OPTION: PolymorpheusComponent<TuiSelectOptionComponent<unknown>, any>;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { TuiFocusVisibleService } from '@taiga-ui/cdk';
|
|
3
|
+
import { TuiCommonIcons } from '@taiga-ui/core';
|
|
3
4
|
import { Observable } from 'rxjs';
|
|
4
5
|
import { TuiStepperComponent } from '../stepper.component';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class TuiStepComponent {
|
|
7
8
|
private readonly stepper;
|
|
8
9
|
private readonly el;
|
|
10
|
+
readonly icons: TuiCommonIcons;
|
|
9
11
|
stepState: 'error' | 'normal' | 'pass';
|
|
10
12
|
icon: string;
|
|
11
13
|
focusVisible: boolean;
|
|
12
|
-
constructor(focusVisible$: TuiFocusVisibleService, routerLinkActive$: Observable<boolean>, stepper: TuiStepperComponent, el: ElementRef<HTMLElement
|
|
14
|
+
constructor(focusVisible$: TuiFocusVisibleService, routerLinkActive$: Observable<boolean>, stepper: TuiStepperComponent, el: ElementRef<HTMLElement>, icons: TuiCommonIcons);
|
|
13
15
|
get isActive(): boolean;
|
|
14
16
|
get isVertical(): boolean;
|
|
15
17
|
get tabIndex(): number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { TuiActiveZoneDirective, TuiContextWithImplicit } from '@taiga-ui/cdk';
|
|
3
|
+
import { TuiArrowOptions } from '@taiga-ui/kit/components/arrow';
|
|
3
4
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
4
5
|
import { Observable } from 'rxjs';
|
|
5
6
|
import { TuiTabsOptions } from '../tabs.options';
|
|
@@ -11,6 +12,7 @@ export declare class TuiTabsWithMoreComponent implements AfterViewInit {
|
|
|
11
12
|
private readonly el;
|
|
12
13
|
private readonly cdr;
|
|
13
14
|
readonly moreWord$: Observable<string>;
|
|
15
|
+
readonly arrowOptions: TuiArrowOptions;
|
|
14
16
|
private readonly moreButton?;
|
|
15
17
|
private maxIndex;
|
|
16
18
|
moreContent: PolymorpheusContent;
|
|
@@ -21,7 +23,7 @@ export declare class TuiTabsWithMoreComponent implements AfterViewInit {
|
|
|
21
23
|
readonly activeItemIndexChange: EventEmitter<number>;
|
|
22
24
|
readonly items: QueryList<TemplateRef<Record<string, unknown>>>;
|
|
23
25
|
open: boolean;
|
|
24
|
-
constructor(options: TuiTabsOptions, margin: number, refresh$: Observable<unknown>, el: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, moreWord$: Observable<string
|
|
26
|
+
constructor(options: TuiTabsOptions, margin: number, refresh$: Observable<unknown>, el: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, moreWord$: Observable<string>, arrowOptions: TuiArrowOptions);
|
|
25
27
|
get tabs(): readonly HTMLElement[];
|
|
26
28
|
get activeElement(): HTMLElement | null;
|
|
27
29
|
get isMoreAlone(): boolean;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { TuiBrightness, TuiSizeL, TuiSizeS, TuiSizeXS, TuiTextfieldController } from '@taiga-ui/core';
|
|
2
|
+
import { TuiBrightness, TuiCommonIcons, TuiSizeL, TuiSizeS, TuiSizeXS } from '@taiga-ui/core';
|
|
4
3
|
import { TuiStatus } from '@taiga-ui/kit/types';
|
|
5
4
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
6
5
|
import { Observable } from 'rxjs';
|
|
@@ -10,7 +9,7 @@ export declare class TuiTagComponent {
|
|
|
10
9
|
private readonly el;
|
|
11
10
|
readonly mode$: Observable<TuiBrightness | null>;
|
|
12
11
|
private readonly options;
|
|
13
|
-
readonly
|
|
12
|
+
readonly icons: TuiCommonIcons;
|
|
14
13
|
value: string;
|
|
15
14
|
editable: boolean;
|
|
16
15
|
separator: RegExp | string;
|
|
@@ -27,12 +26,11 @@ export declare class TuiTagComponent {
|
|
|
27
26
|
editing: boolean;
|
|
28
27
|
editedText: string | null;
|
|
29
28
|
set input(input: ElementRef<HTMLInputElement>);
|
|
30
|
-
constructor(el: ElementRef<HTMLElement>, mode$: Observable<TuiBrightness | null>, options: TuiTagOptions,
|
|
29
|
+
constructor(el: ElementRef<HTMLElement>, mode$: Observable<TuiBrightness | null>, options: TuiTagOptions, icons: TuiCommonIcons);
|
|
31
30
|
get backgroundColor(): string | null;
|
|
32
31
|
get canRemove(): boolean;
|
|
33
32
|
get displayText(): string;
|
|
34
33
|
get loaderSize(): TuiSizeXS;
|
|
35
|
-
get iconCleaner(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;
|
|
36
34
|
edit(event: Event): void;
|
|
37
35
|
remove(event: Event): void;
|
|
38
36
|
onInput(value: string): void;
|
|
@@ -2,11 +2,10 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./tag.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@taiga-ui/
|
|
6
|
-
import * as i5 from "@
|
|
7
|
-
import * as i6 from "@tinkoff/ng-polymorpheus";
|
|
5
|
+
import * as i4 from "@taiga-ui/core";
|
|
6
|
+
import * as i5 from "@tinkoff/ng-polymorpheus";
|
|
8
7
|
export declare class TuiTagModule {
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTagModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTagModule, [typeof i1.TuiTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTagModule, [typeof i1.TuiTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.TuiSvgModule, typeof i4.TuiLoaderModule, typeof i5.PolymorpheusModule], [typeof i1.TuiTagComponent]>;
|
|
11
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiTagModule>;
|
|
12
11
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { TuiTextareaComponent } from './textarea.component';
|
|
2
|
+
import { TuiTextareaDirective } from './textarea.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/forms";
|
|
6
|
+
import * as i3 from "@taiga-ui/cdk";
|
|
7
|
+
import * as i4 from "@taiga-ui/core";
|
|
8
|
+
import * as i5 from "@tinkoff/ng-polymorpheus";
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated use {@link TuiTextareaComponent}
|
|
11
|
+
*/
|
|
12
|
+
export declare class TuiTextAreaComponent extends TuiTextareaComponent {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextAreaComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextAreaComponent, "tui-text-area", never, {}, {}, never, ["*", "textarea"]>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated use {@link TuiTextareaDirective}
|
|
18
|
+
*/
|
|
19
|
+
export declare class TuiTextAreaDirective extends TuiTextareaDirective {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextAreaDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextAreaDirective, "tui-text-area", never, {}, {}, never>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated use {@link TuiTextareaModule}
|
|
25
|
+
*/
|
|
26
|
+
export declare class TuiTextAreaModule {
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextAreaModule, never>;
|
|
28
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTextAreaModule, [typeof TuiTextAreaComponent, typeof TuiTextAreaDirective], [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.TuiFocusableModule, typeof i4.TuiScrollbarModule, typeof i4.TuiTooltipModule, typeof i4.TuiWrapperModule, typeof i4.TuiSvgModule, typeof i4.TuiPrimitiveTextfieldModule, typeof i5.PolymorpheusModule], [typeof TuiTextAreaComponent, typeof TuiTextAreaDirective, typeof i4.TuiTextfieldComponent]>;
|
|
29
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiTextAreaModule>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../../bundles/taiga-ui-kit-components-textarea.umd.js",
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-kit-components-textarea.js",
|
|
4
|
+
"es2015": "../../fesm2015/taiga-ui-kit-components-textarea.js",
|
|
5
|
+
"esm2015": "../../esm2015/components/textarea/taiga-ui-kit-components-textarea.js",
|
|
6
|
+
"fesm2015": "../../fesm2015/taiga-ui-kit-components-textarea.js",
|
|
7
|
+
"typings": "taiga-ui-kit-components-textarea.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@taiga-ui/kit/components/textarea"
|
|
10
|
+
}
|
|
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare const DEFAULT_ROWS = 20;
|
|
9
9
|
export declare const LINE_HEIGHT_M = 20;
|
|
10
10
|
export declare const LINE_HEIGHT_L = 24;
|
|
11
|
-
export declare class
|
|
11
|
+
export declare class TuiTextareaComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
12
12
|
readonly isIOS: boolean;
|
|
13
13
|
readonly mode$: Observable<TuiBrightness | null>;
|
|
14
14
|
readonly controller: TuiTextfieldController;
|
|
@@ -46,6 +46,6 @@ export declare class TuiTextAreaComponent extends AbstractTuiControl<string> imp
|
|
|
46
46
|
protected getFallbackValue(): string;
|
|
47
47
|
private get lineHeight();
|
|
48
48
|
private get placeholderRaisable();
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaComponent, [{ optional: true; self: true; }, null, null, null, null, { optional: true; }]>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextareaComponent, "tui-textarea", never, { "rows": "rows"; "maxLength": "maxLength"; "expandable": "expandable"; }, {}, ["textfield"], ["*", "textarea"]>;
|
|
51
51
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/core';
|
|
2
|
+
import { TuiTextareaComponent } from './textarea.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TuiTextareaDirective extends AbstractTuiTextfieldHost<TuiTextareaComponent> {
|
|
5
|
+
onValueChange(value: string): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextareaDirective, "tui-textarea", never, {}, {}, never>;
|
|
8
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./
|
|
3
|
-
import * as i2 from "./
|
|
2
|
+
import * as i1 from "./textarea.component";
|
|
3
|
+
import * as i2 from "./textarea.directive";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "@angular/forms";
|
|
6
6
|
import * as i5 from "@taiga-ui/cdk";
|
|
7
7
|
import * as i6 from "@taiga-ui/core";
|
|
8
8
|
import * as i7 from "@tinkoff/ng-polymorpheus";
|
|
9
|
-
export declare class
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
9
|
+
export declare class TuiTextareaModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTextareaModule, [typeof i1.TuiTextareaComponent, typeof i2.TuiTextareaDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.TuiFocusableModule, typeof i6.TuiScrollbarModule, typeof i6.TuiTooltipModule, typeof i6.TuiWrapperModule, typeof i6.TuiSvgModule, typeof i6.TuiPrimitiveTextfieldModule, typeof i7.PolymorpheusModule], [typeof i1.TuiTextareaComponent, typeof i2.TuiTextareaDirective, typeof i6.TuiTextfieldComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiTextareaModule>;
|
|
13
13
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ElementRef, NgZone } from '@angular/core';
|
|
1
|
+
import { ElementRef, NgZone, OnDestroy } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { TuiTilesComponent } from './tiles.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TuiTileComponent {
|
|
5
|
+
export declare class TuiTileComponent implements OnDestroy {
|
|
6
6
|
private readonly ngZone;
|
|
7
7
|
private readonly el;
|
|
8
8
|
private readonly tiles;
|
|
@@ -25,6 +25,7 @@ export declare class TuiTileComponent {
|
|
|
25
25
|
onEnter(): void;
|
|
26
26
|
onDrag(dragged: boolean): void;
|
|
27
27
|
onTransitionEnd(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTileComponent, never>;
|
|
29
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTileComponent, "tui-tile", never, { "width": "width"; "height": "height"; }, {}, never, ["*"]>;
|
|
30
31
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { TuiCommonIcons } from '@taiga-ui/core';
|
|
1
2
|
import type { TuiTreeController, TuiTreeItemContext } from '../../misc/tree.interfaces';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TuiTreeItemContentComponent {
|
|
5
|
+
readonly icons: TuiCommonIcons;
|
|
4
6
|
readonly context: TuiTreeItemContext;
|
|
5
7
|
private readonly controller;
|
|
6
|
-
constructor(context: TuiTreeItemContext, controller: TuiTreeController);
|
|
8
|
+
constructor(icons: TuiCommonIcons, context: TuiTreeItemContext, controller: TuiTreeController);
|
|
7
9
|
get isExpanded(): boolean;
|
|
8
10
|
get isExpandable(): boolean;
|
|
9
11
|
onClick(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TuiTextMaskOptions } from '@taiga-ui/core';
|
|
2
2
|
/**
|
|
3
|
-
* @deprecated Use {@link https://github.com/
|
|
3
|
+
* @deprecated Use {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
4
4
|
* TODO: delete in v4.0
|
|
5
5
|
*/
|
|
6
6
|
export declare const EMPTY_MASK: TuiTextMaskOptions;
|
package/constants/masks.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TuiTextMaskList } from '@taiga-ui/core';
|
|
2
2
|
export declare const TUI_PHONE_MASK: TuiTextMaskList;
|
|
3
3
|
/**
|
|
4
|
-
* @deprecated Use {@link https://
|
|
4
|
+
* @deprecated Use {@link https://maskito.dev/kit/time Time} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
5
5
|
* TODO: delete in v4.0
|
|
6
6
|
*/
|
|
7
7
|
export declare const TUI_TIME_MASK: TuiTextMaskList;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ___
|
|
5
5
|
* "angular2-text-mask" is a legacy not-maintained library. It is published using legacy View Engine distribution.
|
|
6
6
|
* Stackblitz fails to run "View Engine"-libraries in Ivy application.
|
|
7
|
-
* See {@link https://github.com/
|
|
7
|
+
* See {@link https://github.com/taiga-family/taiga-ui/issues/2541#issuecomment-1235516443 this comment}.
|
|
8
8
|
*/
|
|
9
9
|
import { ElementRef, OnChanges, Renderer2 } from '@angular/core';
|
|
10
10
|
import { ControlValueAccessor } from '@angular/forms';
|
|
@@ -12,7 +12,7 @@ import { TuiTextMaskOptions } from '@taiga-ui/core';
|
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
14
|
* @internal
|
|
15
|
-
* @deprecated Use {@link https://github.com/
|
|
15
|
+
* @deprecated Use {@link https://github.com/taiga-family/maskito Maskito}
|
|
16
16
|
* Don't use it!
|
|
17
17
|
* TODO: delete in v4.0
|
|
18
18
|
*/
|
|
@@ -42,7 +42,7 @@ export declare class MaskedInputDirective implements ControlValueAccessor, OnCha
|
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* @internal
|
|
45
|
-
* @deprecated Use {@link https://github.com/
|
|
45
|
+
* @deprecated Use {@link https://github.com/taiga-family/maskito Maskito}
|
|
46
46
|
* Don't use it!
|
|
47
47
|
* TODO: delete in v4.0
|
|
48
48
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, EventEmitter, HostBinding, Inject, Input, Output, ViewChild, } from '@angular/core';
|
|
2
2
|
import { AbstractTuiInteractive, tuiAsFocusableItemAccessor, tuiIsNativeFocused, } from '@taiga-ui/cdk';
|
|
3
3
|
import { MODE_PROVIDER, TUI_MODE } from '@taiga-ui/core';
|
|
4
|
+
import { TUI_ARROW_OPTIONS } from '@taiga-ui/kit/components/arrow';
|
|
4
5
|
import { TuiAccordionItemContentDirective } from './accordion-item-content.directive';
|
|
5
6
|
import { TuiAccordionItemEagerContentDirective } from './accordion-item-eager-content.directive';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
@@ -10,10 +11,11 @@ import * as i3 from "@angular/common";
|
|
|
10
11
|
import * as i4 from "@tinkoff/ng-polymorpheus";
|
|
11
12
|
import * as i5 from "rxjs";
|
|
12
13
|
export class TuiAccordionItemComponent extends AbstractTuiInteractive {
|
|
13
|
-
constructor(cdr, mode
|
|
14
|
+
constructor(cdr, mode$, options) {
|
|
14
15
|
super();
|
|
15
16
|
this.cdr = cdr;
|
|
16
17
|
this.mode$ = mode$;
|
|
18
|
+
this.options = options;
|
|
17
19
|
this.noPadding = false;
|
|
18
20
|
this.showArrow = true;
|
|
19
21
|
this.borders = 'all';
|
|
@@ -62,8 +64,8 @@ export class TuiAccordionItemComponent extends AbstractTuiInteractive {
|
|
|
62
64
|
this.openChange.emit(open);
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
|
-
TuiAccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAccordionItemComponent, deps: [{ token: ChangeDetectorRef }, { token: TUI_MODE }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
-
TuiAccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAccordionItemComponent, selector: "tui-accordion-item", inputs: { noPadding: "noPadding", showArrow: "showArrow", borders: "borders", size: "size", disabled: "disabled", disableHover: "disableHover", open: "open", async: "async" }, outputs: { openChange: "openChange" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "class._no-padding": "this.noPadding", "class._has-arrow": "this.showArrow", "attr.data-borders": "this.borders", "attr.data-size": "this.size", "class._disabled": "this.disabled" } }, providers: [tuiAsFocusableItemAccessor(TuiAccordionItemComponent), MODE_PROVIDER], queries: [{ propertyName: "eagerContent", first: true, predicate: TuiAccordionItemEagerContentDirective, descendants: true }, { propertyName: "lazyContent", first: true, predicate: TuiAccordionItemContentDirective, descendants: true }], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n automation-id=\"tui-accordion__item-wrapper\"\n class=\"t-wrapper\"\n>\n <button\n #focusableElement\n automation-id=\"tui-accordion__item-header\"\n type=\"button\"\n class=\"t-header\"\n [disabled]=\"computedDisabled\"\n [class.t-header_open]=\"open\"\n [class.t-header_hoverable]=\"!disableHover\"\n [tuiFocusable]=\"computedFocusable\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (keydown.esc)=\"onItemKeyDownEsc($event)\"\n (click)=\"onRowToggle()\"\n >\n <span\n automation-id=\"tui-accordion__item-title\"\n class=\"t-title\"\n >\n <ng-content></ng-content>\n </span>\n <tui-svg\n
|
|
67
|
+
TuiAccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAccordionItemComponent, deps: [{ token: ChangeDetectorRef }, { token: TUI_MODE }, { token: TUI_ARROW_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
68
|
+
TuiAccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAccordionItemComponent, selector: "tui-accordion-item", inputs: { noPadding: "noPadding", showArrow: "showArrow", borders: "borders", size: "size", disabled: "disabled", disableHover: "disableHover", open: "open", async: "async" }, outputs: { openChange: "openChange" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "class._no-padding": "this.noPadding", "class._has-arrow": "this.showArrow", "attr.data-borders": "this.borders", "attr.data-size": "this.size", "class._disabled": "this.disabled" } }, providers: [tuiAsFocusableItemAccessor(TuiAccordionItemComponent), MODE_PROVIDER], queries: [{ propertyName: "eagerContent", first: true, predicate: TuiAccordionItemEagerContentDirective, descendants: true }, { propertyName: "lazyContent", first: true, predicate: TuiAccordionItemContentDirective, descendants: true }], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n automation-id=\"tui-accordion__item-wrapper\"\n class=\"t-wrapper\"\n>\n <button\n #focusableElement\n automation-id=\"tui-accordion__item-header\"\n type=\"button\"\n class=\"t-header\"\n [disabled]=\"computedDisabled\"\n [class.t-header_open]=\"open\"\n [class.t-header_hoverable]=\"!disableHover\"\n [tuiFocusable]=\"computedFocusable\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (keydown.esc)=\"onItemKeyDownEsc($event)\"\n (click)=\"onRowToggle()\"\n >\n <span\n automation-id=\"tui-accordion__item-title\"\n class=\"t-title\"\n >\n <ng-content></ng-content>\n </span>\n <ng-container *ngIf=\"showArrow\">\n <tui-svg\n *polymorpheusOutlet=\"options.iconLarge as src\"\n automation-id=\"tui-accordion__item-arrow\"\n class=\"t-icon\"\n [class.t-icon_open]=\"open\"\n [src]=\"src\"\n ></tui-svg>\n </ng-container>\n </button>\n <tui-expand\n [async]=\"async\"\n [expanded]=\"open\"\n >\n <ng-template tuiExpandContent>\n <div\n *ngIf=\"lazyContent\"\n automation-id=\"tui-accordion__item-content\"\n class=\"t-content\"\n >\n <ng-container *polymorpheusOutlet=\"lazyContent as text\">\n {{ text }}\n </ng-container>\n </div>\n </ng-template>\n <div\n *ngIf=\"eagerContent\"\n class=\"t-content\"\n >\n <ng-content select=\"[tuiAccordionItemContent]\"></ng-content>\n </div>\n </tui-expand>\n</div>\n", styles: [":host{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}:host[data-borders=top-bottom]{border-radius:0!important}.t-wrapper{position:relative;border-radius:inherit}.t-wrapper:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}:host:not([data-borders]) .t-wrapper:after{border-width:0}:host[data-borders=all] .t-wrapper:after{border-width:1px}:host[data-borders=top-bottom] .t-wrapper:after{border-left-width:0;border-right-width:0}:host[data-borders=top] .t-wrapper:after{border-left-width:0;border-right-width:0;border-bottom-width:0}:host[data-borders=bottom] .t-wrapper:after{border-left-width:0;border-right-width:0;border-top-width:0}:host[data-mode=onDark] .t-wrapper:after{border-color:var(--tui-base-03)}:host[data-mode=onLight] .t-wrapper:after{border-color:var(--tui-text-01)}:host._focus-visible .t-wrapper:after{border:2px solid var(--tui-focus)}:host:not([data-mode]) .t-wrapper{background:var(--tui-base-01)}.t-header{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:100%;font:var(--tui-font-text-l);align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer;text-align:left;outline:none}:host[data-mode=onDark] .t-header{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}:host[data-mode=onLight] .t-header{border-color:var(--tui-text-01)}:host:not([data-borders]) .t-header{border-bottom-width:0;box-shadow:none}:host._has-arrow .t-header{padding-right:.75rem}:host[data-mode=onDark] .t-header_open{background:var(--tui-clear-inverse)}:host[data-mode=onLight] .t-header_open{background:var(--tui-clear)}:host[data-size=s] .t-header{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}:host._no-padding .t-header{padding-left:0;padding-right:0}:host._disabled .t-header{cursor:default}:host:hover:not([data-mode]) .t-header_hoverable{background:var(--tui-base-02)}:host:hover[data-mode=onDark] .t-header_hoverable{background:var(--tui-clear-inverse)}:host:hover[data-mode=onLight] .t-header_hoverable{background:var(--tui-clear)}.t-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}:host._has-arrow .t-title{margin-right:.5rem}.t-icon{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open{transform:rotate(180deg)}:host[data-mode] .t-icon{opacity:var(--tui-disabled-opacity)}:host:hover[data-mode] .t-icon{opacity:.8}:host[data-mode=onDark] .t-icon{color:var(--tui-text-01-night)}:host[data-mode=onLight] .t-icon{color:var(--tui-text-01)}:host:hover:not([data-mode]) .t-icon{color:var(--tui-base-07)}.t-content{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}:host[data-size=s] .t-content{font:var(--tui-font-text-s);padding:1rem}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1.TuiExpandComponent, selector: "tui-expand", inputs: ["async", "expanded"] }], directives: [{ type: i2.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i2.TuiFocusVisibleDirective, selector: "[tuiFocusVisibleChange]", outputs: ["tuiFocusVisibleChange"] }, { type: i2.TuiFocusedDirective, selector: "[tuiFocusedChange]", outputs: ["tuiFocusedChange"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i1.TuiExpandContentDirective, selector: "[tuiExpandContent]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
67
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAccordionItemComponent, decorators: [{
|
|
68
70
|
type: Component,
|
|
69
71
|
args: [{
|
|
@@ -82,6 +84,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
82
84
|
}] }, { type: i5.Observable, decorators: [{
|
|
83
85
|
type: Inject,
|
|
84
86
|
args: [TUI_MODE]
|
|
87
|
+
}] }, { type: undefined, decorators: [{
|
|
88
|
+
type: Inject,
|
|
89
|
+
args: [TUI_ARROW_OPTIONS]
|
|
85
90
|
}] }]; }, propDecorators: { focusableElement: [{
|
|
86
91
|
type: ViewChild,
|
|
87
92
|
args: ['focusableElement']
|
|
@@ -125,4 +130,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
125
130
|
type: ContentChild,
|
|
126
131
|
args: [TuiAccordionItemContentDirective]
|
|
127
132
|
}] } });
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYWNjb3JkaW9uL2FjY29yZGlvbi1pdGVtL2FjY29yZGlvbi1pdGVtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2FjY29yZGlvbi9hY2NvcmRpb24taXRlbS9hY2NvcmRpb24taXRlbS50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBRVosWUFBWSxFQUNaLFdBQVcsRUFDWCxNQUFNLEVBQ04sS0FBSyxFQUNMLE1BQU0sRUFDTixTQUFTLEdBQ1osTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNILHNCQUFzQixFQUN0QiwwQkFBMEIsRUFFMUIsa0JBQWt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JvblJvd1RvZ2dsZSgpXCJcbiAgICA+XG4gICAgICAgIDxzcGFuXG4gICAgICAgICAgICBhdXRvbWF0aW9uLWlkPVwidHVpLWFjY29yZGlvbl9faXRlbS10aXRsZVwiXG4gICAgICAgICAgICBjbGFzcz1cInQtdGl0bGVcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgICAgIDwvc3Bhbj5cbiAgICAgICAgPHR1aS1zdmdcbiAgICAgICAgICAgICpuZ0lmPVwic2hvd0Fycm93XCJcbiAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktYWNjb3JkaW9uX19pdGVtLWFycm93XCJcbiAgICAgICAgICAgIHNyYz1cInR1aUljb25DaGV2cm9uRG93bkxhcmdlXCJcbiAgICAgICAgICAgIGNsYXNzPVwidC1pY29uXCJcbiAgICAgICAgICAgIFtjbGFzcy50LWljb25fb3Blbl09XCJvcGVuXCJcbiAgICAgICAgPjwvdHVpLXN2Zz5cbiAgICA8L2J1dHRvbj5cbiAgICA8dHVpLWV4cGFuZFxuICAgICAgICBbYXN5bmNdPVwiYXN5bmNcIlxuICAgICAgICBbZXhwYW5kZWRdPVwib3BlblwiXG4gICAgPlxuICAgICAgICA8bmctdGVtcGxhdGUgdHVpRXhwYW5kQ29udGVudD5cbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAqbmdJZj1cImxhenlDb250ZW50XCJcbiAgICAgICAgICAgICAgICBhdXRvbWF0aW9uLWlkPVwidHVpLWFjY29yZGlvbl9faXRlbS1jb250ZW50XCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cInQtY29udGVudFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqcG9seW1vcnBoZXVzT3V0bGV0PVwibGF6eUNvbnRlbnQgYXMgdGV4dFwiPlxuICAgICAgICAgICAgICAgICAgICB7eyB0ZXh0IH19XG4gICAgICAgICAgICAg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T1cIiFkaXNhYmxlSG92ZXJcIlxuICAgICAgICBbdHVpRm9jdXNhYmxlXT1cImNvbXB1dGVkRm9jdXNhYmxlXCJcbiAgICAgICAgKHR1aUZvY3VzVmlzaWJsZUNoYW5nZSk9XCJvbkZvY3VzVmlzaWJsZSgkZXZlbnQpXCJcbiAgICAgICAgKHR1aUZvY3VzZWRDaGFuZ2UpPVwib25Gb2N1c2VkKCRldmVudClcIlxuICAgICAgICAoa2V5ZG93bi5lc2MpPVwib25JdGVtS2V5RG93bkVzYygkZXZlbnQpXCJcbiAgICAgICAgKGNsaWNrKT1cIm9uUm93VG9nZ2xlKClcIlxuICAgID5cbiAgICAgICAgPHNwYW5cbiAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktYWNjb3JkaW9uX19pdGVtLXRpdGxlXCJcbiAgICAgICAgICAgIGNsYXNzPVwidC10aXRsZVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICAgICAgPC9zcGFuPlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwic2hvd0Fycm93XCI+XG4gICAgICAgICAgICA8dHVpLXN2Z1xuICAgICAgICAgICAgICAgICpwb2x5bW9ycGhldXNPdXRsZXQ9XCJvcHRpb25zLmljb25MYXJnZSBhcyBzcmNcIlxuICAgICAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktYWNjb3JkaW9uX19pdGVtLWFycm93XCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cInQtaWNvblwiXG4gICAgICAgICAgICAgICAgW2NsYXNzLnQtaWNvbl9vcGVuXT1cIm9wZW5cIlxuICAgICAgICAgICAgICAgIFtzcmNdPVwic3JjXCJcbiAgICAgICAgICAgID48L3R1aS1zdmc+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgIDwvYnV0dG9uPlxuICAgIDx0dWktZXhwYW5kXG4gICAgICAgIFthc3luY109XCJhc3luY1wiXG4gICAgICAgIFtleHBhbmRlZF09XCJvcGVuXCJcbiAgICA+XG4gICAgICAgIDxuZy10ZW1wbGF0ZSB0dWlFeHBhbmRDb250ZW50PlxuICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICpuZ0lmPVwibGF6eUNvbnRlbnRcIlxuICAgICAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktYWNjb3JkaW9uX19pdGVtLWNvbnRlbnRcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwidC1jb250ZW50XCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpwb2x5bW9ycGhldXNPdXRsZXQ9XCJsYXp5Q29udGVudCBhcyB0ZXh0XCI+XG4gICAgICAgICAgICAgICAgICAgIHt7IHRleHQgfX1cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICA8ZGl2XG4gICAgICAgICAgICAqbmdJZj1cImVhZ2VyQ29udGVudFwiXG4gICAgICAgICAgICBjbGFzcz1cInQtY29udGVudFwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIlt0dWlBY2NvcmRpb25JdGVtQ29udGVudF1cIj48L25nLWNvbnRlbnQ+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvdHVpLWV4cGFuZD5cbjwvZGl2PlxuIl19
|
|
@@ -159,7 +159,7 @@ export class TuiCalendarMonthComponent {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
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 });
|
|
162
|
-
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]=\"computedMin\"\n [max]=\"computedMax\"\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", "
|
|
162
|
+
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]=\"computedMin\"\n [max]=\"computedMax\"\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", "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 });
|
|
163
163
|
__decorate([
|
|
164
164
|
tuiPure
|
|
165
165
|
], TuiCalendarMonthComponent.prototype, "calculateDisabledItemHandlerWithMinMax", null);
|