@taiga-ui/legacy 4.52.0-canary.ece97e9 → 4.52.0-canary.efbd0d4
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 +1 -1
- package/components/dialog/dialog.component.d.ts +5 -5
- package/components/dialog/dialog.directive.d.ts +4 -3
- package/components/dialog/dialog.interfaces.d.ts +3 -4
- package/components/dialog/dialog.service.d.ts +5 -2
- package/components/dialog/dialog.tokens.d.ts +1 -3
- package/components/index.d.ts +1 -17
- package/components/mobile-dialog/index.d.ts +3 -0
- package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
- package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
- package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
- package/components/pdf-viewer/pdf-viewer.component.d.ts +2 -2
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -3
- package/components/pdf-viewer/pdf-viewer.options.d.ts +1 -3
- package/components/pdf-viewer/pdf-viewer.service.d.ts +7 -3
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs +40 -33
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
- package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +34 -28
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +1 -17
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy.mjs +0 -4
- package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
- package/index.d.ts +0 -4
- package/package.json +19 -114
- package/classes/abstract-native-select.d.ts +0 -22
- package/classes/abstract-textfield-host.d.ts +0 -19
- package/classes/control.d.ts +0 -60
- package/classes/controller.d.ts +0 -9
- package/classes/index.d.ts +0 -9
- package/classes/interactive.d.ts +0 -34
- package/classes/multiple-control.d.ts +0 -11
- package/classes/named-day.d.ts +0 -11
- package/classes/nullable-control.d.ts +0 -10
- package/classes/stringifiable-item.d.ts +0 -11
- package/components/arrow/arrow.component.d.ts +0 -17
- package/components/arrow/arrow.options.d.ts +0 -19
- package/components/arrow/arrow.providers.d.ts +0 -23
- package/components/arrow/index.d.ts +0 -3
- package/components/input/index.d.ts +0 -3
- package/components/input/input.component.d.ts +0 -32
- package/components/input/input.directive.d.ts +0 -12
- package/components/input/input.module.d.ts +0 -16
- package/components/input-date-range/index.d.ts +0 -3
- package/components/input-date-range/input-date-range.component.d.ts +0 -67
- package/components/input-date-range/input-date-range.directive.d.ts +0 -16
- package/components/input-date-range/input-date-range.module.d.ts +0 -21
- package/components/input-date-time/index.d.ts +0 -3
- package/components/input-date-time/input-date-time.component.d.ts +0 -88
- package/components/input-date-time/input-date-time.directive.d.ts +0 -17
- package/components/input-date-time/input-date-time.module.d.ts +0 -23
- package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
- package/components/input-month-range/index.d.ts +0 -3
- package/components/input-month-range/input-month-range.component.d.ts +0 -38
- package/components/input-month-range/input-month-range.directive.d.ts +0 -23
- package/components/input-month-range/input-month-range.module.d.ts +0 -18
- package/components/input-number/index.d.ts +0 -4
- package/components/input-number/input-number.component.d.ts +0 -63
- package/components/input-number/input-number.directive.d.ts +0 -16
- package/components/input-number/input-number.module.d.ts +0 -18
- package/components/input-number/input-number.options.d.ts +0 -29
- package/components/input-range/index.d.ts +0 -2
- package/components/input-range/input-range.component.d.ts +0 -56
- package/components/input-range/input-range.module.d.ts +0 -19
- package/components/input-slider/index.d.ts +0 -2
- package/components/input-slider/input-slider.component.d.ts +0 -42
- package/components/input-slider/input-slider.module.d.ts +0 -18
- package/components/input-tag/index.d.ts +0 -3
- package/components/input-tag/input-tag.component.d.ts +0 -103
- package/components/input-tag/input-tag.module.d.ts +0 -22
- package/components/input-tag/input-tag.options.d.ts +0 -27
- package/components/multi-select/hide-selected.pipe.d.ts +0 -11
- package/components/multi-select/index.d.ts +0 -10
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
- package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
- package/components/multi-select/multi-select.component.d.ts +0 -71
- package/components/multi-select/multi-select.directive.d.ts +0 -14
- package/components/multi-select/multi-select.module.d.ts +0 -30
- package/components/multi-select/multi-select.options.d.ts +0 -14
- package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
- package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
- package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
- package/components/multi-select-option/index.d.ts +0 -2
- package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
- package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
- package/components/primitive-textfield/index.d.ts +0 -7
- package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
- package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
- package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
- package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
- package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
- package/components/select/index.d.ts +0 -6
- package/components/select/native-select/native-select-group.component.d.ts +0 -17
- package/components/select/native-select/native-select.component.d.ts +0 -16
- package/components/select/select.component.d.ts +0 -45
- package/components/select/select.directive.d.ts +0 -16
- package/components/select/select.module.d.ts +0 -24
- package/components/select/select.options.d.ts +0 -25
- package/components/select-option/index.d.ts +0 -2
- package/components/select-option/select-option.component.d.ts +0 -27
- package/components/select-option/select-option.module.d.ts +0 -10
- package/components/tag/index.d.ts +0 -3
- package/components/tag/tag.component.d.ts +0 -44
- package/components/tag/tag.module.d.ts +0 -16
- package/components/tag/tag.options.d.ts +0 -27
- package/components/textarea/index.d.ts +0 -3
- package/components/textarea/textarea.component.d.ts +0 -54
- package/components/textarea/textarea.directive.d.ts +0 -12
- package/components/textarea/textarea.module.d.ts +0 -21
- package/components/tooltip/index.d.ts +0 -2
- package/components/tooltip/tooltip.component.d.ts +0 -12
- package/components/tooltip/tooltip.module.d.ts +0 -13
- package/directives/index.d.ts +0 -5
- package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
- package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
- package/directives/textfield-controller/index.d.ts +0 -14
- package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
- package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
- package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
- package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
- package/directives/textfield-controller/textfield.controller.d.ts +0 -41
- package/directives/textfield-controller/textfield.options.d.ts +0 -19
- package/directives/unfinished-validator/index.d.ts +0 -2
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
- package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
- package/directives/value-accessor/index.d.ts +0 -3
- package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
- package/directives/value-accessor/value-accessor.module.d.ts +0 -7
- package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
- package/directives/wrapper/README.md +0 -19
- package/directives/wrapper/index.d.ts +0 -2
- package/directives/wrapper/wrapper.directive.d.ts +0 -22
- package/directives/wrapper/wrapper.module.d.ts +0 -10
- package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -352
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -686
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -353
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -49
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
- package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-utils.mjs +0 -262
- package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
- package/styles/mixins/mixins.less +0 -239
- package/styles/mixins/mixins.scss +0 -224
- package/styles/mixins/textfield.less +0 -324
- package/styles/mixins/textfield.scss +0 -308
- package/styles/taiga-ui-local.less +0 -3
- package/styles/taiga-ui-local.scss +0 -3
- package/tokens/countries-masks.d.ts +0 -9
- package/tokens/focusable-item-accessor.d.ts +0 -25
- package/tokens/fonts-ready.d.ts +0 -6
- package/tokens/icons.d.ts +0 -6
- package/tokens/index.d.ts +0 -14
- package/tokens/is-apple.d.ts +0 -6
- package/tokens/is-chromium.d.ts +0 -6
- package/tokens/is-firefox.d.ts +0 -6
- package/tokens/is-stackblitz.d.ts +0 -5
- package/tokens/month-formatter.d.ts +0 -10
- package/tokens/sanitizer.d.ts +0 -6
- package/tokens/textfield-appearance.d.ts +0 -7
- package/tokens/textfield-host.d.ts +0 -23
- package/tokens/touch-supported.d.ts +0 -5
- package/tokens/value-accessor.d.ts +0 -7
- package/utils/capitalize-first-letter.d.ts +0 -4
- package/utils/date-mode-maskito-adapter.d.ts +0 -6
- package/utils/format-phone.d.ts +0 -30
- package/utils/get-border.d.ts +0 -5
- package/utils/get-max-allowed-phone-length.d.ts +0 -24
- package/utils/get-safe-area-size.d.ts +0 -7
- package/utils/icons-path-factory.d.ts +0 -13
- package/utils/index.d.ts +0 -13
- package/utils/is-presumed-html-string.d.ts +0 -4
- package/utils/iso-to-country-code.d.ts +0 -13
- package/utils/not-kz-region.d.ts +0 -20
- package/utils/process-icon.d.ts +0 -4
- package/utils/specific-dropdown-controllers.d.ts +0 -4
- package/utils/status.d.ts +0 -4
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
5
|
-
*/
|
|
6
|
-
export interface TuiArrowOptions {
|
|
7
|
-
readonly iconLarge: PolymorpheusContent;
|
|
8
|
-
readonly iconSmall: PolymorpheusContent;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
12
|
-
*/
|
|
13
|
-
export declare const TUI_ARROW_DEFAULT_OPTIONS: TuiArrowOptions;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated: drop in v5.0
|
|
16
|
-
* Default parameters for arrow component
|
|
17
|
-
*/
|
|
18
|
-
export declare const TUI_ARROW_OPTIONS: InjectionToken<TuiArrowOptions>;
|
|
19
|
-
export declare function tuiArrowOptionsProvider(options: Partial<TuiArrowOptions>): Provider;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } 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 PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
7
|
-
*/
|
|
8
|
-
export interface TuiArrowMode {
|
|
9
|
-
readonly disabled: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
|
|
10
|
-
readonly interactive: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
14
|
-
*/
|
|
15
|
-
export declare const TUI_ARROW_DEFAULT_MODE: TuiArrowMode;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
18
|
-
*/
|
|
19
|
-
export declare const TUI_ARROW_MODE: InjectionToken<TuiArrowMode>;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
22
|
-
*/
|
|
23
|
-
export declare function tuiArrowModeProvider(options: Partial<TuiArrowMode>): Provider;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
|
|
2
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
|
|
4
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/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
|
-
* TODO(v5): delete it
|
|
12
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
|
|
13
|
-
*/
|
|
14
|
-
export declare class TuiInputComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
|
|
15
|
-
private readonly dropdown?;
|
|
16
|
-
private readonly textfield?;
|
|
17
|
-
private readonly textfieldSize;
|
|
18
|
-
protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
|
|
19
|
-
open: boolean;
|
|
20
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
21
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
22
|
-
get focused(): boolean;
|
|
23
|
-
handleOption(item: unknown): void;
|
|
24
|
-
onValueChange(value: string): void;
|
|
25
|
-
protected get canOpen(): boolean;
|
|
26
|
-
protected onActiveZone(active: boolean): void;
|
|
27
|
-
protected getFallbackValue(): string;
|
|
28
|
-
private focusInput;
|
|
29
|
-
private setNativeValue;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputComponent, "tui-input", never, {}, {}, ["datalist"], ["*", "input"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
|
|
32
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
2
|
-
import { type TuiInputComponent } from './input.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/textfield TuiTextfield} (from @taiga-ui/core) instead
|
|
7
|
-
*/
|
|
8
|
-
export declare class TuiInputDirective extends AbstractTuiTextfieldHost<TuiInputComponent> {
|
|
9
|
-
onValueChange(value: string): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDirective, "tui-input", never, {}, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input.component";
|
|
3
|
-
import * as i2 from "./input.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@taiga-ui/legacy/directives";
|
|
6
|
-
import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
7
|
-
import * as i6 from "@taiga-ui/core/directives/dropdown";
|
|
8
|
-
/**
|
|
9
|
-
* TODO(v5): delete it
|
|
10
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
|
|
11
|
-
*/
|
|
12
|
-
export declare class TuiInputModule {
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputModule, [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective], [typeof i3.CommonModule, typeof i4.TuiLegacyDropdownOpenMonitorDirective, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiDropdownOptionsDirective, typeof i6.TuiDropdownDriverDirective, typeof i6.TuiDropdownDirective, typeof i6.TuiDropdownComponent, typeof i6.TuiDropdownOpen, typeof i6.TuiDropdownOpenLegacy, typeof i6.TuiDropdownManual, typeof i6.TuiDropdownHover, typeof i6.TuiDropdownContent, typeof i6.TuiDropdownContext, typeof i6.TuiDropdownPosition, typeof i6.TuiDropdownPositionSided, typeof i6.TuiDropdownSelection], [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective, typeof i5.TuiTextfieldComponent, typeof i6.TuiDropdownOptionsDirective, typeof i6.TuiDropdownDriverDirective, typeof i6.TuiDropdownDirective, typeof i6.TuiDropdownComponent, typeof i6.TuiDropdownOpen, typeof i6.TuiDropdownOpenLegacy, typeof i6.TuiDropdownManual, typeof i6.TuiDropdownHover, typeof i6.TuiDropdownContent, typeof i6.TuiDropdownContext, typeof i6.TuiDropdownPosition, typeof i6.TuiDropdownPositionSided, typeof i6.TuiDropdownSelection]>;
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputModule>;
|
|
16
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { type MaskitoOptions } from '@maskito/core';
|
|
2
|
-
import { type TuiDateMode, type TuiDay, type TuiDayLike, TuiDayRange, TuiMonth } from '@taiga-ui/cdk/date-time';
|
|
3
|
-
import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
|
4
|
-
import { type TuiMarkerHandler } from '@taiga-ui/core/components/calendar';
|
|
5
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
6
|
-
import { type TuiDayRangePeriod } from '@taiga-ui/kit/components/calendar-range';
|
|
7
|
-
import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
8
|
-
import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
|
|
9
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
10
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* TODO(v5): delete it
|
|
14
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-range TuiInputDateRange} (from @taiga-ui/kit) instead
|
|
15
|
-
*/
|
|
16
|
-
export declare class TuiInputDateRangeComponent extends AbstractTuiNullableControl<TuiDayRange> implements TuiFocusableElementAccessor {
|
|
17
|
-
private readonly textfield?;
|
|
18
|
-
private readonly isMobile;
|
|
19
|
-
private readonly mobileCalendar;
|
|
20
|
-
private readonly options;
|
|
21
|
-
private readonly textfieldSize;
|
|
22
|
-
private readonly nativeValue;
|
|
23
|
-
protected readonly dateTexts$: import("rxjs").Observable<Record<TuiDateMode, string>>;
|
|
24
|
-
protected readonly valueTransformer: import("@taiga-ui/cdk/classes").TuiValueTransformer<TuiDayRange | null, unknown> | null;
|
|
25
|
-
protected readonly dateFiller$: import("rxjs").Observable<string>;
|
|
26
|
-
protected dateFormat: import("@taiga-ui/core/tokens").TuiDateFormatSettings;
|
|
27
|
-
protected readonly dateFormat$: import("rxjs").Subscription;
|
|
28
|
-
protected selectedActivePeriod: TuiDayRangePeriod | null;
|
|
29
|
-
disabledItemHandler: TuiBooleanHandler<TuiDay>;
|
|
30
|
-
markerHandler: TuiMarkerHandler | null;
|
|
31
|
-
defaultViewedMonth: TuiMonth;
|
|
32
|
-
items: readonly TuiDayRangePeriod[];
|
|
33
|
-
min: TuiDay | null;
|
|
34
|
-
max: TuiDay | null;
|
|
35
|
-
minLength: TuiDayLike | null;
|
|
36
|
-
maxLength: TuiDayLike | null;
|
|
37
|
-
open: boolean;
|
|
38
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
39
|
-
get focused(): boolean;
|
|
40
|
-
get computedExampleText(): string;
|
|
41
|
-
get computedValue(): string;
|
|
42
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
43
|
-
onClick(): void;
|
|
44
|
-
onValueChange(value: string): void;
|
|
45
|
-
onRangeChange(range: TuiDayRange | null): void;
|
|
46
|
-
writeValue(value: TuiDayRange | null): void;
|
|
47
|
-
protected get computedMobile(): boolean;
|
|
48
|
-
protected get calendarIcon(): TuiInputDateOptions['icon'];
|
|
49
|
-
protected get computedMask(): MaskitoOptions;
|
|
50
|
-
protected get activePeriod(): TuiDayRangePeriod | null;
|
|
51
|
-
protected get showValueTemplate(): boolean;
|
|
52
|
-
protected get computedContent(): PolymorpheusContent;
|
|
53
|
-
protected get innerPseudoFocused(): boolean | null;
|
|
54
|
-
protected getComputedRangeFiller(dateFiller: string): string;
|
|
55
|
-
protected onIconClick(): void;
|
|
56
|
-
protected onOpenChange(open: boolean): void;
|
|
57
|
-
protected onActiveZone(focused: boolean): void;
|
|
58
|
-
protected valueIdenticalComparator(oldValue: TuiDayRange | null, newValue: TuiDayRange | null): boolean;
|
|
59
|
-
private get itemSelected();
|
|
60
|
-
private calculateMask;
|
|
61
|
-
private toggle;
|
|
62
|
-
private focusInput;
|
|
63
|
-
private getDateRangeFiller;
|
|
64
|
-
private findActivePeriodBy;
|
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateRangeComponent, "tui-input-date-range", never, { "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "markerHandler": { "alias": "markerHandler"; "required": false; }; "defaultViewedMonth": { "alias": "defaultViewedMonth"; "required": false; }; "items": { "alias": "items"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
|
|
67
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type DoCheck } from '@angular/core';
|
|
2
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
-
import { type TuiInputDateRangeComponent } from './input-date-range.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-date-range TuiInputDateRange} (from @taiga-ui/kit) instead
|
|
8
|
-
*/
|
|
9
|
-
export declare class TuiInputDateRangeDirective extends AbstractTuiTextfieldHost<TuiInputDateRangeComponent> implements DoCheck {
|
|
10
|
-
get value(): string;
|
|
11
|
-
onValueChange(value: string): void;
|
|
12
|
-
process(input: HTMLInputElement): void;
|
|
13
|
-
ngDoCheck(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDateRangeDirective, "tui-input-date-range", never, {}, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-date-range.component";
|
|
3
|
-
import * as i2 from "./input-date-range.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@maskito/angular";
|
|
6
|
-
import * as i5 from "@taiga-ui/polymorpheus";
|
|
7
|
-
import * as i6 from "@taiga-ui/core/directives/appearance";
|
|
8
|
-
import * as i7 from "@taiga-ui/kit/components/calendar-range";
|
|
9
|
-
import * as i8 from "@taiga-ui/core/components/icon";
|
|
10
|
-
import * as i9 from "@taiga-ui/legacy/directives";
|
|
11
|
-
import * as i10 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
12
|
-
import * as i11 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-date-range TuiInputDateRange} (from @taiga-ui/kit) instead
|
|
16
|
-
*/
|
|
17
|
-
export declare class TuiInputDateRangeModule {
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateRangeModule, [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective], [typeof i3.CommonModule, typeof i4.MaskitoDirective, typeof i5.PolymorpheusOutlet, typeof i5.PolymorpheusTemplate, typeof i6.TuiAppearance, typeof i7.TuiCalendarRange, typeof i8.TuiIcon, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiPrimitiveTextfieldModule, typeof i9.TuiTextfieldControllerModule, typeof i9.TuiValueAccessorModule, typeof i11.TuiDropdownOptionsDirective, typeof i11.TuiDropdownDriverDirective, typeof i11.TuiDropdownDirective, typeof i11.TuiDropdownComponent, typeof i11.TuiDropdownOpen, typeof i11.TuiDropdownOpenLegacy, typeof i11.TuiDropdownManual, typeof i11.TuiDropdownHover, typeof i11.TuiDropdownContent, typeof i11.TuiDropdownContext, typeof i11.TuiDropdownPosition, typeof i11.TuiDropdownPositionSided, typeof i11.TuiDropdownSelection], [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective, typeof i10.TuiTextfieldComponent, typeof i11.TuiDropdownOptionsDirective, typeof i11.TuiDropdownDriverDirective, typeof i11.TuiDropdownDirective, typeof i11.TuiDropdownComponent, typeof i11.TuiDropdownOpen, typeof i11.TuiDropdownOpenLegacy, typeof i11.TuiDropdownManual, typeof i11.TuiDropdownHover, typeof i11.TuiDropdownContent, typeof i11.TuiDropdownContext, typeof i11.TuiDropdownPosition, typeof i11.TuiDropdownPositionSided, typeof i11.TuiDropdownSelection]>;
|
|
20
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateRangeModule>;
|
|
21
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { type MaskitoOptions } from '@maskito/core';
|
|
2
|
-
import { type MaskitoTimeMode } from '@maskito/kit';
|
|
3
|
-
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
4
|
-
import { type TuiDateMode, TuiDay, TuiMonth, TuiTime } from '@taiga-ui/cdk/date-time';
|
|
5
|
-
import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
|
|
6
|
-
import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
|
|
7
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
8
|
-
import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
9
|
-
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
10
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
11
|
-
import { type Observable } from 'rxjs';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* TODO(v5): delete it
|
|
15
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead
|
|
16
|
-
*/
|
|
17
|
-
export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDay, TuiTime | null] | null> implements TuiFocusableElementAccessor {
|
|
18
|
-
private readonly textfield?;
|
|
19
|
-
private readonly options;
|
|
20
|
-
private readonly textfieldSize;
|
|
21
|
-
private month;
|
|
22
|
-
private readonly timeMode$;
|
|
23
|
-
private readonly nativeValue;
|
|
24
|
-
protected readonly timeTexts$: Observable<{
|
|
25
|
-
'MM:SS': string;
|
|
26
|
-
'HH:MM': string;
|
|
27
|
-
'HH:MM AA': string;
|
|
28
|
-
'HH:MM:SS': string;
|
|
29
|
-
'HH:MM:SS AA': string;
|
|
30
|
-
'HH:MM:SS.MSS': string;
|
|
31
|
-
'HH:MM:SS.MSS AA': string;
|
|
32
|
-
'HH AA': string;
|
|
33
|
-
HH: string;
|
|
34
|
-
'MM:SS.MSS': string;
|
|
35
|
-
'MM.SS.MSS': string;
|
|
36
|
-
'SS.MSS': string;
|
|
37
|
-
}>;
|
|
38
|
-
protected readonly dateTexts$: Observable<Record<TuiDateMode, string>>;
|
|
39
|
-
protected readonly valueTransformer: TuiValueTransformer<[
|
|
40
|
-
TuiDay,
|
|
41
|
-
TuiTime | null
|
|
42
|
-
]> | null;
|
|
43
|
-
protected readonly type: TuiContext<TuiActiveZone>;
|
|
44
|
-
protected readonly filler$: Observable<string>;
|
|
45
|
-
protected dateFormat: import("@taiga-ui/core/tokens").TuiDateFormatSettings;
|
|
46
|
-
protected readonly isMobile: boolean;
|
|
47
|
-
protected readonly dateFormat$: import("rxjs").Subscription;
|
|
48
|
-
min: TuiDay | [TuiDay | null, TuiTime | null] | null;
|
|
49
|
-
max: TuiDay | [TuiDay | null, TuiTime | null] | null;
|
|
50
|
-
disabledItemHandler: TuiBooleanHandler<TuiDay>;
|
|
51
|
-
defaultActiveYearMonth: TuiMonth;
|
|
52
|
-
open: boolean;
|
|
53
|
-
set timeMode(value: MaskitoTimeMode);
|
|
54
|
-
get timeMode(): MaskitoTimeMode;
|
|
55
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
56
|
-
get focused(): boolean;
|
|
57
|
-
get computedValue(): string;
|
|
58
|
-
setDisabledState(): void;
|
|
59
|
-
writeValue(value: [TuiDay, TuiTime | null] | null): void;
|
|
60
|
-
onValueChange(value: string): void;
|
|
61
|
-
protected get size(): TuiSizeL | TuiSizeS;
|
|
62
|
-
protected get computedMin(): TuiDay | [TuiDay, TuiTime];
|
|
63
|
-
protected get computedMax(): TuiDay | [TuiDay, TuiTime];
|
|
64
|
-
protected get fillerLength(): number;
|
|
65
|
-
protected get maskOptions(): MaskitoOptions;
|
|
66
|
-
protected get calendarIcon(): TuiInputDateOptions['icon'];
|
|
67
|
-
protected get showNativePicker(): boolean;
|
|
68
|
-
protected get calendarValue(): TuiDay | null;
|
|
69
|
-
protected get calendarMinDay(): TuiDay;
|
|
70
|
-
protected get calendarMaxDay(): TuiDay;
|
|
71
|
-
protected get computedActiveYearMonth(): TuiMonth;
|
|
72
|
-
protected onClick(): void;
|
|
73
|
-
protected onDayClick(day: TuiDay): void;
|
|
74
|
-
protected onMonthChange(month: TuiMonth): void;
|
|
75
|
-
protected onOpenChange(open: boolean): void;
|
|
76
|
-
protected onFocused(focused: boolean): void;
|
|
77
|
-
protected getFallbackValue(): [TuiDay, TuiTime | null] | null;
|
|
78
|
-
protected valueIdenticalComparator(oldValue: [TuiDay, TuiTime | null] | null, newValue: [TuiDay, TuiTime | null] | null): boolean;
|
|
79
|
-
private get nativePicker();
|
|
80
|
-
private calculateMask;
|
|
81
|
-
private getDateTimeString;
|
|
82
|
-
private clampTime;
|
|
83
|
-
private trimTrailingSeparator;
|
|
84
|
-
private toNativeDate;
|
|
85
|
-
private toTuiDay;
|
|
86
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeComponent, never>;
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateTimeComponent, "tui-input-date-time", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "defaultActiveYearMonth": { "alias": "defaultActiveYearMonth"; "required": false; }; "timeMode": { "alias": "timeMode"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
|
|
88
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type TuiDay, type TuiTime } from '@taiga-ui/cdk/date-time';
|
|
2
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
-
import { type TuiInputDateTimeComponent } from './input-date-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-date-time TuiInputDateTime} (from @taiga-ui/kit) instead
|
|
8
|
-
*/
|
|
9
|
-
export declare class TuiInputDateTimeDirective extends AbstractTuiTextfieldHost<TuiInputDateTimeComponent> {
|
|
10
|
-
get value(): string;
|
|
11
|
-
get rawValue(): [TuiDay, TuiTime | null] | null;
|
|
12
|
-
onValueChange(value: string): void;
|
|
13
|
-
writeValue(value: [TuiDay, TuiTime | null] | null): void;
|
|
14
|
-
process(input: HTMLInputElement): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDateTimeDirective, "tui-input-date-time", never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-date-time.component";
|
|
3
|
-
import * as i2 from "./input-date-time.directive";
|
|
4
|
-
import * as i3 from "./native-date-time/native-date-time.directive";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "@maskito/angular";
|
|
7
|
-
import * as i6 from "@taiga-ui/polymorpheus";
|
|
8
|
-
import * as i7 from "@taiga-ui/core/directives/appearance";
|
|
9
|
-
import * as i8 from "@taiga-ui/core/components/calendar";
|
|
10
|
-
import * as i9 from "@taiga-ui/core/components/icon";
|
|
11
|
-
import * as i10 from "@taiga-ui/legacy/directives";
|
|
12
|
-
import * as i11 from "@taiga-ui/core/components/link";
|
|
13
|
-
import * as i12 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
14
|
-
import * as i13 from "@taiga-ui/core/directives/dropdown";
|
|
15
|
-
/**
|
|
16
|
-
* TODO(v5): delete it
|
|
17
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead
|
|
18
|
-
*/
|
|
19
|
-
export declare class TuiInputDateTimeModule {
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateTimeModule, [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i3.TuiNativeDateTimeDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiAppearance, typeof i8.TuiCalendar, typeof i9.TuiIcon, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i11.TuiLink, typeof i12.TuiPrimitiveTextfieldModule, typeof i10.TuiTextfieldControllerModule, typeof i10.TuiValueAccessorModule, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContent, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection], [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i12.TuiTextfieldComponent, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContent, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection]>;
|
|
22
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateTimeModule>;
|
|
23
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TuiInputDateTimeDirective } from '../input-date-time.directive';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* TODO(v5): delete it
|
|
5
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time#mobile TuiInputDateTime} (from @taiga-ui/kit) instead
|
|
6
|
-
*/
|
|
7
|
-
export declare class TuiNativeDateTimeDirective {
|
|
8
|
-
protected readonly host: TuiInputDateTimeDirective;
|
|
9
|
-
protected get value(): string;
|
|
10
|
-
protected onChange(value: string): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeDateTimeDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNativeDateTimeDirective, "input[tuiDateTime]", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { type TuiMonth, TuiMonthRange, type TuiYear } from '@taiga-ui/cdk/date-time';
|
|
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-month#range TuiInputMonth} (from @taiga-ui/kit) instead
|
|
11
|
-
*/
|
|
12
|
-
export declare class TuiInputMonthRangeComponent extends AbstractTuiNullableControl<TuiMonthRange> implements TuiFocusableElementAccessor {
|
|
13
|
-
private readonly textfield?;
|
|
14
|
-
private readonly options;
|
|
15
|
-
private readonly textfieldSize;
|
|
16
|
-
protected readonly formatter: import("@taiga-ui/cdk/types").TuiHandler<TuiMonth | null, import("rxjs").Observable<string>>;
|
|
17
|
-
min: TuiMonth;
|
|
18
|
-
max: TuiMonth;
|
|
19
|
-
disabledItemHandler: TuiBooleanHandler<TuiMonth>;
|
|
20
|
-
minLength: number | null;
|
|
21
|
-
maxLength: number | null;
|
|
22
|
-
defaultActiveYear: TuiYear;
|
|
23
|
-
open: boolean;
|
|
24
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
25
|
-
get focused(): boolean;
|
|
26
|
-
setDisabledState(): void;
|
|
27
|
-
computeValue(from: string | null, to: string | null): string;
|
|
28
|
-
onValueChange(value: string): void;
|
|
29
|
-
onMonthClick(month: TuiMonth): void;
|
|
30
|
-
protected get size(): TuiSizeL | TuiSizeS;
|
|
31
|
-
protected get computedDefaultActiveYear(): TuiYear;
|
|
32
|
-
protected get calendarIcon(): TuiInputDateOptions['icon'];
|
|
33
|
-
protected onOpenChange(open: boolean): void;
|
|
34
|
-
protected onActiveZone(focused: boolean): void;
|
|
35
|
-
private close;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputMonthRangeComponent, "tui-input-month-range", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "defaultActiveYear": { "alias": "defaultActiveYear"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
|
|
38
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { type DoCheck } from '@angular/core';
|
|
2
|
-
import { type TuiMonth } from '@taiga-ui/cdk/date-time';
|
|
3
|
-
import { type TuiHandler } from '@taiga-ui/cdk/types';
|
|
4
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
5
|
-
import { type Observable } from 'rxjs';
|
|
6
|
-
import { type TuiInputMonthRangeComponent } from './input-month-range.component';
|
|
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-month#range TuiInputMonth} (from @taiga-ui/kit) instead
|
|
11
|
-
*/
|
|
12
|
-
export declare class TuiInputMonthRangeDirective extends AbstractTuiTextfieldHost<TuiInputMonthRangeComponent> implements DoCheck {
|
|
13
|
-
private readonly value$;
|
|
14
|
-
private localizedValue;
|
|
15
|
-
protected readonly formatter: TuiHandler<TuiMonth | null, Observable<string>>;
|
|
16
|
-
protected readonly $: import("rxjs").Subscription;
|
|
17
|
-
get readOnly(): boolean;
|
|
18
|
-
get value(): string;
|
|
19
|
-
ngDoCheck(): void;
|
|
20
|
-
onValueChange(value: string): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputMonthRangeDirective, "tui-input-month-range", never, {}, {}, never, never, false, never>;
|
|
23
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-month-range.component";
|
|
3
|
-
import * as i2 from "./input-month-range.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@taiga-ui/kit/components/calendar-month";
|
|
6
|
-
import * as i5 from "@taiga-ui/legacy/directives";
|
|
7
|
-
import * as i6 from "@taiga-ui/cdk/pipes/mapper";
|
|
8
|
-
import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
9
|
-
import * as i8 from "@taiga-ui/core/directives/dropdown";
|
|
10
|
-
/**
|
|
11
|
-
* TODO(v5): delete it
|
|
12
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead
|
|
13
|
-
*/
|
|
14
|
-
export declare class TuiInputMonthRangeModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputMonthRangeModule, [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective], [typeof i3.CommonModule, typeof i4.TuiCalendarMonth, typeof i5.TuiLegacyDropdownOpenMonitorDirective, typeof i6.TuiMapperPipe, typeof i7.TuiPrimitiveTextfieldModule, typeof i5.TuiTextfieldControllerModule, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContent, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection], [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective, typeof i7.TuiTextfieldComponent, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContent, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputMonthRangeModule>;
|
|
18
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type QueryList } from '@angular/core';
|
|
2
|
-
import { type MaskitoOptions } from '@maskito/core';
|
|
3
|
-
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
4
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
5
|
-
import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
|
|
6
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
7
|
-
import { type TuiInputNumberOptions } from './input-number.options';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-number tuiInputNumberOptionsProvider} (from @taiga-ui/kit) (property `valueTransformer`) instead
|
|
11
|
-
* TODO(v5): delete it
|
|
12
|
-
*/
|
|
13
|
-
export declare const TUI_NUMBER_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<number | null, unknown>>;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead
|
|
16
|
-
* TODO(v5): delete it
|
|
17
|
-
*/
|
|
18
|
-
export declare class TuiInputNumberComponent extends AbstractTuiNullableControl<number> implements TuiFocusableElementAccessor {
|
|
19
|
-
private readonly textfield?;
|
|
20
|
-
private readonly isIOS;
|
|
21
|
-
private readonly textfieldSize;
|
|
22
|
-
private readonly options;
|
|
23
|
-
private unfinishedValue;
|
|
24
|
-
protected readonly polymorpheusValueContent: QueryList<unknown>;
|
|
25
|
-
protected readonly valueTransformer: TuiValueTransformer<number | null, unknown> | null;
|
|
26
|
-
protected numberFormat: import("@taiga-ui/core/tokens").TuiNumberFormatSettings;
|
|
27
|
-
protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
|
|
28
|
-
protected readonly numberFormat$: import("rxjs").Subscription;
|
|
29
|
-
min: number | null;
|
|
30
|
-
max: number | null;
|
|
31
|
-
step: number;
|
|
32
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
33
|
-
get focused(): boolean;
|
|
34
|
-
get inputMode(): string;
|
|
35
|
-
get calculatedMaxLength(): number;
|
|
36
|
-
get computedValue(): string;
|
|
37
|
-
onValueChange(nativeValue: string): void;
|
|
38
|
-
writeValue(value: number | null): void;
|
|
39
|
-
protected get size(): TuiSizeL | TuiSizeS;
|
|
40
|
-
protected get icons(): TuiInputNumberOptions['icons'];
|
|
41
|
-
protected get computedMin(): number;
|
|
42
|
-
protected get computedMax(): number;
|
|
43
|
-
protected get isNegativeAllowed(): boolean;
|
|
44
|
-
protected get formattedValue(): string;
|
|
45
|
-
protected get canDecrement(): boolean;
|
|
46
|
-
protected get canIncrement(): boolean;
|
|
47
|
-
protected get computedPrefix(): string;
|
|
48
|
-
protected get computedPostfix(): string;
|
|
49
|
-
protected get mask(): MaskitoOptions;
|
|
50
|
-
protected get nativeValue(): string;
|
|
51
|
-
protected set nativeValue(value: string);
|
|
52
|
-
protected onArrow(step: number | null): void;
|
|
53
|
-
protected onFocused(focused: boolean): void;
|
|
54
|
-
protected getFormattedValue(value: number): string;
|
|
55
|
-
private get isNativeValueNotFinished();
|
|
56
|
-
private get nativeNumberValue();
|
|
57
|
-
private get precision();
|
|
58
|
-
private computeMin;
|
|
59
|
-
private computeMax;
|
|
60
|
-
private calculateMask;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputNumberComponent, "tui-input-number", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; }, {}, ["polymorpheusValueContent"], ["*", "input", "tuiContent"], false, never>;
|
|
63
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type DoCheck } from '@angular/core';
|
|
2
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
-
import { type TuiInputNumberComponent } from './input-number.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead
|
|
7
|
-
* TODO(v5): delete it
|
|
8
|
-
*/
|
|
9
|
-
export declare class TuiInputNumberDirective extends AbstractTuiTextfieldHost<TuiInputNumberComponent> implements DoCheck {
|
|
10
|
-
protected input?: HTMLInputElement;
|
|
11
|
-
get value(): string;
|
|
12
|
-
onValueChange(value: string): void;
|
|
13
|
-
ngDoCheck(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputNumberDirective, "tui-input-number", never, {}, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-number.component";
|
|
3
|
-
import * as i2 from "./input-number.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@maskito/angular";
|
|
6
|
-
import * as i5 from "@taiga-ui/polymorpheus";
|
|
7
|
-
import * as i6 from "@taiga-ui/core/components/button";
|
|
8
|
-
import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
9
|
-
import * as i8 from "@taiga-ui/legacy/directives";
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead
|
|
12
|
-
* TODO(v5): delete it
|
|
13
|
-
*/
|
|
14
|
-
export declare class TuiInputNumberModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputNumberModule, [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective], [typeof i3.CommonModule, typeof i4.MaskitoDirective, typeof i5.PolymorpheusOutlet, typeof i5.PolymorpheusTemplate, typeof i6.TuiButton, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiTextfieldControllerModule, typeof i8.TuiValueAccessorModule], [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective, typeof i7.TuiTextfieldComponent]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputNumberModule>;
|
|
18
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated use new version of {@link TuiInputNumberOptions} (from @taiga-ui/kit) instead
|
|
4
|
-
* TODO(v5): delete it
|
|
5
|
-
*/
|
|
6
|
-
export interface TuiInputNumberOptions {
|
|
7
|
-
readonly icons: Readonly<{
|
|
8
|
-
down: string;
|
|
9
|
-
up: string;
|
|
10
|
-
}>;
|
|
11
|
-
readonly max: number;
|
|
12
|
-
readonly min: number;
|
|
13
|
-
readonly step: number;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated use new version of {@link TUI_INPUT_NUMBER_DEFAULT_OPTIONS} (from @taiga-ui/kit) instead
|
|
17
|
-
* TODO(v5): delete it
|
|
18
|
-
*/
|
|
19
|
-
export declare const TUI_INPUT_NUMBER_DEFAULT_OPTIONS: TuiInputNumberOptions;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated use new version of {@link TUI_INPUT_NUMBER_OPTIONS} (from @taiga-ui/kit) instead
|
|
22
|
-
* TODO(v5): delete it
|
|
23
|
-
*/
|
|
24
|
-
export declare const TUI_INPUT_NUMBER_OPTIONS: InjectionToken<TuiInputNumberOptions>;
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated use new version of {@link tuiInputNumberOptionsProvider} (from @taiga-ui/kit) instead
|
|
27
|
-
* TODO(v5): delete it
|
|
28
|
-
*/
|
|
29
|
-
export declare function tuiInputNumberOptionsProvider(options: Partial<TuiInputNumberOptions>): Provider;
|