@taiga-ui/kit 4.52.0-canary.05c3268 → 4.52.0-canary.1acd1eb
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/components/calendar-month/calendar-month.component.d.ts +1 -1
- package/components/calendar-range/calendar-range.component.d.ts +1 -2
- package/components/confirm/confirm.component.d.ts +1 -1
- package/components/copy/copy.component.d.ts +1 -1
- package/components/copy/copy.directive.d.ts +1 -0
- package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -0
- package/components/files/files/files.component.d.ts +2 -2
- package/components/input-number/step/input-number-step.component.d.ts +1 -1
- package/components/input-phone-international/input-phone-international.component.d.ts +3 -3
- package/components/input-pin/input-pin.component.d.ts +1 -1
- package/components/input-range/input-range.component.d.ts +3 -3
- package/components/input-time/input-time.directive.d.ts +1 -0
- package/components/line-clamp/line-clamp.component.d.ts +8 -10
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
- package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
- package/components/pagination/pagination.component.d.ts +1 -1
- package/components/preview/pagination/preview-pagination.component.d.ts +1 -1
- package/components/preview/preview.component.d.ts +1 -1
- package/components/preview/zoom/preview-zoom.component.d.ts +1 -1
- package/components/push/push-alert.component.d.ts +4 -3
- package/components/push/push.component.d.ts +1 -1
- package/components/push/push.directive.d.ts +4 -6
- package/components/push/push.options.d.ts +4 -8
- package/components/push/push.service.d.ts +6 -2
- package/components/tabs/tabs-with-more.component.d.ts +1 -1
- package/components/textarea/textarea-limit.directive.d.ts +4 -5
- package/components/toast/toast.component.d.ts +2 -1
- package/components/toast/toast.options.d.ts +8 -7
- package/components/toast/toast.service.d.ts +10 -9
- package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -1
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +3 -4
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +3 -4
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +4 -5
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +3 -4
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-copy.mjs +6 -5
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +10 -2
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +10 -9
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +1 -2
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +1 -2
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +3 -4
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +3 -4
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +3 -4
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +2 -3
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs +7 -5
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +1 -2
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +19 -3
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +2 -3
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +22 -59
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +8 -11
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +3 -4
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +11 -11
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +40 -47
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +29 -22
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +4 -11
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-toast.mjs +37 -38
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tree.mjs +1 -1
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +2 -5
- package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +1 -1
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +2 -1
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-tokens.mjs +3 -1
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
- package/package.json +18 -18
- package/styles/components/badge.less +1 -0
- package/styles/components/chip.less +11 -1
- package/tokens/i18n.d.ts +25 -26
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
import * as i1 from "@taiga-ui/cdk/date-time";
|
|
6
6
|
export declare class TuiCalendarMonth {
|
|
7
7
|
protected isYearPickerShown: boolean;
|
|
8
|
-
protected readonly months: import("@angular/core").Signal<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]
|
|
8
|
+
protected readonly months: import("@angular/core").Signal<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>;
|
|
9
9
|
protected readonly isRangePicking: import("@angular/core").Signal<boolean>;
|
|
10
10
|
year: TuiYear;
|
|
11
11
|
disabledItemHandler: TuiBooleanHandler<TuiMonth>;
|
|
@@ -2,7 +2,6 @@ import { EventEmitter, type OnChanges, type OnInit } from '@angular/core';
|
|
|
2
2
|
import { TuiDay, type TuiDayLike, TuiDayRange, TuiMonth } from '@taiga-ui/cdk/date-time';
|
|
3
3
|
import { type TuiBooleanHandler, type TuiMapper } from '@taiga-ui/cdk/types';
|
|
4
4
|
import { type TuiMarkerHandler } from '@taiga-ui/core/components/calendar';
|
|
5
|
-
import { type Observable } from 'rxjs';
|
|
6
5
|
import { type TuiDayRangePeriod } from './day-range-period';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class TuiCalendarRange implements OnInit, OnChanges {
|
|
@@ -15,7 +14,7 @@ export declare class TuiCalendarRange implements OnInit, OnChanges {
|
|
|
15
14
|
protected previousValue: TuiDay | TuiDayRange | null;
|
|
16
15
|
protected hoveredItem: TuiDay | null;
|
|
17
16
|
protected month: TuiMonth;
|
|
18
|
-
protected readonly otherDateText
|
|
17
|
+
protected readonly otherDateText: import("@angular/core").Signal<string>;
|
|
19
18
|
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
20
19
|
protected readonly capsMapper: TuiMapper<[TuiDay | null, TuiDay | TuiDayRange | null, TuiDayLike | null, boolean], TuiDay>;
|
|
21
20
|
protected readonly mobile: boolean;
|
|
@@ -5,7 +5,7 @@ export declare class TuiCopyComponent {
|
|
|
5
5
|
protected readonly notification: import("@taiga-ui/core/components/notification").TuiNotificationOptions;
|
|
6
6
|
protected readonly options: import("./copy.options").TuiCopyOptions;
|
|
7
7
|
protected readonly copied$: BehaviorSubject<boolean>;
|
|
8
|
-
protected readonly texts: import("@angular/core").Signal<readonly [copy: string, copied: string]
|
|
8
|
+
protected readonly texts: import("@angular/core").Signal<readonly [copy: string, copied: string]>;
|
|
9
9
|
protected readonly hint: import("@angular/core").Signal<boolean | undefined>;
|
|
10
10
|
size: TuiSizeL;
|
|
11
11
|
protected get icon(): string;
|
|
@@ -7,6 +7,7 @@ export declare class TuiCopyDirective {
|
|
|
7
7
|
private readonly doc;
|
|
8
8
|
protected readonly textfield: TuiTextfieldComponent<any>;
|
|
9
9
|
protected readonly icons: import("@angular/core").Signal<string>;
|
|
10
|
+
protected readonly copyTexts: import("@angular/core").Signal<readonly [copy: string, copied: string]>;
|
|
10
11
|
protected readonly hint: import("@angular/core").Signal<string>;
|
|
11
12
|
tuiCopy: string;
|
|
12
13
|
protected get disabled(): boolean;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { TuiMultiSelectGroupDirective } from '@taiga-ui/kit/components/multi-select';
|
|
1
2
|
import { TuiDataListWrapperComponent } from './data-list-wrapper.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TuiDataListGroupWrapperComponent<T> extends TuiDataListWrapperComponent<T, readonly T[]> {
|
|
5
|
+
protected readonly multi: TuiMultiSelectGroupDirective | null;
|
|
4
6
|
labels: readonly string[];
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDataListGroupWrapperComponent<any>, never>;
|
|
6
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDataListGroupWrapperComponent<any>, "tui-data-list-wrapper[labels]", never, { "labels": { "alias": "labels"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -3,8 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import * as i1 from "@taiga-ui/core/directives/group";
|
|
4
4
|
export declare class TuiFilesComponent {
|
|
5
5
|
protected readonly items: QueryList<TemplateRef<Record<string, unknown>>>;
|
|
6
|
-
protected readonly hideText
|
|
7
|
-
protected readonly showAllText
|
|
6
|
+
protected readonly hideText: import("@angular/core").Signal<string>;
|
|
7
|
+
protected readonly showAllText: import("@angular/core").Signal<string>;
|
|
8
8
|
max: number;
|
|
9
9
|
expanded: boolean;
|
|
10
10
|
readonly expandedChange: EventEmitter<boolean>;
|
|
@@ -4,7 +4,7 @@ import { type TuiInputNumberOptions } from '../input-number.options';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TuiInputNumberStep {
|
|
6
6
|
protected readonly el: HTMLInputElement;
|
|
7
|
-
protected readonly appearance: import("@angular/core").
|
|
7
|
+
protected readonly appearance: import("@angular/core").Signal<string>;
|
|
8
8
|
protected readonly options: TuiInputNumberOptions;
|
|
9
9
|
protected readonly input: TuiInputNumberDirective;
|
|
10
10
|
protected readonly step: import("@angular/core").WritableSignal<number>;
|
|
@@ -14,12 +14,12 @@ export declare class TuiInputPhoneInternational extends TuiControl<string> {
|
|
|
14
14
|
protected readonly options: import("./input-phone-international.options").TuiInputPhoneInternationalOptions;
|
|
15
15
|
protected readonly countries: import("@angular/core").WritableSignal<readonly TuiCountryIsoCode[]>;
|
|
16
16
|
protected readonly code: import("@angular/core").WritableSignal<TuiCountryIsoCode>;
|
|
17
|
-
protected readonly label: import("@angular/core").Signal<string
|
|
17
|
+
protected readonly label: import("@angular/core").Signal<string>;
|
|
18
18
|
protected readonly metadata: import("@angular/core").Signal<MetadataJson | undefined>;
|
|
19
|
-
protected readonly names: import("@angular/core").Signal<Record<TuiCountryIsoCode, string
|
|
19
|
+
protected readonly names: import("@angular/core").Signal<Record<TuiCountryIsoCode, string>>;
|
|
20
20
|
protected readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
21
21
|
protected readonly search: import("@angular/core").WritableSignal<string>;
|
|
22
|
-
protected readonly size: import("@angular/core").
|
|
22
|
+
protected readonly size: import("@angular/core").Signal<"m" | "l" | "s">;
|
|
23
23
|
protected readonly mask: import("@angular/core").Signal<MaskitoOptions | null>;
|
|
24
24
|
protected readonly masked: import("@angular/core").WritableSignal<string>;
|
|
25
25
|
protected valueChangeEffect: import("@angular/core").EffectRef;
|
|
@@ -5,7 +5,7 @@ import * as i1 from "@maskito/angular";
|
|
|
5
5
|
export declare class TuiInputPin {
|
|
6
6
|
protected readonly el: HTMLInputElement;
|
|
7
7
|
protected readonly mask: import("@angular/core").WritableSignal<MaskitoMask>;
|
|
8
|
-
protected readonly appearance: import("@angular/core").
|
|
8
|
+
protected readonly appearance: import("@angular/core").Signal<string>;
|
|
9
9
|
protected readonly control: NgControl;
|
|
10
10
|
protected readonly maskito: import("@angular/core").Signal<import("@maskito/core").MaskitoOptions | null>;
|
|
11
11
|
set maskSetter(mask: MaskitoMask | string);
|
|
@@ -12,7 +12,7 @@ export declare class TuiInputRangeComponent extends TuiControl<readonly [
|
|
|
12
12
|
private readonly isMobile;
|
|
13
13
|
private readonly quantum;
|
|
14
14
|
private readonly quantumTransformer;
|
|
15
|
-
protected readonly size: import("@angular/core").
|
|
15
|
+
protected readonly size: import("@angular/core").Signal<"m" | "l" | "s">;
|
|
16
16
|
protected textfieldValueStart: number;
|
|
17
17
|
protected textfieldValueEnd: number;
|
|
18
18
|
protected lastActiveSide: 'end' | 'start';
|
|
@@ -37,8 +37,8 @@ export declare class TuiInputRangeComponent extends TuiControl<readonly [
|
|
|
37
37
|
number,
|
|
38
38
|
number
|
|
39
39
|
]): void;
|
|
40
|
-
protected get
|
|
41
|
-
protected get
|
|
40
|
+
protected get contentStartHidden(): boolean;
|
|
41
|
+
protected get contentEndHidden(): boolean;
|
|
42
42
|
protected takeStep(event: Event | KeyboardEvent, coefficients: readonly [
|
|
43
43
|
number,
|
|
44
44
|
number
|
|
@@ -28,6 +28,7 @@ export declare class TuiInputTimeDirective extends TuiControl<TuiTime | null> im
|
|
|
28
28
|
writeValue(value: TuiTime | null): void;
|
|
29
29
|
protected onInput(valueWithAffixes: string): void;
|
|
30
30
|
protected toggle(): void;
|
|
31
|
+
protected onBlur(valueWithAffixes: string): void;
|
|
31
32
|
private computeMask;
|
|
32
33
|
private findNearestTime;
|
|
33
34
|
private stringify;
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import { type DoCheck } from '@angular/core';
|
|
2
2
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
-
import { type Observable } from 'rxjs';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
import * as i1 from "@taiga-ui/cdk/directives/transitioned";
|
|
6
5
|
export declare class TuiLineClamp implements DoCheck {
|
|
7
|
-
private readonly outlet
|
|
6
|
+
private readonly outlet;
|
|
8
7
|
private readonly options;
|
|
9
8
|
private readonly el;
|
|
10
|
-
private readonly linesLimit$;
|
|
11
9
|
private readonly isOverflown$;
|
|
12
|
-
|
|
13
|
-
lineHeight: number
|
|
14
|
-
|
|
15
|
-
readonly
|
|
16
|
-
|
|
10
|
+
private readonly maxHeight;
|
|
11
|
+
readonly lineHeight: import("@angular/core").InputSignal<number>;
|
|
12
|
+
readonly linesLimit: import("@angular/core").InputSignal<number>;
|
|
13
|
+
readonly content: import("@angular/core").InputSignal<PolymorpheusContent>;
|
|
14
|
+
readonly overflownChange: import("@angular/core").OutputRef<boolean>;
|
|
15
|
+
protected readonly lineClamp: import("@angular/core").Signal<number>;
|
|
17
16
|
ngDoCheck(): void;
|
|
18
17
|
protected get overflown(): boolean;
|
|
19
18
|
protected get computedContent(): PolymorpheusContent;
|
|
20
19
|
protected update(): void;
|
|
21
|
-
private get maxHeight();
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLineClamp, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLineClamp, "tui-line-clamp", never, { "lineHeight": { "alias": "lineHeight"; "required": false; }; "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLineClamp, "tui-line-clamp", never, { "lineHeight": { "alias": "lineHeight"; "required": false; "isSignal": true; }; "linesLimit": { "alias": "linesLimit"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; }, { "overflownChange": "overflownChange"; }, never, never, true, [{ directive: typeof i1.TuiTransitioned; inputs: {}; outputs: {}; }]>;
|
|
24
22
|
}
|
|
@@ -8,7 +8,7 @@ export declare class TuiMultiSelectGroupComponent<T> {
|
|
|
8
8
|
protected readonly texts: import("@angular/core").Signal<{
|
|
9
9
|
all: string;
|
|
10
10
|
none: string;
|
|
11
|
-
}
|
|
11
|
+
}>;
|
|
12
12
|
protected readonly value: import("@angular/core").Signal<readonly T[] | null>;
|
|
13
13
|
protected readonly checked: import("@angular/core").Signal<boolean>;
|
|
14
14
|
label: string;
|
|
@@ -5,7 +5,7 @@ export declare class TuiMultiSelectOption<T> {
|
|
|
5
5
|
protected readonly option: TuiOptionWithValue<T> | null;
|
|
6
6
|
protected readonly handlers: TuiItemsHandlers<T>;
|
|
7
7
|
protected readonly value: import("@angular/core").Signal<readonly T[]>;
|
|
8
|
-
protected readonly size: import("@angular/core").
|
|
8
|
+
protected readonly size: import("@angular/core").Signal<"m" | "l" | "s">;
|
|
9
9
|
protected readonly selected: import("@angular/core").Signal<boolean>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectOption<any>, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectOption<any>, "ng-component", never, {}, {}, never, never, true, never>;
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class TuiPagination {
|
|
7
7
|
private readonly els;
|
|
8
8
|
private readonly el;
|
|
9
|
-
protected readonly texts
|
|
9
|
+
protected readonly texts: import("@angular/core").Signal<readonly [previous_page: string, next_page: string]>;
|
|
10
10
|
protected readonly icons: import("@taiga-ui/core/tokens").TuiSpinIcons;
|
|
11
11
|
length: number;
|
|
12
12
|
focusable: boolean;
|
|
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiPreviewPagination {
|
|
4
4
|
protected readonly icons: import("@taiga-ui/kit/tokens").TuiPreviewIcons;
|
|
5
|
-
protected readonly
|
|
5
|
+
protected readonly paginationTexts: import("@angular/core").Signal<readonly [previous_page: string, next_page: string]>;
|
|
6
6
|
length: number;
|
|
7
7
|
index: number;
|
|
8
8
|
readonly indexChange: EventEmitter<number>;
|
|
@@ -7,7 +7,7 @@ export declare class TuiPreviewComponent {
|
|
|
7
7
|
protected minZoom: number;
|
|
8
8
|
protected width: number;
|
|
9
9
|
protected height: number;
|
|
10
|
-
protected readonly
|
|
10
|
+
protected readonly previewTexts: import("@angular/core").Signal<{
|
|
11
11
|
rotate: string;
|
|
12
12
|
}>;
|
|
13
13
|
protected readonly icons: import("@taiga-ui/kit/tokens").TuiPreviewIcons;
|
|
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiPreviewZoom {
|
|
4
4
|
protected readonly icons: import("@taiga-ui/kit/tokens").TuiPreviewIcons;
|
|
5
|
-
protected readonly zoomTexts
|
|
5
|
+
protected readonly zoomTexts: import("@angular/core").Signal<{
|
|
6
6
|
zoomIn: string;
|
|
7
7
|
zoomOut: string;
|
|
8
8
|
reset: string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
|
|
2
2
|
import { type TuiPushOptions } from './push.options';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
5
|
+
import * as i2 from "@taiga-ui/core/directives/notification";
|
|
5
6
|
export declare class TuiPushAlert {
|
|
6
|
-
protected readonly context:
|
|
7
|
+
protected readonly context: TuiPortalContext<TuiPushOptions, string>;
|
|
7
8
|
protected get isDirective(): boolean;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushAlert, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPushAlert, "
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPushAlert, "tui-push-alert", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiNotificationDirective; inputs: {}; outputs: {}; }]>;
|
|
10
11
|
}
|
|
@@ -3,7 +3,7 @@ import { tuiIsString } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiPushComponent {
|
|
5
5
|
protected readonly isString: typeof tuiIsString;
|
|
6
|
-
protected readonly closeWord
|
|
6
|
+
protected readonly closeWord: import("@angular/core").Signal<string>;
|
|
7
7
|
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
8
8
|
heading: string;
|
|
9
9
|
type: string;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
private readonly
|
|
2
|
+
import * as i1 from "@taiga-ui/cdk/portals";
|
|
3
|
+
export declare class TuiPushDirective {
|
|
4
|
+
private readonly sub;
|
|
6
5
|
constructor();
|
|
7
|
-
set tuiPush(show: boolean);
|
|
8
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPushDirective, "ng-template[tuiPush]", never, {
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPushDirective, "ng-template[tuiPush]", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "open": "tuiPush"; }; outputs: {}; }]>;
|
|
10
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface TuiPushOptions {
|
|
1
|
+
import { type TuiPositionOptions } from '@taiga-ui/core/directives/notification';
|
|
2
|
+
export interface TuiPushOptions extends TuiPositionOptions {
|
|
3
3
|
readonly buttons: readonly string[];
|
|
4
4
|
readonly heading: string;
|
|
5
5
|
readonly icon: string;
|
|
@@ -8,9 +8,5 @@ export interface TuiPushOptions {
|
|
|
8
8
|
readonly timestamp: number | string;
|
|
9
9
|
readonly type: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const
|
|
12
|
-
|
|
13
|
-
* Default parameters for Push component
|
|
14
|
-
*/
|
|
15
|
-
export declare const TUI_PUSH_OPTIONS: InjectionToken<TuiPushOptions>;
|
|
16
|
-
export declare function tuiPushOptionsProvider(options: Partial<TuiPushOptions>): Provider;
|
|
11
|
+
export declare const TUI_PUSH_CONCURRENCY: import("@angular/core").InjectionToken<number>;
|
|
12
|
+
export declare const TUI_PUSH_OPTIONS: import("@angular/core").InjectionToken<TuiPushOptions>, tuiPushOptionsProvider: (item: Partial<TuiPushOptions> | (() => Partial<TuiPushOptions>)) => import("@angular/core").FactoryProvider;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TuiNotificationService } from '@taiga-ui/core/directives/notification';
|
|
2
2
|
import { type TuiPushOptions } from './push.options';
|
|
3
|
+
import { TuiPushAlert } from './push-alert.component';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiPushService extends
|
|
5
|
+
export declare class TuiPushService extends TuiNotificationService<TuiPushOptions, string> {
|
|
6
|
+
protected readonly options: TuiPushOptions;
|
|
7
|
+
protected readonly component: typeof TuiPushAlert;
|
|
8
|
+
constructor();
|
|
5
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushService, never>;
|
|
6
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<TuiPushService>;
|
|
7
11
|
}
|
|
@@ -13,7 +13,7 @@ export declare class TuiTabsWithMore implements AfterViewChecked, AfterViewInit
|
|
|
13
13
|
private readonly cdr;
|
|
14
14
|
private maxIndex;
|
|
15
15
|
protected readonly items: QueryList<TemplateRef<Record<string, unknown>>>;
|
|
16
|
-
protected readonly moreWord
|
|
16
|
+
protected readonly moreWord: import("@angular/core").Signal<string>;
|
|
17
17
|
protected open: boolean;
|
|
18
18
|
size: TuiSizeL;
|
|
19
19
|
moreContent: PolymorpheusContent;
|
|
@@ -3,7 +3,7 @@ import { type AbstractControl, type ValidationErrors, type Validator } from '@an
|
|
|
3
3
|
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TuiTextareaLimitComponent {
|
|
6
|
-
protected readonly limit: import("@angular/core").
|
|
6
|
+
protected readonly limit: import("@angular/core").InputSignal<number>;
|
|
7
7
|
protected readonly context: TuiContext<string>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaLimitComponent, never>;
|
|
9
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextareaLimitComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
@@ -17,11 +17,10 @@ export declare class TuiTextareaCounterComponent {
|
|
|
17
17
|
export declare class TuiTextareaLimit implements Validator, DoCheck {
|
|
18
18
|
private readonly textfield;
|
|
19
19
|
private readonly ref;
|
|
20
|
-
readonly size: import("@angular/core").
|
|
21
|
-
readonly limit: import("@angular/core").
|
|
22
|
-
set limitSetter(limit: number);
|
|
20
|
+
readonly size: import("@angular/core").Signal<"m" | "l" | "s">;
|
|
21
|
+
readonly limit: import("@angular/core").InputSignal<number>;
|
|
23
22
|
ngDoCheck(): void;
|
|
24
23
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaLimit, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextareaLimit, "[tuiTextarea][limit]", never, { "
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextareaLimit, "[tuiTextarea][limit]", never, { "limit": { "alias": "limit"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
27
26
|
}
|
|
@@ -3,6 +3,7 @@ import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
|
3
3
|
import { type TuiToastOptions } from './toast.options';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
6
|
+
import * as i2 from "@taiga-ui/core/directives/notification";
|
|
6
7
|
export declare class TuiToastComponent<O, I> implements AfterViewInit {
|
|
7
8
|
private readonly close;
|
|
8
9
|
private readonly el;
|
|
@@ -13,5 +14,5 @@ export declare class TuiToastComponent<O, I> implements AfterViewInit {
|
|
|
13
14
|
ngAfterViewInit(): void;
|
|
14
15
|
protected onSwipe(): void;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiToastComponent<any, any>, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiToastComponent<any, any>, "tui-toast", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiToastComponent<any, any>, "tui-toast", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiNotificationDirective; inputs: {}; outputs: {}; }]>;
|
|
17
18
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { type TuiPositionOptions } from '@taiga-ui/core/directives/notification';
|
|
2
|
+
export interface TuiToastOptions<I> extends TuiPositionOptions {
|
|
3
|
+
readonly autoClose: number;
|
|
4
|
+
readonly closable: boolean;
|
|
5
|
+
readonly appearance: string;
|
|
6
|
+
readonly data?: I;
|
|
6
7
|
}
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const TUI_TOAST_OPTIONS: import("@angular/core").InjectionToken<TuiToastOptions<
|
|
8
|
+
export declare const TUI_TOAST_CONCURRENCY: import("@angular/core").InjectionToken<number>;
|
|
9
|
+
export declare const TUI_TOAST_OPTIONS: import("@angular/core").InjectionToken<TuiToastOptions<any>>, tuiToastOptionsProvider: (item: Partial<TuiToastOptions<any>> | (() => Partial<TuiToastOptions<any>>)) => import("@angular/core").FactoryProvider;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { TuiNotificationService } from '@taiga-ui/core/directives/notification';
|
|
2
|
+
import { TuiToastComponent } from './toast.component';
|
|
3
3
|
import { type TuiToastOptions } from './toast.options';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
6
|
-
export declare class TuiToastService extends
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import * as i1 from "@taiga-ui/cdk/portals";
|
|
6
|
+
export declare class TuiToastService extends TuiNotificationService<TuiToastOptions<any>> {
|
|
7
|
+
protected readonly options: TuiToastOptions<any>;
|
|
8
|
+
protected readonly component: typeof TuiToastComponent;
|
|
9
|
+
constructor();
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiToastService, never>;
|
|
11
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<TuiToastService>;
|
|
12
12
|
}
|
|
13
|
-
export declare class TuiToastTemplate<T>
|
|
13
|
+
export declare class TuiToastTemplate<T> {
|
|
14
|
+
readonly tuiToastOptions: import("@angular/core").InputSignal<Partial<TuiToastOptions<T>>>;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiToastTemplate<any>, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiToastTemplate<any>, "ng-template[tuiToast]", never, { "
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiToastTemplate<any>, "ng-template[tuiToast]", never, { "tuiToastOptions": { "alias": "tuiToastOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "options": "tuiToastOptions"; "open": "tuiToast"; }; outputs: { "openChange": "tuiToastChange"; }; }]>;
|
|
16
17
|
}
|
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class TuiTreeItemContent {
|
|
4
4
|
private readonly controller;
|
|
5
5
|
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
6
|
-
protected readonly more: import("@angular/core").Signal<string
|
|
6
|
+
protected readonly more: import("@angular/core").Signal<string>;
|
|
7
7
|
protected readonly context: TuiTreeItemContext;
|
|
8
8
|
protected get isExpandable(): boolean;
|
|
9
9
|
protected onClick(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-accordion.mjs","sources":["../../../projects/kit/components/accordion/accordion.directive.ts","../../../projects/kit/components/accordion/accordion.component.ts","../../../projects/kit/components/accordion/accordion.ts","../../../projects/kit/components/accordion/taiga-ui-kit-components-accordion.ts"],"sourcesContent":["import {Directive, inject, model, type OnChanges} from '@angular/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\nimport {TuiButton, tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {tuiAvatarOptionsProvider} from '@taiga-ui/kit/components/avatar';\nimport {TuiChevron} from '@taiga-ui/kit/directives/chevron';\n\nimport {TuiAccordionComponent} from './accordion.component';\n\n@Directive({\n standalone: true,\n selector: 'button[tuiAccordion]',\n providers: [\n tuiAvatarOptionsProvider({size: 's'}),\n tuiButtonOptionsProvider({appearance: 'outline-grayscale'}),\n ],\n hostDirectives: [TuiButton, TuiChevron],\n host: {\n tuiButton: '',\n tuiAccordion: '',\n type: 'button',\n '[class._open]': 'open()',\n '(click)': 'toggle()',\n },\n})\nexport class TuiAccordionDirective implements OnChanges {\n private readonly accordion = inject(TuiAccordionComponent);\n\n public readonly open = model<boolean | ''>(false, {alias: 'tuiAccordion'});\n\n public readonly size = tuiDirectiveBinding(TuiButton, 'size', this.accordion.size);\n public readonly chevron = tuiDirectiveBinding(TuiChevron, 'rotated', this.open);\n\n public ngOnChanges(): void {\n this.accordion.toggle(this);\n }\n\n public toggle(): void {\n this.open.set(!this.open());\n this.accordion.toggle(this);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n contentChildren,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiSetSignal} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiExpand} from '@taiga-ui/core/components/expand';\nimport {TuiGroup, tuiGroupOptionsProvider} from '@taiga-ui/core/directives/group';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\nimport {TuiAccordionDirective} from './accordion.directive';\n\n@Component({\n standalone: true,\n selector: 'tui-accordion',\n template: '<ng-content />',\n
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-accordion.mjs","sources":["../../../projects/kit/components/accordion/accordion.directive.ts","../../../projects/kit/components/accordion/accordion.component.ts","../../../projects/kit/components/accordion/accordion.ts","../../../projects/kit/components/accordion/taiga-ui-kit-components-accordion.ts"],"sourcesContent":["import {Directive, inject, model, type OnChanges} from '@angular/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\nimport {TuiButton, tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {tuiAvatarOptionsProvider} from '@taiga-ui/kit/components/avatar';\nimport {TuiChevron} from '@taiga-ui/kit/directives/chevron';\n\nimport {TuiAccordionComponent} from './accordion.component';\n\n@Directive({\n standalone: true,\n selector: 'button[tuiAccordion]',\n providers: [\n tuiAvatarOptionsProvider({size: 's'}),\n tuiButtonOptionsProvider({appearance: 'outline-grayscale'}),\n ],\n hostDirectives: [TuiButton, TuiChevron],\n host: {\n tuiButton: '',\n tuiAccordion: '',\n type: 'button',\n '[class._open]': 'open()',\n '(click)': 'toggle()',\n },\n})\nexport class TuiAccordionDirective implements OnChanges {\n private readonly accordion = inject(TuiAccordionComponent);\n\n public readonly open = model<boolean | ''>(false, {alias: 'tuiAccordion'});\n\n public readonly size = tuiDirectiveBinding(TuiButton, 'size', this.accordion.size);\n public readonly chevron = tuiDirectiveBinding(TuiChevron, 'rotated', this.open);\n\n public ngOnChanges(): void {\n this.accordion.toggle(this);\n }\n\n public toggle(): void {\n this.open.set(!this.open());\n this.accordion.toggle(this);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n contentChildren,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiSetSignal} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiExpand} from '@taiga-ui/core/components/expand';\nimport {TuiGroup, tuiGroupOptionsProvider} from '@taiga-ui/core/directives/group';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\nimport {TuiAccordionDirective} from './accordion.directive';\n\n@Component({\n standalone: true,\n selector: 'tui-accordion',\n template: '<ng-content />',\n styleUrl: './accordion.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiGroupOptionsProvider({orientation: 'vertical', collapsed: true})],\n hostDirectives: [TuiGroup],\n host: {'[attr.data-size]': 'size()'},\n})\nexport class TuiAccordionComponent {\n protected readonly expands = contentChildren(TuiExpand);\n protected readonly directives = contentChildren(TuiAccordionDirective);\n\n public readonly closeOthers = input(true);\n public readonly size = input<TuiSizeL | TuiSizeS>('l');\n\n public toggle(directive: TuiAccordionDirective): void {\n if (this.closeOthers() && directive.open()) {\n this.expands().forEach((expand) => tuiSetSignal(expand.expanded, false));\n this.directives().forEach((dir) => {\n if (dir !== directive) {\n dir.open.set(false);\n }\n });\n }\n\n const expand = this.expands()[this.directives().indexOf(directive)];\n\n if (expand) {\n tuiSetSignal(expand.expanded, !!directive.open());\n }\n }\n}\n","import {TuiItem} from '@taiga-ui/cdk/directives/item';\nimport {TuiExpand} from '@taiga-ui/core/components/expand';\n\nimport {TuiAccordionComponent} from './accordion.component';\nimport {TuiAccordionDirective} from './accordion.directive';\n\nexport const TuiAccordion = [\n TuiAccordionComponent,\n TuiAccordionDirective,\n TuiExpand,\n TuiItem,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAwBa,qBAAqB,CAAA;AAhBlC,IAAA,WAAA,GAAA;AAiBqB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,qBAAqB,CAAC;QAE1C,IAAI,CAAA,IAAA,GAAG,KAAK,CAAe,KAAK,EAAE,EAAC,KAAK,EAAE,cAAc,EAAC,CAAC;AAE1D,QAAA,IAAA,CAAA,IAAI,GAAG,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;QAClE,IAAO,CAAA,OAAA,GAAG,mBAAmB,CAAC,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC;AAUlF;IARU,WAAW,GAAA;AACd,QAAA,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,C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AAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAQjB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAXjC,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,YACN,eAAe,EAAA,QAAA,EACf,gBAAgB,EAAA,aAAA,EAEX,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC,CAAC,uBAAuB,CAAC,EAAC,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAC,CAAC,CAAC,EAAA,cAAA,EAChE,CAAC,QAAQ,CAAC,EACpB,IAAA,EAAA,EAAC,kBAAkB,EAAE,QAAQ,EAAC,EAAA,MAAA,EAAA,CAAA,23CAAA,CAAA,EAAA;;;ACjB3B,MAAA,YAAY,GAAG;IACxB,qBAAqB;IACrB,qBAAqB;IACrB,SAAS;IACT,OAAO;;;ACVX;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-action-bar.mjs","sources":["../../../projects/kit/components/action-bar/action-bar.component.ts","../../../projects/kit/components/action-bar/action-bar.template.html","../../../projects/kit/components/action-bar/taiga-ui-kit-components-action-bar.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, inject, input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {TuiExpand} from '@taiga-ui/core/components/expand';\nimport {tuiLinkOptionsProvider} from '@taiga-ui/core/components/link';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\n@Component({\n selector: 'tui-action-bar',\n imports: [TuiExpand],\n templateUrl: './action-bar.template.html',\n
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-action-bar.mjs","sources":["../../../projects/kit/components/action-bar/action-bar.component.ts","../../../projects/kit/components/action-bar/action-bar.template.html","../../../projects/kit/components/action-bar/taiga-ui-kit-components-action-bar.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, inject, input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {TuiExpand} from '@taiga-ui/core/components/expand';\nimport {tuiLinkOptionsProvider} from '@taiga-ui/core/components/link';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\n@Component({\n selector: 'tui-action-bar',\n imports: [TuiExpand],\n templateUrl: './action-bar.template.html',\n styleUrl: './action-bar.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiLinkOptionsProvider({appearance: 'action-grayscale', pseudo: true}),\n tuiButtonOptionsProvider(() => ({\n appearance: 'secondary-grayscale',\n size: inject(TuiActionBar).size(),\n })),\n ],\n hostDirectives: [TuiAnimated],\n host: {\n tuiTheme: 'dark',\n '[attr.data-size]': 'size()',\n },\n})\nexport class TuiActionBar {\n public readonly expanded = input(false);\n public readonly size = input<TuiSizeS>('m');\n}\n","<tui-expand [expanded]=\"expanded()\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MA0Ba,YAAY,CAAA;AAnBzB,IAAA,WAAA,GAAA;AAoBoB,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC;AACvB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAW,GAAG,CAAC;AAC9C;+GAHY,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,C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I,gBAAgB,EAAA,OAAA,EACjB,CAAC,SAAS,CAAC,mBAGH,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;wBACP,sBAAsB,CAAC,EAAC,UAAU,EAAE,kBAAkB,EAAE,MAAM,EAAE,IAAI,EAAC,CAAC;AACtE,wBAAA,wBAAwB,CAAC,OAAO;AAC5B,4BAAA,UAAU,EAAE,qBAAqB;AACjC,4BAAA,IAAI,EAAE,MAAM,CAAc,YAAA,CAAA,CAAC,IAAI,EAAE;AACpC,yBAAA,CAAC,CAAC;qBACN,EACe,cAAA,EAAA,CAAC,WAAW,CAAC,EACvB,IAAA,EAAA;AACF,wBAAA,QAAQ,EAAE,MAAM;AAChB,wBAAA,kBAAkB,EAAE,QAAQ;AAC/B,qBAAA,EAAA,QAAA,EAAA,8QAAA,EAAA,MAAA,EAAA,CAAA,o1CAAA,CAAA,EAAA;;;AExBL;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-avatar.mjs","sources":["../../../projects/kit/components/avatar/avatar.options.ts","../../../projects/kit/components/avatar/avatar.directive.ts","../../../projects/kit/components/avatar/avatar-labeled.component.ts","../../../projects/kit/components/avatar/avatar-outline.directive.ts","../../../projects/kit/components/avatar/avatar-stack.component.ts","../../../projects/kit/components/avatar/taiga-ui-kit-components-avatar.ts"],"sourcesContent":["import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiAppearanceOptions} from '@taiga-ui/core/directives/appearance';\nimport {type TuiSizeXS, type TuiSizeXXL} from '@taiga-ui/core/types';\n\nexport interface TuiAvatarOptions extends TuiAppearanceOptions {\n readonly appearance: string;\n readonly round: boolean;\n readonly size: TuiSizeXS | TuiSizeXXL;\n}\n\nexport const [TUI_AVATAR_OPTIONS, tuiAvatarOptionsProvider] =\n tuiCreateOptions<TuiAvatarOptions>({\n appearance: '',\n round: true,\n size: 'm',\n });\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n tuiAppearanceOptionsProvider,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {TuiIcons} from '@taiga-ui/core/directives/icons';\n\nimport {TUI_AVATAR_OPTIONS} from './avatar.options';\n\n@Component({\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/avatar.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-avatar'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiAvatar]',\n providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiIcons,\n inputs: ['iconStart: tuiAvatar'],\n },\n ],\n host: {\n tuiAvatar: '',\n '[attr.data-size]': 'size()',\n '[attr.data-shape]': 'round() ? \"round\" : \"square\"',\n '[class._initials]': 'icons.iconStart()?.length < 3',\n '[class._fallback]': 'fallback()',\n '[class._badge]': 'badge()',\n '[style.--t-badge]': 'badge()',\n '(error.capture)': 'fallback.set(true)',\n '(load.capture)': 'fallback.set(false)',\n },\n})\nexport class TuiAvatar {\n private readonly options = inject(TUI_AVATAR_OPTIONS);\n\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly icons = inject(TuiIcons);\n protected readonly fallback = signal(false);\n\n public readonly size = input(this.options.size);\n public readonly round = input(this.options.round);\n public readonly badge = input('');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiFade} from '@taiga-ui/kit/directives/fade';\n\n@Component({\n selector: 'tui-avatar-labeled',\n imports: [TuiFade],\n template: `\n <ng-content />\n @if (label.length) {\n @for (item of split(label); track item) {\n <span tuiFade>\n {{ item }}\n </span>\n }\n }\n `,\n styleUrls: ['./avatar-labeled.styles.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiAvatarLabeled {\n @Input()\n public label = '';\n\n @tuiPure\n protected split(label: string): readonly string[] {\n return label.split(' ');\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n Directive,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n template: '',\n styleUrls: ['./avatar-outline.styles.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-avatar-outline'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiAvatarOutline]',\n host: {\n '[style.--t-fill]': 'value()',\n '[class._outline]': 'value()',\n },\n})\nexport class TuiAvatarOutline {\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly value = computed((value = this.tuiAvatarOutline()) =>\n value === '' ? 'var(--tui-background-accent-1)' : value,\n );\n\n public readonly tuiAvatarOutline = input<string | null>('');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {type TuiHorizontalDirection} from '@taiga-ui/core/types';\n\n@Component({\n standalone: true,\n selector: 'tui-avatar-stack',\n template: '<ng-content />',\n styleUrls: ['./avatar-stack.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.data-direction]': 'direction',\n },\n})\nexport class TuiAvatarStack {\n @Input()\n public direction: TuiHorizontalDirection = 'right';\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Styles"],"mappings":";;;;;;;;;;;MAUa,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,GACvD,gBAAgB,CAAmB;AAC/B,IAAA,UAAU,EAAE,EAAE;AACd,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,IAAI,EAAE,G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AAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAQjB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAX1B,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,kBAAkB,EAClB,QAAA,EAAA,gBAAgB,EAEX,aAAA,EAAA,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,uBAAuB,EAAE,WAAW;AACvC,qBAAA,EAAA,MAAA,EAAA,CAAA,quJAAA,CAAA,EAAA;8BAIM,SAAS,EAAA,CAAA;sBADf;;;ACpBL;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-avatar.mjs","sources":["../../../projects/kit/components/avatar/avatar.options.ts","../../../projects/kit/components/avatar/avatar.directive.ts","../../../projects/kit/components/avatar/avatar-labeled.component.ts","../../../projects/kit/components/avatar/avatar-outline.directive.ts","../../../projects/kit/components/avatar/avatar-stack.component.ts","../../../projects/kit/components/avatar/taiga-ui-kit-components-avatar.ts"],"sourcesContent":["import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiAppearanceOptions} from '@taiga-ui/core/directives/appearance';\nimport {type TuiSizeXS, type TuiSizeXXL} from '@taiga-ui/core/types';\n\nexport interface TuiAvatarOptions extends TuiAppearanceOptions {\n readonly appearance: string;\n readonly round: boolean;\n readonly size: TuiSizeXS | TuiSizeXXL;\n}\n\nexport const [TUI_AVATAR_OPTIONS, tuiAvatarOptionsProvider] =\n tuiCreateOptions<TuiAvatarOptions>({\n appearance: '',\n round: true,\n size: 'm',\n });\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n tuiAppearanceOptionsProvider,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {TuiIcons} from '@taiga-ui/core/directives/icons';\n\nimport {TUI_AVATAR_OPTIONS} from './avatar.options';\n\n@Component({\n template: '',\n styles: '@import \"@taiga-ui/kit/styles/components/avatar.less\";',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-avatar'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiAvatar]',\n providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiIcons,\n inputs: ['iconStart: tuiAvatar'],\n },\n ],\n host: {\n tuiAvatar: '',\n '[attr.data-size]': 'size()',\n '[attr.data-shape]': 'round() ? \"round\" : \"square\"',\n '[class._initials]': 'icons.iconStart()?.length < 3',\n '[class._fallback]': 'fallback()',\n '[class._badge]': 'badge()',\n '[style.--t-badge]': 'badge()',\n '(error.capture)': 'fallback.set(true)',\n '(load.capture)': 'fallback.set(false)',\n },\n})\nexport class TuiAvatar {\n private readonly options = inject(TUI_AVATAR_OPTIONS);\n\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly icons = inject(TuiIcons);\n protected readonly fallback = signal(false);\n\n public readonly size = input(this.options.size);\n public readonly round = input(this.options.round);\n public readonly badge = input('');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiFade} from '@taiga-ui/kit/directives/fade';\n\n@Component({\n selector: 'tui-avatar-labeled',\n imports: [TuiFade],\n template: `\n <ng-content />\n @if (label.length) {\n @for (item of split(label); track item) {\n <span tuiFade>\n {{ item }}\n </span>\n }\n }\n `,\n styleUrl: './avatar-labeled.styles.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiAvatarLabeled {\n @Input()\n public label = '';\n\n @tuiPure\n protected split(label: string): readonly string[] {\n return label.split(' ');\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n Directive,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n template: '',\n styleUrl: './avatar-outline.styles.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-avatar-outline'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiAvatarOutline]',\n host: {\n '[style.--t-fill]': 'value()',\n '[class._outline]': 'value()',\n },\n})\nexport class TuiAvatarOutline {\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly value = computed((value = this.tuiAvatarOutline()) =>\n value === '' ? 'var(--tui-background-accent-1)' : value,\n );\n\n public readonly tuiAvatarOutline = input<string | null>('');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {type TuiHorizontalDirection} from '@taiga-ui/core/types';\n\n@Component({\n standalone: true,\n selector: 'tui-avatar-stack',\n template: '<ng-content />',\n styleUrl: './avatar-stack.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.data-direction]': 'direction',\n },\n})\nexport class TuiAvatarStack {\n @Input()\n public direction: TuiHorizontalDirection = 'right';\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Styles"],"mappings":";;;;;;;;;;;MAUa,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,GACvD,gBAAgB,CAAmB;AAC/B,IAAA,UAAU,EAAE,EAAE;AACd,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,IAAI,EAAE,GAAG;AACZ,CAAA;;eCGL,MAOM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,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AAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,kBAAkB,EAClB,QAAA,EAAA,gBAAgB,EAEX,aAAA,EAAA,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,uBAAuB,EAAE,WAAW;AACvC,qBAAA,EAAA,MAAA,EAAA,CAAA,quJAAA,CAAA,EAAA;8BAIM,SAAS,EAAA,CAAA;sBADf;;;ACpBL;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-badge-notification.mjs","sources":["../../../projects/kit/components/badge-notification/badge-notification.options.ts","../../../projects/kit/components/badge-notification/badge-notification.component.ts","../../../projects/kit/components/badge-notification/taiga-ui-kit-components-badge-notification.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeXS} from '@taiga-ui/core/types';\n\nexport interface TuiBadgeNotificationOptions {\n readonly size: TuiSizeL | TuiSizeXS;\n}\n\nexport const TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS: TuiBadgeNotificationOptions = {\n size: 'm',\n};\n\nexport const TUI_BADGE_NOTIFICATION_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_BADGE_NOTIFICATION_OPTIONS' : '',\n {\n factory: () => TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiBadgeNotificationOptionsProvider(\n options: Partial<TuiBadgeNotificationOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_BADGE_NOTIFICATION_OPTIONS,\n options,\n TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS,\n );\n}\n","import {ChangeDetectionStrategy, Component, inject, Input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {type TuiSizeL, type TuiSizeXS} from '@taiga-ui/core/types';\n\nimport {TUI_BADGE_NOTIFICATION_OPTIONS} from './badge-notification.options';\n\n@Component({\n standalone: true,\n selector: 'tui-badge-notification',\n template: '<ng-content />',\n
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-badge-notification.mjs","sources":["../../../projects/kit/components/badge-notification/badge-notification.options.ts","../../../projects/kit/components/badge-notification/badge-notification.component.ts","../../../projects/kit/components/badge-notification/taiga-ui-kit-components-badge-notification.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeXS} from '@taiga-ui/core/types';\n\nexport interface TuiBadgeNotificationOptions {\n readonly size: TuiSizeL | TuiSizeXS;\n}\n\nexport const TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS: TuiBadgeNotificationOptions = {\n size: 'm',\n};\n\nexport const TUI_BADGE_NOTIFICATION_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_BADGE_NOTIFICATION_OPTIONS' : '',\n {\n factory: () => TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiBadgeNotificationOptionsProvider(\n options: Partial<TuiBadgeNotificationOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_BADGE_NOTIFICATION_OPTIONS,\n options,\n TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS,\n );\n}\n","import {ChangeDetectionStrategy, Component, inject, Input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {type TuiSizeL, type TuiSizeXS} from '@taiga-ui/core/types';\n\nimport {TUI_BADGE_NOTIFICATION_OPTIONS} from './badge-notification.options';\n\n@Component({\n standalone: true,\n selector: 'tui-badge-notification',\n template: '<ng-content />',\n styleUrl: './badge-notification.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiAnimated],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiBadgeNotification {\n @Input()\n public size: TuiSizeL | TuiSizeXS = inject(TUI_BADGE_NOTIFICATION_OPTIONS).size;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAQa,MAAA,sCAAsC,GAAgC;AAC/E,IAAA,IAAI,EAAE,GAAG;;AAGA,MAAA,8BAA8B,GAAG,IAAI,cAAc,CAC5D,SAAS,GAAG,gCAAgC,GAAG,EAAE,EACjD;AACI,IAAA,OAAO,EAAE,MAAM,sCAAsC;AACxD,CAAA;AAGC,SAAU,mCAAmC,CAC/C,OAA6C,EAAA;IAE7C,OAAO,iBAAiB,CACpB,8BAA8B,EAC9B,OAAO,EACP,sCAAsC,CACzC;AACL;;MCVa,oBAAoB,CAAA;AAXjC,IAAA,WAAA,GAAA;AAaW,QAAA,IAAA,CAAA,IAAI,GAAyB,MAAM,CAAC,8BAA8B,CAAC,CAAC,IAAI;AAClF;+GAHY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,oBAAoB,iNARnB,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,8vBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAQjB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAXhC,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,wBAAwB,EACxB,QAAA,EAAA,gBAAgB,EAET,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA,CAAC,WAAW,CAAC,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