@taiga-ui/addon-mobile 4.65.0 → 5.0.0-canary.2e92594
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/components/bottom-sheet/bottom-sheet.component.d.ts +3 -3
- package/components/index.d.ts +0 -1
- package/components/mobile-calendar/calendar-date-stream.d.ts +6 -0
- package/components/mobile-calendar/index.d.ts +1 -0
- package/components/mobile-calendar/mobile-calendar.component.d.ts +20 -22
- package/components/mobile-calendar/mobile-calendar.strategy.d.ts +3 -7
- package/components/mobile-calendar-dropdown/mobile-calendar-dropdown.component.d.ts +10 -12
- package/components/mobile-calendar-dropdown/mobile-calendar-dropdown.directive.d.ts +6 -6
- package/components/pull-to-refresh/pull-to-refresh.component.d.ts +8 -7
- package/components/sheet-dialog/sheet-dialog.component.d.ts +2 -2
- package/components/sheet-dialog/sheet-dialog.directive.d.ts +4 -3
- package/components/sheet-dialog/sheet-dialog.options.d.ts +4 -10
- package/components/sheet-dialog/sheet-dialog.service.d.ts +9 -4
- package/components/swipe-action/swipe-actions-auto-close.directive.d.ts +2 -2
- package/components/tab-bar/tab-bar-item.component.d.ts +3 -3
- package/components/tab-bar/tab-bar.component.d.ts +4 -7
- package/directives/dropdown-mobile/dropdown-mobile.component.d.ts +10 -14
- package/directives/dropdown-mobile/dropdown-mobile.directive.d.ts +1 -2
- package/directives/dropdown-sheet/dropdown-sheet.component.d.ts +14 -0
- package/directives/dropdown-sheet/dropdown-sheet.directive.d.ts +6 -0
- package/directives/dropdown-sheet/index.d.ts +2 -0
- package/directives/elastic-sticky/elastic-sticky.directive.d.ts +1 -2
- package/directives/index.d.ts +1 -1
- package/directives/responsive-dialog/responsive-dialog.directive.d.ts +5 -4
- package/directives/responsive-dialog/responsive-dialog.service.d.ts +4 -7
- package/directives/ripple/ripple.directive.d.ts +3 -3
- package/directives/touchable/touchable.directive.d.ts +5 -5
- package/fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs +14 -23
- package/fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs +35 -57
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs +10 -14
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs +130 -165
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs +49 -60
- package/fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs +62 -61
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-swipe-action.mjs +12 -20
- package/fesm2022/taiga-ui-addon-mobile-components-swipe-action.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs +32 -53
- package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components.mjs +0 -1
- package/fesm2022/taiga-ui-addon-mobile-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs +67 -90
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-sheet.mjs +83 -0
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-sheet.mjs.map +1 -0
- package/fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs +12 -16
- package/fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs +46 -29
- package/fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs +21 -44
- package/fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs +20 -27
- package/fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives.mjs +1 -1
- package/fesm2022/taiga-ui-addon-mobile-services.mjs +36 -7
- package/fesm2022/taiga-ui-addon-mobile-services.mjs.map +1 -1
- package/package.json +23 -61
- package/services/index.d.ts +1 -0
- package/services/theme-color.service.d.ts +18 -0
- package/styles/android/app-bar.less +1 -1
- package/styles/android/checkbox.less +2 -3
- package/styles/common/badge-notification.less +1 -1
- package/styles/common/badge.less +2 -3
- package/styles/common/block-status.less +1 -1
- package/styles/common/button.less +1 -1
- package/styles/common/card-large.less +1 -1
- package/styles/common/chip.less +3 -9
- package/styles/common/header.less +1 -1
- package/styles/common/message.less +1 -1
- package/styles/common/segmented.less +1 -1
- package/styles/common/title.less +0 -1
- package/styles/common/toast.less +3 -4
- package/styles/ios/checkbox.less +2 -4
- package/styles/ios/switch.less +51 -2
- package/components/mobile-dialog/index.d.ts +0 -3
- package/components/mobile-dialog/mobile-dialog.component.d.ts +0 -10
- package/components/mobile-dialog/mobile-dialog.options.d.ts +0 -12
- package/components/mobile-dialog/mobile-dialog.service.d.ts +0 -10
- package/directives/sidebar/index.d.ts +0 -3
- package/directives/sidebar/sidebar.component.d.ts +0 -21
- package/directives/sidebar/sidebar.d.ts +0 -6
- package/directives/sidebar/sidebar.directive.d.ts +0 -22
- package/esm2022/components/bottom-sheet/bottom-sheet.component.mjs +0 -50
- package/esm2022/components/bottom-sheet/index.mjs +0 -2
- package/esm2022/components/bottom-sheet/taiga-ui-addon-mobile-components-bottom-sheet.mjs +0 -5
- package/esm2022/components/index.mjs +0 -10
- package/esm2022/components/mobile-calendar/index.mjs +0 -5
- package/esm2022/components/mobile-calendar/mobile-calendar.component.mjs +0 -308
- package/esm2022/components/mobile-calendar/mobile-calendar.const.mjs +0 -35
- package/esm2022/components/mobile-calendar/mobile-calendar.providers.mjs +0 -27
- package/esm2022/components/mobile-calendar/mobile-calendar.strategy.mjs +0 -126
- package/esm2022/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.mjs +0 -5
- package/esm2022/components/mobile-calendar-dropdown/index.mjs +0 -3
- package/esm2022/components/mobile-calendar-dropdown/mobile-calendar-dropdown.component.mjs +0 -113
- package/esm2022/components/mobile-calendar-dropdown/mobile-calendar-dropdown.directive.mjs +0 -53
- package/esm2022/components/mobile-calendar-dropdown/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs +0 -5
- package/esm2022/components/mobile-calendar-sheet/index.mjs +0 -2
- package/esm2022/components/mobile-calendar-sheet/mobile-calendar-sheet.component.mjs +0 -25
- package/esm2022/components/mobile-calendar-sheet/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs +0 -5
- package/esm2022/components/mobile-dialog/index.mjs +0 -4
- package/esm2022/components/mobile-dialog/mobile-dialog.component.mjs +0 -26
- package/esm2022/components/mobile-dialog/mobile-dialog.options.mjs +0 -17
- package/esm2022/components/mobile-dialog/mobile-dialog.service.mjs +0 -22
- package/esm2022/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.mjs +0 -5
- package/esm2022/components/pull-to-refresh/index.mjs +0 -6
- package/esm2022/components/pull-to-refresh/loader-android/loader-android.component.mjs +0 -46
- package/esm2022/components/pull-to-refresh/loader-ios/loader-ios.component.mjs +0 -39
- package/esm2022/components/pull-to-refresh/pull-to-refresh.component.mjs +0 -51
- package/esm2022/components/pull-to-refresh/pull-to-refresh.providers.mjs +0 -24
- package/esm2022/components/pull-to-refresh/pull-to-refresh.service.mjs +0 -37
- package/esm2022/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.mjs +0 -5
- package/esm2022/components/sheet-dialog/index.mjs +0 -5
- package/esm2022/components/sheet-dialog/sheet-dialog.component.mjs +0 -81
- package/esm2022/components/sheet-dialog/sheet-dialog.directive.mjs +0 -21
- package/esm2022/components/sheet-dialog/sheet-dialog.options.mjs +0 -24
- package/esm2022/components/sheet-dialog/sheet-dialog.service.mjs +0 -38
- package/esm2022/components/sheet-dialog/taiga-ui-addon-mobile-components-sheet-dialog.mjs +0 -5
- package/esm2022/components/swipe-action/index.mjs +0 -3
- package/esm2022/components/swipe-action/swipe-actions-auto-close.directive.mjs +0 -34
- package/esm2022/components/swipe-action/swipe-actions.component.mjs +0 -23
- package/esm2022/components/swipe-action/taiga-ui-addon-mobile-components-swipe-action.mjs +0 -5
- package/esm2022/components/tab-bar/index.mjs +0 -5
- package/esm2022/components/tab-bar/tab-bar-item.component.mjs +0 -26
- package/esm2022/components/tab-bar/tab-bar-item.directive.mjs +0 -27
- package/esm2022/components/tab-bar/tab-bar.component.mjs +0 -46
- package/esm2022/components/tab-bar/tab-bar.mjs +0 -9
- package/esm2022/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.mjs +0 -5
- package/esm2022/components/taiga-ui-addon-mobile-components.mjs +0 -5
- package/esm2022/directives/dropdown-mobile/dropdown-mobile.component.mjs +0 -98
- package/esm2022/directives/dropdown-mobile/dropdown-mobile.directive.mjs +0 -54
- package/esm2022/directives/dropdown-mobile/index.mjs +0 -3
- package/esm2022/directives/dropdown-mobile/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs +0 -5
- package/esm2022/directives/elastic-sticky/elastic-sticky.directive.mjs +0 -23
- package/esm2022/directives/elastic-sticky/elastic-sticky.service.mjs +0 -53
- package/esm2022/directives/elastic-sticky/index.mjs +0 -3
- package/esm2022/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.mjs +0 -5
- package/esm2022/directives/index.mjs +0 -7
- package/esm2022/directives/responsive-dialog/index.mjs +0 -3
- package/esm2022/directives/responsive-dialog/responsive-dialog.directive.mjs +0 -21
- package/esm2022/directives/responsive-dialog/responsive-dialog.service.mjs +0 -34
- package/esm2022/directives/responsive-dialog/taiga-ui-addon-mobile-directives-responsive-dialog.mjs +0 -5
- package/esm2022/directives/ripple/index.mjs +0 -2
- package/esm2022/directives/ripple/ripple.directive.mjs +0 -98
- package/esm2022/directives/ripple/taiga-ui-addon-mobile-directives-ripple.mjs +0 -5
- package/esm2022/directives/sidebar/index.mjs +0 -4
- package/esm2022/directives/sidebar/sidebar.component.mjs +0 -45
- package/esm2022/directives/sidebar/sidebar.directive.mjs +0 -64
- package/esm2022/directives/sidebar/sidebar.mjs +0 -7
- package/esm2022/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.mjs +0 -5
- package/esm2022/directives/taiga-ui-addon-mobile-directives.mjs +0 -5
- package/esm2022/directives/touchable/index.mjs +0 -2
- package/esm2022/directives/touchable/taiga-ui-addon-mobile-directives-touchable.mjs +0 -5
- package/esm2022/directives/touchable/touchable.directive.mjs +0 -71
- package/esm2022/index.mjs +0 -4
- package/esm2022/services/index.mjs +0 -2
- package/esm2022/services/keyboard.service.mjs +0 -53
- package/esm2022/services/taiga-ui-addon-mobile-services.mjs +0 -5
- package/esm2022/taiga-ui-addon-mobile.mjs +0 -5
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-dialog.mjs +0 -65
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-dialog.mjs.map +0 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-sidebar.mjs +0 -114
- package/fesm2022/taiga-ui-addon-mobile-directives-sidebar.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -17,13 +17,13 @@ consisting of multiple base libraries and several add-ons
|
|
|
17
17
|
|
|
18
18
|
Install base packages:
|
|
19
19
|
|
|
20
|
-
```
|
|
20
|
+
```bash
|
|
21
21
|
npm i @taiga-ui/{cdk,core,kit}
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
Install addon-mobile:
|
|
25
25
|
|
|
26
|
-
```
|
|
26
|
+
```bash
|
|
27
27
|
npm i @taiga-ui/addon-mobile
|
|
28
28
|
```
|
|
29
29
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiBottomSheet {
|
|
3
3
|
private readonly elements;
|
|
4
|
-
private readonly content
|
|
4
|
+
private readonly content;
|
|
5
5
|
private readonly el;
|
|
6
|
-
stops: readonly string[]
|
|
6
|
+
readonly stops: import("@angular/core").InputSignal<readonly string[]>;
|
|
7
7
|
protected onScroll(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiBottomSheet, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBottomSheet, "tui-bottom-sheet", never, { "stops": { "alias": "stops"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBottomSheet, "tui-bottom-sheet", never, { "stops": { "alias": "stops"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
10
10
|
}
|
package/components/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from '@taiga-ui/addon-mobile/components/bottom-sheet';
|
|
|
2
2
|
export * from '@taiga-ui/addon-mobile/components/mobile-calendar';
|
|
3
3
|
export * from '@taiga-ui/addon-mobile/components/mobile-calendar-dropdown';
|
|
4
4
|
export * from '@taiga-ui/addon-mobile/components/mobile-calendar-sheet';
|
|
5
|
-
export * from '@taiga-ui/addon-mobile/components/mobile-dialog';
|
|
6
5
|
export * from '@taiga-ui/addon-mobile/components/pull-to-refresh';
|
|
7
6
|
export * from '@taiga-ui/addon-mobile/components/sheet-dialog';
|
|
8
7
|
export * from '@taiga-ui/addon-mobile/components/swipe-action';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
+
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { type TuiDay, type TuiDayRange } from '@taiga-ui/cdk/date-time';
|
|
4
|
+
import { type Observable } from 'rxjs';
|
|
5
|
+
export declare const TUI_CALENDAR_DATE_STREAM: InjectionToken<Observable<TuiDay | TuiDayRange | null>>;
|
|
6
|
+
export declare function tuiDateStreamWithTransformer(transformer: InjectionToken<TuiValueTransformer<any>>): Provider;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { type AfterViewInit
|
|
1
|
+
import { type AfterViewInit } from '@angular/core';
|
|
2
2
|
import { TuiDay, TuiDayRange, TuiMonth } from '@taiga-ui/cdk/date-time';
|
|
3
3
|
import { type TuiBooleanHandler, type TuiMapper } from '@taiga-ui/cdk/types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TuiMobileCalendar implements AfterViewInit {
|
|
6
|
-
private readonly
|
|
7
|
-
private readonly
|
|
8
|
-
private readonly value$;
|
|
6
|
+
private readonly yearsScroll;
|
|
7
|
+
private readonly monthsScroll;
|
|
9
8
|
private readonly today;
|
|
10
9
|
private activeYear;
|
|
11
10
|
private activeMonth;
|
|
@@ -13,15 +12,19 @@ export declare class TuiMobileCalendar implements AfterViewInit {
|
|
|
13
12
|
private readonly doc;
|
|
14
13
|
private readonly speed;
|
|
15
14
|
private readonly ngZone;
|
|
15
|
+
private readonly getYearsViewportSize;
|
|
16
|
+
private readonly initialYear;
|
|
17
|
+
private readonly initialMonth;
|
|
16
18
|
protected initialized: boolean;
|
|
17
19
|
protected readonly isIOS: boolean;
|
|
18
20
|
protected readonly isE2E: boolean;
|
|
19
21
|
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
20
|
-
protected readonly closeWord
|
|
21
|
-
protected readonly cancelWord
|
|
22
|
-
protected readonly doneWord
|
|
22
|
+
protected readonly closeWord: import("@angular/core").Signal<string>;
|
|
23
|
+
protected readonly cancelWord: import("@angular/core").Signal<string>;
|
|
24
|
+
protected readonly doneWord: import("@angular/core").Signal<string>;
|
|
25
|
+
protected readonly monthNames: 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]>;
|
|
23
26
|
protected readonly unorderedWeekDays$: import("rxjs").Observable<readonly [Monday: string, Tuesday: string, Wednesday: string, Thursday: string, Friday: string, Saturday: string, Sunday: string]>;
|
|
24
|
-
protected readonly chooseDayOrRangeTexts
|
|
27
|
+
protected readonly chooseDayOrRangeTexts: import("@angular/core").Signal<readonly [choose_day: string, choose_range: string, choose_days: string]> | null;
|
|
25
28
|
protected readonly years: number[];
|
|
26
29
|
protected readonly months: TuiMonth[];
|
|
27
30
|
/**
|
|
@@ -31,17 +34,15 @@ export declare class TuiMobileCalendar implements AfterViewInit {
|
|
|
31
34
|
* ```
|
|
32
35
|
* TODO(v5): delete it
|
|
33
36
|
*/
|
|
34
|
-
single: boolean
|
|
35
|
-
multi: boolean
|
|
36
|
-
min: TuiDay
|
|
37
|
-
max: TuiDay
|
|
38
|
-
disabledItemHandler: TuiBooleanHandler<TuiDay
|
|
39
|
-
readonly cancel:
|
|
40
|
-
readonly confirm:
|
|
41
|
-
readonly
|
|
37
|
+
readonly single: import("@angular/core").InputSignal<boolean>;
|
|
38
|
+
readonly multi: import("@angular/core").InputSignal<boolean>;
|
|
39
|
+
readonly min: import("@angular/core").InputSignal<TuiDay>;
|
|
40
|
+
readonly max: import("@angular/core").InputSignal<TuiDay>;
|
|
41
|
+
readonly disabledItemHandler: import("@angular/core").InputSignal<TuiBooleanHandler<TuiDay>>;
|
|
42
|
+
readonly cancel: import("@angular/core").OutputEmitterRef<void>;
|
|
43
|
+
readonly confirm: import("@angular/core").OutputEmitterRef<TuiDay | TuiDayRange | readonly TuiDay[]>;
|
|
44
|
+
readonly value: import("@angular/core").ModelSignal<TuiDay | TuiDayRange | readonly TuiDay[] | null>;
|
|
42
45
|
constructor();
|
|
43
|
-
set value(value: TuiDay | TuiDayRange | readonly TuiDay[] | null | undefined);
|
|
44
|
-
get value(): TuiDay | TuiDayRange | readonly TuiDay[] | null;
|
|
45
46
|
ngAfterViewInit(): void;
|
|
46
47
|
setYear(year: number): void;
|
|
47
48
|
protected get yearWidth(): number;
|
|
@@ -55,10 +56,7 @@ export declare class TuiMobileCalendar implements AfterViewInit {
|
|
|
55
56
|
TuiDay,
|
|
56
57
|
TuiDay
|
|
57
58
|
], TuiBooleanHandler<TuiDay>>;
|
|
58
|
-
private get initialYear();
|
|
59
|
-
private get initialMonth();
|
|
60
59
|
private isMultiValue;
|
|
61
|
-
private getYearsViewportSize;
|
|
62
60
|
private updateViewportDimension;
|
|
63
61
|
private lateInit;
|
|
64
62
|
private waitScrolledChange;
|
|
@@ -70,5 +68,5 @@ export declare class TuiMobileCalendar implements AfterViewInit {
|
|
|
70
68
|
private monthToYear;
|
|
71
69
|
private getMonthOffset;
|
|
72
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMobileCalendar, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiMobileCalendar, "tui-mobile-calendar", never, { "single": { "alias": "single"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "cancel": "cancel"; "confirm": "confirm"; "
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiMobileCalendar, "tui-mobile-calendar", never, { "single": { "alias": "single"; "required": false; "isSignal": true; }; "multi": { "alias": "multi"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "cancel": "cancel"; "confirm": "confirm"; "value": "valueChange"; }, never, never, true, never>;
|
|
74
72
|
}
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import { type CdkVirtualScrollViewport, type VirtualScrollStrategy } from '@angular/cdk/scrolling';
|
|
2
|
-
import { type TuiScrollService } from '@taiga-ui/cdk/services';
|
|
3
|
-
import { type Observable } from 'rxjs';
|
|
4
2
|
/**
|
|
5
|
-
* This scroll strategy is hard
|
|
3
|
+
* This scroll strategy is hard-wired with styles for iOS and Android.
|
|
6
4
|
* It is dependent on month height on those platforms and is designed to
|
|
7
5
|
* work for {@link TuiMobileCalendar} with years 1906 to 2102
|
|
8
6
|
*/
|
|
9
7
|
export declare class TuiMobileCalendarStrategy implements VirtualScrollStrategy {
|
|
10
8
|
private readonly isIOS;
|
|
11
|
-
private readonly
|
|
9
|
+
private readonly destroy$;
|
|
12
10
|
private readonly index$;
|
|
13
11
|
private viewport;
|
|
14
|
-
|
|
15
|
-
constructor(isIOS: boolean, scrollService: TuiScrollService);
|
|
16
|
-
get scrolledIndexChange(): Observable<number>;
|
|
12
|
+
readonly scrolledIndexChange: import("rxjs").Observable<number>;
|
|
17
13
|
attach(viewport: CdkVirtualScrollViewport): void;
|
|
18
14
|
detach(): void;
|
|
19
15
|
onContentScrolled(): void;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { TuiDay, TuiDayRange } from '@taiga-ui/cdk/date-time';
|
|
1
|
+
import { TuiDay, type TuiDayLike, TuiDayRange } from '@taiga-ui/cdk/date-time';
|
|
3
2
|
import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
|
4
|
-
import {
|
|
3
|
+
import { TuiMobileCalendarDropdown } from './mobile-calendar-dropdown.directive';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
import * as i1 from "@taiga-ui/cdk/directives/active-zone";
|
|
7
6
|
import * as i2 from "@taiga-ui/cdk/directives/animated";
|
|
@@ -12,29 +11,28 @@ export interface TuiMobileCalendarData {
|
|
|
12
11
|
multi?: boolean;
|
|
13
12
|
single?: boolean;
|
|
14
13
|
}
|
|
15
|
-
export declare class
|
|
14
|
+
export declare class TuiMobileCalendarDropdownComponent {
|
|
16
15
|
private readonly dropdown;
|
|
17
16
|
private readonly keyboard;
|
|
18
17
|
private readonly context;
|
|
19
18
|
private readonly observer?;
|
|
20
19
|
private readonly data;
|
|
21
|
-
|
|
20
|
+
protected selectedPeriod: TuiDayRange | null;
|
|
22
21
|
protected readonly control: any;
|
|
23
|
-
protected readonly directive:
|
|
24
|
-
protected readonly range: boolean;
|
|
22
|
+
protected readonly directive: TuiMobileCalendarDropdown | null;
|
|
25
23
|
protected readonly multi: boolean;
|
|
24
|
+
protected readonly range: boolean;
|
|
26
25
|
protected readonly single: boolean;
|
|
27
26
|
protected readonly value: import("@angular/core").Signal<TuiDay | TuiDayRange | null>;
|
|
28
27
|
constructor();
|
|
29
28
|
max(): TuiDay;
|
|
30
29
|
min(): TuiDay;
|
|
31
30
|
onValueChange(value: TuiDay | TuiDayRange | readonly TuiDay[] | null): void;
|
|
32
|
-
protected get
|
|
31
|
+
protected get handler(): TuiBooleanHandler<TuiDay>;
|
|
33
32
|
protected close(): void;
|
|
34
33
|
protected confirm(value: TuiDay | TuiDayRange | readonly TuiDay[]): void;
|
|
35
|
-
|
|
34
|
+
protected readonly mapper: (disabledItemHandler: TuiBooleanHandler<TuiDay>, value: TuiDayRange | null, minLength?: TuiDayLike | null) => TuiBooleanHandler<TuiDay>;
|
|
36
35
|
private is;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMobileCalendarDropdownComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiMobileCalendarDropdownComponent, "tui-mobile-calendar-dropdown", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiActiveZone; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAnimated; inputs: {}; outputs: {}; }]>;
|
|
39
38
|
}
|
|
40
|
-
export declare function tuiProvideMobileCalendar(): ValueProvider;
|
|
@@ -4,12 +4,12 @@ import { type TuiInputDateBase, TuiInputDateDirective } from '@taiga-ui/kit/comp
|
|
|
4
4
|
import { TuiInputDateRangeDirective } from '@taiga-ui/kit/components/input-date-range';
|
|
5
5
|
import { TuiInputDateTimeDirective } from '@taiga-ui/kit/components/input-date-time';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class
|
|
8
|
-
readonly single
|
|
9
|
-
readonly range
|
|
10
|
-
readonly dateTime
|
|
7
|
+
export declare class TuiMobileCalendarDropdown {
|
|
8
|
+
readonly single: import("@angular/core").Signal<TuiInputDateDirective | undefined>;
|
|
9
|
+
readonly range: import("@angular/core").Signal<TuiInputDateRangeDirective | undefined>;
|
|
10
|
+
readonly dateTime: import("@angular/core").Signal<TuiInputDateTimeDirective | undefined>;
|
|
11
11
|
readonly handlers: TuiItemsHandlersDirective<any>;
|
|
12
12
|
get date(): TuiInputDateBase<readonly [TuiDay, TuiTime | null]> | TuiInputDateBase<TuiDay> | TuiInputDateBase<TuiDayRange> | undefined;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMobileCalendarDropdown, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiMobileCalendarDropdown, "[tuiMobileCalendar]", never, {}, {}, ["single", "range", "dateTime"], never, true, never>;
|
|
15
15
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { type TuiContext, type TuiHandler } from '@taiga-ui/cdk/types';
|
|
2
2
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
-
import { type Observable } from 'rxjs';
|
|
4
|
-
import { TuiPullToRefreshService } from './pull-to-refresh.service';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class TuiPullToRefresh {
|
|
7
5
|
private readonly isIOS;
|
|
8
6
|
private readonly threshold;
|
|
9
|
-
|
|
7
|
+
private readonly service;
|
|
8
|
+
private readonly el;
|
|
9
|
+
protected readonly pulling: import("@angular/core").Signal<number>;
|
|
10
10
|
protected readonly component: PolymorpheusContent<TuiContext<number>>;
|
|
11
|
-
protected readonly
|
|
12
|
-
|
|
13
|
-
readonly
|
|
11
|
+
protected readonly style: import("@angular/core").Signal<Record<string, unknown> | null>;
|
|
12
|
+
protected readonly dropped: import("@angular/core").Signal<boolean | undefined>;
|
|
13
|
+
readonly styleHandler: import("@angular/core").InputSignal<TuiHandler<number, Record<string, unknown> | null>>;
|
|
14
|
+
readonly pulled: import("@angular/core").OutputRef<number>;
|
|
14
15
|
constructor();
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPullToRefresh, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPullToRefresh, "tui-pull-to-refresh", never, { "styleHandler": { "alias": "styleHandler"; "required": false; }; }, { "pulled": "pulled"; }, never, ["*"], true, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPullToRefresh, "tui-pull-to-refresh", never, { "styleHandler": { "alias": "styleHandler"; "required": false; "isSignal": true; }; }, { "pulled": "pulled"; }, never, ["*"], true, never>;
|
|
17
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AfterViewInit } from '@angular/core';
|
|
2
|
-
import { type
|
|
2
|
+
import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { type TuiSheetDialogOptions } from './sheet-dialog.options';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -8,7 +8,7 @@ export declare class TuiSheetDialogComponent<I> implements AfterViewInit {
|
|
|
8
8
|
private readonly stops;
|
|
9
9
|
private readonly el;
|
|
10
10
|
private pointers;
|
|
11
|
-
protected readonly context:
|
|
11
|
+
protected readonly context: TuiPortalContext<TuiSheetDialogOptions<I>, any>;
|
|
12
12
|
protected readonly close$: Subject<void>;
|
|
13
13
|
protected readonly $: import("rxjs").Subscription;
|
|
14
14
|
ngAfterViewInit(): void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
|
|
2
1
|
import { type TuiSheetDialogOptions } from './sheet-dialog.options';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
3
|
+
import * as i1 from "@taiga-ui/cdk/portals";
|
|
4
|
+
export declare class TuiSheetDialog {
|
|
5
|
+
readonly tuiSheetDialogOptions: import("@angular/core").InputSignal<Partial<TuiSheetDialogOptions<undefined>>>;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetDialog, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSheetDialog, "ng-template[tuiSheetDialog]", never, { "
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSheetDialog, "ng-template[tuiSheetDialog]", never, { "tuiSheetDialogOptions": { "alias": "tuiSheetDialogOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "options": "tuiSheetDialogOptions"; "open": "tuiSheetDialog"; }; outputs: { "openChange": "tuiSheetDialogChange"; }; }]>;
|
|
7
8
|
}
|
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
3
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
1
|
import { type Observable } from 'rxjs';
|
|
5
2
|
export interface TuiSheetDialogOptions<I = undefined> {
|
|
6
3
|
readonly appearance: string;
|
|
7
|
-
readonly
|
|
8
|
-
readonly data: I;
|
|
4
|
+
readonly closable: Observable<boolean> | boolean;
|
|
5
|
+
readonly data: I extends void ? undefined : I;
|
|
9
6
|
readonly initial: number;
|
|
10
|
-
readonly label:
|
|
7
|
+
readonly label: string;
|
|
11
8
|
readonly offset: number;
|
|
12
9
|
readonly stops: readonly string[];
|
|
13
10
|
readonly bar: boolean;
|
|
14
|
-
/** @deprecated add 'fullscreen' in appearance string */
|
|
15
|
-
readonly fullscreen: boolean;
|
|
16
11
|
readonly required: boolean;
|
|
17
12
|
}
|
|
18
13
|
export declare const TUI_SHEET_DIALOG_DEFAULT_OPTIONS: TuiSheetDialogOptions;
|
|
19
14
|
/**
|
|
20
15
|
* Default parameters for mobile dialog component
|
|
21
16
|
*/
|
|
22
|
-
export declare const TUI_SHEET_DIALOG_OPTIONS: InjectionToken<TuiSheetDialogOptions<undefined
|
|
23
|
-
export declare function tuiSheetDialogOptionsProvider(options: Partial<TuiSheetDialogOptions>): Provider;
|
|
17
|
+
export declare const TUI_SHEET_DIALOG_OPTIONS: import("@angular/core").InjectionToken<TuiSheetDialogOptions<undefined>>, tuiSheetDialogOptionsProvider: (item: Partial<TuiSheetDialogOptions<undefined>> | (() => Partial<TuiSheetDialogOptions<undefined>>)) => import("@angular/core").FactoryProvider;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type TuiModalComponent, TuiModalService } from '@taiga-ui/core/portals/modal';
|
|
2
|
+
import { type PolymorpheusComponent } from '@taiga-ui/polymorpheus';
|
|
3
|
+
import { TuiSheetDialogComponent } from './sheet-dialog.component';
|
|
2
4
|
import { type TuiSheetDialogOptions } from './sheet-dialog.options';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiSheetDialogService extends
|
|
6
|
+
export declare class TuiSheetDialogService extends TuiModalService<TuiSheetDialogOptions<any>> {
|
|
5
7
|
private readonly theme;
|
|
6
|
-
private initial;
|
|
7
|
-
|
|
8
|
+
private readonly initial;
|
|
9
|
+
private count;
|
|
10
|
+
protected readonly options: TuiSheetDialogOptions<undefined>;
|
|
11
|
+
protected readonly content: typeof TuiSheetDialogComponent;
|
|
12
|
+
protected add(component: PolymorpheusComponent<TuiModalComponent<TuiSheetDialogOptions>>): () => void;
|
|
8
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetDialogService, never>;
|
|
9
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<TuiSheetDialogService>;
|
|
10
15
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiSwipeActionsAutoClose {
|
|
3
3
|
private readonly el;
|
|
4
|
-
autoClose:
|
|
4
|
+
readonly autoClose: import("@angular/core").InputSignal<string | boolean>;
|
|
5
5
|
protected handleEvent(event: Event): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSwipeActionsAutoClose, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSwipeActionsAutoClose, "tui-swipe-actions[autoClose]", never, { "autoClose": { "alias": "autoClose"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSwipeActionsAutoClose, "tui-swipe-actions[autoClose]", never, { "autoClose": { "alias": "autoClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiTabBarItem {
|
|
3
|
-
icon: string
|
|
4
|
-
badge
|
|
3
|
+
readonly icon: import("@angular/core").InputSignal<string>;
|
|
4
|
+
readonly badge: import("@angular/core").InputSignal<number | undefined>;
|
|
5
5
|
protected format(value: number): string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTabBarItem, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTabBarItem, "button[tuiTabBarItem], a[tuiTabBarItem]", never, { "icon": { "alias": "icon"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTabBarItem, "button[tuiTabBarItem], a[tuiTabBarItem]", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
8
8
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class TuiTabBarComponent {
|
|
4
3
|
private readonly tabs;
|
|
5
|
-
quantity: number
|
|
6
|
-
activeItemIndex: number
|
|
7
|
-
|
|
8
|
-
setActive(tab: EventTarget): void;
|
|
9
|
-
protected get style(): string;
|
|
4
|
+
readonly quantity: import("@angular/core").InputSignal<number>;
|
|
5
|
+
readonly activeItemIndex: import("@angular/core").ModelSignal<number>;
|
|
6
|
+
setActive(tab: Element): void;
|
|
10
7
|
private updateIndex;
|
|
11
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTabBarComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTabBarComponent, "nav[tuiTabBar]", never, { "quantity": { "alias": "quantity"; "required": false; }; "activeItemIndex": { "alias": "activeItemIndex"; "required": false; }; }, { "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTabBarComponent, "nav[tuiTabBar]", never, { "quantity": { "alias": "quantity"; "required": false; "isSignal": true; }; "activeItemIndex": { "alias": "activeItemIndex"; "required": false; "isSignal": true; }; }, { "activeItemIndex": "activeItemIndexChange"; }, ["tabs"], ["*"], true, never>;
|
|
13
10
|
}
|
|
@@ -1,27 +1,23 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import {
|
|
3
|
-
import { TuiDropdownDirective } from '@taiga-ui/core/directives/dropdown';
|
|
4
|
-
import { TuiDropdownMobile } from './dropdown-mobile.directive';
|
|
1
|
+
import { type OnDestroy } from '@angular/core';
|
|
2
|
+
import { TuiDropdownDirective } from '@taiga-ui/core/portals/dropdown';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@taiga-ui/cdk/directives/
|
|
7
|
-
import * as i2 from "@taiga-ui/cdk/directives/
|
|
8
|
-
export declare class TuiDropdownMobileComponent implements OnDestroy
|
|
4
|
+
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
5
|
+
import * as i2 from "@taiga-ui/cdk/directives/active-zone";
|
|
6
|
+
export declare class TuiDropdownMobileComponent implements OnDestroy {
|
|
9
7
|
private readonly el;
|
|
10
8
|
private readonly keyboard;
|
|
11
9
|
private readonly doc;
|
|
12
10
|
private readonly scrollTop;
|
|
13
11
|
private readonly observer;
|
|
14
|
-
protected readonly directive: TuiDropdownMobile;
|
|
15
12
|
protected readonly dropdown: TuiDropdownDirective;
|
|
13
|
+
protected readonly context: {
|
|
14
|
+
$implicit: () => void;
|
|
15
|
+
};
|
|
16
16
|
constructor();
|
|
17
|
-
ngAfterViewInit(): void;
|
|
18
17
|
ngOnDestroy(): void;
|
|
19
|
-
protected readonly close: () => void;
|
|
20
18
|
protected onClick(event: MouseEvent): void;
|
|
21
|
-
protected
|
|
22
|
-
protected onIntersection({ isIntersecting }: IntersectionObserverEntry): void;
|
|
23
|
-
protected refresh({ offsetTop, height }: VisualViewport): void;
|
|
19
|
+
protected refresh(): void;
|
|
24
20
|
private get focused();
|
|
25
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownMobileComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDropdownMobileComponent, "tui-dropdown-mobile", never, {}, {}, never, never, true, [{ directive: typeof i1.
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDropdownMobileComponent, "tui-dropdown-mobile", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiActiveZone; inputs: {}; outputs: {}; }]>;
|
|
27
23
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiDropdownMobile {
|
|
3
3
|
private readonly isMobile;
|
|
4
|
-
tuiDropdownMobile: string;
|
|
5
4
|
protected onMouseDown(event: MouseEvent): void;
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownMobile, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownMobile, "[tuiDropdownMobile]", never, {
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownMobile, "[tuiDropdownMobile]", never, {}, {}, never, never, true, never>;
|
|
8
7
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TuiDropdownDirective } from '@taiga-ui/core/portals/dropdown';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TuiDropdownSheetComponent {
|
|
4
|
+
private readonly content;
|
|
5
|
+
private readonly dialogs;
|
|
6
|
+
private readonly directive;
|
|
7
|
+
protected readonly dropdown: TuiDropdownDirective;
|
|
8
|
+
protected readonly context: {
|
|
9
|
+
$implicit: () => void;
|
|
10
|
+
};
|
|
11
|
+
protected readonly sub: import("rxjs").Subscription;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownSheetComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDropdownSheetComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TuiDropdownSheet {
|
|
3
|
+
readonly tuiDropdownSheet: import("@angular/core").InputSignal<string>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownSheet, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownSheet, "[tuiDropdownSheet]", never, { "tuiDropdownSheet": { "alias": "tuiDropdownSheet"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { TuiElasticStickyService } from './elastic-sticky.service';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class TuiElasticSticky {
|
|
4
|
-
readonly tuiElasticSticky:
|
|
3
|
+
readonly tuiElasticSticky: import("@angular/core").OutputRef<number>;
|
|
5
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiElasticSticky, never>;
|
|
6
5
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiElasticSticky, "[tuiElasticSticky]", ["tuiElasticSticky"], {}, { "tuiElasticSticky": "tuiElasticSticky"; }, never, never, true, never>;
|
|
7
6
|
}
|
package/directives/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from '@taiga-ui/addon-mobile/directives/dropdown-mobile';
|
|
2
|
+
export * from '@taiga-ui/addon-mobile/directives/dropdown-sheet';
|
|
2
3
|
export * from '@taiga-ui/addon-mobile/directives/elastic-sticky';
|
|
3
4
|
export * from '@taiga-ui/addon-mobile/directives/responsive-dialog';
|
|
4
5
|
export * from '@taiga-ui/addon-mobile/directives/ripple';
|
|
5
|
-
export * from '@taiga-ui/addon-mobile/directives/sidebar';
|
|
6
6
|
export * from '@taiga-ui/addon-mobile/directives/touchable';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
|
|
2
1
|
import { type TuiResponsiveDialogOptions } from './responsive-dialog.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import * as i1 from "@taiga-ui/cdk/portals";
|
|
4
|
+
export declare class TuiResponsiveDialog<T> {
|
|
5
|
+
readonly tuiResponsiveDialogOptions: import("@angular/core").InputSignal<Partial<TuiResponsiveDialogOptions<T>>>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiResponsiveDialog<any>, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiResponsiveDialog<any>, "ng-template[tuiResponsiveDialog]", never, { "tuiResponsiveDialogOptions": { "alias": "tuiResponsiveDialogOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "options": "tuiResponsiveDialogOptions"; "open": "tuiResponsiveDialog"; }; outputs: { "openChange": "tuiResponsiveDialogChange"; }; }]>;
|
|
7
8
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { type TuiSheetDialogOptions } from '@taiga-ui/addon-mobile/components/sheet-dialog';
|
|
2
|
-
import { type
|
|
2
|
+
import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
|
|
3
|
+
import { type TuiDialogOptions } from '@taiga-ui/core/portals/dialog';
|
|
3
4
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
5
|
import { type Observable } from 'rxjs';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface TuiResponsiveDialogOptions<I = undefined> extends
|
|
7
|
-
readonly data: I extends void ? undefined : I & {
|
|
8
|
-
button?: string;
|
|
9
|
-
};
|
|
10
|
-
readonly label: PolymorpheusContent;
|
|
7
|
+
export interface TuiResponsiveDialogOptions<I = undefined> extends TuiDialogOptions<I>, TuiSheetDialogOptions<I> {
|
|
11
8
|
}
|
|
12
9
|
/**
|
|
13
10
|
* Same as `TuiDialogService` but automatically switches to `TuiSheetDialogService` on mobile
|
|
@@ -16,7 +13,7 @@ export declare class TuiResponsiveDialogService {
|
|
|
16
13
|
private readonly isMobile;
|
|
17
14
|
private readonly dialogs;
|
|
18
15
|
private readonly sheets;
|
|
19
|
-
open<G = void>(content: PolymorpheusContent<
|
|
16
|
+
open<G = void>(content: PolymorpheusContent<TuiPortalContext<TuiResponsiveDialogOptions, G>>, options?: Partial<TuiResponsiveDialogOptions<any>>): Observable<G>;
|
|
20
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiResponsiveDialogService, never>;
|
|
21
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<TuiResponsiveDialogService>;
|
|
22
19
|
}
|
|
@@ -2,11 +2,11 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class TuiRipple {
|
|
3
3
|
private readonly doc;
|
|
4
4
|
private readonly destroyRef;
|
|
5
|
-
private readonly
|
|
5
|
+
private readonly duration;
|
|
6
6
|
protected readonly nothing: undefined;
|
|
7
|
-
tuiRipple: string
|
|
7
|
+
readonly tuiRipple: import("@angular/core").InputSignal<string>;
|
|
8
8
|
protected start(x: number, y: number, target: HTMLElement, el: HTMLElement): void;
|
|
9
9
|
private createRipple;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRipple, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiRipple, "[tuiRipple]", never, { "tuiRipple": { "alias": "tuiRipple"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiRipple, "[tuiRipple]", never, { "tuiRipple": { "alias": "tuiRipple"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare function tuiFindTouchIndex(touches: TouchList, id: number): number;
|
|
3
2
|
export declare class TuiTouchable {
|
|
4
3
|
private readonly isIOS;
|
|
5
4
|
private readonly el;
|
|
6
|
-
|
|
5
|
+
private readonly doc;
|
|
6
|
+
protected readonly style: import("@angular/core").Signal<"background" | "opacity" | "transform">;
|
|
7
|
+
readonly tuiTouchable: import("@angular/core").InputSignal<"" | "background" | "opacity" | "transform">;
|
|
7
8
|
constructor();
|
|
8
|
-
|
|
9
|
-
private hasTouchLeft;
|
|
9
|
+
private hasTouches;
|
|
10
10
|
private onTouchStart;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTouchable, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTouchable, "[tuiTouchable]", never, { "tuiTouchable": { "alias": "tuiTouchable"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTouchable, "[tuiTouchable]", never, { "tuiTouchable": { "alias": "tuiTouchable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|