@taiga-ui/legacy 4.52.0-canary.a4e325d → 4.52.0-canary.a59c4d0
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/combo-box/combo-box.module.d.ts +1 -1
- package/components/dialog/dialog.component.d.ts +20 -0
- package/components/dialog/dialog.directive.d.ts +7 -0
- package/components/dialog/dialog.factory.d.ts +16 -0
- package/components/dialog/dialog.interfaces.d.ts +31 -0
- package/components/dialog/dialog.service.d.ts +7 -0
- package/components/dialog/dialog.tokens.d.ts +8 -0
- package/components/dialog/index.d.ts +6 -0
- package/components/index.d.ts +2 -15
- package/components/input/input.module.d.ts +1 -1
- package/components/input-date-range/input-date-range.module.d.ts +1 -1
- package/components/input-date-time/input-date-time.module.d.ts +1 -1
- package/components/input-month-range/input-month-range.module.d.ts +1 -1
- package/components/input-range/input-range.component.d.ts +1 -1
- package/components/input-tag/input-tag.module.d.ts +1 -1
- package/components/multi-select/multi-select.module.d.ts +1 -1
- package/components/pdf-viewer/index.d.ts +4 -0
- package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +7 -0
- package/components/pdf-viewer/pdf-viewer.options.d.ts +13 -0
- package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
- package/components/select/select.module.d.ts +1 -1
- package/fesm2022/taiga-ui-legacy-classes.mjs +21 -21
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +23 -25
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs +130 -0
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +24 -24
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +26 -26
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +12 -12
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +21 -21
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +25 -25
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +18 -19
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +22 -22
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +14 -15
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +47 -47
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +83 -0
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +28 -28
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +8 -8
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +33 -34
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tag.mjs +13 -14
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +23 -23
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +2 -15
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +34 -34
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy.mjs +0 -2
- package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
- package/index.d.ts +0 -2
- package/package.json +16 -88
- package/utils/icons-path-factory.d.ts +1 -1
- package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
- package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
- package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
- package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
- package/components/color-selector/color-selector.component.d.ts +0 -47
- package/components/color-selector/color-selector.module.d.ts +0 -24
- package/components/color-selector/color-selector.options.d.ts +0 -25
- package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
- package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
- package/components/color-selector/index.d.ts +0 -16
- package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
- package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
- package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
- package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
- package/components/color-selector/palette/palette.component.d.ts +0 -10
- package/components/color-selector/palette/palette.module.d.ts +0 -13
- package/components/color-selector/services/picker.service.d.ts +0 -15
- package/components/input-color/index.d.ts +0 -2
- package/components/input-color/input-color.component.d.ts +0 -30
- package/components/input-color/input-color.module.d.ts +0 -17
- package/components/input-copy/index.d.ts +0 -4
- package/components/input-copy/input-copy.component.d.ts +0 -33
- package/components/input-copy/input-copy.directive.d.ts +0 -11
- package/components/input-copy/input-copy.module.d.ts +0 -18
- package/components/input-copy/input-copy.options.d.ts +0 -26
- package/components/input-date/index.d.ts +0 -3
- package/components/input-date/input-date.component.d.ts +0 -62
- package/components/input-date/input-date.directive.d.ts +0 -19
- package/components/input-date/input-date.module.d.ts +0 -24
- package/components/input-date/native-date/native-date.component.d.ts +0 -15
- package/components/input-date-multi/index.d.ts +0 -2
- package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
- package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
- package/components/input-month/index.d.ts +0 -3
- package/components/input-month/input-month.component.d.ts +0 -44
- package/components/input-month/input-month.directive.d.ts +0 -19
- package/components/input-month/input-month.module.d.ts +0 -19
- package/components/input-password/index.d.ts +0 -4
- package/components/input-password/input-password.component.d.ts +0 -33
- package/components/input-password/input-password.directive.d.ts +0 -15
- package/components/input-password/input-password.module.d.ts +0 -19
- package/components/input-password/input-password.options.d.ts +0 -25
- package/components/input-phone/index.d.ts +0 -4
- package/components/input-phone/input-phone.component.d.ts +0 -49
- package/components/input-phone/input-phone.directive.d.ts +0 -13
- package/components/input-phone/input-phone.module.d.ts +0 -12
- package/components/input-phone/input-phone.options.d.ts +0 -13
- package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
- package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
- package/components/input-phone/utils/index.d.ts +0 -2
- package/components/input-phone-international/index.d.ts +0 -3
- package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
- package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
- package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
- package/components/input-time/index.d.ts +0 -4
- package/components/input-time/input-time.component.d.ts +0 -62
- package/components/input-time/input-time.directive.d.ts +0 -17
- package/components/input-time/input-time.module.d.ts +0 -23
- package/components/input-time/input-time.options.d.ts +0 -42
- package/components/input-time/native-time/native-time.component.d.ts +0 -12
- package/components/input-year/index.d.ts +0 -3
- package/components/input-year/input-year.component.d.ts +0 -36
- package/components/input-year/input-year.directive.d.ts +0 -14
- package/components/input-year/input-year.module.d.ts +0 -18
- package/components/island/index.d.ts +0 -1
- package/components/island/island.directive.d.ts +0 -20
- package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
- package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
- package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -11
- package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
- package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
- package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
- package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
- package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
- package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
- package/components/sheet/index.d.ts +0 -14
- package/components/sheet/sheet-options.d.ts +0 -27
- package/components/sheet/sheet-tokens.d.ts +0 -18
- package/components/sheet/sheet.d.ts +0 -21
- package/components/sheet/sheet.directive.d.ts +0 -17
- package/components/sheet/sheet.module.d.ts +0 -24
- package/components/sheet/sheet.service.d.ts +0 -17
- package/components/svg/content-processor.d.ts +0 -19
- package/components/svg/deprecated-icons.d.ts +0 -5
- package/components/svg/index.d.ts +0 -5
- package/components/svg/svg-options.d.ts +0 -50
- package/components/svg/svg.component.d.ts +0 -50
- package/components/svg/svg.service.d.ts +0 -21
- package/components/table-bar/index.d.ts +0 -4
- package/components/table-bar/table-bar.component.d.ts +0 -17
- package/components/table-bar/table-bar.directive.d.ts +0 -11
- package/components/table-bar/table-bar.options.d.ts +0 -31
- package/components/table-bar/table-bars-host.component.d.ts +0 -10
- package/components/table-bar/table-bars.service.d.ts +0 -11
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
- package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -577
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
- package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
- package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
- package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
- package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
- package/pipes/format-phone/index.d.ts +0 -1
- package/pipes/index.d.ts +0 -3
- package/pipes/iso-to-country-code/index.d.ts +0 -1
- package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
- package/pipes/to-country-code/index.d.ts +0 -1
- package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
- package/services/index.d.ts +0 -1
- package/services/static-request.service.d.ts +0 -11
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type TuiSizeL, type TuiSizeM, type TuiSizeS } from '@taiga-ui/core/types';
|
|
4
|
-
import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
|
|
5
|
-
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
6
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
7
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
|
|
12
|
-
* https://taiga-ui.dev/components/input-phone-international
|
|
13
|
-
*/
|
|
14
|
-
export declare class TuiInputPhoneInternationalComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
15
|
-
private readonly inputPhoneComponent?;
|
|
16
|
-
private readonly primitiveTextfield?;
|
|
17
|
-
private readonly options;
|
|
18
|
-
private readonly extractCountryCodePipe;
|
|
19
|
-
private readonly textfieldSize;
|
|
20
|
-
protected open: boolean;
|
|
21
|
-
protected readonly countriesNames$: import("rxjs").Observable<Record<TuiCountryIsoCode, string>>;
|
|
22
|
-
protected readonly countriesMasks: Record<TuiCountryIsoCode, string>;
|
|
23
|
-
protected readonly arrow: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
|
|
24
|
-
countries: readonly TuiCountryIsoCode[];
|
|
25
|
-
readonly countryIsoCodeChange: EventEmitter<TuiCountryIsoCode>;
|
|
26
|
-
countryIsoCode: TuiCountryIsoCode;
|
|
27
|
-
set isoCode(code: TuiCountryIsoCode);
|
|
28
|
-
get nativeFocusableElement(): HTMLElement | null;
|
|
29
|
-
get focused(): boolean;
|
|
30
|
-
get inputPhoneCountryCode(): string;
|
|
31
|
-
get phoneMaskAfterCountryCode(): string;
|
|
32
|
-
onPaste(event: ClipboardEvent | DragEvent): void;
|
|
33
|
-
onItemClick(isoCode: TuiCountryIsoCode): void;
|
|
34
|
-
setDisabledState(): void;
|
|
35
|
-
protected get size(): TuiSizeL | TuiSizeS;
|
|
36
|
-
protected onActiveZone(active: boolean): void;
|
|
37
|
-
protected getFallbackValue(): string;
|
|
38
|
-
private calculateMaskAfterCountryCode;
|
|
39
|
-
private close;
|
|
40
|
-
private updateCountryIsoCode;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneInternationalComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneInternationalComponent, "tui-input-phone-international", never, { "countries": { "alias": "countries"; "required": false; }; "isoCode": { "alias": "countryIsoCode"; "required": false; }; }, { "countryIsoCodeChange": "countryIsoCodeChange"; }, never, ["*"], true, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
|
|
43
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
|
|
5
|
-
* https://taiga-ui.dev/components/input-phone-international
|
|
6
|
-
*/
|
|
7
|
-
export interface TuiInputPhoneInternationalOptions {
|
|
8
|
-
readonly countries: readonly TuiCountryIsoCode[];
|
|
9
|
-
readonly countryIsoCode: TuiCountryIsoCode;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
|
|
13
|
-
* https://taiga-ui.dev/components/input-phone-international
|
|
14
|
-
*/
|
|
15
|
-
export declare const TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS: TuiInputPhoneInternationalOptions;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
|
|
18
|
-
* https://taiga-ui.dev/components/input-phone-international
|
|
19
|
-
*/
|
|
20
|
-
export declare const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS: InjectionToken<TuiInputPhoneInternationalOptions>;
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
|
|
23
|
-
* https://taiga-ui.dev/components/input-phone-international
|
|
24
|
-
*/
|
|
25
|
-
export declare function tuiInputPhoneInternationalOptionsProvider(options: Partial<TuiInputPhoneInternationalOptions>): Provider;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { type MaskitoOptions } from '@maskito/core';
|
|
2
|
-
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
3
|
-
import { TuiTime, type TuiTimeMode } from '@taiga-ui/cdk/date-time';
|
|
4
|
-
import { type TuiBooleanHandler, type TuiIdentityMatcher } from '@taiga-ui/cdk/types';
|
|
5
|
-
import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
|
|
6
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
7
|
-
import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
|
|
8
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
9
|
-
import { type Observable } from 'rxjs';
|
|
10
|
-
import { type TuiInputTimeOptions } from './input-time.options';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
13
|
-
/**
|
|
14
|
-
* TODO(v5): delete it
|
|
15
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
|
|
16
|
-
*/
|
|
17
|
-
export declare class TuiInputTimeComponent extends AbstractTuiNullableControl<TuiTime> implements TuiFocusableElementAccessor, TuiDataListHost<TuiTime> {
|
|
18
|
-
private readonly textfield?;
|
|
19
|
-
private readonly timeTexts$;
|
|
20
|
-
private readonly options;
|
|
21
|
-
private readonly isMobile;
|
|
22
|
-
private readonly isIOS;
|
|
23
|
-
private readonly textfieldSize;
|
|
24
|
-
protected readonly valueTransformer: TuiValueTransformer<TuiTime | null> | null;
|
|
25
|
-
protected open: boolean;
|
|
26
|
-
disabledItemHandler: TuiBooleanHandler<TuiTime>;
|
|
27
|
-
items: readonly TuiTime[];
|
|
28
|
-
itemsHidden: boolean;
|
|
29
|
-
itemSize: TuiInputTimeOptions['itemSize'];
|
|
30
|
-
strict: boolean;
|
|
31
|
-
mode: TuiInputTimeOptions['mode'];
|
|
32
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
33
|
-
get inputMode(): string;
|
|
34
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
35
|
-
get focused(): boolean;
|
|
36
|
-
get computedValue(): string;
|
|
37
|
-
get nativeValue(): string;
|
|
38
|
-
set nativeValue(value: string);
|
|
39
|
-
readonly identityMatcher: TuiIdentityMatcher<TuiTime>;
|
|
40
|
-
checkOption(option: TuiTime): void;
|
|
41
|
-
handleOption(item: TuiTime): void;
|
|
42
|
-
writeValue(value: TuiTime | null): void;
|
|
43
|
-
onValueChange(value: string): void;
|
|
44
|
-
protected get canOpen(): boolean;
|
|
45
|
-
protected get filtered(): readonly TuiTime[];
|
|
46
|
-
protected get showNativePicker(): boolean;
|
|
47
|
-
protected get nativeDatalist(): boolean;
|
|
48
|
-
protected get maskOptions(): MaskitoOptions;
|
|
49
|
-
protected get computedSearch(): string;
|
|
50
|
-
protected get innerPseudoFocused(): boolean | null;
|
|
51
|
-
protected get icon(): TuiInputTimeOptions['icon'];
|
|
52
|
-
protected getFiller$(mode: TuiTimeMode): Observable<string>;
|
|
53
|
-
protected onFocused(focused: boolean): void;
|
|
54
|
-
protected onOpen(open: boolean): void;
|
|
55
|
-
private get nativePicker();
|
|
56
|
-
private calculateMask;
|
|
57
|
-
private filter;
|
|
58
|
-
private findNearestTimeFromItems;
|
|
59
|
-
private focusInput;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTimeComponent, "tui-input-time", never, { "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemsHidden": { "alias": "itemsHidden"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
|
|
62
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type TuiTime, type TuiTimeMode } from '@taiga-ui/cdk/date-time';
|
|
2
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
-
import { type TuiInputTimeComponent } from './input-time.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* TODO(v5): delete it
|
|
7
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
|
|
8
|
-
*/
|
|
9
|
-
export declare class TuiInputTimeDirective extends AbstractTuiTextfieldHost<TuiInputTimeComponent> {
|
|
10
|
-
get value(): string;
|
|
11
|
-
get mode(): TuiTimeMode;
|
|
12
|
-
get items(): readonly TuiTime[];
|
|
13
|
-
onValueChange(value: string): void;
|
|
14
|
-
process(input: HTMLInputElement): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputTimeDirective, "tui-input-time", never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-time.component";
|
|
3
|
-
import * as i2 from "./native-time/native-time.component";
|
|
4
|
-
import * as i3 from "./input-time.directive";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "@maskito/angular";
|
|
7
|
-
import * as i6 from "@taiga-ui/legacy/components/select-option";
|
|
8
|
-
import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
9
|
-
import * as i8 from "@taiga-ui/legacy/directives";
|
|
10
|
-
import * as i9 from "@taiga-ui/polymorpheus";
|
|
11
|
-
import * as i10 from "@taiga-ui/core/components/icon";
|
|
12
|
-
import * as i11 from "@taiga-ui/core/directives/appearance";
|
|
13
|
-
import * as i12 from "@taiga-ui/core/directives/dropdown";
|
|
14
|
-
import * as i13 from "@taiga-ui/core/components/data-list";
|
|
15
|
-
/**
|
|
16
|
-
* TODO(v5): delete it
|
|
17
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
|
|
18
|
-
*/
|
|
19
|
-
export declare class TuiInputTimeModule {
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTimeModule, [typeof i1.TuiInputTimeComponent, typeof i2.TuiNativeTimeComponent, typeof i3.TuiInputTimeDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.TuiSelectOptionModule, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiValueAccessorModule, typeof i8.TuiTextfieldControllerModule, typeof i9.PolymorpheusOutlet, typeof i9.PolymorpheusTemplate, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiIcon, typeof i11.TuiAppearance, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup], [typeof i1.TuiInputTimeComponent, typeof i3.TuiInputTimeDirective, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup]>;
|
|
22
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputTimeModule>;
|
|
23
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { type TuiTimeMode } from '@taiga-ui/cdk/date-time';
|
|
3
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
4
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
5
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
|
-
/**
|
|
7
|
-
* TODO(v5): delete it
|
|
8
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
|
|
9
|
-
*/
|
|
10
|
-
export interface TuiInputTimeOptions {
|
|
11
|
-
readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
12
|
-
readonly itemSize: TuiSizeL | TuiSizeS;
|
|
13
|
-
readonly maxValues: Record<TuiTimeFormatParts, number>;
|
|
14
|
-
readonly mode: TuiTimeMode;
|
|
15
|
-
readonly nativePicker?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* TODO(v5): delete it
|
|
19
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
|
|
20
|
-
*/
|
|
21
|
-
export type TuiTimeFormatParts = 'HH' | 'MM' | 'MS' | 'SS';
|
|
22
|
-
/**
|
|
23
|
-
* TODO(v5): delete it
|
|
24
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
|
|
25
|
-
*/
|
|
26
|
-
export declare const MAX_TIME_VALUES: Record<TuiTimeFormatParts, number>;
|
|
27
|
-
/**
|
|
28
|
-
* TODO(v5): delete it
|
|
29
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
|
|
30
|
-
*/
|
|
31
|
-
export declare const TUI_INPUT_TIME_DEFAULT_OPTIONS: TuiInputTimeOptions;
|
|
32
|
-
/**
|
|
33
|
-
* TODO(v5): delete it
|
|
34
|
-
* Default parameters for InputTime component
|
|
35
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
|
|
36
|
-
*/
|
|
37
|
-
export declare const TUI_INPUT_TIME_OPTIONS: InjectionToken<TuiInputTimeOptions>;
|
|
38
|
-
/**
|
|
39
|
-
* TODO(v5): delete it
|
|
40
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
|
|
41
|
-
*/
|
|
42
|
-
export declare function tuiInputTimeOptionsProvider(options: Partial<TuiInputTimeOptions>): Provider;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TuiInputTimeDirective } from '../input-time.directive';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiNativeTimeComponent {
|
|
4
|
-
protected readonly host: TuiInputTimeDirective;
|
|
5
|
-
protected readonly autoId: string;
|
|
6
|
-
protected get items(): string[];
|
|
7
|
-
protected get value(): string;
|
|
8
|
-
protected get step(): number;
|
|
9
|
-
protected onChange(value: string): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeTimeComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeTimeComponent, "input[tuiTime]", never, {}, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { type MaskitoOptions } from '@maskito/core';
|
|
2
|
-
import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
4
|
-
import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
5
|
-
import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
|
|
6
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* TODO(v5): delete it
|
|
10
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-year TuiInputYear} (from @taiga-ui/kit) instead
|
|
11
|
-
*/
|
|
12
|
-
export declare class TuiInputYearComponent extends AbstractTuiNullableControl<number> implements TuiFocusableElementAccessor {
|
|
13
|
-
private readonly textfield?;
|
|
14
|
-
private readonly options;
|
|
15
|
-
private readonly textfieldSize;
|
|
16
|
-
protected open: boolean;
|
|
17
|
-
protected readonly initialItem: number;
|
|
18
|
-
min: number | null;
|
|
19
|
-
max: number | null;
|
|
20
|
-
disabledItemHandler: TuiBooleanHandler<number>;
|
|
21
|
-
nativeValue: string;
|
|
22
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
23
|
-
get focused(): boolean;
|
|
24
|
-
onValueChange(value: string): void;
|
|
25
|
-
writeValue(value: number | null): void;
|
|
26
|
-
protected get size(): TuiSizeL | TuiSizeS;
|
|
27
|
-
protected get calendarIcon(): TuiInputDateOptions['icon'];
|
|
28
|
-
protected getMaskOptions(min: number | null, max: number | null): MaskitoOptions;
|
|
29
|
-
protected onYearClick(year: number): void;
|
|
30
|
-
protected onFocused(focused: boolean): void;
|
|
31
|
-
protected onOpenChange(open: boolean): void;
|
|
32
|
-
protected toggle(): void;
|
|
33
|
-
private updateNativeValue;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputYearComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputYearComponent, "tui-input-year", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
|
|
36
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
2
|
-
import { type TuiInputYearComponent } from './input-year.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* TODO(v5): delete it
|
|
6
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-year TuiInputYear} (from @taiga-ui/kit) instead
|
|
7
|
-
*/
|
|
8
|
-
export declare class TuiInputYearDirective extends AbstractTuiTextfieldHost<TuiInputYearComponent> {
|
|
9
|
-
get value(): string;
|
|
10
|
-
onValueChange(value: string): void;
|
|
11
|
-
process(input: HTMLInputElement): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputYearDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputYearDirective, "tui-input-year", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-year.component";
|
|
3
|
-
import * as i2 from "./input-year.directive";
|
|
4
|
-
import * as i3 from "@maskito/angular";
|
|
5
|
-
import * as i4 from "@taiga-ui/core/directives/dropdown";
|
|
6
|
-
import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
7
|
-
import * as i6 from "@taiga-ui/core/components/scrollbar";
|
|
8
|
-
import * as i7 from "@taiga-ui/core/components/calendar";
|
|
9
|
-
import * as i8 from "@taiga-ui/legacy/directives";
|
|
10
|
-
/**
|
|
11
|
-
* TODO(v5): delete it
|
|
12
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-year TuiInputYear} (from @taiga-ui/kit) instead
|
|
13
|
-
*/
|
|
14
|
-
export declare class TuiInputYearModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputYearModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputYearModule, [typeof i1.TuiInputYearComponent, typeof i2.TuiInputYearDirective], [typeof i3.MaskitoDirective, typeof i4.TuiDropdownOpen, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiScrollbar, typeof i7.TuiCalendarYear, typeof i8.TuiTextfieldControllerModule, typeof i4.TuiDropdownOptionsDirective, typeof i4.TuiDropdownDriverDirective, typeof i4.TuiDropdownDirective, typeof i4.TuiDropdownComponent, typeof i4.TuiDropdownOpen, typeof i4.TuiDropdownOpenLegacy, typeof i4.TuiDropdownPortal, typeof i4.TuiDropdownManual, typeof i4.TuiDropdownHover, typeof i4.TuiDropdownContext, typeof i4.TuiDropdownPosition, typeof i4.TuiDropdownPositionSided, typeof i4.TuiDropdownSelection], [typeof i1.TuiInputYearComponent, typeof i2.TuiInputYearDirective, typeof i5.TuiTextfieldComponent, typeof i4.TuiDropdownOptionsDirective, typeof i4.TuiDropdownDriverDirective, typeof i4.TuiDropdownDirective, typeof i4.TuiDropdownComponent, typeof i4.TuiDropdownOpen, typeof i4.TuiDropdownOpenLegacy, typeof i4.TuiDropdownPortal, typeof i4.TuiDropdownManual, typeof i4.TuiDropdownHover, typeof i4.TuiDropdownContext, typeof i4.TuiDropdownPosition, typeof i4.TuiDropdownPositionSided, typeof i4.TuiDropdownSelection]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputYearModule>;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './island.directive';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated: drop in v5.0 use {@link TuiCardLarge}
|
|
5
|
-
* https://taiga-ui.dev/layout/card-large
|
|
6
|
-
*/
|
|
7
|
-
export declare class TuiIslandDirective {
|
|
8
|
-
size: TuiSizeL | TuiSizeS;
|
|
9
|
-
textAlign: 'center' | 'left' | 'right';
|
|
10
|
-
hoverable: boolean;
|
|
11
|
-
transparent: boolean;
|
|
12
|
-
protected get sizeS(): boolean;
|
|
13
|
-
protected get sizeM(): boolean;
|
|
14
|
-
protected get sizeL(): boolean;
|
|
15
|
-
protected get textAlignLeft(): boolean;
|
|
16
|
-
protected get textAlignCenter(): boolean;
|
|
17
|
-
protected get textAlignRight(): boolean;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiIslandDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiIslandDirective, "tui-island, a[tuiIsland]", never, { "size": { "alias": "size"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { type AfterViewInit } from '@angular/core';
|
|
2
|
-
import { type TuiSheet, type TuiSheetRequiredProps } from '../../sheet';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiSheetComponent<T> implements TuiSheetRequiredProps<T>, AfterViewInit {
|
|
5
|
-
private readonly sheet?;
|
|
6
|
-
private readonly content?;
|
|
7
|
-
private readonly stopsRefs;
|
|
8
|
-
private readonly destroyRef;
|
|
9
|
-
private readonly scroll$;
|
|
10
|
-
private readonly el;
|
|
11
|
-
private readonly zone;
|
|
12
|
-
protected id: string;
|
|
13
|
-
protected readonly isIos: boolean;
|
|
14
|
-
protected readonly moreWord$: import("rxjs").Observable<string>;
|
|
15
|
-
protected readonly stuck$: import("rxjs").Observable<boolean>;
|
|
16
|
-
protected readonly stuck$$: import("rxjs").Subscription;
|
|
17
|
-
item: TuiSheet<T>;
|
|
18
|
-
get context(): TuiSheet<T>;
|
|
19
|
-
get stops(): readonly number[];
|
|
20
|
-
get imageStop(): number;
|
|
21
|
-
get imageHeight(): number;
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
protected onId(id: string): void;
|
|
24
|
-
protected scrollTo(top?: number): void;
|
|
25
|
-
protected close(): void;
|
|
26
|
-
private get contentTop();
|
|
27
|
-
private get sheetTop();
|
|
28
|
-
private getStops;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetComponent<any>, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSheetComponent<any>, "tui-sheet", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TuiSheetBarComponent {
|
|
3
|
-
private readonly sheet;
|
|
4
|
-
private readonly scroll$;
|
|
5
|
-
private readonly zone;
|
|
6
|
-
protected readonly rotate$: import("rxjs").Observable<number>;
|
|
7
|
-
protected getTransform(rotate: number): string;
|
|
8
|
-
private get stop();
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetBarComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSheetBarComponent, "tui-sheet-bar", never, {}, {}, never, ["*"], false, never>;
|
|
11
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type AfterViewInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const TUI_SHEET_CLOSE = "tui-sheet-close";
|
|
4
|
-
export declare const TUI_SHEET_ID = "tui-sheet-id";
|
|
5
|
-
export declare class TuiSheetHeadingComponent implements AfterViewInit {
|
|
6
|
-
private readonly el;
|
|
7
|
-
protected readonly closeWord$: import("rxjs").Observable<string>;
|
|
8
|
-
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
9
|
-
protected readonly autoId: string;
|
|
10
|
-
ngAfterViewInit(): void;
|
|
11
|
-
protected onClick(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetHeadingComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSheetHeadingComponent, "[tuiSheetHeading]", never, {}, {}, never, ["*"], false, never>;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type OnInit } from '@angular/core';
|
|
2
|
-
import { type TuiSheet } from '../../sheet';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiSheetsHostComponent implements OnInit {
|
|
5
|
-
private readonly service;
|
|
6
|
-
private readonly destroyRef;
|
|
7
|
-
private readonly cdr;
|
|
8
|
-
protected readonly height$: import("rxjs").Observable<number>;
|
|
9
|
-
protected sheets: ReadonlyArray<TuiSheet<any>>;
|
|
10
|
-
protected readonly options: import("@angular/animations").AnimationOptions;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
protected close({ closeable, $implicit }: TuiSheet<unknown>): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetsHostComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSheetsHostComponent, "tui-sheets-host", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiSheetCloseDirective {
|
|
4
|
-
private readonly zone;
|
|
5
|
-
private readonly dragged$;
|
|
6
|
-
private readonly scroll$;
|
|
7
|
-
private readonly win;
|
|
8
|
-
private readonly el;
|
|
9
|
-
private readonly sheet;
|
|
10
|
-
readonly close: Observable<unknown>;
|
|
11
|
-
private shouldClose;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetCloseDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSheetCloseDirective, "tui-sheet[close]", never, {}, { "close": "close"; }, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TuiSheetStopDirective {
|
|
3
|
-
private readonly scrollRef;
|
|
4
|
-
private readonly destroyRef;
|
|
5
|
-
private readonly el;
|
|
6
|
-
protected readonly $: import("rxjs").Subscription;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetStopDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSheetStopDirective, "[tuiSheetStop]", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TuiSheetTopDirective {
|
|
3
|
-
private readonly scroll$;
|
|
4
|
-
private readonly component;
|
|
5
|
-
private readonly win;
|
|
6
|
-
private readonly el;
|
|
7
|
-
protected readonly rounded$: import("rxjs").Subscription;
|
|
8
|
-
protected readonly transform$: import("rxjs").Subscription;
|
|
9
|
-
protected readonly clickthrough$: import("rxjs").Subscription;
|
|
10
|
-
stop: number;
|
|
11
|
-
private getY;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetTopDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSheetTopDirective, "[tuiSheetTop]", never, { "stop": { "alias": "tuiSheetTop"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiSheetWrapperDirective {
|
|
4
|
-
private readonly sheet?;
|
|
5
|
-
private readonly dragged$;
|
|
6
|
-
private readonly scroll$;
|
|
7
|
-
private readonly zone;
|
|
8
|
-
private readonly win;
|
|
9
|
-
tuiSheetWrapper: number;
|
|
10
|
-
get overlay$(): Observable<boolean>;
|
|
11
|
-
get visible$(): Observable<boolean>;
|
|
12
|
-
get height$(): Observable<number | null>;
|
|
13
|
-
private getHeight;
|
|
14
|
-
private withImage;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetWrapperDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSheetWrapperDirective, "[tuiSheetWrapper]", ["tuiSheetWrapper"], { "tuiSheetWrapper": { "alias": "tuiSheetWrapper"; "required": false; }; }, {}, ["sheet", "dragged$", "scroll$"], never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from './components/sheet/sheet.component';
|
|
2
|
-
export * from './components/sheet/sheet.providers';
|
|
3
|
-
export * from './components/sheet-bar/sheet-bar.component';
|
|
4
|
-
export * from './components/sheet-heading/sheet-heading.component';
|
|
5
|
-
export * from './components/sheets-host/sheets-host.component';
|
|
6
|
-
export * from './directives/sheet-close/sheet-close.directive';
|
|
7
|
-
export * from './directives/sheet-stop/sheet-stop.directive';
|
|
8
|
-
export * from './directives/sheet-top/sheet-top.directive';
|
|
9
|
-
export * from './directives/sheet-wrapper/sheet-wrapper.directive';
|
|
10
|
-
export type * from './sheet';
|
|
11
|
-
export * from './sheet.directive';
|
|
12
|
-
export * from './sheet.module';
|
|
13
|
-
export * from './sheet.service';
|
|
14
|
-
export * from './sheet-options';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
-
import { type TuiSheet } from './sheet';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
6
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
7
|
-
*/
|
|
8
|
-
export interface TuiSheetOptions<I = undefined, O = unknown> {
|
|
9
|
-
readonly closeable: boolean;
|
|
10
|
-
readonly data: I;
|
|
11
|
-
readonly image: PolymorpheusContent<TuiSheet<O, I>>;
|
|
12
|
-
readonly imageSlide: boolean;
|
|
13
|
-
readonly initial: number;
|
|
14
|
-
readonly offset: number;
|
|
15
|
-
readonly overlay: boolean;
|
|
16
|
-
readonly stops: readonly string[];
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
20
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
21
|
-
*/
|
|
22
|
-
export declare const TUI_SHEET_DEFAULT_OPTIONS: Omit<TuiSheetOptions, 'data'>;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
25
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
26
|
-
*/
|
|
27
|
-
export declare const TUI_SHEET_OPTIONS: InjectionToken<Omit<TuiSheetOptions<undefined, unknown>, "data">>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { type Observable } from 'rxjs';
|
|
3
|
-
import { type TuiSheetRequiredProps } from './sheet';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
6
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
7
|
-
*/
|
|
8
|
-
export declare const TUI_SHEET: InjectionToken<TuiSheetRequiredProps<unknown>>;
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
11
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
12
|
-
*/
|
|
13
|
-
export declare const TUI_SHEET_SCROLL: InjectionToken<Observable<number>>;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
16
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
17
|
-
*/
|
|
18
|
-
export declare const TUI_SHEET_DRAGGED: InjectionToken<Observable<boolean>>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
2
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
-
import { type Observable, type Observer } from 'rxjs';
|
|
4
|
-
import { type TuiSheetOptions } from './sheet-options';
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
7
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
8
|
-
*/
|
|
9
|
-
export interface TuiSheet<O, I = undefined> extends TuiSheetOptions<I, O>, TuiContext<Observer<O>> {
|
|
10
|
-
completeWith(value: O): void;
|
|
11
|
-
readonly content: PolymorpheusContent<TuiSheet<O, I>>;
|
|
12
|
-
readonly scroll$: Observable<number>;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
16
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
17
|
-
*/
|
|
18
|
-
export interface TuiSheetRequiredProps<T = unknown> {
|
|
19
|
-
item: TuiSheet<T>;
|
|
20
|
-
stops: readonly number[];
|
|
21
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
2
|
-
import { type TuiSheet } from './sheet';
|
|
3
|
-
import { type TuiSheetOptions } from './sheet-options';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated: use {@link TuiSheetDialog}
|
|
7
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
8
|
-
*/
|
|
9
|
-
export declare class TuiSheetDirective extends PolymorpheusTemplate<TuiSheet<never>> {
|
|
10
|
-
private readonly service;
|
|
11
|
-
private readonly open$;
|
|
12
|
-
options: Partial<TuiSheetOptions>;
|
|
13
|
-
readonly tuiSheetChange: import("rxjs").Observable<boolean>;
|
|
14
|
-
set tuiSheet(open: boolean);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSheetDirective, "ng-template[tuiSheet]", never, { "options": { "alias": "tuiSheetOptions"; "required": false; }; "tuiSheet": { "alias": "tuiSheet"; "required": false; }; }, { "tuiSheetChange": "tuiSheetChange"; }, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/sheets-host/sheets-host.component";
|
|
3
|
-
import * as i2 from "./components/sheet/sheet.component";
|
|
4
|
-
import * as i3 from "./components/sheet-bar/sheet-bar.component";
|
|
5
|
-
import * as i4 from "./components/sheet-heading/sheet-heading.component";
|
|
6
|
-
import * as i5 from "./directives/sheet-top/sheet-top.directive";
|
|
7
|
-
import * as i6 from "./sheet.directive";
|
|
8
|
-
import * as i7 from "./directives/sheet-wrapper/sheet-wrapper.directive";
|
|
9
|
-
import * as i8 from "./directives/sheet-close/sheet-close.directive";
|
|
10
|
-
import * as i9 from "./directives/sheet-stop/sheet-stop.directive";
|
|
11
|
-
import * as i10 from "@angular/common";
|
|
12
|
-
import * as i11 from "@taiga-ui/polymorpheus";
|
|
13
|
-
import * as i12 from "@taiga-ui/cdk/directives/let";
|
|
14
|
-
import * as i13 from "@taiga-ui/core/components/button";
|
|
15
|
-
import * as i14 from "@taiga-ui/core/components/scrollbar";
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated: use {@link TuiSheetDialog}
|
|
18
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
19
|
-
*/
|
|
20
|
-
export declare class TuiSheetModule {
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSheetModule, [typeof i1.TuiSheetsHostComponent, typeof i2.TuiSheetComponent, typeof i3.TuiSheetBarComponent, typeof i4.TuiSheetHeadingComponent, typeof i5.TuiSheetTopDirective, typeof i6.TuiSheetDirective, typeof i7.TuiSheetWrapperDirective, typeof i8.TuiSheetCloseDirective, typeof i9.TuiSheetStopDirective], [typeof i10.CommonModule, typeof i11.PolymorpheusOutlet, typeof i11.PolymorpheusTemplate, typeof i12.TuiLet, typeof i13.TuiButton, typeof i14.TuiScrollbar], [typeof i1.TuiSheetsHostComponent, typeof i2.TuiSheetComponent, typeof i4.TuiSheetHeadingComponent, typeof i6.TuiSheetDirective]>;
|
|
23
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiSheetModule>;
|
|
24
|
-
}
|