@taiga-ui/legacy 4.52.0-canary.24b31eb → 4.52.0-canary.2d877cf
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 -6
- 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 +2 -18
- 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/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 +8 -0
- package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
- package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs +37 -31
- 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 +88 -0
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components.mjs +2 -18
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy.mjs +0 -5
- package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
- package/index.d.ts +0 -5
- package/package.json +19 -130
- 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/combo-box/combo-box-strict.directive.d.ts +0 -12
- package/components/combo-box/combo-box.component.d.ts +0 -52
- package/components/combo-box/combo-box.directive.d.ts +0 -13
- package/components/combo-box/combo-box.module.d.ts +0 -20
- package/components/combo-box/index.d.ts +0 -4
- 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 -22
- package/components/input-date-time/index.d.ts +0 -3
- package/components/input-date-time/input-date-time.component.d.ts +0 -87
- 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 -31
- 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-combo-box.mjs +0 -299
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
- 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 -155
- 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 -690
- 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 -50
- 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-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-tokens.mjs +0 -384
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
- package/fesm2022/taiga-ui-legacy-utils.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/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 -14
- package/utils/is-apple.d.ts +0 -5
- 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,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* TODO(v5): delete it
|
|
4
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
|
|
5
|
-
*/
|
|
6
|
-
export declare class TuiComboBoxStrictDirective<T> {
|
|
7
|
-
private readonly comboBox;
|
|
8
|
-
strict: boolean;
|
|
9
|
-
protected onInput(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxStrictDirective<any>, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiComboBoxStrictDirective<any>, "tui-combo-box[strict]", never, { "strict": { "alias": "strict"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
|
|
3
|
-
import { type TuiContext, type TuiStringMatcher } from '@taiga-ui/cdk/types';
|
|
4
|
-
import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
|
|
5
|
-
import { type TuiSizeL, type TuiSizeM, type TuiSizeS, type TuiValueContentContext } from '@taiga-ui/core/types';
|
|
6
|
-
import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
|
|
7
|
-
import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
|
|
8
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
9
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
12
|
-
/**
|
|
13
|
-
* TODO(v5): delete it
|
|
14
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
|
|
15
|
-
*/
|
|
16
|
-
export declare class TuiComboBoxComponent<T> extends AbstractTuiNullableControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
|
|
17
|
-
private readonly accessor?;
|
|
18
|
-
private readonly dropdown?;
|
|
19
|
-
private readonly textfield?;
|
|
20
|
-
private readonly arrowMode;
|
|
21
|
-
private readonly itemsHandlers;
|
|
22
|
-
private readonly textfieldSize;
|
|
23
|
-
protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
|
|
24
|
-
stringify: TuiItemsHandlers<T>['stringify'];
|
|
25
|
-
strictMatcher: TuiStringMatcher<T> | null;
|
|
26
|
-
identityMatcher: TuiItemsHandlers<T>['identityMatcher'];
|
|
27
|
-
valueContent: PolymorpheusContent<TuiValueContentContext<T>>;
|
|
28
|
-
strict: boolean;
|
|
29
|
-
search: string | null;
|
|
30
|
-
readonly searchChange: EventEmitter<string | null>;
|
|
31
|
-
open: boolean;
|
|
32
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
33
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
34
|
-
get focused(): boolean;
|
|
35
|
-
get nativeValue(): string;
|
|
36
|
-
checkOption(option: T): void;
|
|
37
|
-
handleOption(item: T): void;
|
|
38
|
-
onValueChange(value: string): void;
|
|
39
|
-
toggle(): void;
|
|
40
|
-
protected get arrow(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
|
|
41
|
-
protected get showValueTemplate(): boolean;
|
|
42
|
-
protected get computedContent(): PolymorpheusContent<TuiValueContentContext<T>>;
|
|
43
|
-
protected onActiveZone(active: boolean): void;
|
|
44
|
-
protected onFieldKeyDownEnter(event: Event): void;
|
|
45
|
-
private isStrictMatch;
|
|
46
|
-
private close;
|
|
47
|
-
private updateSearch;
|
|
48
|
-
private setNativeValue;
|
|
49
|
-
private focusInput;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxComponent<any>, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiComboBoxComponent<any>, "tui-combo-box", never, { "stringify": { "alias": "stringify"; "required": false; }; "strictMatcher": { "alias": "strictMatcher"; "required": false; }; "identityMatcher": { "alias": "identityMatcher"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "search": { "alias": "search"; "required": false; }; }, { "searchChange": "searchChange"; }, ["accessor", "datalist"], ["*", "input"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
|
|
52
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
2
|
-
import { type TuiComboBoxComponent } from './combo-box.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/combo-box TuiComboBox} (from @taiga-ui/kit) instead
|
|
7
|
-
*/
|
|
8
|
-
export declare class TuiComboBoxDirective extends AbstractTuiTextfieldHost<TuiComboBoxComponent<unknown>> {
|
|
9
|
-
get value(): string;
|
|
10
|
-
onValueChange(value: string): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiComboBoxDirective, "tui-combo-box", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./combo-box.component";
|
|
3
|
-
import * as i2 from "./combo-box-strict.directive";
|
|
4
|
-
import * as i3 from "./combo-box.directive";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "@taiga-ui/polymorpheus";
|
|
7
|
-
import * as i6 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
8
|
-
import * as i7 from "@taiga-ui/legacy/components/select-option";
|
|
9
|
-
import * as i8 from "@taiga-ui/legacy/components/arrow";
|
|
10
|
-
import * as i9 from "@taiga-ui/legacy/directives";
|
|
11
|
-
import * as i10 from "@taiga-ui/core/directives/dropdown";
|
|
12
|
-
/**
|
|
13
|
-
* TODO(v5): delete it
|
|
14
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
|
|
15
|
-
*/
|
|
16
|
-
export declare class TuiComboBoxModule {
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiComboBoxModule, [typeof i1.TuiComboBoxComponent, typeof i2.TuiComboBoxStrictDirective, typeof i3.TuiComboBoxDirective], [typeof i4.CommonModule, typeof i5.PolymorpheusOutlet, typeof i5.PolymorpheusTemplate, typeof i6.TuiPrimitiveTextfieldModule, typeof i7.TuiSelectOptionModule, typeof i8.TuiArrowComponent, typeof i9.TuiWrapperModule, typeof i9.TuiTextfieldControllerModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiDropdownOptionsDirective, typeof i10.TuiDropdownDriverDirective, typeof i10.TuiDropdownDirective, typeof i10.TuiDropdownComponent, typeof i10.TuiDropdownOpen, typeof i10.TuiDropdownOpenLegacy, typeof i10.TuiDropdownPortal, typeof i10.TuiDropdownManual, typeof i10.TuiDropdownHover, typeof i10.TuiDropdownContext, typeof i10.TuiDropdownPosition, typeof i10.TuiDropdownPositionSided, typeof i10.TuiDropdownSelection], [typeof i1.TuiComboBoxComponent, typeof i2.TuiComboBoxStrictDirective, typeof i3.TuiComboBoxDirective, typeof i6.TuiTextfieldComponent, typeof i10.TuiDropdownOptionsDirective, typeof i10.TuiDropdownDriverDirective, typeof i10.TuiDropdownDirective, typeof i10.TuiDropdownComponent, typeof i10.TuiDropdownOpen, typeof i10.TuiDropdownOpenLegacy, typeof i10.TuiDropdownPortal, typeof i10.TuiDropdownManual, typeof i10.TuiDropdownHover, typeof i10.TuiDropdownContext, typeof i10.TuiDropdownPosition, typeof i10.TuiDropdownPositionSided, typeof i10.TuiDropdownSelection]>;
|
|
19
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiComboBoxModule>;
|
|
20
|
-
}
|
|
@@ -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/components/primitive-textfield";
|
|
6
|
-
import * as i5 from "@taiga-ui/core/directives/dropdown";
|
|
7
|
-
import * as i6 from "@taiga-ui/legacy/directives";
|
|
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.TuiPrimitiveTextfieldModule, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.TuiDropdownPortal, typeof i5.TuiDropdownManual, typeof i5.TuiDropdownHover, typeof i5.TuiDropdownContext, typeof i5.TuiDropdownPosition, typeof i5.TuiDropdownPositionSided, typeof i5.TuiDropdownSelection, typeof i6.TuiLegacyDropdownOpenMonitorDirective], [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective, typeof i4.TuiTextfieldComponent, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.TuiDropdownPortal, typeof i5.TuiDropdownManual, typeof i5.TuiDropdownHover, typeof i5.TuiDropdownContext, typeof i5.TuiDropdownPosition, typeof i5.TuiDropdownPositionSided, typeof i5.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,22 +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/cdk/directives/let";
|
|
7
|
-
import * as i6 from "@taiga-ui/polymorpheus";
|
|
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/kit/components/calendar-range";
|
|
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
|
-
/**
|
|
15
|
-
* TODO(v5): delete it
|
|
16
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-range TuiInputDateRange} (from @taiga-ui/kit) instead
|
|
17
|
-
*/
|
|
18
|
-
export declare class TuiInputDateRangeModule {
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateRangeModule, [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective], [typeof i3.CommonModule, typeof i4.MaskitoDirective, typeof i5.TuiLet, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiCalendarRange, typeof i8.TuiValueAccessorModule, 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 i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective, typeof i7.TuiTextfieldComponent, 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]>;
|
|
21
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateRangeModule>;
|
|
22
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { type MaskitoOptions } from '@maskito/core';
|
|
2
|
-
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
3
|
-
import { type TuiDateMode, TuiDay, TuiMonth, TuiTime, type TuiTimeMode } from '@taiga-ui/cdk/date-time';
|
|
4
|
-
import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
|
|
5
|
-
import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
|
|
6
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
7
|
-
import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
8
|
-
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
9
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
10
|
-
import { type Observable } from 'rxjs';
|
|
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-time TuiInputDateTime} (from @taiga-ui/kit) instead
|
|
15
|
-
*/
|
|
16
|
-
export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDay, TuiTime | null] | null> implements TuiFocusableElementAccessor {
|
|
17
|
-
private readonly textfield?;
|
|
18
|
-
private readonly options;
|
|
19
|
-
private readonly textfieldSize;
|
|
20
|
-
private month;
|
|
21
|
-
private readonly timeMode$;
|
|
22
|
-
private readonly nativeValue;
|
|
23
|
-
protected readonly timeTexts$: Observable<{
|
|
24
|
-
'MM:SS': string;
|
|
25
|
-
'HH:MM': string;
|
|
26
|
-
'HH:MM AA': string;
|
|
27
|
-
'HH:MM:SS': string;
|
|
28
|
-
'HH:MM:SS AA': string;
|
|
29
|
-
'HH:MM:SS.MSS': string;
|
|
30
|
-
'HH:MM:SS.MSS AA': string;
|
|
31
|
-
'HH AA': string;
|
|
32
|
-
HH: string;
|
|
33
|
-
'MM:SS.MSS': string;
|
|
34
|
-
'MM.SS.MSS': string;
|
|
35
|
-
'SS.MSS': string;
|
|
36
|
-
}>;
|
|
37
|
-
protected readonly dateTexts$: Observable<Record<TuiDateMode, string>>;
|
|
38
|
-
protected readonly valueTransformer: TuiValueTransformer<[
|
|
39
|
-
TuiDay,
|
|
40
|
-
TuiTime | null
|
|
41
|
-
]> | null;
|
|
42
|
-
protected readonly type: TuiContext<TuiActiveZone>;
|
|
43
|
-
protected readonly filler$: Observable<string>;
|
|
44
|
-
protected dateFormat: import("@taiga-ui/core/tokens").TuiDateFormatSettings;
|
|
45
|
-
protected readonly isMobile: boolean;
|
|
46
|
-
protected readonly dateFormat$: import("rxjs").Subscription;
|
|
47
|
-
min: TuiDay | [TuiDay | null, TuiTime | null] | null;
|
|
48
|
-
max: TuiDay | [TuiDay | null, TuiTime | null] | null;
|
|
49
|
-
disabledItemHandler: TuiBooleanHandler<TuiDay>;
|
|
50
|
-
defaultActiveYearMonth: TuiMonth;
|
|
51
|
-
open: boolean;
|
|
52
|
-
set timeMode(value: TuiTimeMode);
|
|
53
|
-
get timeMode(): TuiTimeMode;
|
|
54
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
55
|
-
get focused(): boolean;
|
|
56
|
-
get computedValue(): string;
|
|
57
|
-
setDisabledState(): void;
|
|
58
|
-
writeValue(value: [TuiDay, TuiTime | null] | null): void;
|
|
59
|
-
onValueChange(value: string): void;
|
|
60
|
-
protected get size(): TuiSizeL | TuiSizeS;
|
|
61
|
-
protected get computedMin(): TuiDay | [TuiDay, TuiTime];
|
|
62
|
-
protected get computedMax(): TuiDay | [TuiDay, TuiTime];
|
|
63
|
-
protected get fillerLength(): number;
|
|
64
|
-
protected get maskOptions(): MaskitoOptions;
|
|
65
|
-
protected get calendarIcon(): TuiInputDateOptions['icon'];
|
|
66
|
-
protected get showNativePicker(): boolean;
|
|
67
|
-
protected get calendarValue(): TuiDay | null;
|
|
68
|
-
protected get calendarMinDay(): TuiDay;
|
|
69
|
-
protected get calendarMaxDay(): TuiDay;
|
|
70
|
-
protected get computedActiveYearMonth(): TuiMonth;
|
|
71
|
-
protected onClick(): void;
|
|
72
|
-
protected onDayClick(day: TuiDay): void;
|
|
73
|
-
protected onMonthChange(month: TuiMonth): void;
|
|
74
|
-
protected onOpenChange(open: boolean): void;
|
|
75
|
-
protected onFocused(focused: boolean): void;
|
|
76
|
-
protected getFallbackValue(): [TuiDay, TuiTime | null] | null;
|
|
77
|
-
protected valueIdenticalComparator(oldValue: [TuiDay, TuiTime | null] | null, newValue: [TuiDay, TuiTime | null] | null): boolean;
|
|
78
|
-
private get nativePicker();
|
|
79
|
-
private calculateMask;
|
|
80
|
-
private getDateTimeString;
|
|
81
|
-
private clampTime;
|
|
82
|
-
private trimTrailingSeparator;
|
|
83
|
-
private toNativeDate;
|
|
84
|
-
private toTuiDay;
|
|
85
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeComponent, never>;
|
|
86
|
-
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>;
|
|
87
|
-
}
|
|
@@ -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/components/calendar";
|
|
9
|
-
import * as i8 from "@taiga-ui/core/components/link";
|
|
10
|
-
import * as i9 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
11
|
-
import * as i10 from "@taiga-ui/legacy/directives";
|
|
12
|
-
import * as i11 from "@taiga-ui/core/components/icon";
|
|
13
|
-
import * as i12 from "@taiga-ui/core/directives/appearance";
|
|
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.TuiCalendar, typeof i8.TuiLink, typeof i9.TuiPrimitiveTextfieldModule, typeof i10.TuiValueAccessorModule, typeof i10.TuiTextfieldControllerModule, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i11.TuiIcon, typeof i12.TuiAppearance, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownPortal, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection], [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i9.TuiTextfieldComponent, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownPortal, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, 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/components/primitive-textfield";
|
|
7
|
-
import * as i6 from "@taiga-ui/cdk/pipes/mapper";
|
|
8
|
-
import * as i7 from "@taiga-ui/legacy/directives";
|
|
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.TuiPrimitiveTextfieldModule, typeof i6.TuiMapperPipe, typeof i7.TuiTextfieldControllerModule, typeof i7.TuiLegacyDropdownOpenMonitorDirective, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownPortal, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection], [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective, typeof i5.TuiTextfieldComponent, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownPortal, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, 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
|
-
}
|