@taiga-ui/kit 4.52.0-canary.4d93c87 → 4.52.0-canary.55ce829
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/accordion/accordion.component.d.ts +13 -0
- package/components/accordion/accordion.d.ts +4 -4
- package/components/accordion/accordion.directive.d.ts +11 -10
- package/components/accordion/index.d.ts +1 -3
- package/components/action-bar/action-bar.component.d.ts +5 -7
- package/components/action-bar/index.d.ts +0 -2
- package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -0
- package/components/fullscreen/fullscreen.component.d.ts +14 -0
- package/components/fullscreen/index.d.ts +1 -0
- package/components/index.d.ts +3 -1
- package/components/input-phone-international/input-phone-international.component.d.ts +23 -29
- package/components/input-range/input-range.component.d.ts +8 -11
- package/components/input-slider/input-slider.directive.d.ts +1 -3
- package/components/input-time/input-time.directive.d.ts +1 -0
- package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
- package/components/line-clamp/line-clamp.component.d.ts +8 -10
- package/components/push/push-alert.component.d.ts +4 -3
- 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/range/range-change.directive.d.ts +1 -1
- package/components/range/range.component.d.ts +0 -5
- package/components/slider/helpers/key-steps.d.ts +1 -2
- package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
- package/components/toast/index.d.ts +5 -0
- package/components/toast/toast.component.d.ts +18 -0
- package/components/toast/toast.d.ts +3 -0
- package/components/toast/toast.directive.d.ts +7 -0
- package/components/toast/toast.options.d.ts +9 -0
- package/components/toast/toast.service.d.ts +17 -0
- package/directives/button-select/button-select.directive.d.ts +1 -2
- package/directives/index.d.ts +0 -1
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -144
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +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 +2 -2
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- 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.map +1 -1
- package/fesm2022/{taiga-ui-kit-directives-copy.mjs → taiga-ui-kit-components-copy.mjs} +3 -3
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +12 -4
- 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 +4 -4
- 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 +63 -0
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
- 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.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +2 -3
- 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 +102 -125
- 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 +27 -21
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +15 -26
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +18 -1
- 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 +25 -64
- 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 +10 -11
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +2 -9
- 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.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +4 -4
- 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 +37 -44
- 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 +4 -13
- 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 +55 -53
- 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 +2 -2
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- 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 +165 -0
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-tree.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +3 -1
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs +2 -9
- package/fesm2022/taiga-ui-kit-directives-button-select.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 +1 -1
- 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.mjs +0 -1
- package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
- package/package.json +115 -110
- package/styles/components/badge.less +1 -0
- package/styles/components/chip.less +12 -1
- package/styles/components/toast.less +44 -0
- package/components/accordion/accordion-item-content.directive.d.ts +0 -6
- package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
- package/components/accordion/accordion-item.component.d.ts +0 -25
- package/components/action-bar/action-bar.d.ts +0 -3
- package/components/action-bar/action-bar.directive.d.ts +0 -6
- package/components/pdf-viewer/index.d.ts +0 -4
- package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
- package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
- package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
- /package/{directives → components}/copy/copy.component.d.ts +0 -0
- /package/{directives → components}/copy/copy.d.ts +0 -0
- /package/{directives → components}/copy/copy.directive.d.ts +0 -0
- /package/{directives → components}/copy/copy.options.d.ts +0 -0
- /package/{directives → components}/copy/index.d.ts +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TuiExpand } from '@taiga-ui/core/components/expand';
|
|
2
|
+
import { TuiAccordionDirective } from './accordion.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@taiga-ui/core/directives/group";
|
|
5
|
+
export declare class TuiAccordionComponent {
|
|
6
|
+
protected readonly expands: import("@angular/core").Signal<readonly TuiExpand[]>;
|
|
7
|
+
protected readonly directives: import("@angular/core").Signal<readonly TuiAccordionDirective[]>;
|
|
8
|
+
readonly closeOthers: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
readonly size: import("@angular/core").InputSignal<"m" | "s" | "l">;
|
|
10
|
+
toggle(directive: TuiAccordionDirective): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAccordionComponent, "tui-accordion", never, { "closeOthers": { "alias": "closeOthers"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, ["expands", "directives"], ["*"], true, [{ directive: typeof i1.TuiGroup; inputs: {}; outputs: {}; }]>;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { TuiItem } from '@taiga-ui/cdk/directives/item';
|
|
2
|
+
import { TuiExpand } from '@taiga-ui/core/components/expand';
|
|
3
|
+
import { TuiAccordionComponent } from './accordion.component';
|
|
1
4
|
import { TuiAccordionDirective } from './accordion.directive';
|
|
2
|
-
|
|
3
|
-
import { TuiAccordionItemContent } from './accordion-item-content.directive';
|
|
4
|
-
import { TuiAccordionItemEagerContent } from './accordion-item-eager-content.directive';
|
|
5
|
-
export declare const TuiAccordion: readonly [typeof TuiAccordionItem, typeof TuiAccordionDirective, typeof TuiAccordionItemContent, typeof TuiAccordionItemEagerContent];
|
|
5
|
+
export declare const TuiAccordion: readonly [typeof TuiAccordionComponent, typeof TuiAccordionDirective, typeof TuiExpand, typeof TuiItem];
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { TuiAccordionItem } from './accordion-item.component';
|
|
1
|
+
import { type OnChanges } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@taiga-ui/core/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
import * as i1 from "@taiga-ui/core/components/button";
|
|
4
|
+
import * as i2 from "@taiga-ui/kit/directives/chevron";
|
|
5
|
+
export declare class TuiAccordionDirective implements OnChanges {
|
|
6
|
+
private readonly accordion;
|
|
7
|
+
readonly open: import("@angular/core").ModelSignal<boolean | "">;
|
|
8
|
+
readonly size: import("@angular/core").InputSignal<"m" | "s" | "l">;
|
|
9
|
+
readonly chevron: import("@angular/core").ModelSignal<boolean | "">;
|
|
10
|
+
ngOnChanges(): void;
|
|
11
|
+
toggle(): void;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAccordionDirective, "
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAccordionDirective, "button[tuiAccordion]", never, { "open": { "alias": "tuiAccordion"; "required": false; "isSignal": true; }; }, { "open": "tuiAccordionChange"; }, never, never, true, [{ directive: typeof i1.TuiButton; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiChevron; inputs: {}; outputs: {}; }]>;
|
|
13
14
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export * from './accordion';
|
|
2
|
+
export * from './accordion.component';
|
|
2
3
|
export * from './accordion.directive';
|
|
3
|
-
export * from './accordion-item.component';
|
|
4
|
-
export * from './accordion-item-content.directive';
|
|
5
|
-
export * from './accordion-item-eager-content.directive';
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { type TuiButtonOptions } from '@taiga-ui/core/components/button';
|
|
2
1
|
import { type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
5
|
-
export declare class
|
|
6
|
-
expanded: boolean
|
|
7
|
-
size: TuiSizeS
|
|
8
|
-
|
|
9
|
-
static
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiActionBarComponent, "tui-action-bar", never, { "expanded": { "alias": "expanded"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["tui-data-list,[tuiMenu]", "*", "a,button,[tuiAction]"], true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
|
|
4
|
+
export declare class TuiActionBar {
|
|
5
|
+
readonly expanded: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
readonly size: import("@angular/core").InputSignal<TuiSizeS>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiActionBar, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiActionBar, "tui-action-bar", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["tui-data-list,[tuiMenu]", "*", "a,button,[tuiAction]"], true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
|
|
11
9
|
}
|
|
@@ -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>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TuiFullscreen {
|
|
4
|
+
private readonly root?;
|
|
5
|
+
private readonly doc;
|
|
6
|
+
protected readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
+
readonly opened: EventEmitter<boolean>;
|
|
8
|
+
options?: FullscreenOptions;
|
|
9
|
+
set fullscreen(open: boolean);
|
|
10
|
+
protected closedByEscape(event: Event): void;
|
|
11
|
+
private fullscreenState;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFullscreen, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiFullscreen, "[tuiFullscreen]", never, { "options": { "alias": "tuiFullscreenOptions"; "required": false; }; "fullscreen": { "alias": "tuiFullscreen"; "required": false; }; }, { "opened": "tuiFullscreenChange"; }, never, ["*"], true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './fullscreen.component';
|
package/components/index.d.ts
CHANGED
|
@@ -16,12 +16,14 @@ export * from '@taiga-ui/kit/components/combo-box';
|
|
|
16
16
|
export * from '@taiga-ui/kit/components/comment';
|
|
17
17
|
export * from '@taiga-ui/kit/components/compass';
|
|
18
18
|
export * from '@taiga-ui/kit/components/confirm';
|
|
19
|
+
export * from '@taiga-ui/kit/components/copy';
|
|
19
20
|
export * from '@taiga-ui/kit/components/data-list-wrapper';
|
|
20
21
|
export * from '@taiga-ui/kit/components/drawer';
|
|
21
22
|
export * from '@taiga-ui/kit/components/elastic-container';
|
|
22
23
|
export * from '@taiga-ui/kit/components/files';
|
|
23
24
|
export * from '@taiga-ui/kit/components/filter';
|
|
24
25
|
export * from '@taiga-ui/kit/components/floating-container';
|
|
26
|
+
export * from '@taiga-ui/kit/components/fullscreen';
|
|
25
27
|
export * from '@taiga-ui/kit/components/input-chip';
|
|
26
28
|
export * from '@taiga-ui/kit/components/input-color';
|
|
27
29
|
export * from '@taiga-ui/kit/components/input-date';
|
|
@@ -47,7 +49,6 @@ export * from '@taiga-ui/kit/components/multi-select';
|
|
|
47
49
|
export * from '@taiga-ui/kit/components/notification-middle';
|
|
48
50
|
export * from '@taiga-ui/kit/components/pager';
|
|
49
51
|
export * from '@taiga-ui/kit/components/pagination';
|
|
50
|
-
export * from '@taiga-ui/kit/components/pdf-viewer';
|
|
51
52
|
export * from '@taiga-ui/kit/components/pin';
|
|
52
53
|
export * from '@taiga-ui/kit/components/preview';
|
|
53
54
|
export * from '@taiga-ui/kit/components/progress';
|
|
@@ -68,4 +69,5 @@ export * from '@taiga-ui/kit/components/switch';
|
|
|
68
69
|
export * from '@taiga-ui/kit/components/tabs';
|
|
69
70
|
export * from '@taiga-ui/kit/components/textarea';
|
|
70
71
|
export * from '@taiga-ui/kit/components/tiles';
|
|
72
|
+
export * from '@taiga-ui/kit/components/toast';
|
|
71
73
|
export * from '@taiga-ui/kit/components/tree';
|
|
@@ -1,51 +1,45 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, type QueryList } from '@angular/core';
|
|
2
2
|
import { type MaskitoOptions } from '@maskito/core';
|
|
3
3
|
import { TuiControl } from '@taiga-ui/cdk/classes';
|
|
4
4
|
import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
|
|
5
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
5
|
import { type MetadataJson } from 'libphonenumber-js/core';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@
|
|
9
|
-
import * as i2 from "@taiga-ui/core/
|
|
10
|
-
/** @deprecated use version from experimental package instead */
|
|
7
|
+
import * as i1 from "@maskito/angular";
|
|
8
|
+
import * as i2 from "@taiga-ui/core/components/textfield";
|
|
11
9
|
export declare class TuiInputPhoneInternational extends TuiControl<string> {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
protected readonly
|
|
16
|
-
protected readonly dropdown: import("@angular/core").WritableSignal<import("@taiga-ui/polymorpheus").PolymorpheusComponent<unknown> | import("@taiga-ui/polymorpheus").PolymorpheusPrimitive | import("@taiga-ui/polymorpheus").PolymorpheusHandler<any> | import("@taiga-ui/polymorpheus").PolymorpheusTemplate<"" | Partial<any>> | TemplateRef<Partial<any>>>;
|
|
10
|
+
protected readonly list: QueryList<ElementRef<HTMLButtonElement>>;
|
|
11
|
+
protected readonly el: HTMLInputElement;
|
|
12
|
+
protected readonly ios: boolean;
|
|
13
|
+
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
17
14
|
protected readonly options: import("./input-phone-international.options").TuiInputPhoneInternationalOptions;
|
|
18
|
-
protected readonly size: import("@angular/core").WritableSignal<"m" | "l" | "s">;
|
|
19
|
-
protected readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
20
|
-
protected readonly names: import("@angular/core").Signal<Record<TuiCountryIsoCode, string> | undefined>;
|
|
21
|
-
protected readonly metadata: import("@angular/core").Signal<MetadataJson | undefined>;
|
|
22
15
|
protected readonly countries: import("@angular/core").WritableSignal<readonly TuiCountryIsoCode[]>;
|
|
23
|
-
protected readonly
|
|
24
|
-
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
16
|
+
protected readonly code: import("@angular/core").WritableSignal<TuiCountryIsoCode>;
|
|
25
17
|
protected readonly label: import("@angular/core").Signal<string | undefined>;
|
|
18
|
+
protected readonly metadata: import("@angular/core").Signal<MetadataJson | undefined>;
|
|
19
|
+
protected readonly names: import("@angular/core").Signal<Record<TuiCountryIsoCode, string> | undefined>;
|
|
20
|
+
protected readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
26
21
|
protected readonly search: import("@angular/core").WritableSignal<string>;
|
|
27
|
-
protected readonly
|
|
22
|
+
protected readonly size: import("@angular/core").WritableSignal<"m" | "l" | "s">;
|
|
23
|
+
protected readonly mask: import("@angular/core").Signal<MaskitoOptions | null>;
|
|
24
|
+
protected readonly masked: import("@angular/core").WritableSignal<string>;
|
|
25
|
+
protected valueChangeEffect: import("@angular/core").EffectRef;
|
|
28
26
|
protected readonly filtered: import("@angular/core").Signal<{
|
|
29
27
|
iso: TuiCountryIsoCode;
|
|
30
28
|
name: string;
|
|
31
29
|
code: string;
|
|
32
30
|
}[]>;
|
|
33
|
-
protected readonly
|
|
34
|
-
protected readonly $: import("
|
|
35
|
-
protected textfieldValue: string;
|
|
31
|
+
protected readonly enabled: import("@angular/core").Signal<boolean>;
|
|
32
|
+
protected readonly $: import("rxjs").Subscription;
|
|
36
33
|
countrySearch: boolean;
|
|
37
34
|
readonly countryIsoCodeChange: import("rxjs").Observable<TuiCountryIsoCode>;
|
|
38
35
|
set countriesValue(value: readonly TuiCountryIsoCode[]);
|
|
39
36
|
set isoCode(code: TuiCountryIsoCode);
|
|
40
|
-
|
|
41
|
-
onPaste(event: Event): void;
|
|
42
|
-
onItemClick(
|
|
43
|
-
writeValue(unmaskedValue: string): void;
|
|
44
|
-
protected set template(template: PolymorpheusContent);
|
|
45
|
-
protected onFocus(): void;
|
|
46
|
-
protected onValueChange(maskedValue: string): void;
|
|
47
|
-
protected onKeyDown({ key }: KeyboardEvent): void;
|
|
37
|
+
writeValue(unmasked: string | null): void;
|
|
38
|
+
protected onPaste(event: Event): void;
|
|
39
|
+
protected onItemClick(code: TuiCountryIsoCode): void;
|
|
48
40
|
private computeMask;
|
|
41
|
+
private unmask;
|
|
42
|
+
private getCountryCode;
|
|
49
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneInternational, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneInternational, "
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneInternational, "input[tuiInputPhoneInternational]", never, { "countrySearch": { "alias": "countrySearch"; "required": false; }; "countriesValue": { "alias": "countries"; "required": false; }; "isoCode": { "alias": "countryIsoCode"; "required": false; }; }, { "countryIsoCodeChange": "countryIsoCodeChange"; }, never, never, true, [{ directive: typeof i1.MaskitoDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithTextfield; inputs: {}; outputs: {}; }]>;
|
|
51
45
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type AfterViewInit } from '@angular/core';
|
|
2
1
|
import { TuiControl } from '@taiga-ui/cdk/classes';
|
|
3
2
|
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
4
3
|
import { type TuiKeySteps } from '@taiga-ui/kit/components/slider';
|
|
@@ -7,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
7
6
|
export declare class TuiInputRangeComponent extends TuiControl<readonly [
|
|
8
7
|
number,
|
|
9
8
|
number
|
|
10
|
-
]>
|
|
9
|
+
]> {
|
|
11
10
|
private readonly inputNumberRefs;
|
|
12
11
|
private readonly range?;
|
|
13
12
|
private readonly isMobile;
|
|
@@ -17,15 +16,13 @@ export declare class TuiInputRangeComponent extends TuiControl<readonly [
|
|
|
17
16
|
protected textfieldValueStart: number;
|
|
18
17
|
protected textfieldValueEnd: number;
|
|
19
18
|
protected lastActiveSide: 'end' | 'start';
|
|
19
|
+
protected readonly contentStart: import("@angular/core").Signal<PolymorpheusContent<TuiContext<number>>>;
|
|
20
|
+
protected readonly contentEnd: import("@angular/core").Signal<PolymorpheusContent<TuiContext<number>>>;
|
|
20
21
|
min: number;
|
|
21
22
|
max: number;
|
|
22
23
|
step: number;
|
|
23
24
|
segments: number;
|
|
24
25
|
keySteps: TuiKeySteps | null;
|
|
25
|
-
content: readonly [
|
|
26
|
-
PolymorpheusContent<TuiContext<number>>,
|
|
27
|
-
PolymorpheusContent<TuiContext<number>>
|
|
28
|
-
];
|
|
29
26
|
prefix: readonly [
|
|
30
27
|
string,
|
|
31
28
|
string
|
|
@@ -34,14 +31,14 @@ export declare class TuiInputRangeComponent extends TuiControl<readonly [
|
|
|
34
31
|
string,
|
|
35
32
|
string
|
|
36
33
|
];
|
|
34
|
+
content: import("@angular/core").InputSignal<readonly [PolymorpheusContent<TuiContext<number>>, PolymorpheusContent<TuiContext<number>>]>;
|
|
37
35
|
set quantumSetter(x: number);
|
|
38
36
|
writeValue(value: [
|
|
39
37
|
number,
|
|
40
38
|
number
|
|
41
39
|
]): void;
|
|
42
|
-
|
|
43
|
-
protected get
|
|
44
|
-
protected get hideEndContent(): boolean;
|
|
40
|
+
protected get contentStartHidden(): boolean;
|
|
41
|
+
protected get contentEndHidden(): boolean;
|
|
45
42
|
protected takeStep(event: Event | KeyboardEvent, coefficients: readonly [
|
|
46
43
|
number,
|
|
47
44
|
number
|
|
@@ -55,7 +52,6 @@ export declare class TuiInputRangeComponent extends TuiControl<readonly [
|
|
|
55
52
|
number
|
|
56
53
|
]): void;
|
|
57
54
|
protected focusToTextfield(): void;
|
|
58
|
-
protected onActiveThumbChange(activeThumb: 'left' | 'right'): void;
|
|
59
55
|
protected setTextfieldValues([start, end]: readonly [
|
|
60
56
|
number,
|
|
61
57
|
number
|
|
@@ -65,8 +61,9 @@ export declare class TuiInputRangeComponent extends TuiControl<readonly [
|
|
|
65
61
|
private get activeTextfield();
|
|
66
62
|
private setValue;
|
|
67
63
|
private valueGuard;
|
|
64
|
+
private isPrimitive;
|
|
68
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputRangeComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputRangeComponent, "tui-input-range", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputRangeComponent, "tui-input-range", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "postfix": { "alias": "postfix"; "required": false; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "quantumSetter": { "alias": "quantum"; "required": false; }; }, {}, never, ["label"], true, never>;
|
|
70
67
|
static ngAcceptInputType_prefix: readonly [
|
|
71
68
|
string,
|
|
72
69
|
string
|
|
@@ -3,17 +3,15 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import * as i1 from "@taiga-ui/kit/components/input-number";
|
|
4
4
|
export declare class TuiInputSliderDirective {
|
|
5
5
|
private readonly isMobile;
|
|
6
|
-
private readonly
|
|
6
|
+
private readonly el;
|
|
7
7
|
private readonly slider;
|
|
8
8
|
private readonly controlTransformer;
|
|
9
|
-
private readonly keyStepsTransformer;
|
|
10
9
|
protected readonly nothing: undefined;
|
|
11
10
|
protected readonly inputNumber: TuiInputNumberDirective;
|
|
12
11
|
protected readonly value: import("@angular/core").Signal<number>;
|
|
13
12
|
protected readonly textfieldToSliderSync: import("@angular/core").EffectRef;
|
|
14
13
|
protected readonly sliderInitEffect: import("@angular/core").EffectRef;
|
|
15
14
|
protected onStep(coefficient: number): void;
|
|
16
|
-
private onSliderInput;
|
|
17
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputSliderDirective, never>;
|
|
18
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputSliderDirective, "input[tuiInputSlider]", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiInputNumberDirective; inputs: { "min": "min"; "max": "max"; "prefix": "prefix"; "postfix": "postfix"; "invalid": "invalid"; "readOnly": "readOnly"; }; outputs: {}; }, { directive: typeof i1.TuiWithQuantumValueTransformer; inputs: {}; outputs: {}; }]>;
|
|
19
17
|
}
|
|
@@ -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,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TuiHintComponent } from '@taiga-ui/core/directives/hint';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
-
export declare class TuiLineClampBox extends TuiHintBaseComponent {
|
|
3
|
+
export declare class TuiLineClampBox extends TuiHintComponent {
|
|
5
4
|
protected get width(): number;
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLineClampBox, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLineClampBox, "tui-line-clamp-box", never, {}, {}, never, never, true,
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLineClampBox, "tui-line-clamp-box", never, {}, {}, never, never, true, never>;
|
|
8
7
|
}
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -4,7 +4,7 @@ export declare class TuiRangeChange {
|
|
|
4
4
|
private readonly doc;
|
|
5
5
|
private readonly el;
|
|
6
6
|
private readonly range;
|
|
7
|
-
readonly activeThumbChange: EventEmitter<"
|
|
7
|
+
readonly activeThumbChange: EventEmitter<"end" | "start">;
|
|
8
8
|
constructor();
|
|
9
9
|
private getFractionFromEvents;
|
|
10
10
|
private detectActiveThumb;
|
|
@@ -21,11 +21,6 @@ export declare class TuiRange extends TuiControl<[number, number]> implements On
|
|
|
21
21
|
readonly slidersRefs: QueryList<ElementRef<HTMLInputElement>>;
|
|
22
22
|
readonly start: import("@angular/core").Signal<number>;
|
|
23
23
|
readonly end: import("@angular/core").Signal<number>;
|
|
24
|
-
/**
|
|
25
|
-
* TODO(v5): standardize logic between `TuiSlider` & `TuiInputSlider` & `Range` & `InputRange`
|
|
26
|
-
* For non-linear slider (with `[keySteps]` property) `step` means percentage
|
|
27
|
-
*/
|
|
28
|
-
legacyMode: boolean;
|
|
29
24
|
ngOnChanges(): void;
|
|
30
25
|
processValue(value: number, end: boolean): void;
|
|
31
26
|
takeStep(coefficients: readonly [number, number]): readonly [number, number];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
2
|
-
import { type TuiSliderComponent } from '../slider.component';
|
|
3
2
|
/**
|
|
4
3
|
* Used as a limit for eliminating JS issues with floating point math
|
|
5
4
|
*/
|
|
@@ -25,4 +24,4 @@ export declare const TUI_FLOATING_PRECISION = 7;
|
|
|
25
24
|
export type TuiKeySteps = [[0, number], ...Array<[number, number]>, [100, number]];
|
|
26
25
|
export declare function tuiPercentageToKeyStepValue(valuePercentage: number, keySteps: TuiKeySteps): number;
|
|
27
26
|
export declare function tuiKeyStepValueToPercentage(value: number, keySteps: TuiKeySteps): number;
|
|
28
|
-
export declare function tuiCreateKeyStepsTransformer(keySteps: TuiKeySteps
|
|
27
|
+
export declare function tuiCreateKeyStepsTransformer(keySteps: TuiKeySteps): TuiValueTransformer<number, number>;
|
|
@@ -5,34 +5,25 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class TuiSliderKeyStepsBase {
|
|
6
6
|
private readonly injector;
|
|
7
7
|
private readonly control;
|
|
8
|
-
protected min
|
|
9
|
-
protected max
|
|
10
|
-
step: number
|
|
8
|
+
protected readonly min: import("@angular/core").WritableSignal<number | undefined>;
|
|
9
|
+
protected readonly max: import("@angular/core").WritableSignal<number | undefined>;
|
|
10
|
+
step: import("@angular/core").InputSignal<number>;
|
|
11
11
|
transformer: import("@angular/core").WritableSignal<TuiValueTransformer<number, number> | null>;
|
|
12
|
-
|
|
12
|
+
controlValue: import("@angular/core").Signal<number | undefined>;
|
|
13
|
+
readonly totalSteps: import("@angular/core").Signal<number>;
|
|
13
14
|
get slider(): TuiSliderComponent;
|
|
14
15
|
set keySteps(steps: TuiKeySteps | null);
|
|
15
|
-
/**
|
|
16
|
-
* TODO(v5): standardize logic between `TuiSlider` & `TuiInputSlider` & `Range` & `InputRange`
|
|
17
|
-
* For non-linear slider (with `[keySteps]` property) `step` means percentage
|
|
18
|
-
* Add these host-bindings to `TuiSliderKeyStepsBase`:
|
|
19
|
-
* ```
|
|
20
|
-
* host: {
|
|
21
|
-
* '[attr.min]': '0',
|
|
22
|
-
* '[attr.step]': '1',
|
|
23
|
-
* '[attr.max]': 'totalSteps',
|
|
24
|
-
* },
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
get totalSteps(): number;
|
|
28
16
|
takeStep(coefficient: number): number;
|
|
17
|
+
toSliderValue(fraction: number): number;
|
|
18
|
+
setControlValue(controlValue: number): void;
|
|
19
|
+
getControlValue(): number;
|
|
29
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSliderKeyStepsBase, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSliderKeyStepsBase, "input[tuiSlider][keySteps]", never, { "step": { "alias": "step"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
static ngAcceptInputType_step: number | "any";
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSliderKeyStepsBase, "input[tuiSlider][keySteps]", never, { "step": { "alias": "step"; "required": false; "isSignal": true; }; "keySteps": { "alias": "keySteps"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
22
|
}
|
|
33
23
|
export declare class TuiSliderKeySteps extends TuiControl<number> {
|
|
34
|
-
|
|
35
|
-
set keySteps(steps: TuiKeySteps);
|
|
24
|
+
protected readonly base: TuiSliderKeyStepsBase;
|
|
25
|
+
set keySteps(steps: TuiKeySteps | null);
|
|
26
|
+
protected setValue(sliderValue: number): void;
|
|
36
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSliderKeySteps, never>;
|
|
37
28
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSliderKeySteps, "input[tuiSlider][keySteps][ngModel],input[tuiSlider][keySteps][formControl],input[tuiSlider][keySteps][formControlName]", never, { "keySteps": { "alias": "keySteps"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
29
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type AfterViewInit } from '@angular/core';
|
|
2
|
+
import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
3
|
+
import { type TuiToastOptions } from './toast.options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
6
|
+
import * as i2 from "@taiga-ui/core/directives/notification";
|
|
7
|
+
export declare class TuiToastComponent<O, I> implements AfterViewInit {
|
|
8
|
+
private readonly close;
|
|
9
|
+
private readonly el;
|
|
10
|
+
protected readonly isMobile: boolean;
|
|
11
|
+
protected readonly context: TuiPopover<TuiToastOptions<I>, O>;
|
|
12
|
+
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
13
|
+
protected readonly $: import("rxjs").Subscription;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
protected onSwipe(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiToastComponent<any, any>, never>;
|
|
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: {}; }]>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@taiga-ui/core/directives/icons";
|
|
3
|
+
export declare class TuiToastDirective {
|
|
4
|
+
protected readonly nothing: undefined;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiToastDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiToastDirective, "[tuiToast]:not(ng-template)", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
7
|
+
}
|
|
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;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TuiNotificationService } from '@taiga-ui/core/directives/notification';
|
|
2
|
+
import { TuiToastComponent } from './toast.component';
|
|
3
|
+
import { type TuiToastOptions } from './toast.options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
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
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiToastService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TuiToastService>;
|
|
12
|
+
}
|
|
13
|
+
export declare class TuiToastTemplate<T> {
|
|
14
|
+
readonly tuiToastOptions: import("@angular/core").InputSignal<Partial<TuiToastOptions<T>>>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiToastTemplate<any>, 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"; }; }]>;
|
|
17
|
+
}
|